forked from SeasideSt/Seaside
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into streaming-uploads
# Conflicts: # repository/Zinc-Seaside.package/ZnZincServerAdaptor.class/instance/requestHeadersFor..st
- Loading branch information
Showing
127 changed files
with
174 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
repository/Javascript-Core.package/ManifestJavascriptCore.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please describe the package using the class comment of the included manifest class. The manifest class also includes other additional metadata for the package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser |
5 changes: 5 additions & 0 deletions
5
...ckage/ManifestJavascriptCore.class/class/ruleTempsReadBeforeWrittenRuleV1FalsePositive.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
code-critics | ||
ruleTempsReadBeforeWrittenRuleV1FalsePositive | ||
|
||
<ignoreForCoverage> | ||
^ #(#(#(#RGMethodDefinition #(#'JSStream class' #encodeString:on: #true)) #'2023-09-27T18:22:24.916405+02:00') ) |
11 changes: 11 additions & 0 deletions
11
repository/Javascript-Core.package/ManifestJavascriptCore.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "<historical>", | ||
"super" : "PackageManifest", | ||
"category" : "Javascript-Core-Manifest", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "ManifestJavascriptCore", | ||
"type" : "normal" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
repository/Prototype-Tests-Core.package/monticello.meta/version
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
repository/Seaside-HotwireTurbo-Core.package/JSScript.extension/instance/turbo.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*Seaside-HotwireTurbo-Core | ||
turbo | ||
|
||
^ (JSStream on: 'Turbo') |
4 changes: 2 additions & 2 deletions
4
...ript.extension/instance/turboCallback..st → ...ript.extension/instance/turboCallback..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboCallback: aNiladicValuable | ||
|
||
self turboCallback: aNiladicValuable target: (JSStream on: 'this.closest(''turbo-frame'').id') | ||
self turboCallback: aNiladicValuable target: (JSStream on: 'this.closest(''turbo-frame'').id') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
.../WAAnchorTag.extension/instance/turbo..st → .../WAAnchorTag.extension/instance/turbo..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turbo: aBoolean | ||
|
||
"data-turbo=""false"" disables Turbo Drive on links and forms including descendants. To reenable when an ancestor has opted out, use data-turbo=""true"". Be careful: when Turbo Drive is disabled, browsers treat link clicks as normal, but native adapters may exit the app." | ||
|
||
self dataAttributeAt: 'turbo' put: aBoolean | ||
self dataAttributeAt: 'turbo' put: aBoolean |
4 changes: 2 additions & 2 deletions
4
...horTag.extension/instance/turboAction..st → ...horTag.extension/instance/turboAction..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboAction: aString | ||
|
||
(#('replace' 'advance') includes: aString) ifFalse: [ | ||
self error: 'Argument for turboAction must be either ''replace'' or ''advance''.' ]. | ||
self dataAttributeAt: 'turbo-action' put: aString | ||
self dataAttributeAt: 'turbo-action' put: aString |
4 changes: 2 additions & 2 deletions
4
...horTag.extension/instance/turboTarget..st → ...horTag.extension/instance/turboTarget..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboTarget: aString | ||
|
||
"data-turbo-frame identifies the Turbo Frame to navigate. Refer to the Frames documentation for further details." | ||
|
||
self dataAttributeAt: 'turbo-frame' put: aString | ||
self dataAttributeAt: 'turbo-frame' put: aString |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...xtension/instance/turboStreamCallback..st → ...xtension/instance/turboStreamCallback..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboStreamCallback: aValuable | ||
|
||
self action: | ||
((self attributeAt: 'action') copy addField: (self storeCallback: | ||
((WATurboStreamCallback on: aValuable) context: canvas context))) | ||
((WATurboStreamCallback on: aValuable) context: canvas context))) |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...xtension/instance/turboStreamCallback..st → ...xtension/instance/turboStreamCallback..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboStreamCallback: aValuable | ||
|
||
self name: (self storeCallback: ((WATurboStreamCallback on: aValuable) context: canvas context)) | ||
self name: (self storeCallback: ((WATurboStreamCallback on: aValuable) context: canvas context)) |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
.../Seaside-HotwireTurbo-Core.package/WACallback.extension/instance/isTurboStreamCallback.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*Seaside-HotwireTurbo-Core | ||
isTurboStreamCallback | ||
|
||
^ false |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...on/instance/findTurboStreamCallbackIn..st → ...on/instance/findTurboStreamCallbackIn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
findTurboStreamCallbackIn: aRequest | ||
|
||
aRequest fields keysDo: [ :key | | ||
callbacks at: key ifPresent: [ :callback | | ||
callback isTurboStreamCallback | ||
ifTrue: [ ^ callback ] ] ]. | ||
^ nil | ||
^ nil |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...omponent.extension/instance/turboCall..st → ...omponent.extension/instance/turboCall..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboCall: aComponent | ||
|
||
aComponent addDecoration: (WATurboFrame newWithId: self turboframeDecoration id). | ||
^ self call: aComponent | ||
^ self call: aComponent |
4 changes: 2 additions & 2 deletions
4
...xtension/instance/turboframeDecoration.st → ...xtension/instance/turboframeDecoration.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*Seaside-HotwireTurbo | ||
*Seaside-HotwireTurbo-Core | ||
turboframeDecoration | ||
|
||
^ self decorations detect:[ :dec | dec isTurboFrame ] ifNone: [ nil ] | ||
^ self decorations detect:[ :dec | dec isTurboFrame ] ifNone: [ nil ] |
4 changes: 4 additions & 0 deletions
4
repository/Seaside-HotwireTurbo-Core.package/WAComponent.extension/instance/turboframeId.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*Seaside-HotwireTurbo-Core | ||
turboframeId | ||
|
||
^ self turboframeDecoration id |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
repository/Seaside-HotwireTurbo-Core.package/WADecoration.extension/instance/isTurboFrame.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*Seaside-HotwireTurbo-Core | ||
isTurboFrame | ||
|
||
^ false |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...ry/Seaside-HotwireTurbo-Core.package/WAMimeType.extension/class/textVndTurboStreamHtml.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*Seaside-HotwireTurbo-Core | ||
textVndTurboStreamHtml | ||
|
||
^ self main: 'text' sub: 'vnd.turbo-stream.html' |
File renamed without changes.
Oops, something went wrong.