Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Streaming Compiler #50

Merged
merged 29 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
dd1abe7
start on streaming parser
withinboredom Sep 25, 2023
4d15ad5
almost everything
withinboredom Sep 26, 2023
9c8cfdc
rendering basic components
withinboredom Sep 26, 2023
99fddd8
remove a bunch of code
withinboredom Sep 26, 2023
eafde2d
clean up
withinboredom Sep 26, 2023
550c040
now I fucking broke everything and it is time for bed
withinboredom Sep 27, 2023
b68647f
start getting things working
withinboredom Sep 27, 2023
39d558a
handle escaping of special cases
withinboredom Sep 27, 2023
c2fcce8
include escaper interface
withinboredom Sep 27, 2023
fc96b18
fix compiler reference
withinboredom Sep 27, 2023
26e564e
properly render the root
withinboredom Sep 27, 2023
371268f
ensure output is set to a string
withinboredom Sep 27, 2023
0bff88a
upgrade htmx
withinboredom Sep 27, 2023
c8af7d7
add more tests
withinboredom Sep 27, 2023
c898192
fix rendering of children attributes
withinboredom Sep 27, 2023
99b786c
fix the escaping of attributes
withinboredom Sep 27, 2023
1a77a66
handle csrf tokens
withinboredom Sep 28, 2023
8e7373e
change api
withinboredom Sep 28, 2023
387d5f9
automatically render
withinboredom Sep 29, 2023
81bd05e
update routing components
withinboredom Oct 7, 2023
7307904
start updating docs
withinboredom Oct 11, 2023
00291f9
fix logic for default routes
withinboredom Oct 11, 2023
74cfa5b
render fragments
withinboredom Oct 11, 2023
9eb3c46
fix listener
withinboredom Oct 11, 2023
533b199
set target correctly
withinboredom Oct 11, 2023
1f23b0a
allow shallow compilation for testing
withinboredom Oct 11, 2023
18727b7
handle shallow renders better
withinboredom Oct 11, 2023
53758f2
update documentation
withinboredom Oct 12, 2023
7715c79
update build;
withinboredom Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .composer-attribute-collector/attributes

This file was deleted.

1 change: 0 additions & 1 deletion .composer-attribute-collector/classmap

This file was deleted.

1 change: 0 additions & 1 deletion .composer-attribute-collector/filtered

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
coverage: xdebug
tools: composer
php-version: '8.2'
extensions: mbstring xdebug dom
extensions: mbstring xdebug

- name: Install Dependencies
run: composer install --optimize-autoloader
run: composer install --optimize-autoloader --no-plugins

- name: Create attributes file
run: composer dump

- name: Run Unit Tests
run: vendor/bin/pest --coverage-clover coverage.xml --ci
Expand Down
17 changes: 16 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"gettext/translator": "^1.1",
"laminas/laminas-escaper": "^2.12",
"masterminds/html5": "^2.7",
"olvlvl/composer-attribute-collector": "^1.1",
"olvlvl/composer-attribute-collector": "^2.0",
"php": ">=8.2",
"php-di/php-di": "^7.0",
"psr/container": "2.0.2",
Expand Down
Loading
Loading