Commit graph

5729 commits

Author SHA1 Message Date
Benoît Minisini
89f509eea2 [GB.DBUS.TRAYICON]
* BUG: Remove a debugging message

git-svn-id: svn://localhost/gambas/trunk@7923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-03 16:26:15 +00:00
Benoît Minisini
97b8bc2056 [INTERPRETER]
* BUG: The translation file of the project is now always correctly loaded. That was a very old bug.


git-svn-id: svn://localhost/gambas/trunk@7919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-01 22:32:42 +00:00
Sebastian Kulesz
842b5f5e7f [GB;LOGGING]
* NEW: Early implementation of automatic log rotation.



git-svn-id: svn://localhost/gambas/trunk@7918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-24 22:55:50 +00:00
Charlie Reinl
1e2167d931 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() should work correctly on SuSE now. It uses 
'kdsu' if 'kdsudo'  is not found.
* NEW: Desktop.RunAsRoot() It uses 'gksu' if 'gksudo'  is not found.



git-svn-id: svn://localhost/gambas/trunk@7917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-21 10:05:42 +00:00
Charlie Reinl
ab9f8fa4e5 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() should work correctly on SuSE now. It uses 'kdsu' if 'kdsudo'  is not found.
* NEW: Desktop.RunAsRoot() It uses 'gksu' if 'gksudo'  is not found.



git-svn-id: svn://localhost/gambas/trunk@7916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-21 09:16:05 +00:00
Benoît Minisini
44535e92c2 [DEVELOPMENT ENVIRONMENT]
* NEW: The package name of the library is now always prefixed with the vendor name or prefix, so that this name is predictable.
* BUG: Consequently, making a package of a project using another library does not crash anymore if that library was never packaged.
* NEW: When creating the package, display the messages in a box below the output log. Do not use message boxes anymore.
* NEW: When uninstalling a library, automatically remove the vendor directory if it is void.
* NEW: When uninstalling a software installed from the farm, automatically remove the vendor directory if it is void.


git-svn-id: svn://localhost/gambas/trunk@7915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-20 01:16:32 +00:00
Benoît Minisini
47a894d70b [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog: Software button is disabled if no software is installed.
* BUG: Welcome dialog: Software and example lists are automatically refreshed after the farm software client has been used.
* NEW: Welcome dialog: Software can be uninstalled by clicking on the little icon on the top right of the software box.



git-svn-id: svn://localhost/gambas/trunk@7914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-18 00:06:38 +00:00
Benoît Minisini
4741e05c88 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Support for library publishing and library installation.
* NEW: Translation: Locations of translated strings should be more readable now.


git-svn-id: svn://localhost/gambas/trunk@7913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-16 22:02:30 +00:00
Adrien Prokopowicz
98c990ceb1 [GB.XML]
* BUG: XmlNode.Attributes now works correctly when getting empty attributes.
* BUG: XmlElement.GetAttribute() now works correctly with empty attributes.

git-svn-id: svn://localhost/gambas/trunk@7912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 12:37:08 +00:00
Tobias Boege
6d5cc42da0 [GB.XML]
* BUG: XmlNode: Don't crash when _get()'ing an empty attribute value



git-svn-id: svn://localhost/gambas/trunk@7911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 11:53:40 +00:00
Benoît Minisini
0282763790 [GB.FORM]
* NEW: DirChooser,FileChooser: Add a "delete directory" menu that can delete void directories only.
* BUG: DirView: File watch events does not disturb renaming anymore.


git-svn-id: svn://localhost/gambas/trunk@7910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 02:17:30 +00:00
Benoît Minisini
2bba617295 [GB.FORM.EDITOR]
* BUG: TextEditor: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 00:44:05 +00:00
Benoît Minisini
91ea1ee655 [GB.FORM.EDITOR]
* BUG: TextEditor: Editor works correctly again when a procedure is collapsed.


git-svn-id: svn://localhost/gambas/trunk@7908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 00:43:03 +00:00
Benoît Minisini
87042b2709 [DEVELOPMENT ENVIRONMENT]
* BUG: Optionally load 'gb.inotify' component.


git-svn-id: svn://localhost/gambas/trunk@7907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-12 19:17:58 +00:00
Benoît Minisini
6a9ec95794 [GB.SETTINGS]
* BUG: Always mark a settings object as modified when putting an array or a collection in any key.


git-svn-id: svn://localhost/gambas/trunk@7900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-08 21:24:00 +00:00
Benoît Minisini
d2afc5bc00 [GB.GTK]
* BUG: TextBox: Make SetFocus() not select the text.

[GB.GTK3]
* BUG: TextBox: Make SetFocus() not select the text.


git-svn-id: svn://localhost/gambas/trunk@7899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-07 20:08:36 +00:00
Benoît Minisini
ef3a67c173 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a type in french tips.
* BUG: Initial state of stop and pause buttons should be correct now.


git-svn-id: svn://localhost/gambas/trunk@7897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-07 19:06:07 +00:00
Benoît Minisini
6d7e74bad5 [GB.XML]
* BUG: Fix the previous fix in r7894.


git-svn-id: svn://localhost/gambas/trunk@7895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 22:39:17 +00:00
Benoît Minisini
abb3ca308f [GB.XML]
* BUG: XML parser does not crash anymore when the final '>' of a closing tag is missing.


git-svn-id: svn://localhost/gambas/trunk@7894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 19:34:09 +00:00
Henrique
c735544b9b [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 17:22:07 +00:00
Tobias Boege
362c045896 [CONFIGURATION]
* NEW: Enable gb.openssl for OpenSSL < 1.0.0 if EVP_MD_do_all() is present.

[GB.OPENSSL]
* NEW: Digest: Try again to support OpenSSL 0.9.8o.



git-svn-id: svn://localhost/gambas/trunk@7892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 16:27:18 +00:00
Benoît Minisini
236a3a191e [INTERPRETER]
* BUG: Define "__STDC_FORMAT_MACROS" macro in 'gb_common.h', so that C++ source files using '<inttypes.h>' compile even with old gcc versions.


git-svn-id: svn://localhost/gambas/trunk@7891 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 15:55:03 +00:00
Benoît Minisini
d6c673e911 [GB.IMAGE.IO]
* BUG: Really fix warning on 32 bits systems.


git-svn-id: svn://localhost/gambas/trunk@7888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:53:43 +00:00
Benoît Minisini
dd180e03ee [COMPILER]
* BUG: Fix internal datatype analyze. The compiler should not crash anymore on ARM.

[GB.DB.ODBC]
* BUG: Fix a 32-bits 'sprintf' format bug.

[GB.IMAGE.IO]
* BUG: Fix a 32-bits 'sprintf' format bug.

[GB.XML]
* BUG: Fix a 32-bits 'sprintf' format bug.


git-svn-id: svn://localhost/gambas/trunk@7887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:45:59 +00:00
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