Anony Moose
c23fbfa9f8
Removed commented code and fixed broken functions for Lossless_UDP tox_array.
2013-08-25 22:06:54 +00:00
Anony Moose
76761a605b
Modified Lossless_UDP connections to work with tox_array.
2013-08-25 17:55:54 +00:00
Anony Moose
9a7f7b5ec4
Added array for loop.
2013-08-24 21:45:45 +00:00
Anony Moose
ae3ab2efa4
Some more style changes
2013-08-24 20:54:03 +00:00
Anony Moose
39101b00a2
Fixed style in several macros.
2013-08-24 20:52:20 +00:00
Anony Moose
4326c4c8b5
Fixed semantics of tox_array (should also be more memory efficient).
2013-08-24 20:34:38 +00:00
irungentoo
05167a9294
Merge pull request #526 from JamoBox/patch-1
...
fixed typos
2013-08-24 15:44:03 -07:00
JamoBox
7fa17f9ab4
consistency check
...
fixed grammar to maintain consistency of output
2013-08-24 23:21:48 +01:00
JamoBox
e44ebb184a
fixed typos
...
fixed a couple of typos in the output messages
2013-08-24 22:59:58 +01:00
irungentoo
e3da5d1077
Merge pull request #523 from jin-eld/fix-configure-help-typo
...
Fix typo in configure script help text
2013-08-24 10:11:49 -07:00
jin-eld
fe7e69ac4a
Fix typo in configure script help text
...
It's "bootstrap", not "boostrap" :P
2013-08-24 16:50:11 +03:00
irungentoo
47476b375c
Merge pull request #522 from jin-eld/fix-out-of-tree-builds
...
This fixes out of tree builds
2013-08-24 06:31:25 -07:00
jin-eld
9bec6f0183
This fixes out of tree builds
...
Should be references from top_builddir
2013-08-24 16:20:48 +03:00
irungentoo
dc0bc49960
Merge pull request #521 from stqism/docs
...
Updated the INSTALL.md to reflect the new build system
2013-08-24 04:56:22 -07:00
Sean Qureshi
e1259363ed
Updated the INSTALL.md to reflect the new build system
2013-08-24 00:17:04 -07:00
irungentoo
f98e0f59aa
Merge pull request #520 from jin-eld/tune-pkg-config
...
Let clients include <tox/tox.h>
2013-08-23 18:52:21 -07:00
jin-eld
af05473bd9
Let clients include <tox/tox.h>
...
...otherwise it's more difficult for them to find the header when
pkg-config is not available.
2013-08-24 04:41:35 +03:00
irungentoo
c2c4ad8e5b
Merge pull request #484 from jin-eld/shared-lib-pr
...
autotools build scripts - improved PR version 2
2013-08-23 17:43:27 -07:00
jin-eld
1ec70337cf
Remove cmake build system
2013-08-24 03:36:43 +03:00
jin-eld
974b8fb8bf
Move travis build to autotools
2013-08-24 03:25:08 +03:00
jin-eld
50c8a820e5
Implemented autotools based build scripts
...
supported options:
--with-dependency-search=DIR will tell configure to look for various
dependencies in DIR/include and DIR/lib
Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.
Ncurses and libconfig are handled via the default pkg-config way, see
./configure --help=short for detailed information.
The tox library is compiled as libtoxcore in shared and static variants,
public headers are installed to ${prefix}/include/tox
A pkg-config libtoxcore.pc configuration file is provided.
Use ./configure --help for a full list of configure options or
./configure --help=short for the options that I added.
To generate the configure script after pulling from git use:
autoreconf -i
To generate a release tarball use:
make dist
Unit tests are handled by the libcheck library integration that is provided
by autotools, use:
make check
to compile and run the tests.
Unit tests are currently optional, i.e. - if the check library is not
found on the system, then tests will be disabled. Same goes for nTox and
DHT bootstrap daemon - they will be enabled or disabled depending on the
availability of ncurses (for nTox) or libconfig (for DHT bootstrap
daemon).
The above can be also tuned by:
--enable-tests / --disable-tests
--enable-ntox / --disable-ntox
--enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
2013-08-24 03:25:07 +03:00
jin-eld
e658892793
Rename core directory because of autoconf name clash
...
While doing the checks configure might generate "core" files and will
then try to remove them. Having a "core" directory generates an error
while runing the configure script.
There's no workaround but to rename the core directory.
2013-08-24 03:25:07 +03:00
irungentoo
e2aa8161ad
Merge pull request #519 from manuel-arguelles/pcfile
...
Add pkg-config file
2013-08-23 14:28:40 -07:00
Manuel Argüelles
33ee73fffa
Add pkg-config file
...
Generate and install a toxcore.pc file to be used with pkg-config.
2013-08-23 15:31:24 -05:00
irungentoo
f8f550e2f0
Merge branch 'new-api'
...
New, cleaner public API added. see: core/tox.h
This does not break anything because the old API is still there.
You are however encouraged to switch to the new API.
2013-08-23 15:45:34 -04:00
irungentoo
a71361d890
Replaced some defines with enums.
2013-08-23 15:33:38 -04:00
irungentoo
05f3ae1734
Merge pull request #518 from manuel-arguelles/make_install
...
Add entry to allow make install. Always build static and shared libraries
2013-08-23 12:29:30 -07:00
Manuel Argüelles
d746a01fbc
Add entry to allow make install
...
Always compile static and shared library, SHARED_TOXCORE is
depreciated, "make install" places files on default prefix.
2013-08-23 14:10:17 -05:00
irungentoo
eb0bb66a20
Fixed some comments.
2013-08-23 11:02:01 -04:00
irungentoo
0f77a2d131
Added tox_ to 2 typedefs.
2013-08-23 10:34:10 -04:00
irungentoo
658bfab41e
Forgot to commit a file in last commit.
2013-08-23 10:29:13 -04:00
irungentoo
9d3a8d94f2
New API done and tested.
...
Some stuff needs to be cleaned a bit though.
2013-08-23 10:26:52 -04:00
irungentoo
bcb87139a2
Merge branch 'master' into new-api
2013-08-23 06:50:42 -04:00
irungentoo
4d89d63c3f
Removed useless and broken tests.
2013-08-23 06:40:30 -04:00
irungentoo
9eddeb0fd3
Merge pull request #517 from stqism/screw-nTox_win32
...
Removed nTox_win32
2013-08-23 03:35:06 -07:00
irungentoo
733066a57e
Added TOX prefix to enum.
2013-08-23 06:31:19 -04:00
Sean Qureshi
97aef1442d
Removed nTox_win32
2013-08-23 03:30:56 -07:00
irungentoo
c1888fb30b
Merge pull request #516 from jin-eld/remove-toxic
...
Remove toxic from core repository (moved to https://github.com/Tox/toxic )
2013-08-23 03:28:22 -07:00
jin-eld
c759967ad4
Remove toxic from core repository
...
New location is:
https://github.com/Tox/toxic
2013-08-23 11:31:38 +03:00
irungentoo
cabc5add79
New api proposal.
2013-08-22 18:40:29 -04:00
irungentoo
4711cdb6c4
Merge pull request #515 from manuel-arguelles/unicode_optional
...
Make wide character support optional
2013-08-22 14:10:09 -07:00
Manuel Argüelles
7ffa4017aa
Make wide character support optional
...
Issue #514 . FindCursesw modified to make it simpler. Wide character
can be disable by passing NO_WIDECHAR=ON.
2013-08-22 15:57:34 -05:00
irungentoo
7719a9ed58
init_cryptopacket is now called by new_DHT.
2013-08-22 13:19:38 -04:00
irungentoo
f249084772
Merge pull request #512 from manuel-arguelles/toxic_unicode
...
Add wide char support in toxic (issue #440 )
2013-08-21 16:08:10 -07:00
irungentoo
eec11fcc58
Merge pull request #511 from sanketsparmar/fixed_quotes
...
Fixed segfault and added support for single quotes in toxic
2013-08-21 15:54:56 -07:00
Manuel Argüelles
d5e96fe670
Remove fix_name() function
...
With unicode support this function is not longer valid.
2013-08-21 16:24:33 -05:00
Manuel Argüelles
93789396b1
Add wide char support in toxic (issue #440 )
...
Set current locale, use of get_wch instead of getch for reading, use
wctomb and friends to convert back from wchar_t, link with
cursesw. Unicode support is only added to chat windows.
2013-08-21 16:19:35 -05:00
Manuel Argüelles
d840e8a743
Add cmake module for ncursesw
...
Default Curses module fails to detect the wide char version of curses
when both are installed. Current module should do better.
2013-08-21 16:11:07 -05:00
Sanket Parmar
155823e7ce
Fixed segfault and added support for single quotes in toxic
2013-08-21 23:27:34 +05:30
irungentoo
c9a88607c2
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
2013-08-21 09:03:44 -04:00