Commit Graph

280 Commits

Author SHA1 Message Date
Allen Webster eb298a6fdc Mac fixup of arenas; implementation of Date_Time 2020-03-12 21:17:43 -07:00
Allen Webster 9aba7ab19f More scratch fixes 2020-03-11 20:59:44 -07:00
Allen Webster 6089c87b20 Fix an important scratch bug 2020-03-11 20:35:52 -07:00
Allen Webster 73fdc838f1 New better arena management 2020-03-11 16:22:37 -07:00
Allen Webster 7b77702492 Merge whatevs 2020-03-11 03:34:35 -07:00
Allen Webster 4f2e59ff77 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-03-11 03:34:07 -07:00
Allen Webster 8849f6ce8c Date_Time type; formatting function for Date_Time; System API for getting Date_Time UTC, and converting UTC to local time; Implementation in Windows 2020-03-11 03:33:54 -07:00
Allen Webster c15a79b84b Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-03-11 00:37:32 -07:00
Allen Webster 48da9e3c64 Fix critical bug with core mouse modifiers; better behavior for binding lookup, strict matches first, then first loose match 2020-03-11 00:23:46 -07:00
Allen Webster ea460749a5 Linux push scripts fix (again?) 2020-03-10 15:03:41 -07:00
Allen Webster 7387be0a22 Linux push script 2020-03-10 14:44:39 -07:00
Allen Webster be3895b90f Not sure what I changed 2020-03-07 14:53:33 -08:00
Allen Webster 61b3341743 Added win32 keycodes for numpad and extension 2020-03-03 23:43:20 -08:00
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 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 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 f74365392c Update mac clipboard immplementation 2020-02-28 13:53:10 -08:00
Allen Webster 2992e62306 Setup cool new opengl funcs 2020-02-19 20:11:18 -08: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
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 06aec5df47 Lots of issues updated 2020-02-07 16:50:35 -08:00
Allen Webster a1f82f094b Lots of miscellaneous issues today 2020-02-05 21:44:03 -08: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 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 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 7ba15fed20 Site update 2020-01-22 14:01:42 -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 9e72096bdf Merged macos platform layer branch into master; building on windows 2020-01-16 18:26:19 -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 4a8febcdde Fade ranges added to default rendering rules; fixed crash on bad font path 2020-01-15 10:14:17 -08:00
Allen Webster d0937976d7 Added folder creation logic to interactive_new and interactive_open 2020-01-14 15:39:32 -08:00
Allen Webster 2865860b24 Create folders from interactive_open_or_new 2020-01-14 15:35:14 -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 76735e6f01 Change file name bug fixed 2020-01-09 17:56:01 -08:00
Allen Webster 13ee76effe Added hard exit API; fixed exit menus 2020-01-02 14:37:01 -08: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 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
Allen Webster 19effd6b0c Updated theme files; jump lister for function lists fixed 2019-12-23 09:15:18 -08:00
Yuval Dolev 9f518de27b Build system is now working for macOS. 2019-12-22 23:43:36 +02: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 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 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 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 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 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 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 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 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 17bc2de308 Mostly good async lexing works now 2019-10-22 00:15:49 -07:00
Allen Webster a8d639da8e lexer with breaks 2019-10-21 22:53:47 -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 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 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