Commit graph

4247 commits

Author SHA1 Message Date
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
Henrique
b86401c9e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


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


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


git-svn-id: svn://localhost/gambas/trunk@6255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-06 23:21:32 +00:00
Benoît Minisini
6e894eb36d [COMPILER]
* BUG: Correctly raise a syntax error now when there is anything between 
  the left part of an assignment and the assignment operator.


git-svn-id: svn://localhost/gambas/trunk@6253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-06 20:09:50 +00:00
Benoît Minisini
3f9d37a858 [INTERPRETER]
* BUG: Correctly drop arguments when using the new '...' symbol syntax.

[COMPILER]
* BUG: Correctly drop arguments when using the new '...' symbol syntax.


git-svn-id: svn://localhost/gambas/trunk@6252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-05 20:16:41 +00:00
Benoît Minisini
cbd63b46a8 [INTERPRETER]
* NEW: Support for the new '...' symbol usage in function calls.

[COMPILER]
* NEW: '...' can be used for passing all the variables arguments of the 
  current function to another function. The '...' symbol must be the last
  argument of the function call.


git-svn-id: svn://localhost/gambas/trunk@6251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-05 20:07:00 +00:00
Benoît Minisini
59f2816c45 [GB.GUI.BASE]
* NEW: TreeView and ColumnView item got a new Reparent() method that allows 
  to move an item and all its children from one parent to another parent.


git-svn-id: svn://localhost/gambas/trunk@6250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-26 14:31:36 +00:00
Benoît Minisini
1da6baf60e [INTERPRETER]
* NEW: Now a method or property object datatype can be overridden by a more 
  specialized one.


git-svn-id: svn://localhost/gambas/trunk@6249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-24 20:56:50 +00:00
Tobias Boege
21723bfe69 [GB.NCURSES]
* BUG: Add GB_END_DECLARE to the Input class to not crash anymore (on
  cygwin only?). Reported by Nigel Gerrard.



git-svn-id: svn://localhost/gambas/trunk@6248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-24 11:50:59 +00:00
Benoît Minisini
65158cb4e6 [CONFIGURATION]
* NEW: The GB_FIND macro now searches files one directory deeper.

[DEVELOPMENT ENVIRONMENT]
* BUG: Reset correctly the Application.Busy property after a program has 
  crashed.

[WEBSITE]
* NEW: Update for 3.5.3.

[GB.DB.FORM]
* NEW: Raise the maximum size of a DataView text column to 65536 characters 
  instead of 1024.

[GB.JIT]
* BUG: Explicitely search for the 'llvm-c/Core.h' include file.


git-svn-id: svn://localhost/gambas/trunk@6246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-23 22:31:28 +00:00
Benoît Minisini
e21d009197 [GB.OPENSSL]
* BUG: Cipher[] and Digest[] now read their method argument correctly.
* BUG: Fix bad use of string API in the Cipher class. Consequently 
  Cipher[].Encrypt() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-23 13:18:31 +00:00
Adrien Prokopowicz
a56f3233d6 [GB.XML.HTML]
* BUG: Fix the implementation of HTMLDocument.GetElementById().

git-svn-id: svn://localhost/gambas/trunk@6244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-16 13:42:20 +00:00
Benoît Minisini
9cf45fc40d [INTERPRETER]
* BUG: Fix memory leak with Lower$() and Upper$() on some null strings.


git-svn-id: svn://localhost/gambas/trunk@6241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-10 21:56:07 +00:00
David Villalobos Cambronero
84a51a739d [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@6240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-09 20:23:13 +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
a32f315528 [DEVELOPMENT ENVIRONMENT]
* NEW: Define the description of the gb.notify component.
* BUG: Help on function argument is correct now.


git-svn-id: svn://localhost/gambas/trunk@6236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-08 01:14:43 +00:00
Benoît Minisini
5f1bca4bea [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new background generated from the QuasiRegular new example.
* BUG: Disable replace controls in the search dialog when searching the 
  output window.

[WIKI]
* BUG: Fix style sheet for tables at the beginning of a block.
* BUG: Fix title retrieving of component links.

[EXAMPLES]
* NEW: QuasiRegular: A new example that shows an example of a quasi-regular
  pattern.

[INTERPRETER]
* BUG: Use interpreter API constants in 'gbx_watch.c' so that duplicate 
  constants are removed.


git-svn-id: svn://localhost/gambas/trunk@6235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-06 22:09:08 +00:00
Benoît Minisini
8e13fc76ea [GB.GUI.BASE]
* BUG: If the Layout property of HSplit or VSplit controls does not receive 
  one size for each child control, then child controls without size are 
  hidden (i.e. their size is assumed to be zero).


git-svn-id: svn://localhost/gambas/trunk@6232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-06 14:27:19 +00:00
Benoît Minisini
eee51f1659 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Gambas font files so that all characters have the same width in 
  the same font.


git-svn-id: svn://localhost/gambas/trunk@6231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-06 14:20:12 +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
17229584f7 [GB.FORM]
* BUG: Balloon: Fix position on desktop having top and/or left panels.
* BUG: Balloon: Use Tooltip.Foreground color as expected.
* BUG: Balloon: Fix arrow drawing.


git-svn-id: svn://localhost/gambas/trunk@6226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 15:30:25 +00:00
Benoît Minisini
9e80d652e3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.


git-svn-id: svn://localhost/gambas/trunk@6224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 11:02:49 +00:00
Benoît Minisini
3dc12551df [COMPILER]
* BUG: Raise an error if a function has too many arguments or too many 
  local variables.


git-svn-id: svn://localhost/gambas/trunk@6223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 11:02:17 +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