265 Commits

Author SHA256 Message Date
adam 8549ca489f Poor man's RTTI is mostly gone.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
I'm keeping the type-index to name mapping, for now.
2025-08-09 06:31:08 -04:00
adam f69784c518 Removed instanceOf.
I think it's time to remove MOST of the poor man's RTTI now.
2025-08-09 06:12:20 -04:00
adam 0e6984196b The last few instanceOf uses? 2025-08-09 06:09:12 -04:00
adam 31531b6cba Remove a complex instanceOf usage.
The condition chain here is rather baroque, so I'm making
this its own commit for `git bisect` purposes.
2025-08-09 05:54:51 -04:00
adam eda33f5097 Fix a comment that screws up paren balancing checks. 2025-08-09 05:53:40 -04:00
adam 8d2296ccbe Nothing calls getClassId, so remove it. 2025-08-09 05:45:32 -04:00
adam 0bf153b049 Retire some instanceOf usage.
More can be retired.  Eventually, I think I can eliminate
the poor-man's RTTI in `Identity::Class`.
2025-08-09 05:44:53 -04:00
adam 6ec7e50758 instanceOf now uses RTTI and checks its answer.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
Next I'll just remove it, but this commit lets me
have something in history such that I can fall back to
check for bugs that might get introduced.
2025-08-09 05:27:43 -04:00
adam c107600de6 ClassIDs are now actually typeinfo name pointers.
I'll see, next, about the `instanceOf` thing, and going with
more normal RTTI routes.
2025-08-09 05:11:24 -04:00
adam abbb7fdbf9 Identity patch fix. 2025-08-09 05:00:25 -04:00
adam d696d58c02 Stronger ownership on "identity" core. 2025-08-09 05:00:25 -04:00
adam 2bb8a7c16e Merge branch 'fix-rectangles' into old-master
* fix-rectangles:
  Fix rectangles bug.
2025-08-09 05:00:11 -04:00
adam 33cb7db2dd Fix rectangles bug. 2025-08-09 04:58:51 -04:00
adam 7616f9f296 Identity map.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-08 01:16:13 -04:00
adam 26436617cc Start to simplify Identity.
It seems that this wants to be something like Java's `getClass`
and `instanceof` feature.  C++'s RTTI can do this too.

For now, though, I'm just going to simplify this system to be
more readable in "standard" C++ dialects.  Then I can figure out
what it's doing and how its used.
2025-08-08 01:08:02 -04:00
adam 905fdbf0dd Rectangles list is STL now. 2025-08-07 23:54:51 -04:00
adam eaee41750d Plumb some ownership around. 2025-08-06 03:38:48 -04:00
adam 1cd924f16f Some defaulted ctor/dtors. 2025-08-06 03:32:14 -04:00
adam 4a80d1d594 STL-list for another Java list case. 2025-08-06 03:31:51 -04:00
adam 23f82a705c Start moving away from the Java-like containers.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-06 03:16:31 -04:00
adam af0c428934 Use new not dNew. 2025-08-06 02:29:37 -04:00
adam 9125a4e901 ClientInfo in C++ now. 2025-08-06 02:18:10 -04:00
adam 7a451806a4 Push some ownership out a bit. 2025-08-06 02:17:03 -04:00
adam 3000aa7ef3 Another local string. 2025-08-06 02:14:42 -04:00
adam f3dcd987dc Remove an error in url generation. 2025-08-06 02:07:34 -04:00
adam d767d052f4 Another local string. 2025-08-06 02:05:58 -04:00
adam 96d984777c HTML parsing stack is now a vector. 2025-08-05 23:07:31 -04:00
adam f20470acaf Avoid C typedefs. 2025-08-05 22:53:56 -04:00
adam 56be517082 Another URL in DilloHtml. 2025-08-05 22:36:09 -04:00
adam 9c2225a633 A url. 2025-08-05 22:30:12 -04:00
adam 92e90f9233 Another string. 2025-08-05 22:29:54 -04:00
adam 9cb76d2b22 Another hidden vector.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-05 02:30:28 -04:00
adam dec64ad9f8 Another local string. 2025-08-05 02:20:34 -04:00
adam 5ee605b975 Trim unused variable. 2025-08-05 00:13:42 -04:00
adam 35b54bbc0c Local string. 2025-08-04 10:41:05 -04:00
adam 8a3e2aae1c Local integer vector. 2025-08-04 10:35:37 -04:00
adam fb5c4c762a More local string management. 2025-08-04 02:39:43 -04:00
adam 331f1c030b An ersatz vector is now replaced. 2025-08-03 21:09:47 -04:00
adam d5b9cb2c5e More temporary strings cleaned up. 2025-08-03 21:09:35 -04:00
adam 336f5a73f1 Some local temp string as std::string. 2025-08-03 21:01:47 -04:00
adam 09e94a651d PNG code uses setjmp/longjmp. Leaving it alone for now. 2025-08-02 02:12:52 -04:00
adam bd11b90200 Gif now owns its data. 2025-08-02 00:55:08 -04:00
adam 019f151588 Use this in gif dtor. 2025-08-01 11:40:22 -04:00
adam 8fbb06a701 Gif with dtor. 2025-08-01 11:39:58 -04:00
adam 2e28fca5dd Forgot a fix to make it build.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-01 11:34:44 -04:00
adam bf2ea183b2 A bit more ownership cleanpups.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-01 02:39:13 -04:00
adam 1f4f31f409 Html dtor simplified more. 2025-08-01 02:24:52 -04:00
adam 9ad7d008e5 The dtor has to be called correctly. 2025-08-01 02:21:53 -04:00
adam 971822ab09 Images list in DilloHtml is now a vector.
Next to put in unique_ptrs.
2025-08-01 02:19:56 -04:00
adam f5ac9a2365 Implicit dtor for DilloHtmlImage. 2025-08-01 02:14:51 -04:00