Commit graph

1336 commits

Author SHA1 Message Date
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +00:00
Benoît Minisini
5e58b18181 [GB.CAIRO]
* NEW: Toy text API has been implemented with Cairo.Font.* properties, 
  Cairo.Text() and Cairo.TextExtents() methods, and two new classes, 
  CairoFontExtents and CairoTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-18 21:19:33 +00:00
Benoît Minisini
060e7b81aa [DEVELOPMENT ENVIRONMENT]
* BUG: The ESC key closes the search dialog in all cases now.
* BUG: Ignoring comments and/or strings now correctly work on every 
  highlighted project file.
* BUG: Correctly detect class private symbols when doing automatic 
  completion.
* BUG: Correctly scan exported classes that reimplement another class 
  located in a component.

[GB.QT4.EXT]
* NEW: Editor.Lines[].Purge() is new method to retrieve a line without 
  strings and/or comments.


git-svn-id: svn://localhost/gambas/trunk@2897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 22:25:55 +00:00
David Villalobos Cambronero
191d16daa3 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 14:11:27 +00:00
David Villalobos Cambronero
4c3cae8327 * NEW: Deleted some commented lines.
* NEW: Created the class _Maintenance, now you can: Analyze, Check, Checksum
  Repair and Optimize tables.

git-svn-id: svn://localhost/gambas/trunk@2895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 18:30:54 +00:00
Benoît Minisini
c0f1fba1ef [DEVELOPMENT ENVIRONMENT]
* BUG: Activating the toolbar search combo does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 00:19:19 +00:00
Benoît Minisini
255cfb2ded [DEVELOPMENT ENVIRONMENT]
* NEW: Searching in all project files (except forms) has been implemented.
* BUG: Many fixes in normal search.

[GB.GTK]
* BUG: Key.Code is not lost anymore during a KeyPress event.


git-svn-id: svn://localhost/gambas/trunk@2893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 00:13:41 +00:00
David Villalobos Cambronero
5084d4f79e [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-13 21:31:15 +00:00
Benoît Minisini
b96500054a [WEB SITE MAKER]
* NEW: Remove the project located in /app/src. The project is now located
  in /app/other, so that it is not included in the source package.


git-svn-id: svn://localhost/gambas/trunk@2889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 15:52:21 +00:00
Benoît Minisini
7c9a7c368c [INTERPRETER]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@2888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 12:49:16 +00:00
Benoît Minisini
067017c715 [INTERPRETER]
* BUG: Fix argument parsing again.


git-svn-id: svn://localhost/gambas/trunk@2887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 12:47:31 +00:00
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