Commit Graph

373 Commits

Author SHA1 Message Date
Allen Webster 5fc89ba45a buffer space <-> layout space conversions; on screen range and height in text layout 2019-03-31 23:40:24 -07:00
Allen Webster afc46f615f text layout space conversions 2019-03-31 23:14:31 -07:00
Allen Webster 8a9fe50a98 Fix alignment bug in new compute_render_layout system; fixed some misc. bugs 2019-03-31 21:24:13 -07:00
Allen Webster 27214f4bf9 jumping, set dirty state API, fix null dereference crash 2019-03-31 20:50:37 -07:00
Allen Webster e57e927e07 Deprecated mirrors 2019-03-31 20:05:48 -07:00
Allen Webster 1977394096 layout handles, looking up cursor values 2019-03-31 17:36:09 -07:00
Allen Webster 068defec5f font metrics 2019-03-31 14:30:06 -07:00
Allen Webster 148b618349 global_get_screen_rectangle 2019-03-31 14:04:02 -07:00
Allen Webster 9d787d19fd explicitly telling compute_render_layout the 'buffer coordinates' for the layout 2019-03-31 13:56:00 -07:00
Allen Webster a552b0168f top level render caller controlling layout directly 2019-03-31 11:55:26 -07:00
Allen Webster 028f96b633 extened api to make Buffer_Summary redundant 2019-03-30 16:18:13 -07:00
Allen Webster b3d043ea23 treat wrapped line queries as unwrapped if the file/view underlying is unwrapped 2019-03-30 15:21:58 -07:00
Allen Webster 13fbae75e3 new animation call n=0 -> immediate animate, n>0 -> try to wait about roughly that many milliseconds 2019-03-30 14:51:56 -07:00
Allen Webster 1e67e5a3c5 switch Found_String to use Range 2019-03-30 13:30:51 -07:00
Allen Webster 5cc8e74189 buffer_get_base_name 2019-03-30 13:17:10 -07:00
Allen Webster 580548f44f context_get_arena 2019-03-29 14:21:50 -07:00
Allen Webster e4d07a3778 waving a dead chicken over the altar of git 2019-03-28 22:05:18 -07:00
Allen Webster 8d322ef025 Manually merging everything was magicked away by git 2019-03-28 22:00:58 -07:00
cmuratori 2508308b7c Merged in casey_get_view_visible_range (pull request #2)
Added get_view_visible_range
2019-03-29 02:24:44 +00:00
Allen Webster 5d566807fe Fixed batch edit history problem and batch edit abstract mode problem 2019-03-27 20:06:17 -07:00
Casey Muratori fb55121c00 Added get_view_visible_range
Add get_view_visible_range so you don't have to be in the render_caller to find out what can be seen in a view.  Ideally these two paths would be merged eventually...

Also added mirror buffer support to Buffer_Insertion
2019-03-24 00:17:21 -07:00
Allen Webster 7ee448c7f5 Fix for exec_system_command implementation on new API 2019-03-22 13:23:39 -07:00
Allen Webster 2c381917fd Undo/Redo cursor positioning fixed 2019-03-21 22:06:30 -07:00
Allen Webster d24c1a7a6b Upgraded child process API; Child_Process_ID; launch process without buffer; no-max number of child processes 2019-03-20 20:18:08 -07:00
Allen Webster 5959cc0f78 Only send end signal from exec_system_command via flag 2019-03-17 16:11:37 -07:00
Casey Muratori bc6fa9d9f2 Clipboard, Process, and Cliprect Changes
- Added clipboard change hook
- Added Process_State query for getting the state of exec_system_command operations, retrieved via Get_Process_State
- Added intersection_of and union_of for i32_Rect and f32_Rect
- Fixed what I believe is a bug in the clipboard number updating in the win32 layer (it didn't used to record the new number correctly)
- Added screen_space_to_view_space for Vec2 and f32_Rect
- Made Draw_String return the ending point, as we decided
- Added Draw_Clip_Push and Draw_Clip_Pop
- Changed the behavior of Render_Push_Clip_Sig to allow input clipping rectangles to be anything, and they are simply intersected with the parent rectangle, rather than asserted to not go outside.
-
2019-03-15 01:38:28 -07:00
Allen Webster 1907196035 Margins, moved file bar, moved query bars 2019-02-26 21:49:35 -08:00
Allen Webster 76f57e2a79 More int32_t uint32_t changes 2019-02-26 15:17:53 -08:00
Allen Webster 632e2bf9cd Changed off bool32 int32_t uint32_t; Frame_Info, and Render_Parameters structures 2019-02-26 15:08:42 -08:00
Allen Webster e6edfebdba Lister up and running on the entirely custom side system 2019-02-26 11:59:57 -08:00
Allen Webster 1428fc822f 4coder Jamm 2 2019-02-25 15:42:13 -08:00
Allen Webster 410b90d44c Key event buffer overflow crash fixed; switched draw_string over to Vec2 and returning the distance measured in deltas 2019-02-24 14:54:57 -08:00
Allen Webster 258257eb45 4coder Jamm 1 2019-02-23 23:22:16 -08:00
Allen Webster 1e89cb9e79 Fixed exec_system_command problem 2019-02-13 20:16:02 -08:00
Allen Webster f9657415d5 Fixed get_4ed_path problems on windows 2019-02-13 19:53:55 -08:00
Allen Webster b2b4270505 New file attributes by handle and by name everywhere 2019-02-13 16:24:03 -08:00
Allen Webster 9cfffe6bb6 File Attributes thingy, command line file crash investigated 2019-02-13 15:15:22 -08:00
Allen Webster f49d937fae Updated API to using IDs, added new key codes 2019-02-13 14:14:27 -08:00
Allen Webster 5c045a2d5e Cross buffer undo-redo 2019-02-11 19:03:49 -08:00
Allen Webster 4a5388f901 Edit handler hook, edit reflection for search buffer, history setting for buffer 2019-02-11 18:33:11 -08:00
Allen Webster 90163a2f85 Remove the persistent and transient sub parts of the view, just a view now 2019-02-10 01:18:34 -08:00
Allen Webster 66a06053b6 Moved built-in mark out of the edit pos 2019-02-09 16:35:47 -08:00
Allen Webster b0007d387f Simplifying the edit position structure 2019-02-09 16:20:55 -08:00
Allen Webster 4bdc1e6d21 Touch up to the edit position stack 2019-02-09 14:48:53 -08:00
Allen Webster c5d6cbbd2d Merge optimization 2019-02-09 01:06:45 -08:00
Allen Webster 999eced259 more improvements to the merge logic for basic input 2019-02-08 17:48:11 -08:00
Allen Webster f6f0d91ae7 Better merge logic for character insertion 2019-02-08 04:33:43 -08:00
Allen Webster 2efff76023 first pass merge 2019-02-08 03:18:48 -08:00
Allen Webster 0482cd05fe Basics of new history system working: 2019-02-08 02:03:48 -08:00
Allen Webster d0eb652ab1 Removal of the old commands system 2019-02-07 20:45:13 -08:00
Allen Webster a8f678c740 Full rewrite of panel layout system 2019-02-05 01:13:38 -08:00
Allen Webster 5926d9fdd9 Edit position stack cleanup 2019-02-03 19:51:43 -08:00
Allen Webster 3b06664f2b Everything now works on the new token iteration system 2019-02-01 16:23:48 -08:00
Allen Webster 21a7a58871 begining rewrite of token iteration 2019-02-01 14:50:33 -08:00
Allen Webster 93fe0e1472 Removing all inlines 2019-01-31 05:06:42 -08:00
Allen Webster 4867c26c43 New hook for edited files:: 2019-01-31 04:38:24 -08:00
Allen Webster 8b8d880561 Progress towards lexing situation 2019-01-28 21:36:17 -08:00
Allen Webster 020d09227c Finished integrating immediate mode render changes from Casey 2019-01-25 17:12:25 -08:00
Allen Webster 63673bf9ed Merge casey changes 2019-01-25 13:03:52 -08:00
Allen Webster a1cfefbf86 Fixes: scope highlight scrolled right, ignore render items off the screen, scientific notation parsing with + 2018-12-16 20:31:04 -08:00
Allen Webster 3bad062613 Eliminated style generation 2018-11-27 09:56:42 -08:00
Allen Webster 180304dbe3 Remove style struct, focus on enum and array 2018-11-27 07:21:10 -08:00
Allen Webster 59d70950d6 Removed keycodes from 4ed_metagen.cpp 2018-11-22 10:34:11 -08:00
Allen Webster aa1cbf9a0f Fixed reopen bug that loses indentation information, moved reopen command to the custom layer 2018-11-20 23:48:42 -08:00
Allen Webster 25ec13d724 Fixed view update hook call timing 2018-11-20 14:54:00 -08:00
Allen Webster 1d5621f5b6 Cleaned up input, replaced all {0} with {} 2018-11-20 00:18:54 -08:00
Allen Webster c82d38d4a7 Finished primary rewrite of input system 2018-11-19 20:18:57 -08:00
Allen Webster 79e88ac55e Rewrite of 4ed_api_implementation to use Models instead of Command_Data 2018-11-18 11:47:28 -08:00
Allen Webster 4c8cdcd617 Fixed file listing in cases where the path does not canonicalize 2018-10-09 21:59:42 -07:00
Allen Webster 8f80316e10 Random weird build fail from accent mark 2018-10-09 16:17:01 -07:00
Allen Webster 0b3ef68f48 Fixed crash bug with freeing marker objects 2018-10-09 13:01:48 -07:00
Allen Webster d30be67d22 set_command_input 2018-10-06 08:26:20 -07:00
Allen Webster 1ca1dc1395 Cleanup and bug fixes 2018-10-05 18:42:56 -07:00
Allen Webster 784d77f7f8 Fixed leak caused by not allocating id_to_ptr table in mem_bank 2018-10-03 14:33:58 -07:00
Allen Webster 6a8dc3e7f0 Fixed a problem with tracking total marker counts 2018-10-02 15:04:57 -07:00
Allen Webster 10fdb57542 API Cleanup, documentation work 2018-10-01 12:32:28 -07:00
Allen Webster 418b14f092 4.0.29 Major new features 2018-09-30 05:14:47 -07:00
Allen Webster b9065e7cd3 Upgrade to marker visuals API 2018-09-28 16:42:32 -07:00
Allen Webster 438b479991 Clear manage scope calls 2018-09-26 22:01:01 -07:00
Allen Webster fc811b2211 User managed scopes 2018-09-26 11:06:57 -07:00
Allen Webster cc5afd931c Cursors, markers, ibars, and highlights all working 2018-09-21 17:29:32 -07:00
Allen Webster 4a0f9c316f Fixed some new bugs, added sort exact matches to the top 2018-09-14 12:02:02 -07:00
Allen Webster a343f2eeca copy crash bug fixed 2018-09-12 12:43:24 -07:00
Allen Webster ceaf05df49 UI Quit events, search output target view, other bug reports 2018-09-07 18:36:42 -07:00
Allen Webster e6d503abe5 Finishing up the new memory and lifetime API stuff, fixed some of the bug reports 2018-09-07 15:39:33 -07:00
Allen Webster 0c7961fbf0 Name change 2018-09-04 10:59:53 -07:00
Allen Webster 617804e54d Buffer Markers as Managed Objects 2018-09-03 17:37:54 -07:00
Allen Webster 7ba053b2cc Replaced lifetime object user info with a dynamic workspace 2018-08-26 14:23:12 -07:00
Allen Webster a25b5c0baa Moved Managed_Scope and Managed_Object over to checkable id system with u32_Ptr_Table 2018-08-26 02:55:12 -07:00
Allen Webster a339c9fc9e New heap up and running. 2018-08-18 01:16:52 -07:00
Allen Webster ace76a2d3f Progress towards a managed object API 2018-08-11 23:33:52 -07:00
Allen Webster 0f23470717 Progress towards a new dynamic scope API 2018-08-11 20:45:09 -07:00
Allen Webster b4b19886f3 Setting up lifetime buckets 2018-08-10 22:42:00 -07:00
Allen Webster f0b9b76d9f Generic lifetime buckets for core variables 2018-08-10 17:42:15 -07:00
Allen Webster fc5df0c118 Reload themes 2018-08-10 15:57:46 -07:00
Allen Webster 23e2c5489f Color Theme Lister 2018-08-10 14:52:57 -07:00
Allen Webster 9fac6cd801 Theme Preview Block UI Type 2018-08-07 02:08:01 -07:00
Allen Webster 9e3e7519d0 Lister wrappers and fixed option lists 2018-08-05 00:09:18 -07:00
Allen Webster 3d70957efd Implementing every 4coder list in the new UI system. 2018-08-03 19:41:38 -07:00
Allen Webster 468a7a33bc Progress on GUI scrolling 2018-07-16 20:21:22 -07:00
Allen Webster af5d6c8360 GUI removed completely, new UI API implementation in place, old UI commands stripped and need to be replaced 2018-07-13 18:13:05 -07:00
Allen Webster c835f46570 View variables 2018-06-22 20:03:58 -07:00
Allen Webster 56e9719840 Poking around looking at different issues on linux 2018-06-08 21:52:25 -07:00
Allen Webster 4fd34688ba Version 4.0.27 ready to ship 2018-06-02 16:02:14 -07:00
Allen Webster 7699b37767 Upgraded new project commands, cursor at bottom of output option 2018-06-01 17:29:36 -07:00
Allen Webster 23e6660172 Font size and hinting in config.4coder 2018-05-28 11:14:26 -07:00
Allen Webster 56f92bf4de Fix for variable hiding compilation errors 2018-05-06 21:20:59 -07:00
Allen Webster a6f525a900 4.0.26 bug fix list completed 2018-05-06 19:47:22 -07:00
Allen Webster 4915ed36fd Finished the reorganization of the codebase to break up 4ed_view.cpp 2018-03-25 22:19:08 -07:00
Allen Webster 40b5e61e91 Cut down 4ed_view.cpp a lot more, cut the old debug view 2018-03-24 23:43:56 -07:00
Allen Webster f6ce7477c4 Lots more organizational stuff: h/cpp separation for all cpp files, splitting stuff out of 4ed_view.cpp 2018-03-24 14:43:57 -07:00
Allen Webster 17704c6036 Fixed several bugs, setup regression tests, working on organizing code for aggressive cleanup 2018-03-24 03:06:45 -07:00
Allen Webster d9ff9c6651 Better version of buffer resolution algorithms 2017-12-01 13:04:07 -05:00
Allen Webster 65e794f9d3 Lots of good work, also half assed shitty poop sauce of a buffer uniquifier 2017-11-30 18:25:49 -05:00
Allen Webster 6cdaa02312 Got window title changing working robustly ish 2017-11-30 14:02:37 -05:00
Allen Webster a1c79c5313 Some of the work is done on getting the window title thing working 2017-11-30 11:50:39 -05:00
Allen Webster 6c13041dee Moved set_title into custom API, implemented set_title tests there 2017-11-30 11:39:35 -05:00
Allen Webster 59872d0b38 mkdir working (at least on windows) 2017-11-21 16:47:40 -05:00
Allen Webster edd941b5fd Got rename working on Windows 2017-11-21 16:30:40 -05:00
Allen Webster 291bfa2e32 Fixed font pixels, added delete file command 2017-11-21 14:48:04 -05:00
Allen Webster 05a89b37e8 Fixed up packaging and building with new file organization, added docs for new font stuff 2017-11-20 19:35:35 -05:00
Allen Webster 6a725838d3 Entire font core system up and running, still need docs and nicer font usage in default framework 2017-11-20 18:31:57 -05:00
Allen Webster 818e3781df Finished the bindings.html generator (mostly), fixed the windows crash bug (major 2017-11-18 17:40:10 -05:00
Allen Webster 4f3b07168d Working on font cleanup all day all day all day 2017-11-16 18:03:36 -05:00
Allen Webster f836f60b3b Site modifications 2017-11-11 13:03:14 -05:00
Allen Webster 30c16d6752 cleaning up everything in mac input setup 2017-11-08 19:12:14 -05:00
Allen Webster dca823fe4f setup the remapping commands, restructured the 4coder mapping internals, started working on global_set_mapping 2017-11-08 13:24:30 -05:00
Allen Webster e4a4608007 almost finished with a generalized coroutine solution 2017-07-19 16:07:50 -04:00
Allen Webster db78c80cda cleaned up the windows fullscreen BULLS 2017-07-18 18:34:57 -04:00
Allen Webster b52c82f1ae reordered windows to match linux, trimming down the fullscreen code 2017-07-18 18:09:16 -04:00
Allen Webster 24857007bc lots of cleanup to the command coroutine events 2017-07-17 20:00:07 -04:00
Allen Webster 61f3187767 fixed the jump parsing ONCE AND FOR ALL! cleaning up some TODOs 2017-07-17 19:35:13 -04:00
Allen Webster a1b0f805d1 cleaned up the child process updating and CLI list managing 2017-07-17 18:46:56 -04:00
Allen Webster 367a72fa03 cleaned up the arbitrary system command code a little 2017-07-17 17:13:57 -04:00
Allen Webster 6d90c58f81 more cleanup of the buffer creation code 2017-07-17 16:59:28 -04:00
Allen Webster d117c7fcf5 finished site update, switching over to API cleanup 2017-07-17 16:43:01 -04:00
Allen Webster 1298496ae7 updated docs, got win32 build working in platform folder 2017-06-30 14:20:34 -04:00
Allen Webster 7a94942242 fixed small issues discovered after 4.0.21 release 2017-06-28 11:15:54 -04:00
Allen Webster 752356b8b0 Hot directory setting API; project file open/close timing fix 2017-06-20 16:37:45 -04:00
Allen Webster 624e35f8d7 got the color theme file working, started replacing existing color themes with the new system 2017-06-05 17:48:49 -04:00
Allen Webster bc30fee2b0 progress writing new docs for 4.0.20 2017-05-29 15:35:48 -04:00
Allen Webster aba967065d most of the work towards 4.0.20 2017-05-27 16:04:13 -04:00
Allen Webster 4d71a35fed got new lexer keywords thing working, built out several example 'languages' began investigating the jump to error situation. 2017-05-20 21:22:20 -04:00
Allen Webster a4ef272b1b got the parse context system working in 4coder 2017-05-19 19:55:50 -04:00
Allen Webster f30bd14777 stripped config menu and menu menu, added AltGr setting to API 2017-05-14 19:42:16 -04:00
Allen Webster 45c2109878 Revert "Revert "Update to site""
This reverts commit 9a64f51e20.
2017-05-14 19:22:08 -04:00
Allen Webster 9a64f51e20 Revert "Update to site"
This reverts commit 5e96f71dc7.
2017-05-14 19:21:19 -04:00
Allen Webster 5e96f71dc7 Update to site 2017-05-14 18:32:17 -04:00
Allen Webster 2bfab67860 4.0.19 bug fixes, all features ready to go 2017-04-22 20:53:19 -04:00
Allen Webster aba023aff8 Added end file hook, got the sticky jumps pretty much finished for 4.0.19 2017-04-18 11:41:49 -04:00