Commit graph

849 commits

Author SHA1 Message Date
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
d67d170b61 [DEVELOPMENT ENVIRONMENT]
* BUG: Convert to uppercase or lowercase now works as expected in the code 
  editor.
* BUG: Fix the offline 'To Do' and 'Last Changes' page.

[INTERPRETER]
* NEW: Add GB_DECLARE_STATIC() macro to declare native classes, and use it 
  in many class declarations.

[GB.FORM]
* NEW: Add an history in the FileChooser and DirChooser controls.
* NEW: Add a 'link' stock icon.

[GB.GUI.BASE]
* BUG: IconView: Fix mouse handling during rubberband selection.
* NEW: IconView: Use a lighter selection colour.
* BUG: ScrollArea: Shadows are now correctly drawn whatever is done during 
  the Draw event it raises.


git-svn-id: svn://localhost/gambas/trunk@6458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-07 21:21:14 +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
bb8636ea0b [GB.QT4.WEBKIT]
* NEW: WebView.Reload() now takes an optional boolean argument, that tells 
  if the cache must be bypassed when reloading the page, or not as before.


git-svn-id: svn://localhost/gambas/trunk@6450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-05 12:21:13 +00:00
Benoît Minisini
e5f26eb0d4 [GB.QT4.WEBKIT]
* BUG: Better error messages in WebSettings.Cache.Clear() method.


git-svn-id: svn://localhost/gambas/trunk@6446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 12:16:50 +00:00
Benoît Minisini
04f054c93e [GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path now must be located inside the '~/.cache' 
  directory.
* NEW: WebSettings.Cache.Clear() is a new method to clear the cache.


git-svn-id: svn://localhost/gambas/trunk@6445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 11:57:06 +00:00
Benoît Minisini
3438c89f85 [GB.QT4.WEBKIT]
* BUG: Fix WebElement.Paint() declaration.


git-svn-id: svn://localhost/gambas/trunk@6444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 16:34:02 +00:00
Benoît Minisini
234b591d2a [GB.QT4]
* BUG: Remove debugging breakpoint. ARM cannot compile with them!


git-svn-id: svn://localhost/gambas/trunk@6443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 09:35:04 +00:00
Benoît Minisini
7ab4f4a3ec [GB.QT4]
* BUG: Fix ScrollView viewport size computation when there is no 
  arrangement set.


git-svn-id: svn://localhost/gambas/trunk@6438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-29 23:16:08 +00:00
Benoît Minisini
60adaafa16 [GB.QT4]
* OPT: Optimize ScrollView arrangement when its size changes.
* BUG: The ScrollView does not flicker anymore when its size changes.


git-svn-id: svn://localhost/gambas/trunk@6436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 20:03:15 +00:00
Benoît Minisini
07a4e58a86 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.media.form' to the list of components.
* NEW: Support for the new GridView.Padding property.
* NEW: Change the way GridView and TableView are represented in the form 
  editor.

[GB.GUI.BASE]
* NEW: GridView.Padding is a new property that defines the default cell 
  padding. Its default value is 2 pixels.
* NEW: Paint.DrawTextShadow() is a new method that draws the shadow of a 
  text. Note that you must call Paint.DrawText() to draw the real text 
  below the shadow.
* NEW: Paint.DrawRichTextShadow() is a new method that draws the shadow of 
  a piece of rich text. Note that you must call Paint.DrawRichText() to 
  draw the real text below the shadow.

[GB.IMAGE]
* NEW: Allows a component that supports the Image class to have a 
  premultiplied default image format. Beware that some images methods do 
  not support premultiplied formats yet.
* NEW: Color.Transparent now is &HFF000000& and not &HFFFFFFFF anymore.

[GB.QT4]
* NEW: Use a premultiplied RGBA default format for images. 


git-svn-id: svn://localhost/gambas/trunk@6428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 10:46:10 +00:00
Benoît Minisini
e5e9e513ed [DEVELOPMENT ENVIRONMENT]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.
* NEW: Use the new Paint.TrimText() method.

[INFORMER]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.

[GB.GUI.BASE]
* NEW: Paint.TrimText() is a new API that trim a text according to a 
  specified rectangle, adding an ellipsis character at the end if needed.

[GB.NET.SMTP]
* BUG: Fix a circular reference when using a normal SMTP TCP session.

[GB.QT4]
* OPT: A little optimization when drawing rich text.


git-svn-id: svn://localhost/gambas/trunk@6427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-24 22:38:58 +00:00
Benoît Minisini
e018791f2d [GB.QT4.WEBKIT]
* BUG: WebElement.FindAll() method correctly builds the returned array.


git-svn-id: svn://localhost/gambas/trunk@6419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-21 22:48:36 +00:00
Benoît Minisini
1a1f6047e3 [DEVELOPMENT ENVIRONMENT]
* BUG: The offline wiki routines do not override the symbol information on 
  events anymore.
* NEW: New design of recent projects and examples choosers in the welcome
  dialog and the project open dialog.

[GB.FORM]
* NEW: ListContainer has been deprecated. It has design problems.

[GB.NET.SMTP]
* BUG: No circular references anymore when using SSL or TLS.

[GB.QT4]
* OPT: Do not arrange a container while destroying its children.
* BUG: Style.PaintBox now works correctly with QtCurve.
* BUG: Style.PaintBox now works better with QGtk.


git-svn-id: svn://localhost/gambas/trunk@6414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 22:50:08 +00:00
Benoît Minisini
6b89a4fb69 [CONFIGURATION]
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.

[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.

[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
  `class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
  again. I don't remember what prevented that to work, so I want to see.

[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.

[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.

[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the 
  control.

[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.

[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
  new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.

[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE 
  control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 05:35:58 +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
fbb0571940 [GB.QT4]
* BUG: Reading the Printer.GrayScale property now returns the correct 
  value.


git-svn-id: svn://localhost/gambas/trunk@6385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 22:49:20 +00:00
Benoît Minisini
799d6cf106 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix stylesheet of offline documentation.
* BUG: IDE shortcuts help window now works with offline documentation.
* BUG: Webkit seems to not like encoded square brackets in 'file://' URLs. 
  So don't encode them.

[GB.QT4.WEBKIT]
* OPT: WebView: Raise the Progress event only if the progress value has 
  actually changed.


git-svn-id: svn://localhost/gambas/trunk@6381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 23:06:27 +00:00
Benoît Minisini
a808579937 [GB.QT4]
* BUG: The Printer.NumCopies property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@6376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:48:24 +00:00
Benoît Minisini
fa907cb38a [DEVELOPMENT ENVIRONMENT]
* NEW: Initial support for offline documentation!
* BUG: Correctly hide compress & uncompress actions.

[WIKI]
* BUG: Fix a typo.
* NEW: Use the '<%/%>' syntax wherever possible.

[GB.DESKTOP]
* NEW: Desktop.NetworkAvailable is a new property that returns if the 
  network is available. It just use 'ifconfig' to search for a network 
  interface having an IP address different from '127.0.0.1'

[GB.GUI.BASE]
* BUG: If Actoni_Activate() does not return a value as expected, ignore it 
  instead of crashing.

[GB.MARKDOWN]
* NEW: MarkdownLink now has a CheckURL() method to check URL inside <img> 
  and <a> markups.
* NEW: MarkdownLink has a new 'Blank' property. You now have to set this 
  property to TRUE if you want the link to be opened in a new window.


git-svn-id: svn://localhost/gambas/trunk@6374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 17:33:16 +00:00
Benoît Minisini
7992fbab91 [WIKI]
* NEW: Use explicit black on white colors.

[GB.GUI.BASE]
* BUG: The GridView, TreeView (and all its cousins) background correctly
  reacts to system color theme changes.

[GB.QT4.WEBKIT]
* NEW: WebView: Try to interpret the control background and foreground 
  colors as default web page colors.


git-svn-id: svn://localhost/gambas/trunk@6363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 02:38:46 +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
feef9d0248 [GB.QT4]
* BUG: Cached DrawingArea backgroun color now works correctly if the window 
  is transparent.


git-svn-id: svn://localhost/gambas/trunk@6353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:14:21 +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
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
bc3e2269d6 [DEVELOPMENT ENVIRONMENT]
* NEW: Opening a SQLite database file automatically creates a new 
  connection and open it in the database editor.
* NEW: Redesign the form menu editor.
* BUG: Fix copy & paste in the form menu editor.
* NEW: The IDE now can open a single extern file without any project. This 
  is done internally by creating a temporary fake project. The GUI tries to
  adapt to that new mode, but this is not yet perfect.

[INTERPRETER]
* NEW: Args.Max is a new property that returns Args.Count - 1.

[GB.QT4]
* NEW: When several menus have the same shortcut, one is triggered instead 
  of displaying a warning message and doing nothing.

[GB.QT.EXT]
* NEW: Editor: CTRL+X now cut the current line if nothing is selected. If
  you stay on the same line, cutted lines accumulate.


git-svn-id: svn://localhost/gambas/trunk@6324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-17 11:44:20 +00:00
Benoît Minisini
7bd7f52be6 [GB.QT4]
* BUG: Key.Code now returns the modifiers key codes, as in gb.gtk.

[GB.QT4.EXT]
* NEW: Highlight.Line is a new property that returns the currently 
  highlighted line number (starting from zero).
* BUG: Setting Editor.Mouse now works reliably.


git-svn-id: svn://localhost/gambas/trunk@6323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-16 15:28:17 +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
ff0b3750dc [GB.FORM.MDI]
* NEW: Workspace: Windows now can be detached and attached back.


git-svn-id: svn://localhost/gambas/trunk@6279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 14:06:02 +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
c816cf7325 [GB.QT4]
* BUG: Fix the behaviour of auto-resize labels.


git-svn-id: svn://localhost/gambas/trunk@6262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-13 18:10:50 +00:00
Benoît Minisini
9995913a2f [GB.FORM]
* NEW: TabPanel.Moveable is a new property that makes tab button moveable 
  if set.

[GB.FORM.MDI]
* NEW: Workspace tab buttons are now moveable.


git-svn-id: svn://localhost/gambas/trunk@6239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-08 22:59:21 +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
68da9ade04 [GB.FORM]
* NEW: Expander.Border is a new property that defines if the Expander must 
  display a border around its contents.


git-svn-id: svn://localhost/gambas/trunk@6217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-31 00:46:22 +00:00
Benoît Minisini
8d57fa8a09 [GB.QT4]
* BUG: Key.Normal now works correctly with numeric pad keys.


git-svn-id: svn://localhost/gambas/trunk@6213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 21:35:46 +00:00
Benoît Minisini
98203894df [GB.GTK]
* BUG: Fix Align.IsBottom() and Align.IsMiddle().

[GB.QT4]
* BUG: Fix Align.IsBottom() and Align.IsMiddle().



git-svn-id: svn://localhost/gambas/trunk@6210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 19:46:52 +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
5caf76d001 [WIKI]
* BUG: Tuning of the old wiki conversion.
* NEW: Change the wiki structure. The Gambas information files and 
  component files are put in the 'info' sub-directory.

[EXAMPLES]
* NEW: LCDLabel: New example.

[GB.FORM]
* BUG: ButtonBox button is correctly disabled when the Enabled property is 
  cleared.

[GB.MARKDOWN]
* NEW: Two new callbacks : one called when entering a table, one when 
  exiting.


git-svn-id: svn://localhost/gambas/trunk@6169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-21 22:17:25 +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
5a61180b86 [CONFIGURATION]
* NEW: Dutch translation updated in many places.

[DEVELOPMENT ENVIRONMENT]
* NEW: New option to run a program inside a true virtual terminal, but its 
  standard error output is redirected to the IDE console.

[WIKI]
* NEW: New Gambas wiki CGI script. It aims at replacing the current wiki. 
  Currently in development...

[INTERPRETER]
* NEW: A new '-t' hidden command-line argument to support redirecting the
  standard error output to a named pipe.

[GB.IMAGE]
* BUG: Link with the mathematic library as the pow() function is used for
  the image gamma filter.

[GB.MARKDOWN]
* NEW: Markdown.Line is a new property that returns the current line if an 
  error occurs while converting markdown syntax to HTML.
* NEW: Support for custom commands "{@...}".
* NEW: The quote characters has the same effect as the backquote character, 
  except that markdown is allowed inside.

[GB.QT4]
* BUG: Clipboard.Paste() now returns the image when there is both image and 
  text inside the clipboard.



git-svn-id: svn://localhost/gambas/trunk@6146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-09 16:00:13 +00:00
Benoît Minisini
a02f6411a5 [GB.QT4]
* BUG: Correctly free the internal clipboard formats list when the 
  clipboard contents changes. This avoids possible crashes.


git-svn-id: svn://localhost/gambas/trunk@6111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-28 00:24:57 +00:00
Benoît Minisini
7b6ef84f3c [GB.QT4]
* BUG: Text can be drop on TextBox and TextArea controls again, unless 
  their Drop property is set. In that case, the dnd behaviour is entirely
  controled by Gambas.


git-svn-id: svn://localhost/gambas/trunk@6104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:22:08 +00:00
Benoît Minisini
c334b258c1 [GB.QT4]
* BUG: Style.PaintBox() correctly honors its color argument again.


git-svn-id: svn://localhost/gambas/trunk@6103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:19:55 +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
f027f25706 [GB.QT4]
* BUG: TextLabel: Automatic size is correctly computed now. Apparently 
  there are internal changes in the Qt library that made it false.


git-svn-id: svn://localhost/gambas/trunk@6087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-19 17:57:02 +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
5b7b339424 [GB.QT4]
* BUG: Foreground and background colors now works as expected on ComboBox 
  and SpinBox controls.


git-svn-id: svn://localhost/gambas/trunk@6062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 10:48:33 +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
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
9b0c084da1 [GB.QT4]
* BUG: * BUG: Correctly update background and foreground of multi-container 
  controls.
* BUG: Font.Grade maximum value is now +24, as expected by the font 
  selector.


git-svn-id: svn://localhost/gambas/trunk@6049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 23:07:52 +00:00
Benoît Minisini
36d1a8a70c [DEVELOPMENT ENVIRONMENT]
* NEW: Check the current GUI component in its popup menu.
* BUG: Use '/etc/os-release' to know the SuSE version, instead of 
  '/etc/SuSE-release' which is deprecated.

[GB.FORM]
* BUG: ButtonBox: Some drawing fixes for other themes than Oxygen.

[GB.QT4]
* BUG: The control borders are drawn the same way everywhere.


git-svn-id: svn://localhost/gambas/trunk@6043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 16:09:53 +00:00
Benoît Minisini
8d0d91f039 [GB.QT4]
* BUG: Imbrication of popup menu click events works correctly now and does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 01:04:18 +00:00
Benoît Minisini
42a089eda6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been 
  partially converted.

[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 22:23:13 +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
b703065963 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix the mail address in the message displayed when a program 
  segfaults: it should be the mailing-list address, not my own one.
* NEW: Implement automatic completion in text editors.
* BUG: Splitting view shortcuts now act like toggles.

[GB.EVAL.HIGHLIGHT]
* NEW: Add an hidden method to provide list of keywords to the IDE 
  according to the highlighting style.
* NEW: Add a list of all values of CSS 2.1 properties.

[GB.QT4.EXT]
* NEW: Ctrl+Enter and Ctrl+Shift+Enter editor shortcuts are now directly
  implemented in the editor.

[GB.WEB]
* NEW: Response.EndOfLine is a new property that allows to explicitely
  define the EndOfLine property of the underlying stream.


git-svn-id: svn://localhost/gambas/trunk@5973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 03:01:11 +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
6bd131719b [CONFIGURATION]
* NEW: Switch to version 3.5.90.

[GB.SDL]
* NEW: Rename the default SDL font file as "_default.ttf" to prevent 
  packaging conflicts.

[GB.QT4.OPENGL]
* BUG: Clear the GLArea widget with the control background color just before 
  raising the Draw event.

git-svn-id: svn://localhost/gambas/trunk@5933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 23:16:53 +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
d309fe5598 [GB.QT4.EXT]
* NEW: If nothing is selected, SHIFT+TAB unindent the current line.


git-svn-id: svn://localhost/gambas/trunk@5872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 22:43:51 +00:00
Benoît Minisini
2933a56fed [GB.QT4]
* BUG: Really fix the ButtonBox/MaskBox popup menu problem.


git-svn-id: svn://localhost/gambas/trunk@5859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 15:29:07 +00:00
Benoît Minisini
2ea470b913 [GB.QT4]
* BUG: A Menu event handler stops the default control menu behaviour only 
  if STOP EVENT is used. Consequently, MaskBox and ButtonBox now display
  the default TextBox popup menu correctly.


git-svn-id: svn://localhost/gambas/trunk@5858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 23:09:00 +00:00
Benoît Minisini
a255967090 [GB.QT4.OPENGL]
* BUG: Don't use GL_LIGHTING if it is not defined. It seems to be the case
  with OpenGL ES.


git-svn-id: svn://localhost/gambas/trunk@5852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-26 11:27:39 +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
9b4eaf2a47 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a popup menu to the image editor save button that allows to 
  change the image format.
* BUG: Detect structure definition help comments.

[GB.GUI.BASE]
* BUG: Disable automatic shortcuts in popup menus for the moment, it breaks 
  too many things.


git-svn-id: svn://localhost/gambas/trunk@5820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 13:58:18 +00:00
Benoît Minisini
768a42416d [GB.QT4]
* BUG: Make gb.qt4 compiles on ARM again.


git-svn-id: svn://localhost/gambas/trunk@5814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 17:37:01 +00:00
Benoît Minisini
3d820edb15 [GB.QT4]
* BUG: Rewrite the Container.FindChild() method because the QT4 method
  excludes children outside of its geometry, and because that geometry may 
  be not yet computed.


git-svn-id: svn://localhost/gambas/trunk@5810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 20:18:28 +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
e737d66459 [GB.FORM]
* BUG: ButtonBox border is now drawn correctly with QtCurve.

[GB.QT4]
* BUG: Fix focus style routine for QtCurve.


git-svn-id: svn://localhost/gambas/trunk@5793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-13 14:55:17 +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
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
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
e684ba2230 [GB.QT4]
* BUG: Paint.RichText() now takes the vertical alignment into account 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@5746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 10:26:56 +00:00
Benoît Minisini
e9dd24404c [GB.QT4]
* BUG: Take the Invert property into account in vertical arrangements.

[GB.GTK]
* BUG: Take the Invert property into account in vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@5738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 18:10:24 +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
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
Benoît Minisini
9d6ba888b3 [GB.DESKTOP]
* BUG: Fix the dependencies of the component project.


git-svn-id: svn://localhost/gambas/trunk@5639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 14:17:15 +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
03f1b78370 [GB.QT4]
* BUG: Sunken and raised borders are now drawn correctly with styles like 
  CleanLooks that incorrectly take the current painter brush into account.


git-svn-id: svn://localhost/gambas/trunk@5615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:39:24 +00:00
Benoît Minisini
8b6c4b72f8 [GB.QT4]
* BUG: ShowModal() now honors the initial window state (full screen, 
  maximized...)


git-svn-id: svn://localhost/gambas/trunk@5612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 12:34:59 +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
71d052a379 [GB.QT.WEBKIT]
* BUG: Creating a WebElement should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-09 22:13:01 +00:00
Benoît Minisini
771c1933fc [GB.QT4]
* BUG: Fix a possible crash in the previous TextArea modification.


git-svn-id: svn://localhost/gambas/trunk@5572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-04 01:31:05 +00:00
Benoît Minisini
45d8058159 [GB.GUI.BASE]
* NEW: Common renaming routine for TextView, ListView, ColumnView and 
  IconView.
* NEW: IconView.Renaming is a new property that returns if an item is being
  renamed.
* BUG: Renaming an IconView item now correctly works if the IconView is 
  sorted.
* NEW: FileChooser and DirChooser now can rename or delete files.

[GB.QT4]
* NEW: TextArea inner margin is now two pixels when there is a border, and
  zero pixels when there is no border.


git-svn-id: svn://localhost/gambas/trunk@5571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 22:34:30 +00:00
Benoît Minisini
af5bdc6f45 [GB.DB.MYSQL]
* BUG: Database charset is correctly reset when an automatic reconnect 
  occurs.

[GB.FORM]
* OPT: LCDLabel highlight is now drawn with the Image.Fuzzy() method.

[GB.QT4]
* NEW: The drag & drop frame is now transparent.
* BUG: The drag & drop frame is now correctly hidden in all cases when dnd 
  operation is finished.


git-svn-id: svn://localhost/gambas/trunk@5539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-09 23:41:41 +00:00
Benoît Minisini
cee6e90273 [GB.WEB]
* BUG: JSON.Encode() can encode arrays again.


git-svn-id: svn://localhost/gambas/trunk@5518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-26 11:09:40 +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
Benoît Minisini
1c940acd0c [WIKI CGI SCRIPT]
* BUG: Fix history page.

[GB.GUI.BASE]
* OPT: ScrollArea scrollbars should not flicker anymore during a resizing
  operation.
* BUG: Fix HSPlit and VSplit  behaviour when the visibility of a child
  changes.
* NEW: HSplit.Layout and VSplit.Layout now return the width of an hidden 
  child as zero.

[GB.QT4]
* OPT: Optimize clipping when the clipping area is a rectangle.


git-svn-id: svn://localhost/gambas/trunk@5480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-31 03:13:04 +00:00
Benoît Minisini
d76ae3b004 [INTERPRETER]
* NEW: Pointer to string conversion now uses hexadecimal numbers.

[GB.QT4]
* BUG: Clipping now works when drawing pictures or images.


git-svn-id: svn://localhost/gambas/trunk@5478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 14:34:43 +00:00
Benoît Minisini
e149b21e32 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for subversion 1.7.

[GB.FORM]
* BUG: ColorChooser with a border has an inner margin now.

[GB.QT4]
* BUG: Fix drawing or plain and etched borders.


git-svn-id: svn://localhost/gambas/trunk@5475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 01:22:23 +00:00
Benoît Minisini
d8d9e98961 [INTERPRETER]
* NEW: Pointer can be converted to String like Integer or Long.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the '~/.fonts.conf' file when installing the Gambas 
  font.

[GB.GTK]
* NEW: Remove HSplit and VSplit controls.

[GB.GUI.BASE]
* NEW: HSplit and VSplit controls are now implemented with Gambas.
* BUG: Fix scrollbar layout of ScrollArea and all its descendants.

[GB.QT4]
* NEW: Remove HSplit and VSplit controls.


git-svn-id: svn://localhost/gambas/trunk@5472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-29 10:17:38 +00:00
Benoît Minisini
10052fdedb [DEVELOPMENT ENVIRONMENT]
* NEW: Start making property toolbars in the form editor.

[GB.GTK]
* BUG: Fix some warnings with gcc 4.7.

[GB.GUI.BASE]
* NEW: Start writing a custom HSplit container in Gambas.

[GB.QT4]
* BUG: The Container NewChild event is now raised after the new child 
  control has been shown, like in gb.gtk.



git-svn-id: svn://localhost/gambas/trunk@5471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-28 01:47:17 +00:00
Benoît Minisini
52106f4f0b [GB.QT4]
* NEW: Remove translation warning message at startup. It scares users.
* NEW: Try to enforce tooltip move when setting a new tooltip while it is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@5467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-23 13:51:05 +00:00
Benoît Minisini
bc2945181e [GB.GTK]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.

[GB.QT4]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.


git-svn-id: svn://localhost/gambas/trunk@5432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-12 00:02:15 +00:00
Benoît Minisini
ec042bac1f [GB.GTK]
* BUG: Correctly close the path when drawing an arc or an ellipse.

[GB.GUI.BASE]
* BUG: Draw.Ellipse() now does not draw outiline artifacts anymore when
  drawing an almost closed pie.


git-svn-id: svn://localhost/gambas/trunk@5431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-11 23:47:59 +00:00
Benoît Minisini
03d4c3edcd [GB.DESKTOP]
* BUG: Desktop.OpenTerminal() now works on Gnome and Mate desktops.

[GB.GTK]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.

[GB.GUI.BASE]
* BUG: Fix Draw.Rect() method.

[GB.QT4]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.


git-svn-id: svn://localhost/gambas/trunk@5420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 15:00:57 +00:00
Benoît Minisini
9274cabcc0 [GB.QT4]
* BUG: gb.qt4 now should compile again with Qt version < 4.8.


git-svn-id: svn://localhost/gambas/trunk@5414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:42:37 +00:00
Benoît Minisini
5a547fbb10 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a big font for displaying cursor position in editors.

[GB.DRAW]
* NEW: Paint.Arc() and Paint.Ellipse() take a new optional boolean argument
  that tells if a pie must be drawn instead of a chord.

[GB.FORM]
* NEW: LCDLabel now has an HighlightColor property that allows to define 
  the color of the glow. By default, no glow is drawn.

[GB.GTK]
* BUG: Fix control background drawing routine.
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().

[GB.GUI.BASE]
* BUG: Draw.Ellipse() and Draw.Circle() now draw a pie instead of a chord.

[GB.QT4]
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().


git-svn-id: svn://localhost/gambas/trunk@5413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:21:16 +00:00
Benoît Minisini
9fcc50b488 [DEVELOPMENT ENVIRONMENT]
* NEW: Update markup syntax with support for indexes.

[WIKI CGI SCRIPT]
* NEW: Support for component help written in *.info files.
* BUG: Automatic links work again.

[GB.DRAW]
* BUG: Fix Point and PointF InRect() method signature.

[GB.GUI.BASE]
* BUG: TreeView Click event correctly sets the Item property.
* BUG: Remove the useless GridView.Data.Draw property.
* BUG: Remove the GridView KeyPress event override.
* BUG: Fix the GridView Draw event signature.

[GB.QT4.WEBKIT]
* NEW: WebElement.Paint() now takes an optional clipping rectangle 
  argument.


git-svn-id: svn://localhost/gambas/trunk@5410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-03 12:56:41 +00:00
Benoît Minisini
3d2523dd08 [GB.QT4.WEBKIT]
* BUG: Forgot to add the new files... Sigh.


git-svn-id: svn://localhost/gambas/trunk@5405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 22:31:58 +00:00
Benoît Minisini
021f8b2814 [GB.QT4.WEBKIT]
* NEW: WebElement is a new class that represents a DOM node. It allows to
  traverse, modify and search the entire document, and run any JavaScript 
  code on any document element.
* NEW: WebHitTest.XMLElement has been renamed as WebHitTest.HTML.
* NEW: WebHitTest.Element is a new property that returns the hit 
  WebElement.
* NEW: WebFrame.Document returns the top DOM element of a frame.
* NEW: WebView.Document returns the top DOM element of the view main frame.


git-svn-id: svn://localhost/gambas/trunk@5404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 21:56:58 +00:00
Bruce Bruen
57cb8494e9 nomsg
git-svn-id: svn://localhost/gambas/trunk@5399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 11:23:25 +00:00
Benoît Minisini
c409668bfb [CONFIGURATION]
* NEW: Redraw most of the control icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: A few fixes in the Gambas fixed font.

[GB.GTK]
* NEW: Replace some uses of the deprecated Gdk drawing API by cairo.



git-svn-id: svn://localhost/gambas/trunk@5398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 23:10:16 +00:00
Benoît Minisini
2f4d1b7d2e [GB.DRAW]
* BUG: Fix Paint.ZoomImage() method.

[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.

[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.


[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has 
  been copied to the clipboard.


git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 23:40:28 +00:00
Benoît Minisini
520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like 
  Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing 
  as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like 
  Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same 
  thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a 
  rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.

[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a 
  DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.

[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox... 
  if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
  Paint class.

[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.

[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.


git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 18:42:24 +00:00
Benoît Minisini
7326cc894b [GB.DRAW]
* NEW: Paint.DrawImage() now takes a source rectangle.
* NEW: Paint.DrawPicture() is a replacement for Draw.Picture().
* NEW: Paint.ZoomImage() is a replacement for Draw.Zoom().

[GB.GTK]
* NEW: Start implementing new Paint methods.

[GB.QT4]
* NEW: Start implementing new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-26 06:33:49 +00:00
Benoît Minisini
7af5ee2344 [GB.DRAW]
* NEW: Paint.BrushOrigin is a new property that allows to define the origin 
  of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.

[GB.GTK]
* NEW: Support for the new Paint methods.

[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
  That class aims at replacing the current Draw class. As it will be based 
  on the Paint class, it will be able to act on Image and Printer, making
  the old Gambas 2 printing code works with Gambas 3 directly.

[GB.QT4]
* NEW: Support for the new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 01:39:49 +00:00
Benoît Minisini
225c6e0b40 [DEVELOPMENT ENVIRONMENT]
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
  already installed.
* NEW: Update the Gambas fonts.

[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
  argument pattern (%u, %f, and so on) in its command description.

[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer 
  coordinates.
* NEW: Add a PointF class, that is just a point with two Float
  coordinates.

[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
  anymore.
* BUG: Fix previous TreeView optimizations.

[GB.MAP]
* BUG: Rename the "map" class as "Map".


git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 01:16:40 +00:00
Benoît Minisini
a7c3939e3d [DEVELOPMENT ENVIRONMENT]
* BUG: Be sure that the welcome dialog filter has the focus.

[WEBSITE MAKER]
* NEW: Update for 3.3.4.

[GB.DB]
* BUG: A failing table or user add does not leak memory anymore.
* BUG: Fix the removal method of the .SubCollection virtual class.

[GB.DB.SQLITE3]
* BUG: Detect serial fields correctly now.

[GB.QT4]
* BUG: Enusre that embedded windows emit their Open event before any Move, 
  Resize events...


git-svn-id: svn://localhost/gambas/trunk@5340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:37:26 +00:00
Benoît Minisini
7bc49b6e9f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an infinite loop when choosing a fixed font for the search list
  after the default font has been changed from the option dialog.

[GB.GTK]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.

[GB.QT4]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.
* BUG: The menubar height is now correctly updated after a font change.


git-svn-id: svn://localhost/gambas/trunk@5333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 16:59:46 +00:00
Benoît Minisini
c0023665f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Integrate the welcome dialog into the main window.

[GB.GUI.BASE]
* BUG: GridView: Resizing a column or a row does not trigger the MouseDrag 
  event anymore.


git-svn-id: svn://localhost/gambas/trunk@5332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-17 16:46:33 +00:00
Benoît Minisini
13817216c4 [GB.GTK]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.

[GB.QT4]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.


git-svn-id: svn://localhost/gambas/trunk@5322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 00:43:52 +00:00
Benoît Minisini
8a9c379c70 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the main toolbar through the ToolBar Configure 
  event.

[WIKI CGI SCRIPT]
* BUG: Fix synonymous pages (those whose title begins with '~/').

[GB.GUI.BASE]
* BUG: TreeView: Fix a crash when refreshing a sorted TreeView.


git-svn-id: svn://localhost/gambas/trunk@5316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 11:00:20 +00:00
Benoît Minisini
c8131956b2 [GB.QT4]
* BUG: Compilation with new gcc should be fixed.


git-svn-id: svn://localhost/gambas/trunk@5315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-11 19:46:17 +00:00
Benoît Minisini
1dc8368e3f [GB.QT4]
* BUG: Paint.DrawRichText() now takes the color opacity into account.


git-svn-id: svn://localhost/gambas/trunk@5313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 01:53:20 +00:00
Benoît Minisini
ac0b955eec [GB.QT4]
* BUG: KeyRelease event is not raised anymore if it comes from automatic 
  repeating. That way gb.qt4 behaves like gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@5307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 20:34:39 +00:00
Benoît Minisini
4708a63e89 [GB.GUI.BASE]
* BUG: TreeView won't crash anymore by trying to raise its Activate event 
  whereas the current item has been destroyed during the previous mouse 
  events.
* BUG: ScrollArea: DragLeave event can be called whereas there was no 
  DragMove event. So don't assume that.
* BUG: GridView: multiple selection works again.

[GB.QT4]
* BUG: Don't crash if the debugger asks for enabling the grabs back whereas
  the grabber widgets have been destroyed.


git-svn-id: svn://localhost/gambas/trunk@5305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 17:28:16 +00:00
Benoît Minisini
5d9a781017 [DEVELOPMENT ENVIRONMENT]
* BUG: Right mouse button can select controls again in form editor.

[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
  DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in 
  GridView, TreeView... controls.

[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 


git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-07 22:51:04 +00:00
Benoît Minisini
6ec8947f88 [GB.QT4.EXT]
* NEW: Better undo/redo management.


git-svn-id: svn://localhost/gambas/trunk@5293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 17:54:47 +00:00
Benoît Minisini
6704db30ee [GB.QT4.EXT]
* BUG: Fix undo/redo when deleting to the left (backspace key).


git-svn-id: svn://localhost/gambas/trunk@5292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 16:44:58 +00:00
Benoît Minisini
54d789d66e [GB.DESKTOP]
* NEW: DesktopMime: when looking for the icon, try the 'mimes' directory if
  nothing is found in the 'mimetypes' directory.

[GB.FORM]
* OPT: FileView: clean up icon retrieving function.
* NEW: Stock: display warning on load fail only if GB_STOCK is set.

[GB.QT4.EXT]
* NEW: Editor: undo/redo now take the cursor position and the selection 
  into account.


git-svn-id: svn://localhost/gambas/trunk@5286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 14:05:58 +00:00
Fabien Bodard
e5446e3eae [GB.FORM]
* NEW: Stock lose the AllowNull Param and return a Default Picture only if Debug is true

[GB.QT4]
* OPT: Return to the old Stock signature

[GB.GTK]
* OPT: Return to the old Stock signature




git-svn-id: svn://localhost/gambas/trunk@5284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 13:44:27 +00:00
Fabien Bodard
a36f6a7dfc [GB.FORM]
* NEW: New parameter in Stock class :'AllowNull' in _Get function so stock return
  null if ni icon is found

[GB.QT4]
* OPT: Change the signature for _Get detection

[GB.GTK]
* OPT: change the stock _get signature




git-svn-id: svn://localhost/gambas/trunk@5280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 12:05:55 +00:00
Benoît Minisini
588e0f3942 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a 
  method named "Get" is called inside the analyzed expression.

[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.

[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.

[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.

[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor 
  position automatically anymore.


git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-30 23:44:24 +00:00
Benoît Minisini
3c07aa952a [GB.GTK]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.

[GB.QT4]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.


git-svn-id: svn://localhost/gambas/trunk@5259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 00:02:39 +00:00
Benoît Minisini
25e6253672 [CONFIGURATION]
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.

[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.

[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
  not trigger parent arrangement routine anymore.


git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 19:21:59 +00:00
Benoît Minisini
84bcc9052f [CONFIGURATION]
* BUG: Fix compilation of Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
  5% size increment.

[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
  variable is set to "1".

[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.

[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
  because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.

[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
  changes.



git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 14:35:31 +00:00
Benoît Minisini
0de1545f21 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix option dialog layout.

[GB.FORM]
* NEW: New FontChooser control design.

[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.

[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
  the old one yet.

[GB.QT4]
* NEW: Add Window.Indent arrangement property.


git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 00:28:26 +00:00
Benoît Minisini
8539a2a02d [DEVELOPMENT ENVIRONMENT]
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.

[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.

[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
  crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
  symbol.

[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with 
  "nan" or other special numeric strings.

[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when 
  there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control 
  entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.

[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.

[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.


git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 18:59:14 +00:00
Benoît Minisini
d800d7e136 [INTERPRETER]
* BUG: Fix the order of component exported classes loading after the 
  project has been loaded.
* BUG: Fix GB.CanRaise() API.

[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be 
  sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
  descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
  sort defined by the DataSource.Sort property.

[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.

[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded 
  by gb.qt4 and gb.gtk. It implements the following controls and classes 
  entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
  ScrollArea. These classes were located in gb.form and in the Gambas part
  of GUI components before.

[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.


git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 00:28:55 +00:00
Benoît Minisini
17a0748815 [CONFIGURATION]
* NEW: Each component installation now generates all information files
  systematically, to fix possible dependencies between components written
  in Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Running a project using the 'gb.web' component now automatically
  starts the embedded HTTP server.

[INTERPRETER]
* NEW: Class overriding is retrospective now.
* NEw: System._Breakpoint() is a new hidden method that raises a 
  breakpoint. Very useful for debugging.

[GB.GTK]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.

[GB.HTTPD]
* NEW: Define a custom exported HTTP server name.

[GB.JIT]
* BEW: Support for new class overriding (the CLASS structure has lost one 
  field).

[GB.QT4]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.


git-svn-id: svn://localhost/gambas/trunk@5240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 22:42:53 +00:00
Benoît Minisini
87e1d27af4 [GB.QT4]
* BUG: Less flicker when showing fullscreen windows.


git-svn-id: svn://localhost/gambas/trunk@5238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 12:24:40 +00:00
Benoît Minisini
a68336da9b [CONFIGURATION]
* NEW: Switch to 3.3.90 version.

[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.

[INTERPRETER]
* NEW: New API for getting information about a file.

[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a 
  next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.

[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.HTTPD]
* NEW: Reindent source files.

[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.


git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 08:01:25 +00:00
Benoît Minisini
252053f9b3 [GB.GTK]
* BUG: Windows should not receive a keyboard event twice anymore.

[GB.QT4]
* BUG: Windows should not receive a keyboard event twice anymore.


git-svn-id: svn://localhost/gambas/trunk@5188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-22 01:38:15 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Benoît Minisini
21dc0f5bf5 [GB.GTK]
* BUG: Fix dialog modality.
* BUG: The Window.Center() method now takes the available desktop into 
  account, not the entire screen.
* BUG: Fix filled ellipse drawing.

[GB.QT4]
* BUG: SpinBox Background property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@5154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 22:07:48 +00:00