Commit graph

168 commits

Author SHA1 Message Date
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
Benoît Minisini
65e6bab6f2 [DEVELOPMENT ENVIRONMENT]
* NEW: A new project runtime option to print the stack backtrace on error.

[GB.WEB]
* BUG: Storing arrays inside Session works correctly now.


git-svn-id: svn://localhost/gambas/trunk@1650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 14:09:48 +00:00
Jordi Sayol
af7b47c5d7 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.


git-svn-id: svn://localhost/gambas/trunk@1649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-23 08:50:47 +00:00
Benoît Minisini
9841e47829 [DEVELOPMENT ENVIRONMENT]
* NEW: Inserting a file in the project as symbolic link now tries to 
  create relative symbolic links.
* BUG: Fix an error when clicking on a broken link when inserting a new 
  file in the project.

[INTERPRETER]
* BUG: LINE INPUT does not prevent a following READ instruction from 
  reading all the bytes it wants anymore.


git-svn-id: svn://localhost/gambas/trunk@1647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 13:03:03 +00:00
Benoît Minisini
7dabc871a2 [CONFIGURATION]
* BUG: Do not abort installation if a component written in gambas cannot 
  be installed.
* BUG: Disable colorgcc, libtool does not support it.

[DEVELOPMENT ENVIRONMENT]
* BUG: Print the real size of directory contents when getting information 
  on a project directory.

[WIKI CGI SCRIPT]
* BUG: Some fixes in 'example' section and in view mode.

[INTERPRETER]
* BUG: Fix illegal memory access in locale-aware string comparison.
* BUG: Fix a possible crash in String.UCase() and String.LCase().

[GB.FORM]
* BUG: SidePanel arrow buttons are correctly drawn with gb.gtk now.

[GB.GTK]
* BUG: Fix the Image.MakeTransparent() method.
* BUG: Fix the arrangement of ScrollView container.
* BUG: Fix the memory leak in the Picture class.
* BUG: Remove the Window resize event compression.
* BUG: Gridview cells are correctly refreshed now when their Picture or 
  Font property change.

[GB.NET.CURL]
* BUG: The Status property is correctly set after an error now.

[GB.QT]
* BUG: Correctly clears the internal closed flag when opening a Window.
* BUG: WAIT does not take 100% CPU anymore.

[GB.QT.EXT]
* BUG: In Editor, the cursor could disappear when clicking. Fix that.

[GB.XML]
* BUG: The management of XML nodes was incorrect, and so was redesigned.


git-svn-id: svn://localhost/gambas/trunk@1646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 09:28:34 +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
David Villalobos Cambronero
d6d960e390 [DOC.CGI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-02 20:37:12 +00:00
David Villalobos Cambronero
392ecc77d2 [DEVELOPMENT ENVIROMET]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-02 20:35:56 +00:00
Benoît Minisini
2e9ad6e391 [DEVELOPMENT ENVIRONMENT]
* NEW: The look of container controls and embedder was modified.
* BUG: Displaying the property help on virtual controls does not crash 
  anymore.

[WIKI CGI SCRIPT]
* NEW: Changed the look of "only in 3.0" sections.

[INTERPRETER]
* BUG: Handle correctly additions between a small integer constant and a 
  string, by converting the string to a floating point number.

[GB.DESKTOP]
* BUG: DesktopWindow.State property and state methods are not public 
  anymore.
* NEW: DesktopWindow.MoveResize() method was removed, and now Move() takes
  Width and Height optional parameters.


git-svn-id: svn://localhost/gambas/trunk@1619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-01 13:31:32 +00:00
Benoît Minisini
8d9769a779 [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual control icons are searched in Gambas control directories.
* NEW: The directory where source package is done is remembered, by 
  project.

[WIKI CGI SCRIPT]
* NEW: Virtual classes are not creatable.

[GB.DESKTOP]
* NEW: Many enhancements to top-level windows management.
* NEW: The DesktopWatcher class allows to watch desktop changes and top-
  level window changes.

[GB.QT]
* BUG: Showing a window during an Open or Close event, and closing a 
  window during the Close event now do nothing.


git-svn-id: svn://localhost/gambas/trunk@1617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-29 22:32:27 +00:00
Benoît Minisini
a32e54a4e2 [DEVELOPMENT ENVIRONMENT]
* NEW: The option dialog has been resized.

[GB.QT]
* BUG: The window events management was redesigned, mainly by copying the 
  behaviour of gb.gtk. The Open event is now raised before the window is
  shown.
* BUG: Setting the Minimized, Maximized and FullScreen Window properties
  during the Open event now works as expected.
* BUG: The initial Move and Resize events of a window are not raised 
  immediately after the Open event, but delayed. Otherwise sometimes some 
  widgets are not correctly layouted.
* BUG: The Container.Children property does not return invalid controls 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 16:29:30 +00:00
Benoît Minisini
d0259d03e0 [CONFIGURATION]
* BUG: Forgot to add mime information files for Gambas server pages.


git-svn-id: svn://localhost/gambas/trunk@1611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 14:17:13 +00:00
Benoît Minisini
5c04e8dfea [GB.DESKTOP]
* NEW: Desktop.Path returns the desktop directory as defined by 
  freedesktop standards. The routine was provided by Roland Pierret, and 
  adapted by me.

[GB.QT.EXT]
* NEW: In Editor, show trailing spaces at end of lines with dots.
* BUG: Fix Editor drawing routine.


git-svn-id: svn://localhost/gambas/trunk@1609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-27 01:05:49 +00:00