Commit graph

3899 commits

Author SHA1 Message Date
Tobias Boege
ee1e208d52 [CONFIGURATION]
* BUG: Try to remove whitespace before TRUNK_VERSION once for all.



git-svn-id: svn://localhost/gambas/trunk@5671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-21 15:54:26 +00:00
Tobias Boege
f347f30791 [GB.DATA]
* NEW: Fix memory leaks from Circular cleanup.



git-svn-id: svn://localhost/gambas/trunk@5670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-21 13:09:29 +00:00
Sebastian Kulesz
1566ace202 [GB.LOGGING]
* BUG: Add the component to the installation list.



git-svn-id: svn://localhost/gambas/trunk@5669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-21 01:44:57 +00:00
Tobias Boege
4c7d43bada [CONFIGURATION]
* NEW: Rename gb.crypt.openssl to gb.openssl.



git-svn-id: svn://localhost/gambas/trunk@5668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 22:26:15 +00:00
Tobias Boege
5332f91aef [CONFIGURATION]
* NEW: Add gb.crypt.openssl component.

[GB.CRYPT.OPENSSL]
* NEW: New component to wrap cryptographic functions of libcrypto from the
  OpenSSL project.
* NEW: Cipher and Digest classes can be used through their _get() methods to
  access all the cipher and message digest algorithms that libcrypto knows.
* NEW: HMac class is separate because it cannot be found using the above
  method.



git-svn-id: svn://localhost/gambas/trunk@5667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 21:29:48 +00:00
Tobias Boege
60b569c9fc [CONFIGURATION]
* OPT: Define the TRUNK_VERSION make variable as "simply expanded" to have
  the "svn info" command executed exactly once per Makefile and not for
  every gcc invocation. This required an ugly hack to get it done directly
  from acinclude.m4.



git-svn-id: svn://localhost/gambas/trunk@5666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 15:13:20 +00:00
Sebastian Kulesz
cf4c1f0372 [GB.LOGGING]
* NEW: New component to provide an easy logging interface.



git-svn-id: svn://localhost/gambas/trunk@5665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 02:15:56 +00:00
Benoît Minisini
172f592053 [GB.NET.CURL]
* NEW: HttpClient now raises the Progress event.


git-svn-id: svn://localhost/gambas/trunk@5664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 19:04:37 +00:00
Benoît Minisini
3a1b334193 [GB.NET.CURL]
* NEW: New Progress event raised while the FtpClient is downloading or 
  uploading some data. The event is not raised by the HttpClient yet.
* NEW: FtpClient has four new read-only properties to get information on
  uploading and downloading progress: Downloaded, Uploaded, TotalDownloaded
  and TotalUploaded.


git-svn-id: svn://localhost/gambas/trunk@5663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 15:10:22 +00:00
Tobias Boege
2bf1efd58b [CONFIGURATION]
* NEW: The TRUNK_VERSION macro is now defined to the overall SVN repository
  revision if Gambas is compiled from inside a repository. The value is
  detected by the Makefiles and passed as a command line definition to gcc.

[INTERPRETER]
* NEW: --version also prints the SVN revision number when gbx3 was compiled
  from a SVN repository.



git-svn-id: svn://localhost/gambas/trunk@5662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 14:02:29 +00:00
Benoît Minisini
c76d8e4140 [GB.NET.SMTP]
* BUG: Don't send an extra blank line in the first part.
* NEW: SmtpClient.Body is a new property that allows to define the text 
  body of the mail. That body is sent as the first part, with 'text/plain'
  datatype and UTF-8 charset.


git-svn-id: svn://localhost/gambas/trunk@5661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 12:48:29 +00:00
Sebastian Kulesz
a9d259432e [DEVELOPMENT ENVIROMENT]
* NEW: Updated Spanish tranlation. Reverted some changes in last
  commit and fixed some strings.



git-svn-id: svn://localhost/gambas/trunk@5660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 21:07:11 +00:00
David Villalobos Cambronero
5ebd7539da [EXAMPLES]
* BUG: Fixed the Form.Refresh error.


git-svn-id: svn://localhost/gambas/trunk@5659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 20:22:06 +00:00
David Villalobos Cambronero
913840b5b7 [DEVELOPMENT ENVIROMENT]\n* NEW: Spanish tranlation updated.
git-svn-id: svn://localhost/gambas/trunk@5658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 20:19:00 +00:00
Benoît Minisini
66b1881d91 [GB.WEB]
* BUG: Request.Post.Contents is correctly updated if the content type is
  'application/x-www-form-urlencoded'.


git-svn-id: svn://localhost/gambas/trunk@5657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-15 09:51:38 +00:00
Laurent Carlier
9f97b3eace [GB.GTK]
* BUG: Remove deprecated call to gb_type_init()

[GB.IMAGE.IO]
* BUG: Remove deprecated call to gb_type_init()

This call is deprecated since glib 2.36


git-svn-id: svn://localhost/gambas/trunk@5656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-14 16:58:20 +00:00
Laurent Carlier
4abb054abb [GB.DESKTOP]
* BUG: Replace internal call XKeycodeToKeysym() with XkbKeycodeToKeysym()

This fixes:
x11.c:645:5: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) 


git-svn-id: svn://localhost/gambas/trunk@5655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-14 16:38:29 +00:00
Tobias Boege
30944fa8eb [GB.NCURSES]
* BUG: The signature of Screen.Resize() allows arguments now



git-svn-id: svn://localhost/gambas/trunk@5654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-12 14:59:07 +00:00
Benoît Minisini
15be301e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot an arrangement icon.


git-svn-id: svn://localhost/gambas/trunk@5653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-11 18:27:30 +00:00
Fabien Bodard
d60e6882a8 [GB.MAP]
* BUG: Some little corrections
* NEW: Add a Max property to ShapeLayer


git-svn-id: svn://localhost/gambas/trunk@5652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 21:37:53 +00:00
Fabien Bodard
2634a0d54f [GB.MAP]
* OPT: Cleaning


git-svn-id: svn://localhost/gambas/trunk@5651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:56:48 +00:00
Fabien Bodard
ad7b517f5f [GB.MAP]
* NEW: Now ShapeItem have a property Color so each shape on a layer can have its 
  own color
* BUG: Shape stroke is correctly drawed


git-svn-id: svn://localhost/gambas/trunk@5650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:44:03 +00:00
Fabien Bodard
17978a3f38 [GB.MAP]
* NEW: a new function Grab allow to get an image of a given zone at the given
  size and at the better zoom level.
  ex: PictureBox1.Picture = $Map.Grab($Map!MyShape!zone1.Bounds, PictureBox1.Width,
   PictureBox1.Height, 0).Picture
* NEW: Map Class have an event Draw()
* NEW: Map have a property Loading that allow to control if the layers have finished 
  to get theire datas
* NEW: I've replaced the _ShapeItem box (RectF) by Bounds (MapBounds)



git-svn-id: svn://localhost/gambas/trunk@5649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-09 20:12:24 +00:00
Fabien Bodard
abc5bd861c [GB.MAP]
* BUG: Now the property AllowEffect really stop effect
* NEW: Now you can define a different point image for each Shape of
  type Point
* BUG: The property ShowControls is now visible in the property windows


git-svn-id: svn://localhost/gambas/trunk@5648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 19:35:50 +00:00
Fabien Bodard
118528a1d5 [GB.MAP]
* NEW: ShapeItem.Data become _ShapeItem.Points
* NEW: A new function refresh in _ShapeLayer allow to update the Shapes box and center value
  when points value have been changed.



git-svn-id: svn://localhost/gambas/trunk@5647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 12:50:37 +00:00
Fabien Bodard
8d4b633244 [GB.MAP]
* OPT: Improve the slide inertia
* BUG: correct detection of the mouse in the Viewer controls



git-svn-id: svn://localhost/gambas/trunk@5646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-08 10:16:58 +00:00
Fabien Bodard
a184c9fa41 [GB.MAP]
* NEW: A new static layer in the MapView give user control.
       It have just the zoom control for now. It can be disabled with the property ShowControls.
* NEW: A new property Bounds in Map Class give the lat/lon coord at the limits of the drawed
       map.
* NEW: Now shapes are stored directly in the ShapeLayer. It act like a collection.
       ex: Map!Shape.AddPoint("Home", MapPoint(0.05, 45))
       You can access to it with Map!Shape!Home.Data
* BUG: Many change in the zoom effect. I hope it is good



git-svn-id: svn://localhost/gambas/trunk@5645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-07 15:24:13 +00:00
Benoît Minisini
1280c1fe0b [EXAMPLES]
* BUG: GSLSpline: Remove deprecated Painted property from Form definition.


git-svn-id: svn://localhost/gambas/trunk@5644 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-05 11:56:12 +00:00
Benoît Minisini
93ef47f06e [CONFIGURATION]
* NEW: Switch to version 3.4.90.

[GB.EVAL.HIGHLIGHT]
* BUG: In HTML highlighting, highlighting inside <script> and <style> 
  markups works correctly now.


git-svn-id: svn://localhost/gambas/trunk@5643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-05 00:05:27 +00:00
Benoît Minisini
e877847c2e [GB.DRAW]
* NEW: Remove geometry classes source files.


git-svn-id: svn://localhost/gambas/trunk@5642 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 17:24:21 +00:00
Benoît Minisini
3721bbd95c [GB.DRAW]
* NEW: Remove geometry classes and put them in the gb.geom component.

[GB.GEOM]
* NEW: New hidden component that implements all geometry classes: Point,
  PointF, Rect and RectF.


git-svn-id: svn://localhost/gambas/trunk@5641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 17:23:17 +00:00
Benoît Minisini
54bb6b18e8 [GB.NET.SMTP]
* NEW: SmtpClient.Add() now uses a void name if its third argument is 
  specified and is a void string.


git-svn-id: svn://localhost/gambas/trunk@5640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 14:40:25 +00:00
Benoît Minisini
9d6ba888b3 [GB.DESKTOP]
* BUG: Fix the dependencies of the component project.


git-svn-id: svn://localhost/gambas/trunk@5639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 14:17:15 +00:00
Benoît Minisini
58e19c65a1 [COMPILER]
* BUG: Correctly handle public string constants larger than 255 characters.


git-svn-id: svn://localhost/gambas/trunk@5638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 02:54:35 +00:00
Benoît Minisini
59756d47e5 [COMPILER]
* BUG: Now a FOR loop with no loop variable correctly raises a syntax 
  error.


git-svn-id: svn://localhost/gambas/trunk@5637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-03 22:45:11 +00:00
Tobias Boege
f34cf10b7e [EXAMPLES]
* NEW: Invaders: Make Borg(Queen) ships shoot every 2000th move



git-svn-id: svn://localhost/gambas/trunk@5636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 21:15:33 +00:00
Tobias Boege
da1ac94873 [EXAMPLES]
* NEW: Invaders: New example for gb.ncurses showing some variant of Space
  Invaders. Most internal code is right, only the surface needs polishing.



git-svn-id: svn://localhost/gambas/trunk@5635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 20:51:59 +00:00
Benoît Minisini
38071a32f3 [GB.GTK]
* BUG: Menus work correctly again.


git-svn-id: svn://localhost/gambas/trunk@5634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 16:03:56 +00:00
Benoît Minisini
0a5be7890d [INTERPRETER]
* BUG: Don't wait for a stream to be ready for reading if the stream has no
  underlying file descriptor.


git-svn-id: svn://localhost/gambas/trunk@5633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 13:02:38 +00:00
Benoît Minisini
4c31d1950b [GB.COMPRESS.BZLIB2]
* BUG: Fix stream implementation.


git-svn-id: svn://localhost/gambas/trunk@5632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 12:59:03 +00:00
Benoît Minisini
13364955b4 [GB.COMPRESS.ZLIB]
* BUG: Fix the stream implementation.


git-svn-id: svn://localhost/gambas/trunk@5631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 12:58:19 +00:00
Benoît Minisini
4a4b69dc4e [DEVELOPMENT ENVIRONMENT]
* BUG: Icon selection dialog filter works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-01 12:17:22 +00:00
Fabien Bodard
c100a91d95 [GB.MAP]
* OPT: Remove some test files


git-svn-id: svn://localhost/gambas/trunk@5629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:27:28 +00:00
Fabien Bodard
552692ba94 oups
git-svn-id: svn://localhost/gambas/trunk@5628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:25:24 +00:00
Fabien Bodard
dd5903122e [GB.MAP]
* NEW: Now shapes are usables, you can use, point, multipoints,
  polylines, and polygons.
  Data Position are defined in lat/lon value.
  
  ex: Map["MyShape"].AddPoint(MapPoint(lat,lon))

* NEW: _MapShape.Color is a property to define the shape color on the layer



git-svn-id: svn://localhost/gambas/trunk@5627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 14:23:41 +00:00
Tobias Boege
587d286f89 [GB.NCURSES]
* NEW: Omitting the optional 'Attr' and 'Pair' parameters to Window.Print()
  now indicates to use the window settings instead of no attributes and
  default colour



git-svn-id: svn://localhost/gambas/trunk@5626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 11:04:01 +00:00
Tobias Boege
5c640cd4d4 [GB.NCURSES]
* NEW: Allow to apply attributes and colours to a particular
  Window.Print{,Center}()
* NEW: Change Window.Attributes into a bitmask (Integer)
* NEW: .Window.Attrs isn't anymore. The Attr static class now provides
  OR-able constants to assign to Window.Attributes. .Char.Attrs, however,
  remains a virtual object to manage attributes on a per character basis
* NEW: Provide Window.Pair to set the colour pair for all *subsequent*
  writes, as opposed to Foreground and Background which set the colours
  of all that is and will be

[EXAMPLES]
* NEW: Pong: Use gb.ncurses improvements



git-svn-id: svn://localhost/gambas/trunk@5625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-30 10:57:44 +00:00
Benoît Minisini
b913263661 [GB.FORM]
* BUG: Fix compilation.


git-svn-id: svn://localhost/gambas/trunk@5624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 22:46:05 +00:00
Benoît Minisini
a7855016ca [DEVELOPMENT ENVIRONMENT]
* NEW: "Compress all" and "Uncompress all" action on project sub-
  directories.
* BUG: Do not crash when checking for completion in text editor.

[INTERPRETER]
* BUG: Void string contants work correctly now.

[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
  32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.

[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
  account inside <style> and <script> markups.

[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
  links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.

[GB.FORM.STOCK]
* NEW: Default icons for some mime types.

[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size 
  anymore.

[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a 
  RichText property.

[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
  current webpage with the <<...>> markup.



git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 21:27:11 +00:00
Adrien Prokopowicz
4321262fc5 [GB.XML]
* BUG: The XmlNode.Serialize() method does not crashes anymore if a null
  string is given.

git-svn-id: svn://localhost/gambas/trunk@5622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-27 19:21:28 +00:00