Commit Graph

1076 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
771d5ed0b0 Prefix-based constructors for IPAddress 2012-06-12 03:16:44 +00:00
Aleksandar Fabijanic
74b8911d13 JSON Windows compilation 2012-06-11 23:44:56 +00:00
Franky Braem
5de28ec806 Add JSON sample 2012-06-11 20:39:40 +00:00
Franky Braem
531ebad467 Add benchmark application as sampleBenchmark is the same as describe here: http://lijoblogs.blogspot.be/2011/11/comparison-and-benchmark-of-c-json.html 2012-06-11 20:39:06 +00:00
Franky Braem
6f8bbc67d1 Use 64 bit integers (if available) when int is not big enough 2012-06-11 20:36:32 +00:00
Franky Braem
1d674b745e Continue processing invalid files when we got an exception and show the value when we didn't expect a value 2012-06-11 20:31:36 +00:00
Shan Jiang
67490b5beb [trunk] Update visual studio project file (64-bit)
* Update vs2010 64-bit project file
   * Add FIFOBufferStream
   * Update Dynamic group
   * Add ArrayTest
   * Add Latin2Encoding & Windows1250Encoding etc.

* For some reason I can not load the vs2008's 64-bit solution.
2012-06-09 09:54:43 +00:00
Shan Jiang
1a133994a7 [trunk] Merge from branch 1.4.4 rev 1834 (MingW build issue) 2012-06-09 09:51:23 +00:00
Shan Jiang
f1abbfb94e [trunk] Update FIFOBufferStream and visual studio project file
* Fix FIFOBufferStream: The free function FIFOBuffer& FIFOBufferStreamBuf::fifoBuffer() should be declared as inline explicitly. 

* Update vs2005 and vs2008 project file (Foundation and testsuite, win32 only for now).
   * Add FIFOBufferStream
   * Update Dynamic group
   * Add ArrayTest
   * Add Latin2Encoding & Windows1250Encoding etc.

* TextConverterTest.cpp won't compile for my Japanese visual studio, cause the utf8char string literals can not be parsed. Maybe later we should load the string from file.
2012-06-09 09:12:56 +00:00
Aleksandar Fabijanic
41c84366d6 spaces to tabs 2012-06-08 03:03:14 +00:00
Aleksandar Fabijanic
69bd6f6ee9 FIFOBufferStream (g++ pacify) 2012-06-08 02:24:36 +00:00
Aleksandar Fabijanic
cfbcce0481 FIFOBuferStream and tests (Windows/VS2010 only compiled/tested) 2012-06-07 03:59:13 +00:00
Aleksandar Fabijanic
4bb6e0ff42 Updated SocketReactor sample with FIFOBuffer. 2012-05-30 02:56:32 +00:00
Aleksandar Fabijanic
1863c26cfc spaces to tabs 2012-05-30 00:39:30 +00:00
Marian Krivos
7eb7176397 SF:# 3522084 : AbstractConfiguration does not support 64-bit integers 2012-05-26 17:25:36 +00:00
Aleksandar Fabijanic
484510dec5 support for FIFOBuffer in StreamSocket::read/writeBytes() 2012-05-19 05:16:42 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
e5e3a57baf updated convertToRegFormat name to begin with lowercase and added test 2012-05-18 03:27:52 +00:00
Aleksandar Fabijanic
f5bb43f9d3 documentation update 2012-05-18 03:00:27 +00:00
Aleksandar Fabijanic
c1adffb39c unsigned fix 2012-05-17 02:39:35 +00:00
Aleksandar Fabijanic
8b43d003f0 NumberParser limits test 2012-05-17 02:05:44 +00:00
Franky Braem
425587f499 Catch Poco::SyntaxException for invalid JSON values 2012-05-15 20:52:32 +00:00
Franky Braem
5c8e55cd34 Remove testConfiguration and testItunes method. testConfiguration will be moved to Util testsuite 2012-05-15 19:35:41 +00:00
Aleksandar Fabijanic
6013d9ddfa fixed project GUIDs (did not help ProGen) 2012-05-15 02:33:07 +00:00
Aleksandar Fabijanic
7503c00b8b test files directory detection fix 2012-05-15 02:16:37 +00:00
Aleksandar Fabijanic
97ab4f1926 JSON testsuite Makefile 2012-05-15 02:04:24 +00:00
Aleksandar Fabijanic
3a46515ded JSON VS 2010 build (library and tests) 2012-05-15 01:54:26 +00:00
Marian Krivos
fa49f5b850 added basic tests for Latin2, Latin9, Windows-1250, Windows-1251, Windows-1252 2012-05-14 18:54:38 +00:00
Marian Krivos
11539da851 added Buffer append() 2012-05-13 17:23:57 +00:00
Marian Krivos
c41196bd5b added methods to the template Buffer class : copy ctor, ==, !=, clear, =, swap, empty 2012-05-13 17:00:42 +00:00
Marian Krivos
dd5eea6cd1 revert Buffer.h 2012-05-13 15:34:20 +00:00
Marian Krivos
5a778ca48f Backport Buffer from the old trunk 2012-05-12 21:01:05 +00:00
Marian Krivos
a83d99abfb fix JSON testsuite linking 2012-05-12 20:57:21 +00:00
Franky Braem
d63e94cc98 Util depends on JSON. So build JSON before Util 2012-05-11 19:59:17 +00:00
Franky Braem
6e51d785ad Uncomment Makefile for JSON testsuite 2012-05-09 19:48:56 +00:00
Franky Braem
8c97338d5b Add JSON dependencies file 2012-05-09 19:47:36 +00:00
Franky Braem
e780058dd3 Add Makefile for JSON testsuite 2012-05-09 19:46:51 +00:00
Aleksandar Fabijanic
369ca9cd52 fixed SF# 3522906: Unregistering handlers from SocketReactor 2012-05-04 03:39:24 +00:00
Franky Braem
8b7c37a837 Add JSONConfiguration 2012-05-03 20:14:38 +00:00
Franky Braem
3c22203119 Add JSONConfiguration 2012-05-03 20:12:28 +00:00
Marian Krivos
dc42208ee8 porting JSON to the Dynamic::Var
added to JSON to gmake build
2012-05-02 04:22:16 +00:00
Franky Braem
95c62c00df Copy JSON from SandBox to trunk 2012-04-29 20:09:55 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
056cbeb744 FIFOBuffer::drain() and partial write 2012-04-29 18:09:43 +00:00
Marian Krivos
c33bf13bdc fix typo 2012-04-29 11:24:44 +00:00
Marian Krivos
0ad8b3c924 formatting fix and few tests from the old trunk 2012-04-29 11:04:08 +00:00
Marian Krivos
c816693153 FileChannel: added "none" to the PURGE_AGE and PURGE_COUNT 2012-04-29 10:58:27 +00:00
Marian Krivos
53fe184bfa fix from old trunk for TemporaryFile 2012-04-29 10:52:55 +00:00
Marian Krivos
1e2b816d7e added Latin2, CP1250, CP-1251 encodings to the TextEncoding Manager 2012-04-29 10:52:12 +00:00
Marian Krivos
51c8a14ae1 ThreadPool fix from trunk 2012-04-29 10:51:00 +00:00