265 Commits

Author SHA256 Message Date
adam 0ad0c5f3cf Http management needs to use delete on the SocketData_t.
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
2026-05-06 13:30:09 -04:00
adam cc8949d427 Start C++ RAII conversions for dicache. 2026-05-06 02:35:54 -04:00
adam b8f07cf85e SVG backing is now a C++ object.
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
2026-05-06 02:19:56 -04:00
adam 3aa431ad70 Put a vector into SVG decode. 2026-05-06 02:10:44 -04:00
adam 49702e362b Remove dStr from OpenSSL code. 2026-05-06 01:42:08 -04:00
adam 566f9dd587 OpenSSL fd map a real map now. 2026-05-06 01:38:56 -04:00
adam 77d868f328 OpenSSL Server list is now a vector. 2026-05-06 01:27:21 -04:00
adam facdb12ffd OpenSSL's Server_t owns its hostname string. 2026-05-05 21:50:14 -04:00
adam cbc863718d OpenSSL wrapper strings management. 2026-05-05 21:48:51 -04:00
adam a7042d1ddf Get the openssl code ready for C++ management.
The strings aren't managed yet.
2026-05-05 19:12:33 -04:00
adam 2e4f12bc49 Fix accidental leak in ssl message output. 2026-05-05 19:10:25 -04:00
adam 2896153369 And files ClientInfo is cleanly managed now. 2026-05-05 17:46:27 -04:00
adam 4fa86606cc File handler client info is C++ object now. 2026-05-05 17:39:39 -04:00
adam b5bb11dbd0 Remove another Dlist. 2026-05-05 17:36:39 -04:00
adam 4de2b402e4 No need for item in list to be Object. 2026-05-05 17:30:17 -04:00
adam dc5b173788 Retire the Java-like List class. 2026-05-05 17:16:24 -04:00
adam 91b559e8a6 Remove a temporary raw allocation. 2026-05-05 17:16:24 -04:00
adam 3a1f192708 Move how Alepha builds. 2026-05-05 17:16:24 -04:00
adam 122d3f894e Preferences own some strings now.
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
2026-01-07 04:37:28 -05:00
adam be1bc2571f Stronger no-strings enforcement for dlib functions. 2026-01-07 04:30:31 -05:00
adam 40155b4d57 Alepha build dir for its lib. 2026-01-06 22:57:11 -05:00
adam c875bbe78b Adopt FLTK 1.4 2026-01-06 22:56:54 -05:00
adam bd58a08686 The homedir is statically owned, so don't free it!
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
This fixes at least one regression.
2025-10-01 04:27:17 -04:00
adam c822c80bd8 Use my local rpath, for now...
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
There's a lot of crashes I now have to debug.  Checkpointing
here to setup for some bisects...
2025-10-01 04:06:46 -04:00
adam df115abfbd Startup options simplified. 2025-10-01 03:52:01 -04:00
adam 92b9b057dd Fix a crash with string trimming. 2025-10-01 03:39:43 -04:00
adam 40a342d4e3 No external form deletion. 2025-09-27 18:37:26 -04:00
adam af3a57620d The http socket descriptors should be C++ deleted. 2025-09-27 18:34:38 -04:00
adam 8356c017e1 Isolate a few more string leakage cases. 2025-09-27 18:18:36 -04:00
adam c8cfc0f038 IWYU 2025-09-27 18:18:17 -04:00
adam 1bf12c858f String alloc shouldn't convert to std::string.
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
As I work through making code use more C++ RAII and such, most
of the work is handling strings, especially temporaries.  As member
variables which manage string memory get turned into `std::string`,
some use cases might wind up leaking memory.  (One was found in
this change.)

By using a non-convertible-to-string result, such accidents should
be avoided.
2025-09-08 13:24:56 -04:00
adam 97baa28f57 Dillo web objects get owned.
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-09-08 01:08:49 -04:00
adam e76b6e78a2 Style Sheet member ownership 2025-09-08 00:47:36 -04:00
adam 77859c704e Track another URL by smart pointer. 2025-09-07 17:52:27 -04:00
adam dea296a063 Link the COPYING file to the AGPL license.
This prevents the autoconf step from creating it again, with an
incorrect license.
2025-08-26 16:36:47 -04:00
adam d3933134c8 Merge branch 'fix-dangling-anchor' into master
* fix-dangling-anchor:
  Fix dangling anchor
2025-08-23 09:29:50 -04:00
adam 23eea47336 Fix dangling anchor 2025-08-23 09:29:37 -04:00
adam 13f931d82e More virtual base fixups. 2025-08-23 08:55:48 -04:00
adam 0bc863faf1 Const correctness on Java Collection Size.
I need to get rid of these, but cleaning them up first lets me
address them in-situ for const correctness _before_ I unravel
the runtime type maze.
2025-08-23 02:37:14 -04:00
adam 412adaa492 Rename getline function to unsafe, to make it greppable.
Now i can trim them one-by-one.
2025-08-23 02:20:05 -04:00
adam f283391b46 Get some of the last remaining C files into C++
They still need to be fixed up, but they now build with C++.
2025-08-23 02:09:47 -04:00
adam e4f1102e32 Some of the Object::equals now are const correct.
There's more to do.

Why make this const-correct, instead of ditch it?  Because whatever
I replace it with has to be ready for const correctness.
2025-08-22 13:58:05 -04:00
adam f6841f59e0 Merge branch 'widget-rewrite-1' into master
* widget-rewrite-1:
  Now it's done.
  Partially done.
  Local RAII
  Requested anchor RAIIed.
  Image owns its alt text.
  Some const correctness in the Java pseudo core.
  Local ownership for font name.
  Fix building with no libjpeg.
2025-08-21 23:38:12 -04:00
adam d035bd4427 Now it's done. 2025-08-21 23:37:54 -04:00
adam a41d0b067d Partially done. 2025-08-21 19:19:28 -04:00
adam 92d679e098 Local RAII 2025-08-21 18:11:10 -04:00
adam 2d1e95d36b Requested anchor RAIIed. 2025-08-21 17:52:30 -04:00
adam 4274490a86 Image owns its alt text. 2025-08-21 17:36:42 -04:00
adam b934b115ed Some const correctness in the Java pseudo core. 2025-08-21 17:17:43 -04:00
adam 455169074a Local ownership for font name. 2025-08-21 16:41:52 -04:00