Commit graph

180 commits

Author SHA1 Message Date
Benoît Minisini
96902d90ec [GB.FORM.MDI]
* BUG: Fix the toolbar initialization.


git-svn-id: svn://localhost/gambas/trunk@1878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 02:56:35 +00:00
Benoît Minisini
dadd0b9ef2 [DEVELOPMENT ENVIRONMENT]
* NEW: You can paste the clipboard contents as a multi-line string.
* NEW: Toolbar buttons for quick special pasting.

[GB.QT]
* BUG: Fix a crash in the Splitter control arrangement.

[GB.QT4]
* BUG: Fix a crash in the Splitter control arrangement.


git-svn-id: svn://localhost/gambas/trunk@1877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 23:50:39 +00:00
Benoît Minisini
e1712973c2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the arrangement of the welcome dialog and the project property 
  component list.
* BUG: Undo now works on procedure declaration automatically inserted.

[INTERPRETER]
* BUG: Object.Lock(), Object.Unlock() and Object.IsLocked() now work as
  expected on Observer objects.

[GB.QT]
* BUG: Label and TextLabel autoresize routine has been fixed.
* BUG: ScrollView now arrange its contents again when one of its scrollbars 
  is shown or hidden.
* BUG: Minimum size of window dialogs works again.
* BUG: Top-level windows now arrange its contents on resize events in all
  cases as expected.


git-svn-id: svn://localhost/gambas/trunk@1875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-17 01:51:25 +00:00
Benoît Minisini
50d190496d [INTERPRETER]
* BUG: Printing a debugging expression with an array class name only 
  inside does not crash the interpreter anymore.
* OPT: Object[].Find() and Object[].Exist() were optimized. They do not 
  check and use the _compare special method anymore. They use the object
  address directly.

[GB.QT4]
* BUG: Clipboard.Format does not crash anymore if there is nothing in the
  clipboard.
* BUG: Do not process events just after a menu popup has been hidden.


git-svn-id: svn://localhost/gambas/trunk@1874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-16 21:39:07 +00:00
Benoît Minisini
4401efa276 [GB.FORM]
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.

[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.

[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.

[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent 
  pictures.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.

[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.


git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-15 23:49:07 +00:00
Benoît Minisini
e2c952c375 [DEVELOPMENT ENVIRONMENT]
* BUG: UTF-8 characters are allowed in project data file names now.

[INTEPRETER]
* NEW: Allocation debugging messages can be redirected to a log file.

[GB.DB.FORM]
* BUG: DataBrowser FBrowser form does not incorrectly override Form.Panel 
  anymore.

[GB.GTK]
* BUG: TabStrip.Font now behaves as expected.
* BUG: GridView Row and Column properties can be set independently.
* BUG: Fix the container arrangement and the ClientX / ClientY properties.

[GB.FORM]
* OPT: FileView redraws were delayed so that they are optimized.
* BUG: Balloon tried to not take the focus.

[GB.QT]
* BUG: Fix the GridView last column stretching.

[GB.QT4]
* NEW: The AutoResize property of Button, ToolButton and ToggleButton 
  controls were implemented.
* BUG: Button, ToolButton and ToggleButton now behave correctly when their
  font change.
* OPT: Arrangement was optimized.
* BUG: TabStrip ClientX, ClientY, ClientWidth and ClientHeight properties 
  now return accurate values.

[GB.QT4.EXT]
* BUG: Editor now draws non-highlighted lines correctly.


git-svn-id: svn://localhost/gambas/trunk@1868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-12 16:43:25 +00:00
David Villalobos Cambronero
c37caeb4dd [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-03 15:56:14 +00:00
Benoît Minisini
8a671a8b07 [DEVELOPMENT ENVIRONMENT]
* NEW: Disable main toolbar buttons instead of hiding them. This is more 
  practical to use.
* BUG: Fix a warning message when displaying auto-completion.

[GB.FORM.MDI]
* NEW: Toolbar.Configure is a new method that is a synonymous of like 
  Action.ConfigureToolbar.
* BUG: Toolbar buttons are always correctly initialized the first time a 
  toolbar is shown now.
* BUG: Toolbars do not flicker anymore when their configuration dialog is 
  shown.


git-svn-id: svn://localhost/gambas/trunk@1851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-03 02:07:44 +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
98dfd94c5a [DEVELOPMENT ENVIRONMENT]
* BUG: Replace "Image provider" feature by "Image loading and saving" 
  feature in the project property dialog.

[INTERPRETER]
* NEW: Collection[""] does not raise a "void key" error anymore. It just 
  returns NULL.
* BUG: The Collection array accessor error management is not disturbed by 
  the debugger anymore. This fix a possible interpreter crash.


git-svn-id: svn://localhost/gambas/trunk@1832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-29 16:11:30 +00:00
Benoît Minisini
a652b6a92c [GB.DESKTOP]
* BUG: Remove useless dependencies, and fix the *.component file.


git-svn-id: svn://localhost/gambas/trunk@1830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-28 23:04:59 +00:00
Benoît Minisini
ff36174d95 [DEVELOPMENT ENVIRONMENT]
* BUG: A badly named environmental variable does not freeze the IDE anymore.

[GB.DEBUG]
* NEW: Do not block anymore when opening the debug fifo for writing. Try a
  few times during 0.1 second.


git-svn-id: svn://localhost/gambas/trunk@1826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-28 00:22:26 +00:00
Benoît Minisini
7035914034 [CONFIGURATION]
* NEW: Update requirements in many *.component files.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update component names and component features.


git-svn-id: svn://localhost/gambas/trunk@1821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-27 01:29:38 +00:00
Benoît Minisini
b458334f0b [GB.CAIRO]
* NEW: Transformation and matrix functions were implemented.

[GB.IMAGE]
* NEW: The format conversion function comes back in the gb.image API.

[GB.IMAGE.IO]
* NEW: New component for loading and saving images.


git-svn-id: svn://localhost/gambas/trunk@1820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-27 01:24:19 +00:00
Benoît Minisini
4f131896d8 [CONFIGURATION]
* NEW: Support for gb.cairo.

[GB.CAIRO]
* NEW: This component allows to use the Cairo library to draw on images.
  Many functions are not implemented yet. Text and Font functions for 
  example.


git-svn-id: svn://localhost/gambas/trunk@1817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-26 12:25:35 +00:00
Benoît Minisini
7d00d8e105 [GB.DRAW]
* BUG: Draw.Zoom() is back, and use the gb.image component interface.

[GB.IMAGE]
* NEW: A new function in the interface for retrieving the color of a pixel.


git-svn-id: svn://localhost/gambas/trunk@1815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-25 22:23:04 +00:00
Benoît Minisini
d4b3628df3 [GB.IMAGE]
* NEW: Simplify the job of components that can take ownership of images.


git-svn-id: svn://localhost/gambas/trunk@1811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-22 00:47:14 +00:00
Benoît Minisini
111ad81271 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Image constructor syntax.


git-svn-id: svn://localhost/gambas/trunk@1810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-21 19:58:28 +00:00
David Villalobos Cambronero
d3ebdea0d6 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-21 19:48:30 +00:00
Benoît Minisini
abf033e85a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the welcome dialog as the Image constructor has changed.

[WIKI CGI SCRIPT]
* NEW: New look for the path and language header.

[INFORMER]
* NEW: The components are analyzed in alphabetical order now.
* NEW: A component can include more than one other component information 
  file.

[GB.IMAGE]
* BUG: Fix two memory leaks.
* NEW: A component can define a default format for new images. This avoid
  unnecessary format conversions. The "default default format" is RGBA.
* BUG: RGBx formats are correctly supported by image methods.

[GB.QT]
* BUG: Fix GridView last column automatic stretching.


git-svn-id: svn://localhost/gambas/trunk@1806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-21 01:25:13 +00:00
Benoît Minisini
ada60fc705 [GB.GTK]
* BUG: Initialize the new BeforeArrange container callback correctly, so 
  that the component does not crash anymore.
* BUG: Correctly declare the new BeforeArrange event.

[GB.QT]
* BUG: Fix the arrangement algorithm, so that it does not keep containers 
  locked when they have no child to arrange.


git-svn-id: svn://localhost/gambas/trunk@1800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-14 01:52:42 +00:00
Benoît Minisini
c650b91dcd [DEVELOPMENT ENVIRONMENT]
* BUG: Signature and automatic completion are visible again. Moreover, 
  they are not hidden anymore when the editor is resized, but this may
  change in the future.

[GB.FORM]
* BUG: The DatePicker works again.

[GB.FORM.MDI]
* BUG: The Enabled state of toolbar buttons is preserved now when 
  configuring the toolbar.

[GB.GTK]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT4]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.


git-svn-id: svn://localhost/gambas/trunk@1799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 14:50:44 +00:00
Benoît Minisini
c4c631ecb9 [CONFIGURATION]
* NEW: Remove the gb.image.info component.
* NEW: Start removing the gb.image component.

[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor and text editor now arrange their contents correctly 
  when the toolbar size changes.
* BUG: The picture of a form action is the Icon property, not the Picture 
  property.

[INTERPRETER]
* BUG: The _compare special method now is not called anymore if one of the 
  compared object references is null.

[GB.GTK]
* NEW: Control.Drag() and Drag() now return the drop destination.

[GB.FORM.MDI]
* NEW: The toolbar icon size can be changed.
* BUG: Actions that exist on different forms are correctly loaded.
* NEW: The cursor keys can be used now in the shortcut configuration dialog 
  to move the gridview current row. Consequently, you cannot use them as 
  shortcuts.

[GB.NET]
* BUG: Serial port devices are now watched for reading, not for writing. So 
  the callback will not be called permanently.

[GB.QT]
* NEW: The Arrange event is now raised just before a container is arranged, 
  not after. Moreover, it cannot called recursively anymore.

[GB.QT4]
* NEW: Control.Drag() and Drag() now return the drop destination.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.
* NEW: Utility windows now use their initial size as minimum size.
* BUG: Do not loop indefinitely when arranging the contents of a 
  ScrollView.


git-svn-id: svn://localhost/gambas/trunk@1797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 00:42:55 +00:00
Benoît Minisini
0d0b3ec455 [DEVELOPMENT ENVIRONMENT]
* BUG: Apparently Drag & Drop must be cancelled both in the Drag and 
  DragMove event.

[GB.FORM.MDI]
* BUG: Finally found a workaround for the crash in qt drag & drop 
  management.
* BUG: The toolbar configuration dialog can be safely kept open when the 
  application is closed. It will close cleanly.

[GB.QT]
* BUG: Remove the Enabled flag management in the Reparent() method. It is 
  actually useless. When reparenting inside a disabled container, you must
  enable the container before the reparenting, and disable it back just 
  after.


git-svn-id: svn://localhost/gambas/trunk@1792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-08 02:59:57 +00:00
Benoît Minisini
a4ee904dba [DEVELOPMENT ENVIRONMENT]
* NEW: Update toolbars contents according to the toolbar configuration 
  dialog needs.
* NEW: Toolbar contents and default configuration are generated by the IDE 
  and store in the files located in the .action directory.

[GB.FORM.MDI]
* NEW: The toolbar configuration dialog is almost completely finished. 
  There is a big bug yet, a crash in Qt coming from a "locking assertion 
  failure" in the libxcb library. No workaround or fix was found at the 
  moment.

[GB.QT]
* BUG: Control.Reparent() correctly restores the Enabled state of the 
  control.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.


git-svn-id: svn://localhost/gambas/trunk@1791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-08 00:46:23 +00:00
Benoît Minisini
3b15dde6c1 [DEVELOPMENT ENVIRONMENT]
* BUG: Pasting more than one control works again.
* BUG: Save actions associated with any control now.

[INTERPRETER]
* BUG: Do not try to raise an event if the source control is invalid.

[GB.FORM]
* NEW: Stock.GetSize() is a new method that returns the pixel size of an 
  icon given its string size: "small", "medium", "big", and so on...
* BUG: Workaround the ballon corner drawing bugs.

[GB.FORM.MDI]
* NEW: The toolbar configuration dialog is finished. But that only works 
  at the moment if you do not show/hide toolbar buttons explicitely.

[GB.QT]
* NEW: The drag & drop frame is now one pixel wide.
* NEW: Drag() and Control.Drag() now returns where the control was dropped, 
  or NULL if the drag & drop was cancelled or the drop destination a 
  foreign widget.
* BUG: The arrangement algorithm enumerates correctly container children 
  now.
* BUG: Do not loop indefinitely when arranging the contents of a 
  ScrollView.
* NEW: Add the Action property to TextBox, ComboBox, SpinBox, ProgressBar
  and Slider controls. You may want to put them in a Toolbar.


git-svn-id: svn://localhost/gambas/trunk@1790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-07 01:59:48 +00:00
Benoît Minisini
2e82025ce5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix option dialog now that [...] can return specialized arrays.
* BUG: Fix the list of control properties that must not be applied in the 
  form editor.
* NEW: Automatically converts Window.Toolbar constant to Window.Utility.
* NEW: Setting the form Type property to Utility has a visible effect now.
* BUG: The find balloon message is always displayed in the accurate field 
  now.

[GB.GTK]
* BUG: Fix the initialization of editable combo-box when its List property 
  is set.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.

[GB.FORM]
* NEW: Draw SidePanel little arrows in a more clever way.
* BUG: Font grades are selectable again in the FontChooser control.

[GB.FORM.MDI]
* NEW: Toolbars have a configuration dialog now. This configuration dialog 
  is displayed when you click on the toolbar handle. Beware, this is not 
  finished!
* NEW: Toolbar.Key is a new text property for identifying the toolbar. All 
  toolbars having the same key will share the same configuration.
* NEW: Toolbar.Text is a new text property that gives a visual name to the 
  toolbar.

[GB.QT]
* BUG: Setting Control.Next or Control.Previous now forces the parent 
  container to re-arrange itself.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.
* NEW: ToolButton.AutoResize is a new property that makes the toolbutton 
  automatically expand horizontally to fit its contents.
* NEW: Button and ToggleButton got the same AutoResize property.
* NEW: Remove the DrawingArea.BackColor property.

[GB.QT4]
* BUG: Setting Control.Next or Control.Previous now forces the parent 
  container to re-arrange itself.
* NEW: Remove the DrawingArea.BackColor property.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.


git-svn-id: svn://localhost/gambas/trunk@1789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-06 00:01:26 +00:00
Benoît Minisini
4270c30d20 [DEVELOPMENT ENVIRONMENT]
* NEW: Actions lists are now written directly in *.form files. The 
  compiler will copy them into *.action files in the '.action' project 
  directory.

[WIKI CGI SCRIPT]
* NEW: The "?view" argument in URLs is now kept through links.

[INTERPRETER]
* BUG: Paths beginning with "../" now work correctly with executables.
* BUG: Fix a crash when using Dir() on relative paths.

[COMPILER]
* NEW: Now the compiler automatically generates *.action files from the 
  *.form file contents.

[GB.FORM.MDI]
* BUG: Support for the new action file format in the action configuration 
  dialog.
* BUG: Bad shortcuts are correctly handle in the action configuration 
  dialog now.


git-svn-id: svn://localhost/gambas/trunk@1782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-04 18:55:25 +00:00
Benoît Minisini
2c5a3e716e [DEVELOPMENT ENVIRONMENT]
* BUG: Really fix the translation string quoting in *.po files.
* NEW: Translation strings are now sorted by source file in *.po files.


git-svn-id: svn://localhost/gambas/trunk@1781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-04 12:33:07 +00:00
Benoît Minisini
1f0a8eb04e [INTERPRETER]
* BUG: Raising an error with an incorrect message does not crash anymore.

[DEVELOPMENT ENVIRONMENT]
* BUG: A warning is displayed now when a component project has no exported 
  class.
* BUG: Instead of displaying an error, an unreadable *.component file now 
  just displays a warning.
* NEW: In the project property dialog, split the component list between 
  standard components and user components.
* BUG: Quote correctly strings again in *.po generated files. Translations 
  are not corrupted anymore!

[GB.FORM]
* NEW: Label and Separator children are not selectable anymore in the 
  ListContainer control.

[GB.QT4]
* BUG: ScrollView scrollbars are came back.


git-svn-id: svn://localhost/gambas/trunk@1780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-04 11:55:37 +00:00
Benoît Minisini
23762036df [CONFIGURATION]
* NEW: Activate the compilation of the gb.qt4 directory.

[DEVELOPMENT ENVIRONMENT]
* BUG: Actions that are not associated with a Menu will not be shown 
  anymore in the Action configuration dialog.

[GB.QT]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.
  
[GB.GTK]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.
  
[GB.QT4]
* NEW: Spacing is now a container Boolean property. If it is set, the 
  container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
  the same as setting Padding to Desktop.Scale. If both Margin and Padding
  are set, their effect add up.


git-svn-id: svn://localhost/gambas/trunk@1777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-04 01:37:20 +00:00
Benoît Minisini
9de02c9cac [INFORMER]
* BUG: The informer algorithm was redesigned. Now a sub-process is 
  launched for each component that should be analyzed, and LD_PRELOAD is 
  used to load the component shared library before the process is launched.
  Otherwise, some component may crash.

[GB.DRAW]
* BUG: Correctly initialize color properties of the Draw class at 
  Draw.Begin().
* NEW: Draw.FillRect() is a new method to draw a filled rectangle with the 
  specified color.
* NEW: Draw.Clear() is a new method that clears the drawing device with its
  background color.

[GB.FORM.MDI]
* NEW: Do not use BackColor and ForeColor properties anymore.

[GB.GTK]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* BUG: Desktop.Resolution now uses the accurate GTK+ API.
* BUG: Setting the ListBox.List to NULL property does not lock the ListBox 
  control anymore. 
* BUG: Fix the Font object management. Using Font properties should not 
  crash anymore.
* BUG: Image.Save() and Picture.Save() now understand the "~" shortcut in 
  path names.

[GB.QT]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: Do not check if we should quit too often.
* NEW: Allow windows to be closed during a WAIT instruction as in other 
  components. I do not know why it was forbidden before.
* NEW: Prevent a crash in arrangement routines if a child widget is not 
  associated with a Gambas control anymore.

[GB.QT4]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: The source code is now up to date with gb.qt. But many things do not 
  work as expected!

[GB.QT4.EXT]
* NEW: The source code is now up to date with gb.qt.ext. But many things do 
  not work as expected!


git-svn-id: svn://localhost/gambas/trunk@1776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-03 22:24:02 +00:00
Benoît Minisini
f5b4eb04a3 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to add some options to the 'msgmerge' command to workaround a 
  bug in that command, but it was not successful!

[GB.FORM.MDI]
* NEW: Add a "Reset" button in the action configuration dialog to reset 
  the shortcuts to their default values.
* BUG: Do not set an action shortcut if the shortcut did not change in the
  action configuration dialog.
* BUG: Automatically save the current edited shortcut when the action 
  configuration dialog is closed.

[GB.QT]
* BUG: Setting the Menu.Shortcut property to NULL now correctly removes the 
  menu shortcut.

[GB.QT.EXT]
* BUG: The Editor.Print() method now can handle strings having null 
  characters inside.


git-svn-id: svn://localhost/gambas/trunk@1767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-02 15:03:38 +00:00
Benoît Minisini
802a28b2d6 [CONFIGURATION]
* NEW: Bytecode version has been incremented again. All projects must be 
  recompiled!

[INTERPRETER]
* NEW: The Quote and UnQuote class were removed, and replaced by three new 
  functions: Quote$(), Shell$() and Unquote$().
* NEW: Html$() is a new function that does HTML quoting.

[GB.QT]
* NEW: The space between a gridview cell picture and its text is now 
  defined by the padding property.

[GB.WEB]
* NEW: The HTML class has been removed. Use the new Html$() subroutine 
  instead.

git-svn-id: svn://localhost/gambas/trunk@1763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-02 00:05:38 +00:00
Benoît Minisini
57491bc71c [INTERPRETER]
* BUG: If loading a class has failed, do not try to load it twice. Raise 
  an error instead.


git-svn-id: svn://localhost/gambas/trunk@1760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-01 14:46:02 +00:00
Benoît Minisini
f7889c1147 [CONFIGURATION]
* NEW: Bytecode version has been incremented. All projects must be 
  recompiled!

[DEVELOPMENT ENVIRONMENT]
* BUG: Rewrite code that used badly overridden symbols.

[INTERPRETER]
* BUG: Check that the overridding symbol is compatible with the overridden 
  one. For example, a static method can be overridden by a static method 
  only, a constant can be overriden by a static property, and so on.
* NEW: A new error message for badly overridden symbols.
* NEW: Tr$() is a new function that translates its argument and returns it.

[GB.GTK]
* BUG: Rewrite code that used badly overridden symbols. Affected classes 
  are: Window, TabStrip, 

[GB.FORM.MDI]
* BUG: Translate action descriptions in the action configuration dialog.
* NEW: Sort actions by description in the action configuration dialog.
* NEW: Automatically remember action configuration dialog size.
* BUG: Fix authorized shortcuts in the shortcut edit dialog.
* BUG: Rewrite code that used badly overridden symbols. Workspace is the
  only affected class.

[GB.SETTINGS]
* NEW: LoadWindow() and SaveWindow() are two new public methods to load
  and save window position by specifying the settings key.

[GB.QT]
* BUG: Rewrite code that used badly overridden symbols. Affected classes 
  are: Window, TabStrip, 


git-svn-id: svn://localhost/gambas/trunk@1759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-01 13:42:17 +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
86fd86e68b [DEVELOPMENT ENVIRONMENT]
* BUG: Searching backward inside a subroutine should not freeze anymore.

[GB.GTK]
* BUG: TrayIcons do not raise events anymore if a modal dialog is shown.
* BUG: If no toplevel menu is visible, then the window  menubar is hidden.
* BUG: As in gb.gt, toplevel menus with no text (separators) are hidden.
* BUG: The TrayIcons _next and _get special methods do not crash anymore.
* BUG: Buttons color properties now should work as expected.


git-svn-id: svn://localhost/gambas/trunk@1726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-12-08 01:22:08 +00:00
Benoît Minisini
047bf86985 [WIKI CGI SCRIPT]
* BUG: Adds a <p> markup automatically after symbol syntax boxes.

[INTERPRETER]
* BUG: Fix currency formats.

[GB.FORM]
* BUG: Fix a display glitch in the list of relative sizes in the font 
  dialog.

[GB.QT]
* BUG: Releases the internal font object when setting NULL to the font 
  property of a control.


git-svn-id: svn://localhost/gambas/trunk@1713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-24 14:11:01 +00:00
Benoît Minisini
307070cd4b [GB.GTK]
* 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@1709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-23 12:31:41 +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
David Villalobos Cambronero
474a1864d3 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-20 23:31:44 +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
ec4f918967 [DEVELOPMENT ENVIRONMENT]
* BUG: Debug windows are toolbar again, so that they are automatically 
  transient for the main window.
* BUG: Exported project classes from a component project are correctly 
  scanned now.


git-svn-id: svn://localhost/gambas/trunk@1694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-11 02:25:40 +00:00
Benoît Minisini
a505f0d64b [DEVELOPMENT ENVIRONMENT]
* NEW: Popup menu entries in code editor and form editor to define the 
  current class as startup class.


git-svn-id: svn://localhost/gambas/trunk@1691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-10 16:44:56 +00:00
Daniel Campos
95f34affa2 [gambas3]
* NEW: Added support for Valencian language, a official tongue in the Autonomous Community of Valencia, Spain.



git-svn-id: svn://localhost/gambas/trunk@1684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-09 15:02:49 +00:00
Benoît Minisini
4cff4ce26c [INTERPRETER]
* NEW: A new interpreter API for setting the endianness of a stream.
* NEW: Another new interpreter API for making a stream blocking or not.

[GB.FORM.MDI]
* NEW: Remove the useless toolbar handle.

[GB.NET]
* BUG: Fix the UdpSocket implementation.
* NEW: UdpSocket now uses an internal buffer, so that successive READs on 
  it work as expected. Beware that the remaining data is lost the next time
  the UdpSocket raises its Read event.



git-svn-id: svn://localhost/gambas/trunk@1669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-04 23:53:39 +00:00
Benoît Minisini
6fc736d883 [DEVELOPMENT ENVIRONMENT]
* NEW: The EXEC and SHELL syntax has changed.

[INTERPRETER]
* NEW: Stream.Blocking is new property to set if reading from the stream
  is blocking or not.
* NEW: EXEC or SHELL used without the AS keyword creates a blocking
  process stream.

[COMPILER]
* NEW: EXEC or SHELL can be used with AS and without FOR.

[GB.QT]
* NEW: Toolbox windows are automatically transient for the current active 
  window.


git-svn-id: svn://localhost/gambas/trunk@1657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-29 18:26:56 +00:00
David Villalobos Cambronero
e7f8b931a9 [DEVELOPMENT EVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 22:55:43 +00:00