summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-13Declare products as a pointer so it's assignableꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-13Rename free_product to clear_productꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Revert "Product & order free-ers are now clearers"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit aca2dbad31d1c7d76f08344244013c507d657222.
2023-03-12Product & order free-ers are now clearersꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Items is now array of (not pointer of) itemsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Only profile is needed from order on checkoutꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Not using pointers on products to avoid allocationsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-12Remove internal order/basket/cart codeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Such code can later be part of our own e-commerce library, if we ever make one. For now, we can just rely on Interchange's response for the cart values.
2023-03-09Handler parameter to orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-03-08Interface for setting login next pageꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-22Add handler to setaccount, & simplify member dataꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-20Reorder to conform to Strap's column orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-19Add product titleꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-12Account information getterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This function assumes the default member/account path. When custom, the page function should be able to be used.
2023-02-12Rename account function to setaccountꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-12Freeing order doesn't include product freeingꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
An item in an order only keeps a pointer to a product it doesn't own. The catalog owns that product, so freeing the catalog is the only one that should include freeing the product.
2023-02-09The headers might be lost beforeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-08Add total cost to transaction structureꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-07Transaction structureꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
and its free-er, so the order free-er has to be renamed, and completed too.
2023-02-07Header for interchange_responseꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-07Interface to handler when checking outꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-02-07Free the profile when freeing orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-25Fix documentationꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-25Writes/reads to/from a cookie fileꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-24Simplify preferences by not making it a pointerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-16Re-add failpage parameterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-12thrd_t typedef isn't needed anymoreꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2023-01-12Drop C11 threadsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Pthreads is portable anyway. This simplifies the code too.
2022-10-10Same applies to libtidy, if enabledꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-10-10Fix crash on Android when calling libcurl functionsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Linking on the library level must still be done even though it compiles without it, to ensure that it doesn't crash on platforms like Android.
2022-10-10Fix Android crash when using mallocꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
config.h had to removed before because of minimal AC_DEFINE. Now it compiles again, but still crashes when calling libcurl functions.
2022-09-25handle_results is used only when strap is enabledꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-25Add to prev commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-25Rename remaining icclient to interchangeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-25Rename handler.c to strap.cꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-25No need to specifically add prefix includeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-25Turn Strap parsing into a featureꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
rather than external libtidy package option, though it does, require libtidy to parse Strap, but libtidy will only be used for parsing Strap, not for anything else, seen from the library user's perspective.
2022-09-24Make libtidy and the handler optionalꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-24Rename the projectꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-24Update description for more clarityꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-24Ignore backup files & any autoscan logꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-01-14Add more autoconf checks to remove warningsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-01-14langinfo use is based on header presenceꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-01-14Use pthread when there's no C11 threadsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-01-14Ignore build dirsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-11-14One handle for every threadꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
See libcurl-tutorial(3) manual page, "Handle the Easy libcurl".
2021-07-13Revert "Rename page to path"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 294b1faf5509e1eda8c80bb42749336e76f96e03. Generic path can't be here, but page can.
2021-07-10Rename page to pathꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
as it is very generic, that the response may not necessarily be a "page". This function is kept because we still need a generic one here at C world (for folks not using Qt, for example). Besides, the last time I tried, I remember Qt Network failed to build for Emscripten. So, this is what the function is for.. we need the API to stillm be uniform, AND, works on Emscripten too. It is very generic that it should later be out of the Interchange specific client code.
2021-07-10Unignore build filesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
as they could be inside a separate build dir.
2021-07-10More standard layoutꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀