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
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
eb47669f84
Working on eliminating old UI bulls
2019-10-13 19:13:15 -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
1b6091b871
Typed coroutine in/out
2019-10-13 10:36:29 -07:00
Allen Webster
dbaab9d945
New input binding system up and running.
2019-10-10 18:40:10 -07:00
Allen Webster
0e51ffa80d
New mapping system looking decent
2019-10-10 15:57:02 -07:00
Allen Webster
27e3efdd01
Keyboard handling is 100%
2019-10-10 13:15:47 -07:00
Allen Webster
aa565395e2
FILE TRANSFER; almost have new input events up and running, needs a few more blocks
2019-10-10 11:21:47 -07:00
Allen Webster
3f72512332
Partially finished rewriting events (STILL BROKEN, FILE TRANSFER)
2019-10-09 17:07:38 -07:00
Allen Webster
def95ff54c
Safety check to prevent crash bug on get character box api
2019-10-09 10:21:51 -07:00
Allen Webster
323948ea55
Force a single pixel gap between lines to avoid render artifacts.
2019-10-09 07:40:50 -07:00
Allen Webster
dba56df420
First version of rounded rectangles (bad)
2019-10-08 10:18:20 -07:00
Allen Webster
28c3715073
Finished reorganizing everything for the shift into exposing system api right into the custom layer
2019-10-07 18:42:23 -07:00
Allen Webster
41b6705e84
All rendering working without coordinate center changes
2019-10-06 20:53:10 -07:00
Allen Webster
13e8c0aed4
Rendering alignment bug fixed (this shit needs a deep cleaning!)
2019-10-06 01:01:52 -07:00
Allen Webster
5edbd93d26
Cleaning up euclidean space types; simplifying some rendering stuff
2019-10-05 23:59:35 -07:00
Allen Webster
c2ad6d188d
new custom API linkage
2019-10-04 19:48:05 -07:00
Allen Webster
d654adacc5
Fully transitioned to the new system api linkage
2019-10-03 10:57:44 -07:00
Allen Webster
19f3d7a641
Finished library loading logic; added api definition system; defined system api (and related)
2019-10-02 19:58:05 -07:00
Allen Webster
19034b7887
Removed all string.h dependencies from core and win32
2019-10-01 16:41:23 -07:00
Allen Webster
8a66a157d3
Reorganized files for lexer generation
2019-10-01 16:34:54 -07:00
Allen Webster
843ff44b6e
String seek bug fixed; cleaner isearch implementation
2019-10-01 15:45:51 -07:00
Allen Webster
73fa47a672
Fixing up lexer build and preprocessor parsing logic
2019-10-01 14:49:05 -07:00
Allen Webster
c47270702a
Thread context now introduced to 4coder in ALL layers (booya!) :)
2019-09-30 19:06:21 -07:00
Allen Webster
ef02e75dc8
new lexer
2019-09-26 20:52:29 -07:00
Allen Webster
8bd7c2fd67
Token transition in progress
2019-09-03 22:31:35 -07:00
Allen Webster
352cb27b73
Face* instead of Face_ID as much as possible; Preferred X works again
2019-09-02 14:32:52 -07:00
Allen Webster
aaec0cc3c8
Character positioning by line relative layout iteration
2019-09-02 11:59:36 -07:00
Allen Webster
6d7deff11e
Removing shared scratch, passing in scratch on all system calls
2019-08-16 08:01:17 -07:00
Allen Webster
9efc4fb2e3
LOG
2019-08-15 19:54:06 -07:00
Allen Webster
8064f780af
New working set implementation
2019-08-12 02:16:04 -07:00
Allen Webster
62d8c4bae0
Fixed bug in file list API when given invalid path
2019-08-12 01:10:29 -07:00
Allen Webster
2f6b9744bd
Eliminated old file change notification system; replaced OS layer job system with OS layer thread wrappers; moved coroutine implementation from OS layer to core
2019-08-03 22:36:13 -07:00
Allen Webster
d4db77b3fb
New file listing API
2019-08-03 17:49:40 -07:00
Allen Webster
e60f115ebe
Remove all markers visual code
2019-07-31 20:28:43 -07:00
Allen Webster
1f81120343
New text coloring system setup
2019-07-31 20:16:53 -07:00
Allen Webster
2e0992fdd3
extended text layouts to easily get character and line rectangles
2019-07-31 19:13:36 -07:00
Allen Webster
7fd8196485
Finally got rid of line_height in View
2019-07-31 13:43:27 -07:00
Allen Webster
dd51779a04
Hack to fix the GL wrong thread problem with font init -- do better later!
2019-07-25 17:18:05 -07:00
Allen Webster
80b98e3b47
New Renderer - First Version. Finished.
2019-07-25 12:54:58 -07:00
Allen Webster
efa1515121
Batched rendering 50%
2019-07-25 00:17:01 -07:00
Allen Webster
6b3d61c035
Font handling and rendering basically working.
2019-07-24 00:41:40 -07:00
Allen Webster
55d064cf61
In Progress: working on the new opengl back end and font rasterizer
2019-07-21 11:16:34 -07:00
Allen Webster
a7c5be3e02
Deprecated old table and arena code
2019-07-12 17:43:17 -07:00
Allen Webster
7072c92dc2
Switching the API over to i64 and Range_i64 for positions inside buffers
2019-06-20 16:43:27 -07:00
Allen Webster
7d0dd46a3f
Finished switching the API to new return style
2019-06-19 21:45:58 -07:00
Allen Webster
5010d6e14f
Fixed bugs in string seek, fixed bug in insertf
2019-06-19 20:43:02 -07:00
Allen Webster
cf6c92fcbd
Switching the API return method
2019-06-18 19:31:59 -07:00
Allen Webster
41ac11cf98
Extended String_Match struct; regularized range and rect type code
2019-06-17 21:47:00 -07:00
Allen Webster
f4b77f9c55
Fixed off-by-one problem with buffer_seek_string; fixed history grouping in batch edits
2019-06-17 13:05:14 -07:00
Allen Webster
316673af26
Simplified and optimized implementation of string matching/scanning/listing operations by reducing to a chunked text linear scanning algorithim
2019-06-16 16:38:22 -07:00
Allen Webster
b5cc96aa2a
Fixed bug in backward string seek
2019-06-12 14:35:30 -07:00
Allen Webster
ab12f73e67
Seek string in the core
2019-06-11 16:16:27 -07:00
Allen Webster
0516c94afc
Deeply reorganizing code from seek.cpp; more 'enclose' operations
2019-06-09 14:05:57 -07:00
Allen Webster
9ce2eeeb11
Replaced streaming implementations of seeks with a core based character class seek system
2019-06-08 17:09:14 -07:00
Allen Webster
0e7287fbf3
Removing directory_cd API
2019-06-01 17:45:18 -07:00
Allen Webster
2ef8f361d7
Merge non-sense, who knows, here goes
2019-06-01 16:58:28 -07:00
Allen Webster
7841ec0f2e
Extraordinary breaking rewrite. Arenas. Strings. Lots of API related stuff.
2019-06-01 16:33:31 -07:00
Allen Webster
79e04a54c7
misc fixes
2019-04-08 12:21:04 -07:00
Allen Webster
bcec902ce2
More progress shifting off of View_Summary
2019-04-06 14:13:49 -07:00
Allen Webster
88df8a4fb2
Progress towards shifting off View_Summary
2019-04-06 12:40:36 -07:00
Allen Webster
e6451a3871
Cleanup cleanup cleanup; shrinking api implementation file size mostly
2019-04-05 16:30:24 -07:00
Allen Webster
3911eb2197
Remove View_Summary from core API
2019-04-05 14:56:58 -07:00
Allen Webster
309d6b03ac
Buffer_Summary completely shifted into transition files
2019-04-04 19:03:36 -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
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