Commit graph

2108 commits

Author SHA1 Message Date
Benoît Minisini
4fd522c25a [DEVELOPMENT ENVIRONMENT]
* NEW: Simplify the search dialog interface.
* NEW: Put the compress and uncompress actions in the toolbar.
* BUG: Do not try to display the current error is the active stack frame is
  not the current one.


git-svn-id: svn://localhost/gambas/trunk@3765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-14 23:26:01 +00:00
Benoît Minisini
416df4a664 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the scan of exported classes that must not inherit themselves!


git-svn-id: svn://localhost/gambas/trunk@3764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 23:37:54 +00:00
Laurent Carlier
28274d1b49 [GB.GTK]
* BUG: Fix building with gtk+ prior to 2.24.


git-svn-id: svn://localhost/gambas/trunk@3763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 16:38:11 +00:00
Laurent Carlier
2e414857c3 Fix some building with make CXXFLAGS+="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html



git-svn-id: svn://localhost/gambas/trunk@3762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 08:20:00 +00:00
Benoît Minisini
a742115ed9 [DEVELOPMENT ENVIRONMENT]
* BUG: Display compiler error message the same way as interpreter runtime
  error messages.


git-svn-id: svn://localhost/gambas/trunk@3761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 00:11:00 +00:00
Laurent Carlier
7c5d8a4e94 Fix building with make CFLAGS+="-DGTK_DISABLE_SINGLE_INCLUDES"
See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html


git-svn-id: svn://localhost/gambas/trunk@3760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:57:32 +00:00
Benoît Minisini
319036d197 [GB.QT4]
* BUG: TextLabel with AutoResize set takes the WordWrap property into 
  account correctly now.


git-svn-id: svn://localhost/gambas/trunk@3759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:38:32 +00:00
Benoît Minisini
350c5d8cef [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh project after the project property dialog has been 
  validated.
* NEW: Display runtime error in a tooltip instead of a balloon.


git-svn-id: svn://localhost/gambas/trunk@3758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:32:32 +00:00
Benoît Minisini
8cea2d489f [GB.QT4.EXT]
* BUG: Remove the StaticContents Qt flag from the Editor control. Maybe it
  will fix the refresh bug some people have.


git-svn-id: svn://localhost/gambas/trunk@3757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:13:55 +00:00
Benoît Minisini
3c60bae2b6 [DEVELOPMENT ENVIRONMENT]
* OPT: Optimize detection of the current procedure.

[GB.QT4.EXT]
* BUG: Cursor moves better on folded procedures in Editor.
* OPT: Some little optimizations in Editor view.


git-svn-id: svn://localhost/gambas/trunk@3756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:00:49 +00:00
Benoît Minisini
0fd1a693dc [DEVELOPMENT ENVIRONMENT]
* NEW: Display cursor position inside editors, and not in the toolbar 
  anymore.

[GB.QT4]
* OPT: Do not trigger arrangement if setting the visibility of a control 
  has no effect.

[GB.QT4.EXT]
* NEW: Editor can display the cursor position inside itself.


git-svn-id: svn://localhost/gambas/trunk@3755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 12:49:16 +00:00
Benoît Minisini
1a223dc2f7 [GB.DRAW]
* NEW: Paint.AntiAlias is a new property that defines if antialiasing is 
  used for drawing. It should be TRUE by default.


git-svn-id: svn://localhost/gambas/trunk@3754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 11:07:22 +00:00
Benoît Minisini
f4ab13c337 [DEVELOPMENT ENVIRONMENT]
* NEW: Ability to replace strings while browsing the entire project.

[GB.IMAGE]
* BUG: Image.Resize() works with 24-bits image again.

[GB.QT4]
* BUG: GridView correctly honors the WordWrap cell property for rich text.


git-svn-id: svn://localhost/gambas/trunk@3753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 10:19:05 +00:00
Benoît Minisini
2448f7b8e5 [GB.GTK]
* BUG: Setting the font of a editable ComboBox now works as expected.


git-svn-id: svn://localhost/gambas/trunk@3752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 00:54:48 +00:00
Benoît Minisini
68942fb66b [GB.GTK]
* BUG: Setting TextArea.Line to a negative value now moves the cursor to 
  the beginning of the text.
* BUG: Setting TextArea.Line to a too big value now moves the cursor to 
  the end of the text.


git-svn-id: svn://localhost/gambas/trunk@3751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 00:38:43 +00:00
Benoît Minisini
d3ed46eace [DEVELOPMENT ENVIRONMENT]
* NEW: Some error are ignored when using instant watch.


git-svn-id: svn://localhost/gambas/trunk@3750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:35:48 +00:00
Benoît Minisini
9a48eaa569 [DEVELOPMENT ENVIRONMENT]
* NEW: Display instant watch with a custom tooltip instead of a balloon so
  that it is less intrusive.


git-svn-id: svn://localhost/gambas/trunk@3749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:34:37 +00:00
Benoît Minisini
f78ee4abee [GB.DRAW]
* NEW: Draw.FillRect() uses the FillColor color by default now, not the 
  Background color.


git-svn-id: svn://localhost/gambas/trunk@3748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 15:55:13 +00:00
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