Alek Mosingiewicz
|
fb635033a9
|
Fix for Clang.
|
2018-05-25 11:56:10 +02:00 |
|
Alek Mosingiewicz
|
393f8d31ab
|
Travis build quick fix.
|
2018-05-25 11:48:27 +02:00 |
|
Alek Mosingiewicz
|
1711d50eff
|
Another attempt to remedy the problem occuring on Clang.
|
2018-05-25 08:38:25 +02:00 |
|
Alek Mosingiewicz
|
42c355a8d0
|
Revert "Attempt to remedy the problem occuring on Clang."
This reverts commit 0e964da42658a4e7e5bebe281f2c125575f34246.
|
2018-05-25 08:06:35 +02:00 |
|
Alek Mosingiewicz
|
0e964da426
|
Attempt to remedy the problem occuring on Clang.
|
2018-05-25 07:59:34 +02:00 |
|
Alek Mosingiewicz
|
51693aa0bd
|
Skip buffer initialization.
|
2018-05-25 06:57:22 +02:00 |
|
Alek Mosingiewicz
|
51bb793664
|
Initialize buffer to store potential BOM data before storing
anything inside it.
|
2018-05-24 22:06:59 +02:00 |
|
Alek Mosingiewicz
|
edadb7aa98
|
Use readsome instead of reading the stream byte-by-byte to
detect BOM in processed file.
|
2018-05-24 22:04:10 +02:00 |
|
Alek Mosingiewicz
|
ac10575b5f
|
Read the stream byte by byte, condition for size when skipping BOM.
|
2018-05-24 21:38:47 +02:00 |
|
Alek Mosingiewicz
|
4ada12a34c
|
Check EOF rather than buffer_size when skipping BOM.
|
2018-05-23 18:41:07 +02:00 |
|
Alek Mosingiewicz
|
67dcd3e8d8
|
Test case for BOM in user-provided string.
|
2018-05-22 17:12:14 +02:00 |
|
Alek Mosingiewicz
|
df6bc8f9b5
|
Add missing test cases.
|
2018-05-22 17:07:32 +02:00 |
|
Alek Mosingiewicz
|
f9615efea5
|
Another text size assertion.
|
2018-05-22 16:27:19 +02:00 |
|
Alek Mosingiewicz
|
d880d46214
|
Type cast fix.
|
2018-05-22 16:23:22 +02:00 |
|
Alek Mosingiewicz
|
be29b0a193
|
Merge branch 'develop' into handle-bom-in-script
|
2018-05-22 05:00:41 +02:00 |
|
Alek Mosingiewicz
|
b70a9e7a61
|
Non-ASCII characters now in random positions in test; test renamed.
|
2018-05-21 17:12:11 +02:00 |
|
Alek Mosingiewicz
|
60c0a0bf15
|
Refactor skippable BOM detection.
|
2018-05-21 17:04:33 +02:00 |
|
Jason Turner
|
062f821b46
|
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
|
2018-05-20 20:57:56 -06:00 |
|
Jason Turner
|
0520bb178c
|
Fix capture error
|
2018-05-20 20:36:33 -06:00 |
|
Alek Mosingiewicz
|
0d44b0b456
|
Added doc comment.
|
2018-05-15 19:32:17 +02:00 |
|
Alek Mosingiewicz
|
322568ba39
|
Check for illegal characters while parsing input.
|
2018-05-15 19:25:28 +02:00 |
|
Alek Mosingiewicz
|
c09af92963
|
Decrement file size when BOM is present to avoid parsing errors.
|
2018-05-13 13:09:38 +02:00 |
|
Alek Mosingiewicz
|
a024db040d
|
Catch BOM at the beginning of file.
|
2018-05-13 12:24:34 +02:00 |
|
Alek Mosingiewicz
|
efbebee9da
|
Throw exception when user-provided input contains BOM.
|
2018-05-13 10:25:04 +02:00 |
|
Jason Turner
|
b9a5607a56
|
Merge pull request #438 from RobLoach/patch-1
Add Switch Statement example
|
2018-05-12 09:41:37 -06:00 |
|
Alek Mosingiewicz
|
1e8f7f9fa5
|
Simplify BOM test.
|
2018-05-10 18:40:56 +02:00 |
|
Alek Mosingiewicz
|
1d782338c9
|
Cover skipping BOM with test.
|
2018-05-10 18:23:39 +02:00 |
|
Alek Mosingiewicz
|
f37d0e13d3
|
Skip UTF-8 BOM before parsing begins.
|
2018-05-10 17:44:06 +02:00 |
|
Rob Loach
|
5c2fd20a9e
|
docs: Add Switch Statement example
|
2018-05-09 19:18:34 -04:00 |
|
Jason Turner
|
c14d9dfb6e
|
Fix some new clang related warnings
|
2018-05-08 10:05:10 -06:00 |
|
Jason Turner
|
f695a24e1b
|
Fix clang warning for undefined msvc symbol check
|
2018-05-08 09:46:01 -06:00 |
|
Jason Turner
|
06191646d2
|
Merge pull request #418 from ChaiScript/apply_unicode_patches
Apply unicode patches
|
2018-05-08 09:08:25 -06:00 |
|
Jason Turner
|
9a670d79fc
|
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
|
2018-04-01 11:07:11 -06:00 |
|
Jason Turner
|
a48f358555
|
Better error reporting on missing type info
|
2018-04-01 11:06:48 -06:00 |
|
Jason Turner
|
3bf72420c2
|
Merge pull request #424 from zemasoft/develop
Fix CHAISCRIPT_NO_THREADS macro redefinition warning
|
2018-03-17 12:28:15 -06:00 |
|
Tomas Zeman
|
c2a3518eb0
|
Fix CHAISCRIPT_NO_THREADS macro redefinition warning
Appeared when compiling with MULTITHREAD_SUPPORT_ENABLED=FALSE.
|
2018-03-10 19:23:06 +01:00 |
|
Jason Turner
|
4139eb1efc
|
Merge pull request #423 from zemasoft/develop
Fix potential conversion warning on some platforms
|
2018-03-09 10:45:18 -07:00 |
|
Tomas Zeman
|
3dec2af071
|
Fix potential conversion warning on some platforms
|
2018-03-09 10:19:33 +01:00 |
|
Jason Turner
|
258cb23dda
|
Further fixes for compiled tests for VS 2015
|
2018-03-02 15:40:22 -07:00 |
|
Jason Turner
|
476a752a08
|
Fix last merge
|
2018-03-02 15:09:52 -07:00 |
|
Jason Turner
|
2818ec67df
|
Merge remote-tracking branch 'origin/develop' into apply_unicode_patches
|
2018-03-02 15:01:41 -07:00 |
|
Jason Turner
|
2e9512c6b8
|
Adjust unicode tests for MSVC
|
2018-03-02 08:54:27 -07:00 |
|
Jason Turner
|
12797c0a03
|
Add C++ tests to verify strings match
Re #415
|
2018-03-02 08:01:03 -07:00 |
|
Jason Turner
|
1a9165f7fc
|
Normalize on C++'s standards for \u and \U
|
2018-03-02 07:45:24 -07:00 |
|
Jason Turner
|
1b9027a24f
|
Fix handling of 32 bit unicode character escapes
|
2018-03-01 17:03:50 -07:00 |
|
Jason Turner
|
81ebe1a7be
|
Fix the compiler warnings related to unicode parsing
Re #415
|
2018-03-01 13:40:49 -07:00 |
|
Jason Turner
|
1311c97c49
|
Fix unit tests for unicode to be consistent with how it should work
Addresses #415
|
2018-03-01 12:57:56 -07:00 |
|
Jason Turner
|
1acfb4f7b8
|
Apply patch from @chris0e3
|
2018-03-01 11:22:20 -07:00 |
|
Jason Turner
|
d5faaeca1a
|
Add failing unicode test from #415
|
2018-03-01 11:20:22 -07:00 |
|
Jason Turner
|
ef47b4582e
|
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
|
2018-03-01 11:12:36 -07:00 |
|