Commit Graph

396 Commits

Author SHA1 Message Date
Allen Webster 7933ec6bc9 New keycodes; linux one time code execution; close file handle in save function 2020-03-03 18:44:25 -08:00
Allen Webster bc2b834f3b Whole screen render hook 2020-03-03 17:37:55 -08:00
Allen Webster 0a29e6df6a More robust footer panel manipulator functions 2020-03-03 16:57:40 -08:00
Allen Webster e1698bd28a Fix compilation on windows 2020-03-03 12:25:04 -08:00
Allen Webster 3a27541ceb Cleaning up package script output 2020-03-01 13:29:32 -08:00
Allen Webster 2ee9d05bd2 New examples code 2020-02-29 22:34:38 -08:00
Allen Webster e231293acf Checking global map in isearch and query_user_general so that basic global commands still work in that context 2020-02-29 17:21:37 -08:00
Allen Webster b0bbd3e2e3 Fix lister state overwriting problem with call-stack managed lister stack 2020-02-29 15:38:38 -08:00
Allen Webster 6d24fa6f29 Use mac smooth scroll values 2020-02-29 13:35:52 -08:00
Allen Webster 69d18fd898 Setup 4coder_examples.cpp; got rid of test_double_backspace 2020-02-28 17:36:36 -08:00
Allen Webster 2b4fa0cc59 Merge 2020-02-28 13:54:01 -08:00
Allen Webster f74365392c Update mac clipboard immplementation 2020-02-28 13:53:10 -08:00
Allen Webster e300b209c1 Put linux now time on microseconds so dt is computed correctly; fix a bug in linux_schedule_step 2020-02-27 20:04:46 -08:00
Allen Webster e9b1791a84 Update linux project commands; fix new file saving on linux 2020-02-27 18:26:37 -08:00
Allen Webster 48d80f57eb Mystery solved; print messages removed 2020-02-19 22:22:29 -08:00
Allen Webster 79438ffd22 Wut? 2020-02-19 21:44:44 -08:00
Allen Webster 0422dadbc8 Ohh git 2020-02-19 21:32:07 -08:00
Allen Webster f0421c12b5 AHHHGGG 2020-02-19 21:18:38 -08:00
Allen Webster 2992e62306 Setup cool new opengl funcs 2020-02-19 20:11:18 -08:00
Alex Baines 8cd068421e Merge remote-tracking branch 'origin/master' into linux-update 2020-02-16 13:59:35 +00:00
Allen Webster 1cf579902f Reorganization in the custom layer to make independent custom layers easier to build 2020-02-15 12:33:18 -08:00
Alex Baines 73b964c3ea fix lister bug that forced linux hidden .files to top of list 2020-02-09 12:25:13 +00:00
Allen Webster 2a255b8ad9 Fix intricate async token reading; clean all lines overworking 2020-02-09 02:22:35 -08:00
Allen Webster fe9ed4fe79 Merge 2020-02-08 18:04:23 -08:00
Allen Webster f53f840f28 Misc work on things 2020-02-08 18:03:54 -08:00
Allen Webster 4a697c9880 Clipboard now implemented as a custom layer feature; API transition mechanism established for deprecating old clipboard API without immediately breaking existing code for anyone 2020-02-08 17:34:35 -08:00
Allen Webster 4d4294f2aa project deep copy bug fix 2020-02-07 18:22:14 -08:00
Allen Webster 9f2c279d8e set_face_size commands 2020-02-07 18:04:22 -08:00
Allen Webster d05a3f6a0d Show whitespace 2020-02-07 17:37:10 -08:00
Allen Webster 3ef04faead Cleaned up buildsuper name convention; added defines to scripts 2020-02-07 17:02:42 -08:00
Allen Webster 06aec5df47 Lots of issues updated 2020-02-07 16:50:35 -08:00
Allen Webster aa9f43eede 4.1.3 2020-02-05 22:50:21 -08:00
Allen Webster a1f82f094b Lots of miscellaneous issues today 2020-02-05 21:44:03 -08:00
Allen Webster 7a5a6aca97 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-02-03 16:20:28 -08:00
Allen Webster 3ec6d11230 Fix rare infinite loop in layout of code files 2020-02-03 16:20:22 -08:00
Alex Baines 2a856634d0 compiles and crashes 2020-02-02 15:50:18 +00:00
Allen Webster 5fa6570f33 Lexer generator logic problem, leaving emit ptr in wrong location after output chunk ends 2020-02-01 18:30:23 -08:00
Allen Webster 7eb66774f8 optimized and improved implementation of clean_all_lines 2020-02-01 18:20:55 -08:00
Allen Webster 25cf9b1d7a More correct indentation reading, reducing over-working on auto-indentation and removing layout jumping around 2020-02-01 17:37:44 -08:00
Allen Webster 52d56fba1c Get the correct column on blank linkes of CRLF files 2020-02-01 17:07:13 -08:00
Allen Webster d9e196eda8 Fixed double declaration of scratch 2020-01-31 13:23:40 -08:00
Allen Webster a268055da7 Added check to file change checker that detects file deletion; updated changes.txt 2020-01-30 21:33:36 -08:00
Allen Webster 2b4b8f37ac Merge 2020-01-30 21:22:49 -08:00
Allen Webster 18f7f6e67a Put all OSes on the same command execution rule in build commands 2020-01-30 21:13:11 -08:00
Allen Webster d12c4aa2e6 Hacky fix for the signal step breaking on the non-main thread 2020-01-30 21:02:18 -08:00
Allen Webster 79c8499385 Updated built in color theme to match theme-4coder.4coder version 2020-01-26 21:28:49 -08:00
Allen Webster 88e6186192 Added load_theme_current_buffer command and updated changes.txt 2020-01-26 21:24:26 -08:00
Allen Webster 797e05a3a2 Fix paste crash when view is not editable 2020-01-26 19:36:02 -08:00
Allen Webster bff434be53 Better highlighting in listers, panel margin color fix 2020-01-26 19:32:54 -08:00
Allen Webster 9dd79d5957 Fix drive letter problem; add unkillable setting 2020-01-26 18:27:38 -08:00
Allen Webster 3e729e5d37 Various fixes from the issues list 2020-01-23 13:39:47 -08:00
Allen Webster f41fe45c92 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-01-22 14:02:51 -08:00
Allen Webster 7ba15fed20 Site update 2020-01-22 14:01:42 -08:00
Allen Webster f23385bb1b Rearranging some of the binding files 2020-01-21 14:13:13 -08:00
Allen Webster b22b296adf Alternate set mark binding 2020-01-21 13:35:40 -08:00
Allen Webster 628429d7f6 Fix another readlink in for mac buildsuper script 2020-01-21 13:24:42 -08:00
Allen Webster 69bb6cb2bf Updated initial message, readme, and changes 2020-01-20 23:59:51 -08:00
Allen Webster 5c2471f7e2 folder copy fixup in mac package script 2020-01-20 23:22:26 -08:00
Yuval Dolev 5fa77dd348 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-01-21 04:17:36 +02:00
Yuval Dolev de7eca0c88 Fixed the package script to work on macOS. 2020-01-21 04:17:21 +02:00
Allen Webster af546592ce 4.1.2 2020-01-20 09:29:32 -08:00
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