Commit graph

3706 commits

Author SHA1 Message Date
Benoît Minisini
daaf410362 [DEVELOPMENT ENVIRONMENT]
* NEW: If the IDE throws an uncatched error, try to save all modified files
  before aborting.

[INTERPRETER]
* NEW: If a static public method named Application_Error() is defined in 
  the startup class, then this method will be called when an unhandled 
  error is thrown, just before the program is aborted.


git-svn-id: svn://localhost/gambas/trunk@5678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 14:00:40 +00:00
Benoît Minisini
47d9021e13 [CONFIGURATION]
* BUG: Forgot to make the 'trunk_version.h' rule phony.


git-svn-id: svn://localhost/gambas/trunk@5677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 13:30:06 +00:00
Benoît Minisini
26a85ce106 [CONFIGURATION]
* NEW: The trunk version is now generated at compilation time through 
  custom rules and a generated include in the Makefile.am file.

[EXAMPLES]
* NEW: Use the new HttpClient Progress event and its properties in the 
  HttpGet networking example.


git-svn-id: svn://localhost/gambas/trunk@5676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-25 13:23:39 +00:00
Benoît Minisini
4e5099500a [GB.NET.CURL]
* NEW: HttpClient Progress event is raised now.
* BUG: FtpClient and HttpClient Progress event work as expected now.


git-svn-id: svn://localhost/gambas/trunk@5675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-24 22:23:22 +00:00
Benoît Minisini
1da147d6e5 [CONFIGURATION]
* NEW: The trunk version is now put in the 'config.h' file of the /main 
  source directory. No compilation flag is used anymore.
* NEW: All Gambad executables return the trunk revision number when they 
  are called with the '-V' option.

[GB.WEB]
* BUG: The Request.Fields property now can be read without reading the 
  value of a request field first.


git-svn-id: svn://localhost/gambas/trunk@5674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 23:03:48 +00:00
Tobias Boege
947c357489 [CONFIGURATION]
* BUG: Execute the svn command for TRUNK_VERSION within the C locale to
  avoid surprises when grepping the output.



git-svn-id: svn://localhost/gambas/trunk@5673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 17:33:17 +00:00
Tobias Boege
2217b3d6f0 [CONFIGURATION]
* BUG: Define the TRUNK_VERSION macro in gbx's Makefile.am which is less
  error-prone and other parts of the build process won't use it anyway.
  automake thinks that the $(shell ...) call shall a variable and warns but
  that can safely be ignored I think.



git-svn-id: svn://localhost/gambas/trunk@5672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-22 14:29:01 +00:00
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