Commit graph

6113 commits

Author SHA1 Message Date
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
gambas
e5d1ec1c9a Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-17 17:10:28 +02:00
gambas
0f5bad99e4 Remove the old 'README.svn-commit' file and write a new 'README.commit' file. 2017-08-17 16:55:43 +02:00
Adrien Prokopowicz
812968f4c1
Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-17 15:55:22 +02:00
Adrien Prokopowicz
29aadcb617
Remove deprecated dynamic exception specifiers from gb.xml.
[GB.XML]
* OPT: Remove deprecated dynamic exception specifiers.
2017-08-17 15:54:39 +02:00
gambas
37d197be83 Update README. 2017-08-17 15:46:57 +02:00
gambas
3c6d99d4d8 Website update.
[WEBSITE MAKER]
* NEW: The download link now points at gitlab.
* NEW: Add a link to the playground made by Adrien.
2017-08-17 15:43:12 +02:00
gambas
a842600e01 Ignore the generated HTML of the MakeWebSite project. 2017-08-17 15:42:27 +02:00
gambas
42759f667d Ignore '.gitignore' files other than the root one. 2017-08-17 15:39:54 +02:00
gambas
04040dcfc5 Add '.settings' to the '.gitignore' files of projects created by the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Add '.settings' to the '.gitignore' files of projects.
2017-08-17 15:36:38 +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
gambas
5431ab5638 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-17 15:28:34 +02:00
gambas
898e6b0658 Add '.settings' files to '.gitignore'. 2017-08-17 15:27:31 +02:00
Benoît Minisini
887f2cd743 Merge branch 'generic-odbc' into 'master'
Define unixODBC-only constants if not available

See merge request !4
2017-08-17 11:57:59 +00:00
bgermann
40fe3075be Define unixODBC-only constants if not available
This enables using linking gb.db.odbc with iodbc and possibly any other ODBC implementation for unix-like systems.

The new defines originate from unixODBC's sqlext.h.

[GB.DB.ODBC]
* NEW: Define unixODBC-only constants if they are not available to enable other ODBC backends
2017-08-17 13:29:24 +02:00
Benoît Minisini
bbdf062936 Merge branch 'qt5ext' into 'master'
gb.qt5.ext: Add LCDnumber and Dial classes from gb.qt4.ext

See merge request !5
2017-08-17 10:48:21 +00:00
Benoît Minisini
04175a1ca6 Merge branch 'cygwin' into 'master'
Cygwin changes for 3.10.0

See merge request !3
2017-08-17 10:46:13 +00:00
Laurent Carlier
faa630b567 [GB.QT5.EXT]
* NEW: Add the LCDNumber class from gb.qt4.ext

also remove the Qt3 transitional header/code
2017-08-15 15:39:49 +02:00
Laurent Carlier
7e07d833c5 [GB.QT5.EXT]
* NEW: Add the Dial class from gb.qt4.ext
2017-08-15 15:16:29 +02:00
Tobias Boege
48c951987b [CONFIGURATION]
* NEW: Add (short) commit hash and branch name to gb{a,c,i,x}3 --version when compiled from git
2017-08-15 11:58:48 +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