Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
silentdeath76 committed Mar 30, 2023
2 parents f37f4c0 + 9de741e commit 8d116ef
Show file tree
Hide file tree
Showing 21 changed files with 286 additions and 170 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# DevelNext-ProjectViewer
### **Для чего ?**

Для просмотра заархивированных проектов DevelNext к которым вряд ли кто-то когда либо вернется, но там есть разные интересные реализации какого то кода.
Для просмотра заархивированных проектов DevelNext без открытия их в самом DevelNext.
А для тех, кто будет использовать еще один плюс — можно посмотреть какие пакеты используются в проекте, и если я знаю про эти пакеты, то будет ссылка на их скачивание либо на страничку GitHub

### **Зачем?**

Программа создавалась для личного использования, и не претендует на какой то ОЧЕНЬ серьезный софт. Все что на данный момент реализованно это следствие активного использования этой программы, и то что показалось очень необходимым если этим кто-то будет пользоваться кроме меня.

![ScreenShot](https://raw.githubusercontent.com/silentdeath76/DevelNext-ProjectViewer/main/assets/screenshot1.png)

![ScreenShot](https://raw.githubusercontent.com/silentdeath76/DevelNext-ProjectViewer/main/assets/screenshot2.png)
![ScreenShot](https://raw.githubusercontent.com/silentdeath76/DevelNext-ProjectViewer/main/assets/screenshot1.png)
Binary file modified assets/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/screenshot2.png
Binary file not shown.
6 changes: 6 additions & 0 deletions src/.data/dependencys.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@
}, {
"name": "AudioBundle",
"link": "https://github.com/MWGuy/jphp-voice-recorder-ext"
}, {
"name": "DiscordRPC",
"link": "https://github.com/silentdeath76/JPHP-DiscordRPC-ext"
}, {
"name": "Yandex Disc",
"link": "https://github.com/silentdeath76/jphp-yandex-disc"
}
]
3 changes: 2 additions & 1 deletion src/.data/web/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ pre .dec { color: #98fb98 !important; } /* decimal - lightgreen */
ol.linenums {
margin-top: 0;
margin-bottom: 0;
width: 30px;
margin-left: 20px;
min-width: 30px;
color: #AEAEAE !important;
} /* IE indents via margin-left */

Expand Down
11 changes: 6 additions & 5 deletions src/.data/web/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
body {
padding: 0px;
margin: 0px;
background-color: #FFFFFF !important;
background-color: #fafbfc !important;
margin-right: 5px;
}

Expand All @@ -12,7 +12,7 @@ pre {
}

/* desert scheme ported from vim to google prettify */
pre.prettyprint { display: block; background-color: #FFFFFF !important; }
pre.prettyprint { display: block; background-color: #fafbfc !important; }
pre .nocode { background-color: none; color: #000 !important; }
pre .str { color: #925959 !important; } /* string - pink */
pre .kwd { color: #7f7948 !important; font-weight: bold }
Expand All @@ -30,7 +30,8 @@ pre .dec { color: #249324 !important; } /* decimal - lightgreen */
ol.linenums {
margin-top: 0;
margin-bottom: 0;
width: 30px;
margin-left: 20px;
min-width: 30px;
color: #444 !important;
} /* IE indents via margin-left */

Expand All @@ -55,11 +56,11 @@ ul {
li.L0, li.L1, li.L2, li.L3, li.L4,
li.L5, li.L6, li.L7, li.L8, li.L9 {
list-style-type: decimal !important;
background-color: #FFFFFF !important;
background-color: #fafbfc !important;
user-select: none !important;
}


::-webkit-scrollbar-corner { background: #FFFFFF !important; }
::-webkit-scrollbar-corner { background: #fafbfc !important; }
::-moz-selection { background: #F2F2F2 !important; }
::selection { background: #F2F2F2 !important; }
3 changes: 2 additions & 1 deletion src/.data/web/nord.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ pre .dec { color: #98fb98 !important; } /* decimal - lightgreen */
ol.linenums {
margin-top: 0;
margin-bottom: 0;
width: 30px;
margin-left: 20px;
min-width: 30px;
color: #AEAEAE !important;
} /* IE indents via margin-left */

Expand Down
4 changes: 2 additions & 2 deletions src/.theme/light.theme.fx.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* {
-base-color: #f0f0f0;
-second-base-color: white;
-base-color: #f7f8fa;
-second-base-color: #fafbfc;
-text-color: black;
-second-text-color: #444444;
-tab-selected-border-color: skyblue;
Expand Down
2 changes: 1 addition & 1 deletion src/.theme/menu-bar.fx.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.menu-bar {
-fx-background-color: -base-color;
-fx-background-color: -second-base-color;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 5, 0.5, 0.0, 0.0);
}

Expand Down
5 changes: 5 additions & 0 deletions src/.theme/tree.fx.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
-fx-background-color: -base-color;
}

.tree-view {
-fx-border-width: 0 1 0 0;
-fx-border-color: derive(-second-base-color, -10%);
}

.tree-cell {
-fx-background-color: -base-color;
-fx-text-fill: -text-color;
Expand Down
6 changes: 6 additions & 0 deletions src/app/Dependency.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ class Dependency
const DEFAULT_DEPENDENCY_PATH = '\DevelNextLibrary\bundles\\';
const DEPENDENCY_ICON_PATH = '.data/img/develnext/bundle/';


/**
* @var ObjectStorage
*/
private $imageCache;


public function getDependencys (ZipFile $zip) {
app()->form("MainForm")->flowPane->children->clear();

Expand Down Expand Up @@ -104,6 +106,7 @@ public function getDependencys (ZipFile $zip) {
}
}


private function getPanelWidth ($panel) {
return $panel->children->offsetGet(1)->font->calculateTextWidth($panel->children->offsetGet(1)->text) + 16;
}
Expand Down Expand Up @@ -153,6 +156,7 @@ public function makeUi ($image, $name) {
return $panel;
}


private function getLink($name) {
static $json = json_decode(FileStream::of('res://.data/dependencys.json'), true);

Expand Down Expand Up @@ -183,6 +187,7 @@ private function getLink($name) {
return $found[$name]["link"];
}


/**
* Иконки стандартных пакетов DN
*
Expand Down Expand Up @@ -211,6 +216,7 @@ public function getIcon ($bundleName) {
return new UXImage($name, 16, 16);
}


/**
* Иконки пользовательских пакетов, елси они были установленны в студии
*/
Expand Down
Loading

0 comments on commit 8d116ef

Please sign in to comment.