exoticus
9e6c41ac65
wip
5 years ago
Keith Simmons
cd0954d332
add cursor antialiasing setting
5 years ago
AnhQuan Nguyen
a530171aea
rust fmt
5 years ago
keith
c972a3eacf
enable italic bold
5 years ago
Keith Simmons
18775f5d67
fix ginit error
5 years ago
keith
5237a11cae
actually fix skia font loading error
5 years ago
keith
d20027a490
allow disabling of embedded fonts
5 years ago
keith
9a9051f044
add tests to ci build
5 years ago
keith
afce3a7f87
fix some font fallback bugs
5 years ago
keith
f25d317b1b
minor refactoring
5 years ago
Jon Valdés
6f418d6c65
Added particle curl option
5 years ago
Jon Valdés
b82db76553
Expose speed and phase parameters for particles
5 years ago
Jon Valdés
2dc28c633e
Merge branch 'master' into framerate-independent-cursor
5 years ago
Jon Valdés
1b2a2552c3
Make particle effects based on font size. Spawn particles at text baseline
5 years ago
Jon Valdés
b11642c6b0
Fix railgun effect particle spawning
5 years ago
Jon Valdés
0fc2680098
Made the rng persist from frame to frame, so particles don't spawn in the same place every time
5 years ago
Jon Valdés
b29a83214a
Fix issue that was creating particles with NaN lifetimes, causing the update loop to never kill them
5 years ago
Jon Valdés
cef497d0a0
Random number generation was completely wrong. Fixed
5 years ago
Jon Valdés
7fd6df50ce
Exposed setting for particle density
5 years ago
Jon Valdés
885aca19da
Exposing cursor vfx parameters as settings
5 years ago
Jon Valdés
6d2d398c23
Fix cursor animation being stuck for 1 frame after animation reset
5 years ago
Jon Valdés
6939a8186b
Made trail animation slightly longer to match old behavior better
5 years ago
Jon Valdés
5c8b1de97a
Switched to an exponential function for cursor trail animation
5 years ago
Jon Valdés
4ea5e31f13
Added "PixieDust" effect
5 years ago
Jon Valdés
8c410cef6e
Added "torpedo" mode to cursor effects
5 years ago
Jon Valdés
47eaf0c418
Implemented settings-based control for cursor animations
5 years ago
Jon Valdés
c517f00033
Fixing after rebasing on top of structured settings work
5 years ago
Jon Valdés
2ad315a507
Kept antialiasing enabled only for the cursor rendering
5 years ago
Jon Valdés
218f9adb6a
Railgun cursor tweaking
5 years ago
Jon Valdés
6fcd50289a
Added particle trail effect
5 years ago
Jon Valdés
5c6d1ffa42
Easing point highlight alpha
5 years ago
Jon Valdés
028c36d32a
Renamed CursorVFX to PointHighlight. Implemented Ripple and Wireframe modes
5 years ago
Jon Valdés
7c3585e9a6
Make CursorVFX a trait, tweak cursor trail with cubic easing function
5 years ago
Jon Valdés
e56bddf6b6
Splitting CursorVFX into its own module
5 years ago
Jon Valdés
d967666222
Making cursor_renderer its own nested module
5 years ago
Jon Valdés
a4c9dd442a
Tweaking and cleaning cursor trail math code
5 years ago
Jon Valdés
8295f835b5
Fixed a few bugs, implemented cursor VFX on state change
5 years ago
Jon Valdés
1b9f4b4f7c
Fix cursor shape changes
...
Also, make cursor movements while typing be immediate
5 years ago
Jon Valdés
169a04079d
Better idle detection for cursor animation
5 years ago
Jon Valdés
945ef975f6
Work on framerate-independent cursor animation
...
Has several different easing methods, but defaults to linear for now.
ease_out_quad was also pretty good, but which specific method we choose
will be more a personal preference than an objective thing
5 years ago
Raffael Zica
0b301cb690
Shaper includes system symbol fonts into cache
...
This should fix #153 on Windows but needs testing on Linux and macOS.
5 years ago
Keith Simmons
971bb3d2ff
remove all hints of integer scaling
5 years ago
Keith Simmons
850b23933b
fix command line cursor bug
5 years ago
Keith Simmons
829d2b3073
revert font change
5 years ago
Keith Simmons
33c68d38b9
support undercurl
5 years ago
Jon Valdés
a9acc532aa
Fix a bunch of small issues reported by clippy
5 years ago
Jon Valdés
f9c7e2500c
Switch to parking_lot::Mutex. It is faster and has a better API than the std one
...
Also, no possibility of poisoning, so it removes a bunch of unwraps
5 years ago
Jon Valdés
1750ac8e76
Fix scrolling issue introduced when extracting the grid
5 years ago
Jon Valdés
9450ea62d8
Better external API for EditorGrid, returning Option<&mut GridCell> for external code to modify the cells
5 years ago
Jon Valdes
e8cb1ef863
WIP Extraction of Editor::grid into its own file and struct
5 years ago
Jon Valdes
0fe0475b6d
Initial implementation of linearization of the Editor grid storage
...
Converts the Editor grid from a nested Vec<Vec<GridCell>> to a Vec<GridCell> structure.
Does the same thing with the dirty structure
5 years ago
Keith Simmons
5912b82cea
remove msg, add logging, add startup commands, add no-idle command
5 years ago
Keith Simmons
31a1bd5cdc
profiling motivated perf improvements in build draw commands
5 years ago
Sebastian Nowicki
860b459523
Fix conditional for MacOS emoji font
...
Closes #76
5 years ago
keith
71406ba6cb
fix emoji font loading on macos
5 years ago
keith
b7368ac110
use system emoji font first if possible
5 years ago
keith
ec260da475
revive bold and italic support
5 years ago
keith
ca24df79e6
embed fonts
5 years ago
Keith Simmons
e8e69f757e
fixed underlines
5 years ago
Keith Simmons
934d63b278
fix panic handling (probably) and tweek font discovery
5 years ago
Keith Simmons
e72c8959f1
make editor grid access more robust
5 years ago
Keith Simmons
335045840b
fix some warnings and bump skulpin
5 years ago
keith
24a5e5dc51
rework font loading to be WAY more robust
5 years ago
keith
2f619c5d17
linux bug fixes and better error printing on linux (just panic with a message)
5 years ago
keith
2916f1337a
don't require emoji font
5 years ago
keith
1ed9fc9eb9
manually setup redraw system
5 years ago
Keith Simmons
4079f218b3
remove unnecessary hack for emoji rendering
5 years ago
keith
7f5902d364
adjust emoji positioning
5 years ago
Keith Simmons
f8bc1a2ce4
emojis working
5 years ago
keith
5a880d06aa
remove fonts cache and make first attempt at font fallback
5 years ago
Keith Simmons
b4c392997e
use global lazy_static variables to handle modules instead of passing via reference
5 years ago
Keith Simmons
e4dd7e572b
finish up cursor options
5 years ago
Keith Simmons
a1ad41247d
resolve clippy issues and fix cursor character issue
5 years ago
Keith Simmons
ca1fdfc25c
special case message line cursor positions
5 years ago
Keith Simmons
ed28b14596
support cursor blinking
5 years ago
Keith Simmons
34034474d5
support strikethrough
5 years ago
Keith Simmons
d6b4c6dc41
remove reference to old shaper
5 years ago
Keith Simmons
005797b276
font widths are WAY better now
5 years ago
Keith Simmons
ab6c1d5700
more progress, but can't use text blob creation utilities :/
5 years ago
Keith Simmons
ec00fe37fa
progress toward better text shaping maybe...
5 years ago
keith
6f04e9e7e0
support font setting and changing
5 years ago
Keith Simmons
9cf4e9c2ce
add error message boxes
5 years ago
Keith Simmons
c21605532e
smarter cursor text rendering
5 years ago
Keith Simmons
cd35e33877
better cursor animation speed and clipping text to grid region
5 years ago
keith
4ab94b3cae
support cell percentage configuration
5 years ago
keith
1d620acc5a
horizontal scrolling and progress toward command line
5 years ago
Keith Simmons
bf574cc876
some comments
5 years ago
Keith Simmons
f6edcc4761
working cursor smear
5 years ago
keith
59601b7d71
progress toward smeared cursor
5 years ago
Keith Simmons
2b2beb4e10
cursor_renderer changes
5 years ago
keith
2dfe4c1a7f
partially working externalized command
5 years ago
Keith Simmons
22ddb545a9
more progress toward externalized command bar
5 years ago
Keith Simmons
e08ac79b9f
support bold and italic text
5 years ago
keith
4297faca63
fix ligature rendering
5 years ago
keith
7f772be865
progressive rendering done
5 years ago
Keith Simmons
06eb849497
progressive rendering progress
5 years ago
Keith Simmons
0cc51481b2
Cache surface not image
5 years ago
keith
84648518dc
progress toward progressive rendering
5 years ago
keith
8c75c44905
persistent rendering
5 years ago
Keith Simmons
8467ef18ab
refactored editor into multiple files to make things more readable
5 years ago
keith
be7c9f5207
refactor somewhat
5 years ago