Commit graph

724 commits

Author SHA1 Message Date
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
Fabien Bodard
bf32589f4f [GB.REPORT]
* BUG: Some other arrange bug corrected ... now the pages match with elements to show.
* OPT: Some Code cleanning


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