Commit graph

267 commits

Author SHA1 Message Date
Benoît Minisini
cd788ff08a [GB.GTK]
* BUG: Keyboard events are now sent to windows the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@3412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 18:25:16 +00:00
Benoît Minisini
a4056f9d53 [GB.GTK]
* BUG: Fix a memory leak that leads to a crash in the TextArea.Paste() 
  method.


git-svn-id: svn://localhost/gambas/trunk@3409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 09:05:28 +00:00
Benoît Minisini
27214867cf [GB.GTK]
* BUG: Fix how keys are sent to the window KeyPress and KeyRelease event
  handlers.


git-svn-id: svn://localhost/gambas/trunk@3406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 00:50:11 +00:00
Benoît Minisini
781d26b8eb [GB.GTK]
* BUG: Hiding the active control now correctly gives the focus to the next
  control in the focus chain.


git-svn-id: svn://localhost/gambas/trunk@3405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 00:12:06 +00:00
Benoît Minisini
3cf59d321a [DEVELOPMENT ENVIRONMENT]
* NEW: Files can be dropped from files managers to the project treeview.
  They are automatically inserted into the project then.

[WIKI CGI SCRIPT]
* BUG: '{' and '}' are not interpreted anymore between '=='.

[BENCHMARKS]
* NEW: Add Gambas/Perl/Python benchmarks to the repository.

[INTERPRETER]
* NEW: A Stop instruction encountered inside a component is not ignored
  anymore and stops the program.
* BUG: Fix the File.SetName, File.SetExt and File.SetBaseName methods.

[COMPILER]
* NEW: The preprocessor now undestands the False and True constants.

[GB.FORM]
* NEW: Clean up the Stock class icon loading algorithm.
* BUG: Fix the Gnome icon map.

[GB.FORM.STOCK]
* NEW: Support for svg stock icons.

[GB.QT4]
* BUG: Drag.Show() now works for DnD operations started outside of the 
  application.

[GB.GTK]
* BUG: Drag.Show() now works for DnD operations started outside of the 
  application.


git-svn-id: svn://localhost/gambas/trunk@3400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-27 14:28:59 +00:00
Benoît Minisini
6a596a2aa6 [DEVELOPMENT ENVIRONMENT]
* NEW: Gambas2 to Gambas3 project converter. Only forms and project 
  structure are converted at the moment, as before.
* NEW: Update compiler error messages list.

[INTERPRETER]
* BUG: Activate the automatic instance just after its creation, but 
  before calling the constructors, so that they can reference it without
  trying to create it recursively again and again.


git-svn-id: svn://localhost/gambas/trunk@3397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-24 12:20:11 +00:00
Benoît Minisini
1ab1e3f9b9 |GB.GTK]
* NEW: The Image.Picture and the Picture.Image property do not change the 
  internal type of the image (server or memory). That change is done only 
  if necessary. Instead, these properties return a deep copy of the object.


git-svn-id: svn://localhost/gambas/trunk@3396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 14:42:16 +00:00
Benoît Minisini
e5cac201f2 [GB.GTK]
* BUG: Draw.Picture() and Draw.Zoom() now have the same behaviour as 
  gb.qt4. The picture is not smoothed when it is enlarged by an integer
  ratio.

[GB.QT4]
* BUG: Cached DrawingArea refresh should work again.
* BUG: Resizing a cached DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@3394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 00:23:58 +00:00
Benoît Minisini
b86a35e903 [DEVELOPMENT ENVIRONMENT]
* BUG: The project property dialog does not crash anymore when there is an
  hidden component in the component list described in the '.project' file.

[INTERPRETER]
* BUG: -2147483648 is a valid integer.

[COMPILER]
* BUG: -2147483648 is a valid integer.

[GB.QT4]
* NEW: DrawingArea.NoBackground is a new property that prevent the 
  DrawingArea to automatically refresh its background when you know that 
  you will paint it fully yourself.

[GB.GTK]
* NEW: DrawingArea.NoBackground is a new property that prevent the 
  DrawingArea to automatically refresh its background when you know that 
  you will paint it fully yourself.


git-svn-id: svn://localhost/gambas/trunk@3393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-22 18:31:44 +00:00
Benoît Minisini
213c24ba42 [GB.GTK]
* BUG: Fix uninitialized control proxy variables.


git-svn-id: svn://localhost/gambas/trunk@3389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-21 14:53:10 +00:00
Benoît Minisini
cdcf6cdac9 [DEVELOPMENT ENVIRONMENT]
* BUG: Code indentation routine correctly handles structures now.

[INTERPRETER]
* NEW: Object.LastEventName has been deprecated, and replaced by 
  the Param.EventName property.
* BUG: IsFloat() is now a synonymous for IsNumber().
* BUG: Intrinsic functions description has been updated.

[COMPILER]
* NEW: "\e" is a new string escape sequence equivalent to "\x1B".

[GB.FORM]
* NEW: Use the new Control.Proxy property instead of internal observers
  inside compound controls (ValueBox, ButtonBox, MenuButton).

[GB.GTK]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.

[GB.QT4]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.


git-svn-id: svn://localhost/gambas/trunk@3387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-21 14:05:42 +00:00
Benoît Minisini
3274c95dbb [GB.GTK]
* BUG: DrawingArea.Tracking property should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@3380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-19 18:18:26 +00:00
Benoît Minisini
a311ec02ef [GB.GTK]
* BUG: Fix the Printer.OutputFile property for space and non-ascii 
  characters.
* BUG: Don't show the configuration dialog briefly when calling 
  Printer.Print().


git-svn-id: svn://localhost/gambas/trunk@3370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-16 00:18:08 +00:00
Benoît Minisini
bfe0686c00 [GB.GTK]
* BUG: Stop Event now works during the Close event of a modal form.


git-svn-id: svn://localhost/gambas/trunk@3358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 05:38:11 +00:00
Benoît Minisini
34bb499ae7 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the menu entry "add a project link".

[GB.GTK]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.

[GB.QT4]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.


git-svn-id: svn://localhost/gambas/trunk@3349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 22:13:02 +00:00
Benoît Minisini
1354ca2af7 [GB.DB.ODBC]
* BUG: Table existence should be checked correctly now.

[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image 
  easily.

[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is 
  taken into account when painting on a Printer object.


git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:20:40 +00:00
Benoît Minisini
26b363c96f [WIKI CGI SCRIPT]
* NEW: Button to "flattr" Gambas.

[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.

[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference 
  to a function.

[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write 
  "integer".

[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.

[GB.QT4]
* BUG: The font size of printed texts is now correct.


git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-05 20:17:24 +00:00
Benoît Minisini
ac01b8fc64 [GB.GTK]
* BUG: Fix a bad code path in event management, which leads to warnings 
  from the GTK+ library when displaying the printer configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@3342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-04 16:07:53 +00:00
Benoît Minisini
76208aea23 [WIKI CGI SCRIPT]
* NEW: Version support for all wiki pages.
* NEW: Adding "#X" behind a title page make indexes ignore that page when 
  version X is requested.
* NEW: Version 2 is blue and version 3 is red.

[GB.DB.FORM]
* BUG: IsObject() has been removed, so do differently now.

[GB.GTK]
* BUG: Cursor is correctly updated with the value of Application.Busy now.


git-svn-id: svn://localhost/gambas/trunk@3333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 19:08:51 +00:00
Benoît Minisini
8873a0e1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle all compiler error messages.

[INTERPRETER]
* NEW: Full management of the Single datatype.
* BUG: VarPtr() now works on Single local variables.
* BUG: Remove useless Tag property. It is defined in the Stream class now.
* BUG: Correctly free the Tag property in the Stream class.

[GB.GTK]
* BUG: Rich-text string management has been fixed. The ampersand character, 
  the "&", ">" and "<" entites are correctly interpreted now.

[GB.NET.CURL]
* BUG: Remove useless Tag property. It is defined in the Stream class now.

[EXAMPLES]
* NEW: The WebBrowser example has a download manager now.


git-svn-id: svn://localhost/gambas/trunk@3296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-16 01:49:18 +00:00
Benoît Minisini
df22763cfe [DEVELOPMENT ENVIRONMENT]
* BUG: Using the left or right key on the search browse list does not 
  crash anymore.
* BUG: When cleaning up the project, remove "core" files too.


git-svn-id: svn://localhost/gambas/trunk@3281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 14:57:03 +00:00
Benoît Minisini
5ecb5203d1 [GB.FORM.MDI]
* BUG: Many clean-ups in the MDI management.

[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now 
  correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children 
  controls anymore.

[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.

[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.


git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 11:41:59 +00:00
Benoît Minisini
23dd0b0299 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not search text inside form anymore.

[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not 
  conflict with anythign having the same name in components. The 
  interpreter API that was returning the startup class has been updated
  to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning 
  "b", to be coherent with File.Dir().

[GB.DESKTOP]
* NEW: Use the new API returning the startup class.

[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
  anymore.

[GB.GTK]
* NEW: Use the new API returning the startup class.

[GB.QT4]
* NEW: Use the new API returning the startup class.

[GB.SIGNAL]
* NEW: Use the new API returning the startup class.


git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-15 00:23:11 +00:00
Benoît Minisini
8a67b56e60 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog buttons now can handle keyboard focus navigation.

[WIKI CGI SCRIPT]
* BUG: Don't show hidden classes in todo page.

[GB.GTK]
* NEW: DrawingArea got all arrangement properties.

[GB.QT4]
* NEW: DrawingArea got all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@3262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 21:27:53 +00:00
Benoît Minisini
ba70da2041 [GB.GTK]
* BUG: Key.Code is not case sensitive for keys 'A' up to 'Z'.


git-svn-id: svn://localhost/gambas/trunk@3261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 01:18:17 +00:00
Benoît Minisini
e986930e86 [GB.GTK]
* BUG: Remove a debugging message.
* BUG: Menu bar now follows the window font and colors. Only the menu items 
  do not care and keep their default foreground colors at the moment.


git-svn-id: svn://localhost/gambas/trunk@3252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-04 23:46:49 +00:00
Benoît Minisini
dd544117b9 [GB.GTK]
* BUG: MouseMove event should be correctly raised in all case now.


git-svn-id: svn://localhost/gambas/trunk@3248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-02 22:28:53 +00:00
Benoît Minisini
cdb3872751 [GB.GTK]
* BUG: Using style functions on a picture does not crash anymore. But it 
  seems use a "default default" style instead of the current one.

[GB.FORM]
* BUG: SidePanel draw its arrows directly when gb.gtk is used, otherwise 
  the style is not respected (see above).


git-svn-id: svn://localhost/gambas/trunk@3247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-30 23:48:49 +00:00
Benoît Minisini
95b95fa8cc [CONFIGURATION]
* NEW: Start trying to display a resume at the end of installation.

[INTERPRETER]
* BUG: Extern functions now can handle up to 16 pointer or string 
  arguments.

[GB.GTK]
* BUG: Fix a infinite recursion in drag and drop management when draging
  TextBox or TextArea contents inside the same application.

[GB.QT]
* BUG: Do not propagate Drop events when there is a drop event handler.


git-svn-id: svn://localhost/gambas/trunk@3237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-24 09:32:46 +00:00
Benoît Minisini
943596f8ce [GB.GTK]
* BUG: The Draw class works correctly again on Picture.


git-svn-id: svn://localhost/gambas/trunk@3230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-19 14:59:06 +00:00
Benoît Minisini
c0f29f9f90 [DEVELOPMENT ENVIRONMENT]
* NEW: "Save project as" now uses a dialog box that allows to choose the 
  project new name.
* NEW: CSV file import dialog now can ignore the file first lines.
* NEW: CSN file import dialog now saves its contents in the setting file.

[INTERPRETER]
* BUG: Correctly remove '\t' from error messages, as that character is used
  by the debugger as separator.
* BUG: Release invalid automatic instances again.

[GB.DB.FORM]
* OPT: Use a transaction when deleting many rows in DataView.

[GB.DB.POSTGRESQL]
* BUG: Remove a debugging message.

[GB.GTK]
* BUG: Changing the stack order of a control now correctly triggers a
  parent arrangement.

[GB.QT4]
* BUG: Changing the stack order of a control now always triggers a parent 
  arrangement.


git-svn-id: svn://localhost/gambas/trunk@3225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 11:27:51 +00:00
Benoît Minisini
2fa5d15318 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix procedure list crash.

[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of 
  RGB values, now it uses the middle of HSV values. It changes the value of
  Color.LightForeground and the color used for drawing Workspace default
  background.

[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several 
  times.


git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 01:49:26 +00:00
Benoît Minisini
210a396888 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not store the svn revision in the .project file.
* NEW: Create a clever menu hierarchy when sorting recent files by path.

[INTERPRETER]
* BUG: Replace() correctly returns its first argument when its second
  argument is a void string.

[COMPILER]
* BUG: Remove a useless test.

[GB.FORM]
* NEW: Add a svg version of the GNU logo.
* BUG: Fix some stock icons in the Gnome map.

[GB.GTK]
* BUG: Fix possible crashes in three utility routines.
* BUG: Fix a crash in GridView.Rows[].Text property.

[GB.NET.SMTP]
* BUG: Fix an always true test.


git-svn-id: svn://localhost/gambas/trunk@3206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-11 10:23:36 +00:00
Benoît Minisini
f513199932 [GB.GTK]
* BUG: Try to make gb.gtk compile with GTK+ version < 2.18.


git-svn-id: svn://localhost/gambas/trunk@3204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 22:58:46 +00:00
Benoît Minisini
e9b2cd19b9 [WIKI CGI SCIRPT]
* NEW: Support for czech language.

[GB.GTK]
* BUG: Fix behaviour of autoresize Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 17:38:57 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Benoît Minisini
de73b5ff5c [GB.FORM]
* BUG: TableView keyboard navigation behave better with gb.gtk.

[GB.GTK]
* BUG: Read-only ComboBox controls do not lost focus events anymore.


git-svn-id: svn://localhost/gambas/trunk@3175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-01 20:46:09 +00:00
Benoît Minisini
262d9d6bc5 [GB.FORM]
* BUG: MenuButton best size should be computed correctly now.

[GB.GTK]
* BUG: ColumnView, TreeView and ListView are correctly refreshed when an 
  item icon is changed.


git-svn-id: svn://localhost/gambas/trunk@3172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 18:29:05 +00:00
Benoît Minisini
93a7daf44e [DEVELOPMENT ENVIRONMENT]
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the 
  user can put the menus inside the main toolbar so that eveything fit on 
  one line.
* NEW: Hiding the menu now displays a removable warning message.

[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account 
  inside a word.

[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message, 
  i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.

[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.

[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially 
  visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.

[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.


git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 00:58:35 +00:00
Benoît Minisini
62c381c2f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle compiler errors having column information.

[INTERPRETER]
* BUG: Manage errors from native methods differently.

[COMPILER]
* NEW: Return the column in error messages generated by the parser.

[GB.GTK]
* BUG: Make TabStrip behave like in gb.qt when inserting a new tab.


git-svn-id: svn://localhost/gambas/trunk@3156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 20:51:10 +00:00
Benoît Minisini
6fa248850c [GB.FORM]
* NEW: Some new icons.

[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.

[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.


git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 01:39:59 +00:00
Benoît Minisini
0a79862457 [GB.GTK]
* BUG: Splitter layout is initialized so that all new panes are visible.
* BUG: Separators whose width or height is one pixel are correctly drawn 
  now.
* BUG: Control.MoveScaled() and Control.ResizeScaled() work correctly now 
  when their width or height argument is zero.
* BUG: Buttons autoresize works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:14:27 +00:00
Benoît Minisini
b2e5a3979f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the project tree view.

[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.

[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.


git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 21:56:11 +00:00
Benoît Minisini
9152169c0b [EXAMPLES]
* BUG: The MoviePlayer example works again.

[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@3116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:02:11 +00:00
Benoît Minisini
b620f3a8bd [DEVELOPMENT ENVIRONMENT]
* NEW: Put the breakpoint and watch buttons inside the code editor.
* NEW: Use another icon for breakpoints.

[GB.FORM]
* BUG: MenuButton does not react to mouse events when disabled now.

[GB.FORM.MDI]
* NEW: Use style methods to draw the toolbar handle.
* BUG: Dragging toolbar buttons work with Qt 4.7.

[GB.GTK]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Do not try again to get information about a widget when a window is 
  needed and the widget is not yet realized.

[GB.QT4]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Now windows not yet shown can be closed even if a modal window is 
  currently active.

[GB.QT4.EXT]
* NEW: Little changes in Editor margin drawing routine.


git-svn-id: svn://localhost/gambas/trunk@3111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 21:45:23 +00:00
Benoît Minisini
13c7314713 [GB.GTK]
* BUG: Correctly release Menu tags.


git-svn-id: svn://localhost/gambas/trunk@3109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 16:04:58 +00:00
Benoît Minisini
c5b0b38771 [GB.GTK]
* BUG: Correctly display menubars again.


git-svn-id: svn://localhost/gambas/trunk@3108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:59:51 +00:00
Benoît Minisini
4f574b001e [INTERPRETER]
* BUG: The debugger does not crash anymore when activated at startup.

[GB.FORM]
* BUG: The MenuButton now only reacts to the left mouse button.

[GB.GTK]
* BUG: Remove some debugging messages from ColumnView.Settings property.
* BUG: Do not try to get informations about a widget when a window is 
  needed and the widget is not yet realized.
* BUG: Fix the Control.Cursor property.
* BUG: Control.Hovered now returns FALSE when the control is not visible.
* BUG: Creating the menubar does not make all window children visible 
  anymore.

[GB.QT4]
* BUG: Control.Hovered now returns FALSE when the control is not visible.


git-svn-id: svn://localhost/gambas/trunk@3107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:28:27 +00:00
Benoît Minisini
25fd457dc8 [GB.FORM]
* NEW: MenuButton has been redesigned to use a DrawingArea only.

[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container 
  children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.

[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.


git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 11:29:44 +00:00
Benoît Minisini
9b08741c29 [GB.GTK]
* BUG: Draw.Style() now respects clipping.


git-svn-id: svn://localhost/gambas/trunk@3103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 11:30:01 +00:00