Commit graph

3616 commits

Author SHA1 Message Date
Tobias Boege
285cf7a578 [GB.DATA]
* BUG: Fix division by zero when read/write pointer is set on 0-length
  Circular (useless but legal).



git-svn-id: svn://localhost/gambas/trunk@5375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 19:09:21 +00:00
Fabien Bodard
3aa8ced520 [GB.MAP]
* BUG: Truely rename LatLon into MapPoint


git-svn-id: svn://localhost/gambas/trunk@5374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 18:27:14 +00:00
Fabien Bodard
cfd1b9641c [GB.MAP]
* OPT: More optimizations


git-svn-id: svn://localhost/gambas/trunk@5373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:45:30 +00:00
Fabien Bodard
ee118e95f5 [EXAMPLES]
* BUG: Make change on the map example to take new gb.map API into account


git-svn-id: svn://localhost/gambas/trunk@5372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:38:57 +00:00
Fabien Bodard
2902e63546 [GB.MAP]
* OPT: Rename MTile in Geo


git-svn-id: svn://localhost/gambas/trunk@5371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:32:51 +00:00
Fabien Bodard
18fb03e718 [GB.MAP]
* BUG: Export MTiles


git-svn-id: svn://localhost/gambas/trunk@5370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:28:42 +00:00
Fabien Bodard
04367baefa [GB.MAP]
* OPT: Remove Unneeded modules


git-svn-id: svn://localhost/gambas/trunk@5369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 17:26:47 +00:00
Fabien Bodard
65065c6a26 [GB.MAP]
* New: The tiles are loaded from the center to the outside
* New: A new Module centralise the projections transformations.
* New: LatLon is now renamed MapPoint.
* OPT: The classes FRect and FPoint have been removed. Now PointF and RectF
  standart draw types are used(and as well Point and rect)



git-svn-id: svn://localhost/gambas/trunk@5368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 16:31:47 +00:00
Laurent Carlier
0f42c71746 [GB.OPENGL.GLU]
* BUG: Fix typos in Glu.Project and associated methods.


git-svn-id: svn://localhost/gambas/trunk@5367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 10:46:15 +00:00
Benoît Minisini
7af5ee2344 [GB.DRAW]
* NEW: Paint.BrushOrigin is a new property that allows to define the origin 
  of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.

[GB.GTK]
* NEW: Support for the new Paint methods.

[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
  That class aims at replacing the current Draw class. As it will be based 
  on the Paint class, it will be able to act on Image and Printer, making
  the old Gambas 2 printing code works with Gambas 3 directly.

[GB.QT4]
* NEW: Support for the new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 01:39:49 +00:00
Fabien Bodard
9de93d510e git-svn-id: svn://localhost/gambas/trunk@5364 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2012-11-24 23:26:59 +00:00
Benoît Minisini
1d7db62a60 [GB.DRAW]
* BUG: Guess what: fix compilation of gb.draw (IV).


git-svn-id: svn://localhost/gambas/trunk@5363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 22:39:13 +00:00
Benoît Minisini
46880072e4 [GB.DRAW]
* BUG: Fix compilation of gb.draw (third episode).


git-svn-id: svn://localhost/gambas/trunk@5362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 22:26:07 +00:00
Benoît Minisini
221c207082 [GB.DRAW]
* BUG: Fix compilation of gb.draw (again!).


git-svn-id: svn://localhost/gambas/trunk@5361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 22:20:39 +00:00
Benoît Minisini
a02623b6eb [GB.DRAW]
* BUG: Fix compilation of gb.draw.


git-svn-id: svn://localhost/gambas/trunk@5360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 21:41:28 +00:00
Benoît Minisini
e51fc2d951 [INTERPRETER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.
* NEW: Timer: The Trigger method now does nothing if there is an already
  pending trigger. This behaviour is not backward-compatible, so it may be
  removed if problems arise.

[COMPILER]
* NEW: The RAISE instruction now can raise events defined in a parent 
  class.

[GB.DRAW]
* NEW: Implement standard operators in Point and PointF classes.
* NEW: Automatic conversion between Point and PointF.
* NEW: 'CDraw.c' and 'CDraw.h' source files have been renamed as 'cdraw.c' 
  and 'cdraw.h'.
* NEW: Rect.Center() and RectF.Center() are two new methods that return the 
  center of the rectangle.

[GB.FORM]
* NEW: FileChooser: tar archives now can be uncompressed. 


git-svn-id: svn://localhost/gambas/trunk@5359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:52:11 +00:00
Fabien Bodard
f1e9becd90 [GB.MAP]
* BUG: Remove files that have defect


git-svn-id: svn://localhost/gambas/trunk@5358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:36:52 +00:00
Fabien Bodard
14e7854100 [GB.MAP]
* OPT: Make map loading more faster. Use multiple httpclient (2 by default)



git-svn-id: svn://localhost/gambas/trunk@5357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 18:22:18 +00:00
Fabien Bodard
f675ee75fc [GB.MAP]
* BUG: Don't try to download negative tiles
* BUG: Dont try to load image not finished



git-svn-id: svn://localhost/gambas/trunk@5356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 16:52:23 +00:00
Laurent Carlier
cfc4f1242b [GB.OPENGL.GLU]
* NEW: Add Glu.Project, Glu.UnProject and Glu.UnProject4 methods.

These methods are returning a Float array as the result. This Float[]
can be NULL in case of failure or if the Arrays passed as parameter are
not of the proper size; Modelview and Projection are 16 values Arrays,
Viewport is a 4 values Array.
 


git-svn-id: svn://localhost/gambas/trunk@5355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 11:02:51 +00:00
Benoît Minisini
225c6e0b40 [DEVELOPMENT ENVIRONMENT]
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
  already installed.
* NEW: Update the Gambas fonts.

[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
  argument pattern (%u, %f, and so on) in its command description.

[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer 
  coordinates.
* NEW: Add a PointF class, that is just a point with two Float
  coordinates.

[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
  anymore.
* BUG: Fix previous TreeView optimizations.

[GB.MAP]
* BUG: Rename the "map" class as "Map".


git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 01:16:40 +00:00
Benoît Minisini
5bdcf019af [GB.MAP]
* BUG: Remove .settings file from subversion.


git-svn-id: svn://localhost/gambas/trunk@5353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-23 13:18:10 +00:00
Fabien Bodard
43f6307eba [GB.MAP]
* Bug: Remove occurence to CShape



git-svn-id: svn://localhost/gambas/trunk@5352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-23 13:13:51 +00:00
Fabien Bodard
73e7a56b4e [GB.MAP]
* New: Remove uneeded files


git-svn-id: svn://localhost/gambas/trunk@5351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 19:31:17 +00:00
Fabien Bodard
4d72da03f3 [EXAMPLES]
* New: Add an icon to the map example


git-svn-id: svn://localhost/gambas/trunk@5350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 17:34:11 +00:00
Fabien Bodard
af1f967243 [GB.MAP]
* BUG: Unactivate Proj classe


git-svn-id: svn://localhost/gambas/trunk@5349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 16:54:27 +00:00
Fabien Bodard
855911aa57 [GB.MAP]
* New: First commit for this new component that allow to display tiled maps.

[EXAMPLES]
* New: A new example on how to use gb.map component.



git-svn-id: svn://localhost/gambas/trunk@5348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 16:29:03 +00:00
Adrien Prokopowicz
7b1043df8b [GB.XML]
* BUG: Fix compilation problem when disabling GCC optimizations.

git-svn-id: svn://localhost/gambas/trunk@5347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-22 11:40:57 +00:00
Benoît Minisini
9a79fbede4 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a smaller font for help viewer embeeded in automatic completion
  or signature popups.
* NEW: Revamp the option dialog.
* NEW: Add an option to install the Gambas font to the user font folder
  (~/.fonts). That font is a custom version of the Terminus 6x12 bitmap 
  font, with a bold version and more unicode characters.

[GB.GUI.BASE]
* OPT: Start optimizing the TreeView.Add() method which is too slow if a 
  single item has many children.


git-svn-id: svn://localhost/gambas/trunk@5346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-21 00:20:00 +00:00
François Gallo
398297db44 [CONFIGURATION]
* NEW: Support for checking OS-specific extension of the library.


git-svn-id: svn://localhost/gambas/trunk@5345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 23:57:38 +00:00
François Gallo
1caf88fa30 [GB.XML]
* NEW: now available on OS X.


git-svn-id: svn://localhost/gambas/trunk@5344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 23:16:29 +00:00
Benoît Minisini
8b73da0e5f [DEVELOPMENT ENVIRONMENT]
* NEW: In the CSV import dialog: When the import is finished, display the
  message tab and disable the "Import" button so that you don't click on it
  again unexpectedly. The button is enabled again when clicking on the
  first tab.

[GB.GUI.BASE]
* BUG: GridView: Using selection methods now takes the "Single" selection 
  mode into account and refresh the view as expected.


git-svn-id: svn://localhost/gambas/trunk@5343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 10:23:27 +00:00
Benoît Minisini
aa2de9e3a4 [GB.DB.SQLITE3]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:55:53 +00:00
Benoît Minisini
0b1fa69512 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little changes in the welcome dialog.


git-svn-id: svn://localhost/gambas/trunk@5341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:46:14 +00:00
Benoît Minisini
a7c3939e3d [DEVELOPMENT ENVIRONMENT]
* BUG: Be sure that the welcome dialog filter has the focus.

[WEBSITE MAKER]
* NEW: Update for 3.3.4.

[GB.DB]
* BUG: A failing table or user add does not leak memory anymore.
* BUG: Fix the removal method of the .SubCollection virtual class.

[GB.DB.SQLITE3]
* BUG: Detect serial fields correctly now.

[GB.QT4]
* BUG: Enusre that embedded windows emit their Open event before any Move, 
  Resize events...


git-svn-id: svn://localhost/gambas/trunk@5340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:37:26 +00:00
Benoît Minisini
c8e08d651d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the documentation pages of libraries and current project.
* NEW: Generate a documentation page for components and libraries.


git-svn-id: svn://localhost/gambas/trunk@5338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-19 00:38:24 +00:00
Benoît Minisini
f7992f248d [COMPILER]
* BUG: Don't declare virtual classes now present in the *.list files.

[INFORMER]
* BUG: Put virtual classes in *.list files so that the IDE is aware of 
  their existence.


git-svn-id: svn://localhost/gambas/trunk@5336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 20:07:31 +00:00
Benoît Minisini
7bc49b6e9f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an infinite loop when choosing a fixed font for the search list
  after the default font has been changed from the option dialog.

[GB.GTK]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.

[GB.QT4]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.
* BUG: The menubar height is now correctly updated after a font change.


git-svn-id: svn://localhost/gambas/trunk@5333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 16:59:46 +00:00
Benoît Minisini
c0023665f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Integrate the welcome dialog into the main window.

[GB.GUI.BASE]
* BUG: GridView: Resizing a column or a row does not trigger the MouseDrag 
  event anymore.


git-svn-id: svn://localhost/gambas/trunk@5332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-17 16:46:33 +00:00
Benoît Minisini
debb55f1e6 [DEVELOPMENT ENVIRONMENT]
* NEW: Apply the default font and the console font to the help browsers.


git-svn-id: svn://localhost/gambas/trunk@5331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-16 23:56:12 +00:00
Matti
46fcf13856 [NEW]
Update of German translation



git-svn-id: svn://localhost/gambas/trunk@5330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 20:35:54 +00:00
Sebastian Kulesz
4c4d6d2699 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix read-only project detection algorithm. They
  are no longer warned to be opened.


git-svn-id: svn://localhost/gambas/trunk@5329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 04:57:15 +00:00
Benoît Minisini
b1d5cc196d [GB.GTK]
* BUG: Fix management of multiple modal dialogs and popups.


git-svn-id: svn://localhost/gambas/trunk@5328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-15 01:23:18 +00:00
Benoît Minisini
1b1eae9642 [GB.GUI.BASE]
* BUG: GridView: Revert a stupid change in row height layout.


git-svn-id: svn://localhost/gambas/trunk@5327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:43:06 +00:00
Benoît Minisini
723fca96d0 [INTERPRETER]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.DB]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.

[GB.FORM]
* BUG: TabPanel: Fix the algorithm ensuring that the current tab is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@5326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-14 22:24:15 +00:00
Sebastian Kulesz
d5d75da161 [CONFIGURATION]
* BUG: Fix syntax error introduced in last commit.



git-svn-id: svn://localhost/gambas/trunk@5325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 22:44:20 +00:00
Benoît Minisini
0b638bb046 [CONFIGURATION]
* NEW: Remove the possible gambas part before installing a component.


git-svn-id: svn://localhost/gambas/trunk@5324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 10:26:42 +00:00
Adrien Prokopowicz
d31bbd73dd [GB.XML]
* BUG: The reader Node class now returns null node name, value and attributes if the current state is EndElement.

git-svn-id: svn://localhost/gambas/trunk@5323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 09:26:33 +00:00
Benoît Minisini
13817216c4 [GB.GTK]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.

[GB.QT4]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.


git-svn-id: svn://localhost/gambas/trunk@5322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 00:43:52 +00:00
Sebastian Kulesz
3e8e1b8398 [EXAMPLES]
* OPT: Updated the Object example for better understanding.


git-svn-id: svn://localhost/gambas/trunk@5321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 23:55:24 +00:00