Commit Graph

335 Commits

Author SHA1 Message Date
Allen Webster bd3417e836 Bindings favorable to mac keyboard now working 2020-01-19 13:30:28 -08:00
Allen Webster 7817f8412d Trying to debug weird allocator crash bug; switching to windows 2020-01-19 12:00:58 -08:00
Allen Webster 73da715644 Working on new Mac bindings; binding map written, but config switch not ready yet 2020-01-19 10:30:37 -08:00
Allen Webster e9a0aa9c1b Fixed file opening bug; deleted dSYM file 2020-01-16 19:58:24 -08:00
Allen Webster 9e72096bdf Merged macos platform layer branch into master; building on windows 2020-01-16 18:26:19 -08:00
Allen Webster 939c568285 Some random change I want to keep 2020-01-16 18:08:51 -08:00
Yuval Dolev b6f6663727 Added a key mapping for the equal key. 2020-01-17 00:49:08 +02:00
Allen Webster 0bbafd636e Fixed random crashes and misbehaviors 2020-01-15 10:42:02 -08:00
Allen Webster e977d1d312 Fix crash when escaping command_documentation 2020-01-15 10:16:13 -08:00
Allen Webster 4a8febcdde Fade ranges added to default rendering rules; fixed crash on bad font path 2020-01-15 10:14:17 -08:00
Yuval Dolev ab486eb229 Removed some debug prints. 2020-01-15 02:21:02 +02:00
Allen Webster d0937976d7 Added folder creation logic to interactive_new and interactive_open 2020-01-14 15:39:32 -08:00
Allen Webster e0920123ac Sticky jump crash fixed 2020-01-14 15:38:29 -08:00
Allen Webster 2865860b24 Create folders from interactive_open_or_new 2020-01-14 15:35:14 -08: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
Allen Webster 8c6335afb4 Stabilized scrolling in side-by-side single buffer editing 2020-01-11 18:00:38 -08:00
Allen Webster f8297dc036 Fixed paren-statement interaction in indentation logic 2020-01-11 17:20:40 -08:00
Allen Webster 8e390db03c Optimizing auto-indent scanning logic 2020-01-11 16:27:34 -08:00
Allen Webster f1dd78f32a Only compute line indentation info at necessary points in the auto-indent routine 2020-01-11 15:45:28 -08:00
Allen Webster 65bfe172c4 4.1.1 2020-01-09 18:15:37 -08:00
Allen Webster d143a0e6d5 Fix indent on save bug 2020-01-09 18:12:20 -08:00
Allen Webster 76735e6f01 Change file name bug fixed 2020-01-09 17:56:01 -08:00
Allen Webster 2d78eade2f Added checker for missing documentation, 2020-01-02 16:00:34 -08:00
Allen Webster 13ee76effe Added hard exit API; fixed exit menus 2020-01-02 14:37:01 -08: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 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
Allen Webster eb1bf82bec Finished API extension for padded layout rectangles giving more reliable xy navigation commands 2019-12-26 21:20:19 -08:00
Allen Webster 15c7188721 Permanently get off of min/max, extend setup_cl with 2019 default paths 2019-12-26 20:14:13 -08:00
Allen Webster 0a5f6d51f6 removing dead min/max macros 2019-12-26 17:12:13 -08: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 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
Allen Webster ccb3767c55 Fixed case insensitive find first functions 2019-12-23 12:18:07 -08:00
Allen Webster 8be1e685bf Fixed enclosure code to work on first byte of enclosure range 2019-12-23 11:47:33 -08:00
Yuval Dolev 65774dec46 Replaced readlink -f with realpath which works for both macOS and Linux. Might need to replace this with an implementation of readlink -f if we find that this doesn't work well enough for both macOS and Linux. 2019-12-23 20:40:51 +02:00
Allen Webster 19effd6b0c Updated theme files; jump lister for function lists fixed 2019-12-23 09:15:18 -08:00
Allen Webster d28a1d6aba Fixed theme config 2019-12-22 20:50:54 -08:00
Yuval Dolev 9f518de27b Build system is now working for macOS. 2019-12-22 23:43:36 +02:00
Allen Webster 42d3e828b0 4.1.0 ship files 2019-12-18 21:05:30 -08:00
Allen Webster 4817510c5d Final type fixups; package and build stuff straightened out 2019-12-17 19:38:08 -08:00
Allen Webster 27a2a45f59 Cleaning up this and that; types; startup hook; null pointer crashes on the doc command 2019-12-17 16:19:03 -08:00
Allen Webster a0c4aa2fa2 4.1.0 day 1 site ship 2019-12-17 13:03:15 -08:00
Allen Webster c3e96803d2 Partial setup for binding documentations 2019-12-17 00:11:31 -08:00
Allen Webster b9dedc912d Extra room in the API for eventually having mixed-font layouts 2019-12-16 17:52:20 -08:00
Allen Webster 75c1d8e9c0 Fix invisible backslash problem 2019-12-16 16:55:01 -08:00
Allen Webster 471aaaacf9 Dealing with parse infinite loops 2019-12-16 12:40:30 -08:00
Allen Webster b6fc044538 Progress on type documentation 2019-12-15 22:56:13 -08:00
Allen Webster 711196405f Build on windows and merge 2019-12-13 17:09:25 -08:00
chronal-xnor d10dc6256b 4coder build scripts working on Linux x64
This fixes the build scripts and gets everything working up to the part where
4coder actually builds the linux platform layer. I had to make a few
modifications to shared definitions, so you should make sure I didn't break
anything on Windows with these changes!
2019-12-13 17:00:55 -08:00
Allen Webster c9a01fbe0e Basics of the entire code index in place for jump to definition 2019-12-13 16:20:59 -08:00
Allen Webster 6993c3c0d5 Code index types 2019-12-13 15:36:28 -08:00
Allen Webster a05db7f075 Site render up and running 2019-12-12 21:02:40 -08:00
Allen Webster 18dc4cb8fd Built in docs running 2019-12-12 16:03:21 -08:00
Allen Webster 74adc4782f Finished documentation, beginning to organize to acquire doc content at run time 2019-12-10 10:46:12 -08:00
Allen Webster 8e9fbbbba6 Lots of documentation written 2019-12-07 18:53:01 -08:00
Allen Webster 79e9cfcf96 Command reverse lookup 2019-12-03 11:35:41 -08:00
Allen Webster dbb2671bd0 New color scheme system up and running with dynamic meta-allocated-ids, arrays of colors in each slot, and full custom layer control 2019-11-25 22:09:31 -08:00
Allen Webster c681ce5f7b Fixed issue with rewrite loc id allocator whatevers 2019-11-25 19:16:03 -08:00
Allen Webster f7b6c0a0b1 metadata for ids not in use before; fixed 2019-11-25 12:32:02 -08:00
Allen Webster f1ddbc2cc8 Added metaprogram for custom ids to make them much easier to declare and integrate 2019-11-24 15:13:51 -08:00
Allen Webster ebb1e96706 keyboard macro fixups 2019-11-22 17:40:07 -08:00
Allen Webster c772acb00a First pass for keyboard macros 2019-11-22 14:09:52 -08:00
Allen Webster 295cb0d0a6 All obvious memory leaks fixed - except when profiler is enabled - need to set it to default disabled and fix the inspect ui to still work 2019-11-21 21:37:11 -08:00
Allen Webster d2bdcab494 Token pair null pointer crash fixed 2019-11-18 10:13:21 -08:00
Allen Webster ef6d66a516 Last minute hms fixes (#1) 2019-11-15 15:33:14 -08:00
Allen Webster 688b4e2083 HMS Demo code fully ready 2019-11-14 18:36:31 -08:00
Allen Webster 89850a106e Removed the very problemsome thing with intersecting layout rectangles in the clip region 2019-11-12 19:38:17 -08:00
Allen Webster 82d90d6f66 Fix the issue where the virtual whitespace is wrong when the line has no leading whitespace 2019-11-11 11:19:20 -08:00
Allen Webster c4664e8ed5 Upgraded virtual whitespace layout 2019-11-10 18:51:37 -08:00
Allen Webster b5e3812014 HMS demo mostly ready 2019-11-10 14:56:03 -08:00
Allen Webster bf47b2cb09 6 slides ready; virtual whitespace toggle hacked in for nowsies 2019-11-09 14:41:18 -08:00
Allen Webster 9129e5898b 2 slides of the HMS demo tutorial ready 2019-11-09 11:55:05 -08:00
Allen Webster b8ed99c9b8 Draft of single page of demo/tutorial 2019-11-08 17:33:35 -08:00
Allen Webster df315cd45a Tutorial framework ready to go 2019-11-07 22:38:51 -08:00
Allen Webster cbb707fc27 Fixed a bug in the panel split; setup for tutorial 2019-11-07 20:58:13 -08:00
Allen Webster 6e97a504a9 Package script updated 2019-11-06 21:58:08 -08:00
Allen Webster 9bfcdc66a8 Removing the redundant call next variable and replacing it with enqueueing custom functions on views! 2019-11-06 17:40:15 -08:00
Allen Webster 2834583b98 Sending commands to views working; open in other working 2019-11-06 17:36:30 -08:00
Allen Webster 580239c003 Virtual whitespace flashing fixed by edit chain in tick callback 2019-11-04 22:25:19 -08:00
Allen Webster eb29349caf Layout with cool parantheses thing working 2019-11-04 05:37:45 -08:00
Allen Webster 745ca37668 Layout fill bug fix to get better item packing 2019-11-03 16:19:02 -08:00
Allen Webster 5b9a29e215 Cleaning up layout types 2019-11-03 16:03:23 -08:00
Allen Webster c2f22de3ad Polish on virtual whitespace layout 2019-11-03 13:22:10 -08:00
Allen Webster cb01c60346 Finished preprocessor nests in virtual whitespace layout 2019-11-02 15:26:19 -07:00
Allen Webster f468d4b57d Preprocessor alignment in virtual whitespace implementation 2019-11-02 12:12:36 -07:00
Allen Webster 09acacd3cf Rough version of virtual whitespace up and running 2019-10-31 20:46:53 -07:00
Allen Webster 46241c4450 Initial code indexer up and running; more time with global frame mutex free; bugs with layout function selection fixed 2019-10-31 14:42:11 -07:00
Allen Webster 8e3cc45e38 Sketch up of the parser 2019-10-31 11:42:30 -07:00
Allen Webster a831f55444 Cleanup and experiments with line layout 2019-10-31 10:05:38 -07:00
Allen Webster 8a11860fc3 Basics of programmable layout working 2019-10-30 16:27:37 -07:00
Allen Webster 2ba875a474 Word wrapping works! 2019-10-30 11:26:18 -07:00
Allen Webster 187f91084a Initial sloppy setup for customizable line layout 2019-10-28 21:27:20 -07:00
Allen Webster af78a9966e View context blocks; async chains 2019-10-28 18:28:44 -07:00
Allen Webster 3b72f511c4 View context scoping problem in word complete menu fixed 2019-10-28 17:10:34 -07:00
Allen Webster a6fc1e9167 Drop down menu word complete 2019-10-27 21:20:30 -07:00
Allen Webster e64f0ba026 Fix the issue with windows keys acting like 0 and , 2019-10-27 18:15:42 -07:00
Allen Webster cd24295e8e Optimized batch edits remeasurement 2019-10-27 15:37:48 -07:00
Allen Webster f2097ac6bc Progress on batch edit optimizations; core profiling 2019-10-26 13:48:50 -07:00
Allen Webster 529ef3928e Some batch edit optimizations; next need to support batch cursor fixing 2019-10-25 17:27:47 -07:00
Allen Webster 14b71b8172 TIghtene dup the listers a lot a lot more 2019-10-25 16:33:50 -07:00
Allen Webster 6755d4e9ca Organizing listers as simple 'get_*_from_user' functions 2019-10-24 23:17:54 -07:00
Allen Webster 822f228dc9 fixed the issues with the async lexer (i think) 2019-10-23 18:54:12 -07:00
Allen Webster 0b14cd8ba1 Adding clip rects to UI logic 2019-10-22 22:14:47 -07:00
Allen Webster 10ed4ee4b7 Profiler UI features; more extensions to fancy strings 2019-10-22 22:04:58 -07:00
Allen Webster 21d482e05f New fancy color cleanup; fancy string cleanup; api colors now use fancy colors; fancy colors are FColors 2019-10-22 18:25:40 -07:00
Allen Webster 9f986493a1 Work on profiler; cleaned up the API types file 2019-10-22 15:07:05 -07:00
Allen Webster b807950233 Dumb merge 2019-10-22 12:52:31 -07:00
Allen Webster 3aaa88c2cc Clear tokens when beginning a relex async task 2019-10-22 00:20:43 -07:00
Allen Webster 17bc2de308 Mostly good async lexing works now 2019-10-22 00:15:49 -07:00
Allen Webster c741cf7c6c Profiling lexing 2019-10-21 23:02:49 -07:00
Allen Webster a8d639da8e lexer with breaks 2019-10-21 22:53:47 -07:00
Allen Webster 1396317884 Async with cancel and join 2019-10-21 22:17:24 -07:00
Allen Webster c7f69d26a0 Async system setup WITHOUT cancelation working yet 2019-10-21 21:10:29 -07:00
Allen Webster a5a07c16f8 Setup for the async 2019-10-20 19:02:58 -07:00
Allen Webster 8849b40195 Fix the bad crash on word complete without a needle 2019-10-19 23:01:33 -07:00
Allen Webster 3084f835e1 Auto indent fixes 2019-10-19 19:01:06 -07:00
Allen Webster 2911974fa0 Fallback command maps in view context 2019-10-19 18:46:57 -07:00
Allen Webster 2d8653754d Deduplicated fallback dispatch code 2019-10-19 18:32:38 -07:00
Allen Webster 323782f7f7 Lots of progress on the profiler; no more infinite recursion in listers 2019-10-19 18:17:44 -07:00
Allen Webster 6bc43256c6 Caching profile inspection results 2019-10-19 12:16:31 -07:00
Allen Webster f963dcfd57 Word complete MAJORLY tuned up and looking good 2019-10-19 11:55:56 -07:00
Allen Webster 7a49ad2b72 Cleaned up first pass of profile inspector 2019-10-18 15:25:40 -07:00
Allen Webster a6e582add0 Progress towards profile inspector 2019-10-18 13:54:45 -07:00
Allen Webster 0fd91c8aaf Fix for some binding problems 2019-10-17 22:11:38 -07:00
Allen Webster bc2c8601ca Fixed boundary crossing tab-completion issue 2019-10-17 20:18:15 -07:00
Allen Webster 8d4626f27c Fix scroll/cursor linking (need more generic version though); cleanup access system; remove some unecessary enum types 2019-10-17 19:54:02 -07:00
Allen Webster e3c4caf076 EOL fixup 2019-10-16 21:22:06 -07:00
Allen Webster 281fa309ef Misc fixes for lister 2019-10-16 15:31:59 -07:00
Allen Webster 8058db4004 Finished rendering cleanup; option to have file bars in listers or not 2019-10-15 21:54:40 -07:00
Allen Webster 2100e4a9fd Cleaning up rendering/layout code a lot 2019-10-15 15:30:06 -07:00
Allen Webster 2fe332f943 Pulling out file bar rendering 2019-10-14 21:09:59 -07:00
Allen Webster b44eb002a6 Super cool new scrolling contexts applicable to buffers and UIs; cubic scroll!!! 2019-10-14 20:26:00 -07:00
Allen Webster 6374d1bd19 Fallback to command map in lister 2019-10-14 15:57:47 -07:00
Allen Webster e307b67f4e New UI system up and running 2019-10-13 23:58:49 -07:00
Allen Webster c8a4b7e20a Basics of lister scrolling in place 2019-10-13 22:43:31 -07:00
Allen Webster 13cda93f55 Cleaned up listers; no scrolling yet 2019-10-13 22:27:57 -07:00
Allen Webster eb47669f84 Working on eliminating old UI bulls 2019-10-13 19:13:15 -07:00
Allen Webster b9ff6e0461 Listers now work on IM event handling 2019-10-13 14:45:41 -07:00
Allen Webster 1664f2c183 Log UI is now completely IM input :) 2019-10-13 13:36:38 -07:00
Allen Webster 6770107d2b Query bar fixup for new view coroutine structure; also new view coroutine structure 2019-10-13 13:17:22 -07:00
Allen Webster ca2fcc5f04 Fixed isearch position; little bit of code cleanup 2019-10-11 21:21:47 -07:00
Allen Webster dba6cc907a Incomplete statement indentation bumps 2019-10-11 21:10:56 -07:00
Allen Webster 79dce39db7 Fix modifier loss bug 2019-10-11 20:41:30 -07:00
Allen Webster 8a82e8185c Fixed is_unmodified_key 2019-10-11 20:19:42 -07:00
Allen Webster 404919fe48 Config 2019-10-11 14:24:03 -07:00
Allen Webster dbaab9d945 New input binding system up and running. 2019-10-10 18:40:10 -07:00
Allen Webster 0e51ffa80d New mapping system looking decent 2019-10-10 15:57:02 -07:00
Allen Webster 27e3efdd01 Keyboard handling is 100% 2019-10-10 13:15:47 -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 def95ff54c Safety check to prevent crash bug on get character box api 2019-10-09 10:21:51 -07:00
Allen Webster 323948ea55 Force a single pixel gap between lines to avoid render artifacts. 2019-10-09 07:40:50 -07:00
Allen Webster 99e47cea94 Binding FOPA 2019-10-08 15:56:27 -07:00
Allen Webster cb1ba69ed1 Cool new scope command 2019-10-08 15:51:32 -07:00
Allen Webster 2f68a95fd5 Fixed bug in view version of character fixup 2019-10-08 13:25:22 -07:00
Allen Webster f61f9db166 Fixed shader issue in driver at work 2019-10-08 13:05:29 -07:00
Allen Webster 4668adbca4 Preferred x bug fixed 2019-10-08 12:16:20 -07:00
Allen Webster de6429a2a1 Good rounded rectangles finished 2019-10-08 12:02:04 -07:00
Allen Webster dba56df420 First version of rounded rectangles (bad) 2019-10-08 10:18:20 -07:00
Allen Webster 0a55db9c1c Fixed the really annoying thing with camel case seeking 2019-10-07 18:44:21 -07:00
Allen Webster 28c3715073 Finished reorganizing everything for the shift into exposing system api right into the custom layer 2019-10-07 18:42:23 -07:00
Allen Webster b1548f3a43 Move system api to custom layer 2019-10-07 18:11:40 -07:00
Allen Webster 54c5ce389b Fixed paste next _again_ fixed the really horrible nonsense with ! marked files 2019-10-07 18:08:42 -07:00
Allen Webster 41b6705e84 All rendering working without coordinate center changes 2019-10-06 20:53:10 -07:00
Allen Webster 41a67e296d API type check :D 2019-10-06 20:09:21 -07:00
Allen Webster 5edbd93d26 Cleaning up euclidean space types; simplifying some rendering stuff 2019-10-05 23:59:35 -07:00
Allen Webster d8167a8b88 Fixed scope selection code 2019-10-05 22:00:46 -07:00
Allen Webster a79f6b41a1 fixing up scope commands; fixed the paste next bug 2019-10-05 20:25:00 -07:00
Allen Webster 2d63c65d2b Fixed parantheses problem in auto-indent 2019-10-05 19:54:55 -07:00
Allen Webster 8c8dc50935 fixed scratch constructor problem; fixed file conflict resolution crash 2019-10-05 13:28:08 -07:00
Allen Webster fd336ae37d I /think/ I fixed the problem with the cursor in the compilation window. 2019-10-04 23:30:10 -07:00
Allen Webster 78ad172a5f Indentation parantheses alignment fixed 2019-10-04 22:37:00 -07:00
Allen Webster c2ad6d188d new custom API linkage 2019-10-04 19:48:05 -07:00
Allen Webster 7af92c4b56 Fixed auto-indent crash bug; also progress on whatever 2019-10-03 16:06:42 -07:00
Allen Webster 7a507ee6e4 API parser 2019-10-03 16:00:31 -07:00
Allen Webster 5bb89e2460 New and improved auto-indentation! Fixed some token iteration and boundary seeking bugs 2019-10-03 13:54:13 -07:00
Allen Webster d654adacc5 Fully transitioned to the new system api linkage 2019-10-03 10:57:44 -07:00
Allen Webster 8a66a157d3 Reorganized files for lexer generation 2019-10-01 16:34:54 -07:00
Allen Webster 58eb7cf3a5 fixed word complete rewrite bug 2019-10-01 16:10:25 -07:00
Allen Webster 843ff44b6e String seek bug fixed; cleaner isearch implementation 2019-10-01 15:45:51 -07:00
Allen Webster 3e31e78d1f Fixed lexer for preprocssor directives completely; fixed up build paths some more 2019-10-01 15:03:21 -07:00
Allen Webster 73fa47a672 Fixing up lexer build and preprocessor parsing logic 2019-10-01 14:49:05 -07:00
Allen Webster 457fc27d14 Fixed bug in null character inputs 2019-10-01 14:19:01 -07:00
Allen Webster 7b97bd7105 Fixed scratch init problem 2019-10-01 14:14:56 -07:00
Allen Webster 87ba9e747c Starting to reorganize build scripts 2019-10-01 14:07:39 -07:00