Commit Graph

86 Commits (f1b0bd0522de33135c71268c78737617ea3688d2)

Author SHA1 Message Date
Allen Webster 0486e92577 Move '4ed_search_list.h/.cpp' to custom layer; rename to 4coder_* 2020-11-23 20:06:03 -08:00
Allen Webster 075373c82b Fix newline and tab insert on Mac 2020-05-09 08:28:42 -07:00
Allen Webster c9c1e1bcb3 Stubbed in new functions (need to go make sure they build still) 2020-05-09 08:11:43 -07:00
Yuval Dolev 88cf02077e Removed redundant insertText function duplicate. 2020-05-03 15:25:35 +03:00
Yuval Dolev 5ae883f752 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-05-03 15:15:29 +03:00
Allen Webster 79fd3ca65c Prevent escape key from exiting full screen mode 2020-05-03 05:15:18 -07:00
Yuval Dolev 678d1e9abe Fix for clicking and scolling which stopped working after enabling dead keys. 2020-05-03 15:15:17 +03:00
Allen Webster 79bc7a7c6e Fix for the error bonk on every key combo 2020-05-03 05:06:19 -07:00
Yuval Dolev 9b17ed2443 Fix for macOS input issue regarding dead keys. 2020-05-03 01:04:32 +03:00
Allen Webster 161f3711f6 Crabby allen got the fullscreen crash under control at least 2020-05-01 19:19:21 -07:00
Allen Webster b43487096f Okay I think this is actually the fix for the mouse wheel problem 2020-05-01 18:55:52 -07:00
Allen Webster 3c77835e6f Okay back to the old text stuff for now :( Let's fix scroll feel by multiplying in the screen scale factor? Why not right? 2020-05-01 18:31:28 -07:00
Allen Webster 67e294c0d5 That doesn't do it. 2020-05-01 18:08:01 -07:00
Allen Webster ac906663d8 Woops -> 2020-05-01 18:00:37 -07:00
Allen Webster 6454ffc264 Transfer -> 2020-05-01 17:58:01 -07:00
Allen Webster bd26b2afe4 Okay different experiment - with semicolon 2020-05-01 17:28:24 -07:00
Allen Webster 9625ce293e Okay different experiment 2020-05-01 17:27:37 -07:00
Allen Webster c231d524e6 Transfer again 2020-05-01 16:23:22 -07:00
Allen Webster fdc8dc618f Working on a mac text input bug ... begin transfer commits now! 2020-05-01 15:47:43 -07:00
Yuval Dolev 7ed42ab516 Updated the macOS platform layer's keycode lookup table to supper the new keycodes. 2020-03-14 01:16:54 +02:00
Allen Webster eb298a6fdc Mac fixup of arenas; implementation of Date_Time 2020-03-12 21:17:43 -07:00
Allen Webster 6d24fa6f29 Use mac smooth scroll values 2020-02-29 13:35:52 -08:00
Allen Webster f74365392c Update mac clipboard immplementation 2020-02-28 13:53:10 -08:00
Allen Webster b2bdfbd05d Slightly better mac fullscreen fix 2020-01-21 12:57:42 -08:00
Allen Webster d6b0387f0d Decent fix for fullscreen problem 2020-01-21 12:01:47 -08:00
Yuval Dolev de7eca0c88 Fixed the package script to work on macOS. 2020-01-21 04:17:21 +02:00
Allen Webster 33aa987589 Fixed the mutex problem 2020-01-19 12:16:54 -08:00
Yuval Dolev 354b4fe6dc All mutexes are now refrence counted. This solves a lot of the crashes caused by deadlocks in situations where the same thread locks its own mutex multiple times before unlocking it. 2020-01-19 05:47:01 +02:00
Yuval Dolev b255da9d00 Fixed path length sent to proc_pidpath because it seems to expect a maximum path length which was previously exceeded. Opening 4coder now works from anywhere. 2020-01-19 05:30:04 +02:00
Yuval Dolev 63b964f1c5 Fixed wrong trackpad scrolling. 2020-01-19 04:44:52 +02:00
Yuval Dolev 00d8206ad2 Fixed live resizing bug with the layer based view. 2020-01-19 03:05:56 +02:00
Yuval Dolev 0335a1a718 Implemented a texture slot batch allocating system for the Metal renderer. 2020-01-19 02:47:43 +02:00
Yuval Dolev b6f6663727 Added a key mapping for the equal key. 2020-01-17 00:49:08 +02:00
Yuval Dolev 2375a40b29 Ifdefed some debug prints to work only on internal builds. 2020-01-16 01:07:49 +02:00
Yuval Dolev ab486eb229 Removed some debug prints. 2020-01-15 02:21:02 +02:00
Yuval Dolev 93494bd398 Cleanup to the macOS platform layer. 2020-01-14 17:25:13 +02:00
Yuval Dolev de9fc34c3e Added a hack to fix DeadLock problem regrading the system_memory_annotation function. Also started working on fixing the performance issues that I discovered in the graphics renderer on retina displays (for now I changed to FCoder_View to be layer backed which is faster for rendering animations, this seems to improve performance by a little margin but rendering on high dpi displays is not closed to being smooth yet...). 2020-01-14 03:22:29 +02:00
Yuval Dolev a737a5409a Implemented all system cli handling functions. 2020-01-13 16:15:25 +02:00
Yuval Dolev 585978982e Updates to the step scheduling to improve animations. 2020-01-13 04:20:10 +02:00
Yuval Dolev fd1c41bab4 Finished implementing the run loop. 2020-01-13 04:06:10 +02:00
Yuval Dolev f7b0b05426 Posting to clipboard now works. 2020-01-13 03:20:58 +02:00
Yuval Dolev 7d2a91805b The clipboard is now read is frame and on changes and sent to the core. We're using polling to get the clipboard contents on macOS using a timer because there is no way to get a clipboard change notification on macOS (sigh...) 2020-01-13 03:05:44 +02:00
Yuval Dolev dbcb05d2d1 Fixed a performance issue regarding timers. Now we can start a single timer per step request. 2020-01-12 23:16:03 +02:00
Yuval Dolev 020e2789d7 Fixed input bug where the input was not zeroed at the end of each frame. 2020-01-12 03:08:07 +02:00
Yuval Dolev 7f00ead99c Added support for control keys. 2020-01-11 23:12:41 +02:00
Yuval Dolev 8e4ec5215f Added KeyStoke and KeyRelease events and fixed TextInput events. 2020-01-11 22:19:43 +02:00
Yuval Dolev 13970744b4 Fixed blending bug in the Metal renderer where the destination alpha was not updated which caused problems while rendering the program in full screen mode. 2020-01-10 18:57:08 +02:00
Yuval Dolev 520ab3dd27 Fixed animations. 2020-01-10 01:04:55 +02:00
Yuval Dolev 533819c7d4 Added mouse input. 2020-01-09 20:52:39 +02:00
Yuval Dolev 88c933acd2 Implemented the renderer abstraction for both OpenGL and Metal. 2020-01-09 02:36:37 +02:00