Commit graph

6475 commits

Author SHA1 Message Date
gambas
19609d3eb4 TextEditor: Fix a potential crash when some editor views are invalid.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a potential crash when some editor views are invalid.
2018-04-05 00:39:03 +02:00
gambas
ac7ac1e9d8 Update French translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
2018-04-03 23:47:16 +02:00
gambas
29b8b10c58 GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
[GB.GUI.BASE]
* NEW: GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
2018-04-03 23:45:43 +02:00
gambas
77392c328f DataSource: Better support of SQL queries in the Table property.
[GB.DB.FORM]
* BUG: DataSource: Better support of SQL queries in the Table property. Using a SQL query now make the DataSource automatically read-only.
2018-04-03 23:44:32 +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
b7ce316088 DataView: Long integers are now right aligned like other numbers.
[GB.DB.FORM]
* BUG: DataView: Long integers are now right aligned like other numbers.
2018-03-30 16:57:54 +02:00
gambas
62bc061dc3 Integer computed fields are always 64 bits.
[GB.DB.SQLITE3]
* BUG: Computed fields are always 64 bits.
2018-03-30 16:57:00 +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
b81e653925 TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
2018-03-30 00:38:13 +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
gambas
390b47ad50 Draw the form editor tooltip on two lines, and do not open the signature popup if we are inside a string.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Draw the tooltip on two lines.
* NEW: Code editor: Do not open the signature popup if we are inside a string.
2018-03-22 02:58:46 +01:00
gambas
cc1879b3cc Fix the DbusProxy._Invoke() hidden method so that it can be called directly
[GB.DBUS]
* BUG: Fix the DbusProxy._Invoke() hidden method so that it can be called directly. This is useful if there are property or method names that are case-ambiguous.
2018-03-22 02:14:19 +01:00
gambas
df8044501a Add a 128 pixel monochrome version of the 'gambas' icon.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel monochrome version of the 'gambas' icon.
2018-03-21 20:12:43 +01:00
gambas
b8bf24a8b2 Code editor: Keep the insert special character popup open.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Keep the insert special character popup open.
2018-03-21 04:11:40 +01:00
gambas
34a517feaf Code editor: New toolbar button and dialog for inserting special characters.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: New toolbar button and dialog for inserting special characters.
* NEW: Update Gambas fonts.
* NEW: Update French translation.
2018-03-21 04:00:15 +01:00
gambas
b5c96c17cc The project tree is correctly refreshed when the startup class is renamed.
[DEVELOPMENT ENVIRONMENT]
* BUG: The project tree is correctly refreshed when the startup class is renamed.
2018-03-20 22:32:38 +01:00
gambas
6eae56c3da Add a toolbar button that toggles the tooltip visibility, with the F6 key as shortcut.
[DEVELOPMENT ENVIRONMENT]
* BUG: Output console: Ensure that the terminal screen width is accurate even if the output console has not been shown yet.
* NEW: Form editor: Add a toolbar button that toggles the tooltip visibility, with the F6 key as shortcut.
* NEW: Image editor: Add a toolbar button that toggles the tooltip visibility, with the F6 key as shortcut.
* NEW: Use text colors inverted for form and image editor tooltips.
2018-03-20 18:21:22 +01:00
gambas
c772e744a1 Support for stock icons of any size, with automatic stretching.
[GB.FORM]
* NEW: Support for stock icons of any size, with automatic stretching.

[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the Gambas logo to the 'gambas' stock theme.
2018-03-20 18:19:44 +01:00
gambas
3ec7e51b77 TerminalView: Add AutoResize, ScreenWidth, CharWidth and LineHeight properties.
[GB.FORM.TERMINAL]
* NEW: Redraw the control icon.
* NEW: TerminalView: AutoResize is a new property that defines if the screen width automatically fits the view.
* NEW: TerminalView: ScreenWidth is a new property that allows to define the screen width in the case AutoResize is FALSE.
* NEW: TerminalView: CharWidth is a new property that returns the screen character width.
* NEW: TerminalView: LineHeight is a new property that returns the screen lien height.
* BUG: TerminalView: The scrollbar should now be correctly hidden in all cases.
2018-03-20 18:14:47 +01:00
gambas
e07ac2e4f2 Connection.LastInsertId is a new property that returns the value of the serial field used in the last inserted row.
[GB.DB]
* NEW: Connection.LastInsertId is a new property that returns the value of the serial field used in the last inserted row. It is supported on MySQL, PostgreSQL and SQLite3 only.
* BUG: Connection.Handle is correctly declared now.

[GB.DB.MYSQL]
* NEW: Support for Connection.LastInsertId.

[GB.DB.ODBC]
* NEW: Raise an error if Connection.LastInsertId is used.

[GB.DB.POSTGRESQL]
* NEW: Support for Connection.LastInsertId.

[GB.DB.SQLITE2]
* NEW: Raise an error if Connection.LastInsertId is used.

[GB.DB.SQLITE3]
* NEW: Support for Connection.LastInsertId.
2018-03-20 16:05:33 +01:00
gambas
76ac4ee2dd Redesign form and image editors tooltips, and using SHIFT with the draw tool allows to pick a color from the current image.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Redesign the tooltip.
* NEW: Image editor: Redesign the tooltip.
* NEW: Image editor: Using SHIFT with the draw tool allows to pick a color from the current image.
2018-03-18 20:39:05 +01:00
gambas
b9389e5d61 Update French translation.
[GB.FORM.MDI]
* NEW: Update French translation.
2018-03-17 23:36:54 +01:00
gambas
cf70b1e3ff Support for the new interpreter error message "Free object referenced".
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new interpreter error message "Free object referenced".
* NEW: Update french translation.
2018-03-17 23:35:27 +01:00
gambas
f47d63100c Raise an error if a object being freed has been referenced by its '_free' special method.
[INTERPRETER]
* NEW: Add a new message error for free object being referenced.
* NEW: Raise an error if a object being freed has been referenced by its '_free' special method.
* OPT: Add a boolean flag in the class structure not to try to call the '_free' special method if there is not.
2018-03-17 23:33:02 +01:00
gambas
a3fa96bed9 New tooltip design in the form editor, and many fixes in the image editor.
[DEVELOPMENT ENVIRONMENT]
* NEW: Don't open console when an external command emits a message.
* NEW: Form editor: Display tooltip on the top left corner, like the image editor does.
* NEW: Use system tooltip colors for form and image editor tooltips.
* BUG: Image editor: Fix rectangle selection with SHIFT key.
* NEW: Image editor: Double-click now hides the selection, and single click never hides it.
* BUG: Image editor: Fix zero width line drawing.
* NEW: Image editor: Display fractional coordinates in the tooltip.
* NEW: Image editor: The ALT key is now used for rotating or drawing a line with an angle that is a multiple of 15 degrees.
* NEW: Image editor: Highlight the last point with the "draw" and "erase" tool.
2018-03-17 21:00:05 +01:00
gambas
1a1db93658 Update a test form.
[GB.FORM]
* NEW: Update a test form.
2018-03-17 03:29:35 +01:00
gambas
ec7c275a21 Use the 'vector' stock icon for '*.svgz' files too.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the 'vector' stock icon for '*.svgz' files too.
2018-03-17 02:54:12 +01:00
gambas
d5c21d4486 Use the console font for the local variable tree.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Use the console font for the local variable tree.
* BUG: File properties: Undoing the changes correctly resets the change tab.
* NEW: Form editor: Draw project exported controls icons with a square border.
* NEW: Use the new 'vector' stock icon for svg images in the project.
2018-03-17 02:51:16 +01:00
gambas
870ad90a71 Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
[GB.DESKTOP]
* NEW: Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
2018-03-17 02:37:01 +01:00
gambas
b2cedc658c Redraw the control icons.
[GB.DB.FORM]
* NEW: Redraw the control icons.
2018-03-17 02:36:18 +01:00
gambas
a57f909fdb Use the 'vector' icon for svg mime type.
[GB.FORM.STOCK]
* NEW: Redraw the 'vector' icon.
* NEW: Use the 'vector' icon for svg mime type.
2018-03-17 02:35:23 +01:00
gambas
14be5945df Update control icons in many places. 2018-03-16 23:46:35 +01:00
gambas
f7f01c0c53 Image editor: Add optional diagonals to the grid.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add optional diagonals to the grid.
2018-03-16 23:45:53 +01:00
gambas
759020b263 Forgot to add the new icon for 'gambas' theme.
[GB.FORM.STOCK]
* BUG: Forgot to add the new icon for 'gambas' theme.
2018-03-16 23:43:34 +01:00
gambas
1df3488f93 New stock icon 'vector'.
[GB.FORM]
* NEW: New stock icon 'vector'.

[GB.FORM.STOCK]
* NEW: New stock icon 'vector'.
* NEW: Fix some icons.
2018-03-16 23:42:08 +01:00
gambas
557165ebcb TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
[GB.FORM]
* BUG: TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
2018-03-16 23:41:06 +01:00
gambas
598bb58e78 Merge branch 'master' of gitlab.com:gambas/gambas 2018-03-16 14:14:00 +01:00
gambas
900fee66d5 Update many project configuration files. 2018-03-16 14:13:21 +01:00
gambas
e7a98f3ab9 TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
[GB.FORM]
* BUG: TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
2018-03-16 14:11:55 +01:00
gambas
539f17a4bd Redraw many control icons using the new stock icons. 2018-03-16 14:10:12 +01:00
gambas
4c38b0f5c3 RDir() now works correctly when browsing executable directories.
[INTERPRETER]
* BUG: RDir() now works correctly when browsing executable directories.
2018-03-16 14:02:58 +01:00