Commit graph

5889 commits

Author SHA1 Message Date
Benoît Minisini
44f544e4cc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix virtual controls management like HttpClient, FtpClient, and so on.


git-svn-id: svn://localhost/gambas/trunk@7804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-21 21:11:57 +00:00
Benoît Minisini
82c20cf083 [GB.QT4]
* BUG: Workadounr Enter & Leave events QT madness.

[GB.QT5]
* BUG: Workadounr Enter & Leave events QT madness.


git-svn-id: svn://localhost/gambas/trunk@7803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-21 01:06:20 +00:00
Benoît Minisini
f0a058e675 [GB.GTK3]
* BUG: Fix compilation with GTK+ version < 3.14.


git-svn-id: svn://localhost/gambas/trunk@7802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 22:24:32 +00:00
Benoît Minisini
bad1f7398f [GB.GTK3]
* BUG: Checked menus are now drawn correctly with all widget themes.


git-svn-id: svn://localhost/gambas/trunk@7801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 18:59:16 +00:00
Benoît Minisini
a4c9b03edb [DEVELOPMENT ENVIRONMENT]
* NEW: Add a button in the search list panel that closes it.


git-svn-id: svn://localhost/gambas/trunk@7800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-13 07:53:41 +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
853862d756 [DEVELOPMENT ENVIRONMENT]
* NEW: Display SQLite library version in the system information dialog.


git-svn-id: svn://localhost/gambas/trunk@7798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-07 00:17:32 +00:00
Benoît Minisini
c324389180 [COMPILER]
* NEW: Rename the internal class initialization method from "$load" to "@load", so that the valid identifier "$load" can be freely used by the user.


git-svn-id: svn://localhost/gambas/trunk@7797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-07 00:08:11 +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
Benoît Minisini
813a9c04c0 [DEVELOPMENT ENVIRONMENT]
* BUG: Show console before inserting a message inside.
* BUG: Fix the height of some labels in the create project dialog.
* NEW: Auto-completion of event handlers now automatically inserts their signature.


git-svn-id: svn://localhost/gambas/trunk@7794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-31 22:17:22 +00:00
Benoît Minisini
f01ea65084 [INTERPRETER]
* BUG: Fix a possible misuse of kill() when calling Process.Kill().


git-svn-id: svn://localhost/gambas/trunk@7792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-31 12:11:35 +00:00
Willy Raets
ff8f4aa093 [DEVELOPMENT ENVIRONMENT]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 20:10:29 +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
9779e9b105 [INTERPRETER]
* NEW: The Stream class now can raise a Resize event. Only the standard input stream (File.In) can raise it.
* NEW: If the startup class defines an Application_Read() or an Application_Resize() event handler, then the standard input stream is attached to it with the "Application" event name, so that these event handlers are used. Otherwise, the standard input stream must be attached and watched manually.


git-svn-id: svn://localhost/gambas/trunk@7785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 22:03:16 +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
e68a378ffa [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Support for new internal library naming scheme.


git-svn-id: svn://localhost/gambas/trunk@7780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 18:48:03 +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
c6a24a3a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Add pastel theme made by Antonio Orefice.


git-svn-id: svn://localhost/gambas/trunk@7773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-13 12:54:19 +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
535fa6bea3 [GB.INOTIFY]
* BUG: Forgot to commit a source file.


git-svn-id: svn://localhost/gambas/trunk@7768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 00:55:08 +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
7fc3acc849 [GB.INOTIFY]
* BUG: Now you can create as many watches on the same path as you want.
* NEW: Consequently, the Watch[] static array accessor, that returned the watch associated with a path, had to be removed.
* NEW: The flags constants and the Watch.Events property are now associated with the Gambas events, not the internal inotify events.


git-svn-id: svn://localhost/gambas/trunk@7766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-06 23:03:28 +00:00
Benoît Minisini
364288739a [DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Some design fixes.
* BUG: Display a message when the debugged program is stopped by CTRL+C or the SIGTERM signal.


git-svn-id: svn://localhost/gambas/trunk@7765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 17:40:44 +00:00
Benoît Minisini
79d8aa1673 [GB.GTK]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.

[GB.GTK3]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.


git-svn-id: svn://localhost/gambas/trunk@7764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 14:01:49 +00:00
Benoît Minisini
8abf1b70dd [GB.GTK]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.GTK3]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT4]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT5]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.


git-svn-id: svn://localhost/gambas/trunk@7763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 12:41:17 +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
94f00ad8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Createing a project from a template having no icon now works correctly.


git-svn-id: svn://localhost/gambas/trunk@7761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 00:55:39 +00:00
Benoît Minisini
84edd41c8a [DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Layout the "space(s)" label so that it trims its contents if its translation is too wide.


git-svn-id: svn://localhost/gambas/trunk@7760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 20:05:54 +00:00
Benoît Minisini
653afd7f88 [GB.NET]
* BUG: ServerSocket: Handle all error codes when listening.


git-svn-id: svn://localhost/gambas/trunk@7759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 19:53:01 +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
59d84053a9 [GB.DB.MYSQL]
* BUG: Use "START TRANSACTION" instead of "BEGIN", because I was told that BEGIN actually does nothing as autocommit is set by default.


git-svn-id: svn://localhost/gambas/trunk@7756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 14:56:57 +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