Commit graph

2511 commits

Author SHA1 Message Date
Benoît Minisini
f0dfa829e7 Merge branch 'master' into 'master'
Fix some minor issues found while packaging for Debian without Qt4

See merge request gambas/gambas!30
2018-08-23 18:02:12 +00:00
gambas
ccce7ad1b7 Add an option to close the tabs with the middle mouse button instead of using little close buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to close the tabs with the middle mouse button instead of using little close buttons.

[GB.FORM]
* NEW: TabPanel: The middle mouse button does not close tabs anymore. It is now a feature only implemented in the Workspace control.

[GB.FORM.MDI]
* NEW: Workspace: CloseWithMouse is a new property. If set, the workspace tabs little close buttons are hidden, and the workspace tabs can be closed with a middle mouse click.
2018-08-14 22:46:41 +02:00
gambas
3c11086207 Debug panel: Activate the horizontal scrollbar of the search result grid.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Activate the horizontal scrollbar of the search result grid.
2018-08-13 23:10:17 +02:00
gambas
244b02c1a5 Store the sqlite connection paths relative to the project folder, or the user home directory, if possible.
[DEVELOPMENT ENVIRONMENT]
* BUG: Store the sqlite connection paths relative to the project folder, or the user home directory, if possible.
* BUG: Fix a 'msgfmt' error that was displayed when the current language has not been yet translated.
2018-08-11 17:00:28 +02:00
bgermann
e07186d2d1 Use *gui* instead of *qt4* components for some examples 2018-08-06 15:39:26 +02:00
gambas
584a7b6ba3 Use 'gb.gui.*' components instead of 'gb.qt4.*' components when loading the documentation related to a feature needed by the currently loading component.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use 'gb.gui.*' components instead of 'gb.qt4.*' components when loading the documentation related to a feature needed by the currently loading component.
2018-07-21 22:17:31 +02:00
gambas
3f836f0b9d Move the information tooltip to the top when the mouse cursor enters it, and move it back to the bottom if it enters it again.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Move the information tooltip to the top when the mouse cursor enters it, and move it back to the bottom if it enters it again.
* NEW: Image editor: Move the information tooltip to the top when the mouse cursor enters it, and move it back to the bottom if it enters it again.
* BUG: Take the language direction into account when displaying the form and image editor tooltips.
* BUG: Take the language direction into account when displaying the debug panel close button.
2018-07-19 17:44:15 +02:00
gambas
81b64b96a5 Add a "-U" option to compile the script with the UNSAFE keyword.
[SCRIPTER]
* NEW: Add a "-U" option to compile the script with the UNSAFE keyword.
2018-07-15 23:07:09 +02:00
gambas
9c2e3bfb21 Search dialog: New option to search data files only.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: New option to search data files only.
2018-07-07 14:55:49 +02:00
gambas
601776ef63 Menu editor: Always check the menu structure before saving it.
[DEVELOPMENT ENVIRONMENT]
* BUG: Menu editor: Always check the menu structure before saving it.
2018-06-26 18:43:54 +02:00
gambas
29d94d3feb [DEVELOPMENT ENVIRONMENT]
* OPT: Profile window: Use JIT when loading a profile dump file.
2018-06-22 04:49:35 +02:00
Benoît Minisini
1c35f13e58 Merge branch 'appstream' into 'master'
Make the AppStream XML adhere to the standard

See merge request gambas/gambas!28
2018-06-18 23:39:22 +00:00
gambas
ab01355230 Renaming an exported class in projects using non-GUI forms should not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Renaming an exported class in projects using non-GUI forms should not crash anymore.
2018-06-19 00:31:10 +02:00
bgermann
c1ee391f2b Make the AppStream XML adhere to the standard
[DEVELOPMENT ENVIRONMENT]
* OPT: Make the AppStream XML adhere to the standard
2018-06-18 19:42:30 +02:00
gambas
b023f19ca1 Translation dialog: Add menu entries for copying string to the clipboard.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add menu entries for copying string to the clipboard.
* NEW: Menu editor: Don't reserve space for top-level menu icons, as they don't have any icon.
2018-06-16 16:08:26 +02:00
gambas
f922f8c187 Correctly take default tab size into account when creating a new project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly take default tab size into account when creating a new project.
2018-06-16 14:51:36 +02:00
Tobias Boege
8e594286cd IDE: Complete German translation
[DEVELOPMENT ENVIRONMENT]
* NEW: Complete German translation

Co-Authored-By: Uwe Keller <uwe.keller@mail.de>
2018-06-15 22:49:32 +02:00
gambas
b8198005db [BENCHMARKS]
* OPT: Little optimization in nbody benchmark.

[GB.JIT]
* BUG: Fix translation of loops.
* BUG: Fix label generation.
2018-06-13 16:55:25 +02:00
gambas
83eed9707d Merge branch 'jit-with-c' 2018-06-13 00:45:19 +02:00
gambas
4e50dec11d Work continues on new JIT system. Translation is now done at runtime.
[INTERPRETER]
* OPT: String routines are now compiled with -O3.
* NEW: Don't display JIT debugging message unless GB_JIT_DEBUG is set to something different from zero.
* NEW: String whose length is greater than 256 now have a growth step of 256 bytes instead of 16.

[GB.JIT]
* NEW: Do many global optimizations as now the class metadata is fully available.
* NEW: Support for optional argument. Still buggy at the moment.
2018-06-09 22:42:35 +02:00
gambas
23081e47c6 Work continues on new JIT system. The "Fractal" example runs!
[INTERPRETER]
* NEW: Implement return value of JIT methods.
* NEW: Support for calling '.' operator from a JIT method.

[COMPILER]
* BUG: JIT: Fix detection of native arrays.
* BUG: JIT: Delete translated file if a class has no fast method anymore.
* BUG: JIT: Prefix JIT method with "jit_" to avoid possible conflicts.
* BUG: JIT: Fix variable initialization.
* NEW: JIT: Complete datatype support.
* NEW: JIT: Support for SWAP.
* NEW: JIT: Support for array operators.
* BUG: JIT: Fix arithmetic operators.
* NEW: JIT: Implement ME and "." operator.
* NEW: JIT: Complete GOSUB / RETURN support.
* NEW: JIT: Support for DIV and MOD operators. Not optimized yet.

[ARCHIVER]
* NEW: Put JIT translation in the archive.

[GB.JIT]
* NEW: Complete datatype support. Variant is not supported yet.
* NEW: Complete GOSUB / RETURN support.
* NEW: Support for ME and '.' operator.
2018-06-02 17:59:47 +02:00
gambas
8200600168 Don't crash when opening a Gambas source file as an external file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening a Gambas source file as an external file.
2018-05-16 19:07:50 +02:00
gambas
e9bc65686c Software farm: Don't crash when installing an example if its symbolic link alread exists.
[DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Don't crash when installing an example if its symbolic link alread exists.
* BUG: Project tree: CTRL + double-click is now triggered only on source files.
2018-05-16 19:00:22 +02:00
gambas
6858457dbb Automatic completion: Don't crash when completing an unreadable directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Don't crash when completing an unreadable directory.
2018-05-14 01:18:11 +02:00
gambas
dce6496cd9 Use text colors and not tooltip colors for form & image editors' information panel. Tooltip colors are sometimes unreadable.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Use text colors and not tooltip colors for information panel. Tooltip colors are sometimes unreadable.
* NEW: Image editor: Use text colors and not tooltip colors for information panel.
2018-05-12 19:41:48 +02:00
gambas
1701be8a34 Open project dialog: Always select the project filter text.
[DEVELOPMENT ENVIRONMNENT]
* BUG: Main window: Fix an english mistake in a menu entry.
* NEW: Open project dialog: Always select the project filter text.
2018-05-09 01:18:13 +02:00
gambas
a9f852d5c5 Farm client: Compile the project before publishing it, so that the project version is accurate in the case it is read from a VERSION file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: Compile the project before publishing it, so that the project version is accurate in the case it is read from a VERSION file.
* BUG: Property sheet button icon is now different from project properties button icon.
2018-05-04 18:54:34 +02:00
gambas
90b70ed78b The 'Clear all breakpoints' menu entry works again.
[DEVELOPMENT ENVIRONMENT]
* BUG: The 'Clear all breakpoints' menu entry works again.
2018-05-01 17:45:51 +02:00
gambas
f57ffd7354 Automatic completion: SUPER and ME always show all hidden symbols and update source archive exclude list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: SUPER and ME always show all hidden symbols.
* NEW: Option dialog: Remove unused source archive configuration.
* NEW: Update source archives exclude list.
* BUG: Project tree: Modified classes correctly update their form icons.
* NEW: Update support file.
2018-04-28 16:00:12 +02:00
gambas
15cab715ac Search dialog: Do not crash anymore if the last searched window has been closed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Do not crash anymore if the last searched window has been closed.
2018-04-21 20:41:05 +02:00
gambas
9fc9132b75 String controls can be used as toolbar expander now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Move lock icons to the right of the toolbar.
* NEW: Remove some unused icons.
* BUG: Form editor: String controls can be used as toolbar expander now.
* NEW: Project tree: symbolic link emblem should be more visible now.
2018-04-20 18:31:02 +02:00
gambas
a4c94e1dd7 Database editor: Do not try to open a newly created connection if a password is required but not provided.
[DEVELOPMENT ENVIRONMENT]
* BUG: Database editor: Do not try to open a newly created connection if a password is required but not provided.
2018-04-16 16:27:06 +02:00
gambas
a18b5eb7d8 Image editor: Fix undo/redo management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix undo/redo management.
* NEW: Database editor: Use the 'table' stock icon to create the system table icon.
2018-04-14 19:26:37 +02:00
gambas
4454c72688 Database editor: Display the record counts of tables and SQL queries, and use true toolbars.
[DEVELOPMENT ENVIRONMENT]
* BUG: Remove all explicit form positions, so that they are now automatically centered.
* NEW: Database editor: Display the record counts of tables and SQL queries.
* NEW: Database editor: Use true toolbars.
2018-04-13 17:07:41 +02:00
gambas
80c6f1fca9 Automatic completion: Hide a symbol with an underscore inside only if it is a method (it is assumed to be an event handler).
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Hide a symbol with an underscore inside only if it is a method (it is assumed to be an event handler).
2018-04-08 20:36:48 +02:00
gambas
23e7dec185 Move the tooltip to the bottom right, and add "LANGUAGE=C" to the predefined environment variables.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Move the tooltip to the bottom right.
* NEW: Form editor: Move the background outside of the form container, so that it does not scroll anymore with it.
* NEW: Image editor: Move the tooltip to the bottom right.
* NEW: Project property dialog: Add "LANGUAGE=C" to the predefined environment variables.
2018-04-06 00:20:31 +02:00
gambas
df02d308c9 Search dialog: Searching in form contents is now supported. But not replacing.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Text replace should not crash anymore in text editor.
* NEW: Search dialog: Searching in form contents is now supported. But not replacing.
* NEW: Remove unused icons.
2018-04-05 13:58:27 +02:00
gambas
ac7ac1e9d8 Update French translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
2018-04-03 23:47:16 +02:00
gambas
362aa289c0 Debugger: Do not switch to the debugging panel each time the debugger stops. Instead, switch to it only at startup, and automatically switch to the console only when something is written in it.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Do not switch to the debugging panel each time the debugger stops. Instead, switch to it only at startup, and automatically switch to the console only when something is written in it.
2018-04-02 13:20:12 +02:00
gambas
a2eec9ea2a Fix Gambas 2 to Gambas 3 project conversion.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix Gambas 2 to Gambas 3 project conversion.
2018-04-02 11:38:18 +02:00
gambas
9969c3c528 Debugger: Renaming a module correctly updates breakpoints now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Renaming a module correctly updates breakpoints now.
2018-04-02 11:12:03 +02:00
gambas
31193668a9 Debugger: Don't allow to change breakpoints while the project is running.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Don't allow to change breakpoints while the project is running, as the internal debugger does not support it.
2018-04-01 18:52:52 +02:00
gambas
789227d546 Debugger: Correctly update breakpoints when a source file is renamed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Correctly update breakpoints when a source file is renamed.
2018-03-30 02:11:27 +02:00
gambas
f218d6a3c9 Code editor: Correctly hide the insert special character button when the editor is read-only.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly hide the insert special character button when the editor is read-only.
2018-03-30 00:51:10 +02:00
gambas
66b1cfe225 Project tree: Do not crash if a file has no mime-type or no associated icon.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Do not crash if a file has no mime-type or no associated icon.
2018-03-29 22:51:09 +02:00
gambas
117d4ed58f Don't try to save breakpoints when dealing with a "fake" project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't try to save breakpoints when dealing with a "fake" project.
2018-03-27 23:07:40 +02:00
gambas
9ab1d8eade Do not crash anymore if the current project is deleted by another process.
[DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash anymore if the current project is deleted by another process.
* NEW: Add some characters to the special character insertion dialog.
2018-03-24 17:14:50 +01:00
gambas
b5966b2c0b Inserting today's date now works as expected.
[DEVELOPMENT ENVIRONMENT]
* BUG: Inserting today's date now works as expected.
2018-03-22 23:08:18 +01:00
gambas
ae85e25a43 Code editor: Selecting a title line in the procedure pop-up does not move the cursor at the top of the file anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Selecting a title line in the procedure pop-up does not move the cursor at the top of the file anymore.
2018-03-22 19:08:23 +01:00
gambas
716c116818 Opening an unknown binary file automatically uses the first program associated with its mime type.
[DEVELOPMENT ENVIRONMENT]
* BUG: Icon selection dialog: Cannot select a void icon anymore.
* NEW: Project tree: Use desktop mime icons for unknown files.
* NEW: Project tree: Opening an unknown binary file automatically uses the first program associated with its mime type.
2018-03-22 13:26:44 +01:00