Commit graph

2551 commits

Author SHA1 Message Date
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
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
19b6e1c34d [INTERPRETER]
* BUG: Array Reverse() method now returns the reversed array.


git-svn-id: svn://localhost/gambas/trunk@4255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-24 21:45:21 +00:00
Benoît Minisini
90f6aad33c [GB.DB]
* NEW: Add a warning message if a connection password cannot be retrieved.


git-svn-id: svn://localhost/gambas/trunk@4254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-24 17:49:53 +00:00
Benoît Minisini
69ec6d6800 [DEVELOPMENT ENVIRONMENT]
* BUG: Top-level forms now takes keyboard event before every other
  control. Take that into account for the ESC shortcut.

[GB.QT4.EXT]
* BUG: Fix highlighting algorithm.


git-svn-id: svn://localhost/gambas/trunk@4253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-21 00:43:28 +00:00
Benoît Minisini
ed9d5bc226 [GB.QT4.EXT]
* BUG: Fix colorize algorithm, hoping that it will fix the undo problem.


git-svn-id: svn://localhost/gambas/trunk@4252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-20 19:00:37 +00:00
Benoît Minisini
52cce8cd10 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of classes symbols when a method having the
  same name is defined.
* BUG: Fix search with patterns including a column character.


git-svn-id: svn://localhost/gambas/trunk@4251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-20 10:23:56 +00:00
Benoît Minisini
bd23a0b883 [INTERPRETER]
* BUG: Use setpgid() instead of setpgrp() to be BSD-compatible.


git-svn-id: svn://localhost/gambas/trunk@4250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-19 15:31:40 +00:00
Benoît Minisini
6202653e2d [GB.DBUS]
* BUG: Fix the DBusConnection.Applications property.


git-svn-id: svn://localhost/gambas/trunk@4249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 19:42:52 +00:00
Benoît Minisini
296ae062ba [INTERPRETER]
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned 
  value is a Variant, as now the interpreter does not do the conversion
  automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
  everywhere it is needed.


git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 01:06:51 +00:00
Benoît Minisini
a8cc9afec1 [GB.GTK]
* BUG: Make gb.gtk compile with old versions of GTK+.


git-svn-id: svn://localhost/gambas/trunk@4247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 00:28:52 +00:00