Commit graph

3916 commits

Author SHA1 Message Date
Benoît Minisini
063cf446e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Subversion support now correctly handles project directories that
  have symbolic links in it.

[EXAMPLES]
* BUG: Fractal: commit a missing new file.

[WIKI CGI SCRIPT]
* BUG: Fix an english mistake without altering the translations.


git-svn-id: svn://localhost/gambas/trunk@5688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-31 13:22:26 +00:00
Benoît Minisini
45c481c1b4 [EXAMPLES]
* NEW: The Fractal example now uses eight background tasks to draw the 
  fractal.

[GB.IMAGE]
* NEW: Image.Pixels is a new property that allows to return the image 
  pixels as an integer array, and to set the image pixels from an integer
  array.


git-svn-id: svn://localhost/gambas/trunk@5687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-30 21:16:09 +00:00
Benoît Minisini
21f0837572 [INTERPRETER]
* BUG: Correctly handle functions with a variable number of arguments when
  an array conversion occurs during argument parsing.
* BUG: The debugger now correctly displays and modifies arguments of 
  functions having a variable number of arguments.

[GB.DEBUG]
* BUG: The debugger now correctly displays and modifies arguments of 
  functions having a variable number of arguments.


git-svn-id: svn://localhost/gambas/trunk@5686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-30 01:10:59 +00:00
Benoît Minisini
dce61b765b [GB.DB.ODBC]
* NEW: Retrieve row count just after running the query.


git-svn-id: svn://localhost/gambas/trunk@5685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 23:17:32 +00:00
Benoît Minisini
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
Benoît Minisini
1601ba5519 [DEVELOPMENT ENVIRONMENT]
* BUG: If the master of the form editor selection is removed, select a new
  master in the renaming selection if possible. Otherwise, the selection is
  not in a coherent state, which makes undo/redo crash.


git-svn-id: svn://localhost/gambas/trunk@5683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-27 08:16:30 +00:00
Benoît Minisini
9684c17a96 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Undo/Redo of newly created controls having a Text property.


git-svn-id: svn://localhost/gambas/trunk@5682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 11:40:25 +00:00
Benoît Minisini
08a1345950 [INTERPRETER]
* BUG: Prevent Application_Error from being called recursively.


git-svn-id: svn://localhost/gambas/trunk@5681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 11:18:55 +00:00
Tobias Boege
8fbbf67c59 [CONFIGURATION]
* BUG: Revert rev#5679 as it was unneeded.



git-svn-id: svn://localhost/gambas/trunk@5680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 10:20:25 +00:00
Tobias Boege
0bb521e279 [CONFIGURATION]
* BUG: Make {gba,gbc,gbi,gbx}.c depend on trunk_version.h so that they are
  rebuilt when it changes in order to always show the correct version.



git-svn-id: svn://localhost/gambas/trunk@5679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-26 09:14:51 +00:00
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