Commit Graph

188 Commits

Author SHA1 Message Date
Yuval Dolev 4e0549f270 OpenGL renderer abstraction. The OpenGL renderer is now in its own view that's separate from the main 4coder view which handles all input and updates. Also added a Window Delegate which handled window events. 2020-01-03 00:09:22 +02:00
Yuval Dolev d1b9977a63 Started working on high-dpi support. 2020-01-02 04:37:23 +02:00
Yuval Dolev 0420a9a852 Implemented resizing (seems to be really slow for some reason...) and basic input (actually we're not receiving user input yet, but the we're sending the app an empty input struct with only a few parameters being updated like if it's the first step.). 2020-01-02 02:21:33 +02:00
Yuval Dolev 6f827801e5 macOS platform layer initialization and very basic update functions. The 4coder beta has been rendered successfully for the first time on macOS! 2020-01-02 01:13:32 +02:00
Yuval Dolev debdda8184 Started working on getting the opengl renderer to work but encountered a few errors on the way... 2020-01-01 18:38:48 +02:00
Yuval Dolev 0cfb8b319c Work on setting up the opengl view. 2020-01-01 04:16:39 +02:00
Yuval Dolev 26fd4cd230 Finished most of the system api functions (a few will be implemented later). 2020-01-01 00:07:21 +02:00
Yuval Dolev 8c7600ba09 Implemented all system memory handling functions. 2019-12-31 23:36:12 +02:00
Yuval Dolev 9263a4a59f Implemented all system mutex and cv handling functions. 2019-12-31 13:14:05 +02:00
Yuval Dolev cbdc6a14e0 Implemented all system thread handling functions. 2019-12-31 03:22:50 +02:00
Yuval Dolev aff4a783e0 Implemented system_get_screen_scale_factor. 2019-12-31 01:56:12 +02:00
Yuval Dolev 912174e725 Experimentations with redrawing the opengl view. 2019-12-31 00:04:33 +02:00
Yuval Dolev 1d6be32462 Setup window and basic opengl view. 2019-12-30 03:21:21 +02:00
Yuval Dolev 50b8a64614 The projects compiles. 2019-12-30 02:33:30 +02:00
Yuval Dolev dc213307a9 Implemented all system wake up timer functions. 2019-12-30 00:34:53 +02:00
Yuval Dolev 76069e9ac1 Created basic Mac_Object structure and mac object allocation function. 2019-12-29 03:09:28 +02:00
Yuval Dolev 8020dcf385 Implemented system_now_time. 2019-12-29 00:11:34 +02:00
Yuval Dolev a91158ebf0 Implemented all system library handling functions. 2019-12-28 01:54:33 +02:00
Yuval Dolev da150cd322 Merged mac_4ed.cpp into mac_4ed.mm so now we have only 1 main file for the macOS platform layer. 2019-12-27 23:59:59 +02:00
Yuval Dolev 7e710eb3a0 Merge branch 'yuval_macos_platform_layer_branch' of https://bitbucket.org/4coder/4coder into yuval_macos_platform_layer_branch 2019-12-27 23:34:06 +02:00
Yuval Dolev 874024f8fb Added section comments to mac_4ed_functions.cpp 2019-12-27 23:30:46 +02:00
Allen Webster 5c3dd4ebaf Get 4coder_types.h to work with a dumb hack for now 2019-12-26 19:47:12 -08:00
Yuval Dolev 074400495f Implemented all system file handling functions. 2019-12-27 00:16:15 +02:00
Yuval Dolev 9c3a2d9550 Finished implmenting system_get_file_list. 2019-12-26 21:30:13 +02:00
Yuval Dolev ea29a6e13e Work on system_get_file_list. File attribute retrieval now works. 2019-12-26 17:54:06 +02:00
Yuval Dolev 3131e45c12 Errors regarding File_List which is used in mac_get_file_list (not implemented yet). 2019-12-26 03:39:40 +02:00
Yuval Dolev 1317692233 Work on system_get_file_list. 2019-12-26 03:16:34 +02:00
Yuval Dolev 2f9a4dbe3a Fixed compilation errors and tested system_get_canonical. 2019-12-26 00:19:50 +02:00
Yuval Dolev 9b0708a40c Implemented system_get_canonical. 2019-12-25 23:31:21 +02:00
Yuval Dolev 57c0707284 Implemented system_get_path. 2019-12-25 03:17:12 +02:00
Yuval Dolev e3e5f857ea Added empty implementations of all the system api functions to mac_4ed_functions.cpp 2019-12-24 22:31:24 +02:00
Yuval Dolev 54f5e72aa5 Added a c++ platform layer file. 2019-12-24 16:57:05 +02:00
Yuval Dolev 18dd91197f The new (very basic) macOS platform layer compiles! 2019-12-24 02:53:25 +02:00
Yuval Dolev 42f06f0eec Added clang compiler support. The macOS platform now uses clang instead of gcc as its compiler. 2019-12-24 02:46:58 +02:00
Yuval Dolev 921a68e765 Created separate build files for macOS. 2019-12-24 01:22:56 +02:00
Yuval Dolev 67dfd06149 Started working on macOS platform layer. 2019-12-23 02:39:44 +02:00
Allen Webster 4817510c5d Final type fixups; package and build stuff straightened out 2019-12-17 19:38:08 -08:00
Allen Webster 0e51ffa80d New mapping system looking decent 2019-10-10 15:57:02 -07:00
Allen Webster aa565395e2 FILE TRANSFER; almost have new input events up and running, needs a few more blocks 2019-10-10 11:21:47 -07:00
Allen Webster 3f72512332 Partially finished rewriting events (STILL BROKEN, FILE TRANSFER) 2019-10-09 17:07:38 -07:00
Allen Webster c0c536651e Cleaning up obsolete file track stuff 2019-10-01 14:11:25 -07:00
Allen Webster 55d064cf61 In Progress: working on the new opengl back end and font rasterizer 2019-07-21 11:16:34 -07:00
Allen Webster 71ce96e5a4 Removing OS level directory cd implementations 2019-06-01 17:47:14 -07:00
Allen Webster 2ef8f361d7 Merge non-sense, who knows, here goes 2019-06-01 16:58:28 -07:00
Allen Webster 93fe0e1472 Removing all inlines 2019-01-31 05:06:42 -08:00
Allen Webster 11c12e8b92 Modifiers on mouse events (mac) 2018-12-17 14:21:39 -08:00
Allen Webster ed1e702474 mac file track fix 2018-12-15 02:30:44 -08:00
Allen Webster 769ee14388 updated windows file track implementation 2018-12-15 01:10:42 -08:00
Allen Webster 276b51d229 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2018-12-14 14:23:44 -08:00
Allen Webster 9c0a871545 Breaking down file change listening nonsense 2018-12-14 14:23:23 -08:00
Allen Webster 1e7f0019f5 Fixed mac build 2018-12-13 09:14:32 -08:00
Allen Webster 89516d827b Push string/push string copy in string library 2018-11-27 20:36:09 -08:00
Allen Webster c3ef63934f API files renamed 2018-11-27 10:07:07 -08:00
Allen Webster 58b50c39a7 Moved and renamed style tag list. 2018-11-27 09:59:14 -08:00
Allen Webster 59d70950d6 Removed keycodes from 4ed_metagen.cpp 2018-11-22 10:34:11 -08:00
Allen Webster 1d5621f5b6 Cleaned up input, replaced all {0} with {} 2018-11-20 00:18:54 -08:00
Allen Webster 89be77f903 Updated various mac things 2018-10-06 08:49:13 -07:00
Allen Webster 9e3e7519d0 Lister wrappers and fixed option lists 2018-08-05 00:09:18 -07:00
Allen Webster cb9b9f6160 Removed 4coder_helper folder from 4ed_build.cpp 2018-05-10 01:18:54 -07:00
Allen Webster c3aac5663d 4.0.26 mac fix 2018-05-06 21:44:03 -07:00
Allen Webster 17704c6036 Fixed several bugs, setup regression tests, working on organizing code for aggressive cleanup 2018-03-24 03:06:45 -07:00
Allen Webster 199d6d8f80 Got input recording up and running 2018-03-09 18:06:55 -08:00
Allen Webster ce5039d0ca simulated input testing mostly done 2018-03-02 23:46:44 -08:00
Allen Webster 29e3df9df6 Mac symlink problem fixed, *search* bs thingy fixed 2017-12-02 13:04:56 -05:00
Allen Webster 451a6fd8a4 Mac symbolic link problem fixed 2017-12-01 14:36:03 -05:00
Allen Webster 6cdaa02312 Got window title changing working robustly ish 2017-11-30 14:02:37 -05:00
Allen Webster a1c79c5313 Some of the work is done on getting the window title thing working 2017-11-30 11:50:39 -05:00
Allen Webster f00812a511 System level set_tite call, Mac set_title implementation, system level set_title test 2017-11-30 10:44:08 -05:00
Allen Webster aa74d71e0e Mac crash on error box after core is loaded 2017-11-28 14:19:08 -05:00
Allen Webster 53184771ad Fix for make on Windows, Fix for -D flag 2017-11-28 14:11:44 -05:00
Allen Webster 117e61c91f Mac clipboard watching bug fixed 2017-11-27 14:14:58 -05:00
Allen Webster ede9083e71 Big pastes on Mac 2017-11-27 12:14:59 -05:00
Allen Webster 291bfa2e32 Fixed font pixels, added delete file command 2017-11-21 14:48:04 -05:00
Allen Webster 9d54e76590 Fixed crash with temp on linux and mac 2017-11-20 21:28:46 -05:00
Allen Webster a85ddda2a7 Mac Italics and Bold 2017-11-20 15:05:14 -05:00
Allen Webster 16c002fe7c Font italics and bold working on Windows 2017-11-20 12:51:02 -05:00
Allen Webster 29b1488057 Fixed UI problems with new font stuff, ready to move on to Italics, Bold, & Underline tomorrow 2017-11-19 22:24:37 -05:00
Allen Webster 12faf0b8c2 Got mac building again 2017-11-19 20:38:07 -05:00
Allen Webster f15c59c621 Lots of progress towards new font face system 2017-11-19 19:47:55 -05:00
Allen Webster ca8d9e2729 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2017-11-18 17:40:22 -05:00
Allen Webster 818e3781df Finished the bindings.html generator (mostly), fixed the windows crash bug (major 2017-11-18 17:40:10 -05:00
Allen Webster ee2263ae1a Removed font enumeration printf on Mac 2017-11-17 19:03:54 -05:00
Allen Webster 15d6ccf27f Mac font enumeration bug fix 2017-11-17 18:09:23 -05:00
Allen Webster 645a6f6c40 Finished the mac font setup 2017-11-17 18:05:58 -05:00
Allen Webster 421e3665db Mac font listing 50% done, switching to build the rest on windows where I can actually get stuff done quickly :/// 2017-11-17 17:53:17 -05:00
Allen Webster 149514dc7c Fix for mac building 2017-11-17 16:26:19 -05:00
Allen Webster c9f905b1f6 Got linux and mac version building again 2017-11-17 15:25:46 -05:00
Allen Webster 54de2b4812 Finished system font listing and loading on windows 2017-11-17 14:22:12 -05:00
Allen Webster 4f3b07168d Working on font cleanup all day all day all day 2017-11-16 18:03:36 -05:00
Allen Webster a9acd4831c Fixed some keyboard problems, going to ditch 4coder-like next 2017-11-15 11:13:36 -05:00
Allen Webster 162ffe828a Experiments with keyboard bindings for Mac alt keys, done and undone I think. get_clock fix for Mac 2017-11-14 23:33:15 -05:00
Allen Webster a56b7575b7 Moved 100% of opengl work to opengl file 2017-11-14 18:37:38 -05:00
Allen Webster eaa5506b47 Mac file watching upgraded to using FSEventStreams 2017-11-14 16:35:17 -05:00
Allen Webster 6bda139de0 m 2017-11-12 14:22:51 -05:00
Allen Webster e3e5826fba n 2017-11-12 14:20:17 -05:00
Allen Webster baf975e60b more testing the mac system error box 2017-11-12 14:19:13 -05:00
Allen Webster a5aee2b470 Testing system error box on mac 2017-11-12 14:18:30 -05:00
Allen Webster 23d07141bd fixed app.step == 0 protection 2017-11-12 14:15:11 -05:00
Allen Webster fa31c3e90d app.step == 0 protection 2017-11-12 14:13:04 -05:00
Allen Webster 2bd82133f0 finished cleaning up the error box behavior 2017-11-12 14:08:07 -05:00