Commit graph

1308 commits

Author SHA1 Message Date
Benoît Minisini
8d7b99daed [GB.FORM.STOCK]
* BUG: Forgot to add the .component file.


git-svn-id: svn://localhost/gambas/trunk@2923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 21:39:06 +00:00
Benoît Minisini
32a0c4f54e [GB.QT4]
* BUG: Hidden menubar is not visible anymore.


git-svn-id: svn://localhost/gambas/trunk@2922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 11:58:43 +00:00
Fabien Bodard
7c3cb5d029 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a little bug


git-svn-id: svn://localhost/gambas/trunk@2921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 06:51:30 +00:00
Benoît Minisini
cc6dfc0e33 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix and enhance Gambas 2 project conversion.

[GB.QT4]
* BUG: Allow control resizing whatever the arrangement of its container, 
  provided that its Ignore property is set.


git-svn-id: svn://localhost/gambas/trunk@2920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 00:17:12 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
Benoît Minisini
618df42b55 [GB.QT4]
* BUG: Remove the popupmenu hack, it triggers menu using the Escape key as 
  a shortcut, and it seems not to be useful anymore.


git-svn-id: svn://localhost/gambas/trunk@2918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 22:43:53 +00:00
David Villalobos Cambronero
09a7da93e2 git-svn-id: svn://localhost/gambas/trunk@2917 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2010-04-26 14:02:40 +00:00
Benoît Minisini
1c0a7fb168 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some icons.
* NEW: Do not define a name for components that should not be visible in 
  the project property dialog.

[GB.FORM]
* BUG: Fix loading of stock icons.
* BUG: Fix the mapping of some Gnome icons.


git-svn-id: svn://localhost/gambas/trunk@2916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 13:59:05 +00:00
Benoît Minisini
c4bba37392 [GB.FORM]
* NEW: Remove useless icons.

[GB.FORM.STOCK]
* NEW: This new components just store a default set of stock icons. It is
  loaded by gb.form only if needed.


git-svn-id: svn://localhost/gambas/trunk@2915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 12:29:49 +00:00
Benoît Minisini
b011fb064d [GB.FORM]
* NEW: Remove stock icon.
* NEW: The default stock icon will be stored in another component.

git-svn-id: svn://localhost/gambas/trunk@2914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 11:29:45 +00:00
Benoît Minisini
5d70e7ad54 [GB.IMAGE.IO]
* BUG: Load non-square image without crashing!


git-svn-id: svn://localhost/gambas/trunk@2913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 09:43:10 +00:00
Benoît Minisini
e02caaf252 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not show a form in the treeview if no component implements its 
  family.

[INTERPRETER]
* NEW: Detect overridden classes, and automatically convert the return 
  datatype of Gambas and native functions using an overridden class.
* NEW: Convert overridden classes in the NEW instruction.


git-svn-id: svn://localhost/gambas/trunk@2912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 09:36:47 +00:00
Benoît Minisini
52ac0bdfee [DEVELOPMENT ENVIRONMENT]
* BUG: Do not trim pasted text when using special paste.

[INTERPRETER]
* NEW: Format() can format Float number with up to 16 digits now.

[GB.QT4.EXT]
* NEW: Support for an insert & block mode. This mode is toggled with the
  "Insert" key.


git-svn-id: svn://localhost/gambas/trunk@2911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 23:04:27 +00:00
Benoît Minisini
ba1788cd5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly hide the reload button in the form editor when it should 
  be hidden.
* NEW: Take libraries into account in the auto-completion.

[GB.QT4.EXT]
* BUG: Center the cursor when requested, even if the cursor does not move.


git-svn-id: svn://localhost/gambas/trunk@2910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 16:04:42 +00:00
Benoît Minisini
d49fe17d83 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove any use of Component.UserPath and any reference to "user 
  component".
* NEW: "libraries" management. Libraries are defined in a new tab of the
  projet property dialog. At the moment, libraries exported classes are not
  taken into account by the automatic completion.
* NEW: The ESC key now closes the help browser.
* BUG: Correctly translate compilation error messages.

[INTERPRETER]
* NEW: "libraries" management.
* NEW: The Component.UserPath property has been removed.
* BUG: Evaluating "Application.Path" or "Application.Name" on the command 
  line does not crash anymore.

[COMPILER]
* BUG: Enhance translation of some error messages.
* NEW: Take libraries into account for exported class declarations.

[ARCHIVER]
* NEW: new "-x" option to extract a file from an archive.

[GB.QT4.EXT]
* NEW: Be more clever when deciding if a line has been modified after 
  having its last character deleted.


git-svn-id: svn://localhost/gambas/trunk@2909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 10:46:57 +00:00
Benoît Minisini
2e8429a800 [GB.GTK]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.

[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.


git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-21 01:25:19 +00:00
David Villalobos Cambronero
143d920ea6 [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:11:55 +00:00
David Villalobos Cambronero
d7daff1aaa [WEB SITE MAKER]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:10:00 +00:00
David Villalobos Cambronero
9fe247a5b3 [GB.FROM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:08:02 +00:00
David Villalobos Cambronero
33b9fd2c74 [GB.FROM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:05:55 +00:00
David Villalobos Cambronero
1d1aae770f [GB.DB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:04:15 +00:00
Benoît Minisini
0d5bb25a55 [DEVELOPMENT ENVIRONMENT]
* BUG: Errors on immediate debugging expressions are correctly displayed 
  now.

[WEB SITE MAKER]
* BUG: "mailto:" links are correctly generated now.

[INTERPRETER]
* NEW: The 'u' and 'uu' date formats do not display a point anymore. The
  point must be specified explicitely in the format string.


git-svn-id: svn://localhost/gambas/trunk@2900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 13:28:40 +00:00
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