Commit graph

6182 commits

Author SHA1 Message Date
gambas
807f10b92b Allows newlines before a closing ']' in array/collection creation operator.
[COMPILER]
* NEW: Allows newlines before a closing ']' in array/collection creation operator.
2017-10-10 18:45:31 +02:00
gambas
3f6569bd06 Dialog.AskPassword() is a new method that displays a modal dialog box that asks for a user name and a password, and that can remember them.
[GB.FORM.DIALOG]
* NEW: Dialog.AskPassword() is a new method that displays a modal dialog box that asks for a user name and a password, and that can remember them provided that the gb.settings and gb.desktop components are loaded and the Dialog.Key property is set.
* NEW: Dialog.User is a new property that returns the user entered in the ask password dialog.
* NEW: Dialog.Password is a new property that returns the password entered in the ask password dialog.
* NEW: Dialog.NoUser is a new property that tells the ask password dialog not to ask for a user.
2017-10-10 18:44:00 +02:00
gambas
06b5537c2b Work continue on git support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Work continue on git support.
2017-10-07 21:00:52 +02:00
gambas
9ac8239954 Continue working on git support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Continue working on git support.
* BUG: Create file dialog: Add a forgotten space after parent class label.
2017-10-07 17:51:44 +02:00
gambas
5bd50201bf Rework project tree management
[DEVELOPMENT ENVIRONMENT]
* NEW: Rework project tree management.
2017-10-07 15:00:59 +02:00
gambas
7aed3ba1e2 The date insertion popup menu is now refreshed automatically while opened.
[DEVELOPMENT ENVIRONMENT]
* NEW: The date insertion popup menu is now refreshed automatically while opened.
2017-10-07 02:12:59 +02:00
gambas
4eb4d8ce55 Add Background, Foreground and Font properties to ListView, TreeView, and ColumnView items.
[GB.GUI.BASE]
* NEW: Add Background, Foreground and Font properties to ListView, TreeView, and ColumnView items.
* OPT: Don't call the GridView default drawing routine in ListView, TreeView, and ColumnView.
2017-10-07 02:11:01 +02:00
gambas
f5172146cd Add a javascript function that copies the contents of a text input or text area to the clipboard.
[GB.WEB.FORM]
* NEW: Add a javascript function that copies the contents of a text input or text area to the clipboard.
2017-10-07 02:08:40 +02:00
gambas
3418ce77f3 Date.ToRFC822() now formats hours, minutes and seconds with two digits.
[GB.UTIL]
* BUG: Date.ToRFC822() now formats hours, minutes and seconds with two digits.
2017-10-07 02:07:18 +02:00
gambas
bb0498014f TableView.Edit() works correctly again when called from a DblClick event.
[GB.FORM]
* BUG: TableView.Edit() works correctly again when called from a DblClick event.
2017-10-07 02:06:28 +02:00
gambas
55a1701759 Correctly attach newly created objects.
[INTERPRETER]
* BUG: Correctly attach newly created objects.
* BUG: Lof() should work correctly now on streams having a specific implementation of Lof() function.
2017-10-05 23:18:19 +02:00
gambas
e02d028806 Socket: Don't implement custom Lof() and Eof() stream methods. Use the default ones.
[GB.NET]
* BUG: Socket: Don't implement custom Lof() and Eof() stream methods. Use the default ones.
2017-10-05 04:45:10 +02:00
gambas
6018b475b6 Oct$() is a new functions that converts an integer to its octal representation.
[COMPILER]
* NEW: Oct$() is a new functions that converts an integer to its octal representation.

[INTERPRETER]
* NEW: Oct$() is a new functions that converts an integer to its octal representation.
2017-10-05 04:11:00 +02:00
gambas
12d51ca863 New syntax for octal numbers: "&Oxxx".
[COMPILER]
* NEW: New syntax for octal numbers: "&Oxxx".

[INTERPRETER]
* NEW: New syntax for octal numbers: "&Oxxx".

[GB.EVAL]
* NEW: New syntax for octal numbers: "&Oxxx".
2017-10-05 03:17:13 +02:00
gambas
57820e6d44 Val() and Eval() now correctly read binary and hexadecimal numbers with the maximum number of digits.
[INTERPRETER]
* BUG: Val() and Eval() now correctly read binary and hexadecimal numbers with the maximum number of digits.
2017-10-05 03:01:44 +02:00
gambas
382f33c70d Editor: Add a button and a popup menu to insert today's date in many different formats.
[DEVELOPMENT ENVIRONMENT]
* NEW: Editor: Add a button and a popup menu to insert today's date in many different formats.

[WIKI]
* BUG: Some fixes in style sheet.
* NEW: New project icon.
2017-10-04 02:55:57 +02:00
gambas
c2e8c687cf Add search field for connected users to the wiki.
[WIKI]
* NEW: Add search field for connected users.
2017-10-04 01:03:20 +02:00
gambas
e82677ac35 Make String.RemoveDiacritics() faster.
[GB.UTIL]
* OPT: Make String.RemoveDiacritics() faster.
2017-10-04 01:02:45 +02:00
Benoît Minisini
c14771d708 Merge branch 'master' into 'master'
DesktopFile.Class enhanced to handle complex desktop files

See merge request gambas/gambas!12
2017-10-01 22:36:18 +00:00
Tony Morehen
2dbf366e02 SaveIniFile renamed to WriteIniFile and ReadIniFile renamed to LoadIniFile, both made Private 2017-10-01 16:54:30 -04:00
gambas
2d831bd7d0 Project tree: Source file can be marked as not translatable, not just folders.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Source file can be marked as not translatable, not just folders.
* OPT: Translation dialog: Compute statistics faster.
* NEW: Translation dialog: Add the number of untranslated strings in the statistics.
2017-10-01 21:28:52 +02:00
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