]> git.street.me.uk Git - andy/viking.git/blob - ChangeLog
fix array overflow
[andy/viking.git] / ChangeLog
1 2006-11-30
2 Alex Foobarian <foobarian@gmail.com>:
3         * Added Quy Tonthat's patch to fix a bug in Track Properties
4
5 2006-11-29
6 Alex Foobarian <foobarian@gmail.com>:
7         * Added patch by Quy Tonthat <mlist@exemail.com.au> to fix a crash bug
8         
9 2006-11-12
10 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
11         * Add expat explicit dependency
12
13 2006-10-31
14 Alex Foobarian <foobarian@gmail.com>:
15         * Visual feedback for moving waypoints
16
17 2006-10-30
18 Alex Foobarian <foobarian@gmail.com>:
19         * Created standard Edit menu
20         * Implemented Cut for trackpoints and waypoints
21         * When moving trackpoints, we now draw one under the cursor for visual feedback
22
23 2006-10-26
24 Alex Foobarian <foobarian@gmail.com>:
25         * Cleared up the drawing modes and map type descriptions
26         * Updated google version string to make it work in Europe
27         * Added Cut/Copy/Paste shortcuts to right-click menus
28         * Compacted the track properties dialog
29
30 2006-10-23
31 Alex Foobarian <foobarian@gmail.com>:
32         * Introduced a toolbar tool interface, converted existing tools to use it
33         * As a result, ruler drawing bugs are gone
34         * Sped up ruler drawing by increasing the redraw priority
35
36 2006-08-15
37 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
38     * Add implicit DMS->DDD conversions in waypoints dialogs
39
40 2006-07-26
41 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
42         * src/degrees_converters.c, src/degrees_converters.h,
43           test/degrees_converter.c: add dec -> DDD conversion
44         * src/degrees_converters.c, src/degrees_converters.h,
45           test/degrees_converter.c: add dec -> DMM conversion
46         * src/degrees_converters.c: refactor dms conversions
47
48 2006-07-24
49 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
50     * Add patch for GoogleMaps from Reid Priedhorsky
51
52 2006-07-22
53 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
54         * Makefile.am, configure.ac, src/Makefile.am,
55           src/degrees_converters.c, src/degrees_converters.h,
56           test/Makefile.am, test/check_degrees_conversions.sh,
57           test/degrees_converter.c: Adding degrees conversion functions
58           (DDD/DMM/DMS)
59
60 2006-07-06
61 Evan Battaglia <gtoevan@gmx.net>
62         * ChangeLog, src/google.c: Upgrade Google Maps -- Europe
63
64 2006-07-01
65 Evan Battaglia <gtoevan@gmx.net>:
66         * Upgrade Google Maps version (yay Europe!)
67
68 2006-06-11
69 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
70         * NEWS, configure.ac: Preparing 0.1.1
71
72 2006-05-25
73 Alex Foobarian <foobarian@gmail.com>:
74         * Cleaned up the data source interface
75         * Added a setup dialog to the GPS data source, with protocol type and serial port location
76
77 2006-05-12
78 Alex Foobarian <foobarian@gmail.com>:
79         * Small fixes in Acquire from GPS code
80
81 2006-05-08  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
82         * autogen.sh: simpler method to start from CVS
83
84 2005-12-03
85 Evan Battaglia <gtoevan@gmx.net>
86         * Data sources -- check for existence of necessary things
87
88 2005-11-25
89 Evan Battaglia <gtoevan@gmx.net>
90         * Created "data sources" structure to easily add new data sources via GPS babel.
91           It's ugly now and there's a lot to be done, but I think 79-line datasources_google.c
92           shows the power of the approach.
93         * Data sources: Google & Geocaches
94
95 2005-11-23  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
96         * src/gpx.c (gpx_dtostr): add better GPX export
97 Evan Battaglia <gtoevan@gmx.net>:
98         * dtostr -> coords.c; use in gpsmapper.c and gpspoint.c (locale-independent output)
99
100 2005-11-21
101 Alex Foobarian <foobarian@gmail.com>:
102         * Fixed v-t diagram crash bug
103
104 2005-11-19
105 Alex Foobarian <foobarian@gmail.com>:
106         * GPSBabel acquire code
107
108 2005-11-18
109 Alex Foobarian <foobarian@gmail.com>:
110         * Copy/paste of individual track- and way-points updated to work between processes.
111
112 2005-11-17
113 Alex Foobarian <foobarian@gmail.com>:
114         * Copy/paste between viking processes
115         * Layer marshalling support
116
117 2005-10-28  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
118         * configure.ac: Adding --with-mapcache configure option
119         * src/config.h: Removed because no more used (generated)
120
121 2005-10-18
122 Alex Foobarian <foobarian@gmail.com>:
123         * Fix ruler declination in UTM mode
124
125 2005-10-17  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
126         * src/icons/Makefile.am: assumes the creation of icons.h
127         * src/garminsymbols.c, src/vikwindow.c: icons.h re-located
128         * src/Makefile.am: no more icons.h production
129
130 2005-10-16
131 Evan Battaglia <gtoevan@gmx.net>
132         * Fix ruler: show angle, distance even when compass off-screen.
133         * Fix bgitemcount. Background items status bar "should" be accurate now.
134
135 2005-10-13
136 Alex Foobarian <foobarian@gmail.com>:
137         * Drag and drop whole track/waypoint lists
138
139 2005-10-12
140 Alex Foobarian <foobarian@gmail.com>:
141         * Coord layer drawing for lat/lon based projections
142
143 2005-10-11
144 Alex Foobarian <foobarian@gmail.com>:
145         * Draw a compass when using a ruler
146
147 2005-10-07
148 Alex Foobarian <foobarian@gmail.com>:
149         * Added ruler drawing to the ruler tool
150
151 2005-10-06
152 Alex Foobarian <foobarian@gmail.com>:
153         * Added support for pasting coordinates in lat/lon format
154
155 2005-10-05
156 Alex Foobarian <foobarian@gmail.com>:
157         * Change clipboard so as to use GTKClipboard. Prepare for support for pasting coordinates, etc.
158 Evan Battaglia <gtoevan@gmx.net>:
159         * When pasting waypoints and tracks, do name resolution (add #2, etc)
160
161 2005-10-01
162 Evan Battaglia <gtoevan@gmx.net>:
163         * make symbols work for geocaching .loc files (and case-insensitive symbol names)
164         * Option as to whether or not to show unit scale (esp for exporting images)
165
166 2005-09-30  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
167         * configure.ac, src/Makefile.am (SUBDIRS): added auto-tools support for src/icons
168 Alex Foobarian <foobarian@gmail.com>:
169         * Added a drag_drop_request method to layer interface, updated DnD to use it
170         * Updated DND to insert layers at the point of the drop, instead of front of list
171         * Added wp symbol support to gpx
172         * Fixed name collisions during track/wp DND
173         * Layer-wide option as to whether to show waypoint symbols      
174
175 2005-09-29
176 Alex Foobarian <foobarian@gmail.com>:
177         * Added support for waypoint symbols (changing, loading, saving), and a small number of icons.
178         * Added a scale ruler
179         * Changed panning to show less "garbage" in exposed areas
180         
181 2005-09-28
182 Evan:
183         * menu.xml & icons inline
184
185 2005-09-27
186 Alex Foobarian <foobarian@gmail.com>:
187         * GtkUIManager/Toolbar
188         * DND in the LayersPanel
189 Evan:
190         * strtod -> g_strtod (i18n glitch)
191
192 2005-09-25  Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>
193         * src/globals.h (VIKING_VERSION): uses the PACKAGE_VERSION macro
194         * Makefile.am (EXTRA_DIST): handles viking-remote
195         * src/Makefile.am (AM_CFLAGS): substitution of CFLAGS by AM_CFLAGS
196         * doc/Makefile.am, doc/dev/Makefile.am: new files
197         * Makefile.am (SUBDIRS): handles doc directory
198         * configure.ac: handles doc and doc/dev directories
199
200 2005-09-16
201 Alex Foobarian <foobarian@gmail.com>: fix to v-vs-t (better drawing)
202 Evan:   * GPX fixes
203         * So Geocaching .LOC _isn't_ GPX?!?!? Oh well, it's XML...
204         * GPX write, click v-vs-t diagram
205         * Option to show stops in TRWLayer options, and stop_length
206         * Elevation plotting relative to min and max elevation in track.
207         * Option to do elevation plotting, and controlling relative height
208
209 2005-09-15
210         * 4+ hours later and voila, GPX read support
211         * Fixes in propwin if track doesn't have certain data, say so.
212
213 2005-09-14
214 Me (Evan) again:
215         * Fix USGS support
216         * Click on the elevation map to go there, so you can see where a mountain-top is etc.
217         * Don't crash on track properties of an empty track.
218
219 2005-09-13
220 Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>:
221        * bootstrap: new file to bootstrap auto-tools
222        * src/config.h (VIK_CONFIG_ALPHABETIZED_TRW): no more set via this file
223        * Makefile.am (bin_SCRIPTS): viking-remote added
224        * configure.ac: --enable-alphabetized-trw option added
225
226 Evan Battaglia <gtoevan@gmx.net>:
227        * Experimental altitude funky plotting I'm working on
228
229 2005-09-12
230 Alex Foobarian <foobarian@gmail.com>'s changes
231 * disable stops, for now (I forgot about those...)
232 * Track elevation graph: minimum altitude difference for less jagged curves
233 * Track elevation graph: gray background, blue foreground
234 * Track elevation graph: lines to clearly show absolute elevation
235 * New velocity-vs-time graph & calculating function
236 * Notebook to hold this new graph with track elevation graph
237 My (Evan's) changes:
238 * Fix above v-vs-t patch to not crash on tracks without timestamp.
239 * Not show v-vs-t graph and/or elevation map if the necessary data isn't there.
240 Guilhem BONNEFILLE  <guilhem.bonnefille@gmail.com>'s changes
241         * bootstrap: new file to bootstrap auto-tools
242         * src/config.h (VIK_CONFIG_ALPHABETIZED_TRW): no more set via this file
243         * Makefile.am (bin_SCRIPTS): viking-remote added
244         * configure.ac: --enable-alphabetized-trw option added
245
246 2005-09-07
247 Autotools support by Guilhem Bonnefille.
248
249 2005-09-06
250 Added Alex Foobarian's track duration patch.
251 Added Alex Foobarian's track profile patch.
252 Added Alex Foobarian's elevation map fix.
253
254 2005-09-04
255 Map cache fix: if only one map can fit / one map is bigger than cache size, then that's OK.
256 Delete from cache when updating image.
257
258 2005-08-18
259 Map cache size based on memory usage, not number of images. Some flaws to be worked out still in this.
260
261 2005-08-16
262 Accepted USGS maps support from Clark McKines. Pretty slick, I'll have to take a look at it.
263
264 2005-08-02
265 Quite easily added support for Mercator projection & Google Mercator maps (regular, transparent etc)
266 Chaned waypoint types a little bit (size of waypoint)
267
268 2005-07-31
269 Hopefully fixed background.c item # count
270 Fixed KH Maps (v=2)
271
272 2005-06-20
273 A little research & added KH Maps support.
274
275 2005-06-19
276 Fixed right-click waypoint edit -> crash bug, hopefully.
277 Fixed "everyone lives in zone 11" assumption for vikgeoreflayer.c; still monozone though ...
278 Made it so when you paste or add a new layer, it pastes it before the selected layer, not to the top.
279 Fixed the bug where pasting a map layer messed up the name.
280 Made dragging middle mouse button pan. Removed pan tool. Thanks Reid for the idea.
281 Made different options for drawing waypoint dots. Not very good but we can make better-looking ones later.
282 Side view of tracks à la Garmin MapSource, nice ...
283 Fixed Google street maps simply by changing "v=.1" to "v=.3" ; the newest version of gmaps is completely different, I'm unsure how long this will work for.
284
285 2005-05-05
286 Experimenting with stops
287
288 2005-05-01
289 Fixed cheap ruler bug (use ruler, change draw mode, use ruler, crash). That's really not good... but hey, it _is_ alpha software.
290
291 2005-04-24
292 Added "how many maps currently downloading" status bar hack
293
294 2005-03-11
295 What the heck? Viking-remote didn't work? Fixing --/- stuff. Also fixing hang if can't open. Did this by putting gdk_threads_enter() before file opening in main.c.
296 Update viking-remote to work _right_ with maps, also geo://GC1234/ works, nice...
297
298 2005-03-08
299 Uffda, I forgot Oggdeir's gpsmapper.c patch.
300 Also fixed Windows compiling.
301
302 2005-02-28
303 Fixed Windows compiling, hopefully.
304 Removed TopoZone support per topozone.com request.
305
306 2005-02-27
307 Instituted a really nice background downloading system with a separate system, works like a charm.
308 Fixed (hopefully) a bug where a download failed the filename wasn't deleted, leaving an empty file.
309 Misc cleanups/testing surrounding downloading.
310 Autodownload
311 Fix other stuff, including moving a waypoint (delete while moving -> crash)
312
313 2005-02-26
314 X and Y zoom levels for maps so factors don't have to be equal.
315 Fixed maps zoomed out, added an combo box for it by adding a combo box in viklayer.c, fixed maptype to use map id and not internal array index
316 Changed VikTrwLayer properties dialog to add an image tab, fixed GtkTable layout so as not to stretch out stuff in the y direction.
317 Fixed /var/cache/maps stuff
318 Safety for maps zoomed out
319 Fixed mapzoom for cases where factors aren't equal
320 Got the basic download in background code on, now just minor nicities
321 Got the genius idea that someone might want to open up more than one file at one time ;)
322
323 2005-02-25
324 No time tonight, gotta get some sleep. Did work on hooking up Google Maps with GPSBabel's module into viking with a wget & a sed command. Totally awesome.
325 Also, added support for the highest google zoom level which I didn't know existed.
326
327 2005-02-23
328 I'm not really supposed to be working on this ... but it get's addictive, so close to a release...
329 Added back alpha support. It works for all map types now. Mostly useless for other types, unless you want to see tracks under your map, since you can't show more than one non-Terraserver map at the same time.
330 Started work on maps for different zoom levels. You can do all different maps at all different zoom levels, even zoom in. Don't zoom in with expedia maps though, it could create a 2000px x 3000px size image or so, and cache up to 10,000 of those. Yeah.
331
332 2005-02-22
333 Made it easier to use all these maps -- switching between them, correct zoom levels, etc.
334 Expedia for Europe (thanks GPSDrive people again)
335 Kit Transue's UTM zone patch is back in for the new MapLayer. This marks the first time I have seen cross-UTM zone Topozone maps. Interestingly enough it seems that they patch the maps together. Viking messes this up a little bit but in general it works fairly well. I'm still amazed it's possible ;)
336 Minor cleanups etc.
337
338 2005-02-21
339 Tons of work today, too much to list really. Basicly I threw away VikMapLayer and started over. This one's nice, really easy to add new types. Google, Expedia, and Terraserver maps are now functioning, but the layer isn't completed yet, many things such as alpha, download in the background, etc. aren't quite there yet.
340 Topozone support, heh ;) Of course none of these maps can be used together. Especially since scaling isn't done yet. I'm also going to have to create some handy ways to switch between layers.
341
342 2005-02-20
343 Finally got the brilliant notion that a GSList isn't the smartest way to do memory map caching. In fact it's probably one of the stupidest. Increased speed (when all maps loaded) by 30x or so by using a GHashTable shared between layers. How much of the slowdown was accumulated somehow since 0.0.8 is unknown.
344 New map caching file naming scheme. Hierarchial directory structure for faster lookup.
345 Tweaked the above memory caching scheme to use a linked list in conjunction with a hashtable to allow for a maximum size limit to the cache. Currently you have to edit the file to set this upper limit. And it's in tiles -- doesn't matter the size of the tiles.
346 Added some code in http.c of all places to make 2 directories above if they don't exist (new caching filename scheme)
347
348 2005-02-19
349 Fixed params[3] -> params[2] l1738 to fix click image
350 Fixed delete a waypoint->crash bug
351 Fixed TOPLAYER_FROM_WIDGET() error on right click wp -> properties (no VLP to use this on; use FROM_LAYER())
352
353 2005-02-18
354 Wow, Haven't worked on this in a while...
355 Sorry, just adding a hack to allow me use mapzoom at 0.25 quality.
356
357 2005-02-02
358 Changed pan, a little bit, to move the map. Not good enough though, it leaves behind stuff now. Couldn't get it to not flicker, and run at a decent speed.
359
360 2005-01-29
361 Fixed waypoint pango drawing.
362 Compatibility layer for GtkColorButton to use an entry for GTK 2.2
363 Move Waypoints by dragging
364 Snap to WP (shift-) for TP & WP moving. Snap to TP (ctrl-) for WP moving and still TP moving.
365 Select WP on the side when editing (if the layer is selected that is)
366
367 2005-01-28
368 Changed over to Pango, finally. Just experimentally so far, though; gotta cement it and fix it over.
369 Changed the properties/parameters system to allow tabs (groups) in properties boxes.
370 Tracks & waypoints now alphabetized! Three cheers! I can't believe how relatively easy that was. Two new functions in viktreewview.c and two more lines of code in viktrwlayer.c, I thought it was going to be hard for some reason...
371 Added a GtkColorButton thing for layer properties. This officially boosts the minimum requirements to GTK+ 2.4. This shouldn't be too much of a problem since 2.6 is out already.
372 Settable waypoint background & text colors. Different ones for different layers is incredibly snazzy.
373 Settable track bg color. Also fix some switch/case stuff... forgot to break...
374 So you can do plain transparent (no WP background) by choosing white and selecting color translucency... Not exactly clear. But wow, these colors are looking really awesome.
375
376 2005-01-23
377 Expedia maps working now. Don't *exactly* match up on the top and bottom sides, but I'm not sure I can get much better. Good enough. More fixes, added autodownload (thought that was already in here? maybe only in my topozone version).
378 Fixes, lots of small stuff -- e.g. a bug I introduced where it wasn't getting the correct utm zone for terraserver maps when downloading.
379 Fixed a weird GTK bug where updating the coord mode menu radio button would change the coord mode. See only_updating_coord_mode_ui
380 Implemented "invisble auto-downloads". Thought up a new way of doing downloads -- a queue and only one other process -- but probably won't implement that for a while.
381 Wow, auto-download + street maps is really neat!
382
383 2005-01-22
384 Working on implementing Expedia maps .. Lots of stuff, had to change HTTP to hande forwarding, that took a while just to test. Had to restructure some vikmaplayer code to know about expedia maps and download differently. LOTS more to go however. It now downloads maps, but that's about it. Lots of work to go.
385 OK, now it cuts off the sides (ads) and stuff. Snazzy. I made a test "draw" function but it isn't working perfectly yet. It is working and piecing together maps though. They look OK pieced together but street names are messed up at borders sometimes to I'm going to make the pieces bigger.
386 Did I mention it draws the maps in the wrong places?
387
388 2005-01-21
389 Many little things tonight:
390 Much cleaner way of doing alpha/bleach. Slightly less functionality (can't do bleach and alpha) but cleaner and should be faster.
391 Made it so it saves coordinate mode in the .vik file.
392 Made it so you can change the background. Saves this to the .vik file.
393 White background under tracks. Inefficient but it works.
394
395 2005-01-20
396 Added support for Urban Areas color photograph maps from TerraServer.
397 Just a note: TopoZone isn't going to work. I had added support for it in my own prviate version, and used it happily for areas where TerraServer was messed up. But one day it didn't work. They changed their site so it's hard (if not impossible) to get to the image directly. I could always do indirect, though ...
398
399 2005-01-17
400 Made it so you can change modes
401 Optimized a little tiny bit, drawing still slow
402 GREATLY Improved UTM drawing speed by remember zone width in VikViewport. I think kit meant to do that, there was a zonie_width item in VikViewport; it went unused.
403 Re-instituted UTM ce1, cn2, etc. checks that went out the door when multiple zones became available. It now does these checks only if UTM is used and there is one zone. Performance is now comparable to 0.0.5 speeds.
404 Fixed minor UTM 2 zones bug I (apparently) introduced above where some things are on zoom.
405
406 2005-01-16
407 Added "Visit Geocache Webpage" right-click waypoint option. Not very useful until I can click on waypoints, though.
408
409 2005-01-15
410 Started massive UTM -> VikCoord abstraction project
411 Wow.
412 Biggest. Change. Ever.
413 Worked on it about 5 hours. It seems to be going excellent! Most UTM's have been made into VikCoord's, except for some things like VikCoordLayer which I simply disabled. I just plugged in the Lat/Lon coord to screen code and it works! Now I have to work out all the bugs, add a change coordinate / conversion system, and fix a lot of stuff. WOO HOO!!!
414 Update: added coord_to_screen and screen_to_coord for Lat/Lon. works FLAWLESSLY!!! AWESOME!!!
415
416 --- viking 0.0.8 ---
417
418 2004-12-25
419 Added UTM zone glue-together by Kit Transue
420 Fixed various things regarding this patch (distance, lines, etc.)
421 Packages & uploaded changes
422
423 2004-11-27
424 Back, but not really ...
425 Added a fix by Peter Jones (gpspoint.c glitch)
426 Added CYGWIN/Makefile fixes by Alex Stohr
427
428 --- viking 0.0.8 ---
429
430 2004-04-13
431 Back from a 3-day GPS data gathering mission.
432 Fixed bug wherein track GC's weren't getting updated when line_thickness was updated.
433 Only waypoints and trackpoints if they're in the right UTM zone.
434 Use g_spawn_command_line_async for showing pictures; support for Windows for this too.
435 Rather drastically changed background.c so as not to use pthread's detach() and cancel() functions which are strangely absent in gthread.
436 Changed background.c to gthread.
437 Auto-switch UTM if you go too far.
438 Draw little star on tracks if it was cut off due to UTM zones.
439 Show human-readable time in trackpoint window.
440 Fix trackpoint window so as to not show time of '0' if the TP has no timestamp.
441 I didn't want to take this long with 0.0.8. 0.0.7 was released in just 27 days but 0.0.8 took 50. Oh well, I'll have to work doubly hard for 0.0.9. Here is Viking 0.0.8 all. Enjoy.
442
443 2004-04-09
444 Prevent loading partially-downloaded file by first writing to a temp file and them writing that data to the image file.
445 g_error_free () where neccessary.
446 Changed "Map Download All" to clearer, more direct and generic code.
447 Very easily used this code to make downloading lots of maps with the "map download" tool. Just drag over the square you want to download.
448 Added map size parameter. Had to change viklayer.[ch], add an extra_widget_data field in the param struct and change viklayer.c to support different uint values for options
449
450 2004-04-08
451 Some experimental work with maps at a different zoom level (e.g. 4mpp maps viewed at 16mpp)
452
453 2004-04-04
454 Load thumbs in a background thread. Thumbs show up as soon as they are loaded and you redraw.
455 Cleanup function for maps so incomplete map downloads will be deleted, woo hoo!
456 Snap to TP for edit TP and new track. Hold down control.
457 Added Max Speed, Average Speed, Average Dist Between Trackpoints in track property window.
458 Added "Diff Speed" in TPWin so you can tell speed between one trackpoint to the next.
459
460 2004-04-03
461 Put maps in a background thread while updating the UI, but you can still use viking. I have to duplicate all necessary data passed to the thread (what threads to download and where) in case that layer is deleted. I still have to a couple things (actually canceling the download operation) but it works very nicely, I can download lots of maps at the same time! It feels very liberating...
462 Right click to redownload a map. Regretably some messed up maps have been showing up with the above method, it's a big mystery how exactly...
463 Did a little test: disconnected my Internet connection and tried to download a map. Viking hanged for 22 seconds. I consider that acceptable, for now at least.
464
465 2004-04-02
466 Fixed trw_layer_new_track_gcs getting called twice -- post_read link and in vik_trw_layer_create
467 Just got finished loading thumbnails in the background. Aye, what a bother. But it works nice. (However once I got it to crash with an Xlib async error? Sigh, that's not good...)
468
469 2004-03-31
470 Added support for clicking images to show it, using eog -- this currently cannot be changed. (!)
471
472 2004-03-23
473 Fix crash on export code (Mike Davison)
474 Use $VIKING_MAPS for default map directory if available (Mike Davison)
475
476 2004-03-08
477 Move image to use when alpha drawing to VikViewport. That simplifies a lot.
478 Little changes, here and there. Lots of options for images.
479
480 2004-03-07
481 More work on dynamic Properties boxes, it will make adding new options _so_ much easier...
482 A lot of work on this. Wow, Viking is getting big. And ugly.
483 Also fixed a bug similar to another old bug -- forgot to copy waypoint image filename when a waypoint is copied.
484 You can now choose the image size, via the new dynamic properties box.
485
486 2004-03-06
487 Fixed a dumb bug that prevented you from opening GPSPoint files after Viking files.
488 Working on dynamic Properties boxes, getting nowhere fast...
489
490 2004-03-05
491 Wrote a tiny bit of code to further shrink and cache thumbnails.
492
493 2004-02-29
494 background.c to use pthread to run stuff in the background (think -- downloading maps) and give a dialog to cancel (d'uh!)
495 The ability to use pthread opens up a lot of possibilities about how to handle map downloads. For instance, you could have a little dialog where you have different groups of maps downloading. Lots of possibilities, I just have to think about how I want to implement them.
496
497 2004-02-28
498 Lately I've been working on a GUI tool written in Python to link up pictures and track logs to figure out where a picture was taken. That's my excuse, anyways, for not working on Viking.
499 Thought a little bit about how I'm going to do pictures in Viking. Looked over ROX-Filer's thumbnailing code.
500 Added a bit of picture thumbnail code. You can now see photos in Viking.
501
502 --- viking 0.0.7 ---
503
504 2004-02-22
505 Fixed edit TP, then rename track -> updates current_tp_track_name glitch.
506 Took quite a bit of time to change the way tools work. Instead of returning TRUE to redraw, tools return TRUE if they "accept" the tool call. If they don't, then it will look for another layer that will accept the tool call. That way you can edit trackpoints on different layers. It's nice, actually.
507 Fixed "edit layer name, then move it" bug the crept in somehow. It wasn't in 0.0.5-pre4, but I don't see any differences in the code, oh well, fixed it this time.
508 One month and almost 4000 LOC later... Viking 0.0.7 "Gonna Move Those Mountains Aside"
509
510 2004-02-21
511 Fixed track join deleting problem mentioned yesterday by keeping track of individual GtkTreeIter's for all tracks in a hash_table. Whenever a track is added/realized it's iter is added to the hash. Actually a rather pleasant (and fairly easy) solution. This simplifies deleting tracks in other places too, since we now don't need to know the iter.
512 Very easily made it so that when you edit a trackpoint it selects the appropriate track in the layers panel. Press Shift+10 for fast deleting. Evidently the tracks list must be expanded.
513 Fixed last_tpl (VikTrwLayer) / cur_tp (VikTrwLayerTpwin) confusion.
514 Changed split up track to change current tp to first of new track rather than last of old.
515 For some reason I felt I needed to add a thing in track properties which would count the number of duplicate TPs (same coords, one after the other) and make a button to remove them.
516 You can now change latitude, longitude, and altitude of each TP in the track window. Good for setting exact location rather then moving.
517 Added _real_ transparency support. I've tried before, but this time it actually wasn't hard it all. It was harder adding the UI stuff and layer attribute and all that. Anyway it might be a tad slow wise but it looks FANTASTIC!
518 Fixed open and save dialogs (including VikFileEntry, but excluding render to image and export as gps* dialogs) so that the dialogs are not deleted and created each time but the same one is used. This means that it will stay in the same directory.
519 How does a release tomorrow sound?
520
521 2004-02-20
522 Can't seem to find the time for Viking these days. Today I managed to get a little work in.
523 I did manage to add support for moving trackpoints. It's awesome. You just choose the edit TP tool, select a TP, and drag it.
524 After experimenting with arcs (arrows) for TPs (it didn't work), I changed track drawing to draw a triangle for the startpoint and a circle for the endpoint.
525 OK, So you can now join tracks (kind of ugly solution, but that was how it worked out), but the really ugly part is that it won't show up as deleted in the layers panel, and to make it do that, I need the track's layers panel Iter which I don't have from the tpwin. I sense major hackage ahead.
526
527 2004-02-16
528 Thursday through Sunday was another "data gathering mission". I also though up a _lot_ of great ideas for Viking. Now I just have to find the time to implement them all.
529 Today I added support in file.c for opening from stdin, aka "-". I also changed the magic number determining code to use ungetc() rather than rewind() so it will work correctly with stdin.
530 Not part of viking, but I wrote a quickie viking-remote script.
531
532 2004-02-10
533 Gotta get back to work. Sigh. Saturday and Sunday I went on a "data gathering mission", so there's my excuse. Yesterday I was away hacking on gpsbabel to support gpspoint (Viking) files.
534 Fixing little tiny things, like making the tpwin not close when you delete a waypoint, fixing little mistakes in trwlayer, graying buttons, etc.
535 Added little things to tpwin -- forward, previous, diff, makind diff work for delete button, etc.
536 Added a_coord_utm_diff for tpwin diff & ruler tool & track length
537 Added a_dialog_create_vbox_label function, converted vik_trw_layer_tpwin_new()
538 Added track length, tp count, segment count in properties box
539 Fixed if try to rename waypoint or track to one that already exists, crash bug (had to uppercase user input)
540 Added split up into segments. Had to change a_dialog_new_track, do above change, and a million other things. Sigh.
541 Fixed split up segments so it first makes a copy, then deletes the old copy. That way if the track was on the clipboard you can paste to get the original track again. Nifty eh?
542 Added reverse track.
543 That's all folks. I'm a-goin to bed.
544
545 2004-02-06
546 Just got through fixing the hardest-to-track-bug I've ever tackled. Viking would crash when I copied a 
547 pasted a layer in a certain file, but it seemed fairly random and gdb's backtraces were no help because 
548 it was crashing on totally unrelated things (free'ing memory twice does weird things). I finally narrowed 
549 it down to do a certain sequence to give me the warning: viking in free() chunk already freed, etc. Then 
550 I used step (starting from vik_trw_layer_free) to determine exactly where it was free'ing something 
551 twice. It was the waypoint comment. I noticed comments were different from the original waypoint (on the 
552 original layer that had been copied) so I tried stepping thru vik_waypoint_copy to see whether the 
553 waypoint was being copied correctly. It was then when I something wrong. I had assigned one waypoint to 
554 another, then called the function vik_waypoint_set_comment(), which, upon seeing that the comment of this 
555 new waypoint was not null, proceeded to free it, whilst the old waypoint still carried that comment 
556 pointer around. The ironic part is one line of code (new_wp->comment = NULL;) fixed everything.
557
558 Well, glad to get that out of the way. Now I can proceed to work on new stuff.
559
560 I also made sure to delete the trackpoint window if the track gets deleted.
561 The long-awaited SPLIT UP TRACK is finally in Viking. Goodie.
562
563 2004-02-03
564 Set up signals for VikLayer. Constructed a super-cool yet slightly-slow chain of signals using VikAggregateLayer. It's wacky.
565 All my hard internal work has finally payed off. I just added code for deleting trackpoints. It works, the signal is given to update and all is good. Yay.
566
567 2004-02-02
568 Back to work. I hit a snag and had to switch VikLayer to a GObject to give off signals for updating for the track editing tool.
569
570 2004-01-30
571 Very very small amount of code to report export image write errors to stderr.
572 Some various work on track editing:
573   Made another file/class viktrwlayer_tpwin.c
574   Added labels to show info when you click a trackpoint
575   Made it draw a big TP for the current TP
576 I don't know why it's not in this ChangeLog, but some experimental Track[point] "editing" (realling finding) support was already there: the tool, the code for finding the nearest TP, and a line of code showing a dialog with the buttons which would be useful (I obviously did some planning.)
577 Oh, Also, cut and paste waypoints support has been in for quite a while, before September, I'd say, somehow that escaped this log.
578 Anywho, the road looks clear as to how to procede with respect to track editing: make sure to reset current_tp if track is deleted, add on features, etc.
579
580 2004-01-29
581 Added a little thing to tell you how much are the map(s) will cover.
582 FINALLY fixed coord layer so it shows ALL necessary coord lines (<sarcasm>it actually checks your zoom level now!!!</sarcasm>)
583
584 2004-01-28
585 Slowly added "Generate directory of Images" support.
586 Fixed pan tool.
587
588 2004-01-27
589 You can now choose the name of the image to export to, choose the zoom level, and choose to get everything in the current viewing window.
590 Also took 15 minutes to add a pan tool.
591 Also made it remember your choices of width and height and image format for draw to image file.
592
593 2004-01-26
594 I'm celebrating Australia Day by working on the Vik for the first time in ... My fingers don't go up that high, anyway.
595 Adding code for exporting to image.
596
597 2003-9-22
598 Took a short two month break. Hehe.
599 Finally got around to checking whether server returns "200". Sometimes terraserver has erras.
600
601 --- viking 0.0.5 --
602
603 2003-7-15
604 Simplified vikfileentry.c by using gtk_dialog_run
605 Loading from World files
606 Saving to World files
607
608 2003-7-14
609 Map Layer -- default cache directory ~/.viking-maps (on UNIX) or C:\VIKING-MAPS (on Windows). This way people don't have to worry at all about cache directories, they can just use the default and it will automatically be created.
610 Create default cache directory if it doesn't exist. Automatically add file separator on cache directory name.
611 Don't write cache directory name to Viking file if it is default; if no directory use default (that way people can share files without having to worry about someone elses cache directory)
612 Readability/Naming: InitGcs -> PostRead
613
614 2003-7-11
615 More work on GeorefLayer. It's now pretty much working.
616 Made vikfileentry.c, changed vikgeoreflayer and vikmaplayer to use it.
617
618 2003-7-10
619 Changed zoom to two variables -- xmpp and ympp and implemented necessary changes in the layers.
620 Added a "Goto Any Zoom" kind of dialog/function.
621 Changed status bar a tad to reflect this.
622 Started some work (mainly UI/semantics/program interface) on GeorefLayer. Will make it actually do something later.
623
624 2003-7-09
625 Changed zoom limit from 32 mpp to 512 mpp.
626 Changed zoom to a double to allow any zoom level.
627
628 2003-7-07
629 Sorry ... "Real Life" (tm) has been taking up a lot of time lately. Anyway today I managed to implement track visibility in Viking GPS files.
630
631 2003-6-27
632 Don't show an empty menu for a sublayer if it doesn't add anything to the empty menu
633 Little bugfixes
634
635 2003-6-26
636 Put all file stuff in one file.
637 Removed old binary fileformat support. 3 days of work deleted in no time.
638 Track -> VikTrack, Waypoint -> VikWaypoint, Trackpoint -> VikTrackpoint, vikwaypoint.c, viktrack.c
639 Comment support, comment support for gpsmapper export
640 Comment for gpspoint, backslashed quotes, etc. in comment in gpspoint.c. Lot of work... I could easily backslash track/wp name, but they usually dont have quotes in
641 OK, I've been programming for over 4 hours. Break time.
642 OK, back to work. Comment support complete, I've also added altitude output support for gpspoint.
643 Switched various button order around in dialog.c to comply with HIG
644 Track undo support. Double-click to end, right click to undo. Crazy day, huh?
645
646 2003-6-25
647 Support for reading map and trackwaypoint layers. Also support for trackwaypoint data (in GPSPoint format)
648 Whew! Write support is complete! Man, that's a lot of work. Now I just gotta iron out any wrinkles (such as getting rid of old file format support)
649
650 2003-6-24
651 Half hour's worth of coding has made copying and pasting TrackWaypoint layers a reality.
652 Started working on FF2. TODO: implement individual layer getters/setters functions, write support
653 I've done an incredible amount of work today.
654 Mission: By the weekend I must have FF2 support out the door.
655
656 2003-6-23
657 Created Viking 0.0.5 branch.
658 Started work on copy & paste layers. With just two hours or so worth of code, you can now cut, copy and paste coord and map layers and aggregate layers made up of these.
659 You can even copy and paste between windows.
660 Next up -- trackwaypoint layers, then we're off to copying items.
661 Onward -- 0.0.5!
662
663 --- viking 0.0.4 ---
664
665 2003-6-23
666 Viking 0.0.4 "Lame Duck Release"
667 Alright, I haven't been doing anything for the last two days. Guess I'll just release what I have...
668
669 2003-6-20
670 Added GpsMapper export support to make it easy to make Garmin maps.
671 Made it so you can now rename tracks.
672 Implemented map fade into white (alpha)! This should help distinguish tracks while still seeing maps.
673
674 2003-6-19
675 Fixed a map caching problem that occurs when you lower the size of the memory cache (it won't really be lowered).
676 Started experimenting with map semi-transparency. It's pretty cool.
677
678 2003-6-18
679 HIG document compliance (Open, New, Close, modified flag, etc.) I probably won't be making a "Exit" menu item, because that is the dumbest and most confusing aspect of the HIG.
680 Tearoff item for tools.
681 Made a_file_basename and replaced all places where I previously just copied and pasted the code.
682 Fixed _another_ "forgot to initialize" bug (layer.realized)
683 Simplified interface by having one Open menu item for opening any type of file and an Append menu item to do the same
684 In doing this, "./viking my.vik my2.vik my.gps my2.gps" etc. now works (concatenates into an unamed file.)
685 Removed "Properties" from Aggregate Layer popup, and added info message when running "Properties" from the Layers menu on an Aggregate
686 Provided a info message that tells the user the Top Layer cannot be deleted.
687
688 2003-6-17:
689 Added error message for failed writes, fixed various bugs such as not free()ing any of the layers on exit (!)
690 Also fixed some crashes such as when you try to export a trw layer and you can't write to it.
691 Fixed button order in model dialogs to comply with GNOME HIG.
692 Added a "Delete All Layers" item from the menu. Change menu names a little bit.
693 Added "Save" support (current filename)
694 Started thinking about HIG compliance in the way of documents. Will probably get rid of delete all layers and add new, open (in new window)
695
696 2003-6-16:
697 Added VikTrwLayer serialization support, added "open" and "save" dialog boxes.
698 Added error messages for failed reads, etc.
699
700 2003-6-15:
701 More serialization work. The basics are now working, I have to add VikTrwlayer, maybe add some things in to make
702 it less vulnerable to crashes and really big mallocs(), and maintain compatibility between versions.
703
704 2003-6-14:
705 Got some more sample data for Viking via motorcycle riding ;)
706
707 2003-6-13:
708 Fixed serious glitch that crashes on creating a new track. 
709 Fixed viking crash that happens when a new track is being created, then deleted.
710 Designed file format & started on serialization of layers.
711 Moved Layer Icon loading stuff to VikTreeview, as poor designed as it sounds, to get ready for Serialization code.
712
713 2003-6-12:
714 Viking 0.0.3, first public release