Skip to content

Commit

Permalink
*Published v1.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
paladin-t committed Jan 17, 2024
1 parent 7212eab commit e9ab0ce
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 11 deletions.
19 changes: 19 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### v1.3 Jan. 17, 2024

Enhanced modules, improved usability, fixed some bugs.

* Added an option to the `fetch(...)` function to specify whether to allow insecure connection for HTTPS
* Added global search to the code editor
* Added a shortcut Ctrl+W to select the current word
* Added a shortcut Ctrl+/ to toggle comment
* Added shortcuts Alt+Up/Alt+Down to move code lines up/down
* Added shortcuts Ctrl+PgUp/Ctrl+PgDown to change asset pages
* Added shortcuts Ctrl+U/Ctrl+Shift+U to toggle lower case/upper case
* Added a preference setting to specify indent rule
* Added a preference setting to specify column indicator
* Changed default window scale to 2x if display is big enough
* Improved rendering of document layout
* Optimized text width measurement of the code editor
* Updated the text-based editors to set focus properly
* Updated the code editor to allow moving cursor to the first none-space character when press the Home key

### v1.2.2 Sep. 17, 2023

Enhanced modules, improved usability, fixed some bugs.
Expand Down
2 changes: 1 addition & 1 deletion docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/documents.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
17 changes: 15 additions & 2 deletions docs/documents/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@

A new created project consists of a meta info asset ("info.json") and an entry source ("main.lua"). The meta info indicates basic information of the project in JSON. The entry is where the project starts to execute. You can add supported existing file or create new blank assets into a project. All text-based assets use Unix LF ('\n') for line ending.

Note that it requires external programs to open file dialogs on Linux for opening, saving, exporting, etc. Make sure that at least one of the following is available: "zenity", "kdialog", "matedialog", "qarma".

### In Directory

All assets are stored as raw files under a specific directory in this format.
Expand Down Expand Up @@ -1320,6 +1322,14 @@ fetch('https://github.com', {
end)
```

| Option | Values | Description |
|---|---|---|
| `method` | "GET", "POST", "PUT", "DELETE", etc. | Specific method to perform HTTP request |
| `headers` | Valid HTTP headers | Optional. Header data |
| `body` | Request body | Optional. Body data |
| `hint` | "bytes", "string", "json" | Optional, defaults to "string". Prefers how to interpret respond data |
| `allow_insecure_connection_for_https` | `true`, `false` | Optional, defaults to `false`, for desktop only. Specifies whether to allow insecure connection for HTTPS |

[TOP](#reference-manual)

## Assets and Resources
Expand Down Expand Up @@ -1988,12 +1998,15 @@ Click "Project", "Export..." to select and export some assets to a "*.bit", "*.t

# Building

Note that building on Linux requires to open a "save file" dialog, which depends on one of the following commands: "zenity", "kdialog", "matedialog", "qarma".

## Building for Desktop

Click "Project", "Build", then "Windows"/"MacOS"/"Linux" to make an executable for Windows/MacOS/Linux respectively with the current opened project.

It might require execution permission to launch an exported desktop binary, to apply that permission:

* For MacOS "xattr -cr bitty_stage.app", then "chmod 777 bitty_stage.app/Contents/MacOS/bitty_stage"
* For Linux "chmod 777 x64/bitty"

[TOP](#reference-manual)

## Building for HTML
Expand Down
17 changes: 17 additions & 0 deletions docs/documents/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

* Ctrl+Tab: switch asset
* Ctrl+W: close the current asset
* Ctrl+PgUp/Ctrl+PgDown: change asset page

* Ctrl+E: toggle assets filter
* Ctrl+Shift+N: add asset
Expand Down Expand Up @@ -71,9 +72,17 @@

# Code Edit

* Ctrl+Q: select the current word

* Tab: indent
* Ctrl+Shift+Tab/Shift+Tab: unindent

* Ctrl+U: to lower case
* Ctrl+Shift+U: to upper case

* Ctrl+/: toggle comment
* Alt+Up/Alt+Down: move code lines up/down

* Ctrl+F: find
* F3: find next
* Shift+F3: find previous
Expand Down Expand Up @@ -187,9 +196,13 @@

# JSON Edit

* Ctrl+Q: select the current word

* Tab: indent
* Shift+Tab: unindent

* Alt+Up/Alt+Down: move lines up/down

* Ctrl+F: find
* F3: find next
* Shift+F3: find previous
Expand All @@ -199,9 +212,13 @@

# Text Edit

* Ctrl+Q: select the current word

* Tab: indent
* Shift+Tab: unindent

* Alt+Up/Alt+Down: move lines up/down

* Ctrl+F: find
* F3: find next
* Shift+F3: find previous
Expand Down
2 changes: 1 addition & 1 deletion docs/formats.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ <h2>
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/keycodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/operations.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/physics.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<hr>

<p align="center">
© 2020 - 2023 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
© 2020 - 2024 <a href="https://paladin-t.github.io/" target="_blank">Tony Wang</a> |
<a href="changelog.html">Changelog</a>
</p>
</div>
Expand Down

0 comments on commit e9ab0ce

Please sign in to comment.