Commit graph

802 commits

Author SHA1 Message Date
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
Fabien Bodard
e24c16588f [DEVELOPMENT ENVIRONMENT]
* NEW: The words are highlighted


git-svn-id: svn://localhost/gambas/trunk@2254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 17:24:13 +00:00
Fabien Bodard
845049b682 [GB.DBUS]
* BUG: Oups


git-svn-id: svn://localhost/gambas/trunk@2253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:39:08 +00:00
Fabien Bodard
911e1d6e8e [DEVELOPMENT ENVIRONMENT]
* NEW: Now the popup help is a popup top window. The help is showed 
  when you are staying on a word more than one second with the mouse.

[GB.QT4.EXT]
* NEW: The function PosToCol of the editor now return false if the mouse 
  is not on the text.




git-svn-id: svn://localhost/gambas/trunk@2252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:35:28 +00:00
Laurent Carlier
13234bbff7 [GB.SDL]
* NEW: remove color management from gb.sdl component, as now it follow gb.image component color sheme.

It save some memory bytes, and do less code to maintain.


git-svn-id: svn://localhost/gambas/trunk@2250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-19 16:15:43 +00:00
Benoît Minisini
e5f3d190c7 [GB.QT4]
* BUG: The AutoResize property of Button and ToolButton now works 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@2249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 19:51:32 +00:00
Laurent Carlier
4f027f7eca [GB.OPENGL]
* BUG: Fix bad code factorization with Gl.Vertex Gl.Color Gl.TexCoord Gl.RasterPos
* NEW: New methods to do opengl select and picking:
       Glu.PickMatrix(), Gl.FeedbackBuffer(), Gl.InitNames(), Gl.LoadName(), Gl.PassThrough(), Gl.PopName(),
       Gl.PushName(), Gl.SelectBuffer()

Rename some files; GLSelectPixmap.* are now rename as GLSelectFeedback.*; this follow the sheme from
OpenGL Blue Book chapter 3.


git-svn-id: svn://localhost/gambas/trunk@2248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 17:17:29 +00:00
Benoît Minisini
a5b5e01aa7 [DEVELOPMENT ENVIRONMENT]
* BUG: In the menu editor, shortcuts are now correctly saved in all cases.

[GB.FORM.MDI]
* NEW: Ctrl+PgUp and Ctrl+PgDown are two new shortcuts to move to the 
  previous or next tab in the Workspace control.


git-svn-id: svn://localhost/gambas/trunk@2246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 09:10:49 +00:00
Benoît Minisini
dba4051fb0 [DEVELOPMENT ENVIRONMENT]
* NEW: Brakpoint tab has been redesigned.
* BUG: Unchecking the gb.db component in a project having Connection 
  objects does not crash anymore when refreshing the project tree.

[INTERPRETER]
* BUG: Setting a breakpoint on the startup class works again.

[GB.DEBUG]
* BUG: Setting a breakpoint on the startup class works again.

[GB.FORM]
* BUG: Fix the use of the new Image.Mirror() function.

[GB.IMAGE]
* NEW: Image.Transform() is a just a test. Do not use it.

[GB.QT4]
* BUG: When a debugger event has been received, do not manipulate the GUI 
  if the application object has not been created yet.


git-svn-id: svn://localhost/gambas/trunk@2244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 22:36:54 +00:00
Laurent Carlier
1187559a53 [GB.SDL]
* NEW: Add support for loaded font via SDLttf library (drawing not yet enabled)
* NEW: Add some debugging infos via environment var  DEBUG_GB_SDL
* BUG: Custom cursor (from an image) is currently disabled as it doesn't work yet

Lot of internal clean up and optimisations, not yet finished but things start to take places.



git-svn-id: svn://localhost/gambas/trunk@2243 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 18:08:56 +00:00
Benoît Minisini
32349c54b5 [GB.QT]
* BUG: Update the Image class to use the gb.image routines.


git-svn-id: svn://localhost/gambas/trunk@2242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 12:30:01 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
03ecde2caa [GB.SDL]
* NEW: Replace the old specific "m4" directory by a symbolic link to the 
  common one.


git-svn-id: svn://localhost/gambas/trunk@2240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 07:49:35 +00:00
Benoît Minisini
e3c447b438 [GB.SDL]
* NEW: Remove the old "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 07:44:53 +00:00
Benoît Minisini
ab8e67c2cc [GB.QT4]
* BUG: Fix the Dialog.Font property.


git-svn-id: svn://localhost/gambas/trunk@2238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 07:42:06 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00