Commit graph

6534 commits

Author SHA1 Message Date
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
7f559678f9 [GB.QT4]
* BUG: DblClick event raises the MouseDown event in all cases now.

[GB.QT5]
* BUG: DblClick event raises the MouseDown event in all cases now.
2017-08-26 18:18:14 +02:00
gambas
358e18707b [GB.QT4]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.QT5]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.GTK]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.

[GB.GTK3]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
2017-08-26 17:45:04 +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
gambas
359471cc30 Initialize master terminal of processes run inside a pseudo-terminal before forking.
[INTEPRETER]
* NEW: Initialize master terminal of processes run inside a pseudo-terminal before forking.
2017-08-26 13:11:59 +02:00
gambas
c7d4a97125 Support for custom control coordinates.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Support for custom control coordinates. Not fully finished.
* BUG: File emblems are drawn in a more readable way now.
2017-08-26 13:08:27 +02:00
gambas
33ee393f60 Redraw source files icons and startup icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw source files icons and startup icon.
2017-08-26 13:05:15 +02:00
gambas
b3b04df8ea Limit the number of colors in the color popup menus.
[DEVELOPMENT ENVIRONMENT]
* BUG: Limit the number of colors in the color popup menus.
2017-08-26 13:03:17 +02:00
gambas
cca9b6a6c5 Fix analyze of boolean constants of the current project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix analyze of boolean constants of the current project.
2017-08-26 13:01:03 +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
gambas
c0a7a4aeaa Allow relative symbolic links of files imported in the IDE to go up six directories instead of four.
[DEVELOPMENT ENVIRONMENT]
* BUG: Allow relative symbolic links of imported files to go up six directories instead of four.
2017-08-25 18:17:08 +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
gambas
f1abbae64d Support for TermForms in the compiler.
[COMPILER]
* NEW: Add support for terminal forms ('*.termform' file extension).
2017-08-24 20:17:08 +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
Benoît Minisini
fc0ee0f744 Merge branch 'master' into 'master'
New gb.db.odbc patch.

See merge request !7
2017-08-24 15:06:09 +00:00
gambas
ab06f832ea The IDE now does not run 'konsole' with arguments it does not understand anymore for no reason.
[DEVELOPMENT ENVIRONMENT]
* BUG: Do not run 'konsole' with arguments it does not understand anymore for no reason.
2017-08-23 19:20:28 +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
zxMarce
9f8ab729fe [ODBC main.c]
* Updated so non-data-producing queries don't fail with error.
* Added routine to throw detailed ODBC errors as Gambas errors.
* Cosmetic changes to the C code.
2017-08-23 00:57:55 +00:00
gambas
b99546d40c Support for GValueArray marshalling in 'gb.media'.
[GB.MEDIA]
* NEW: MediaControl: Support for GStreamer messages or properties being a GValueArray. They are returned as a Variant[].
2017-08-22 22:45:18 +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
Adrien Prokopowicz
3b7f3aecf9
Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-22 10:27:56 +02:00
Adrien Prokopowicz
f33ee45041
gb.xml: Use NULL instead of the empty string, remove IDE project files.
[GB.XML]
* OPT: Use NULL instead of the emtpy string in function declarations.
2017-08-22 10:27:41 +02:00
gambas
69b4eb60c7 Remove a debugging message.
[GB.TERM]
* BUG: Remove a debugging message.
2017-08-22 01:15:11 +02:00
Benoît Minisini
46f31edffc Merge branch 'fix-nested-withs' into 'master'
[COMPILER] Fix Nested WITHs expression evaluation.

See merge request !1
2017-08-21 22:20:24 +00: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
ba37aa6da7 Fix pseudo-terminal initialization when running an external process with Exec or Shell.
[INTERPRETER]
* BUG: Fix pseudo-terminal initialization when running an external process with Exec or Shell.

[COMPILER]
* BUG: Fix a typo in 'gbc_trans.h' header.
2017-08-21 13:57:40 +02:00
gambas
91de2cccd5 Flush the process outputs when it stops immediately after having been launched.
[INTERPRETER]
* BUG: Flush the process outputs when it stops immediately after having been launched.
2017-08-21 01:45:59 +02:00
Adrien Prokopowicz
6c868a566f
Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-19 21:23:27 +02:00
Adrien Prokopowicz
934fe51bf7
XmlElement.RemoveAttribute() does not blow up the interpreter anymore.
[GB.XML]
* BUG: Fix crash when using XmlElement.RemoveAttribute()
2017-08-19 21:18:56 +02:00
gambas
295de411be Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-19 20:22:58 +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
Adrien Prokopowicz
214a69b036
Optimize the IDE System Information dialog.
[DEVELOPMENT ENVIRONMENT]
* OPT: FSystemInfo: Do not scan /lib if it is a symlink to /usr/lib, and do not store intermediary results.
2017-08-19 19:58:22 +02:00
gambas
38a60179aa Fix Process.Wait() (remove debugging messages). 2017-08-18 13:19:10 +02:00
gambas
e1a5412f4f Fix Process.Wait()
[INTERPRETER]
* BUG: Process.Wait() does not freeze anymore when the child process actually ends before checking the end of the process just after having run it.
2017-08-18 13:15:03 +02:00
gambas
4aed62d784 Recreate a void 'ChangeLog' file, as it is required by autotools. 2017-08-17 17:53:20 +02:00
Benoît Minisini
7e57eec0bb Update README.md 2017-08-17 15:38:45 +00:00
Benoît Minisini
b66e3d9688 Update README.md 2017-08-17 15:37:22 +00:00
Benoît Minisini
95f1429db8 Add 'README.md' file. 2017-08-17 15:36:52 +00:00
gambas
194d58929f Remove the useless 'ChangeLog' file, and update the 'README.commit' file. 2017-08-17 17:12:40 +02:00