Commit graph

5390 commits

Author SHA1 Message Date
Benoît Minisini
ff932bc1c6 [DEVELOPMENT ENVIRONMENT]
* BUG: Cutting & pasting source files now works as expected.
* NEW: A child class is now displayed in the project tree under its parent 
  class only if they are in the same directory. Consequently, dragging a 
  child class to any directory is now possible.


git-svn-id: svn://localhost/gambas/trunk@7424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 09:43:06 +00:00
Benoît Minisini
39e1c4b060 [DEVELOPMENT ENVIRONMENT]
* BUG: Reloading a file now correctly resets the procedure combo.
* BUG: Reverting a form now reverts the class file too.


git-svn-id: svn://localhost/gambas/trunk@7423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 09:09:32 +00:00
Benoît Minisini
c06e1339d6 [DEVELOPMENT ENVIRONMENT]
* NEW: Larger connection properties dialog.


git-svn-id: svn://localhost/gambas/trunk@7422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 00:39:53 +00:00
Benoît Minisini
1d6a348ab3 [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Redraw some database editor icons.
* BUG: Database editor: Renaming a table does not delete it anymore if the 
  renaming fails for any reason.


git-svn-id: svn://localhost/gambas/trunk@7421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 00:30:26 +00:00
Benoît Minisini
d289c1d0ad [GB.GTK3]
* BUG: ScrollView with a border should not display scrollbars anymore when 
  they are void.


git-svn-id: svn://localhost/gambas/trunk@7420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 23:27:35 +00:00
Benoît Minisini
596a81eeb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save CSV file path in data export and table import 
  dialogs.
* BUG: HelpView.Stop() method now always hides the spinner.


git-svn-id: svn://localhost/gambas/trunk@7419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 20:49:40 +00:00
Benoît Minisini
9e5924c628 [INTERPRETER]
* BUG: Fix File.IsHidden() method for paths having "." or ".." element 
  inside.


git-svn-id: svn://localhost/gambas/trunk@7418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 18:40:29 +00:00
Benoît Minisini
657266cf4b [GB.QT4]
* BUG: Draw masked windows the same way as in gb.gtk.

[GB.QT5]
* BUG: Draw masked windows the same way as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@7417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 18:36:53 +00:00
Benoît Minisini
d3c0c9db6b [GB.FORM.EDITOR]
* BUG: CTRL+ENTER does not crash anymore if there is nothing to fold or 
  unfold.


git-svn-id: svn://localhost/gambas/trunk@7416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:10:54 +00:00
Benoît Minisini
81a4022fba [GB.DB.ODBC]
* BUG: Don't crash when trying to open a database if the host is void.


git-svn-id: svn://localhost/gambas/trunk@7415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:04:46 +00:00
Benoît Minisini
bc6493120e [INTERPRETER]
* NEW: File.IsHidden() is a new static method that returns if a path is 
  hidden, i.e. if its filename or one of its directory components starts 
  with a dot.

[GB.FORM]
* NEW: Setting an hidden path to a DirChooser or FileChooser automatically 
  toggles the ShowHidden property if needed.


git-svn-id: svn://localhost/gambas/trunk@7414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 01:59:12 +00:00
Willy Raets
0edfabd984 [DEVELOPMENT ENVIRONMENT]
* Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-16 13:56:13 +00:00
Benoît Minisini
c60a05fc9c [GB.DB.SQLITE2]
* BUG: Listing databases without specifying the host does not crash 
  anymore.
  
[GB.DB.SQLITE3]
* BUG: Listing databases without specifying the host does not crash 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-16 11:52:39 +00:00
Benoît Minisini
da95a37de1 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly set url of help browser in all cases.


git-svn-id: svn://localhost/gambas/trunk@7411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-15 00:29:05 +00:00
Benoît Minisini
087a9d10a0 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove not yet implemented "template" database type.
* BUG: Fix list property editor layout.


git-svn-id: svn://localhost/gambas/trunk@7410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-15 00:20:23 +00:00
Benoît Minisini
c6ff0fe96f [GB.GTK]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.
  
[GB.GTK3]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.


git-svn-id: svn://localhost/gambas/trunk@7409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 23:11:45 +00:00
Benoît Minisini
0c9a9bc08c [GB.FORM]
* BUG: Fix "linux" stock icon.


git-svn-id: svn://localhost/gambas/trunk@7408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 22:59:51 +00:00
Benoît Minisini
4508817f56 [DEVELOPMENT ENVIRONMENT]
* NEW: When compiling changes the project information metadata, only reload 
  forms.
* NEW: Support for future webforms.
* NEW: About dialog: Mouse wheel now scrolls the text in both direction.

[COMPILER]
* NEW:  Support for future webforms.


git-svn-id: svn://localhost/gambas/trunk@7407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-11 08:18:22 +00:00
Benoît Minisini
7f44f910de [GB.GTK]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.

[GB.GTK3]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.


git-svn-id: svn://localhost/gambas/trunk@7406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 21:50:05 +00:00
Benoît Minisini
9e9514c318 [GB.GTK]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.

[GB.GTK3]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@7405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 14:04:46 +00:00
Benoît Minisini
fc66292f50 [GB.GTK]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.
  
[GB.GTK3]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.


git-svn-id: svn://localhost/gambas/trunk@7404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:09:36 +00:00
Benoît Minisini
01a2b34270 [DEVELOPMENT ENVIRONMENT]
* NEW: Project exported control icons are thiner.

[INTERPRETER]
* NEW: Release classes having an array class if that array class has no 
  instance.

[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
  "quit" hook. At the moment it releases Drag.Icon picture and voids the 
  Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:02:12 +00:00
Benoît Minisini
156ca6984b [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Draw toolbar icons of project exported controls larger, 
  so that they are more readable.
* BUG: Form editor: Set the Design property of controls the later as 
  possible. That way it is propagated to inner controls that are created
  after because of a control property.

[GB.QT4]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.

[GB.QT5]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.


git-svn-id: svn://localhost/gambas/trunk@7402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 23:08:48 +00:00
Benoît Minisini
f640481f4d [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Property help now works offline.


git-svn-id: svn://localhost/gambas/trunk@7401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 18:25:33 +00:00
Benoît Minisini
9198a0462e [DEVELOPMENT ENVIRONMENT]
* BUG: Search: Fix replace all in current procedure.


git-svn-id: svn://localhost/gambas/trunk@7400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 00:09:10 +00:00
Benoît Minisini
0bd5a95bee [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Remove now useless debugging code.
* BUG: Fix report border chooser dialog.
* BUG: Image editor: Fix magnet detection.
* NEW: Image editor: Display the target frame when moving the pasted image.
* BUG: Image editor: Fix the zero-width line drawing.
* BUG: Fix project icon folder generation.
* NEW: Add missing dark theme icons.


git-svn-id: svn://localhost/gambas/trunk@7399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 23:14:47 +00:00
Benoît Minisini
8db3ee2deb [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Buttons for line cap style, line join style and fill 
  rule.
* BUG: Image editor: Fix drawing of ghost line tool.

[GB.FORM.EDITOR]
* BUG: TextEditor: SHIFT + PGUP or PGDOWN keys now works as expected.

[GB.FORM.MDI]
* NEW: Workspace: Always shows the global close button, even if there is 
  only one tab.


git-svn-id: svn://localhost/gambas/trunk@7396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 01:20:37 +00:00
Benoît Minisini
bc5933f905 [INTERPRETER]
* BUG: Fix a crash when trying twice accessing a collection without the 
  good number of arguments.


git-svn-id: svn://localhost/gambas/trunk@7395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 00:55:44 +00:00
Willy Raets
29d31b52f0 [DEVELOPMENT ENVIRONMENT]
* Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-07 23:50:48 +00:00
Tobias Boege
4a8947f64b [GB.COMPRESS.ZLIB]
* NEW: Uncompress.String(): Detect gzip format.



git-svn-id: svn://localhost/gambas/trunk@7393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-07 01:02:31 +00:00
Benoît Minisini
f073b22eae [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly catch errors when reloading a file.

[INTERPRETER]
* BUG: Fix a possible crash when removing an element from an enumerated 
  collection.


git-svn-id: svn://localhost/gambas/trunk@7392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 23:29:35 +00:00
Benoît Minisini
2a7c35e6e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic comment insertion is now done in one step to prevent 
  syntax highlighting from occuring inside the new comment line.


git-svn-id: svn://localhost/gambas/trunk@7391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 01:54:30 +00:00
Benoît Minisini
f19a549361 [CONFIGURATION]
* BUG: Forgot to put VERSION file in the source package file list.

[COMPILER]
* NEW: Trim the VERSION file before inserting into the ".startup" file.


git-svn-id: svn://localhost/gambas/trunk@7390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-05 17:24:34 +00:00
Tobias Boege
afc5f34660 [GB.XML.HTML]
* BUG: XmlElement: Fix infinite loop from MatchFilter()



git-svn-id: svn://localhost/gambas/trunk@7389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-05 15:41:37 +00:00
Tobias Boege
06893f0942 [GB.FORM]
* NEW: Wizard: Add Update() method to redraw the Wizard



git-svn-id: svn://localhost/gambas/trunk@7388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 21:33:59 +00:00
Benoît Minisini
2e22d8c24c [GB.FORM]
* BUG: File bookmark editor: Correctly save current bookmark when using
  "Up" or "Down" button.


git-svn-id: svn://localhost/gambas/trunk@7384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 12:58:40 +00:00
Benoît Minisini
d0ba56aaa0 [DEVELOPMENT ENVIRONMENT]
* BUG: Opening the startup class moves to the Main function only the first 
  time now.


git-svn-id: svn://localhost/gambas/trunk@7383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 11:26:30 +00:00
Benoît Minisini
834ba4746d [DEVELOPMENT ENVIRONMENT]
* BUG: Code beautyfier now does its job entirely.


git-svn-id: svn://localhost/gambas/trunk@7382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 11:23:02 +00:00
Benoît Minisini
1d4b1ad5e6 [DEVELOPMENT ENVIRONMENT]
* BUG: Code beautyfier now keeps the cursor position.


git-svn-id: svn://localhost/gambas/trunk@7381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 11:11:45 +00:00
Benoît Minisini
64e95ed8e1 [GB.FORM.MDI]
* NEW: Use more granular sizes for stock icons, so that they are not too 
  small for some font sizes.

[GB.QT4]
* BUG: Desktop.Scale is now updated before window Font events are sent.
  
[GB.QT5]
* BUG: Desktop.Scale is now updated before window Font events are sent.


git-svn-id: svn://localhost/gambas/trunk@7380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:57:14 +00:00
Benoît Minisini
fa54b1e89b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a large toolbox icon size, for HighDPI screens.
* BUG: Image editor: Fix mouse wheel behaviour when zooming.
* BUG: Image editor: Clip pasted image.

[GB.REPORT2]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@7379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:11:15 +00:00
Benoît Minisini
b3e2e3bbdb [GB.GTK]
* BUG: Fix Image.Rotate() routine.

[GB.GTK3]
* BUG: Fix Image.Rotate() routine.


git-svn-id: svn://localhost/gambas/trunk@7378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 01:02:18 +00:00
Benoît Minisini
becf3487d4 [GB.QT4]
* BUG: Don't send a move request for windows whose initial position is 
  X = 0 and Y = 0, as gb.gtk does.
  
[GB.QT5]
* BUG: Don't send a move request for windows whose initial position is 
  X = 0 and Y = 0, as gb.gtk does.
  

git-svn-id: svn://localhost/gambas/trunk@7377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-02 23:23:22 +00:00
Benoît Minisini
5ef2192a49 [GB.FORM]
* NEW: Stock: Support for Trinity desktop.
* BUG: Stock: Correctly detect KDE5 icon theme.


git-svn-id: svn://localhost/gambas/trunk@7376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-02 22:09:12 +00:00
Benoît Minisini
e115c34a66 [DEVELOPMENT ENVIRONMENT]
* NEW: List property dialog: Invert button.
* BUG: Image editor: Many bug fixes in draw, erase, and line tool.
* NEW: New icons for networking controls.

[GB.DB.FORM]
* NEW: New icon for DataSource control.

[GB.QT4]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.

[GB.QT5]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.


git-svn-id: svn://localhost/gambas/trunk@7375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-01 20:55:19 +00:00
Benoît Minisini
bd337bdda4 [GB.FORM.DIALOG]
* NEW: Dialog.Key is a new property that allows to define the sub-key used 
  for storing dialog settings.
  
[GB.SETTINGS]
* NEW: Settings.Read and Settings.Write can take an absolute key as 
  argument.


git-svn-id: svn://localhost/gambas/trunk@7374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-30 15:06:41 +00:00
Benoît Minisini
1409a5ab55 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix rectangle and ellipse selection when they are 
  done backwards.
* NEW: Image editor: Set operations on selections (union, intersection, 
  difference and exclusive or).


git-svn-id: svn://localhost/gambas/trunk@7373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-30 04:49:31 +00:00
Benoît Minisini
7bebd8a89a [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting ESC while current method signature is displayed only hides 
  the signature now.


git-svn-id: svn://localhost/gambas/trunk@7370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 20:20:30 +00:00
Benoît Minisini
2af0d8751f [DEVELOPMENT ENVIRONMENT]
* OPT: Reset Wiki metadata only when having to load a component that is 
  not yet loaded.


git-svn-id: svn://localhost/gambas/trunk@7368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 19:46:49 +00:00
Benoît Minisini
beeabd049f [DEVELOPMENT ENVIRONMENT]
* NEW: Put the WebView icon in the IDE.

[GB.FORM.EDITOR]
* OPT: Don't raise Cursor event if we are between calls to Begin / End or 
  during an undo or redo process.

[GB.GUI.QT.WEBKIT]
* NEW: No need to put the WebView icon there.


git-svn-id: svn://localhost/gambas/trunk@7367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 15:03:16 +00:00