Commit graph

5809 commits

Author SHA1 Message Date
Benoît Minisini
06cd506d44 [GB.WEB]
* BUG: Using Response.SendFile() correctly sets the Done property.
* BUG: Getting the sessions keys using sqlite works correctly now.

git-svn-id: svn://localhost/gambas/trunk@7960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 02:24:33 +00:00
Benoît Minisini
ab231c0bda [GB.WEB.FORM]
* BUG: The static public method HandleRequest is now correctly called in your startup form.
* NEW: Remove support for multiple main forms.
* NEW: WebTable: AddColumn() is a new method to add a column and defining its properties in one line of code.

git-svn-id: svn://localhost/gambas/trunk@7958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 00:28:57 +00:00
Benoît Minisini
a8314298c5 [GB.WEB]
* BUG: Don't modify DB.Current when sessions are managed with sqlite databases.

git-svn-id: svn://localhost/gambas/trunk@7957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 00:26:32 +00:00
Benoît Minisini
53dfe06549 [GB.WEB.FORM]
* BUG: WebTable: Selection is now correctly maintained between requests.

git-svn-id: svn://localhost/gambas/trunk@7955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-04 18:16:59 +00:00
Benoît Minisini
300ca377d8 [GB.WEB.FORM]
* BUG: WebContainer: Force a full refresh when the Visible property changes.
* NEW: WebTable: Add an Hidden property to the column object.
* NEW: WebUploadArea: Clear() is a new method that clears the possible uploaded file.


git-svn-id: svn://localhost/gambas/trunk@7953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-02 16:14:36 +00:00
Benoît Minisini
82ccc3e220 [GB.SDL2.AUDIO]
* BUG: Remove unneeded references to Channel objects, which lead to memory leak.


git-svn-id: svn://localhost/gambas/trunk@7952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-01 20:11:07 +00:00
Fabien Bodard
cbd2f25cbe [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the pretty code indentation on function Begin/End. I need to find a way to
       close indentations on functions without ending.


git-svn-id: svn://localhost/gambas/trunk@7951 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-01 08:00:29 +00:00
Fabien Bodard
143effc7f8 [GB.MAP]
* BUG: Now polyline work properly.
* BUG: Zoom down does not change the center of the map anymore.



git-svn-id: svn://localhost/gambas/trunk@7950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-31 09:31:15 +00:00
Benoît Minisini
5b3ea07d1d [GB.WEB.FORM]
* BUG: WebControl.Name is now writable, so that the Group virtual property can be used in the IDE.


git-svn-id: svn://localhost/gambas/trunk@7948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 13:32:41 +00:00
Benoît Minisini
c9085d0e27 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Workaround an interpreter crash when analyzing an expression including the LAST keyword.


git-svn-id: svn://localhost/gambas/trunk@7947 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 13:13:05 +00:00
Benoît Minisini
9c38cfb657 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: The description text box now expands vertically.
* BUG: Packager: Debian package description is now correctly generated in all cases.


git-svn-id: svn://localhost/gambas/trunk@7946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:46:11 +00:00
Benoît Minisini
b12c9123e8 [GB.NET.POP3]
* BUG: Pop3Client.Refresh() has been implemented. This method was needed to refresh the internal message cache, so that you don't have to open a new connection 
  each time you need to read the message box.

git-svn-id: svn://localhost/gambas/trunk@7945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:25:20 +00:00
Benoît Minisini
d475c9074c [GB.GTK]
* BUG: Window.Menus[] does not crash anymore.

[GB.GTK3]
* BUG: Window.Menus[] does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:16:16 +00:00
Benoît Minisini
724270e57b [GB.DBUS]
* BUG: Add debugging message to the GetAll() DBus method implementation.

git-svn-id: svn://localhost/gambas/trunk@7943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 22:43:30 +00:00
Benoît Minisini
63bc9c7314 [GB.DESKTOP]
* BUG: Setting Desktop.Passwords[] now works correctly if 'secret-tool' is used.

git-svn-id: svn://localhost/gambas/trunk@7942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 01:43:30 +00:00
Benoît Minisini
f79951fe9f [GB.DB]
* BUG: Connection.ApplyTemplate() now correctly handles a collation whose name is "default" in the template file.


git-svn-id: svn://localhost/gambas/trunk@7941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 01:38:56 +00:00
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