Commit graph

4345 commits

Author SHA1 Message Date
Tobias Boege
d3ec79a214 [GB.INOTIFY]
* NEW: Add Pause() and Resume() methods to pause and resume a watch.
  IsPaused can be used to read/set/toggle the "paused" state.



git-svn-id: svn://localhost/gambas/trunk@6400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 02:14:37 +00:00
Tobias Boege
f18e3d9403 [GB.OPENSSL]
* NEW: Make CipherText creatable so that data from external sources can be
  deciphered.



git-svn-id: svn://localhost/gambas/trunk@6399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 01:02:46 +00:00
Benoît Minisini
4963ce37d2 [INTERPRETER]
* BUG: When reading lines ending with a "Window" end-of-line sequence 
  (CR+LF), the LINE INPUT instruction could sometimes forget to remove the 
  first end-of-line character from the end of the line (CR).


git-svn-id: svn://localhost/gambas/trunk@6398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-27 21:04:29 +00:00
Tobias Boege
218cfadb9b [GB.NET]
* NEW: DnsClient: defer async setup to when a query is made and release
  the pipe watch afterwards as soon as possible so that Gambas processes
  don't wait on non-active but existent watches.
* NEW: One can change the Async property of DnsClient now while it is
  active; the change applies to subsequent queries.

[EXAMPLES]
* BUG: DnsClient: Don't use the special _free() method.



git-svn-id: svn://localhost/gambas/trunk@6397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-24 19:03:08 +00:00
Benoît Minisini
2f203fef44 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an unknown symbol error in offline documentation generation.

[SCRIPTER]
* BUG: Don't be case sensitive when searching for the "USE" keyword.


git-svn-id: svn://localhost/gambas/trunk@6396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-23 20:49:56 +00:00
Benoît Minisini
55f76b9209 [GB.FORM]
* BUG: Stock.Themes property does not crash anymore if an 'index.theme' 
  file is not readable.


git-svn-id: svn://localhost/gambas/trunk@6395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-22 18:56:52 +00:00
Benoît Minisini
95d0f89346 [GB.GTK]
* BUG: Fix session management compilation.

[GB.GTK3]
* BUG: Fix session management compilation.



git-svn-id: svn://localhost/gambas/trunk@6394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 22:49:03 +00:00
Benoît Minisini
ae23faf1a3 [GB.GTK]
* NEW: Support for automatic session management.

[GB.GTK3]
* NEW: Support for automatic session management.


git-svn-id: svn://localhost/gambas/trunk@6393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 04:18:55 +00:00
Benoît Minisini
86c06592c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the offline help on component symbols should be displayed 
  correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.

[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line 
  arguments as a string array. Not definitive: it may be removed in the
  future.

[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager. Beware that it has
  no effect at the moment!

[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
  at the moment.
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager.



git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 14:41:54 +00:00
Benoît Minisini
af40ba73be [EXAMPLES]
* NEW: BeastScroll: Add a keyboard shortcut that takes a screenshot, and
  add more text to the screen.


git-svn-id: svn://localhost/gambas/trunk@6391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 02:49:32 +00:00
Benoît Minisini
503211568d [GB.SDL]
* NEW: The default font is now embedded in the library.
* BUG: The default font rendering has been fixed.
* NEW: Window.Screenshot() now can take four optional arguments to define 
  a rectangular sub-part of the window to retrieve.


git-svn-id: svn://localhost/gambas/trunk@6390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 02:46:17 +00:00
Benoît Minisini
e2c7abf46d [GB.SDL]
* NEW: Window.Screenshot() is a new method that returns a screenshot of the 
  window contents by reading the OpenGL color buffer.


git-svn-id: svn://localhost/gambas/trunk@6389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-19 19:00:30 +00:00
Henrique
39ebedf66c [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@6388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-18 12:33:11 +00:00
Benoît Minisini
076e53d577 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening the translation dialog whereas no project 
  string is translatable.


git-svn-id: svn://localhost/gambas/trunk@6386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 23:44:32 +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
29d06fb0d1 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree view popup menu now has an entry for opening 
  recently closed files.
* NEW: Now comment automatic insertion is triggered only if SHIFT+RETURN 
  is pressed. Not if just RETURN is pressed.

[GB.FORM.MDI]
* NEW: Workspace.Exist() is a new method that tells if a specific window is 
  embedded inside the Workspace.


git-svn-id: svn://localhost/gambas/trunk@6384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 18:51:21 +00:00
Benoît Minisini
8b61ab1e65 [INTERPRETER]
* BUG: Fix a crash when the first use of a class symbol recursively calls 
  the current function being executed.


git-svn-id: svn://localhost/gambas/trunk@6383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 00:57:45 +00:00
Benoît Minisini
08b5987282 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix offline documentation detection and download.


git-svn-id: svn://localhost/gambas/trunk@6382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-15 23:59:13 +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
d20c313560 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when opening the help browser after the F2 key has been 
  hit.

[INTERPRETER]
* BUG: Fix a crash when running the Application_Error global error handler.

[GB.FORM]
* NEW: DirBox is a new control that allows to choose a directory from a 
  ButtonBox.
* NEW: DirBox, FontBox and DateBox are now put in the "Chooser" tab of the
  IDE control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 17:23:05 +00:00
Benoît Minisini
950a5fefce [DEVELOPMENT ENVIRONMENT]
* NEW: Update translations by using the gambas.wiki project translations.
* NEW: Centralize the help browser in a custom control.
* NEW: Automatic completion and signature help browsers now support the 
  offline documentation.


git-svn-id: svn://localhost/gambas/trunk@6379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-14 02:43:26 +00:00
Benoît Minisini
010d44402b [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now tries to use the 'ip' command if 
 'ifconfig' is not available.


git-svn-id: svn://localhost/gambas/trunk@6378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 21:31:14 +00:00
Benoît Minisini
3e701eafdb [GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now works with another 'ifconfig' output 
  syntax.


git-svn-id: svn://localhost/gambas/trunk@6377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:51:38 +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
cf4f1b9a72 [DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Language support in the offline help.


git-svn-id: svn://localhost/gambas/trunk@6375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 19:04:51 +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
Fabien Bodard
fe6a711f48 [GB.REPORT]
* BUG: Try to resolve the setting problem in report preview box.
* NEW: Begin shadow implementation, it is partially scaled on css3 one.



git-svn-id: svn://localhost/gambas/trunk@6373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-13 15:40:52 +00:00
Tobias Boege
46ebc2acb4 [GB.DATA]
* NEW: First attempt to define a Graph class interface



git-svn-id: svn://localhost/gambas/trunk@6372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-12 00:20:35 +00:00
Benoît Minisini
a7a73cf3a4 [DEVELOPMENT ENVIRONMENT]
* NEW: All files can be "locked". This is implemented by using the file 
  write permissions. The old form locking mechanism has been removed.


git-svn-id: svn://localhost/gambas/trunk@6371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-11 11:51:47 +00:00
Benoît Minisini
7cf19b5dde [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Selecting a control ensures that it is visible if one 
  of its parent is a multi-container.


git-svn-id: svn://localhost/gambas/trunk@6370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-10 22:28:45 +00:00
Benoît Minisini
fbce0d0077 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Add a "Select parent" menu entry that selects the 
  parent of the master control of the current selection.


git-svn-id: svn://localhost/gambas/trunk@6369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-10 21:31:32 +00:00
Benoît Minisini
3d38df43bd [GB.SETTINGS]
* BUG: Enumerating `Settings.Keys[Slot]` (the keys of a specific slot) does 
  not break anymore the enumeration of `Settings.Key` (the slot names).


git-svn-id: svn://localhost/gambas/trunk@6365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 15:40:16 +00:00
Benoît Minisini
058bf169c8 [DEVELOPMENT ENVIRONMENT]
* NEW: When adding new project files, now you can insert several existing 
  files in one shot.

[GB.FORM]
* BUG: FileChooser: Multiple file selection works correctly again.


git-svn-id: svn://localhost/gambas/trunk@6364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 12:36:24 +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
fee4e6cbaf [GB.FORM.MDI]
* NEW: Workspace.Remove() is a new method for removing a window from the 
  workspace.
* NEW: Workspace.Add() automatically calls Workspace.Remove() to remove the 
  window from its previous workspace if needed.
* NEW: Workspace now raises the Attach and Detach events when a window is
  respectively attached or detached.


git-svn-id: svn://localhost/gambas/trunk@6361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-04 13:04:25 +00:00
Benoît Minisini
949dcbd6aa [GB.FORM]
* NEW: The FileChooser Change event is now raised when the file is 
  unselected.


git-svn-id: svn://localhost/gambas/trunk@6360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-04 12:46:30 +00:00
Benoît Minisini
5318daf25a [GB.SDL]
* NEW: Window.Grabbed is a new property that allows to grab the input and 
  confine the mouse to the window.


git-svn-id: svn://localhost/gambas/trunk@6359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-03 08:32:07 +00:00
Adrien Prokopowicz
c2e7d79812 [GB.XML]
* BUG: Fix the Like-pattern matching of the XmlElement.GetChildrenByAttributeValue() method.

git-svn-id: svn://localhost/gambas/trunk@6358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-02 21:33:03 +00:00
Benoît Minisini
433b9fa9ac [GB.DESKTOP]
* NEW: Automatically load the 'gb.desktop.x11' component the first time the
  Desktop class is used, to be backward-compatible.


git-svn-id: svn://localhost/gambas/trunk@6357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-01 17:37:04 +00:00
Benoît Minisini
91c4402592 [CONFIGURATION]
* NEW: Support of GNU/kFreeBSD systems.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix a typo in english tips.

[INFORMER]
* NEW: Support of kFreeBSD.

[GB.DB.POSTGRESL]
* NEW: Check more directories when searching for libraries, so that it 
  works on debian systems.

[GB.V4L]
* NEW: Support of kFreeBSD.


git-svn-id: svn://localhost/gambas/trunk@6356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:22:11 +00:00
Benoît Minisini
0c521b9b04 [WIKI CGI SCRIPT]
* NEW: The `@{symbols}` command can take an explicit class in argument.


git-svn-id: svn://localhost/gambas/trunk@6355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:19:41 +00:00
Benoît Minisini
1b5802b895 [EXAMPLES]
* NEW: Little changes in the SystemTray example.


git-svn-id: svn://localhost/gambas/trunk@6354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:17:30 +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
e2a2762f15 [GB.DESKTOP.X11]
* NEW: Embed icons directly in the specified window.


git-svn-id: svn://localhost/gambas/trunk@6352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 22:08:22 +00:00
Benoît Minisini
9ac97418a0 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for iceweasel browser.


git-svn-id: svn://localhost/gambas/trunk@6351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-30 21:30:54 +00:00
Benoît Minisini
56a7b5f946 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash in the menu editor when inserting a new item.


git-svn-id: svn://localhost/gambas/trunk@6349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-29 20:09:31 +00:00
Willy Raets
c534102932 [DOC.CGI]
* NEW: Dutch translations updated

[GB.WIKI]
* NEW: Dutch translations updated

[GB.FORM]
* NEW: Dutch translations updated

[GB.FORM.MDI]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@6348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-29 19:23:00 +00:00
Benoît Minisini
22977a4d50 [DEVELOPMENT ENVIRONMENT]
* NEW: Color chooser in forms now allows to select a transparent color.

[GB.DESKTOP.X11]
* NEW: The Arrange event is now delayed.
* BUG: Do not display X11 errors anymore.
* BUG: Disable the X11 event filter if the system tray has been closed.
* BUG: Don't crash when closing the system tray and freeing the internal 
  data.
* NEW: Support for the _NET_SYSTEM_TRAY_VISUAL protocol. Now the system 
  tray can be a transparent window, but embedded icons keeps being opaque.

[GB.GTK]
* NEW: Support for X11 event filter has been implemented.
* BUG: Wait 10 ms after showing a tray icon. Apparently you must not be too
  fast when creating several tray icons.


git-svn-id: svn://localhost/gambas/trunk@6347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-28 15:25:12 +00:00
Benoît Minisini
cd3fd2c98d [GB.FORM]
* BUG: SwitchButton: Do not react to mouse events when disabled.


git-svn-id: svn://localhost/gambas/trunk@6345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-27 00:43:16 +00:00