Compare commits

...

1366 Commits

Author SHA1 Message Date
6160335af3 [nostalgia] Cleanup and update developer handbook 2021-10-23 14:10:58 -05:00
6074cf7cd6 [gbastartup] Fix __init_array_start calls 2021-10-23 14:10:58 -05:00
160ef61520 [ox/std] Add implementation of what() to ox::Exception 2021-10-14 19:21:59 -05:00
853f8c25ea [ox/std] Add begin and end methods to BasicString 2021-10-14 19:21:59 -05:00
38596ac941 [ox/event] Move isError into namepsace detail 2021-08-03 00:21:05 -05:00
8f6897225a [ox/std] Fix ptrdiff_t header location 2021-08-02 21:47:45 -05:00
e7bf3d5413 [ox/event] Fix build error in exception variant of Signal 2021-08-02 21:23:19 -05:00
ad0d5c8caf [ox/event] Add variant of Signal that uses exceptions 2021-08-02 21:23:19 -05:00
b61f7a95ad [ox/std] Specify std::bit_cast in Vector 2021-08-02 21:23:19 -05:00
90b2e7a43c [ox/std] Fix another inappropriate assign with constructor 2021-08-02 21:23:19 -05:00
8480eeba0c [ox/oc] Resize vectors before writing to them 2021-08-02 21:23:19 -05:00
313b35f605 [ox/std] Fix problems with Vector using operator= where constructors should be used 2021-08-02 21:23:19 -05:00
d8a0a5f50d [ox/std] Remove preprocessor condition for Vector(initializer_list) constructor implementation 2021-07-30 20:10:20 -05:00
68f829ff2d [ox/std] Improve Vector::iterator to better conform to std::vector::iterator 2021-07-30 20:10:20 -05:00
6165f63d09 [buildcore] Add test-rerun-verbose target 2021-07-30 20:10:20 -05:00
3e3cfcaf7d [buildcore] Add test-verbose target 2021-07-30 20:10:20 -05:00
f4580a742e [nostalgia] Add CLion config 2021-07-30 20:08:23 -05:00
77bc18129b [ox/oc] Remove setTypeInfo invocation from OC write 2021-07-29 23:33:09 -05:00
d8a13a0933 [ox/{mc,oc}] Fix problems caused by making methods const 2021-07-29 23:25:45 -05:00
11873bc3ed [ox/std] Add implementation of initializer_list 2021-07-29 23:25:43 -05:00
f53b8e38dc [ox/std] Make fmt version of logError 2021-07-29 23:25:42 -05:00
5d5198bf4c [ox/std] Make logError inline 2021-07-29 23:25:40 -05:00
cc5cc01e70 [ox/model] Make field counting automatic 2021-07-29 23:25:39 -05:00
55f14eb548 [ox/{mc,oc}] Improve noexcept correctness 2021-07-29 23:25:38 -05:00
24ca5623e8 [ox/std] Add initializer_list constructor to Vector 2021-07-29 23:25:38 -05:00
99d342b8b3 [buildcore] Remove duplicate defines and add extra detection for Python 3 2021-07-29 23:25:36 -05:00
5b9e1928d9 [ox/std] Fix oxDefer macro to work outside ox namespace 2021-07-29 23:25:35 -05:00
2e9b7fe871 [ox] Remove need for explicit fields count in model system, add ox::String handler to OC 2021-07-29 23:25:35 -05:00
9418f54ebc [ox/std] Add support for proper std::bit_cast with C++20 enabled 2021-07-29 23:25:35 -05:00
bd0b8e4ee9 [ox/std] Fix copy/move elision in sfmt 2021-07-29 23:25:35 -05:00
1dac98fbc7 [nostalgia/player] Remove old shutdown function use 2021-07-24 01:53:34 -05:00
32ac497a0e [nostalgia/core] Add focusWindow, cleanup GLFW leak into Userland, change shutdown to stop main loop 2021-07-23 21:52:26 -05:00
7dfa2f5713 [nostalgia/core/gba] Cleanup 2021-07-23 21:44:11 -05:00
7ea0654af6 [ox/std] Add proper forward function 2021-07-23 21:44:11 -05:00
78d444c2e5 [ox/std] Add comparison operators to String 2021-07-23 21:44:10 -05:00
39b1292b91 [ox/std] Add version of OutStream that takes String 2021-07-23 21:44:10 -05:00
0aad2913ea [ox/oc] Fix typo 2021-07-23 21:44:09 -05:00
b6b9837bbf [ox/std] Fix Vector::emplace_back and make_unique to properly forward arguments 2021-07-23 21:44:09 -05:00
bed8c35218 [nostalgia/core] Make Context never move 2021-07-18 16:14:45 -05:00
70fd56ce0b [nostalgia/studio] Update copyright notice in Info.plist 2021-07-18 16:14:44 -05:00
643239e104 [nostalgia] Make core::init take FileSystem and return Context, add core::setWindowTitle 2021-07-18 16:14:44 -05:00
2d3602fd05 [ox/event] Cleanup 2021-07-18 16:14:44 -05:00
3a2acae093 [ox/std] Add BasicString::substr(begin, end) 2021-07-18 16:14:44 -05:00
dce98590fc [nostaliga] Update Developer Handbook paragraph formating to one sentence/line 2021-07-17 18:16:32 -05:00
0420dfb545 [nostaliga/core] Add Drawer system and make ImGui use configurable 2021-07-17 18:13:28 -05:00
d3a3d57773 [nostalgia/studio] Cleanup 2021-07-17 13:04:20 -05:00
724cf7f779 [nostalgia/core] Setup Imgui drawing 2021-07-17 12:38:40 -05:00
5a52d322b2 [nostalgia/core/studio] Replace ox::Error catch with ox::Exception catch 2021-07-17 12:34:44 -05:00
eb39c6aaf0 [ox/std] Add ox::Exception 2021-07-17 12:23:36 -05:00
2f9accf5ba [nostalgia/studio] Cleanup 2021-07-17 12:21:54 -05:00
2be31cca5c [nostalgia/core/glfw] Cleanup up main loop is running check to use GLFW 2021-07-17 01:37:45 -05:00
43c67eacaa [nostalgia/player] Add new line to oxErr output 2021-07-17 01:30:00 -05:00
5c28cef726 [ox/std] Make oxErr not automatically print new line to stderr 2021-07-17 01:26:05 -05:00
efe61bab6f [nostalgia/core] Add clipboard support 2021-07-16 20:51:10 -05:00
950712b85e [ox/event] Add Event package 2021-07-16 20:50:29 -05:00
b27d6671fc [buildcore] Replace gmake < file with pybb cat 2021-07-09 19:29:45 -05:00
6bd21bf1b4 [nostalgia/player] Fix warning about using oxErrf without fmt params 2021-07-08 01:59:54 -05:00
fcff38c3fa [buildcore,gbabuildcore] Move GBA specific warning suppression to GBA CMake 2021-07-08 01:57:35 -05:00
51e7120a7c [imgui] Fix non-Apple builds 2021-07-08 01:41:05 -05:00
c0377f9e91 [nostalgia/core/userland] Add imgui link 2021-07-06 21:02:42 -05:00
3e555d38e5 [nostalgia/core] Fix imgui initialization 2021-07-06 21:02:42 -05:00
14cddf3d36 [nostalgia/core/glfw] Cleanup 2021-07-06 21:02:42 -05:00
aa4a1a9011 [nostalgia/glutils] Add error include 2021-07-06 21:02:42 -05:00
6882dc8404 [nostalglia/core/glfw] Cleanup event handling 2021-07-06 21:02:42 -05:00
faf8fa0668 [nostalgia/core] Cleanup 2021-07-06 21:02:42 -05:00
bae1f05038 [nostalgia] Add scaffolding for ImGui 2021-07-06 21:02:42 -05:00
63e46d7bb4 [nostalgia] Move glutils into separate library 2021-07-06 21:02:42 -05:00
282bdc0fd7 [nostalgia] Add paragraph about choosing between exceptions and ox::Error 2021-07-06 20:59:32 -05:00
032aadafdf [nostalgia/tools/pack] Replace ox::Vector<char> with ox::Buffer 2021-07-06 20:58:53 -05:00
176ef214f2 [ox/std] Make symbolicate return more flexible data 2021-07-06 20:58:43 -05:00
8b976279e5 [nostalgia/core/userland] Fix automatic type conversion warnings 2021-07-06 20:58:25 -05:00
ecc049c35b [nostalgia/tools/pack] Cleanup 2021-07-06 20:58:25 -05:00
90ed515842 [ox/std] Cleanup 2021-07-06 20:56:47 -05:00
ff2f13c99f [ox/std] Add defer 2021-07-06 20:56:47 -05:00
fcdede2064 [ox/fs] Cleanup 2021-07-06 20:56:46 -05:00
66a11eae31 [ox/fs] Cleanup 2021-07-06 20:56:46 -05:00
50715ff663 [ox/claw] Cleanup 2021-07-06 20:56:46 -05:00
9638dc52fe [ox/fs] Make write methods take const buffer pointer 2021-07-06 20:56:46 -05:00
992d3a96d7 [ox/std] Fix formatting error 2021-07-06 20:56:46 -05:00
5672074177 [nostalgia/studio] Add cleanup for module loading 2021-06-04 23:40:41 -05:00
08da9d6a94 [nostalgia/studio] Fix access of null ptr in OxFSTreeView 2021-06-04 23:38:25 -05:00
33775f59ff [ox/std] Fix Vector copy constructor not to move items 2021-06-04 23:37:47 -05:00
db3c2602fd [ox/std] Add is_char_v 2021-06-03 02:02:25 -05:00
77ac48740a [ox/std] Make NullStream constructor noexcept 2021-06-03 02:01:58 -05:00
3ba88e2e27 [ox/fs] Make toString(FileType) noexcept 2021-06-03 02:01:14 -05:00
a9b5bfe438 [ox/std] Add BasicString<0> instantiation 2021-06-03 02:00:19 -05:00
5a449cb40b [ox/std] Remove template integer operators from OutStream 2021-05-30 15:57:27 -05:00
77c7a3ab22 [ox/std] Change fmt toCString to take BasicString<sz> instead of String 2021-05-30 15:54:49 -05:00
0099129a19 [nostalgia] Update for Ox changes 2021-05-29 15:04:59 -05:00
ae62f89fe8 [ox/std] Make oxThrowError do a move to satisfy clang-tidy 2021-05-29 15:04:19 -05:00
196c7844ea [ox/fs] Cleanup 2021-05-29 15:03:31 -05:00
4f2a03db94 [ox/fs] Cleanup 2021-05-28 22:18:37 -05:00
c5326d72af [nostalgia/core/gba] Change sprite update iterator to 32 bit int 2021-05-28 22:18:37 -05:00
1df1e3809f [ox/std] Add a form of small string and small vector optimization 2021-05-28 22:18:36 -05:00
b36cd1694b [nostalgia/core/gba] Make BG CTLs uint16 2021-05-15 01:42:17 -05:00
56269004d7 [ox/std] Cleanup tests 2021-05-15 01:41:50 -05:00
314b177666 [nostalgia/core/userland] Remove unnecessary includes 2021-05-15 01:41:23 -05:00
827ba7dcdb [nostalgia/core/glfw] Move wakeup time to Context 2021-05-15 01:39:41 -05:00
f83e814806 [nostalgia/core/glfw] Remove unnecessary includes 2021-05-14 00:40:15 -05:00
6cda13d10b [nostalgia/core/glfw] Fix OpenGL config for Mac 2021-05-13 20:16:12 -05:00
8ffc2830ae [buildcore] Cleanup 2021-05-13 20:16:12 -05:00
42aa518450 [buildcore] Remove bintray conan repo 2021-05-13 20:16:12 -05:00
307684348e [nostalgia/core] Get building with GLFW (it has a better Conan package than SDL) 2021-05-13 20:16:12 -05:00
a17bc04ee7 [nostalgia/studio] Cleanup error handling 2021-05-12 22:13:12 -05:00
e36f49c7fc [nostalgia/player] Cleanup 2021-05-12 22:07:42 -05:00
c1338d9d87 [ox/oc] Fix ox::String serialization 2021-05-12 21:44:34 -05:00
db71c8f3e9 [nostalgia/player] Cleanup 2021-05-12 21:14:58 -05:00
63f4b96d0f [ox] Cleanup 2021-05-12 21:14:18 -05:00
07415a2607 [ox/std] Add iterator.hpp to install list 2021-05-12 21:12:38 -05:00
ec83ed4c7d [nostalgia/core/studio] Cleanup 2021-05-11 22:11:17 -05:00
98cb3e1670 [ox/model] Replace BString<100> with String as ModelString 2021-05-11 22:10:05 -05:00
7302284095 [ox/std] Make String constructors constexpr 2021-05-11 22:09:26 -05:00
a0c645f25c [ox/fs] Replace some reinterpret_casts with placement-new 2021-05-11 22:08:33 -05:00
cdd1de89f8 [ox/fs] Cleanup, Add error messages for unsupported methods in PassThroughFS 2021-05-11 00:52:47 -05:00
5c66f3e0dc [ox/std] Make toCString(std::string) inline in non-C++20 code 2021-05-11 00:48:11 -05:00
fefe8bacc7 [nostalgia/core/userland] Cleanup 2021-05-11 00:46:44 -05:00
f5ff700bf3 [nostalgia] Cleanup 2021-05-11 00:43:07 -05:00
0bcb78d3da [ox/std] Fix Linux build 2021-05-09 22:46:19 -05:00
8dcd350671 [ox/std] Add memmove 2021-05-09 22:43:31 -05:00
2e71d288b4 [nostalgia/studio] Fix copy pessimization 2021-05-09 22:43:13 -05:00
fee5a33da1 [nostalgia/tools/pack] Cleanup 2021-05-08 23:00:55 -05:00
eb207b2d6c [ox/std] Add copyright header to iterator.hpp 2021-05-08 22:56:31 -05:00
6845ff38de [ox/fs] Cleanup error handling 2021-05-08 22:40:59 -05:00
b3fb724ae7 [nostalgia/studio] Cleanup 2021-05-08 22:33:03 -05:00
15d8e9de5b [ox/std] Add iterator to Vector 2021-05-08 22:03:33 -05:00
9a31e898d0 [ox/std] Add Error return value to {,B}String::append 2021-05-07 16:10:41 -05:00
800e04b3b9 [ox/std] Fix stacktrace shave 2021-05-07 07:01:04 -05:00
0f1fbe40dd [ox/std] Increase trace buffer length 2021-05-07 06:48:17 -05:00
1c509ca20d [ox/std] Improve stacktrace clarity 2021-05-07 06:45:10 -05:00
462f5b580b [ox/std] Add sfmt 2021-05-06 12:39:41 -05:00
fb59d8033b [ox/std] Add append to String and cleanup BString::operator+= 2021-05-06 11:58:27 -05:00
a5bb1eeed0 [ox/std] Add Deleter parameter to UniquePtr 2021-05-06 08:21:54 -04:00
46ea85fa7d [ox] Cleanup unnecessary namespace specifications 2021-05-05 21:19:10 -04:00
72f53b08cb [ox/std] Add size_type and value_type to Vector 2021-05-05 17:00:37 -04:00
5fe91ae577 [nostalgia/core/gba] Remove now unnecessary casts 2021-05-03 22:08:37 -04:00
25504d87af [ox/fs] Make directAccess return const char* 2021-05-03 22:06:24 -04:00
d49576451c [nostalgia] Add models and serialization to Developer Handbook 2021-05-03 21:51:56 -04:00
a415e86ae5 [ox/mc] Cleanup 2021-05-03 21:37:00 -04:00
ed598378ae [ox/oc] Cleanup 2021-05-03 21:16:19 -04:00
af7dbd1aee [ox/claw] Fix writeClawHeader to move return value 2021-05-03 20:59:43 -04:00
8f48042a29 [ox/oc] Fix write to move return value 2021-05-03 20:59:06 -04:00
51ae33aed2 [ox/oc] Replace Vector<char> with Buffer 2021-05-03 20:38:13 -04:00
1da5e60655 [ox/{claw,mc}] Fix write functions to move return values 2021-05-03 20:37:20 -04:00
947b1e7798 [ox/claw] Replace Vector<char> with Buffer 2021-05-03 20:09:08 -04:00
d20a24d10f [ox/std] Switch String from Vector<char> to Buffer 2021-05-03 15:12:19 -04:00
c1418cdd6c [ox/fs] Cleanup 2021-05-03 14:56:00 -04:00
d01ff63527 [ox/{mc,oc}] Cleanup 2021-05-03 14:52:36 -04:00
ceebc05ee9 [ox/std] Add Buffer as Vector<char> alias 2021-05-03 14:42:41 -04:00
504d248ce3 [nostalgia/core] Make FileAddress args const ref 2021-05-03 14:32:02 -04:00
937bf3ad91 [ox/fs] Make FileAddress args into const refs 2021-05-03 14:26:02 -04:00
4f2c0b2e30 [ox] Replace uint8_t* with char* as buffer type in MC, OC, and Model 2021-05-03 14:16:23 -04:00
c4c1979123 [nostalgia/player] Cleanup 2021-05-03 13:51:48 -04:00
35a08a4ce8 [nostalgia/tools/pack] Cleanup 2021-05-03 13:51:20 -04:00
33d40b1839 [nostalgia/core/sdl] Cleanup 2021-05-03 13:50:45 -04:00
6c302b7d1c [nostalgia/core/userland] Cleanup readObj 2021-05-03 13:43:19 -04:00
239f4d149d [nostalgia/core/userland] Cleanup 2021-05-03 13:38:12 -04:00
18491dafd9 [ox/oc] Move vector handling over to isVector_v 2021-05-03 13:35:50 -04:00
3a335084c9 [ox/model] Fix modelEquals string and vector handling 2021-05-03 13:31:31 -04:00
eb1a83d907 [ox/model] Add isVector_v 2021-05-03 13:15:33 -04:00
704b94f471 [ox/mc] Switch Vector detection over to isVector_v 2021-05-03 13:13:40 -04:00
e2e62a235a [ox/claw] Cleanup 2021-05-03 11:42:05 -04:00
8f53dda1e2 [ox/fs] Add move methods to FileAddress and fix copy operator to cleanup 2021-05-03 11:39:29 -04:00
a84eb013c9 [nostalgia] Make use buildcore defined buffer 2021-04-29 23:36:44 -05:00
84c42f3584 [buildcore] Make debugger vary by platform 2021-04-29 23:35:57 -05:00
809dbc69b1 [nostalgia/tools/pack] Cleanup 2021-04-29 01:18:26 -05:00
cbc0fc983c [ox/fs] Cleanup 2021-04-29 01:14:54 -05:00
bccae1c613 [ox/std] Update TraceMsg model 2021-04-28 22:35:53 -05:00
85f3904115 [ox/std] Improve noexcept correctness and make Error parameters into references 2021-04-25 15:05:39 -05:00
ee6929c7f0 [ox/claw] Cleanup error handling 2021-04-25 15:01:11 -05:00
6c629a9f13 [ox/oc] Cleanup test scaffolding and replace cout with oxOut 2021-04-25 14:49:57 -05:00
356d6a5036 [ox/std] Fix UniquePtr comparison operators to take const references to avoid copying 2021-04-25 02:33:39 -05:00
5e78289cbc [ox/std] Make fmt stringify(std::string) require C++20 and remove QString variant 2021-04-25 02:07:08 -05:00
3ead29a8bb [ox/std] Make oxIgnoreError constexpr 2021-04-24 15:50:02 -05:00
a2e1ac8851 [ox/std] Add std::string and QString support to fmt 2021-04-24 15:48:46 -05:00
75902ba2a3 [ox/std] Add cbit_cast as a stop-gap until I can implment a normal constexpr bit_cast 2021-04-24 15:43:11 -05:00
24f26d822a [ox/model] Add modelops with copy, move, and equals 2021-04-24 15:39:05 -05:00
2dc9ce4015 [nostalgia/common] Add constexpr and noexcept where appropriate 2021-04-23 23:24:42 -05:00
4518288745 [ox/fs] Add more detail to log messages of PassThroughFS 2021-04-23 03:54:55 -05:00
5e1d4fcd95 [ox/fs] Make FileAddress methods and models constexpr and noexcept 2021-04-23 03:54:25 -05:00
0cf25f3029 [ox/std] Fix HashMap and Vector move operators 2021-04-22 01:17:57 -05:00
85b101884a [ox/std] Remove unnecessary cast 2021-04-22 01:09:42 -05:00
8887daf7e4 [ox/std] Make make_unique not noexcept 2021-04-22 01:08:19 -05:00
9c63f26684 [ox/clargs] Fix overlapping memcpy that asan is being pedantic about 2021-04-21 01:04:07 -05:00
9bd2a5a5ee [ox/fs] Fix broken test that was hidden because of bad asserts 2021-04-21 01:03:09 -05:00
5073681ff9 [ox/oc] Add move constructor for TestStruct 2021-04-21 00:23:27 -05:00
58dbda48c4 [ox] Add Result<T> read{OC,MC,Claw}<T>(...) 2021-04-21 00:06:24 -05:00
4540b410dc [ox/fs] Add Result<Vector<char>> FileSystem::read 2021-04-21 00:05:37 -05:00
863437fb10 [nostalgia/core] Add missing nodiscards and noexcepts 2021-04-20 23:19:42 -05:00
4814b4f5cc [ox/fs] Remove unnecessary nodiscards 2021-04-20 23:18:24 -05:00
17165f5394 [ox/oc] Add missing nodiscards 2021-04-20 23:18:05 -05:00
a86bad1719 [ox/std] Cleanup 2021-04-20 23:16:58 -05:00
314ed8d05c [ox/std] Reorder Error fields to allow for better packing 2021-04-20 22:16:29 -05:00
4cd8f6a0c1 [nostalgia/core] Make loadRomFs return UniquePtr 2021-04-20 22:12:37 -05:00
abf45112b0 [nostalgia/core/gba] Update panic to take Error reference 2021-04-20 22:11:17 -05:00
841a7436c1 [ox/oc] Replace std::unique_ptr usage with ox::UniquePtr 2021-04-20 22:10:14 -05:00
2b579c58bb [ox/std] Add UniquePtr 2021-04-20 22:09:52 -05:00
a16b56325d [ox/std] Remove unnecessary template parameters from assert functions 2021-04-20 22:08:57 -05:00
6ece0b6f9b [nostalgia] Make almost everyting noexcept 2021-04-20 01:57:04 -05:00
161780cb91 [ox] General cleanup and updating to newer coding standards 2021-04-20 01:55:40 -05:00
c587bf0997 [ox/fs] Fix FileSystemTemplate::directAccess 2021-04-18 16:06:52 -05:00
659830fcdf [ox/model] Improve const correctness of SerStr and UnionView 2021-04-18 15:07:51 -05:00
983000efb8 [nostalgia/core/gba] Update for FileSystem directAccess change 2021-04-18 15:06:10 -05:00
16298d8672 [ox/std] Add const version of Result::get 2021-04-18 15:05:48 -05:00
72cec8e459 [ox/mc] Correct parameter naming 2021-04-18 15:05:00 -05:00
858ba9fe8d [ox/fs] Rename Result<const char*> FileSystem::read to directAccess 2021-04-18 15:03:45 -05:00
9d74c5b464 [ox/fs/ptrarith] Make everything in ptrarith noexcept 2021-04-18 14:33:06 -05:00
5ad7c963b1 [nostalgia] Add new oxRequire variants to handbook 2021-04-17 18:29:40 -05:00
96a2e86a35 [nostalgia/tools/pack] Cleanup 2021-04-17 17:55:47 -05:00
c007b5b874 [nostalgia/tools/pack] Remove unnecessary copies and conversions 2021-04-17 17:35:57 -05:00
28dc5552d4 [ox/fs] Add FileSystem::ls(const String&) 2021-04-17 17:35:21 -05:00
304a43a4b4 [nostalgia/tools/pack] Make Pack lib operate on generic ox::FileSystems 2021-04-17 17:24:37 -05:00
9822a6ec47 [ox/mc] Cleanup field presence indicator code 2021-04-17 16:59:16 -05:00
69fb4acd24 [ox/std] Cleanup 2021-04-17 16:40:19 -05:00
39dc09e3d3 [ox/std] Add move operators to HashMap and cleanup noexcept correctness 2021-04-17 16:38:44 -05:00
394d13df9b [ox/mc] Make read take const buffers 2021-04-17 16:37:58 -05:00
772cc7d954 [ox/fs] Add new version of ls and make direct read return const 2021-04-17 16:36:39 -05:00
fef0ff58c3 [nostalgia/tools/pack] Remove all std references from Pack lib 2021-04-17 16:35:35 -05:00
8f7504c1c8 [ox/std] Add String::endsWith 2021-04-17 16:35:14 -05:00
49fb4d0f0b [ox/oc] Remove redundant move in readOC 2021-04-17 14:06:15 -05:00
21f40a8362 [nostalgia/tools] Revert writeFileBuff path to ox::String 2021-04-17 14:04:22 -05:00
4a0f6420b6 [nostalgia/core/studio] Add oxIgnoreError for new Vector::erase Error 2021-04-17 13:58:03 -05:00
af9991c008 [ox/std] Make HashMap::at return Result<T&> instead of Result<T*> 2021-04-17 13:56:52 -05:00
c46ec57431 [ox/std] Make Vector erase methods return Errors 2021-04-17 12:44:27 -05:00
a22823e3b4 [ox] Cleanup some old style error handling 2021-04-17 11:33:33 -05:00
6664462391 [nostalgia/studio] Update Vector::back usage 2021-04-17 11:32:52 -05:00
09383401e5 [ox/std] Make Vector::{front,back} return Result 2021-04-17 11:29:21 -05:00
6610b501b3 [ox/std] Add is_pointer and is_pointer_v 2021-04-17 10:56:24 -05:00
cd1db371eb [ox/std] Fix oxOut and oxErr to explicitly use OutStream over TraceStream 2021-04-17 01:02:36 -05:00
96f79757cf [ox/fs] Remove noexcept from ls and add it to FileSystemTemplate constructors and destructor 2021-04-17 00:51:05 -05:00
8eb19b4cba [nostalgia/tools/pack] Remove <vector> include 2021-04-16 22:00:26 -05:00
b7d24c998e [ox/fs] Cleanup PassThroughFS detection logic 2021-04-16 21:57:34 -05:00
0f99f7eb91 [ox/fs] Make all FileSystem methods noexcept 2021-04-16 21:52:16 -05:00
be09c60f5d [nostalgia/tools/pack] Replace cout and cerr with oxOut and oxErr 2021-04-16 21:19:10 -05:00
86a38c7197 [ox/std] Add support for explicity printing to stdout and stderr 2021-04-16 21:18:31 -05:00
022bc7e512 [nostalgia/tools/pack] Replace std types with ox types 2021-04-16 20:45:46 -05:00
db49361f8a [ox/std] Add support for appending single chars 2021-04-16 20:00:04 -05:00
86202562fe [nostalgia/tools/pack] Update for new FS error handling 2021-04-16 19:56:36 -05:00
e2d74de9c3 [ox/fs] Cleanup error handling 2021-04-16 19:55:25 -05:00
6a566ed35e [ox/std] Cleanup more unnecessary copies and add new variants of oxRequire 2021-04-16 19:53:02 -05:00
90d9a0a8b0 [ox/claw] Make read take a const char* instead of char* 2021-04-16 19:31:08 -05:00
caca376028 [ox/std] Add operator== to Vector 2021-04-15 23:34:56 -05:00
2dde9473d5 [ox/std] Remove redundant copies from Result constructors 2021-04-11 01:24:20 -05:00
cffc3da622 [nostalgia/core/studio] Add Qt headers as PCHs 2021-04-10 21:34:04 -05:00
b93d86be8e [gbabuildcore] Move GBA cmake files to gbabuildcore 2021-04-03 02:40:57 -05:00
6265c6dc3b [ox/std] Add compile definitions to TraceHook lib 2021-04-03 02:40:01 -05:00
53187e0c67 [nostalgia/core] Make screen size function nodiscard 2021-04-01 22:49:07 -05:00
786892dda1 [nostalgia/tools/pack] Update for new ClArgs interface 2021-04-01 22:00:07 -05:00
61fb5207ea [ox/clargs] Make accessors noexcept 2021-04-01 21:59:04 -05:00
bcc4b5f816 [ox/std] Add oxRequireT for throwing instead of returning Errors 2021-04-01 21:58:03 -05:00
86f0e1ca08 [ox/std] Fix non-const HashMap::at 2021-04-01 21:57:26 -05:00
7bbd7bfdb5 [ox/std] Make HashMap::at return type consistent between const/non-const 2021-04-01 02:41:12 -05:00
291027e41e [ox/std] Replace HashMap::operator[] const with HashMap::at const 2021-04-01 02:32:50 -05:00
392351ba48 [nostalgia/tools/pack] Remove ClArgs copy 2021-04-01 01:47:05 -05:00
749e3155b5 [ox/clargs] Make arg reading methods const 2021-04-01 01:43:18 -05:00
b486a4962e [ox/std] Add const accessor to HashMap 2021-04-01 01:42:38 -05:00
d952b68053 [nostalgia/tools/pack] Fix Pack lib install location 2021-04-01 01:15:09 -05:00
ec711331d1 [nostalgia/common] Update models 2021-03-31 02:40:52 -05:00
8f7de171af [nostalgia/core] Make display size function return common::Size instead of common::Point 2021-03-31 02:30:29 -05:00
445db97d31 [nostalgia/core] Add input.hpp to core.hpp 2021-03-31 02:21:50 -05:00
134f5593e2 [nostalgia/player] Split player application logic into separate files 2021-03-31 00:33:31 -05:00
98272b4da7 [nostalgia][sample_project] Cleanup charset's y 2021-03-30 22:01:19 -05:00
6de38c13ee [nostalgia] Cleanup unnecessary explicit Qt linkages 2021-03-30 21:34:49 -05:00
35d7a4d828 [QDark] Make portable between Qt5 and Qt6 2021-03-30 21:25:41 -05:00
2b469da8c3 [nostalgia] Make portable between Qt5 and Qt6 2021-03-30 21:25:01 -05:00
8d62aca8a7 [QDark] Upgrade to Qt6 2021-03-30 20:36:54 -05:00
5bb98747a9 [nostalgia] Port to Qt6 2021-03-30 20:35:42 -05:00
37c3f117fe [nostalgia/core/gl] Initialize buffers 2021-03-30 02:42:18 -05:00
f0b359597a [nostalgia/core/gba] Cleanup 2021-03-30 02:35:31 -05:00
4cace9d8e0 [nostalgia/core/sdl] Reduce required GL version to 3.0 2021-03-28 03:47:38 -05:00
1750fa688a [nostalgia/jenkins] Update Jenkinsfiles for conan 2021-03-28 02:44:08 -05:00
8512f97cf4 [nostalgia/core/sdl] Correct SDL2 find_package case 2021-03-28 02:27:13 -05:00
54383b38e6 [nostalgia] Replace README instruction for VCPKG requirements with Conan 2021-03-28 02:13:01 -05:00
1c81b2aba8 [nostalgia] Remove Conan setup for GBA builds 2021-03-28 00:58:15 -05:00
504c41fabc [nostalgia] Update make setup-conan to make conan-config 2021-03-28 00:42:20 -05:00
c7cb2176ee [buildcore] Make conan properly use own profile 2021-03-28 00:41:34 -05:00
f1a1d94ac3 [nostalgia] Switch back to conan 2021-03-28 00:25:30 -05:00
2ab6ef201e [buildcore] Switch to conan 2021-03-28 00:24:50 -05:00
6656320359 [ox] Switch back to conan 2021-03-28 00:15:15 -05:00
a474dc56c0 [nostalgia/studio] Disable QDark theme on Mac 2021-03-28 00:08:15 -05:00
f22f7507a9 [ox/std] Fix OX_ARCH_ARM64 detection 2021-03-28 00:06:14 -05:00
2c09de230c [buildcore] Remove whole --target option from cmake --build command (for CMake 3.20) 2021-03-27 23:17:03 -05:00
77fbb95479 [buildcore] Make pybb cmake_build check to see if build directory exists 2021-03-27 22:56:13 -05:00
46d4e11e89 [nostalgia,buildcore] Move a lot of generic CMake stuff to BuildCore 2021-03-26 22:05:31 -05:00
4ce18766cd [nostalgia/core/userland] Remove unnecessary copies 2021-03-24 22:40:33 -05:00
b825e88d29 [ox/fs] Cleanup tests 2021-03-24 01:39:07 -05:00
b3dff0a184 [ox/claw] Cleanup tests 2021-03-24 01:29:35 -05:00
29a4bb920a [ox/std] Cleanup tests 2021-03-24 01:29:01 -05:00
9c08ab458a [ox/fs] Cleanup tests 2021-03-24 01:20:27 -05:00
6dd9e30734 [nostalgia/studio] Add package name to test output 2021-03-24 00:56:38 -05:00
403d124e99 [nostalgia/studio] Cleanup JSON test 2021-03-24 00:55:37 -05:00
084cee44fa [nostalgia/core/sdl] Remove SDL implementation's bgTextures 2021-03-24 00:47:53 -05:00
85e7374446 [ox] Add package name to test output 2021-03-24 00:46:03 -05:00
40f2537c05 [ox] Move ptrarith into fs 2021-03-24 00:44:11 -05:00
5a8e16c3f3 [nostalgia/sample_project/descriptors] Change tiles name to pixels in NostalgiaGraphic 2021-03-23 00:03:14 -05:00
aea43306a4 [nostalgia/core/gl] Cleanup VBO, EBO, and VAO initialization 2021-03-23 00:02:17 -05:00
b278b3881e [nostalgia/core/sdl] Put vsync options in config.hpp 2021-03-23 00:01:09 -05:00
c45f4ccccb [nostalgia/core/userland] Delete now unneccsary eboElements count 2021-03-20 16:10:19 -05:00
cc23947d27 [nostalgia/core/userland] Move Vertex arrays and Buffers to GLobject 2021-03-20 16:08:55 -05:00
8d19f99fac [nostalgia/core/userland] Make Texture copy width and height on move 2021-03-20 15:58:51 -05:00
c2554cebdb [nostalgia/core/userland] Fix GLobject to destruct upon reassignment 2021-03-20 15:50:35 -05:00
6bdee3fc1c [nostalgia/core/userland] Add texture deletion 2021-03-20 15:47:32 -05:00
37ec5eccd0 [nostalgia/core/userland] Remove debug line 2021-03-20 15:33:00 -05:00
fb7b582348 [ox/std] Add moveTo method to Result 2021-03-20 15:32:13 -05:00
47a43fecb1 [nostalgia/core/userland] Cleanup shader cleanup with unique_ptr-like GLobject type 2021-03-20 15:31:13 -05:00
896a7a0a96 [nostalgia/core/userland] Replace FPS debug statement with info statement 2021-03-19 20:53:46 -05:00
351ae69f6f [ox/std] Add oxInfo log event type 2021-03-19 20:52:44 -05:00
f58abd9c3f [nostalgia/core] Cleanup and make FPS print a config.hpp option 2021-03-19 19:22:08 -05:00
1d1ce4d2cf [nostalgia/core/userland/gl] Add other 3 backgrounds 2021-03-18 20:29:52 -05:00
e36b123b33 [nostalgia/core/userland] Add bg control functions for GL 2021-03-18 20:19:37 -05:00
ba91de90fc [nostalgia/core] Move setTile implementation out of header 2021-03-18 20:12:08 -05:00
e76fbb0095 [nostalgia/core] Move color types and functions into separate file 2021-03-18 20:09:40 -05:00
9860fec00e [nostalgia/core/userland] Delete GL shaders when done 2021-03-18 19:43:08 -05:00
ff0a959793 [nostalgia/core/gba] Add functions for controlling background status 2021-03-18 19:31:33 -05:00
736b9342ea [nostalgia/core/sdl] Add tracepoint about vsync/adaptive vsync setting 2021-03-18 19:10:20 -05:00
bfca2193bc [nostalgia/core/sdl] Set OpenGL version 2021-03-18 19:06:21 -05:00
e56fa3a531 [nostalgia/core/userland] Cleanup some extraneous GL calls 2021-03-18 02:13:24 -05:00
c4b9858738 [nostalgia/core/sdl] Make attempt to use adaptive vsync and fall back on vsync 2021-03-18 02:02:40 -05:00
d34db292dc [nostlagia/core/userland] Add running of event handler to main loop 2021-03-18 01:52:36 -05:00
4956534af4 [nostalgia/core/userland] Make shader compile failures oxError and return error instead of panicing 2021-03-18 01:35:32 -05:00
be0de98fc2 [nostalgia] Add oxError to the Developer Handbook 2021-03-18 01:33:29 -05:00
3ca9db5e8a [ox/std] Add oxError and oxErrorf 2021-03-18 01:26:05 -05:00
dc1ead2af4 [nostalgia/core/userland] Cleanup 2021-03-17 21:45:34 -05:00
be3caf1818 [nostalgia/core/userland] Restore proper rendering of background 2021-03-17 21:30:30 -05:00
4796c2e0cb [nostalgia/core] Add support for getting screen dimensions 2021-03-17 21:28:06 -05:00
245424cfad [nostalgia/core/userland] Add VBO and EBO length back to array types 2021-03-17 01:40:03 -05:00
61cc30c475 [nostalgia/core/userland] Add OxClaw as dependency 2021-03-17 01:32:24 -05:00
d000c7f34f [nostalgia/core/userland] Fix Tile row skipping and move some non-SDL code into userland 2021-03-17 01:25:59 -05:00
94011c8b18 [nostalgia] Update Developer Handbook with logging and oxRequire 2021-03-16 21:16:19 -05:00
23a7241622 [nostalgia/core/sdl] Cleanup 2021-03-16 21:15:54 -05:00
e6d271295f [ox/std] Add oxRequire 2021-03-16 21:15:05 -05:00
d6ff337cc0 [nostalgia] Make Jenkins build not use ccache, even if available 2021-03-15 22:09:13 -05:00
763955a9bb [gbastartup] Cleanup, make an object lib, and make dependency public 2021-03-15 22:03:35 -05:00
be31ad48a1 [nostalgia/core/userland] Fix Mac build 2021-03-15 22:02:24 -05:00
87b2963687 [nostalgia/core] Establish foundation for tile support in GL 2021-03-14 20:56:12 -05:00
10f11b95a6 [nostalgia/jenkins] Add env to GBA and Mac Jenkinsfiles 2021-03-12 01:41:16 -06:00
84705e304f [ox] Make OX_NODEBUG a normal variable set in main CMakeLists.txt 2021-03-12 01:39:02 -06:00
582cbf2041 [ox/std] Make oxDebug trigger build failure if OX_NODEBUG is set to ON 2021-03-12 01:30:42 -06:00
15d169dd12 [nostalgia/jenkins] Add shared environment var file 2021-03-12 00:58:12 -06:00
458258e30f [nostalgia/jenkins] Add Mac Jenkinsfile 2021-03-11 21:32:29 -06:00
5774bcfdcf [nostalgia] Remove environment variables from Jenkinsfiles 2021-03-11 21:24:50 -06:00
75a2b8f489 [ox/std] Add option to give oxTrace a msg arg 2021-03-11 21:23:59 -06:00
523e0f8f71 [buildcore] Make Xcode builds not marked as current active build 2021-03-11 21:22:48 -06:00
2f95c0aecc [ox/std] Addressing CLion suggestions 2021-03-11 21:19:55 -06:00
01c0397680 [ox/std] Suppress warning about empyt variadic macro arguments for Clang 2021-03-11 20:27:15 -06:00
07c5ed07ef [ox/std] Make use ##__VA_ARGS__ only non OX_USE_STDLIB builds, which are GCC builds 2021-03-11 20:04:34 -06:00
84a9a9d2fd [ox/std] Fix Mac build 2021-03-11 18:46:48 -06:00
3352625afe [nostalgia/core] Start port of PC gfx to OpenGL 2021-03-11 18:46:13 -06:00
cb6066f81e [ox/std] Add oxDebug and oxDebugf, which are oxTrace aliases for debug channel 2021-03-11 00:35:10 -06:00
2ebce7713d [ox] Cleanup some messy trace points 2021-03-10 20:17:45 -06:00
55a4f2451e [ox/std] Add oxTracef 2021-03-10 20:14:31 -06:00
ef6673067b [ox/std] Make Error constructor explicit 2021-03-10 20:14:15 -06:00
01f29c5258 [ox/std] Fix itoa to handle unsigned ints without conversion warnings 2021-03-09 19:36:04 -06:00
e583cade27 [ox/std] Add ResizedInt to get the same sign int with a different size 2021-03-09 19:35:02 -06:00
f24a0a4aab [nostalgia] Add trace init 2021-03-08 20:12:41 -06:00
662c2e11de [ox/std] Add init hook to tracing system 2021-03-08 20:10:46 -06:00
51387eea3a [buildcore] Add license 2021-03-05 21:48:10 -06:00
1698e39089 [nostalgia] Delete gdblogger config 2021-03-05 21:46:39 -06:00
bcb8c108b2 [ox/std] Add option for building trace hook in shared library 2021-03-05 21:45:37 -06:00
c5773202b5 [ox/std] Make ox_atoi return an ox::Result 2021-03-03 00:30:16 -06:00
28e68adc75 [nostalgia/player] Cleanup dependency selection with generator expressions 2021-03-03 00:07:12 -06:00
2e8d0a421c [ox/std] Cleanup 2021-03-02 23:45:42 -06:00
d7c1d2a6ab [ox/mc] Cleanup 2021-03-02 23:39:44 -06:00
dde4fb017e [ox/claw] Make Claw build in GBA builds, only without OC 2021-03-02 23:38:43 -06:00
5d5917566f [ox/clargs] Make OxClArgs pull in OxStd 2021-03-02 21:47:02 -06:00
f5f8593638 [ox/clargs] Make clargs build in bare metal builds 2021-03-02 21:41:45 -06:00
353b1cf667 [nostalgia] Add tracy config file 2021-03-02 21:38:25 -06:00
cb0645860a [buildcore] Add copyright headers and license 2021-03-02 21:35:42 -06:00
e52ac1f78c [nostalgia][buildcore] Put vcpkg pkgs in variable 2021-03-02 21:32:00 -06:00
ca4b9f7bdc [buildcore] Make pybb executable 2021-03-02 21:20:02 -06:00
01fe1349fb [nostalgia] List Python 3 as dependency in README 2021-03-02 21:17:21 -06:00
896702a66b [nostalgia][buildcore] Move setup-bulid and pybb to buildcore 2021-03-02 21:16:07 -06:00
d4e3af1464 [ox/std] Cleanup OS constexpr/define order in defines 2021-03-02 21:05:07 -06:00
36de17bc2d [nostalgia][buildcore] Remove Nostalgia specific args from setup-build.py 2021-03-02 21:02:16 -06:00
eca8641bec [ox/clargs] Remove std::map and std::string as dependencies 2021-03-02 20:35:14 -06:00
8cd5ff66be [nostalgia][buildcore] Break much of Makefile out into new buildcore to make it reusable 2021-03-02 19:44:10 -06:00
3f0824043e [nostalgia] Replace cmake --build use with pybb cmake-build in Makefile 2021-03-01 22:36:08 -06:00
7b6fad8062 [ox/std] Fix Darwin OS detection 2021-02-28 14:31:32 -06:00
936c922c1e [nostalgia] Address CLion warnings 2021-02-27 02:40:59 -06:00
70168286ab [ox] Address CLion warnings 2021-02-27 02:38:18 -06:00
44f4d67c80 [nostalgia] Address CLion recommendations 2021-02-26 08:55:40 -06:00
d50551cc74 [nostalgia] Cleanup build scripts and add support for configuring Xcode project 2021-02-24 19:18:33 -06:00
b3aa0eb59d [nostalgia/studio] Make NostalgiaStudio library static instead of a CMake object library 2021-02-22 22:23:29 -06:00
9a92dadff7 [ox/std] Remove implicit type conversion from ox_itoa 2021-02-22 22:23:10 -06:00
4e70b459f6 [ox/model] Removes some unnecessary type conversions 2021-02-22 22:21:57 -06:00
034cb97a42 [ox/mc] Removes some unnecessary type conversions 2021-02-22 22:21:07 -06:00
60714d3009 [ox/oc] Cleanup ON check to work as a boolean check 2021-02-22 22:19:16 -06:00
a5194fd972 [ox/claw] Make CMake dependencies PUBLIC 2021-02-22 22:18:13 -06:00
657af980c2 [nostalgia] Make NOSTALGIA_QT_PATH a PATH type instead of STRING 2021-02-22 22:16:23 -06:00
a2aa9c8f82 [ox] Fix OX_USE_STDLIB check to work correctly on Windows 2021-02-22 22:01:16 -06:00
57ad13fc4a [ox/std] Add an unlikely label to ox{Return,Throw}Error for C++20 builds 2021-02-21 00:32:07 -06:00
c82b72d8aa [nostalgia/scripts/pybb] Make gracefully exit upon Ctl-C 2021-02-21 00:30:14 -06:00
20ede1b2d7 [nostalgia/studio] Add namespacing to models 2021-02-21 00:14:43 -06:00
20ec019c36 [nostalgia/scripts/pybb] Add explanation comment 2021-02-20 23:58:23 -06:00
c5dbd724eb [nostalgia] Replace some Makefile macros with a pybb function that will return errors 2021-02-20 23:48:30 -06:00
c399cb3f13 [nostalgia/studio] Cleanup 2021-02-20 23:17:55 -06:00
64b9b6071e [nostalgia/scripts/pybb] Remove permission manipulation from rm 2021-02-20 20:56:31 -06:00
127e3f6df0 [nostalgia/scripts/pybb] Fix directory removal 2021-02-20 20:03:54 -06:00
671acc68c4 [nostalgia/studio] Remove unused consts 2021-02-20 19:04:25 -06:00
cad2f078a0 [nostalgia] Add pybb tool to help with cross platform compatibility 2021-02-20 19:00:47 -06:00
f272555a25 [ox/std] Add OS detection 2021-02-03 19:23:55 -06:00
ba4a854368 [nostalgia/core] Finish removing alpha bit from color 2021-02-02 19:24:59 -06:00
983a9b87d5 [nostalgia/core/studio] Remove alpha bit from PaletteEditor 2021-02-02 02:28:25 -06:00
bc8d50f3e7 [nostalgia] Ensure setup_build.py uses Python 3 2021-01-29 20:13:07 -06:00
17ead36d2f [nostalgia/scene] Add models for Doc types 2021-01-22 22:40:59 -06:00
9db256699d [nostalgia/core] Add a setSprite function that takes a Sprite type 2021-01-22 22:39:31 -06:00
c1239b5656 [nostalgia] Run liccor 2021-01-21 23:35:23 -06:00
546f083346 [ox] Run liccor 2021-01-21 23:35:13 -06:00
5f63e39c27 [ox] Update liccor file 2021-01-21 00:48:30 -06:00
d8d214b3d3 [nostalgia/sample_project] Give Charset's 5 rounded features 2021-01-21 00:43:54 -06:00
f86558dc00 [nostalgia/core/studio] Make some const-ible methods in TileSheetEditor const 2021-01-21 00:39:59 -06:00
442e114f00 [nostalgia] Update liccor file 2021-01-21 00:34:08 -06:00
67cbe6ef7f [nostalgia/core/gba] Fix C++20 compatibility issues 2021-01-21 00:34:08 -06:00
d58570d76b [ox/fs] Fix C++20 compatibility issues 2021-01-21 00:34:08 -06:00
d7b82a6eed [nostalgia/core/studio] Fix the TileSheetEditor color key overflow 2020-12-22 21:21:32 -06:00
45a27800b6 [nostalgia/studio] Bundle default profile in studio executable 2020-12-22 21:21:17 -06:00
4276135e65 [ox/clargs] Add default argument option for ClArgs::getString 2020-12-21 23:35:09 -06:00
d98a5e386a [nostalgia/core/studio] Make number keys map to color indices in TileSheetEditor 2020-12-18 00:04:34 -06:00
843da4a810 [nostalgia] Rename plugin references to module 2020-12-17 20:40:23 -06:00
dcef76b488 [nostalgia] Enable LTO 2020-12-17 20:23:28 -06:00
d09dc5cc01 [nostalgia] Remove dynamic library usage
Will make dynamically loaded Modules impossible, but they add complexity
and really aren't that useful...
2020-12-17 20:08:02 -06:00
7a837502a1 [nostalgia] Rename Studio Plugins to Modules, add support for builtin Studio modules, make existing modules builtin 2020-12-17 19:32:31 -06:00
6497b40e64 [nostalgia/core/gba] Remove err from panic message if err is 0 2020-12-15 23:59:13 -06:00
9c8dc09996 [ox/std] Fix ox::assertFunc<bool> for GBA 2020-12-15 23:54:32 -06:00
c038109806 [nostalgia/core/gba] Add sprite update buffer overflow assert 2020-12-15 23:45:54 -06:00
c7e053668e [nostalgia/scene] Start Scene package 2020-12-07 00:18:15 -06:00
a199cf113a [nostalgia/core/studio] Add Fill tool to TileSheetEditor 2020-12-07 00:11:23 -06:00
b07cbe89a1 [nostalgia] Correct plugin IDs 2020-12-06 03:16:34 -06:00
36e602b2b0 [nostalgia/core/studio] Make handle copy/cut/paste selections off tile lines 2020-12-06 03:04:03 -06:00
3dee59d048 [nostalgia] Set CMP0110 to NEW, this which allows spaces in test names 2020-11-21 23:25:44 -06:00
f35b6f0026 [ox] Set CMP0110 to NEW, this which allows spaces in test names 2020-11-21 23:24:09 -06:00
04c660765e [ox/std] Make placement new function constexpr 2020-11-21 23:23:47 -06:00
a5e518ec7a [ox/std] Make Vector::size() nodiscard 2020-11-21 23:21:11 -06:00
381f2b05e3 [nostalgia/core/gba] Remove unnecessary branch from isr 2020-11-10 23:29:10 -06:00
1d4f03823b [nostalgia] Move Auto-Moc settings to Qt project directories 2020-11-10 21:28:51 -06:00
8e696baa9f Merge branch 'master' of https://github.com/gtalent/nostalgia 2020-11-10 21:11:50 -06:00
30b1670658 [nostalgia] Remove cmake minimum version from a very simple CMakeLists.txt 2020-11-10 21:11:00 -06:00
42aa8c3533 [nostalgia] Remove setup-build 2020-11-08 19:56:38 -06:00
5f4e6740cc [nostalgia] Fix MSVC build 2020-11-07 17:59:36 -06:00
40f3c4ecb5 [ox] Fix MSVC build 2020-11-07 17:59:17 -06:00
ef85eea691 [nostalgia] Get Makefile working on Windows 2020-11-07 17:38:41 -06:00
3430e228c8 [nostalgia/core/studio] Make TileSheetClipboards that are passed around use heap 2020-10-21 00:59:22 -05:00
b960539e5f [nostalgia/core/studio] Fix TileSheetEditor cut to use undo stack 2020-10-21 00:47:46 -05:00
2580dbb7ab [nostalgia/core/studio] Add select and cut/copy/paste to TileSheetEditor 2020-10-20 22:19:48 -05:00
985b2b57ba [ox/std] Replace reinterpret_cast with bit_cast in Vector 2020-10-20 19:34:55 -05:00
84dfb17f7f [ox/std] Remove inappropriate noexcepts and call destructors on erase and resize 2020-10-20 19:22:30 -05:00
81a78bf95e [ox/std] Fix Error to build in Clang 2020-10-20 19:11:06 -05:00
9effdad200 [nostalgia/studio] Add Cut action hook 2020-10-19 20:53:24 -05:00
79acffcc29 [ox/std] Add memsetElements 2020-10-19 19:43:20 -05:00
47171f593c [nostalgia/common] Add != operator to Point 2020-10-19 19:42:34 -05:00
fdda3bd82d [nostalgia/studio] Add Copy/Paste hooks 2020-10-19 19:36:23 -05:00
b6c82c42f0 [ox/std] Replace ox::_error with ox::Error constructor 2020-10-16 20:07:07 -05:00
fe40b2e144 [ox] Cleanup unnecessary ox:: 2020-10-16 19:56:13 -05:00
99a2ad8fc9 [nostalgia/sample_project] Update Charset 2020-10-16 19:43:30 -05:00
5587ecf5e5 [nostalgia] Rename ValErr to Result 2020-10-16 19:43:17 -05:00
6b720042d0 [ox] Rename ValErr to Result 2020-10-16 19:43:10 -05:00
faadcae7e9 [nostalgia/core/studio] Add Mod Greater/Equal To menu to TileSheetEditor 2020-10-16 00:54:59 -05:00
0b3b54b3fd [ox] Remove remaining nodiscards from Error functions 2020-10-16 00:07:43 -05:00
d2eea8c2ec [nostalgia] Remove nodiscards from Error and ValErr functions 2020-10-15 23:58:49 -05:00
75814a2896 [ox] Remove now superfluous [[nodiscards]] from ox::Error functions 2020-10-15 23:55:20 -05:00
ec359a805e [nostalgia] Cleanup 2020-10-15 21:46:34 -05:00
40cf65d509 [nostalgia/player] Cleanup 2020-10-13 00:48:14 -05:00
2ba051906a [nostalgia/studio] Fix to clear open tabs before opening them on start 2020-10-13 00:34:15 -05:00
b1d94782db [ox/std] Add Error's m_i to copy operator and constructor 2020-10-12 21:00:01 -05:00
0bbea9c6d5 [nostalgia] Remove nodiscard from handbook, as ox::Error is always nodiscard now 2020-10-12 20:03:05 -05:00
af71bef4f7 [nostalgia/studio] Fix Context to actually have tab parent 2020-10-12 20:01:21 -05:00
c671c8bd66 [nostalgia] Fix ignored ox::Error's 2020-10-11 19:13:39 -05:00
a725369311 [ox] Make Error its own type, not dependent on Integer and make nodiscard 2020-10-11 19:04:00 -05:00
8204188008 [nostalgia/studio] Use QDark theme 2020-09-05 21:10:15 -05:00
5cd7f0cecf [QDark] Make an Object library 2020-09-05 19:29:41 -05:00
26cbb6dc9c Merge commit 'a743ad9496701894406c0d7ded6a44fcecd4219e' as 'deps/QDark' 2020-09-05 19:26:53 -05:00
a743ad9496 Squashed 'deps/QDark/' content from commit 6aef1de
git-subtree-dir: deps/QDark
git-subtree-split: 6aef1de7e97227899c478a5634d136d80991123e
2020-09-05 19:26:53 -05:00
87c428f422 [nostalgia/core/studio] Fix color selection change detection to work with dragging 2020-09-01 20:59:32 -05:00
ca920e5769 [nostalgia] Make Ninja optional 2020-09-01 19:52:35 -05:00
fba4f6a543 [nostalgia/core/studio] Add 8 bit to 5 bit color conversion optiont to PaletteEditor 2020-08-29 17:25:54 -05:00
cef8c54515 [nostalgia/core/studio] Fix memory leaks 2020-08-28 21:38:06 -05:00
f15ad04d33 [nostalgia/core/studio] Add Move Up/Down buttons to PaletteEditor 2020-08-28 21:17:56 -05:00
a63586d0b8 [nostalgia] Update Dockerfile to support vcpkg 2020-08-28 19:14:35 -05:00
9087d03851 [nostalgia] Add ENV_RUN to build commands in Makefile 2020-08-28 18:58:03 -05:00
36da9d7a4a [nostalgia] Cleanup setup-build script 2020-08-28 18:57:21 -05:00
0bf58024f5 [nostalgia] Cleanup setup-build 2020-08-26 21:22:34 -05:00
619e850bb9 [nostalgia] Rewrite setup-build in Python 2020-08-26 21:13:28 -05:00
58922d393a [nostalgia] Update .gitignore 2020-08-15 21:08:42 -05:00
47a9deb94b [nostalgia] Add support for a persistent external vcpkg dir 2020-08-15 20:59:37 -05:00
7671a379c6 [nostalgia] Fix pkg-gba to work with new current build system 2020-08-14 20:54:16 -05:00
591cff6f04 [nostalgia] Fix vcpkg in .gitignore 2020-08-14 20:49:35 -05:00
72380b0190 [nostalgia] Make current build always use current platform 2020-08-14 20:47:30 -05:00
4ec7f2a24e [nostalgia] Make vcpkg dir name specify platform 2020-08-14 03:04:46 -05:00
88bbcc34e2 [nostalgia/core/sdl] Make only destroy textures that actually exist 2020-08-07 01:03:57 -05:00
3a339ea191 [nostalgia] Add vcpkg prerequisites to README 2020-08-05 20:30:05 -05:00
3d40b6f99a [nostalgia] Update Jenkinsfiles for vcpkg 2020-08-05 20:24:20 -05:00
be1a03c554 [nostalgia] Switch from conan to vcpkg 2020-08-05 20:21:07 -05:00
0b0fd151c8 [ox] Switch to vcpkg 2020-08-05 20:17:30 -05:00
621f88fa6a [nostalgia/docs] Make Ninja required and link Developer Handbook in README 2020-07-29 00:54:22 -05:00
9eee36d18e [nostalgia] Add Claw and OC to handbook 2020-07-29 00:35:31 -05:00
803b90d54c [nostalgia/core] Make sprite functions take core::Context argument 2020-07-29 00:04:21 -05:00
579b328212 [ox/std] Cleanup 2020-07-28 19:11:10 -05:00
0d405ec88a [nostalgia/core] Add Context parameter to event_handler 2020-07-28 19:10:36 -05:00
80f98802b6 [nostalgia/core/gba] Add hideSprite and add flipX parameter to setSrpite 2020-07-28 19:09:24 -05:00
4ad959cd74 [nostalgia/core/gba] Re-order interrupt table to hit more common interrupt first 2020-07-25 23:12:48 -05:00
2e80bf8bbd [nostalgia/sample_project] Modify some characters in Charset 2020-07-18 17:09:26 -05:00
e2f1466e64 [nostalgia/core/gba] Cleanup 2020-07-18 17:00:49 -05:00
d9b0c2c42a [nostalgia/player] Make demo sprites user movable 2020-07-18 01:29:18 -05:00
bf2b08b262 [nostalgia/core/gba] Add sprite shape and size options 2020-07-18 01:24:26 -05:00
e8151ac037 [nostalgia/core/gba] Add user input support 2020-07-18 01:23:43 -05:00
72883285f2 [nostalgia/core/gba] Remove unused interrupt handlers 2020-07-17 01:49:23 -05:00
0051006795 [nostalgia/player] Add moving sprites 2020-07-17 01:39:29 -05:00
dc0667ade4 [nostalgia/core/gba] Fix event cycle and add to setter for event handler 2020-07-17 01:36:51 -05:00
a58467f327 [nostalgia/core/gba] Fix timer addresses 2020-07-15 22:01:09 -05:00
f10d318e54 [nostalgia/core/gba] Add wfi functions 2020-07-15 01:41:04 -05:00
834ca2893b [ox/std] Fix oxPanic errCode parameter name 2020-07-14 22:13:54 -05:00
c6ff015f79 [ox/std] Add memset to memops.h 2020-07-14 22:13:09 -05:00
d73bbfb37a [nostalgia/core/gba] Fix timer frequency 2020-07-14 02:53:20 -05:00
0318ba92ce [nostaliga/core/gba] Cleanup 2020-07-14 01:18:49 -05:00
745ea4a0ed [nostalgia/core] Add ticksMs() function 2020-07-14 01:09:47 -05:00
af494072fb [nostalgia] Add DKP and run instructions to README 2020-07-13 19:02:54 -05:00
408d4c8fa1 [nostalgia/core] Make setSprite use word size 2020-07-13 02:21:16 -05:00
7e565a3162 [nostalgia/core/gba] Add sprite support 2020-07-13 00:25:45 -05:00
b32734d727 [gbastartup] Cleanup 2020-07-12 19:38:00 -05:00
7b7a8d75b4 [ox/std] Add OX_ALIGN8 2020-07-11 23:40:16 -05:00
740e0286d0 [ox/std] Add OX_ALIGN4 2020-07-11 22:24:37 -05:00
22a07afa9e [nostalgia/core/gba] Implement ISR 2020-07-10 00:05:39 -05:00
4f79310084 [nostalgia/core] Fix NostalgiaCore library install location 2020-07-09 23:16:35 -05:00
2da5ff6459 [nostalgia] Fix README formatting 2020-07-04 20:51:59 -05:00
229da694ec [nostalgia] Cleanup README and add prerequisites 2020-06-30 12:26:36 -05:00
5142b20036 [nostalgia/core/gba] Cleanup 2020-06-29 11:40:24 -05:00
6d2d8d77a9 [nostalgia] Add setup-conan to README 2020-06-29 11:32:59 -05:00
b21ec14079 [nostalgia] Make Makefile's setup-conan platform specific 2020-06-29 11:32:02 -05:00
95e752bf3b [nostalgia] Reorganize developer handbook and add section on file I/O 2020-06-29 11:31:11 -05:00
e91e9ad58f [nostalgia/core] Cleanup 2020-06-29 11:30:19 -05:00
30ac257d95 [nostalgia/core/gba] Make sizing a scale factor of the GBA 2020-06-23 08:11:57 -05:00
0de5d6b6c0 [nostalgia/core/gba] Cleanup interrupt globals 2020-06-21 13:47:06 -05:00
89aadfb606 [nostalgia/core/gba] Add IRQ system 2020-06-21 11:49:58 -05:00
d664979868 [nostalgia] Cleanup build files 2020-06-20 05:30:22 -05:00
dbf532df1c [ox/mc] Replace an alloca call with malloca to prevent stack overflow 2020-06-20 03:54:16 -05:00
a9ec635160 [ox/std] Make String comparison operators const correct 2020-06-20 03:49:38 -05:00
257e857116 [ox/std] Add move operator to String 2020-06-20 02:58:32 -05:00
0035faa416 [ox/std] Make Vector::push_back use copy constructor instead of copy assign 2020-06-20 02:58:20 -05:00
5c34c26080 [ox/mc] Fix string allocation size 2020-06-20 02:55:25 -05:00
b6f8c9e242 [ox] Add HashMap<String, T> to serializaton handlers 2020-06-19 07:34:04 -05:00
0698353fbf [nostalgia/core/studio] Fix TileSheetEditor crash on save after increasing grid size 2020-06-19 01:41:42 -05:00
9576f78abf [ox/model] Fix TypeDescWriter NameCatcher to have opType of WriteDefinition 2020-06-17 06:44:31 -05:00
7b07edd9e4 [ox/std] Rename is_signed to is_signed_v 2020-06-17 06:36:26 -05:00
a5b01bb0d7 [ox/fs] Cleanup 2020-06-17 01:53:35 -05:00
1c5fed05bf [ox/std] Make ox_strncmp a template 2020-06-17 01:52:28 -05:00
d4983cf3c6 [nostalgia/studio] Replace garbage last character with \n 2020-06-17 01:43:10 -05:00
fc246ee396 [nostalgia/pack] Make pack ignore /.nostalgia 2020-06-17 01:36:01 -05:00
167e470091 [nostalgia/studio] Remove garbage last character in OC files 2020-06-16 05:43:44 -05:00
dae719f78a [nostalgia/studio] Make OxFS tree view hide files starting with . 2020-06-16 05:01:49 -05:00
df96407669 [nostalgia/studio] Make Project write out type data with data 2020-06-16 04:42:18 -05:00
17762b40b7 [ox/oc] Fix write to ignore null objects passed in 2020-06-16 04:41:43 -05:00
4f4ec089fd [ox/model] Fix model descriptor writing to handle Vector, etc. 2020-06-16 04:40:43 -05:00
f58c658be1 [ox/fs] Make PassthroughFS mkdir pass mkdir -p on existing directory 2020-06-16 04:39:15 -05:00
e92e980fde [ox/std] Change toError(ox::ValErr<T>) to toError(const ox::ValErr<T>&) 2020-06-16 00:45:24 -05:00
71b6c72c46 [ox/model] Add opType method to TypeDescWriter 2020-06-16 00:23:03 -05:00
da75443d4c [nostalgia] Move conan install's --build missing to correct position 2020-06-15 23:41:33 -05:00
a45692fa4c [nostalgia/sample_project] Update project files to have new type IDs 2020-06-15 23:38:06 -05:00
112c2c4212 [ox/fs] Change Claw type IDs to domain based namespaces 2020-06-15 23:16:34 -05:00
f8fb458e32 [nostalgia] Change Claw type IDs to domain based namespaces 2020-06-15 23:15:49 -05:00
20f4d50ad6 [ox/std] Add missing includes to CMake install and std.hpp 2020-06-15 04:54:52 -05:00
0eaf54bd22 [nostalgia/tools/pack] Cleanup debug code 2020-06-15 04:44:07 -05:00
978dd70770 [nostalgia] Switch tools to use Claw 2020-06-15 01:40:59 -05:00
9a49761c01 [nostalgia/core/sdl] Switch from MC to Claw 2020-06-15 01:38:28 -05:00
880e6e49d6 [nostalgia/fs] Fix Directory to write back out as a Directory 2020-06-15 01:34:48 -05:00
4a221e52db [ox/claw] Add strip header function 2020-06-15 01:34:22 -05:00
4f1593a0ed [nostalgia] Make gba-pkg's project an argument 2020-06-14 19:02:38 -05:00
18166f6123 [nostalgia/jenkins/gba] Add artifact 2020-06-13 22:32:34 -05:00
228b6dd031 [nostalgia] Fix DEVKITPRO bin paths for Jenkins 2020-06-13 04:24:49 -05:00
a1a0abe83b [nostalgia] Make setup-build only overwrite current_build for native builds 2020-06-13 04:18:37 -05:00
77ece05bf1 [nostalgia/jenkins] Fix GBA Jenkinsfile 2020-06-13 04:15:04 -05:00
9e624619b3 [nostalgia/jenkins] Add Jenkinsfile for GBA builder 2020-06-13 04:08:59 -05:00
5c5c62dc55 [nostalgia/core/studio] Fix TileSheetEditor not to display context menu when right click is not on tile 2020-06-13 03:37:38 -05:00
53358d2e03 [nostaliga/sample_project] Update to use Claw instead of bare MetalClaw 2020-06-13 03:36:19 -05:00
c178a2273b [ox/std] Fix macOS build 2020-06-05 19:47:29 -05:00
f86d0e697a [nostalgia/studio] Replace deprecated call for Qt 5.15 2020-06-05 19:42:37 -05:00
4d806021d0 [ox/claw] Fix TypeInfoCatcher to fit model handler API 2020-05-29 20:24:09 -05:00
98a0c42040 [nostalgia/core/gba][ox/std] Move heap manager from NostalgiaCore to OxStd 2020-05-29 19:44:10 -05:00
0eb33f823c [nostalgia/core/gba] Fix GBA build issues 2020-05-17 04:20:59 -05:00
2dad1688b5 [ox] Fix GBA build 2020-05-17 04:20:43 -05:00
f1110bd849 [nostalgia] Make Linux Jenkinsfile only target Linux builders 2020-05-16 22:53:16 -05:00
b1a0fcbc57 [ox/claw] Add missing write.cpp 2020-05-16 22:47:51 -05:00
e3e00b1716 [nostalgia] Move Jenkinsfile to allow for platform specificity 2020-05-16 22:46:48 -05:00
faaddd1234 [ox/claw] Fix TypeVersion writing 2020-05-16 22:35:54 -05:00
f37515707f [nostalgia] Make Jenkinsfile do ASAN builds 2020-05-16 17:16:17 -05:00
86652ca8d4 [nostalgia] Fix Mac build 2020-05-09 18:44:37 -05:00
819959745d [ox] Fix Mac build and fix MC to increment field counter on empty string 2020-05-08 21:32:56 -05:00
f91874182e [ox/model] Add preloadable attribute to type descriptor 2020-05-08 01:32:36 -05:00
dfb17c851b [nostalgia] Break out Jenkinsfile steps 2020-05-06 20:59:29 -05:00
e2952ec8c1 [ox/claw] Add Claw 2020-05-06 20:38:39 -05:00
9560ccf476 [nostalgia] Remove conan Qt, as it is currently being ignored 2020-05-05 00:03:58 -05:00
e7ea76a7ac [nostalgia] Explicitly list certain dependencies that were causing problems on Fedora 2020-05-04 19:25:10 -05:00
bae54a906b [nostalgia] Add CMake option to disable engine build 2020-05-04 18:22:42 -05:00
b0f268f371 [nostalgia] Make test run build in Makefile 2020-05-04 18:21:48 -05:00
b39735bb08 [nostalgia] Update Jenkinsfile to force conan remote add 2020-05-04 18:20:50 -05:00
6af681bad6 [nostalgia/core] Enable sign conversion warning publicly 2020-04-16 23:51:06 -05:00
9b84d9d8e0 [nostalgia/world] Fix sign conversion 2020-04-16 23:50:30 -05:00
4694bb9dd7 [nostalgia/tools/pack] Fix sign conversion 2020-04-16 23:49:08 -05:00
f758566041 [nostalgia/studio] Add PathExistsValidator 2020-04-16 23:47:08 -05:00
cef5fcd86f [nostalgia/core/userland] Enable sign-conversion warning 2020-04-16 23:44:06 -05:00
8e297f32d4 [nostalgia/core] Move Nostalgia graphics type models to new setTypeInfo 2020-04-16 23:40:22 -05:00
be16229bf7 [nostalgia/core/sdl] Initialize texture lists 2020-04-16 23:39:18 -05:00
11e500520a [nostalgia] Make ox headers system headers 2020-04-16 23:37:35 -05:00
00e645e7a3 [nostalgia/sample_project] Update for new FileAddress 2020-04-16 23:34:45 -05:00
3ff4a59373 [ox/fs] Make FileAddress model use builtin union support 2020-04-16 23:34:08 -05:00
5265a94a80 [ox/oc] Add support for allocating for strings 2020-04-16 23:28:52 -05:00
b3fa531aa0 [ox/model] Add support to SerStr for allocating string 2020-04-16 22:44:50 -05:00
8753d39b66 [ox/std] Fix OxError for release builds and fix ox::Error assignment operator 2020-04-16 22:19:27 -05:00
ed0bf268ba [ox/fs] Add model definition for FileAddress 2020-04-15 21:02:35 -05:00
d0f5819072 [ox/oc] Add union support 2020-04-13 23:36:27 -05:00
d2e7528dae [ox/mc] Fix int reads not to clear out unions 2020-04-13 02:37:08 -05:00
1d07890668 [ox] Add support for unions to model and mc 2020-04-13 02:28:38 -05:00
82a07737ec [nostalgia] Update README 2020-04-11 03:07:52 -05:00
9091f9bd02 [nostalgia] Add profile setting to libstdc++11 in Jenkinsfile 2020-04-09 23:39:24 -05:00
5d95b188d8 [ox/model] Harmonize make the interface for walking over models 2020-04-09 22:57:03 -05:00
a4000f6497 [ox/std] Fix assert for !OX_USE_STDLIB 2020-04-08 23:30:14 -05:00
12c5339295 [nostalgia] Update JsonCpp in conanfile 2020-04-08 03:55:52 -05:00
4064592acc [nostalgia/core/studio] Remove implicit sign conversions 2020-04-07 22:27:28 -05:00
b9c2f3631d [nostalgia/core] Remove implicit sign conversions 2020-04-07 22:10:34 -05:00
d2ec3b8350 [ox/fs] Remove explicit linking of C++ standard file system library 2020-04-07 22:04:23 -05:00
19422ced3e [ox/std] Add move constructor and set null terminator for String 2020-04-07 22:03:19 -05:00
540e67fcd8 [ox/std] Add support for messages in ox::Error 2020-04-07 22:02:07 -05:00
89854a584a [ox/oc] Add OrganicClaw 2020-04-07 22:00:14 -05:00
8b74920270 [ox/std] Fix implicit sign conversion 2020-04-05 19:48:47 -05:00
a74cd1c926 [nostalgia/core/studio] Fix build error in NewTileSheetWizard 2020-04-02 00:58:40 -05:00
5189fefaa1 [nostalgia/core/studio] Move NewTileSheetWizard validation to accept 2020-03-31 22:01:32 -05:00
23c8a5eefc [nostalgia/core] Remove unused file 2020-03-31 21:55:06 -05:00
90c83a492c [nostlgia/core/studio] Implement add color button for PaletteEditor 2020-03-31 21:52:53 -05:00
c99b60186d [ox/std] Fix Vector::expandCap not to delete old array an not new one 2020-03-31 21:42:47 -05:00
64ee637b74 [nostalgia/core/studio] Add NewPaletteWizard and implement NewTileSheetWizard 2020-03-31 21:11:41 -05:00
5cec2cf819 [nostalgia/studio] Add project path to file name function 2020-03-31 21:10:40 -05:00
680881003c [ox/mc] Fix false positive buffer overflow check when string is last item in MC buffer 2020-03-31 20:40:29 -05:00
d7b5f51fdc [ox/mc] Prevent reading array length of absent array 2020-03-30 23:59:01 -05:00
33047fc047 [nostalgia/core/studio] Remove Tile Count field from tile sheet importer 2020-03-30 23:00:44 -05:00
74ef768b6f [nostalgia/core/studio] Add missing override 2020-03-30 20:51:37 -05:00
d457d9688c [nostalgia/studio] Make open tab errors print file and line 2020-03-30 20:50:51 -05:00
267f8eca67 [nostalgia/core/studio] Fix magic numbers in imgconv and make it figure out tile sheet dimensions 2020-03-30 20:49:02 -05:00
e7ae031ce7 [nostalgia/core/studio] Cleanup 2020-03-30 20:09:45 -05:00
5f0217545c [nostalgia/core/studio] Make TileSheetEditor not highlight color cell 2020-03-30 00:43:54 -05:00
5a5905d257 [nostalgia/core/studio] Fix TileSheetEditor to clear pixel data on reload 2020-03-29 23:48:07 -05:00
2e7a81563d [nostalgia/core/studio] Add PaletteEditor 2020-03-29 23:38:32 -05:00
4c6e053e81 [nostalgia/core/studio] Make TileSheetEditor reload when the current palette is updated 2020-03-29 19:00:02 -05:00
11cb4d5a44 [nostalgia/core] Add color 16 functions 2020-03-29 13:35:23 -05:00
a81582d3cd [nostalgia/studio] Make Editor's itemName and exportable const 2020-03-29 13:34:10 -05:00
4011773374 [ox/std] Add insert method to Vector 2020-03-29 13:32:17 -05:00
1d8f8566c5 [nostalgia/core/studio] Fix ng export to only attempt export if output file is given 2020-03-29 13:31:19 -05:00
5f8104efea [nostalgia/core/studio] Make color selection table uneditable 2020-03-27 20:43:35 -05:00
5cc96228f4 [nostalgia/core/studio] Fix drag left click not to update tile sheet 2020-03-27 20:43:17 -05:00
e65e4e44cb [nostalgia/core/studio] Cleanup 2020-03-26 01:39:02 -05:00
8d4fc0e346 [nostalgia/core/studio] Add ability to export tile sheet to png 2020-03-26 01:21:19 -05:00
cd5c3afce7 [nostalgia/common] constexpr-ize Point 2020-03-26 01:19:08 -05:00
a2c012ead4 [nostalgia][core][sdl] Fix bug in loading 8 bpp ng files 2020-03-25 02:05:09 -05:00
26747a6d0f [nostalgia/studio] Add Export menu item and hook 2020-03-24 21:42:42 -05:00
f90a6e30ea [nostalgia/studio] Move undo stack to Editor 2020-03-23 23:25:05 -05:00
362aeef3c7 [nostalgia/core/studio] Remove option for bundled tile sheet palette 2020-03-23 01:48:28 -05:00
350b4ad6c2 [nostalgia/core/sdl] Make draw always report FPS to oxTrace 2020-03-23 01:22:58 -05:00
887167add2 [nostalgia/core/sdl] Add sleep 1 ms to main loop 2020-03-22 21:57:17 -05:00
4dab05aef5 [nostalgia/core/qt] Add missing return nostalgia::core::shutdownGfx 2020-03-22 19:01:45 -05:00
43318acffa [nostalgia/core] Make load tile sheet default to defaultPalette 2020-03-22 18:56:52 -05:00
6d2155d1ed [nostalgia/core] Add support for implementation data to Context and move SDL data to it 2020-03-22 18:30:33 -05:00
0e2276bab8 [nostalgia/core] Add pragma once to context.hpp 2020-03-22 17:53:59 -05:00
95d58d04fb [nostalgia/core/studio] Fix delete tile undo to restore pixel data 2020-03-22 02:06:21 -05:00
d7d0690575 [nostalgia/sample_project] Add Dirt 2020-03-22 01:37:21 -05:00
7ae0befc37 [nostalgia/core/studio] Add delete tile 2020-03-22 01:34:09 -05:00
4ae0becf79 [nostalgia] Add blank to Charset of sample_project 2020-03-22 01:27:27 -05:00
5aeddd87e3 [nostalgia/core/studio] Add ability to insert tile 2020-03-22 01:24:53 -05:00
4f3497326f [nostalgia/core/studio] Make default palette changes save to NostalgiaGraphics 2020-03-19 19:34:32 -05:00
80aae23dc0 [nostalgia/studio] Cleanup 2020-03-19 19:33:55 -05:00
2f4868f59e [nostalgia/core/studio] Add ability for TileSheetEditor to switch palettes 2020-03-19 02:09:26 -05:00
c45ec45457 [nostalgia/core/sdl] Add disabled FPS logging 2020-03-19 02:08:30 -05:00
aa1b5fa4cf [ox/std] Add missing declaration for String::String(const String&) 2020-03-19 01:56:44 -05:00
464b541f67 [nostalgia/tools/pack] Cleanup 2020-03-19 01:54:14 -05:00
e1d3fe0d6b [nostalgia/studio] Add ability to subscribe to updates to files 2020-03-19 01:52:31 -05:00
4273e72e74 [ox/std] Add copy constructor to String 2020-03-16 00:12:09 -05:00
e0a2676d54 [ox/std] Add String::operator=(const String&) 2020-03-15 14:31:43 -05:00
1313b562bd [ox] Remove bstring.hpp include from string.hpp 2020-03-15 14:29:18 -05:00
f7bdd5042d [ox/std] Add String::operator+ methods 2020-03-15 02:17:11 -05:00
412b187c4f [ox/std] Add bstring.hpp to install 2020-03-15 01:20:28 -05:00
38acb5dfc3 [nostalgia/std] Add String as alternative to BString, which uses heap allocations 2020-03-14 16:33:08 -05:00
317cfabc72 [nostalgia/core/gba] Update NostalgiaGraphic format 2020-03-11 19:02:28 -05:00
5ac257de48 [nostalgia/core/userland] Remove mem.cpp 2020-03-11 18:55:18 -05:00
48decc83f6 [nostalgia] Add support for ccache 2020-03-11 00:21:46 -05:00
6ada347ec4 [nostalgia/studio] Cleanup save hooks and add unsaved changes marker to tabs 2020-03-11 00:20:40 -05:00
bf00ff0e41 [nostalgia/core] Add ability to save tile sheets and store columns and rows in ng file 2020-03-11 00:17:07 -05:00
748fea3d43 [nostalgia/core/studio] Stub out saveItem in TileSheetEditor 2020-02-29 00:31:43 -06:00
320d8c1143 [nostalgia/studio] Add save action and cleanup 2020-02-29 00:28:32 -06:00
eddf89a321 [nostalgia/studio] Fix timing of setting HiDPI options 2020-02-25 20:30:36 -06:00
fb5cd6603f [nostalgia/core/gba] Cleanup class/struct inconsistency 2020-02-25 20:29:33 -06:00
4fa431c10b [nostalgia/studio] Add missing include 2020-02-25 20:28:59 -06:00
7ca34da417 [nostalgia/core/studio] Replace TileSheetEditor ScrollView scrolling with manual version 2020-02-25 20:26:35 -06:00
f762e658de [nostalgia] Add launch.vs.json 2020-02-16 14:18:22 -06:00
2133896165 [nostalgia] Update liccor for 2020 2020-02-16 14:16:16 -06:00
4571a95a06 [ox] Fix OxConfig to include Model library 2020-02-16 14:08:28 -06:00
aecb6d55e4 [nostalgia/core/studio] Add null check needed in the destruction phase 2020-02-16 13:55:22 -06:00
2fb0ddf709 [nostalgia/studio] Fix JSON errors to only display when error occurs 2020-02-16 13:45:06 -06:00
1269ee7fad [nostalgia] Fix oxPanic parameter order 2020-02-16 02:06:05 -06:00
da3c9107db [ox/std] Fix type in hardware detection 2020-02-16 02:03:28 -06:00
2a1919208d [nostalgia/studio] Remove debug code 2020-02-16 01:55:32 -06:00
2cff1add56 [nostalgia/studio] Add missing rpath entry 2020-02-16 01:50:23 -06:00
debb3eb981 [nostalgia/studio] Get Studio running with MSVC 2020-02-16 01:45:37 -06:00
74e6a4cbff [ox/std] Fix oxPanic parameter order 2020-02-16 01:43:54 -06:00
5c710051c5 [nostalgia/studio] Fix symbol export issues for MSVC 2020-02-15 12:34:31 -06:00
36b6542bf3 [ox/std] Fix hardware detection to work in MSVC 2020-02-15 12:24:43 -06:00
0abc07e31b Merge branch 'master' of github.com:gtalent/nostalgia 2020-02-15 11:53:52 -06:00
1ec8d721f1 [nostalgia/studio] Get building in MSVC 2020-02-15 11:53:39 -06:00
7df2244f65 [nostalgia] Add make conan to Jenkinsfile 2020-02-12 22:34:49 -06:00
c2b4595c33 [ox/std] Make unrecognized hardware trigger compile error 2020-02-12 22:13:34 -06:00
f06806dafd [nostalgia] Remove overriding of input NOSTALIGA_BUILD_STUDIO setting 2020-02-12 22:04:35 -06:00
c5f0825edb [ox/mc] Fix signed/unsigned comparison in field bitmap 2020-02-12 22:04:35 -06:00
517551348a [ox/fs] Fix GCC/Clang incompatibility 2020-02-12 22:04:35 -06:00
cdf62cbb98 [nostalgia] Get building in MSVC 2020-02-12 22:04:35 -06:00
4cbf1b9a9a [ox] Get building in MSVC 2020-02-12 22:04:35 -06:00
a66f1499a4 [nostalgia/core/gba] Move cstartup.cpp back to gbastartup 2020-02-12 01:56:43 -06:00
29734d5ee1 [nostalgia/tools/pack] Fix oxAssert to use new parameter order 2020-02-11 21:58:24 -06:00
2c582617e3 [nostalgia/core] Always run GBA CMake file and add media.cpp 2020-02-11 21:48:48 -06:00
87968a87f0 [nostalgia/core/gba] Fix memory range 2020-02-11 21:47:48 -06:00
9d4d3cd331 [nostalgia/core/gba] Move cstartup.cpp to NostalgiaCore-GBA 2020-02-11 21:45:48 -06:00
553cde0d0c [ox/fs] Replace uint8_t with char for buffers 2020-02-11 21:42:09 -06:00
90f94dbfc2 [nostalgia/core] Add PassthroughFS support to loadRomFs 2020-02-11 21:34:55 -06:00
fffc66f18b [nostalgia/core/gba] Add test for malloc and unify panic systems 2020-02-11 21:17:10 -06:00
ea14ccac3a [ox/std] Leave panic unimplemented when C++ stdlib is absent 2020-02-11 21:10:36 -06:00
e59499b127 [ox/std] Fix oxIgnoreError to not completely ignore the statement it encompases 2020-02-11 00:07:37 -06:00
afab2f6878 [nostalgia/core] Add loadRomFs 2020-02-01 00:47:08 -06:00
e927c51b61 [ox/fs] Give FileSystem ability to cleanup FS buffer 2020-02-01 00:11:59 -06:00
dd008c3a08 [ox/std] Remove constexpr from ox::bit_cast 2020-01-31 23:53:55 -06:00
54a78ff04e [nostalgia/core/gba] Rewrite heap allocator 2020-01-31 23:53:20 -06:00
878c944ebf [ox/std] Add bit_cast 2020-01-31 19:43:23 -06:00
d9b363330b [ox/std] Rename bitops.hpp to bit.hpp to mirror the new bit in C++20 2020-01-31 19:06:26 -06:00
c9f91c16c2 [ox/fs] Add exception handling to PassthroughFS for fstream usage 2020-01-25 15:18:08 -06:00
5f56a5cc9b [nostalgia] Add build missing option to conan invocation 2020-01-25 00:37:55 -06:00
6cb449ae19 [nostalgia] Add conanbuild to .gitignore 2020-01-25 00:34:40 -06:00
d93c6dff10 [nostalgia] Add sample project 2020-01-25 00:16:44 -06:00
41030161df [nostalgia/core/gba] Change type of MEM_ROM 2020-01-25 00:08:25 -06:00
2d4f1054fd [nostalgia/tools/pack] Replace oxAssert with oxPanic where error is known 2020-01-25 00:07:06 -06:00
52026ba1a3 [ox/fs] Add oxPanic and remove ErrorInfo 2020-01-25 00:04:47 -06:00
c214f3334a [ox] Remove gdblogger 2020-01-24 23:33:57 -06:00
cda6eb92f3 [nostalgia] Add missing changes for CMake to set dist directory 2020-01-24 23:29:16 -06:00
02c8fb1880 [ox] Remove .gdbinit 2020-01-24 23:27:28 -06:00
7bd1f56f93 [nostalgia] Remove .gdbinit 2020-01-24 23:26:59 -06:00
22680ffaf0 [nostalgia] Cleanup unnecessary cast 2020-01-24 23:21:25 -06:00
892fec6905 [nostalgia/tools/pack] Cleanup 2020-01-24 23:09:48 -06:00
a2c8df83c6 [nostalgia/tools/pack] Remove using namespaces 2020-01-24 22:57:28 -06:00
8037bc9535 [ox/fs] Remove unnecessary PassthroughFS fstream close 2020-01-24 22:48:05 -06:00
70925cbde4 [nostalgia/pack] Cleanup error handling and file I/O 2020-01-24 22:29:35 -06:00
e38cf01f07 [nostalgia/core/userland] Replace C file I/O with C++ file I/O to comply with handbook 2020-01-24 19:04:48 -06:00
e8760cd714 [nostalgia] Cleanup setup-build 2020-01-24 18:56:13 -06:00
d1d979d2f1 [nostalgia] Add section to Developer Handbook about mixing C and C++ 2020-01-24 18:55:29 -06:00
615e06aa50 [nostalgia] Remove unused files 2020-01-15 23:28:04 -06:00
7edfc16f25 [nostalgia] Make Makefile more portable 2020-01-14 20:38:26 -06:00
fe91d042db [nostalgia] Updated gba-pkg to use .current_build 2020-01-14 20:25:04 -06:00
33fe14ffa1 [nostalgia] Actually make Ninja usage universal... 2020-01-14 20:16:27 -06:00
1e879b93b7 [nostalgia] Remove remaining C-style casts 2020-01-14 18:50:30 -06:00
6287663957 [nostalgia] Make GBA builds use Ninja 2020-01-14 18:36:47 -06:00
1d49c965fe [nostalgia/player] Remove unused CMake target 2020-01-14 18:36:26 -06:00
441edf0d37 [nostalgia] Fix setup-build cmake invokation 2020-01-12 21:53:57 -06:00
f59ad72ca2 [gbastartup] Make c_start return main(...) 2020-01-12 21:18:21 -06:00
0f3b71e63f [nostalgia/player] Explicitly run FS desctructor, as it is allocated with alloca 2020-01-12 20:54:32 -06:00
1890b4101e [nostalgia/player] Make no-FS case an error 2020-01-12 20:47:53 -06:00
bda4e643af [nostalgia/player] Cleanup main 2020-01-12 20:46:12 -06:00
03fc6280c9 [gbastartup] Add main parameters for GBA build 2020-01-12 20:45:20 -06:00
04727ae57a [nostalgia/core] Add unloadRom function 2020-01-12 20:44:57 -06:00
84ee494834 [ox/fs] Make PassthroughFS presence define more export freindly 2020-01-12 20:43:39 -06:00
08483e6e2f [nostalgia] Remove need for run-make and "current" symlinks 2020-01-09 18:30:35 -06:00
2fab740bf5 [nostalgia/core] Remove common as dependency 2020-01-07 18:34:54 -06:00
5f4cff3c00 [nostalgia/core/studio] Add changing of column/row display configuration 2020-01-04 19:54:33 -06:00
91b959ff9d [nostalgia] Add .PHONY to Makefile and cleanup unused commands 2020-01-03 20:00:58 -06:00
038f0ee493 [nostalgia/studio] Move OxFSTreeView out of Studio lib 2020-01-01 19:30:07 -06:00
3afaa0fc85 [ox/fs] Cleanup 2019-12-31 20:08:50 -06:00
e050339311 Merge branch 'conan' 2019-12-31 17:43:24 -06:00
61a5d100b0 [nostalgia] Add conan command to Makefile 2019-12-31 17:42:48 -06:00
2049931937 [nostalgia/core] Cleanup color channel conversion 2019-12-31 17:34:34 -06:00
0d46cee20d [nostalgia] Get building with Conan 2019-12-30 22:51:35 -06:00
bd1fc01ca1 [nostalgia/core/studio] Obsolete UpdatePixelCommands that change nothing 2019-12-22 21:35:00 -06:00
4b832dd3d7 [ox/fs] Change PassThroughFS to use fstream instead of C file IO for compatibility reasons 2019-12-22 00:30:08 -06:00
942d548fdd [nostalgia] Make BUILD_STUDIO setting a build parameter 2019-12-20 00:13:23 -06:00
9187bcf62b [ox/std] Fix __has_include logic 2019-12-19 23:43:33 -06:00
8c576ef9c5 [ox] Replace __attribute__((packed)) with OX_PACKED 2019-12-19 23:38:17 -06:00
1499f42361 [nostalgia/core/studio] Cleanup pixel data QML exposure 2019-12-15 00:37:06 -06:00
edae4563ff [nostalgia/studio] Cleanup main 2019-12-07 02:14:24 -06:00
c6ecbd6d12 [nostalgia/studio] Actually add studio::Editor... 2019-12-06 23:46:12 -06:00
536435c057 [nostalgia/core/studio] Fix undo operation in TileSheetEditor 2019-12-06 23:28:18 -06:00
ecde378aba [nostalgia/studio] Hook up QUndoGroup in MainWindow to tabs 2019-12-06 23:27:36 -06:00
dd3e5913ed [nostalgia/core/studio] Make TileSheetEditor a studio::Editor 2019-12-06 19:23:45 -06:00
641c6ae637 [nostalgia/studio] Add studio::Editor type as base type for editors 2019-12-06 19:22:07 -06:00
a8bed71255 [nostalgia] Globally enable PIC for non-bare metal builds 2019-12-06 01:11:30 -06:00
540def399e [nostalgia/core/qt] Fix Core-Qt install location 2019-12-06 01:06:10 -06:00
37b6095e13 [nostalgia/core/studio] Add command sequence grouping to tile sheet editor 2019-12-06 00:50:32 -06:00
1edd322352 [nostalgia/core/studio] Add support for dragging cursor around tile sheet editor 2019-12-05 23:38:51 -06:00
38ae116356 [nostalgia/core/gba] Fix BPP setting in tile sheet loader 2019-12-05 23:36:49 -06:00
8fd49469c9 [nostalgia/core/studio] Fix bad PixelUpdate merging code that could keep wrong duplicate 2019-12-05 02:07:03 -06:00
70022d5a96 [nostalgia/core/studio] Fix index lookup for updating pixel color 2019-12-05 01:32:52 -06:00
01ad572499 [nostalgia/core/studio] Make Pixel updates in TileSheetEditor use undo stack 2019-12-03 18:01:00 -06:00
e407ad7246 [nostalgia/core] Add basic color selection and basic tilesheet editing 2019-12-01 00:52:00 -06:00
2e5263764c [nostalgia/core/studio] Add copyright headers to QML files 2019-11-27 14:36:56 -06:00
474230ae97 [nostalgia/core/studio] Make TileSheetEditor's implementation better match data 2019-11-27 14:10:22 -06:00
a9f55ebd02 [nostalgia/core] Rename core::Color to core::Color16 and add core::Color32 2019-11-27 13:53:41 -06:00
1b08d0f851 [nostalgia/player] Replace C header with C++ equivalent 2019-11-26 23:48:39 -06:00
528f9be635 [nostalgia] Add Qt Quick as dependency 2019-11-26 23:47:08 -06:00
d06724ffe1 [nostalgia/core/studio] Fix tile sheet editor to correctly iterate over tiles 2019-11-26 23:46:04 -06:00
d37cd50d99 [nostalgia] Add About to Developer Handbook 2019-11-26 23:36:42 -06:00
8f21670439 [nostalgia/core/studio] Start tile sheet editor 2019-11-26 23:23:12 -06:00
69666a0b31 [nostalgia/core/gba] Fix typo 2019-11-26 23:22:16 -06:00
1d600186cd [ox/fs] Cleanup, Fix FileLocation to make copy of non-const strings 2019-11-26 23:18:38 -06:00
147a37ac6e [ox/std] Cleanup 2019-11-26 23:18:19 -06:00
f634c208ac [nostalgia/studio] Flesh out editor tab system and cleanup studio::Project to use exceptions instead of returning error codes 2019-11-26 23:15:02 -06:00
aa34239eb5 [nostalgia] Start developer handbook 2019-11-23 02:17:34 -06:00
965e280b53 [nostalgia/tools] Remove debug code 2019-11-14 04:57:34 -06:00
45dd2e38e3 [nostalgia/core/gba] Cleanup 2019-11-14 04:51:53 -06:00
ee58ba4e9b [nostalgia] Fix run-studio on Mac 2019-11-13 20:37:23 -06:00
0fbe1b96c3 [nostalgia/core/gba] Add missing section multiplier to TILE_ADDR section index 2019-11-12 21:26:41 -06:00
4247ac0651 [nostalgia/core/gba] Remove unused header 2019-11-12 20:34:57 -06:00
e5a66e1160 [nostalgia/player] Fix loading from directory 2019-11-09 19:01:20 -06:00
7d5595b405 [nostalgia/player] Give player the ability to load from rom file or directory 2019-11-09 18:07:28 -06:00
71b38b243e [nostalgia/core] Replace puts loc param with column and row params 2019-11-09 17:56:50 -06:00
5dc74e6fd7 [ox/std] Fix constexpr-ness of ox_memset 2019-11-09 01:24:15 -06:00
2f45cbe6d9 [gbastartup] Cleanup 2019-11-09 00:36:26 -06:00
e470a1da09 [ox/std] Add ox_inhibit_loop_to_libcall for memset and memcpy 2019-11-09 00:06:05 -06:00
ddb158e433 [ox/fs] Fix Directory allocating too much space 2019-11-07 00:34:07 -06:00
d033335350 [ox/ptrarith] Make NodeBuffer clear all memory before using it 2019-11-07 00:33:34 -06:00
3cc6ca215e [ox/fs] Fix Directory to allocate enough space for new entry 2019-11-04 18:30:17 -06:00
561cf9e2b4 [nostalgia] Fix some broken Makefile commands 2019-11-03 23:31:47 -06:00
876a0a2a23 [nostalgia/player] Remove unused custom startup file 2019-11-03 23:29:47 -06:00
0d0ebc8437 [deps] Add GbaStartup library from devkitPro as dependency 2019-11-03 23:25:25 -06:00
628b4d656b [nostalgia/core] Move puts function out of core implementations to core 2019-11-03 23:20:13 -06:00
758907ab5a [nostalgia] Restore GBA support 2019-11-03 22:25:45 -06:00
deaa293c67 [ox/fs] Fix problems with creating and reading directories 2019-11-03 16:44:57 -06:00
c30ef720c4 [ox/ptrarith] Fix Ptr type's derefernce operator 2019-11-03 16:44:22 -06:00
693e7324ed [ox/mc] Fix buffer overrun issues 2019-11-03 16:42:42 -06:00
7699ae2294 [ox/fs] Remove bad TODO 2019-11-01 18:01:09 -05:00
7105c19c72 [nostalgia/core/gba] Add hardware target types for loading tile maps and palettes 2019-11-01 01:31:11 -05:00
0825c9869a [ox/mc] Add support for individual element readers for arrays 2019-11-01 01:28:29 -05:00
9da47f75c0 [ox/fs] Add support for direct access to FS memory 2019-11-01 01:28:04 -05:00
73377068c6 [nostalgia/core] Cleanup CMake config 2019-10-31 00:23:25 -05:00
3a0b41d2cc [ox/fs] Remove debug line 2019-10-31 00:16:09 -05:00
7f5f74e2a6 [ox/fs] Fix various file system bugs 2019-10-31 00:07:39 -05:00
fc337922ac [ox/std] Add missing null terminator to ox_strncpy 2019-10-31 00:06:11 -05:00
ce94af3f00 [nostalgia/core] Fix GBA compile errors 2019-10-28 00:42:26 -05:00
4f81c47734 [ox] Fix GBA compile errors 2019-10-28 00:40:56 -05:00
bae1908c3b [nostalgia/core] Cleanup 2019-10-27 19:48:32 -05:00
52c4744242 [nostalgia/core] Add support for drawing NostalgiaGraphics in SDL 2019-10-27 16:24:38 -05:00
79a1a6f896 [ox/fs] Add modelWrite to FileAddress and add copy constructor and assignment 2019-10-27 16:22:37 -05:00
656039e011 [ox/std] Replace Error with a multi-field struct 2019-10-27 16:21:41 -05:00
3df78cd515 [nostalgia/common] Update to C++17 namespace nesting 2019-10-27 16:19:49 -05:00
4ca4c31539 [ox/mc] Fix read to resize Vectors before writing to them 2019-10-25 21:48:43 -05:00
37009a7923 [nostalgia/tools/pack] Remove Qt as dependency 2019-10-23 17:39:40 -05:00
a60e7c27b7 [nostalgia/core/studio] Rename New Palette option to External 2019-10-23 00:23:06 -05:00
3bc48c04f7 [nostalgia] Fix build configuration commands in Jenkinsfile 2019-10-22 23:57:48 -05:00
9147a91cc0 [nostalgia] Add agent to Jenkinsfile 2019-10-22 23:56:05 -05:00
0a809037ac [nostalgia/core/studio] Move imgconv to Core Studio 2019-10-22 23:49:12 -05:00
aa171fa069 [nostalgia/core] Remove Write distictions from Graphic and Palette models 2019-10-22 19:37:02 -05:00
adb23d9d6c [nostalgia] Remove Dockerfile from Jenkinsfile 2019-10-22 19:33:19 -05:00
92103bfc41 [nostalgia] Add external palettes to tilesheet system 2019-10-22 19:23:14 -05:00
fbdb48a1ee [ox/fs] Add modelWrite handler to FileAddress 2019-10-22 18:54:19 -05:00
5a0ba33b4c [nostalgia] Remove NostalgiaTool library 2019-10-17 17:50:06 -05:00
54ac86fce7 [ox/fs] Add FileAddress support to FileSystem 2019-10-12 11:56:49 -05:00
ce7c416fb7 [ox/fs] Remove Boost FS usage 2019-10-09 18:59:52 -05:00
aefd65b9e9 [nostalgia] Run liccor 2019-08-17 18:33:31 -05:00
32b345ed0b [nostalgia] Update nested namespaces for C++17 2019-08-03 22:43:17 -05:00
8cd38dccbf [nostalgia/studio] Replace int errors with ox::Error 2019-08-03 22:32:39 -05:00
3c45558dfc [ox/std] Add bitwise not to strong int 2019-08-01 23:20:17 -05:00
2fb1c7e401 [nostalgia/core/gba] Fix strong Error issues 2019-07-31 00:07:23 -05:00
6138d0a37e [ox] Fix GCC warnings 2019-07-31 00:06:47 -05:00
df8e1d31d6 [nostalgia] Fix for explicit ValErr::operator T 2019-07-30 23:08:40 -05:00
c27cc56e31 [ox] Make ValErr::operator T() explicit 2019-07-30 19:00:01 -05:00
2b536ff053 [ox/model] Fix storng int Error errors 2019-07-29 22:58:06 -05:00
ff4adaebf1 [ox/mc] Fix FieldPresenceIndicator to return correct value when overflow occurs 2019-07-29 22:55:17 -05:00
142387aa04 [ox/std] Improve ability to create unique int types, regardless of underlying type 2019-07-28 00:57:50 -05:00
b107dc756b [nostalgia] Switch to strong int Error 2019-07-28 00:32:42 -05:00
f4b336dd77 [ox] Make Error use a strong int 2019-07-28 00:15:10 -05:00
3c86aae616 [ox/std] Fix several problems that arose when trying to use strong ints 2019-07-27 23:56:49 -05:00
6485a780a7 [ox/std] Add strongly typed integer wrapper 2019-07-26 21:32:42 -05:00
c87e92da71 [ox/ptrarith] Add nodiscard to Error return of NodeBuffer::compact 2019-07-25 20:05:00 -05:00
deaa1f13f5 [ox/fs] Add missing nodiscards on ox::Error returns 2019-07-25 19:53:14 -05:00
da2b588deb [nostalgia/core/gba] Change charset to lookup by path 2019-07-24 23:33:01 -05:00
d53430abbc [ox/std] Give AllocAlias separate size option 2019-07-24 07:58:52 -05:00
382df7b2af [nostalgia/tools/pack] Add missing nost-pack changes to actually write ROM 2019-07-23 21:18:01 -05:00
84feeb8c1f [nostalgia/tools/pack] Cleanup 2019-07-22 23:17:08 -05:00
8a562e1cc5 [nostalgia] Update gba-pkg script to use new nost-pack 2019-07-21 23:54:30 -05:00
2d2cd2bbb6 [ox/fs] Add Error return to FileStore compact 2019-07-20 18:46:52 -05:00
22378d0a9f [ox/std] Fix alignment of Vector elements 2019-07-19 22:11:01 -05:00
32d7c7b9e2 [ox/std] Fix syntax error in std::is_union_v 2019-07-19 22:10:32 -05:00
8fa5488d77 [ox/fs] Fix FileStoreTemplate::compact to skip first item and correctly find parent 2019-07-19 20:14:09 -05:00
31b75d1e50 [ox/ptrarith] Fix NodeBuffer::compact to iterate over items when item already in correct location 2019-07-19 19:53:50 -05:00
d55089b582 [ox/ptrarith] Fix NodeBuffer::compact to correclty update dest.prev 2019-07-18 20:31:51 -05:00
69f918664d [nostalgia] Cleanup CMake ON/OFF switches 2019-07-17 22:58:56 -05:00
cb8f26046a [ox/fs] Cleanup Directory test 2019-07-17 21:36:03 -05:00
969af651d3 [ox/fs] Add error return to resize 2019-07-17 21:35:07 -05:00
fb4a768415 [ox/fs] Add better error handling to Directory 2019-07-17 21:31:12 -05:00
62593c48a6 [nostalgia] Upgrade devenv to Fedora 30 2019-07-17 21:27:34 -05:00
25c629f570 [ox/ptrarith] Expand tests 2019-07-17 21:25:33 -05:00
ea2bf8998b [ox/clargs] Link with OxStd 2019-07-17 21:17:10 -05:00
0efe94db45 [ox/fs] Fix extraneous alloc and update rootInode in compact 2019-07-17 20:43:14 -05:00
dc03e01cf8 [ox/ptrarith] Fix NodeBuffer::malloc to correctly update the old last's prev 2019-07-17 20:12:28 -05:00
ffce1dc4df [ox/std] Fix warning about unused private variable 2019-07-16 18:36:45 -05:00
02d92449f9 [ox/std] Add is_union_v and is_class_v 2019-07-15 18:15:14 -05:00
0b218f57c2 [ox/std] Fix Vector copy assignment to allocate as char* 2019-07-15 18:10:00 -05:00
16a09d6814 [ox/std] Make Vector only call constructor and destructor on valid items 2019-07-12 22:48:10 -05:00
806eaa229a [ox/std] Add log message for asserts 2019-07-08 23:18:54 -05:00
7b034be393 [ox/ptrarith] Add asserts to Ptr::operator T* 2019-07-08 23:13:30 -05:00
d4212abe3b [ox/fs] Fix PassthroughFS to pull in defines from header before check 2019-07-07 22:08:39 -05:00
ee9cdbe1e7 [ox/fs] Fix issues with PassthroughFS Boost port 2019-07-06 01:49:28 -05:00
845373e049 [ox/fs] Make macOS builds use Boost FileSystem 2019-07-06 00:09:42 -05:00
6493a5e10e [ox/ptrarith] Disable ptrarith tests when OX_RUN_TESTS is not set 2019-06-29 23:52:43 -05:00
41d6c7188c [ox] Remove -Wshadow, too pedantic 2019-06-28 23:56:17 -05:00
00ed62c04c [nostalgia/studio] Replace use of deprecated qSort with std::sort 2019-06-27 21:25:58 -05:00
959807c08b [ox/model] Fix name shadowing 2019-06-26 23:47:10 -05:00
8730c6380c [ox] Add -Wshadow warning 2019-06-26 21:54:41 -05:00
472249cd6d [ox] Ensure all gdblogger messages always end with a new line 2019-06-26 20:45:48 -05:00
0c7f8c8b5e [ox/nodebuffer] Fix bounds checking in Ptr generation 2019-06-25 08:19:59 -05:00
3adf0df9c7 [ox/ptrarith] Fix NodeBuffer to properly handle removing only node 2019-06-25 00:39:49 -05:00
6571129686 [ox/fs] Add resize compactor 2019-06-22 17:23:24 -05:00
baff558ff2 [ox/fs] Enforce error handling in Directory 2019-06-22 11:52:55 -05:00
74d1bb08fe [nostalgia/tools/pack] Add missing error checking 2019-06-22 02:08:28 -05:00
74fe0c55cc [ox/fs] Enforce error checking of FS function calls 2019-06-22 02:07:20 -05:00
6a5b16c644 [nostalgia/tools/pack] Add verify, cleanup linking options, cleanup error handling 2019-06-22 01:29:55 -05:00
04929302d7 [ox/fs] Rename confusing parameters in FileStoreTemplate::read 2019-06-22 00:40:23 -05:00
3938cb0282 [ox/fs] Cleanup FileStoreTemplate::read 2019-06-21 23:30:06 -05:00
db04367579 [ox/fs] Cleanup hard-to-read code 2019-06-20 23:24:36 -05:00
c87eed730e [ox/fs] Fix Ox FS tests to run again 2019-06-20 23:24:03 -05:00
7b6b53b7d3 [ox/fs] Remove unused parents parameter from Director::write 2019-06-20 22:55:26 -05:00
a204aa8c48 [ox/fs] Move large test allocations to heap 2019-06-20 21:41:32 -05:00
8e82ba2f2e [ox/fs] Fix mkdir -p 2019-06-20 20:42:25 -05:00
eed1a1a94e [nostalgia] Fix GBA build to use altered CMake modules path 2019-06-20 07:50:12 -05:00
9c70aab4a6 [nostalgia] Cleanup CMake files 2019-06-20 00:18:47 -05:00
d9a596649c [nostalgia] Change conanfile.txt with conanfile.py 2019-06-20 00:06:22 -05:00
7725abeac8 [nostalgia] Cleanup CMakeLists.txt 2019-06-19 23:43:58 -05:00
ad85c59107 [ox] Fix CMake inconsistency that broke PC builds 2019-06-19 23:32:59 -05:00
5705fd3d00 [ox/std] Add OX_USE_STDLIB as exported definition on OxStd 2019-06-19 23:32:18 -05:00
c9df80fb73 [nostalgia/studio] Remove deprecated function call for Qt 5.13 2019-06-19 21:09:11 -05:00
67b2764dc7 [nostalgia/tools/pack] Cleanup unnecessary use of Qt 2019-06-17 23:11:01 -05:00
e58407f156 [nostalgia/tools/pack] Add input checking to nost-pack 2019-06-17 23:09:20 -05:00
eb8f292181 [nostalgia/tools] Cleanup 2019-06-17 22:57:49 -05:00
b839af9207 [nostalgia/player] Cleanup 2019-06-16 22:46:24 -05:00
56601b7c4f [nostalgia] Add conanfile.txt 2019-06-16 22:44:33 -05:00
6ace1e641c [ox/std] Add units.hpp to std.hpp and CMake install 2019-06-16 22:43:19 -05:00
5f41a2665b [nostalgia/tools] Add NostalgiaPack library 2019-06-16 22:42:03 -05:00
5ceb0e5f83 [ox/std] Add memory unit consts (KB, MB, GB, TB) 2019-06-16 22:08:10 -05:00
5834201fbb [ox/std] Add ValErr support to oxReturnError 2019-06-16 19:00:47 -05:00
98d045827e [ox/std] Fix placement new declaration to use stdlib declaration if available 2019-06-16 01:04:57 -05:00
14a40bdcd6 [ox/std] Remove usage of stdlib from substitutes... 2019-06-16 00:53:21 -05:00
47ce0408d5 [ox/std] Add substitutes file with missing __cxa_pure_virtual handler 2019-06-15 23:24:58 -05:00
de210c5c7e [ox/fs] Cleanup 2019-06-15 12:16:11 -05:00
eba7d402c9 [nostalgia/player] Replace main with _start in GBA builds 2019-06-15 12:05:08 -05:00
36d8aeabd3 [ox] Fix incorrect setting of build config when passed in from another CMakeLists.txt 2019-06-15 09:44:04 -05:00
30ff7be0e4 [ox] Make code only compile as PIC if a bare metal build 2019-06-15 02:39:46 -05:00
238bc58f66 [ox/std] Fix several issues found compiling on FreeBSD 2019-06-14 19:36:46 -05:00
2b60c04f1a [ox/std] Add gcc library as dependency when building with GCC 2019-06-14 18:19:43 -05:00
1bf3809b47 [ox] Merge branch 'master' of github.com:gtalent/nostalgia 2019-06-14 18:13:50 -05:00
0c05d298d0 [nostalgia] Merge branch 'master' of github.com:gtalent/nostalgia 2019-06-14 18:12:45 -05:00
829357faaf [nostalgia/core] Update for newer versions of ox 2019-06-14 07:56:53 -05:00
22c9e4bdb2 [ox] Remove OC reference 2019-06-14 07:53:00 -05:00
11029c93c8 [ox/std] Add missing ARM7TDMI functions, some are just stubs for now 2019-06-14 07:50:38 -05:00
87c65a70b0 [nostalgia] Remove vscode directory 2019-06-14 07:45:45 -05:00
096509c2be [ox] Fix GCC errors 2019-06-06 18:50:06 -05:00
23b662c2aa [nostalgia] Enable and fix -Wextra warnings 2019-03-30 17:30:56 -05:00
5afe78d015 [nostalgia] Enable and fix several warnings 2019-03-30 17:15:21 -05:00
05c0eb2f78 [ox/fs] Add base path access to PassthroughFS 2019-03-30 17:13:56 -05:00
5dbe160633 [ox/std] Uglify OxError parameter name to prevent name conflicts 2019-03-30 17:13:03 -05:00
5b57f4279a [nostalgia/core/studio] Remove unused BPP field from tile sheet import wizard 2019-03-30 17:06:56 -05:00
6baa9a251c [nostalgia] Add new pack library to bundle project into OxFS 2019-03-30 17:06:22 -05:00
941d714630 [nostalgia/core] Replace old namespace nesting with C++17 nesting 2019-03-28 06:24:20 -05:00
2830eb76b6 [ox] Fix setup_build script for GBA 2019-03-18 22:33:09 -05:00
b229645dd3 [nostalgia/studio] Fix OxFS tree view to only show current level of tree 2019-03-18 22:30:49 -05:00
f191ade18b [ox/mc] Make VLI encode/decode constexpr 2019-03-18 19:26:58 -05:00
b33cd06031 [ox] Get building with devkitARM again 2019-03-18 00:19:04 -05:00
22da505869 [ox/fs] Remove bad debug code from FileStore::unplaceItem 2019-03-17 23:18:54 -05:00
fa3f7801d2 [ox/fs] Remove inode on decLinks if links is 0 2019-03-17 23:16:41 -05:00
7cfe9aad8e [ox/fs] Properly implement FileStore unplaceItem and move ! to correct canWrite 2019-03-17 23:14:17 -05:00
7ac6ec609a [nostalgia] Add missing ox namespace to ox::Error usages 2019-03-17 22:41:48 -05:00
245eba8d5b [ox/fs] Switch some FS test asserts to check for ox::Error instead of 0 2019-03-17 22:39:59 -05:00
07112682c6 [ox/ptrarith] Fix compact not to cycle back to start 2019-03-17 22:39:20 -05:00
7a2033da60 [ox/fs] Fix unnecessary FileStore compacting 2019-03-17 22:37:42 -05:00
c9d816503d [ox/std] Fix string number/char* append 2019-03-17 17:57:17 -05:00
38400e4406 [nostalgia] Replace int with ox::Error 2019-03-17 16:26:22 -05:00
52b9316858 [ox/std] Replace int with ox::Error where appropriate 2019-03-17 14:13:49 -05:00
94afbd4f60 [nostalgia] Move from old Serialization API to new Model API 2019-03-17 13:43:00 -05:00
d139eb9729 [ox/std] Move std::size_t delcaration to beginning of std/types.hpp 2019-03-17 13:21:04 -05:00
bbd1d187b2 [ox/model] Rename ioOp and op to model and field 2019-03-17 13:18:46 -05:00
bf6469b4a3 [ox] Rename Serialization package to Model 2019-03-17 13:04:18 -05:00
cf7ba595aa [ox/std] Cleanup 2019-03-17 03:05:00 -05:00
e0605edb6e [ox/mc] Use VLI encoding for integers 2019-03-17 03:04:39 -05:00
817e3fcef1 [ox/mc] Add bytes read to decodeInteger and fix overreading 2019-03-17 01:11:12 -05:00
df44abc316 [ox/mc] Add VLI decode 2019-03-17 00:04:00 -05:00
341dbf14ae [ox/mc] Fix VLI encoding not to chop off ends of >24 bit integers 2019-03-16 23:54:53 -05:00
1780657789 [ox/std] Add Siged and Unsiged templates 2019-03-16 15:50:37 -05:00
585ff0a1fe [ox/std] Add raw to byteswap type 2019-03-16 14:51:09 -05:00
9f805f761d [ox/std] Add noexcept to bitops functions 2019-03-16 14:50:32 -05:00
10b3757558 [ox/std] Add is_signed 2019-03-16 14:49:16 -05:00
e4aab88831 [ox/mc] Fix VLI encoding to handle negatives 2019-03-16 14:41:43 -05:00
a9b7b00011 [ox/ser] Fix to use Error instead of int 2019-03-16 14:39:50 -05:00
80dd6282f5 [ox/std] Add integer size templates 2019-03-16 14:28:11 -05:00
17fc48aa26 [ox/mc] Finish encoding for variable length integers 2019-03-15 01:30:38 -05:00
9e55e5f63c [nostalgia/world] Cleanup field counts for models 2019-03-13 20:22:08 -05:00
e31f51648c [ox/ser] Cleanup 2019-03-13 17:53:33 -05:00
538fcdb43c [ox/ser] Rename McStr to SerStr 2019-03-08 21:26:21 -06:00
4330c015a5 [ox/ser] Fix byte lengths of integer types 2019-03-08 00:21:33 -06:00
e45122184e [ox/mc] Rename FieldPresenceMask to FieldPresenceIndicator 2019-03-07 23:00:59 -06:00
f218ec44af [ox] Split generalizable portion MC into ser package 2019-03-07 21:47:46 -06:00
fa1cf8bb73 [ox] Prefix build setup targets with configure- 2019-03-07 18:04:57 -06:00
e41cb307a7 [nostalgia] Change setup-* targets to configure-* 2019-03-07 18:04:25 -06:00
7ff3b59801 [ox] Change make target to all 2019-03-07 18:02:05 -06:00
5a9ab80753 [nostalgia] Allow studio to build without NOSTALGIA_QT_PATH 2019-03-07 18:00:08 -06:00
c63a18b1dd [nostalgia/devenv] Remove pwsh and libc++ 2019-03-07 17:58:42 -06:00
cd91f6b60a [ox/mc] Add basic walking of data by data descriptor 2019-03-07 06:05:08 -06:00
8b7db3d544 [ox/fs] Remove designated initializer usage 2019-03-04 23:13:55 -06:00
c1fa5dc287 [ox/std] Remove mc usage from std 2019-03-04 22:39:38 -06:00
9f78e2320f [ox/std] Remove implicit signed/unsigned conversions 2019-03-04 21:22:35 -06:00
40dac704d0 [ox/mc] Replace int errors with Error 2019-03-04 21:16:30 -06:00
d51acfd033 [ox/std] Make ox_strlen return std::size 2019-03-04 20:15:53 -06:00
e10594b006 [ox] Enable new compiler warnings 2019-03-04 19:56:57 -06:00
0c570438e4 [ox/fs] Remove C99 designated initializer usage 2019-03-04 19:42:48 -06:00
9844416a4e [ox/std] Remove C-style casts 2019-03-04 19:42:22 -06:00
564ca7511c [ox/std] Add pop_back to Vector 2019-03-02 22:10:12 -06:00
21f5a34b75 [ox/mc] Fix build issues encountered when using MetalClawDefWriter 2019-02-28 23:12:20 -06:00
652b603ec6 [ox/fs] Fix FS to use stdc++fs when building with GNU 2019-02-28 23:10:50 -06:00
ae260e6479 [nostalgia/tools] Remove linking of OxTrace 2019-02-27 23:23:41 -06:00
4b14478e8e [nostalgia] Cleanup Makefile consistency issues 2019-02-27 23:23:10 -06:00
dc3fe3c18e [ox/std] Add maybe_unused to assert check in test to allow release builds 2019-02-25 21:50:52 -06:00
6ddd44828b [ox/std] Add != to BString 2019-02-25 21:46:54 -06:00
0ea44e5ead [ox/mc] Remove walk.cpp from CMake 2019-02-25 20:48:51 -06:00
00544de1d1 [nostalgia] Remove OxTrace linking 2019-02-25 20:48:28 -06:00
c32fe257cc [nostalgia] Add gdblogger config 2019-02-25 20:45:57 -06:00
76830ae91c [nostalgia] Cleanup unnecessary explicit library linkages in CMake files 2019-02-25 20:04:57 -06:00
fb3e94b45c [nostalgia] Fix ioOps to use setTypeInfo instead of setFields 2019-02-25 20:02:15 -06:00
def449607c [ox/mc] Add Walker 2019-02-24 23:57:31 -06:00
3facd25794 [ox] Remove redundant null check before delete 2019-02-24 23:52:14 -06:00
d3f78982e6 [ox/std] Remove incorrect noexcepts from HashMap 2019-02-24 23:49:14 -06:00
805244f796 [ox/std] Add nodiscard to bitops, byteswap, and strops 2019-02-24 09:36:04 -06:00
5a1d1c0a2f [ox] Move buildinfo and trace packages into std 2019-02-23 23:15:09 -06:00
57aa0d556c [ox] Remove VS Code directory 2019-02-23 11:52:44 -06:00
765315b69c [nostalgia] Add option to build without Studio 2019-02-14 23:38:14 +00:00
6b66127691 [ox/std] Add missing constexprs to BString methods 2019-02-14 05:15:53 +00:00
1c64096c38 [ox/mc] Add McStr to wrap C style strings to distinguish them from arrays 2019-02-13 02:42:33 +00:00
c7e9a95a3f [ox/mc] Fix DefWriter to properly detect when to write Types 2019-02-12 06:20:05 +00:00
c8f39af001 [ox/mc] Add Vector handler to Reader and Writer 2019-02-12 05:02:40 +00:00
5c51e17156 [ox/mc] Add Vector handler to DefWriter, add static_assert tests 2019-02-12 03:58:14 +00:00
1c6e40220b [ox/mc] Fix MetalClawDefWriter OpType 2019-02-11 06:51:01 +00:00
75aeedb7b5 [ox/mc] Add def writer 2019-02-11 05:59:33 +00:00
96c56e2589 [ox/std] Make BString constexpr 2019-02-10 07:52:22 +00:00
52536fcb97 [ox/std] Remove unused include from assert.hpp 2019-02-09 07:43:58 +00:00
1a2733f5ce [ox/mc] Fix MC test's incorrect reporting of number of fields 2019-02-09 07:39:55 +00:00
a0290c315a [ox/std] Add missing pragma once to HashMap header 2019-02-09 04:29:32 +00:00
b656fbc3d4 [Nostalgia] Add symlink of compile_commands.json to project root in setup 2019-02-08 23:35:59 +00:00
9ca27361dc [ox/std] Add expand to HashMap 2019-02-03 01:13:35 -06:00
87e6b8d19f [ox/std] Add HashMap 2019-02-02 21:06:42 -06:00
8da1b77aa5 [nostalgia] Port setup-build back to Bash 2019-02-02 21:04:54 -06:00
af0e24d9bf [nostalgia] Switch Studio to PassThroughFS 2019-01-15 22:33:13 -06:00
e5c5c0da43 [ox] Add gdblogger 2019-01-15 22:32:54 -06:00
791c076b51 [ox/fs] Strip leading slashes in PassThroughFS paths 2019-01-15 22:01:30 -06:00
ec6326001d [ox/std] Fix ox_malloca to work outside ox namespace 2019-01-15 17:39:33 -06:00
59ee1ada56 [ox/fs] Add PassthroughFS 2019-01-11 19:39:20 -06:00
55119253da [ox/fs] Make format method static 2018-12-29 22:29:03 -06:00
713aa7380f [ox/fs] Remove old file system code 2018-10-29 22:56:01 -05:00
fdc227cb72 [ox/fs] Fix log channel 2018-10-21 15:29:33 -05:00
77c88515b2 [ox] Make cmake directory structure more consistent with project 2018-10-21 07:21:25 -05:00
f21cb465e6 [ox] Add gdblogger integration 2018-10-21 07:20:49 -05:00
4b70330710 [ox/fs] Fix Directory::mkdir 2018-10-21 07:19:40 -05:00
0ba964a475 [ox/std] Make asserts generate stack traces 2018-09-02 21:11:39 -05:00
72b9437ef5 [ox/fs] Add extra checks to FileSystem test 2018-09-02 10:20:01 -05:00
1770c8a1e2 [ox/fs] Remove abstract FileStore class 2018-09-01 23:52:43 -05:00
6648d941c9 [ox/trace] Add delimiter setter to trace handlers 2018-09-01 21:52:26 -05:00
cbfd9566d1 [ox/fs] Fix FileSystemTemplate::write to create Directory path index 2018-09-01 16:28:36 -05:00
0c6a557878 [ox/fs] Make Directory type a type parameter in FileSystemTemplate 2018-09-01 15:52:59 -05:00
6a82e96db7 [ox] Add vscode files 2018-09-01 15:11:37 -05:00
1f4781f06a [nostalgia] Update Ox includes 2018-09-01 14:46:24 -05:00
e4e8f141b6 [ox/fs] Fix -p write 2018-09-01 01:56:20 -05:00
9472043d80 [ox/fs] Remove completely pointless uses of ox_malloca 2018-09-01 01:17:12 -05:00
e918f2e60e [ox/std] Cleanup MallocaPtr on heap determination 2018-09-01 00:37:53 -05:00
32e2878fb1 [ox/std] Fix errCode extraction incorrect bit shift 2018-08-19 00:06:37 -05:00
338199be12 [ox/std] Further constexpr OxError 2018-08-19 00:02:13 -05:00
f12de38211 [ox/std] Fix oxReturnError to not re-originate the Error 2018-08-18 23:57:59 -05:00
a1b8de0cb0 [ox/fs] Add recursive check on directory remove 2018-08-18 23:49:29 -05:00
40f8af85a8 [ox/fs] Fill out new FileSystem method stubs 2018-08-18 23:41:31 -05:00
3d3ea32357 [ox/fs] Remove erroneous error case 2018-07-31 21:59:58 -05:00
2e19e297d9 [ox/trace] Add environment variable to enable logging 2018-07-30 22:12:20 -05:00
95b72d19fb [nostalgia] Update devenv to Fedora 28 2018-07-30 21:38:30 -05:00
324e28e5f2 [ox/fs] Update FileStore interface 2018-07-30 21:35:36 -05:00
c8ff73b56e [ox/fs] Add template instantiations for FileSystemTemplate 2018-07-30 21:34:40 -05:00
61f77767bf [ox/fs] Add more logging to mkdir test 2018-07-30 21:32:36 -05:00
d97247ffe0 [ox/fs] Fix initial root dir inode 2018-07-30 21:28:16 -05:00
b3bac826f1 [ox/fs] Add missing error and recursion termination checking to Directory::mkdir 2018-07-30 21:12:42 -05:00
71af674eef [ox/fs] Fix inode generation check to check for outside the reserved range 2018-07-30 21:05:36 -05:00
00339ee4fd [ox/fs] Fix PathIterator::valid to check iterator against max size 2018-07-30 21:01:07 -05:00
de2e1bd1d6 [ox/std] Fix onMask's default bits value to use the number of bits instead of bytes 2018-07-08 01:40:53 -05:00
7b9c7ddde4 [ox/std] Change how alloca determines which implementation to use 2018-07-07 14:37:57 -05:00
d28f727742 [ox/std] Add oxReturnError 2018-07-07 14:37:31 -05:00
87b580a72a [ox/std] Add MaxValue constexpr template 2018-07-07 14:36:27 -05:00
86b36b48a3 [ox/trace] Cleanup oxLogError's output 2018-07-07 14:34:36 -05:00
35df47eaf8 [ox/buffer] Add new log messages to NodeBuffer 2018-07-07 14:33:16 -05:00
c35f7abc5b [ox/fs] Add fullPath method to PathIterator 2018-07-07 14:27:17 -05:00
e1494f4ed0 [ox/trace] Fix error logging to not log chars as ints 2018-07-06 22:51:19 -05:00
a6b9de9a59 [ox] Fix OxFS 2 Directory test 2018-06-06 23:30:57 -05:00
ea7cf59ec7 [ox] Add file:line error tracing 2018-05-31 22:45:57 -05:00
956415a6a2 [ox/std] Fix MallocaPtr's move constructor to null out other's m_val 2018-05-31 22:38:36 -05:00
8e7fb4394b [ox/std] Fix packed errors 2018-05-28 20:07:23 -05:00
0da80081f3 [ox/std] Add optional file/line information to ox::Error 2018-05-26 10:20:06 -05:00
d49f35f0f3 [nostalgia] Add OX_USE_STDLIB setting main CMakeLists.txt 2018-05-19 01:47:23 -05:00
2b6ffa3c3f [ox/std] Make assert prints more noticable 2018-05-17 23:26:34 -05:00
a0e336712f [ox/trace] Add column structure to stdout trace messages 2018-05-17 23:12:19 -05:00
0b86f437f0 [ox/std] Make MallocaPtr::operator= delete the old value 2018-05-11 18:27:39 -05:00
99b77e868d [ox/buffer] Remove and and or keywords 2018-05-06 09:53:06 -05:00
610f6f4246 [ox] Fix to build with MinGW 2018-05-05 02:34:55 -05:00
1e82dacd6d [ox/std] Fix new.hpp to correctly look for includes under MinGW 2018-05-04 01:15:37 -05:00
423f575386 [ox/fs] Cleanup 2018-05-04 00:21:50 -05:00
6eec25e4c0 [ox/std] Add ox_strncpy and ox_strnlen 2018-05-04 00:16:24 -05:00
1c16ef2601 [ox/std] Remove copy constructor and operator from MallocaPtr 2018-05-03 23:27:15 -05:00
78a819b360 [ox/trace] Remove use of ::size_t 2018-05-03 01:41:47 -05:00
a8e1197ad0 [ox] Cleanup 2018-05-03 01:33:47 -05:00
576a05a038 [ox/std] Fix non-stdlib version of ox_malloca 2018-05-03 01:32:46 -05:00
87f4964df5 [ox/std] Add some notable missing comments 2018-05-03 01:21:59 -05:00
3a70c0972b [ox/std] Remove ox_freea 2018-05-03 01:17:06 -05:00
ecbeabff48 [ox/std] Add MallocaPtr 2018-05-03 01:12:36 -05:00
85a98222d4 [ox/fs] Cleanup 2018-05-02 22:36:44 -05:00
8a07554c1d [nostalgia] Update vscode settings 2018-05-02 22:32:02 -05:00
a13b369792 [ox/buffer] Add copy constructor to NodeBuffer 2018-05-02 21:12:18 -05:00
6236214be6 [ox/buffer] Add to to Ptr 2018-05-02 21:11:00 -05:00
ad956ffd70 [ox/fs] Fix DirectoryEntry base size 2018-05-02 21:09:31 -05:00
06013211d4 [ox/fs] Fix FileStoreItem::data bounds 2018-05-02 19:45:45 -05:00
a8f185ea57 [ox/std] Fix malloca allocation size 2018-05-01 19:09:34 -05:00
ae31e7f929 [ox/std] Add alloca and malloca 2018-05-01 00:43:25 -05:00
ae484e22c7 [ox/std] Change stddef to use cstddef if using stdlib 2018-04-30 21:08:00 -05:00
f64bcce564 [ox/std] Make rotateLeft a template so it can operate on any size int 2018-04-30 21:05:21 -05:00
4e3c98bcb5 [ox/std] Add missing includes to CMake install 2018-04-28 12:10:53 -05:00
24fbb8ba86 [ox/fs] Add new FileStore write 2018-04-28 12:01:33 -05:00
59cc34b4e8 [ox/fs] Add new Directory type 2018-04-23 22:51:49 -05:00
aeee05be89 [ox/std] Add const to BString's const-able methods 2018-04-14 14:15:04 -05:00
a8b1e25e89 [nostalgia] Fix make purge to delete entire build directory 2018-04-14 11:03:00 -05:00
fc3ec47330 [ox] Move NodeBuffer and Ptr to ptrarith package 2018-04-14 11:01:42 -05:00
b2245cc3b2 [ox] Change make purge to delete root build directory 2018-04-14 00:08:35 -05:00
ec40d80e6d [ox] Remove permanent build directory 2018-04-13 23:52:02 -05:00
7644dfc879 [nostalgia] Add test to Jenkinsfile 2018-04-13 20:53:59 -05:00
263c14e0ff [nostalgia] Cleanup 2018-04-13 19:30:13 -05:00
5ba2936773 [nostalgia/devenv] Set devkitARM environment variable 2018-04-13 19:27:04 -05:00
e463b81e16 [nostalgia] Rename make devenv to make devenv-create 2018-04-13 19:24:45 -05:00
7fe47a237d [nostalgia] Remove usages of ::size_t 2018-04-13 19:23:42 -05:00
26032a9d88 [nostalgia/devenv] Remove dependency on external devenv Docker image 2018-04-13 18:32:25 -05:00
ef8b7d2792 [nostalgia] Set compiler in dev environment 2018-04-13 17:42:20 -05:00
6db4a31916 [ox/std] Make types use cstdint if OX_USE_STDLIB is enabled 2018-04-13 07:41:03 -05:00
77db01b015 [nostalgia] Add Powershell to dev environment 2018-04-13 00:48:14 -05:00
e2fe6f7320 [nostalgia] Add Jenkinsfile 2018-04-12 23:02:36 -05:00
3ebc4e92eb [ox/fs] Add const subPtr methods to ox::fs::Ptr 2018-04-12 19:41:12 -05:00
b8c54eba0c [ox/std] Remove ::size_t 2018-04-12 19:35:16 -05:00
ad62d4c012 [ox/std] Conform size_t to standard 2018-04-12 19:23:12 -05:00
57a9221fb3 [ox/std] Remove bigEndianAdapt 2018-04-12 07:43:58 -05:00
b6f27416c0 [ox/fs] Fix invalid test invocations 2018-04-12 00:26:33 -05:00
9541287d4a [ox/fs] Fix a read/write issue in new FileStore 2018-04-12 00:03:02 -05:00
8094e0fe4d [ox/std] Make strops constexpr functions and use static_assert for tests 2018-04-10 22:35:39 -05:00
585d79a219 Make ASAN a distinct build type from Debug 2018-03-17 23:44:02 -05:00
4c23a2d761 Change buildinfo namespace to defines
Defines better reflects that these are from the defines given for the
current file's compile options, not the options used when building the
Ox libraries being linked against.
2018-03-16 20:29:19 -05:00
e19e70e065 Add read by type to new FileStore 2018-03-15 21:39:07 -05:00
8378af7564 Fix FileStoreData to properly zero out on init 2018-03-15 21:01:26 -05:00
381c739e46 Add missing read to new FileStore 2018-03-15 19:32:40 -05:00
2afef8a741 Make ox::LittleEndian methods constexpr 2018-03-15 18:10:52 -05:00
9d70927ad4 Fix to pass FileStore::readWrite test for new FileStore 2018-03-15 01:03:16 -05:00
db7eb9a397 Add __buildinfo package to ox 2018-03-15 00:38:23 -05:00
b16d781826 Add missing trace message for NodeBuffer::malloc failure case 2018-03-14 00:52:47 -05:00
080ca9df86 Fix new FileStore to correctly initialize the first item 2018-03-14 00:39:08 -05:00
ccf308d022 Fix issues with int to string conversion in ox string operations 2018-03-14 00:20:04 -05:00
13a394e07f Cleanup main CMakeLists.txt to better match CMake conventions 2018-03-13 20:26:12 -05:00
0041d68807 Cleanup main CMakeLists.txt to better match CMake conventions 2018-03-13 20:26:05 -05:00
127c6525f7 Add missing check to ItemPtr and instantiate FileStore32 in FS library 2018-03-13 01:55:25 -05:00
9447967f12 Fully instantiate old FileStore and FileSystem 2018-03-12 20:12:23 -05:00
2ce09ff08a Make new FileStore remove old inode on write 2018-03-11 08:58:14 -05:00
efe8bf3e46 Add write to new FileStore 2018-03-10 23:31:44 -06:00
4d86f0e3d9 Replace C casts with static and reinterpret casts in MC 2018-03-10 01:11:38 -06:00
086b406748 Remove some unnecessary operators from ox::LittleEndian 2018-03-09 21:48:16 -06:00
56ed98268f Add some missing compiler checks to the main CMakeLists.txt 2018-03-09 21:46:47 -06:00
493060955b Cleanup build files 2018-03-09 21:46:17 -06:00
a2cf756f4a Add missing checks to oxfstool 2018-03-09 21:44:41 -06:00
16e0fddaca Remove second copy of mc/optype.hpp 2018-03-08 20:48:00 -06:00
4d6eb5752e Fix nodebuffer.hpp install name 2018-03-08 00:42:08 -06:00
af4ab51df4 Add minimum offset checking to FS Ptr 2018-03-08 00:41:46 -06:00
b77a41abd2 Add NodeBuffer init to FileStore format 2018-03-08 00:24:02 -06:00
2e29f48810 Make FS linked list Item a template parameter 2018-03-07 22:40:38 -06:00
3e63b2f816 Add missing validity checks to file store 2018-03-07 00:15:42 -06:00
3151b5508e Flesh out new file store's alloc 2018-03-06 23:07:39 -06:00
c5bf8591e3 Remove assert implementation on non-stdlib builds, as the asserts use stdlib 2018-03-05 23:14:49 -06:00
c871806822 Cleanup build files 2018-03-05 23:09:50 -06:00
381bfd27a8 Fix warnings 2018-03-05 23:08:54 -06:00
957b94a48d Add asserts.hpp to std.hpp 2018-03-05 23:08:10 -06:00
cfc95b2dd1 Add asserts to ox::fs::Ptr 2018-03-05 23:07:40 -06:00
b616d9c0f2 Add ox_assert to ox/std 2018-03-05 23:07:04 -06:00
85c747ad1a Add missing consts to methods in ox::LittleEndian 2018-03-05 20:39:36 -06:00
e1305a240e Start on new FileStore and add test 2018-03-05 20:28:07 -06:00
cd38c961a3 Add missing operators to LittleEndian type 2018-02-19 21:05:00 -06:00
21e72a0513 Add contiguous linked list type for the new file store 2018-02-18 01:03:14 -06:00
193492c518 Add ox::LittleEndian template 2018-02-17 02:13:19 -06:00
b8a6b47b29 Replace manual library suffix check with QLibrary::isLibrary 2018-02-16 17:16:29 -06:00
d96b8646ce Cleanup new project wizard 2018-02-16 01:10:51 -06:00
4368c1ae4a Remove unnecesary cleanup tasks from Studio MainWindow 2018-02-16 00:54:01 -06:00
c2c87e0363 Restructure plugin system to be more portable 2018-02-16 00:41:00 -06:00
2b8b5661eb Fix Mac VSCode run 2018-02-15 23:20:47 -06:00
7f3cda0ab3 Add ioOp for TraceMsg and cleanup MetalClaw 2018-02-15 22:22:55 -06:00
2b5c34279c Cleanup memory management in Project 2018-02-15 22:21:13 -06:00
de89f86a26 Fix studio for HiDPI on Mac 2018-02-14 22:28:36 -06:00
9d013ff481 Change Mac bunlde to use CMake's Mac bundle feature 2018-02-14 21:05:20 -06:00
7e31eda638 Add static_assert size checks to types.hpp 2018-02-13 19:44:14 -06:00
d3b8e6089b Fix FS include path in Nostalgia 2018-02-13 19:20:20 -06:00
d5b0bb69df Start fleshing out tracing library 2018-02-13 19:13:31 -06:00
7856d4e0bf Fix (u)intmax_t to work on Mac 2018-02-09 00:36:06 -06:00
12c7d8f1c9 Fix to actually use C++14 2018-02-08 00:14:36 -06:00
0b6254a4fb Fix setup-build.ps1 for GBA builds 2018-02-07 21:29:57 -06:00
2141b12b29 Add support for building with a different Qt 2018-02-06 19:20:07 -06:00
e7a396655c Rename Log package to Trace 2018-02-03 14:26:47 -06:00
fc9726b3ec Rename bstring to BString for consistency 2018-02-02 01:30:56 -06:00
690cee7199 Fix FS refactor build issue 2018-02-02 01:29:41 -06:00
d72f11cbdb Run liccor 2018-02-02 01:25:33 -06:00
3edc8be1aa Remove debug code from FileStore 2018-02-02 01:21:54 -06:00
f430d6d398 Update nostalgia to work with file system changes 2018-02-02 01:15:53 -06:00
637c9f24c2 Breakup file system code into smaller files 2018-02-02 01:15:15 -06:00
9ce4835000 Run liccor for 2018 2018-01-30 00:00:39 -06:00
68bb2729d7 Add new Zone wizard 2018-01-29 23:57:15 -06:00
eebce9924d Add compile_commands.json to .gitignore 2018-01-29 23:44:35 -06:00
1692142bae Add VSCode files 2018-01-29 23:44:12 -06:00
3600d88987 Add some overflow checks to FS 2018-01-29 21:57:08 -06:00
04e5af6fe6 Run liccor 2018-01-29 21:55:58 -06:00
3892d52eec Cleanup .gitignore 2018-01-28 00:29:37 -06:00
27b08561e1 Rewrite setup_build in Powershell 2018-01-28 00:26:50 -06:00
ce9bbb7558 Simplify run-make script 2018-01-28 00:25:19 -06:00
e45db79a77 Cleanup ox::Vector organization 2017-12-24 01:45:50 -06:00
7e1866ade9 Remove permanent build directory 2017-12-23 23:38:21 -06:00
ebdd31315d Fix Vector::resize to delete old array 2017-12-23 20:35:10 -06:00
48de8f2561 Fix ox::Vector::~Vector to use delete[] instead of delete 2017-12-23 20:28:15 -06:00
1d65ca210f Rename larray to vector 2017-12-23 20:25:24 -06:00
61de47fd00 Add larray class to ox/std 2017-12-23 17:25:21 -06:00
3d77d6425e Merge commit '12371c21d206cb07a5db91fc81d55cd740bd12f0' 2017-12-22 00:32:18 -06:00
12371c21d2 Squashed 'deps/ox/' changes from c63e0c1..bf5c4e2
bf5c4e2 Add missing optype.hpp file
fdcc303 Removed unused CMake file
4e1f304 Fix version mismatch when loading FileSystems
565c56e Increment FileStore version for inode ID size change
64543b7 Bump FileStore32's InodeId type to uint16_t
fe062cf Add methods for getting array and string length of Metal Claw fields
8deae14 Add general ioOp that will call ioOpRead or ioOpWrite
009cf99 Add OpType for Metal Claw operators
1cf6164 Remove array globals from OxStd, as they were causing section overlaps on GBA
3ffba29 Add op(const char*, (u)int8_t) methods to MetalClaw
489736d Add an optional sizeOut parameter to Metal Claw write
443a62c Fix ArrayLength type case in Metal Claw writer
a46fc8b Add MetalClaw to OxConfig.cmake

git-subtree-dir: deps/ox
git-subtree-split: bf5c4e2c4712b83befff7da25147902408146dd7
2017-12-22 00:31:12 -06:00
4e50d80f5f Add new World wizard 2017-12-20 22:53:33 -06:00
2edee450aa Add support world drawing 2017-11-09 21:43:59 -06:00
539aa1e7eb Remove array globals from OxStd, as they were causing section overlaps
on GBA
2017-11-09 20:14:25 -06:00
08c7647298 Fix issue with part of memory allocator getting optimized out 2017-11-08 23:33:14 -06:00
3097e12e98 Make org name configurable for Studio 2017-10-21 02:44:53 -05:00
6f31e645ec Move application specific state to QSettings 2017-10-21 02:04:18 -05:00
73e0629ab4 Add support for saving window state 2017-10-21 01:39:18 -05:00
b6b9181c66 Restructure Mac builds as Nostalgia.app 2017-10-20 22:17:40 -05:00
2915b48130 Add Session.vim to .gitignore 2017-10-18 00:00:45 -05:00
cbca442f14 Remove old charset.png 2017-10-17 23:58:44 -05:00
5d5e48e1e9 Removed unused CMake file 2017-10-17 23:52:15 -05:00
263111ef4d Remove unused CMake modules 2017-10-17 23:51:12 -05:00
d76dea463c Fix version mismatch when loading FileSystems 2017-10-17 22:09:28 -05:00
0bc0340c20 Increment FileStore version for inode ID size change 2017-10-17 20:51:04 -05:00
8ac88201d7 Fix issue with RPATH on macOS 2017-10-17 19:16:22 -05:00
5922b72326 Bump FileStore32's InodeId type to uint16_t 2017-10-16 21:53:03 -05:00
6d74a3b48e Fix nost-pack bounds check to width and height instead of colorCount... 2017-10-15 21:50:05 -05:00
2554f8b3e1 Add methods for getting array and string length of Metal Claw fields 2017-10-15 09:04:00 -05:00
d096d00bea Add new[] and delete[] operators 2017-10-15 02:48:37 -05:00
2ed10afef7 Add general ioOp that will call ioOpRead or ioOpWrite 2017-10-15 01:40:20 -05:00
70896b8761 Add OpType for Metal Claw operators 2017-10-15 00:55:25 -05:00
6815402ba1 Fix heap delete to work with the moving of the HeapSegment header 2017-10-14 20:58:06 -05:00
fadfeea744 Fix heap allocator to move header and returned address back appropriately 2017-10-14 20:42:24 -05:00
591c738730 Rename build-rom to gba-pkg 2017-10-14 19:45:40 -05:00
9f2441bc82 Fix heap allocator to not pass the meta data portion as output 2017-10-14 18:11:09 -05:00
26f1993f3d Fill out remaining comments for missing characters in charset table 2017-10-14 13:01:40 -05:00
5b628e7ad7 Fix delete operator to move _heapIdx closer to heap start 2017-10-14 12:54:27 -05:00
f6b027c591 Fix heap delete to mark current as not in use, instead of prev 2017-10-14 03:19:20 -05:00
70cee81406 Add more complete implementation for custom new/delete, add panic 2017-10-14 03:16:06 -05:00
dd4556e4e1 Add custom new to GBA build 2017-10-13 10:53:19 -05:00
9c2e71045f Add ioOp functions for Point and Bounds 2017-10-12 16:12:29 -05:00
507c894c15 Add Context to core 2017-10-12 04:52:46 -05:00
329e8be825 Add IDE switch to CMake options, Add charset.png to dist 2017-10-12 00:34:40 -05:00
30a992efad Fixed gba_build to work with the new build files layout 2017-10-11 21:40:35 -05:00
77e0222201 Remove some debug code 2017-10-11 19:51:24 -05:00
8559ab53cc Squashed 'deps/ox/' content from commit c63e0c1
git-subtree-dir: deps/ox
git-subtree-split: c63e0c1d72f30cfb7b3076c69744b0f53d4d79b1
2017-10-11 19:20:46 -05:00
5f0c1a1c41 Merge commit '8559ab53ccc74e63924b4a9a31bc91ee1dafefa9' as 'deps/ox' 2017-10-11 19:20:46 -05:00
f0efe2f9e0 Remove ox subtree 2017-10-11 19:17:48 -05:00
5923f3f0cf Add nostalgia-studio-dev profile 2017-10-06 10:55:01 -05:00
21be39e2c9 Cleanup magic strings in tilesheet importer 2017-09-10 09:20:40 -05:00
89a7ffd45f Add CMakeLists.txt.user to gitignore 2017-09-10 04:11:56 -05:00
9a3dcd0675 Add gdb-studio command to Makefile 2017-09-10 04:09:39 -05:00
7cac015723 Add binary directory in CMake 2017-09-10 04:06:27 -05:00
34e0baff5a Add checks to OxFSTreeView to filter out . and .. entries 2017-09-10 03:45:23 -05:00
71116f4be9 Merge commit '2d1b146abfdf05e8aebdc11738c84d2592b5c3dd' 2017-09-09 22:58:57 -05:00
2d1b146abf Squashed 'deps/ox/' changes from 56d91c1..4887d55
4887d55 Merge branch 'master' of github.com:wombatant/ox
84533e5 Add walk command.
916d07e Merge branch 'master' of github.com:wombatant/ox into ox_master
31af216 Add operator< for DirectoryListing
218511c Fix mkdir not to overwrite an existing dir
15e05df Remove unused scripts
292caad Add link count to stat in FS
99e459a Add links count field to inodes
3211cc4 Add . and .. directory entries to directores
30c2837 Switch to .liccor.yml
16b6ed3 Add a check to ls to prevent ls-ing of non-directories

git-subtree-dir: deps/ox
git-subtree-split: 4887d55a984c0d9c53d9faa9747ef5e9b7c1674a
2017-09-09 20:10:07 -05:00
11c7c49d7b Add some missing field checks to JSON reader 2017-09-08 18:06:27 -05:00
3e90ec87b9 Add $ORIGIN to RPATH 2017-08-20 07:03:25 -05:00
7a6174953d Fix OxFSTreeView to properly list added files 2017-08-19 15:49:05 -05:00
d8a3cd5dfb Add operator< for DirectoryListing 2017-07-28 01:44:18 -05:00
afe2148a17 Fix mkdir not to overwrite an existing dir 2017-07-02 00:42:48 -05:00
57fe7aafc5 Add default ROM.oxfs for new projects 2017-07-01 05:03:52 -05:00
feb7e4c184 Squashed 'deps/ox/' changes from 68c144f..56d91c1
56d91c1 Fix delete/new[] mismatch
8a07138 Fix m_store delete to use delete[]
b4a6aed Change auto expand to own buff attribute in OxFS
7fa43da Make auto expand loop if necessary
c1e8d07 Fix auto expand condition
d43aecd Add auto expand to OxFS
d778570 Merge branch 'master' of github.com:wombatant/ox
4798e54 Add -s flag to nested make calls
038ca96 Add missing error reporting to file system ls
ac3f12f Remove unnecessary ls from FileSystemTemplate
c19a717 Fix readDirectory use the right type of directory
4a44a23 Add default constructor for DirectoryListing

git-subtree-dir: deps/ox
git-subtree-split: 56d91c18bd8a10b5ca5ff3986e44da3b194a09a0
2017-07-01 02:31:26 -05:00
b63b9ffef2 Merge commit 'feb7e4c18450cf6f0b428ffbc1892fd805aa2a7e' 2017-07-01 02:31:26 -05:00
4ae353a9b6 Add check to guard against doing an ls of a non-directory 2017-07-01 01:31:41 -05:00
ca7a1624b5 Fix delete/new[] mismatch 2017-07-01 01:31:09 -05:00
54f929a883 Make NostalgiaStudio library a shared library 2017-06-30 18:00:10 -05:00
f200472c4f Fix possible memory leaks 2017-06-25 06:14:12 -05:00
f245d7d31f Remove already installed packages from devenv 2017-05-27 04:15:02 -05:00
04211bb1ac Fix new project to write full ROM.oxfs buffer 2017-05-27 04:14:23 -05:00
287168a6cc Fix Wizard accept to work with the setAccept accept funcs 2017-05-26 05:04:49 -05:00
38a3113ab6 Make TileSheet import write tilesheets to ROM FS 2017-05-22 01:37:34 -05:00
bc69e67a5b Add PluginArgs for plugin system 2017-05-21 00:15:47 -05:00
6aab7bf2f2 Fix m_store delete to use delete[] 2017-05-20 03:57:17 -05:00
754607fa2d Open new project after creating it 2017-05-20 02:37:39 -05:00
fc71e02fa4 Remove uses of QByteArray from Project 2017-05-20 02:29:19 -05:00
3d8887c6ac Add -s flag to nested make calls 2017-05-19 20:52:27 -05:00
05107858aa Remove empty json_operator.hpp 2017-05-19 20:32:47 -05:00
92197bce9c Fix nostalgia-studio to build with OxFS changes 2017-05-19 20:19:30 -05:00
9d28d20858 Change auto expand to own buff attribute in OxFS 2017-05-19 20:14:51 -05:00
fea0a2e1c3 Make auto expand loop if necessary 2017-05-19 16:37:07 -05:00
8e17515b27 Fix auto expand condition 2017-05-19 16:36:03 -05:00
e195c10d6d Add auto expand to OxFS 2017-05-19 16:31:29 -05:00
c0d1aab3e0 Merge branch 'master' of github.com:wombatant/nostalgia 2017-05-18 16:44:37 -05:00
806325d649 Fix to build on FreeBSD 2017-05-18 16:39:33 -05:00
ee3b15d885 Switch from .liccor to .liccor.yml 2017-05-17 17:29:28 -05:00
de0005d5ee Merge branch 'master' of github.com:wombatant/nostalgia 2017-05-17 15:24:42 -05:00
2fb59e356c Remove vestigial debug line 2017-05-17 15:16:55 -05:00
6ab8ea640f Fix plugin loading to use .dylib extension on Mac 2017-05-17 03:54:20 -05:00
fb52ca6518 Add plugin system 2017-05-17 00:10:16 -05:00
db8ad57828 Add run-studio to Makefile 2017-05-16 13:53:57 -05:00
cf478dcb43 Fix JSON array read 2017-05-16 13:41:39 -05:00
049f0b2245 Restore ability to build GBA roms 2017-05-16 01:35:32 -05:00
1be4adf333 Rename pofile.json to nostalgia-studio.json and install it in share 2017-05-16 00:31:09 -05:00
4a474de9bc Fix common to install in include/nostalgia/common 2017-05-16 00:23:47 -05:00
6ca6ae82ba Add dist directory for gathering builds 2017-05-16 00:17:22 -05:00
2c43777477 Switch from old-style .liccor to new-style .liccor.yml 2017-05-14 23:44:00 -05:00
0ec41de34e Start moving nost-pack into library 2017-05-14 10:40:48 -05:00
9a920c5a99 Add missing error reporting to file system ls 2017-05-13 23:19:17 -05:00
cafc6b7422 Remove unnecessary ls from FileSystemTemplate 2017-05-13 23:14:21 -05:00
a9887c0803 Finish UI for tile sheet importer 2017-05-13 22:42:56 -05:00
90db4e5f18 Add support for reading studio state 2017-05-13 13:42:26 -05:00
e4337e468b Add setFields method to JSON IO types 2017-05-13 02:22:36 -05:00
de35f76917 Add JsonWriter 2017-05-13 02:08:49 -05:00
e79e3756c5 Start on import wizard and move JSON wrappers into NostalgiaStudio library 2017-05-13 00:21:56 -05:00
03d7b5fd26 Add findutils to devenv 2017-05-12 19:08:28 -05:00
84164ab2d2 Remove ox::fs using from GBA package 2017-05-12 19:07:51 -05:00
bfc87b50b1 Add missing nostalgia directory level in src tree 2017-05-12 17:55:18 -05:00
1b9f8f40f4 Add project explorer 2017-05-12 17:20:54 -05:00
cb427dccd0 Fix project name in main CMakeLists.txt 2017-05-12 16:28:59 -05:00
12d3513a50 Fix readDirectory use the right type of directory 2017-05-12 16:26:59 -05:00
00810e9341 Add default constructor for DirectoryListing 2017-05-12 02:34:11 -05:00
059be4e32a Update Ox 2017-05-12 00:29:58 -05:00
f92c8ab577 Squashed 'deps/ox/' changes from a5166e0..68c144f
68c144f Add ls to file system
1ce2797 Flatten out namespaces to only ox
e0063a7 Cleanup oxfstool format output
a2dfb41 Fix FS read by type to read byte by byte

git-subtree-dir: deps/ox
git-subtree-split: 68c144fe755e1f1a6cebb841b6c37b618a35fa43
2017-05-12 00:26:58 -05:00
89a6196b04 Merge commit 'f92c8ab577b28e108464f9b04eaa529fe0add452' 2017-05-12 00:26:58 -05:00
c548d200b6 Add project explorer dock and tab bar 2017-05-11 18:33:01 -05:00
3901493274 Add open project menu item to Nostalgia Studio 2017-05-10 22:45:18 -05:00
c971969a73 Fix FS read by type to read byte by byte 2017-05-09 11:48:58 -05:00
b1e548b96a Squashed 'deps/ox/' content from commit a5166e0
git-subtree-dir: deps/ox
git-subtree-split: a5166e03bbaea2f200cfc730c69579c3d50ae2a7
2017-05-09 01:06:23 -05:00
bb5939a663 Merge commit 'b1e548b96a0a7fbe37ca269ca56fc97444acb2f1' as 'deps/ox' 2017-05-09 01:06:23 -05:00
8778ce8764 Remove existing ox subtree 2017-05-09 00:59:37 -05:00
32926661a1 Cleanup magic numbers and make charset 4 bpp 2017-05-09 00:06:46 -05:00
325259da28 Remove unnecessary memset from FileStore 2017-05-08 00:05:19 -05:00
8a2ba6c171 Cleanup format of GbaImageData 2017-05-07 21:44:52 -05:00
c4da8394d2 Make file system type read byte by byte
The GBA (and other platforms?) seems to have possible alignment issues
with reading from ROM when it's not byte by byte.
2017-05-07 21:26:22 -05:00
a243a38d4d Point CMake to using the subtree copy of Ox 2017-05-06 12:10:40 -05:00
56fb5595f9 Pull in Ox as git subtree 2017-05-06 12:09:42 -05:00
346b01be07 Start on support for 4 bpp images
This may be all that's needed, but there seems to be another issue
causing the characters to look weird, though that's probably a
filesystem issue.
2017-05-05 18:54:13 -05:00
411a3fe65d Fix a non-constant tr("...") 2017-05-04 01:35:37 -05:00
eec9a9d730 Fix issue with deleting old labels in wizard conclusion 2017-05-04 01:23:06 -05:00
9b46116a83 Upgrade ox 2017-05-04 00:57:01 -05:00
258be70528 Add conclusion page to wizard and prevent recreating already existing
projects
2017-05-03 23:20:53 -05:00
973b7e97b1 Add support for line edit validators in wizards 2017-05-03 21:18:06 -05:00
d7a1d19fdf Change the way studio is linked 2017-05-02 18:31:39 -05:00
be9655c0b1 Fix memory leak in studio project create 2017-04-28 13:02:18 -05:00
df76f9eb2c Upgrade Ox 2017-04-21 06:12:17 -05:00
0231d48c91 Adjust size of New wizard 2017-04-21 06:04:42 -05:00
51124966c3 Make New Project create new projects 2017-04-20 23:15:25 -05:00
9730ef773e Add validation to the new project wizard 2017-04-20 18:35:14 -05:00
681eb55db3 Add UI for New Project wizard 2017-04-20 01:39:13 -05:00
5644250e94 Add setup information for building on macOS 2017-04-19 01:23:07 -05:00
7a6934187a Correct the charset inode read for the charset tiles 2017-04-19 01:06:51 -05:00
e0addbdea2 Add New and Quit menu items to menu bar 2017-04-19 00:41:08 -05:00
c1f9630634 Fix alignment issues with writing to VRAM, which is half-word addressable 2017-04-18 17:49:35 -05:00
661e60c24a Add a profile.json file 2017-04-16 03:00:47 -05:00
b447d4c329 Add Nostalgia Studio profile option 2017-04-16 02:56:47 -05:00
60b4a32995 Start on Nostalgia Studio 2017-04-16 01:00:50 -05:00
6b1ccc7ed2 Add support for writing a smaller number of tiles 2017-04-14 23:40:43 -05:00
36124a1738 Cleanup 2017-04-14 06:13:19 -05:00
e6629ad319 Add numbers to charmap 2017-04-14 06:09:51 -05:00
bf78d45b2f Add puts function and call it for Hello, World! 2017-04-14 05:46:28 -05:00
713 changed files with 68581 additions and 997 deletions

21
.gitignore vendored
View File

@ -1,5 +1,18 @@
build/current
build/gba
build/*-release
build/*-debug
.clangd
.current_build
scripts/__pycache__
deps/imgui/src
compile_commands.json
build
.conanbuild
dist
tags
nostalgia.gba
nostalgia.sav
nostalgia_media.oxfs
media_header.txt
studio_state.json
CMakeLists.txt.user
Session.vim
ROM.oxfs
graph_info.json

8
.idea/.gitignore generated vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

22
.idea/codeStyles/Project.xml generated Normal file
View File

@ -0,0 +1,22 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C>
<option name="INDENT_NAMESPACE_MEMBERS" value="0" />
<option name="INDENT_CLASS_MEMBERS" value="8" />
<option name="INDENT_VISIBILITY_KEYWORDS" value="4" />
</Objective-C>
<Objective-C-extensions>
<extensions>
<pair source="cpp" header="hpp" fileNamingConvention="LOWERCASE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
<pair source="cu" header="cuh" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
<codeStyleSettings language="ObjectiveC">
<indentOptions>
<option name="USE_TAB_CHARACTER" value="true" />
<option name="SMART_TABS" value="true" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>

5
.idea/codeStyles/codeStyleConfig.xml generated Normal file
View File

@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="DrinkingTea" />
</state>
</component>

View File

@ -0,0 +1,17 @@
/*
* Copyright 2016 - 2021 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#[[#pragma]]# once
${NAMESPACES_OPEN}
class ${NAME} {
};
${NAMESPACES_CLOSE}

View File

@ -0,0 +1,13 @@
/*
* Copyright 2016 - 2021 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#[[#include]]# "${HEADER_FILENAME}"
${NAMESPACES_OPEN}
${NAMESPACES_CLOSE}

View File

@ -0,0 +1,23 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="ClangTidy" enabled="true" level="WARNING" enabled_by_default="true">
<option name="clangTidyChecks" value="-*,bugprone-argument-comment,bugprone-assert-side-effect,bugprone-bad-signal-to-kill-thread,bugprone-branch-clone,bugprone-copy-constructor-init,bugprone-dangling-handle,bugprone-dynamic-static-initializers,bugprone-fold-init-type,bugprone-forward-declaration-namespace,bugprone-forwarding-reference-overload,bugprone-inaccurate-erase,bugprone-incorrect-roundings,bugprone-integer-division,bugprone-lambda-function-name,bugprone-macro-parentheses,bugprone-macro-repeated-side-effects,bugprone-misplaced-operator-in-strlen-in-alloc,bugprone-misplaced-pointer-arithmetic-in-alloc,bugprone-misplaced-widening-cast,bugprone-move-forwarding-reference,bugprone-multiple-statement-macro,bugprone-no-escape,bugprone-not-null-terminated-result,bugprone-parent-virtual-call,bugprone-posix-return,bugprone-reserved-identifier,bugprone-sizeof-container,bugprone-sizeof-expression,bugprone-spuriously-wake-up-functions,bugprone-string-constructor,bugprone-string-integer-assignment,bugprone-string-literal-with-embedded-nul,bugprone-suspicious-enum-usage,bugprone-suspicious-include,bugprone-suspicious-memset-usage,bugprone-suspicious-missing-comma,bugprone-suspicious-semicolon,bugprone-suspicious-string-compare,bugprone-swapped-arguments,bugprone-terminating-continue,bugprone-throw-keyword-missing,bugprone-too-small-loop-variable,bugprone-undefined-memory-manipulation,bugprone-undelegated-constructor,bugprone-unhandled-self-assignment,bugprone-unused-raii,bugprone-unused-return-value,bugprone-use-after-move,bugprone-virtual-near-miss,cert-dcl21-cpp,cert-dcl58-cpp,cert-err34-c,cert-err52-cpp,cert-err58-cpp,cert-err60-cpp,cert-flp30-c,cert-msc50-cpp,cert-msc51-cpp,cert-str34-c,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-narrowing-conversions,cppcoreguidelines-pro-type-member-init,cppcoreguidelines-pro-type-static-cast-downcast,cppcoreguidelines-slicing,google-default-arguments,google-explicit-constructor,google-runtime-operator,hicpp-exception-baseclass,hicpp-multiway-paths-covered,misc-misplaced-const,misc-new-delete-overloads,misc-non-copyable-objects,misc-throw-by-value-catch-by-reference,misc-unconventional-assign-operator,misc-uniqueptr-reset-release,modernize-avoid-bind,modernize-concat-nested-namespaces,modernize-deprecated-headers,modernize-deprecated-ios-base-aliases,modernize-loop-convert,modernize-make-shared,modernize-make-unique,modernize-pass-by-value,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-replace-auto-ptr,modernize-replace-disallow-copy-and-assign-macro,modernize-replace-random-shuffle,modernize-return-braced-init-list,modernize-shrink-to-fit,modernize-unary-static-assert,modernize-use-auto,modernize-use-bool-literals,modernize-use-emplace,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-nodiscard,modernize-use-noexcept,modernize-use-nullptr,modernize-use-override,modernize-use-transparent-functors,modernize-use-uncaught-exceptions,mpi-buffer-deref,mpi-type-mismatch,openmp-use-default-none,performance-faster-string-find,performance-for-range-copy,performance-implicit-conversion-in-loop,performance-inefficient-algorithm,performance-inefficient-string-concatenation,performance-inefficient-vector-operation,performance-move-const-arg,performance-move-constructor-init,performance-no-automatic-move,performance-noexcept-move-constructor,performance-trivially-destructible,performance-type-promotion-in-math-fn,performance-unnecessary-copy-initialization,performance-unnecessary-value-param,portability-simd-intrinsics,readability-avoid-const-params-in-decls,readability-const-return-type,readability-container-size-empty,readability-convert-member-functions-to-static,readability-delete-null-pointer,readability-deleted-default,readability-inconsistent-declaration-parameter-name,readability-make-member-function-const,readability-misleading-indentation,readability-misplaced-array-index,readability-non-const-parameter,readability-redundant-control-flow,readability-redundant-declaration,readability-redundant-function-ptr-dereference,readability-redundant-smartptr-get,readability-redundant-string-cstr,readability-redundant-string-init,readability-simplify-subscript-expr,readability-static-accessed-through-instance,readability-static-definition-in-anonymous-namespace,readability-string-compare,readability-uniqueptr-delete-release,readability-use-anyofallof" />
</inspection_tool>
<inspection_tool class="Clazy" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="ConstantConditionsOC" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="ConstantFunctionResult" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="ConstantParameter" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="DanglingPointers" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="EndlessLoop" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="InfiniteRecursion" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="LocalValueEscapesScope" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="LoopDoesntUseConditionVariable" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="NullDereferences" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnreachableCallsOfFunction" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnreachableCode" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnusedLocalVariable" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnusedParameter" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="UnusedValue" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>

17
.idea/misc.xml generated Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompDBSettings">
<option name="linkedExternalProjectsSettings">
<CompDBProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</CompDBProjectSettings>
</option>
</component>
<component name="CompDBWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="ExternalStorageConfigurationManager" enabled="true" />
</project>

8
.idea/modules.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/nostalgia.iml" filepath="$PROJECT_DIR$/.idea/nostalgia.iml" />
</modules>
</component>
</project>

2
.idea/nostalgia.iml generated Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="External" external.linked.project.id="nostalgia" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="CompDB" type="CPP_MODULE" version="4" />

6
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -1,5 +0,0 @@
Copyright 2016-2017 gtalent2@gmail.com
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

9
.liccor.yml Normal file
View File

@ -0,0 +1,9 @@
---
source:
- src
copyright_notice: |-
Copyright 2016 - 2021 gary@drinkingtea.net
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

16
.tracy.json Normal file
View File

@ -0,0 +1,16 @@
{
"init_functions": [
{
"bin_path": "/home/gary/projects/nostalgia/dist/linux-x86_64-debug/lib/ox/libOxTraceHook.so",
"function": "oxTraceInitHook",
"ignore_frames": 3
}
],
"log_functions": [
{
"bin_path": "/home/gary/projects/nostalgia/dist/linux-x86_64-debug/lib/ox/libOxTraceHook.so",
"function": "oxTraceHook",
"ignore_frames": 3
}
]
}

44
.vs/launch.vs.json Normal file
View File

@ -0,0 +1,44 @@
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{
"type": "default",
"project": "CMakeLists.txt",
"projectTarget": "nostalgia.exe (Install)",
"name": "nostalgia.exe (Install)",
"args": [
"${projectDir}/sample_project"
]
},
{
"type": "default",
"project": "CMakeLists.txt",
"projectTarget": "nostalgia.exe",
"name": "nostalgia.exe",
"args": [
"${projectDir}/sample_project"
]
},
{
"type": "default",
"project": "CMakeLists.txt",
"projectTarget": "nostalgia-studio.exe (Install)",
"name": "nostalgia-studio.exe (Install)",
"args": [
"-profile",
"${projectDir}/src/nostalgia/studio/nostalgia-studio-dev.json"
]
},
{
"type": "default",
"project": "CMakeLists.txt",
"projectTarget": "nostalgia-studio.exe",
"name": "nostalgia-studio.exe",
"args": [
"-profile",
"${projectDir}/src/nostalgia/studio/nostalgia-studio-dev.json"
]
}
]
}

View File

@ -1,35 +1,62 @@
cmake_minimum_required(VERSION 2.8.8)
cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
project(wombat)
project(nostalgia)
set(WOMBAT_BUILD_TYPE "Native" CACHE STRING "The type of build to produce(Native/GBA)")
include(deps/buildcore/base.cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
include(address_sanitizer)
set(NOSTALGIA_BUILD_PLAYER ON CACHE BOOL "Build Player")
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")
if (WOMBAT_BUILD_TYPE STREQUAL "GBA")
include(GBA)
if(BUILDCORE_TARGET STREQUAL "gba")
set(NOSTALGIA_BUILD_STUDIO OFF)
set(NOSTALGIA_BUILD_TYPE "GBA")
include(deps/gbabuildcore/base.cmake)
else()
set(NOSTALGIA_BUILD_TYPE "Native")
set(NOSTALGIA_CONAN_PATHS ${CMAKE_SOURCE_DIR}/.conanbuild/conan_paths.cmake)
if(EXISTS ${NOSTALGIA_CONAN_PATHS})
include(${NOSTALGIA_CONAN_PATHS})
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QTDIR})
endif()
add_definitions(
-std=c++11
-Wall
-Wsign-compare
-nostdlib
-fno-exceptions
-fno-rtti
#-g
#-fcolor-diagnostics
#--analyze
#-Os # GCC size optimization flag
if(APPLE)
set(CMAKE_MACOSX_RPATH OFF)
set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Library/nostalgia")
set(NOSTALGIA_DIST_BIN nostalgia-studio.app/Contents/MacOS)
set(NOSTALGIA_DIST_LIB nostalgia-studio.app/Contents/Library)
set(NOSTALGIA_DIST_MODULE nostalgia-studio.app/Contents/Plugins)
set(NOSTALGIA_DIST_RESOURCES nostalgia-studio.app/Contents/Resources)
set(NOSTALGIA_DIST_MAC_APP_CONTENTS nostalgia-studio.app/Contents)
else()
set(CMAKE_INSTALL_RPATH "$ORIGIN" "$ORIGIN/../lib/ox" "$ORIGIN/../lib/nostalgia" "$ORIGIN/../")
if(QTDIR)
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} "${QTDIR}/lib")
endif()
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(NOSTALGIA_DIST_BIN bin)
set(NOSTALGIA_DIST_LIB lib)
set(NOSTALGIA_DIST_MODULE lib/nostalgia/modules)
set(NOSTALGIA_DIST_RESOURCES share)
endif()
add_subdirectory(deps/ox)
include_directories(
SYSTEM
deps/imgui/src
deps/ox/src
)
if (CMAKE_BUILD_TYPE STREQUAL "Release")
add_definitions(
-Werror
)
if(BUILDCORE_TARGET STREQUAL "gba")
add_subdirectory(deps/gbastartup)
else()
if(NOSTALGIA_BUILD_STUDIO)
add_subdirectory(deps/QDark)
endif()
add_subdirectory(deps/imgui)
endif()
enable_testing()
add_subdirectory(src)

View File

@ -1,33 +1,65 @@
FROM wombatant/devenv
FROM fedora:32
ENV DEVKITPRO /opt/devkitPro
ENV DEVKITARM ${DEVKITPRO}/devkitARM
RUN dnf update -y
###############################################################################
# Install Ox
# Install gosu
RUN git clone -b release-0.1 https://github.com/wombatant/ox.git /usr/local/src/ox && \
cd /usr/local/src/ox && \
# setup build dirs
mkdir -p \
/usr/local/src/ox/build/release \
/usr/local/src/ox/build/windows \
/usr/local/src/ox/build/gba; \
# install Ox for native environment
cd /usr/local/src/ox/build/release && \
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ../../ && \
make -j install; \
# install Ox for GBA
cd /usr/local/src/ox/build/gba && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_TOOLCHAIN_FILE=cmake/Modules/GBA.cmake \
-DCMAKE_INSTALL_PREFIX=/opt/devkitPro/devkitARM \
-DOX_USE_STDLIB=OFF ../../ && \
make -j install; \
# install Ox for Windows
cd /usr/local/src/ox/build/windows && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_TOOLCHAIN_FILE=cmake/Modules/Mingw.cmake \
-DCMAKE_INSTALL_PREFIX=/usr/x86_64-w64-mingw32 \
-DOX_BUILD_EXEC=OFF ../../ && \
make -j install
RUN dnf install -y curl gnupg
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64" && \
curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc" && \
gpg --verify /usr/local/bin/gosu.asc && \
rm /usr/local/bin/gosu.asc && \
chmod +x /usr/local/bin/gosu
###############################################################################
# Install dev tools
RUN dnf install -y clang
RUN dnf install -y llvm
RUN dnf install -y libasan
RUN dnf install -y mingw64-gcc-c++
RUN dnf install -y cmake
RUN dnf install -y make
RUN dnf install -y git
RUN dnf install -y vim
RUN dnf install -y sudo
RUN dnf install -y fuse-devel
RUN dnf install -y qt5-devel
RUN dnf install -y findutils
RUN dnf install -y ninja-build
RUN dnf install -y libcxx-devel libcxxabi-devel
RUN dnf install -y unzip
RUN dnf install -y ccache
RUN dnf install -y pacman
###############################################################################
# Install devkitARM
#RUN dnf install -y lbzip2
#RUN curl -o /tmp/devkitArm.tar.bz2 -SL https://phoenixnap.dl.sourceforge.net/project/devkitpro/devkitARM/devkitARM_r47/devkitARM_r47-x86_64-linux.tar.bz2
#WORKDIR /opt
#RUN tar xf /tmp/devkitArm.tar.bz2
#ENV DEVKITARM /opt/devkitARM
###############################################################################
# Setup sudoers
ADD devenv/sudoers /etc/sudoers
###############################################################################
# Setup working directory
RUN mkdir /usr/src/project
WORKDIR /usr/src/project
###############################################################################
# Setup entrypoint
ADD devenv/entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
ENV CC clang
ENV CXX clang++
ENV VCPKG_DIR_BASE /var/vcpkg/

115
Makefile
View File

@ -1,84 +1,41 @@
OS=$(shell uname | tr [:upper:] [:lower:])
HOST_ENV=${OS}-$(shell uname -m)
DEVENV=devenv$(shell pwd | sed 's/\//-/g')
DEVENV_IMAGE=nostalgia-devenv
ifneq ($(shell which docker),)
ifeq ($(shell docker inspect --format="{{.State.Status}}" ${DEVENV} 2>&1),running)
ENV_RUN=docker exec -i -t --user $(shell id -u ${USER}) ${DEVENV}
endif
PROJECT_NAME=nostalgia
BUILDCORE_PATH=deps/buildcore
VCPKG_PKGS=sdl2 jsoncpp
include ${BUILDCORE_PATH}/base.mk
ifeq ($(OS),darwin)
NOSTALGIA_STUDIO=./dist/${CURRENT_BUILD}/nostalgia-studio.app/Contents/MacOS/nostalgia-studio
MGBA=/Applications/mGBA.app/Contents/MacOS/mGBA
else
NOSTALGIA_STUDIO=./dist/${CURRENT_BUILD}/bin/nostalgia-studio
MGBA=mgba-qt
endif
make:
${ENV_RUN} make -j -C build HOST_ENV=${HOST_ENV}
preinstall:
${ENV_RUN} make -j -C build ARGS="preinstall" HOST_ENV=${HOST_ENV}
install:
${ENV_RUN} make -j -C build ARGS="install" HOST_ENV=${HOST_ENV}
clean:
${ENV_RUN} make -j -C build ARGS="clean" HOST_ENV=${HOST_ENV}
purge:
${ENV_RUN} rm -rf $$(find build -mindepth 1 -maxdepth 1 -type d)
test:
${ENV_RUN} make -j -C build ARGS="test" HOST_ENV=${HOST_ENV}
.PHONY: pkg-gba
pkg-gba:
${ENV_RUN} ${CMAKE_BUILD} build install
${ENV_RUN} ./scripts/pkg-gba sample_project
run: make
./build/current/src/player/nostalgia -debug
gba-run: make
${ENV_RUN} mgba-qt build/current/src/player/nostalgia.bin
gdb: make
gdb ./build/current/src/wombat/wombat
.PHONY: run
run: install
${ENV_RUN} ./dist/${CURRENT_BUILD}/bin/nostalgia sample_project
.PHONY: run-studio
run-studio: install
${ENV_RUN} ${NOSTALGIA_STUDIO}
.PHONY: gba-run
gba-run: pkg-gba
${MGBA} nostalgia.gba
.PHONY: debug
debug: install
${ENV_RUN} ${DEBUGGER} ./dist/${CURRENT_BUILD}/bin/nostalgia sample_project
.PHONY: debug-studio
debug-studio: install
${ENV_RUN} ${DEBUGGER} ${NOSTALGIA_STUDIO}
devenv-build:
docker build --no-cache . -t ${DEVENV_IMAGE}
devenv:
docker run -d -v $(shell pwd):/usr/src/project \
-e LOCAL_USER_ID=$(shell id -u ${USER}) \
-e DISPLAY=$(DISPLAY) \
-e QT_AUTO_SCREEN_SCALE_FACTOR=1 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /run/dbus/:/run/dbus/ \
-v /dev/shm:/dev/shm \
--restart=always \
--name ${DEVENV} \
-t ${DEVENV_IMAGE} bash
devenv-destroy:
docker rm -f ${DEVENV}
.PHONY: configure-gba
configure-gba:
${ENV_RUN} ${SETUP_BUILD} --toolchain=deps/gbabuildcore/cmake/modules/GBA.cmake --target=gba --current_build=0 --build_type=release
shell:
${ENV_RUN} bash
release:
${ENV_RUN} rm -rf build/${HOST_ENV}-release
${ENV_RUN} ./scripts/setup_build ${HOST_ENV}
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s ${HOST_ENV}-release build/current
debug:
${ENV_RUN} rm -rf build/${HOST_ENV}-debug
${ENV_RUN} ./scripts/setup_build ${HOST_ENV} debug
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s ${HOST_ENV}-debug build/current
windows:
${ENV_RUN} rm -rf build/windows
${ENV_RUN} ./scripts/setup_build windows
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s windows build/current
windows-debug:
${ENV_RUN} rm -rf build/windows
${ENV_RUN} ./scripts/setup_build windows debug
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s windows build/current
gba:
${ENV_RUN} rm -rf build/gba-release
${ENV_RUN} ./scripts/setup_build gba
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s gba-release build/current
gba-debug:
${ENV_RUN} rm -rf build/gba-debug
${ENV_RUN} ./scripts/setup_build gba debug
${ENV_RUN} rm -f build/current
${ENV_RUN} ln -s gba-debug build/current
.PHONY: configure-gba-debug
configure-gba-debug:
${ENV_RUN} ${SETUP_BUILD} --toolchain=deps/gbabuildcore/cmake/modules/GBA.cmake --target=gba --current_build=0 --build_type=debug

View File

@ -1 +1,42 @@
# Nostalgia
## Prerequisites
* Install GCC, Clang, or Visual Studio with C++17 support (including std::filesystem)
* Install [devkitPro](https://devkitpro.org/wiki/Getting_Started) to build for GBA
* Install Python 3
* Install Conan
* Install Ninja, Make, and CMake
* Consider also installing ccache for faster subsequent build times
## Platform Specific Setup
### macOS
Install and use gmake instead of the make that comes with the system.
## Build
Build options: release, debug, asan, gba, gba-debug
make conan-config
make purge conan configure-{gba,release,debug} install
## Run
### Studio
make run-studio
### Native Platform
make run
### GBA
make gba-run
## Contributing
Please read the [Developer Handbook](developer-handbook.md) for information on
coding standards.

View File

@ -1,33 +0,0 @@
all: gba_build gba_debug_build native_build native_debug_build windows_release windows_debug
MAKE=make -j
gba_build:
@if [ -d gba-release ]; then \
${MAKE} -C gba-release ${ARGS}; \
fi
gba_debug_build:
@if [ -d gba-debug ]; then \
${MAKE} -C gba-debug ${ARGS}; \
fi
native_build:
@if [ -d ${HOST_ENV}-release ]; then \
${MAKE} -C ${HOST_ENV}-release ${ARGS}; \
fi
native_debug_build:
@if [ -d ${HOST_ENV}-debug ]; then \
${MAKE} -C ${HOST_ENV}-debug ${ARGS}; \
fi
windows_release:
@if [ -d windows-release ]; then \
${MAKE} -C windows-release ${ARGS}; \
fi
windows_debug:
@if [ -d windows-debug ]; then \
${MAKE} -C windows-debug ${ARGS}; \
fi

View File

@ -1,49 +0,0 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# - Try to find Jansson
# Once done this will define
# JANSSON_FOUND - System has Jansson
# JANSSON_INCLUDE_DIRS - The Jansson include directories
# JANSSON_LIBRARIES - The libraries needed to use Jansson
# JANSSON_DEFINITIONS - Compiler switches required for using Jansson
find_path(JANSSON_INCLUDE_DIR jansson.h
PATHS
/usr/include
/usr/local/include
)
find_library(JANSSON_LIBRARY
NAMES
jansson
PATHS
/usr/lib
/usr/local/lib
)
set(JANSSON_LIBRARIES ${JANSSON_LIBRARY})
set(JANSSON_INCLUDE_DIRS ${JANSSON_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set JANSSON_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(Jansson DEFAULT_MSG
JANSSON_LIBRARY JANSSON_INCLUDE_DIR)
mark_as_advanced(JANSSON_INCLUDE_DIR JANSSON_LIBRARY)

View File

@ -1,4 +0,0 @@
function(BuildStaticLib libName srcFiles)
endfunction()

14
conanfile.py Normal file
View File

@ -0,0 +1,14 @@
from conans import ConanFile, CMake
class NostalgiaConan(ConanFile):
settings = 'os', 'compiler', 'build_type', 'arch'
requires = 'jsoncpp/1.9.4', 'glfw/3.3.4', 'imgui/1.82'
generators = 'cmake', 'cmake_find_package', 'cmake_paths'
default_options = {
}
def imports(self):
self.copy('imgui_impl_glfw.cpp', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_opengl3.cpp', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_glfw.h', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_opengl3.h', dst='../deps/imgui/src', src='./res/bindings')

5
deps/QDark/.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
docs/* linguist-documentation
qdarkstyle/style_rc.py linguist-generated
qdarkstyle/style.qrc linguist-generated
qdarkstyle/style.qss linguist-generated
qdarkstyle/rc/* linguist-generated

54
deps/QDark/.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,54 @@
<!-- You can erase any parts of this template not applicable/known to your Issue. -->
### Describe Your Environment
Please, report the output of the command (from v2.6+) or fill the information below:
`$ qdarkstyle --all`
Or use the helpdev if you have
`$ helpdev`
[Versions from your environment]
- QDarkStyle:
- OS:
- Python:
[If used, please inform their versions]
- PySide:
- PyQt:
- PyQtGraph:
- QtPy:
- QT_API:
- PYQTGRAPH_QT_LIB:
### Language
[Python] or [C++]
### Description / Steps to Reproduce [if necessary]
[Description of the issue]
1. [First Step]
2. [Second Step]
3. [and so on...]
### Actual Result
[A description, output ou image of the actual result]
### Expected Results / Proposed Result
[A description, output ou image of the expected/proposed result]
### Relevant Code [if necessary]
[A piece of code to reproduce and/or fix this issue]
```
# code here to reproduce the problem
```

41
deps/QDark/.gitignore vendored Normal file
View File

@ -0,0 +1,41 @@
*.pyc
*.orig
dist/
build/
*.egg-info/
__pycache__
.coverage
*.tar
*.tar.*
*.log
*.log.*
*.sig
pkg/
src/
# stdeb files
*.tar.gz
deb_dist
/gpg_key
# gedit temp files
*~
# hackedit project files
.hackedit
# vs code project files
.vscode
.mypy_cache
.cache
.env
./.idea
/.idea/
.tox
# OSX files
.DS_Store

51
deps/QDark/.travis.yml vendored Normal file
View File

@ -0,0 +1,51 @@
dist: xenial
language: python
services:
# to be able to display
- xvfb
before_install:
- sudo apt-get update
matrix:
include:
- python: 3.6
env: TOXENV=py36-pyqt5
- python: 3.6
env: TOXENV=py36-pyside2
- python: 3.8
env: TOXENV=py38-pyqt5
- python: 3.8
env: TOXENV=py38-pyside2
- python: 3.8
env: TOXENV=py38-lint
- python: 3.8
env: TOXENV=py38-safety
- python: 3.8
env: TOXENV=py38-metric
- python: 3.8
env: TOXENV=py38-develop
- python: 3.8
env: TOXENV=py38-pyqt5-doc
- python: 3.8
env: TOXENV=py38-release
install:
# to make sure it has everything up to date
- python -V
- python -m ensurepip
- python -m pip install -U pip
- python -m pip install -U setuptools
- python -m pip install -U wheel
- python -m pip install -U virtualenv
- python -m pip install -U tox
script:
- tox

32
deps/QDark/AUTHORS.rst vendored Normal file
View File

@ -0,0 +1,32 @@
Authors
=======
Mainteiner(s)
-------------
These people were/are mainteiners of this project.
- 2013-current `Colin Duquesnoy <https://github.com/ColinDuquesnoy>`__ - colin.duquesnoy@gmail.com - original author.
- 2018-current `Daniel Pizetta <https://github.com/dpizetta>`__ - daniel.pizetta@usp.br - bug fixes, improvements, features.
- 2019-current `Gonzalo Peña-Castellanos <https://github.com/goanpeca>`__ - bug fixes, improvements, features.
- 2019-current `Carlos Cordoba <https://github.com/ccordoba12>`__
Contributor(s)
--------------
These people contribute to bug fixes, improvements and so on. Please,
insert your information after the last one.
- Year - Name - ``<contact>`` - contribution.
- 2018 - `mowoolli <https://github.com/mowoolli>`__ - bug fixes.
- 2018 - Xingyun Wu - ``xingyun.wu@foxmail.com`` - bug fixes.
- 2018 - `KcHNST <https://github.com/KcHNST>`__ - bug fixes.
- 2019 - `goanpeca <https://github.com/goanpeca>`__ - bug fixes, improvements, features.
- 2020 - `tsilia <https://github.com/tsilia>`__ - bug fixes.
And all people that reported bugs, thank you all!

204
deps/QDark/CHANGES.rst vendored Normal file
View File

@ -0,0 +1,204 @@
Changelog
=========
- 2.8.1:
- Fix rst file formats and links #229
- Add .gitattributes for generated and documentation files
- Add more complete tox and Travis envs with many checks
- Fix removing message format argument
- Fix QGroupBox small indicator size #218
- Fix QGroupBox incorrect indicator icon when unfocused #219
- Fix QDateTimeEdit incorrect drop-down arrow icon #220
- Fix documentation
- 2.8:
- Fix tooltip giant rectangle #174
- Fix QTextEdit wihout borders inside frame #188
- Fix PyQt5 issuies on dropbown #191
- Fix combo box with icons #169
- Fix QToolbBar vertical handle #210
- Fix pane tab labelcropped on activation #199
- Enhance vertical/horiontal lines #184
- Enhance tool button size and spacing #181, #183, #202
- Enhance buttons and inputs with focus, blue border #194, #211
- Enhance QSplitter #207
- Removed QStatusBar vertical lines #205
- 2.7:
- Remove utils from import in qdarkstyle, #170
- Fix border colors in tool button #176
- Fix scroll area and stacked with 2px padding, #159
- Fix backgroung submenu color, #179
- Fix extra border aside header's arrow indicator, #180
- Fix menu right arrrow indicator
- Fix slide bars colors, #150
- Fix QLabels problems, #163, #139
- Fix problems with example settings using PySide2 and --no\_dark #167
- Provide SVG files for all images, standard names and sizes, fix images, #149
- Improve images and add high resolution images, #140
- Improve docs
- Add check to scripts for generating images, #137
- Fix tox and travis scripts #76
- Provide docs in RTD, part of #160
- Add helpdev depedency for reports and checks, #147
- Update authors and maintainers
- 2.6.8:
- Fix double border in QtabWidget for pyqt5
- Fix widgets border in QTabWidget as QLabel #141, #123, #126
- Fix QTab scroller buttons background #136
- Update color from images, fix #127
- Add retina resolution @2x, fix #140
- Intermediate version before merge PR #142 adding scripts
- 2.6.7:
- Fix combobox indicator and padding #132
- Fix PyQtGraph plot axes covered by padding #134
- Update authors
- 2.6.6:
- Fix tabbed bordeless frames and add more examples, #123, #126
- Add feedback to pressed buttons, #133
- Change future warning to pending deprecation for developers, #125 in v2.x
- Fix hover in qtabwidget, #128
- 2.6.5:
- Fix borderless widgets inside QTabWidget, #123
- Fix palette table inside CSS file, header using the last column
- Tested on Python 27, 34, 36, 37
- 2.6.4:
- Python 2.7 compatibility, #121
- Fix MANIFEST
- 2.6.3:
- Palette color enhance, better contrast, contribute to #118
- Fixes Qslider background
- Better colors and format for tab and toolbox, contribute to #118
- 2.6.2:
- Enhance command link button
- Enhance tab colors and spacing, closes #118
- Start using tox, helping partially #77
- Fix example and other scripts issues
- 2.6.1:
- Fix and improve QSplitter and separators from tool bar and windows #115
- Fix README version screenshots and update them
- Add reset function into example to reset GUI settings, after you mess up with
- 2.6:
- Many other enhancements and fix #103, #111, #106
- Fix tab disabled, background and color
- Enhance tab selection
- Enhance spacing (padding and margin)
- Enhance table, list, tree and combo box selection
- Fix slider disabled and enhance size
- Fix the wrong upload of style.qss - sorry
- Fix almost all widgets backgrounds, and other not previously covered widgets with new style
- New palette color, almost whole new qss file, simplify configuration, partially #112, #101, #109,
- Add changes made by other people in the new style - merge does not work there #93, #92, #102
- Update README with Qt.py and PySide 2 information #110, #107, #83
- Update **init** info
- Improve scripts for processing ui and qrc
- Add **main** and setup entry, to access function directly
- Add function to get information about bindings and abstraction layers for debbuging and/or issue tracker
- PySide 2 support
- Improve menu indicator position on QPushButton, #102
- 2.5.4
- Fix indicator image of checkable QGroupBox for check/uncheck states, #93
- Fix wrong comma position, #95
- Added image for the missing QTreeView/QListView undeterminated state, fix #92
- 2.5.3
- Add future warning and pending deprecation for 3.0 version preparation #89
- Add ISSUE\_TEMPLATE to ask for default information on issue tracker
- 2.5.2:
- Modularize files from example/ui to simplify edition (developers)
- Add scripts to process files and run example more easiy (developers)
- Better documentation (developers)
- Add CONTRIBUTE, CODE\_OF\_CONDUCT, and PRODUCTION files
- Lint markdown to standardize files
- Fix and add mor information in C++ example
- 2.5.1:
- Fix travis files, needs more improvement #74
- Improve modules description
- Update setup.py, remove license
- Update and improve README, CHANGES and AUTHORS
- 2.5:
- Add new complete example with new files
- Add new screenshots for new example
- Update travis files
- Add support to example of QtPy and PyQtGraph
- Move scripts for compiling to scrip folder
- Update README, CHANGES
- 2.4:
- Add function to get Qt information from environment variable #69, #70, #73
- Add CC-BY license for images and transfer COPYING to LICENSE file #68
- Fix tabs style - selected tab color and shift #59, #72
- Restructure README creating AUTHORS, CHANGES, and LICENSE #71
- 2.3.1:
- Improve checkbox color (use accent color used in other widgets) and
darken view hover/selected colors to play nicer with other widget colors
- Shift to the right the first tab
- Update license year
- Update README (fix snapshots links and formatting)
- Removed QLineEdit top/bottom padding which cut off text while editing QListView items
- 2.3.0:
- Add support for QDateEdit
- 2.2.2:
- Add hover to unselected item in QListView/QTreeView
- Fixes for vertical QToolBar, QToolBar Extend Button & QTabWidget's Pane Misalignment
- Fixed consistency of QTabBar depending on position
- 2.2.1:
- Remove border of status bar widgets
- 2.2:
- Major update of the color scheme based on the Breeze Dark theme of KDE 5
- Fix issues #29, #30, #31, #32 and #35
- 2.1:
- Add style for QPushButton:checked
- Improve QCheckBox and QRadioButton style
- Add style for QMenu::right-arrow
- **2.0**:
- Improve stylesheet to make it look a bit more modern (see pull request #25)
- 1.16:
- Fix QGroupBox title padding (see issue #20)
- 1.15:
- Improve tristate checkbox graphics: undetermined state is now represented by a dash
- 1.14:
- Add support for tristate check boxes and for vertical and horizontal lines
- 1.13:
- Fix issue with horizontal scrollbar arrows, left and right were inversed.
- 1.12:
- Fix minimum size of input widgets (see issue #14)
- 1.11:
- Fix QDockWidget title position on Mac.
- Add QStatusBar support
- Improve QToolButton especially the MenuButtonPopup and InstantPopup modes
- 1.10:
- Add PyQt5 support
- Fix bug #12 (dock widget title not dark on OSX. Note that this reopens issue #8 for MAC users)
- 1.9:
- Improve QTabBar consistency and make selected tabs more distinctive
- 1.8:
- Add support for QToolBox
- Fix issue with grid line in QTableView if there is only ONE row/column
- 1.7:
- Fix appearance of bottom tab bars (invert gradient)
- Improve QTableView: add grid line and fix section borders
- Fix bug #7: bug when resizing QTableView
- Fix bug #8: text elidation no working on QDockWidget
- 1.6:
- Improve QToolButton style
- Add support for InstantPopup and MenuButtonPopup
- Improve QMenu style (better spacing with icons)
- Add \_\_version\_\_ to python package.
- 1.5:
- Improve QTabBar style: now works with all tab bar positions (North, South, West and East)
- Fix bug #6: hide QTabBar base to avoid stange lines at the base of the tab bar.
- 1.4:
- Add style.qss to qrc file, this fix issues with cx\_freeze
- 1.3:
- Remove outline on button, checkbox and radio button
- Add support for closable tabs
- Better disabled buttons
- Fix QTextEdit background color to match the color of QPlainTextEdit
and QLineEdit
- Better hover/selected states for QTreeView and QListView
- Add QHeaderView support
- 1.2:
- Improve QTableView support
- 1.1:
- Switch to MIT license
- Add python 3 support
- **1.0**:
- First public release (LGPL v2)

23
deps/QDark/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,23 @@
find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_library(
QDarkStyle OBJECT
theme.cpp
qdarkstyle/style.qrc
)
target_include_directories(
QDarkStyle PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries(
QDarkStyle
Qt${QT_VERSION_MAJOR}::Widgets
)

82
deps/QDark/CODE_OF_CONDUCT.rst vendored Normal file
View File

@ -0,0 +1,82 @@
Contributor Covenant Code of Conduct
====================================
Our Pledge
----------
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our
project and our community a harassment-free experience for everyone,
regardless of age, body size, disability, ethnicity, gender identity and
expression, level of experience, nationality, personal appearance, race,
religion, or sexual identity and orientation.
Our Standards
-------------
Examples of behavior that contributes to creating a positive environment
include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual
attention or advances
- Trolling, insulting/derogatory comments, and personal or political
attacks
- Public or private harassment
- Publishing others' private information, such as a physical or
electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
Our Responsibilities
--------------------
Project maintainers are responsible for clarifying the standards of
acceptable behavior and are expected to take appropriate and fair
corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit,
or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, or to ban
temporarily or permanently any contributor for other behaviors that they
deem inappropriate, threatening, offensive, or harmful.
Scope
-----
This Code of Conduct applies both within project spaces and in public
spaces when an individual is representing the project or its community.
Examples of representing a project or community include using an
official project e-mail address, posting via an official social media
account, or acting as an appointed representative at an online or
offline event. Representation of a project may be further defined and
clarified by project maintainers.
Enforcement
-----------
Instances of abusive, harassing, or otherwise unacceptable behavior may
be reported by contacting the project team at daniel.pizetta@usp.br. The
project team will review and investigate all complaints, and will
respond in a way that it deems appropriate to the circumstances. The
project team is obligated to maintain confidentiality with regard to the
reporter of an incident. Further details of specific enforcement
policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in
good faith may face temporary or permanent repercussions as determined
by other members of the project's leadership.
Attribution
-----------
This Code of Conduct is adapted from the `Contributor
Covenant <http://contributor-covenant.org>`__, version 1.4, available at
`http://contributor-covenant.org/version/1/4 <http://contributor-covenant.org/version/1/4/>`__

391
deps/QDark/CONTRIBUTING.rst vendored Normal file
View File

@ -0,0 +1,391 @@
Contributing
============
This file describes a path to contribute to this project. Check out our
`CODE OF CONDUCT <./CODE_OF_CONDUCT.rst>`__.
Bug Reports and Feature Requests
--------------------------------
If you have encountered a problem with QDarkStyle or have an idea for a
new feature, please submit it to the `issue
tracker <https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues>`__.
Contributing to QDarkStyle
--------------------------
The recommended way for new contributors to submit code to QDarkStyle is
to fork the repository on GitHub and then submit a pull request after
committing the changes. The pull request will then need to be approved
by one of the manteiners before it is merged into the main repository.
- Check for open issues or open a fresh issue to start a discussion
around a feature idea or a bug.
- Fork `the
repository <https://github.com/ColinDuquesnoy/QDarkStyleSheet>`__ on
GitHub to start making your changes to the master branch.
- Write a test which shows that the bug was fixed or that the feature
works as expected if its a function, or create a screenshot if you
are changing the stylesheet evidencing the changes.
- Send a pull request and bug the maintainer until it gets merged and
published. Make sure to add yourself to `AUTHORS <./AUTHORS.rst>`__
and the change(s) to `CHANGES <./CHANGES.rst>`__.
Getting Started
---------------
These are the basic steps needed to start developing on QDarkStyle.
- Create an account on GitHub
- Fork the main `QDarkStyle
repository <https://github.com/ColinDuquesnoy/QDarkStyleSheet>`__
using the GitHub interface.
- Clone the forked repository to your machine
.. code:: bash
git clone https://github.com/USERNAME/qdarkstyle
cd qdarkstyle
- Checkout the appropriate branch
.. code:: bash
git checkout master
- Setup a virtual environment (not essential, but highly recommended)
.. code:: bash
virtualenv ~/.venv
. ~/.venv/bin/activate
pip install -e .
- Create a new working branch. Choose any name you like
.. code:: bash
git checkout -b feature-xyz
- Hands on
For tips on working with the code, see the Code Guide.
- Test, test, test
Testing is best done through ``tox``, which provides a number of
targets and allows testing against multiple different Python
environments:
- Add you and your changes
Please add a list item to `CHANGES <./CHANGES.rst>`__ if the fix or
feature is not trivial (small doc updates, typo fixes). Please add
you as an author to `AUTHORS <./AUTHORS.rst>`__.
- Add files to commit
Add files that are part of your changes, remember that each commit
must represent a small but functional change. Remember to add
CHANGES.rst and AUTHORS.rst too. To add all files changed do:
::
```bash
git add .
```
- Commiting changes.
GitHub recognizes certain phrases that can be used to automatically
update the issue tracker, so you can commit like this:
::
```bash
git commit -m "Add useful new feature that does this, close #42"
```
```bash
git commit -m "Fix returning problem for get_style(), fix #78"
```
- Push changes in the branch to your forked repository on GitHub.
::
```bash
git push origin feature-xyz
```
- Submit a pull request (PR).
Do it from your branch to the respective branch using the `GitHub
PR <https://github.com/ColinDuquesnoy/QDarkStyleSheet/pulls>`__
interface.
- Wait for a mainteiner to review your changes.
Logging
-------
Inside modules we provided a logging that should be used to inform the
user. Please, follow the levels bellow.
- debug: for debug information, high detailed one, directed to
programers;
- info: something important for common user to know;
- warning: something that should not be a big problem or a desicision
changed;
- error: some error, but not capable of stop program;
- critical: something that could stop the running program.
Documentation
-------------
Documentation is the key to keep all information and necessary
instructions to others. We use the reStructured text format (rst) for
all docs.
All new functions, classes, files, must be documented with all
arguments, returns, exceptions. Whithout this it should not pass the
tests.
The better example is to see the current files to get the style. We are
using the Google Format and Sphinx for generating the docs.
Guide to QDarkStyle
-------------------
Structure of the Example
~~~~~~~~~~~~~~~~~~~~~~~~
Now you can use our example to work on the stylesheet. It has all
possible widget provided by Qt - common ones. Feel free to add more to
them.
To simplify the structure, there are separated files in
`example.ui <./example/ui/>`__ folder.
- ``dw_buttons.ui``: all types of buttons;
- ``dw_containers_no_tabs.ui``: all types of containers except for
tabs;
- ``dw_containers_tabs.ui``: all containers tabs;
- ``dw_displays.ui``: all types of displays;
- ``dw_inputs_fields.ui``: all types of inputs with fields;
- ``dw_inputs_no_fields.ui``: all types of inputs without fields;
- ``dw_views.ui``: all types of views;
- ``dw_widgets.ui``: all types of widgets;
- ``mw_menus.ui``: main window with all menus and toolbars.
*Obs.: ``dw`` stands for dock widget and ``mw`` for main window.*
The entire example is built at runtime, in
`example.py <./example/example.py>`__. To see more information about it,
see its documentation.
Modifying UI Files
~~~~~~~~~~~~~~~~~~
Feel free to modify `ui <./example/ui>`__ files with Qt Designer and
recompile UI using `process\_ui.py <./script/process_ui.py>`__ script,
inside script folder, using:
::
```bash
python process_ui.py
```
It will generate all ``_ui.py`` files for PyQt4, PyQt5, PySide, QtPy,
PyQtGraph.
Modifying QSS File
~~~~~~~~~~~~~~~~~~
If you are changing the `stylesheet <./qdarkstyle/style.qss>`__, you
will need to recompile the QRC files using
`process\_qrc.py <./script/process_qrc.py>`__ script, inside script
folder.
::
```bash
python process_qrc.py
```
This generates all ``_rc.py`` files for PyQt4, PyQt5, PySide, QtPy,
PyQtGraph.
Making It Easy
~~~~~~~~~~~~~~
To simplify this process for the developer, if you are changing many
things, use the script
`run\_ui\_css\_edition.py <./script/run_ui_css_edition.py>`__:
::
```bash
python run_ui_css_edition.py
```
This creates a loop that restarts the application, process ui and css
files.
For more information about those scripts, see their documentation.
Qt, Stylesheets, Palettes and Icons
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- `Box model <http://doc.qt.io/qt-5/images/stylesheet-boxmodel.png>`__
- `Box model with height and
width <https://www.tutorialrepublic.com/lib/images/css-box-model.jpg>`__
- `Customizing
Widgets <http://doc.qt.io/qt-5/stylesheet-customizing.html>`__
- `Window
structure <http://doc.qt.io/qt-5/images/mainwindowlayout.png>`__
- `QMainWindow <http://doc.qt.io/qt-5/qmainwindow.html>`__
- `References <http://doc.qt.io/qt-5/stylesheet.html>`__
Create good palettes with these tools. For example, on paletton, choose
three colors from greyish light (foreground), greyish dark (background)
and three more colorfull colors (selection). Greyish colors have a litle
bit of the main color, so it is nice to change it if you change the main
color.
- `Paletton.com <http://paletton.com/>`__
- `Coolors.co <https://coolors.co/>`__
As a minimal guide to create new icons (svg) images, we list two main
sources.
- `Material <https://material.io/design/iconography/product-icons.html#grid-keyline-shapes>`__
- `KDE <https://hig.kde.org/style/icon.html>`__
Main characteristics of SVG images are:
- Base size: 32px X 32px;
- Border: 2px space, except continuous lines;
- Corners and line end's: rounded;
- Line: 2px minimum thickness. Complementary thickness using multiples
of 2px;
- Spacing: 4px when needed;
- Color: #ff0000, red for all images - programatically changed;
- Keep only structural changes in images, not colors, e.g, states hover
and disabled;
- Lines and shapes should align with the grid centralized;
- Names: from basic form to specific, so they keep grouped. Ex.:
arrow\_left, arrow\_up.
Some example are given below for the horizontal Handle, Minimize, and
checked Checkbox.
.. raw:: html
<table style="width:100%">
.. raw:: html
<tr>
::
<th colspan=3>Examples of icons</th>
.. raw:: html
</tr>
.. raw:: html
<tr>
::
<td><img src="./images/icon_checkbox_indeterminated.png"/></td>
<td><img src="./images/icon_minimize.png"/></td>
<td><img src="./images/move.png"/></td>
.. raw:: html
</tr>
.. raw:: html
</table>
Unit Testing and Fix Preview
----------------------------
It is a good practice, if you are writing functions to QDarkStyle or
fixing something related to those functions (not style), that you
provide a test for it.
If you are fixing something about style, please, at least, provide an
screenshot before and after the fix to comparison. This could be
inserted in the issue tracker, as a message. Better than that, use
modules provided in test folder to create a GUI test, creating a new
file for it.
Check `test <./test>`__ files to more details. Tests will keep our
application stable.
If You Are a Mantainer, Go Ahead to Production
----------------------------------------------
Of course, until you start these steps, make sure the package have
passed all tests and checkers before continue. You must have accoutns to
both test and oficial PyPI website below along with be inserted as a
maintainer in both.
1. Install ``twine``
``pip install twine``
2. Generate a distribution (code package and wheel)
``python setup.py sdist bdist_wheel``
3. Check with ``twine``, which also tests README format for PyPI
``twine check dist/*``
4. Try upload in `PyPI test
page <https://test.pypi.org/project/QDarkStyle>`__ platform before
the oficial
``twine upload --repository-url https://test.pypi.org/legacy/ dist/*``
5. Try to install from test
``pip install --no-deps --index-url https://test.pypi.org/simple/ qdarkstyle``
6. Then, remove it
``pip uninstall qdarkstyle -y``
7. Upload to `PyPI official
page <https://pypi.python.org/pypi/QDarkStyle>`__
``twine upload --repository-url https://upload.pypi.org/legacy/ dist/*``
8. Try to install from oficial
``pip install qdarkstyle``
You can also use the tox environment to produce the release and upload
the distribution.
::
`tox -e release`

405
deps/QDark/LICENSE.rst vendored Normal file
View File

@ -0,0 +1,405 @@
License
=======
The MIT License (MIT) - Code
----------------------------
Copyright (c) 2013-2019 Colin Duquesnoy
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Creative Commons Attribution International 4.0 - Images
-------------------------------------------------------
QDarkStyle (c) 2013-2019 Colin Duquesnoy
QDarkStyle (c) 2019-2019 Daniel Cosmo Pizetta
Creative Commons Corporation (“Creative Commons”) is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an “as-is” basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright and
certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
- **Considerations for licensors:** Our public licenses are intended
for use by those authorized to give the public permission to use
material in ways otherwise restricted by copyright and certain other
rights. Our licenses are irrevocable. Licensors should read and
understand the terms and conditions of the license they choose before
applying it. Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the material as
expected. Licensors should clearly mark any material not subject to
the license. This includes other CC-licensed material, or material
used under an exception or limitation to copyright. `More
considerations for
licensors <http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors>`__.
- **Considerations for the public:** By using one of our public
licenses, a licensor grants the public permission to use the licensed
material under specified terms and conditions. If the licensors
permission is not necessary for any reasonfor example, because of
any applicable exception or limitation to copyrightthen that use is
not regulated by the license. Our licenses grant only permissions
under copyright and certain other rights that a licensor has
authority to grant. Use of the licensed material may still be
restricted for other reasons, including because others have copyright
or other rights in the material. A licensor may make special
requests, such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to respect
those requests where reasonable. `More considerations for the
public <http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees>`__.
Creative Commons Attribution 4.0 International Public License
-------------------------------------------------------------
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of these
terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the Licensed
Material available under these terms and conditions.
Section 1 Definitions
~~~~~~~~~~~~~~~~~~~~~~~
a. **Adapted Material** means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material and
in which the Licensed Material is translated, altered, arranged,
transformed, or otherwise modified in a manner requiring permission
under the Copyright and Similar Rights held by the Licensor. For
purposes of this Public License, where the Licensed Material is a
musical work, performance, or sound recording, Adapted Material is
always produced where the Licensed Material is synched in timed
relation with a moving image.
b. **Adapter's License** means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. **Copyright and Similar Rights** means copyright and/or similar
rights closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or categorized.
For purposes of this Public License, the rights specified in Section
2(b)(1)-(2) are not Copyright and Similar Rights.
d. **Effective Technological Measures** means those measures that, in
the absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright Treaty
adopted on December 20, 1996, and/or similar international
agreements.
e. **Exceptions and Limitations** means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. **Licensed Material** means the artistic or literary work, database,
or other material to which the Licensor applied this Public License.
g. **Licensed Rights** means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to all
Copyright and Similar Rights that apply to Your use of the Licensed
Material and that the Licensor has authority to license.
h. **Licensor** means the individual(s) or entity(ies) granting rights
under this Public License.
i. **Share** means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such as
reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the public
may access the material from a place and at a time individually
chosen by them.
j. **Sui Generis Database Rights** means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases, as
amended and/or succeeded, as well as other essentially equivalent
rights anywhere in the world.
k. **You** means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 Scope
~~~~~~~~~~~~~~~~~
a. **License grant.**
1. Subject to the terms and conditions of this Public License, the
Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to exercise the
Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part;
and
B. produce, reproduce, and Share Adapted Material.
2. **Exceptions and Limitations.** For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public License
does not apply, and You do not need to comply with its terms and
conditions.
3. **Term.** The term of this Public License is specified in Section
6(a).
4. **Media and formats; technical modifications allowed.** The Licensor
authorizes You to exercise the Licensed Rights in all media and
formats whether now known or hereafter created, and to make technical
modifications necessary to do so. The Licensor waives and/or agrees
not to assert any right or authority to forbid You from making
technical modifications necessary to exercise the Licensed Rights,
including technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License, simply
making modifications authorized by this Section 2(a)(4) never
produces Adapted Material.
5. **Downstream recipients.**
A. **Offer from the Licensor Licensed Material.** Every recipient
of the Licensed Material automatically receives an offer from the
Licensor to exercise the Licensed Rights under the terms and
conditions of this Public License.
B. **No downstream restrictions.** You may not offer or impose any
additional or different terms or conditions on, or apply any
Effective Technological Measures to, the Licensed Material if doing
so restricts exercise of the Licensed Rights by any recipient of the
Licensed Material.
6. **No endorsement.** Nothing in this Public License constitutes or may
be construed as permission to assert or imply that You are, or that
Your use of the Licensed Material is, connected with, or sponsored,
endorsed, or granted official status by, the Licensor or others
designated to receive attribution as provided in Section
3(a)(1)(A)(i).
b. **Other rights.**
1. Moral rights, such as the right of integrity, are not licensed under
this Public License, nor are publicity, privacy, and/or other similar
personality rights; however, to the extent possible, the Licensor
waives and/or agrees not to assert any such rights held by the
Licensor to the limited extent necessary to allow You to exercise the
Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public
License.
3. To the extent possible, the Licensor waives any right to collect
royalties from You for the exercise of the Licensed Rights, whether
directly or through a collecting society under any voluntary or
waivable statutory or compulsory licensing scheme. In all other cases
the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. **Attribution.**
1. If You Share the Licensed Material (including in modified form), You
must:
A. retain the following if it is supplied by the Licensor with the
Licensed Material:
i. identification of the creator(s) of the Licensed Material and any
others designated to receive attribution, in any reasonable manner
requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an
indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public
License, and include the text of, or the URI or hyperlink to, this
Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable
manner based on the medium, means, and context in which You Share the
Licensed Material. For example, it may be reasonable to satisfy the
conditions by providing a URI or hyperlink to a resource that
includes the required information.
3. If requested by the Licensor, You must remove any of the information
required by Section 3(a)(1)(A) to the extent reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's License You
apply must not prevent recipients of the Adapted Material from
complying with this Public License.
Section 4 Sui Generis Database Rights
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Where the Licensed Rights include Sui Generis Database Rights that apply
to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to
extract, reuse, reproduce, and Share all or a substantial portion of
the contents of the database;
b. if You include all or a substantial portion of the database contents
in a database in which You have Sui Generis Database Rights, then the
database in which You have Sui Generis Database Rights (but not its
individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share all
or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a. Unless otherwise separately undertaken by the Licensor, to the
extent possible, the Licensor offers the Licensed Material as-is and
as-available, and makes no representations or warranties of any kind
concerning the Licensed Material, whether express, implied,
statutory, or other. This includes, without limitation, warranties of
title, merchantability, fitness for a particular purpose,
non-infringement, absence of latent or other defects, accuracy, or
the presence or absence of errors, whether or not known or
discoverable. Where disclaimers of warranties are not allowed in full
or in part, this disclaimer may not apply to You.
b. To the extent possible, in no event will the Licensor be liable to
You on any legal theory (including, without limitation, negligence)
or otherwise for any direct, special, indirect, incidental,
consequential, punitive, exemplary, or other losses, costs, expenses,
or damages arising out of this Public License or use of the Licensed
Material, even if the Licensor has been advised of the possibility of
such losses, costs, expenses, or damages. Where a limitation of
liability is not allowed in full or in part, this limitation may not
apply to You.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent possible,
most closely approximates an absolute disclaimer and waiver of all
liability.
Section 6 Term and Termination
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a. This Public License applies for the term of the Copyright and Similar
Rights licensed here. However, if You fail to comply with this Public
License, then Your rights under this Public License terminate
automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is
cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any right
the Licensor may have to seek remedies for Your violations of this
Public License.
c. For the avoidance of doubt, the Licensor may also offer the Licensed
Material under separate terms or conditions or stop distributing the
Licensed Material at any time; however, doing so will not terminate
this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 Other Terms and Conditions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a. The Licensor shall not be bound by any additional or different terms
or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and independent
of the terms and conditions of this Public License.
Section 8 Interpretation
~~~~~~~~~~~~~~~~~~~~~~~~~~
a. For the avoidance of doubt, this Public License does not, and shall
not be interpreted to, reduce, limit, restrict, or impose conditions
on any use of the Licensed Material that could lawfully be made
without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a
limitation upon, or waiver of, any privileges and immunities that
apply to the Licensor or You, including from the legal processes of
any jurisdiction or authority.
Creative Commons is not a party to its public licenses.
Notwithstanding, Creative Commons may elect to apply one of its
public licenses to material it publishes and in those instances will
be considered the “Licensor.” Except for the limited purpose of
indicating that material is shared under a Creative Commons public
license or as otherwise permitted by the Creative Commons policies
published at
`creativecommons.org/policies <http://creativecommons.org/policies>`__,
Creative Commons does not authorize the use of the trademark
“Creative Commons” or any other trademark or logo of Creative
Commons without its prior written consent including, without
limitation, in connection with any unauthorized modifications to any
of its public licenses or any other arrangements, understandings, or
agreements concerning use of licensed material. For the avoidance of
doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org

13
deps/QDark/MANIFEST.in vendored Normal file
View File

@ -0,0 +1,13 @@
#
# MANIFEST.in
#
# Manifest template for creating the PyLudic source distribution.
include MANIFEST.in
include setup.py
include AUTHORS.rst
include CHANGES.rst
include CONTRIBUTING.rst
include LICENSE.rst
include README.rst
include qdarkstyle/*

36
deps/QDark/PKGBUILD vendored Normal file
View File

@ -0,0 +1,36 @@
# Submitter: Colin Duquesnoy <colin.duquesnoy@gmail.com>
# Maintainer: Colin Duquesnoy <colin.duquesnoy@gmail.com>
pkgbase=python-qdarkstyle
pkgname=('python2-qdarkstyle' 'python-qdarkstyle')
pkgver=1.16
_pkgver=1.16
pkgrel=1
arch=('any')
url="https://github.com/davidhalter/qdarkstyle"
license=('MIT')
depends=('python2')
makedepends=('python2-setuptools' 'python-setuptools')
source=("https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-${_pkgver}.tar.gz")
md5sums=('6d742d304406a1a6733a27542402ce82')
build() {
cd "$srcdir/QDarkStyle-${_pkgver}"
}
package_python-qdarkstyle() {
pkgdesc="A dark stylesheet for pyside/pyqt applications"
depends=('python')
cd "$srcdir/QDarkStyle-${_pkgver}"
python3 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
package_python2-qdarkstyle() {
pkgdesc="A dark stylesheet for pyside/pyqt applications"
depends=('python2')
cd "$srcdir/QDarkStyle-${_pkgver}"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

292
deps/QDark/README.rst vendored Normal file
View File

@ -0,0 +1,292 @@
QDarkStylesheet
===============
|Build Status| |Docs Status| |Latest PyPI version| |License: MIT|
|License: CC BY 4.0| |Conduct|
The most complete dark stylesheet for Qt application (Qt4, Qt5, PySide,
PySide2, PyQt4, PyQt5, QtPy, PyQtGraph, Qt.Py).
Installation
------------
Python
~~~~~~
From PyPI: Get the latest stable version of ``qdarkstyle`` package using
*pip* (preferable):
.. code:: bash
pip install qdarkstyle
From code: Download/clone the project, go to ``qdarkstyle`` folder then:
- You can use the *setup* script and pip install.
.. code:: bash
pip install .
- Or, you can use the *setup* script with Python:
.. code:: bash
python setup.py install
C++
~~~
- Download/clone the project and copy the following files to your
application directory (keep the existing directory hierarchy):
- **qdarkstyle/style.qss**
- **qdarkstyle/style.qrc**
- **qdarkstyle/rc/** (the whole directory)
- Add **qdarkstyle/style.qrc** to your **.pro file** as follows:
.. code:: c++
RESOURCES += qdarkstyle/style.qrc
- Load the stylesheet:
.. code:: c++
QFile f(":qdarkstyle/style.qss");
if (!f.exists()) {
printf("Unable to set stylesheet, file not found\n");
}
else {
f.open(QFile::ReadOnly | QFile::Text);
QTextStream ts(&f);
qApp->setStyleSheet(ts.readAll());
}
Note: The ":" in the file name is necessary to define that file as a
resource library. For more information see the discussion
`here <https://github.com/ColinDuquesnoy/QDarkStyleSheet/pull/87>`__.
Usage
-----
If your project already uses QtPy or you need to set it programmatically,
it is far more simple
.. code:: python
import sys
import qdarkstyle
import os
# set the environment variable to use a specific wrapper
# it can be set to pyqt, pyqt5, pyside or pyside2 (not implemented yet)
# you do not need to use QtPy to set this variable
os.environ['QT_API'] = 'pyqt5'
# import from QtPy instead of doing it directly
# note that QtPy always uses PyQt5 API
from qtpy import QtWidgets
# create the application and the main window
app = QtWidgets.QApplication(sys.argv)
window = QtWidgets.QMainWindow()
# setup stylesheet
# the default system in qdarkstyle uses qtpy environment variable
app.setStyleSheet(qdarkstyle.load_stylesheet())
# run
window.show()
app.exec_()
If you are using PyQt5 directly, see the complete example
.. code:: python
import sys
import qdarkstyle
from PyQt5 import QtWidgets
# create the application and the main window
app = QtWidgets.QApplication(sys.argv)
window = QtWidgets.QMainWindow()
# setup stylesheet
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
# or in new API
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyqt5'))
# run
window.show()
app.exec_()
Here is an example using PySide2
.. code:: python
import sys
import qdarkstyle
from PyQt5 import QtWidgets
# create the application and the main window
app = QtWidgets.QApplication(sys.argv)
window = QtWidgets.QMainWindow()
# setup stylesheet
app.setStyleSheet(qdarkstyle.load_stylesheet_pyside2())
# or in new API
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyside2'))
# run
window.show()
app.exec_()
If you use PyQtGraph, then the code is
.. code:: python
import sys
import qdarkstyle
import os
# set the environment variable to use a specific wrapper
# it can be set to PyQt, PyQt5, PySide or PySide2 (not implemented yet)
os.environ['PYQTGRAPH_QT_LIB'] = 'PyQt5'
# import from pyqtgraph instead of doing it directly
# note that PyQtGraph always uses PyQt4 API
from pyqtgraph.Qt import QtGui
# create the application and the main window
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
# setup stylesheet
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api=os.environ['PYQTGRAPH_QT_LIB'])
# run
window.show()
app.exec_()
If you are using Qt.py, which is different from qtpy, you should install
qtpy then set both to the same binding.
*There is an example included in the *example* folder. You can run the
script without installing qdarkstyle. You only need to have PySide or
PySide2 or PyQt4 or PyQt5 installed on your system.*
What is new?
------------
In the version 2.6 and later, a reestructure stylesheet is provided. The
palette has only 9 colors. Most widgets are revised and their styles
were improved. We also provide a command line (script) to get info that
could be used when opening issues. See the image below.
From 2.7, we have added SCSS, so the palette can be accessed programatically.
Also many scripts were added to give freedom fro developers who wants to
change the colors of our palette. All images and icons were revised, also
creating SVG files for all of them.
From 2.8, we moved to QtPy to simplify your code, thus this is a
required dependency now.
Screenshots
-----------
Here are a few snapshots comparing the use of QDarkStyle and the
default style. Click in the image to zoom.
Containers (no tabs) and Buttons
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_containers_buttons.png
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/images/no_dark_containers_buttons.png
Containers (tabs) and Displays
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_containers_tabs_displays.png
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_containers_tabs_displays.png
Widgets and Inputs (fields)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_widgets_inputs_fields.png
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_widgets_inputs_fields.png
Views and Inputs (no fields)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_views_inputs_no_fields.png
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_views_inputs_no_fields.png
Changelog
---------
Please, see `CHANGES <CHANGES.rst>`__ file.
License
-------
This project is licensed under the MIT license. Images contained in this
project are licensed under CC-BY license.
For more information see `LICENSE <LICENSE.rst>`__ file.
Authors
-------
For more information see `AUTHORS <AUTHORS.rst>`__ file.
Contributing
------------
Most widgets have been styled. If you find a widget that has not been
style, just open an issue on the issue tracker or, better, submit a pull
request.
If you want to contribute, see `CONTRIBUTING <CONTRIBUTING.rst>`__ file.
.. |Build Status| image:: https://travis-ci.org/ColinDuquesnoy/QDarkStyleSheet.png?branch=master
:target: https://travis-ci.org/ColinDuquesnoy/QDarkStyleSheet
.. |Docs Status| image:: https://readthedocs.org/projects/qdarkstylesheet/badge/?version=latest&style=flat
:target: https://qdarkstylesheet.readthedocs.io
.. |Latest PyPI version| image:: https://img.shields.io/pypi/v/QDarkStyle.svg
:target: https://pypi.python.org/pypi/QDarkStyle
.. |License: MIT| image:: https://img.shields.io/dub/l/vibe-d.svg?color=lightgrey
:target: https://opensource.org/licenses/MIT
.. |License: CC BY 4.0| image:: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg
:target: https://creativecommons.org/licenses/by/4.0/
.. |Conduct| image:: https://img.shields.io/badge/code%20of%20conduct-contributor%20covenant-green.svg?style=flat&color=lightgrey
:target: http://contributor-covenant.org/version/1/4/

20
deps/QDark/docs/Makefile vendored Normal file
View File

@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = QDarkStyle
SOURCEDIR = .
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@ -0,0 +1 @@
.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}

4766
deps/QDark/docs/_static/css/theme.css vendored Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

3
deps/QDark/docs/_static/js/theme.js vendored Normal file
View File

@ -0,0 +1,3 @@
/* sphinx_rtd_theme version 0.4.3 | MIT license */
/* Built 20190212 16:02 */
require=function r(s,a,l){function c(e,n){if(!a[e]){if(!s[e]){var i="function"==typeof require&&require;if(!n&&i)return i(e,!0);if(u)return u(e,!0);var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var o=a[e]={exports:{}};s[e][0].call(o.exports,function(n){return c(s[e][1][n]||n)},o,o.exports,r,s,a,l)}return a[e].exports}for(var u="function"==typeof require&&require,n=0;n<l.length;n++)c(l[n]);return c}({"sphinx-rtd-theme":[function(n,e,i){var jQuery="undefined"!=typeof window?window.jQuery:n("jquery");e.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(e){var i=this;void 0===e&&(e=!0),i.isRunning||(i.isRunning=!0,jQuery(function(n){i.init(n),i.reset(),i.win.on("hashchange",i.reset),e&&i.win.on("scroll",function(){i.linkScroll||i.winScroll||(i.winScroll=!0,requestAnimationFrame(function(){i.onScroll()}))}),i.win.on("resize",function(){i.winResize||(i.winResize=!0,requestAnimationFrame(function(){i.onResize()}))}),i.onResize()}))},enableSticky:function(){this.enable(!0)},init:function(i){i(document);var t=this;this.navBar=i("div.wy-side-scroll:first"),this.win=i(window),i(document).on("click","[data-toggle='wy-nav-top']",function(){i("[data-toggle='wy-nav-shift']").toggleClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift")}).on("click",".wy-menu-vertical .current ul li a",function(){var n=i(this);i("[data-toggle='wy-nav-shift']").removeClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift"),t.toggleCurrent(n),t.hashChange()}).on("click","[data-toggle='rst-current-version']",function(){i("[data-toggle='rst-versions']").toggleClass("shift-up")}),i("table.docutils:not(.field-list,.footnote,.citation)").wrap("<div class='wy-table-responsive'></div>"),i("table.docutils.footnote").wrap("<div class='wy-table-responsive footnote'></div>"),i("table.docutils.citation").wrap("<div class='wy-table-responsive citation'></div>"),i(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var e=i(this);expand=i('<span class="toctree-expand"></span>'),expand.on("click",function(n){return t.toggleCurrent(e),n.stopPropagation(),!1}),e.prepend(expand)})},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var t=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}0<i.length&&($(".wy-menu-vertical .current").removeClass("current"),i.addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l1").parent().addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l2").addClass("current"),i.closest("li.toctree-l3").addClass("current"),i.closest("li.toctree-l4").addClass("current"),i[0].scrollIntoView())}catch(o){console.log("Error expanding nav for anchor",o)}},onScroll:function(){this.winScroll=!1;var n=this.win.scrollTop(),e=n+this.winHeight,i=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(i),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(n){var e=n.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find("> ul li.current").removeClass("current"),e.toggleClass("current")}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:e.exports.ThemeNav,StickyNav:e.exports.ThemeNav}),function(){for(var r=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[n[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n,e){var i=(new Date).getTime(),t=Math.max(0,16-(i-r)),o=window.setTimeout(function(){n(i+t)},t);return r=i+t,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}()},{jquery:"jquery"}]},{},["sphinx-rtd-theme"]);

1
deps/QDark/docs/authors.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../AUTHORS.rst

1
deps/QDark/docs/changes.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../CHANGES.rst

1
deps/QDark/docs/code_of_conduct.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../CODE_OF_CONDUCT.rst

181
deps/QDark/docs/conf.py vendored Normal file
View File

@ -0,0 +1,181 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# QDarkStyle documentation build configuration file, created by
# sphinx-quickstart on Tue May 8 14:23:26 2018.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import qdarkstyle
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.napoleon']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = ['.rst']
#source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'QDarkStyle'
copyright = '2020, Colin Duquesnoy'
author = 'Colin Duquesnoy'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = qdarkstyle.__version__
# The full version, including alpha/beta/rc tags.
release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
# This is required for the alabaster theme
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = {
'**': [
'relations.html', # needs 'show_related': True theme option to display
'searchbox.html',
]
}
# -- Options for HTMLHelp output ------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = 'QDarkStyledoc'
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'QDarkStyle.tex', 'QDarkStyle Documentation',
'Colin Duquesnoy', 'manual'),
]
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'qdarkstyle', 'QDarkStyle Documentation',
[author], 1)
]
# -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'QDarkStyle', 'QDarkStyle Documentation',
author, 'QDarkStyle', 'One line description of project.',
'Miscellaneous'),
]
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}

1
deps/QDark/docs/contributing.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../CONTRIBUTING.rst

7
deps/QDark/docs/example/example.rst vendored Normal file
View File

@ -0,0 +1,7 @@
example module
==============
.. automodule:: example
:members:
:undoc-members:
:show-inheritance:

7
deps/QDark/docs/example/modules.rst vendored Normal file
View File

@ -0,0 +1,7 @@
example
=======
.. toctree::
:maxdepth: 4
example

28
deps/QDark/docs/index.rst vendored Normal file
View File

@ -0,0 +1,28 @@
.. QDarkStyle documentation master file, created by
sphinx-quickstart on Tue May 8 14:23:26 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to QDarkStyle's documentation!
======================================
.. toctree::
:maxdepth: 2
readme.rst
example/modules.rst
reference/modules.rst
scripts/modules.rst
known_issues.rst
contributing.rst
changes.rst
authors.rst
license.rst
code_of_conduct.rst
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

7
deps/QDark/docs/known_issues.rst vendored Normal file
View File

@ -0,0 +1,7 @@
Known Issues
============
Combo Box
---------
Describe the problem, add some images and code.

1
deps/QDark/docs/license.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../LICENSE.rst

36
deps/QDark/docs/make.bat vendored Normal file
View File

@ -0,0 +1,36 @@
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=build
set SPHINXPROJ=QDarkStyle
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
:end
popd

1
deps/QDark/docs/readme.rst vendored Normal file
View File

@ -0,0 +1 @@
.. include:: ../README.rst

7
deps/QDark/docs/reference/modules.rst vendored Normal file
View File

@ -0,0 +1,7 @@
qdarkstyle
==========
.. toctree::
:maxdepth: 4
qdarkstyle

View File

@ -0,0 +1,7 @@
qdarkstyle.\_\_main\_\_ module
==============================
.. automodule:: qdarkstyle.__main__
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,7 @@
qdarkstyle.palette module
=========================
.. automodule:: qdarkstyle.palette
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,23 @@
qdarkstyle package
==================
.. automodule:: qdarkstyle
:members:
:undoc-members:
:show-inheritance:
Subpackages
-----------
.. toctree::
qdarkstyle.utils
Submodules
----------
.. toctree::
qdarkstyle.__main__
qdarkstyle.palette
qdarkstyle.style_rc

View File

@ -0,0 +1,7 @@
qdarkstyle.style\_rc module
===========================
.. automodule:: qdarkstyle.style_rc
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,7 @@
qdarkstyle.utils.images module
==============================
.. automodule:: qdarkstyle.utils.images
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,15 @@
qdarkstyle.utils package
========================
.. automodule:: qdarkstyle.utils
:members:
:undoc-members:
:show-inheritance:
Submodules
----------
.. toctree::
qdarkstyle.utils.images
qdarkstyle.utils.scss

View File

@ -0,0 +1,7 @@
qdarkstyle.utils.scss module
============================
.. automodule:: qdarkstyle.utils.scss
:members:
:undoc-members:
:show-inheritance:

9
deps/QDark/docs/scripts/modules.rst vendored Normal file
View File

@ -0,0 +1,9 @@
scripts
=======
.. toctree::
:maxdepth: 4
process_qrc
process_ui
run_ui_css_edition

View File

@ -0,0 +1,7 @@
process\_qrc module
===================
.. automodule:: process_qrc
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,7 @@
process\_ui module
==================
.. automodule:: process_ui
:members:
:undoc-members:
:show-inheritance:

Some files were not shown because too many files have changed in this diff Show More