Commit Graph

2189 Commits

Author SHA1 Message Date
Allen Webster 3911eb2197 Remove View_Summary from core API 2019-04-05 14:56:58 -07:00
Allen Webster 18b755c626 Doubled buffer entries in buffer lister 2019-04-05 14:27:36 -07:00
Allen Webster 9f15876d87 Initialize custom arena sooner 2019-04-05 14:22:11 -07:00
Allen Webster a0b4524116 Variable shadowing fix 2019-04-05 14:18:16 -07:00
Allen Webster 309d6b03ac Buffer_Summary completely shifted into transition files 2019-04-04 19:03:36 -07:00
Allen Webster 4d2afeaeca A tiny bit more: 2019-04-04 01:28:18 -07:00
Allen Webster bdf1d57eb5 Progress towards removing Buffer_Summary 2019-04-04 01:25:16 -07:00
Allen Webster 7792bb2b81 New insertion buffering; fixed new search bug 2019-04-02 13:06:49 -07:00
Allen Webster 7215850793 Fixed render_cursor computation in text layout; fixed default render caller on_screen_range query 2019-04-02 09:23:07 -07:00
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 731a162d9c Lots of progress towards sectioning off Buffer_Summary 2019-03-31 19:41:39 -07:00
Allen Webster 1977394096 layout handles, looking up cursor values 2019-03-31 17:36:09 -07:00
Allen Webster a315461286 default_ui_render_caller - decomposition 2019-03-31 15:07:10 -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 362c3cea86 clipboard change hook fully integrated 2019-03-30 15:36:31 -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 5a601f4832 buildsuper release mode 2019-03-30 15:10:17 -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 52e9c15b5c EQU 2019-03-30 13:37:01 -07:00
Allen Webster 7b8e9e21ad EQU 2019-03-30 13:33:21 -07:00
Allen Webster 1e67e5a3c5 switch Found_String to use Range 2019-03-30 13:30:51 -07:00
Allen Webster 5029512554 Don't override cl in buildsuper 2019-03-30 13:28:20 -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
Allen Webster c870447baa whatever, I have no idea what's going on, jesus christ git 2019-03-28 21:51:04 -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 ca887e8a53 merge 2019-03-28 19:17:18 -07:00
Allen Webster 5d566807fe Fixed batch edit history problem and batch edit abstract mode problem 2019-03-27 20:06:17 -07:00
Allen Webster 2a50ccd08f Fix the view rectangle hook in experiments 2019-03-25 14:28:15 -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 1b4c95e4dd Batch edit fix 2019-03-22 13:08:06 -07:00
Allen Webster 2c381917fd Undo/Redo cursor positioning fixed 2019-03-21 22:06:30 -07:00
Allen Webster 3f3a31b114 New edit range hook 2019-03-21 18:27:28 -07:00
Allen Webster 5b65686785 Merge branch 'master' of https://bitbucket.org/4coder/4coder 2019-03-20 20:20:20 -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
Allen Webster 7b9b52affa Using clip rects for better line numbers margin 2019-03-17 14:30:48 -07:00
cmuratori dd83636640 Merged in casey_clipboard_and_process_mods (pull request #1)
Clipboard, Process, and Cliprect Changes
2019-03-17 21:28:44 +00: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