Commit graph

4271 commits

Author SHA1 Message Date
Benoît Minisini
ecce638c01 [GB.GUI.BASE]
* BUG: Correctly clip GridView column and row headers again.


git-svn-id: svn://localhost/gambas/trunk@6311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 15:40:20 +00:00
Benoît Minisini
db7eb2282c [GB.FORM.MDI]
* BUG: Workspace: Fix the behaviour when some tabs are detached.


git-svn-id: svn://localhost/gambas/trunk@6310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 13:08:12 +00:00
Benoît Minisini
8bbf4d87df [DEVELOPMENT ENVIRONMENT]
* NEW: Use a transparent background in the about dialog, just to show that
  new feature.


git-svn-id: svn://localhost/gambas/trunk@6309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 02:41:30 +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
513aefcbb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove shortcuts from the tooltips of the translation dialog 
  buttons.
* BUG: Fix help URLs of non-english languages.
* NEW: Add an IDE keyboard shortcuts help window.

[WIKI CGI SCRIPT]
* NEW: Adding "nt" in the request removes all <H1> titles.


git-svn-id: svn://localhost/gambas/trunk@6307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-08 15:03:43 +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
3e930ba95b [DEVELOPMENT ENVIRONMENT]
* NEW: New menu entries for sorting text in text editor.


git-svn-id: svn://localhost/gambas/trunk@6305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-07 01:39:11 +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
Radek Fryšták
88c857d9d3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translate


git-svn-id: svn://localhost/gambas/trunk@6302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-04 07:44:34 +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
37b6796c7f [GB.DESKTOP.X11]
* BUG: Make component compila again.
* BUG: Start cleaning up the system tray sources.


git-svn-id: svn://localhost/gambas/trunk@6300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-02 12:18:12 +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
54606f9072 [GB.GUI.BASE]
* BUG: Fix Draw class drawing accuracy.


git-svn-id: svn://localhost/gambas/trunk@6298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-01 10:21:59 +00:00
Benoît Minisini
90891f2cd6 [GB.FORM]
* BUG: Update directory cache just before locking it, so that its contents 
  is valid during the lock.
* NEW: FileChooser: Uncompressing a file automatically selects the 
  uncompressed directory if appropriate.


git-svn-id: svn://localhost/gambas/trunk@6297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-31 20:16:40 +00:00
Benoît Minisini
dc8b1aeaf3 [WIKI]
* NEW: Allows last changes to be displayed for everyone.
* NEW: Display last changes as a table with links.

[GB.FORM]
* BUG: Draw.Line() correctly takes into account the LineStyle property in
  all cases now.
* BUG: Fix the dash patterns used for implementing the Draw.LineStyle 
  property.


git-svn-id: svn://localhost/gambas/trunk@6296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-31 19:47:06 +00:00
Benoît Minisini
403376eedd [INTERPRETER]
* BUG: Fix a string leak in program exit routine.
* BUG: The Param class now can be used while debugging.


git-svn-id: svn://localhost/gambas/trunk@6295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-30 18:39:40 +00:00
Benoît Minisini
de770c86b6 [GB.WEB]
* BUG: Make Session._exit() error prone.


git-svn-id: svn://localhost/gambas/trunk@6294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-30 12:22:18 +00:00
Benoît Minisini
fba9826d6e [INTERPRETER]
* NEW: Raising an error during the program exiting is possible now.
* NEW: Raise an error if an _exit method loads a new class. This is now 
  forbidden!

[GB.SETTINGS]
* OPT: Settings.Clear() does not mark the settings file to be saved if
  there is nothing to clear.


git-svn-id: svn://localhost/gambas/trunk@6293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-30 01:25:46 +00:00
Benoît Minisini
50870e93cb [DEVELOPMENT ENVIRONMENT]
* BUG: Making executable works again.

[INTERPRETER]
* BUG: Don't use vfork() if a process has a custom environment, use a 
  terminal or is run through a shell.

[GB.FORM]
* BUG: ValueBox.ReadOnly works as expected now.



git-svn-id: svn://localhost/gambas/trunk@6292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-29 16:01:16 +00:00
Benoît Minisini
89364d93e6 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly load information files on component classes overriden by a 
  project class.

[INTERPRETER]
* BUG: Use vfork() only if a new process does not use a virtual terminal,
  does not run in a shell, or use a specific environment.


git-svn-id: svn://localhost/gambas/trunk@6291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-27 10:32:24 +00:00
Benoît Minisini
bdbf3ac7d5 [INTERPRETER]
* OPT: Define the TZ environment variable at startup if it not defined to
  prevent the glibc to stat the '/etc/localtime' file again and again.
* OPT: Cache the last value of System.TimeZone during at most 10 minutes.

[GB.FORM]
* OPT: Implement a directory cache to minimize the number of calls to the
  Stat() function.

[GB.SETTINGS]
* BUG: Do not mark the settings file as modified if the stored value is not
  really changed.


git-svn-id: svn://localhost/gambas/trunk@6290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-26 23:03:06 +00:00
Benoît Minisini
0aad845437 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not store the executable path inside ".project" file anymore. 
  Store it inside ".settings", so that it is not managed by subversion.
* BUG: Sort the database list in the connection dialog.


git-svn-id: svn://localhost/gambas/trunk@6289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-26 22:58:05 +00:00
Benoît Minisini
e696b4c0c1 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic conflict resolution on project configuration files.


git-svn-id: svn://localhost/gambas/trunk@6288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-26 10:04:19 +00:00
Benoît Minisini
5983261636 [INTERPRETER]
* BUG: Forgot to add two source files.


git-svn-id: svn://localhost/gambas/trunk@6287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 12:41:15 +00:00
Benoît Minisini
e1d3f1294e [DEVELOPMENT ENVIRONMENT]
* BUG: Make the IDE depends explicitely on gb.desktop.x11


git-svn-id: svn://localhost/gambas/trunk@6286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 11:59:50 +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
1526d60303 [INTERPRETER]
* NEW: Rand() is a new function that returns an integer random number.
  Rand(X) returns a integer random number between 0 and X included.
  Rand(X,Y) returns a integer random number between X and Y included.
* BUG: System.TimeZone now returns the accurate value, i.e. the number of 
  seconds that must be *added* to go to UTC.


git-svn-id: svn://localhost/gambas/trunk@6282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-21 08:35:34 +00:00
Benoît Minisini
db99f8b63b [DEVELOPMENT ENVIRONMENT]
* NUG: Automatically solve conflicts on project configuration files by 
  taking the ones from the repository.


git-svn-id: svn://localhost/gambas/trunk@6281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 17:24:23 +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
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
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
224bb2aed0 [INTERPRETER]
* BUG: Add a small reserved area in the stack for the Eval() function, so 
  that the debugger can return the contents of a variable after a stack 
  overflow without raising a new stack overflow error and then crashing.


git-svn-id: svn://localhost/gambas/trunk@6276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-18 21:39:52 +00:00
Benoît Minisini
123baa9b6f [GB.DEBUG]
* BUG: Fix a possible crash if the debugged process is stopped during the 
  Debug Read event.


git-svn-id: svn://localhost/gambas/trunk@6275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-18 21:24:27 +00:00
Benoît Minisini
337e7c9329 [COMPILER]
* OPT: Write in the bytecode file if a function uses the IsMissing() native 
  routine.

[INTERPRETER]
* OPT: Don't use a stack slot for missing arguments if the IsMissing() 
  function is not used.


git-svn-id: svn://localhost/gambas/trunk@6274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-18 13:18:32 +00:00
Benoît Minisini
16bdab0b55 [INTERPRETER]
* NEW: System.TimeZone now takes the daylight saving time into account.


git-svn-id: svn://localhost/gambas/trunk@6273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-18 12:31:50 +00:00
Benoît Minisini
d8d8754716 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically create a ".gitignore" file in the project directory.


git-svn-id: svn://localhost/gambas/trunk@6272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-17 15:16:12 +00:00
Benoît Minisini
c363af4b17 [EXAMPLES]
* NeHeTutorial: Fix compilation error.


git-svn-id: svn://localhost/gambas/trunk@6271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-17 14:33:30 +00:00
Benoît Minisini
35cc07864e [EXAMPLES]
* BUG: SmallWiki: Fix compilation error.


git-svn-id: svn://localhost/gambas/trunk@6270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-17 14:30:16 +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
David Villalobos Cambronero
025bc16558 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@6268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 17:02:34 +00:00
Benoît Minisini
06e06bfd4b [EXAMPLES]
* NEW: QuasiRegular: bigger image.
* NEW: MediaPlayer: video screenshot example inside the MTest module.


git-svn-id: svn://localhost/gambas/trunk@6267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:40:38 +00:00
Benoît Minisini
9e89e5bba5 [GB.MEDIA]
* BUG: Fix a leak in MediaControl.GetLastImage().


git-svn-id: svn://localhost/gambas/trunk@6266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:31:09 +00:00
Benoît Minisini
72c4ef2814 [GB.MEDIA]
* NEW: MediaLink is a new class that represents a link between an element 
  input and an element output. Its interface may change in next revisions.
* NEW: MediaControl.Parent is a new property that returns the parent of a 
  MediaControl object.
* NEW: MediaControl.LinkTo method now automatically unlinks the output 
  before linking it.
* NEW: MediaControl.GetLink is a new method that returns a MediaLink object
  representing what is linked to the specified input or output.
* NEW: MediaControl.GetLastImage() returns a screenshot of the last video 
  frame seen by a sink (i.e. final) element.


git-svn-id: svn://localhost/gambas/trunk@6265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:17:57 +00:00
Benoît Minisini
29d87c9bc2 [INTERPRETER]
* BUG: Use a control variable to store the missing optional argument map,
  so that the JIT compiler is not trapped.


git-svn-id: svn://localhost/gambas/trunk@6264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-14 15:11:07 +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
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
510d501efa [GB.DESKTOP.X11]
* BUG: Forgot to add some header files.


git-svn-id: svn://localhost/gambas/trunk@6261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-13 10:29:22 +00:00
Benoît Minisini
eb9e30e1ac [GB.DESKTOP]
* NEW: 'gb.desktop' is now a pure Gambas component that relies on 
  'gb.desktop.x11' and 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.X11]
* NEW: This new component offers a bunch of helper functions that allows to
  deal with the low-level X11 library.

[GB.DESKTOP.GNOME]
* NEW: This component has been renamed as 'gb.desktop.gnome.keyring'.

[GB.DESKTOP.GNOME.KEYRING]
* NEW: This component was named 'gb.desktop.gnome' before. It allows to 
  store and retrieve passwords from the GNOME 2 keyring.

[GB.FORM]
* OPT: A little optimization in the DirChooser control.


git-svn-id: svn://localhost/gambas/trunk@6260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-12 23:38:46 +00:00
Benoît Minisini
25cd809b0b [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix the "paste" tool.
* NEW: Image editor: Now pasting an image is done by clicking again on the 
  paste icon. The ESC key resets the pasting process.
* NEW: Image editor: The "paste" tool now takes the current opacity into 
  account.
* BUG: Form editor: Setting the "Invert" property of a container now does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-08 17:31:48 +00:00
Benoît Minisini
4c739969ef [COMPILER]
* NEW: IsMissing() is a new function that returns if an optional argument 
  is missing. It always returns FALSE on a non-optional argument.

[INTERPRETER]
* NEW: Support for IsMissing().


git-svn-id: svn://localhost/gambas/trunk@6258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-08 15:10:21 +00:00