grits
10 years agoAdd locking when modifying for viewer object lists
Andy Spencer [Mon, 19 Apr 2010 06:28:18 +0000 (06:28 +0000)]
Add locking when modifying for viewer object lists

10 years agoAdd z-index to tiles
Andy Spencer [Mon, 19 Apr 2010 06:27:17 +0000 (06:27 +0000)]
Add z-index to tiles

Tiles are still drawn on the ground, Z-indexes are used as polygon
offsets so that you can draw things like composite radar images above
the satellite imagery.

10 years agoAdd gis_http_available function
Andy Spencer [Mon, 19 Apr 2010 06:25:23 +0000 (06:25 +0000)]
Add gis_http_available function

This searches online and in the cache for flies matching a pattern and
adds them to a list. Typically it would be used to look for different
version of the same file. (i.e. at different points in time)

10 years agoMove cache name building to separate function
Andy Spencer [Mon, 19 Apr 2010 06:24:23 +0000 (06:24 +0000)]
Move cache name building to separate function

10 years agoSet time to current by default
Andy Spencer [Sat, 17 Apr 2010 06:27:39 +0000 (06:27 +0000)]
Set time to current by default

10 years agoUse time_t for times instead of strings
Andy Spencer [Mon, 15 Feb 2010 18:46:30 +0000 (18:46 +0000)]
Use time_t for times instead of strings

10 years agoAdd better locking in GisOpenGL
Andy Spencer [Mon, 15 Feb 2010 18:46:13 +0000 (18:46 +0000)]
Add better locking in GisOpenGL

10 years agoMove teapot to overlay level
Andy Spencer [Mon, 15 Feb 2010 18:45:49 +0000 (18:45 +0000)]
Move teapot to overlay level

10 years agoFix header in teapot example
Andy Spencer [Sat, 13 Feb 2010 00:30:35 +0000 (00:30 +0000)]
Fix header in teapot example

10 years agoConvert from point to bounding box visibility test
Andy Spencer [Fri, 12 Feb 2010 22:55:25 +0000 (22:55 +0000)]
Convert from point to bounding box visibility test

10 years agoAdd horizon test
Andy Spencer [Fri, 12 Feb 2010 21:55:49 +0000 (21:55 +0000)]
Add horizon test

10 years agoMove test plugin back to install
Andy Spencer [Fri, 12 Feb 2010 21:54:56 +0000 (21:54 +0000)]
Move test plugin back to install

If it's not in plugins, libtool won't make a .so for some reason..
.. silly libtool

10 years agoUpdate to ll2m
Andy Spencer [Fri, 12 Feb 2010 18:10:58 +0000 (18:10 +0000)]
Update to ll2m

10 years agoAvoid excess updates
Andy Spencer [Wed, 10 Feb 2010 14:09:42 +0000 (14:09 +0000)]
Avoid excess updates

10 years agoDon't install test plugin
Andy Spencer [Wed, 10 Feb 2010 13:57:30 +0000 (13:57 +0000)]
Don't install test plugin

10 years agoFix marker locations
Andy Spencer [Wed, 10 Feb 2010 13:35:32 +0000 (13:35 +0000)]
Fix marker locations

10 years agoCall on_configure from on_realize
Andy Spencer [Wed, 10 Feb 2010 13:19:14 +0000 (13:19 +0000)]
Call on_configure from on_realize

10 years agoSet size request for viewer in gis-demo
Andy Spencer [Wed, 10 Feb 2010 13:18:03 +0000 (13:18 +0000)]
Set size request for viewer in gis-demo

10 years agoAdd outline to markers
Andy Spencer [Wed, 10 Feb 2010 13:13:50 +0000 (13:13 +0000)]
Add outline to markers

10 years agoFix up primitive datatypes
Andy Spencer [Wed, 10 Feb 2010 12:27:19 +0000 (12:27 +0000)]
Fix up primitive datatypes

- Move GisPoint to gis-util.[ch]
- Add a GisBBox for n,s,e,w coords

10 years agoUse a different cursor
Andy Spencer [Tue, 9 Feb 2010 19:29:12 +0000 (19:29 +0000)]
Use a different cursor

10 years agoAdd mouse wheel zooming
Andy Spencer [Tue, 9 Feb 2010 19:15:06 +0000 (19:15 +0000)]
Add mouse wheel zooming

10 years agoReturn NULL when GisHttp fetch fails
Andy Spencer [Tue, 9 Feb 2010 18:59:53 +0000 (18:59 +0000)]
Return NULL when GisHttp fetch fails

10 years agoAvoid excess threads with g_mutex_trylock
Andy Spencer [Tue, 9 Feb 2010 17:31:18 +0000 (17:31 +0000)]
Avoid excess threads with g_mutex_trylock

10 years agoUse .part files for downloads
Andy Spencer [Tue, 9 Feb 2010 17:17:57 +0000 (17:17 +0000)]
Use .part files for downloads

10 years agoUse threaded fetch for first tile
Andy Spencer [Tue, 9 Feb 2010 17:03:52 +0000 (17:03 +0000)]
Use threaded fetch for first tile

10 years agoAdd code to draw tile borders
Andy Spencer [Tue, 9 Feb 2010 15:17:43 +0000 (15:17 +0000)]
Add code to draw tile borders

10 years agoLazy tile splitting
Andy Spencer [Tue, 9 Feb 2010 15:08:07 +0000 (15:08 +0000)]
Lazy tile splitting

When a tile is split, only the needed children are loaded. When
rendered, the parent tile must render in places of the non-loaded
children.

10 years agoAdd DOLT to make compiling go faster
Andy Spencer [Mon, 8 Feb 2010 23:36:50 +0000 (23:36 +0000)]
Add DOLT to make compiling go faster

10 years agoRemove pan message
Andy Spencer [Mon, 8 Feb 2010 22:34:06 +0000 (22:34 +0000)]
Remove pan message

10 years agoDocument GisPluginTest
Andy Spencer [Mon, 8 Feb 2010 22:31:02 +0000 (22:31 +0000)]
Document GisPluginTest

10 years agoDocument GisPluginSat
Andy Spencer [Mon, 8 Feb 2010 22:30:44 +0000 (22:30 +0000)]
Document GisPluginSat

10 years agoDocument GisPluginMap
Andy Spencer [Mon, 8 Feb 2010 22:30:40 +0000 (22:30 +0000)]
Document GisPluginMap

10 years agoDocument GisPluginEnv
Andy Spencer [Mon, 8 Feb 2010 22:30:38 +0000 (22:30 +0000)]
Document GisPluginEnv

10 years agoDocument GisPluginElev
Andy Spencer [Mon, 8 Feb 2010 22:30:34 +0000 (22:30 +0000)]
Document GisPluginElev

10 years agoDocument GisTile
Andy Spencer [Mon, 8 Feb 2010 22:30:11 +0000 (22:30 +0000)]
Document GisTile

10 years agoDocument GisCallback
Andy Spencer [Mon, 8 Feb 2010 22:30:02 +0000 (22:30 +0000)]
Document GisCallback

10 years agoDocument GisMarker
Andy Spencer [Mon, 8 Feb 2010 22:29:55 +0000 (22:29 +0000)]
Document GisMarker

10 years agoDocument GisObject
Andy Spencer [Mon, 8 Feb 2010 22:29:48 +0000 (22:29 +0000)]
Document GisObject

10 years agoDocument GisWms
Andy Spencer [Mon, 8 Feb 2010 22:29:37 +0000 (22:29 +0000)]
Document GisWms

10 years agoDocument GisHttp
Andy Spencer [Mon, 8 Feb 2010 22:29:31 +0000 (22:29 +0000)]
Document GisHttp

10 years agoDocument GisData
Andy Spencer [Mon, 8 Feb 2010 22:29:22 +0000 (22:29 +0000)]
Document GisData

10 years agoDocument ROAM
Andy Spencer [Mon, 8 Feb 2010 22:27:47 +0000 (22:27 +0000)]
Document ROAM

10 years agoDocument GPQueue
Andy Spencer [Mon, 8 Feb 2010 22:27:42 +0000 (22:27 +0000)]
Document GPQueue

10 years agoDocument GisPlugin
Andy Spencer [Mon, 8 Feb 2010 22:27:15 +0000 (22:27 +0000)]
Document GisPlugin

10 years agoDocument gis-util
Andy Spencer [Mon, 8 Feb 2010 22:26:51 +0000 (22:26 +0000)]
Document gis-util

10 years agoDocument GisPrefs
Andy Spencer [Mon, 8 Feb 2010 22:26:21 +0000 (22:26 +0000)]
Document GisPrefs

10 years agoDocument GisOpenGL
Andy Spencer [Mon, 8 Feb 2010 22:26:13 +0000 (22:26 +0000)]
Document GisOpenGL

10 years agoDocument GisViewer
Andy Spencer [Mon, 8 Feb 2010 22:24:41 +0000 (22:24 +0000)]
Document GisViewer

10 years agoMiscellaneous updates, mostly aesthetic
Andy Spencer [Mon, 8 Feb 2010 22:20:49 +0000 (22:20 +0000)]
Miscellaneous updates, mostly aesthetic

10 years agoReplace ugly macros with ugly boilerplate
Andy Spencer [Mon, 8 Feb 2010 22:07:08 +0000 (22:07 +0000)]
Replace ugly macros with ugly boilerplate

10 years agoAdd man page for gis-demo
Andy Spencer [Mon, 8 Feb 2010 11:28:53 +0000 (11:28 +0000)]
Add man page for gis-demo

10 years agoConvert self to real names
Andy Spencer [Mon, 8 Feb 2010 10:47:06 +0000 (10:47 +0000)]
Convert self to real names

This follows the conventions used by the rest of the G world..

We were also using real names in the headers anyway, this makes them
consistent.

10 years agoSort of fix panning when rotated
Andy Spencer [Mon, 8 Feb 2010 05:38:00 +0000 (05:38 +0000)]
Sort of fix panning when rotated

Use the current rotation to move the expected direction. This isn't
accurate because it uses lat-lon which aren't Cartesian coordinates.

10 years agoForce WMS to only update once
Andy Spencer [Mon, 8 Feb 2010 05:14:59 +0000 (05:14 +0000)]
Force WMS to only update once

This can cause problems with halfway downloaded files. In the future it
would be better to save partially downloaded data into a .part file and
the continue that even with GIS_ONCE.

10 years agoUpdate todo with some implementation ideas
Andy Spencer [Mon, 8 Feb 2010 05:14:29 +0000 (05:14 +0000)]
Update todo with some implementation ideas

10 years agoFix SRTM url
Andy Spencer [Mon, 8 Feb 2010 05:13:18 +0000 (05:13 +0000)]
Fix SRTM url

10 years agoAdd mouse support
Andy Spencer [Mon, 8 Feb 2010 05:03:56 +0000 (05:03 +0000)]
Add mouse support

Left mouse button:   Panning
Middle mouse button: Zooming
Right mouse button:  Rotation

10 years agoMisc pointer fixes
Andy Spencer [Sat, 6 Feb 2010 15:08:06 +0000 (15:08 +0000)]
Misc pointer fixes

10 years agoGisTile: use g_object_unref instead of g_free
Andy Spencer [Sat, 6 Feb 2010 14:55:54 +0000 (14:55 +0000)]
GisTile: use g_object_unref instead of g_free

10 years agoUpdate TODO
Andy Spencer [Sat, 6 Feb 2010 12:58:35 +0000 (12:58 +0000)]
Update TODO

10 years agoDebugging and memory checking
Andy Spencer [Sat, 6 Feb 2010 12:55:27 +0000 (12:55 +0000)]
Debugging and memory checking

10 years agoFix various memory leaks, mostly in plugins
Andy Spencer [Sat, 6 Feb 2010 11:46:34 +0000 (11:46 +0000)]
Fix various memory leaks, mostly in plugins

- Keep references to objects in plugins and remove/free them when the
  plugins are destroyed.
- g_close_dir in gis-plugin.c

10 years agoGisViewer: Improve add/remove functions
Andy Spencer [Sat, 6 Feb 2010 11:42:45 +0000 (11:42 +0000)]
GisViewer: Improve add/remove functions

- Free the data stored in the tree
- Fix how data is stored (use our own linked list handling)
- Remove function now returns the original object

10 years agoGisViewer: remove begin/end functions
Andy Spencer [Sat, 6 Feb 2010 11:37:18 +0000 (11:37 +0000)]
GisViewer: remove begin/end functions

There's no reason for recreating the OpenGL context all the time, just
create it once at the beginning.

10 years agogis-demo: fix memory issues, cleanup
Andy Spencer [Sat, 6 Feb 2010 11:33:45 +0000 (11:33 +0000)]
gis-demo: fix memory issues, cleanup

10 years ago[Re]add gis-test
Andy Spencer [Sat, 6 Feb 2010 11:31:14 +0000 (11:31 +0000)]
[Re]add gis-test

Use gis-test for testing, valgrind, etc. It's simpler so it's easier to
debug, but not suitable for demonstrations.

10 years agoAdd better suppressions file
Andy Spencer [Sat, 6 Feb 2010 03:41:54 +0000 (03:41 +0000)]
Add better suppressions file

10 years agoConvert GisWms to use GisHttp
Andy Spencer [Fri, 5 Feb 2010 13:31:12 +0000 (13:31 +0000)]
Convert GisWms to use GisHttp

10 years agoSplit gis-data into data and http parts
Andy Spencer [Fri, 5 Feb 2010 13:03:25 +0000 (13:03 +0000)]
Split gis-data into data and http parts

gis-data:
  Generic things such as the callback types and cache types.

gis-http:
  HTTP related caching functions (what was GisData)

  This was almost entirely refactored to be single threaded. It also
  uses a GisHttp structure to store data between calls to the fetch
  function. Plugins, etc should call the fetch function from a thread to
  avoid blocking the UI.

10 years agoUpdate docs
Andy Spencer [Fri, 5 Feb 2010 11:00:12 +0000 (11:00 +0000)]
Update docs

10 years agoMove data access to a subdirectory
Andy Spencer [Fri, 5 Feb 2010 10:54:50 +0000 (10:54 +0000)]
Move data access to a subdirectory

10 years agoFix one more include folder
Andy Spencer [Fri, 5 Feb 2010 10:52:36 +0000 (10:52 +0000)]
Fix one more include folder

10 years agoFix include folders
Andy Spencer [Wed, 3 Feb 2010 12:39:42 +0000 (12:39 +0000)]
Fix include folders

10 years agoSplit gis-object.{c,h} -> gis-{object,marker,callback}.{c,h}
Andy Spencer [Wed, 3 Feb 2010 12:10:54 +0000 (12:10 +0000)]
Split gis-object.{c,h} -> gis-{object,marker,callback}.{c,h}

10 years agoMove objects to a subdirectory
Andy Spencer [Wed, 3 Feb 2010 11:53:00 +0000 (11:53 +0000)]
Move objects to a subdirectory

- Organize automake files a bit while we're at it

10 years agoUpdate API docs
Andy Spencer [Wed, 3 Feb 2010 09:16:57 +0000 (09:16 +0000)]
Update API docs

10 years agoConvert GisTile to GisObject
Andy Spencer [Wed, 3 Feb 2010 09:02:05 +0000 (09:02 +0000)]
Convert GisTile to GisObject

- This lets us remove the special gis_veiwer_render_tile[s] interfaces.

- We might want to add back in a similar gis_viewer_draw_object at some
  point.

10 years agoConvert GisObject to GObject
Andy Spencer [Wed, 3 Feb 2010 08:24:51 +0000 (08:24 +0000)]
Convert GisObject to GObject

- Sigh... oh well, at least we have evil macros to make ourselves feel
  better about this.

10 years agoBetter error checking for elev and sat plugins
Andy Spencer [Wed, 3 Feb 2010 02:13:08 +0000 (02:13 +0000)]
Better error checking for elev and sat plugins

10 years agomap: colormap for cities and linear texture filtering
Andy Spencer [Wed, 3 Feb 2010 02:12:36 +0000 (02:12 +0000)]
map: colormap for cities and linear texture filtering

10 years agogis-demo: avoid double-loading plugins
Andy Spencer [Wed, 3 Feb 2010 02:11:33 +0000 (02:11 +0000)]
gis-demo: avoid double-loading plugins

10 years agoUpdate TODO with data items
Andy Spencer [Wed, 3 Feb 2010 02:10:48 +0000 (02:10 +0000)]
Update TODO with data items

10 years agoAdd color mapping to map plugin
Andy Spencer [Thu, 28 Jan 2010 09:43:28 +0000 (09:43 +0000)]
Add color mapping to map plugin

10 years agoAdd blank background color to env
Andy Spencer [Thu, 28 Jan 2010 09:43:04 +0000 (09:43 +0000)]
Add blank background color to env

10 years agoImprove gis-demo
Andy Spencer [Thu, 28 Jan 2010 08:49:26 +0000 (08:49 +0000)]
Improve gis-demo

GisDemo now lists plugins and works with preferences to load and restore
offline settings and enabled plugins.

10 years agoMove around a lot of preferences management
Andy Spencer [Thu, 28 Jan 2010 08:48:23 +0000 (08:48 +0000)]
Move around a lot of preferences management

Things like setting offline, and plugin usage are not handled by libgis
directly instead of by the main programs.

10 years agoRename tile_test to tile-test
Andy Spencer [Thu, 28 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Rename tile_test to tile-test

10 years agoRename gis_test to gis-demo
Andy Spencer [Thu, 28 Jan 2010 00:12:52 +0000 (00:12 +0000)]
Rename gis_test to gis-demo

10 years agoRename SRTM to Elev
Andy Spencer [Thu, 28 Jan 2010 00:06:18 +0000 (00:06 +0000)]
Rename SRTM to Elev

10 years agoRename BMNG to Sat
Andy Spencer [Thu, 28 Jan 2010 00:03:43 +0000 (00:03 +0000)]
Rename BMNG to Sat

10 years agoUpdate copyright and email address
Andy Spencer [Wed, 27 Jan 2010 23:48:01 +0000 (23:48 +0000)]
Update copyright and email address

10 years agoUpdate TODO
Andy Spencer [Wed, 27 Jan 2010 22:26:47 +0000 (22:26 +0000)]
Update TODO

10 years agoFix null pointer dereference
Andy Spencer [Wed, 27 Jan 2010 20:54:56 +0000 (20:54 +0000)]
Fix null pointer dereference

10 years agoReorder some sources
Andy Spencer [Wed, 27 Jan 2010 20:54:32 +0000 (20:54 +0000)]
Reorder some sources

10 years agoAdding map plugin using OpenStreetMap data
Andy Spencer [Wed, 27 Jan 2010 20:48:45 +0000 (20:48 +0000)]
Adding map plugin using OpenStreetMap data

10 years agoUse G_PI instead of M_PI
Andy Spencer [Wed, 27 Jan 2010 20:40:28 +0000 (20:40 +0000)]
Use G_PI instead of M_PI

10 years agoMove wms_test to tile_test
Andy Spencer [Wed, 27 Jan 2010 20:38:49 +0000 (20:38 +0000)]
Move wms_test to tile_test

10 years agoUse argv for loading plugins with gis_test
Andy Spencer [Tue, 26 Jan 2010 05:23:40 +0000 (05:23 +0000)]
Use argv for loading plugins with gis_test

10 years agoStub out an environment plugin.
Andy Spencer [Tue, 26 Jan 2010 01:58:28 +0000 (01:58 +0000)]
Stub out an environment plugin.

TODO: do a halfway decent sky and stars rendering.