Winston Weinert
d9f3587a71
Wrap thrown string in std::runtime_error
преди 6 години
Winston Weinert
71442ad080
Throw exceptions by value, catch by reference
This fixes bug #92 where exceptions are not being catch thrown by
cxxopts.
This is also standard practice :)
https://stackoverflow.com/a/2522311/2720026
преди 6 години
naelstrof
d7c12dd5d7
fixed typo
преди 7 години
naelstrof
93273d564f
changing the interface to support pure C
преди 7 години
naelstrof
14b0909113
Finally fixed the dumb nvidia segfault on preload, also re-added GLEW as a dependency, pthreads is now required. Fixes #83 , #81 .
преди 7 години
naelstrof
0b66444ad4
namespaced opengl, added unicode support, (fixes #80 )
преди 7 години
naelstrof
ab41bb7d3c
slop now errors properly when a positional argument is supplied
преди 7 години
naelstrof
3b19860795
Switched to using a POSIX compliant argument parser. This will break scripts! sorry
преди 7 години
naelstrof
1aaadbb1f6
flushed out shader support
преди 7 години
naelstrof
359b426b89
keep -n from consuming a parameter
преди 7 години
naelstrof
e87468bacf
improved backward compatibility.
преди 7 години
naelstrof
0c7f1eae07
added noopengl flag
преди 7 години
naelstrof
4db2dbc6fe
improved namespace clashing
преди 7 години
naelstrof
dfd9462608
swapped around options a bit again
преди 7 години
naelstrof
eaea8ccab4
oops deleted cout debug thing
преди 7 години
naelstrof
3721a5e3bf
changed around option flags to not conflict with maim
преди 7 години
naelstrof
a4da810654
Added quiet option
преди 7 години
naelstrof
03a2956e47
Now you can select the level of aggressiveness when removing window borders.
преди 7 години
naelstrof
96de1eaa68
added cancellation parsing in format
преди 7 години
naelstrof
f119dc80d7
default to an xgeometry compliant format
преди 7 години
naelstrof
5fbbd48916
Now slop will just fallback to the xshape extension if opengl fails.
преди 7 години
naelstrof
33adb69592
improved library-ness
преди 7 години
naelstrof
d9ac7ad9ae
added a prototype legacy mode
преди 7 години
naelstrof
1ad1b4e23a
Removed yet another dependency
преди 7 години
naelstrof
5775c18e1c
slop no longer needs files installed to function, it can still load custom shaders from ~/.config/slop though
преди 7 години
naelstrof
bf24bc367c
added version flag
преди 7 години
naelstrof
e157484d65
added help printing
преди 7 години
naelstrof
525b3746d4
added no decoration flag
преди 7 години
naelstrof
e82299f97b
added copyright information to every file
преди 7 години
naelstrof
4a7c5fe6fb
moved over wayland port
преди 7 години
naelstrof
0d5a32bba4
Fixed another off-by-one bug, and a typo.
преди 9 години
naelstrof
a8f1e5cd57
Fixed a bug where a single pixel isn't accounted for when selecting the entire screen. Upped version for previous changes
преди 9 години
Brian Callahan
15e4b04535
These things are not needed if you're not compiling with OpenGL.
преди 9 години
Dalton Nell
43b179df21
Removed a stray include.
преди 9 години
Dalton Nell
3af00283a4
Added optional CMake flag CMAKE_OPENGL_SUPPORT to enable slop's OpenGL implementation.
преди 9 години
Dalton Nell
437eccc73b
Added shader support
преди 9 години
Dalton Nell
2200ce763a
Added basic textured themes.
преди 9 години
Dalton Nell
7f3edc8df3
Added an experimental magnifying glass for --opengl only.
преди 9 години
Dalton Nell
bf50639960
Added experimental OpenGL rendering. Use --opengl to activate it.
преди 9 години
Dalton Nell
f6e72a937b
Fixed a case where slop couldn't grab the mouse due to the window manager already having it grabbed due to a key combination being pressed. Slop simply waits for the duration of --gracetime in order for the key combination to be released, thus freeing up the mouse.
преди 9 години
Rafael Bodill
09109c7fc7
Workaround lack of clock_gettime in OSX
преди 9 години
Dalton Nell
761a7c0d00
Slop now outputs the root window ID when no window is selected.
преди 10 години
Dalton Nell
8a03f9a24c
Fixed slop from segfaulting.
преди 10 години
Dalton Nell
09d2eb9de8
Added error message when the XShape extension isn't supported.
преди 10 години
Dalton Nell
5a98bc1b57
Fixed bug where slop would ignore the environment variable DISPLAY.
преди 10 години
naelstrof
77f5af15ac
Fixed Ubuntu having undefined references.
преди 10 години
Dalton Nell
6285e519f0
Added ability to move starting points of selections with arrow keys, and made pressing enter accept the current selection rather than cancel it.
преди 10 години
naelstrof
74d5bab587
Improved error handling
преди 10 години
Dalton Nell
61cc45f913
Changed build system to cmake, made error handling more verbose, fixed many warnings, and added exception handling.
преди 10 години
naelstrof
5cc203e18a
Added option --format, which lets you change the output format. Useful to manually parse variables, and to avoid using eval.
преди 10 години