Commit graph

2061 commits

Author SHA1 Message Date
gambas
288fcef39e Fix current class metadata refresh in the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix current class metadata refresh.

[GB.FORM.EDITOR]
* NEW: TextEditor: Always raise Change events before Cursor events.
2017-08-28 21:40:09 +02:00
gambas
982222e37f Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-28 19:13:13 +02:00
gambas
088f5b9cfa New 'exec' icon for breeze themes, and new String.FromHTM() method.
[GB.FORM]
* NEW: Change 'exec' icon for breeze themes.

[GB.UTIL]
* NEW: String.FromHTML() is a new method that extract text from a piece of HTML. Named entities are mostly not supported. But everything enclosed in a <script> or <style> markup is ignored.
2017-08-28 19:08:33 +02:00
gambas
6296389b6d TerminalView: Hitting RETURN or ENTER sends a '\r' instead of a '\n' by default.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Hitting RETURN or ENTER sends a '\r' instead of a '\n' by default.
2017-08-28 19:06:17 +02:00
gambix
4e2f0179dd More stuff on TermForm
[GB.TERM.FORM]
* NEW: Add some visible properties to TermForm like Resizable, Border and arrangement.
* OPT: Better management for title bar showed now only when there is a border.
2017-08-27 15:34:05 +02:00
gambas
0c2b70d16e Make 'gb.term.form' compilable again.
[GB.TERM.FORM]
* BUG: Make 'gb.term.form' compilable again.
2017-08-26 22:14:56 +02:00
gambix
fca930e139 [GB.TERM.FORM]
* OPT: Make the object placement more logical. the 0,0 pos now
       is the left corner after the border.
* NEW: Add the showmodal function
2017-08-26 20:25:52 +02:00
gambas
64a7461a18 Fix TerminalView drawing routine and add double and triple click support.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix line drawing routine.
* NEW: TerminalView: Double click now selects the current word.
* NEW: TerminalView: Triple click now selects the current line.
2017-08-26 18:28:54 +02:00
gambas
5b27b521b0 Add coordinates properties to TermControl and some _DrawWith constants
[GB.TERM.FORM]
* NEW: Add coordinates properties to TermControl.
* NEW: Add some _DrawWith constants.
2017-08-26 13:14:55 +02:00
Benoît Minisini
fcfc4f3f48 Merge branch 'master' into 'master'
Dutch translations

See merge request !9
2017-08-25 21:53:41 +00:00
gbWilly
9aa58ba62c Dutch translations for gb.web.form and gb.web.feed
[GB.WEB.FORM]
* NEW: Updated Dutch translations
[GB.WEB.FEED]
* NEW: Dutch translations
2017-08-25 23:45:15 +02:00
gambas
0d520539b9 TerminalView: Use more visible default colors for dark backgrounds.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Use more visible default colors for dark backgrounds.
2017-08-25 23:10:06 +02:00
gambas
63371c84f6 TerminalView: Take the bold character width into account for character size.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Take the bold character width into account for character size.
2017-08-25 23:08:31 +02:00
gambas
33be66f655 Fix RETURN and ENTER key management in TerminalView.
[GB.FORM.TERMINAL]
* BUG: TerminalView: RETURN and ENTER key must send a NL character, not a CR.
2017-08-25 23:07:01 +02:00
gbWilly
6aaec534f9 Dutch translations
[GB.TERM.FORM]
* NEW: Dutch translations
2017-08-25 23:02:57 +02:00
gambix
ea049dda7b Pictures for controls are not well linked.
[GB.TERM.FORM]
* BUG: Reduce the output volume during list browsing
* NEW: Some helptool for debugging : TermWindows now accept 3 value.
       DebugNone, DebugInput, debugging
* BUG: Use relative path for control picture.
2017-08-25 15:44:39 +02:00
gambix
fe71f363a6 Problem on maximized windows
[GB.TERM.FORM]
* BUG: TermWindow: Do not try to use desktop size with maximized to false
2017-08-25 11:23:51 +02:00
gambix
c488f68ebb The maximized windows not fit the resized terminal windows.
[GB.TERM.FORM]
* BUG: TermWindow: The maximize property now truely work. And the
       Layout take into account the title
* NEW: TermListBox: Changing the text of a line just refresh the line.
2017-08-25 10:53:49 +02:00
gambas
a527b9cdc2 Add control pictures in 'gb.term.form'.
[GB.TERM.FORM]
* NEW: Add control pictures.
* NEW: Declare a few "_Properties" constants and a test TermForm to check IDE support.
2017-08-24 20:38:01 +02:00
gambix
1e78fd8155 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-24 17:33:16 +02:00
gambix
38a6457dfc [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add support for terminal form in the designer.

[GB.TERM.FORM]
* NEW: Add all the stuff needed for the ide designer.
2017-08-24 17:28:54 +02:00
gambas
f45192abb2 Fix pseudo-terminal management again. Now processes run through a terminal set the ECHO flag, and do not clear the OCRNL flag.
[INTERPRETER]
* NEW: Initialize pseudo-terminals with ECHO and don't clear OCRNL flag. This is not compatible with previous versions, as now, by default, printing a NL will become CR+NL through the pseudo-terminal.
  But I didn't succeed in modifying the pseudo-terminal reliably once the child has started. It sometimes fails silently.
* NEW: Check the result of tcsetattr() carefully, as it returns an error only if none of the flags has been set, not just one.

[GB.TERM]
* NEW: Check the result of tcsetattr() carefully, as it returns an error only if none of the flags has been set, not just one.

[GB.FORM.TERMINAL]
* OPT: TerminalView: Reorder some tests in escape codes analyze.
* NEW: TerminalView: The mouse wheel now sends up and down keys when we are not in mouse mode, and if there is nothing to scroll.
2017-08-23 18:10:58 +02:00
gambas
b77004d014 JSON.Encode() now correctly handle null variants or objects.
[GB.UTIL.WEB]
* BUG: JSON.Encode() now correctly handle null variants or objects.
2017-08-23 03:46:10 +02:00
gambas
4ccf87a00b Some TerminalView fixes, add a Title property, and an Input() method to send text to the terminal input.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Title is a new property to read or set the terminal title.
* NEW: TerminalView: Ignore XTerm specific commands other than title setting.
* BUG: TerminalView: Fix managment of terminal connected to explicit streams.
* BUG: TerminalView: Fix Paste() method.
* NEW: TerminalView: Raise an error now if we try to execute a process or connect streams whereas the terminal is already in use.
* NEW: TerminalView: Input() is a new method to send some text to the terminal input.
2017-08-22 21:23:59 +02:00
gambas
f05e6bc0ca Fix the TerminalView control again, and the way processes are run in pseudo-terminals.
[DEVELOPMENT ENVIRONMENT]
* BUG: Terminal: Replace "\n" by "\r\n" when sending text to the output terminal.

[INTERPRETER]
* NEW: When a process is run with a pseudo-terminal, don't set the ECHO flag, and clear the ONLCR flag.
  That way, the data printed on the standard output is the same as when the process is not run in a pseudo-terminal.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Output filter now works correctly when it receives incomplete data.
* OPT: TerminalViews: Resize the terminal less often when the terminal view is resized.
* NEW: TerminalView: When a process is run inside the terminal, set the ECHO and ONLCR flags automatically.
2017-08-22 13:20:26 +02:00
gambas
5bb80e57e1 A lot of fixes in the TerminalView class.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix management of ENTER and RETURN keys.
* BUG: TerminalView: CursorLeft and CursorRight commands now work correctly if the terminal has scrolled.
* BUG: TerminalView: Fix management of scroll margins.
* BUG: TerminalView: CursorHome command now takes the scroll margins into account as required.
* NEW: TerminalView: When a key is pressed, automatically scroll to the bottom of the view.
2017-08-21 13:59:17 +02:00
gambas
06f038799b Optimize session management based on SQLite.
[GB.WEB]
* OPT: Activate WAL mode and disable WAL synchronisation for sessions based on a SQLite database.
2017-08-19 20:21:16 +02:00
gambas
6ee476fd7e TextEditor: Update SideBar view font only when needed, and set the Font property once.
[GB.FORM.EDITOR]
* BUG: TextEditor: Update SideBar view font only when needed, and set the Font property once.
2017-08-17 15:34:19 +02:00
Laurent Carlier
aa559edd9f Add .action directory to .gitignore 2017-08-15 08:38:45 +02:00
Laurent Carlier
e78a7fae66 Add more generated files to .gitignore, remove them from the repository 2017-08-15 08:03:17 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
47aa838ba2 [DEVELOPMENT ENVIRONMENT]
* OPT: Editor: Some optimizations in identifier completion.
* NEW: Image editor: Add an opacity effect.
* NEW: Update backround images.

[WEBSITE MAKER]
* NEW: Update to 3.10 version.

[WIKI]
* NEW: The '{@classes}' command can take arguments to add custom classes to the list of classes.


git-svn-id: svn://localhost/gambas/trunk@8175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-12 09:15:57 +00:00
Fabien Bodard
dcabf06cbf [GB.TERM.FORM]
* NEW: New TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-02 20:51:31 +00:00
Benoît Minisini
d42a49b57d [CONFIGURATION]
* NEW: Switch version to 3.10.90.

[GB.DB]
* NEW: Connection.TimeZone is new property that will allow to define the default timezone of dates stored in the database we are connected to. Not implemented yet.


git-svn-id: svn://localhost/gambas/trunk@8168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-24 18:53:33 +00:00
Benoît Minisini
8cd2dba1d4 [GB.UTIL]
* BUG: Date.ToUTC() now actually returns the date, instead of returning nothing.

git-svn-id: svn://localhost/gambas/trunk@8167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 14:15:52 +00:00
Benoît Minisini
954f3ff706 [GB.TERM.FORM]
* BUG: Make the component depend on 'gb.term'.


git-svn-id: svn://localhost/gambas/trunk@8165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 01:40:52 +00:00
Benoît Minisini
af4773ca8b [DEVELOPMENT ENVIRONMENT]
* BUG: Allow to enter void arguments in project arguments list.

[GB.FORM]
* BUG: TabPanel: Tab buttons now eat the wheel events, so that they do not propagate.

[GB.JIT]
* NEW: Search llvm libraries with 'llvm-config' only.

[GB.QT4]
* BUG: Don't compile the QT5 menu fix.

[GB.WEB.FORM]
* NEW: Add '/~logout' URL to clear the session.


git-svn-id: svn://localhost/gambas/trunk@8151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 14:39:25 +00:00
Benoît Minisini
d757706672 [GB.DESKTOP]
* BUG: Don't use 'gb.desktop.gnome' anymore, as libgnome-keyring is deprecated. Use the 'secret-tool' program only.

git-svn-id: svn://localhost/gambas/trunk@8149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-10 16:42:28 +00:00
Benoît Minisini
8666cff5d9 [GB.WEB.FORM]
* BUG: Exclude GUI components explicitely, instead of claiming implementing the event loop. Otherwise the IDE allows you to create GUI forms.
* NEW: WebUploader: Define a default event and a default size.
* BUG: WebTable: The first row in correctly unselected again in single selection mode.

git-svn-id: svn://localhost/gambas/trunk@8147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 16:45:39 +00:00
Benoît Minisini
dc683b3d13 [GB.SETTINGS]
* BUG: Don't crash if the window screen number is incorrect.

git-svn-id: svn://localhost/gambas/trunk@8146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 13:31:55 +00:00
Benoît Minisini
a8559b2552 [GB.EVAL.HIGHLIGHT]
* BUG: Fix SQL highlighting of strings that span multiple lines.

git-svn-id: svn://localhost/gambas/trunk@8145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-20 20:41:39 +00:00
Benoît Minisini
32402ceb9a [GB.WEB.FORM]
* BUG: This component now claims event loop implementation, so that you cannot check 'gb.web.form' with any other GUI component.
* BUG: Prevent timers from being called recursively.

git-svn-id: svn://localhost/gambas/trunk@8143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-19 22:44:49 +00:00
Benoît Minisini
3a87a5e4bb [GB.WEB]
* NEW: Request.TempDir is a new property that allows to define where the uploaded files are stored.
* NEW: Request.MaxFileSize is a new property that allows to define the maximum size of uploaded files. By default it is 128 MB.

[GB.WEB.FORM]
* NEW: WebUploadArea: Take the new Request.TempDir property into account.
* BUG: Prevent gw.table.onscroll() from failing if the target element does not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@8140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-27 05:35:30 +00:00
Benoît Minisini
6afda3dd48 [GB.FORM]
* BUG: ImageView: The Border property returns the accurate value now.

git-svn-id: svn://localhost/gambas/trunk@8136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-22 12:56:46 +00:00
Fabien Bodard
a0fe6c2018 [GB.MAP]
* BUG: Now PolyLine Shape don't close the polygon by default you must add a end point
       to the same position than the first o achieve that.
* NEW: The _ShapeItem class have a new LineWidth property that allow to change the thinkness of the 
       drawing element.



git-svn-id: svn://localhost/gambas/trunk@8135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-16 20:31:57 +00:00
Benoît Minisini
b4182defd0 [GB.WEB.FORM]
* BUG: WebTable: clicking on the checkboxes of a WebTable in multiple selection mode works correctly again.


git-svn-id: svn://localhost/gambas/trunk@8134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-05 15:00:42 +00:00
Benoît Minisini
ec834b36a3 [GB.UTIL]
* NEW: Compute Date.ToUnixTime() with System.TimeZone.


git-svn-id: svn://localhost/gambas/trunk@8133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:56:25 +00:00
Benoît Minisini
0dce432dfe [WIKI]
* NEW: The [...](...) syntax can be used for images links to display a thumbnail images opening a link in a new page (usually the image in full size).

[GB.GTK]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.GTK3]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.FORM]
* BUG: DateChooser: Use light colors when disabled.

[GB.QT4]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.QT5]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.


git-svn-id: svn://localhost/gambas/trunk@8132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:24:30 +00:00
Fabien Bodard
f282796b7c [GB.TERM.FORM]
* NEW: New widget TermScrollBar. It allow to display true scrollbar 
       in your terminal window.
* NEW: Begin to work on the TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 09:01:38 +00:00
Benoît Minisini
147b224c25 [GB.FORM]
* BUG: ColorChooser: Don't react to mouse events if disabled.
* BUG: ColorPalette: Don't react to mouse events if disabled.

git-svn-id: svn://localhost/gambas/trunk@8127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 06:44:23 +00:00