Commit graph

5743 commits

Author SHA1 Message Date
Benoît Minisini
cf467669a0 [GB.INOTIFY]
* BUG: Creating a watch with a null path now raises an error instead of crashing.


git-svn-id: svn://localhost/gambas/trunk@7940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 01:35:40 +00:00
Benoît Minisini
5d34538e33 [INTERPRETER]
* BUG: Exec with a null program name does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-28 10:12:09 +00:00
Benoît Minisini
107b35a48e [GB.DESKTOP]
* NEW: Support for cygwin desktops.

git-svn-id: svn://localhost/gambas/trunk@7938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-27 11:05:39 +00:00
Benoît Minisini
1c81873534 [GB.WEB]
* NEW: If Http-Accept-Language header is void, Request.Language returns the current system language instead of "C".
* NEW: Mime types for 'json', 'kml' & 'kmz' files. Used by the Response.SendFile() method.


git-svn-id: svn://localhost/gambas/trunk@7936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-25 02:41:22 +00:00
Benoît Minisini
a39a89c6f1 [GB.WEB.FORM]
* NEW: WebForm.Download() is a new static method that triggers a file download on the client side.
* BUG: WebTextBox: The default event is "Change" now.
* BUG: Allows quotes in automatic completion items.


git-svn-id: svn://localhost/gambas/trunk@7935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-25 02:37:16 +00:00
Benoît Minisini
8b09edbe72 [GB.MEDIA.FORM]
* NEW: MediaView: Expose the inner MediaPlayer AboutToFinish event.
* NEW: MediaView: Expose the inner MediaPlayer NextURL property.


git-svn-id: svn://localhost/gambas/trunk@7934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-21 02:12:14 +00:00
Benoît Minisini
8fbd5bda52 [GB.MEDIA]
* NEW: Link explicitly with the thread library.
* BUG: MediaPipeline: Prevent message callback routine possible recursion.
* NEW: MediaPipeline: Raise the Start event when a new stream is started.
* NEW: MediaPipeline: The Position and Duration properties are now computed during the message callback routine.
* NEW: MediaPipeline: Raise the AboutToFinish event two seconds before the stream end.
* NEW: MediaPlayer: NextURL is a new property that you must set to define the next stream that will be played without gap.
* NEW: MediaPlayer: Setting the URL property now automatically stops the player.
* NEW: MediaPlayer: The AboutToFinish event is now raised by MediaPipeline. This is not the GStreamer 'about-to-finish' signal anymore.


git-svn-id: svn://localhost/gambas/trunk@7933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-21 02:09:34 +00:00
Nigel Gerrard
7ba710f802 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixed bug 1019 IDE Crash when deleting code

git-svn-id: svn://localhost/gambas/trunk@7932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-15 15:33:21 +00:00
Nigel Gerrard
41895f5a54 [GB.JIT]
* BUG: Fix to locate JIT.H and resolve issue where multiple versions of llvm present. JIT.H is only available prior to llvm 5.6 and GB.JIT can only be compiled with those versions.

[GB.SDL]
* NEW: Cygwin needs the shared library x11 - as per Bastian Germann

[GB.XML]
* NEW: Cygwin changes - as per Bastian Germann 

git-svn-id: svn://localhost/gambas/trunk@7931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-13 14:20:33 +00:00
Benoît Minisini
a28a30d0f4 [GB.GUI.BASE]
* BUG: GridView: Stop the scrolling timer when focus is lost, as if you open a modal dialog during a MouseDown event, you don't get the MouseUp event! Maybe I should systematically raise a fake MouseUp event when focus is lost, and QT didn't send it.


git-svn-id: svn://localhost/gambas/trunk@7930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:42:40 +00:00
Benoît Minisini
a2893370b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: The "SQL request" button is now an entry in the table list.
* NEW: Connection editor: The database description is now the tooltip of the database configuration button.


git-svn-id: svn://localhost/gambas/trunk@7929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:39:13 +00:00
Benoît Minisini
808414bd76 [GB.DESKTOP]
* BUG: Use KDE5 wallet when the desktop is KDE5. Use a possible old KDE4 wallet only if no password is found in the KDE5 wallet.


git-svn-id: svn://localhost/gambas/trunk@7928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:36:05 +00:00
Benoît Minisini
d3394e98aa [DEVELOPMENT ENVIRONMENT]
* NEW: Allow files located in a linked directory to be modified only if they are opened in fake mode, i.e. alone.


git-svn-id: svn://localhost/gambas/trunk@7927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-08 12:35:58 +00:00
Benoît Minisini
1b673641f3 [INTERPRETER]
* BUG: Timer delay is now stored in 31 bits, and so can now be up to 2^31 - 1 milliseconds, i.e. about 24 days, 20 hours and 31 seconds.


git-svn-id: svn://localhost/gambas/trunk@7925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-05 15:28:40 +00:00
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