libcwal  File History

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of s2/sample_cpp2.cpp

2018-01-03
15:05
Removed the v1 s2 plugin init interface. file: [eaef26ebfa] check-in: [fa16637e69] user: stephan branch: trunk, size: 29273)
2018-01-01
16:02
Far too much tweaking in the s2 loadable module bits. file: [ee399bea82] check-in: [d9164fb176] user: stephan branch: trunk, size: 29275)
2017-12-28
04:43
random tinkering in the cwal_convert C++ bits. file: [81a72032d0] check-in: [9a2c2cdbf6] user: stephan branch: trunk, size: 30337)
2017-11-16
11:02
Minor template code reformulations to please gcc 4.4.7. Grrrrr. file: [1d8a1189eb] check-in: [4483466206] user: stephan branch: trunk, size: 29081)
2017-10-13
09:47
Added Array.filter(), imported from an old test script. file: [095f9d8e8b] check-in: [94278945cb] user: stephan branch: trunk, size: 29063)
2017-10-12
14:51
tiny random renaming and auto-reformatting of docs. file: [5b4b3f9fb8] check-in: [1722d73841] user: stephan branch: trunk, size: 29063)
2017-10-05
17:09
Merged (private) strlen-rewrite branch. This eliminates the 'length of 0 means to use cwal_strlen()' semantics from the major APIs (there may be a couple small outliers). My hands managed to survive, with the left pinky being only ever so slightly sore. file: [cf4ed69cb9] check-in: [ef477c5d1e] user: stephan branch: trunk, size: 28965)
2016-09-09
19:21
Adding a preliminary CMakeLists.txt for use in CLion.    Also changed the UNUSED_VAR macro to an UNUSED attribute which appears to be more widely adopted by compilers. file: [b2d5b8a0c8] check-in: [d834ba36b3] user: calebg branch: s2-ndebug, size: 28943)
2016-08-30
16:44
Fixing up the s2 non-debug build: * Switched around the amal build so that s2_amalgamation.* files can be used without including other files. * Replaced all debugging double negatives with just a positive expressions: "#if !defined(NDEBUG)" is now "#ifdef DEBUG" * Added the UNUSED_VAR macro to prevent the 'unused variable' compiler warning. * Removed the "force assert() to always work" sections in the shell.c and test.c files. * Added S2_AMALGAMATION_BUILD to test.c so that it's possible to easily build the test with the amal build. * Littered UNUSED_VAR everywhere it was needed. file: [a48418e3f3] check-in: [80f0382c88] user: calebg branch: s2-ndebug, size: 28829)
2016-07-29
16:14
several trival code cleanups and minor modernization. file: [52a82add03] check-in: [46eaf44799] user: stephan branch: trunk, size: 28807)
2016-02-13
12:41
minor tutorial doc touchups. file: [481c00c3c9] check-in: [c02d348a93] user: stephan branch: trunk, size: 28805)
2016-01-29
23:58
minor cleanups in sample_cpp2.cpp file: [1f45b43055] check-in: [22bc3e36f2] user: stephan branch: trunk, size: 28071)
21:57
merged in cpp-placement-new branch plus a couple 1-line touchups. file: [a0ecf4a8df] check-in: [faac7a0901] user: stephan branch: trunk, size: 27179)
21:54
mostly touchups in the C++ layer, plus a small bit of API renaming. file: [cdd9ddc0e0] check-in: [e4ade7f536] user: stephan branch: cpp-placement-new, size: 27182)
21:00
added a rudimentary set of policies so that the ctor bindings layer can farm out (de)construction of bound native instances. It currently uses this to select between placement-new (which uses the cwal allocator/recycling) and normal new T(). Discovered that valgrind accuses gcc of leaking memory when throwing std::exceptions. file: [dbb2b52337] check-in: [296a7890c3] user: stephan branch: cpp-placement-new, size: 26943)
2016-01-24
18:27
experimenting with managing C++ binding memory with cwal via placement-new so that (new T()) can use cwal's recycler. file: [248b126d7f] check-in: [88858804ea] user: stephan branch: cpp-placement-new, size: 23081)
2016-01-23
20:09
renamed cwal::CtorToNativeFactoryCallback to CtorToCb. file: [88d2aa5901] check-in: [45c8191ed9] user: stephan branch: trunk, size: 22989)
18:49
more cleanups/tests in the C++ layer. file: [38d615e981] check-in: [bf1a347076] user: stephan branch: trunk, size: 23084)
18:28
bindings layer cleanups. file: [8dd3431434] check-in: [a2d3c4f875] user: stephan branch: trunk, size: 22552)
17:25
expanded s2's C++ layer to be able to plug in constructors for use with the 'new' keyword. file: [95853ab1f1] check-in: [172326122f] user: stephan branch: trunk, size: 22048) Added