Commit graph

1402 commits

Author SHA1 Message Date
Benoît Minisini
9fcc50b488 [DEVELOPMENT ENVIRONMENT]
* NEW: Update markup syntax with support for indexes.

[WIKI CGI SCRIPT]
* NEW: Support for component help written in *.info files.
* BUG: Automatic links work again.

[GB.DRAW]
* BUG: Fix Point and PointF InRect() method signature.

[GB.GUI.BASE]
* BUG: TreeView Click event correctly sets the Item property.
* BUG: Remove the useless GridView.Data.Draw property.
* BUG: Remove the GridView KeyPress event override.
* BUG: Fix the GridView Draw event signature.

[GB.QT4.WEBKIT]
* NEW: WebElement.Paint() now takes an optional clipping rectangle 
  argument.


git-svn-id: svn://localhost/gambas/trunk@5410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-03 12:56:41 +00:00
Benoît Minisini
c31fdffc32 [CONFIGURATION]
* NEW: Redraw some control icons again.

[GB.GTK]
* NEW: Go on replacing the old GDK drawing API by Cairo.


git-svn-id: svn://localhost/gambas/trunk@5400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 13:20:57 +00:00
Benoît Minisini
c409668bfb [CONFIGURATION]
* NEW: Redraw most of the control icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: A few fixes in the Gambas fixed font.

[GB.GTK]
* NEW: Replace some uses of the deprecated Gdk drawing API by cairo.



git-svn-id: svn://localhost/gambas/trunk@5398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 23:10:16 +00:00
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
6d6977f6e1 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't loop endlessly if a class inherits itself.


git-svn-id: svn://localhost/gambas/trunk@5395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 11:42:35 +00:00
Benoît Minisini
fcaaff08dd [DEVELOPMENT ENVIRONMENT]
* OPT: Saving a form now refreshes the stack window only once.

[GB.FORM]
* NEW: IconPanel now is flat.


git-svn-id: svn://localhost/gambas/trunk@5393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 23:38:19 +00:00
Benoît Minisini
e04e38e170 [GB.DRAW]
* BUG: Fix the '_call_ special methods of Rect, RectF, Point and PointF, 
  that must be static.

[GB.GUI.BASE]
* BUG: Fix Rect symbol clash in Draw.Zoom.
* NEW: ScrollArea.Painted property is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@5387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 03:32:55 +00:00
Benoît Minisini
2f4d1b7d2e [GB.DRAW]
* BUG: Fix Paint.ZoomImage() method.

[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.

[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.


[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has 
  been copied to the clipboard.


git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 23:40:28 +00:00
Benoît Minisini
8bbe87a6d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove uses of DrawingArea.Painted.

[GB.FORM]
* BUG: Remove uses of DrawingArea.Painted.

[GB.GUI.BASE]
* BUG: Fix Draw.Style.Box() method.

[GB.MAP]
* NEW: MapPoint.Distance() is a new method that returns the geodesic 
  distance between two points.
* NEW: Map.From() is a new method that returns the position of a point from
  an initial point, a direction and a distance.
* NEW: Map.Bearing() is a new method that returns the direction from an 
  initial point to a destination point.


git-svn-id: svn://localhost/gambas/trunk@5384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 20:10:39 +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
Sebastian Kulesz
6d4a5e9762 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation


git-svn-id: svn://localhost/gambas/trunk@5379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 00:59:15 +00:00
Benoît Minisini
803de2fe89 [DEVELOPMENT ENVIRONMENT]
* NEW: Publish the Gambas font under the SIL Open Font License, like the
  Terminus font it is based on. Update the welcome screen and the license
  message accordingly.
* NEW: Put the translation dialog button into a menu, and add two new 
  actions to export only the untranslated strings, only the translated 
  strings, or all strings like before.


git-svn-id: svn://localhost/gambas/trunk@5378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-26 13:35:49 +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
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
Benoît Minisini
9a79fbede4 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a smaller font for help viewer embeeded in automatic completion
  or signature popups.
* NEW: Revamp the option dialog.
* NEW: Add an option to install the Gambas font to the user font folder
  (~/.fonts). That font is a custom version of the Terminus 6x12 bitmap 
  font, with a bold version and more unicode characters.

[GB.GUI.BASE]
* OPT: Start optimizing the TreeView.Add() method which is too slow if a 
  single item has many children.


git-svn-id: svn://localhost/gambas/trunk@5346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-21 00:20:00 +00:00
Benoît Minisini
8b73da0e5f [DEVELOPMENT ENVIRONMENT]
* NEW: In the CSV import dialog: When the import is finished, display the
  message tab and disable the "Import" button so that you don't click on it
  again unexpectedly. The button is enabled again when clicking on the
  first tab.

[GB.GUI.BASE]
* BUG: GridView: Using selection methods now takes the "Single" selection 
  mode into account and refresh the view as expected.


git-svn-id: svn://localhost/gambas/trunk@5343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 10:23:27 +00:00
Benoît Minisini
0b1fa69512 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little changes in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@5341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:46:14 +00:00
Benoît Minisini
a7c3939e3d [DEVELOPMENT ENVIRONMENT]
* BUG: Be sure that the welcome dialog filter has the focus.

[WEBSITE MAKER]
* NEW: Update for 3.3.4.

[GB.DB]
* BUG: A failing table or user add does not leak memory anymore.
* BUG: Fix the removal method of the .SubCollection virtual class.

[GB.DB.SQLITE3]
* BUG: Detect serial fields correctly now.

[GB.QT4]
* BUG: Enusre that embedded windows emit their Open event before any Move, 
  Resize events...


git-svn-id: svn://localhost/gambas/trunk@5340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:37:26 +00:00
Benoît Minisini
c8e08d651d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the documentation pages of libraries and current project.
* NEW: Generate a documentation page for components and libraries.


git-svn-id: svn://localhost/gambas/trunk@5338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-19 00:38:24 +00:00
Benoît Minisini
f7992f248d [COMPILER]
* BUG: Don't declare virtual classes now present in the *.list files.

[INFORMER]
* BUG: Put virtual classes in *.list files so that the IDE is aware of 
  their existence.


git-svn-id: svn://localhost/gambas/trunk@5336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 20:07:31 +00:00
Benoît Minisini
7bc49b6e9f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an infinite loop when choosing a fixed font for the search list
  after the default font has been changed from the option dialog.

[GB.GTK]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.

[GB.QT4]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.
* BUG: The menubar height is now correctly updated after a font change.


git-svn-id: svn://localhost/gambas/trunk@5333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 16:59:46 +00:00
Benoît Minisini
c0023665f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Integrate the welcome dialog into the main window.

[GB.GUI.BASE]
* BUG: GridView: Resizing a column or a row does not trigger the MouseDrag 
  event anymore.


git-svn-id: svn://localhost/gambas/trunk@5332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-17 16:46:33 +00:00
Benoît Minisini
debb55f1e6 [DEVELOPMENT ENVIRONMENT]
* NEW: Apply the default font and the console font to the help browsers.


git-svn-id: svn://localhost/gambas/trunk@5331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-16 23:56:12 +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
Sebastian Kulesz
4c4d6d2699 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix read-only project detection algorithm. They
  are no longer warned to be opened.


git-svn-id: svn://localhost/gambas/trunk@5329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 04:57:15 +00:00
Benoît Minisini
1b1eae9642 [GB.GUI.BASE]
* BUG: GridView: Revert a stupid change in row height layout.


git-svn-id: svn://localhost/gambas/trunk@5327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:43:06 +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
Benoît Minisini
75c60806e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Can deal with void information files again.


git-svn-id: svn://localhost/gambas/trunk@5318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 17:40:42 +00:00
Benoît Minisini
8a9c379c70 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the main toolbar through the ToolBar Configure 
  event.

[WIKI CGI SCRIPT]
* BUG: Fix synonymous pages (those whose title begins with '~/').

[GB.GUI.BASE]
* BUG: TreeView: Fix a crash when refreshing a sorted TreeView.


git-svn-id: svn://localhost/gambas/trunk@5316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 11:00:20 +00:00
Benoît Minisini
25b8edfd44 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the help comments integrated into the *.info files by 
  the compiler.
* NEW: Use the help comments stored in libraries and display them in them
  help tooltips.
* BUG: Remove duplicates in the automatic completion list.
* BUG: The symbol syntax displayed in the help now correctly follows the
  "Keywords in uppercase" setting.
* NEW: Class help comments are now help comments located at the beginning
  of the source file that starts with three quotes and a space: `''' `.

[COMPILER]
* NEW: Support for help comments on public symbols. They are automatically 
  integrated into the *.info information files.


git-svn-id: svn://localhost/gambas/trunk@5311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 00:19:53 +00:00
Benoît Minisini
5d9a781017 [DEVELOPMENT ENVIRONMENT]
* BUG: Right mouse button can select controls again in form editor.

[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
  DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in 
  GridView, TreeView... controls.

[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 


git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-07 22:51:04 +00:00
Benoît Minisini
34de79ef3d [DEVELOMENT ENVIRONMENT]
* BUG: Disable embedded http server.

[INTERPRETER]
* BUG: Fix a crash in String.Comp() when one of the two string is null.

[GB.FORM]
* BUG: Don't show useless menus in the DirView popup menu of a DirChooser 
  or FileChooser control.
* BUG: Do not scroll the TabPanel tab bar if not really necessary.

[GB.GUI.BASE]
* BUG: For backward-compatibility reasons, you can now set the value of 
  any arbitrary positive column index of a ColumnView item.


git-svn-id: svn://localhost/gambas/trunk@5301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-06 20:11:20 +00:00
Benoît Minisini
7c36785b6e [DEVELOPMENT ENVIRONMENT]
* BUG: In form editor, rectangle selection is triggered by the left mouse 
  button only.

[GB.GTK]
* BUG: Fix reparenting when there is a TabStrip in the process.

[GB.GUI.BASE]
* BUG: Fix sizing of TreeView items.
* BUG: Fix a crash when a sorted TreeView is updated.


git-svn-id: svn://localhost/gambas/trunk@5300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-04 23:09:58 +00:00
Benoît Minisini
3254fbbefe [GB.GUI.BASE]
* BUG: Fix TreeView item move methods.


git-svn-id: svn://localhost/gambas/trunk@5298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-03 23:06:48 +00:00
Benoît Minisini
2b54af8a9f [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-03 22:04:55 +00:00
Benoît Minisini
946a8ef2be [DEVELOPMENT ENVIRONMENT]
* NEW: Use a yellow star for marking exported classes.
* NEW: Automatic completion of file paths.
* NEW: Going backward and forward now works in the text editor.
* NEW: The project filter buttons have been replaced by a popup menu that 
  is triggered when you click on the gray magnifying glass.

[GB.DESKTOP]
* NEW: DesktopFile.FindMime() has been deprecated and replaced by 
  Desktop.FromMime().
* NEW: Desktop.GetFileIcon() is a new method that returns the icon 
  associated with a specific file path. DesktopMime is used.

[GB.FORM]
* NEW: TabStrip: support of right-to-left languages.
* NEW: Stock: support for right-to-left icons.

[GB.FORM.STOCK]
* NEW: Support for right-to-left icons.

[GB.GUI.BASE]
* BUG: GridView: support of right-to-left languages.



git-svn-id: svn://localhost/gambas/trunk@5296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-03 21:45:02 +00:00
Benoît Minisini
9f8954c448 [DEVELOPMENT ENVIRONMENT]
* NEW: Add every supported desktop to the icon theme list in the option 
  dialog.

[GB.FORM]
* NEW: DirChooser: add a ShowPreview property.
* NEW: FileChooser: add a ShowPreview property.
* BUG: Fix 'show preview' menu entry in FileChooser and DirChooser.


git-svn-id: svn://localhost/gambas/trunk@5291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 16:38:58 +00:00
Benoît Minisini
cdefab21a2 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a button to copy the value of a watched expression to the 
  clipboard.


git-svn-id: svn://localhost/gambas/trunk@5279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 00:31:53 +00:00
Benoît Minisini
6a4079fdd2 [GB.GUI.BASE]
* BUG: TreeView.Item is now correctly set when raising the Activate event.


git-svn-id: svn://localhost/gambas/trunk@5271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-01 13:29:30 +00:00
Benoît Minisini
588e0f3942 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a 
  method named "Get" is called inside the analyzed expression.

[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.

[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.

[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.

[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor 
  position automatically anymore.


git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-30 23:44:24 +00:00
Benoît Minisini
19e3c5c5e4 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor background drawing.

[GB.GUI.BASE]
* NEW: Expanding a TreeView item now automatically scrolls so that child
  items are visible.


git-svn-id: svn://localhost/gambas/trunk@5264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 09:20:08 +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
84bcc9052f [CONFIGURATION]
* BUG: Fix compilation of Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
  5% size increment.

[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
  variable is set to "1".

[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.

[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
  because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.

[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
  changes.



git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 14:35:31 +00:00
Benoît Minisini
0de1545f21 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix option dialog layout.

[GB.FORM]
* NEW: New FontChooser control design.

[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.

[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
  the old one yet.

[GB.QT4]
* NEW: Add Window.Indent arrangement property.


git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 00:28:26 +00:00
Benoît Minisini
5ab73c7494 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a button to reset the default font in the option dialog.

[GB.FORM]
* NEW: Add an hidden method to the ButtonBox class that allows to insert
  an already existing ToolButton in it.

[GB.GUI.BASE]
* BUG: Fix ScrollArea.EnsureVisible() and GridView.EnsureVisible() methods 
  again.
* BUG: Fix TreeView MoveBelow() and MoveAbove() methods.


git-svn-id: svn://localhost/gambas/trunk@5255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 22:05:49 +00:00
Benoît Minisini
8539a2a02d [DEVELOPMENT ENVIRONMENT]
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.

[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.

[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
  crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
  symbol.

[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with 
  "nan" or other special numeric strings.

[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when 
  there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control 
  entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.

[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.

[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.


git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 18:59:14 +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
16679fdd5d [DEVELOPMENT ENVIRONMENT]
* BUG: Events of class written in Gambas are correctly detected now.
* BUG: Automatic local variable declaration now correctly analyze 
  expressions like "A.B" in all cases.
* NEW: Use a SidePanel to display the stack backtrace.

[GB.DB]
* BUG: DB.Quote(..., True) now does a table name quoting in all cases.

[GB.DB.FORM]
* BUG: The database controls now can handle table names that are reserved
  SQL keywords.

[GB.FORM]
* NEW: Start implementing TreeView entirely in Gambas.
* BUG: Removing GridView rows correctly resets the row heights.
* NEW: GridView now raises a Draw event that allows to paint a cell with 
  any drawing methods.


git-svn-id: svn://localhost/gambas/trunk@5250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-23 11:21:43 +00:00
Benoît Minisini
53c284099b [DEVELOPMENT ENVIRONMENT]
* BUG: The name of GridView controls is now always visible in the form
  editor.

[INTERPRETER]
* NEW: Support for new QUIT syntax.
* NEW: Do not display overriding prefix in class names.

[COMPILER]
* NEW: QUIT now can takes an optional argument which is the program return 
  value.

[GB.ARGS]
* BUG: The "--version" option is not "----version" anymore
* NEW: If an error occurs, returns 1 as exit value and not 0.

[GB.FORM]
* BUG: GridView is correctly updated now when the Border property is set.


git-svn-id: svn://localhost/gambas/trunk@5246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-19 21:00:35 +00:00