Commit graph

96 commits

Author SHA1 Message Date
Benoît Minisini
0649088547 [GB.QT5.OPENGL]
* BUG: Fix Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 23:34:00 +00:00
Benoît Minisini
9d6820dd88 [DEVELOPMENT ENVIRONMENT]
* NEW: The system colors of the color choose dialog are now dynamically 
  filled from the Color class information. Consequently, you can add new 
  colors by extending and adding new color constants or properties to the 
  Color class in your project.
* BUG: Prevent a possible crash in the farm client request manager.

[GB.GTK]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.GTK3]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.QT4]
* BUG: The color properties of the Color class are now correctly read-only.

[GB.QT5]
* BUG: The color properties of the Color class are now correctly read-only.


git-svn-id: svn://localhost/gambas/trunk@7189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 12:59:14 +00:00
Nigel Gerrard
8c59165188 [GB.NET.CURL]
* BUG: Rename CURL_CopyFrom function to CURL_copy_from as defined in CCurl.h and used in CHttpClient.c.
           Enables compile in Cygwin

git-svn-id: svn://localhost/gambas/trunk@6858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-23 15:25:18 +00:00
Benoît Minisini
6d0511cded [COMPILER]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-17 23:33:38 +00:00
Benoît Minisini
4faa9876bf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial focus of welcome dialog.

[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to 
  avoid an incorrect "circular reference" message.

[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.

[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Benoît Minisini
0ca90d8c7e [DEVELOPMENT ENVIRONMENT]
* BUG: Use the 'gb.markdown' component for converting help comments.
* NEW: The software farm window can now download software, but cannot 
  install them yet.

[GB.FORM]
* BUG: ImageView: Setting the Image property to NULL correctly resets the
  control.

[GB.MIME]
* BUG: MimePart.ContentType is actually a read-write property.

[GB.NET.CURL]
* NEW: HttpClient: Add a TargetFile property that allows to override the
  corresponding argument in Get(), Put() and Post() methods.


git-svn-id: svn://localhost/gambas/trunk@6680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-26 23:41:04 +00:00
Benoît Minisini
b9bfa324eb [GB.NET.CURL]
* BUG: HttpClient: Internal header array is now correctly managed.


git-svn-id: svn://localhost/gambas/trunk@6675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-24 12:38:00 +00:00
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