irungentoo
4c4ffb7409
Fixed case where a recv and a sending file would have the same number.
...
recv file numbers are now (file num in packet + 1) << 16
2015-03-09 14:32:37 -04:00
irungentoo
73b9cf48f9
Merge branch 'worfox-new_api' into new_api
2015-03-08 19:08:33 -04:00
Christoffer Sterner
3315fd2571
Change LOGGER_DEBUG to LOGGER_ERROR for fail bind
2015-03-07 23:45:00 +01:00
Christoffer Sterner
10ca292f24
Change fprintf debug into LOGGER_DEBUG for consistency
2015-03-07 22:39:27 +01:00
irungentoo
2af1608059
Fixed debug fprintf.
2015-03-07 16:16:25 -05:00
irungentoo
14af278ca8
Updated File request packet to new format.
...
[uint8_t packet_id (PACKET_ID_FILE_SENDREQUEST)][uint8_t file_number]
[uint32_t type][uint64_t file_size][filename (currently max 255 bytes)]
recv file numbers are << by 16 to distinguish them from sending files.
2015-03-06 22:06:58 -05:00
irungentoo
20090ea661
Fixed typedef.
2015-03-06 21:37:00 -05:00
irungentoo
f66f9fe76e
enums are no longer typedefed to uint8_t.
2015-03-05 12:49:38 -05:00
irungentoo
ac7da66529
Code cleanups.
...
Fixed wrong variable used, removed useless elements of struct.
2015-03-05 12:30:50 -05:00
aaannndddyyy
c955728ac7
spelling, punctuation, ...
2015-03-05 10:54:42 +00:00
aaannndddyyy
1e17b468e6
minor punctuation fixes
...
only minor punctuation fixes. not changed the wording, except for one 'logical typo'.
2015-03-05 09:19:35 +00:00
irungentoo
8524911177
Removed useless TODO comments.
2015-03-04 20:28:17 -05:00
irungentoo
6c37f490e0
Merge branch 'jin-eld-rpm'
2015-03-03 19:11:11 -05:00
Jin^eLD
379522c93e
Add spec file for rpm generation
...
The spec file gets processed by configure, the version will be filled
in automatically.
To generate an rpm make sure to install rpm-build, then "configure" as you
would usually do, run "make dist", then process the generated tarball
with rpmbuild:
rpmbuild -tb tox-0.0.0.tar.gz
Tested on Fedora 22.
2015-03-04 00:35:25 +01:00
Jin^eLD
b0ffef23a6
Add README.md to the dist tarball
2015-03-03 23:11:10 +01:00
Jin^eLD
0e00a51605
Fix dist target
...
Modify tar options to allow extra long filen and directory names, if not set
souces under toxencryptsave might not end up in the tarball.
2015-03-03 23:09:51 +01:00
irungentoo
7a82565c8c
Merge branch 'port_range_option' of https://github.com/saneki/toxcore into new_api
2015-03-02 21:03:34 -05:00
irungentoo
36c3a270fd
Properly fixed encryptsave_test.c
2015-03-01 20:31:55 -05:00
irungentoo
680c7c2ecd
Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_api
2015-03-01 20:14:01 -05:00
mannol
45e8807c1e
Make toxav thread safe
2015-03-01 18:45:04 +01:00
irungentoo
b780e688c9
Merge branch 'urras-patch-1'
2015-02-28 21:15:47 -05:00
Dubslow
2d3077904e
Update encryption autotest
2015-02-28 12:55:40 -06:00
irungentoo
8e59a826cb
Removed backwards compatibility code from core.
...
That function should be static.
2015-02-27 21:18:43 -05:00
irungentoo
d015879cd3
Test fixes.
2015-02-27 20:33:43 -05:00
Dubslow
e632ef8a47
Realign toxencryptsave with new API
2015-02-27 17:42:36 -06:00
saneki
6e8762b30a
Allow for specifying the port range to use in Tox_Options
2015-02-27 11:58:00 -06:00
irungentoo
c5b03cdd9a
Implemented custom packet functions in new api.
2015-02-26 13:17:22 -05:00
irungentoo
e5791ed9ef
Added different error codes for custom packet functions in Messenger.
2015-02-26 13:13:26 -05:00
irungentoo
e61e2919a9
More tests ported to new api.
2015-02-26 08:24:19 -05:00
irungentoo
33370edee6
Changes to custom packet functions in Messenger.
...
Added function for rtp A/V packets, modified functions to behave
correctly for the new api.
2015-02-26 08:05:57 -05:00
Urras
a371ea0bd9
Minor changes to README
...
Regarding documentation and an outdated link
2015-02-25 22:39:23 -05:00
irungentoo
76dfccf2d6
Ported some tests to the new api.
2015-02-25 21:09:14 -05:00
irungentoo
ca997bda70
toxav new api fixes.
2015-02-25 20:51:37 -05:00
irungentoo
837d4698bb
Fixed bug.
2015-02-25 19:50:18 -05:00
irungentoo
d83efd35dd
Ported some of the code in testing/ to the new api.
2015-02-24 20:29:01 -05:00
irungentoo
8fa8e9dcd7
Remove avatar stuff from Messenger.
...
The new api sees avatars as a different type of file transfer.
2015-02-24 19:39:19 -05:00
mannol
9e65cd5337
Implement pausing
2015-02-24 23:27:20 +01:00
irungentoo
972e6a9ac5
Use edge trigger on listen socket in TCP_Server.
...
This may or may not improve things.
2015-02-23 14:46:38 -05:00
irungentoo
085f90432f
When socket dies, kill it.
...
Use epoll to detect when socket closed connection.
2015-02-22 19:45:28 -05:00
irungentoo
bca649fa67
Fixed possible TCP server bug.
...
Function returned success when should have returned failure.
2015-02-21 21:33:34 -05:00
mannol
29601feb76
New msi protocol
2015-02-21 01:07:22 +01:00
irungentoo
ca21569a9d
Implemented callbacks.
2015-02-20 18:17:32 -05:00
irungentoo
41446f61e3
Implemented message send functions in public api.
...
Internal message functions now return better error codes.
2015-02-20 17:24:24 -05:00
irungentoo
af881e820a
Merge branch 'fixed-receipts' into new_api
2015-02-20 16:39:33 -05:00
irungentoo
c87da9203e
Tox connection function and callback should now work as expected.
...
Changes in Messenger to call the callback every time the connection
type changes from TCP to UDP.
2015-02-19 20:51:19 -05:00
mannol
efe31ec92f
Removed extra msi header and started testing
2015-02-20 00:23:38 +01:00
irungentoo
53d0eb8937
Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_api
2015-02-19 17:16:48 -05:00
irungentoo
c037aefe9d
Typing and status functions implemented.
2015-02-19 16:54:49 -05:00
Dubslow
aca41475fa
Put const adjective before type nouns
...
(Done with two applications of "sed -i -r "s/(\\w+) const\\b/const \\1/g" toxcore/tox.*" )
Conflicts:
toxcore/tox.c
2015-02-18 17:41:26 -06:00
irungentoo
308cf5da6d
use bool in is typing callback.
2015-02-18 18:29:32 -05:00