Commit graph

153 commits

Author SHA1 Message Date
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
0e7ea449b5 [INTERPRETER]
* BUG: Freeing a collection does not crash anymore if a collection item is 
  removed during the process.
* BUG: Static variables are correctly inherited now.


git-svn-id: svn://localhost/gambas/trunk@2023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-17 14:13:50 +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
Benoît Minisini
349424f629 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the online help if an help page is not found locally.
* BUG: The editor procedure combo-box now keeps the focus when it is 
  opened.

[GB.QT]
* BUG: Fix the Clipboard class.

[GB.QT4]
* BUG: Clipboard.Copy() now works correctly if the mimetype is not 
  specified.
* BUG: Closing the last window does not quit the application unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-10 22:41:11 +00:00
Benoît Minisini
3af28b2eb7 [GB.GTK]
* NEW: The Application.Tooltip.Delay property was removed.

[GB.QT]
* NEW: The Application.Tooltip.Delay property was removed.

[GB.QT4]
* NEW: Backport features from gb.qt.
* BUG: The background and foreground color management is almost fixed.
* BUG: Panel frames is fixed.
* BUG: ToolButton icon size is fixed.
* BUG: ListBox background is fixed.
* BUG: GridView grid color is fixed.

[GB.QT4.EXT]
* NEW: Backport features from gb.qt.ext.
* NEW: Some source files are now shared with gb.qt.ext.


git-svn-id: svn://localhost/gambas/trunk@2009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-07 22:10:14 +00:00
Benoît Minisini
de427452f6 [WEB SITE MAKER]
* BUG: Put the language flags higher in the page so that they are visible
  on small screens.

[GB.FORM.DIALOG]
* NEW: The save file dialog has a new "automatic extension" check-box.
* NEW: Dialog.AutoExt is a new property to set if we want the save file 
  dialog to automatically set the file extension from the currently 
  selected filter.

[GB.GTK]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT]
* NEW: Application.Tooltip.Delay is a new property to define the tooltips
  timeout, in milliseconds.

[GB.QT.EXT]
* NEW: Editor.Lines[].Refresh is a new method to refresh a line and 
  highlight it again.


git-svn-id: svn://localhost/gambas/trunk@1990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-01 22:27:50 +00:00
Benoît Minisini
f532a37249 [CONFIGURATION]
* NEW: WARNING! The bytecode has changed, so every project needs to be
  recompiled.

[WEB SITE MAKER]
* NEW: Some more translations.

[INTERPRETER]
* NEW: Assign() is a new function. It is like Eval(), except that the
  expression can be an assignment.

[GB.EVAL]
* NEW: Implementation of the new Assign() function.
* NEW: The Expression.Compile() method takes a new optional boolean 
  argument that indicates if we are compiling an assignment or not.

[GB.NET.CURL]
* BUG: A asynchronous transfer that ends do not stop the other ones 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-26 22:34:39 +00:00
Benoît Minisini
db58eb7fa1 [DEVELOPMENT ENVIRONMENT]
* NEW: A message is displayed now when the search list is void.
* NEW: Some debugger icons were changed.
* NEW: Support for debugger frame change. When you click twice in the stack
  backtrace, now the debugger information is refreshed according to the
  current stack frame.

[WIKI CGI SCRIPT]
* NEW: Extern links are now always opened in a new window.

[WEB SITE MAKER]
* BUG: Some fixes in link generation
* NEW: Some new translated strings.

[GB.DEBUG]
* NEW: A command to change the current frame.


git-svn-id: svn://localhost/gambas/trunk@1979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-25 21:51:48 +00:00
Benoît Minisini
cf2d76daca [CONFIGURATION]
* NEW: WARNING! The bytecode has changed, so every project needs to be
  recompiled.

[DEVELOPMENT ENVIRONMENT]
* NEW: A new project option to use the terminal emulator of the current 
  desktop instead of the built-in output window.
* BUG: "svn update" is now run non-interactive.

[WIKI CGI SCRIPT]
* NEW: {html ... } is a new section to put verbatim HTML inside a page.

[INTERPRETER]
* BUG: Fix a possible bug in the FreeBSD way of opening a pseudo-terminal
  when running an external process.
* NEW: External process can have a custom environment.
* BUG: Some forgotten FreeBSD patch.
* NEW: The hidden "-f" option now takes as argument the name of the debug
  fifo file without the extension. This is needed as now the IDE can put
  a terminal emulator between the debugged process and itself.

[COMPILER]
* NEW: New syntax for the EXEC and SHELL instruction. Now the WITH keyword
  can introduce an array of string, each of one being an environment 
  variable "NAME=VALUE".

[GB.DEBUG]
* NEW: Debug.Start() now returns the name of the debug fifo, without the
  extension.


git-svn-id: svn://localhost/gambas/trunk@1971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 14:52:36 +00:00
Benoît Minisini
3b4666ae58 [WEB SITE MAKER]
* NEW: Some translation fixes.

[GB.WEB]
* NEW: Session.Prefix is a new property to define the name prefix of the 
  file used for storing the session.
* NEW: Session.Unique is a new boolean property. When set, only one session
  having the same prefix can exist at the same time.


git-svn-id: svn://localhost/gambas/trunk@1967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-20 12:02:24 +00:00
Fabien Bodard
46f31908c6 [GB.CHART]
* NEW: some change on pie type (labels around the pie)



git-svn-id: svn://localhost/gambas/trunk@1940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-01 21:16:14 +00:00
Benoît Minisini
fdabd0c98c [CONFIGURATION]
* NEW: The gb.qte component has been removed.

[DEVELOPMENT ENVIRONMENT]
* NEW: Support for modules in project file deletion.

[INTERPRETER]
* BUG: Format$() now checks its second argument correctly when it is an 
  integer.
* BUG: Exported classes for components written in Gambas are now correctly 
  loaded when inheritance between them is used.

[GB.DRAW]
* BUG: Some properties of the Draw class didn't correctly check that a 
  drawing device was opened.

[GB.FORM.MDI]
* NEW: The Toolbar control now raises a Configure event when its 
  configuration has changed.

[GB.GTK]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.
* BUG: Correctly initialize the foreground and background colors at 
  Draw.Begin().

[GB.QT]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.

[GB.QTE]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@1939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-01 16:27:45 +00:00
Benoît Minisini
d48356d59d [DEVELOPMENT ENVIRONMENT]
* NEW: Now each database driver has its own component, so that you can 
  explicitely check it. This way, these dependencies are taken into account
  when making a binary package.
* NEW: Starting support for WebPage classes, and other kind of forms.

[WIKI CGI SCRIPT]
* BUG: Symbol pages are never cached, so that refreshing a 2.0 symbol page 
  does not break a 3.0 symbol page.

[INTERPRETER]
* NEW: gb.IgnoreCase is a new property that is a synonymous of gb.Text.
* NEW: gb.UseLanguage is a new property that is a synonymous of gb.Language.

[GB.DB.*]
* NEW: All database drivers now have a *.component file, and is visible in 
  the IDE project property dialog.


git-svn-id: svn://localhost/gambas/trunk@1926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-10 21:19:32 +00:00
Benoît Minisini
ed62e2dc78 [DEVELOPMENT ENVIRONMENT]
* BUG: Store autoconf extra tests in the .project file, not in its own 
  hidden file anymore.
* NEW: Add KDE4 as possible icon theme.
* BUG: The packager wizard logic has been fixed.

[INTERPRETER]
* NEW: The Array class has now almost all standard array methods. They all 
  use Variant as array contents datatype, internally converting values to
  the real array datatype.
* NEW: Quote$() now keeps characters whose code is greater as 126 unquoted.

[COMPILER]
* NEW: '\b' and '\f' are two new escaped sequences in strings.
* BUG: Move some debugging breakpoint instructions so that the debugger 
  breaks at the right line when there is an error during an IF or a CASE 
  instruction.

[GB.EVAL]
* NEW: '\b' and '\f' are two new escaped sequences in strings.

[GB.FORM]
* NEW: Some new stock icons.

[GB.QT.EXT]
* NEW: Editor.Lines[].GetInitialState() fills the Highlight properties
  (State, Tag and AlternateState) with the initial state of a line.

[GB.WEB]
* NEW: JSON is a new class that can encode and decode the JSON format.


git-svn-id: svn://localhost/gambas/trunk@1925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-08 10:11:16 +00:00
Benoît Minisini
9136624913 [GB.FORM]
* BUG: TableView now handle the Return/Enter key by raising the Click 
  event instead of automatically editing the cell, so that non-editable
  cells are not editer by mistake.
* BUG: The same fix was applied to the way TableView handles arrow keys.
* NEW: Some new icons in the KDE4 stock map.
* BUG: The TableView editor now has the same font as the master TableView.


git-svn-id: svn://localhost/gambas/trunk@1922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-05 18:52:07 +00:00
Benoît Minisini
e0939bcf57 [DEVELOPMENT ENVIRONMENT]
* BUG: Replace some specific icons by stock icons.
* NEW: Support for the new alternate background style in themes.
* NEW: Support for server web pages syntax highlighting.

[GB.EVAL]
* NEW: Highlight.Alternate is a new constant for the new alternate 
  background style.
* BUG: Highlight.Analyze() should now deal correctly with UTF-8 patterns.
* NEW: Highlight.Analyze() now takes a new optional argument. If this 
  argument is set to TRUE, then the Gambas code line will be rewritten.
* NEW: Highlight.TextAfter is a new property that returns Highlight.Text 
  after is has been rewritten.

[GB.QT.EXT]
* NEW: Highlight.Alternate is a new constant for the new alternate 
  background style.
* NEW: Highlight.AlternateState tells the custom highlighter if the 
  alternate background must be used by the next Highlight.Add() call.
* NEW: Support for the new alternate background style in Editor.


git-svn-id: svn://localhost/gambas/trunk@1921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-04 23:52:47 +00:00
Benoît Minisini
ada661c058 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the useless toolbars in the search panel.

[GB.DESKTOP]
* NEW: Support for KDE4.

[GB.FORM]
* NEW: Support for KDE4 icon theme.


git-svn-id: svn://localhost/gambas/trunk@1920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-04 14:33:47 +00:00
Benoît Minisini
238da73bb3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for extra package dependencies.
* BUG: The right column of the property sheet is not too wide anymore.

[GB.GTK]
* BUG: Fix the ComboBox.Add() method slowness.

[GB.QT]
* BUG: Borderless modal windows do not show any border anymore with 
  Metacity.

[GB.XML.RPC]
* BUG: Event management was fixed, thanks to Ron.
* BUG: RcpArray.Copy() now returns an RpcArray object.


git-svn-id: svn://localhost/gambas/trunk@1918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-03 22:29:51 +00:00
Fabien Bodard
bb5422df8e [GB.REPORT]
* BUG: Change the old BackColor reference so the component is usable.


git-svn-id: svn://localhost/gambas/trunk@1917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-27 12:48:54 +00:00
Peter Landgren
f79aecb703 [GB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:26:36 +00:00
Peter Landgren
44fb8f2275 [GB.FORM.MDI]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-22 12:23:44 +00:00
David Villalobos Cambronero
10e6ac91c1 [GB.FROM]
* BUG: Commented line 99 in ValueBox.Class since Form.Combo is not a valid Form.Type.

git-svn-id: svn://localhost/gambas/trunk@1905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-16 18:20:10 +00:00
Fabien Bodard
5da5fbc924 [GB.CHART]
* BUG: An error on the line and bar type is now corrected.



git-svn-id: svn://localhost/gambas/trunk@1902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-08 21:08:49 +00:00
Fabien Bodard
cebcffdeff [GB.CHART]
* BUG: i've change some little things to resolve a problem 
  of allocation non freed.


git-svn-id: svn://localhost/gambas/trunk@1898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 09:32:26 +00:00
Fabien Bodard
53385f5a69 [GB.CHART]
* NEW: Now the chart component is instanciable, so you can use use
  multiple chart in one form or one drawingarea.


git-svn-id: svn://localhost/gambas/trunk@1897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 08:48:01 +00:00
Benoît Minisini
ff6862adb6 [DEVELOPMENT ENVIRONMENT]
* NEW: The toolbox now remembers if it is opened or closed.

[GB.QT]
* BUG: The Control.Tracking property is now visible in the IDE.
* NEW: GridView.AutoResize is a new property, set by default. The last 
  column of the GridView is automatically stretched only if this property 
  is set.

[GB.GTK]
* NEW: Control.Tracking has been implemented.

[GB.XML.RPC]
* BUG: RpcStruct.Value() should work as expected now.


git-svn-id: svn://localhost/gambas/trunk@1895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-04 17:42:11 +00:00
Benoît Minisini
c7858ce56d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Malayalam language.

[GB.DB]
* BUG: Fix a bug that sometimes truncates the query sent to the database 
  driver.

[GB.QT]
* NEW: Control.Tracking is a new property that enables MouseMove events
  in a control even when no mouse button is pressed.
* NEW: The DrawingArea.Tracking property has been replaced by the new
  property above.


git-svn-id: svn://localhost/gambas/trunk@1888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-01 15:12:51 +00:00
David Villalobos Cambronero
1199e7c8e9 [GB.FROM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-27 20:44:02 +00:00
David Villalobos Cambronero
5e1fd1bd76 [GB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-27 20:28:52 +00:00
Benoît Minisini
7b37f88229 [CONFIGURATION]
* BUG: Run the informer twice before compiling the components written in 
  Gambas. That should solve some problems.


git-svn-id: svn://localhost/gambas/trunk@1883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-20 00:59:24 +00:00
Benoît Minisini
dc859bf40e [GB.MYSQL]
* NEW: This component is now the MySQL specific database component.
  It is not included anymore inside the gb.db.mysql driver.


git-svn-id: svn://localhost/gambas/trunk@1882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-19 00:11:04 +00:00
Benoît Minisini
f30bfdba02 [GB.MYSQL]
* NEW: Rename /comp/src/gb.db.mysql to /comp/src/gb.mysql.


git-svn-id: svn://localhost/gambas/trunk@1881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 22:44:59 +00:00
Benoît Minisini
2be41f2b0f [GB.DB.MYSQL]
* NEW: Remove the gb.db.mysql gambas part, and move it to /comp/src, so
  that it becomes a component on its own.


git-svn-id: svn://localhost/gambas/trunk@1880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 22:36:44 +00:00
Benoît Minisini
96902d90ec [GB.FORM.MDI]
* BUG: Fix the toolbar initialization.


git-svn-id: svn://localhost/gambas/trunk@1878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-18 02:56:35 +00:00
Benoît Minisini
50d190496d [INTERPRETER]
* BUG: Printing a debugging expression with an array class name only 
  inside does not crash the interpreter anymore.
* OPT: Object[].Find() and Object[].Exist() were optimized. They do not 
  check and use the _compare special method anymore. They use the object
  address directly.

[GB.QT4]
* BUG: Clipboard.Format does not crash anymore if there is nothing in the
  clipboard.
* BUG: Do not process events just after a menu popup has been hidden.


git-svn-id: svn://localhost/gambas/trunk@1874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-16 21:39:07 +00:00
Benoît Minisini
4401efa276 [GB.FORM]
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.

[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.

[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.

[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent 
  pictures.
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.

[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the 
  Window Type property. The old constants that were located in the Window
  class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs 
  were fixed by the way.


git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-15 23:49:07 +00:00
Benoît Minisini
e2c952c375 [DEVELOPMENT ENVIRONMENT]
* BUG: UTF-8 characters are allowed in project data file names now.

[INTEPRETER]
* NEW: Allocation debugging messages can be redirected to a log file.

[GB.DB.FORM]
* BUG: DataBrowser FBrowser form does not incorrectly override Form.Panel 
  anymore.

[GB.GTK]
* BUG: TabStrip.Font now behaves as expected.
* BUG: GridView Row and Column properties can be set independently.
* BUG: Fix the container arrangement and the ClientX / ClientY properties.

[GB.FORM]
* OPT: FileView redraws were delayed so that they are optimized.
* BUG: Balloon tried to not take the focus.

[GB.QT]
* BUG: Fix the GridView last column stretching.

[GB.QT4]
* NEW: The AutoResize property of Button, ToolButton and ToggleButton 
  controls were implemented.
* BUG: Button, ToolButton and ToggleButton now behave correctly when their
  font change.
* OPT: Arrangement was optimized.
* BUG: TabStrip ClientX, ClientY, ClientWidth and ClientHeight properties 
  now return accurate values.

[GB.QT4.EXT]
* BUG: Editor now draws non-highlighted lines correctly.


git-svn-id: svn://localhost/gambas/trunk@1868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-12 16:43:25 +00:00
Benoît Minisini
3207ea9c1f [INTERPRETER]
* BUG: Fix a backtrace memory leak in error management.
* BUG: Fix a memory leak in process streams.

[GB.FORM]
* BUG: Some bug fixes in DatePicker. It does not work correctly with 
  gb.gtk yet!

[GB.GTK]
* BUG: Fix the container arrangement and the ClientX / ClientY properties.
* BUG: A form is not its own event observer if one was specified at 
  instanciation time.

[GB.QT]
* OPT: The container arrangement is now triggered the same way as in 
  gb.gtk. No Qt event filter is used anymore.

[GB.QT4]
* OPT: The container arrangement optimization from gb.qt has been partially
  applied to gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@1858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-04 22:51:20 +00:00
Benoît Minisini
e0f0faa091 [GB.QT]
* BUG: Make change in border management source code compile without X11.


git-svn-id: svn://localhost/gambas/trunk@1854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-03 15:27:14 +00:00
Benoît Minisini
8a671a8b07 [DEVELOPMENT ENVIRONMENT]
* NEW: Disable main toolbar buttons instead of hiding them. This is more 
  practical to use.
* BUG: Fix a warning message when displaying auto-completion.

[GB.FORM.MDI]
* NEW: Toolbar.Configure is a new method that is a synonymous of like 
  Action.ConfigureToolbar.
* BUG: Toolbar buttons are always correctly initialized the first time a 
  toolbar is shown now.
* BUG: Toolbars do not flicker anymore when their configuration dialog is 
  shown.


git-svn-id: svn://localhost/gambas/trunk@1851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-03 02:07:44 +00:00
Benoît Minisini
d3ea790600 [EXAMPLES]
* BUG: Fix PdfViewer example as the PdfDocument.Picture property does not 
  exist anymore.

[INTERPRETER]
* BUG: MOD works again with Long values.

[GB.CAIRO]
* BUG: Fix CairoMatrix.Translate() declaration.
* BUG: Correctly release device and pattern at Cairo.End().
* BUG: Automatically call Cairo.End() as many time as needed at program 
  exit.


git-svn-id: svn://localhost/gambas/trunk@1849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-02 21:16:58 +00:00
Benoît Minisini
d4b3628df3 [GB.IMAGE]
* NEW: Simplify the job of components that can take ownership of images.


git-svn-id: svn://localhost/gambas/trunk@1811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-22 00:47:14 +00:00
Benoît Minisini
111ad81271 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Image constructor syntax.


git-svn-id: svn://localhost/gambas/trunk@1810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-21 19:58:28 +00:00
Benoît Minisini
e945a9faa6 [INTERPRETER]
* NEW: Requesting a component interface automatically loads the component 
  now.
* NEW: The Image and Picture functions in the interpreter API were removed.

[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
  This function replaces the removed Picture interpreter API.

[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements 
  the Image class, can create images of many formats (RGB, RGBA, BGRA...) 
  and convert image data between different formats. This component replaces
  the previous interpreter Image API. All components were ported to this
  new image management system by loading this component automatically.
  Beware that the Image constructor has changed! The transparent property
  has been removed, and there is an optional color argument that is used
  for initializing the image data. Moreover, many classes (Webcam, 
  PdfDocument...) that have an Image property lost their Picture property.
  Now to get a Picture, you must use the Image property and then convert
  the Image to a Picture.

[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it 
  must be declared early, at least earlier than the Picture class.


git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-16 23:12:10 +00:00
Benoît Minisini
ada60fc705 [GB.GTK]
* BUG: Initialize the new BeforeArrange container callback correctly, so 
  that the component does not crash anymore.
* BUG: Correctly declare the new BeforeArrange event.

[GB.QT]
* BUG: Fix the arrangement algorithm, so that it does not keep containers 
  locked when they have no child to arrange.


git-svn-id: svn://localhost/gambas/trunk@1800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-14 01:52:42 +00:00
Benoît Minisini
c650b91dcd [DEVELOPMENT ENVIRONMENT]
* BUG: Signature and automatic completion are visible again. Moreover, 
  they are not hidden anymore when the editor is resized, but this may
  change in the future.

[GB.FORM]
* BUG: The DatePicker works again.

[GB.FORM.MDI]
* BUG: The Enabled state of toolbar buttons is preserved now when 
  configuring the toolbar.

[GB.GTK]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.

[GB.QT4]
* NEW: Container have now a BeforeArrange event, that is raised just before 
  the container is arranged ; the Arrange event being raised just after.


git-svn-id: svn://localhost/gambas/trunk@1799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 14:50:44 +00:00
Benoît Minisini
c4c631ecb9 [CONFIGURATION]
* NEW: Remove the gb.image.info component.
* NEW: Start removing the gb.image component.

[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor and text editor now arrange their contents correctly 
  when the toolbar size changes.
* BUG: The picture of a form action is the Icon property, not the Picture 
  property.

[INTERPRETER]
* BUG: The _compare special method now is not called anymore if one of the 
  compared object references is null.

[GB.GTK]
* NEW: Control.Drag() and Drag() now return the drop destination.

[GB.FORM.MDI]
* NEW: The toolbar icon size can be changed.
* BUG: Actions that exist on different forms are correctly loaded.
* NEW: The cursor keys can be used now in the shortcut configuration dialog 
  to move the gridview current row. Consequently, you cannot use them as 
  shortcuts.

[GB.NET]
* BUG: Serial port devices are now watched for reading, not for writing. So 
  the callback will not be called permanently.

[GB.QT]
* NEW: The Arrange event is now raised just before a container is arranged, 
  not after. Moreover, it cannot called recursively anymore.

[GB.QT4]
* NEW: Control.Drag() and Drag() now return the drop destination.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.
* NEW: Utility windows now use their initial size as minimum size.
* BUG: Do not loop indefinitely when arranging the contents of a 
  ScrollView.


git-svn-id: svn://localhost/gambas/trunk@1797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 00:42:55 +00:00
Benoît Minisini
0d0b3ec455 [DEVELOPMENT ENVIRONMENT]
* BUG: Apparently Drag & Drop must be cancelled both in the Drag and 
  DragMove event.

[GB.FORM.MDI]
* BUG: Finally found a workaround for the crash in qt drag & drop 
  management.
* BUG: The toolbar configuration dialog can be safely kept open when the 
  application is closed. It will close cleanly.

[GB.QT]
* BUG: Remove the Enabled flag management in the Reparent() method. It is 
  actually useless. When reparenting inside a disabled container, you must
  enable the container before the reparenting, and disable it back just 
  after.


git-svn-id: svn://localhost/gambas/trunk@1792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-08 02:59:57 +00:00
Benoît Minisini
a4ee904dba [DEVELOPMENT ENVIRONMENT]
* NEW: Update toolbars contents according to the toolbar configuration 
  dialog needs.
* NEW: Toolbar contents and default configuration are generated by the IDE 
  and store in the files located in the .action directory.

[GB.FORM.MDI]
* NEW: The toolbar configuration dialog is almost completely finished. 
  There is a big bug yet, a crash in Qt coming from a "locking assertion 
  failure" in the libxcb library. No workaround or fix was found at the 
  moment.

[GB.QT]
* BUG: Control.Reparent() correctly restores the Enabled state of the 
  control.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.


git-svn-id: svn://localhost/gambas/trunk@1791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-08 00:46:23 +00:00