sockets Log


Commit Date  
[f26844] by Andreas Weber Andreas Weber

socket.cc: fix typo "soocket" in bind doc

2014-05-08 08:39:33 Tree
[fc56a0] by Andreas Weber Andreas Weber

socket.cc: throw socket errors with string description

2014-05-08 08:36:43 Tree
[0bd0a5] by Paul Dreik Paul Dreik

minor comment about possible enhancement

2014-01-21 21:33:15 Tree
[df80f8] by Paul Dreik Paul Dreik

minor cleanup of style - move variables closer to first use.

2014-01-21 21:22:42 Tree
[47a20f] by Paul Dreik Paul Dreik

simplify the socket constant macro

2014-01-21 21:15:02 Tree
[245222] by Paul Dreik Paul Dreik

removed unneccessary standard includes

2014-01-21 21:11:23 Tree
[b11737] by Paul Dreik Paul Dreik

replaced the "using namespace std" with std:: where needed.

2014-01-21 21:08:56 Tree
[88c826] by Paul Dreik Paul Dreik

removed load_socket_constants which seemed unneccessary

2014-01-21 21:06:20 Tree
[11f1a5] by Paul Dreik Paul Dreik

use integers instead of socket class

This is step 2 of the change - dead code has been removed.
Also, the check needed for windows specific initialization was removed
for other platforms.

2014-01-21 21:05:18 Tree
[cc6fee] by Paul Dreik Paul Dreik

first step in getting rid of the socket class

the old code has been removed with #if 0
and will soon be purged. taking it in several steps makes it easier
to see what happened.

2014-01-21 20:55:18 Tree
[939ea9] by Paul Dreik Paul Dreik

added news entry regarding PKG_DEL (bug #41218)

2014-01-21 20:21:51 Tree
[2e3722] by Paul Dreik Paul Dreik

minor Makefile adjustments
* comments on compatibility
* target for creating the tar ball
* more files in the clean target

2014-01-21 20:13:34 Tree
[c4c977] by Paul Dreik Paul Dreik

added PKG_DEL statements (bug #41218)

* the remove statements are wrapped in try/catch so it works
in octave<3.8.

2014-01-21 19:50:48 Tree
[a84ea6] by Paul Dreik Paul Dreik

use --no-window-system instead of --no-gui for backwards compatibility

2014-01-13 18:41:06 Tree
[0e795b] by "Paul Dreik "Paul Dreik

minor Makefile polishing

2014-01-04 12:28:46 Tree
[c4a725] by Carn? Draug Carn? Draug

Makefile: rename PHONY 'test' to 'check' following change fro ce249800c0f4.

2014-01-04 01:18:08 Tree
[3ad20f] by John Donoghue John Donoghue

Detect Windows and add winsock lib (bug #41086)

* src/Makefile: check $OS for Windows_NT and add windock as additional lib.

2014-01-03 13:52:05 Tree
[df01ba] by Carn? Draug Carn? Draug

Merge test script into test block of source.

* src/test_octave_sockets: removed to be included as test block in socket.cc.
* src/socket.cc: test block adapted from the test script.
* src/Makefile: adapt check target to create the necessary PKG_ADD file and
to run the tests from socket.cc.

2014-01-03 01:52:46 Tree
[f67eef] by Carn? Draug Carn? Draug

Fix warning due to comparison between signed and unsigned integer.

2014-01-02 05:33:13 Tree
[ece5f4] by Carn? Draug Carn? Draug

socket.cc: find fullpath with which ("socket") to avoid warning from autoload.

2014-01-02 05:29:45 Tree
[0ca32f] by Carn? Draug Carn? Draug

Rename sockets.cc to socket.cc.

* src/sockets.cc: renamed to socket.cc. There is no function named sockets and
because oct filenames are function names, having sockets.oct was causing
trouble. We could also have the build rules build a socket.oct from sockets.cc
but this is cleaner.
* src/socket.cc: from sockets.cc.
* src/Makefile: update source file.

2014-01-02 05:23:56 Tree
[ce2498] by Carn? Draug Carn? Draug

Replace usage of Octave_map and drop support for Octave versions < 3.2.0.

* src/sockets.cc: replace the deprecated Octave_map with octave_scalar_map. The
Octave 3.0.X series is considered long gone so workarounds for it were removed.
A lot of changes, many stylistic to follow GNU and Octave coding guidelines,
and to make C++ code look less like C. Replace hard tabs wth spaces, remove
trailing whitespace, spaces after function calls, no space after () for index,
no {} brackets for single statements, use Texinfo for documentation, check
error_state rather than is* methods for input check, use print_usage for error
message, don't bother with return value after giving an error, make disconnect
return 1 or 0 based on success, use OCTAVE_LOCAL_BUFFER to avoid memory leaks,
use fortran_vec() to speed up loops, never error because of nargout - that's
always up to the user.
* src/Makefile: drop checking of version which was required to support Octave
3.0.X which is considered long gone. Rename target `test' to `check' for
similarity with Octave core.
* DESCRIPTION: adjust dependencies to >= 3.2.0. Remove line about autoload
to use whatever's default.
* NEWS: update with new dependencies and bug fixes.

2014-01-02 05:15:01 Tree
[c68ccc] by Carn? Draug Carn? Draug

Check validity of input argument SOCKET to avoid segfault (bug #41049)

* sockets.cc (get_socket): new function to check if input is a valid
socket number.
(Fconnect, Fdisconnect, Fsend, Frecv, Fbind, Flisten, Faccept): make use of
new get_socket function to parse input. Fixes seg fault when using an integer
without a matching socket.

2014-01-02 02:27:29 Tree
[8f326d] by Carn? Draug Carn? Draug

disconnect: check nargin to avoid crash (bug #41050)

2014-01-02 01:05:30 Tree
[b5fb23] by Mike Miller Mike Miller

maint: fix hgignore regexp pattern typos

2013-09-03 11:50:42 Tree
Older >