]> Pileus Git - grits/log
grits
14 years agoDon't install test plugin
Andy Spencer [Wed, 10 Feb 2010 13:57:30 +0000 (13:57 +0000)]
Don't install test plugin

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

14 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

14 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

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

14 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

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

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

14 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

14 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

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

14 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

14 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

14 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.

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

14 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

14 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.

14 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.

14 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.

14 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

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

14 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

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

14 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

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

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

14 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

14 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

14 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.

14 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

14 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.

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

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

14 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.

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

14 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

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

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

14 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}

14 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

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

14 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.

14 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.

14 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

14 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

14 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

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

14 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

14 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

14 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.

14 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.

14 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

14 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

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

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

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

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

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

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

14 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

14 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

14 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

14 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

14 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.

14 years agoUse glAlphaFunc for transparency for now
Andy Spencer [Tue, 26 Jan 2010 01:05:26 +0000 (01:05 +0000)]
Use glAlphaFunc for transparency for now

14 years agoFix rendering at the poles
Andy Spencer [Tue, 26 Jan 2010 01:05:09 +0000 (01:05 +0000)]
Fix rendering at the poles

14 years agoCleanup memory on exit
Andy Spencer [Mon, 25 Jan 2010 21:52:24 +0000 (21:52 +0000)]
Cleanup memory on exit

14 years agoHandle broken images gracefully
Andy Spencer [Mon, 25 Jan 2010 20:52:35 +0000 (20:52 +0000)]
Handle broken images gracefully

Don't add broken data to tiles and delete broken pixmaps from disk.

Don't attempt to re-fetch it though, since that could infinite loop.

14 years agoLock the sphere when working with volatile triangles
Andy Spencer [Mon, 25 Jan 2010 20:43:27 +0000 (20:43 +0000)]
Lock the sphere when working with volatile triangles

As far as I know, this doesn't fix anything, but it's probably a good
idea incase threading causes issues.

14 years agoMinor debugging, precision, and performance updates
Andy Spencer [Mon, 25 Jan 2010 20:39:15 +0000 (20:39 +0000)]
Minor debugging, precision, and performance updates

- Print paths when loading tiles

- Only update heights of vertices inside a tile, instead of all the
  vertices on intersecting triangles.

- Use g_list_prepend instead of g_list_append

14 years agoFix holes in the earth
Andy Spencer [Mon, 25 Jan 2010 20:35:13 +0000 (20:35 +0000)]
Fix holes in the earth

- Add user_data to tile before updating height, otherwise the latest
  tile doesn't get used.

- Add flag to get_intersect to fetch all triangles, not just leaves.
  Update these heights when setting height funcs.

14 years agoFix wireframe mode
Andy Spencer [Mon, 25 Jan 2010 20:34:51 +0000 (20:34 +0000)]
Fix wireframe mode

14 years agoAdd gis-object to doc index
Andy Spencer [Mon, 25 Jan 2010 20:19:58 +0000 (20:19 +0000)]
Add gis-object to doc index

14 years agoUpdate teapot example with callback object
Andy Spencer [Mon, 25 Jan 2010 09:51:53 +0000 (09:51 +0000)]
Update teapot example with callback object

14 years agoAdd gis-object.h to includes dist
Andy Spencer [Mon, 25 Jan 2010 09:51:04 +0000 (09:51 +0000)]
Add gis-object.h to includes dist

14 years agoMisc OpenGL refactoring and minor updates
Andy Spencer [Mon, 25 Jan 2010 08:10:27 +0000 (08:10 +0000)]
Misc OpenGL refactoring and minor updates

14 years agoRemove site from GisViewer
Andy Spencer [Mon, 25 Jan 2010 08:07:29 +0000 (08:07 +0000)]
Remove site from GisViewer

AWeather determines site based on location now.

14 years agoConvert for expose callback to callback objects
Andy Spencer [Mon, 25 Jan 2010 08:03:37 +0000 (08:03 +0000)]
Convert for expose callback to callback objects

Objects are now added using a level and a sorting parameter
- Levels are rendered in order
- Semi-transparent objects should be added with sort=TRUE
  (note: this is currently broken)