Commit graph

686 commits

Author SHA1 Message Date
Benoît Minisini
ef0eae0250 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add an option to replace existing translations 
  when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error 
  anymore.

[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.

[GB.GTK]
* BUG: Implement the Invert property in vertical containers.

[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.

[GB.QT4]
* BUG: Implement the Invert property in vertical containers.


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the 
  farm server yet.

[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then 
  1583.

[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Benoît Minisini
4faa9876bf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial focus of welcome dialog.

[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to 
  avoid an incorrect "circular reference" message.

[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.

[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Benoît Minisini
3c8efd56e9 [CONFIGURATION]
* NEW: Update chinese translations.

[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.

[INTERPRETER]
* NEW: Allow WAIT to raise errors.

[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry 
  of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry 
  of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a 
  screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
  geometry without the frame.

[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.


git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 22:15:59 +00:00
Benoît Minisini
e6f3fb336e [GB.GTK]
* BUG: Menu opened through the PopupMenu property work correctly now.

[GB.GTK3]
* BUG: Menu opened through the PopupMenu property work correctly now.


git-svn-id: svn://localhost/gambas/trunk@6709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 14:24:47 +00:00
Benoît Minisini
9926507f8d [GB.GTK]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.

[GB.GTK3]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.
* BUG: Paint.Reset() now works as expected on non-cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:46:28 +00:00
Benoît Minisini
2fd0373590 [GB.GTK]
* BUG: Fix an uninitialized variable.

[GB.GTK3]
* BUG: Fix an uninitialized variable.


git-svn-id: svn://localhost/gambas/trunk@6627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 22:24:43 +00:00
Nigel Gerrard
506e7a468b [GB.GTK]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin

[GB.GTK3]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin


git-svn-id: svn://localhost/gambas/trunk@6626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 21:33:40 +00:00
Benoît Minisini
300d36e7b6 [GB.GTK]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.

[GB.GTK3]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@6589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 02:03:27 +00:00
Benoît Minisini
2adf90242b [GB.GTK]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now. The "X input method" does not work 
  (key events are internally sent four times!).

[GB.GTK3]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now.


git-svn-id: svn://localhost/gambas/trunk@6585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-27 23:43:56 +00:00
Benoît Minisini
c971d3e7ca [DEVELOPMENT ENVIRONMENT]
* NEW: Put the publishing configuration and registration in the option 
  dialog.

[GB.FORM]
* BUG: SwitchButton: Use a "disable" look for ON and OFF state when the
  Enabled property is FALSE.
* NEW: ListEditor is a new control that allows to edit the contents of a
  ListBox control.

[GB.GTK]
* BUG: Remove a debugging message.
* BUG: TextBox: Postpone the Change event so that replacing the selection 
  raises a unique Change event.

[GB.NET.SMTP]
* NEW: Add a Content-Disposition header to attachments.

[GB.WEB]
* NEW: The default response content type is now HTML with UTF-8 charset.


git-svn-id: svn://localhost/gambas/trunk@6574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 14:32:48 +00:00
Benoît Minisini
2535f9ad76 [EXAMPLES]
* BUG: MoviePlayer: Use an embedder as mplayer container. It's the only 
  control that has its own X11 window in all toolkits.

[GB.GTK]
* BUG: Ensure that the Embedder background is painted.


git-svn-id: svn://localhost/gambas/trunk@6569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-20 14:17:48 +00:00
Benoît Minisini
ec8627f540 [GB.GTK]
* BUG: Use GtkSelectionData accessor function.

[GB.GTK3]
* BUG: Use GtkSelectionData accessor function.



git-svn-id: svn://localhost/gambas/trunk@6563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 22:27:13 +00:00
Benoît Minisini
892fa0be41 [GB.FORM]
* NEW: Add a copy menu entry to the FileChooser and DirChooser controls.

[GB.GTK]
* BUG: Clipboard.Copy() now works for all text formats.

[GB.GTK3]
* BUG: Clipboard.Copy() now works for all text formats.


git-svn-id: svn://localhost/gambas/trunk@6562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 20:04:22 +00:00
Benoît Minisini
1ee8120382 [GB.GTK]
* BUG: Start fixing drag and drop.

[GB.GTK3]
* BUG: Start fixing drag and drop.
* BUG: Remove two symbolic links on source files that do not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@6561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 18:09:07 +00:00
Benoît Minisini
77ad93e7a6 [GB.GTK]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.

[GB.GTK3]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.


git-svn-id: svn://localhost/gambas/trunk@6560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:38:22 +00:00
Benoît Minisini
d2b8cc6af9 [GB.GTK]
* BUG: Fix missing file in Makefile.am


git-svn-id: svn://localhost/gambas/trunk@6542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-12 22:18:13 +00:00
Benoît Minisini
26f3daa0c5 [GB.FORM]
* NEW: FontChooser.ShowRelative is a new property that set if relative 
  sizes are allowed or not. They are allowed by default.

[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will 
  show fixed fonts only.

[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-10 19:23:44 +00:00
Benoît Minisini
05f20c33e4 [GB.GTK]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.GTK3]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.QT4]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.


git-svn-id: svn://localhost/gambas/trunk@6519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-04 12:56:02 +00:00
Benoît Minisini
efc902a82a [GB.GTK]
* BUG: Fix menu item drawing again.

[GB.GTK3]
* BUG: Fix menu item drawing again.


git-svn-id: svn://localhost/gambas/trunk@6478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:40:50 +00:00
Benoît Minisini
3067da6c5d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Menu.Radio property.

[GB.DB]
* BUG: Add an explicit warning message when a connection password must be 
  retrieved and the 'gb.desktop' component is not loaded.

[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.


git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:28:41 +00:00
Benoît Minisini
7f5f591f89 [DEVELOPMENT ENVIRONMENT]
* NEW: Recent file list is now stored in the following file:
  '~/.local/config/gambas3/gambas3.recent.conf'
* BUG: Fix the CC mail address of the crash report.

[WIKI CGI SCRIPT]
* BUG: Correctly read information files of components having a class 
  defined both in the C/C++ part and in the Gambas part.

[GB.FORM]
* BUG: Fix the balloon drawing routine. It should never be transparent 
  anymore.

[GB.GTK]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.

[GB.GTK3]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.


git-svn-id: svn://localhost/gambas/trunk@6474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 14:35:56 +00:00
Benoît Minisini
68c3701c55 [GB.GTK]
* BUG: Fix input method handling.

[GB.GTK3]
* BUG: Fix input method handling.


git-svn-id: svn://localhost/gambas/trunk@6469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-13 12:41:31 +00:00
Benoît Minisini
37fc199475 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in the new procedure list.
* NEW: Add the executable size in the project statistics.

[GB.FORM]
* NEW: Bookmark editor: Now you can edit the name of the bookmark by just 
  clicking inside the table.

[GB.GUI.BASE]
* NEW: The height argument of Paint.TrimText() and Paint.TrimRichText() is 
  now optional. It takes the font height if omitted.
* BUG: ScrollArea does not override the current clipping anymore. It fixed
  the TableView edit cell drawing artifacts with GTK+2. In other words,
  never assign Draw.ClipRect while drawing with GTK+2!
* NEW: ScrollArea border is now a plain border, and not a sunken one 
  anymore. I find it nicer.

[GB.GTK]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.

[GB.GTK3]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.
* BUG: Borderless TextBox has now always a flat background, whatever the 
  widget style.


git-svn-id: svn://localhost/gambas/trunk@6466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-11 14:19:14 +00:00
Benoît Minisini
ebaf84261d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix background color of code editor tooltip messages.

[GB.FORM]
* NEW: MenuButton now uses the new DrawingArea Font event.
* BUG: Fix FileChoose/DirChooser directory buttons layout.

[GB.GUI.BASE]
* NEW: Paint.TrimRichText() is a new method that trims some rich text to a
  specific size, adding ellipsis if needed.
* NEW: Use smaller arrows in TreeView and GridView headers.
* BUG: TreeView now should keep the selection correctly while an item is
  expanded or collapsed.

[GB.GTK]
* NEW: DrawingArea now raises a new Font event when its font changes.

[GB.GTK3]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Style.PaintArrow() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@6462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 13:54:42 +00:00
Benoît Minisini
7e0011226b [INTERPRETER]
* NEW: System.Log() is a new method that send a message to the system log.
  Useful if you write a daemon.

[GB.FORM]
* NEW: New design of FileChooser and DirChooser.

[GB.GUI.BASE]
* BUG: Fix the automatic scrolling behaviour of GridView and all its 
  children classes.
* BUG: Fix new ligheter selection color of IconView.
* BUG: Fix automatic scrolling of newly expanded item in TreeView and 
  ColumnView.

[GB.GTK]
* BUG: Fix Style.ForegroundOf() method.

[GB.GTK3]
* BUG: Fix Style.BackgroundOf() method.

[GB.QT4]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Controls now take the alpha component of foreground and background 
  colors into account.


git-svn-id: svn://localhost/gambas/trunk@6461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 06:59:03 +00:00
Benoît Minisini
06c736add7 [GB.GTK]
* BUG: A reparented control does not lose its default foreground or 
  background color anymore.


git-svn-id: svn://localhost/gambas/trunk@6457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-07 20:27:04 +00:00
Benoît Minisini
b90b6061b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Changes in project open dialog design.

[GB.GTK]
* BUG: Fix auto-resized labels layout.

[GB.QT4]
* BUG: Auto-resized labels correctly update their size when their border 
  property is modified.


git-svn-id: svn://localhost/gambas/trunk@6452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 09:34:34 +00:00
Benoît Minisini
f0c1464ff2 [GB.GTK]
* NEW: Remove useless gb.gtk exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().

[GB.GTK3]
* NEW: Remove useless gb.gtk3 exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().


git-svn-id: svn://localhost/gambas/trunk@6431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-27 11:53:37 +00:00
Benoît Minisini
059a61ff3f [GB.GTK]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them.

[GB.GTK3]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them. Some problems specific to GTK+3 yet.


git-svn-id: svn://localhost/gambas/trunk@6424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-23 12:21:03 +00:00
Benoît Minisini
6afea7421a [GB.GTK]
* NEW: Add an environment variable to debug keypress events.


git-svn-id: svn://localhost/gambas/trunk@6420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 11:16:35 +00:00
Benoît Minisini
95d0f89346 [GB.GTK]
* BUG: Fix session management compilation.

[GB.GTK3]
* BUG: Fix session management compilation.



git-svn-id: svn://localhost/gambas/trunk@6394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 22:49:03 +00:00
Benoît Minisini
ae23faf1a3 [GB.GTK]
* NEW: Support for automatic session management.

[GB.GTK3]
* NEW: Support for automatic session management.


git-svn-id: svn://localhost/gambas/trunk@6393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 04:18:55 +00:00
Benoît Minisini
86c06592c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the offline help on component symbols should be displayed 
  correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.

[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line 
  arguments as a string array. Not definitive: it may be removed in the
  future.

[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager. Beware that it has
  no effect at the moment!

[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
  at the moment.
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager.



git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 14:41:54 +00:00
Benoît Minisini
fb088ab291 [DEVELOPMENT ENVIRONMENT]
* BUG: The close menu now works for all editors in single file mode.

[GB.FORM.MDI]
* BUG: Workspace: Fix the new Remove() method and the old Add() method.


git-svn-id: svn://localhost/gambas/trunk@6362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 00:07:52 +00:00
Benoît Minisini
22977a4d50 [DEVELOPMENT ENVIRONMENT]
* NEW: Color chooser in forms now allows to select a transparent color.

[GB.DESKTOP.X11]
* NEW: The Arrange event is now delayed.
* BUG: Do not display X11 errors anymore.
* BUG: Disable the X11 event filter if the system tray has been closed.
* BUG: Don't crash when closing the system tray and freeing the internal 
  data.
* NEW: Support for the _NET_SYSTEM_TRAY_VISUAL protocol. Now the system 
  tray can be a transparent window, but embedded icons keeps being opaque.

[GB.GTK]
* NEW: Support for X11 event filter has been implemented.
* BUG: Wait 10 ms after showing a tray icon. Apparently you must not be too
  fast when creating several tray icons.


git-svn-id: svn://localhost/gambas/trunk@6347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-28 15:25:12 +00:00
Benoît Minisini
dc5875f9d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when highlighting source code positions in the 
  output window.
* BUG: Hitting ENTER key in the project tree filter now works correctly, 
  and open the first matching file if none is selected.

[GB.DESKTOP]
* BUG: Requires gb.desktop.x11 explicitely now.

[GB.GTK]
* BUG: System tray icons deletion is delayed now. It prevents spurious GTK+
  warnings that appear if you hide an icon during inside an event handler.

[GB.IMAGE]
* BUG: Rewrite the ImageStat class source code because the PHP licence is 
  not compatible with the GPL.

[GB.QT4]
* BUG: System tray icons deletion is delayed now, to avoid a crash if you
  hide an icon during inside an event handler.


git-svn-id: svn://localhost/gambas/trunk@6344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-26 20:00:13 +00:00
Benoît Minisini
76195761c9 [GB.GTK]
* BUG: The Foreground property of RadioButton and CheckBox now works correctly.

[GB.GTK3]
* BUG: Get rid of some warnings.

[GB.WEB]
* BUG: URL.UnsetQuery() now works correctly on void request queries.


git-svn-id: svn://localhost/gambas/trunk@6333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-22 14:05:27 +00:00
Benoît Minisini
53f66734b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for choosing LinkForeground and VisitedForeground system 
  colors.
* NEW: An option to toggle the display of current file name in the IDE 
  window title.

[GB.GTK]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.

[GB.GTK3]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.
* BUG: Get rid of some warnings.

[GB.QT4]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links.


git-svn-id: svn://localhost/gambas/trunk@6331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-20 13:44:08 +00:00
Benoît Minisini
ab80d1ab67 [GB.GTK]
* BUG: Fix Frame children detection.

[GB.GTK3]
* BUG: Fix Frame children detection.


git-svn-id: svn://localhost/gambas/trunk@6329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-19 09:07:50 +00:00
Benoît Minisini
e49850d5af [GB.GTK]
* BUG: Fix TabStrip behaviour when its Closable property is set.

[GB.GTK3]
* BUG: Fix some uses of deprecated functions.


git-svn-id: svn://localhost/gambas/trunk@6315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 09:27:31 +00:00
Benoît Minisini
4c7dfb0595 [GB.GTK]
* BUG: Correctly resets the clip region offset after a DrawingArea draw 
  event.


git-svn-id: svn://localhost/gambas/trunk@6313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-11 00:25:14 +00:00
Benoît Minisini
dce2f3c764 [DEVELOPMENT ENVIRONMENT]
* NEW: A left mouse click with the CONTROL key jumps to the definition of 
  a symbol, like the F2 key.
* NEW: The shortcuts help window now remembers its geometry.
* BUG: Subversion: Fix automatic conflict resolving of configuration files.

[GB.GTK]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).

[GB.GTK3]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).

[GB.QT4]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).


git-svn-id: svn://localhost/gambas/trunk@6308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 02:16:47 +00:00
Benoît Minisini
5155796342 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the custom browser support.
* NEW: Add Chromimum to the list of browsers.

[INTERPRETER]
* NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they
  have raised an error. FALSE is everything was ok.

[GB.FORM.MDI]
* NEW: Redesign the shortcuts configuration dialog.
* NEW: Shortcuts now can be exported and imported.

[GB.GTK]
* BUG: DrawingArea: Clipping is correctly established now before raising
  the Draw event.
* BUG: Keyboard events have been fixed. Key array accessor and Key.Code now
  behave the same way as in gb.qt4.
* BUG: The Key.Meta property works correctly now.
* BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround
  for that new weird behaviour.
* BUG: Automatic window minimum size now works correctly.
* BUG: Windows can take focus as in gb.qt4.

[GB.GUI.BASE]
* BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw 
  event. Otherwise you get drawing artifacts with gb.gtk.
* BUG: GridView: Setting the column width to -1 is taken into account by 
  the layout routine.


git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-08 11:54:07 +00:00
Benoît Minisini
2d784e0305 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove Firebird from the database drivers list.

[GB.FORM.MDI]
* NEW: The Workspace popup menu has been redesigned.
* NEW: A menu entry to close all tabs.
* NEW: A menu entry to close tabs to the right.

[GB.GTK]
* BUG: Invisible startup forms are not opened at startup anymore.

[GB.NET.POP3]
* NEW: Pop3Client.Open() now raises an error if authentication fails, and
  correctly aborts the connection.

[GB.QT4.EXT]
* BUG: Editor: Delete at the end of line and backspace at the beginning of
  line now work as expected when override mode is enabled.
* NEW: CTRL+D now deletes the current line or selection.


git-svn-id: svn://localhost/gambas/trunk@6304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-07 01:24:05 +00:00
Benoît Minisini
90e7f54bcd [DEVELOPMENT ENVIRONMENT]
* NEW: Shrink the welcome window a bit if the window is too small.

[EXAMPLES]
* NEW: SystemTray is a new example that shows how to use the system tray 
  support of the gb.desktop.x11 component.

[GB.DESKTOP.X11]
* BUG: A lot of clean up in the system tray support.
* NEW: X11SystrayIcon.Handle is a new property that returns the X11 window 
  id of a systray icon.

[GB.GUI.BASE]
* BUG: Draw: Use Paint.LineJoinRound by default.

[GB.QT4]
* NEW: TrayIcon: Provide the icon size to the system tray.

[GB.GTK]
* NEW: TrayIcon: Try to provide the icon size to the system tray, but it is
  apparently overriden by the GTK+ library with the default small size.


git-svn-id: svn://localhost/gambas/trunk@6301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-03 21:02:01 +00:00
Benoît Minisini
fb1b6a762a [CONFIGURATION]
* NEW: Add an automake init flag to prevent warnings with recent versions 
  of automake.

[DEVELOPMENT ENVIRONMENT]
* NEW: A Gambas project directory is now identify by a ".project" file that
  actually begins with the expected header.

[GB.DESKTOP.X11]
* NEW: X11Systray is a new static class that implements a system tray 
  inside an already existing DrawingArea of your project. Beware, this it 
  the initial experimental version. That class is based on the 'stalone'
  project source code.

[GB.GTK]
* BUG: Default tray icon is correctly visible now.

[GB.GTK3]
* BUG: Default tray icon is correctly visible now.

[GB.QT4]
* BUG: Tray icons are now scaled, like with GTK+.


git-svn-id: svn://localhost/gambas/trunk@6299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-02 00:39:44 +00:00
Benoît Minisini
7abbd5e799 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't check conflict on project configuration file if that files 
  does not exist.

[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.

[INFORMER]
* BUG: Remove unneeded parenthesis on a test.

[GB.CLIPPER]
* BUG: Remove an unused variable.

[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.

[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it 
  behaves exactly like a TextBox.

[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach 
  current tab" menu entry is disabled when needed.

[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the 
  documentation.


git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 11:52:04 +00:00
Benoît Minisini
9f5c1f4bd6 [GB.GTK]
* BUG: Embedded windows can now be reparented to NULL to become top-level 
  again.
* BUG: Showing a top-level window now raises it automatically.


git-svn-id: svn://localhost/gambas/trunk@6280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 16:00:32 +00:00
Benoît Minisini
d463910f4d [GB.GTK]
* BUG: Setting Application.Font now updates the font of all controls.

[GB.GTK3]
* BUG: Setting Application.Font now updates the font of all controls.


git-svn-id: svn://localhost/gambas/trunk@6277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 00:50:45 +00:00