Commit graph

706 commits

Author SHA1 Message Date
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
Benoît Minisini
3253cf2ced [GB.DESKTOP]
* NEW: Update with the new gb.desktop.x11 syntax.

[GB.DESKTOP.X11]
* NEW: X11.SetProperty and X11.GetProperty window argument is now first, 
  and is not optional anymore. You have to specify X11.RootWindow 
  explicitely.
* NEW: The global X11 event handler 'Desktop_Change' is now named 
  'X11_PropertyNotify'.
* NEW: The global X11 event handler 'Desktop_Window' is now named 
  'X11_ConfigureNotify'.

[GB.QT4]
* NEW: The Frame container now has all arrangement properties.

[GB.GTK]
* NEW: The Frame container now has all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@6269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 23:43:36 +00:00
Benoît Minisini
a9fae4f4f3 [GB.GTK]
* BUG: Fix the behaviour of auto-resize labels.


git-svn-id: svn://localhost/gambas/trunk@6263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-13 18:11:16 +00:00
Benoît Minisini
e3f7b949e3 [GB.GTK3]
* BUG: Fix compilation with GTK+ >= 3.12.


git-svn-id: svn://localhost/gambas/trunk@6256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-08 12:02:52 +00:00
Benoît Minisini
9ff74ff950 [GB.GTK]
* BUG: TextArea.Text property can be set to a null string correctly now.


git-svn-id: svn://localhost/gambas/trunk@6255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-06 23:21:32 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
ea30c3ba1b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a echo button in the output console, that echoes the entered 
  command.

[WIKI]
* NEW: Add a HTTP server requests graph.

[INTERPRETER]
* BUG: The debugger does not change the Key property of collections when
  displaying them.
* NEW: Collection.Key is writable now.

[GB.FORM]
* NEW: FontChooser: Always reset sample text at first use.
* BUG: FontChooser: Fix the behaviour when size changes.


git-svn-id: svn://localhost/gambas/trunk@6222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 00:28:41 +00:00
Benoît Minisini
78440de68d [DEVELOPMENT ENVIRONMENT]
* NEW: Add an "add everything to repository" menu entry.
* BUG: The user font config file is "~/config/fonts.conf", not 
  "~/config/.fonts.conf".

[GB.FORM]
* NEW: The Balloon background color is now the system tooltip background 
  color.

[GB.GTK]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.

[GB.OPENGL]
* BUG: Fix the missing "gl" prefix on two OepnGL calls.

[GB.QT4]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.



git-svn-id: svn://localhost/gambas/trunk@6209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 18:21:56 +00:00
Benoît Minisini
f3438a8da9 [WEBSITE]
* NEW: Use the new wiki now.

[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.

[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.

[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the 
  'OUTPUT TO' instruction).

[GB.FORM]
* NEW: Some new icons.

[GB.FORM.STOCK]
* BUG: Fix all missing icons.

[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.

[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.

[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.

[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and 
  returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and 
  being older than 24 hours are automatically removed from disk.


git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:25:48 +00:00
Benoît Minisini
34cd87e0d9 [GB.GTK]
* BUG: Fix a Slider warning when setting the MinValue or MaxValue property.

[GB.GTK3]
* BUG: Painting a DrawingArea is done with the correct origin now.


git-svn-id: svn://localhost/gambas/trunk@6163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 23:12:50 +00:00
Benoît Minisini
513aac869e [GB.GTK]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.

[GB.GTK3]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.
* BUG: Printer.Configure() now correctly returns FALSE if the "Print" 
  button has been pressed.


git-svn-id: svn://localhost/gambas/trunk@6162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 18:00:32 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
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
Benoît Minisini
56c65ddcb4 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Tons of bug fixes. The current selection and the 
  current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.

[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used 
  without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
  and returns the result.

[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a 
  bookmark.

[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.

[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.

[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.


git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 20:42:38 +00:00
Benoît Minisini
4cc551c120 [GB.GTK]
* BUG: Fix the name of new modifier key constants.


git-svn-id: svn://localhost/gambas/trunk@5774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-06 15:23:11 +00:00
Benoît Minisini
723a203185 [DEVELOPMENT ENVIRONMENT]
* NEW: New image editor, not yet finished. Use with care!

[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner 
  ScrollArea.
* NEW: ImageView has now two new methods to convert between image 
  coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be 
  visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the 
  image by using the mouse inside the view is possible.

[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.

[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.


git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-05 22:18:36 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
89ea799d49 [GB.GTK]
* BUG: Support for Ubuntu scrollbar overlays.


git-svn-id: svn://localhost/gambas/trunk@5748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 15:38:14 +00:00
Benoît Minisini
f8b62a4518 [DEVELOPMENT ENVIRONMENT]
* NEW: The system information dialog searches for more libraries.

[WIKI CGI SCRIPT]
* BUG: Correctly handle boolean constants.

[GB.DESKTOP]
* NEW: DesktopMime.GetIcon() now can stretch installed icons to the
  requested size.

[GB.GTK]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.

[GB.GUI.BASE]
* BUG: Fix IconView item text ellipsization routine.

[GB.QT4]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
* NEW: TrayIcon now supports ARGB visuals - i.e. icons are really 
  transparent now.


git-svn-id: svn://localhost/gambas/trunk@5747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 13:39:38 +00:00
Benoît Minisini
29ab774c1c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the frame position when dragging a control from the toolbar on 
  a container.
* NEW: The project file properties dialog is now based on the new 
  FileProperties control.

[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
  register cleanup routines that are called when an error is raised between
  the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.

[INFORMER]
* BUG: The value of  Float constants is now correctly dumped in *.info 
  files.

[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.

[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where 
  the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where 
  the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where 
  the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory 
  where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file 
  extension.

[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a 
  specific file or directory. It automatically computes the size of 
  directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its 
  layout.
* NEW: The stock icon map now can declare specific icons for specific 
  widget themes.

[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.

[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.

[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as 
  Editor.LineNumberOffset.


git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-10 22:17:27 +00:00
Benoît Minisini
ecbdca325d [GB.GTK]
* BUG: Drawing text alignment is taken into account when the width or 
  height is specified, not only when both are. Now, the drawing text 
  methods behave like in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@5708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-22 16:26:28 +00:00
Laurent Carlier
9f97b3eace [GB.GTK]
* BUG: Remove deprecated call to gb_type_init()

[GB.IMAGE.IO]
* BUG: Remove deprecated call to gb_type_init()

This call is deprecated since glib 2.36


git-svn-id: svn://localhost/gambas/trunk@5656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-14 16:58:20 +00:00
Benoît Minisini
38071a32f3 [GB.GTK]
* BUG: Menus work correctly again.


git-svn-id: svn://localhost/gambas/trunk@5634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 16:03:56 +00:00
Benoît Minisini
a7855016ca [DEVELOPMENT ENVIRONMENT]
* NEW: "Compress all" and "Uncompress all" action on project sub-
  directories.
* BUG: Do not crash when checking for completion in text editor.

[INTERPRETER]
* BUG: Void string contants work correctly now.

[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
  32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.

[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
  account inside <style> and <script> markups.

[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
  links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.

[GB.FORM.STOCK]
* NEW: Default icons for some mime types.

[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size 
  anymore.

[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a 
  RichText property.

[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
  current webpage with the <<...>> markup.



git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 21:27:11 +00:00
Benoît Minisini
cb37409e50 [GB.GTK]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.

[GB.QT4]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.


git-svn-id: svn://localhost/gambas/trunk@5608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-02 21:37:59 +00:00
Benoît Minisini
9f696c8352 [GB.GUI.BASE]
* BUG: Draw.FillStyle has been implemented.

[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.


git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 00:48:55 +00:00
Benoît Minisini
82f9ea714e [GB.GTK]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.

[GB.QT4]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@5578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-10 16:05:22 +00:00
Benoît Minisini
02a5e3341d [GB.GTK]
* BUG: Scrollbar and Slider correctly raise their Change event when their 
  Value property is set manually.


git-svn-id: svn://localhost/gambas/trunk@5559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-23 20:35:14 +00:00
Benoît Minisini
13dd04d5a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the 
  welcome screen text.

[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version 
  instead of 'X.YY.ZZZZ', which is actually useless.

[GB.COMPRESS]
* BUG: Remove useless code never compiled.

[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.

[GB.GSL]
* BUG: Remove useless code never compiled.

[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
  the same image several times trigger a GdkPixbuf -> Cairo surface 
  conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
  value has really changed.

[GB.NET]
* BUG: Remove useless code never compiled.

[GB.NET.CURL]
* BUG: Remove useless code never compiled.

[GB.NET.SMTP]
* BUG: Remove useless code never compiled.

[GB.V4L]
* BUG: Remove useless code never compiled.


git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-03 22:06:35 +00:00
Benoît Minisini
f0d6f1a256 [GB.GTK]
* NEW: Remove old GDK / X11 drawing code.

[GB.IMAGE]
* NEW: Image.Fuzzy() is a new blur method based on the 'StackBlur'
  algorithm made by Mario Klingemann.


git-svn-id: svn://localhost/gambas/trunk@5487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-02 15:56:24 +00:00
Benoît Minisini
05fac7e267 [GB.GTK]
* BUG: Don't crash if Paint.End() is called whereas the paint device has 
  been destroyed.


git-svn-id: svn://localhost/gambas/trunk@5483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 14:40:39 +00:00
Benoît Minisini
dbf5689f9a [INTERPRETER]
* BUG: Check process stack pointer with a bigger margin so that we get 
  'Stack overflow' errors instead of segfaults.

[GB.GTK]
* BUG: Fix menu bar layout when the window is shown for the first time.

[GB.GUI.BASE]
* BUG: Don't set the background color of ScrollArea scrollbars.

[GB.QT4]
* NEW: Remove any useless reference to Q3ScrollView.
* OPT: Paint.ClipRect is now optimized when the clipping region is a single
  rectangle.


git-svn-id: svn://localhost/gambas/trunk@5481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 11:55:40 +00:00