Commit graph

1864 commits

Author SHA1 Message Date
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