]>
Pileus Git - grits/log
Andy Spencer [Sun, 24 Oct 2010 11:57:09 +0000 (11:57 +0000)]
Move OpenGL code from GisOpenGL to objects
Add draw functions to GisObjectClass which should be set by subclasses.
This allows outside object types to be written in the normal way
(instead of always using GisCallback).
This also moves a lot of drawing code out of GisOpenGL which should
prevent it from becoming too big.
Unfortunately, there are some pesky dependency problems between
GisObject/GisViewer/GisOpenGL/GTK now. For example, Wms pulls in
GisTile, which pulls in GisViewer/GisViewer, which pulls in all of GTK.
Andy Spencer [Sun, 24 Oct 2010 11:50:15 +0000 (11:50 +0000)]
Use GisBounds for height_func instead of GisTile
Andy Spencer [Sun, 24 Oct 2010 11:40:30 +0000 (11:40 +0000)]
Rename GisBBox to GisBounds
It sounds better..
Andy Spencer [Fri, 10 Sep 2010 03:12:59 +0000 (03:12 +0000)]
Add "Description of a Project" file
Andy Spencer [Tue, 18 May 2010 03:25:44 +0000 (03:25 +0000)]
Switch g_strcmp0 to plain strcmp for glib < 2.16
Andy Spencer [Sun, 16 May 2010 23:42:12 +0000 (23:42 +0000)]
Version bump for 0.4.1
Andy Spencer [Wed, 12 May 2010 03:37:58 +0000 (03:37 +0000)]
Version 0.4
Andy Spencer [Mon, 10 May 2010 05:55:19 +0000 (05:55 +0000)]
Version bump to -p1
Andy Spencer [Mon, 10 May 2010 05:35:40 +0000 (05:35 +0000)]
Add more files to dist
Andy Spencer [Mon, 10 May 2010 05:34:23 +0000 (05:34 +0000)]
Fix compiler warnings
Andy Spencer [Thu, 6 May 2010 06:37:49 +0000 (06:37 +0000)]
Version bump to 0.4-p0
Andy Spencer [Wed, 5 May 2010 07:40:39 +0000 (07:40 +0000)]
Fix some possible memory issues in GisHttp
Andy Spencer [Wed, 5 May 2010 05:51:23 +0000 (05:51 +0000)]
Add support for hidden objects
Andy Spencer [Mon, 3 May 2010 08:17:37 +0000 (08:17 +0000)]
Move GisChunkCallback calls to the main threads
Hopefully fix some more Win32 bugs
Andy Spencer [Mon, 3 May 2010 07:43:11 +0000 (07:43 +0000)]
Move gdk_pixbuf calls to main thread
Hopefully this will fix some Win32 issues
Andy Spencer [Mon, 3 May 2010 05:16:43 +0000 (05:16 +0000)]
Load marker from callback in GisPluginTest
Andy Spencer [Mon, 3 May 2010 04:38:28 +0000 (04:38 +0000)]
Add texture coords to tiles
Andy Spencer [Mon, 3 May 2010 01:10:45 +0000 (01:10 +0000)]
Use 2^x textures for GisMarker
Andy Spencer [Sun, 2 May 2010 06:24:09 +0000 (06:24 +0000)]
Adding OpenGL info query example
Andy Spencer [Sun, 2 May 2010 01:31:59 +0000 (01:31 +0000)]
Win32 build fixes
Andy Spencer [Sat, 1 May 2010 07:17:04 +0000 (07:17 +0000)]
Miscellaneous bug fixes
- Lots of plugged memory leaks
- Lots of small improvements
Andy Spencer [Sat, 1 May 2010 00:00:32 +0000 (00:00 +0000)]
Win32 port
- Use conditional -fPIC
- All Win32 is PIC
- Use conditional -static
- -static on Win32 causes double DLL includes
- Add "b" flag to fopen
- Manually fseek when appending
- Otherwise ftell is incorrect
Andy Spencer [Mon, 26 Apr 2010 04:52:47 +0000 (04:52 +0000)]
Improve Z-range in OpenGL
This keeps radars of interfering with each other quite so badly
Andy Spencer [Mon, 26 Apr 2010 04:51:27 +0000 (04:51 +0000)]
Improve threading
- Clean up some gdk_thread_{enter,leave} calls
- Fix bug in gis_viewer_add (linked list handling)
- Call gtk_gl_init from gis-test (not sure if this is important)
Andy Spencer [Mon, 26 Apr 2010 04:49:44 +0000 (04:49 +0000)]
Fix gis_http_available bugs
- Used wrong RE
- Used wrong subexpression reference
Andy Spencer [Mon, 19 Apr 2010 06:28:18 +0000 (06:28 +0000)]
Add locking when modifying for viewer object lists
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.
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)
Andy Spencer [Mon, 19 Apr 2010 06:24:23 +0000 (06:24 +0000)]
Move cache name building to separate function
Andy Spencer [Sat, 17 Apr 2010 06:27:39 +0000 (06:27 +0000)]
Set time to current by default
Andy Spencer [Mon, 15 Feb 2010 18:46:30 +0000 (18:46 +0000)]
Use time_t for times instead of strings
Andy Spencer [Mon, 15 Feb 2010 18:46:13 +0000 (18:46 +0000)]
Add better locking in GisOpenGL
Andy Spencer [Mon, 15 Feb 2010 18:45:49 +0000 (18:45 +0000)]
Move teapot to overlay level
Andy Spencer [Sat, 13 Feb 2010 00:30:35 +0000 (00:30 +0000)]
Fix header in teapot example
Andy Spencer [Fri, 12 Feb 2010 22:55:25 +0000 (22:55 +0000)]
Convert from point to bounding box visibility test
Andy Spencer [Fri, 12 Feb 2010 21:55:49 +0000 (21:55 +0000)]
Add horizon test
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
Andy Spencer [Fri, 12 Feb 2010 18:10:58 +0000 (18:10 +0000)]
Update to ll2m
Andy Spencer [Wed, 10 Feb 2010 14:09:42 +0000 (14:09 +0000)]
Avoid excess updates
Andy Spencer [Wed, 10 Feb 2010 13:57:30 +0000 (13:57 +0000)]
Don't install test plugin
Andy Spencer [Wed, 10 Feb 2010 13:35:32 +0000 (13:35 +0000)]
Fix marker locations
Andy Spencer [Wed, 10 Feb 2010 13:19:14 +0000 (13:19 +0000)]
Call on_configure from on_realize
Andy Spencer [Wed, 10 Feb 2010 13:18:03 +0000 (13:18 +0000)]
Set size request for viewer in gis-demo
Andy Spencer [Wed, 10 Feb 2010 13:13:50 +0000 (13:13 +0000)]
Add outline to markers
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
Andy Spencer [Tue, 9 Feb 2010 19:29:12 +0000 (19:29 +0000)]
Use a different cursor
Andy Spencer [Tue, 9 Feb 2010 19:15:06 +0000 (19:15 +0000)]
Add mouse wheel zooming
Andy Spencer [Tue, 9 Feb 2010 18:59:53 +0000 (18:59 +0000)]
Return NULL when GisHttp fetch fails
Andy Spencer [Tue, 9 Feb 2010 17:31:18 +0000 (17:31 +0000)]
Avoid excess threads with g_mutex_trylock
Andy Spencer [Tue, 9 Feb 2010 17:17:57 +0000 (17:17 +0000)]
Use .part files for downloads
Andy Spencer [Tue, 9 Feb 2010 17:03:52 +0000 (17:03 +0000)]
Use threaded fetch for first tile
Andy Spencer [Tue, 9 Feb 2010 15:17:43 +0000 (15:17 +0000)]
Add code to draw tile borders
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.
Andy Spencer [Mon, 8 Feb 2010 23:36:50 +0000 (23:36 +0000)]
Add DOLT to make compiling go faster
Andy Spencer [Mon, 8 Feb 2010 22:34:06 +0000 (22:34 +0000)]
Remove pan message
Andy Spencer [Mon, 8 Feb 2010 22:31:02 +0000 (22:31 +0000)]
Document GisPluginTest
Andy Spencer [Mon, 8 Feb 2010 22:30:44 +0000 (22:30 +0000)]
Document GisPluginSat
Andy Spencer [Mon, 8 Feb 2010 22:30:40 +0000 (22:30 +0000)]
Document GisPluginMap
Andy Spencer [Mon, 8 Feb 2010 22:30:38 +0000 (22:30 +0000)]
Document GisPluginEnv
Andy Spencer [Mon, 8 Feb 2010 22:30:34 +0000 (22:30 +0000)]
Document GisPluginElev
Andy Spencer [Mon, 8 Feb 2010 22:30:11 +0000 (22:30 +0000)]
Document GisTile
Andy Spencer [Mon, 8 Feb 2010 22:30:02 +0000 (22:30 +0000)]
Document GisCallback
Andy Spencer [Mon, 8 Feb 2010 22:29:55 +0000 (22:29 +0000)]
Document GisMarker
Andy Spencer [Mon, 8 Feb 2010 22:29:48 +0000 (22:29 +0000)]
Document GisObject
Andy Spencer [Mon, 8 Feb 2010 22:29:37 +0000 (22:29 +0000)]
Document GisWms
Andy Spencer [Mon, 8 Feb 2010 22:29:31 +0000 (22:29 +0000)]
Document GisHttp
Andy Spencer [Mon, 8 Feb 2010 22:29:22 +0000 (22:29 +0000)]
Document GisData
Andy Spencer [Mon, 8 Feb 2010 22:27:47 +0000 (22:27 +0000)]
Document ROAM
Andy Spencer [Mon, 8 Feb 2010 22:27:42 +0000 (22:27 +0000)]
Document GPQueue
Andy Spencer [Mon, 8 Feb 2010 22:27:15 +0000 (22:27 +0000)]
Document GisPlugin
Andy Spencer [Mon, 8 Feb 2010 22:26:51 +0000 (22:26 +0000)]
Document gis-util
Andy Spencer [Mon, 8 Feb 2010 22:26:21 +0000 (22:26 +0000)]
Document GisPrefs
Andy Spencer [Mon, 8 Feb 2010 22:26:13 +0000 (22:26 +0000)]
Document GisOpenGL
Andy Spencer [Mon, 8 Feb 2010 22:24:41 +0000 (22:24 +0000)]
Document GisViewer
Andy Spencer [Mon, 8 Feb 2010 22:20:49 +0000 (22:20 +0000)]
Miscellaneous updates, mostly aesthetic
Andy Spencer [Mon, 8 Feb 2010 22:07:08 +0000 (22:07 +0000)]
Replace ugly macros with ugly boilerplate
Andy Spencer [Mon, 8 Feb 2010 11:28:53 +0000 (11:28 +0000)]
Add man page for gis-demo
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.
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.
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.
Andy Spencer [Mon, 8 Feb 2010 05:14:29 +0000 (05:14 +0000)]
Update todo with some implementation ideas
Andy Spencer [Mon, 8 Feb 2010 05:13:18 +0000 (05:13 +0000)]
Fix SRTM url
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
Andy Spencer [Sat, 6 Feb 2010 15:08:06 +0000 (15:08 +0000)]
Misc pointer fixes
Andy Spencer [Sat, 6 Feb 2010 14:55:54 +0000 (14:55 +0000)]
GisTile: use g_object_unref instead of g_free
Andy Spencer [Sat, 6 Feb 2010 12:58:35 +0000 (12:58 +0000)]
Update TODO
Andy Spencer [Sat, 6 Feb 2010 12:55:27 +0000 (12:55 +0000)]
Debugging and memory checking
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
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
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.
Andy Spencer [Sat, 6 Feb 2010 11:33:45 +0000 (11:33 +0000)]
gis-demo: fix memory issues, cleanup
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.
Andy Spencer [Sat, 6 Feb 2010 03:41:54 +0000 (03:41 +0000)]
Add better suppressions file
Andy Spencer [Fri, 5 Feb 2010 13:31:12 +0000 (13:31 +0000)]
Convert GisWms to use GisHttp
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.
Andy Spencer [Fri, 5 Feb 2010 11:00:12 +0000 (11:00 +0000)]
Update docs
Andy Spencer [Fri, 5 Feb 2010 10:54:50 +0000 (10:54 +0000)]
Move data access to a subdirectory
Andy Spencer [Fri, 5 Feb 2010 10:52:36 +0000 (10:52 +0000)]
Fix one more include folder
Andy Spencer [Wed, 3 Feb 2010 12:39:42 +0000 (12:39 +0000)]
Fix include folders
Andy Spencer [Wed, 3 Feb 2010 12:10:54 +0000 (12:10 +0000)]
Split gis-object.{c,h} -> gis-{object,marker,callback}.{c,h}