Commit Graph

400 Commits

Author SHA1 Message Date
Allen Webster d23135dfed Function list printing format fix 2020-05-09 08:40:44 -07:00
Allen Webster 075373c82b Fix newline and tab insert on Mac 2020-05-09 08:28:42 -07:00
Allen Webster a410ce5f6c PLATFORM LAYER FEATURE: Win32 implementation. set_key_mode determines whether to return physical key codes or language translated key codes 2020-05-09 08:03:10 -07:00
Allen Webster aa773f7413 notepad scrolling bug fix; win32 window icon 2020-05-09 07:44:36 -07:00
Allen Webster 6bc50194a1 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-05-08 07:41:58 -07:00
Allen Webster 72b2c029a2 Important undo fade I forgot to commit and push 2020-05-08 07:41:51 -07:00
Allen Webster c68992e15a 4.1.5 version number change - time to try to package 2020-05-08 07:24:37 -07:00
Allen Webster 7b77ee23f2 Undo fade in config.4coder 2020-05-08 07:23:45 -07:00
Allen Webster 01e187561c Recovered original undo/redo fade ranges 2020-05-03 08:05:34 -07:00
Allen Webster c4e47935d4 Undo fade out 2020-05-03 08:00:28 -07:00
Allen Webster 33933da218 Upgrade to view change buffer hook; quick_swap_buffer 2020-05-03 06:40:07 -07:00
Allen Webster 7c1931ebb0 View change buffer hook 2020-05-03 06:24:39 -07:00
Allen Webster b2348d5100 Keep lister text field's right side in view always 2020-05-03 06:08:17 -07:00
Allen Webster e228600992 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2020-05-03 06:07:45 -07:00
Allen Webster 25d07a750c Keep the lister text field's right side in view 2020-05-03 06:07:27 -07:00
Yuval Dolev 88cf02077e Removed redundant insertText function duplicate. 2020-05-03 15:25:35 +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 5b8d22a766 Pass the buffer edit hook the old_cursor_range 2020-05-01 21:44:52 -07:00
Allen Webster b3b4300e4f Added single line backslashed lines to lexer 2020-05-01 21:26:06 -07:00
Allen Webster 88af8b02fb A few visual style options in config.4coder 2020-05-01 21:21:14 -07:00
Allen Webster ca7240f349 default_tab_width in config.4coder 2020-05-01 20:59:36 -07:00
Allen Webster 4dc4adccf9 Lexer bug for a few new line situations 2020-05-01 20:41:42 -07:00
Allen Webster c4370bb766 Multi-line tokens shouldn't apply incomplete statement indent shifting 2020-05-01 20:02:36 -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 8b0e54c89b enable_output_wrapping config option 2020-05-01 14:04:57 -07:00
Allen Webster 886c70100d Simplify fade range code; make it update with buffer edits 2020-05-01 12:28:36 -07:00
Allen Webster 6dd43762c4 Fix token coloring logic for special cases; also cooler sunlight theme 2020-05-01 12:09:38 -07:00
Allen Webster 4f579180c1 Woops screwed it up 2020-05-01 11:58:24 -07:00
Allen Webster 63edacbd16 Clean all lines request 2020-05-01 11:49:40 -07:00
Allen Webster 4606393aad Notepad like mode scrolling fix 2020-05-01 11:33:30 -07:00
Allen Webster 63bfed7ab1 Quick fix for thread handle leak; project parse crash bug fix 2020-05-01 07:38:57 -07:00
Allen Webster 5561704e2e Notepad-like mode crash bug fixes 2020-05-01 06:52:22 -07:00
Allen Webster 2d1d69e2c9 Line number performance fix 2020-05-01 06:31:44 -07:00
Allen Webster b53df35fcb Changed some stuff before, don't know what; fixed mac flags 2020-05-01 05:26:22 -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 ca9f1d8f1c Arena fixup and Date_Time implementation for Linux 2020-03-12 21:26:46 -07:00
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 6f4bd5515b Version number 4.1.4 2020-03-10 14:19:23 -07:00
Allen Webster 8b2281e093 Bindings only do strict-matching now so ordering is less important and less confusing 2020-03-09 21:05:45 -07:00
Allen Webster d72636138d Normal count type in Color_Table 2020-03-07 14:54:52 -08: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 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