35 Commits

Author SHA1 Message Date
Jehan
d0ccdd5db9 Release: version 0.0.2. v0.0.2 2015-11-16 15:56:45 +01:00
Carbo Kuo
016eb18437 Merge pull request #15 from wang-bin/c++abi
do not use std::string which breaks c++ abi
2015-11-09 20:04:21 +01:00
Carbo Kuo
124d99bcd7 Merge pull request #9 from Jehan/master
(void) and () empty arguments are different in C.
2015-11-09 20:01:22 +01:00
Carbo Kuo
6d562268c3 Merge pull request #13 from cicku/patch-1
Refine Description in pkgconfig file
2015-11-09 19:58:47 +01:00
wang-bin
3a518c0536 do not use std::string which breaks c++ abi
Some stl types can break abi. If the program is built with g++ 5, and libstdc++ on the target platform is g++ 4.x, then it can not run
2015-11-04 18:16:24 +08:00
Christopher Meng
a55c6d26af Refine Description in pkgconfig file 2015-09-21 09:37:36 +08:00
Jehan
ba97505efc (void) and () empty arguments are different in C.
This fixes the following warning when including uchardet.h in C source,
built with -Wstrict-prototypes:
`uchardet.h:52:1: warning: function declaration isn't a prototype`
2015-09-05 15:58:56 +02:00
Carbo Kuo
84e292d1b9 Merge pull request #8 from wm4/header_fixes
Header conformance fixes
2015-08-06 12:33:03 +02:00
wm4
d59294a00e Header conformance fixes
Identifiers starting with __ are reserved for the system - user code
(including non-system libraries) must not define them.

A function which takes no parameters is declared with "(void)". In C, an
empty parameter list means that any number of parameters with
unspecified types is allowed, which is not what we want in this case.
Another reason to fix this is that compilers often warn if this legacy
feature is used, which is bothersome for API users.

Additionally, use an opaque struct as underlying type for uchardet_t.
This facilitates type-checking, as it's harder to confuse with other
types, especially in C. This is not strictly a conformance issue, but
still a nice change. Note that this is neither an API or an ABI change.
2015-08-05 22:24:49 +02:00
Carbo Kuo
47316bb194 Merge pull request #5 from llloic11/master
Multple filename in command line
2015-07-20 15:51:52 +02:00
Loic Le Loarer
07af96b3a7 Use perror for error report 2015-07-16 01:20:03 +02:00
Loic Le Loarer
1c89a2f8ff Use stdin by default as before 2015-07-16 01:15:08 +02:00
Loic Le Loarer
972d061e90 Allow multiple filename in the command line 2015-07-16 00:59:58 +02:00
Carbo Kuo
5653243699 Merge pull request #4 from nu774/fixes
Fixes
2015-06-22 16:09:54 +02:00
nu774
f5637b23b8 fix for MinGW build 2015-06-20 12:28:01 +09:00
nu774
ba6679f2b3 fix: export symbols were not passed to the linker as intended 2015-06-20 12:28:01 +09:00
Carbo Kuo
69b7133995 Add a link to rust-uchardet on README 2014-11-20 20:06:41 +01:00
Hoa V. DINH
56b8581a70 Added shared scheme 2014-10-26 00:24:03 -07:00
Hoa V. Dinh
e2dd66aa30 Build for Mac 2014-10-25 09:24:59 -07:00
Carbo Kuo
6caa8f6580 Add README 2013-11-08 07:02:50 +08:00
BYVoid
56a4c0d86c Add authors. 2011-07-13 20:16:23 +08:00
BYVoid
00177ab024 Add description of installation. 2011-07-11 23:14:57 +08:00
BYVoid
b60936abc5 Fix a wrong spell in manpage. 2011-07-11 18:15:58 +08:00
byvoid
eaab1d7868 Set permissions. 2011-07-11 18:08:26 +08:00
BYVoid
6462d45121 Add manpage uchardet.1 2011-07-11 15:49:19 +08:00
BYVoid
06e65096f1 Add comments on uchardet.h 2011-07-11 15:25:31 +08:00
BYVoid
86b4739e5a Add test cases. 2011-07-11 14:57:31 +08:00
BYVoid
84284eccf4 Update code from upstream. 2011-07-11 14:42:50 +08:00
BYVoid
76a1be36f8 Refine release.sh & debug.sh. 2011-07-10 16:52:59 +08:00
BYVoid
331af64156 Add command line interface. 2011-07-10 16:42:38 +08:00
BYVoid
1b05009d4d Update contributors information. 2011-07-10 15:43:28 +08:00
BYVoid
e948063c0e Refine ucharder.h 2011-07-10 15:41:24 +08:00
BYVoid
1094508286 Dos2unix. 2011-07-10 15:20:41 +08:00
BYVoid
9be8afdfb9 Compelete comments on intercaface. 2011-07-10 15:20:05 +08:00
BYVoid
3601900164 Initial release. 2011-07-10 15:04:42 +08:00