Commit graph

3458 commits

Author SHA1 Message Date
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
Sebastian Kulesz
800aab9f1b [EXAMPLES]
* NEW: Refactor the counter example. The code is much easier to understand.


git-svn-id: svn://localhost/gambas/trunk@5320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 20:55:53 +00:00
Sebastian Kulesz
a492e8d49e [EXAMPLES]
* BUG: Fix crash because of missing stock image.


git-svn-id: svn://localhost/gambas/trunk@5319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 20:16:38 +00:00
Benoît Minisini
75c60806e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Can deal with void information files again.


git-svn-id: svn://localhost/gambas/trunk@5318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 17:40:42 +00:00
Benoît Minisini
564c5bfb27 [GB.GUI.BASE]
* BUG: GridView now raises its Click event correctly, and so calling the
  TableView Edit() method during that event works correctly again.


git-svn-id: svn://localhost/gambas/trunk@5317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 12:15:25 +00:00
Benoît Minisini
8a9c379c70 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the main toolbar through the ToolBar Configure 
  event.

[WIKI CGI SCRIPT]
* BUG: Fix synonymous pages (those whose title begins with '~/').

[GB.GUI.BASE]
* BUG: TreeView: Fix a crash when refreshing a sorted TreeView.


git-svn-id: svn://localhost/gambas/trunk@5316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 11:00:20 +00:00
Benoît Minisini
c8131956b2 [GB.QT4]
* BUG: Compilation with new gcc should be fixed.


git-svn-id: svn://localhost/gambas/trunk@5315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-11 19:46:17 +00:00
Benoît Minisini
0282ac072f [COMPILER]
* BUG: Fix comments parser.


git-svn-id: svn://localhost/gambas/trunk@5314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 12:21:44 +00:00
Benoît Minisini
1dc8368e3f [GB.QT4]
* BUG: Paint.DrawRichText() now takes the color opacity into account.


git-svn-id: svn://localhost/gambas/trunk@5313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 01:53:20 +00:00