Commit graph

6641 commits

Author SHA1 Message Date
gambas
d4e2dfcce9 Paint.DrawRect() is a new method that draws a rectangle frame.
[GB.GUI.BASE]
* NEW: Paint.DrawRect() is a new method that draws a rectangle frame.
2018-04-14 18:43:25 +02:00
gambas
27af76092e Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
[GB.FORM.MDI]
* BUG: Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
2018-04-13 17:09:38 +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
c88b94cfbd Don't center modal forms if they have been explicitely moved.
[GB.QT4]
* BUG: Don't center modal forms if they have been explicitely moved.

[GB.QT5]
* BUG: Don't center modal forms if they have been explicitely moved.
2018-04-13 17:06:00 +02:00
gambas
78ac58fb48 Don't free channels at library unloading, it crashes. Do that in the '_exit' method of the Channel class.
[GB.SDL2.AUDIO]
* BUG: Don't free channels at library unloading, it crashes. Do that in the '_exit' method of the Channel class.
2018-04-11 03:43:18 +02:00
gambas
de12caa1e7 Fix conversion between dates and their local string representation.
[INTERPRETER]
* BUG: Fix conversion between dates and their local string representation.
* OPT: Little optimization in conversion functions calls.

[GB.UTIL]
* BUG: Fix Date.ToUnixTime() and Date.FromUnixTime() according to the interpreter fix.
2018-04-09 18:58:11 +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
72384c0806 Fix Date.FromUnixTime() and Date.ToUnixTime().
[GB.UTIL]
* BUG: Fix Date.FromUnixTime() and Date.ToUnixTime().
2018-04-07 18:14:22 +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
cb9f245c3d ScrollView: The background and foreground colors are now applied to the entire widget.
[GB.QT4]
* NEW: ScrollView: The background and foreground colors are now applied to the entire widget.

[GB.QT5]
* NEW: ScrollView: The background and foreground colors are now applied to the entire widget.
2018-04-06 00:18:59 +02:00
gambas
3ffa6b48b7 Update control icons and remove unused variables.
[GB.DB.FORM]
* NEW: Update control icons.
* BUG: Remove unused variables.
2018-04-05 15:50:07 +02:00
gambas
9e6e254d31 Update "database" icons.
[GB.FORM.STOCK]
* NEW: Update "database" icons.
2018-04-05 15:49:32 +02:00
gambas
10013d286b [GB.DB.FORM]
* NEW: Add a project icon.

[GB.FORM.EDITOR]
* NEW: Add a project icon.

[GB.FORM.MDI]
* NEW: Add a project icon.
2018-04-05 14:01:37 +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
ceed651ab5 New stock icon "database".
[GB.FORM]
* NEW: New stock icon "database".

[GB.FORM.STOCK]
* NEW: New stock icon "database".
2018-04-05 13:57:44 +02:00
gambas
6136b8e840 TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
2018-04-05 00:45:16 +02:00
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