Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/neovim/libvterm


https://github.com/neovim/libvterm

Allocate state->combine_chars once in _new, not each time in _reset

5ce4e2d808f7641fc44851ee38e0adb50787be55 authored about 13 years ago
Shouldn't call vterm_state_reset() implicitly in state_new()

044ac8951e6473f148cbfa784f04c8b7a5ece88b authored about 13 years ago
Make sure to explicitly reset state when setting up state layer in test harness

3e3166de9cb478d716bce58c6712e7e48e3108d9 authored about 13 years ago
No need to explicitly set member fields to NULL in constructors, now that allocator guarantees zeroing

9d4f32c066e55850b0880f679e70a02f874fa116 authored about 13 years ago
Have vterm's allocator guarantee to zero out the allocated memory before returning it, so constructors etc.. can be simplified

97018ce9e79ee08e18d489c3e0ffff2a7bb453ac authored about 13 years ago
Make sure to NULL-initialise remaining pointer fields in main VTerm struct in vterm_new()

4763792a9acd2c98efebfa51eb895140cbf1b8d2 authored about 13 years ago
fprintf() error to stderr in state.c

494fdd68e98560ed44a90ec0137dbc4d16339501 authored about 13 years ago
switch() on [0] of intermed string rather than using strcmp() on 1-char string literals in state.c

11a9e0508ef55c2d06c6ec3ec9c287fbc7fb5110 authored about 13 years ago
Avoid harmless warning about VTERM_ATTR_STRIKE not handled in switch() in t/harness.c

fefcfcabab5ed03586152c5f51589e3e34b17712 authored over 13 years ago
Renamed vterm_allocator_new() to vterm_allocator_malloc()

435faa80a0ed3519300dc4e19896acb5712b35d7 authored over 13 years ago
Allow custom allocator closures rather than the default malloc/free; provide a _with_allocator constructor variant

0fd799c0c00f8aac38a5d6d75bcb27d4d621f8be authored over 13 years ago
Avoid glib entirely in libvterm now

632d387e03b8530f20bf2305bcd7ad50c94d5c31 authored over 13 years ago
vterm_internal.h doesn't need glib.h any more; use <stdarg.h> instead

8701dce6eb1bff3321133cb0ce5926de61a80afc authored over 13 years ago
Avoid use of g_alloca() in parser.c by using generous but fixed-size buffers on the stack instead

e2e328aecf798327e4b15381baf8f65a89611962 authored over 13 years ago
Avoid use of g_realloc() in state.c

53455aae9ab5ad55db009a4d4d78eb950bb30a15 authored over 13 years ago
Free VTerm at end of pangoterm

d51cb98afaadb1d863d85bff0e7bb9c933a6ff92 authored over 13 years ago
Finish defining the free() logic

56b6d8152ba182587c84ae75d50cd93e0e9976af authored over 13 years ago
Abstract away malloc/free behaviours behind a pair of VTerm-overridable functions

79dcf58720aac481d65805aeb1871d99aa7bf9fc authored over 13 years ago
Avoid GString; implement (fixed-size) static input and output buffers

a13ea59d355551e95d799bdbd8a428338d3804ef authored over 13 years ago
Shift-Tab has its own different representation than normal Tab

bb47c17b5c6cdcb4f74847fc461e234efb0d314d authored over 13 years ago
Also don't represent Shift-Backspace because of mistypeability

5ccaa966026f0437a4ead8d181e758a6ad9933ee authored over 13 years ago
Unit test that (modified) arrow key respects cursor/application key mode

83cd08efaf9d5245c40e3ee582deea5def490dbb authored over 13 years ago
Renamed t/04input.test to t/25state_input.test because cursor key input depends on State layer

3962c4ded492a187c601b04f7daffac5885ce489 authored over 13 years ago
Ignore Shift if it's the only modifier to Space or Enter, as it's too easy to mistype

0c1f9819c35a63f6c30c66e4cf2d6597b4ef6fba authored over 13 years ago
Prevent GtkIMContext from eating a Shift-Space, handle it ourself

0f61b8c8393a51d0aad8974dd59c0d4980659091 authored over 13 years ago
X11 handles Shift-Tab specially; need to undo its hackery

1a55fce3dc7c1a86e3756f8d5a23a2aa53a2329e authored over 13 years ago
Slightly more accurate handling of X11 Unicode or ignorable X11 keys in pangoterm

83398d541608e5c51acbfe19861852b69139169f authored over 13 years ago
Ensure that Shift-Space is still representable, as the one Unicode character we allow with Shift

7fa34f6fcd09136d42b9bf653c6374c6d8a5acdd authored over 13 years ago
More unit testing of the special handling of modified forms of 'i'

751d2df6b0714099d8441a76de512bfe1b8bcff7 authored over 13 years ago
Neater handling of key modifiers in unit tests

bafcabb75a62a0934221d91386b474a594b1f5dc authored over 13 years ago
Fix unit tests for modified Unicode input logic

73094990fcbae9d30cd9794eb6d2c160c573780e authored over 13 years ago
Bugfix for UTF-8 input

bcade473c84dfe379f9187bcc7fabe60545edfa9 authored over 13 years ago
CSI u encoding also for LITERAL keys (backspace/tab/enter/escape)

e4cb0001814a413011eb4a6d0c402e86049cd8b2 authored over 13 years ago
Much improved input_char function - UTF-8 encoding, CSI u for modified unicode where appropriate

0a14876dfcc2fae35fa133f1e978ea9fd436c2c5 authored over 13 years ago
Use event->keyval directly in pangoterm as it contains a Unicode codepoint; better than trying to pull the UTF-8 string apart again

392851d739429ddd09344b48692520d733d01bf4 authored over 13 years ago
Reimplement vterm_input_push_char natively - many TODOs currently

c69fc9b2c98cab0c5476f22547389730acdc0219 authored over 13 years ago
First stage of Unicode input neatening - replace vterm_input_push_str() with vterm_input_push_char()

b4115be46e68214605635dfd3096b9ae2c4318a5 authored over 13 years ago
Don't blink the cursor if the window doesn't have focus

6fd192620d1bb1e999e34e835a0d02535b73bf30 authored over 13 years ago
Reset scroll region bottom to flexible if it gets hardcoded-set to the bottom of display

47adfef744045f32bcd80176c29f73d30404783d authored over 13 years ago
Put the ScreenPen colours first in the struct, to reduce the memory hole at the end - slightly improves performance

2fdde2a379d672bff2f8b25072ab79f61d5e1b3f authored over 13 years ago
Need to allocate a colormap entry for background colour to ensure it gets set

700a3bd00cd9d184f42d2cfd579014d4cc5bf740 authored over 13 years ago
Implement screen scrolling by direct buffer->buffer copy and flush, rather than re-damaging the entire screen

c8b41c1d86686730e874db5e50c3839a3d177854 authored over 13 years ago
Store a GdkPixmap back buffer behind the window, so that expose events can just re-push the buffer

8c65e3656ca1636a542d0580f6f593ff70b13143 authored over 13 years ago
Don't store a gc longterm; construct and destroy them as needed in the two rendering functions

a08cb52562458494af242ad9c7ddff5c9fcbafdc authored over 13 years ago
Since add_glyphs() is only called from one place, just inline the code

761325b71e207881b95387eae433630b1fc13ff1 authored over 13 years ago
Render cell background as part of flush_glyphs() rather than individually per cell in term_putglyph()

0f988004c3f31eedb30c8f5aca03a45e5eaa9eb7 authored over 13 years ago
Store all PangoTerm-related state in a referenced struct, to avoid abuse of global variables

a41199c9cabd764a5a2402ee2db1c559de8968e1 authored over 13 years ago
Bugfix for scrolling regions over resize - unbounded scrolling needs to be stored as -1 with special logic

e58c8e89b0bb8967cf49ece16535b0202025b33b authored over 13 years ago
Remember to set TERM=xterm environment variable

c301e5b29c7bfe59274ce3ff88ccf3547f577ed8 authored over 13 years ago
Respond to CSI > c by returning DEC secondary DA response

d3078e46d7924b40352bec58056ea79bae05b221 authored over 13 years ago
Also treat '>' as an intermediate byte in CSI sequences

40d61de30601b26a8a87e46830d47eefaa66ccc1 authored over 13 years ago
Don't need to doublebuffer the toplevel GtkWindow widget because we handle all the expose events anyway; it improves render/scrolling performance if we don't

2e484682f043c5b445576e60dc02e7ef5eb60aeb authored over 13 years ago
Support strikethrough in pangoterm

7d14c58533eb8421d5c04dc1084590e884ec03d8 authored over 13 years ago
Support strikethrough (SGR 9 / SGR 29)

4e8d39ff062fe81d3f120c246c5874c7fe411d2f authored over 13 years ago
Store pangoterm 'reverse' pen attr along with the others in the bitfield

64a74a362c989943e9e34a180b5157c913dc32cf authored over 13 years ago
Handle mouse cursor movement events in pangoterm as well

b26afe47d4d187180f4f96cc60ee1bfefb207346 authored over 13 years ago
Also implement DEC mode 1003; full mouse motion tracking

d0513604c40240f6f72268d4cf23b2ed56ffafb7 authored over 13 years ago
Bugfix to cursor invisibility in pangoterm

35d56583c4820eea9a4b3f653ef6c5328ce4f30f authored over 13 years ago
Also support DEC mode 1002; mouse with drag events

7c17323bc5028bcb7c781261d92fb650304d7d44 authored over 13 years ago
Force cursor blinkstate visible after cursor move so it's immediately visible

03775689455589dd4f8283000d1ea744034580bf authored over 13 years ago
Actually implement setting default fg/bg colours on pangoterm commandline

438383a50815ce5a43635aedb6f4ccee4bc8ec30 authored over 13 years ago
Customisable default fg/bg colours; preserve over reset

488e4f00ccb05d1e7c40068d64b69ee59e5ed9a6 authored over 13 years ago
Adjust colours a little less bright

21e5c5546532152451fae2f9236a30bfab122c70 authored over 13 years ago
Have 'make install' also install pangoterm

3be2b38d5cd17c118c95ed87fb6962dd24ebed49 authored over 13 years ago
Set up Screen's altscreen by explicit request, rather than lazy malloc, as we shouldn't be malloc'ing during normal runtime

f33349c2065e05df1b884d1b0d8acf13889465bf authored over 13 years ago
Support resizing of window

236689d2ac530535e2bdb53255114f538000bf0c authored over 13 years ago
Draw directly to the GTK window rather than buffering via a pixmap

12289268f7fd6b3e2517610f0618233831dba093 authored over 13 years ago
Implement cursor blinking by overriding the pen colours for one cell

234ebbe5568d851db5e07a87964a13835893afdb authored over 13 years ago
Use vterm-style damage to repaint exposed areas of the screen, rather than using the termbuffer

186a2e3c6d2e10a5f3d074104675220cbb888e3f authored over 13 years ago
pangoterm no longer needs primary/alt buffer because Screen layer now handles it

72ce9666ee9067f0f9e92de60a2a409bda9fd5ba authored over 13 years ago
Ensure clean shutdown of pangoterm on EOF from PTY master, or window destroy

cc9eb2f93bcc334d43b3b6f4b5130f0f7fce31f0 authored over 13 years ago
First hack at reimplementing pangoterm using Screen layer rather than State

92f2026b90e8179244c33140beffc4f2e65e6d84 authored over 13 years ago
(Lazily) create two Screen buffers, switch between them on altscreen mode

66e7a19039cf4a9f68bfca8d2035bb964df2ed85 authored over 13 years ago
Ensure State pen attributes are still copied on erased cells

ad09f9ee0472abe5b5ea4f961bec460ec300fc36 authored over 13 years ago
Support foreground and background colours in Screen cells

a7202f08412f8babaed762528caa6cc5fa7b8ebd authored over 13 years ago
Screen layer no longer needs explicit initpen handler

13a214843253755752abac11e47aa50a0eb1d981 authored over 13 years ago
Explicitly reset the State pen on State reset

b3c4c51634ab686037d7fb164a1ba6187fa05e9f authored over 13 years ago
Store all the (non-colour) pen attributes in the Screen state and every Screen cell; allow access in get_cell()

8d0bf458aad98c98f97082ca6272ec25748196a2 authored over 13 years ago
Make sure not to step off the end of the Screen buffer when fetching width of the last cell in a column

147562b8d12237121e4e23e50edd2558b63d863d authored over 13 years ago
Screen function to extract a single cell, chars and width - will be able to obtain attributes later

1a69bf7049534937c6a98d6a0014e1aeeb58770c authored over 13 years ago
Renamed VTermScreenCell to ScreenCell, as it's internal to screen.c

e04e90c457fff0faff8e269f7370824098c797dd authored over 13 years ago
Also pass through a moverect operation through Screen layer

15ef99cc0eea83e1348e507d05313c6737a78e8d authored over 13 years ago
Pass through some relatively uninteresting State events through Screen to the upper layer

56f0cc2b73a3dd44d6792a4af61e4cfdd7cc9cbd authored over 13 years ago
Allow some test harness callback functions to be shareable by State and Screen

5d365e7d513d96a2f2110399737620612bfdec2f authored over 13 years ago
Some unit tests of State's settermprop callback

e21083d1fdd8ae53a042e120f17d7e0549b4f341 authored over 13 years ago
Some simple unit testing of mouse clicks

894802178c325a23662f08e9fdc189dfa9823112 authored over 13 years ago
Store 'output' expectation in qq()ed string form, like PUSH command

837e7f114714a6279504890643518f0d0fca9d94 authored over 13 years ago
Some basic unit testing for key input

77d56cddee5eec9f4e1682027be56a7391f36995 authored over 13 years ago
Remember to 'INIT' VTerm instance even though it's not strictly required by t/03encoding_utf8.test

1f56ecbde58cf44ace93f5999d6389aeb90b2650 authored over 13 years ago
Extract hex2bytes conversions out of test harness into its own static function

62d591922b458d75ade9ad64617f978e2318fbee authored over 13 years ago
Perform Screen moverect damage on entire rectangle not individual cells

a34de447827d086e9afcf7b6e63915b8bd40c11f authored over 13 years ago
Remove split copyrect/copycell callbacks in favour of a single moverect; provide a utility rect->cells wrapper functional if the user code wants to copy cells directly

2e4fc9ada5f4984561541e28d19af031b3fca1d5 authored over 13 years ago
Give Screen layer an event callback to notify about damaged areas

9160bde9355bc50d8c52f0018c176937c8610ca7 authored over 13 years ago
Rename t/42screen_resize.test to 43 to make a hole

fed7df1dd6931b7e8c36901be049762a9943397a authored over 13 years ago
Initial implementation and testing of Screen resize logic

a5a6e29fd66ff2c6134dcad556fbccda8da23bf9 authored over 13 years ago
Ensure that resizing to grow columns cancels the pending phantom column

66de6b841563bdb09aab41e1464741f6cf28fa45 authored over 13 years ago
Allow pangoterm to start with a larger-than-default size

b88e4f058b9519e5f44ac9c48beeb50ec89c551d authored over 13 years ago
Ensure State layer handles resize correctly, clipping cursor position to within the new range if required

85129b63ec03c8220666ab82a1576fa759348b4b authored over 13 years ago
Ensure that wraparound at 80th column still happens correctly in a combined write across the boundary

3c4eccf69f6ab63ce2c7c36b56d6a98d35d655df authored over 13 years ago
Move cursor to 75th column for wrapping tests, so the test script doesn't have to be qiute as long

965c4db4ceb2518b3084bc2c4e6678a18cb8fbb6 authored over 13 years ago