Commit graph

663 commits

Author SHA1 Message Date
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
Benoît Minisini
caa1b5aac6 [INTERPRETER]
* NEW: The _unknown() method is now correctly called when reading *and* 
  writing unknown properties. _unknown() is called with no arguments when
  reading the property, and with one argument (the new property value) when 
  writing it.
* BUG: Classes declared in the Gambas part of a component now should 
  correctly override classes declared in the C/C++ part.

[GB.DBUS]
* NEW: Hide native methods of the DBus class.
* NEW: The syntax for calling a method is:
  DBus[<Application>][<Object>,<Interface>].<Method>(<Arguments>)
  <Application> can be prefixed by "system://" to access the system bus.
* NEW: Properties are readable and writable with this syntax:
  DBus[<Application>][<Object>,<Interface>].<Property>
* NEW: DBusVariant is a new class that allows to send a Variant to a DBus 
  method by specifying is DBus type. Otherwise, when using Variant 
  directly, the associated DBus type is guessed automatically, which may 
  not be accurate is some cases.


git-svn-id: svn://localhost/gambas/trunk@2218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-05 16:14:08 +00:00
Benoît Minisini
3833fdd995 [DEVELOPMENT ENVIRONMENT]
* BUG: The IDE does not crash anymore when a project is read-only, you 
  double-click on a control in the form editor, and no event handler is 
  found.


git-svn-id: svn://localhost/gambas/trunk@2217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-05 00:14:41 +00:00
Benoît Minisini
ee2d930fd8 [DEVELOPMENT ENVIRONMENT]
* NEW: Chinese translation updated.
* BUG: The import function of the translation dialog does not forget some 
  translations anymore.

[WICI CGI SCRIPT]
* NEW: Chinese translation updated.

[WEB SITE MAKER]
* NEW: Chinese translation updated.

[GB.DB.FORM]
* NEW: Chinese translation updated.

[GB.FORM]
* NEW: Chinese translation updated.

[GB.FORM.DIALOG]
* NEW: Chinese translation updated.

[GB.FORM.MDI]
* NEW: Chinese translation updated.

[GB.QT4]
* NEW: ComboBox.Sorted has been implemented.
* NEW: The welcome dialog animation is run only if the mouse is over it. 
  Gambas must be kind with slow CPUs.



git-svn-id: svn://localhost/gambas/trunk@2216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 23:58:51 +00:00
Benoît Minisini
def84989aa [CONFIGURATION]
* NEW: Start replacing INCLUDE directive by *_CFLAGS in Makefile.am files.

[GB.EVAL]
* BUG: Fix a warning.


git-svn-id: svn://localhost/gambas/trunk@2215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 19:14:17 +00:00
David Villalobos Cambronero
e6a9c5fa90 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 18:26:36 +00:00
Benoît Minisini
9aadad1b08 [GB.QT4]
* BUG: Remove a file that should not be versioned.


git-svn-id: svn://localhost/gambas/trunk@2213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:48:04 +00:00
Benoît Minisini
e862619957 [CONFIGURATION]
* NEW: Update libtool and configuration file to their last version.

[DEVELOPMENT ENVIRONMENT]
* BUG: The right translation columns in the translation dialog now keep 
  being visible after a language change.

[WEB SITE MAKER]
* NEW: Chinese translation made by Liang Wei.


git-svn-id: svn://localhost/gambas/trunk@2212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:46:32 +00:00
Benoît Minisini
40e3ddcbbd [INTERPRETER]
* NEW: Finish libtool update.


git-svn-id: svn://localhost/gambas/trunk@2211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:33:25 +00:00
Benoît Minisini
e53fbf2037 [INTERPRETER]
* BUG: Fix some warnings.
* NEW: Start upgrading libtool.


git-svn-id: svn://localhost/gambas/trunk@2210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 13:01:45 +00:00
Benoît Minisini
0871af4660 [INTERPRETER]
* BUG: Fix compilation on 64 bits OS.


git-svn-id: svn://localhost/gambas/trunk@2209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-03 17:54:51 +00:00
Benoît Minisini
ec084f4211 [WEB SITE MAKER]
* NEW: Prepare the web site for turkish translation.


git-svn-id: svn://localhost/gambas/trunk@2207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 23:05:08 +00:00
Benoît Minisini
dc8e806ae7 [DEVELOPMENT ENVIRONMENT]
* NEW: Arabic translation updated.

[INTERPRETER]
* NEW: A new method in the interpreter API to read a value in memory and 
  store it in a Gambas value slot.

[GB.DB.ODBC]
* BUG: Fix a warning.


git-svn-id: svn://localhost/gambas/trunk@2206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 22:48:08 +00:00
Benoît Minisini
3b15965514 [GB.DBUS]
* NEW: DBus.Session returns a connection to the session bus as a 
  DBusConnection object.
* NEW: DBus.System returns a connection to the system bus as a 
  DBusConnection object.
* NEW: DBusConnection.Introspect() is a method that returns the result of 
  the Introspect() method on a specific object path.
* NEW: DBusConnection.CallMethod() allows to call any D-Bus method. 
  Marshalling is automatic, but D-Bus signature of input and output 
  arguments must be provided.


git-svn-id: svn://localhost/gambas/trunk@2205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 22:43:26 +00:00
Fabien Bodard
45a968480d [DEVELOPMENT ENVIRONMENT]
* BUG: Now the local help link save the cursor position before open the 
  targeted class.


git-svn-id: svn://localhost/gambas/trunk@2204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 10:55:34 +00:00
Benoît Minisini
67dd575def [GB.DEBUG]
* BUG: The component compiles again.


git-svn-id: svn://localhost/gambas/trunk@2203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-01 21:28:50 +00:00
Benoît Minisini
8dd19d4102 [INTERPRETER]
* BUG: Check the process stack each time a function is call, to avoid 
  segmentation faults on stack overflows. 

[GB.DEBUG]
* BUG: In the debugger, trim too large stack backtraces, so that the IDE 
  always receive it in one event.


git-svn-id: svn://localhost/gambas/trunk@2202 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-01 15:13:50 +00:00
Fabien Bodard
ec40aef9ae [DEVELOPMENT ENVIRONMENT]
* BUG: Correct an error on the help show way


git-svn-id: svn://localhost/gambas/trunk@2201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-01 09:14:45 +00:00
Fabien Bodard
a2ea9ce4a3 git-svn-id: svn://localhost/gambas/trunk@2200 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2009-08-01 09:12:57 +00:00
David Villalobos Cambronero
dd5aecbfc5 [MAKE WEB SITE]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-31 16:20:38 +00:00
David Villalobos Cambronero
45f548d882 [DEVELOPMENT ENVIROMENT]
* NEW:Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 22:36:29 +00:00
Benoît Minisini
06282813f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the project refreshing routine that made edited data files 
  read-only and unsaveable.

[WEB SITE MAKER]
* NEW: Arabic translation made by Daif Alotaibi.
* NEW: Support for right-to-left written languages.

[GB.DBUS]
* NEW: A new component to talk with D-Bus. But it cannot do anything at 
  the moment.

[GB.QT4]
* BUG: Expanded an item in a TreeView by code now shows the children as if 
  you did it by user interaction.


git-svn-id: svn://localhost/gambas/trunk@2197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 21:42:46 +00:00
Fabien Bodard
0e34ad63ca [DEVELOPMENT ENVIRONMENT]
* NEW: A new option allow to desactivate the help popup.


git-svn-id: svn://localhost/gambas/trunk@2196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 20:35:50 +00:00
Fabien Bodard
027f6186c0 [DEVELOPMENT ENVIRONMENT]
* BUG: Now we can have the help for symbole with a $ at the end


git-svn-id: svn://localhost/gambas/trunk@2195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 19:41:34 +00:00
Fabien Bodard
263b03d1be [DEVELOPMENT ENVIRONMENT]
* NEW: Now the controls declared in the form editor can be directly shown
 in the form editor from a link in the local help


git-svn-id: svn://localhost/gambas/trunk@2194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 19:22:55 +00:00