cwal

All files named ”s2/cwal_convert.hpp”
Login

All files named ”s2/cwal_convert.hpp”

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

History for s2/cwal_convert.hpp

2022-01-22
06:44
Renamed to include/wh/cwal/cwal_convert.hpp. Reorganized the build process from recursive into a set of top-level makefiles. Enables paralell builds of the whole tree. Still missing are source-level dependencies, but not yet sure how best to solve those. check-in: [694e039b1b] user: stephan branch: trunk, size: 0 )
2022-01-21
13:28
Renamed to include/wh/cwal/cwal_convert.hpp. Got most of the modules compiling, but not yet linked in to s2sh(2). check-in: [f935bf3011] user: stephan branch: build-reorg, size: 0 )
10:04
Re-added s2 C++ support. Got s2 test binaries building. file: cc1001eb16 check-in: [0bccd940fd] user: stephan branch: build-reorg, size: 125237 )
2021-07-09
22:06
Changed a bunch of predicate function signatures from returning char to bool (now that we're C99, we might as well own it). file: e9405e0b47 check-in: [9b35720349] user: stephan branch: trunk, size: 125328 )
2019-03-09
11:07
Updated/corrected some hyperlinks to account for an old code re-org. file: dea05eb1b2 check-in: [4a27087e10] user: stephan branch: trunk, size: 125328 )
2018-11-27
12:04
more docs. file: 50e23aefbf check-in: [f5310099db] user: stephan branch: trunk, size: 125442 )
11:37
Renamed the cwal::sl namespace to cwal::sigli. file: f17318013b check-in: [a2161dec18] user: stephan branch: trunk, size: 124272 )
09:25
cwal_function_call_in_scope() now calls cwal_refunref() on the callback's result if its own caller passes NULL for the rv pointer (which, in practice, is never done). Fixed a missing cwal_strlen() in cwal_prop_take() (a holdover from when the API treated an explicit length of 0 to mean 'count it yourself'). Removed the last of the functions which were marked as @deprecated. file: c8716c066b check-in: [7b251481bd] user: stephan branch: trunk, size: 124164 )
2018-11-22
08:51
Moved sample_cpp2 over sample_cpp, as the former is more detailed. Minor cleanups in other C++ code. file: e4fe1dfd95 check-in: [8c812c0a85] user: stephan branch: trunk, size: 123944 )
01:55
Squelched unused param warnings in C++ code. file: 0cf58e3b68 check-in: [6b8e7c090e] user: stephan branch: trunk, size: 123434 )
2018-08-12
10:07
Fixed gcc7 warnings, a couple of which were valid and many of which were from its new, stunningly braindeaded behaviour of warning about switch fallthrough (which of course fails because we build with -Wall -Wpedantic). file: 4445ba2655 check-in: [6b2c51d9c8] user: stephan branch: trunk, size: 123440 )
2017-12-28
04:43
random tinkering in the cwal_convert C++ bits. file: 76845a257e check-in: [9a2c2cdbf6] user: stephan branch: trunk, size: 123450 )
2017-11-16
11:02
Minor template code reformulations to please gcc 4.4.7. Grrrrr. file: 4f3af6df25 check-in: [4483466206] user: stephan branch: trunk, size: 123453 )
2017-10-14
10:48
insignificant tweaks in the s2 C++ wrapper. file: 28e0837207 check-in: [95401ca154] user: stephan branch: trunk, size: 123187 )
2017-10-12
14:51
tiny random renaming and auto-reformatting of docs. file: dc6dd58ccd check-in: [1722d73841] user: stephan branch: trunk, size: 122628 )
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: 480e96c51f check-in: [d834ba36b3] user: calebg branch: s2-ndebug, size: 122201 )

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: 029e8669ec check-in: [80f0382c88] user: calebg branch: s2-ndebug, size: 122216 )
2016-08-18
15:20
Experimentally recycled the unused .. op to provide semantics which are a cross between the "." and "->" ops, and implemented it for enums so that (enum.entry.value) shortens to (enum..entry). file: 0474412a95 check-in: [68630ad3ca] user: stephan branch: s2-op-dotdot, size: 122194 )
2016-07-29
16:14
several trival code cleanups and minor modernization. file: 28aaa3cad7 check-in: [46eaf44799] user: stephan branch: trunk, size: 121884 )
2016-01-29
21:57
merged in cpp-placement-new branch plus a couple 1-line touchups. file: bdc221e44d check-in: [faac7a0901] user: stephan branch: trunk, size: 121881 )
21:54
mostly touchups in the C++ layer, plus a small bit of API renaming. file: 1b5267b5ab check-in: [e4ade7f536] user: stephan branch: cpp-placement-new, size: 121957 )
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: bdb67c585b check-in: [296a7890c3] user: stephan branch: cpp-placement-new, size: 120606 )
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: 944c8ecd1e check-in: [88858804ea] user: stephan branch: cpp-placement-new, size: 111211 )
2016-01-23
20:09
renamed cwal::CtorToNativeFactoryCallback to CtorToCb. file: efc1c610ba check-in: [45c8191ed9] user: stephan branch: trunk, size: 110300 )
19:55
minor doc updates, removed some dead code. file: 01f008bbd6 check-in: [73457eaf71] user: stephan branch: trunk, size: 110416 )
18:49
more cleanups/tests in the C++ layer. file: 87756d5368 check-in: [bf1a347076] user: stephan branch: trunk, size: 111272 )
18:28
bindings layer cleanups. file: 35b6e221ea check-in: [a2d3c4f875] user: stephan branch: trunk, size: 110141 )
17:25
expanded s2's C++ layer to be able to plug in constructors for use with the 'new' keyword. file: 1ae0b74cf7 check-in: [172326122f] user: stephan branch: trunk, size: 108396 )
2014-12-16
20:19
refactored cwal_value_native_part() to take an optional type ID, and (if not 0) return only on a match. Fingers have stopped working again, so this is it for a while :/. file: 87a0140453 check-in: [a4ab970b93] user: stephan branch: trunk, size: 96031 )
2014-09-04
21:05
more cleanups and docs for the C++ bindings/demos. file: c1ba5260f3 check-in: [e5ff9369d7] user: stephan branch: trunk, size: 95940 )
19:45
more work on the C++ conversions and demos. file: 38d8515a86 check-in: [4654a8ce3f] user: stephan branch: trunk, size: 95746 )
16:03
cwal_convert: QuasiMethod now supports references as the first func param type. Other minor internal cleanups. file: ad6996429a check-in: [056b9e3639] user: stephan branch: trunk, size: 90238 )
15:34
cwal_convert: reformulated the QuasiMethodProxy template so that (hopefully) gcc 4.3 can deal with it. file: 08417510c5 check-in: [7bbde2ec41] user: stephan branch: trunk, size: 90312 )
2014-09-03
21:35
cwal_convert: API renaming, fixes the catch-exceptions typedefing in QuasiMethod. file: 8b9b304a6d check-in: [e02a74d97a] user: stephan branch: trunk, size: 92219 )
20:30
crud removal. file: d046e539b3 check-in: [54fbdb1566] user: stephan branch: trunk, size: 92263 )
20:22
more C++ conversions. file: 12d9c62788 check-in: [2d06cef2f7] user: stephan branch: trunk, size: 92261 )
19:04
cwal_convert: added QuasiMember2Cb, for C-style non-methods which take a (T*) "this" as their first argument. file: 249fc77034 check-in: [8603d7d31f] user: stephan branch: trunk, size: 89208 )
2014-09-01
07:15
Wierd that a 6-year old GCC caught this (invalid use of typename) but my recent GCC does not. file: fae60790c5 check-in: [a4652374f1] user: stephan branch: trunk, size: 83588 )
2014-08-31
15:27
fixed predicate rules/dispatching in C++ conversions, fixed ToCb in a couple template contexts (missing typedefs). file: 128a8030e6 check-in: [b98679f99d] user: stephan branch: trunk, size: 83490 )
2014-08-30
12:18
improved the C++ demo and binding code a bit. file: 877d262b5e check-in: [06f71eca6c] user: stephan branch: trunk, size: 81165 )
2014-08-26
20:19
cwal_convert: minor API renaming. file: d414039df8 check-in: [88021b1f8b] user: stephan branch: trunk, size: 80484 )
2014-08-25
22:01
more c++ tinkering file: 414cdbcec2 check-in: [bb641173d8] user: stephan branch: trunk, size: 79897 )
20:53
cwal c++: minor API renaming, added templates to create getter/setter callbacks for use as accessors/mutators of non-function native members. file: c1bee13130 check-in: [4c8ccebca2] user: stephan branch: trunk, size: 78065 )
19:11
s2: added beginnings a C++-bound module demo. file: 42826c88e7 check-in: [3770d47ace] user: stephan branch: trunk, size: 73219 )
17:32
fixed std::string-as-param conversion. file: e8505057a8 check-in: [9c0ba1c8f5] user: stephan branch: trunk, size: 71219 )
16:44
cwal_convert: docs and cleanups. file: a59255e8b3 check-in: [7529c1d7fd] user: stephan branch: trunk, size: 70712 )
07:29
another var initialization bug in as-yet-untried template code. file: 905e3f71c4 check-in: [65cf594f49] user: stephan branch: trunk, size: 66574 )
07:27
var initialization error which works on one box and not another. file: 64352a9821 check-in: [e12819900e] user: stephan branch: trunk, size: 66596 )
2014-08-24
16:10
cleanups in the cwal C++ bits. file: 5f693803bf check-in: [576b6306e4] user: stephan branch: trunk, size: 66635 )
15:47
s2 c++: ported in most of the cvv8 argument validation templates, which enable overload dispatching based on argument state. file: 919abae485 check-in: [03163eccc5] user: stephan branch: trunk, size: 64931 )
14:28
Got rid of the ConstXXX variants of the various templates (no longer needed). file: 7b7be49be8 check-in: [b328ba49d3] user: stephan branch: trunk, size: 46346 )
11:17
Renamed and modified s2/s2pp.hpp → s2/cwal_convert.hpp. renamed s2pp.hpp to cwal_convert.hpp file: cc1d348884 check-in: [941dc880db] user: stephan branch: trunk, size: 42463 )