1487 Commits

Author SHA1 Message Date
Kovid Goyal
3f69327b54 Properly escape the word characters before compiling into a regex 2017-01-13 12:10:51 +05:30
Kovid Goyal
87b9d2a478 Also match unicode alpha-numberic characters when double clicking 2017-01-13 11:45:41 +05:30
Kovid Goyal
fa15b2d398 Ensure initial viewport size is correct since window size and framebuffer size may not match on high DPI screens 2017-01-13 09:28:29 +05:30
Kovid Goyal
6f54a62189 Merge pull request #30 from Firenox89/master
make double click selection smarter and configurable
2017-01-13 09:13:36 +05:30
firenox89
d7daf73371 make double click selection smarter and configurable 2017-01-12 23:32:39 +01:00
Kovid Goyal
90c18a9227 ... 2017-01-12 23:48:38 +05:30
Kovid Goyal
521fe39e4d Fix starting up with multiple windows causing the active window border to be drawn around the wrong window 2017-01-12 22:36:46 +05:30
Kovid Goyal
674d8f9650 Use process substitution to avoid an explicit temporary file 2017-01-12 20:44:02 +05:30
Kovid Goyal
8fc07485f4 Script to count lines of code 2017-01-12 20:41:02 +05:30
Kovid Goyal
ac53776ee4 Forgot a few keys in the localizes keys map 2017-01-12 19:59:57 +05:30
Kovid Goyal
cb5d6547e5 Add an option to use a modern wcwidth() instead of the system one 2017-01-12 19:28:51 +05:30
Kovid Goyal
a8408a1ce4 Fix keyboard shortcuts not being mapped correctly
On systems that remap their keys, for example, to use a DVORAK keyboard layout. Fixes #29
2017-01-12 13:56:56 +05:30
Kovid Goyal
1c4718af3c Update README with info about OS X support 2017-01-12 11:58:11 +05:30
Kovid Goyal
05bcc23f09 Make linux-launcher work on OS X as well 2017-01-12 11:30:09 +05:30
Kovid Goyal
dbda7c4fcb ... 2017-01-12 10:22:46 +05:30
Kovid Goyal
dedaf6caf7 Fix Ctrl/Alt+key not working on systems with alternate keyboard layouts
Fixes #17
2017-01-12 10:17:21 +05:30
Kovid Goyal
4b28cc755e closerange() in child works on OS X also 2017-01-12 01:07:26 +05:30
Kovid Goyal
3b2e28fd83 Update dependency list noting what is not needed on OS X 2017-01-12 01:05:27 +05:30
Kovid Goyal
268560a1c6 Handle OSes that have no native pipe2()
OS X, sigh.
2017-01-12 01:00:05 +05:30
Kovid Goyal
fea0862a35 Do not use GLEW on OS X 2017-01-12 00:50:44 +05:30
Kovid Goyal
063ec7dc02 Fallback implementation for glCopyImageSubData
OS X is missing this function so we fallback to a very slow,
GPU->CPU->GPU roundtrip. Fortunately this is needed only rarely so it
should not have a noticeable performance imapct. Le bubbling sigh!
2017-01-11 23:36:43 +05:30
Kovid Goyal
6b01b9613a Use 8 bit stencil buffers on OS X 2017-01-11 21:07:31 +05:30
Kovid Goyal
c3aa26fedf Remove useless call to glfw_init 2017-01-11 20:57:37 +05:30
Kovid Goyal
15793d6eb0 New OS X Travis bundle 2017-01-11 19:59:02 +05:30
Kovid Goyal
6c76f292f4 Fix develop() not running from ssh session 2017-01-11 19:43:30 +05:30
Kovid Goyal
e9d239ac83 Get rid of the closerange() on exit entirely
Not needed.
2017-01-11 16:51:57 +05:30
Kovid Goyal
d3e924a58b One more place closerange() was called 2017-01-11 16:26:53 +05:30
Kovid Goyal
18a1a61ec2 Dont use closerange() on OS X
The original motivation for this was OpenGL problems caused by the glfw
library on linux because of inherited file descriptors. Dont know if
that applies on OS X.
2017-01-11 15:39:10 +05:30
Kovid Goyal
426f960b23 Finish up Core Text based rendering 2017-01-11 14:13:37 +05:30
Kovid Goyal
8e7250eb7a Use undeprecated orientation constant 2017-01-11 12:22:22 +05:30
Kovid Goyal
dff91759a2 Refactor the cell rendering code for greater re-use
Also start work on CoreText based rendering
2017-01-11 12:02:28 +05:30
Kovid Goyal
282d6faa5f Scale font size by screen DPI on OS X
There seems to be no way to pass a custom DPI to CoreText
2017-01-11 05:53:55 +05:30
Kovid Goyal
70719d37fd Implement optional incremental compilation 2017-01-11 04:45:27 +05:30
Kovid Goyal
edf9e580fe Function to check if the font has a specified character 2017-01-11 03:34:43 +05:30
Kovid Goyal
d4f18d9581 Forgot to release the font names in the destructor 2017-01-11 03:34:43 +05:30
Kovid Goyal
a923660916 Get font names 2017-01-11 03:34:43 +05:30
Kovid Goyal
54285a0f17 Compile the core_text module using Objective-C 2017-01-11 03:34:43 +05:30
Kovid Goyal
f15233b655 Start work on CoreText font rasterization 2017-01-11 03:34:43 +05:30
Kovid Goyal
fa20949d4f Merge pull request #28 from Firenox89/master
add the enter key on the numpad to the key map
2017-01-11 03:34:10 +05:30
firenox89
e53c00339a add the enter key on the numpad to the key map 2017-01-10 22:33:42 +01:00
Maximilian Kindshofer
625d41305d Add note about Arch Linux AUR package 2017-01-10 22:14:59 +05:30
Kovid Goyal
0d38a2ea31 Ignore exceptions when printing error messages 2017-01-10 17:17:23 +05:30
Kovid Goyal
9c501b37ea Allow skipping of tests that depend on a modern wcwidth() via an env var 2017-01-10 13:52:15 +05:30
Kovid Goyal
7c5bc672e6 ... 2017-01-10 13:12:01 +05:30
Kovid Goyal
45dcef4304 Give up on using brew on Travis 2017-01-10 13:06:48 +05:30
Kovid Goyal
6738724d4f ... 2017-01-10 12:53:23 +05:30
Kovid Goyal
df1ca0a342 ... 2017-01-10 12:53:11 +05:30
Kovid Goyal
7c580dca31 Try and figure out why linking against python is failing on OS X Travis 2017-01-10 12:45:33 +05:30
Kovid Goyal
0e40470931 ... 2017-01-10 12:00:10 +05:30
Kovid Goyal
e79adaa4a7 python 3 is not supported on Travis OS X, try installing it manually 2017-01-10 11:50:41 +05:30