Skip to content

Commit

Permalink
Adding v1.0.6 modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasBagdanavicius committed May 9, 2023
1 parent 4c56a80 commit 4d21927
Show file tree
Hide file tree
Showing 131 changed files with 670 additions and 225 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"editor.rulers": [
80
],
"search.exclude": {
"**/node_modules": true,
"**/dist": true
},
"cSpell.words": [
"Stonetable"
],
Expand Down
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## 1.0.6 - 2023-05-01
## [1.0.6](https://github.com/TomasBagdanavicius/stonetable/releases/tag/v1.0.6) - 2023-05-09

### Changed

- Fixed a few CSS issues considering `text-decoration` and `text-decoration-style` in Safari.
- Fixed a few CSS issues considering `text-decoration`, `text-decoration-style`, and others in Safari.
- When cross-project jumping to another project’s directory in mobile it will now open/focus the aside panel.
- Excluded "node_modules/" and "dist/" directories from search results in workspace in VS Code specific [settings.json](.vscode/settings.json).
- Namespace names will now also be clickable in source code comments (similar to file path names and URLs).
- Reviewed sanitation efforts of data coming into the API files.
- Various small changes.
- Bump PHP Code Test Suite version to 1.0.6
- Bump Project Directory version to 1.0.6

### Added

- Added directory [`scripts/`](src/resources/project-blueprint/scripts/) to project blueprint. This directory contains 2 automated tasks/scripts: (1) [rebuild-special-comments-all.php](src/resources/project-blueprint/scripts/rebuild-special-comments-all.php) which rebuilds all special comments in all files and (2) [rebuild-special-comments-file.php](src/resources/project-blueprint/scripts/rebuild-special-comments-file.php) which rebuilds all special comments inside selected file. Additionally, [`.vscode/tasks.json`](src/resources/project-blueprint/.vscode/tasks.json) was added to show how these scripts can be run as tasks in VS Code IDE.

## [1.0.5](https://github.com/TomasBagdanavicius/stonetable/releases/tag/v1.0.5) - 2023-05-01

Expand Down
2 changes: 1 addition & 1 deletion dist/stonetable/lib/php-code-test-suite/Autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down Expand Up @@ -192,14 +192,18 @@ public function shortenFilenamesAll(

/** Converts all namespaces to HTML hyperlinks in the given text string. */
public function convertNamespacesToHtmlLinks(
string $text
string $text,
?\Closure $match_handler = null
): string {

if( !$text || !$this->vendor_data ) {
return $text;
}

$vendor_names = array_keys($this->vendor_data);
$vendor_names = array_map(
fn( string $value ): string => preg_quote($value . '\\'),
array_keys($this->vendor_data)
);

// Mind the "preceeded by" character group.
$regex_str = sprintf(
Expand All @@ -216,18 +220,22 @@ public function convertNamespacesToHtmlLinks(
foreach( $matches[2] as $index => $match ) {
[$namespace, $line_number] = $match;
$vendor_name = $matches[3][$index][0];
$vendor_name = rtrim($matches[3][$index][0], '\\');
$html_link = $this->namespaceToIdeHtmlLink($namespace);
if( !$match_handler ) {
$wrapper = $this->namespaceToIdeHtmlLink($namespace);
} else {
$wrapper = $match_handler($namespace, $vendor_name);
}
$text = substr_replace(
$text,
$html_link,
$wrapper,
((int)$match[1] + $offset),
strlen($match[0])
);
$offset += (strlen($html_link) - strlen($match[0]));
$offset += (strlen($wrapper) - strlen($match[0]));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @license MIT License
* @copyright Copyright (c) 2023 LWIS Technologies <[email protected]>
* (https://www.lwis.net/)
* @version 1.0.5
* @version 1.0.6
* @since 1.0.0
*/

Expand Down
Loading

0 comments on commit 4d21927

Please sign in to comment.