blackball
c0854473e9
Implement = operator for BigInteger
...
There's a copy constructor, but no '=' operator implemented. This is dangerous.
2015-08-07 10:04:45 +02:00
blackball
fc50f103a6
Fix the error when compiled using vs2013
...
The error message for the original codes is: unary minus operator applied to unsigned type, result still unsigned. Added static casting to eliminate this message.
2015-07-24 16:19:08 +02:00
Milo Yip
1eaf180cda
Merge pull request #394 from nightmouse/master
...
Warning cleanup on osx10.10/clang, enable -Werror
2015-07-22 09:19:51 +08:00
scheiber
d26d50092d
fixing sign conversion warnings and loss of precision warnings
2015-07-21 15:15:42 -06:00
Milo Yip
823b731896
Merge pull request #376 from pah/feature/document-swap
...
add GenericDocument<>::Swap with std::swap() support
2015-07-13 21:14:02 +08:00
Philipp A. Hartmann
0ebe16e169
add and use simplified "internal::Swap"
...
This avoids the dependency on the <algorithm> header, as suggested by
@miloyip in #376 .
2015-07-10 17:06:52 +02:00
yuzhaol
7567752710
Declare intrinsic function to avoid LNK2019 in x64 debug mode
...
Add #pragma intrinsic(_umul128) for MSVS 2005
2015-07-09 22:42:24 +01:00
yuzhaol
8e61b72678
Declare intrinsic function to avoid LNK2019 in x64 debug mode
...
Add #pragma intrinsic(_umul128) for MSVS 2005
2015-07-09 22:39:38 +01:00
Philipp A. Hartmann
dd901f498b
add GenericDocument<>::Swap
...
See #368 .
2015-07-04 01:57:24 +02:00
Milo Yip
d4d03cab1c
Use internal regex as default in schema validator
2015-05-29 19:04:17 +08:00
Milo Yip
b8d2f7e660
Merge regex into schema
2015-05-29 18:39:16 +08:00
Milo Yip
a8feeb4c3e
Add invalid regex tests and fix a bug
2015-05-29 17:42:08 +08:00
Milo Yip
c0e7c8304b
Fix a bug and add document in regex
2015-05-29 16:02:14 +08:00
Milo Yip
3eb19ceaf9
Add Search(), ^ and $ assertions to regex
2015-05-29 15:23:28 +08:00
miloyip
a5ac3b5dbc
Remove an unused line of code
2015-05-28 10:44:52 +08:00
miloyip
960bc0eabd
Fix gcc warning
2015-05-28 10:10:38 +08:00
miloyip
56b205264c
Refactor to store minIndex in Frag of regex
2015-05-28 00:05:05 +08:00
miloyip
fa7dc1c439
Add numbered quantifier
2015-05-27 23:39:22 +08:00
miloyip
51bb7631f4
Refactor regex with DecodedStream with one look-ahead character
2015-05-27 14:25:00 +08:00
miloyip
0dffe87551
Add character class escapes
2015-05-27 09:56:06 +08:00
miloyip
92285bed44
Add escape characters and control characters
2015-05-27 09:37:55 +08:00
miloyip
1784afe5f7
Add character class to regex
2015-05-26 00:40:23 +08:00
miloyip
06853b89b0
Add any character (.) to regex
2015-05-25 22:51:03 +08:00
miloyip
3c9ceb32a5
Add doxygen notes for regex
2015-05-25 22:09:32 +08:00
miloyip
328b0d8afc
Minor refactor regex
2015-05-25 19:49:07 +08:00
miloyip
994b0dfea2
Clean up regex
2015-05-25 19:42:23 +08:00
miloyip
a386934288
Add ?*+ to regex
2015-05-25 19:34:47 +08:00
miloyip
05c79891d1
Add parenthesis support in regex
2015-05-25 09:14:51 +08:00
miloyip
0bef29a5f6
Initial reggae implementation with only concatenation and alternation
2015-05-24 21:23:39 +08:00
Milo Yip
4335a62219
Merge remote-tracking branch 'origin/master' into schema
2015-05-16 16:28:29 +08:00
Milo Yip
add5a50581
Fix some numbers parsed incorrectly
...
Fix #340
2015-05-14 12:03:21 +08:00
miloyip
3873bcb714
Fix some remote ref issues
2015-05-09 21:36:30 +08:00
Milo Yip
677af55f70
Merge remote-tracking branch 'origin/master' into schema
2015-05-08 21:50:25 +08:00
Milo Yip
761561a28d
Fix clang compilation and a memory leak
2015-05-07 17:09:55 +08:00
Justin Scheiber
050be06e52
fixing conversion warnings
2015-05-05 14:37:18 -06:00
Justin Scheiber
97d489c247
fix shadow warnings on gcc 4.8 (-Wshadow)
2015-05-05 14:02:10 -06:00
miloyip
dba6d6f1b5
Include rapidjson.h in error/error.h and internal/*.h
...
Fixes #321
2015-04-28 10:09:37 +08:00
Adam Mitz
a9250d170d
Fixed to build on older versions of 32-bit MSVC
2015-04-24 13:32:00 -05:00
miloyip
f7a64c5eae
Add RAPIDJSON_LIKELY/UNLIKELY and apply them in stack
2015-04-18 21:31:25 +08:00
miloyip
2689cc4974
Remove more unused code paths in double conversions
2015-04-15 11:52:24 +08:00
miloyip
402d75a801
Fix gcc warning
2015-04-15 11:07:13 +08:00
miloyip
37d820a13e
Remove unused code paths in double conversions
2015-04-15 10:58:49 +08:00
miloyip
4be4857a19
Remove ununused BigInteger::FullAdd()
2015-04-14 14:58:48 +08:00
miloyip
4824f12efb
Fixed a bug in trimming long number sequence
2015-04-14 13:59:05 +08:00
miloyip
e9b92256a2
Add itoatest
2015-04-13 15:11:32 +08:00
miloyip
e346b93325
Try to fix a potential set fault on some compiler
...
Merge the fix from https://github.com/miloyip/itoa-benchmark/issues/8
2015-04-11 12:10:44 +08:00
Milo Yip
5ae85e67f6
Yet two more warnings
2015-04-11 00:41:09 +08:00
Milo Yip
dfba62e143
Fixed two -Wfloat-equal warnings
2015-04-10 22:57:41 +08:00
Milo Yip
e5cf3b85f3
Fix #289 negative zero roundtrip (double only)
2015-04-10 21:24:29 +08:00
Milo Yip
d1959ba6e3
Change copyright owner and related changes.
2015-04-03 12:57:16 +08:00