Commit graph

4536 commits

Author SHA1 Message Date
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
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
1481162a4f [GB.FORM]
* NEW: FileChooser: Typing a file name automatically selects it.
* BUG: DirView does not raise its Click event twice anymore.
* NEW: FileView: Selection property is now writable.
* BUG: FileView: Delayed refresh is now forced when needed.

[GB.JIT]
* NEW: A little cosmetic change in the autoconf message about LLVM version 
  checking.


git-svn-id: svn://localhost/gambas/trunk@6340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-23 00:15:12 +00:00
Benoît Minisini
3dc54264c3 [CONFIGURATION]
* NEW: Add a new autoconf macro that can compare version numbers.

[GB.JIT]
* BUG: Fix LLVM version comparison.


git-svn-id: svn://localhost/gambas/trunk@6337 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-22 16:58:59 +00:00
Benoît Minisini
76195761c9 [GB.GTK]
* BUG: The Foreground property of RadioButton and CheckBox now works correctly.

[GB.GTK3]
* BUG: Get rid of some warnings.

[GB.WEB]
* BUG: URL.UnsetQuery() now works correctly on void request queries.


git-svn-id: svn://localhost/gambas/trunk@6333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-22 14:05:27 +00:00
Benoît Minisini
ca5b4d5c4b [INTERPRETER]
* NEW: Abs(True) now returns 1, and Abs(False) returns 0. It breaks the 
  rule of TypeOf(Abs(x)) = TypeOf(x), but it is more useful while being 
  backward compatible.


git-svn-id: svn://localhost/gambas/trunk@6332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-21 10:27:08 +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
c87b7c4bb5 [GB.NET.CURL]
* BUG: The VerifyPeer and VerifyHost properties are really taken into 
  account now. But I'm not sure that everything is fixed.


git-svn-id: svn://localhost/gambas/trunk@6330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-19 22:24:36 +00:00
Benoît Minisini
ab80d1ab67 [GB.GTK]
* BUG: Fix Frame children detection.

[GB.GTK3]
* BUG: Fix Frame children detection.


git-svn-id: svn://localhost/gambas/trunk@6329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-19 09:07:50 +00:00
Benoît Minisini
4fed42ea7e [DEVELOPMENT ENVIRONMENT]
* BUG: Catch erros again when loading a profile file fails.
* BUG: Single-file mode: The file top-level menu works correctly now.
* NEW: Single-file mode: Closing the last tab automatically quits.
* NEW: Single-file mode: Closing a tab directly closes the file, and warns
  the user if the file has been modified.

[GB.FORM]
* BUG: TabPanel: Moving a tab when one of them has been detached does not
  lead to a stack overflow anymore.

[GB.FORM.MDI]
* NEW: Workspace: Closing a tab now raises the Close event, with the 
  closing window as argument. Stopping that event cancels the close.


git-svn-id: svn://localhost/gambas/trunk@6328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-18 14:25:38 +00:00