Commit graph

2364 commits

Author SHA1 Message Date
Benoît Minisini
37894ac0db [INTERPRETER]
* BUG: Fix a bug in type transitivity in Trim().


git-svn-id: svn://localhost/gambas/trunk@4095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-06 02:32:34 +00:00
Jordi Sayol
a5254d6268 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan tips


git-svn-id: svn://localhost/gambas/trunk@4094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 20:15:34 +00:00
Benoît Minisini
d16a433b3e [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore ValueBox.MaxLength property when converting a Gambas 2 form.


git-svn-id: svn://localhost/gambas/trunk@4093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 20:06:35 +00:00
Benoît Minisini
7a03d0ebfb [DEVELOPMENT ENVIRONMENT]
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
  project dialog' is opened.

[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.

[GB.FORM]
* BUG: FileView now ignores unreadable directories.

[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.

[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.

[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.


git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:57:05 +00:00
Benoît Minisini
721c80fd98 [GB.NET.CURL]
* BUG: Really fix compilation on old versions of libcurl.


git-svn-id: svn://localhost/gambas/trunk@4091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:21:26 +00:00
Jordi Sayol
54c5fdcbe8 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Updated WebBrowser Catalan translation.
* NEW: Updated TreeView Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:12:20 +00:00
Laurent Carlier
1c4c80dd35 [GB.NET.CURL]
* BUG: Add missing error opcodes in old curl libraries.

CNet.c:136: error: ‘CURLE_FTP_PRET_FAILED’ undeclared here (not in a
function)
CNet.c:139: error: ‘CURLE_FTP_BAD_FILE_LIST’ undeclared here (not in a
function)
CNet.c:140: error: ‘CURLE_CHUNK_FAILED’ undeclared here (not in a
function)
make[4]: *** [CNet.lo] Errore 1



git-svn-id: svn://localhost/gambas/trunk@4089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 11:31:18 +00:00
Benoît Minisini
8cb4217952 [DEVELOPMENT ENVIRONMENT]
* BUG: When hitting F11 to show the console, the console parent tab is now
  automatically made visible.
* BUG: When converting a Gambas 2 project, the IDE now checks that the
  project is not already opened somewhere else, and does not leave the 
  backup project locked if the conversion has succeeded.


git-svn-id: svn://localhost/gambas/trunk@4088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 00:56:30 +00:00
Benoît Minisini
dc2318698a [COMPILER]
* BUG: Fix compilation of function calls having more than 32 ByRef 
  arguments.


git-svn-id: svn://localhost/gambas/trunk@4087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 23:20:53 +00:00
Benoît Minisini
c738b0284e [GB.NET.CURL]
* NEW: A lot of code clean-up.


git-svn-id: svn://localhost/gambas/trunk@4086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 20:17:56 +00:00
Benoît Minisini
e08a2e5a0b [GB.NET.CURL]
* BUG: Disable pointless constants inherited from gb.net Net class.
* NEW: Disable other error code constants.


git-svn-id: svn://localhost/gambas/trunk@4085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 14:08:54 +00:00
Benoît Minisini
06aab3aa0a [GB.NET.CURL]
* NEW: Curl.ErrorText is a new property that returns the error string 
  associated with the error code returned by the curl library. If 
  Curl.Status is positive, then a null string is returned.
* BUG: Disable error code constants for unsupported curl features.


git-svn-id: svn://localhost/gambas/trunk@4084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 13:39:33 +00:00
Benoît Minisini
de28acb52b [GB.NET.CURL]
* NEW: Update CURL error codes and add some missing constants.


git-svn-id: svn://localhost/gambas/trunk@4083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 13:14:28 +00:00
Benoît Minisini
2901c85ea7 [GB.NET]
* NEW: Remove the Net.MaxPathLength constant.


git-svn-id: svn://localhost/gambas/trunk@4082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 09:45:44 +00:00
Benoît Minisini
db816a04e2 [WIKI CGI SCRIPT]
* NEW: Do not use the cache anymore.

[EXAMPLES]
* BUG: Fix some form layout in the Database example.

[GB.DB.FORM]
* BUG: DataBrowser is correctly updated now when its DataSource changes.


git-svn-id: svn://localhost/gambas/trunk@4081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-04 02:08:04 +00:00
Benoît Minisini
5b853ba5f3 [INTERPRETER]
* NEW: Quote comma in Html$().

[GB.WEB]
* NEW: Response.SetCookie() has a new optional argument to set if the 
  cookie is "HttpOnly".
* NEW: Session cookies are now automatically "HttpOnly".


git-svn-id: svn://localhost/gambas/trunk@4079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-03 09:52:28 +00:00
Benoît Minisini
ce3c5d7e53 [INTERPRETER]
* BUG: The previous Write new feature really works now.


git-svn-id: svn://localhost/gambas/trunk@4078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-03 01:55:51 +00:00
Benoît Minisini
47ed274add [INTERPRETER]
* NEW: Write instruction can write a bunch of bytes from a pointer address.


git-svn-id: svn://localhost/gambas/trunk@4077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-03 01:45:52 +00:00
Benoît Minisini
2afe7d8f6b [DEVELOPMENT ENVIRONMENT]
* NEW: Some cosmetic changes in system information dialog and tips dialog.


git-svn-id: svn://localhost/gambas/trunk@4076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-02 16:44:20 +00:00
Radek Fryšták
8385b604a3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation
* NEW: Update czech tips


git-svn-id: svn://localhost/gambas/trunk@4075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-02 09:36:04 +00:00
Benoît Minisini
0f8eb4ed65 [GB.EVAL]
* OPT: Use an intermediate string buffer when analyzing a line of code.


git-svn-id: svn://localhost/gambas/trunk@4074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 18:50:07 +00:00
Benoît Minisini
0c6a0e39c5 [GB.QT4]
* OPT: Optimizations in the Action property management.

[GB.GTK]
* OPT: Optimizations in the Action property management.


git-svn-id: svn://localhost/gambas/trunk@4073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 14:19:34 +00:00
Benoît Minisini
8ff148431c [INTERPRETER]
* BUG: Fix FOR...NEXT loops for Single and Float datatypes.


git-svn-id: svn://localhost/gambas/trunk@4072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 11:46:32 +00:00
Benoît Minisini
a21a408a78 [EXAMPLES]
* NEW: New StarField example made by Laurent Carlier.


git-svn-id: svn://localhost/gambas/trunk@4071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:59:00 +00:00
Benoît Minisini
52552bd548 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a project filter in the recent project list of the welcome 
  dialog.

[GB.REPORT]
* BUG: Fix a typo mistake in ReportVBox class.


git-svn-id: svn://localhost/gambas/trunk@4070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:39:54 +00:00
Benoît Minisini
69c6c265d4 [GB.SDL.SOUND]
* BUG: Do not stop watching a file descriptor if it is not watched at
  component exit.


git-svn-id: svn://localhost/gambas/trunk@4069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 23:56:33 +00:00
Benoît Minisini
44a657ac51 [INTERPRETER]
* BUG: Fix FOR...NEXT loop with Byte, Short and Single datatypes.
* BUG: FOR...NEXT loop optimization now works correctly if the step sign
  changes.


git-svn-id: svn://localhost/gambas/trunk@4068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 23:42:46 +00:00
Benoît Minisini
b452559b5d [INTERPRETER]
* BUG: When checking inheritance, ignore the case of the "_new" special 
  method name.

[GB.REPORT]
* BUG: Fix some bad method overrides.


git-svn-id: svn://localhost/gambas/trunk@4067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 02:35:54 +00:00
Benoît Minisini
2df008159f [INTERPRETER]
* NEW: The LIKELY() and UNLIKELY() macros do nothing now, as it seems that
  recent CPUs are better than humans for branch prediction.
* BUG: Error.Backtrace is accurate now.


git-svn-id: svn://localhost/gambas/trunk@4066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 02:28:48 +00:00
Benoît Minisini
f4854267bf [GB.DESKTOP]
* NEW: Support for LXDE in Desktop.OpenTerminal().


git-svn-id: svn://localhost/gambas/trunk@4065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:52:15 +00:00
Benoît Minisini
252895cdc6 [WEB SITE MAKER]
* BUG: Fix PayPal link.
* BUG: Fix default font in style sheets.

[INTERPRETER]
* BUG: Now an inherited method checks that it has the same signature as the
  parent method. This check is not done for a native class inherting 
  another native class. C/C++ programmers are supposed to know what they 
  are doing. :-)

[GB.DB.FORM]
* BUG: Rename all Refresh() methods as Update() in all controls, so that 
  the Refresh() method inherited from Control is not badly overridden.
* NEW: Change the way DataView chooses the height of a row.

[GB.GTK]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.

[GB.QT4]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.


git-svn-id: svn://localhost/gambas/trunk@4064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:50:38 +00:00
Benoît Minisini
97616dcc18 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix "delete container only" and "embed into container" functions in
  the form editor.
* NEW: Add a filter in the "recent" tab of the "open project" dialog.


git-svn-id: svn://localhost/gambas/trunk@4063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 19:25:40 +00:00
Benoît Minisini
6390707515 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the "Gambas web site" button tooltip in the help browser.


git-svn-id: svn://localhost/gambas/trunk@4062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 09:28:52 +00:00
Benoît Minisini
f6f0fc743f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix bad project file links in the help browser.

[GB.QT4.WEBKIT]
* BUG: Raise the Error event later, so that setting the URL property during
  its event handler works correctly.


git-svn-id: svn://localhost/gambas/trunk@4061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 00:52:40 +00:00
Benoît Minisini
28758db521 [DEVELOPMENT ENVIRONMENT]
* BUG: Generate project help pages in temporary files so that the help
  browser can put them in its history.

[GB.QT4.WEBKIT]
* BUG: The default user agent is returned when no specific user agent has 
  been set.


git-svn-id: svn://localhost/gambas/trunk@4060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 22:57:39 +00:00
Benoît Minisini
1adedd8703 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to fix Fabiens's problem with invisible completion list.


git-svn-id: svn://localhost/gambas/trunk@4059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:15:00 +00:00
Benoît Minisini
c2877d808a [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle image editor option in the options dialog.


git-svn-id: svn://localhost/gambas/trunk@4058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:06:04 +00:00
Benoît Minisini
8f356103af [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser is always refreshed when its treeview is clicked.

[EXAMPLES]
* NEW: Some little changes in TreeView example.
* BUG: Some fixes in WebCam example.

[GB.FORM.STOCK]
* BUG: Add a missing svg stock icon for "bookmark".

[GB.QT4]
* BUG: TrayIcon comes back as a virtual control.

[GB.GTK]
* BUG: TrayIcon comes back as a virtual control.


git-svn-id: svn://localhost/gambas/trunk@4057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:02:36 +00:00
Benoît Minisini
12deb8c640 [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser now opens external links in the external web 
  browser.


git-svn-id: svn://localhost/gambas/trunk@4056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 01:19:58 +00:00
Benoît Minisini
9856fc1145 [DEVELOPMENT ENVIRONMENT]
* BUG: Class help now ends with the first void line after at least one 
  help line.


git-svn-id: svn://localhost/gambas/trunk@4055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:43:14 +00:00
Benoît Minisini
ab4c224fce [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh help browser correctly when a new project is opened.
* NEW: Change auto-completion symbol icons.


git-svn-id: svn://localhost/gambas/trunk@4054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:28:51 +00:00
Benoît Minisini
c4d4cdc376 [DEVELOPMENT ENVIRONMENT]
* NEW: Add two new functions to the form editor: embedding the selected
  controls inside a newly created container, and removing a container 
  without removing the children.
* NEW: Remove some icons that are not used anymore.


git-svn-id: svn://localhost/gambas/trunk@4053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 19:02:39 +00:00
Benoît Minisini
63bc149a14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a MenuButton instead of a ComboBox to edit list properties.
* BUG: Inserting a new menu in the menu editor correctly selects it.
* BUG: The component property dialog does not crash anymore if there is no
  exported class in the project.

[GB.FORM]
* BUG: Fix mouse events handling in MenuButton controls whose MenuOnly 
  property is TRUE.

[GB.QT4]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@4052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 01:07:50 +00:00
Fabien Bodard
6c52565a8b [GB.REPORT]
* NEW: the auto filling system is reactivated, and is near to work perfectly.
* NEW: The report label have now a key property.
* BUG: %any arrangement bugs corrected



git-svn-id: svn://localhost/gambas/trunk@4051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 21:22:38 +00:00
Benoît Minisini
89187d5c7c [INTERPRETER]
* NEW: String.IsValid() is a new method that returns if a string is a valid
  well-formed UTF-8 string.


git-svn-id: svn://localhost/gambas/trunk@4050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 19:49:48 +00:00
Benoît Minisini
866c681682 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix and enhance the Report brush chooser dialog.
* NEW: Use Color.Gradient instead of Color.Merge.

[GB.FORM.STOCK]
* BUG: Add two missing SVG files for stock icons.

[GB.IMAGE]
* NEW: Color.Gradient() is a new method that creates an intermediate color 
  between two others colors by using a RGB gradient.


git-svn-id: svn://localhost/gambas/trunk@4049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 17:31:51 +00:00
Benoît Minisini
976080faee [DEVELOPMENT ENVIRONEMNT]
* NEW: Some fix in english tips.
* NEW: French translation of tips finished!


git-svn-id: svn://localhost/gambas/trunk@4048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 15:00:18 +00:00
Fabien Bodard
5b68aff097 [GB.REPORT]
*NEW: The Ignore property is now available. It allow to place an object anywhere
      relative to its parent container.
*BUG: The top padding/border and bottom are correctly taked into account for the autoresize computing
*BUG: Now the text is clipped




git-svn-id: svn://localhost/gambas/trunk@4047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 14:49:54 +00:00
Benoît Minisini
1d68e2fcde [DEVELOPMENT ENVIRONMENT]
* NEW: English and french tips were updated. Not all french tips are 
  translated yet.


git-svn-id: svn://localhost/gambas/trunk@4046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 13:40:38 +00:00
Benoît Minisini
83082048c9 [GB.DESKTOP]
* BUG: Update xdg-utils to the latest version, so that LXDE desktop is
  correctly supported.
* NEW: Desktop.RunAsRoot() runs a command as root, by using the graphical
  "su" utility of the current desktop.


git-svn-id: svn://localhost/gambas/trunk@4045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 13:02:46 +00:00