Konstantin Käfer
485a9a40bc
formatting
2014-05-02 10:25:58 +02:00
Konstantin Käfer
9bbdba9eab
remove concept of settings object from library
2014-04-30 13:47:03 +02:00
Konstantin Käfer
1ecff57829
use libuv event loop in the glfw view
...
Integrates libuv's default loop with GLFW's glfwWaitEvents() call. See https://github.com/joyent/libuv/issues/1246 for more details on integrating event loops.
fixes #149
2014-04-22 16:54:55 +02:00
Konstantin Käfer
a807ace3c1
rename to glfw_view.cpp/hpp
2014-04-16 11:10:54 -04:00
Konstantin Käfer
305e688a3a
clean up os x + ios request code
...
fixes #129
2014-04-14 11:47:57 -04:00
Konstantin Käfer
b4ad515792
don't report intentionally cancelled HTTP requests as error on os x + ios
2014-04-14 11:17:22 -04:00
Konstantin Käfer
3c5bac0f6b
add debug window showing the glyph atlas
2014-03-14 12:43:42 +01:00
Konstantin Käfer
bdfa761c39
remove code duplication between osx/glfw and linux/glfw programs
2014-03-14 11:33:45 +01:00
Konstantin Käfer
0a6dbc8064
Merge branch 'nostencil'
...
Conflicts:
macosx/main.mm
src/map/map.cpp
2014-03-03 16:02:13 +01:00
Konstantin Käfer
6c58101b12
multithreaded curl for linux
2014-03-01 13:05:13 +01:00
Konstantin Käfer
8d68bd73e7
draw a checkerboard stencil clipping mask initially
2014-02-26 12:24:17 +01:00
Justin R. Miller
8b0709a62c
clean up response casts
2014-02-25 16:37:48 -08:00
Justin R. Miller
55b28aaf65
allow for cancellable request, track in tiles, and cancel when obsolete
2014-02-25 16:33:06 -08:00
Justin R. Miller
e59a5f1c1a
Merge branch 'master' into tile-cancels
2014-02-21 14:18:48 -08:00
Konstantin Käfer
0306e77ff0
remove void* parameter from platform::restart()
2014-02-21 12:18:11 +01:00
Konstantin Käfer
1fb4451192
Merge pull request #68 from mapbox/poi-render
...
refs #60 : first cut of POI rendering
2014-02-21 12:07:46 +01:00
Konstantin Käfer
bd2d865fc4
trigger a bogus mouse move event to interrupt glfwWaitEvents()
...
see https://github.com/glfw/glfw/issues/218
2014-02-21 12:05:27 +01:00
Konstantin Käfer
d5c611d707
add timeouts for panning,scaling,rotating
2014-02-21 11:31:24 +01:00
Justin R. Miller
eac69ae30c
move to cancellable tile-specific fetches on OS X
2014-02-19 23:13:20 -08:00
Justin R. Miller
9fbe5b2ece
properly deregister render observers
2014-02-19 17:51:30 -08:00
Justin R. Miller
0f2beb6992
refs #72 : clarity around bg/fg functions
2014-02-19 12:45:05 -08:00
Justin R. Miller
cfbb8e9f7d
minor objc style stuff
2014-02-19 12:44:47 -08:00
Konstantin Käfer
dcb6c2b787
calculate the proper pixelRatio
2014-02-19 14:47:26 +01:00
Justin R. Miller
257ccd16bb
clean up settings mechanism ( fixes #9 & #62 )
...
* init, load, persist, sync, clear
* clean up frequent disk syncs which impacted iOS performance
* insert disk sync into various iOS/OS X lifecycle events
* implement clear
* implement save on iOS
* cleaner dictionary syntax
2014-02-13 12:21:35 -08:00
Justin R. Miller
1c6e16c0bb
s/view/mapView/ as on iOS for clarity
2014-02-13 10:53:49 -08:00
Konstantin Käfer
565a23785c
remove unused functions and run http_request in other operation queue
2014-02-13 12:15:01 +01:00
Konstantin Käfer
bec0ad10c4
drawing lines with triangles
2014-02-11 15:51:54 +01:00
Justin R. Miller
daac03f526
fixes #43 : fix tile renders on OS X
2014-02-07 11:40:15 -05:00
Justin R. Miller
cd5b88edba
no need for GCD tossing since completion happens on (explicit) main queue
2014-02-03 19:23:51 -05:00
Konstantin Käfer
44a3ffbd57
alternative http_request function
2014-02-03 14:53:59 +01:00
Konstantin Käfer
202e0270f7
add rapidjson for parsing sprite json files
2014-02-03 11:36:34 +01:00
Konstantin Käfer
c7b012ba42
create async() function
2014-01-31 13:40:38 +01:00
Konstantin Käfer
04c855bd64
add request_http() function
...
refs #23
2014-01-30 16:57:38 +01:00
Konstantin Käfer
43ab6732d9
rename shader line -> plain
2014-01-28 17:37:36 +01:00
Justin R. Miller
a97657d00a
tiles shouldn't be busted out of the box
2014-01-27 11:39:13 -08:00
Konstantin Käfer
0f74a4bc90
fill drawing
2014-01-22 16:43:05 +01:00
Konstantin Käfer
474fb42807
make it work on retina screens
2014-01-21 16:16:21 +01:00
Konstantin Käfer
209dd913f9
tile => Tile
2014-01-20 12:03:36 +01:00
Konstantin Käfer
66bac4dffd
rename map => Map
2014-01-20 11:52:06 +01:00
Konstantin Käfer
22178d6832
rename settings => Settings
2014-01-20 11:50:45 +01:00
Konstantin Käfer
509b223fbf
animate northing
2014-01-17 13:33:39 +01:00
Konstantin Käfer
c01719bc04
make bundle on mac os x and persist settings
2014-01-16 13:53:10 +01:00
Konstantin Käfer
8fd762b5f3
use larger window by default
2014-01-16 10:54:33 +01:00
Konstantin Käfer
a3a5a96bfe
add keyboard shortcuts for resetting position
2014-01-16 10:54:02 +01:00
Konstantin Käfer
44a0f98fe5
retain child tiles
2014-01-15 11:34:41 +01:00
Konstantin Käfer
60a8fdca57
fix runtime errors
2014-01-14 16:29:20 +01:00
Konstantin Käfer
654972bb3f
cmake + tile loading
2014-01-13 18:07:13 +01:00
Konstantin Käfer
16d0c83df2
copy rotation behavior from js version
2014-01-09 11:04:56 +01:00
Konstantin Käfer
a7205b339e
double click to zoom
2014-01-08 18:45:35 +01:00
Konstantin Käfer
04d9d6b9f9
rotation support
2014-01-08 17:31:35 +01:00