Commit Graph

553 Commits

Author SHA1 Message Date
a7b705ebea Implemented sending responses. (In an extremely simple way for now.) 2022-07-01 18:25:45 +02:00
24e120142e Implement basig http header parsing, and also send the request through the WebNode tree. 2022-07-01 17:40:47 +02:00
10150d67c8 Fix shadowed declaration. 2022-07-01 01:10:35 +02:00
22a8b3fff5 Fix sign compare warning. 2022-07-01 01:08:51 +02:00
0ee8dc5f2a Callback setup for http_parser. 2022-07-01 01:03:23 +02:00
913d46e7f0 Added http_parser. 2022-06-30 23:25:05 +02:00
7455fc9dd5 moved HTTPParser and writer to the simple server's directory. 2022-06-30 23:18:45 +02:00
08bb253a5c Some initial work on the parser. 2022-06-30 23:12:32 +02:00
ddf3dae42b Also added a HttpWriter. 2022-06-30 21:43:16 +02:00
228cfca0eb Added a new HTTPParser class. 2022-06-30 21:22:42 +02:00
089431e902 Remvoed httpio, as it apparently works differently that how I originally thought. 2022-06-30 21:09:54 +02:00
fe5882665b Added it to the build. 2022-06-30 18:26:51 +02:00
be5f77c874 Added httpio ( https://github.com/fetisov/httpio ). 2022-06-30 18:23:12 +02:00
617d3e6321 Added SimpleWebServerRequest. 2022-06-30 18:06:02 +02:00
92040597e9 Fixed my fix. 2022-06-30 17:29:02 +02:00
e3989cafad Fix a compile error for some of the platforms. 2022-06-30 17:25:45 +02:00
e660b2d848 Cleaned up WebServerSimple and added it to the build. 2022-06-30 17:15:57 +02:00
8014115546 Initial cleanup of the web server classes. 2022-06-30 16:28:23 +02:00
aba918dd73 Added the database classes from rcpp_framework. 2022-06-30 13:23:48 +02:00
121740f070 Added theweb nodes from rcpp_framework. 2022-06-30 13:23:14 +02:00
48e8b85f7e Copied over the javacript export class, as a base of a simple webserver implementation (later). 2022-06-27 16:38:35 +02:00
2fb352fd3c Added note. 2022-06-27 16:37:30 +02:00
75c405c174 Removed the temp folder. 2022-06-27 16:24:04 +02:00
50c20d4a72 ... an another one ... 2022-06-27 16:12:49 +02:00
4251937198 More sign compare warning fixes. 2022-06-27 16:10:02 +02:00
9e99f010bc Fix an another sign compare warning. 2022-06-27 16:06:26 +02:00
567716c79a Fix different sign compare warning. 2022-06-27 15:47:10 +02:00
a6331e9ff9 Fix calling the proper methods. 2022-06-27 15:42:57 +02:00
3a6a046ad4 WebRoot lookup and pix property. 2022-06-27 15:42:40 +02:00
cfe4279709 Fix double includes. 2022-06-27 15:42:11 +02:00
30900ebfb5 Skip evlauating special dist (like ., ..) in FileCache. 2022-06-27 15:04:44 +02:00
844dc44f24 More fixes, and added all of the cleanued up classes to the build. 2022-06-27 14:59:09 +02:00
5d3954bceb Fix a few issues with binds. 2022-06-27 14:23:07 +02:00
f819383012 Smaller cleanups and improvements. 2022-06-27 14:16:23 +02:00
90c0a9937b Renamed SessionManager to HTTPSessionManager. 2022-06-27 13:56:34 +02:00
c530aa2c41 Bindings, and an another round of cleanups for WebRoot. 2022-06-27 13:52:33 +02:00
3d9e615a51 WebServerMiddleware now inherit from Resource. 2022-06-27 13:51:55 +02:00
3644840a8e Added FileCache to the build. 2022-06-27 12:28:36 +02:00
663cd9d3a2 Added bindings to FileCache, also smaller tweaks. 2022-06-27 12:26:57 +02:00
3c78c29c17 Alos cleaned up FileCache. 2022-06-27 01:31:05 +02:00
ba1ea3c62a Cleaned up WebRoot aswell. 2022-06-27 01:15:01 +02:00
7aa6798ab7 Cleaned up WebNode. 2022-06-27 01:03:01 +02:00
633acfcd54 Cleaned up WebServer. 2022-06-26 21:34:29 +02:00
47ee34044a More cleanups to the csrf token middleware. 2022-06-26 20:54:26 +02:00
c3458b80bc Cleaned up the SessionManager. 2022-06-26 20:53:54 +02:00
da266fbea2 Cleaned up HTTPSession. 2022-06-26 20:53:39 +02:00
0b0d5e3657 Cleanup / bindings for Middleware, and CSRFToken. 2022-06-26 19:43:31 +02:00
9ce119a5ab WebServerRequest cleanup + bindings. 2022-06-26 19:25:57 +02:00
19cd0fe4e2 Cleaned up WebPermission. 2022-06-26 17:23:40 +02:00
a92f8dd5c0 Added bindings for WebServerCookie and adde dit to the build. 2022-06-26 17:03:06 +02:00
09ef29804e Added a class for http server's enums, and added it to the build. 2022-06-26 16:09:55 +02:00
b1283a7571 Renamed http_enums.h. 2022-06-26 15:09:55 +02:00
544863b923 Class renames. 2022-06-26 15:00:25 +02:00
e6d45eeb40 Renamed more files in the web module. 2022-06-26 11:13:34 +02:00
6b29462503 Removed RequestPool. 2022-06-26 11:09:36 +02:00
8211115346 Renamed Request to WebServerRequest. 2022-06-26 11:07:45 +02:00
50faba808b Comment. 2022-06-26 03:37:36 +02:00
e69abb36fc Created bindings for HTMLBuilder, and added the module to the build. 2022-06-25 20:15:51 +02:00
2e67a37aff Binds for HTMLBuilder. 2022-06-25 16:53:25 +02:00
893a9af507 Added getters and setters for HTMLTag. 2022-06-25 15:11:11 +02:00
6576809d6b Merged override methods to one int HTMLBuilder. 2022-06-25 14:33:00 +02:00
a9a5b8adaa Getter/Setter for the result. 2022-06-25 12:29:50 +02:00
c8ad42a540 Update return statements. 2022-06-25 12:26:48 +02:00
676245221f An another pass on the bound HTMLBuilder. 2022-06-25 11:58:55 +02:00
48d65fd93d Added the web module from rcpp_framework, and a test attempt at binding HTMLBuilder. The module is not in the build yet. 2022-06-25 01:55:54 +02:00
fae3eabc8c Fix property setter. 2022-06-22 00:43:52 +02:00
b8541c8e9d Fix typo. 2022-06-21 23:05:26 +02:00
45d8f98459 Fixed resizing the canvas. Also now the new menu will clear all layers. 2022-06-21 22:58:54 +02:00
fed839a235 Fix resizing PaintCanvas. 2022-06-21 22:27:44 +02:00
81e959089e Better color for the visual grid. 2022-06-21 21:10:20 +02:00
181ec8f642 Hide the magic menu button. 2022-06-21 21:03:10 +02:00
6939e22983 Fix PasteCutAction. 2022-06-21 20:26:05 +02:00
118fd74a10 Improvements to commit_action()'s logic. 2022-06-21 20:02:33 +02:00
ec82662b10 Fix RainbowAction. 2022-06-21 19:40:47 +02:00
04a8f1d3d2 Fix BucketAction. 2022-06-21 19:21:50 +02:00
50530c4f79 Fix undo and redo order. 2022-06-21 19:15:07 +02:00
10eeb612b0 Also set up layer. 2022-06-21 19:11:46 +02:00
8fe7110dc9 Remove a now uneeded method. 2022-06-21 18:54:33 +02:00
ab5b32cedf Use duplicate(). 2022-06-21 18:54:23 +02:00
1f3ef7782f Bindings for the rest of the actions. 2022-06-21 18:47:22 +02:00
d68d3fa340 Created binds for PaintAction. 2022-06-21 18:04:31 +02:00
233e128dc3 Register the actions to the classdb. 2022-06-21 17:12:03 +02:00
bd609fd96a Now PaintAction inherits from Resource instead of Reference. 2022-06-21 17:04:09 +02:00
2f647c1561 Improved copying the data from an action to an another. I'll try an another solution though. 2022-06-21 17:02:39 +02:00
004bf8e812 Fixed LineAction and RectAction. 2022-06-21 16:35:19 +02:00
918a246ef4 Fixed the tool layer. 2022-06-21 16:28:17 +02:00
1ef976c007 Remove unecessary check. 2022-06-21 16:22:41 +02:00
328af63ad1 Small improvements and simplifications for PaintCanvas. 2022-06-21 14:42:51 +02:00
0483521818 Ported CutAction. 2022-06-21 13:13:41 +02:00
f462e22536 Ported RainbowAction. 2022-06-21 10:52:18 +02:00
cfee15aa52 Ported MultilineAction. 2022-06-21 10:37:22 +02:00
1e979d3061 Ported RectAction. 2022-06-21 10:08:41 +02:00
ad3a5aa196 Ported PasteCutAction. 2022-06-21 00:34:47 +02:00
bafde8e9db Ported LineAction. 2022-06-20 23:22:52 +02:00
61a8942070 Ported DarkenAction. 2022-06-20 22:57:44 +02:00
3db7c40a46 Fixed the up and down arrows of the paint layers. 2022-06-20 22:21:52 +02:00
d8185be48f Fix the initial canvas size for the paint module. 2022-06-20 21:06:44 +02:00
b60b5f79c2 Fix crash in PaintWindow's undo. 2022-06-20 20:42:05 +02:00
6ef7294524 Fix SDF3DShapeCapsule already has a binding error. 2022-06-20 20:07:40 +02:00
b2d2a6fbe5 Fixed BrushAction. 2022-06-20 01:47:20 +02:00