Commit graph

3674 commits

Author SHA1 Message Date
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
Adrien Prokopowicz
5e94fa80a4 [GB.XML]
* BUG: The XmlNode.Serialize method does not crash anymore if nothing has
  been serialized.
* BUG: The XmlNode.Serialize method now correctly handles the &quot; (") 
  serialization.

git-svn-id: svn://localhost/gambas/trunk@5621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-27 13:08:27 +00:00
Adrien Prokopowicz
cf484e4042 [GB.XML.RPC]
* BUG: The XmlRPCClient.Method property's return value is now coherent.

git-svn-id: svn://localhost/gambas/trunk@5620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-23 07:42:24 +00:00
Bruce Bruen
1666b0a477 [DEVELOPMENT ENVIRONMENT]
* NEW: Added "lxterminal" to the list of xterminal options

git-svn-id: svn://localhost/gambas/trunk@5619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-13 02:34:03 +00:00
Benoît Minisini
42b3212cf1 [GB.XML.RPC]
* BUG: The component should compile correctly again.


git-svn-id: svn://localhost/gambas/trunk@5618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-10 22:33:01 +00:00
Benoît Minisini
8f054e7655 [DEVELOPMENT ENVIRONMENT]
* NEW: Allow a component to have a requirement on the XML implementation 
  feature (i.e. 'gb.xml' or 'gb.libxml').


git-svn-id: svn://localhost/gambas/trunk@5617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-10 11:07:38 +00:00
Benoît Minisini
9d5fbfa84d [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly raise an error when opening a void form file.


git-svn-id: svn://localhost/gambas/trunk@5616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:41:13 +00:00
Benoît Minisini
03f1b78370 [GB.QT4]
* BUG: Sunken and raised borders are now drawn correctly with styles like 
  CleanLooks that incorrectly take the current painter brush into account.


git-svn-id: svn://localhost/gambas/trunk@5615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:39:24 +00:00
Benoît Minisini
80e53c8dbd [INTERPRETER]
* BUG: Fix a memory leak when trying to run a non-existant program with 
  EXEC or SHELL.


git-svn-id: svn://localhost/gambas/trunk@5614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:21:48 +00:00
Benoît Minisini
0e7ca733b8 [GB.DESKTOP]
* BUG: Desktop.SendMail() does not quote the "-" character in e-mail 
  addresses anymore.


git-svn-id: svn://localhost/gambas/trunk@5613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 13:21:29 +00:00
Benoît Minisini
8b6c4b72f8 [GB.QT4]
* BUG: ShowModal() now honors the initial window state (full screen, 
  maximized...)


git-svn-id: svn://localhost/gambas/trunk@5612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 12:34:59 +00:00
Benoît Minisini
cb37409e50 [GB.GTK]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.

[GB.QT4]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.


git-svn-id: svn://localhost/gambas/trunk@5608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-02 21:37:59 +00:00
Benoît Minisini
d11346ef5b [DEVELOPMENT ENVIRONMENT]
* NEW: Display a warning at project loading when some libraries are missing.
* BUG: Prevent from selecting two different libraries with the same name.

[GB.JIT]
* BUG: Fix compilation error.


git-svn-id: svn://localhost/gambas/trunk@5607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-01 10:35:25 +00:00
Benoît Minisini
f3bfb12e5b [GB.FORM]
* NEW: Add text fields to enter the time in the calendar popup. Add an 
  apply button too.


git-svn-id: svn://localhost/gambas/trunk@5606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 19:19:42 +00:00
François Gallo
dbaa1cf059 [GB.GSL]
* BUG: fix duplicate symbols issues when compiling on OSX.


git-svn-id: svn://localhost/gambas/trunk@5605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 06:28:32 +00:00
Benoît Minisini
9cda9ad176 [ARCHIVER]
* BUG: The previous fix was incorrect. We can now really create an 
  executable when the project directory and the target directory are not on 
  the same device.


git-svn-id: svn://localhost/gambas/trunk@5604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 06:24:30 +00:00
Benoît Minisini
9f1286f161 [ARCHIVER]
* BUG: Be able to create the executable file if /tmp and the target 
  directory are not on the same device.


git-svn-id: svn://localhost/gambas/trunk@5603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 05:51:47 +00:00
Benoît Minisini
b3640ae064 [DEVELOPMENT ENVIRONMENT]
* NEW: The 'Project -> Refresh' menu entry now reloads the symbol 
  information of all components and libraries used by the project.


git-svn-id: svn://localhost/gambas/trunk@5602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-31 02:01:17 +00:00
Benoît Minisini
165be4a66a [INTERPRETER]
* NEW: Clean up object referencement macros.


git-svn-id: svn://localhost/gambas/trunk@5601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-30 13:51:10 +00:00
Benoît Minisini
2231d3f2e6 [INTERPRETER]
* BUG: Correctly free things then something bad happens while starting a 
  child process.


git-svn-id: svn://localhost/gambas/trunk@5600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-30 12:15:18 +00:00
Benoît Minisini
ca7856bf80 [INTERPRETER]
* NEW: Clean up allocation macros.

{GB.EVAL.HIGHLIGHT]
* NEW: Add 'transition' to the CSS keywords.


git-svn-id: svn://localhost/gambas/trunk@5599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-29 23:33:01 +00:00
Benoît Minisini
f765913b0b [GB.OPENGL.SGE]
* BUG: Remove 'aclocal.m4' file from repository, as it is a generated file.


git-svn-id: svn://localhost/gambas/trunk@5598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-28 21:34:27 +00:00
Benoît Minisini
31a185f7e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Add translations for details of the E_CHILD error message.

[INTERPRETER]
* NEW: If the program name of EXEC is an absolute path, immediately raise 
  an error if it does not exist.


git-svn-id: svn://localhost/gambas/trunk@5597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-28 21:33:19 +00:00
Benoît Minisini
0c43f12fb8 [GB.OPENGL.SGE]
* BUG: Remove generated files that must not go into the repository.


git-svn-id: svn://localhost/gambas/trunk@5596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-27 09:01:10 +00:00
Tomek
e4f4e63ca4 [GB.OPENGL]
* NEW Added some new constants

[EXAMPLES]
*OPT Minor update to Md2Model Example



git-svn-id: svn://localhost/gambas/trunk@5595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 15:00:24 +00:00
Adrien Prokopowicz
4f29df851f [GB.XML.HTML]
* BUG: Does not crash anymore if the id or class properties does not exist when reading them.

git-svn-id: svn://localhost/gambas/trunk@5594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 14:25:18 +00:00