Commit graph

4617 commits

Author SHA1 Message Date
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
Benoît Minisini
bdf175aee1 [GB.FORM]
* BUG: TableView.Clear now hides the current edited cell.


git-svn-id: svn://localhost/gambas/trunk@6327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-18 00:39:36 +00:00
Benoît Minisini
944da6d01a [DEVELOPMENT ENVIRONMENT]
* NEW: A new button in the welcome dialog to open a single file.
* BUG: Converting into lower or upper case now keep the selection as 
  expected.


git-svn-id: svn://localhost/gambas/trunk@6326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-18 00:35:43 +00:00
Benoît Minisini
74a4817501 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix GUI for single-file mode.
* NEW: Normalize the IDE window title.

[GB.FORM.MDI]
* NEW: Workspace.Count is a new property that returns the number of 
  windows embedded in the workspace.
* BUG: Workspace: Popup menu now correctly displays the title of windows 
  having a RichText property. Note that this is not officially documented.


git-svn-id: svn://localhost/gambas/trunk@6325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-17 21:37:46 +00:00
Benoît Minisini
bc3e2269d6 [DEVELOPMENT ENVIRONMENT]
* NEW: Opening a SQLite database file automatically creates a new 
  connection and open it in the database editor.
* NEW: Redesign the form menu editor.
* BUG: Fix copy & paste in the form menu editor.
* NEW: The IDE now can open a single extern file without any project. This 
  is done internally by creating a temporary fake project. The GUI tries to
  adapt to that new mode, but this is not yet perfect.

[INTERPRETER]
* NEW: Args.Max is a new property that returns Args.Count - 1.

[GB.QT4]
* NEW: When several menus have the same shortcut, one is triggered instead 
  of displaying a warning message and doing nothing.

[GB.QT.EXT]
* NEW: Editor: CTRL+X now cut the current line if nothing is selected. If
  you stay on the same line, cutted lines accumulate.


git-svn-id: svn://localhost/gambas/trunk@6324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-17 11:44:20 +00:00
Benoît Minisini
7bd7f52be6 [GB.QT4]
* BUG: Key.Code now returns the modifiers key codes, as in gb.gtk.

[GB.QT4.EXT]
* NEW: Highlight.Line is a new property that returns the currently 
  highlighted line number (starting from zero).
* BUG: Setting Editor.Mouse now works reliably.


git-svn-id: svn://localhost/gambas/trunk@6323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-16 15:28:17 +00:00
Tobias Boege
47159e2053 [DEVELOPMENT ENVIRONMENT]
* BUG: Patch: Check by header if a file is a patch file



git-svn-id: svn://localhost/gambas/trunk@6321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-15 12:57:11 +00:00
Benoît Minisini
6fcc3e4b17 [DEVELOPMENT ENVIRONMENT]
* NEW: Make debugging positions in the output window links to the source 
  code. I should make that optional by the way...


git-svn-id: svn://localhost/gambas/trunk@6320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-15 12:45:03 +00:00
Tobias Boege
648e9402f5 [DEVELOPMENT ENVIRONMENT]
* BUG: FPatch: Allow binary patches to be applied



git-svn-id: svn://localhost/gambas/trunk@6319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-15 12:21:10 +00:00
Benoît Minisini
fbc194a849 [GB.SDL]
* NEW: Mouse.Show, Mouse.Hide and Mouse.Visible are two new static methods
  and one static property to hide or show the mouse cursor.


git-svn-id: svn://localhost/gambas/trunk@6318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-15 11:57:20 +00:00
Benoît Minisini
b3ad0b38b0 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a new SDL project correctly checks all needed components.


git-svn-id: svn://localhost/gambas/trunk@6317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-14 15:04:59 +00:00
Benoît Minisini
38e6cb900d [GB.FORM]
* BUG: FileView & DirView: Symbolic link to directories are now followed 
  like before.


git-svn-id: svn://localhost/gambas/trunk@6316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 23:03:35 +00:00
Benoît Minisini
e49850d5af [GB.GTK]
* BUG: Fix TabStrip behaviour when its Closable property is set.

[GB.GTK3]
* BUG: Fix some uses of deprecated functions.


git-svn-id: svn://localhost/gambas/trunk@6315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 09:27:31 +00:00
Benoît Minisini
b8f182841f [GB.SETTINGS]
* BUG: Automatic saving of settings file at exit works again.


git-svn-id: svn://localhost/gambas/trunk@6314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 07:27:02 +00:00
Benoît Minisini
4c7dfb0595 [GB.GTK]
* BUG: Correctly resets the clip region offset after a DrawingArea draw 
  event.


git-svn-id: svn://localhost/gambas/trunk@6313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-11 00:25:14 +00:00
Benoît Minisini
a498bb8664 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new ColorChooser.ShowCustom property.

[GB.FORM]
* NEW: ColorChooser.ShowCustom is a new property that allows the color 
  chooser to remember the last chosen colors.

[GB.SETTINGS]
* BUG: Always mark the settings as modified if an object reference is set
  as settings value.


git-svn-id: svn://localhost/gambas/trunk@6312 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 22:51:11 +00:00
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