Commit graph

6000 commits

Author SHA1 Message Date
Benoît Minisini
f184669d7e [GB.WEB.FORM]
* NEW: WebMenuBar is a new control that acts as a container of WebMenu controls. It was made as a workaround of the badly designed CSS specifications of the overflow property. It may be removed if I find a way to use the WebHBox instead.
* NEW: WebComboBox: Activate waiting animation when selecting an item.
* BUG: WebForm: They can be resized horizontally again.
* BUG: WebForm: Top level form titlebar is now correctly highlighted again.


git-svn-id: svn://localhost/gambas/trunk@8111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 12:18:50 +00:00
Benoît Minisini
1184d41881 [INTERPRETER]
* BUG: Fix a possible bad serialization of arrays.
* BUG: Don't crash during the unserialisation of an array whose datatype has been incorrectly serialized. Raise an error instead.


git-svn-id: svn://localhost/gambas/trunk@8110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 12:14:01 +00:00
Benoît Minisini
8f079935df [GB.WEB.FORM]
* BUG: WebForm: Don't raise the Open event twice anymore when showing a modal form.
* BUG: WebUploader: The progress bar is now correctly visible.
* NEW: WebUploader: Image is a new property that allows to define the icon of the file upload button.


git-svn-id: svn://localhost/gambas/trunk@8109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-08 21:53:02 +00:00
Benoît Minisini
8ecd2f680d [GB.WEB.FORM]
* NEW: WebUploader is a control that aims at managing the file upload process entirely. It is a combination of a WebUploadArea, a cancel button, and a progress bar.
* BUG: Always refresh the parent when the visibility of a control changes.


git-svn-id: svn://localhost/gambas/trunk@8108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-05 20:23:08 +00:00
Brian G
678a6c518b [GB.FORM.TERMINAL]
* BUG: Correct ConnectTo to handle Socket connections correctly
* New: updated ConnectTo added new parameter, Preprocess. to allow a call back to the object method Preprocess for preprocessing 
  the buffer to handle protocol or state processing buffer and count are passed byref to allow proprocessor to change
  the buffer and the length. Allows to plug in a protocol object or handle out of band data.


git-svn-id: svn://localhost/gambas/trunk@8107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-28 05:55:03 +00:00
Brian G
c08d2e058c [GB.FORM.TERMINAL]
* NEW :  Method ConnectTo which allows to connect terminal to a stream
  Pipe, etc. It takes as input the terminal input and output stream
  the interface is Public Sub ConnectTo ( $hOutputStream As Variant, $hInputStream As Variant ) As Boolean


git-svn-id: svn://localhost/gambas/trunk@8106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-27 01:17:05 +00:00
Brian G
207dbcdfb5 [update]
- added pipe and stream support to terminal class
   


git-svn-id: svn://localhost/gambas/trunk@8105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-26 09:31:12 +00:00
Benoît Minisini
e68cad85c4 [INTERPRETER]
* NEW: Steam.Watch() is a new method that allows to watch/unwatch a stream for reading and/or writing after it has been opened.


git-svn-id: svn://localhost/gambas/trunk@8104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-25 23:10:45 +00:00
Benoît Minisini
d84f576ea7 [GB.SETTINGS]
* BUG: Settings: Correctly write small float values.

git-svn-id: svn://localhost/gambas/trunk@8103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-22 21:52:37 +00:00
Benoît Minisini
5ca39119fb [GB.GUI.BASE]
* NEW: GridView: AddColumn() is a new method to add a column.
* NEW: ColumnView: AddColumn() is a new method to add a column.

git-svn-id: svn://localhost/gambas/trunk@8102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-22 01:16:54 +00:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
1353c10803 [GB.FORM.TERMINAL]
* NEW: TerminalView: Ignore '[1034h' and '[1034l' sequences instead of displaying a warning message.


git-svn-id: svn://localhost/gambas/trunk@8100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:20:06 +00:00
Benoît Minisini
d17e67c77b [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Add 'rust' and 'javascript' package groups for Debian and Ubuntu.

git-svn-id: svn://localhost/gambas/trunk@8099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 16:07:46 +00:00
Benoît Minisini
c096cae757 [GB.DBUS]
* BUG: Calling a method or a property that returns a string does not corrupt memory anymore.


git-svn-id: svn://localhost/gambas/trunk@8098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 15:13:37 +00:00
Benoît Minisini
7132d88001 [GB.QT5]
* BUG: SpinBox: MouseWheel events are correctly stopped now.


git-svn-id: svn://localhost/gambas/trunk@8097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 12:29:04 +00:00
Benoît Minisini
51dfdf0932 [GB.DESKTOP]
* NEW: DesktopWindow: Shaded is a new property that tells if a window is shaded (i.e. only its titlebar is visible).

git-svn-id: svn://localhost/gambas/trunk@8096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 03:38:11 +00:00
Benoît Minisini
de7c4e9f5a [GB.DESKTOP]
* BUG: A void atom name is now associated with the atom 0 (None).

git-svn-id: svn://localhost/gambas/trunk@8095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 03:01:13 +00:00
Benoît Minisini
ca78e32f93 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix event automatic completion on controls having an underscore in their name.


git-svn-id: svn://localhost/gambas/trunk@8094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 02:56:23 +00:00
Benoît Minisini
9848a8a6f5 [GB.DBUS]
* BUG: DBus structures are now unmarshalled to accurate Gambas arrays.


git-svn-id: svn://localhost/gambas/trunk@8093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 01:57:27 +00:00
Benoît Minisini
44c593bed3 [CONFIGURATION]
* NEW: Add 'gb.term.form' to the list of components to compile.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas font.
* NEW: Add 'gb.term.form' to the list of components.
* OPT: Optimize the automatic completion of identifiers.
* OPT: Optimize the automatic completion of event handlers.


git-svn-id: svn://localhost/gambas/trunk@8092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-15 22:10:18 +00:00
Benoît Minisini
56dff64b8c [GB.FORM.TERMINAL]
* NEW: TerminalView: Raise a Resize event with the new terminal dimensions when the terminal is resized.

git-svn-id: svn://localhost/gambas/trunk@8091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-15 21:09:29 +00:00
Benoît Minisini
c7de0c06d5 [GB.WEB.FORM]
* BUG: WebTable: Clicking inside a row in multiple selection row now just toggle that row. It does not unselect all the other rows anymore.
* BUG: WebTable: Selection works correctly again with Firefox.


git-svn-id: svn://localhost/gambas/trunk@8090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-14 00:44:03 +00:00
Benoît Minisini
661accb890 [INTERPRETER]
* NEW: The GB.SystemHasForked() API now resets the pseudo-random number generator, and the signal handler management pipe.


git-svn-id: svn://localhost/gambas/trunk@8089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-11 01:00:44 +00:00
Benoît Minisini
5e49bfbd90 [GB.DB.SQLITE2]
* BUG: Make component compile with gcc 6.

[INTERPRETER]
* BUG: Include <cmath> instead of <math.h> for components written in C++, so that they compile with gcc 6.

[GB.GTK]
* BUG: Make component compile with gcc 6.

[GB.GTK3]
* BUG: Make component compile with gcc 6.

[GB.QT4]
* BUG: Make component compile with gcc 6.

[GB.QT5]
* BUG: Make component compile with gcc 6.


git-svn-id: svn://localhost/gambas/trunk@8088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-07 00:08:22 +00:00
Benoît Minisini
9676fc8ba1 [GB.NET.SMTP]
* BUG: Format mime parts Content-Type correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@8087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-07 00:04:19 +00:00
Benoît Minisini
2bc3143a32 [GB.DBUS.TRAYICON]
* BUG: Apparently LXDE has support for indicators, whereas KDE system tray protocol is not supported.

git-svn-id: svn://localhost/gambas/trunk@8086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-05 21:45:50 +00:00
Benoît Minisini
6ae433258c [GB.TERM.FORM]
* OPT: Little optimizations in the main render routine based on profiler result.

git-svn-id: svn://localhost/gambas/trunk@8085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-04 22:20:06 +00:00
Benoît Minisini
a829f83b3a [GB.FORM.TERMINAL]
* BUG: Correctly draw blinking text.
* BUG: Vertical and horizontal bar graphical characters now has a minimum size of 1 pixel, otherwise the thinner ones may not be visible.


git-svn-id: svn://localhost/gambas/trunk@8084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-04 11:14:27 +00:00
Fabien Bodard
bb294b9830 [GB.TERM.FORM]
* BUG: Optimize a lot rendering by using String stream and limiting calls to attr class.
* BUG: Use term.makeraw function.


git-svn-id: svn://localhost/gambas/trunk@8083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-03 22:43:12 +00:00
Fabien Bodard
fa2b72cf76 [GB.TERM.FORM]
* NEW: TermTextBox: new widget TextBox
* NEW: TermRadioButton: new widget RadioButton
* NEW: the widgets use default colors from TermColor



git-svn-id: svn://localhost/gambas/trunk@8082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-02 21:45:09 +00:00
Benoît Minisini
1bfc8104a9 [GB.DBUS]
* BUG: Instrospection now correctly declares properties or methods that return a class inheriting DBusVariant.

git-svn-id: svn://localhost/gambas/trunk@8081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-02 10:44:00 +00:00
Benoît Minisini
2c02c136ae [DEVELOPMENT ENVIRONMENT]
* NEW: Published software screenshots are now stretched to 640 pixels instead of 320 pixels.


git-svn-id: svn://localhost/gambas/trunk@8080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 22:47:17 +00:00
Fabien Bodard
686a7895b8 [GB.DESKTOP]
* BUG: Escape commented lines in .desktop files.


git-svn-id: svn://localhost/gambas/trunk@8079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 16:31:20 +00:00
Benoît Minisini
d78981442e [GB.GTK]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.

[GB.GTK3]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.


git-svn-id: svn://localhost/gambas/trunk@8078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 01:45:50 +00:00
Benoît Minisini
5e35328bf5 [GB.DB.MYSQL]
* BUG: Deleting an index does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@8077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 01:27:57 +00:00
Benoît Minisini
4171b001ac [GB.DB.SQLITE2]
* BUG: Fix an incorrect implicit cast for gcc 7.


git-svn-id: svn://localhost/gambas/trunk@8076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 01:10:28 +00:00
Benoît Minisini
3c99af9cae [GB.WEB.FORM]
* BUG: WebExpander: Arrows are correctly displayed now.
* NEW: Message boxes icons are now pre-loaded.
* NEW: WebTableView: Sortable is a new property that indicates that the table can be sorted.
* NEW: WebTableView: Columns[].Sortable is a new property that tells if a specific is sortable or not. By default, all columns are sortable.
* NEW: WebTableView: SortColumns is a new property that returns the index of the currently sorted columns, or -1 if no column is sorted.
* NEW: WebTableView: SortOrder is a new property that returns the sort order (gb.Ascent or gb.Descent) or the currently sorted column.
* NEW: WebTableView: Sort is a new event that is raised each time the sort state of the table has changed, meaning that the table view contents must be refreshed with the newly sorted data.
* NEW: WebTableView: Clicking on a row, when the table is in multiple selection mode, selects the clicked row and unselect the other ones.


git-svn-id: svn://localhost/gambas/trunk@8075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:27:33 +00:00
Benoît Minisini
27214b7a03 [GB.SETTINGS]
* BUG: Saving the settings of a window now takes the window desktop into account only for toplevel windows.


git-svn-id: svn://localhost/gambas/trunk@8074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:21:01 +00:00
Benoît Minisini
78ea41222f [DEVELOPMENT ENVIRONMENT]
* NEW: Don't use side preview in editors where this is not useful.


git-svn-id: svn://localhost/gambas/trunk@8073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:18:57 +00:00
Benoît Minisini
adc86b9e39 [GB.DB.MYSQL]
* BUG: Use MEDIUMTEXT instead of TEXT for unlimited text fields, so that the maximum length is 16MB and not 64K.


git-svn-id: svn://localhost/gambas/trunk@8072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-30 21:37:56 +00:00
Fabien Bodard
33ffab3071 [GB.TERM.FORM]
* NEW: Begin to implement focus management (It work on forward but 
  I have a bug on backward).


git-svn-id: svn://localhost/gambas/trunk@8071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-30 21:02:16 +00:00
Benoît Minisini
971d2787d9 [GB.WEB.FORM]
* NEW: The activate event of TextBox and ComboBox now display the waiting animation.
* BUG: WebTableView: Selected rows are now highlighted correctly even with cell having explicit background and foreground color.


git-svn-id: svn://localhost/gambas/trunk@8070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 22:01:14 +00:00
Benoît Minisini
d08a149351 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix sidebar editor preview style synchronization.
* NEW: TextEditor: Reduce sidebar refresh timers delays.


git-svn-id: svn://localhost/gambas/trunk@8069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 21:08:55 +00:00
Benoît Minisini
3e6103b678 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix handling of folded procedures in sidebar editor preview.
* BUG: TextEditor: Fully synchronize sidebar editor preview options and highlight.


git-svn-id: svn://localhost/gambas/trunk@8068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 20:59:35 +00:00
Fabien Bodard
f95566e633 [GB.TERM.FORM]
* BUG: Remove many bugs on rendering.


git-svn-id: svn://localhost/gambas/trunk@8067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 19:01:24 +00:00
Fabien Bodard
c8d559c9e2 [GB.FORM.EDITOR]
* NEW: Now use the Editor.View Poperty to share the CDocument content with the
  Bar bubble.


git-svn-id: svn://localhost/gambas/trunk@8066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 17:31:35 +00:00
Benoît Minisini
cf6eb94ebd [INTERPRETER]
* BUG: Detection of svn commit version now works with older version of subversion.


git-svn-id: svn://localhost/gambas/trunk@8064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-25 22:30:19 +00:00
Fabien Bodard
93207f480a [GB.FORM]
* NEW: Add the stock icon for scanner device


git-svn-id: svn://localhost/gambas/trunk@8063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-25 15:15:08 +00:00
Benoît Minisini
c19fd1bd29 [GB.SDL2]
* NEW: Window.Grabbed is a new property that return or set if the mouse is confined to the window.


git-svn-id: svn://localhost/gambas/trunk@8062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-24 22:06:21 +00:00
Benoît Minisini
93ed4cd697 [GB.QT5.EXT]
* BUG: The component now should compile correctly with C++11.


git-svn-id: svn://localhost/gambas/trunk@8061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-21 21:14:42 +00:00