Commit graph

4229 commits

Author SHA1 Message Date
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
Benoît Minisini
ac49913592 [GB.MARKDOWN]
* BUG: Forbid the use of <iframe> markup.


git-svn-id: svn://localhost/gambas/trunk@6221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-01 02:25:22 +00:00
Benoît Minisini
91fd576e30 [GB.MARKDOWN]
* BUG: Forbid the use of <script> markup.


git-svn-id: svn://localhost/gambas/trunk@6220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-01 02:08:58 +00:00
David Villalobos Cambronero
98f6a78822 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@6219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-31 21:16:42 +00:00
Benoît Minisini
b8d0f7956c [DEVELOPMENT ENVIRONMENT]
* NEW: An option to toggle comments automatic insertion.


git-svn-id: svn://localhost/gambas/trunk@6218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-31 19:44:33 +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
b55b7a148f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a text entry under the output console to evaluate expressions,
  with history. The console output is now read-only.


git-svn-id: svn://localhost/gambas/trunk@6216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-30 17:43:09 +00:00
Benoît Minisini
42bb5c42e7 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove now useless text tool icons.


git-svn-id: svn://localhost/gambas/trunk@6215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-30 14:37:47 +00:00
Benoît Minisini
159b6eb37f [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Rework the text tool alignment interface.
* BUG: Image editor: Fix alignment in the text draw routine.
* BUG: Image editor: the text and grid properties are now visible only if 
  needed.


git-svn-id: svn://localhost/gambas/trunk@6214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-30 14:36:44 +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
ed90e5a7fe [DEVELOPMENT ENVIRONMENT]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 20:48:22 +00:00
Benoît Minisini
80b28dda46 [DEVELOPMENT ENVIRONMENT]
* NEW: The image editor text tool now has twelve buttons to define the text
  anchor.


git-svn-id: svn://localhost/gambas/trunk@6211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 20:00:27 +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
29883d6239 [GB.WEB]
* BUG: JSON.Decode() now convert numbers to Integer, Long and Float. Not 
  just Float.
* NEW: Session.Keys is a new property that returns all keys used by the 
  Session collection.


git-svn-id: svn://localhost/gambas/trunk@6208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 16:30:54 +00:00
David Villalobos Cambronero
3981db15ca [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@6207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-26 22:36:00 +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
3a1d7578e5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix building of project classes help pages.


git-svn-id: svn://localhost/gambas/trunk@6205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:00:12 +00:00
Benoît Minisini
07833919ff [DEVELOPMENT ENVIRONMENT]
* BUG: If we are opening a project having the same name as the component, 
  then that project is assumed to be the gambas part of the component. And 
  so the classes described in the '.info' file can be actually part of the 
  gambas part and must not be processed.


git-svn-id: svn://localhost/gambas/trunk@6204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-21 22:07:04 +00:00