Commit graph

825 commits

Author SHA1 Message Date
Toni Rosa
6050b49b06 [GB.FORM]
* NEW: Update Catalan translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 18:33:57 +00:00
Benoît Minisini
0a9b6abe82 [DEVELOPMENT ENVIRONMENT]
* NEW: More support for WebPage.

[COMPILER]
* NEW: Start supporting WebPage.


git-svn-id: svn://localhost/gambas/trunk@4427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 09:55:55 +00:00
Benoît Minisini
3ad16e0b5d [GB.WEB]
* NEW: URL: Remove the URL dynamic class. It's brain-fucking.
* NEW: URL: Add two new static methods, SetQuery() and UnsetQuery() to set
  and unset a field inside the URL query.


git-svn-id: svn://localhost/gambas/trunk@4426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 08:52:23 +00:00
Benoît Minisini
5c43a87220 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of null String[] properties.
* NEW: Starting WebPage support.
* BUG: Fix filters in the file creation dialog.

[EXAMPLES]
* BUG: Fix the DragNDrop example.

[WIKI CGI SCRIPT]
* NEW: @index now can sort pages by ignoring a prefix but by displaying the
  full page title anyway in the index.

[GB.FORM]
* NEW: FileChoose got a new Margin property, that adds a margin around the 
  FileChooser controls when set.

[GB.WEB]
* NEW: Url is a new class that aims at handling URLs. Not finished yet!
* NEW: Url.Encode() and Url.Decode() now replace CGI.Encode() and 
  CGI.Decode().


git-svn-id: svn://localhost/gambas/trunk@4421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-26 22:50:19 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
d161440134 [DEVELOPMENT ENVIRONMENT]
* BUG: Add a limit to the history size.

[GB.FORM.STOCK]
* BUG: Do not require gb.gtk, so that compilation does not fail if gb.gtk 
  is not available.


git-svn-id: svn://localhost/gambas/trunk@4417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-23 19:28:38 +00:00
Benoît Minisini
34f24c3991 [INTERPRETER]
* BUG: Fix the Param array accessor, that returns a specific extra argument
  from its index.

[GB.DBUS]
* BUG: Fix DBus method call when the method returns nothing. If there is an
  error, it is correctly raised.


git-svn-id: svn://localhost/gambas/trunk@4413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-21 03:19:38 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
53aae2daf5 [DEVELOPMENT ENVIRONMENT]
* BUG: Table chooser works correctly again.
* NEW: The port can be defined now in the connection dialog.

[GB.DB]
* NEW: Support for port in a connection defined in the IDE.

[EXAMPLES]
* NEW: Port can be defined in the Database example.


git-svn-id: svn://localhost/gambas/trunk@4396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-11 02:47:43 +00:00
Benoît Minisini
2b560f91ec [CONFIGURATION]
* NEW: Switch version to 3.0.90.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor undo management.
* BUG: The menu editor changes are now correctly taken into account by the 
  undo management.

[GB.FORM]
* NEW: Little fix in TabPanel button layout.


git-svn-id: svn://localhost/gambas/trunk@4393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-07 02:16:31 +00:00
Benoît Minisini
b99dc2dfc0 [GB.FORM]
* BUG: The last pixels of a TabPanel button are clickable now.


git-svn-id: svn://localhost/gambas/trunk@4390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 23:38:17 +00:00
Benoît Minisini
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Fabien Bodard
7f3814044e [GB.REPORT]
* OPT: not export Paint Class and mask a variable into Report Class


git-svn-id: svn://localhost/gambas/trunk@4380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:44:08 +00:00
Fabien Bodard
cb699c9f34 [GB.REPORT]
* BUG: Finalize the change between StrechMode and Strech property name


git-svn-id: svn://localhost/gambas/trunk@4379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:37:09 +00:00
Fabien Bodard
28b37c39eb [GB.REPORT]
* BUG: Use the current Painting Resolution to calculate the size of a text


git-svn-id: svn://localhost/gambas/trunk@4378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:21:24 +00:00
Benoît Minisini
a84527352f [GB.REPORT]
* NEW: Rename StretchMode property as just Stretch.
* NEW: Move the Stretch property constant to the Report class.

[EXAMPLES]
* BUG: Fix the main dialog layout.


git-svn-id: svn://localhost/gambas/trunk@4377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:00:48 +00:00
Fabien Bodard
86925cc6d3 [GB.REPORT]
* OPT: Some Cleaning


git-svn-id: svn://localhost/gambas/trunk@4375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:51:09 +00:00
Fabien Bodard
b95f7e712d [GB.REPORT]
* OPT: Make a demo for recurssive calls


git-svn-id: svn://localhost/gambas/trunk@4372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:41:20 +00:00
Benoît Minisini
ec5182bec1 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the X or Y property of a form does nothing visually.

[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
  children.


git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:27:55 +00:00
Fabien Bodard
7016a68336 [GB.REPORT]
* BUG: Remove a really stupid bug. Now all seem to work fine


git-svn-id: svn://localhost/gambas/trunk@4369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 20:40:19 +00:00
Benoît Minisini
ba29f0abc3 [GB.FORM.MDI]
* NEW: Workspace.Picture is a new property that allows to define a tile 
  picture that will be drawn in the workspace background when it has no 
  windows.


git-svn-id: svn://localhost/gambas/trunk@4368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:26:26 +00:00
Benoît Minisini
5a0849c692 [WEB SITE MAKER]
* NEW: Changes for Gambas 3 release.

[INTERPRETER]
* BUG: No more than 15 digits for Floating point values.


git-svn-id: svn://localhost/gambas/trunk@4367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:03:20 +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
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
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
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
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
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
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
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
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
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
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
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
Fabien Bodard
ade026fd48 [GB.REPORT]
* OPT: debug messages on preview to see the gtk problem



git-svn-id: svn://localhost/gambas/trunk@4308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 20:04:00 +00:00
Fabien Bodard
67662421ff [GB.REPORT]
* BUG: Some minor bugs corrected


git-svn-id: svn://localhost/gambas/trunk@4306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 10:51:13 +00:00
Fabien Bodard
8171ad905f [GB.REPORT]
* BUG: Now the full layout really reset all sections


git-svn-id: svn://localhost/gambas/trunk@4305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 08:38:19 +00:00
Benoît Minisini
2cb3f5f92c [GB.REPORT]
* BUG: Remove the Report11.report file that was alone, without any class 
  file.


git-svn-id: svn://localhost/gambas/trunk@4304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 01:56:19 +00:00
Fabien Bodard
bfa7037499 [GB.REPORT]
* BUG: Correct the problem on font size by use paint.resolution on font.height


git-svn-id: svn://localhost/gambas/trunk@4301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 23:42:59 +00:00
Fabien Bodard
580bf993d5 [GB.REPORT]
* BUG: Don't use the printer resolution for the layout... font.heigth return
  a size that depend of the current device resolution. I must to change the size compute
  for label and texlabel.


git-svn-id: svn://localhost/gambas/trunk@4300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 23:33:57 +00:00
Fabien Bodard
e48d87c03f [GB.REPORT]
* BUG: Resolve all resolution problems by calculate the render size at the drawing time.
* OPT: Report manage internally the paper size


git-svn-id: svn://localhost/gambas/trunk@4298 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 22:42:37 +00:00
Benoît Minisini
dd53f62f23 [GB.DBUS]
* NEW: DBus.Name is a new property that allows to define the name used for
  registering the application on the bus. You must define this property 
  before registering any object.


git-svn-id: svn://localhost/gambas/trunk@4292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:44:53 +00:00
Fabien Bodard
c66ec7e0fd git-svn-id: svn://localhost/gambas/trunk@4289 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-12-18 21:10:28 +00:00
Fabien Bodard
081678b47e [GB.REPORT]
* NEW: Print function that allow to bypass the preview window and just show the 
printer config window



git-svn-id: svn://localhost/gambas/trunk@4288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 21:08:41 +00:00
Benoît Minisini
59e1c9cee0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix management of forms that are multicontainers, like Report.
* BUG: Convert Draw.BackColor and Draw.ForeColor from Gambas 2 to Gambas 3.


git-svn-id: svn://localhost/gambas/trunk@4287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 21:00:01 +00:00
Fabien Bodard
29e760b7c0 [GB.REPORT]
* NEW: New properties Paper and Orientation allow to setup the printer size, and
  so the preview size.


git-svn-id: svn://localhost/gambas/trunk@4286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 18:49:31 +00:00
Benoît Minisini
3d934b455c [DEVELOPMENT ENVIRONMENT]
* OPT: The project file creation dialog initalizes its file browser later.

[INTERPRETER]
* BUG: Use sigsetjmp() instead of setjmp() as expected by the memory check 
  functions.

[GB.FORM.MDI]
* BUG: Do not use symbolic links, but real image files for action icons.

[GB.SIGNAL]
* BUG: Fix some warnings on BSD.


git-svn-id: svn://localhost/gambas/trunk@4284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:03:07 +00:00
Fabien Bodard
9921f8e114 [GB.REPORT]
* BUG: Change the SizeInt for column


git-svn-id: svn://localhost/gambas/trunk@4283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 20:41:50 +00:00
Fabien Bodard
63e7d518bc [GB.REPORT]
* NEW: ReportVPanel widget and arrange.Column arrange controls in columns
* BUG: Layout now correctly reset dataindex



git-svn-id: svn://localhost/gambas/trunk@4282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 20:25:27 +00:00
Fabien Bodard
7fc02a9d07 [GB.REPORT]
* NEW: A new property on reportLabel "Rotate" allow to give an angle to the text.
  The text is forced to align center if an angle is given.
  


git-svn-id: svn://localhost/gambas/trunk@4281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 15:39:31 +00:00
Fabien Bodard
e10ed38184 [GB.REPORT]
* BUG: MTool.PixelToUnit now take a Float


git-svn-id: svn://localhost/gambas/trunk@4276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-12 21:45:34 +00:00
Fabien Bodard
e5c9e17b6c [GB.REPORT]
* NEW: The clipping is active so now text, picture can't be drawn outside
  of there containers
* BUG: some change in the containers size computing.
* BUG: Padding is now taked ino account in reportimage in stretchmode fill.


git-svn-id: svn://localhost/gambas/trunk@4274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 20:59:48 +00:00
Benoît Minisini
200a429afc [DEVELOPMENT ENVIRONMENT]
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly 
  selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now 
  correctly imports the class file.

[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.

[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
  string are both one character length strings.

[COMPILER]
* NEW: The string escape character '\v' was added.

[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not 
  specified.

[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.

[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account 
  now.

[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
  backup.

[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified 
  property.


git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 19:14:04 +00:00
Fabien Bodard
f173a43bba [GB.REPORT]
* NEW: ReportTextLabel have now a Data event and a Data Property
* BUG: ReportTextLabel now use RichTextExtend
* OPT: I've removed the wordwrap property
* NEW: Begin To implement ReportDrawingArea widget
  It's a simple widget with a draw event.


git-svn-id: svn://localhost/gambas/trunk@4272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 15:45:38 +00:00
Fabien Bodard
d28e770be9 [GB.REPORT]
* NEW: Round corner are activated but you can only access from code
  ex: label.border.roundcorner.TopLeft="2mm/4mm"
  If round corner are used all the borders are the same color and 
  the same size. for this time.
 


git-svn-id: svn://localhost/gambas/trunk@4271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-10 21:04:03 +00:00
Fabien Bodard
5df307ead0 [GB.REPORT]
* NEW: Now use ctrl key+ wheel to zoom on preview
* BUG: The section are not repeated


git-svn-id: svn://localhost/gambas/trunk@4270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-10 09:10:45 +00:00
Fabien Bodard
ba2bfa8487 [GB.REPORT]
* NEW: Big change in the data event, now the index is not given by the procedure
  you need to use Last.DataIndex instead. You need to change all the _data(Index as integer)
  signatures by _Data().
* BUG: replace full by fill.
* NEW: ReportControl have new property DataIndex that give the current data index



git-svn-id: svn://localhost/gambas/trunk@4269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 22:07:40 +00:00
Fabien Bodard
378a10d830 git-svn-id: svn://localhost/gambas/trunk@4268 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-12-09 21:25:09 +00:00
Fabien Bodard
7d26cdd072 [GB.REPORT]
* NEW: The boolean Strech property of reportimage become StrechMode property 
  and can have 3 different mode (default=None, Proportional, Fill)
* NEW: A new property Alignment in reportimage that can take value from the ALign
  class, and set the alignment of the picture in the Reportimage.
* OPT: some hidden properties added to ReportPadding.



git-svn-id: svn://localhost/gambas/trunk@4267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 21:24:24 +00:00
Fabien Bodard
3cc0a0a80b [GB.REPORT]
* OPT: Many changes in the code layout. All the reportcontrole use now 
  common routines, so they act strictly on the same way with less codes lines.
* NEW: ReportTextLabel and ReportSvgImage work


git-svn-id: svn://localhost/gambas/trunk@4266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-09 13:34:34 +00:00
Fabien Bodard
4cb015bfde [GB.REPORT]
* OPT: Set all object with same react to arrangement


git-svn-id: svn://localhost/gambas/trunk@4265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-08 21:57:25 +00:00
Fabien Bodard
90652600e4 [GB.REPORT]
* BUG: Label keep it's size if not expanded


git-svn-id: svn://localhost/gambas/trunk@4264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-04 20:51:20 +00:00
Fabien Bodard
35d55adee5 [GB.REPORT]
* BUG: Allow void image


git-svn-id: svn://localhost/gambas/trunk@4263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 22:41:19 +00:00
Fabien Bodard
466bab50c5 [GB.REPORT]
* BUG: Now the ReportImage layout work well
* NEW: The Autoresize is active


git-svn-id: svn://localhost/gambas/trunk@4262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 22:12:22 +00:00
Fabien Bodard
4da1b1813b [GB.REPORT]
* OPT: Changes in the label layout
* NEW: The ReportImage have now a data event and a data property


git-svn-id: svn://localhost/gambas/trunk@4261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 21:11:10 +00:00
Fabien Bodard
dd5a982bb1 [GB.REPORT]
* BUG: Correct the HBox and Label layout


git-svn-id: svn://localhost/gambas/trunk@4260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-29 22:25:30 +00:00
Fabien Bodard
817982c990 [GB.REPORT]
* NEW: a new property DataCount in ReportContainer that repeat the container 
  n time, and increment the internal index
* NEW: a new Event Data in ReportLabel
* NEW: a new Data property to return the data during the Data event.
* BUG: Some changes in the VSizeInt.


git-svn-id: svn://localhost/gambas/trunk@4259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-28 23:16:11 +00:00
Fabien Bodard
e57e77690f [GB.REPORT]
* BUG: All the fixed, objects are correctly taked into account during the sizehint.


git-svn-id: svn://localhost/gambas/trunk@4258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-27 11:20:34 +00:00
Benoît Minisini
251e172f60 [GB.EVAL.HIGHLIGHT]
* NEW: Some little enhancements in CSS highlighting.

[GB.QT4.EXT]
* BUG: A little fix in undo management during an highlighting process.

[GB.WEB]
* NEW: Session.Modify() is a new method to mark the session as modified so 
  that it is automatically saved.


git-svn-id: svn://localhost/gambas/trunk@4256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-25 00:43:57 +00:00
Benoît Minisini
877e447860 [GB.FORM]
* BUG: Popup menu is now disabled in MaskBox control.

[GB.GTK]
* BUG: Stop Event correctly cancels Menu events.


git-svn-id: svn://localhost/gambas/trunk@4245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 22:22:22 +00:00
Benoît Minisini
29a44809e1 [GB.FORM]
* BUG: Make gb.form compile correctly.


git-svn-id: svn://localhost/gambas/trunk@4240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-10 20:31:17 +00:00
Benoît Minisini
8163a28003 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly translate numerals inside error messages.

[COMPILER]
* BUG: Raise an error when the default case of a SELECT statement is not 
  the last one.
* BUG: Raise an error when the default case of a SELECT statement is 
  defined twice.


git-svn-id: svn://localhost/gambas/trunk@4239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-10 10:09:25 +00:00
Benoît Minisini
32db90034c [GB.FORM]
* BUG: IconPanel.Count property can be decremented without crashing now.


git-svn-id: svn://localhost/gambas/trunk@4237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-09 23:11:03 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
55ee088b16 [GB.EVAL.HIGHLIGHT]
* BUG: Fix HTML highlighting routine.


git-svn-id: svn://localhost/gambas/trunk@4228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-01 01:56:19 +00:00
Benoît Minisini
868fa6cda9 [CONFIGURATION]
* NEW: Switch version to 2.99.6.

[DEVELOPMENT ENVIRONMENT]
* BUG: Ignore labels in code editor's control structure automatic 
  completion.

[GB.GTK]
* BUG: Fix popup management for some widget styles.


git-svn-id: svn://localhost/gambas/trunk@4225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-30 17:47:29 +00:00
Benoît Minisini
1648dc4803 [GB.FORM]
* BUG: Fix a possible crash in the IconView.Key property.



git-svn-id: svn://localhost/gambas/trunk@4209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-23 17:20:17 +00:00
Benoît Minisini
e680d4fe9b [DEVELOPMENT ENVIRONMENT]
* BUG: The form editor now embeds controls in a container that depens on 
  the form family (a Panel for a Form, a ReportPanel for a Report).

[INTERPRETER]
* BUG: Fix loop management when big negative values are used.

[GB.REPORT]
* NEW: Add an icon for the ReportPanel control.


git-svn-id: svn://localhost/gambas/trunk@4206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-20 00:03:25 +00:00
Fabien Bodard
0a6e293d6f [GB.REPORT]
* OPT: Hide Key and Data properties, they are not usable for now



git-svn-id: svn://localhost/gambas/trunk@4204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-17 10:06:11 +00:00
Fabien Bodard
dd3b7e9967 [GB.REPORT]
* NEW: Now an ignored control can be fixed ... welcome to the watermark !


git-svn-id: svn://localhost/gambas/trunk@4198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 15:16:19 +00:00