- 03 Sep, 2014 2 commits
-
-
Wouter van Oortmerssen authored
Also added new constructor that allows ByteBuffer reuse. Change-Id: I9c20ea96c67533066461f4e23b0d03b9b47cd068 Tested: on OS X.
-
Wouter van Oortmerssen authored
Change-Id: Idc6c152ebf9e733ac72c01f3888b69e3b5f33aa9 Tested: on Linux.
-
- 25 Aug, 2014 1 commit
-
-
Wouter van Oortmerssen authored
Tested: on Windows & Linux. Change-Id: I90e18c448fc2fafeb83a6cdc3776174479874562
-
- 22 Aug, 2014 7 commits
-
-
Wouter van Oortmerssen authored
Theoretically, an attacker could construct a FlatBuffer with the sole purpose of making verification really expensive, essentially DOS-ing a server that uses verification on FlatBuffers. This adds a max table depth and max table amount at which point the verifier declares the buffer malformed. Bug: 16301336 Change-Id: I6b098c31d030d24c19e852b33609110658e66aa9 Tested: on OS X
-
Wouter van Oortmerssen authored
See -P option to flatc. Bug: 16814856 Change-Id: I855973df6afa27e0efa27cf9c4b4aee8a1fcdd22 Tested: on OS X.
-
Wouter van Oortmerssen authored
Bug: 16683956 Change-Id: Id8435e868899ca0bbf0add84852a54bfaea63b4a Tested: on OS X.
-
Wouter van Oortmerssen authored
Bug: 16490424 Change-Id: Ic3dd5f06efb5cf2dc4aefbd3f2db64c7b59b6b93 Tested: on OS X.
-
Wouter van Oortmerssen authored
This happens when the schema is parsed, to avoid compile time errors later, which would be harder to understand. Bug: 16325216 Change-Id: I24cabf1adaf1700796b91e3a9641bca43a68bfbd Tested: on OS X.
-
Wouter van Oortmerssen authored
Also cleaned up the general mkdir functionality. Tested: on OS X. Tested that a command line like: ./flatc -j -o foo/bar/baz tests/monster_test.fbs generates files in foo/bar/baz/MyGame/Example/*.java which previously didn't exist. Windows code was previously tested but has been moved, so needs to be tested again. Change-Id: Iee943121b3be4f92961a3ec94c2cb578165f114a
-
Wouter van Oortmerssen authored
Bug: 16624362 Change-Id: Ia09ea404c0c11dd1dc6993a8cbd155bf8152b65f Tested: on Windows & Linux.
-
- 20 Aug, 2014 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I51eeed20c3e0a4914280bf33585ca03b9a9952aa Tested: on Windows.
-
Wouter van Oortmerssen authored
Previously, it would ignore the fact that the type comes from a different namespace. Now they are pre-declared in their own namespace, and referenced with a qualified name if necessary. Bug: 16851682 Change-Id: I5cb625b86d28e7436b9e93c70a0fa16a600d9884 Tested: on Linux
-
- 19 Aug, 2014 3 commits
-
-
Wouter van Oortmerssen authored
Bug: 15521443 Change-Id: I2e1ef97e7225a1a0ecf2ca65e31d49d443003747 Tested: on Linux.
-
Wouter van Oortmerssen authored
Bug: 17095037 Change-Id: Iedbe56f6ddc0ba7876896b0bb7ed9da8e6a85f7e Tested: on Linux & OS X.
-
Wouter van Oortmerssen authored
Change-Id: I8f3c50085f89037995ab9f26b28d3c83667e9d6f
-
- 13 Aug, 2014 3 commits
-
-
Wouter van Oortmerssen authored
Tested: on Linux Change-Id: Ie80aa19ed13ac4fa15cd3fd768f1a35526bdc607
-
Wouter van Oortmerssen authored
Change-Id: Ie6b0a8e137a0743bbf18531f29712cf5f11bf34f Tested: on Linux
-
Wouter van Oortmerssen authored
Bug: 16870719 Change-Id: Ia5fdce49a67b1aa621ab1e37a815e2a3293257b6 Tested: on Linux
-
- 12 Aug, 2014 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Id33cf778caa818c7d3988edee82058e63bfecbf0 Tested: on Linux
-
Bob Potter authored
Change-Id: If032b450230b15224b2661836c8a740398d207c5
-
Wouter van Oortmerssen authored
Allows you to add, and test for the presence of a magic 4-char string in a FlatBuffer. Tested: on OS X. Change-Id: I090692a9e4fb53bed3543279a28563e67132cba0
-
Wouter van Oortmerssen authored
Change-Id: Ie36fe581c000fa4571c96fafd39a9e12fa29e1ca Tested: on Linux
-
- 31 Jul, 2014 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I770b53cf7d82c860422c1fe6193fb597d9c9495c
-
- 29 Jul, 2014 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I88b5993219e10e2dfb60ff98d6594d19871988fc Tested: on Linux
-
Wouter van Oortmerssen authored
Change-Id: I07cd28e5915a0526614db85f894f27a5bd27f3bb Tested: on Windows.
-
- 28 Jul, 2014 2 commits
-
-
Stefan Eilemann authored
Change-Id: Ife37f7ead18ee28f8f4fd5e29caeee5e825defd4
-
Stefan Eilemann authored
Change-Id: If0465b73843ad1a489fa66318a689801def3f0f0
-
- 25 Jul, 2014 3 commits
-
-
Daniel Nachbaur authored
Change-Id: Ie863ddcf73653d1404a1e84109ebdf66af5dff26
-
rw authored
Add more comments explaining the tests. Remove the extraneous 'superFuzz' functionality. By default, do not compare to generated Java files. Change-Id: Icb0aa8262e10035958639f9a88ca666694a2ce73
-
Wouter van Oortmerssen authored
Change-Id: Iedbd9914a1ca3897776fb92aa9a1fdfc4603da3c Tested: on Windows and Linux
-
- 24 Jul, 2014 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I3b1fca2ea536349240b7bee35eff360f3acbb539 Tested: on Windows and Linux.
-
- 20 Jul, 2014 1 commit
-
-
Stewart Miles authored
-
- 22 Jul, 2014 2 commits
-
-
Stewart Miles authored
Given the command flatc -o . -c test.fbs it would generate header file .test_generated.h rather than ./test_generated.h This fixes this issue. Tested: Manually verified that flatc generates the correct output files given output paths ending with and without '/' on Linux and Windows. Bug: 16464827 Change-Id: I854cb881286f22690f1885f942cf3fd2fc59ca8d
-
Alex Ames authored
Also removed the semicolon on the bracket. It makes -pedanic unhappy. Bug: 16399323 Change-Id: I16ec0d67af13c3ca0bc6285741f5a95658d262bd
-
- 21 Jul, 2014 6 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I23d7db5b62ca52fee49e1bedcf7d7d8d74957cf8 Tested: on Windows.
-
Wouter van Oortmerssen authored
Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c Tested: on Windows and Linux Bug: 16186562
-
Wouter van Oortmerssen authored
Also fixes a potential big-endian bug, and makes iterators work correctly with pointer types. Change-Id: Ib7f88fe9e6053d1a9afa7895fba0695627c158b1 Tested: on Windows and Linux
-
Wouter van Oortmerssen authored
Generates convenient accessors for the nested root. Change-Id: Ic0b1531de7ace475ff2a7b1f430d27f41c838430 Tested: on Windows.
-
Wouter van Oortmerssen authored
- Ensured weak linkage with the version string is not used on Windows, especially cygwin (which throws a linker error). - Avoided a VS debug error for taking the address of the first element of an empty vector. - Made copy/assignment constructors for downward_vector and FlatBufferBuilder private, to avoid people unintentionally making expensive copies. - Using the more correct _WIN32 instead of WIN32 Change-Id: I801b5c8b159e3721af6d1ef0978a3247ba168bab Tested: on Windows (VS + Cygwin) and Linux.
-
rw authored
Implement code generation and runtime library for Go, derived from the Java implementation. Additionally, the test suite verifies: - the exact bytes in the Builder buffer during object construction, - vtable deduplication, and - table construction, via a fuzzer derived from the C++ implementation. Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
-