Commit graph

1938 commits

Author SHA1 Message Date
Benoît Minisini
8ef094e3e7 [GB.WEB]
* BUG: Sqlite sessions really do not override DB.Current anymore.


git-svn-id: svn://localhost/gambas/trunk@7979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 22:16:22 +00:00
Fabien Bodard
bf3cc26cee [GB.TERM.FORM]
* New: TermPictureBox: it's a new widget that allow to show picture in 256 colors. It is based
       on the gb.image and gb.image.io components.
* New: All the widgets are prefixed with 'Term'.
* Bug: TermControl: Now the borders are drawing on the right place.
* New: TermControl: A new hidden property allow to indicate if the content of the widget must
       be drawed in 256 color mode.


git-svn-id: svn://localhost/gambas/trunk@7978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:53:52 +00:00
Benoît Minisini
fe4450fd5a [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Editor: Fix error messages including HTML.
* NEW: Form editor: Support for WebFont properties.
* NEW: Form editor: New toolbar buttons for changing the font family.
* BUG: Form editor: CoordBox control now raises its Change event when it is cleared.
* NEW: WebForm: WebFont chooser dialog box.
* NEW: WebForm: Support for format toolbar buttons.
* NEW: Initial support for IDE extensions.
* BUG: Farm client: Fix software shortcuts removing.
* NEW: Farm client: Support for libraries.
* NEW: Farm client: Some look changes.
* BUG: Farm client: Fix tag editor.

[WEBSITE]
* NEW: Update to 3.9.1.

[FARM SERVER]
* NEW: Download count now takes all versions into account.

[GB.FORM]
* NEW: MessageViex: Add a Border property.
* NEW: Add a 'plugin' stock icon.

[GB.WEB.FORM]
* NEW: WebButton: Click() is a new method that triggers a button click.
* BUG: WebComboBox: Setting the Text property now correctly refreshes the control.
* NEW: WebControl: Font is a new property that allows to define some of the font CSS properties.
* BUG: WebControl: Modifying the Style property now correctly refreshes the control.
* NEW: WebControl: WebControl.Style.Exist() is a new property to know if a specific CSS property is explicitly defined.
* NEW: WebForm: Exec() is a new method to run some custom javascript in the browser.
* NEW: WebForm: Startup is a new property that allows to redefine the name of the startup form.
* NEW: WebTextBox: ShowClear is a new property that allows to enable a "clear" button inside the textbox.
* NEW: WebTextBox: Clear is a new event that is raised when the clear button is clicked. If that event is handled, then the control is not automatically cleared when clicking on the button.
* NEW: WebTextBox: Password is a new boolean property that puts the text box in password mode.
* BUG: WebControl: SetFocus() method now should work correctly in all cases.
* NEW: WebTable: Lines are now highlighted on mouse over, and separated by thin lines.


git-svn-id: svn://localhost/gambas/trunk@7977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:10:05 +00:00
Benoît Minisini
b73eeaac29 [GB.EVAL.HIGHLIGHT]
* NEW: Add some CSS properties and symbols.


git-svn-id: svn://localhost/gambas/trunk@7976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:01:35 +00:00
Benoît Minisini
db6e7c2607 [GB.ARGS]
* BUG: Fix help text for options having no short name.


git-svn-id: svn://localhost/gambas/trunk@7975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:00:21 +00:00
Benoît Minisini
ee8b73a992 [GB.FORM.STOCK]
* NEW: Update icons.
* NEW: Add 'plugin' stock icon.


git-svn-id: svn://localhost/gambas/trunk@7974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-15 14:59:02 +00:00
Benoît Minisini
db16463d2a [GB.FORM]
* BUG: MenuButton: Automatic menu popup routine should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-15 14:55:34 +00:00
Fabien Bodard
d7c6daff37 [GB.TERM.FORM]
* NEW: Control: Now the Colors are inheritable from the containers
* NEW: Frame: New control Frame. It's a container with a title
* NEW: CheckBox: New control CheckBox
* BUG: Control: Resizing the terminal emulator now don't crash the renderer.
* NEW: Panel: Add some features.



git-svn-id: svn://localhost/gambas/trunk@7972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-14 11:19:44 +00:00
Benoît Minisini
51f1e9b853 [GB.WEB.FORM]
* NEW: WebDataBox: DateTime is a new property that allows the control to accept a time part.


git-svn-id: svn://localhost/gambas/trunk@7970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-14 02:57:03 +00:00
Benoît Minisini
1013f312d1 [GB.WEB.FORM]
* BUG: WebForm: Correctly restore automatic instances between request.
* BUG: WebForm: The Hide() method works as expected now.
* NEW: WebForm: Persistent is a new property that tells a form must be hidden instead of being deleted when clicking on the close button or calling the Close() method.


git-svn-id: svn://localhost/gambas/trunk@7969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-13 15:29:23 +00:00
Fabien Bodard
bb4b631e48 [GB.TERM.FORM]
* New: Button: Button is a new Class that diplays a button
* New: Container: Function for Vertical and horizontal arrangement. An invert function allow to invert the
  arrangement way.
* New: HBox: is a container class with default arragement set to horizontal.
* New: Control: Many changes in the Control class. Support for Borders ans Shadow. Management of the ClientSpace.



git-svn-id: svn://localhost/gambas/trunk@7968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-13 08:35:14 +00:00
Benoît Minisini
508e522c84 [GB.ARGS]
* BUG: Take UTF-8 into account when formatting help text.

git-svn-id: svn://localhost/gambas/trunk@7967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-07 09:14:02 +00:00
Benoît Minisini
1ccc3f7324 [GB.WEB.FORM]
* BUG: WebForm: Prevent non resizable dialog window from expanding to fit its contents.

git-svn-id: svn://localhost/gambas/trunk@7965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-07 08:21:59 +00:00
Fabien Bodard
0018f61166 [GB.SPELL]
* New: Rename the component to gb.term.form.



git-svn-id: svn://localhost/gambas/trunk@7964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:41:35 +00:00
Fabien Bodard
ae15e27416 [GB.TERMAPP]
* NEW: This component is deprecated


git-svn-id: svn://localhost/gambas/trunk@7963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:11:29 +00:00
Fabien Bodard
fb1c2b2efb [GB.SPELLS]
* NEW: First release. Begin to put the structure in place.


git-svn-id: svn://localhost/gambas/trunk@7962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:08:43 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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