Commit graph

1067 commits

Author SHA1 Message Date
Benoît Minisini
026c739f3d [DEVELOPMENT ENVIRONMENT]
* NEW: New control property type "Menu", for properties that receive a 
  popup menu name.
* NEW: New paste button with a menu in the code editor.

[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
  and a popup menu attached.

[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.

[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as 
  their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.

[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done 
  when the widget is visible, which is not pretty.


git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-08 12:22:03 +00:00
David Villalobos Cambronero
f6f0147fd4 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-07 21:55:32 +00:00
Benoît Minisini
d189a2031f [GB.FORM]
* NEW: The ColorChooser control has a working color picker now.

[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.

[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.


git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 15:57:54 +00:00
Benoît Minisini
9d85501cad [DEVELOPMENT ENVIRONMENT]
* NEW: The Toolbox toggle shortcut is now SHIFT+F4.
* NEW: F6 now shows the procedure list in the code editor.

[GB.IMAGE]
* BUG: ColorInfo is back. Otherwise component properties hides default 
  color constants!



git-svn-id: svn://localhost/gambas/trunk@2316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 09:25:18 +00:00
Benoît Minisini
33b1d29dfa [DEVELOPMENT ENVIRONMENT]
* NEW: New procedure list popup in the code editor.
* BUG: Keep case of "Exclude" and "Requires" component properties.
* BUG: Images edited by an external program are correctly watched again.

[GB.IMAGE]
* NEW: Color is a now a true class that replaced the old ColorInfo class.
* NEW: Color class component properties are both readable and writable now.
* NEW: Color.Color is a property that returns the color value from the
  color components defined in the Color object.


git-svn-id: svn://localhost/gambas/trunk@2315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 01:21:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Benoît Minisini
77b331fc34 [EXAMPLES]
* BUG: Remove the DBusExplorer example from its old place.


git-svn-id: svn://localhost/gambas/trunk@2310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-04 01:02:47 +00:00
Benoît Minisini
211fb9681f [EXAMPLES]
* BUG: Copy the DBusExplorer example to the Automation directory.


git-svn-id: svn://localhost/gambas/trunk@2309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-04 01:00:27 +00:00
Benoît Minisini
66ea6ef95e [DEVELOPMENT ENVIRONMENT]
* NEW: Connection editors do not display the read-only flag in their title, 
  as it is useless.
* NEW: Cosmetic changes in the welcome and open project dialogs.
* NEW: Display the version of the current project in the IDE title.

git-svn-id: svn://localhost/gambas/trunk@2308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-03 22:11:17 +00:00
Benoît Minisini
a893f16465 [DEVELOPMENT ENVIRONMENT]
* BUG: Pressing the Escape key should hide panels *and* give the focus back
  to the active file correctly.

[INTERPRETER]
* BUG: Fix an uninitialized value in the date formatting routine.

[GB.DB.FORM]
* NEW: DataSource now raises a Change event when its current record changes
  or is refreshed.

[GB.NET]
* BUG: Fix an uninitialized value in SerialPort class, when retrieving the 
  port signal status.


git-svn-id: svn://localhost/gambas/trunk@2307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-02 23:17:05 +00:00
Fabien Bodard
b5d8aac9d7 [EXAMPLES]
* BUG: The signature work now


git-svn-id: svn://localhost/gambas/trunk@2301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 19:16:08 +00:00
Benoît Minisini
f0b39ad212 [DEVELOPMENT ENVIRONMENT]
* BUG: Image.Mirror() now works in place.

[GB.GTK]
* NEW: Color.LightForeground has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 09:29:40 +00:00
Benoît Minisini
ac548e8734 [CONFIGURATION]
* BUG: Compile files with maximum optimization correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Remove The Form_Close event handler in the FHelp form. It did 
  stupid things indirectly.

[WIKI CGI SCRIPT]
* NEW: Enhancements to support 2.0 and 3.0 descriptions on the same page.

[GB.FORM]
* NEW: Enhance the ColorChooser control.

[GB.FORM.MDI]
* BUG: Fix the Toolbar layout algorithm.

[GB.IMAGE]
* BUG: Image.Colorize() works again.

[GB.IMAGE.EFFECT]
* NEW: This component includes image filtering and effect routines. This is 
  the old gb.image component from Gambas 2. Everything is not working 
  correctly at the moment.

[GB.QT4]
* NEW: Color.LightForeground returns the light foreground color used for
  drawing separators and plain panel borders.
* BUG: Prevent crashes coming from the fact that Qt deletes child widgets 
  before emiting the destroy signal on the parent.


git-svn-id: svn://localhost/gambas/trunk@2296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 01:14:13 +00:00
Laurent Carlier
581d3e70f5 [GB.IMAGE]
* BUG: Fixed the returned object from the Mirror() method.


git-svn-id: svn://localhost/gambas/trunk@2295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 18:04:36 +00:00
Laurent Carlier
52c3d34315 [GB.FORM]
* BUG: Update to new gb.image API (replaced Maketransparent with Transparent)


git-svn-id: svn://localhost/gambas/trunk@2294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 17:27:01 +00:00
Laurent Carlier
d671e3a69f [GB.IMAGE]
* NEW: Rename Iùmage.MakeGray() to Image.Gray() and Image.MakeTransparent() to Image.Transparent().
* NEW: Image where methods are applied is returned so methods effects can be easily chained,
       and API is more consistent.

Your code may be breaked !
Currently all the API isn't changed, work is in progress !
 


git-svn-id: svn://localhost/gambas/trunk@2293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 16:25:13 +00:00
Benoît Minisini
b03141a81e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix crash when displaying help after something has been selected.


git-svn-id: svn://localhost/gambas/trunk@2292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 15:37:28 +00:00
Laurent Carlier
32e50b7436 [GB.SDL]
* BUG: Fix Window.Fill() method, filled color was wrong.


git-svn-id: svn://localhost/gambas/trunk@2291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 15:15:56 +00:00
Laurent Carlier
cbdd7035e1 [GB.SDL]
* New: Add dependency to gb.image.io, so images can be saved through Image.Save() method.


git-svn-id: svn://localhost/gambas/trunk@2290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 14:45:50 +00:00
Fabien Bodard
326f5432d2 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the help window is correctly handled


git-svn-id: svn://localhost/gambas/trunk@2289 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 20:35:20 +00:00
Fabien Bodard
a8610c4832 [DEVELOPMENT ENVIRONMENT]
* NEW: The popup help is now a dockable form like the console one


git-svn-id: svn://localhost/gambas/trunk@2288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 19:57:09 +00:00
Benoît Minisini
9f1feee8ff [CONFIGURATION]
* BUG: Fix the way some source files are compiled with different 
  compilation flags in the interpreter and in the gb.image component.


git-svn-id: svn://localhost/gambas/trunk@2285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-30 14:16:32 +00:00
Benoît Minisini
9b05d386e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore error messages from the debugger if one is currently 
  displayed.
* BUG: Browse examples is more reliable now.
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.GTK]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.

[GB.FORM]
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.IMAGE.IMLIB]
* NEW: Imlib image cache is disabled.
* NEW: Image.Rotate() returns a smoothly rotated image.
* NEW: Image.Stretch() returns a smoothly stretched image.
* NEW: Image.Blur() blurs an image.
* NEW: Image.Sharpen() sharpens an image.
* NEW: Image.Draw() blends an image into another one.

[GB.QT4]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.


git-svn-id: svn://localhost/gambas/trunk@2283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-29 23:26:44 +00:00
Benoît Minisini
a18348f8cd [DEVELOPMENT ENVIRONMENT]
* NEW: In the open project dialog, you can now uncompress archives by 
  double-clicking on it. There is a confirmation message of course.

[GB.IMAGE.IMLIB]
* NEW: I want to use ImLib2 to enhance the image component. Does nothing at
  the moment!


git-svn-id: svn://localhost/gambas/trunk@2282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 21:42:11 +00:00
Benoît Minisini
5995c33772 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize the "Show Tooltip" option when displaying the 
  preferences dialog.

[GB.QT.EXT]
* BUG: Editor.PosToColumn() correctly detects if the position if after the 
  end of the line now.


git-svn-id: svn://localhost/gambas/trunk@2281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 15:12:22 +00:00
Benoît Minisini
ccf2a2c99f [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Separator property of ToolBar and SidePanel.

[GB.DB.FORM]
* NEW: DataView.Border is a new property to define if the border of the
  DataView is visible or not.

[GB.FORM]
* NEW: SidePanel.Separator is a new property that displays a separator 
  beside the panel when set to True.

[GB.FORM.MDI]
* NEW: ToolBar.Separator is a new property that displays a separator under 
  the toolbar when set to True.


git-svn-id: svn://localhost/gambas/trunk@2280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 14:56:35 +00:00
David Villalobos Cambronero
4e5cfe3092 [GB.FORM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 15:04:23 +00:00
David Villalobos Cambronero
7afb84ad8f [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 14:58:46 +00:00
Benoît Minisini
1ab8a9e0b8 [EXAMPLES]
* NEW: Fix some bugs in the DBusExplorer example.


git-svn-id: svn://localhost/gambas/trunk@2277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 08:57:28 +00:00
Benoît Minisini
54593a73cb [EXAMPLES]
* NEW: The DBus Explorer example name is now "DBusExplorer".


git-svn-id: svn://localhost/gambas/trunk@2276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 08:47:30 +00:00
Benoît Minisini
4e7d77b697 [EXAMPLES]
* NEW: Finish removing the old DBus Explorer example directory.


git-svn-id: svn://localhost/gambas/trunk@2275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 08:45:20 +00:00
Benoît Minisini
dc51fdae40 [EXAMPLES]
* NEW: Remove temporarily the DBus explorer example to rename it. 
  Subversion often sucks...


git-svn-id: svn://localhost/gambas/trunk@2274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 08:42:57 +00:00
Benoît Minisini
5f2dae2049 [EXAMPLES]
* NEW: Cosmetic changes and fixes in the DBus explorer example.


git-svn-id: svn://localhost/gambas/trunk@2273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 08:34:22 +00:00
Benoît Minisini
2b6b5ff417 [GB.SDL]
* BUG: Remove the Image.Resize method that cannot work. Let use the resize
  method from the gb.image component.


git-svn-id: svn://localhost/gambas/trunk@2272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-25 23:34:19 +00:00
Benoît Minisini
e15a08d817 [GB.IMAGE]
* NEW: A new interface in the API to get the default image format.

[GB.V4L]
* NEW: Try to use libv4lconvert to convert webcam frames to RGB.


git-svn-id: svn://localhost/gambas/trunk@2271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-25 21:54:26 +00:00
Laurent Carlier
16a9dd7929 [GB.OPENGL]
* BUG: Fix returned Integer[][] with Gl.RenderModel() call.


git-svn-id: svn://localhost/gambas/trunk@2270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-25 16:49:33 +00:00
Benoît Minisini
1b213d482d [GB.OPENGL]
* NEW: Use "Integer[][]" instead of "Object[]". That seems to work. :-)


git-svn-id: svn://localhost/gambas/trunk@2269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:31:10 +00:00
Benoît Minisini
bd15563f2f [DEVELOPMENT ENVIRONMENT]
* NEW: Double-click is needed to modify a value in the debugger. But now
  you can't reset an object value to NULL. Something to fix later...

[GB.DEBUG]
* BUG: Fix an uninitialized value that made the debugger crash when 
  trying to see if an object can act like an array.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler >= 0.11.3.


git-svn-id: svn://localhost/gambas/trunk@2268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:30:23 +00:00
Fabien Bodard
81fcbc10e4 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the popup help is showed even if the panDebug is not visible.


git-svn-id: svn://localhost/gambas/trunk@2267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 20:39:27 +00:00
Benoît Minisini
8bb2091ab0 [CONFIGURATION]
* BUG: Fix the Makefile.am files of /main/lib sub-directories.

[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your 
  component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field 
  in debugger windows while debugging.

[INTERPRETER]
* NEW: Support for local and global variable assignment.

[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global 
  variables now.

[GB.EVAL]
* NEW: Support for local and global variable assignment.

[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic 
  keyboard navigation.

(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 14:19:32 +00:00
Laurent Carlier
32fe885dce [GB.QT4.WEBKIT]
* BUG: Component need at least Qt4 Webkit 4.5.0 to build.


git-svn-id: svn://localhost/gambas/trunk@2264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 13:16:24 +00:00
Fabien Bodard
f4e8596c98 [EXAMPLES]
* NEW: A new example, a gambas DBus Explorer (Use gb.xml) 


git-svn-id: svn://localhost/gambas/trunk@2263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 08:17:00 +00:00
Benoît Minisini
9a05e9bec1 [GB.QT.EXT]
* BUG: Make gb.qt.ext build, but do not implement the new gb.qt4.ext 
  behaviour of revsion #2256.


git-svn-id: svn://localhost/gambas/trunk@2262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 19:24:12 +00:00
Fabien Bodard
a5668e9f87 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the help look fine on every case.


git-svn-id: svn://localhost/gambas/trunk@2261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 17:34:32 +00:00
Benoît Minisini
5bb47fc9aa [DEVELOPMENT ENVIRONMENT]
* NEW: Some little cosmetic changes.
* BUG: Do not use gb.UseLanguage anymore.

[INTERPRETER]
* NEW: The gb.UseLanguage and gb.Case constants have been removed.
* NEW: Array.Find() methods now take an optional argument that defines the 
  search start index.
* NEW: gb.Like is a new comparison mode that internally uses the LIKE 
  operator.


git-svn-id: svn://localhost/gambas/trunk@2260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 12:17:31 +00:00
Benoît Minisini
dad1cff347 [GB.QT4]
* NEW: Window without borders now ask to not be managed by the window 
  manager. Consequently, they are not activated when shown, and do not get 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 10:11:25 +00:00
Fabien Bodard
63d792ebad [DEVELOPMENT ENVIRONMENT]
* BUG: The ide does not crash on some mouse position 
  during the help search


git-svn-id: svn://localhost/gambas/trunk@2258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 08:44:26 +00:00
Laurent Carlier
e0dfa431e6 [GB.OPENGL]
* BUG: Fix Gl.RenderMode() return values. It can return an Integer[][] (with Gl.GL_SELECT)
  or a Float[] (with Gl.GL_FEEDBACK)



git-svn-id: svn://localhost/gambas/trunk@2257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 21:59:47 +00:00
Benoît Minisini
080f1d20b9 [GB.QT4.EXT]
* NEW: Editor.PosToColumn() and Editor.PosToLine() now return -1 when the 
  mouse cannot be mapped to a cursor position.


git-svn-id: svn://localhost/gambas/trunk@2256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 20:52:17 +00:00
Benoît Minisini
6efb184d9a [DEVELOPMENT ENVIRONMENT]
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide 
  (or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.

[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been 
  replaced by "Ambigous brackets".

[GB.IMAGE]
* NEW: Remove Image.Transform().

[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.

[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or 
  Control.ResizeScaled() is zero, then the effective width (or height) will 
  be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification, 
  DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in 
  the foreground.


git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 19:43:40 +00:00