Commit graph

108 commits

Author SHA1 Message Date
gambas
8a8c10d57c Update TODO file.
[CONFIGURATION]
* NEW: Update TODO file.
2020-07-04 12:03:40 +02:00
Benoît Minisini
4416b3b793 [DEVELOPMENT ENVIRONMENT]
* NEW: Use 'script' icon for javascript files.
* NEW: Autocomplete INHERITS keyword with classes.

[EXAMPLES]
* BUG: Fix Wizard example.

[GB.EVAL.HIGHLIGHT]
* BUG: JavaScript: Fix regular expression highlighting.


git-svn-id: svn://localhost/gambas/trunk@5864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 22:06:03 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Benoît Minisini
0388831b8c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash in form editor arrangement icons managemnt.

[GB.GTK]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.
* BUG: Try to activate all XInput devices when the DrawingArea.Tablet
  property is set.

[GB.QT4]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.


git-svn-id: svn://localhost/gambas/trunk@5051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-17 15:53:52 +00:00
Benoît Minisini
f457c9608c [CONFIGURATION]
* BUG: Fix the component template script.

[GB.FORM]
* BUG: SidePanel controls now behave correctly when they are put inside a 
  TabStrip.

[GB.GMP]
* NEW: Skeleton for a new component based on the GNU "big numbers" GMP 
  library.

[GB.GTK]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.
* BUG: Fix Control.Raise() and Control.Lower() method when the parent is a
  TabStrip.

[GB.QT4]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.

[GB.QT4.EXT]
* NEW: Editor: The current line is now visible when using a dark highlight 
  theme.


git-svn-id: svn://localhost/gambas/trunk@5016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 14:04:55 +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
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Benoît Minisini
52cce8cd10 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of classes symbols when a method having the
  same name is defined.
* BUG: Fix search with patterns including a column character.


git-svn-id: svn://localhost/gambas/trunk@4251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-20 10:23:56 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
a3709f2654 [GB.GTK]
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf 
  RGB images rowstride is rounded up to a four bytes multiple. The gb.image 
  component does not support that yet!

[GB.IMAGE.IO]
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf 
  RGB images rowstride is rounded up to a four bytes multiple. The gb.image 
  component does not support that yet!


git-svn-id: svn://localhost/gambas/trunk@4176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-07 09:35:29 +00:00
Benoît Minisini
cd83028ccd [DEVELOPPEMENT ENVIRONMENT]
* BUG: Modifying table fields and indexes many times now works correctly.
* BUG: Fix drag & drop between two IDE windows.
* NEW: Pretty printer now acts on selected text.
* NEW: CSV import and automatic field conversion now can deal with both
  localized and non-localized data (i.e. floating point numbers with point
  or comma).

[GB.DB]
* BUG: Type mismatch error is correctly raised now when setting the value
  of a Result field.

[GB.DB.FORM]
* BUG: Some fixes in DataComboView.

[GB.FORM]
* NEW: IconPanel now automatically resizes the left panel to fit its 
  contents.


git-svn-id: svn://localhost/gambas/trunk@3971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:03:59 +00:00
Benoît Minisini
4d13341c3e [GB.GTK]
* NEW: GridView.Columns[].Expand is a new property that allows to define if 
  a column automatically expands to fit the GridView visible width, 
  provided that the GridView.AutoResize property is set. If no column has
  its Expand property set, then the last column will expand anyway.
* BUG: Fix a crash in GridView when the gb.gtk component shared library is 
  freed.
  
[GB.QT4]
* NEW: GridView.Columns[].Expand is a new property that allows to define if 
  a column automatically expands to fit the GridView visible width, 
  provided that the GridView.AutoResize property is set. If no column has
  its Expand property set, then the last column will expand anyway.


git-svn-id: svn://localhost/gambas/trunk@3953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-29 21:13:08 +00:00
Benoît Minisini
0c678f3cba [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in Sapphire theme.
* BUG: Fix text editor toolbar tooltips.
* NEW: Support for C and C++ files.
* BUG: Support for procedure folding and unfolding shortcuts in the text 
  editor.
* NEW: A "Paste special" button in the code editor toolbar.

[GB.EVAL.HIGHLIGHT]
* NEW: C and C++ syntax hilighting.

[GB.FORM.MDI]
* BUG: Don't try to optimize Toolbar separators in design mode.

[GB.QT4.EXT]
* NEW: In Editor, highlight both matching braces now.


git-svn-id: svn://localhost/gambas/trunk@3770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 00:25:07 +00:00
Benoît Minisini
319036d197 [GB.QT4]
* BUG: TextLabel with AutoResize set takes the WordWrap property into 
  account correctly now.


git-svn-id: svn://localhost/gambas/trunk@3759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:38:32 +00:00
Benoît Minisini
c4e8abec01 [CONFIGURATION]
* BUG: Harmonize the messages displayed when DESTDIR or ROOT is used during 
  compilation.
* NEW: Switch version number to 2.99.1 and bytecode version to 3.0.0.
  WARNING! ALL GAMBAS PROJECTS MUST BE RECOMPILED.

[DEVELOPMENT ENVIRONMENT]
* BUG: Generated Debian packages now correctly depends on gambas3-dev and
  not gambas2-dev.

[GB.QT4.OPENGL]
* NEW: Remove the GlArea.Text() method, as it may be impossible to 
  implement inside gb.gtk.opengl.


git-svn-id: svn://localhost/gambas/trunk@3673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-21 12:46:52 +00:00
Benoît Minisini
a69cea3468 [GB.GTK]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
  in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a 
  ListBox in multiple selection mode.

[GB.QT4]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
  in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a 
  ListBox in multiple selection mode.
* BUG: Setting ListBox.Index property works as expected in multiple 
  selection mode.


git-svn-id: svn://localhost/gambas/trunk@3659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-18 02:14:59 +00:00
Benoît Minisini
a8df410d30 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new GridView selection syntax.

[GB.GTK]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
  anymore.
* NEW: Control.Screenshot() method has been removed.

[GB.QT4]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
  anymore.
* NEW: Control.Screenshot() method has been removed.


git-svn-id: svn://localhost/gambas/trunk@3655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-16 23:40:18 +00:00
Benoît Minisini
5e6356c6f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Josef Kubicek is not written twice in the author list.
* BUG: Fix the create project dialog layout.
* BUG: Creating a project from a subversion repository works correctly 
  again.

[GB.FORM]
* BUG: Wizard title does not grow endlessly in design mode anymore.

[GB.PCRE]
* BUG: RegExp submatches behaviour has been restored.

[GB.SETTINGS]
* BUG: When a window has no settings stored, its initial size is now kept.


git-svn-id: svn://localhost/gambas/trunk@3642 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-11 23:16:26 +00:00
Benoît Minisini
b5abdc2478 [GB.FORM]
* NEW: the text of IconView items is now automatically ellipsized.

[GB.QT4]
* BUG: Rich text size is now computed with no default margin around the 
  text.


git-svn-id: svn://localhost/gambas/trunk@3585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-20 22:04:23 +00:00
Benoît Minisini
f4b4816f4c [GB.DB.FORM]
* BUG: Use the Proxy property in data bound controls.

[GB.DESKTOP]
* BUG: Fix the reading of big X11 properties.


git-svn-id: svn://localhost/gambas/trunk@3554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-11 22:16:43 +00:00
Benoît Minisini
960226de24 [GB.FORM]
* NEW: IconView.Picture has been implemented.
* BUG: IconView in single mode behave correctly when setting the Selected 
  property of an individual item.

[GB.GTK]
* BUG: Start to fix Draw.Tile().
* BUG: Menu event propagation has been fixed.


git-svn-id: svn://localhost/gambas/trunk@3542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 12:22:38 +00:00
Benoît Minisini
1daab792db [DEVELOPMENT ENVIRONMENT]
* BUG: CoordBox correctly returns decimal value in american format.

[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog 
  anymore.
* BUG: Printed font now have the correct size.

[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because 
  Paint.DrawText aligns according to Font.Height and not 
  Paint.TextExtents().


git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 01:28:12 +00:00
Benoît Minisini
322c8249a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Handle variant control properties as string properties.
* BUG: Try to deal with autocompletion of exported classes in component
  projects that use themselves.

[GB.FORM]
* BUG: Fix ButtonBox arrangement.
* NEW: ValueBox was completely redesigned. It supports now the following
  editing types: Number, Date, Time, DateTime, Currency & IPAddress.
* NEW: MaskBox.MaskChar has been removed. The mask char is now always a 
  space!
* NEW: MaskBox is more intelligent now with digit masks and cursor moves.
* NEW: DateChooser.ShowTime is a new property that let it edit times.
* NEW: DateBox.ShowTime is a new property that let it edit times.

[GB.GTK]
* BUG: Setting Control.Proxy to NULL works now.
* BUG: New controls are correctly arranged when they are inserted in their 
  parent container.
* BUG: UserControl._Arrangement has been implemented.
* BUG: UserControl.SetFocus has been removed.

[GB.QT4]
* BUG: UserControl.Arrangement is really an integer property.


git-svn-id: svn://localhost/gambas/trunk@3469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 01:42:32 +00:00
Benoît Minisini
fce4691c9f [DEVELOPMENT ENVIRONMENT]
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current 
  desktop.

[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker, 
  Enlighnement.

[GB.GTK]
* NEW: Support for screen available geometry.


git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 16:07:50 +00:00
Benoît Minisini
a4056f9d53 [GB.GTK]
* BUG: Fix a memory leak that leads to a crash in the TextArea.Paste() 
  method.


git-svn-id: svn://localhost/gambas/trunk@3409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 09:05:28 +00:00
Benoît Minisini
c275829ddc [DEVELOPMENT ENVIRONMENT]
* BUG: The control rename algorithm should work better now.

[EXAMPLES]
* BUG: Fix ServerSocket and ClientSocket examples.

[INTERPRETER]
* BUG: WRITE and READ with a specified length of zero now does nothing.

[GB.NET]
* BUG: Closing a socket created by a ServerSocket does not crash anymore.

[GB.QT4]
* BUG: When a combo-box becomes read-only, the first item is automatically 
  selected if there was no current item.
* BUG: Window with no border can have focus now.



git-svn-id: svn://localhost/gambas/trunk@3404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-28 21:58:42 +00:00
Benoît Minisini
47bec5f339 [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance the import wizard. The list of conversions that are 
  automatically handled is in the wiki.

[WIKI CGI SCRIPT]
* BUG: Do allow '{' and '}' between '=='. But then allow lines to begin 
  with a slash, to escape those characters.
* BUG: Display correctly titles with a '#' inside.

[COMPILER]
* NEW: DownTo is a new keyword for decrementing For...Next loops. You can
  save some "Step -1" with it.

[GB.QT4]
* BUG: Fix a reference leak with DnD operations started outside of then
  application.


git-svn-id: svn://localhost/gambas/trunk@3402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-28 02:24:20 +00:00
Benoît Minisini
291bf96ecc [COMPILER]
* BUG: Remove parser debugging messages.
* NEW: DEBUG is a new preprocessor symbol that returns if the compiler 
  generates debugging information.

[GB.QT4]
* BUG: Should compile with Qt 4.5.3 now.


git-svn-id: svn://localhost/gambas/trunk@3377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-19 12:58:58 +00:00
Benoît Minisini
6f440dc030 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the icon editor.

[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.

[INFORMER]
* BUG: Fix a file descriptor leak.

[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or 
  equal than 6.

[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
  property with a string array.

[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image 
  object.
* NEW: Draw.Image() does not do a smooth transformation the image is 
  enlarged in both dimensions, and if the new size is a multiple of the old
  size.
* OPT: DrawingArea with the default background color now does not repaint
  its background before calling the Draw event.

[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().


git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-15 15:55:16 +00:00
Benoît Minisini
7334fb87a0 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw the class name into the icon of project exported controls.
* NEW: A search box in the hierarchy tree.
* BUG: Deleting project files works correctly again.

[GB.FORM]
* NEW: ButtonBox.Editor is a new property that returns the internal TextBox
  used by the control.


git-svn-id: svn://localhost/gambas/trunk@3364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-14 10:12:49 +00:00
Benoît Minisini
8aac47f84d [EXAMPLES]
* BUG: Fix the Database example.

[INTERPRETER]
* BUG: Fix unchecked system calls.

[ARCHIVER]
* BUG: Prevent the archiver from putting the executable file into itself, 
  leading to a endless growing generated file.
* NEW: Files having the ".gambas" extension are now excluded from 
  executable archives.

[GB.DB.FORM]
* BUG: Remove the DataBrowser.Adjust property.


git-svn-id: svn://localhost/gambas/trunk@3272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-31 22:05:29 +00:00
Benoît Minisini
4dc396ffe8 [DEVELOPMENT ENVIRONMENT]
* BUG: No error messages should be displayed anymore when refreshing the 
  search list.

[WIKI CGI SCRIPT]
* BUG: Fix formatting characters handling.

[INTERPRETER]
* NEW: WRITE and READ instructions can handle collections and arrays. Call
  that "serialization".

[GB.WEB]
* OPT: Replace session serialization code by the new powers of READ and 
  WRITE instructions.


git-svn-id: svn://localhost/gambas/trunk@3244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-27 19:34:27 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Benoît Minisini
2cba68053e [DEVELOPMENT ENVIRONMENT]
* NEW: You can choose the language used by the help browser and the help 
  popups from the help browser window.

[GB.FORM]
* NEW: Somme little cosmetic changes in the Expander container.


git-svn-id: svn://localhost/gambas/trunk@3148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 23:33:07 +00:00
Benoît Minisini
2fbab44da9 [DEVELOPMENT ENVIRONMENT]
* NEW: New project files not added to the subversion repository are now 
  always visible when refreshing the project tree.


git-svn-id: svn://localhost/gambas/trunk@3118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 12:18:50 +00:00
Benoît Minisini
60ea7ae855 [INTERPRETER]
* BUG: Fix some crashes in error management. Maybe...
* BUG: Sorting with natural string comparison understands gb.Descent 
  correctly now.

[GB.WEB]
* BUG: CGI.Error() method should be more reliable now.


git-svn-id: svn://localhost/gambas/trunk@3091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 11:00:42 +00:00
Benoît Minisini
0bc1701225 [WIKI CGI SCRIPT]
* NEW: New look for version specific documentation.

[INTERPRETER]
* NEW: Assign() has been removed, and replaced by Eval() with an expression 
  beginning with the LET keyword.
* NEW: New routines to read a value stored at a memory address: BoolPtr(),
  BytePtr(), ShortPtr(), IntPtr(), LongPtr(), SinglePtr(), FloatPtr() and
  PointerPtr().

[COMPILER]
* NEW: The LET keyword can be used to write an assignment expression. Of
  course it is optional.

[GB.EVAL]
* NEW: The LET keyword can be used to evaluate an assignment.
* NEW: The Expression.Compile() method does not take any argument anymore.

git-svn-id: svn://localhost/gambas/trunk@3041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 16:33:29 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
fdf5a0f0f6 [DEVELOPMENT ENVIRONMENT]
* NEW: New code snippet to define a startup Main procedure.
* NEW: In the open project dialog, selecting a project directory now
  displays the project contents inside a treeview, like the IDE does.

[GB.QT4]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.
* BUG: When showing a form, the initial focus should be correctly set in 
  all cases now.


[GB.GTK]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.


git-svn-id: svn://localhost/gambas/trunk@3024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-27 22:04:25 +00:00
Benoît Minisini
7cd4bea00b [DEVELOPMENT ENVIRONMENT]
* NEW: In about dialog, fade the scrolling text, as in the Firefox about 
  dialog.
* NEW: Clicking on a project treeview item expands it after the mouse 
  button has been released.

[GB.FORM]
* NEW: Clicing on a DirView item expands it after the mouse button has been
  released.

[GB.QT4]
* NEW: A little fix in menu management.


git-svn-id: svn://localhost/gambas/trunk@3022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-26 23:55:58 +00:00
Benoît Minisini
b0a0c52af0 [INTERPRETER]
* NEW: More work on structure support.
* BUG: Fix optimization in error management.

[COMPILER]
* OPT: More optimizations. The Gambas 3 compiler is faster to compile the 
  Gambas 3 IDE than the Gambas 2 compiler to compile the Gambas 2 IDE, 
  which is smaller!
* NEW: Do not compute variable position and size, as it is done by the 
  interpreter anyway.

[GB.EVAL]
* NEW: Use the same optimizations as the compiler in the parser.

[GB.XML.RPC]
* BUG: The component compiles again.



git-svn-id: svn://localhost/gambas/trunk@2964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-25 11:19:00 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00
Benoît Minisini
6fdfa6d845 [DEVELOPMENT ENVIRONMENT]
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.

[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and 
  unmaintained.

[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.

[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
  static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the 
  DrawingArea.Cached property is set. It allows to keep the drawing 
  routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.

[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.


git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 02:37:53 +00:00
Benoît Minisini
8c8859b165 [CONFIGURATION]
* BUG: Fix the compilation and installation order of sub-directories.

[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not 
  like them.

[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent 
  container has no arrangement.

[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the 
  window manager close button.


git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 14:23:51 +00:00
Benoît Minisini
7c290f5c06 [DEVELOPMENT ENVIRONMENT]
* OPT: Share the same completion and signature window between all opened 
  editors.
* BUG: Correctly displays the native datatype help in automatic completion.
* NEW: A new option for enabling the display of online help in automatic 
  completion.
* NEW: A new option not used yet, for defining the default image editor.


git-svn-id: svn://localhost/gambas/trunk@2463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-08 22:19:03 +00:00
Benoît Minisini
f56c5e6e48 [DEVELOPMENT ENVIRONMENT]
* BUG: Inheritance is correctly detected now when you put comments on the 
  "INHERITS" line.

[WIKI CGI SCRIPT]
* BUG: Fix language flag links for component pages.

[GB.GTK]
* BUG: Control.Reparent() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-14 12:20:35 +00:00
Benoît Minisini
21090a933b [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for Ukrainian language.

[GB.FORM]
* NEW: The ColorChooser has a new toggle button to enable the grid when 
  selecting a color. The SHIFT key has the same effect.


git-svn-id: svn://localhost/gambas/trunk@2404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:20:58 +00:00
Benoît Minisini
f3df1daa86 [DEVELOPMENT ENVIRONMENT]
* NEW: Runtime error messages are now translatable. At least those that
  have an error code. Custom error messages coming from component are not
  translatable yet.
* NEW: French translation of runtime error messages.

[INTERPRETER]
* NEW: When running in debugging mode, error messages are formatted to be
  easily translatable.


git-svn-id: svn://localhost/gambas/trunk@2347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-22 22:10:38 +00:00