Commit graph

1890 commits

Author SHA1 Message Date
Benoît Minisini
bf7bd78dda [EXAMPLES]
* BUG: Restore BeastScroll example.

[GB.SDL]
* BUG: Remove my mistake in the Draw.Image() method.


git-svn-id: svn://localhost/gambas/trunk@3747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 13:08:59 +00:00
Benoît Minisini
15762e3fb2 [GB.IMAGE]
* NEW: Implement Image.PaintImage().

[GB.IMAGE.IO]
* NEW: Loaded image are returned in the preferred format, as specified by
  gb.qt4, gb.gtk or gb.sdl.

[GB.SDL]
* BUG: Do not define the foreground color before drawing an image. It seems
  useless, isn't it?
* BUG: Fix a case mistake in the "Deactivate" event.


git-svn-id: svn://localhost/gambas/trunk@3746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 00:57:03 +00:00
Benoît Minisini
c2ec9e856d [WEB SITE MAKER]
* NEW: Add new website files to the repository.


git-svn-id: svn://localhost/gambas/trunk@3745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 21:29:57 +00:00
Benoît Minisini
186afc6326 [DEVELOPMENT ENVIRONMENT]
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.

[WEB SITE MAKER]
* NEW: Some website updates.

[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
  the alpha channel.

[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().


git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 21:27:34 +00:00
Laurent Carlier
c529c78553 [GB.SDL]
* NEW: Use now defaut BGRA image format internally, should avoid conversion when
       using with a majority of gb.image.xxxx components.
* BUG: Add missing defaut Image format declaration.


git-svn-id: svn://localhost/gambas/trunk@3743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 16:39:02 +00:00
Benoît Minisini
0a6ea29cbc [GB.IMAGE]
* NEW: Image.DrawRect() as been renamed as Image.PaintRect().


git-svn-id: svn://localhost/gambas/trunk@3742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 11:45:33 +00:00
Benoît Minisini
e23dc7e456 [GB.IMAGE]
* OPT: Image.DrawAlpha() should be faster now.


git-svn-id: svn://localhost/gambas/trunk@3741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 11:39:08 +00:00
Benoît Minisini
fdba373f80 [WEB SITE MAKER]
* NEW: New Website design

[GB.FORM]
* BUG: ScrollArea.ScrollX and ScrollArea.ScrollY properties are writable 
  now, as their ScrollView relatives.


git-svn-id: svn://localhost/gambas/trunk@3740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 08:16:28 +00:00
Benoît Minisini
667133d5d8 [INTERPRETER]
* BUG: Object[].Exist() and Object[].Find() now take the _compare special 
  method into account.


git-svn-id: svn://localhost/gambas/trunk@3739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 08:09:18 +00:00
Laurent Carlier
2d98406be1 [GB.SDL]
* BUG: Now Joysticks events are part of the Window class.
* BUG: Joysticks events are managed like keyboard events. They are only raised when the 
       Window got keyboard input focus.


git-svn-id: svn://localhost/gambas/trunk@3738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-08 14:28:37 +00:00
Benoît Minisini
937f3d3f93 [INTERPRETER]
* BUG: The "0.3 - 0.2" expression is not printed at "0.01". All values very 
  close to a negative power of 10 was concerned.


git-svn-id: svn://localhost/gambas/trunk@3737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-07 23:24:11 +00:00
Jordi Sayol
2a476df9a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Catalan translation.

[MAKEWEBSITE]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Update Catalan translation of CDPlayer.

git-svn-id: svn://localhost/gambas/trunk@3736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-07 05:20:06 +00:00
Peter Landgren
60a4424c9d Update of Swedish for IDE
M       .lang/sv.mo
M       .lang/.pot
M       .lang/sv.po

git-svn-id: svn://localhost/gambas/trunk@3735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-05 15:54:14 +00:00
David Villalobos Cambronero
5866142216 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-05 13:47:24 +00:00
Benoît Minisini
df3f9c9f36 [WEB SITE MAKER]
* NEW: New web site design.

[WIKI CGI SCRIPT]
* NEW: New web site design.

[INTERPRETER]
* BUG: Remove some unused code.
* NEW: Stream got three new methods: Begin, Send & Drop. All WRITE 
  instructions between a Begin and Send will be merged in one bunch of data
  that will be sent when Stream.End() is called. Stream.Drop() is there to
  cancel that process.
* BUG: Correctly handle EINTR when writing to the SIGCHLD pipe.


git-svn-id: svn://localhost/gambas/trunk@3730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-04 00:40:32 +00:00
Laurent Carlier
39ac3f88cd [GB.SDL]
* NEW: Add basic mouse wheel management.


git-svn-id: svn://localhost/gambas/trunk@3729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-02 18:13:19 +00:00
Laurent Carlier
9e7b057eb9 [GB.SDL]
* NEW: Now Mouse class gives mouse buttons and modifiers.



git-svn-id: svn://localhost/gambas/trunk@3728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-02 17:28:48 +00:00
Laurent Carlier
63c56db5d4 [EXAMPLES]
* BUG: Update to new gb.sdl behaviour.


git-svn-id: svn://localhost/gambas/trunk@3727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-02 16:39:17 +00:00
Laurent Carlier
bbd61e496d [EXAMPLES]
* BUG: Update GambasGears with new Mouse behaviour.


git-svn-id: svn://localhost/gambas/trunk@3726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-02 16:35:49 +00:00
Laurent Carlier
2309afa94d [GB.SDL]
* NEW: Remove Mouse.RelativeX/Y properties, add Mouse.StartX/Y properties (same as gb.qt4).


git-svn-id: svn://localhost/gambas/trunk@3725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-02 16:24:51 +00:00
Laurent Carlier
a358c6cb6a rearrange code to get more robustness in case of gb.sdl and gb.opengl mixed instructions.
git-svn-id: svn://localhost/gambas/trunk@3724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 21:59:03 +00:00
Laurent Carlier
e0df4c8c48 [GB.SDL]
* NEW: Add Joystick.Index property, which returns the joystick's index (similar than
       Joysticks class)
* BUG: Cleanup Joystick class interface (again).


git-svn-id: svn://localhost/gambas/trunk@3720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 15:15:36 +00:00
Benoît Minisini
034caa916e [GB.SDL]
* BUG: The Window.Resizable property works correctly now.
* NEW: Windows are resizable by default like in gb.qt4 or gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@3719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 15:00:31 +00:00
Laurent Carlier
73ea41ecc0 [GB.SDL]
* BUG: Add missing Handle property in Window class.


git-svn-id: svn://localhost/gambas/trunk@3718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 14:55:10 +00:00
Laurent Carlier
ed13c4a083 [GB.SDL]
* BUG: Remove Fixed and Resizable constants from Window class, Window.Border property is now renamed
       in Window.Resizable use a boolean like gb.qt4 component.


git-svn-id: svn://localhost/gambas/trunk@3717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 14:47:30 +00:00
Laurent Carlier
2a419a15ec [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.opengl.glu support.


git-svn-id: svn://localhost/gambas/trunk@3716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 11:44:52 +00:00
Laurent Carlier
e578c341d2 [EXAMPLES]
* BUG: Add gb.opengl.glu component dependency in PDFPresentation and 3DWebCam examples.


git-svn-id: svn://localhost/gambas/trunk@3715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 09:29:21 +00:00
Laurent Carlier
50cc5e432c [GB.OPENGL]
* NEW: Remove Glu methods from the component. Should help on systems where glu isn't available.
  also safe a bit of memory when glu isn't mandatory.

[GB.OPENGL.GLU]
* NEW: New component including Glu functions from the gb.opengl component.


git-svn-id: svn://localhost/gambas/trunk@3714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 09:15:55 +00:00
Laurent Carlier
875cda43bd [GB.SDL]
* NEW: Remove glu dependency and the related code.


git-svn-id: svn://localhost/gambas/trunk@3713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 08:11:44 +00:00
Benoît Minisini
4d37eb128c [GB.FORM]
* NEW: ListContainer.Border property has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 22:29:03 +00:00
Benoît Minisini
7a0e05c384 [GB.NET.CURL]
* NEW: Asynchronous FtpClient objects are now automatically kept alive 
  until their operation is finished.


git-svn-id: svn://localhost/gambas/trunk@3710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 16:21:18 +00:00
Benoît Minisini
9f9686cae4 [GB.NET.CURL]
* BUG: Remove an unexpected ';'.


git-svn-id: svn://localhost/gambas/trunk@3709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 16:15:58 +00:00
Benoît Minisini
5f16f05de6 [GB.NET.CURL]
* NEW: Asynchronous HttpClient objects are now automatically kept alive 
  until their operation is finished.


git-svn-id: svn://localhost/gambas/trunk@3708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 15:24:36 +00:00
Laurent Carlier
8cfda6d797 [GB.SDL]
* NEW: Now Joystick class can manage hats and balls.
* NEW: Joystick's device that raised the event is available with Joystick.Device property.


git-svn-id: svn://localhost/gambas/trunk@3707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 12:28:54 +00:00
Laurent Carlier
eefaaa5b6d [GB.SDL]
* BUG: Joystick_ButtonPressed() events are correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@3706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 10:15:28 +00:00
Laurent Carlier
93b73bef83 [GB.SDL]
* NEW: Joysticks class, to enumerate destected joysticks.
* NEW: Joystick class, to get events and infos from a joystick.



git-svn-id: svn://localhost/gambas/trunk@3705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-30 10:05:21 +00:00
Benoît Minisini
56fcad81a0 [GB.NET.CURL]
* BUG: Correctly stop the HttpClient or FtpClient objects when they are 
  freed.


git-svn-id: svn://localhost/gambas/trunk@3704 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 23:56:33 +00:00
Benoît Minisini
e93c43ad9f [GB.GTK]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
  into account.

[GB.QT4]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
  into account.


git-svn-id: svn://localhost/gambas/trunk@3703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 00:40:58 +00:00
Benoît Minisini
859ab8256f [DEVELOPMENT ENVIRONMENT]
* BUG: Restore the startup class.


git-svn-id: svn://localhost/gambas/trunk@3702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 00:31:45 +00:00
Benoît Minisini
a7e919b907 [DEVELOPMENT ENVIRONMENT]
* NEW: The list of error messages was updated.


git-svn-id: svn://localhost/gambas/trunk@3701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 00:30:41 +00:00
Benoît Minisini
4ddb1c13a8 [COMPILER]
* BUG: Handle failing file deletions with an error message.
* BUG: Correctly remove action files when there is no action anymore in a
  form.

[INFORMER]
* BUG: Handle failing file deletions with an error message.


git-svn-id: svn://localhost/gambas/trunk@3700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 00:24:15 +00:00
Benoît Minisini
1bba8a0236 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the 'BIND' incompatibility in the Gambas 2 project 
  converter.


git-svn-id: svn://localhost/gambas/trunk@3699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 22:07:17 +00:00
Benoît Minisini
f1f804d9c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix conversion of CSng() into CSingle() in Gambas 2 project 
  converter.
* BUG: Multiple function conversions on the same line should be handled 
  correctly now in Gambas 2 project converter.


git-svn-id: svn://localhost/gambas/trunk@3698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 14:55:08 +00:00
Benoît Minisini
d41b7b92d3 [INTERPRETER]
* BUG: Handle EINTR while reading the SIGCHLD pipe.


git-svn-id: svn://localhost/gambas/trunk@3697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 14:50:26 +00:00
Benoît Minisini
7e386a240d [INTERPRETER]
* BUG: Really print system error if reading the SIGCHLD pipe fails.


git-svn-id: svn://localhost/gambas/trunk@3696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 13:14:20 +00:00
Benoît Minisini
31c3982f6b [INTERPRETER]
* BUG: Print system error if reading the SIGCHLD pipe fails.


git-svn-id: svn://localhost/gambas/trunk@3695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 12:24:10 +00:00
Benoît Minisini
65cbf8d6e6 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix possible form editor crashes when some components are missing.

[GB.FORM.MDI]
* BUG: ToolBar with vertical orientation are usable now. But setting 
  AutoResize to False seems to have no effect anymore.


git-svn-id: svn://localhost/gambas/trunk@3693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-28 01:55:31 +00:00
Benoît Minisini
0e94b6fe71 [GB.QT4]
* BUG: Image.Rotate(0) works correctly now. It makes a deep copy of the 
  image, like Image.Copy().


git-svn-id: svn://localhost/gambas/trunk@3692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-27 20:55:32 +00:00
Laurent Carlier
8387ac16b2 Add also .svg file icon
git-svn-id: svn://localhost/gambas/trunk@3691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-27 17:11:37 +00:00
Laurent Carlier
6cc5c17e31 [DEVELOPMENT ENVIRONMENT]
* NEW: Add desktop and icon files.


git-svn-id: svn://localhost/gambas/trunk@3690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-27 17:10:35 +00:00