Commit graph

89 commits

Author SHA1 Message Date
Benoît Minisini
334c9d8beb [DEVELOPMENT ENVIRONMENT]
* NEW: Experimental "Gambas Software Farm" dialog. It allows to browse a 
  farm server, but voting and installing are not yet possible.
* NEW: Requests to the farm server are now displayed in a modal dialog with
  an optional progress bar.

[FARM SERVER]
* BUG: Fix many bugs.
* NEW: Search software by tags.

[GB.DB]
* BUG: Connections: Fix a not enough argument error.

[GB.FORM]
* NEW: URLLabel is a new control that displays a clickable URL. If the 
 'gb.desktop' component is loaded, then a browser is automatically opened 
  when clicking on the link.

[GB.GUI.BASE]
* NEW: ProgressBar now has a flat look. And a new Border property that
  allows to hide the border.

[GB.NET.CURL]
* NEW: HttpClient and FtpClient now raise a 'Cancel' event when their 
  Stop() method is called.
* BUG: Found a workaround for having accurate upload progress data.
* NEW: HttpClient.CopyFrom() is a new method that allows to fill an 
  HttpClient object with the configuration of another HttpClient object.

[GB.QT4]
* BUG: Do not use 'QEventLoop::DeferredDeletion' anymore, it is deprecated.
  Use qApp->sendPostedEvents() instead.


git-svn-id: svn://localhost/gambas/trunk@6665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:22:57 +00:00
Benoît Minisini
8e8089bc91 [FARM SERVER]
* NEW: New database structure and new protocol: the versions are now stored
  as integer. It's up to the client to transfrom a "X.Y.Z" version number 
  into an integer that can then be compared directly.

[GB.NET.CURL]
* NEW: HttpForm.AddFile() now raises an error if the provided path is a 
  directory.


git-svn-id: svn://localhost/gambas/trunk@6592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 16:14:32 +00:00
Benoît Minisini
5bb0e3820c [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.

[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.

[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
  already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items 
  arrangement.

[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that 
  strange Qt bug.


git-svn-id: svn://localhost/gambas/trunk@6578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 00:50:59 +00:00
Benoît Minisini
6734c6714a [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on the publish dialog box. Now tags and dependencies 
  can be edited, and a new user can be registered.

[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote 
  for it, and search the software database.

[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.

[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.


git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 20:06:18 +00:00
Benoît Minisini
c9f03a1150 [GB.NET.CURL]
* NEW: Add a Gambas part to the component.                                                                                                                                                                                                                                     
* NEW: HttpForm is a new class that inherits HttpClient and that allows to                                                                                                                                                                                                     
  post HTML forms easily.


git-svn-id: svn://localhost/gambas/trunk@6567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-19 22:18:10 +00:00
Benoît Minisini
a6840047db [GB.NET.CURL]
* BUG: Disable debugging messages.


git-svn-id: svn://localhost/gambas/trunk@6430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-27 08:59:19 +00:00
Benoît Minisini
bbafcf41fc [GB.NET.CURL]
* BUG: HttpClient: Set timeout even in asynchronous mode.
* BUG: FtpClient: Set timeout even in asynchronous mode.


git-svn-id: svn://localhost/gambas/trunk@6429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 18:53:39 +00:00
Benoît Minisini
4341abc468 [GB.NET.CURL]
* BUG: HttpClient.Put() method should send its data correctly now.
* NEW: HttpClient.PutFile() is a new method to send a PUT request by taking
  the data from a file.


git-svn-id: svn://localhost/gambas/trunk@6423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 20:22:54 +00:00
Benoît Minisini
c87b7c4bb5 [GB.NET.CURL]
* BUG: The VerifyPeer and VerifyHost properties are really taken into 
  account now. But I'm not sure that everything is fixed.


git-svn-id: svn://localhost/gambas/trunk@6330 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-19 22:24:36 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
9f8a619082 [GB.NET.CURL]
* NEW: FtpClient.NoEPSV is a new property that prevents the use of EPSV. In
  other words, the FtpClient will always use PASV.


git-svn-id: svn://localhost/gambas/trunk@5870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:32:15 +00:00
Benoît Minisini
7181a4f6ba [GB.NET.CURL]
* BUG: Try to make gb.net.curl compile with old versions of libcurl.


git-svn-id: svn://localhost/gambas/trunk@5801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 19:20:52 +00:00
Benoît Minisini
99385dca5d [GB.NET.CURL]
* NEW: Curl.SSL.VerifyPeer and Curl.SSL.VerifyHost are two new properties 
  that allow to define the corresponding options of a CURL connection.


git-svn-id: svn://localhost/gambas/trunk@5771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-04 12:03:48 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
00bcbf0c5d [GB.NET.CURL]
* BUG: FtpClient: Define the file size explicitely when uploading.


git-svn-id: svn://localhost/gambas/trunk@5766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-29 23:27:59 +00:00
Benoît Minisini
4e5099500a [GB.NET.CURL]
* NEW: HttpClient Progress event is raised now.
* BUG: FtpClient and HttpClient Progress event work as expected now.


git-svn-id: svn://localhost/gambas/trunk@5675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-24 22:23:22 +00:00
Benoît Minisini
172f592053 [GB.NET.CURL]
* NEW: HttpClient now raises the Progress event.


git-svn-id: svn://localhost/gambas/trunk@5664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 19:04:37 +00:00
Benoît Minisini
3a1b334193 [GB.NET.CURL]
* NEW: New Progress event raised while the FtpClient is downloading or 
  uploading some data. The event is not raised by the HttpClient yet.
* NEW: FtpClient has four new read-only properties to get information on
  uploading and downloading progress: Downloaded, Uploaded, TotalDownloaded
  and TotalUploaded.


git-svn-id: svn://localhost/gambas/trunk@5663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-19 15:10:22 +00:00
Benoît Minisini
5bb744d18b [GB.NET.CURL]
* BUG: Don't try to raise the Read event again and again if there is no 
  event handler for that event.


git-svn-id: svn://localhost/gambas/trunk@5584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-19 19:01:49 +00:00
Adrien Prokopowicz
09c28801f7 [GB.NET.CURL]
* BUG: Initialize the HTTP data buffers before filling them.

[GB.XML.HTML]
* BUG: The XmlElement.GetChildById() method is now correctly implemented.

git-svn-id: svn://localhost/gambas/trunk@5581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-15 20:06:05 +00:00
Benoît Minisini
9eabb5772b [GB.NET.CURL]
* NEW: HttpClient.PostFile() is a new method that sends a POST request, 
  taking the data from a file and not from a string.


git-svn-id: svn://localhost/gambas/trunk@5560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-23 23:21:01 +00:00
Benoît Minisini
f79bde1d6a [INTERPRETER]
* NEW: GB.Stream.Eof() is a new API that returns if there is something to 
  read on a stream, by taking the 'Line Input' internal buffer into 
  account.

[GB.NET.CURL]
* NEW: Now the Read event is raised again and again while there is 
  something to read.


git-svn-id: svn://localhost/gambas/trunk@5554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-17 11:05:34 +00:00
Benoît Minisini
9c829d258e [INTERPRETER]
* NEW: A new interpreter API that allows a component to tell that its 
  custom stream data is immediately available.
* BUG: GB.Stream.SetBytesRead() now increments the internal number of read
  bytes, so that the 'Line Input' buffer is taken into account.

[GB.NET.CURL]
* NEW: The FtpClient or HttpClient Read event is now called as long as 
  there is something to read *and* the event handler actually read at least
  one byte.
* BUG: The handle of a curl object is now -1 (i.e. it is not available).
* BUG: The data received by a curl object is immediately available to the
  READ instruction.


git-svn-id: svn://localhost/gambas/trunk@5553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-17 00:44:48 +00:00
Tobias Boege
9cd573f4ef [GB.NET.CURL]
* BUG: Don't crash when FtpClient.Exec() gets an array with empty strings



git-svn-id: svn://localhost/gambas/trunk@5552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-16 18:57:16 +00:00
Benoît Minisini
3a4caa35ab [GB.NET.CURL]
* BUG: Don't crash if FtpClient.Exec() gets a void array as commands array.


git-svn-id: svn://localhost/gambas/trunk@5551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-16 17:08:10 +00:00
Benoît Minisini
ff507f5dde [GB.NET.CURL]
* BUG: HttpClient: Allows null data when using the Post() or Put() method.


git-svn-id: svn://localhost/gambas/trunk@5542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-10 16:06:56 +00:00
Benoît Minisini
13dd04d5a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the 
  welcome screen text.

[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version 
  instead of 'X.YY.ZZZZ', which is actually useless.

[GB.COMPRESS]
* BUG: Remove useless code never compiled.

[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.

[GB.GSL]
* BUG: Remove useless code never compiled.

[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
  the same image several times trigger a GdkPixbuf -> Cairo surface 
  conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
  value has really changed.

[GB.NET]
* BUG: Remove useless code never compiled.

[GB.NET.CURL]
* BUG: Remove useless code never compiled.

[GB.NET.SMTP]
* BUG: Remove useless code never compiled.

[GB.V4L]
* BUG: Remove useless code never compiled.


git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-03 22:06:35 +00:00
Benoît Minisini
4512fa0c1d [GB.NET.CURL]
* BUG: Fix memory leaks when asynchronous clients are pending when quitting
  the program.


git-svn-id: svn://localhost/gambas/trunk@5392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-28 22:55:23 +00:00
Benoît Minisini
bafcbb069a [GB.NET.CURL]
* BUG: Initialize the curl library correctly!


git-svn-id: svn://localhost/gambas/trunk@4823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 17:20:53 +00:00
Laurent Carlier
6b8cf6448e [CONFIGURATION]
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.


git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 05:55:35 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
71d85e8a84 [GB.NET.CURL]
* BUG: Fix allocation of initial FtpClient URL.


git-svn-id: svn://localhost/gambas/trunk@4516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-29 01:52:54 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
fd50e16ef7 [GB.NET.CURL]
* BUG: FtpClient and HttpClient actually must be asynchronous by default.


git-svn-id: svn://localhost/gambas/trunk@4218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 20:22:05 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +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
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
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
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
147a5f4de6 [GB.NET.CURL]
* BUG: Refuse void URLs in HttpClient and FtpClient.


git-svn-id: svn://localhost/gambas/trunk@3905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 11:04:52 +00:00
Benoît Minisini
96cb5dda39 [GB.NET.CURL]
* BUG: HttpClient.Post and HttpClient.Put are now more tolerant when 
  checking the Content-Type validity.


git-svn-id: svn://localhost/gambas/trunk@3897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-22 22:24:41 +00:00
Benoît Minisini
4a9812de29 [GB.NET.CURL]
* BUG: Fix HttpClient URL property.
* NEW: The default HttpClient user-agent string is now (on Linux) :
  "Gambas/3.0 (gb.net.curl; Linux)"


git-svn-id: svn://localhost/gambas/trunk@3896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-22 22:20:32 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
9d69842038 [GB.NET.CURL]
* NEW: Support for the https protocol in the HTTP client.


git-svn-id: svn://localhost/gambas/trunk@3868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-02 16:09:04 +00:00