Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rows, cols, not cols, rows | Jesse Luehrs | 2016-06-05 | 1 | -1/+1 |
| | |||||
* | allow storing reversed start/end for selections | Jesse Luehrs | 2016-06-05 | 1 | -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 clicking | Jesse Luehrs | 2016-06-05 | 1 | -0/+3 |
| | |||||
* | no reason to flush the surface here | Jesse Luehrs | 2016-06-05 | 1 | -1/+0 |
| | | | | since we're immediately calling runes_window_flush anyway | ||||
* | no reason to go through an event here | Jesse Luehrs | 2016-06-05 | 5 | -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 limiting | Jesse Luehrs | 2016-06-05 | 1 | -29/+0 |
| | |||||
* | don't acquire the selection until we have something selected | Jesse Luehrs | 2016-06-05 | 2 | -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 unnecessary | Jesse Luehrs | 2016-06-05 | 1 | -1/+0 |
| | |||||
* | allow more easily running a development version alongside a real one | Jesse Luehrs | 2016-06-05 | 3 | -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 selection | Jesse Luehrs | 2016-06-05 | 4 | -42/+48 |
| | | | | rather than just the selection location | ||||
* | manually send selection clear events when starting a new selection | Jesse Luehrs | 2016-06-05 | 1 | -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 time | Jesse Luehrs | 2016-06-05 | 1 | -8/+8 |
| | |||||
* | this should also count as being handled | Jesse Luehrs | 2016-06-05 | 1 | -0/+1 |
| | |||||
* | update selection on right click | Jesse Luehrs | 2016-06-05 | 1 | -0/+3 |
| | |||||
* | implement double click to select words and triple click to select lines | Jesse Luehrs | 2016-06-05 | 4 | -4/+173 |
| | |||||
* | allow canceling timers before they expire | Jesse Luehrs | 2016-06-05 | 2 | -2/+21 |
| | |||||
* | enable an explicit std, and move the feature test macro to a cflag | Jesse Luehrs | 2016-06-04 | 1 | -1/+0 |
| | | | | | we can't enable pedantic here, because a pangocairo header makes gcc unhappy | ||||
* | this should be an unsigned int | Jesse Luehrs | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | bitfields are required to be declared as ints | Jesse Luehrs | 2016-06-04 | 3 | -9/+9 |
| | |||||
* | stop using non-standard string escapes | Jesse Luehrs | 2016-06-04 | 1 | -38/+38 |
| | |||||
* | don't overwrite our env changes with a passed in env | Jesse Luehrs | 2016-06-04 | 1 | -10/+10 |
| | | | | our changes always need to happen, on top of whatever env was passed in | ||||
* | add a message type for killing the daemon | Jesse Luehrs | 2016-05-16 | 5 | -14/+55 |
| | | | | and make ./runesc --kill-daemon send that message | ||||
* | change the protocol up a bit to allow different message types | Jesse Luehrs | 2016-05-16 | 4 | -38/+82 |
| | |||||
* | refactor/rewrite the client/server protocol handling | Jesse Luehrs | 2016-05-14 | 9 | -185/+560 |
| | | | | also pass the environment and current directory over as well | ||||
* | support spawning terminals with different environments | Jesse Luehrs | 2016-05-14 | 6 | -7/+20 |
| | |||||
* | formatting | Jesse Luehrs | 2016-05-14 | 1 | -2/+2 |
| | |||||
* | only collapse flush events for a single window | Jesse Luehrs | 2016-05-13 | 1 | -5/+9 |
| | |||||
* | ensure that window close events are processed immediately | Jesse Luehrs | 2016-05-13 | 1 | -0/+1 |
| | |||||
* | remove some debugging warnings | Jesse Luehrs | 2016-05-12 | 1 | -2/+0 |
| | |||||
* | don't redefine typedefs | Jesse Luehrs | 2016-05-12 | 1 | -2/+1 |
| | | | | clang doesn't like it because apparently it wasn't a thing until c11 | ||||
* | convert to libevent | Jesse Luehrs | 2016-05-12 | 7 | -119/+101 |
| | | | | also remove all code supporting threading stuff | ||||
* | grumble grumble c | Jesse Luehrs | 2016-05-12 | 5 | -5/+5 |
| | |||||
* | move the setlocale call to the window backend | Jesse Luehrs | 2016-05-11 | 3 | -8/+3 |
| | | | | since that's why i'm actually calling it | ||||
* | and a couple more/: | Jesse Luehrs | 2016-05-11 | 2 | -2/+2 |
| | |||||
* | fix a couple compilation errors in disabled code | Jesse Luehrs | 2016-05-11 | 2 | -2/+2 |
| | |||||
* | split global window management stuff out into its own file | Jesse Luehrs | 2016-05-11 | 13 | -376/+385 |
| | | | | also rename a few things for clarity | ||||
* | ensure we don't free a term while there's an active callback pending | Jesse Luehrs | 2016-05-10 | 1 | -2/+5 |
| | |||||
* | make sure we only grab events for our window | Jesse Luehrs | 2016-05-10 | 1 | -1/+14 |
| | |||||
* | s/socket/daemon/ | Jesse Luehrs | 2016-05-10 | 8 | -82/+83 |
| | |||||
* | fix a memory leak | Jesse Luehrs | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | refactor how submodules are handled | Jesse Luehrs | 2016-05-10 | 17 | -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 up | Jesse Luehrs | 2016-05-10 | 5 | -9/+33 |
| | |||||
* | redraw the full window after flashing the visual bell | Jesse Luehrs | 2016-05-10 | 1 | -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 height | Jesse Luehrs | 2016-05-10 | 1 | -1/+4 |
| | |||||
* | fix selection rendering | Jesse Luehrs | 2016-05-10 | 1 | -2/+25 |
| | |||||
* | these don't need to be public | Jesse Luehrs | 2016-05-10 | 2 | -64/+62 |
| | |||||
* | fix glyphs in monospace fonts that are mysteriously not monospace | Jesse Luehrs | 2016-05-09 | 1 | -1/+19 |
| | | | | | really i should figure out how to scale these down, but this is sufficient for now | ||||
* | draw entire contiguous strings at a time | Jesse Luehrs | 2016-05-09 | 1 | -53/+127 |
| | | | | a lot faster than drawing all individual glyphs | ||||
* | by default, don't worry about cleanup before exiting | Jesse Luehrs | 2016-05-09 | 1 | -0/+2 |
| | |||||
* | this is no longer necessary (and makes things flickery) | Jesse Luehrs | 2016-05-09 | 1 | -1/+0 |
| |