Commit graph

2465 commits

Author SHA1 Message Date
Benoît Minisini
6ce1641661 [INTERPRETER]
* BUG: Try to fix Float to String conversion with a simpler routine.


git-svn-id: svn://localhost/gambas/trunk@4362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 01:28:10 +00:00
Benoît Minisini
546bc7a4f4 [INTERPRETER]
* BUG: Calling native methods on an anonymous reference now correctly casts 
  the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.

[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints 
  are not overrided.

[GB.SETTINGS]
* BUG: Fix the use of Array class.


git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 21:47:41 +00:00
Benoît Minisini
717ab7fe77 [INTERPRETER]
* BUG: Fix _get, _next and Pop methods in the Array class.


git-svn-id: svn://localhost/gambas/trunk@4360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 17:00:57 +00:00
Jordi Sayol
cefa00a553 [EXAMPLES]
* NEW: Updated Catalan translations.



git-svn-id: svn://localhost/gambas/trunk@4359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 15:04:53 +00:00
Jordi Sayol
f08332c8f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[GB.DB.FORM.MDI]
* NEW: Updated Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 13:41:51 +00:00
Benoît Minisini
55c0a89389 [GB.DESKTOP]
* NEW: Desktop.Open() now interprets "~" as the home directory.


git-svn-id: svn://localhost/gambas/trunk@4357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 09:14:38 +00:00
Benoît Minisini
023f457a34 [GB.FORM]
* BUG: The DirView root picture is correctly initialized.

[GB.GTK]
* BUG: Really find a workaround for an oxygen-gtk bug^W feature on TreeView 
  controls.


git-svn-id: svn://localhost/gambas/trunk@4356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 00:51:50 +00:00
Fabien Bodard
78432a726f [GB.REPORT]
* OPT: some cleanup and adding the index to the current layout objet 
  in Horizontal, column, full, and none arrangement


git-svn-id: svn://localhost/gambas/trunk@4355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:42:57 +00:00
Fabien Bodard
294f7c00cf [GB.REPORT]
* BUG: Fix a bug on the fixed elements calculation (int/float again)
* BUG: Allow really the multiple recurtions of containers.
  Take into account the current repeat state


git-svn-id: svn://localhost/gambas/trunk@4354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:28:45 +00:00
Benoît Minisini
0c32986d4a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet error message position.

[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
  way it draws nicely with gb.gtk, that does not have transparent controls 
  yet.
* BUG: Fix a crash when decreasing the Count property.

[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
  the border of TreeView controls without being asked.


git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:11:53 +00:00
Fabien Bodard
2b13de7a60 [GB.REPORT]
* BUG: Make the report refresh really reset all values and clear 
  all computed pages


git-svn-id: svn://localhost/gambas/trunk@4352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 21:58:31 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
e89dce6d93 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the "get version from program" feature, that was a big 
  security risk!
* NEW: Add a "get version from file" option, that automatically gets the
  version from a file named "VERSION" that must be located in a parent
  directory.


git-svn-id: svn://localhost/gambas/trunk@4349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 17:45:53 +00:00
Benoît Minisini
03caf23353 [DEVELOPMENT ENVIRONMENT]
* NEW: Database properties now can be editer even if there is no connection
  property defined in the form.

[GB.FORM]
* BUG: TabPanel now should not crash if there is no tab visible.
* BUG: The first visible TabPanel button is now drawn correctly if its 
  index is not zero.


git-svn-id: svn://localhost/gambas/trunk@4348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 16:12:18 +00:00
Benoît Minisini
cccbbc1d5f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when changing the Count value of a MultiContainer 
  control.


git-svn-id: svn://localhost/gambas/trunk@4347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 15:25:19 +00:00
Fabien Bodard
27de98a239 [GB.REPORT]
* NEW: Property OnePiece that tell the container to change page if it is more taller
  than the remaining space


git-svn-id: svn://localhost/gambas/trunk@4346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 14:13:46 +00:00
Fabien Bodard
be9279d61b [GB.REPORT]
* BUG: Correct a shame bug that block all reports


git-svn-id: svn://localhost/gambas/trunk@4345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 10:48:42 +00:00
Benoît Minisini
bee6e69ad1 [DEVELOPMENT ENVIRONMENT]
* NEW: A button to show or hide the system tables in the database editor.
* BUG: Copying button is enabled now in the SQL editor.
* NEW: SQL highlighting.

[GB.EVAL.HIGHLIGHT]
* NEW: SQL highlighting routine.

[GB.FORM]
* BUG: Fix an arrangement bug in TabPanel.

[GB.QT4.EXT]
* NEW: Editor.HighlightCurrent flag has been renamed HighlightImmediately.
* BUG: Braces are now highlighted even if they are not on the same line.
* NEW: Editor.HideMargin is a new flag to hide the editor left margin.


git-svn-id: svn://localhost/gambas/trunk@4344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 03:04:46 +00:00
Benoît Minisini
6bf2367881 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix connection renaming.
* BUG: Fix report border dialog synchronisation detection.

[GB.FORM]
* BUG: Fix TabPanel layout when adding a new tab.
* BUG: Remove the useless _TabPanelContainer.Container property.


git-svn-id: svn://localhost/gambas/trunk@4343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 17:20:01 +00:00
Benoît Minisini
e8f2747c1a [DEVELOPMENT ENVIRONMENT]
* BUG: The "Browse again" button in the search list now does nothing if 
  there is no search string defined.

[INTERPRETER]
* NEW: Object[].FindByRef and Object[].ExistByRef are two new methods that
  do not take the _compare special method into account. They compare 
  objects by reference only.

[GB.DB.FORM]
* NEW: DataBrowser.Border is a new property to define if a border should be
  displayed or not.
* BUG: Fix DataBrowser layout for all orientations.

[GB.DB.MYSQL]
* BUG: Try to make connection timeout work as expected, without success.
  It seems sticked to be at least one minute. :-(

[GB.FORM]
* BUG: IconView now behaves correctly when an item has no text. It uses there
  new array methods that search items by reference only.
* NEW: TabPanel.Highlight is a new property that highlight the current 
  selected tab button.
* NEW: TabPanel.Closable is a new property that works exactly like 
  TabStrip.Closable.
* BUG: TabPanel.Remove() now works correctly.
* NEW: ScrollArea is more clever with mouse wheel events.

[GB.FORM.MDI]
* NEW: Workspace now uses a TabPanel instead of a TabStrip.


git-svn-id: svn://localhost/gambas/trunk@4342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 13:39:23 +00:00
Benoît Minisini
fe9e189de6 [GB.DB.POSTGRESQL]
* BUG: Fix bad schema request (see issue #168).


git-svn-id: svn://localhost/gambas/trunk@4341 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 03:57:59 +00:00
Benoît Minisini
c6ba3dac6b [CONFIGURATION]
* NEW: Switch to 3.0 version.

[DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes.


git-svn-id: svn://localhost/gambas/trunk@4340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:54:12 +00:00
Benoît Minisini
4a54ecbc8e [GB.QT4]
* BUG: Cached DrawingArea Background color now works correctly.

[GB.GTK]
* BUG: Cached DrawingArea Background color now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:09:08 +00:00
Benoît Minisini
5e93a00359 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes based on TabPanel.

[GB.DBUS]
* BUG: Do not use ffprinf(), it is useless.

[GB.FORM]
* BUG: Fix borderless TabPanel.
* NEW: TabPanel tabs now have a Visible property.
* BUG: The SidePanel separator is now visible in all orientations.

[GB.FORM.DIALOG]
* BUG: Dialog.OpenFile() does not return anymore when no file is selected.

[GB.QT4]
* BUG: Separator now really uses the Color.LightBackground color.


git-svn-id: svn://localhost/gambas/trunk@4338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 22:52:25 +00:00
Benoît Minisini
e8d70a02da [GB.GTK]
* BUG: Settings the width and height of a top-level window indepently now
  works as expected.


git-svn-id: svn://localhost/gambas/trunk@4337 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 16:10:00 +00:00
Benoît Minisini
abb1427a34 [GB.QT4]
* BUG: Fix cached DrawingArea resizing.


git-svn-id: svn://localhost/gambas/trunk@4336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 12:59:17 +00:00
Fabien Bodard
4d989e16b4 [GB.REPORT]
* OPT: Allow recursive containers call


git-svn-id: svn://localhost/gambas/trunk@4335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 10:54:58 +00:00
Radek Fryšták
0d92a0d5d3 [WEB SITE MAKER]
* NEW: Update Czech translation.

[WIKI CGI SCRIPT]
* NEW: Update Czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation.

[GB.FORM.MDI]
* NEW: Update in Czech translation.

[GB.REPORT]
* NEW: Update in Czech translation.

[GB.FORM]
* NEW: Update in Czech translation.

[GB.DB.FORM]
* NEW: Update in Czech translation.

[EXAMPLES]
* NEW: Revision Czech translations for all examples.


git-svn-id: svn://localhost/gambas/trunk@4334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 21:14:27 +00:00
Benoît Minisini
9bdd2299c0 [GB.FORM]
* NEW: Wizard title look changed.
* NEW: Wizard.TextFont is a new property to define the font of the wizard 
  titles.


git-svn-id: svn://localhost/gambas/trunk@4332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:24:44 +00:00
Benoît Minisini
7f7af4efd4 [GB.FORM]
* BUG: Fix initial TabPanel layout.


git-svn-id: svn://localhost/gambas/trunk@4331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:08:33 +00:00
Benoît Minisini
d5abb74136 [CONFIGURATION]
* NEW: Switch to version 2.99.7.


git-svn-id: svn://localhost/gambas/trunk@4330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 14:03:35 +00:00
Benoît Minisini
079cd4428e [GB.FORM]
* BUG: TabPanel now can deal with tab buttons larger than the available 
  width.
* NEW: TabPanel.Remove() and TabPanel.Current were implemented.


git-svn-id: svn://localhost/gambas/trunk@4329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 13:50:29 +00:00
Fabien Bodard
80c7413099 [GB.REPORT]
* BUG: Really resolve the problem of cutted row at the bottom of the page


git-svn-id: svn://localhost/gambas/trunk@4328 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 12:23:32 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Fabien Bodard
43ba7d5c9e [GB.REPORT]
* OPT: restore DataIndex Property


git-svn-id: svn://localhost/gambas/trunk@4326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 00:04:47 +00:00
Fabien Bodard
c1792610b7 [GB.REPORT]
* NEW: _Data event now have a parameter Index. The DataIndex 
  propety have been removed
* BUG: Correction on the clip size


git-svn-id: svn://localhost/gambas/trunk@4325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 23:47:12 +00:00
Benoît Minisini
32fb67e8e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* NEW: Handle synchronize button for round corners in the ReportBorder 
  chooser dialog.
* BUG: Fix the round rectangle drawing function.

[GB.REPORT]
* NEW: Use space instead of slash as separator inside ReportBorder property 
  values.
* BUG: Fix the round rectangle drawing function.


git-svn-id: svn://localhost/gambas/trunk@4324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 22:09:45 +00:00
Benoît Minisini
5076ca88cb [GB.DBUS]
* NEW: DbusConnection.Register third argument now can take a list of 
  interfaces. A method or a property will be associated with one of these 
  interfaces only if its name begin with the interface name (points being
  replaced by underscores).


git-svn-id: svn://localhost/gambas/trunk@4323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 19:51:25 +00:00
Benoît Minisini
60ccd64a51 [DEVELOPMENT ENVIRONMENT]
* BUG: Use editor colors to display editor tooltip or errors, so that they
  are always visible.

[GB.FORM]
* NEW: Some design changes in the FileChooser and DirChooser controls
* BUG: IconView.Clear correctly resets the inner view dimension.


git-svn-id: svn://localhost/gambas/trunk@4322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 01:36:14 +00:00
Benoît Minisini
9bd14086dd [GB.QT4]
* BUG: Don't raise the Draw event when calling the Refresh method on a 
  cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 01:05:51 +00:00
Benoît Minisini
2819ca8122 [DEVELOPMENT ENVIRONMENT]
* NEW: In the report border chooser dialog, round borders can be 
  synchonized like normal borders. This is not taken into account by the
  implementation at the moment.

[GB.QT4]
* NEW: Paint.Reset() works like gb.gtk.
* BUG: Printer.PaperWidth and Printer.PaperHeight values are rounded now.


git-svn-id: svn://localhost/gambas/trunk@4320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 00:35:46 +00:00
Benoît Minisini
4cd4b4a766 [GB.GTK]
* BUG: Fix Printer paper and orientation management.
* BUG: Paint.Reset() now resets the matrix to its initial value, that is 
  not necessarily the identity when painting on a Printer!


git-svn-id: svn://localhost/gambas/trunk@4319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 22:54:10 +00:00
Fabien Bodard
805e8c3ad9 [GB.REPORT]
* NEW: ReportSvgImage have the same properties than 
  ReportImage (StretchMode, Alignment)


git-svn-id: svn://localhost/gambas/trunk@4318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 19:44:49 +00:00
Benoît Minisini
021de427c5 [GB.DB.POSTGRESQL]
* BUG: Fix connection timeout parameter.


git-svn-id: svn://localhost/gambas/trunk@4317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 18:40:54 +00:00
Benoît Minisini
c550408947 [COMPILER]
* BUG: Do not allow optional and byref arguments in an event declaration.


git-svn-id: svn://localhost/gambas/trunk@4316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 18:35:14 +00:00
Fabien Bodard
4ce1060d38 [[DEVELOPMENT ENVIRONMENT]
* NEW: The ide manage roundcorners for report controls


git-svn-id: svn://localhost/gambas/trunk@4315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 15:20:20 +00:00
Benoît Minisini
9b1f2cce98 [GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to 
  page" mode.


git-svn-id: svn://localhost/gambas/trunk@4314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 14:05:50 +00:00
Benoît Minisini
0d008e8f29 [GB.GTK]
* BUG: Fix Printer.Print() when printing to a PS or SVG file.
* BUG: Paint text routines now use the printer specific Pango routines when
  painting to a printer.

[GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to 
  page" mode.


git-svn-id: svn://localhost/gambas/trunk@4313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 13:14:08 +00:00
Benoît Minisini
87b2671b95 [GB.DBUS]
* NEW: DBusConnection.Register() takes a new optional argument to specify
  the interface implemented by the object. By default, the interface is
  "org.gambas.<appname>.<classname>".


git-svn-id: svn://localhost/gambas/trunk@4312 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 01:01:34 +00:00