Commit graph

548 commits

Author SHA1 Message Date
Benoît Minisini
93ca94a2f0 [DEVELOPMENT ENVIRONMENT]
* NEW: In the code editor, Ctrl+Click has the same effect as F2.


git-svn-id: svn://localhost/gambas/trunk@2105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 19:40:20 +00:00
Benoît Minisini
a06bf489f4 [GB.QT.4.EXT]
* BUG: Fix the previous optimization.


git-svn-id: svn://localhost/gambas/trunk@2104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 15:51:51 +00:00
Benoît Minisini
6f0cde9738 [GB.QT.EXT]
* OPT: Big optimization in Editor when displaying long lines.


git-svn-id: svn://localhost/gambas/trunk@2103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 15:35:36 +00:00
Benoît Minisini
669a236b14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use decimal units for file sizes.
* NEW: Some UI redesign in the translation dialog.

[GB.FORM]
* NEW: Use decimal units for file sizes.

[GB.QT4]
* BUG: Setting the width of a column to -1 in a ColumnView now correctly 
  adjust the column size.


git-svn-id: svn://localhost/gambas/trunk@2101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 14:31:40 +00:00
Benoît Minisini
f10e3056dd [DEVELOPMENT ENVIRONMENT]
* NEW: A menu for showing a specific tab of a MultiContainer.
* BUG: Fix a crash while scanning a class if the project is a component
  and if it is self-checked, which happens as soon as it is locally
  installed.

[GB.GTK]
* BUG: The Window.Sticky property now really returns a boolean.

[GB.QT]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.

[GB.QT4]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.
* BUG: The Window Open event is now raised for embedded windows that are
  shown implicitely because their parent were shown.

[GB.XML]
* BUG: Fix a memory leak in Xml.ToString().
* BUG: The encoding argument of Xml.ToString() is now taken into account.
* BUG: Xml.ToString() now uses the UTF-8 charset by default.


git-svn-id: svn://localhost/gambas/trunk@2099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:44:06 +00:00
Laurent Carlier
642ec04a97 [GB.QT4]
* BUG: Fix CDrawingArea.h building (Qt 4.5.2 change ?)


git-svn-id: svn://localhost/gambas/trunk@2098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:37:14 +00:00
Laurent Carlier
6b81473f65 [GB.DB.SQLITE2]
* BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease)

[GB.DB.SQLITE3]
* BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease)



git-svn-id: svn://localhost/gambas/trunk@2097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:25:11 +00:00
Benoît Minisini
a3d6ba73e5 [INTERPRETER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.

[COMPILER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.



git-svn-id: svn://localhost/gambas/trunk@2091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 19:57:50 +00:00
Benoît Minisini
924e7e29d9 [DEVELOPMENT ENVIRONMENT]
* NEW: Operators are bold by default in themes now.
* NEW: Display the full project diff now in the project changes and in the 
  commit dialog.

[GB.QT4.EXT]
* NEW: The Editor now highlight braces differently.
* NEW: Read-only editors do not blink the cursor anymore.


git-svn-id: svn://localhost/gambas/trunk@2090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 01:22:37 +00:00
Benoît Minisini
29820c4624 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when refreshing the breakpoint list.

[GB.DB.SQLITE3]
* BUG: Oops. SQLite3 driver should not use the SQLite2 sources.


git-svn-id: svn://localhost/gambas/trunk@2089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 21:37:16 +00:00
Benoît Minisini
2308a3b1b9 [INTERPRETER]
* BUG: Exist("") now correctly returns FALSE when running an executable.


git-svn-id: svn://localhost/gambas/trunk@2088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 16:37:56 +00:00
Benoît Minisini
abe941d919 [CONFIGURATION]
* NEW: Search libraries in /opt/local in the /main/configure.ac file, so 
  that things work better on MacOSX.


git-svn-id: svn://localhost/gambas/trunk@2087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 11:53:20 +00:00
Benoît Minisini
a9b83d8957 [GB.QT4]
* BUG: Better workaround of the previous menu bar bug.


git-svn-id: svn://localhost/gambas/trunk@2086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 10:52:10 +00:00
Benoît Minisini
d523cd1011 [GB.QT4]
* BUG: Workaround a little Qt bug in menu bars when one of its menus has 
  been used as a popup.


git-svn-id: svn://localhost/gambas/trunk@2085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 10:07:36 +00:00
Benoît Minisini
075fbab8fc [GB.DB]
* BUG: Correctly release field information when freeing a Result object.
* NEW: New unquoting function in the component API.

[GB.DB.SQLITE2]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.

[GB.DB.SQLITE3]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.
* BUG: Field default values are correctly returned now.


git-svn-id: svn://localhost/gambas/trunk@2084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 09:17:48 +00:00
Benoît Minisini
f1162c3851 [GB.QT4]
* BUG: Fix a possible crash in timer management.


git-svn-id: svn://localhost/gambas/trunk@2082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 00:07:34 +00:00
Benoît Minisini
90ed3df70b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the save and restore of last opened files.


git-svn-id: svn://localhost/gambas/trunk@2081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 15:58:04 +00:00
Benoît Minisini
e3653b3904 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new highlighter component.

[GB.EVAL.HIGHLIGHT]
* NEW: Highlight routines have hidden names now.
* NEW: Diff files highlighting.

[GB.QT.EXT]
* NEW: New constants for the Editor.Highlight property. Now the Editor
  automatically loads and uses the gb.eval.highlight component.

[GB.QT4.EXT]
* NEW: New constants for the Editor.Highlight property. Now the Editor
  automatically loads and uses the gb.eval.highlight component.


git-svn-id: svn://localhost/gambas/trunk@2080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 12:53:45 +00:00
Benoît Minisini
cb01337b46 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix source file import.
* NEW: New menu entries for inserting HTLM and CSS files.
* BUG: Fix file chooser filter in the file creation dialog.
* BUG: Do not open read-only projects having the old source structure.

[GB.EVAL.HIGHLIGHT]
* NEW: A new component to centralize Editor highlighting routines.

[GB.QT4]
* BUG: Always defer ScrollView layout to prevent strange crashes.



git-svn-id: svn://localhost/gambas/trunk@2079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 11:04:10 +00:00
Benoît Minisini
43fd627078 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project creation.

[EXAMPLES]
* NEW: Upgrade example projects to the new sotrage format.


git-svn-id: svn://localhost/gambas/trunk@2078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 08:26:07 +00:00
Benoît Minisini
fab8a13607 [GB.FORM]
* BUG: Fix the ColorChooser control.
* NEW: Simplify the ColorChooser GUI.


git-svn-id: svn://localhost/gambas/trunk@2077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 00:42:31 +00:00
Benoît Minisini
59824efea8 [DEVELOPMENT ENVIRONMENT]
* BUG: The "Update all forms" menu entry works correctly again.


git-svn-id: svn://localhost/gambas/trunk@2076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-05 22:45:31 +00:00
Benoît Minisini
d3e5b89c50 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix selection after a control has been changed into another one.
* NEW: Project file information dialog now displays the changes that 
  occurred on the file since the last commit.

[GB.QT4.EXT]
* BUG: Fix Editor string management, because now the QT4 QString class is
  less tolerant than the QT3 one.


git-svn-id: svn://localhost/gambas/trunk@2075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-05 22:40:57 +00:00
Benoît Minisini
ca0292fd58 [DEVELOPMENT ENVIRONMENT]
* NEW: Change the CTRL+W shortcut to F12.
* BUG: Double-clicking on a control in the form editor now correctly moves 
  inside the event handler in all cases.
* NEW: Start enhancing the file information dialog.
* BUG: The file information dialog returns the accurate number of modules, 
  classes, and forms again.

[INTERPRETER]
* NEW: Mac OS X is a FreeBSD.

[GB.QT.EXT]
* BUG: Fix the undo and redo commands in the Editor when some text has been
  colorized.

[GB.QT4.EXT]
* BUG: Fix the undo and redo commands in the Editor when some text has been 
  colorized.


git-svn-id: svn://localhost/gambas/trunk@2074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 23:54:00 +00:00
Benoît Minisini
fb30923e59 [DEVELOPMENT ENVIRONMENT]
* NEW: Start organizing source files.
* BUG: Moving source directories is *really* reliable now.


git-svn-id: svn://localhost/gambas/trunk@2073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 19:25:59 +00:00
Benoît Minisini
2cc13a0cc2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash in packager wizard.
* BUG: Moving source directories is reliable now.


git-svn-id: svn://localhost/gambas/trunk@2072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 19:03:34 +00:00
Benoît Minisini
47d7265f2b [GB.QT4]
* BUG: Fix modality of windows shown with ShowModal().


git-svn-id: svn://localhost/gambas/trunk@2071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 14:04:31 +00:00
Benoît Minisini
f0a15a3be1 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little changes in the debug panel interface.
* BUG: Debug windows now can be shrinked to little sizes.
* OPT: Remove debug actions from the editor menu. Each debug actions of 
  each opened editors were called each time the cursor moves!

[GB.QT4]
* BUG: Menu shortcuts are now correctly visible when the menu is shown.


git-svn-id: svn://localhost/gambas/trunk@2070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 12:38:56 +00:00
Benoît Minisini
ec94c77c02 [COMPILER]
* BUG: Put the class translation files into the right directory.


git-svn-id: svn://localhost/gambas/trunk@2069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 11:14:42 +00:00
Benoît Minisini
285037b7db [DEVELOPMENT ENVIRONMENT]
* BUG: Breakpoints are set correctly again when starting debugging.
* BUG: Opened files are correctly saved and re-opened.


git-svn-id: svn://localhost/gambas/trunk@2068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 00:20:10 +00:00
Benoît Minisini
1281de7026 [DEVELOPMENT ENVIRONMENT]
* BUG: Convert projects using subversion to the new source structure 
  correctly.
* BUG: Open recent files of projects that just have been converted 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@2067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 00:05:09 +00:00
Benoît Minisini
5e79f7228e [CONFIGURATION]
* BUG: Fix the GB_COMPONENT() macro so that it defines XXX_LDFLAGS and 
  XXX_LIB variables as in the GB_COMPONENT_PKG_CONFIG() macro. The 
  Makefile.am files of components were fixed accordingly.

[GB.DB.FIREBIRD]
* NEW: Switch to ibpp 2.5.3.1.
* BUG: Link the driver to the fbclient library.

[GB.GTK]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT4]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented. The previous change incorrectly talked about 
  TreeView.ParentKey and ColumnView.ParentKey.


git-svn-id: svn://localhost/gambas/trunk@2066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 23:41:55 +00:00
Benoît Minisini
56b97da29e [GB.DB.FIREBIRD]
* NEW: Upgrading to a new release of ibpp library.


git-svn-id: svn://localhost/gambas/trunk@2064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 21:33:01 +00:00
Benoît Minisini
d0b3aecc0b [DEVELOPMENT ENVIRONMENT]
* NEW: Project source files are now stored in the ".src" project 
  sub-directory.
* NEW: Project source files can be organized from the project treeview by 
  creating directories, moving source files with drag and drop or copy and
  paste.
* NEW: The hall of fame now uses some sort of blur effect.
* BUG: The breakpoint list should be accurate in all situations now.
* NEW: Showing the bottom status bar is now an entry in the "View" menu.

[INTERPRETER]
* BUG: Fix a possible crash in database component classes having 
  sub-collections, like Result.Fields.

[COMPILER]
* NEW: Support for projects whose sources are stored in the ".src" 
  sub-directory.

[GB.GTK]
* BUG: Frame.Font now works correctly.
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.

[GB.NET]
* BUG: Fix a possible crash in the Socket class at connection.

[GB.QT]
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.

[GB.QT4]
* BUG: If the Control.Font property is set with a family name, the other 
  boolean properties of the font are reset.
* NEW: TreeView and ColumnView got a new property, ParentKey, that returns 
  the key of the current item parent.
* BUG: Menu shortcuts are correctly disabled now, when a parent menu is 
  disabled.


git-svn-id: svn://localhost/gambas/trunk@2063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 20:15:26 +00:00
Benoît Minisini
d6ff6ba314 [GB.QT4]
* BUG: Reparenting a window does not prevent the Open event to be raised 
  in some cases.


git-svn-id: svn://localhost/gambas/trunk@2059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-01 10:12:58 +00:00
Benoît Minisini
ce6f28338a [DEVELOPMENT ENVIRONMENT]
* NEW: Help pages on GUI components are now redirected to the gb.qt ones.
* BUG: Fix drag & drop on project tree.

[COMPILER]
* NEW: Support projects whose source files are located in the ".src" 
  project sub-directory.

[GB.QT]
* BUG: Drag & drop has been fixed.
* BUG: Newly opened window should be correctly activated now.


git-svn-id: svn://localhost/gambas/trunk@2058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-01 00:00:47 +00:00
Jordi Sayol
fefef53385 [WIKI CGI SCRIPT]
* NEW: Catalan translation updated.


[MAKE WEB SITE]
* NEW: Catalan translation updated.



git-svn-id: svn://localhost/gambas/trunk@2057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-29 18:56:52 +00:00
Laurent Carlier
541492e00c [CONFIGURATION]
* BUG: Use GB_COMPONENT_SEARCH() to check libffi availability.



git-svn-id: svn://localhost/gambas/trunk@2056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-28 22:19:42 +00:00
Benoît Minisini
293c0e19a7 [DEVELOPMENT ENVIRONMENT]
* BUG: Prevent a possible crash when closing a debug info window that is 
  long to be filled.
* NEW: Fix the interface of the extra files TableView in the packager 
  wizard: the current line is highlighted, and a the file selector is
  opened on a double click instead of a single click.
* BUG: Do not reload the main form while closing the project.

[GB.GTK]
* NEW: Button, ToolButton and ToggleButton AutoResize property was 
  implemented.
* BUG: The Action class does not act on invalid controls anymore.

[GB.FORM.MDI]
* BUG: Closing the last opened window in a Workspace shows the dark 
  background again.

[GB.QT]
* BUG: The Action class does not act on invalid controls anymore.

[GB.QT4]
* BUG: The Action class does not act on invalid controls anymore.


git-svn-id: svn://localhost/gambas/trunk@2055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-28 21:34:44 +00:00
Jordi Sayol
f8dea1f78b [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.
* NEW: Catalan tips updated.


[DATABASE MANAGER]
* NEW: Catalan translation updated.


[WIKI CGI SCRIPT]
* NEW: Catalan translation updated.


[MAKE WEB SITE]
* NEW: Catalan translation added.


[GB.FORM]
* NEW: Catalan translation updated.


[GB.FORM.DIALOG]
* NEW: Catalan translation updated.


[GB.FORM.MDI]
* NEW: Catalan translation updated.


[EXAMPLES]
* NEW: Catalan translations added/updated.



git-svn-id: svn://localhost/gambas/trunk@2054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-28 20:00:28 +00:00
Benoît Minisini
940d5f83ad [GB.GUI]
* NEW: Use gb.qt4 when the current desktop is KDE4.

[GB.QT4]
* BUG: Watcher now correctly catches the destruction of its watched 
  control.


git-svn-id: svn://localhost/gambas/trunk@2053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 22:02:18 +00:00
Benoît Minisini
a85cf7f35f [GB.QT4]
* BUG: Do not crash when containers are arranged during a recursive widget 
  deletion.


git-svn-id: svn://localhost/gambas/trunk@2052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 16:40:40 +00:00
Benoît Minisini
d2ead79ba4 [GB.QT4]
* BUG: Menu.Enabled works now.
* BUG: Shortcuts are correctly disabled when a parent menu is disabled.


git-svn-id: svn://localhost/gambas/trunk@2051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 15:25:11 +00:00
Benoît Minisini
ad2963b717 [GB.FORM.MDI]
* OPT: Some optimizations in Workspace.

[GB.QT.EXT]
* BUG: Editor.ShowWord() was fixed.

[GB.QT4.EXT]
* BUG: Editor.ShowWord() was fixed.


git-svn-id: svn://localhost/gambas/trunk@2050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-27 12:18:39 +00:00
Benoît Minisini
f68e2f6d8a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the FSelectExtraFile dialog layout.
* BUG: Some little fixes in the file selection in the extra files tab of 
  the packager wizard.

[GB.FORM]
* NEW: Do not display the shrimp logo anymore.
* BUG: DirView now supports an hidden directory as root.

[GB.FORM.MDI]
* BUG: Ensure that the Open event is raised for new MDI child windows.

[GB.QT4]
* BUG: Buttons icon are not shrinked anymore.


git-svn-id: svn://localhost/gambas/trunk@2046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-26 11:36:52 +00:00
Philippe Séraphin
a3ef51e919 [DEVELOPMENT ENVIRONMENT]
* BUG: fix bug in tab ExtraFiles in BuildPackageWizard


git-svn-id: svn://localhost/gambas/trunk@2045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-26 09:06:23 +00:00
Philippe Séraphin
8590c22fd5 [DEVELOPMENT ENVIRONMENT]
* NEW: Add ExtraFiles Tab in BuildPackage Wizard


git-svn-id: svn://localhost/gambas/trunk@2042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-25 14:52:05 +00:00
Benoît Minisini
7cc1e34ad7 [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in the option dialog layout.

[GB.FORM]
* BUG: SidePanel keeps open again in design mode.

[GB.FORM.MDI]
* BUG: Hide newly embedded windows explicitely again.

[GB.QT4]
* BUG: Menu.Checked and Menu.Toggle properties now should work as expected.
* BUG: New TabStrip tabs are explicitely hidden at creation.


git-svn-id: svn://localhost/gambas/trunk@2041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-25 14:22:49 +00:00
Benoît Minisini
81bf4acb02 [DEVELOPMENT ENVIRONMENT]
* BUG: Close and actually delete project files when closing the project.

[GB.GTK]
* BUG: Fix a possible crash when setting the TextBox.Text property with a 
  null string.

[GB.QT4]
* BUG: Start fixing drag & drop on controls having scrollbars.
* BUG: Fix a crash in focus management.
* BUG: The ListBox.Remove() method works now.
* BUG: Fix menu management.
* BUG: The Menu.Checked property works now.
* BUG: Do not exit application when displaying the abort error message. It 
  crashes.
* BUG: TabStrip is correctly layouted the first time it is shown now.


git-svn-id: svn://localhost/gambas/trunk@2040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-24 10:00:10 +00:00
Benoît Minisini
a9890772d4 [GB.QT4.EXT]
* BUG: Support for input methods and non-ascii characters in the Editor.


git-svn-id: svn://localhost/gambas/trunk@2038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 22:08:22 +00:00