Commit graph

887 commits

Author SHA1 Message Date
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
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Mehmet Başdemir
e44c393457 [DEVELOPMENT ENVIRONMENT]
* NEW: Turkish translation of Gambas IDE has been completely finished.

git-svn-id: svn://localhost/gambas/trunk@2235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 09:55:29 +00:00
Laurent Carlier
d5a162df83 [GB.QT4]
* BUG: Add missing include to cstdio, fix snprintf() compilation error.


git-svn-id: svn://localhost/gambas/trunk@2234 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-13 12:23:41 +00:00
Laurent Carlier
f75d000de3 [CONFIGURATION]
* BUG: Try to fix building with Autoconf 2.64

Really, autotools is the hell ! 


git-svn-id: svn://localhost/gambas/trunk@2233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-13 09:04:07 +00:00
Benoît Minisini
a7cc331135 [INTERPRETER]
* BUG: Remove a configuration file that should not be versioned.


git-svn-id: svn://localhost/gambas/trunk@2231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-10 10:20:13 +00:00
Benoît Minisini
8fa23b6351 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little changes in the "cool" buttons and in the project item 
  control.
* BUG: Fix the console embedding flash when the debugger starts.

[INTERPRETER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent 
  to the compiler.

[COMPILER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent 
  to the compiler.

[GB.FORM]
* OPT: ListContainer.Clear() now locks the container, as there is no need 
  to arrange its children while clearing it.


git-svn-id: svn://localhost/gambas/trunk@2230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-10 10:16:58 +00:00
Mehmet Başdemir
1f47320a4f Turkish Translation of Website.
git-svn-id: svn://localhost/gambas/trunk@2228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:07:07 +00:00
Benoît Minisini
9761b82d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Try to lower the number of lines displayed in the GUI by removing 
  borders and using Separators instead.
* BUG: F11 should work correctly just after the IDE has been loaded now.

[EXAMPLES]
* NEW: In the PdfViewer example, zooming with the mouse wheel is now 
  smooth.

[GB.FORM.MDI]
* NEW: Remove one pixel padding in Workspace and Toolbar.

[GB.IMAGE]
* NEW: Color.Mix has been replaced by Color.Merge.

[GB.QT4]
* NEW: Remove useless Color methods and properties that are now defined in
  the gb.image component.

[GB.QT4.EXT]
* NEW: Editor has a new boolean property Border.


git-svn-id: svn://localhost/gambas/trunk@2227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:01:59 +00:00
Benoît Minisini
37386a3258 [GB.QT4]
* NEW: Color.Mix has been replaced by Color.Merge.
* NEW: Separator now draws a line when one of its dimension is 1 pixel.

[GB.QT4.OPENGL]
* BUG: The component loads correctly now.


git-svn-id: svn://localhost/gambas/trunk@2226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 22:34:19 +00:00
Benoît Minisini
5cbca23c23 [GB.DBUS]
* NEW: DBus.Session returns the session bus DBusConnection object.
* NEW: DBus.System returns the system bus DBusConnection object.
* NEW: DBusConnection has a new Applications property that returns the list 
  of applications that have registered to itself.
* NEW: DBusObject has new Children property that returns the list of its 
  children relative paths.


git-svn-id: svn://localhost/gambas/trunk@2225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 22:06:17 +00:00
Benoît Minisini
cdc92a284c [GB.QT4]
* BUG: The TabStrip hack is actually needed.


git-svn-id: svn://localhost/gambas/trunk@2224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 18:29:48 +00:00
Benoît Minisini
0082ebc8db [GB.DBUS]
* BUG: Fix the "DBus class declared twice" error. The DBus class in the C 
  part has been renamed "_DBus" so that it does not conflict anymore with 
  the DBus class declared in the gambas part.


git-svn-id: svn://localhost/gambas/trunk@2223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 18:14:26 +00:00
Benoît Minisini
e57a6272d9 [GB.QT4]
* BUG: Splitter children arrangement is not delayed anymore.
* NEW: Remove TabStrip layout workaround, to see if it is really needed.
* BUG: Image.Save() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 15:57:33 +00:00
Benoît Minisini
80a20e2336 [EXAMPLES]
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to 
  the child shell.

[INTERPRETER]
* BUG: Remove some warning messages.

[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-06 00:34:49 +00:00
Benoît Minisini
9beb0bb27f [INTERPRETER]
* BUG: Fix the initialization of the pseudo-terminal created for processes 
  run with SHELL/EXEC ... FOR INPUT/OUTPUT, so that it works when the 
  standard input is not a terminal.


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