Commit graph

111 commits

Author SHA1 Message Date
Benoît Minisini
6a793ddeb7 Replace my old depracted gmail mail by the new one.
[CONFIGURATION]
* NEW: Replace my old depracted gmail mail by the new one.
2022-09-12 15:13:13 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
gambas
5ee3fbbeee Add a tag property to the ServerSocket class, and save a few bytes in Socket and ServerSocket internal structures.
[GB.NET]
* NEW: ServerSocket: Add a tag property.
* OPT: Socket: Remove a duplicated 'path' field and save a few bytes in Socket structure.
* OPT: ServerSocket: Save a few bytes in the ServerSocket structure.
2021-05-22 00:07:40 +02:00
gambas
4864e6a54d Fix a typo in a comment.
[GB.NET]
* BUG: Fix a typo in a comment.
2021-03-18 17:21:09 +01:00
gambas
a0a2d0379c MovieBox is now implemented in Gambas, through a new Animation class.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the MovieBox Animation property.

[GB.GTK]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GTK3]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GUI.BASE]
* NEW: MovieBox is now implemented in Gambas.

[GB.QT4]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.QT5]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.
2021-01-09 10:24:56 +01:00
gambas
4861c3a2d3 SerialPort: The Close() method now takes the buffer to clear as an optional argument.
[GB.NET]
* NEW: SerialPort: The Close() method now takes the buffer to clear as an optional argument. Use 'gb.Read' for the input buffer and 'gb.Write' for the output buffer.
2020-11-09 17:39:27 +01:00
gambas
6b3e15f937 SerialPort: Add a Clear() method that clears both input and output buffers.
[GB.NET]
* NEW: SerialPort: Add a Clear() method that clears both input and output buffers.
2020-11-09 14:37:33 +01:00
gambas
687708e1b3 Socket: Automatically create an internal timer to handle connection timeout.
[GB.NET]
* NEW: Socket: Automatically create an internal timer to handle connection timeout.
* NEW: Net.ConnectionTimeout is a new status constant indicating a connection timeout.
2020-09-11 00:35:58 +02:00
gambas
e6204f4e5c UdpSocket: Fix declaration of SourcePath property.
[GB.NET]
* BUG: UdpSocket: Fix declaration of SourcePath property.
2020-08-29 14:48:21 +02:00
gambas
6612f7639b UdpSocket: Fix multicast Join() and Leave() methods.
[GB.NET]
* BUG: UdpSocket: Fix multicast Join() and Leave() methods.
2020-08-25 05:13:05 +02:00
gambas
ae21ed7f77 UdpSocket: writing does not crash anymore if the target is not defined.
[GB.NET]
* BUG: UdpSocket: writing does not crash anymore if the target is not defined.
2020-08-22 22:22:19 +02:00
gambas
97be8e7f9b UdpSocket: Correctly declare multicast virtual class.
[GB.NET]
* BUG: UdpSocket: Correctly declare multicast virtual class.
2020-08-20 13:54:32 +02:00
gambas
0112bcdd93 UdpSocket: Fix multicast support.
[GB.NET]
* BUG: UdpSocket: Fix multicast support.
2020-08-18 23:36:30 +02:00
gambas
a86cb7430f UpdSocket: Add multicast support.
[GB.NET]
* NEW: UpdSocket: Add multicast support.
2020-08-18 23:16:05 +02:00
Laurent Carlier
f1deb8e330 Remove register keyword, deprecated, now reserved keyword with C++17
Fixes "warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]"
with clang

https://en.cppreference.com/w/cpp/keyword/register
2019-10-30 06:53:09 +00:00
gambas
e365356c8b Workaround a bug in system header files on PPC systems.
[GB.NET]
* BUG: Workaround a bug in system header files on PPC systems.
2019-05-07 10:35:20 +02:00
gambas
7a5f7701ce SerialPort: Support for any port speed on Linux.
[GB.NET]
* NEW: SerialPort: Open() method now raises more detailed errors.
* NEW: SerialPort: Support for any port speed on Linux.
2019-03-08 12:32:22 +01:00
gambas
23a8fbc81d Fix UdpSocket class declaration.
[GB.NET]
* BUG: Fix UdpSocket class declaration.
2019-01-12 18:23:50 +01:00
gambas
df419c9434 UdpSocket: Host is a new property that allows to define the IP address the UDP socket will be bounded to.
[GB.NET]
* NEW: UdpSocket: Host is a new property that allows to define the IP address the UDP socket will be bounded to.
2019-01-12 18:20:38 +01:00
gambas
9b73e821ef Fix a file descriptor leak when a socket fails to connect.
[GB.NET]
* BUG: Fix a file descriptor leak when a socket fails to connect.
2018-10-12 17:12:06 +02:00
gambas
afd759b6b3 SerialPort: Port the stream routines to the new interface.
[GB.NET]
* BUG: SerialPort: Port the stream routines to the new interface. They just read and write directly now.
2017-10-15 23:18:04 +02:00
gambas
e02d028806 Socket: Don't implement custom Lof() and Eof() stream methods. Use the default ones.
[GB.NET]
* BUG: Socket: Don't implement custom Lof() and Eof() stream methods. Use the default ones.
2017-10-05 04:45:10 +02:00
gambas
9b0370eae0 Socket: Don't try to read just the available data. Just read what the users wants, and return the data actually read.
[GB.NET]
* BUG: Socket: Don't try to read just the available data. Just read what the users wants, and return the data actually read.
2017-09-30 19:27:40 +02:00
gambas
5bf2fad9f6 [GB.NET]
* BUG: Close socket on writing only if there is an error.
2017-09-29 00:27:49 +02:00
gambas
aa67ba1309 Rework the stream interface, so that the stream read & write methods just have to actually read or write the data.
[INTERPRETER]
* NEW: Rework the stream interface, so that the stream read & write methods just have to actually read or write the data.
2017-09-27 02:48:00 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
653afd7f88 [GB.NET]
* BUG: ServerSocket: Handle all error codes when listening.


git-svn-id: svn://localhost/gambas/trunk@7759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 19:53:01 +00:00
Benoît Minisini
6f80d00888 [GB.NET]
* BUG: Some little fixes related to r7748.


git-svn-id: svn://localhost/gambas/trunk@7749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 21:49:42 +00:00
Benoît Minisini
888a837352 [GB.NET]
* BUG: SerialPort: Correctly release the polling timer when the serial port is closed.


git-svn-id: svn://localhost/gambas/trunk@7579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 15:58:57 +00:00
Benoît Minisini
cb63d9ef1f [CONFIGURATION]
* NEW: Support for GNU/Hurd.

[INTERPRETER]
* NEW: Support for GNU/Hurd.

[GB.NET]
* NEW: Support for GNU/Hurd.


git-svn-id: svn://localhost/gambas/trunk@6847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-21 00:52:56 +00:00
Benoît Minisini
77670873a1 [GB.NET]
* BUG: Fix SerialPort.DTR property.


git-svn-id: svn://localhost/gambas/trunk@6804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 02:19:34 +00:00
Benoît Minisini
d7f5c2816b [GB.NET]
* BUG: Fix the DnsClient properties description: it is synchronous by 
  default.


git-svn-id: svn://localhost/gambas/trunk@6664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:16:34 +00:00
Benoît Minisini
05f31a83af [GB.NET]
* BUG: Fix a function declaration.


git-svn-id: svn://localhost/gambas/trunk@6586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-29 21:12:10 +00:00
Nigel Gerrard
e0b9fc1eac [CONFIGURATION]
* BUG: Set Cygwin Shared Library Extension to dll

[GB.JIT]
* NEW: Add conditional defines for Cygwin to allow compile:
  Use finite in place of _finite, __isnand in place of __isnan
  and __isinfd in place of __isinf.

* NEW: Remove jit_gambas_pass_dummy.cpp as this is no longer
  required to compile with later versions of llvm. Also fixes
  issue with Cygwin compile.

[GB.NET]
* NEW: Redefine TIOCOUTQ for Cygwin

[GB.SDL.SOUND]
* NEW: -lSDL needed for Cygwin linker

[INTERPRETER]
* NEW: Redefine FIONREAD for Cygwin

* NEW: Cygwin needs <strings.h> to avoid compiler issues when
  redefining strcasecmp etc.
 
[DEVELOPMENT ENVIRONMENT]
* NEW: Make the environment Cygwin aware



git-svn-id: svn://localhost/gambas/trunk@6435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 13:50:09 +00:00
Benoît Minisini
3dbf3ca320 [GB.NET]
* BUG: Fix a missing symbol lookup error.


git-svn-id: svn://localhost/gambas/trunk@6415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-03 15:01:00 +00:00
Tobias Boege
218cfadb9b [GB.NET]
* NEW: DnsClient: defer async setup to when a query is made and release
  the pipe watch afterwards as soon as possible so that Gambas processes
  don't wait on non-active but existent watches.
* NEW: One can change the Async property of DnsClient now while it is
  active; the change applies to subsequent queries.

[EXAMPLES]
* BUG: DnsClient: Don't use the special _free() method.



git-svn-id: svn://localhost/gambas/trunk@6397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-24 19:03:08 +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
15e64b9484 [GB.NET]
* NEW: SerialPort.InputBufferSize is a new property that returns the number 
  of bytes in the internal input buffer.
* NEW: SerialPort.OutputBufferSize is a new property that returns the 
  number of bytes in the internal output buffer.


git-svn-id: svn://localhost/gambas/trunk@6124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-02 14:13:00 +00:00
Benoît Minisini
458b289677 [GB.NET]
* NEW: Flushing a serial port stream now calls tcdrain() so that all 
  pending data is effectively sent.


git-svn-id: svn://localhost/gambas/trunk@6119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-01 22:36:48 +00:00
Benoît Minisini
fb673982d7 [GB.NET]
* BUG: SocketServer: Reinitialize the timeout each time the blocking mode 
  changes.


git-svn-id: svn://localhost/gambas/trunk@5696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 19:13:22 +00:00
Benoît Minisini
88ef7b2f0b [GB.NET]
* BUG: Socket: Reinitialize the timeout each time the blocking mode 
  changes.


git-svn-id: svn://localhost/gambas/trunk@5695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 19:10:30 +00:00
Benoît Minisini
c404f04bb4 [GB.NET]
* BUG: Socket connection is not blocking anymore, like it was in Gambas 2.
* BUG: Fix DnsClient defaut event declaration.


git-svn-id: svn://localhost/gambas/trunk@5689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 13:37:38 +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
7236dad76a [GB.NET]
* BUG: The type of the socket returned by SocketServer.Accept() method has
  now the same type than the server socket. Consequently, the RemoteHost, 
  RemotePort, LocalHost and LocalPort properties return the expected 
  values.


git-svn-id: svn://localhost/gambas/trunk@5416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-07 02:27:42 +00:00
Benoît Minisini
f3f10a4167 [DEVELOPMENT ENVIRONMENT]
* BUG: Notes (TODO:, FIXME:, NOTE:) can be used in comments beginning with
  two quotes.

[INTERPRETER]
* BUG: Fix possible recursion problems while freeing signal handlers.
* BUG: The output of a process is sometimes woke up ready to read whereas 
  there is nothing to read on it. Close the output immediately instead of 
  calling the callback again and again.
* BUG: Try to handle correctly errors raised during the Kill event of a
  background task. It does not work yet. :-(
* NEW: Task.Running is a new property that returns if a background task is
  running.

[GB.NET]
* NEW: Add Net.CannotAuthenticate error constant for gb.net.pop3.

[GB.NET.POP3]
* BUG: Big interface clean-up so that it matches other networking classes.
* NEW: Add a Pop3Client.Debug property. Not all "Debug" instructions have 
  been replaced yet.
* NEW: The default value of the Port property is zero now. It is 
  automatically converted to 110 or 995 according to the encryption method.
* NEW: Use the Net class for Pop3Client.Status instead of specific 
  constants.
* NEW: Rename the _PopMessage virtual class in _Pop3Client_Message to 
  follow the standard naming scheme that the wiki loves.


git-svn-id: svn://localhost/gambas/trunk@5101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-30 22:13:25 +00:00
Benoît Minisini
94a9df9c75 [GB.NET]
* NEW: SerialPort: Does the polling differently when detecting signal 
  changes.
* NEW: SerialPort.Open() method now takes an optional argument to define 
  the polling delay in milliseconds. It is 50ms by default.


git-svn-id: svn://localhost/gambas/trunk@5029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 14:52:01 +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
96615a348b [GB.NET]
* BUG: ServerSocket: Do not use the static string returned by inet_ntoa() 
  for the Connection event argument. It can be erased by ohter calls to
  inet_ntoa()!


git-svn-id: svn://localhost/gambas/trunk@4728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 14:52:21 +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