Commit graph

2004 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Fabien Bodard
46d7adce21 [GB.FORM.EDITOR]
* BUG: Refresh the Preview when needed.


git-svn-id: svn://localhost/gambas/trunk@8020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-23 20:14:00 +00:00
Fabien Bodard
9fce5f2416 [GB.FORM]
* BUG: DocumentView: WorkAround to lock scrolling on mouseWheel


git-svn-id: svn://localhost/gambas/trunk@8018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-20 14:26:08 +00:00
Benoît Minisini
80d79748f2 [GB.FORM.EDITOR]
* NEW: Some little cosmetic changes in the preview bar.

git-svn-id: svn://localhost/gambas/trunk@8017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-19 13:28:11 +00:00
Fabien Bodard
84edb015f4 [GB.FORM.EDITOR]
* BUG: Solve some problems on RTL


git-svn-id: svn://localhost/gambas/trunk@8016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-18 20:45:20 +00:00
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