aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rows, cols, not cols, rowsJesse Luehrs2016-06-051-1/+1
|
* allow storing reversed start/end for selectionsJesse Luehrs2016-06-051-7/+8
| | | | | | | only ensure they're in the right order when pulling the selection text out of it, but leave it reversed otherwise (or else selecting behind the initial starting point will actually move the starting point of the selection, which is wrong)
* avoid a race condition if the window closes while we're double clickingJesse Luehrs2016-06-051-0/+3
|
* no reason to flush the surface hereJesse Luehrs2016-06-051-1/+0
| | | | since we're immediately calling runes_window_flush anyway
* no reason to go through an event hereJesse Luehrs2016-06-055-60/+41
| | | | | | | | i was only doing this before because libuv was using threads, and so i needed a way to trigger redraws on the main thread. if there are other reasons that we might want to delay redraws (to avoid blocking the event loop, for instance), we should just do that by scheduling a 0-timeout timer or something.
* this is unnecessary now that we have rate limitingJesse Luehrs2016-06-051-29/+0
|
* don't acquire the selection until we have something selectedJesse Luehrs2016-06-052-38/+54
| | | | | | clicking in a terminal window shouldn't be sufficient to remove an existing selection from another window (although it should clear the selection in its own window)
* this is probably unnecessaryJesse Luehrs2016-06-051-1/+0
|
* allow more easily running a development version alongside a real oneJesse Luehrs2016-06-053-7/+12
| | | | | | | this just changes the window class (so that i can make the development version use floating windows while not screwing up the layout for my real terminals) and the runesd socket location (so that i can test runesd at all while i'm already running a real runesd).
* have the display own the entire selectionJesse Luehrs2016-06-054-42/+48
| | | | rather than just the selection location
* manually send selection clear events when starting a new selectionJesse Luehrs2016-06-051-0/+12
| | | | | | | this happens automatically if we're taking over the selection from external windows, but doesn't happen if we're just taking the selection over from another window that we share a display connection with (like other runesc windows)
* reset the timer here before doing things that take timeJesse Luehrs2016-06-051-8/+8
|
* this should also count as being handledJesse Luehrs2016-06-051-0/+1
|
* update selection on right clickJesse Luehrs2016-06-051-0/+3
|
* implement double click to select words and triple click to select linesJesse Luehrs2016-06-054-4/+173
|
* allow canceling timers before they expireJesse Luehrs2016-06-052-2/+21
|
* enable an explicit std, and move the feature test macro to a cflagJesse Luehrs2016-06-041-1/+0
| | | | | we can't enable pedantic here, because a pangocairo header makes gcc unhappy
* this should be an unsigned intJesse Luehrs2016-06-041-1/+1
|
* bitfields are required to be declared as intsJesse Luehrs2016-06-043-9/+9
|
* stop using non-standard string escapesJesse Luehrs2016-06-041-38/+38
|
* don't overwrite our env changes with a passed in envJesse Luehrs2016-06-041-10/+10
| | | | our changes always need to happen, on top of whatever env was passed in
* add a message type for killing the daemonJesse Luehrs2016-05-165-14/+55
| | | | and make ./runesc --kill-daemon send that message
* change the protocol up a bit to allow different message typesJesse Luehrs2016-05-164-38/+82
|
* refactor/rewrite the client/server protocol handlingJesse Luehrs2016-05-149-185/+560
| | | | also pass the environment and current directory over as well
* support spawning terminals with different environmentsJesse Luehrs2016-05-146-7/+20
|
* formattingJesse Luehrs2016-05-141-2/+2
|
* only collapse flush events for a single windowJesse Luehrs2016-05-131-5/+9
|
* ensure that window close events are processed immediatelyJesse Luehrs2016-05-131-0/+1
|
* remove some debugging warningsJesse Luehrs2016-05-121-2/+0
|
* don't redefine typedefsJesse Luehrs2016-05-121-2/+1
| | | | clang doesn't like it because apparently it wasn't a thing until c11
* convert to libeventJesse Luehrs2016-05-127-119/+101
| | | | also remove all code supporting threading stuff
* grumble grumble cJesse Luehrs2016-05-125-5/+5
|
* move the setlocale call to the window backendJesse Luehrs2016-05-113-8/+3
| | | | since that's why i'm actually calling it
* and a couple more/:Jesse Luehrs2016-05-112-2/+2
|
* fix a couple compilation errors in disabled codeJesse Luehrs2016-05-112-2/+2
|
* split global window management stuff out into its own fileJesse Luehrs2016-05-1113-376/+385
| | | | also rename a few things for clarity
* ensure we don't free a term while there's an active callback pendingJesse Luehrs2016-05-101-2/+5
|
* make sure we only grab events for our windowJesse Luehrs2016-05-101-1/+14
|
* s/socket/daemon/Jesse Luehrs2016-05-108-82/+83
|
* fix a memory leakJesse Luehrs2016-05-101-0/+2
|
* refactor how submodules are handledJesse Luehrs2016-05-1017-168/+234
| | | | | | let them own their own memory, so that they can free themselves once they exit the loop. also split out the parts of the terminal that we only want to initialize once, even if we open multiple terminal windows
* make terms handle cleaning themselves upJesse Luehrs2016-05-105-9/+33
|
* redraw the full window after flashing the visual bellJesse Luehrs2016-05-101-0/+3
| | | | | otherwise it leaves the foreground color around the border if the window isn't sized exactly right
* fix rendering of narrow glyphs and glyphs of the wrong heightJesse Luehrs2016-05-101-1/+4
|
* fix selection renderingJesse Luehrs2016-05-101-2/+25
|
* these don't need to be publicJesse Luehrs2016-05-102-64/+62
|
* fix glyphs in monospace fonts that are mysteriously not monospaceJesse Luehrs2016-05-091-1/+19
| | | | | really i should figure out how to scale these down, but this is sufficient for now
* draw entire contiguous strings at a timeJesse Luehrs2016-05-091-53/+127
| | | | a lot faster than drawing all individual glyphs
* by default, don't worry about cleanup before exitingJesse Luehrs2016-05-091-0/+2
|
* this is no longer necessary (and makes things flickery)Jesse Luehrs2016-05-091-1/+0
|