-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #623 from SkyTemple/migrate-to-views
Migrate Views
- Loading branch information
Showing
191 changed files
with
11,126 additions
and
10,140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,6 +198,8 @@ jobs: | |
$env:INCLUDE = "C:\gtk-build\gtk\x64\release\include;C:\gtk-build\gtk\x64\release\include\cairo;C:\gtk-build\gtk\x64\release\include\glib-2.0;C:\gtk-build\gtk\x64\release\include\gobject-introspection-1.0;C:\gtk-build\gtk\x64\release\lib\glib-2.0\include;" + $env:INCLUDE | ||
cd installer | ||
pip debug --verbose # print compatible tags etc. for debugging purposes | ||
# Package | ||
.\build-windows.ps1 $PACKAGE_VERSION | ||
|
@@ -246,11 +248,11 @@ jobs: | |
# git is already installed. | ||
brew install enchant pygobject3 gtk+3 [email protected] gtksourceview4 adwaita-icon-theme sdl12-compat sdl2 cmake | ||
python3 -m venv .venv | ||
python3.11 -m venv .venv | ||
. .venv/bin/activate | ||
pip3 debug --verbose # print compatible tags etc. for debugging purposes | ||
pip3 install -U certifi | ||
PATH=/usr/local/opt/[email protected]/bin:/usr/local/bin:$PATH | ||
# Install other dependencies and SkyTemple itself | ||
|
@@ -332,8 +334,9 @@ jobs: | |
# git is already installed. | ||
brew install enchant pygobject3 gtk+3 [email protected] gtksourceview4 adwaita-icon-theme sdl12-compat sdl2 meson cmake | ||
python3 -m venv .venv | ||
python3.11 -m venv .venv | ||
. .venv/bin/activate | ||
pip3 debug --verbose # print compatible tags etc. for debugging purposes | ||
pip3 install -U certifi | ||
export PATH=/usr/local/opt/[email protected]/bin:/usr/local/bin:/opt/homebrew/bin:$PATH | ||
|
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 |
---|---|---|
|
@@ -108,3 +108,4 @@ venv.bak/ | |
*.glade~ | ||
|
||
.vscode/ | ||
massif.out.* |
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,36 @@ | ||
#!/usr/bin/env bash | ||
export SKYTEMPLE_MEMPROFILE=1 | ||
export G_SLICE=always-malloc | ||
export PYTHONMALLOC=malloc | ||
exec valgrind \ | ||
--tool=massif \ | ||
--num-callers=50 \ | ||
--trace-children=no \ | ||
--threshold=0.1 \ | ||
--alloc-fn=g_malloc \ | ||
--alloc-fn=g_object_new \ | ||
--alloc-fn=g_malloc0 \ | ||
--alloc-fn=g_malloc0_n \ | ||
--alloc-fn=g_malloc_n \ | ||
--alloc-fn=g_realloc \ | ||
--alloc-fn=g_realloc_n \ | ||
--alloc-fn=g_slice_alloc \ | ||
--alloc-fn=g_slice_alloc0 \ | ||
--alloc-fn=g_type_create_instance \ | ||
--alloc-fn=g_object_new_internal \ | ||
--alloc-fn=g_object_new_with_properties \ | ||
--alloc-fn=g_object_newv \ | ||
--alloc-fn=g_object_new_valist \ | ||
--alloc-fn=g_try_malloc \ | ||
--alloc-fn=g_try_malloc_n \ | ||
--alloc-fn=g_hash_table_realloc_key_or_value_array \ | ||
--alloc-fn=realloc_arrays \ | ||
--alloc-fn=g_hash_table_resize \ | ||
--alloc-fn=g_hash_table_maybe_resize \ | ||
--alloc-fn=g_hash_table_insert_node \ | ||
--alloc-fn=g_hash_table_insert_internal \ | ||
--alloc-fn=g_hash_table_setup_storage \ | ||
--alloc-fn=tracemalloc_realloc \ | ||
--alloc-fn=realloc \ | ||
--alloc-fn=calloc \ | ||
python -m skytemple.main |
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
Oops, something went wrong.