Commit graph

6311 commits

Author SHA1 Message Date
Tony Morehen
3618e5d9c1 DesktopFile.Class enhanced to handle complex desktop files and to improve error handling
[gb.desktop]
* NEW Actions property -- returns a string array of the names of
  additional [Desktop Actions ...] sections
* NEW AlternativeActions property -- returns a collection of action
  names (key) and action exec commands (value).
* NEW WorkingDirectory property -- returns the application's working directory
* NEW RunAsRoot function -- runs the application as root
* NEW Language support added to additional properties
2017-09-30 21:49:35 -04:00
Benoît Minisini
86f8104bd4 Merge branch 'rework-stream-interface' into 'master'
Rework the interpreter stream management

See merge request gambas/gambas!15
2017-09-30 18:43:25 +00:00
gambas
9b0370eae0 Socket: Don't try to read just the available data. Just read what the users wants, and return the data actually read.
[GB.NET]
* BUG: Socket: Don't try to read just the available data. Just read what the users wants, and return the data actually read.
2017-09-30 19:27:40 +02:00
gambas
c3f6105cbd Make some test folders untranslatable in some components.
[GB.DB.FORM]
* NEW: Make test folder untranslatable.

[GB.FORM.DIALOG]
* NEW: Make test folder untranslatable.

[GB.FORM.MDI]
* NEW: Make test folder untranslatable.

[GB.FORM]
* NEW: Make test folder untranslatable.
* NEW: Define watch stock icon breeze themes.

[GB.REPORT2]
* NEW: Make test folder untranslatable.
* BUG: Make some strings untranslatable.
2017-09-30 13:27:15 +02:00
gambas
ae6ace6580 ColumnView: Do the internal automatic column resize only for TreeView and ListView.
[GB.GUI.BASE]
* BUG: ColumnView: Do the internal automatic column resize only for TreeView and ListView.
  This fixes the IDE translation dialog columnview columns layout bug.
2017-09-30 13:25:20 +02:00
gambas
0a43958c80 [DEVELOPMENT ENVIRONMENT]
* NEW: Forgot to commit the new "do not translate" icon.
2017-09-30 13:17:58 +02:00
gambas
2fbb522e83 A source folder now can be marked as "non translatable". Every source inside will not be taken into account by the translation dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: A source folder now can be marked as "non translatable". Every source inside will not be taken into account by the translation dialog.
* NEW: Redraw symbol icons and other icons.
2017-09-30 13:15:28 +02:00
gambas
3c6af994f6 Translation dialog: The translation verification button always move to the next problem.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The translation verification button always move to the next problem.
2017-09-30 01:26:50 +02:00
gambas
e204ae0c83 Packager wizard: Add a button to create the package immediately if possible.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager wizard: Add a button to create the package immediately if possible.
2017-09-30 00:56:53 +02:00
gambas
b2a4c166bf Search dialog: Replace is correctly disabled when the project is running.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Replace is correctly disabled when the project is running.
* NEW: Update Gambas 10pt font. But ugly FontForge does not want to generate the font anymore!
2017-09-29 21:16:06 +02:00
gambas
a2e9261032 Fix minimum value of Font.Grade property in GTK+ components.
[GB.GTK]
* BUG: Fix minimum value of Font.Grade property.

[GB.GTK3]
* BUG: Fix minimum value of Font.Grade property.

[GB.QT4]
* BUG: Share Font.Grade minimum and maximum values between QT and GTK+ components.
2017-09-29 21:03:35 +02:00
gambas
6cdcb477fc Array construction operator now accepts class names as Variants.
[INTERPRETER]
* BUG: Array construction operator now accepts class names as Variants.
2017-09-29 04:14:08 +02:00
gambas
5bf2fad9f6 [GB.NET]
* BUG: Close socket on writing only if there is an error.
2017-09-29 00:27:49 +02:00
gambas
2953ea8d85 Fix error management that could lead to other potential crashes.
[INTERPRETER]
* BUG: Fix error management that could lead to other potential crashes.
2017-09-28 02:05:43 +02:00
gambas
8a30ff0ec3 Fix a crash when an error occurs inside a constructor that is called from another constructor.
[INTERPRETER]
* BUG: Fix a crash when an error occurs inside a constructor that is called from another constructor.
2017-09-28 01:20:35 +02:00
gambas
e74a52e08c Fix a warning.
[GB.DB.ODBC]
* BUG: Fix a warning.
2017-09-27 23:05:11 +02:00
gambas
d2d36a7a76 Forgot to update the stream implementation structure in 'gambas.h'.
[INTERPRETER]
* BUG: Forgot to update the stream implementation structure in 'gambas.h'.
2017-09-27 21:31:10 +02:00
gambas
b17c977502 Fix internal stream buffer management, and STREAM_read_max() function.
[INTERPRETER]
* BUG: Fix internal stream buffer management, and STREAM_read_max() function.
2017-09-27 14:15:23 +02:00
gambas
aa67ba1309 Rework the stream interface, so that the stream read & write methods just have to actually read or write the data.
[INTERPRETER]
* NEW: Rework the stream interface, so that the stream read & write methods just have to actually read or write the data.
2017-09-27 02:48:00 +02:00
gambas
fbc25622c5 TextEditor: Move the cursor once when closing braces automatically. That way the IDE automatic completion stays open.
[GB.FORM.EDITOR]
* BUG: TextEditor: Move the cursor once when closing braces automatically. That way the IDE automatic completion stays open.
2017-09-26 14:25:02 +02:00
gambas
ed41d9dcf1 Don't crash when generating missing leave events after having closed a popup menu.
[GB.QT5]
* BUG: Remove some warnings.
* BUG: Don't crash when generating missing leave events after having closed a popup menu.
2017-09-26 12:16:54 +02:00
gambas
f23776bb58 Project property dialog: Library information is correctly refreshed when a library has been installed or uninstalled.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Library information is correctly refreshed when a library has been installed or uninstalled.
2017-09-26 02:33:12 +02:00
gambas
84267ebaa2 Browsing the project after a file has failed to open does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Browsing the project after a file has failed to open does not crash anymore.
2017-09-26 02:06:36 +02:00
gambas
65c83f1407 Compile breakpoints for functions whose name begins with a '$'.
[COMPILER]
* BUG: Compile breakpoints for functions whose name begins with a '$'.
2017-09-26 01:49:57 +02:00
gambas
0a95709974 Add pretty print of CSS, C, C++, and Javascript files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add pretty print of CSS, C, C++, and Javascript files.
2017-09-26 01:36:18 +02:00
gambas
994de66595 Don't close braces or brackets if we are at the beginning of a string ; add GetHighlight() method.
[GB.FORM.EDITOR]
* NEW: TextEditor: GetHighlight() is a new method that returns the result of syntax highlighting for a specific line.
* BUG: TextEditor: Don't close braces or brackets if we are at the beginning of a string.
2017-09-26 01:31:35 +02:00
gambas
e9ef723191 Fix automatic completion ; add comment & uncomment feature to text editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix word detection and ESC key handling.
* BUG: Form editor: Toolbar expanders are now correctly detected.
* NEW: Code editor: Move option buttons to the right of the toolbar.
* NEW: Text editor: Move option buttons to the right of the toolbar.
* NEW: Text editor: Add comment and uncomment feature, according to the type of the file currently edited.
2017-09-25 19:23:19 +02:00
gambas
29fced44ff TextEditor: Fix Mode property and add a GetIndent() method that returns the characters that make the indentation of a group of lines.
[GB.FORM.EDITOR]
* BUG: TextEditor.Mode returns the set mode correctly.
* NEW: TextEditor.GetIndent() is a new method that returns the characters that make the indentation of a group of lines.
2017-09-25 19:15:54 +02:00
gambas
f1046c70f9 Removing a project from the recent project list should not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Removing a project from the recent project list should not crash anymore.
2017-09-25 01:42:35 +02:00
gambas
41b9b88469 Automatic completion: Do not hide constants having underscore inside. Only those starting with an underscore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Do not hide constants having underscore inside. Only those starting with an underscore.
2017-09-24 00:58:48 +02:00
gambas
26039d08bb Automatic completion: Hide symbols having with an underscore in it, unless you have entered an underscore just after the point.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: Hide symbols having with an underscore in it, unless you have entered an underscore just after the point.
2017-09-24 00:41:36 +02:00
gambas
c103a1fc18 Add dark theme version of tab close button and fix 'exec' stock icon for dark breeze theme.
[GB.FORM]
* NEW: Add dark theme version of tab close button.
* BUG: Fix 'exec' stock icon for dark breeze theme.
2017-09-23 20:46:24 +02:00
gambas
a4539d6bb3 [WIKI]
* NEW: New design.
2017-09-23 20:45:44 +02:00
gambas
056e8eaf05 Merge branch 'master' of gitlab.com:gambas/gambas 2017-09-23 20:45:00 +02:00
gambas
d90c30ad80 TextEditor: Fix automatic closing of markups.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic closing of markups.
2017-09-23 20:44:28 +02:00
Adrien Prokopowicz
6fd076a9ef
gb.xml.html: Fix detection of existing meta charset tags when switching to HTML5
[GB.XML.HTML]
* BUG: Fix detection of existing meta charset tags when switching to HTML5.
2017-09-23 19:20:02 +02:00
Adrien Prokopowicz
8da6cfd91a
Merge branch 'master' of gitlab.com:gambas/gambas 2017-09-23 13:59:15 +02:00
Adrien Prokopowicz
2865c9def1
The child search methods do not match the parent node anymore.
[GB.XML]
* BUG: The child search methods do not match the parent node anymore.
2017-09-23 13:56:12 +02:00
gambas
7f3ddad0b7 Fix pasting from clipboard when data is in UTF-16 or UTF-32 format.
[GB.QT4]
* BUG: Fix pasting from clipboard when data is in UTF-16 or UTF-32 format.
2017-09-23 13:24:38 +02:00
gambas
8eb04e3e00 Code editor: Fix completion of words having UTF-8 characters inside.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix completion of words having UTF-8 characters inside.
2017-09-22 00:54:15 +02:00
gambas
ccbe26c250 Optimize identifier completion and do not crash anymore when clicking many times on the project remove icon in recent project list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Rename source code directory 'Subversion' as 'VersionControl'.
* OPT: Completion of identifiers is faster.
* NEW: New icon emblem for symbolic links.
* BUG: Do not crash anymore when clicking many times on the project remove icon in recent project list.
2017-09-21 18:27:31 +02:00
gambas
89a9819633 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix triggering of sidebar refresh.
* OPT: TextEditor: Draw the sidebar faster, sacrifying beauty.
* OPT: TextEditor: FindNextString() is faster when searching for an ascii string.
2017-09-21 18:19:50 +02:00
gambas
8fa66baeac FileProperties: Display the symbolic link contents on its own information row.
[GB.FORM]
* NEW: FileProperties: Display the symbolic link contents on its own information row.
2017-09-21 18:18:43 +02:00
gambas
54b36d3bfc GridView and all its children (TreeView, ColumnView...) now correctly react to font changes.
[GB.GUI.BASE]
* BUG: GridView and all its children (TreeView, ColumnView...) now correctly react to font changes.
2017-09-21 18:17:36 +02:00
gambas
a489f435e7 gb.notify: don't crash anymore when releasing watches.
[INTERPRETER]
* NEW: Add an API that returns the first element of a hash table.

[GB.NOTIFY]
* BUG: Don't crash anymore when releasing watches.
2017-09-21 18:15:37 +02:00
gambas
bfd13f008f Merge branch 'master' of gitlab.com:gambas/gambas 2017-09-21 18:14:59 +02:00
gambas
f5e9443978 New wiki design.
[WIKI]
* NEW: New design.
2017-09-21 18:14:16 +02:00
Benoît Minisini
c29c1a8e9a Update README.md 2017-09-21 13:04:20 +00:00
gambas
b7b134f06a Support QT default image format when extracting a video frame in gb.media.
[GB.MEDIA]
* BUG: Support QT default image format when extracting a video frame.
2017-09-20 19:34:04 +02:00
gambas
8c316e0967 TextEditor: Fix ALT+Braces shortcut behaviour in Gambas mode.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix ALT+Braces shortcut behaviour in Gambas mode.
2017-09-19 15:09:28 +02:00