Commit graph

86 commits

Author SHA1 Message Date
Benoît Minisini
7b287f19eb [GB.GTK]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns.
* BUG: The Indent property of containers is correctly initialized now.

[GB.QT4]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns. Beware 
  that the feature was not implemented in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 10:54:53 +00:00
Benoît Minisini
f901433cbd [CONFIGURATION]
* BUG: Controls of components written in Gambas are correctly installed 
  now.

[DEVELOPMENT ENVIRONMENT]
* NEW: Component project controls icons are now store in the "Project" 
  section, not in the "Data" section anymore. Consequently they are not 
  stored in the project executable.
* BUG: Fix the activation of menu entries in the project treeview popups.
* NEW: New layout for the translation dialog.
* NEW: Remove many control icons and put them with their component project.


git-svn-id: svn://localhost/gambas/trunk@2140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-20 15:53:19 +00:00
Benoît Minisini
7df43ef0f2 [DEVELOPMENT ENVIRONMENT]
* NEW: The connection editor now uses the new DataSource Connection 
  property.
* NEW: A button to copy the field names of a table in the clipboard.
* NEW: Change the layout of the connection editor.
* NEW: Enhance the list property editor.
* NEW: Use the new logo made by Fabien Bodard.
* NEW: Support for editing properties whose type is "Table" and 
  "Connection".
* NEW: Scroll the form editor when using the rectangular selection.
* BUG: Fix the project information displayed in the open project dialog.

[INTERPRETER]
* BUG: Fix a stupid bug that made the interpreter crash when a class was
  allocated at a negative memory address.
* BUG: Fix the conversion of strings into numbers, especially when 
  converting Long values.

[GB.DB.FORM]
* NEW: Redesign the controls so that DataSource can be assigned a specific
  connection.
* NEW: DataSource.Connection is a new property that allows to assign a
  specific Connection object to a DataSource. If a DataSource has no 
  connection assigned, it will use the connection of its parent DataSource.
  By default, the current connection (DB.Current) is used.
* NEW: Remove the DataSource.CacheSize property. Is it really useful?

[GB.NET.SMTP]
* NEW: Send the "Date:" header with any mail.


git-svn-id: svn://localhost/gambas/trunk@2137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-20 01:10:50 +00:00
Benoît Minisini
6e0837b430 [DEVELOPMENT ENVIRONMENT]
* NEW: Go back to the old way of drawing selected controls.
* NEW: Use the Indent property in the option and project properties 
  dialogs.

[GB.GTK]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT4]
* BUG: Fix the arrangement algorithm when the Indent property is set.


git-svn-id: svn://localhost/gambas/trunk@2130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-18 02:30:07 +00:00
Benoît Minisini
cfd564e4a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e. 
  string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less 
  easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.

[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a 
  "database URL" to the constructor. For example: 
  "mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
  This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
  the value, and do nothing with it. It's up to you to use the information
  later if you need.

[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays 
  "BLOB" in the cell with a darker background.

[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in 
  Qt that updated two lines when it was asked for one only.


git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-17 01:29:39 +00:00
Benoît Minisini
e5e537e27a [GB.QT4]
* BUG: Found a workaround to the QT4 bug that made it crash when 
  destroying a ProgressBar explicitely.


git-svn-id: svn://localhost/gambas/trunk@2124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-15 08:08:40 +00:00
Benoît Minisini
49e0d1788d [DEVELOPMENT ENVIRONMENT]
* NEW: Database manager integration continues. Tables can be renamed.
  System tables are read-only. Bug fixes...

[GB.FORM]
* NEW: Predefined icon size are not proportional to Desktop.Scale anymore.
  This change may be rolled back in the future.
* NEW: Medium icon size is now 22 pixels instead of 24, because apparently 
  this is the size used by icon themes.

[GB.DB.FORM]
* NEW: DataSource.Reset now only resets the metadata associated with the
  DataSource table.
* NEW: DataSource.ResetAll() is a new static method that clears entirely
  the internal metadata cache.

[GB.QT4]
* BUG: GridView header is now correctly updated on a font or style change.
* BUG: Label, Button and ToolButton size is now correctly updated on a font 
  or style change.
* NEW: Message now tries to use the QT4 predefined buttons by using the 
  button names specified by the user.


git-svn-id: svn://localhost/gambas/trunk@2123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-15 02:53:18 +00:00
Benoît Minisini
3ed7a93385 [INTERPRETER]
* BUG: When a component cannot be loaded, only show its name in the error 
  message, not the full path.

[GB.FORM.MDI]
* BUG: Keep the hide/show sequence of windows newly inserted into a 
  Worskpace. Otherwise the IDE becomes slow at startup!

[GB.QT4]
* BUG: Now message boxes return the accurate button index.



git-svn-id: svn://localhost/gambas/trunk@2122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 23:25:52 +00:00
Benoît Minisini
9d74b5a151 [GB.QT4]
* BUG: Fix some controls that incorrectly resized their parent at creation.


git-svn-id: svn://localhost/gambas/trunk@2121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 23:10:30 +00:00
Benoît Minisini
0ac184012a [DEVELOPMENT ENVIRONMENT]
* NEW: Database manager integration continues. You can create, edit and 
  remove tables now. You cannot rename them yet, nor modify their contents.
* BUG: Fix popup menu activation in text editor.
* NEW: Almost any character is allowed now in the name of directories 
  storing source files.

[GB.DB.FORM]
* NEW: DataSource.Reset() is a new method that clears the internal 
  metadata cache. That method is dynamic because it is intended to only
  reset the metadata associated with the DataSource. At the moment all the
  metadata is dropped.

[GB.FORM]
* NEW: TableView.Save() now returns a boolean that will tell you if the 
  Save event has been cancelled.
* BUG: TableView should manage arrow keys correctly if the current editor 
  is a read-only ComboBox.

[GB.FORM.MDI]
* OPT: Toolbars do no useless layout anymore when in design mode.

[GB.QT4]
* BUG: The Message class has been fixed.
* BUG: Fix the behaviour of TabStrip when all its page are hidden.


git-svn-id: svn://localhost/gambas/trunk@2115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 02:24:54 +00:00
Benoît Minisini
d171dbfc3e [GB.GTK]
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.

[GB.QT4]
* BUG: Remove the GridView.Rows[].Visible property and the
  GridView.Rows[].EnsureVisible method. Everything is done with Gambas
  code.
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.
* BUG: ToolButton and Button with AutoResize set now will automatically 
  shrink to fit their contents.


git-svn-id: svn://localhost/gambas/trunk@2109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 23:15:18 +00:00
Benoît Minisini
d3501bf140 [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on integrating the database manager.
* NEW: Some cosmetic changes in the way controls are drawing on the form
  editor.
* NEW: Panels with Border property set to None are now drawn with a light 
  border.
* BUG: Fix the "Show tab" button and menu.

[INTERPRETER]
* NEW: _attach is a new dynamic special method that is called when an 
  object is attached to or detached from its event observer. The first 
  argument of this method is the event observer, and the second argument 
  the event handler prefix.

[COMPILER]
* NEW: An expression can be a NEW instruction now. Beware that it does not 
  work inside braces.

[GB.DB]
* BUG: Fix an error message in the sqlite handler.

[GB.DB.FORM]
* NEW: DataSource.Table can now be any SQL query. The Filter property is 
  ignored in that case.
* BUG: Setting DataSource.Table to NULL correctly resets the DataSource and
  its children.
* NEW: DataView automatically adjusts the height of its rows to the 
  contents.
* NEW: DataSource.CacheSize is a new property to set the number of rows 
  stored in the internal DataSource cache. When this property is set to 
  zero, the cache size takes its default value (64 rows).

[GB.DB.SQLITE2]
* BUG: Fix a crash in datatype mapping.

[GB.DB.SQLITE3]
* BUG: Fix a crash in datatype mapping.

[GB.QT4]
* BUG: Window.AutoResize property works as expected now.
* OPT: Some optimizations in GridView.
* NEW: GridView.Rows[].Visible returns if a specific row is visible.
* NEW: GridView.Rows[].EnsureVisible ensures that a specific row is 
  visible.
* BUG: Draw.Style.Panel draws the same thing as a panel border now.
* BUG: Window.Closed always returns the accurate value now.


git-svn-id: svn://localhost/gambas/trunk@2108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 21:49:13 +00:00
Benoît Minisini
d0d6425a54 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to always enable only the right popup menu, and only that one. 
  But is sometimes fails at the moment.
* BUG: The completion list computes its height correctly now.
* NEW: Beginning of the database manager integration.
* BUG: When creating a new data file, ensure that the proposed name does 
  not exist.

[GB.GTK]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.

[GB.FORM]
* NEW: ButtonBox is a new control that is a TextBox with a button on its 
  right.
* NEW: Two new stock icons: 'computer' and 'server'.

[GB.QT4]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-11 00:45:49 +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
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
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
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
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
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
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
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
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
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
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
Benoît Minisini
d6afe8fc32 [GB.QT4]
* BUG: Fix a crash occuring during multicontainer deletion.


git-svn-id: svn://localhost/gambas/trunk@2037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 21:27:10 +00:00
Benoît Minisini
915fdb9816 [DEVELOPMENT ENVIRONMENT]
* NEW: Use gb.qt4 and gb.qt4.ext now.
* BUG: Popup menus must be visible, otherwise shortcuts are not active.

[GB.FORM]
* NEW: ListContainer now raises a Scroll event when it is scrolled.

[GB.NET.CURL]
* BUG: The first header string was not 'nul' terminated.

[GB.QT4]
* BUG: ScrollView does not scroll anymore when one of its children is 
  resized.
* BUG: Prevent a crash in ScrollView in some situations.


git-svn-id: svn://localhost/gambas/trunk@2036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 20:49:57 +00:00
Benoît Minisini
5f8e273edf [DEVELOPMENT ENVIRONMENT]
* BUG: The button that switches between form and class editor is not shown 
  anymore when a module or a class is edited.

[GB.GTK]
* BUG: Font management was redesigned. It does not leak memory anymore,
  and now behaves like in gb.qt.
* BUG: Tristate CheckBox controls now work as expected.
* BUG: Destroy pending deleted controls before entering the event loop, to
  avoid some memory leaks if the event loop is immediately aborted.
* BUG: Detach destroyed controls from their event listener, as in gb.qt.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But 
  the menu must be visible. To create an hidden active top-level menu, just 
  set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.

[GB.QT]
* BUG: Font properties are correctly inherited between containers and 
  children controls.
* BUG: Showing a tray icon does not eat focus events anymore.
* NEW: Top-level menus with a void Text property are not shown anymore.

[GB.QT4]
* BUG: Font properties are correctly inherited between containers and 
  children controls.
* BUG: Shortcut management was fixed.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But 
  the menu must be visible. To create an hidden active top-level menu, just 
  set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.


git-svn-id: svn://localhost/gambas/trunk@2034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-22 11:16:34 +00:00
Benoît Minisini
c62f94adc3 [GB.QT4.EXT]
* NEW: Editor.ShowWord() is a new method that highlights a piece of text on 
  a specific line. 


git-svn-id: svn://localhost/gambas/trunk@2028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-19 11:01:24 +00:00
Benoît Minisini
32bf31484c [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly center the option dialog at startup.

[INTERPRETER]
* BUG: Fix compilation on 64 bits systems.

[GB.FORM]
* BUG: Side panel buttons were implemented differently to have a good look 
  in all GUI components.

[GB.QT4.EXT]
* NEW: Editor.ShowString() is a new method to define a string that will be 
  highlighted everywhere it is found.


git-svn-id: svn://localhost/gambas/trunk@2027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-18 23:47:56 +00:00
Benoît Minisini
d35c59fbc8 [GB.FORM.MDI]
* BUG: Some changes because disabled controls can't receive drops in gb.qt4 
  and gb.gtk.

[GB.QT4]
* NEW: Drag.Data now uses the first data format by default instead of 
  "text/plain". Drag.Paste() and Clipboard.Paste() were changed the same 
  way.
* BUG: ScrollView now works correctly.
* BUG: Drag and Drop was fixed.


git-svn-id: svn://localhost/gambas/trunk@2024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-18 05:40:33 +00:00
Benoît Minisini
b6097b30d7 [INTERPRETER]
* NEW: Some enhancements in memory allocation debugging.

[GB.QT]
* BUG: Form.Load() method now really work, by using reparenting. The fix 
  may be backported to Gambas 2.

[GB.QT4]
* BUG: Window.Mask and Window.Picture work correctly now.
* BUG: TextArea background is accurate now.
* BUG: Mouse event properties of the Mouse class now return the expected 
  value.
* BUG: Tray icons now work correctly.
* BUG: Form.Load() method now really work.
* BUG: Windows are correctly closed.


git-svn-id: svn://localhost/gambas/trunk@2020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-16 00:17:25 +00:00
Benoît Minisini
dbaccd820f [COMPILER]
* BUG: Unexpected END SUB or END FUNCTION are really detected now.

[GB.QT4]
* BUG: Color management has been fixed.
* BUG: Many fixes in the following classes: Panel, Menu, Picture, Window, TabStrip, 


git-svn-id: svn://localhost/gambas/trunk@2015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-11 21:33:17 +00:00