Commit graph

5705 commits

Author SHA1 Message Date
Benoît Minisini
ea52979946 [DEVELOPMENT ENVIRONMENT]
* NEW: Reset the output terminal when the debugged project ends.

[GB.FORM.TERMINAL]
* NEW: TerminalView.Reset() is a new method that resets the terminal state without clearing it.


git-svn-id: svn://localhost/gambas/trunk@7886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:44:03 +00:00
Benoît Minisini
259ebd9a2a [CONFIGURATION]
* BUG: Compile components written in Gambas with the translation flag enabled.


git-svn-id: svn://localhost/gambas/trunk@7885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:42:20 +00:00
Benoît Minisini
4d50dead00 [INTERPRETER]
* BUG: Correctly call static event handlers when an event is raised.


git-svn-id: svn://localhost/gambas/trunk@7884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-01 22:10:26 +00:00
Benoît Minisini
2ed98a33d1 [GB.DBUS]
* BUG: Don't insert process id into object interface names.


git-svn-id: svn://localhost/gambas/trunk@7883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-31 19:59:22 +00:00
Benoît Minisini
01c9cc98d7 [GB.NET.CURL]
* NEW: FtpClient: Allow 'ftps' protocol.


git-svn-id: svn://localhost/gambas/trunk@7881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-31 10:35:57 +00:00
Benoît Minisini
56b724d64c [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Creation of debian/ubuntu packages of projects having no icon does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 22:27:34 +00:00
Benoît Minisini
0b222b1a99 [INTERPRETER]
* BUG: Fix detection of errors occuring inside interpreter API.


git-svn-id: svn://localhost/gambas/trunk@7879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 22:26:15 +00:00
Benoît Minisini
113b3ff5de [GB.GTK]
* BUG: Make r7877 compile on older versions of GTK+2.


git-svn-id: svn://localhost/gambas/trunk@7878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 21:41:05 +00:00
Benoît Minisini
59b8546ba8 [GB.GTK]
* BUG: TextArea should not crash anymore in some cases when destroyed.


git-svn-id: svn://localhost/gambas/trunk@7877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 18:39:59 +00:00
Tobias Boege
842a1583be [GB.OPENSSL]
* NEW: Require OpenSSL >= 1.0.0 because we need EVP_MD_do_all().
* BUG: Revert changes from #7875.



git-svn-id: svn://localhost/gambas/trunk@7876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-29 20:44:37 +00:00
Tobias Boege
b2e45bf929 [GB.OPENSSL]
* NEW: Try to support OpenSSL 0.9.8 together with 1.1.0 (bug #984).



git-svn-id: svn://localhost/gambas/trunk@7875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-29 16:51:53 +00:00
Benoît Minisini
bf38b6c891 [DEVELOPMENT ENVIRONMENT]
* NEW: Better command-line help text.

[WEBSITE MAKER]
* NEW: Update to Gambas 3.9.0.

[WIKI CGI SCRIPT]
* NEW: Add border shadow around screenshots links.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the Highlight property when set to "None".
* BUG: TextEditor: Fix the Highlight property declaration.
* OPT: TextEditor: Faster layout and scroll, especially when there are a lot of lines and wrapping mode is enabled.


git-svn-id: svn://localhost/gambas/trunk@7874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-28 21:25:46 +00:00
Benoît Minisini
cd33ca44f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically remove console output temporary files.

[GB.FORM]
* BUG: FileProperties is now correctly refreshed when its Path changes.


git-svn-id: svn://localhost/gambas/trunk@7870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-27 11:09:46 +00:00
Benoît Minisini
531e7c3e90 [GB.FORM]
* BUG: MenuButton: Take foreground color into account correctly.
* BUG: MenuButton: Clip text so that arrow is always clearly visible.
* BUG: MenuButton: Take the Design property into account correctly.


git-svn-id: svn://localhost/gambas/trunk@7864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-26 00:21:27 +00:00
Benoît Minisini
f03ddee926 [GB.GTK]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.

[GB.GTK3]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.
* BUG: Patch all layout methods.


git-svn-id: svn://localhost/gambas/trunk@7863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-25 23:58:28 +00:00
Benoît Minisini
782c84b4f8 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Support for PNG icons up to 1024x1024 pixels in Debian & Ubuntu packages.

[GB.UTIL]
* BUG: Shell.RmDir() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-24 21:39:28 +00:00
Benoît Minisini
4cd8b9c7f3 [GB.GTK]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.

[GB.GTK3]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.


git-svn-id: svn://localhost/gambas/trunk@7861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-22 19:03:18 +00:00
Benoît Minisini
3d0be81f4e [GB.FORM.TERMINAL]
* BUG: TerminalView: Refresh process output every 250ms at least. Don't wait for the internal 64K buffer to be filled.


git-svn-id: svn://localhost/gambas/trunk@7860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-21 14:52:00 +00:00
Benoît Minisini
45a12f36a8 [CONFIGURATION]
* NEW: Switch version to 3.9.90.


git-svn-id: svn://localhost/gambas/trunk@7859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 16:23:39 +00:00
Benoît Minisini
2122b45e2a [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: The event handlers menu now works correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@7852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 11:41:19 +00:00
Benoît Minisini
ea64049c8f [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Default line join and line cap are round now.

[GB.FORM]
* NEW: ColorChooser: Less space between color value text boxes and their label.

[GB.FORM.EDITOR]
* BUG: TextEditor: "None" and "Custom" highlighting types are correctly interpreted now.


git-svn-id: svn://localhost/gambas/trunk@7851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 11:30:34 +00:00
Benoît Minisini
60dff96936 [DEVELOPMENT ENVIRONMENT]
* NEW: Database connection: Now you can initialize a new database from the template of another connection of the project.


git-svn-id: svn://localhost/gambas/trunk@7850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 19:43:56 +00:00
Benoît Minisini
59cd9c2d4a [GB.DESKTOP]
* BUG: Fix detection of KDE4 and KDE5 desktops.

[GB.QT4]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.QT5]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK3]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.


git-svn-id: svn://localhost/gambas/trunk@7849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 14:37:19 +00:00
Benoît Minisini
04a21990b3 [GB.WEB]
* NEW: Response.Done is a new property that tells if Response.End has been called.

[GB.WEB.FORM]
* NEW: A WebForm can declare a static public method 'HandleRequest' taking no arguments and returning nothing. That method will be called before processing any request, so that you can process the Request object before anything else. If you handle the request and send a response (i.e. if you call Response.End during that method), then the gb.web.form component will not process it.


git-svn-id: svn://localhost/gambas/trunk@7848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 14:15:33 +00:00
Benoît Minisini
c019b07f40 [CONFIGURATION]
* NEW: Force symbolic link creation.

[GB.WEB]
* BUG: Fix Session.Keys for SQLite sessions.

[GB.IMAGE]
* BUG: Image.Desaturate() now works correctly on image alpha channel.


git-svn-id: svn://localhost/gambas/trunk@7847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-18 18:59:19 +00:00
Benoît Minisini
8ffbdde703 [CONFIGURATION]
* NEW: Force symbolic creation in '/usr/bin'.

[DEVELOPMENT ENVIRONMENT]
* NEW: Newly created web forms are exported by default.

[TEMPLATES]
* NEW: Use gray icons.


git-svn-id: svn://localhost/gambas/trunk@7846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-18 18:56:20 +00:00
Benoît Minisini
0c88271683 [CONFIGURATION]
* NEW: Update the Gambas appdata XML file.


git-svn-id: svn://localhost/gambas/trunk@7845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 23:52:12 +00:00
Benoît Minisini
b588ef3db8 [GB.GUI.BASE]
* BUG: Workaround a GTK+ crash. Apparently GTK+ does not like if Control.Lower() is called during an Arrange event handler.


git-svn-id: svn://localhost/gambas/trunk@7844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 23:24:09 +00:00
Benoît Minisini
0c4abb59fa [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting F11 correctly selects the 'Console' button.


git-svn-id: svn://localhost/gambas/trunk@7843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 20:16:12 +00:00
Benoît Minisini
86fe572568 [GB.DB]
* BUG: Fix a memory leak in blob handling when using a PostgreSQL database.


git-svn-id: svn://localhost/gambas/trunk@7841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-16 17:25:46 +00:00
Benoît Minisini
676d06b0d7 [GB.GTK]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.

[GB.GTK3]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.


git-svn-id: svn://localhost/gambas/trunk@7840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-15 12:56:57 +00:00
Benoît Minisini
33b6b23b6a [DEVELOPMENT ENVIRONMENT]
* NEW: The editor pop-up menu is now accessible from the top menu-bar through an "Edit" menu.

[GB.QT4]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.QT5]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.GTK]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!

[GB.GTK3]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!


git-svn-id: svn://localhost/gambas/trunk@7839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-14 14:50:03 +00:00
Benoît Minisini
df76f9d649 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() has been implemented without using a XDG script that does not exist anymore.
* BUG: Desktop.OpenTerminal() should work correctly on Cinammon now. It uses 'xterm' if no other terminal program is found.



git-svn-id: svn://localhost/gambas/trunk@7838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-13 19:17:34 +00:00
Benoît Minisini
34df9f3d4c [INTERPRETER]
* NEW: When searching a relative path inside an archive, ignore trailing slashes: "foo/bar/" and "/foo/bar//" are now the same as "foo/bar".


git-svn-id: svn://localhost/gambas/trunk@7837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-13 14:58:28 +00:00
Benoît Minisini
491f4d0e2f [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Display the software full download count (all versions combined).

[FARM SERVER]
* NEW: Return the full download count of softwares.


git-svn-id: svn://localhost/gambas/trunk@7836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-13 11:54:32 +00:00
Benoît Minisini
f86841c55b [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Add a button for displaying "my" software, i.e. software having the same vendor as the one defined in the option dialog.
* NEW: Farm client: Add a button for displaying software from the same vendor as the current project.


git-svn-id: svn://localhost/gambas/trunk@7835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-12 22:17:53 +00:00
Benoît Minisini
656bb0f30d [GB.QT4]
* BUG: Fix a crash when checking the current hovered widget.

[GB.QT5]
* BUG: Fix a crash when checking the current hovered widget.


git-svn-id: svn://localhost/gambas/trunk@7834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-12 21:32:33 +00:00
Benoît Minisini
e71801407c [INTERPRETER]
* NEW: Process.CloseInput() is a new method that explicitly closes the process input, as if you send a CTRL+D from the shell. This implements the old process stream closing behaviour that was removed in revision #7622.


git-svn-id: svn://localhost/gambas/trunk@7833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-10 18:37:25 +00:00
Benoît Minisini
327cfb6a2f [GB.NET.CURL]
* NEW: Allow compilation with old versions of libcurl.


git-svn-id: svn://localhost/gambas/trunk@7832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-10 17:09:49 +00:00
Benoît Minisini
40005c385c [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming an exported class triggers an automatic rename of the class inside all project forms.

[GB.WEB]
* NEW: Session.Type is a now a string, and the default session type is now "sqlite".
* NEW: Remove the constants used by the Session.Type property when it was an integer number.
* OPT: SQLite sessions now only update the modified or removed session keys when saving the session.

[B.WEB.FORM]
* NEW: WebSpinBox: Implement the Step property.
* NEW: WebSlider: Implement the Step property.


git-svn-id: svn://localhost/gambas/trunk@7831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-10 00:42:43 +00:00
Benoît Minisini
5e9d52e73d [GB.GTK]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.

[GB.GTK3]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.


git-svn-id: svn://localhost/gambas/trunk@7830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-23 09:37:38 +00:00
Benoît Minisini
5355d8b955 [DEVELOPMENT ENVIRONMENT]
* NEW: The run button has a pop-up menu button only if at least one argument list has been defined in the project properties.
* NEW: Project property dialog: if the argument lists order changes, the current argument list index follows.

[GB.FORM]
* NEW: MenuButton: If no arrow is visible, and if no menu is defined, then the MenuButton raises the Click event.

[GB.WEB]
* NEW: Session.Type defines which kind of session store to use. At the moment, two are implemented. Session.File (the old one), and Session.Sqlite (based on a sqlite database).

[GB.WEB.FORM]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-22 22:12:35 +00:00
Benoît Minisini
11ad557188 [GB.SDL2]
* BUG: Fix function name SDL_GetWindowID() in Window_Handle property.


git-svn-id: svn://localhost/gambas/trunk@7828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-22 20:37:04 +00:00
Benoît Minisini
e9065fe232 [GB.WEB.FORM]
* OPT: Store debugging flag in the session.
* OPT: WebProgressBar: Optimize refresh.
* BUG: WebTable: Fix column Expand property on Firefox.
* BUG: WebUploadArea: Fix Enabled property.
* BUG: WebUploadArea: Fix behaviour.
* NEW: The dialog between the browser and the server is now serialized. It should fix many synchronisation problems when the user raises events too fast for the server.


git-svn-id: svn://localhost/gambas/trunk@7827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-21 02:21:37 +00:00
Benoît Minisini
c6535d8e9e [DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Fix argument list editor layout.


git-svn-id: svn://localhost/gambas/trunk@7826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:26:05 +00:00
Benoît Minisini
2a3ecf982d [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: New project arguments interface.
* NEW: Debugger: The project arguments is now selectable with a popup menu.
* BUG: Fix position history behaviour.

[INTERPRETER]
* NEW: Object.Type(), Object.Class() and Object.Is() now work with invalid objects.

[GB.FORM]
* NEW: Completion: Support for TextArea editor.
* NEW: Completion: Editor property is now writable.
* NEW: TableView: Raise a new Hide event when the editor is hidden.

[GB.FORM.EDITOR]
* NEW: TextEditor: CursorAt() is a new method that returns the cursor screen position from a line and a column.

[GB.GTK]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GTK3]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GUI.BASE]
* BUG: GridView: Newlines in cells with WordWrap property set are now taken into account correctly.

[GB.QT4]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.QT5]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.


git-svn-id: svn://localhost/gambas/trunk@7825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:01:59 +00:00
Benoît Minisini
40bc4ec9ec [GB.QT4]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.QT5]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK3]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.


git-svn-id: svn://localhost/gambas/trunk@7824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-17 16:15:07 +00:00
Benoît Minisini
383e34ea8b [GB.GTK3]
* BUG: Using colors with alpha component works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:31:21 +00:00
Benoît Minisini
8e1bc2a049 [GB.GTK3]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@7822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:06:06 +00:00
Benoît Minisini
f5c1dd7b00 [GB.GTK3]
* BUG: Background and Foreground colors should work as expected now.
* BUG: SpinBox: Minimum width is a bit larger now.


git-svn-id: svn://localhost/gambas/trunk@7821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:03:47 +00:00