Commit Graph

  • 73da715644 Working on new Mac bindings; binding map written, but config switch not ready yet Allen Webster 2020-01-19 10:30:37 -0800
  • 3f83e67a89 Changed the render target from a property to a regular field, also changed the instance variable names to use Apple's conventions. Yuval Dolev 2020-01-19 20:11:39 +0200
  • a6fde84a3c Improved the Metal renderer's texture handling system to handle texture freeing. Yuval Dolev 2020-01-19 18:17:57 +0200
  • eea989aa73 Removed the todo comment regrading fixing the mutex issue. Yuval Dolev 2020-01-19 05:48:28 +0200
  • 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. Yuval Dolev 2020-01-19 05:47:01 +0200
  • 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. Yuval Dolev 2020-01-19 05:30:04 +0200
  • 63b964f1c5 Fixed wrong trackpad scrolling. Yuval Dolev 2020-01-19 04:44:52 +0200
  • 00d8206ad2 Fixed live resizing bug with the layer based view. Yuval Dolev 2020-01-19 03:05:56 +0200
  • 0335a1a718 Implemented a texture slot batch allocating system for the Metal renderer. Yuval Dolev 2020-01-19 02:47:43 +0200
  • 3afa6debb7 added .dSYM to gitignore Allen Webster 2020-01-16 20:01:37 -0800
  • e9a0aa9c1b Fixed file opening bug; deleted dSYM file Allen Webster 2020-01-16 19:58:24 -0800
  • 99f30cfe77 Merge other things that didn't come up on windows build Allen Webster 2020-01-16 18:33:00 -0800
  • 9e72096bdf Merged macos platform layer branch into master; building on windows Allen Webster 2020-01-16 18:26:19 -0800
  • 939c568285 Some random change I want to keep Allen Webster 2020-01-16 18:08:51 -0800
  • b6f6663727 Added a key mapping for the equal key. Yuval Dolev 2020-01-17 00:49:08 +0200
  • 2375a40b29 Ifdefed some debug prints to work only on internal builds. Yuval Dolev 2020-01-16 01:07:49 +0200
  • 0bbafd636e Fixed random crashes and misbehaviors Allen Webster 2020-01-15 10:42:02 -0800
  • e977d1d312 Fix crash when escaping command_documentation Allen Webster 2020-01-15 10:16:13 -0800
  • 4a8febcdde Fade ranges added to default rendering rules; fixed crash on bad font path Allen Webster 2020-01-15 10:14:17 -0800
  • ab486eb229 Removed some debug prints. Yuval Dolev 2020-01-15 02:21:02 +0200
  • d0937976d7 Added folder creation logic to interactive_new and interactive_open Allen Webster 2020-01-14 15:39:32 -0800
  • e0920123ac Sticky jump crash fixed Allen Webster 2020-01-14 15:38:29 -0800
  • 2865860b24 Create folders from interactive_open_or_new Allen Webster 2020-01-14 15:35:14 -0800
  • 93494bd398 Cleanup to the macOS platform layer. Yuval Dolev 2020-01-14 17:25:13 +0200
  • 1ab40ff5b9 Lowered view sample count to improve the rendering speed on high dpi displays. Yuval Dolev 2020-01-14 17:21:03 +0200
  • 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...). Yuval Dolev 2020-01-14 03:22:29 +0200
  • a737a5409a Implemented all system cli handling functions. Yuval Dolev 2020-01-13 16:15:25 +0200
  • 585978982e Updates to the step scheduling to improve animations. Yuval Dolev 2020-01-13 04:20:10 +0200
  • fd1c41bab4 Finished implementing the run loop. Yuval Dolev 2020-01-13 04:06:10 +0200
  • f7b0b05426 Posting to clipboard now works. Yuval Dolev 2020-01-13 03:20:58 +0200
  • 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...) Yuval Dolev 2020-01-13 03:05:44 +0200
  • dbcb05d2d1 Fixed a performance issue regarding timers. Now we can start a single timer per step request. Yuval Dolev 2020-01-12 23:16:03 +0200
  • efa63025dc remaining things from list besides skipped ones chr 2020-01-11 22:44:12 -0800
  • 3d9845a376 More linux platform layer chr 2020-01-11 22:07:01 -0800
  • 8f6daa1c28 More linux platform layer funcs chr 2020-01-11 21:27:40 -0800
  • 8c6335afb4 Stabilized scrolling in side-by-side single buffer editing Allen Webster 2020-01-11 18:00:38 -0800
  • f8297dc036 Fixed paren-statement interaction in indentation logic Allen Webster 2020-01-11 17:20:40 -0800
  • 020e2789d7 Fixed input bug where the input was not zeroed at the end of each frame. Yuval Dolev 2020-01-12 03:08:07 +0200
  • 8e390db03c Optimizing auto-indent scanning logic Allen Webster 2020-01-11 16:27:34 -0800
  • 55a5765e03 progress chr 2020-01-11 16:19:37 -0800
  • f1dd78f32a Only compute line indentation info at necessary points in the auto-indent routine Allen Webster 2020-01-11 15:45:28 -0800
  • 7f00ead99c Added support for control keys. Yuval Dolev 2020-01-11 23:12:41 +0200
  • 8e4ec5215f Added KeyStoke and KeyRelease events and fixed TextInput events. Yuval Dolev 2020-01-11 22:19:43 +0200
  • 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. Yuval Dolev 2020-01-10 18:57:08 +0200
  • 2e21156e66 Add call convention for wgl functions Allen Webster 2020-01-09 18:52:53 -0800
  • 65bfe172c4 4.1.1 Allen Webster 2020-01-09 18:15:37 -0800
  • d143a0e6d5 Fix indent on save bug Allen Webster 2020-01-09 18:12:20 -0800
  • 76735e6f01 Change file name bug fixed Allen Webster 2020-01-09 17:56:01 -0800
  • 520ab3dd27 Fixed animations. Yuval Dolev 2020-01-10 01:04:55 +0200
  • 533819c7d4 Added mouse input. Yuval Dolev 2020-01-09 20:52:39 +0200
  • 88c933acd2 Implemented the renderer abstraction for both OpenGL and Metal. Yuval Dolev 2020-01-09 02:36:37 +0200
  • 912bcae8a7 Started working on an abstraction for the macOS renderer implementations. Yuval Dolev 2020-01-09 02:15:25 +0200
  • 521fb82113 The Metal renderer is now fully functioning. Yuval Dolev 2020-01-08 21:44:47 +0200
  • a18ef3197a Implemented my own vertex buffers management, also started working on textures. Yuval Dolev 2020-01-08 01:45:36 +0200
  • a34d95b848 Metal renderer is now working (no textures yet). Yuval Dolev 2020-01-07 02:55:28 +0200
  • efad772401 Work on metal renderer. Only semi-working for now. Yuval Dolev 2020-01-06 02:55:07 +0200
  • 813ba593e3 Fixed flipped projection matrix. Yuval Dolev 2020-01-05 03:44:16 +0200
  • b52f1cee24 Metal projection matrix test. Yuval Dolev 2020-01-05 03:13:47 +0200
  • 0fceec19a9 Basic metal renderer (only rendering a triangle as of right now). Yuval Dolev 2020-01-04 03:24:52 +0200
  • 2d78eade2f Added checker for missing documentation, Allen Webster 2020-01-02 16:00:34 -0800
  • 13ee76effe Added hard exit API; fixed exit menus Allen Webster 2020-01-02 14:37:01 -0800
  • 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. Yuval Dolev 2020-01-03 00:09:22 +0200
  • d1b9977a63 Started working on high-dpi support. Yuval Dolev 2020-01-02 04:37:23 +0200
  • 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.). Yuval Dolev 2020-01-02 02:21:33 +0200
  • 6f827801e5 macOS platform layer initialization and very basic update functions. The 4coder beta has been rendered successfully for the first time on macOS! Yuval Dolev 2020-01-02 01:13:32 +0200
  • debdda8184 Started working on getting the opengl renderer to work but encountered a few errors on the way... Yuval Dolev 2020-01-01 18:38:48 +0200
  • 0cfb8b319c Work on setting up the opengl view. Yuval Dolev 2020-01-01 04:16:39 +0200
  • 26fd4cd230 Finished most of the system api functions (a few will be implemented later). Yuval Dolev 2020-01-01 00:07:21 +0200
  • 8c7600ba09 Implemented all system memory handling functions. Yuval Dolev 2019-12-31 23:36:12 +0200
  • 9263a4a59f Implemented all system mutex and cv handling functions. Yuval Dolev 2019-12-31 13:14:05 +0200
  • cbdc6a14e0 Implemented all system thread handling functions. Yuval Dolev 2019-12-31 03:22:50 +0200
  • aff4a783e0 Implemented system_get_screen_scale_factor. Yuval Dolev 2019-12-31 01:56:12 +0200
  • 912174e725 Experimentations with redrawing the opengl view. Yuval Dolev 2019-12-31 00:04:33 +0200
  • 1d6be32462 Setup window and basic opengl view. Yuval Dolev 2019-12-30 03:21:21 +0200
  • 50b8a64614 The projects compiles. Yuval Dolev 2019-12-30 02:33:30 +0200
  • dc213307a9 Implemented all system wake up timer functions. Yuval Dolev 2019-12-30 00:34:53 +0200
  • 76069e9ac1 Created basic Mac_Object structure and mac object allocation function. Yuval Dolev 2019-12-29 03:09:28 +0200
  • 8020dcf385 Implemented system_now_time. Yuval Dolev 2019-12-29 00:11:34 +0200
  • a91158ebf0 Implemented all system library handling functions. Yuval Dolev 2019-12-28 01:54:33 +0200
  • da150cd322 Merged mac_4ed.cpp into mac_4ed.mm so now we have only 1 main file for the macOS platform layer. Yuval Dolev 2019-12-27 23:59:59 +0200
  • 844dba9897 Merge yuval_macos_platform_layer_branch into yuval_macos_platform_layer. Yuval Dolev 2019-12-27 23:35:48 +0200
  • 7e710eb3a0 Merge branch 'yuval_macos_platform_layer_branch' of https://bitbucket.org/4coder/4coder into yuval_macos_platform_layer_branch Yuval Dolev 2019-12-27 23:34:06 +0200
  • 874024f8fb Added section comments to mac_4ed_functions.cpp Yuval Dolev 2019-12-27 23:30:46 +0200
  • eb1bf82bec Finished API extension for padded layout rectangles giving more reliable xy navigation commands Allen Webster 2019-12-26 21:20:19 -0800
  • 15c7188721 Permanently get off of min/max, extend setup_cl with 2019 default paths Allen Webster 2019-12-26 20:14:13 -0800
  • 5c3dd4ebaf Get 4coder_types.h to work with a dumb hack for now Allen Webster 2019-12-26 19:47:12 -0800
  • 0a5f6d51f6 removing dead min/max macros Allen Webster 2019-12-26 17:12:13 -0800
  • 074400495f Implemented all system file handling functions. Yuval Dolev 2019-12-27 00:16:15 +0200
  • 9c3a2d9550 Finished implmenting system_get_file_list. Yuval Dolev 2019-12-26 21:30:13 +0200
  • ea29a6e13e Work on system_get_file_list. File attribute retrieval now works. Yuval Dolev 2019-12-26 17:54:06 +0200
  • 3131e45c12 Errors regarding File_List which is used in mac_get_file_list (not implemented yet). Yuval Dolev 2019-12-26 03:39:40 +0200
  • 1317692233 Work on system_get_file_list. Yuval Dolev 2019-12-26 03:16:34 +0200
  • 2f9a4dbe3a Fixed compilation errors and tested system_get_canonical. Yuval Dolev 2019-12-26 00:19:50 +0200
  • 9b0708a40c Implemented system_get_canonical. Yuval Dolev 2019-12-25 23:31:21 +0200
  • 57c0707284 Implemented system_get_path. Yuval Dolev 2019-12-25 03:17:12 +0200
  • e3e5f857ea Added empty implementations of all the system api functions to mac_4ed_functions.cpp Yuval Dolev 2019-12-24 22:31:24 +0200
  • 54f5e72aa5 Added a c++ platform layer file. Yuval Dolev 2019-12-24 16:57:05 +0200
  • 18dd91197f The new (very basic) macOS platform layer compiles! Yuval Dolev 2019-12-24 02:53:25 +0200
  • 45f462e76c Changed all scalar variable initializations to 0 instead of {} to support compilation with clang. Yuval Dolev 2019-12-24 02:47:50 +0200
  • 42f06f0eec Added clang compiler support. The macOS platform now uses clang instead of gcc as its compiler. Yuval Dolev 2019-12-24 02:46:58 +0200