Commit graph

84 commits

Author SHA1 Message Date
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
Benoît Minisini
916c559a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for translated compiler error messages.
* NEW: French translatio of compiler error messages.

[COMPILER]
* BUG: Fix many error messages so that they are easily translatable.
* NEW: A new option, "-e", to output translatable error messages instead of 
  full ones.


git-svn-id: svn://localhost/gambas/trunk@2346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-21 16:57:21 +00:00
Benoît Minisini
429b36408e [CONFIGURATION]
* BUG: Forgot to recursively compile gb.image.imlib in the top-level 
  Makefile.am file.

[DEVELOPMENT ENVIRONMENT]
* NEW: All controls have a new "Public" property that tells the compiler 
  to declare this control public.
* NEW: Runtime and compilation errors are now display inside a balloon.
* BUG: Fix the use of old Gambas 2 Open syntax.

[WIKI CGI SCRIPT]
* NEW: New look. No blue anymore!
* NEW: All pages under the '/comp' path now can be switched between 2.0 and 
  3.0 version.
* BUG: Many fixes in links including the version number.
* NEW: An administration button to force a refresh of all pages the next 
  time they are requested.
* NEW: Alt+Shift+S is a shortcut for saving page on Firefox.
* NEW: Inherited symbols are now displayed before other symbols in a class 
  description.

[GB.GTK]
* BUG: Changing the value of the Sorted property in TreeView, ColumnView,
  ListView and ListBox does not crash anymore.

[GB.QT4]
* BUG: Do not use the menu focus hack when showing a window. The current 
  active control loses its focus otherwise.
* BUG: Enumerating Window.Controls works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:32:55 +00:00
Benoît Minisini
2bdd0617d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving and renaming tables having indexes works in all cases now.
* BUG: The "..." button of the property sheet works again.
* BUG: The IDE title is correctly updated when the project version changes.

[GB.DB.FORM]
* BUG: The DataView control now is correctly refreshed when its underlying 
  connection is changed.

[GB.GTK]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.

[GB.QT4]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.


git-svn-id: svn://localhost/gambas/trunk@2331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-11 23:56:56 +00:00
Benoît Minisini
11906ba89a [DEVELOPMENT ENVIRONMENT]
* NEW: Renaming a control now automatically renames the identifier in the 
  source code.

[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape 
  characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
  now use the new Settings storage facilities and return a Variant[].

[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
  now.

[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.

[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
  be stored and retrieved.


git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-10 19:30:41 +00:00
Benoît Minisini
a3d6ba73e5 [INTERPRETER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.

[COMPILER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.



git-svn-id: svn://localhost/gambas/trunk@2091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 19:57:50 +00:00
Benoît Minisini
924e7e29d9 [DEVELOPMENT ENVIRONMENT]
* NEW: Operators are bold by default in themes now.
* NEW: Display the full project diff now in the project changes and in the 
  commit dialog.

[GB.QT4.EXT]
* NEW: The Editor now highlight braces differently.
* NEW: Read-only editors do not blink the cursor anymore.


git-svn-id: svn://localhost/gambas/trunk@2090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 01:22:37 +00:00
Benoît Minisini
de427452f6 [WEB SITE MAKER]
* BUG: Put the language flags higher in the page so that they are visible
  on small screens.

[GB.FORM.DIALOG]
* NEW: The save file dialog has a new "automatic extension" check-box.
* NEW: Dialog.AutoExt is a new property to set if we want the save file 
  dialog to automatically set the file extension from the currently 
  selected filter.

[GB.GTK]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT.EXT]
* NEW: Editor.Lines[].Refresh is a new method to refresh a line and 
  highlight it again.


git-svn-id: svn://localhost/gambas/trunk@1990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-01 22:27:50 +00:00
Benoît Minisini
0c14eb0bdb [DEVELOPMENT ENVIRONMENT]
* NEW: Remove the project stack size option.

[INTERPRETER]
* NEW: Make the stack grow as needed. Note that the stack will never 
  shrink.

[GB.DEBUG]
* BUG: This component now compiles correctly.


git-svn-id: svn://localhost/gambas/trunk@1987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-27 18:42:48 +00:00
Benoît Minisini
db58eb7fa1 [DEVELOPMENT ENVIRONMENT]
* NEW: A message is displayed now when the search list is void.
* NEW: Some debugger icons were changed.
* NEW: Support for debugger frame change. When you click twice in the stack
  backtrace, now the debugger information is refreshed according to the
  current stack frame.

[WIKI CGI SCRIPT]
* NEW: Extern links are now always opened in a new window.

[WEB SITE MAKER]
* BUG: Some fixes in link generation
* NEW: Some new translated strings.

[GB.DEBUG]
* NEW: A command to change the current frame.


git-svn-id: svn://localhost/gambas/trunk@1979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-25 21:51:48 +00:00
Benoît Minisini
2020521d4b [WEB SITE MAKER]
* NEW: News are translatable.
* NEW: More french translations.

[GB.GTK]
* BUG: Do not use gtk_adjustment_get_step_increment() if the GTK+ version 
  is not at least 2.14.


git-svn-id: svn://localhost/gambas/trunk@1965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-19 15:59:29 +00:00
Benoît Minisini
d48356d59d [DEVELOPMENT ENVIRONMENT]
* NEW: Now each database driver has its own component, so that you can 
  explicitely check it. This way, these dependencies are taken into account
  when making a binary package.
* NEW: Starting support for WebPage classes, and other kind of forms.

[WIKI CGI SCRIPT]
* BUG: Symbol pages are never cached, so that refreshing a 2.0 symbol page 
  does not break a 3.0 symbol page.

[INTERPRETER]
* NEW: gb.IgnoreCase is a new property that is a synonymous of gb.Text.
* NEW: gb.UseLanguage is a new property that is a synonymous of gb.Language.

[GB.DB.*]
* NEW: All database drivers now have a *.component file, and is visible in 
  the IDE project property dialog.


git-svn-id: svn://localhost/gambas/trunk@1926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-10 21:19:32 +00:00
Benoît Minisini
238da73bb3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for extra package dependencies.
* BUG: The right column of the property sheet is not too wide anymore.

[GB.GTK]
* BUG: Fix the ComboBox.Add() method slowness.

[GB.QT]
* BUG: Borderless modal windows do not show any border anymore with 
  Metacity.

[GB.XML.RPC]
* BUG: Event management was fixed, thanks to Ron.
* BUG: RcpArray.Copy() now returns an RpcArray object.


git-svn-id: svn://localhost/gambas/trunk@1918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-03 22:29:51 +00:00
Benoît Minisini
d3ea790600 [EXAMPLES]
* BUG: Fix PdfViewer example as the PdfDocument.Picture property does not 
  exist anymore.

[INTERPRETER]
* BUG: MOD works again with Long values.

[GB.CAIRO]
* BUG: Fix CairoMatrix.Translate() declaration.
* BUG: Correctly release device and pattern at Cairo.End().
* BUG: Automatically call Cairo.End() as many time as needed at program 
  exit.


git-svn-id: svn://localhost/gambas/trunk@1849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-02 21:16:58 +00:00
Benoît Minisini
e13d294459 [GB.FORM]
* NEW: TableView.EditWith() is a new method that allows to edit a cell 
  with a control defined byt the caller. The TableView just shows, hides 
  and moves the external editor. This external editor must have a Text
  property, otherwise an error is raised.
  
[GB.FORM.MDI]
* NEW: Action configuration dialog now edit shortcuts directly inside the 
  TableView.
* NEW: A button for finding a shortcut in the action configuration dialog.
* BUG: Fix the Workspace class properties declaration.

[GB.QT]
* BUG: Fix the cell drawing algorithm in GridView.


git-svn-id: svn://localhost/gambas/trunk@1765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-02 01:51:24 +00:00
Benoît Minisini
abdd0a0866 [DEVELOPMENT ENVIRONMENT]
* NEW: Start assigning actions to everything.
* NEW: Action shortcuts can be configured.
* NEW: Project actions are automatically saved in the .action directory.
* BUG: Signature of native arrays is correct now.

[INTERPRETER]
* BUG: GB_LoadFile() does not leak file descriptors anymore.
* NEW: Relative paths starting with "../" allows to open files located in 
  the main archive from a component.

[ARCHIVER]
* NEW: Store the ".action" directory in the archive.

[GB.DB]
* BUG: Correctly check that table name are not void in Create(), Find(), 
  Edit() and Delete() methods.

[GB.FORM]
* NEW: A new stock icon named "shortcut". Mmm... Should be named 
  "keyboard".

[GB.FORM.MDI]
* NEW: Support for automatic configuration of action shortcuts.
* NEW: Action.Configure() is a new method that opens a dialog for 
  configuring shortcuts. Shortcut configuration is stored in the 
  application setting files, under the '[gb.form.mdi/Shortcuts]' slot.

[GB.QT]
* NEW: Action[].Shortcut is a new property for setting or getting the 
  shortcut of an action.
* BUG: Correctly opens startup forms again.


git-svn-id: svn://localhost/gambas/trunk@1758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-12-31 15:55:40 +00:00
Benoît Minisini
85246fbaaa [CONFIGURATION]
* NEW: Upgrade libtool autoconf macros and libltdl sources to the 1.5.26 
  version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Control and window dimensions can go up to 4096x4096 pixels.
* BUG: When unchecking GUI components in a project, the edited forms are 
  automatically closed.
* BUG: Do not use the form icon on form class editors when refreshing the 
  project.
* BUG: In the icon editor, filling with a transparent color won't enter an 
  infinite loop anymore.
* BUG: Selecting the "Collection" word while debugging does not crash the 
  IDE anymore.
* NEW: Pressing Escape now closes a debugging window.
* BUG: The 'Minimize on run' option works correctly now.

[INTERPRETER]
* BUG: SUPER now works inside overriden static methods.

[GB.DB.ODBC]
* BUG: Handle ODBC drivers that can return the number of records in a 
  query better.

[GB.DEBUG]
* BUG: If there is an I/O error between a debugged process and the IDE, the
  process is aborted.
* BUG: Evaluating a class name returns better information now.

[GB.EVAL]
* BUG: Highlight.Analyze correctly handle code lines having non ASCII 
  characters inside.

[GB.FORM]
* BUG: The Balloon does not take the focus anymore.

[GB.FORM.MDI]
* NEW: Starting to enhance the Action class to provide shortcuts and 
  toolbar configuration dialog. Does nothing at the moment!

[GB.GTK]
* BUG: Fix a leak in font objects management.
* BUG: Picture.Load() yet loads an image, but internally converts it to 
  a pixmap. It speeds up following draws based on this picture.
* BUG: Startup forms hidden at design time are not shown automatically 
  anymore.
* NEW: The Action class is now shared with gb.qt by using a symbolic link.

[GB.IMAGE.INFO]
* NEW: New component to get information about an image file without having 
  to fully load it.

[GB.QT]
* BUG: Disable automatic extra indent of Labels.
* BUG: Startup forms hidden at design time are not shown automatically 
  anymore.
* BUG: Don't allow widgets to be destroyed while processing non-input 
  events.


git-svn-id: svn://localhost/gambas/trunk@1747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-12-28 19:01:39 +00:00
Benoît Minisini
72889d9706 [INTERPRETER]
* BUG: A internal stream flag to know if data is immediately available. 
  File and memory streams have this flag set. Streams defined in component 
  do not have this flag set by default.


git-svn-id: svn://localhost/gambas/trunk@1708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-22 12:58:36 +00:00
Benoît Minisini
bfde7da5de [DEVELOPMENT ENVIRONMENT]
* NEW: A menu entry and a button for showing/hiding the menu bar.

[GB.EVAL]
* BUG: Highlight.Purge() now correctly handle non-ASCII characters inside 
  strings and comments.

[GB.QT]
* NEW: Window.Menus.Hide, Window.Menus.Show and Window.Menus.Visible are 
  two methods and one property for showing and hiding the menu bar of the 
  window.


git-svn-id: svn://localhost/gambas/trunk@1706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-20 22:09:51 +00:00
Benoît Minisini
53ac248da5 [GB.NET]
* BUG: The Socket Ready event is correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@1703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-12 21:50:36 +00:00
Benoît Minisini
db6b81aa59 [INTERPRETER]
* OPT: Optimization in Replace() when the replace string is longer than 
  the search string. String[].Join() becomes faster too.


git-svn-id: svn://localhost/gambas/trunk@1683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-08 23:42:08 +00:00
Benoît Minisini
408839f5c3 [GB.DESKTOP]
* BUG: Fix the algorithm that returns the desktop path.

[GB.WEB]
* BUG: Remove log messages, but log session loading error in the
  /tmp/session.log file.


git-svn-id: svn://localhost/gambas/trunk@1668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-02 13:59:06 +00:00
Benoît Minisini
261de2bcdd [DEVELOPMENT ENVIRONMENT]
* BUG: Set the focus on the form when it becomes active.

[INTERPRETER]
* BUG: Fix locale-aware string comparisons, i.e. string comparisons that 
  use the gb.Language constant.

[GB.QT.EXT]
* BUG: In Editor, do not call the event loop when scrolling. That can 
  lead to infinite recursion.


git-svn-id: svn://localhost/gambas/trunk@1632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-04 23:46:15 +00:00
Benoît Minisini
6b57f21ee5 [DEVELOPMENT ENVIRONMENT]
* NEW: Store the component version inside the .component files for 
  component projects.
* NEW: Package dependencies on component use the previous version stored 
  in the .component file if it is available. Otherwise the current Gambas 
  interpreter version is used.
* BUG: Do not increment version release if the packager wizard is 
  cancelled.
* NEW: Package dependencies on component use the previous version stored 
  in the .component file if it is available. Otherwise the current Gambas 
  interpreter version is used.
* NEW: The package wizard remembers the last directory used for storing 
  packages.
* BUG: The default directory where packages are stored is the home 
  directory now.
* BUG: Fix the signature display routine that sometimes underlined 
  incorrectly.
* BUG: Use version program at each project configuration write.
* NEW: A "paste special" function in the code editor, that allows to 
  insert plain text or HTML text from the clipboard, and can comment it,
  quote it as a Gambas string, or transform it into PRINT instructions.
* BUG: Some fix related to the now immediate invalidity of deleted forms.

[SCRIPTER]
* NEW: Support for gambas server pages!
* NEW: Server page are now run by a program named 'gbw2', which is just a 
  symbolic link to 'gbs2'.

[GB.GTK]
* BUG: Window.Picture property now works correctly when the window is 
  embedded inside a container.
* BUG: Embedded windows having a background picture are now correctly
  updated when they are resized.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: The combo-box behaves now like the qt one. Its first item is always 
  selected at startup.
* NEW: Now deleted forms become immediately invalid.

[GB.QT]
* BUG: Clipboard.Paste() now returns an UTF-8 string.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: Checking if the application must quit is deferred, so that closing 
  a form and opeing another one keeps the application running.
* NEW: Now deleted forms become immediately invalid.

[GB.QT.EXT]
* BUG: Fix the Editor drawing while scrolling.
* BUG: Fix conversion from cursor position to text column in Editor.
* BUG: Fix the Editor drawing when it has been scrolled to the right.
* BUG: Don't paste in Editor if there is nothing to paste.


git-svn-id: svn://localhost/gambas/trunk@1605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-26 02:25:29 +00:00
Benoît Minisini
5acae8e8bb [WIKI CGI SCRIPT]
* NEW: Do not use <pre> markups, they cannot break lines.

[DEVELOPMENT ENVIRONMENT]
* NEW: Replace anonymous object arrays by template arrays.
* NEW: A button that clears the shortcut in the menu editor.
* NEW: When evaluating expression in the console, a semi-colon at the end 
  of the expression prevents the end newline to be printed, like in the 
  PRINT instruction.
* NEW: CTRL+G in the console makes it flash.
* OPT: Remove the CCoolTabs class, that was not used anymore.
* NEW: The main selected control is unselectable in the form editor now.
* NEW: Selected controls can be resized by pressing CTRL and an arrow key.
* NEW: Some form editor shortcuts have been changed to not conflict with
  the previous feature.
* BUG: Fix the horizontal position of the automatic completion.
* BUG: Look in project classes before component classes in automatic 
  completion.

[INTERPRETER]
* BUG: Fix the memory allocation debug routines.
* BUG: When instanciating a template array class, search for element class 
  symbol locally first.
* BUG: Template arrays now correctly release their elements.
* NEW: Update copyright year in gb_common.h header file.

[COMPILER]
* BUG: Manage .list and .info files incrementally, so that they are up to 
  date even when the project is not fully compiled.
* BUG: Float and Single constants are correctly written in the .info file.

[GB.QT.EXT]
* BUG: Fix some painting artifacts in Editor.
* BUG: In Editor, Undo and Redo now should always work correctly when a 
  line is rewritten.
* NEW: In Editor, when a line is rewritten, the Change event is always 
  emitted.
* NEW: The Editor is cleared now when it prints a CTRL+L character.
* NEW: The Editor flashes now when it prints a CTRL+G character.


git-svn-id: svn://localhost/gambas/trunk@1576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-21 23:22:07 +00:00