Commit graph

2761 commits

Author SHA1 Message Date
Benoît Minisini
b498d5fed8 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not require /tmp to allow executables when running the internal
  system information shell script.


git-svn-id: svn://localhost/gambas/trunk@4307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 17:57:49 +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
Benoît Minisini
6ac8e5dc34 [GB.GTK]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@4303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 01:41:33 +00:00
Benoît Minisini
c922ee7cd3 [GB.DBUS]
* BUG: Fix object registering and unregistering, so that the program quits
  normally when the last object is unregistered.


git-svn-id: svn://localhost/gambas/trunk@4302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-21 01:37:09 +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
d9b63900a2 [EXAMPLES]
* BUG: Change Report demo to work with the changes of gb.Report


git-svn-id: svn://localhost/gambas/trunk@4299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 23:28:52 +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
5ab541a142 [GB.GTK]
* BUG: Fix dnd and clipboard management.

[GB.QT4]
* BUG: Fix dnd and clipboard management.


git-svn-id: svn://localhost/gambas/trunk@4297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 15:47:14 +00:00
Benoît Minisini
61063f37dc [GB.DBUS]
* BUG: Fix application name registering.


git-svn-id: svn://localhost/gambas/trunk@4296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 18:31:30 +00:00
Benoît Minisini
e000895504 [GB.QT4]
* BUG: Fix cached DrawingArea so that it works with the Qt "raster" 
  graphics system.


git-svn-id: svn://localhost/gambas/trunk@4295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 16:33:09 +00:00
Benoît Minisini
17ada17b9a [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly manage recent project sort in open project dialog, and fix
  the sort order corruption saved in the settings file.


git-svn-id: svn://localhost/gambas/trunk@4294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 02:11:08 +00:00
Benoît Minisini
814bfc5db3 [DEVELOPMENT ENVIRONMENT]
* BUG: Save project before making a source archive.


git-svn-id: svn://localhost/gambas/trunk@4293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 01:40:12 +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
Benoît Minisini
b00f7b99c8 [GB.GTK]
* BUG: Printer.PaperWidth and Printer.PaperHeight now take the orientation 
  into account.


git-svn-id: svn://localhost/gambas/trunk@4291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:34:16 +00:00
Benoît Minisini
6afd48981c [GB.QT4]
* BUG: Paint.Save() does not crash anymore if no clipping is defined.


git-svn-id: svn://localhost/gambas/trunk@4290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:01:33 +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
b327269b6f [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if the examples directory does not exist.


git-svn-id: svn://localhost/gambas/trunk@4285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-18 03:33:46 +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
Benoît Minisini
e52346548b [GB.DB.POSTGRESQL]
* OPT: Record creation is now faster, thanks to Bruce Bruen optimization.


git-svn-id: svn://localhost/gambas/trunk@4280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-17 15:29:39 +00:00
Benoît Minisini
80c47bbf9f [GB.GTK]
* OPT: Don't call GTK+ gtk_widget_modify_xxx() functions if not really 
  necessary, they are slow, and slower as the number of created controls 
  grows!


git-svn-id: svn://localhost/gambas/trunk@4278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-15 04:48:08 +00:00
Benoît Minisini
1961d55cd7 [INTERPRETER]
* BUG: Correctly free constructor arguments when there is inheritance.


git-svn-id: svn://localhost/gambas/trunk@4277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-13 04:48:47 +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
Benoît Minisini
b0cd087e65 [GB.GTK]
* BUG: Fix a warning in range control initialization (Slider, ScrollBar).
* BUG: Paint.Save() and Paint.Restore() now take the font settings into 
  account.


git-svn-id: svn://localhost/gambas/trunk@4275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-12 10:17:45 +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
708c137c3d [INTERPRETER]
* NEW: Support for extern functions returning a C structure pointer.


git-svn-id: svn://localhost/gambas/trunk@4257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-25 22:26:09 +00:00