Commit graph

1125 commits

Author SHA1 Message Date
Benoît Minisini
e69514d151 [INTERPRETER]
* BUG: Fix argument parsing when running an executable.


git-svn-id: svn://localhost/gambas/trunk@2886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 12:24:29 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
e7b3507ca8 [WEB SITE MAKER]
* BUG: Fix a typo in the korean translation.

git-svn-id: svn://localhost/gambas/trunk@2882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 21:57:32 +00:00
Benoît Minisini
fe71ae129a [WEB SITE MAKER]
* NEW: Some french translations of news.

git-svn-id: svn://localhost/gambas/trunk@2881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 21:48:08 +00:00
Benoît Minisini
7eaebb1879 [EXAMPLES]
* NEW: Add GNUBoxWorld game from Pablo Mileti.

git-svn-id: svn://localhost/gambas/trunk@2880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 21:41:58 +00:00
Seo Hyun-Gwan
0321dec905 git-svn-id: svn://localhost/gambas/trunk@2879 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-10 14:22:49 +00:00
Seo Hyun-Gwan
9d4b8adba8 git-svn-id: svn://localhost/gambas/trunk@2878 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-10 14:16:19 +00:00
Seo Hyun-Gwan
11dd98e7ba QTK+ -> GTK+
git-svn-id: svn://localhost/gambas/trunk@2877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-10 13:19:34 +00:00
Benoît Minisini
79496cc582 [INTERPRETER]
* BUG: Standard streams are correctly initialized now. Consequently, Input 
  and Line Input on them work correctly again.


git-svn-id: svn://localhost/gambas/trunk@2869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-07 18:39:45 +00:00
Benoît Minisini
bfa190efe5 [DEVELOPMENT ENVIRONMENT]
* BUG: Alignment buttons do not snap controls dimensions to grid anymore in
  form editor.


git-svn-id: svn://localhost/gambas/trunk@2868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-07 15:32:59 +00:00
Benoît Minisini
5ab6741683 [GB.NET.SMTP]
* NEW: The old SmtpClient class has been renamed to "_SmtpClass", so that 
  it is hidden.
* NEW: Add a gambas part to the component that implements the real 
  SmtpClass, by adding to _SmtpClass support for encryption (TLS or SSL).


git-svn-id: svn://localhost/gambas/trunk@2866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 21:09:59 +00:00
Benoît Minisini
a8c6cd99a3 [INTERPRETER]
* BUG: Process stream correctly detects when something has been really read
  during a Read event.

[GB.NET.SMTP]
* NEW: SmtpClient._NoGreeting is a new property that tells not to read the 
  SMTP server greeting. This is needed, because with TLS authentication, 
  openssl does not print it.


git-svn-id: svn://localhost/gambas/trunk@2865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-06 18:03:37 +00:00
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