Commit graph

5914 commits

Author SHA1 Message Date
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
Fabien Bodard
78db373d78 [GB.TERM.FORM]
* NEW: Continue the windows management implementation
* NEW: Add the Key management
* NEW: TermCheckBox: Value can change on mouse Click
* NEW: Mouse: Add the Click event



git-svn-id: svn://localhost/gambas/trunk@8060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-18 21:51:13 +00:00
Fabien Bodard
b13c3ff822 [GB.FORM.EDITOR]
* BUG: Now magnifier don't show any blank line when mouse is on the top of the preview bar.
* NEW: New simplified mouse handling. Left button to move to a place, middle one to lock
  the magnifier on the current location.


git-svn-id: svn://localhost/gambas/trunk@8059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-18 20:38:37 +00:00
Fabien Bodard
96df625cc0 [GB.FORM.EDITOR]
* BUG: TextEditor: Never call the refresh timer when the side bar is hidden.


git-svn-id: svn://localhost/gambas/trunk@8058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-16 17:30:04 +00:00
Benoît Minisini
cfa1adbc86 [GB.FORM]
* BUG: MenuButton: Never popup the menu when the button is disabled.

git-svn-id: svn://localhost/gambas/trunk@8057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-16 16:39:19 +00:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
f17e3a6ac1 [GB.MARKDOWN]
* NEW: Markdown.Verbatim is a new integer property that allows to enter or leave "verbatim" mode. It's a mode where markdown syntax is not interpreted anymore.


git-svn-id: svn://localhost/gambas/trunk@8055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:27:14 +00:00
Benoît Minisini
7f78c57736 [GB.GUI.BASE]
* NEW: GridView and its children classes display their selection in gray when they do not have the focus.
* NEW: IconView displays its selection in gray when it does not have the focus.


git-svn-id: svn://localhost/gambas/trunk@8054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:25:10 +00:00
Benoît Minisini
f0f6dc3261 [INTERPRETER]
* BUG: Automatically restart mkfifo() and open() system calls when executing the PIPE instruction.


git-svn-id: svn://localhost/gambas/trunk@8053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:22:35 +00:00
Benoît Minisini
6950a075f0 [INTERPRETER]
* BUG: Tasks do not inherit signal handler pipe anymore, they recreate it instead. Otherwise you have interferences with the parent process of the task, and some signals are lost.
* BUG: Buffered streams now take the internal stream flag "available_now" into account. No idea why that was disabled.
* BUG: Standard streams now set the internal stream flag "available_now" if they are not connected to a terminal. Which may not be necessarily accurate, so it is a temporary change.


git-svn-id: svn://localhost/gambas/trunk@8052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-11 16:57:44 +00:00
Fabien Bodard
e73d08f2bf [GB.TERM.FORM]
* NEW: a new Class Mouse allow to manage mouse
* NEW: Mouse events are working
* NEW: Window support Maximize and close on mouse click
* NEW: A new Message class allow to display a messagebox
* NEW: A TermPictureBox is available just for fun... working only on Xterm compatible emulators.
* OPT: And so on...




git-svn-id: svn://localhost/gambas/trunk@8051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-09 21:59:27 +00:00
Benoît Minisini
82f04c2850 [GB.QT5.OPENGL]
* BUG: The component now should compile correctly with C++11.

[GB.QT5.WEBKIT]
* BUG: The component now should compile correctly with C++11.


git-svn-id: svn://localhost/gambas/trunk@8050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-09 21:36:38 +00:00
Benoît Minisini
d0240599c8 [GB.QT5]
* BUG: The component now should compile correctly with C++11.


git-svn-id: svn://localhost/gambas/trunk@8049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-09 14:46:59 +00:00
Benoît Minisini
61b5676b6a [GB.TERM]
* BUG: Fix local and control flags of terminal settings.


git-svn-id: svn://localhost/gambas/trunk@8048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 22:35:34 +00:00
Fabien Bodard
0c6d15fd44 [GB.FORM.EDITOR]
* New: Preview: Some arrows to make more visible separators
* New: Preview: Take folded lines into account.
* New: Preview: Right mouse button to got fast to a point, left to 
  slide or page up/down, center to fix the magnifier on a point.
  


git-svn-id: svn://localhost/gambas/trunk@8047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 14:08:01 +00:00
Benoît Minisini
8794f5b0fc [DEVELOPMENT ENVIRONMENT]
* NEW: Update debian & ubuntu package section lists.


git-svn-id: svn://localhost/gambas/trunk@8046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 13:25:47 +00:00
Benoît Minisini
8605000ce5 [GB.NET.CURL]
* BUG: HttpClient: Headers are now correctly parsed when the content length is zero.
* BUG: HttpClient: Remove the initial space of the reason string.


git-svn-id: svn://localhost/gambas/trunk@8045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 13:05:09 +00:00
Benoît Minisini
aab46220f6 [GB.GTK]
* BUG: Window.Show() works again on hidden windows.

[GB.GTK3]
* BUG: Window.Show() works again on hidden windows.

[GB.QT4]
* BUG: Window.Show() works again on hidden windows.

[GB.QT5]
* BUG: Window.Show() works again on hidden windows.


git-svn-id: svn://localhost/gambas/trunk@8044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 10:57:16 +00:00
Benoît Minisini
d5f1ac948c [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* NEW: Support for the new gb.term component.

[INTERPRETER]
* NEW: Add an API that returns the file descriptor associated with a specific stream.

[GB.TERM]
* NEW: New component for terminal management with an API very close to the one provided by the operating system.


git-svn-id: svn://localhost/gambas/trunk@8043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:58:20 +00:00
Benoît Minisini
9959e44bde [DEVELOPMENT ENVIRONMENT]
* NEW: Update support file.


git-svn-id: svn://localhost/gambas/trunk@8042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:56:06 +00:00
Benoît Minisini
bb3b541b54 [GB.WEB.FORM]
* BUG: WebDateBox: Settings the Value (or Date) property raise the Change event.
* NEW: WebForm: The AddJavascriptFile() method now support extern javaascript files.
* NEW: WebTable: EnsureVisible() is a new method ensuring that a specific row is visible to the screen.
* BUG: WebTextBox: Fix the raise of Activate event.
* BUG: WebTextBox: Fix autocompletion support.


git-svn-id: svn://localhost/gambas/trunk@8041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:55:12 +00:00
Benoît Minisini
12da889f63 [GB.FORM]
* NEW: URLLabel: Add Alignment and Border properties.


git-svn-id: svn://localhost/gambas/trunk@8040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:50:25 +00:00
Benoît Minisini
1ee7928773 [GB.UTIL.WEB]
* BUG: JSON.Encode() now correctly handles JSON.Null values.


git-svn-id: svn://localhost/gambas/trunk@8039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:47:26 +00:00
Benoît Minisini
bed54dc488 [WEBSITE MAKER]
* NEW: Update to Gambas 3.9.2.


git-svn-id: svn://localhost/gambas/trunk@8038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:45:44 +00:00
Benoît Minisini
ae6cb9e896 [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS properties and values.


git-svn-id: svn://localhost/gambas/trunk@8037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:44:28 +00:00
Benoît Minisini
233bc8bd24 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Make the 'Reset' button common to all tabs. It is visible only if the current tab can be reset.
* NEW: Project property dialog: The component list is sorted so that checked components come first. Consequently, The checkbox that shows the selected components only has been removed.
* NEW: Project property dialog: The defaut font of the help browser of the component chooser control is smaller now.



git-svn-id: svn://localhost/gambas/trunk@8036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-02 21:29:10 +00:00
Benoît Minisini
8d43833241 [GB.SDL2]
* BUG: Image.Load() automatically converts loaded image to default SDL image format.


git-svn-id: svn://localhost/gambas/trunk@8035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-01 19:57:13 +00:00
Benoît Minisini
558f5f2271 [GB.GTK]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.GTK3]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT4]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT5]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.


git-svn-id: svn://localhost/gambas/trunk@8034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 18:59:14 +00:00
Benoît Minisini
ebe9e89789 [DEVELOPMENT ENVIRONMENT]
* BUG: Display an error message instead of crashing if no terminal is found.


git-svn-id: svn://localhost/gambas/trunk@8033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:11:58 +00:00
Benoît Minisini
abf2aa56c8 [DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Move the 'Configure shortcuts' button to the 'Interface' tab.


git-svn-id: svn://localhost/gambas/trunk@8032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:11:21 +00:00
Benoît Minisini
c4d22f9d24 [INTERPRETER]
* BUG: Forbid continuing and stay in debugger when an unhandled error is raised. This prevent crashes when an error occurs during variable initialization.


git-svn-id: svn://localhost/gambas/trunk@8031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:02:58 +00:00
Benoît Minisini
4e887b93b3 [INTERPRETER]
* BUG: Do not crash anymore when converting a pointer to an anonymous object. Raise an error instead.


git-svn-id: svn://localhost/gambas/trunk@8030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 12:01:12 +00:00
Benoît Minisini
397a1eec2b [GB.GTK]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.

[GB.GTK3]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.


git-svn-id: svn://localhost/gambas/trunk@8029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:20:25 +00:00
Benoît Minisini
b57b2fb7cd [GB.GTK]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.

[GB.GTK3]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.



git-svn-id: svn://localhost/gambas/trunk@8028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:07:45 +00:00
Benoît Minisini
c0c01b1d4a [GB.GTK]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.

[GB.GTK3]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.



git-svn-id: svn://localhost/gambas/trunk@8027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 00:01:29 +00:00
Benoît Minisini
7e058b45d8 [GB.GTK]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.GTK3]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT4]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT5]
* BUG: Search for popup menu defined by the PopupMenu property recursively.


git-svn-id: svn://localhost/gambas/trunk@8026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-29 22:59:41 +00:00
Benoît Minisini
e1cb68a0b6 [GB.NET.SMTP]
* BUG: Always check for multi-line answers.
* BUG: Assume that TLS session is connected after running for one second.
* NEW: Print openssl error output if the Debug property is set.

git-svn-id: svn://localhost/gambas/trunk@8025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-29 16:04:39 +00:00