Commit graph

625 commits

Author SHA1 Message Date
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Benoît Minisini
e89cf75bac [GB.GTK]
* BUG: Fix the default size of message boxes.


git-svn-id: svn://localhost/gambas/trunk@6138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 22:25:04 +00:00
Benoît Minisini
aadf50a477 [GB.GTK]
* BUG: The printer configuration dialog does not crash anymore.
* BUG: Remove some GLib warnings when displaying the printer configuration 
  dialog.


git-svn-id: svn://localhost/gambas/trunk@6134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-05 01:06:37 +00:00
Benoît Minisini
52479d72c9 [GB.GTK]
* BUG: The MouseDrag event can be cancelled now, like with gb.qt4.

[GB.GTK3]
* BUG: The MouseDrag event can be cancelled now, like with gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@6105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:23:35 +00:00
Benoît Minisini
2f2ca62347 [GB.GTK]
* BUG: Controls inside TabStrip now are detected correctly and are not 
  insensitive anymore.

[GB.GTK3]
* BUG: Controls inside TabStrip now are detected correctly and are not 
  insensitive anymore.


git-svn-id: svn://localhost/gambas/trunk@6100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-24 23:54:53 +00:00
Benoît Minisini
220f821d9f [GB.GTK]
* BUG: TrayIcon: Handle DblClick and MouseWheel events correctly.

[GB.GTK3]
* BUG: TrayIcon: Handle DblClick and MouseWheel events correctly.


git-svn-id: svn://localhost/gambas/trunk@6095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-22 02:32:08 +00:00
Benoît Minisini
d2e0c0ec5f [GB.GTK3]
* BUG: Add an automatic widget grab on button press, because GTK+3 do not 
  them anymore!
* BUG: Handle both borderless TextBox and ComboBox controls. Add a specific
  fix for Clearlooks-Phenix theme.



git-svn-id: svn://localhost/gambas/trunk@6094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-22 01:18:35 +00:00
Benoît Minisini
1a8485e3a6 [GB.GTK]
* NEW: TextArea: Remove extra margin around text.
* BUG: TextArea: Border is drawn as expected now.

[GB.GTK3]
* BUG: Style.FrameWidth is correctly computed now.
* BUG: Borderless TextBox are drawn as expected now.
* BUG: TextArea: Border is drawn as expected now.


git-svn-id: svn://localhost/gambas/trunk@6093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-21 01:58:49 +00:00
Benoît Minisini
1b018f7bf1 [GB.FORM]
* NEW: TabPanel: Using the mouse wheel on the tab buttons does not steal 
  the focus anymore.

[GB.GTK]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.GTK3]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.QT4]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.


git-svn-id: svn://localhost/gambas/trunk@6091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:32:24 +00:00
Benoît Minisini
a5cdcbae28 [GB.GTK]
* BUG: The TextArea.Text property does not waste memory anymore.


git-svn-id: svn://localhost/gambas/trunk@6083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-14 22:26:51 +00:00
Benoît Minisini
8c6cf71838 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work 
  as expected.

[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.

[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a 
  single space.

[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text 
  field.
* NEW: The FontChooser control now adapts its interface if its height is 
  too small.

[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.

[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.


git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-12 01:59:49 +00:00
Benoît Minisini
e18c2016e7 [GB.GTK]
* BUG: Menu.Children.Clear() works again.

[GB.GTK.OPENGL]
* BUG: GlArea can take the focus now.


git-svn-id: svn://localhost/gambas/trunk@6077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-10 22:30:33 +00:00
Benoît Minisini
e28bd14ae3 [GB.GTK]
* BUG: Fix memory leak when loading images without alpha channel.


git-svn-id: svn://localhost/gambas/trunk@6071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 00:00:31 +00:00
Benoît Minisini
09210497db [GB.GTK3]
* BUG: Style.PaintPanel() does not crash anymore. But it does not draw the
  focus frame anymore... :-/


git-svn-id: svn://localhost/gambas/trunk@6068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-06 00:48:49 +00:00
Benoît Minisini
e3dfc5b9f6 [GB.GTK]
* NEW: GTK3+ support continues.


git-svn-id: svn://localhost/gambas/trunk@6064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 19:23:41 +00:00
Benoît Minisini
9da017f719 [GB.FORM]
* NEW: SwitchButton is a new control that displays an ON/OFF button.

[GB.GTK]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.GTK3]
* NEW: GTK3+ support continues! By te way, GTK3+ theming support is a 
  fucking nightmare.

[GB.QT4]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.WEB]
* NEW: Session.Exist() is a new method that returns if a specific key is 
  stored in the session.


git-svn-id: svn://localhost/gambas/trunk@6058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 00:08:06 +00:00
Benoît Minisini
28cdb922b6 [GB.GTK3]
* BUG: gb.gtk3 should finally compile with GTK+ 3.10. Maybe...


git-svn-id: svn://localhost/gambas/trunk@6057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 21:38:37 +00:00
Benoît Minisini
d3c4b1691c [GB.QT4]
* NEW: Remove source files of the old ProgressBar control.

[GB.GTK]
* NEW: Remove source files of the old ProgressBar control.

[GB.GTK3]
* NEW: Remove source files of the old ProgressBar control.


git-svn-id: svn://localhost/gambas/trunk@6051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 10:03:27 +00:00
Benoît Minisini
24a62cff83 [INTERPRETER]
* NEW: When a void string is sent to an extern function argument expecting 
  a string, it is converted to a zero-length string instead of a null 
  pointer.

[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.

[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 09:31:32 +00:00
Benoît Minisini
19bc16f26b [GB.GTK]
* NEW: GTK+3 support continues...


git-svn-id: svn://localhost/gambas/trunk@6048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 22:11:51 +00:00
Benoît Minisini
492e4ea979 [GB.GTK]
* BUG: Correctly update background and foreground of multi-container 
  controls.


git-svn-id: svn://localhost/gambas/trunk@6047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 22:11:02 +00:00
Benoît Minisini
41d97ec87e [GB.GTK]
* NEW: Support for GTK+3 continues.


git-svn-id: svn://localhost/gambas/trunk@6046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 16:37:50 +00:00
Benoît Minisini
0f21a59469 [GB.GTK3]
* BUG: Make gb.gtk3 compile with GTK+ 3.10.


git-svn-id: svn://localhost/gambas/trunk@6045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 23:33:21 +00:00
Benoît Minisini
3c8bb8a719 [GB.GTK]
* NEW: GTK+3 support continues...


git-svn-id: svn://localhost/gambas/trunk@6040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 12:43:34 +00:00
Benoît Minisini
8e7d6473d4 [GB.GTK3]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-30 20:03:56 +00:00
Benoît Minisini
184b1a2898 [GB.GTK3]
* BUG: Fix GTK+3 compilation.


git-svn-id: svn://localhost/gambas/trunk@6038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-30 11:46:01 +00:00
Benoît Minisini
1d6a0f896d [GB.GTK]
* BUG: Patch the GtkSpinButton class so that it is drawn correctly when 
  not having a normal height.


git-svn-id: svn://localhost/gambas/trunk@6033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 22:37:06 +00:00
Benoît Minisini
fe8c10daad [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 15:07:17 +00:00
Benoît Minisini
6191b3d0a4 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-28 23:43:01 +00:00
Benoît Minisini
b9f6fa6362 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-28 15:08:40 +00:00
Benoît Minisini
b27a5e570e [GB.GTK]
* BUG: The Window.Picture property now should work correctly.


git-svn-id: svn://localhost/gambas/trunk@6023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 02:01:32 +00:00
Benoît Minisini
ef80ebed7a [GB.GTK]
* BUG: Imbrication of popup menu click events works correctly now and does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 01:08:02 +00:00
Benoît Minisini
0246008554 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 01:07:28 +00:00
Benoît Minisini
0665ac21d8 [GB.GTK]
* NEW: GTK3+ support continues.


git-svn-id: svn://localhost/gambas/trunk@6017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-24 00:14:11 +00:00
Benoît Minisini
c0dd9ba625 [GB.GTK]
* NEW: Start GTK+3 support.
* BUG: Embedder.Embed() does not take two arguments.


git-svn-id: svn://localhost/gambas/trunk@6014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-23 00:39:39 +00:00
Benoît Minisini
9832639d3b [GB.GTK]
* BUG: Correctly implement the Mouse.Translate() method.


git-svn-id: svn://localhost/gambas/trunk@5994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:59:09 +00:00
Benoît Minisini
8e23a347ea [CONFIGURATION]
* NEW: Chinese translations updated everywhere.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project 
  properties dialog.

[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.

[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its 
  size.

[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
  left written.

[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.
* BUG: The rtl layout is correctly initialized at startup.

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their 
  layout if the current language is right-to-left written.

[GB.NET.POP3]
* BUG: Error messages must not be translatable.

[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.


git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:42:30 +00:00
Benoît Minisini
6bcbeb9406 [DEVELOPMENT ENVIRONMENT]
* NEW: '&' shortcuts are automatically removed from the translatable 
  captions of the following controls: Menu, Button, CheckBox, RadioButton, 
  ToolButton, ToggleButton, DataCheckBox. The leading "..." are removed
  too. Now, for example, "&About..." and "About" lead to the same 
  translated string. Consequently the number of translatable strings of the
  IDE project is 7% lower.
* NEW: All translations were updated according to the previous change. 
* NEW: Gambas fonts have been updated.
* BUG: The property help WebView now uses the same default font size (80%) 
  than the help window.
* NEW: A menu entry in the "Tools" menu allows to update all forms, so that
  the previous features can be tested easily. Save your projects before!
* NEW: Translation imports now automatically extracts translations from 
  strings having "&" shortcuts inside and leading dots ("...").

[WIKI CGI SCRIPT]
* BUG: Handle the new "XML" component requirement.

[GB.FORM]
* NEW: TabPanel[] got a new RichText property, that allows to define the 
  title of a tab as rich text.

[GB.FORM.MDI]
* NEW: If a window embedded in a Workspace has a public RichText property, 
  it will be used instead of the normal Text property as window title. This
  is some sort of dirty hack, so don't use it at the moment.

[GB.GTK]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!

[GB.GUI.AREA]
* NEW: The Shortcut class is a new class that allows to remove '&' 
  shortcuts from the translatable caption of the following controls: Menu, 
  Button, CheckBox, RadioButton, ToolButton, ToggleButton, DataCheckBox.

[GB.QT4]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!


git-svn-id: svn://localhost/gambas/trunk@5964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-18 00:10:40 +00:00
Benoît Minisini
d59f485f7c [GB.GTK]
* BUG: Non-resizable modal forms are really not resizable now.


git-svn-id: svn://localhost/gambas/trunk@5911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 18:58:30 +00:00
Benoît Minisini
8a9f89366e [GB.GTK]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@5908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 18:29:13 +00:00
Benoît Minisini
0368d40cfc [GB.GTK]
* BUG: Fix popup menu management for imbricated popups.


git-svn-id: svn://localhost/gambas/trunk@5907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 14:52:51 +00:00
Benoît Minisini
3503f80e66 [GB.GTK]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.

[GB.QT4]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.


git-svn-id: svn://localhost/gambas/trunk@5893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:51:58 +00:00
Benoît Minisini
b8f97a8df4 [GB.GTK]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.

[GB.QT4]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.


git-svn-id: svn://localhost/gambas/trunk@5874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 12:45:15 +00:00
Benoît Minisini
eb825be426 [GB.GTK]
* BUG: Fix Enabled property behaviour by just renaming a method. There is 
  something weird I didn't understood. :-/


git-svn-id: svn://localhost/gambas/trunk@5847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 23:58:47 +00:00
Benoît Minisini
c4e73d4b8a [GB.GTK]
* BUG: Calling TrayIcon.Delete now correctly updates the internal number of 
  visible tray icons.


git-svn-id: svn://localhost/gambas/trunk@5840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-12 14:12:34 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
6d8ce6ac9b [GB.FORM]
* NEW: FileChooser: Add a tool button for displaying file properties.

[GB.GTK]
* BUG: Fix broken popup and modal dialog management.
* BUG: Patch Style properties and methods for 'oxygen-gtk' widget theme.



git-svn-id: svn://localhost/gambas/trunk@5809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 01:03:56 +00:00
Benoît Minisini
ddcf6a2cb0 [GB.GUI]
* NEW: Utility method that defines shortcuts for a popup menu.

[GB.GTK]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.

[GB.QT4]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.


git-svn-id: svn://localhost/gambas/trunk@5808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 21:27:56 +00:00
Benoît Minisini
f2f2b99cc4 [GB.GTK]
* BUG: Remove some remaining GDK_KEY_* constant so that it compiles on old 
  GTK+ libraries.


git-svn-id: svn://localhost/gambas/trunk@5796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-14 16:59:04 +00:00
Benoît Minisini
3d1ae540ae [GB.GTK]
* BUG: Use the deprecated GDK key constants, otherwise the component does 
  not compile with old GTK+ libraries.


git-svn-id: svn://localhost/gambas/trunk@5783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 00:36:47 +00:00