Commit graph

398 commits

Author SHA1 Message Date
Benoît Minisini
3507637a45 [DEVELOPMENT ENVIRONMENT]
* BUG: Get rid of the last use of the deprecated DrawingArea.Painted 
  property.

[INTERPRETER]
* NEW: The deprecated API message now displays the current code position.

[GB.FORM]
* NEW: The FileChooser and DirChooser label that displays the current 
  directory now "ellipsized" it if there is not enough room.

[GB.GTK]
* BUG: All style drawing methods now draw at the correct position.
* NEW: Start replacing old GDK drawing methods by Cairo methods.

[GB.MAP]
* NEW: Rename the MapViewer control as MapView.
* BUG: Don't redefine standard events. Use a proxy instead.


git-svn-id: svn://localhost/gambas/trunk@5396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 12:43:29 +00:00
Benoît Minisini
a612052f95 [EXAMPLES]
* NEW: Paiting example: add an example for rounded rectangles.

[GB.DRAW]
* NEW: Paint.Polygon() is a new method that paints a closed polygon.
* NEW: Paint.Rectangle() now takes an optional radius argument. If its is
  specified with a value greater than zero, then a rounded rectangle is 
  painted.


git-svn-id: svn://localhost/gambas/trunk@5385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 22:27:40 +00:00
Benoît Minisini
520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like 
  Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing 
  as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like 
  Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same 
  thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a 
  rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.

[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a 
  DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.

[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox... 
  if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
  Paint class.

[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.

[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.


git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 18:42:24 +00:00
Benoît Minisini
bc484c31ca [EXAMPLES]
* NEW: Maps example: fix a few typo and clean up the window design.


git-svn-id: svn://localhost/gambas/trunk@5381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 17:24:04 +00:00
Fabien Bodard
ee118e95f5 [EXAMPLES]
* BUG: Make change on the map example to take new gb.map API into account


git-svn-id: svn://localhost/gambas/trunk@5372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:38:57 +00:00
Benoît Minisini
e51fc2d951 [INTERPRETER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.
* NEW: Timer: The Trigger method now does nothing if there is an already
  pending trigger. This behaviour is not backward-compatible, so it may be
  removed if problems arise.

[COMPILER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.

[GB.DRAW]
* NEW: Implement standard operators in Point and PointF classes.
* NEW: Automatic conversion between Point and PointF.
* NEW: 'CDraw.c' and 'CDraw.h' source files have been renamed as 'cdraw.c' 
  and 'cdraw.h'.
* NEW: Rect.Center() and RectF.Center() are two new methods that return the 
  center of the rectangle.

[GB.FORM]
* NEW: FileChooser: tar archives now can be uncompressed. 


git-svn-id: svn://localhost/gambas/trunk@5359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:52:11 +00:00
Fabien Bodard
f1e9becd90 [GB.MAP]
* BUG: Remove files that have defect


git-svn-id: svn://localhost/gambas/trunk@5358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:36:52 +00:00
Benoît Minisini
225c6e0b40 [DEVELOPMENT ENVIRONMENT]
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
  already installed.
* NEW: Update the Gambas fonts.

[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
  argument pattern (%u, %f, and so on) in its command description.

[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer 
  coordinates.
* NEW: Add a PointF class, that is just a point with two Float
  coordinates.

[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
  anymore.
* BUG: Fix previous TreeView optimizations.

[GB.MAP]
* BUG: Rename the "map" class as "Map".


git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 01:16:40 +00:00
Fabien Bodard
4d72da03f3 [EXAMPLES]
* New: Add an icon to the map example


git-svn-id: svn://localhost/gambas/trunk@5350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 17:34:11 +00:00
Fabien Bodard
855911aa57 [GB.MAP]
* New: First commit for this new component that allow to display tiled maps.

[EXAMPLES]
* New: A new example on how to use gb.map component.



git-svn-id: svn://localhost/gambas/trunk@5348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 16:29:03 +00:00
Matti
46fcf13856 [NEW]
Update of German translation



git-svn-id: svn://localhost/gambas/trunk@5330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 20:35:54 +00:00
Benoît Minisini
723fca96d0 [INTERPRETER]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.DB]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.FORM]
* BUG: TabPanel: Fix the algorithm ensuring that the current tab is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@5326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:24:15 +00:00
Sebastian Kulesz
3e8e1b8398 [EXAMPLES]
* OPT: Updated the Object example for better understanding.


git-svn-id: svn://localhost/gambas/trunk@5321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 23:55:24 +00:00
Sebastian Kulesz
800aab9f1b [EXAMPLES]
* NEW: Refactor the counter example. The code is much easier to understand.


git-svn-id: svn://localhost/gambas/trunk@5320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 20:55:53 +00:00
Sebastian Kulesz
a492e8d49e [EXAMPLES]
* BUG: Fix crash because of missing stock image.


git-svn-id: svn://localhost/gambas/trunk@5319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 20:16:38 +00:00
Benoît Minisini
54d789d66e [GB.DESKTOP]
* NEW: DesktopMime: when looking for the icon, try the 'mimes' directory if
  nothing is found in the 'mimetypes' directory.

[GB.FORM]
* OPT: FileView: clean up icon retrieving function.
* NEW: Stock: display warning on load fail only if GB_STOCK is set.

[GB.QT4.EXT]
* NEW: Editor: undo/redo now take the cursor position and the selection 
  into account.


git-svn-id: svn://localhost/gambas/trunk@5286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 14:05:58 +00:00
Benoît Minisini
fb2c780011 [EXAMPLES]
* NEW: Merge the new PDFViewer example made by Bernd Brinkmann.


git-svn-id: svn://localhost/gambas/trunk@5261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 01:20:44 +00:00
Benoît Minisini
25e6253672 [CONFIGURATION]
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.

[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.

[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
  not trigger parent arrangement routine anymore.


git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 19:21:59 +00:00
Benoît Minisini
d800d7e136 [INTERPRETER]
* BUG: Fix the order of component exported classes loading after the 
  project has been loaded.
* BUG: Fix GB.CanRaise() API.

[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be 
  sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
  descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
  sort defined by the DataSource.Sort property.

[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.

[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded 
  by gb.qt4 and gb.gtk. It implements the following controls and classes 
  entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
  ScrollArea. These classes were located in gb.form and in the Gambas part
  of GUI components before.

[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.


git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 00:28:55 +00:00
Benoît Minisini
9dc65723d5 [EXAMPLES]
* NEW: Add a project icon to the PopMailbox example.

git-svn-id: svn://localhost/gambas/trunk@5245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-18 20:47:27 +00:00
Sebastian Kulesz
41a868eeb5 [EXAMPLES]
* NEW: Example on how to use the gb.net.pop3 component.



git-svn-id: svn://localhost/gambas/trunk@5243 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-18 20:37:41 +00:00
Benoît Minisini
a68336da9b [CONFIGURATION]
* NEW: Switch to 3.3.90 version.

[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.

[INTERPRETER]
* NEW: New API for getting information about a file.

[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a 
  next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.

[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.HTTPD]
* NEW: Reindent source files.

[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.


git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 08:01:25 +00:00
Radek Fryšták
8e64692047 [DEVELOPMENT ENVIRONMENT]
* NEW: Correct & new czech translate

[WIKI CGI SCRIPT]
* NEW: update czech translate

[WEB SITE MAKER]
* NEW: update czech translate

[GB.FORM.DIALOG]
* NEW: update czech translate

[GB.FORM]
* NEW: update czech translate

[GB.NET.POP3]
* NEW: new czech translate

[GB.FORM.MDI]
* NEW: update czech translate

[GB.REPORT]
* NEW: update czech translate

[EXAMPLES]
* NEW: check czech translate for: GNUBoxWorld, 
       WebBrowser, MoviePlayer, Gravity, Painting


git-svn-id: svn://localhost/gambas/trunk@5211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-28 11:59:25 +00:00
Benoît Minisini
41b6a93cef [EXAMPLES]
* BUG: Fix Embedded window layout.

[INTERPRETER]
* NEW: The '-H' option now runs the interpreted program as a CGI script
  through an embedded HTTP server.

[GB.HTTPD]
* NEW: New hidden component that embeds an HTTP server that runs the 
  project as a CGI script. It is activated by a new interpreter option.
  Warning! This is highly experimental. The HTTP server is based on the
  thttpd source code.

[GB.WEB]
* BUG: As the _init static class is always executed at startup for exported
  classes, delay the intialization of Session class the first time one of 
  its properties is used.
* BUG: If the SCRIPT_NAME CGI variable equals nothing or "/", set it to 
  "/." so that it can be concatenated to any path and still gives a valid
  url.
* BUG: Support for explicit URL ports.
* NEW: Application.Port is a new property that returns the port used by the 
  HTTP request.


git-svn-id: svn://localhost/gambas/trunk@5209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-27 20:52:08 +00:00
Benoît Minisini
7cba8c08e0 [INTERPRETER]
* OPT: Conversion between byte index and UTF-8 character index of the last 
  string has been optimized when that last string is big.

[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That 
  optimization should be handled by the interpreter automatically.


git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 02:17:12 +00:00
Benoît Minisini
f46b297fd6 [DEVELOPMENT ENVIRONMENT]
* NEW: Small redesign of the welcome dialog again.

[EXAMPLES]
* BUG: Fix HighlightEditor example.
* NEW: Descriptions of some examples.


git-svn-id: svn://localhost/gambas/trunk@5162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-12 18:50:45 +00:00
Benoît Minisini
1937a67353 [DEVELOPMENT ENVIRONMENT]
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable 
  declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.

[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
  of an UTF-8 string.

[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
  emitted if it overrides a global symbol.

[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their 
  contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
  visible.


git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-05 18:36:59 +00:00
Benoît Minisini
dde26cb313 [DEVELOPMENT ENVIRONMENT]
* BUG: Moving, renaming or deleting a source file now should correctly
  refresh the search list, the breakpoint list and the task list.

[GB.FORM]
* NEW: ScrollArea draws a focus border when it has focus.

[GB.NET.POP3]
* NEW: Make Pop3Client a virtual control like SmtpClient.


git-svn-id: svn://localhost/gambas/trunk@5121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-03 23:40:59 +00:00
Benoît Minisini
d39067841a [DEVELOPMENT ENVIRONMENT]
* NEW: New default project icon.
* BUG: Bookmarks are correctly updated now, when lines are inserted or 
  removed.
* BUG: The code pretty printer now preserves breakpoints and bookmarks.
* NEW: The welcome dialog box now has a filter for examples.

[EXAMPLES]
* BUG: Don't use JIT compiler in NeHeTutorial example #19, it crashes.
  OpenGL LLVM 3.0 and Gambas LLVM 3.1 in the same process is not welcome!

[GB.QT4.EXT]
* NEW: Editor.Bookmarks and Editor.Breakpoints properties are now writable.


git-svn-id: svn://localhost/gambas/trunk@5085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 12:46:33 +00:00
Sebastian Kulesz
b771e96a17 [EXAMPLES]
* NEW: Spanish translation updated.
* OPT: Updated the TreeView example so that it is easier to translate.



git-svn-id: svn://localhost/gambas/trunk@5078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-25 22:21:51 +00:00
Benoît Minisini
f2abd7c95f [DEVELOPMENT ENVIRONMENT]
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.

[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a 
  Result object to the database. The event handler receives the Result as 
  argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
  editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource 
  enters creation mode.

[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.

[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.


git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-22 22:12:35 +00:00
Benoît Minisini
52b3040e07 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to avoir Application.Busy flickering in some dialogs.

[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.

[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the 
  opacity of the drawing, between 0 and 1.

[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet 
  events.

[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
  cached.

[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.


git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-19 13:01:57 +00:00
Benoît Minisini
361f89dd57 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a directory in the project treeview should not segfault 
  anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.

[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming 
  mode.


git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 15:08:23 +00:00
Benoît Minisini
7c9f99fef6 [INTERPRETER]
* NEW: Add a GB.FreeStringLater() API to allow components to create a new
  string with GB.NewString(), and let the interpreter frees it later.

[GB.GSL]
* NEW: Add a ToString() method to all classes. That method takes two 
  arguments: the first one tells if number must be localized. The second 
  one tells if complex numbers and polynomials are converted to a string
  that can be sent to Eval().
* BUG: Adding a number N to a Matrix A is equivalent to adding N times the
  identity matrix.
* NEW: The '^' operator has been implemented in the Matrix class. Only A^N
  where N is an integer is valid.


git-svn-id: svn://localhost/gambas/trunk@4955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-15 13:07:57 +00:00
Benoît Minisini
c1212ac95e [INTERPRETER]
* OPT: Remove a useless test in the macro that returns the class of an 
  object.
* OPT: Some little optimization in some type checks.


git-svn-id: svn://localhost/gambas/trunk@4939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 19:57:43 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* BUG: When a top-level source directory actually several components, 
  compile the sub-components *after* the main components. This is 
  especially important with gb.xml and gb.xml.rpc.


git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:51:54 +00:00
Benoît Minisini
1b53072866 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not set the APPMENU_DISPLAY_BOTH environmental variable anymore.
  It seems to work now.

[EXAMPLES]
* NEW: Fractal: increase the maximum number of iterations when the zoom 
  level is higher.

[GB.GTK]
* BUG: Control.Hovered now works the same way as in gb.qt4.

[GB.FORM]
* NEW: SidePanel handles have a fixed width now (6 pixels).


git-svn-id: svn://localhost/gambas/trunk@4849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-19 09:29:59 +00:00
Benoît Minisini
f24d7b1899 [GB.FORM.MDI]
* NEW: Do not disable toolbars when they are configured. Otherwise drag &
  drop does not work with gb.gtk.

[GB.FORM.STOCK]
* NEW: Some icons updates.
* BUG: Add the 'earth' icon in the stock.

[GB.GTK]
* BUG: Fix drag & drop support.
* NEW: Draw.Tile() does not transform pixbufs into a pixmaps anymore.


git-svn-id: svn://localhost/gambas/trunk@4821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 01:50:46 +00:00
Benoît Minisini
64fef6f598 [DEVELOPMENT ENVIRONMENT]
* BUG: If the project is read-only, the profile file is stored in the 
  process temporary directory in /tmp instead of the project directory.
* NEW: The name of profile files now follows this scheme: '.N.prof', where
  'N' is an index incremented each time the project is run.
* BUG: Toolbars and popup-menus are correctly updated at first load form
  text, source and form editors.
* BUG: Do not show or hide toolbars buttons outside of the toolbar 
  'Configure' event.

[INTERPRETER]
* NEW: The '-p' option now takes the profile file path as argument.

[GB.DEBUG]
* NEW: The profile file path can be specified on the command line.

[GB.FORM.MDI]
* NEW: Configured toolbars are drawn with a red frame.

[GB.GTK]
* BUG: Remove warnings displayed by the Control Raise() and Lower() 
  methods.
* BUG: Draw.Style methods now are correctly clipped.


git-svn-id: svn://localhost/gambas/trunk@4820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-10 14:58:45 +00:00
Benoît Minisini
835dd33dcf [GB.DEBUG]
* NEW: GB_PROFILE_MAX environment variable now can take the maximum size of 
  a profile file in megabytes. The default value is 512 Mb. The minimum
  value is 128 Mb, and the maximum value is 4096 Mb.


git-svn-id: svn://localhost/gambas/trunk@4816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 13:39:47 +00:00
Benoît Minisini
c828342220 [DEVELOPMENT ENVIRONMENT]
* NEW: Relayout the GUI of the new packaging options.


git-svn-id: svn://localhost/gambas/trunk@4809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 07:39:31 +00:00
Benoît Minisini
7e3570bfc9 [DEVELOPMENT ENVIRONMENT]
* OPT: Use Application.Busy earlier when opening a project.

[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.

[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
  profiling has not been activated by the '-p' command-line flag.

[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one 
  directory even if we are on the root of the current bookmark.

[GB.JIT]
* BUG: Fix some warnings.

[GB.XML.RPC]
* BUG: Fix component requirements.


git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 22:21:24 +00:00
Benoît Minisini
16bc53f245 [GB.FORM]
* NEW: GridView: Setting the height of a row to -1 now makes it fit its
  contents.


git-svn-id: svn://localhost/gambas/trunk@4804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 19:14:33 +00:00
Benoît Minisini
ff93548e41 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows correctly display line numbers now.

[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.

[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
  before the first displayed line (zero by default).


git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 14:44:00 +00:00
Benoît Minisini
05c354e56e [EXAMPLES]
* OPT: Fractal: optimize drawing by detecting rectangles having the same 
  color.


git-svn-id: svn://localhost/gambas/trunk@4786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 23:20:19 +00:00
Benoît Minisini
2375145a67 [DEVELOPMENT ENVIRONMENT]
* OPT: Use JIT compiler to speed-up the loading of profile files.

[EXAMPLES]
* NEW: Display a rose inside the window of the Fractal example. Why not?


git-svn-id: svn://localhost/gambas/trunk@4784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 18:13:09 +00:00
Benoît Minisini
cea7c17b4c [EXAMPLES]
* BUG: Really allow to switch to JIT compilation!


git-svn-id: svn://localhost/gambas/trunk@4781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 11:21:13 +00:00
Benoît Minisini
e4dcaa0e41 [EXAMPLES]
* NEW: A new Fractal example that draws the Mandelbrot set with an option 
  to enable just-in-time compilation.


git-svn-id: svn://localhost/gambas/trunk@4780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 11:19:22 +00:00
Benoît Minisini
8fff3e69bd [GB.JIT]
* NEW: Debugging information is printed as soon as the GB_JIT environmental 
  variable is not null.
* NEW: If LLVM version is lesser than 3.1, a warning message is printed. 
  Normally, a crash should occur just after. :-)


git-svn-id: svn://localhost/gambas/trunk@4779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-25 22:24:13 +00:00
Benoît Minisini
327add9439 [GB.DEBUG]
* NEW: The component is hidden now.
* BUG: Do not crash anymore when profiling Eval().

[GB.JIT]
* NEW: The component is hidden now.


git-svn-id: svn://localhost/gambas/trunk@4763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 23:23:00 +00:00