Commit graph

2205 commits

Author SHA1 Message Date
Fabien Bodard
4f7537f282 [GB.FORM.EDITOR]
* NEW: TextEditor: The ShowSideBar property is renamed ShowPreview.
* NEW: Now editor preview is moved on the left or right depend to 
       the System.RightToLeft property.
* NEW: Some cosmetic changes, the preview taque all the height of the editor
       and the buttons are visible only on fly.
       


git-svn-id: svn://localhost/gambas/trunk@8014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-18 19:16:23 +00:00
Fabien Bodard
d221300a37 [GB.FORM.EDITOR]
* BUG: TextEditor: Now text that not begin with a commented line can be opened.



git-svn-id: svn://localhost/gambas/trunk@8012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-13 09:17:20 +00:00
Fabien Bodard
172da9b893 [GB.FORM.EDITOR]
* BUG: TextEditor: Limit the "magnifying" editor refresh.


git-svn-id: svn://localhost/gambas/trunk@8011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-12 14:18:27 +00:00
Fabien Bodard
696c2bafc2 [GB.FORM.EDITOR]
* New: TextEditor: Add a new property ShowSideBar that display a preview style scrolling bar. 
       This tool tries to make walking through the code more efficiently.
       


git-svn-id: svn://localhost/gambas/trunk@8009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-12 13:35:26 +00:00
Fabien Bodard
d12a73babc [GB.FORM.STOCK]
* BUG: Put the good icon for 'lock' in size 22.


git-svn-id: svn://localhost/gambas/trunk@8008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-08 05:36:36 +00:00
Benoît Minisini
386ce693e7 [GB.GUI.BASE]
* BUG: IconView: Correctly refresh layout when icon pictures are made smaller.

git-svn-id: svn://localhost/gambas/trunk@8000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-27 20:06:51 +00:00
Benoît Minisini
eb58963f0f [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:23:51 +00:00
Benoît Minisini
f574c1518c [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:22:39 +00:00
Benoît Minisini
ceae144f12 [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:21:47 +00:00
Benoît Minisini
bb9d7ebc33 [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:16:11 +00:00
Benoît Minisini
dcdcb4c04f [GB.WEB.FORM]
* BUG: Fix management of events that do not use waiting animation.
* NEW: Waiting animation now uses a darker shadow.

git-svn-id: svn://localhost/gambas/trunk@7989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:12:55 +00:00
Benoît Minisini
cb6250977a [GB.WEB]
* NEW: Response.Cancel() is a new method that allows to cancel a response, provided that nothing has been sent to the client yet. It requires at least that the response is buffered.

[GB.WEB.FORM]
* BUG: Better error handling. Now unexpected errors should be displayed in the browser through an alert box in almost all cases.


git-svn-id: svn://localhost/gambas/trunk@7988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-19 11:24:40 +00:00
Benoît Minisini
3b8625f1d1 [GB.WEB.FORM]
* BUG: WebUploadArea: It should behave correctly in all cases now.
* NEW: Display an animation when waiting for the answer of an event more than 500 ms.


git-svn-id: svn://localhost/gambas/trunk@7987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-19 10:29:20 +00:00
Benoît Minisini
69661715a5 [GB.WEB.FORM]
* BUG: Another fix for unique sessions using SQLite.

git-svn-id: svn://localhost/gambas/trunk@7986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-18 23:45:20 +00:00
Benoît Minisini
bb9d1d8373 [GB.WEB]
* BUG: Session.Unique now correctly clear sessions when using SQLite.

git-svn-id: svn://localhost/gambas/trunk@7985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-18 23:28:26 +00:00
Benoît Minisini
a14976969b [GB.WEB]
* BUG: Session.Unique works again.

git-svn-id: svn://localhost/gambas/trunk@7981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-17 04:42:18 +00:00
Benoît Minisini
97a144de6f [GB.WEB.FORM]
* BUG: WebButton: Fix incorrect generated HTML when a button has both text and image.

git-svn-id: svn://localhost/gambas/trunk@7980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-17 01:03:38 +00:00
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
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
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
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
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
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
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
8647a12953 [CONFIGURATION]
* NEW: Search libffi in more directories to find it on CentOS.

[DEVELOPMENT ENVIRONMENT]
* NEW: Mark PlaceHolder properties as translatable.
* NEW: Make font smaller in autocompletion help.
* BUG: Reset class symbol list everytime its source file is modified.
* BUG: Form editor: Renaming a selected control does not crash anymore.
* NEW: Custom drawing for WebButton controls.
* NEW: Cleaning a project directory now deletes valgrind output files.
* NEW: "--cleanup" is a new command-line option to clean a project directory.

[GB.WEB.FORM]
* NEW: Let the IDE draw WebButton controls.
* NEW: Draw WebHtml controls using TextLabel.
* NEW: Draw WebScrollView controls using ScrollView.


git-svn-id: svn://localhost/gambas/trunk@7820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-15 15:13:10 +00:00
Benoît Minisini
9b74c7ebf3 [GB.FORM]
* BUG: ColorChooser: Use a different layout so that the control is usable with GTK+3.


git-svn-id: svn://localhost/gambas/trunk@7817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 19:42:25 +00:00
Benoît Minisini
fa2868f204 [GB.WEB.FORM]
* NEW: WebComboBox: Activate is a new event that is raised when the user hits the ENTER key in an editable combo-box.
* NEW: WebComboBox: PlaceHolder is a new property that allows to define the placeholder text displayed inside the editable combo-box when it is void.
* OPT: WebComboBox: Optimize the Text property refresh.
* OPT: WebControl: Optimize the Visible property refresh.
* BUG: WebForm.AddJavascriptFile() now works correctly.
* NEW: WebTable: ShowHeader is a new property tha t allows to hide the table header.
* NEW: WebTextArea: PlaceHolder is a new property that allows to define the placeholder text displayed inside the text area when it is void.
* NEW: WebTextBox: Activate is a new event that is raised when the user hits the ENTER key in the text box.
* NEW: WebTextBox: PlaceHolder is a new property that allows to define the placeholder text displayed inside the text box when it is void.
* OPT: WebTextBox: Optimize the Text property refresh.


git-svn-id: svn://localhost/gambas/trunk@7816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 15:10:29 +00:00
Benoît Minisini
ded01083f2 [GB.FORM]
* BUG: SpinBar: Take Enabled and Design properties into account.
* NEW: SpinBar: Add the Border property.
* BUG: SpinBar: Fix many layout problems.
* NEW: SpinBar: Draw SpinBar border using style.
* BUG: SpinBar: Handle font changes.


git-svn-id: svn://localhost/gambas/trunk@7814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-10 16:43:52 +00:00
Benoît Minisini
95fae906c3 [GB.GUI.BASE]
* BUG: GridView: Take Foreground property into account.


git-svn-id: svn://localhost/gambas/trunk@7812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-08 16:09:37 +00:00
Benoît Minisini
56340ea4bd [GB.WEB.FORM]
* BUG: WebTextBox: Report the Text property to the server when the control has lost the focus.
* BUG: WebComboBox: Report the Text property to the server when the control has lost the focus.


git-svn-id: svn://localhost/gambas/trunk@7811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:51:00 +00:00
Benoît Minisini
e2a1b7e3eb [GB.WEB.FORM]
* BUG: Setting focus on unknown elements is now silently ignored.


git-svn-id: svn://localhost/gambas/trunk@7810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:38:19 +00:00
Benoît Minisini
5da4e95533 [GB.WEB.FORM]
* BUG: Don't try to refresh controls that are hidden.


git-svn-id: svn://localhost/gambas/trunk@7809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:27:42 +00:00
Benoît Minisini
22da14f4ee [GB.WEB.FORM]
* OPT: WebContainer: optimisation of element insertion and deletion.
* BUG: WebLabel: Text contents is now kept on one line and cut.
* OPT: WebLabel: The Text property only refreshed the labels contents.
* NEW: WebControl: Dialog is a new event raised when a window opened with ShowModal() is closed.
* NEW: WebControl: SetFocus() method now takes an optional boolean argument that tells to highlight the focused control.
* NEW: The "/~dump" URL dumps the current session contents.
* NEW: Errors are now displayed in an alert box inside the browser.
* NEW: WebTable: The DblClick event is raised when clicking twice on a row.
* OPT: WebTable: Selecting a row now is faster, as it does not refresh the entire table anymore.
* NEW: WebTable: The Current property returns or sets the current selected row.
* BUG: WebTable: The Columns[].Wrap property now works as expected.
* NEW: WebTextBox: The Clear() method clears the text box contents.
* NEW: WebWindow: The Close() method now takes an optional argument that is sent to the Dialog event raise after the window has been closed, provided it has been shown modal.
* BUG: Focus should be correctly restored in all cases when a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@7808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 21:52:59 +00:00
Benoît Minisini
9c325f5e34 [GB.EVAL.HIGHLIGHT]
* NEW: Add missing symbol in css highlighting.

[GB.WEBFORM]
* NEW: Make gb.web.form translatable.
* NEW: Add the Scroll class to store the ScrollBar property constants.
* BUG: WebControl: Padding and Margin now use "rem" instead of "em".
* NEW: WebScrollView: Add the ScrollBar property to hide one or both scrollbars.
* NEW: WebScrollView: SetHeaders() is a new method that allows to define the headers of the ScrollView as two other WebScrollView controls whose scroll position will be automatically synchronized.
* NEW: WebScrollView now raises the Scroll event.
* NEW: WebTabPanel: ShowTabs is a new property that allows to hide the tabs.
* NEW: WebTable: Step is a new property that allows to define the number of rows that are loaded when reaching the table end.


git-svn-id: svn://localhost/gambas/trunk@7805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-26 02:42:23 +00:00
Benoît Minisini
b6becf78b8 [GB.WEB.FORM]
* NEW: WebCheckBox: Default event is "Click".
* NEW: WebRadioButton: Default event is "Click".
* NEW: WebControl: Add as specific class for disabled controls.
* NEW: WebControl.Enabled now return FALSE as soon as a parent is disabled.
* NEW: Disabled look for WebRadioButton and WebCheckBox.
* BUG: WebSpinBox minimum height is the same as WebTextBox.


git-svn-id: svn://localhost/gambas/trunk@7799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-11 14:20:20 +00:00
Benoît Minisini
3eb078c345 [GB.WEB.FORM]
* BUG: WebButton: Fix button image layout.
* NEW: WebTextBox: Handling the Completion event enables automatic completion. The CompleteWith() method must then be called to return to the web browser the list of completion elements.
* NEW: WebForm: Reload() is a new method that clears the session and reload the page, if the WebForm is it called on is the current one.


git-svn-id: svn://localhost/gambas/trunk@7796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-05 20:58:11 +00:00
Benoît Minisini
dd61c608aa [GB.FORM.TERMINAL]
* NEW: TerminalView: Mouse wheel now scrolls the terminal if it has no requested mouse events.

[GB.WEB.FORM]
* BUG: WebButton: Setting Text and Image property now refreshes the control only if the value has actually changed.
* NEW: WebButton: Image property can be an absolute path.
* NEW: WebContainer: All containers are now "position: relative".
* BUG: WebLabel: Setting Text property now refreshes the control only if the value has actually changed.
* NEW: WebTable: ShowCheck is a new property, set by default. If not set, the first column of checkboxes or radiobuttons is hidden, and the table behaves a bit like a ListBox.
* BUG: WebUploadArea: Spurious Progress events are not raised anymore once the upload is finished.
* OPT: WebWindow: Windows are now positioned through a 2D translation instead of setting the top and left positions. That way, the browser won't recalculate its layout, and the window moves are faster. Especially on Firefox.
* NEW: Initial internal support for automatic completion.
* BUG: WebWindow: Deactivated window title is visible again.


git-svn-id: svn://localhost/gambas/trunk@7795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-01 23:59:23 +00:00
Willy Raets
bfde6dfe69 [GB.FORM]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:53:43 +00:00
Willy Raets
d2dfdbef61 [GB.FORM.MDI]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:50:45 +00:00
Willy Raets
18a2d3b508 [GB.REPORT2]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:46:58 +00:00
Willy Raets
d4e8cfd761 [GB.WEB.FORM]
* NEW: Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:39:00 +00:00
Benoît Minisini
f57d3273fe [CONFIGURATION]
* NEW: Support for Haiku operating system.
* BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages.

[GB.FORM]
* NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces.

[GB.UTIL.WEB]
* BUG: Fix collection generation in JSON.Encode().

[GB.WEB.FORM]
* NEW: WebImage: Add the Border property.
* NEW: WebImage: Image property now can be an absolute path.
* BUG: WebButton: Workaround Firefox not supporting flex on buttons.
* BUG: WebComboBox: Enabled property is now taken into account.
* BUG: WebUploadArea: The file name now keeps the uploaded file extension.


git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-24 16:18:48 +00:00
Benoît Minisini
8b0f227a66 [GB.FORM.TERMINAL]
* BUG: Fix two inverted escape sequences: "\e[48;5;<color>m" and "\e[38;5;<color>m".


git-svn-id: svn://localhost/gambas/trunk@7784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 21:10:21 +00:00
Fabien Bodard
7e08378924 [GB.TERMAPP]
* NEW: Continue working on the renderer. 


git-svn-id: svn://localhost/gambas/trunk@7783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 20:36:07 +00:00
Benoît Minisini
7da504f610 [GB.WEB.FORM]
* BUG: Fix WebProgressBar control icon symbolic link.


git-svn-id: svn://localhost/gambas/trunk@7782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 15:26:39 +00:00
Benoît Minisini
2954a7fbd2 [GB.WEB.FORM]
* OPT: Allow to specify "naked" containers, that render nothing by themselves except their children.
* BUG: WebUploadArea: Fix the Path property.


git-svn-id: svn://localhost/gambas/trunk@7781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 15:20:46 +00:00
Benoît Minisini
9b13b69fda [GB.DBUS]
* NEW: The application now registers to the DBus bus with its process id added to its name.
* NEW: DBus.Unique is a new property that sets if the application should be unique on the DBus bus. If set, then the process id is not added to the name when registering.
* BUG: If DBus.Unique is set, then registering the application a second time raises an error.


git-svn-id: svn://localhost/gambas/trunk@7779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 15:59:31 +00:00
Benoît Minisini
0a0157878d [GB.DESKTOP]
* BUG: Fix Unity indicator unregistration in TrayIcon.Delete() method.


git-svn-id: svn://localhost/gambas/trunk@7778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 13:19:03 +00:00
Benoît Minisini
cbdd2e83e3 [GB.DESKTOP]
* BUG: Use the same desktop detection algorithm than GUI components.

[GB.GTK]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.GTK3]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT4]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT5]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.



git-svn-id: svn://localhost/gambas/trunk@7777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 12:22:06 +00:00
Benoît Minisini
0a41a36031 [GB.DESKTOP]
* NEW: Support for Cinnamon


git-svn-id: svn://localhost/gambas/trunk@7776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 11:25:45 +00:00
Benoît Minisini
673dd259e8 [GB.DBUS.TRAYICON]
* NEW: Deleting a TrayIcon now unregisters it when Unity-like indicator protocol is in use.
* NEW: Support for Cinnamon. Note that the Cinnamon system tray does not send the click events specified by the protocol. Consequently, you get no Click, MiddleClick and Scroll events!


git-svn-id: svn://localhost/gambas/trunk@7775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 11:15:35 +00:00
Benoît Minisini
c50a343534 [GB.DBUS.TRAYICON]
* NEW: Add support for the XAyatanaLabel property. It actually returns the TrayIcon Text property.


git-svn-id: svn://localhost/gambas/trunk@7774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 10:12:40 +00:00
Benoît Minisini
811bbb9745 [DEVELOPMENT ENVIRONMENT]
* BUG: Give fous to the terminal when the program is started.
* NEW: Connection editor: Add "select all" and "unselect all" buttons to the DataView.

[GB.DB.FORM]
* BUG: DataView: Allow selection unless the current record is a new record.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method resets more things.
* BUG: TerminalView: Flush the output buffer when the running process ends.

[GB.UTIL]
* BUG: Date.FromUnixTime() now correctly ignores the current timezone.

[GB.UTIL.WEB]
* OPT: JSON.Encode() is now a lot faster, thanks to Alexander Kuiper.

[GB.WEB.FORM]
* BUG: WebDateBox: Fix "_Similar" property.
* BUG: WebComboBox: Fix "_Similar" property.
* NEW: WebDateBox: Value is now a synonymous for the Date property.


git-svn-id: svn://localhost/gambas/trunk@7772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-13 12:38:58 +00:00
Benoît Minisini
7c4220f210 [GB.FORM]
* BUG: FileView: Enable/disable file watches on Show/Hide events.
* BUG: DirView: Enable/disable file watches on Show/Hide events.


git-svn-id: svn://localhost/gambas/trunk@7771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 14:28:09 +00:00
Benoît Minisini
cb9dcb4d4b [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the debug panel when the console is put in floating mode.
* BUG: Take the "invert theme" option when initializing the colors of a specific control.

[GB.FORM]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.

[GB.QT5]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.


git-svn-id: svn://localhost/gambas/trunk@7770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 13:15:31 +00:00
Benoît Minisini
a38aff282c [GB.FORM]
* OPT: DirView: Disable file watches when the control is hidden.
* OPT: DirView: Delay the view refresh when a watch event is received.
* BUG: DirView: Remove debugging messages.



git-svn-id: svn://localhost/gambas/trunk@7769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 01:15:43 +00:00
Benoît Minisini
9fa485e790 [GB.FORM]
* NEW: If 'gb.inotify' component is loaded, then FileView and DirView will use it to automatically refresh when something changes on the file system.
* NEW: FileView: Preview refresh optimization.

[GB.GUI.BASE]
* NEW: IconView: Add ScrollX, ScrollY, ScrollWidth, ScrollHeight, ClientWidth and ClientHeight properties.
* NEW: IconView: Add the Scroll() method.


git-svn-id: svn://localhost/gambas/trunk@7767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 00:07:42 +00:00
Benoît Minisini
698f02d200 [DEVELOPMENT ENVIRONMENT]
* BUG: The terminal output now works as expected when the project is running.

[WIKI]
* BUG: The '@classes' special command now detect the class descriptions in non-english languages correctly.

[GB.FORM.TERMINAL]
* BUG: TerminalView: The top right character can be selected now.
* BUG: TerminalView: Goto() method now ensures that the cursor is visible.
* NEW: TerminalView: Count is a new property that returns the number of lines in the terminal (not the screen height).


git-svn-id: svn://localhost/gambas/trunk@7762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 11:21:55 +00:00
Benoît Minisini
95ed98b5ac [GB.FORM]
* BUG: Fix InputBox layout.


git-svn-id: svn://localhost/gambas/trunk@7758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 18:57:37 +00:00
Benoît Minisini
d15a425953 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish the redesign of the debug panel.

[INTERPRETER]
* BUG: Fix a stack mismatch leading to a crash in Eval() when an "Unknown symbol" error occurs.

[GB.FORM]
* BUG: SidePanel: The Hide event is now raised after the SidePanel has been actually hidden.


git-svn-id: svn://localhost/gambas/trunk@7754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 01:38:46 +00:00
Benoît Minisini
b798aa6547 [CONFIGURATION]
* BUG: Add gb.form.terminal to the component installation list.


git-svn-id: svn://localhost/gambas/trunk@7753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-03 11:37:43 +00:00
Benoît Minisini
1fe49aaff4 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Allow to ignore missing components when installing a software.

[GB.FORM]
* BUG: TerminalView: Better scrollbar layout. Put the scrollbar on the left for right-to-left written languages.

[GB.NET.CURL]
* BUG: Closing a CURL stream object does not raise an error anymore. It just does nothing.


git-svn-id: svn://localhost/gambas/trunk@7752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-03 01:07:39 +00:00
Benoît Minisini
5da7ed1c4e [DEVELOPMENT ENVIRONMENT]
* BUG: Remove old console search code.

[GB.FORM]
* NEW: MenuButton controls now automatically pop up when one of their sibling is already opened.

[GB.FORM.EDITOR]
* NEW: TextEditor: The cursor position label background is now semi-transparent.

[GB.GTK]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.GTK3]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT4]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT5]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.


git-svn-id: svn://localhost/gambas/trunk@7751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 23:55:10 +00:00
Benoît Minisini
0b928f80ef [DEVELOPMENT ENVIRONMENT]
* NEW: Use terminal emulator control from gb.form.terminal as console output.
* NEW: You cannot search into the terminal output directly anymore.
* NEW: A button that opens the terminal output content inside a new IDE editor tab, so that you can search inside, or do anything you want.

[WIKI]
* NEW: A command-line option to generate offline help.

[GB.FORM.TERMINAL]
* NEW: TerminalView: ShowScrollBar is a new property that makes the vertical scrollbar always visible.
* NEW: TerminalView: Exec() and Shell() methods now take the environment as an optional argument.
* NEW: TerminalView: Text is a new read-only property that returns the terminal contents.

[GB.WEB.FORM]
* BUG: WebButton: Take the Width and Height properties into account correctly.
* BUG: WebComboBox: The List property now can take a null value without crashing.
* OPT: WebControl: Setting most of properties without changing their value now does nothing.
* BUG: WebLabel: The Alignment property is correctly declared now.
* NEW: WebProgressBar: A new control that displays a progress bar.
* NEW: WebTable: Select is a new event that is raised when the WebTable selection changes.
* NEW: WebUploadArea: A new container that selects a local file when the user clicks on it, and that allows to upload it to the server.


git-svn-id: svn://localhost/gambas/trunk@7750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 22:00:53 +00:00
Benoît Minisini
052eb75eee [GB.DBUS]
* BUG: Fix memory leak in array marshalling.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-15 22:33:03 +00:00
Fabien Bodard
1513e0f40c [GB.TERMAPP]
* NEW: Continue control class writing


git-svn-id: svn://localhost/gambas/trunk@7744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:44:45 +00:00
Benoît Minisini
20b5726463 [GB.FORM.TERMINAL]
* OPT: When interpreting the terminal output of a process, ignore every printable character sent before a full screen erase.
* OPT: Use a cache for line graphical characters.


git-svn-id: svn://localhost/gambas/trunk@7743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:38:44 +00:00
Fabien Bodard
977023524e [GB.TERMAPP]
* NEW: Initial commit
  Create the base object structure.



git-svn-id: svn://localhost/gambas/trunk@7740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 20:00:25 +00:00
Benoît Minisini
df4069ed9c [GB.MEDIA.FORM]
* BUG: Fix some refresh bugs, except when using GTK+3, which still does not like MediaView.
* NEW: MediaView.Duration is a new property that returns the media duration in seconds.
* NEW: MediaView.Position is a new property that returns or sets the media current position in seconds.


git-svn-id: svn://localhost/gambas/trunk@7738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 18:56:54 +00:00
Tobias Boege
446af60cc1 [GB.UTIL.WEB]
* NEW: Always initialise JSON.Null, so that an entry in a JSONCollection with value JSON.Null appears in the Encode() string.



git-svn-id: svn://localhost/gambas/trunk@7737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-11 17:04:36 +00:00
Benoît Minisini
229928614e [GB.FORM.TERMINAL]
* BUG: Fix drawing of bold characters.
* OPT: Detect spaces to draw them a bit faster.


git-svn-id: svn://localhost/gambas/trunk@7734 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-10 10:45:10 +00:00
Benoît Minisini
3fed388e79 [GB.GUI.BASE]
* BUG: TreeView item Clear() method does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-08 21:45:09 +00:00
Benoît Minisini
49b75202fe [GB.FORM.TERMINAL]
* NEW: Enable mouse support in TerminalView when -any- mouse mode is activated.
* NEW: Draw the terminal mouse with another cursor, and hide the X11 mouse cursor.
* BUG: Refresh the terminal before sending any terminal mouse event to the process.


git-svn-id: svn://localhost/gambas/trunk@7731 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-07 22:28:40 +00:00
Fabien Bodard
007abf12c3 [GB.FORM.TERMINAL]
* BUG: Found a workaround for the dblclick event.


git-svn-id: svn://localhost/gambas/trunk@7730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-07 21:10:41 +00:00
Fabien Bodard
f99a71e137 [GB.FORM.TERMINAL]
* NEW: Add filter for mouse events. All work fine but there is a problem
  on detecting dblClick. Gambas not emit all the mouseUp events.


git-svn-id: svn://localhost/gambas/trunk@7727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-06 21:39:34 +00:00
Benoît Minisini
4bc919331c [GB.FORM.TERMINAL]
* BUG: Don't scroll to the cursor if a key is ignored by the terminal filter.
* NEW: Finish the graphical characters drawing routine.


git-svn-id: svn://localhost/gambas/trunk@7725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 23:50:56 +00:00
Benoît Minisini
227e6a033a [GB.FORM.TERMINAL]
* NEW: Bold graphical line characters are supported now.


git-svn-id: svn://localhost/gambas/trunk@7724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 21:56:55 +00:00
Fabien Bodard
cbac3825d9 [GB.FORM.TERMINAL]
* BUG: Re activate Fast mode.


git-svn-id: svn://localhost/gambas/trunk@7723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 21:15:10 +00:00
Fabien Bodard
3dda8c8c71 [GB.FORM.TERMINAL]
* NEW: Write the mouse event filter function (not connected yet)


git-svn-id: svn://localhost/gambas/trunk@7722 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 21:07:17 +00:00
Benoît Minisini
27ae18d403 [GB.FORM.TERMINAL]
* NEW: TerminalView.Print() is a new method that allows to print characters into the terminal view.
* NEW: Draw line graphical characters manually, without using the font.


git-svn-id: svn://localhost/gambas/trunk@7720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 13:03:17 +00:00
Benoît Minisini
10568e0876 [GB.FORM.TERMINAL]
* BUG: Fix drawing of characters not in the initial font cache.


git-svn-id: svn://localhost/gambas/trunk@7719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 01:05:52 +00:00
Benoît Minisini
d093273eaf [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly detect virtual controls that need a parent or not.

[GB.FORM.TERMINAL]
* NEW: Support for graphical charset (used by alsamixer for example).
* BUG: Correctly initialize font cache. Better support for variable-width fonts.

[GB.WEB.FORM]
* NEW: Initial implementation of WebUploadButton, a new control that allows to select a file for uploading. Uploading by itself is not yet implemented yet.


git-svn-id: svn://localhost/gambas/trunk@7718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-04 17:41:58 +00:00
Benoît Minisini
75901f6215 [GB.FORM.TERMINAL]
* BUG: Remove debugging code.


git-svn-id: svn://localhost/gambas/trunk@7717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 14:08:32 +00:00
Benoît Minisini
130f127adb [GB.FORM.TERMINAL]
* NEW: Better suppor for variable-width fonts.
* BUG: Draw the terminal background everywhere, not just where there are characters.


git-svn-id: svn://localhost/gambas/trunk@7716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 13:31:02 +00:00
Benoît Minisini
ff7bbe8a21 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.form.terminal' to the component list.
* NEW: New component status icons.

[INTERPRETER]
* BUG: Correctly export Stream.Term description.
* NEW: Stream.Term.FlowControl is a new property that allows to set or retrieve if flow control is enabled on a terminal stream.

[GB.GTK]
* NEW: Change the name of 'NewChild' event argument.

[GB.GTK3]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT4]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT5]
* NEW: Change the name of 'NewChild' event argument.

[GB.FORM.TERMINAL]
* NEW: Support for the 'Set title' command.
* NEW: TerminalView now emits the Title event when the terminal requests a title change.
* NEW: Support for flow control. When output is suspended, the terminal contents becomes darker.
* BUG: Correctly update the scrollbar when switching between screens.


git-svn-id: svn://localhost/gambas/trunk@7714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 10:54:21 +00:00
Benoît Minisini
da2825d82a [GB.FORM.TERMINAL]
* BUG: Fix screen refresh.
* NEW: Implement "Erase character" escape sequence.


git-svn-id: svn://localhost/gambas/trunk@7713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 01:24:33 +00:00
Benoît Minisini
ff31478dab [GB.FORM.TERMINAL]
* BUG: Ensure the current line is visible and refreshed after a key has been pressed.


git-svn-id: svn://localhost/gambas/trunk@7712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-02 19:08:10 +00:00
Benoît Minisini
55dba3f13b [GB.FORM.TERMINAL]
* NEW: TerminalView.Limit is 1000 lines by default. 0 means no limit again.
* OPT: Many little optimizations everywhere.
* BUG: Fix "Device status report" escape sequence detection.
* BUG: Fix bracketed paste string sent to the process.
* NEW: Clearing the screen now automatically scrolls the screen to the bottom.


git-svn-id: svn://localhost/gambas/trunk@7711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-02 12:35:00 +00:00
Fabien Bodard
e513eae9f4 [GB.FORM.TERMINAL]
* NEW: Finish BraketedPaste Mode


git-svn-id: svn://localhost/gambas/trunk@7710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-02 07:50:43 +00:00
Benoît Minisini
781882c601 [GB.FORM.TERMINAL]
* NEW: Implement "Insert space" escape sequence.
* NEW: Detect blink escape sequences.
* BUG: Fix Return and Enter key support.
* BUG: Fix selection on void lines.


git-svn-id: svn://localhost/gambas/trunk@7709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-02 00:01:53 +00:00
Benoît Minisini
e2245b80ef [GB.FORM.TERMINAL]
* NEW: Support for blinking text.


git-svn-id: svn://localhost/gambas/trunk@7708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 23:22:39 +00:00
Fabien Bodard
d7740890c5 [GB.FORM.TERMINAL]
* NEW: Prepare for mouse events filters
* NEW: Add support for bracketed paste mode (not finished)
  https://cirw.in/blog/bracketed-paste



git-svn-id: svn://localhost/gambas/trunk@7707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 21:57:25 +00:00
Fabien Bodard
f8cfb2052d [GB.FORM.TERMINAL]
* NEW: Support multiple parameters on Set Mode.
* BUG: Convert the return key in filter for application mode.


git-svn-id: svn://localhost/gambas/trunk@7706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 20:12:29 +00:00
Benoît Minisini
864a452bb0 [GB.FORM.TERMINAL]
* NEW: Selected text is automatically copied to the secondary clipboard.
* NEW: The middle mouse button now paste the secondary clipboard.
* BUG: Automatic scrolling while selecting works correctly again.


git-svn-id: svn://localhost/gambas/trunk@7705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 08:50:28 +00:00
Benoît Minisini
b0cd5108a4 [GB.FOM.TERMINAL]
* OPT: Delay the process output interpretation instead of the refresh. Better performances, and less flicker.


git-svn-id: svn://localhost/gambas/trunk@7704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 07:30:19 +00:00
Benoît Minisini
34834e5fee [GB.FORM.TERMINAL]
* NEW: Move project files to the 'Project' directory.
* NEW: Remove an unused module.
* NEW: Take 'AppCursorKey' mode into account for a few keys.
* NEW: Take 'NewlineMode' mode into account for Return and Enter keys.
* NEW: Implement Shift+Return and Shift+Enter key sequences.


git-svn-id: svn://localhost/gambas/trunk@7703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 06:46:40 +00:00
Benoît Minisini
ea743770ff [GB.FORM.TERMINAL]
* OPT: Compress/uncompress line attributes on demand.
* NEW: Implement "Scroll up", "Scroll down" and "Vertical line position" escape sequences.
* BUG: Fix "Hide cursor" and "Show cursor" interpretation.
* NEW: Draw cursor with transparency.


git-svn-id: svn://localhost/gambas/trunk@7702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-01 05:55:14 +00:00
Benoît Minisini
d7e88bf641 [INTERPRETER]
* BUG: Fix a possible crash in String.Code().

[GB.FORM.TERMINAL]
* OPT: Compress the attribute array associated with each line.
* OPT: Drawing line routine uses the JIT compiler.



git-svn-id: svn://localhost/gambas/trunk@7701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 19:06:03 +00:00
Fabien Bodard
0c158f7788 [GB.FORM.TERMINAL]
* NEW: Add filter for vertical cursor pos Y
* BUG: Add filter for normal character ESC [ m


git-svn-id: svn://localhost/gambas/trunk@7700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 16:52:38 +00:00
Benoît Minisini
3ba017f5f0 [GB.FORM.TERMINAL]
* NEW: Support for up to 256 colors.
* NEW: Use brighter default colors for foreground.
* BUG: Fix font cache initialization for GTK+, by drawing printable characters only.


git-svn-id: svn://localhost/gambas/trunk@7699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 16:43:38 +00:00
Benoît Minisini
79a4ea2a70 [INTERPRETER]
* BUG: Fix a crash on one error message thrown incorrectly.

[GB.FORM.TERMINAL]
* OPT: Optimize drawing routine. Still slow, but less flicker.
* NEW: TerminalView: Add a blink property that enables or disables cursor blink.

[GB.GTK]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?

[GB.GTK3]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?


git-svn-id: svn://localhost/gambas/trunk@7698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 09:25:11 +00:00
Fabien Bodard
55b4ee5794 [GB.FORM.TERMINAL]
* BUG: Remove translator for TAB and SP


git-svn-id: svn://localhost/gambas/trunk@7697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-30 22:21:26 +00:00
Benoît Minisini
82b52bdf3b [GB.FORM.TERMINAL]
* NEW: Support for inserting and deleting lines.
* NEW: Support for hide and show cursor.
* NEW: Disable history in alternate screen.
* NEW: New way of drawing text. Slower, but interesting. It can handle variable-width fonts like fixed-width fonts. Does not work yet with GTK+. Apparently cairo drawing operators behave strangely compated to the QT ones.
* BUG: TerminalView: Fix EnsureVisible() method.


git-svn-id: svn://localhost/gambas/trunk@7696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-30 22:04:11 +00:00
Fabien Bodard
da4868a408 [GB.FORM.TERMINAL]
* NEW: Implement special keys translation.



git-svn-id: svn://localhost/gambas/trunk@7695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-30 21:31:41 +00:00
Fabien Bodard
812467fbe0 [GB.FORM.TERMINAL]
* NEW: Add terminal type report


git-svn-id: svn://localhost/gambas/trunk@7694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-30 20:36:02 +00:00
Benoît Minisini
589786c601 [GB.FORM.TERMINAL]
* BUG: Fix "Erase end of line" command.


git-svn-id: svn://localhost/gambas/trunk@7693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 22:42:35 +00:00
Fabien Bodard
02128f960c [GB.FORM.TERMINAL]
* NEW: Change the attribute parsing, now attributes with multiple parameters
  are allowed. Note that the color management need to be improved to support
  colors value > to 256 and RGB colors.
  


git-svn-id: svn://localhost/gambas/trunk@7691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 21:12:40 +00:00
Benoît Minisini
e459de75a8 [GB.FORM.TERMINAL]
* BUG: Fix text and attribute insertion.


git-svn-id: svn://localhost/gambas/trunk@7690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 13:01:00 +00:00
Benoît Minisini
46822f31d6 [GB.FORM.TERMINAL]
* NEW: Make debugging messages conditonal.
* NEW: TerminalView: Use a DrawingArea instead of a ScrollArea, and a vertical scrollbar that hides automatically.


git-svn-id: svn://localhost/gambas/trunk@7689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 12:33:24 +00:00
Benoît Minisini
0ea9aeb379 [GB.FORM.TERMINAL]
* BUG: Fix process output management when an UTF-8 character is cut.
* NEW: Implement Newline mode, Wrap mode and Insert mode.
* BUG: Fix cursor moves commands.
* NEW: Implement "Delete char" command.
* NEW: Use bold font instead of drawing the text twice.
* BUG: Correctly handle vector fonts with non-integer character width.
* NEW: Disable blinking cursor and add a lot of messages for debugging.


git-svn-id: svn://localhost/gambas/trunk@7688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 11:44:20 +00:00
Benoît Minisini
64bbe678bc [GB.FORM.TERMINAL]
* BUG: Fix parsing of escape sequences.
* NEW: Add support for cursor moves.


git-svn-id: svn://localhost/gambas/trunk@7686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 21:41:36 +00:00
Fabien Bodard
ca80c015c4 [GB.FORM.TERMINAL]
* NEW: Console class that make use of vt100 escape code more easy.
* NEW: Attributes class that manage use of vt100 characters attributes.


git-svn-id: svn://localhost/gambas/trunk@7685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 21:34:14 +00:00
Fabien Bodard
277f2249ed [GB.FORM.TERMINAL]
* BUG: Oups


git-svn-id: svn://localhost/gambas/trunk@7684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 16:28:18 +00:00
Benoît Minisini
aba697b313 [GB.FORM.TERMINAL]
* NEW: Implement switch between normal screen and alternate screen.


git-svn-id: svn://localhost/gambas/trunk@7683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 16:27:32 +00:00
Fabien Bodard
5299756f22 [GB.FORM.TERMINAL]
* NEW: Continue


git-svn-id: svn://localhost/gambas/trunk@7682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 16:22:03 +00:00
Fabien Bodard
85a119f682 [GB.FORM.TERMINAL]
* NEW: Remove my old implementation.
* NEW: Begin to add some class to help testing.


git-svn-id: svn://localhost/gambas/trunk@7681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 16:08:50 +00:00
Fabien Bodard
aa44a876a8 [GB.FORM.TERMINAL]
* BUG: Invert Foreground and Background on 256 mode. But i don't know why.


git-svn-id: svn://localhost/gambas/trunk@7680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 17:32:09 +00:00
Fabien Bodard
a6e5567815 [GB.FORM.TERMINAL]
* NEW: Add support for 256 colors



git-svn-id: svn://localhost/gambas/trunk@7679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 17:15:22 +00:00
Fabien Bodard
83e2087c06 [GB.FORM.TERMINAL]
* NEW: Add filter for color 90-97 and 100-107


git-svn-id: svn://localhost/gambas/trunk@7678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 14:48:30 +00:00
Fabien Bodard
e0265cfac2 [GB.FORM.TERMINAL]
* NEW: Finish the VT100 Escape codes list.


git-svn-id: svn://localhost/gambas/trunk@7677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 10:07:17 +00:00
Fabien Bodard
2fdd19cf4a [GB.FORM.TERMINAL]
* NEW: Finish the VT100 Escape codes list.


git-svn-id: svn://localhost/gambas/trunk@7676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 10:02:53 +00:00
Benoît Minisini
83f67ca164 [GB.FORM.TERMINAL]
* BUG: Move flags from terminal filter to terminal screen.
* NEW: Moving the cursor ensures that it is visible (i.e. not flashing).


git-svn-id: svn://localhost/gambas/trunk@7675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 09:18:17 +00:00
Benoît Minisini
342848f9e1 [INTERPRETER]
* NEW: Stream.Term.Echo is a new property that allows to enable or disable the terminal echo mode.

[GB.FORM.EDITOR]
* NEW: Screen management splitted from TerminalView. TerminalView has two screens now. Switch between screens is not implemented yet.


git-svn-id: svn://localhost/gambas/trunk@7674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 08:54:02 +00:00
Fabien Bodard
d4848d2d9c [GB.FORM.TERMINAL]
* NEW: VT100 standart definitions file (not full)


git-svn-id: svn://localhost/gambas/trunk@7673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 08:36:00 +00:00
Benoît Minisini
30a282abd0 [GB.FORM.TERMINAL]
* BUG: Fix interpretation of Background and Foreground escape sequences.


git-svn-id: svn://localhost/gambas/trunk@7672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 14:03:45 +00:00
Benoît Minisini
1f81033b96 [GB.FORM.TERMINAL]
* BUG: Fix "set attribute" escape characters analyze.
* BUG: Remove Bright attribute, it was actually the same as Bold.


git-svn-id: svn://localhost/gambas/trunk@7671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 13:45:50 +00:00
Benoît Minisini
bc4bc17b6c [GB.FORM.TERMINAL]
* NEW: TerminalView: Terminal resize is now sent to the running process terminal.


git-svn-id: svn://localhost/gambas/trunk@7670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 13:10:10 +00:00
Benoît Minisini
159f039e02 [GB.FORM.TERMINAL]
* NEW: Support for XTERM "set window title" sequence.
* NEW: Rename "Underline" attribute as "Underscore".
* NEW: Support for "set attribute" escape sequences.
* BUG: TerminalView: Fix selection behaviour.


git-svn-id: svn://localhost/gambas/trunk@7668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 11:10:21 +00:00
Benoît Minisini
0e52f6d63b [GB.FORM.TERMINAL]
* NEW: A icon for TerminalView.
* NEW: Initial VT100 terminal filter.
* NEW: TerminalView: Exec() and Shell() are two new methods to run a process inside the virtual terminal. Process input management is not implemented, and process output support is rudimentary.


git-svn-id: svn://localhost/gambas/trunk@7667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 10:08:12 +00:00
Benoît Minisini
5d0151fe32 [GB.FORM.TERMINAL]
* NEW: TerminalView: Automatic support of control characters. Only the ESC sequences have to be implemented in the terminal emulator.


git-svn-id: svn://localhost/gambas/trunk@7666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 15:25:43 +00:00
Benoît Minisini
625888d44d [INTERPRETER]
* NEW: Timer: The constructor now takes the delay as optional parameter. And if that delay is specified, the timer is automatically started.

[GB.FORM.TERMINAL]
* NEW: TerminalView: internal control that only deals with displaying the terminal contents.


git-svn-id: svn://localhost/gambas/trunk@7664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 13:06:09 +00:00
Benoît Minisini
f42ffa0be6 [EXAMPLES]
* BUG: SmallWiki: Fix a deprecated link.

[GB.MARKDOWN]
* BUG: Fix generation of "[[ ... ]]" sections.

[GB.WEB.FORM]
* NEW: Add some help comments.


git-svn-id: svn://localhost/gambas/trunk@7662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:37:35 +00:00
Fabien Bodard
fe098f5964 [GB.FORM.TERMINAL]
* NEW: Rewriting the componant base. Initial commit.



git-svn-id: svn://localhost/gambas/trunk@7656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-22 12:23:18 +00:00
Benoît Minisini
3fbcee5fa6 [WIKI]
* BUG: A few style sheet fixes.
* NEW: Automatically convert examples to the "[[ code gambas ... ]] [[ result ... ]]" sequence.

[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() does not draw procedure separations anymore.

[GB.MARKDOWN]
* BUG: Fix simple table "[[ ... ]]" management.


git-svn-id: svn://localhost/gambas/trunk@7653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-21 00:26:12 +00:00
Benoît Minisini
2c4aa9d851 [WIKI]
* NEW: Support for "[[ code ... ]]" and "[[ result ... ]]" sections.

[GB.EVAL.HIGHLIGHT]
* BUG: Remove dependencies on GUI components.

[GB.MARKDOWN]
* BUG: Fix support of "[[ code ... ]]" section.


git-svn-id: svn://localhost/gambas/trunk@7652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 23:31:10 +00:00
Benoît Minisini
ab72d33833 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when starting a program without arguments.
* BUG: Fix compression of CSS files.

[GB.EVAL.HIGHLIGHT]
* NEW: CSS highlighter: Support for @media directive.
* NEW: Don't use the Color class.

[GB.FORM.EDITOR]
* BUG: TextEditor: Limits of collapsed procedures are correctly drawn now.

[GB.MARKDOWN]
* NEW: Support for code highlighting through the "[[ code <language> ... ]]" block.
* NEW: Markdown.Process() is new method that allows to process the contents of a specific "[[ ... ]]" block.

[GB.WEB.FORM]
* NEW: DateBox: Put that control in the "Chooser" group with the DateChooser.


git-svn-id: svn://localhost/gambas/trunk@7651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 22:39:06 +00:00
Benoît Minisini
407d650817 [GB.FORM.EDITOR]
* NEW: TextEditor: Do not draw ending spaces on top of the indentation vertical lines.
* BUG: TextEditor: Correctly draw the first procedure limit.


git-svn-id: svn://localhost/gambas/trunk@7649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 01:48:15 +00:00
Benoît Minisini
bc3224d896 [GB.FORM.EDITOR]
* NEW: TextEditor: Don't use bold text for displaying cursor information.

[GB.GUI.BASE]
* BUG: ScrollArea: Fix some number roundings in EnsureVisible() method.

[GB.WEB]
* OPT: Session: Use buffered i/o when loading or saving session.

[GB.WEB.FORM]
* NEW: DateChooser is a new control that implements a date chooser.
* NEW: DateBox is a new control that implements a date box with a popup calendar.
* NEW: WebForm.ShowPopup() is a new method that allows to use a form as a popup.
* BUG: WebComboBox: Fix design.
* NEW: WebControl: Support for properties storing a WebControl.
* NEW: WebExpander: Use standard arrow.
* NEW: Internal support for web controls that need custom style sheets or javascript libraries.
* NEW: WebForm: Close is new event that is raised when a form is closed.
* NEW: WebForm: Popup is a new property that tells if the form is currently used as a popup.
* NEW: WebForm: PopupParent is a new property that returns the control using that form as a popup.


git-svn-id: svn://localhost/gambas/trunk@7646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 01:23:01 +00:00
Benoît Minisini
cf3ac47267 [GB.FORM.EDITOR]
* BUG: Never jump to the beginning of the line when clicking on the text.

git-svn-id: svn://localhost/gambas/trunk@7641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-17 02:14:20 +00:00
Benoît Minisini
e83b8c2db8 [GB.FORM.EDITOR]
* BUG: TextEditor[].Limit correctly returns the real limit state, not the visible one.

git-svn-id: svn://localhost/gambas/trunk@7640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 16:12:42 +00:00
Benoît Minisini
e258598187 [GB.FORM.EDITOR]
* NEW: TextEditor: Nicer indent vertical lines.


git-svn-id: svn://localhost/gambas/trunk@7639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 03:00:35 +00:00
Benoît Minisini
66c1e5c69a [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Comment is a new flag that tells if a ln highlighted line is only a comment.

[GB.FORM.EDITOR]
* NEW: TextEditor: Draw the procedure separator before its previous comments.
* NEW: TextEditor: ShowIndent is a new property that make the editor draw a thin vertical line to emphasize corresponding indentations.


git-svn-id: svn://localhost/gambas/trunk@7635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:55:35 +00:00
Tobias Boege
c3d8fb5e7e [GB.MARKDOWN]
* NEW: Markdown.Reinterpret is a new property to say if the next return of Command() should be reinterpreted as markdown or not. It is True by default for backwards compatibility.



git-svn-id: svn://localhost/gambas/trunk@7634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 12:36:03 +00:00
Benoît Minisini
f458fd15be [GB.FORM]
* BUG: FileChooser: ShowHidden property is correctly restored in all cases now.
* NEW: ListEditor: Editor is a new property that returns the underlying text editor.
* NEW: ListEditor: Add keyboard arrows shortcuts to move across the list.
* NEW: ListEditor: The text editor is now the proxy of the control.


git-svn-id: svn://localhost/gambas/trunk@7629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:01:25 +00:00
Fabien Bodard
0944141a51 [GB.REPORT2]
* BUG: ReportImage and ReportSvgImage was not able to use Autoresize.
* NEW: Begin to implement ReportGridView. Not available yet.



git-svn-id: svn://localhost/gambas/trunk@7626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:41:17 +00:00
Benoît Minisini
7a2a1bdace [GB.FORM]
* BUG: MessageView: Successive messages work correctly now.

git-svn-id: svn://localhost/gambas/trunk@7616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:36:59 +00:00
Benoît Minisini
66d3607dde [GB.NET.SMTP]
* NEW: SmtpClient.Authentication is a new property that allows to define the authentication method explicitly.


git-svn-id: svn://localhost/gambas/trunk@7614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-29 18:20:04 +00:00
Benoît Minisini
88d193a4ff [GB.SETTINGS]
* NEW: Settings.ToString() and Settings.FromString() are two internal methods now made public. They convert a value to its string representation, and the contray.


git-svn-id: svn://localhost/gambas/trunk@7599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 08:24:45 +00:00
Benoît Minisini
c700a93916 [GB.DBUS.TRAYICON]
* BUG: TrayIcon: Forgot to implement the Tag property!

git-svn-id: svn://localhost/gambas/trunk@7596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 19:43:49 +00:00
Benoît Minisini
e838904258 [GB.GUI.BASE]
* BUG: GridView: Best row height computation now correctly takes the borders into account.


git-svn-id: svn://localhost/gambas/trunk@7591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:17:15 +00:00
Benoît Minisini
d362153256 [GB.EVAL.HGIHLIGHT]
* BUG: Javascript: Take all space characters into account.
* NEW: Javascript: Try to detect functions declared inside objects.


git-svn-id: svn://localhost/gambas/trunk@7590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:15:46 +00:00
Tobias Boege
364753e3f4 [GB.WEB.FORM]
* BUG: WebExpander: Raise Show and Hide events



git-svn-id: svn://localhost/gambas/trunk@7588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 11:46:38 +00:00
Fabien Bodard
e69a19e3e6 [GB.REPORT2]
* NEW: Use the gambas internal Expression class to evaluate the ReportLabel Formulas.


git-svn-id: svn://localhost/gambas/trunk@7577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 20:10:44 +00:00
Benoît Minisini
1eec2fb59b [GB.WEB]
* NEW: Add SVG file mime type.
* BUG: Remove automatic session removal when creating a session.


git-svn-id: svn://localhost/gambas/trunk@7575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 14:57:31 +00:00
Benoît Minisini
520b805bad [GB.WEB.FORM]
* BUG: WebWindow: Use bigger button images for bigger fonts.
* BUG: WebWindow: Maximized windows always use the full window even if it is resized.


git-svn-id: svn://localhost/gambas/trunk@7572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 14:13:53 +00:00
Benoît Minisini
3eb39cad1e [GB.WEB.FORM]
* NEW: WebWindow: Implement window maximimization.
* NEW: WebWindow: Fix window button style.


git-svn-id: svn://localhost/gambas/trunk@7570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 11:38:58 +00:00
Benoît Minisini
b81363e15d [GB.WEB.FORM]
* BUG: Fix control images symbolic links.


git-svn-id: svn://localhost/gambas/trunk@7569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 10:03:19 +00:00
Benoît Minisini
fffe08e1e7 [GB.WEB.FORM]
* NEW: WebControl: Add the Tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:55:24 +00:00
Benoît Minisini
2631259fa1 [GB.EVAL.HIGHLIGHT]
* NEW: More CSS properties

[GB.WEB.FORM]
* OPT: WebTable: When scrolling, add new elements to the table instead of refreshing it entirely. It's far faster!


git-svn-id: svn://localhost/gambas/trunk@7565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-08 14:50:48 +00:00
Fabien Bodard
a354e12cf8 [GB.MAP]
* BUG: SexToDec now now convert float value with a dot


git-svn-id: svn://localhost/gambas/trunk@7563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-07 20:28:22 +00:00
Benoît Minisini
b978b34f12 [GB.WEB.FORM]
* NEW: WebScrollView: Add ScrollX and ScrollY properties.
* BUG: WebTable: Correctly initialize the Display property to 100 rows.


git-svn-id: svn://localhost/gambas/trunk@7562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 22:32:20 +00:00
Benoît Minisini
421fdaa2cd [GB.WEB.FORM]
* BUG: WebTable: Don't display progress animation if there is no rows to load.


git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 02:00:05 +00:00
Benoît Minisini
7d4bd2ed1b [GB.WEB.FORM]
* BUG: WebTabPanel: Fix syntax error is generated HTML.


git-svn-id: svn://localhost/gambas/trunk@7560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 00:20:09 +00:00
Benoît Minisini
56a60ed7c8 [GB.WEB.FORM]
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.


git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 23:53:12 +00:00
Benoît Minisini
0d7923c836 [GB.WEB.FORM]
* NEW: WebTable: Clear() is a new method that sets the row count and the scrolling position to zero.
* NEW: WebTable: If a scrolling request fails, send back to the server the scrolling position.


git-svn-id: svn://localhost/gambas/trunk@7557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:45:35 +00:00
Benoît Minisini
00b494d313 [GB.WEB.FORM]
* NEW: WebTable: Add a little animation when the table loads its contents.
* BUG: WebTable: Settings the Count property resets scrolling.
* BUG: WebTable: Remove scrolling debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:24:51 +00:00
Benoît Minisini
0b12686804 [GB.WEB.FORM]
* NEW: WebTable: ScrollX and ScrollY are two new properties that store the scrolling state of the table.
* NEW: WebTable: Scrolling is preserved between refresh.
* NEW: WebTable: Missing rows are now automatically added when the scrolling bar reaches the end of the table.


git-svn-id: svn://localhost/gambas/trunk@7553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 03:36:21 +00:00
Benoît Minisini
ab5628b57d [GB.WEB.FORM]
* BUG: WebTable: Cell foreground color is correctly taken into account.


git-svn-id: svn://localhost/gambas/trunk@7552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 01:29:13 +00:00
Benoît Minisini
8dd59f2717 [GB.WEB.FORM]
* BUG: WebForm: Set the window container Ignore property.
* BUG: WebContainer: Correctly take the Ignore property into account.


git-svn-id: svn://localhost/gambas/trunk@7551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:30:48 +00:00
Benoît Minisini
747f1219a2 [GB.WEB.FORM]
* OPT: Compress style sheet and javascript library.
* OPT: Put popup windows inside an intermediate container, so that refreshing a window does not refresh the entire page.


git-svn-id: svn://localhost/gambas/trunk@7550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 00:14:03 +00:00
Benoît Minisini
60d2c8c697 [GB.WEB.FORM]
* NEW: WebForm: Width and Height properties now act as minimal dimensions if the form is used as a resizable dialog.
* BUG: WebWindow: Remove the mozilla specific style sheet of window close button.


git-svn-id: svn://localhost/gambas/trunk@7549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 18:19:43 +00:00
Benoît Minisini
4b8d0d97e9 [GB.WEB.FORM]
* NEW: WebTable: New default style.


git-svn-id: svn://localhost/gambas/trunk@7548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-04 01:29:32 +00:00
Benoît Minisini
c0894c291f [GB.WEB.FORM]
* BUG: WebButton: Remove all padding for buttons with no border.


git-svn-id: svn://localhost/gambas/trunk@7547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-03 18:24:13 +00:00
Benoît Minisini
d336e8ec9d [GB.WEB.FORM]
* BUG: Try to fix WebLabel style behaviour.


git-svn-id: svn://localhost/gambas/trunk@7544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 17:17:07 +00:00
Benoît Minisini
f5b820db71 [GB.WEB.FORM]
* NEW: WebControl: If Expand is FALSE, then prevent the control from shrinking.
* NEW: WebTable: Columns now have a Width property, which defines its minimum width.
* NEW: WebLabel: Allow wrapping, but align vertically to the baseline and hides overflowing text. Not perfect yet... :-(


git-svn-id: svn://localhost/gambas/trunk@7543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-02 15:24:06 +00:00
Benoît Minisini
a6f458e05c [INTERPRETER]
* NEW: _ready() is new special method that is called when an object construction is completly finished.

[COMPILER]
* NEW: Remove the call to _load() method in form constructors.

[GB.WEB.FORM]
* BUG: WebExpander: Remove a debugging message.
* NEW: WebForm.Debug is a new static property that, if set, dumps all exchanges between the server and the client in the browser console.
* NEW: Use the new _ready special method.
* NEW: WebLabel: Add the Border property.
* NEW: WebLabel: Alignment is a new property that defines the label horizontal alignment.
* NEW: A few changes in default style sheet.


git-svn-id: svn://localhost/gambas/trunk@7541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:11:01 +00:00
Fabien Bodard
c255863403 [GB.REPORT2]
* BUG: Remove unneeded variable initialization.


git-svn-id: svn://localhost/gambas/trunk@7538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 13:58:23 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?

[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.

[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.

[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.

[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.

[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.

[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.

[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
  The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
  the 'Selection' property.
* BUG: Many fixes in the default stylesheet.


git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-27 18:16:32 +00:00
Fabien Bodard
c2fb96c345 [GB.REPORT2]
* BUG: Finally , after 10 years, I managed to solve the numbering problem of cloned elements.
  This will allow to manage data groups.
* NEW: Two new variable are supported in the expression evaluator
  Page for the page number, and Index for the cloned element index.
  ex: =Page
  


git-svn-id: svn://localhost/gambas/trunk@7533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-17 20:51:10 +00:00
Fabien Bodard
a2290a6d79 [GB.REPORT]
* BUG: Adding a forgotten file.


git-svn-id: svn://localhost/gambas/trunk@7532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:20:34 +00:00
Fabien Bodard
7b3b2ee0c7 [GB.REPORT]
NEW: Start to implement an external formula evaluator. This will allow to manage data and format more easily 
     and at a widget level.
     


git-svn-id: svn://localhost/gambas/trunk@7531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-16 11:17:56 +00:00
Fabien Bodard
23058fcc2d [GB.REPORT2]
* NEW: A new class ReportSizeParser to replace TSizeParse. 
  TSizeParse is maintained but deprecated.
* NEW: The ReportViewer is updated when the report layout is finished.



git-svn-id: svn://localhost/gambas/trunk@7509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 14:35:51 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
da9e37f4c0 [GB.DESKTOP]
* NEW: Update xdg-utils scripts to the last version (1.1.1).


git-svn-id: svn://localhost/gambas/trunk@7502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 01:04:40 +00:00
Benoît Minisini
145edbfec5 [GB.REPORT2]
* BUG: ReportView: Initialize the temporary image buffer contents when
  grayscale is enabled. Otherwise uninitialized pixels are painted.


git-svn-id: svn://localhost/gambas/trunk@7501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 00:46:12 +00:00
Benoît Minisini
1e32bb79dd [GB.DESKTOP.X11]
* BUG: Do not crash when some desktop properties are not defined by the
  window manager.

[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.

[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.


git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 19:57:17 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
  arrangement support. But still far from perfect for row and  column
  arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
  forms.

[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".


git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-02 19:36:46 +00:00
Benoît Minisini
e854439f50 [GB.NET.SMTP]
* NEW: Support for PLAIN and CRAM-MD5 authentications.


git-svn-id: svn://localhost/gambas/trunk@7495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-30 02:18:18 +00:00
Benoît Minisini
17a4a7bf5f [GB.GUI.BASE]
* NEW: FridView: Increase the size of the invisible row and column resize
  handles.


git-svn-id: svn://localhost/gambas/trunk@7491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-24 03:43:42 +00:00
Benoît Minisini
8b9f351c62 [DEVELOPMENT ENVIRONMENT]
* NEW: Centralize family-specific sources in dedicated folders.
* NEW: Form editor: Top and left handles of controls layed out by automatic
  arrangement are inactive now.

[GB.WEB.FORM]
* NEW: Implement the Border property for many controls.
* NEW: WebControl.Class is a new property that allows to define a custom
  CSS class for any control.


git-svn-id: svn://localhost/gambas/trunk@7490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 23:52:00 +00:00
Benoît Minisini
f927974b19 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
  for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
  controls. This representation is a GUI control class named
  "<family><control>". For example, WebformWebMenu is the IDE control class
  that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.

[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.


git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 19:56:52 +00:00
Benoît Minisini
c8499d454f [DEVELOPMENT ENVIRONMENT]
* NEW: Web form: Support for WebMenuItem drawing.

[GB.WEB.FORM]
* NEW: WebMenu.Image is a new property that allows to define the image of
  a menu.
* NEW: WebMenu can be imbricated to make sub-menus.
* NEW: WebMenuItem is usable now.


git-svn-id: svn://localhost/gambas/trunk@7488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 20:23:20 +00:00
Benoît Minisini
9268df987c [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS keywords.

[GB.WEB.FORM]
* NEW: WebMenu is a new control that implements a popup menu.
* NEW: WebSeparator is a new control that implements a separator.
* NEW: Message boxes now raise a 'Message' event in their forms when they
  are closed.
* NEW: Add Message.Info(), Message.Error() and Message.Question() message
  boxes.
* BUG: Fix container arrangement.
* BUG: Deleting a control correctly removes its custom session data.
* NEW: WebMenuItem is a new control supposed to implement a menu item. Not
  yet usable.


git-svn-id: svn://localhost/gambas/trunk@7487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 05:00:57 +00:00
Benoît Minisini
5a36c89169 [GB.FORM.EDITOR]
* BUG: Don't crash while deleting selection.


git-svn-id: svn://localhost/gambas/trunk@7483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-20 23:28:19 +00:00
Benoît Minisini
8d24b22411 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the function that detects if a control needs a parent.
* BUG: When adding every new file to the subversion repository, the
  '.gambas' directory is now correctly ignored.

[COMPILER]
* NEW: The _load() special method is now called just after the initial form
  creation is finished.

[GB.WEB.FORM]
* NEW: Message is a new class for displaying message boxes.
* BUG: Fix management of control names.
* NEW: Implement the WebContainer.Delete() method and WebWindow.Delete()
  methods. Child controls are now automatically deleted if their parent is
  also deleted.
* NEW: WebControl.Show() and WebControl.Hide() are two new methods that are
  synonymous of the Visible property.
* NEW: WebControl acts now like an collection-like array, so that you can
  store user data associated with a control in the session.
* NEW: WebControl.Reset() is a new method to reset the control user data.
* NEW: WebForm.ShowModal() shows a form as a modal window.
* NEW: WebForm.Show() does not take an optional parent anymore. Windows are
  always shown in the current form.
* NEW: Windows with no initial size are centered.
* NEW: WebImage is a new control that displays an image.
* NEW: WebLabel is a new control that displays a one-line vertically
  centered label.
* NEW: WebTextArea is a new control that implements a multi-line text area.


git-svn-id: svn://localhost/gambas/trunk@7482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-18 01:29:28 +00:00
Benoît Minisini
794122fe66 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for WebHBox and WebVBox.

[WIKI CGI SCRIPT]
* NEW: Style for news date with a white background.

[GB.WEB.FORM]
* NEW: WebForm.Resizable is a new property that tells if a form is
  resizable when displayed as a window.
* NEW: Declare the '_Similar' properties.
* NEW: Replace the WebForm.Open method by a Show() method that acts on the
  from to be opened as a window. Mimic the syntax of GUI components.
* NEW: WebSpinBox is a new control that implements a spin box.
* NEW: WebSlider is a new control that implements a slider.
* BUG: WebTimer.Enabled property now works correctly.
* NEW: WebHBox is a new container that arrange its children horizontally.
* NEW: WebVBox is a new container that arrange its children vertically.
* NEW: Windows now have a blue title bar when they are on top, and a gray
  one if they are behind.
* OPT: Don't use elements with absolute positioning in window frames, it
  slows down Firefox.

[GB.UTIL.WEB]
* NEW: JS() now can convert any Gambas native value, array, or collection
  to a Javascript expression.


git-svn-id: svn://localhost/gambas/trunk@7481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-17 00:57:06 +00:00
Benoît Minisini
2ccdb3336c [GB.WEB.FORM]
* NEW: WebControl.Raise() is a new method to raise a control in its parent
  hierarchy.
* NEW: WebControl.Lower() is a new method to lower a control in its parent
  hierarchy.
* NEW: WebControl.Delete() deletes a control.
* NEW: Support for reisable windows.
* NEW: WebForm.Open() is a new method to open a child form as a window
  inside the current form.


git-svn-id: svn://localhost/gambas/trunk@7479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-16 06:07:06 +00:00
Benoît Minisini
be68b85700 [CONFIGURATION]
* BUG: Add gb.web.form to the list of components to compile.


git-svn-id: svn://localhost/gambas/trunk@7478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-15 03:13:14 +00:00
Benoît Minisini
25cdbaa492 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Decide that a control has a parent according to its
  constructor, not to its Virtual state.
* BUG: Form editor: Correctly handle color properties with an alpha value.
* NEW: The '_HiddenControls' property of form controls now can hide
  controls from any other components.

[BENCHMARKS]
* NEW: Do less repeats in the 'string 'benchmark.
* NEW: Update the Gambas version of 'mandelbrot' and 'polynom' benchmarks.

[GB.WEB.FORM]
* NEW: A small Color class.
* BUG: WebButton now uses the 'gw-button' CSS class.
* BUG: Fix WebCheckBox rendering.
* NEW: WebRadioButton is a new control that implements a radio button.
* NEW: WebTimer is a new virtual control that implements a timer on the
  browser client side.
* NEW: Implement read-write WebComboBox.
* NEW: WebControl now has Background and Foreground properties.
* BUG: Hidden controls do not refresh. A control is hidden if it is not
  visible or if one of its parent is not visible.
* NEW: Controls can render JavaScript code.
* NEW: WebTextBox now uses the 'gw-textbox' CSS class.


git-svn-id: svn://localhost/gambas/trunk@7477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-14 23:22:10 +00:00
Benoît Minisini
90c8b0df40 [GB.FORM]
* BUG: Stock: Fix breeze icon theme support.


git-svn-id: svn://localhost/gambas/trunk@7475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-13 14:18:27 +00:00
Benoît Minisini
20a827d9d2 [GB.WEB.FORM]
* NEW: Enabled is now a property of the WebControl class.
* NEW: Hidden controls are not rendered anymore.
* NEW: WebCheckBox is a new control that implements a check box.
* NEW: WebComboBox is a new control that implements a combo-box. It is
  only read-only at the moment.


git-svn-id: svn://localhost/gambas/trunk@7474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 19:27:04 +00:00
Benoît Minisini
badd6fd945 [GB.FORM]
* BUG: Stock: Fix how theme-specific icons are handled. They are now tried
  on every possible size and other non theme-specific icons are ignored.


git-svn-id: svn://localhost/gambas/trunk@7472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 19:21:35 +00:00
Benoît Minisini
619a92e8f7 [DEVELOPMENT ENVIRONMENT]
* BUG: Components can now use proxy controls to be displayed in the form
  editor even if they don't depend on a GUI component.
* BUG: Component containers arrangement is now based on the symbol names of
  the Arrange class, not on the symbol values.

[WIKI CGI SCRIPT]
* NEW: Automatic generation of IDE dependencies.

[GB.DESKTOP]
* BUG: Remove a debugging stop.

[GB.WEB.FORM]
* NEW: WebTabPanel is a new TabStrip-like container.
* NEW: Support for multi-containers.
* NEW: WebControl.Ignore is a new property that makes a control use CSS
  absolute position.
* NEW: Emit refresh code before event javascript reply.


git-svn-id: svn://localhost/gambas/trunk@7470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-12 02:27:09 +00:00
Benoît Minisini
5489dc01ee [GB.UTIL]
* BUG: Class.Stat() can now be used several times correctly.


git-svn-id: svn://localhost/gambas/trunk@7466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 01:21:10 +00:00
Benoît Minisini
046e1873f6 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if the VERSION file is incorrect. Display an error
  message instead.

[GB.FORM]
* NEW: MessageView: Ignore a message if its contents is the same as the
  currently displayed message.


git-svn-id: svn://localhost/gambas/trunk@7465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 01:06:35 +00:00
Benoît Minisini
3ec3e2b9b5 [GB.WEB.FORM]
* NEW: Button.Enabled is a new property that allows to disable a button.
* BUG: Fix container style generation.
* NEW: WebControl have a Width and Height properties now, which are
  synoymous for their style property counterparts.
* OPT: WebControl do not send events if there are no event handler inside
  the server code.
* NEW: WebTextBox is a new control that implements a text box.
* NEW: New 'update' message from the client to update a control property in
  the server.
* NEW: WebForm.Close() is a new method that resets the form state, and try
  to close it. Note that the browser prevent windows to be closed by a
  script if they haven't been opened by a script.
* NEW: Control refresh in the browser tries to preserve the current active
  element and its selection.


git-svn-id: svn://localhost/gambas/trunk@7464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-11 00:45:49 +00:00
Benoît Minisini
5e9a9a2d10 [GB.WEB.FORM]
* BUG: Application state is now stored correctly and support different
  forms at the same time.


git-svn-id: svn://localhost/gambas/trunk@7462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-10 04:27:36 +00:00
Benoît Minisini
fe1aaed25d [DEVELOPMENT ENVIRONMENT]
* BUG: Don't raise an error while filling the editor procedure combo-box.
  Just fill it with nothing.
* BUG: Use the true family name as class name for the root control of a
  form.

[GB.HTTPD]
* NEW: The standard error output of CGI scripts is not redirected to the
  HTTP client anymore, so that the IDE catch debugging messages printed by
  the DEBUG instruction.

[GB.UTIL.WEB]
* NEW: JS is a new class that quotes a string for javascript when used as a
  static function.

[GB.WEB.FORM]
* NEW: Control can raise events from the browser to the application.
* NEW: Control properties changed during an event are stored in the session
  to make them permanent.
* NEW: Refreshing a control during an event sends the updated HTML to them
  browser.


git-svn-id: svn://localhost/gambas/trunk@7461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-10 03:57:44 +00:00
Benoît Minisini
bd73d5ddcf [GB.FORM.EDITOR]
* OPT: TextEditor: Try to detect if the desktop is remote, and disable all
  optimizations based on image caches in that case.


git-svn-id: svn://localhost/gambas/trunk@7460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 23:40:47 +00:00
Benoît Minisini
e719e777b4 [DEVELOPMENT ENVIRONMENT]
* NEW: Image selection dialog has now more options, and can choose image
  inside the ".public" directory.
* NEW: Image selection now depends on form family.

[INTERPRETER]
* NEW: Timer.Restart() is a new method that stops and starts again a timer.

[GB.FORM.EDITOR]
* NEW: TextEditor: Image line cache is now limited by the visible height.
* BUG: TextEditor: Don't use image line cache for lines too high.

[GB.WEB]
* BUG: WebPage.ToString() now works correctly.

[GB.WEB.FORM]
* NEW: Generate webform style sheet recursively.
* NEW: WebButton can have an icon with the Image property.
* NEW: WebHtml control is now usable.
* NEW: WebContainer Arrangement, Margin and Spacing properties.
* NEW: WebControl Expand property.
* NEW: WebContainer boolean Border property is there just for debugging.
* NEW: WebForm.Title property.


git-svn-id: svn://localhost/gambas/trunk@7459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 01:41:20 +00:00
Benoît Minisini
ce6b2c35b3 [GB.UTIL]
* NEW: Class.Stat() is a new static method that returns information about
  a project class without loading it. At the moment you only get the parent
  class name and if the class is exported.

[GB.WEB.FORM]
* NEW: A new embryo component that aims at providing web application GUI
  controls, web application automatic user management (login & register),
  and many other features not yet decided.


git-svn-id: svn://localhost/gambas/trunk@7457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-08 03:11:47 +00:00
Benoît Minisini
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
2cec42ba01 [GB.FORM.EDITOR]
* OPT: Refresh only the concerned lines when the selection changes.


git-svn-id: svn://localhost/gambas/trunk@7455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-05 22:51:19 +00:00
Benoît Minisini
5ab0ae6858 [GB.FORM]
* BUG: Fix stock icon templates.
* NEW: Print each loaded stock icon when Stock.Debug is set.


git-svn-id: svn://localhost/gambas/trunk@7446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 09:15:51 +00:00
Benoît Minisini
bd3dfd4fa4 [GB.FORM]
* NEW: MaskBox.Filter is a new property that takes a LIKE regular 
  expression describing the allowed characters. By default all characters
  are allowed.
* NEW: MaskBox now raises the Filter event with a character as argument. If
  this event is stopped, then the character is not allowed. By default all
  characters are allowed.

[GB.WEB]
* NEW: Request.Referer is a new property that returns the request referer.
* NEW: Request.UserAgent is a new property that returns the request user 
  agent.


git-svn-id: svn://localhost/gambas/trunk@7432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-24 21:09:13 +00:00
Benoît Minisini
d3c0c9db6b [GB.FORM.EDITOR]
* BUG: CTRL+ENTER does not crash anymore if there is nothing to fold or 
  unfold.


git-svn-id: svn://localhost/gambas/trunk@7416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:10:54 +00:00
Benoît Minisini
bc6493120e [INTERPRETER]
* NEW: File.IsHidden() is a new static method that returns if a path is 
  hidden, i.e. if its filename or one of its directory components starts 
  with a dot.

[GB.FORM]
* NEW: Setting an hidden path to a DirChooser or FileChooser automatically 
  toggles the ShowHidden property if needed.


git-svn-id: svn://localhost/gambas/trunk@7414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 01:59:12 +00:00
Benoît Minisini
0c9a9bc08c [GB.FORM]
* BUG: Fix "linux" stock icon.


git-svn-id: svn://localhost/gambas/trunk@7408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 22:59:51 +00:00
Benoît Minisini
01a2b34270 [DEVELOPMENT ENVIRONMENT]
* NEW: Project exported control icons are thiner.

[INTERPRETER]
* NEW: Release classes having an array class if that array class has no 
  instance.

[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
  "quit" hook. At the moment it releases Drag.Icon picture and voids the 
  Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:02:12 +00:00
Benoît Minisini
8db3ee2deb [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Buttons for line cap style, line join style and fill 
  rule.
* BUG: Image editor: Fix drawing of ghost line tool.

[GB.FORM.EDITOR]
* BUG: TextEditor: SHIFT + PGUP or PGDOWN keys now works as expected.

[GB.FORM.MDI]
* NEW: Workspace: Always shows the global close button, even if there is 
  only one tab.


git-svn-id: svn://localhost/gambas/trunk@7396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 01:20:37 +00:00
Benoît Minisini
f073b22eae [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly catch errors when reloading a file.

[INTERPRETER]
* BUG: Fix a possible crash when removing an element from an enumerated 
  collection.


git-svn-id: svn://localhost/gambas/trunk@7392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 23:29:35 +00:00
Tobias Boege
06893f0942 [GB.FORM]
* NEW: Wizard: Add Update() method to redraw the Wizard



git-svn-id: svn://localhost/gambas/trunk@7388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 21:33:59 +00:00
Benoît Minisini
2e22d8c24c [GB.FORM]
* BUG: File bookmark editor: Correctly save current bookmark when using
  "Up" or "Down" button.


git-svn-id: svn://localhost/gambas/trunk@7384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-04 12:58:40 +00:00
Benoît Minisini
64e95ed8e1 [GB.FORM.MDI]
* NEW: Use more granular sizes for stock icons, so that they are not too 
  small for some font sizes.

[GB.QT4]
* BUG: Desktop.Scale is now updated before window Font events are sent.
  
[GB.QT5]
* BUG: Desktop.Scale is now updated before window Font events are sent.


git-svn-id: svn://localhost/gambas/trunk@7380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:57:14 +00:00
Benoît Minisini
fa54b1e89b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a large toolbox icon size, for HighDPI screens.
* BUG: Image editor: Fix mouse wheel behaviour when zooming.
* BUG: Image editor: Clip pasted image.

[GB.REPORT2]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@7379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:11:15 +00:00
Benoît Minisini
5ef2192a49 [GB.FORM]
* NEW: Stock: Support for Trinity desktop.
* BUG: Stock: Correctly detect KDE5 icon theme.


git-svn-id: svn://localhost/gambas/trunk@7376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-02 22:09:12 +00:00
Benoît Minisini
e115c34a66 [DEVELOPMENT ENVIRONMENT]
* NEW: List property dialog: Invert button.
* BUG: Image editor: Many bug fixes in draw, erase, and line tool.
* NEW: New icons for networking controls.

[GB.DB.FORM]
* NEW: New icon for DataSource control.

[GB.QT4]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.

[GB.QT5]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.


git-svn-id: svn://localhost/gambas/trunk@7375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-01 20:55:19 +00:00
Benoît Minisini
bd337bdda4 [GB.FORM.DIALOG]
* NEW: Dialog.Key is a new property that allows to define the sub-key used 
  for storing dialog settings.
  
[GB.SETTINGS]
* NEW: Settings.Read and Settings.Write can take an absolute key as 
  argument.


git-svn-id: svn://localhost/gambas/trunk@7374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-30 15:06:41 +00:00
Benoît Minisini
beeabd049f [DEVELOPMENT ENVIRONMENT]
* NEW: Put the WebView icon in the IDE.

[GB.FORM.EDITOR]
* OPT: Don't raise Cursor event if we are between calls to Begin / End or 
  during an undo or redo process.

[GB.GUI.QT.WEBKIT]
* NEW: No need to put the WebView icon there.


git-svn-id: svn://localhost/gambas/trunk@7367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 15:03:16 +00:00
Benoît Minisini
afd98e3f55 [CONFIGURATION]
* NEW: Redraw many control icons.


git-svn-id: svn://localhost/gambas/trunk@7366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 12:53:38 +00:00
Benoît Minisini
446ce4d406 [GB.GUI.BASE]
* NEW: GridView: Don't draw the background if the Background property is 
  set to Color.Transparent.
  
[GB.FORM.EDITOR]
* BUG: TextEditor: Load() method now always move the cursor to the 
  beginning, to avoid a possible crash.


git-svn-id: svn://localhost/gambas/trunk@7359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 17:25:10 +00:00
Benoît Minisini
0feacc4358 [GB.DBUS]
* BUG: Fix some memory leaks when using DBusObject and DBusVariant in a 
  method call or a reply.
* BUG: The message observer of a DBusObject may disappear while processing
  a message. Take that into account.


git-svn-id: svn://localhost/gambas/trunk@7352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 02:39:16 +00:00
Benoît Minisini
6c6dfae9a8 [GB.FORM.MDI]
* BUG: Correctly read the action pictures in the archive they are declared.

[GB.GUI.BASE]
* BUG: Fix icon path to internal key generation in the Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-26 08:50:14 +00:00
Benoît Minisini
0a9262a2d8 [GB.FORM]
* NEW: Use Desktop.Type to get the current desktop.

[GB.GTK]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.GTK3]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT4]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT5]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.


git-svn-id: svn://localhost/gambas/trunk@7345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-25 22:47:37 +00:00
Benoît Minisini
faca7d2408 [CONFIGURATION]
* BUG: Uninstall correctly remove templates and XML appdata file.
* NEW: New Gambas icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: New class CDocumentation that allows to handle distinct sets of 
  component metadata. That way, offline documentation does not interact 
  with automatic completion and method signature popups anymore.
* NEW: Project property dialog: Add two more environment variable 
  definitions.
* NEW: New Gambas icons.
* NEW: Remove now useless icons of the old project creation dialog.

[WIKI CGI SCRIPT]
* BUG: Fix and enhance automatic generation of Gambas application package 
  dependencies.


git-svn-id: svn://localhost/gambas/trunk@7336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-24 23:52:22 +00:00
Benoît Minisini
adae12a790 [GB.FORM.EDITOR]
* BUG: TextEditor: Deleting one collapsed line correctly expands it and 
  does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 19:37:16 +00:00
Benoît Minisini
fb6e7383d6 [GB.FORM]
* BUG: ValueBox: Setting the Type property does not hide the control 
  contents anymore.


git-svn-id: svn://localhost/gambas/trunk@7331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 18:49:45 +00:00
Fabien Bodard
5a3c15f5e4 [GB.REPORT2]
* BUG: ReportImage: Remove an old size convertion and replace it by the Report Class One.
* BUG: ReportImage: Change the Matrix manipulation by the Print.DrawImage Function.
  It resolve resolution problem on printing.


git-svn-id: svn://localhost/gambas/trunk@7330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 08:32:12 +00:00
Jesus Guardon
aefa52591d [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Spanish translation



git-svn-id: svn://localhost/gambas/trunk@7327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-20 18:10:00 +00:00
Benoît Minisini
0a2fc05ba5 [GB.FORM.DIALOG]
* BUG: Dialog.SelectFont() now takes Dialog.Title into account.


git-svn-id: svn://localhost/gambas/trunk@7325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-19 18:47:40 +00:00
Benoît Minisini
abf1ba8cbf [DEVELOPMENT ENVIRONMENT]
* NEW: New project creation dialog based on template projects located in
  '/usr/share/gambas3/template' and in '~/.local/share/gambas3/template'.
  These are default directories, they may change according to your gambas
  installation prefix and home directory configuration.

[TEMPLATES]
* NEW: Project templates. There are only two at the moment, others will
  come.

git-svn-id: svn://localhost/gambas/trunk@7321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-18 00:41:43 +00:00
Benoît Minisini
8665f8766d [DEVELOPMENT ENVIRONMENT]
* NEW: More dark theme icons.
* NEW: Fabien's version of the new logo.
* BUG: Image editor: Pasted images are not one pixel too big anymore.

[GB.DBUS.TRAYICON]
* BUG: Toggle menus triggered from the trayicon menu correctly raise the
  Click event
  
[GB.FORM]
* NEW: TabPanel: Clicking with the middle mouse button on a tab button now 
  closes it.


git-svn-id: svn://localhost/gambas/trunk@7317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-16 21:37:04 +00:00
Benoît Minisini
07657caec9 [GB.FORM]
* NEW: ButtonBox: Dark theme version of default select icon.


git-svn-id: svn://localhost/gambas/trunk@7311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:30:18 +00:00
Benoît Minisini
0ae08d5271 [CONFIGURATION]
* BUG: Fix gambas server page mimetype file.
* NEW: New breeze-like icons for mimetypes.

[GB.GUI.BASE]
* NEW: Picture: Use Color[].Luminance on default background color to detect 
  dark themes.

[GB.DBUS.TRAYICON]
* NEW: New breeze default tray icon.


git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 18:22:28 +00:00
Benoît Minisini
991f685a3c [INTERPRETER]
* NEW: Component.FindFromPath() is a new method that returns the name of 
  the component a relative path belongs to.
* BUG: Fix the internal method that returns the component a relative path 
  belongs to.

[ARCHIVER]
* NEW: Better verbose mode.

[GB.GUI.BASE]
* NEW: Use the new Component.FindFromPath() method.

[GB.IMAGE]
* NEW: Color[].Luminance returns the luminance information of a color.


git-svn-id: svn://localhost/gambas/trunk@7309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-14 10:53:02 +00:00
Benoît Minisini
5edc798e2f [DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to invert an editor theme so that it is usable with a 
  GUI dark theme.
* NEW: Fix some default themes so that it is more usable inverted.

[GB.FORM.MDI]
* BUG: Don't load 'gb.form.mdi' action files. What for?


git-svn-id: svn://localhost/gambas/trunk@7306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-13 18:43:10 +00:00
Benoît Minisini
bdd864f41a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix windows using icons not existing anymore.
* NEW: Add dark theme versions of some icons.

[INTERPRETER]
* NEW: "../xxx" now refers to a file located in the parent archive, not
  necessarily the main project archive. "../../xxx" refers to the 
  grand-parent archive, and so on. A component written in Gambas that 
  receives a relative path is supposed to prefix it with "../" if he wants 
  to access it. Please report any incompatibility!
* NEW: File.IsRelative() is a new method that returns if a file is 
  relative, i.e. if it does not starts with '/' or '~'.
  
[GB.FORM]
* NEW: The Stock class does not use the Picture cache anymore. It is 
  useless as normally the Stock class is accessed from the Picture[]
  method.

[GB.FORM.MDI]
* BUG: When browsing actions, do not try to load an icon for actions that
  do not have one.

[GB.GTK]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GTK3]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GUI.BASE]
* NEW: The Picture[] array accessor and the Picture.Flush() method are now 
  implemented in that component.
* NEW: Remove support for theme specific icons.
* NEW: Add support for right-to-left specific icons. For example, if an
  icon is named 'abc-ltr.png', then it will be considered as a 
  'left-to-right' icon, and the 'abc-rtl.png' icon will be used if the 
  current langauge is right-to-left written.
* NEW: Add support for dark theme specific icons. An icon named 
  'abc-dark.png' will be the dark theme version of the 'abc.png' icon.

[GB.QT4]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.
  
[GB.QT5]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 23:21:44 +00:00
Benoît Minisini
4c26b8485c [GB.FORM.EDITOR]
* BUG: TextEditor: Reset the cursor position before actually setting the 
  Text property, to avoid a possible crash.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Ignore Style.ScrollBarSpacing when layouting scrollbars.


git-svn-id: svn://localhost/gambas/trunk@7301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 17:37:31 +00:00
Benoît Minisini
57b1daf05d [GB.FORM.EDITOR]
* NEW: TextEditor: Some ANSI codes are taken into account by the Print() 
  method.
* OPT: TextEditor: Print() modifications are not put in the undo buffer.

[GB.QT4]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.

[GB.QT5]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.


git-svn-id: svn://localhost/gambas/trunk@7299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 15:57:55 +00:00