Commit graph

1113 commits

Author SHA1 Message Date
Benoît Minisini
1a905d7cab [INTERPRETER]
* NEW: The GB.Stream.Read API reads up to a defined number of bytes when 
  its length argument is negative (like the READ instruction).
* NEW: Reading a stream up to a defined number of bytes blocks for the 
  first byte to read.

[GB.NET.SMTP]
* BUG: The SmtpClient now works when it is piped with a stream coming from 
  the openssl command, either with TLS or SSL.
* BUG: All SMTP commands are sent in lower case, because uppercase can 
  confuse openssl.


git-svn-id: svn://localhost/gambas/trunk@2864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 17:00:25 +00:00
Benoît Minisini
c15a7461aa [INTERPRETER]
* NEW: New APIs to get a Gambas stream from a stream object 
  (GB.Stream.Get), to read data from a stream (GB.Stream.Read) and to write
  date to a stream (GB.Steam.Write).

[GB.NET.SMTP]
* BUG: The _Socket property has been replaced by the _Stream property, that
  takes a Gambas stream.
* BUG: Correctly release the user and password strings when the SmtpClient 
  is freed.


git-svn-id: svn://localhost/gambas/trunk@2863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-05 17:02:16 +00:00
Benoît Minisini
95d5a1216a [GB.NET.SMTP]
* NEW: SmtpClient.Debug is a new property that makes the component print 
  the SMTP dialogue on the standard error.
* NEW: SmtpClient.User and SmtpClient.Password are two new properties to
  define the user and password used for authorization.
* NEW: Support for the AUTH PLAIN command: if SmtpClient.User and 
  SmtpClient.Password are set, an AUTH PLAIN command is emitted.
* NEW: SmtpClient._Socket is a new hidden property that allows to define 
  the socket used for talking to the SMTP server. In that case, the 
  component will not close that socket after the mail has been sent.


git-svn-id: svn://localhost/gambas/trunk@2862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-05 14:02:46 +00:00
Benoît Minisini
bb6f47038e [INTERPRETER]
* NEW: New interpreter API to browse the project contents.
* BUG: RDir(".") does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-05 01:44:43 +00:00
Benoît Minisini
81316d0d81 [GB.GTK]
* BUG: Control.Drag() correctly returns the destination control.
* BUG: Fix Menu description.
* BUG: Fix Container description.
* BUG: Fix TabStrip[].Children[] method description.

[GB.QT4]
* BUG: Fix VPanel.Indent property description.


git-svn-id: svn://localhost/gambas/trunk@2856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-03 13:29:21 +00:00
Benoît Minisini
2ab35d25e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Dropping a picture on a Report form inserts a ReportImage now.
* BUG: Some fixes in arrangement icon drawing.
* OPT: Don't hide the console at program's end, if the console must remain 
  visible.
* NEW: Support for symbolic links to source directories. Disabled at the 
  moment.
* BUG: Do not use gb.gtk.ext in project templates, it does not exist 
  anymore!

[INTERPRETER]
* BUG: RDir() with FollowLink argument set correctly search into symbolic 
  link to directories.

[GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height do not crash anymore if the 
  underlying desktop does not support standard freedesktop properties.


git-svn-id: svn://localhost/gambas/trunk@2852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-02 12:34:21 +00:00
Benoît Minisini
5b5accdd21 [GB.DB.SQLITE3]
* BUG: Tables with an autoincrement field and some indexes are correctly 
  managed now.


git-svn-id: svn://localhost/gambas/trunk@2849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-01 17:33:14 +00:00
Fabien Bodard
7c0248c3f3 [GB.REPORT]
* BUG: Many correction on page generation


git-svn-id: svn://localhost/gambas/trunk@2848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-31 21:49:44 +00:00
Benoît Minisini
ecac90958a [INTERPRETER]
* BUG: Fix an uninitalized flag in the stream internal structure.
* BUG: Remove a forgotten debugging breakpoint.


git-svn-id: svn://localhost/gambas/trunk@2845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-30 23:50:34 +00:00
Fabien Bodard
0b2088fd06 [GB.REPORT]
* OPT: Boost the layout by remember the size when it have not to be changed
  5 sec for 10000 entry on my old machine.


git-svn-id: svn://localhost/gambas/trunk@2844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-30 07:37:07 +00:00
Fabien Bodard
30582816c6 [GB.REPORT]
* NEW: Now the format property is taked into account, you need to use standard
  gambas formating string
* NEW: A boolean property UseField that tel to the report engine to change some
  macro value by theire values.


git-svn-id: svn://localhost/gambas/trunk@2843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-29 13:50:18 +00:00
Fabien Bodard
b6d3061790 [GB.REPORT]
* NEW: Complete change of the way that label get datas
  Now you just give to the container to repeat a collection[] or a result
  and to the label a key and all will simply be done.
  The Container_data and Label_data events are removed, the label.index              
  property and the container.repeat property are removed too



git-svn-id: svn://localhost/gambas/trunk@2842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-29 12:21:26 +00:00
Benoît Minisini
e3d5365729 [GB.QT4]
* BUG: Fix the Dialog.Font property and the Dialog.SelectFont() method.


git-svn-id: svn://localhost/gambas/trunk@2841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-28 21:58:45 +00:00
Benoît Minisini
0fa5f1651f [GB.QT4.EXT]
* BUG: Fix the editor internal drawing cache resizing.
* BUG: Fix the drawing of editor empty areas.


git-svn-id: svn://localhost/gambas/trunk@2838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-28 13:17:11 +00:00
Fabien Bodard
1e2fefee38 [GB.REPORT]
* NEW: Begin the change of ReportLabel, now when not text is set, reportlabel
  raise an event _Data to get it's text.
  PUBLIC SUB ReportLabel1_Data()
    LAST.Text = aMyArray[Last.Index]
  END
* New: Container are raised an event _Data when repeat is selected
  if Stop event is called in this event, the clone process is ended.
  PUBLIC SUB ReportVBox_Data()

    If Last.Index = $hResult.Count Then Stop Event

  END



git-svn-id: svn://localhost/gambas/trunk@2837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-27 19:30:15 +00:00
Benoît Minisini
ea3c59fcd9 [GB.GTK]
* BUG: Printer.PaperWidth and Printer.PaperHeight should return the 
  expected values for predefined papers.


git-svn-id: svn://localhost/gambas/trunk@2833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-27 08:14:06 +00:00
Fabien Bodard
7162466e05 [GB.REPORT]
* OPT: Some tests on fields


git-svn-id: svn://localhost/gambas/trunk@2832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 20:44:44 +00:00
Fabien Bodard
1514c00fd1 [GB.REPORT]
* NEW: ReportCloner is removed, and replaced by the new Repeat property in container
* BUG: The Clones are correctly located


git-svn-id: svn://localhost/gambas/trunk@2831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 20:08:44 +00:00
Fabien Bodard
9816d96140 [GB.REPORT]
* NEW: Begin to add the repeat support to 
  the ReportContainer


git-svn-id: svn://localhost/gambas/trunk@2830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 18:23:44 +00:00
Fabien Bodard
23433c4fe0 [GB.REPORT]
* BUG: Some corrections in the Label sizing
* BUG: Better management in picture size management... but still a problem on
  size when it is contained by a container with autoresize checked
* NEW: Buttons to autoresize and reinit the preview zoom



git-svn-id: svn://localhost/gambas/trunk@2829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 16:41:57 +00:00
Fabien Bodard
8aff5e23a7 [GB.REPORT]
* BUG: Littles things


git-svn-id: svn://localhost/gambas/trunk@2825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 17:01:31 +00:00
Fabien Bodard
54d231f0de [GB.REPORT]
* NEW: When the report is set at startup class a 
  a viewer is shown to display it.
* BUG: Now ReportImage take his size into account
* BUG: ReportLabel.Padding use the correct value 
  for painting
* NEW: if the device change of size, the layout is
  forced


git-svn-id: svn://localhost/gambas/trunk@2824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 16:55:55 +00:00
Benoît Minisini
bb0b93f075 [INTERPRETER]
* NEW: Application.Startup now returns a Class object, the startup class.


git-svn-id: svn://localhost/gambas/trunk@2823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 16:38:40 +00:00
Fabien Bodard
0febd39f25 [INTERPRETER]
* OPT: forgot some changes


git-svn-id: svn://localhost/gambas/trunk@2822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 14:40:14 +00:00
Fabien Bodard
bc1fd21cdd [INTERPRETER]
* BUG: The Startup class name is now correctly returned by Appliction.Startup




git-svn-id: svn://localhost/gambas/trunk@2821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 14:38:12 +00:00
Benoît Minisini
a6e879db91 [INTERPRETER]
* NEW: Application.Startup is a new property that returns the name of the 
  startup class.
* NEW: Class.AutoCreate is a new method that creates the automatic instance 
  of a class, and returns it. It returns NULL if the class is not 
  auto-creatable.


git-svn-id: svn://localhost/gambas/trunk@2820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 11:16:33 +00:00
Benoît Minisini
029e4b5b18 [INTERPRETER]
* NEW: RDir() takes a fourth optional argument, that tells if symbolic link 
  to directories must be recursively searched too.

[GB.DEBUG]
* BUG: Prevent a possible freeze of the IDE when debugging.


git-svn-id: svn://localhost/gambas/trunk@2819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 02:00:55 +00:00
Benoît Minisini
543f0aceb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in form editor little arrangement icon management.
* BUG: Reloading a form should not crash anymore.
* BUG: Automatic completion now works on non-GUI forms.

[GB.QT4.EXT]
* NEW: TextEdit was rewritten to use the Qt4 QTextEdit class.
* NEW: TextEdit.Format.Background is a new property to define the 
  background color of the selected text.


git-svn-id: svn://localhost/gambas/trunk@2818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-22 23:21:13 +00:00
Laurent Carlier
a289c402b1 [INTERPRETER]
* BUG: Fix building when DEBUG_EVENT is defined.


git-svn-id: svn://localhost/gambas/trunk@2813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 16:31:50 +00:00
Laurent Carlier
db9f0f66b4 Typo __CDBUG_H -> __CDEBUG_H
git-svn-id: svn://localhost/gambas/trunk@2812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 14:43:57 +00:00
Benoît Minisini
9bd1adcf36 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the management of little arrangement icons in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 12:13:20 +00:00
Benoît Minisini
002d3bdb65 [GB.FORM]
* BUG: FileChooser.Reload() method should work as expected.


git-svn-id: svn://localhost/gambas/trunk@2809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 02:15:45 +00:00
Laurent Carlier
c9750f23a5 [GB.OPENGL]
* BUG: Fix building when FLTK toolkit is installed.


git-svn-id: svn://localhost/gambas/trunk@2808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 16:52:56 +00:00
Benoît Minisini
7f00049b8b [INTERPRETER]
* BUG: Inherited startup Main methods work again.


git-svn-id: svn://localhost/gambas/trunk@2807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 15:40:34 +00:00
Benoît Minisini
6cd1d9d0d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The container arrangement is now displayed with a little icon on the
  top right corner, only when the mouse cursor is inside the container.

[INTERPRETER]
* BUG: Event handlers defined in inherited class are called correctly now,
  without crashing.


git-svn-id: svn://localhost/gambas/trunk@2806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 06:05:17 +00:00
Benoît Minisini
67cdcabaf1 [DEVELOPMENT ENVIRONMENT]
* OPT: Refresh the property sheet only for the active form.

[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.

[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
  Paint.ClipExtents.


git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-17 09:06:16 +00:00
Fabien Bodard
dd9faf0dc9 [GB.REPORT]
* OPT: some internal improvement on bad global variable using.


git-svn-id: svn://localhost/gambas/trunk@2802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 22:13:39 +00:00
Benoît Minisini
1b09de651d [GB.GTK]
* BUG: Forgot to add gtkprinter.h.
* BUG: Fix some bugs in printing management.


git-svn-id: svn://localhost/gambas/trunk@2801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 21:09:50 +00:00
Benoît Minisini
4551a94a74 [GB.REPORT]
* BUG: ReportBorder string syntax is simplified so that it matches the IDE 
  syntax. The "Solid" and "None" keyword do not have to be specified 
  anymore.

git-svn-id: svn://localhost/gambas/trunk@2798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 00:21:17 +00:00
Benoît Minisini
b7e67cce68 [GB.GTK]
* BUG: Tons of hacks to make the Printer class (almost) work correctly.
* BUG: Fix painting on a painted DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@2797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-14 22:02:21 +00:00
Fabien Bodard
83e105d8f8 [GB.REPORT]
* NEW: A new control Report.panel with the possibility to choose the arrangement
  mode (Vertical, horizontal, Fill)
* BUG: The image size is correctly registered at the image setting.

This line, and those below, will be ignored--

M    comp/src/gb.report/.project
M    comp/src/gb.report/.src/ReportImage.class
M    comp/src/gb.report/.src/ReportContainer.class
A    comp/src/gb.report/.src/Arrange.class
A    comp/src/gb.report/.src/ReportPanel.class
M    comp/src/gb.report/.src/ReportHBox.class
M    comp/src/gb.report/.src/Tests/FExample.class
M    comp/src/gb.report/.src/ReportVBox.class
M    comp/src/gb.report/.info
M    comp/src/gb.report/.list


git-svn-id: svn://localhost/gambas/trunk@2796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-14 16:52:07 +00:00
Benoît Minisini
8f6bfa322d [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls coordinates are correctly stored in *.form files 
  again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating 
  *.deb packages. It does not work, and apparently dpkg-buildpackage has no 
  problem with them.

[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.

[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes 
  the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.

[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.


git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:27:51 +00:00
Fabien Bodard
6ab5b41046 [GB.REPORT]
* OPT: some littles corrections


git-svn-id: svn://localhost/gambas/trunk@2794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:23:03 +00:00
Fabien Bodard
5a17a10a25 [GB.REPORT]
* BUG: Now the resolution is more correctly used for printing
  but all is not perfect yet.. there is some problem for the font size


git-svn-id: svn://localhost/gambas/trunk@2792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 14:14:20 +00:00
Benoît Minisini
75dcabe16e [INTERPRETER]
* BUG: Prevent a crash if during a _free special method, an element is 
  removed from a collection being freed.


git-svn-id: svn://localhost/gambas/trunk@2789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-12 01:18:20 +00:00
Benoît Minisini
b953aa5392 [COMPILER]
* NEW: Compile "report" forms, and add support for other form families.


git-svn-id: svn://localhost/gambas/trunk@2788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-11 10:59:53 +00:00
Benoît Minisini
831d6e8e7d [GB.REPORT]
* NEW: Centralize the management of units inside the TSizeParse class, in a 
  more object-oriented way.


git-svn-id: svn://localhost/gambas/trunk@2787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-11 00:02:00 +00:00
Benoît Minisini
8c53bab42d [CONFIGURATION]
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.

[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.

[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.

[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.


git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 21:51:36 +00:00
Benoît Minisini
c41cadb11f [DEVELOPMENT ENVIRONMENT]
* BUG: The packager should work correctly again.
* BUG: Use gambas3-runtime instead of gambas2-runtime as dependency in the 
  packager.


git-svn-id: svn://localhost/gambas/trunk@2783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 17:48:30 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00