Commit Graph

280 Commits

Author SHA256 Message Date
adam 4abfe2475a Delayed queue for cache is now a vector. 2026-01-20 19:53:17 -05:00
adam 17b0807681 Switch pref init to ctor. 2026-01-20 19:53:17 -05:00
adam 554db55dc1 Remove prefs free function. 2026-01-20 19:53:17 -05:00
adam 6bc26a63ba Remove dlists in prefs.
I can remove the NOP free function, now.
2026-01-20 19:53:17 -05:00
adam d4e9e37118 Prefs struct is mostly ownership safe now. 2026-01-20 19:53:16 -05:00
adam 3061a4ae71 Dpid services list is now a vector. 2026-01-12 10:53:36 -05:00
adam a682d18b83 Server::queue is now not a dList. 2026-01-12 10:53:36 -05:00
adam 1ce4cab82d Ownership of some core parts for HTTP. 2026-01-12 10:53:35 -05:00
adam d0292b0912 Leave a better ownership transfer breadcrumb. 2026-01-12 10:53:35 -05:00
adam 22c7180904 Need to delete the server object, not free it. 2026-01-12 10:53:35 -05:00
adam 740c1d4192 Capi doesn't use dList anymore. 2026-01-12 10:53:35 -05:00
adam b7e2884b68 Make rebuild cause Alepha to rebuild.
(I don't link to it, yet.)
2026-01-12 10:53:35 -05:00
adam 7eeeb61ae2 Auth members have optional strings now. 2026-01-12 10:53:35 -05:00
adam 99c95b9f0b AuthRealm_t is a C++ object now. 2026-01-12 10:53:35 -05:00
adam dc697f50a8 AuthParse managed by unique ptr.
I have to get back to the decommissioning of dList.
2026-01-12 10:53:35 -05:00
adam ac67ba470a More RAII in the auth code. 2026-01-12 10:53:35 -05:00
adam 887a1d7bea AuthParse RAII... 2026-01-12 10:53:35 -05:00
adam 1023d196b9 C++ lifecycle for AuthParse. 2026-01-12 10:53:35 -05:00
adam 6cce30cb8d AuthHost_t has been C++ified for decl. 2026-01-12 10:53:35 -05:00
adam 25e421a5c5 Auth hosts not a dlist. 2026-01-12 10:53:35 -05:00
adam ef0db740c1 Actions now a vector. 2026-01-12 10:53:35 -05:00
adam a30ae02d09 Start RAIIification for TLS. 2026-01-12 10:53:35 -05:00
adam a93b762110 Clients list in file handler is now a vector. 2026-01-12 10:53:35 -05:00
adam 616c871002 Ownership for more... 2026-01-12 10:53:35 -05:00
adam 7e9b10e89d ClientInfo is more RAII-ish now. 2026-01-12 10:53:35 -05:00
adam 1bc9cf7d92 Some ownership towards dList removal in the file helper. 2026-01-12 10:53:35 -05:00
adam d791913a7f Properly manage lifecycle for ClientInfo. 2026-01-12 10:53:35 -05:00
adam c3a9c536a3 Socket creation should use C++ new.
It wasn't.
2026-01-12 10:53:35 -05:00
adam 4df86c6a22 Server_t is now a C++ type. 2026-01-12 10:53:35 -05:00
adam 7fa9114984 Http.cc now uses one fewer dList. 2026-01-12 10:53:35 -05:00
adam c245c1ba5f Bookmarks don't use dlist anymore. 2026-01-12 10:53:35 -05:00
adam a93ed33c22 Remove last dlist from browser window. 2026-01-12 10:53:35 -05:00
adam 24d68c53e3 ValidWebs is now a vector. 2026-01-12 10:53:35 -05: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