source: git/ChangeLog@ 8a329f2

RELEASE/1.2 debug-ci debug-ci-sanitisers faster-cavernlog log-select main stereo stereo-2025 walls-data walls-data-hanging-as-warning warn-only-for-hanging-survey
Last change on this file since 8a329f2 was 8a329f2, checked in by Olly Betts <olly@…>, 15 years ago

src/namecmp.h: Fix to build with wx 2.9.2.

git-svn-id: file:///home/survex-svn/survex/trunk@3880 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 75.1 KB
RevLine 
[8a329f2]1Tue Nov 01 23:24:23 GMT 2011 Olly Betts <olly@survex.com>
2
3 * src/namecmp.h: Fix to build with wx 2.9.2.
4
[03b3272]5Tue Nov 01 23:17:52 GMT 2011 Olly Betts <olly@survex.com>
6
7 * src/gfxcore.cc: Remove assertion which uses deprecated wx method.
8
[ff9f695]9Tue Nov 01 23:14:09 GMT 2011 Olly Betts <olly@survex.com>
10
11 * src/mainfrm.cc,src/mainfrm.h: Make separator wxChar not int.
12
[332287b]13Tue Nov 01 18:54:32 GMT 2011 Olly Betts <olly@survex.com>
14
15 * lib/sk.po: Update a translation from launchpad.
16
[6409cd0]17Tue Nov 01 18:32:24 GMT 2011 Olly Betts <olly@survex.com>
18
19 * src/log.cc,src/log.h: Fix to build with wx 2.9.2.
20
[5e61108]21Tue Nov 01 18:15:20 GMT 2011 Olly Betts <olly@survex.com>
22
23 * src/export.cc: Fix to build with wx 2.9.2.
24
[24ff389]25Tue Nov 01 18:14:13 GMT 2011 Olly Betts <olly@survex.com>
26
27 * src/aboutdlg.cc: Fix code conditionally used on 2.9.2 and later to
28 actually compile.
29
[ee3e284]30Tue Nov 01 18:12:42 GMT 2011 Olly Betts <olly@survex.com>
31
32 * src/gfxcore.cc: Fix how we pass on events from right-click menus of
33 indicators. The previous code seemed to work, but wasn't correct
34 as highlighted by trying to build it with 2.9.2 which now refuses
35 to build to avoid people getting this wrong.
36
[df3e22fc]37Tue Nov 01 18:11:55 GMT 2011 Olly Betts <olly@survex.com>
38
39 * src/aven.h: Need to forward declare class wxPageSetupDialogData for
40 wx 2.9.2.
41
[6f9b20d]42Tue Nov 01 18:11:22 GMT 2011 Olly Betts <olly@survex.com>
43
44 * src/glbitmapfont.h: Fix to build with wx 2.9.2.
45
[e144af3]46Tue Nov 01 18:10:51 GMT 2011 Olly Betts <olly@survex.com>
47
48 * src/cavernlog.cc: Fix to build with wx 2.9.2.
49
[18886d7]50Tue Nov 01 18:06:12 GMT 2011 Olly Betts <olly@survex.com>
51
52 * lib/INSTALL.OSX,src/mainfrm.cc: Make the green colour used for
53 entrances in the survey tree the same (slightly darker than
54 before) green used for the entrance blobs.
55
[19bbc1fc]56Tue Nov 01 18:04:47 GMT 2011 Olly Betts <olly@survex.com>
57
58 * src/gla-gl.cc: Fix warning when building with wx2.9.2.
59
[1b2e819]60Tue Nov 01 12:32:30 GMT 2011 Olly Betts <olly@survex.com>
61
62 * src/printwx.cc: Fix Y coordinates of surface surveys on printouts.
63 (Closes #32)
64
[b93ab78]65Sun Oct 23 06:20:14 GMT 2011 Olly Betts <olly@survex.com>
66
67 * lib/Info.plist.in: Remove spurious blank lines from licence text
68 in OS X "Get Info".
69
[5dafea4]70Sat Oct 22 17:39:07 GMT 2011 Olly Betts <olly@survex.com>
71
72 * doc/TODO.htm: Opening dialogs while in full screen mode now works
73 better in wxGTK.
74
[34812da]75Sat Oct 22 17:36:01 GMT 2011 Olly Betts <olly@survex.com>
76
77 * lib/INSTALL.OSX: Processing .svx files from aven now works.
78
[2a4e8b7]79Sat Oct 22 07:27:43 GMT 2011 Olly Betts <olly@survex.com>
80
81 * src/printwx.h: Update comment - Mac OS X does indeed provide its own
82 preview menu.
83
[89a1b72]84Fri Oct 21 23:47:16 GMT 2011 Olly Betts <olly@survex.com>
85
86 * src/cavernlog.cc: Fix openiof .svx file when user clicks on cavern
87 warning or error.
88
[87aa9ce]89Fri Oct 21 23:43:21 GMT 2011 Olly Betts <olly@survex.com>
90
91 * buildmacosx.sh: Include a hardlinked cavern alongside aven in
92 the app so that processing .svx files in aven works.
93
[6e9c396]94Wed Oct 19 22:51:18 GMT 2011 Olly Betts <olly@survex.com>
95
96 * tests/diving.pos,tests/diving.svx: Add test coverage for interleaved
97 diving data.
98
[481300d]99Wed Oct 19 13:04:25 GMT 2011 Olly Betts <olly@survex.com>
100
101 * tests/diving.pos,tests/diving.svx: Add testcase for diving data
102 with topofil-style distance.
103
[aea38b0]104Wed Oct 12 03:45:13 GMT 2011 Olly Betts <olly@survex.com>
105
106 * src/aboutdlg.cc: Report the version of the library we're actually
107 running with if built against wx >= 2.9.2. Make it clear that the
108 the version reported is the version built with for wx < 2.9.2.
109
[d4d6909]110Wed Oct 12 03:06:05 GMT 2011 Olly Betts <olly@survex.com>
111
112 * lib/make-pixel-font,src/glbitmapfont.cc,src/glbitmapfont.h: Space the
113 glyphs to leave a one pixel gap either side of each one (so two
114 between adjacent glyphs). Mostly this reduces the horizontal width,
115 but it adds a pixel for characters like "m" and two in a few cases.
116
[36b4cd7]117Fri Oct 07 07:20:55 GMT 2011 Olly Betts <olly@survex.com>
118
119 * src/glbitmapfont.cc,src/glbitmapfont.h: Support plotting Unicode
120 character points > 256 on the survey pane by lazily loading the
121 data for them from the font file and plotting them with a direct
122 call to glBitmap() rather than using a display list.
123
[4a6569a]124Fri Oct 07 04:09:58 GMT 2011 Olly Betts <olly@survex.com>
125
126 * lib/make-pixel-font: Fix .pixelfont file to correctly handle
127 characters wider than 8 pixels when run on a little-endian platform.
128
[53f8a93]129Thu Oct 06 13:23:05 GMT 2011 Olly Betts <olly@survex.com>
130
131 * NEWS: Another update for 1.2.2.
132
[d2cc100]133Thu Oct 06 13:21:20 GMT 2011 Olly Betts <olly@survex.com>
134
135 * src/gfxcore.cc: Fix grid not to disappear when blobs are turned on
136 if blobs are drawn using lines.
137
[94960ad]138Thu Oct 06 13:17:19 GMT 2011 Olly Betts <olly@survex.com>
139
140 * NEWS,configure.in: Update for 1.2.2.
141
[6ca9f08]142Thu Oct 06 12:11:20 GMT 2011 Olly Betts <olly@survex.com>
143
144 * src/printwx.cc: Fix to calculate the scale required for "One page"
145 right before we calculate how many pages are required, so we don't
146 end up something other than 1x1 being shown when the user changes
147 settings.
148
[a9496057]149Thu Oct 06 12:07:10 GMT 2011 Olly Betts <olly@survex.com>
150
151 * src/avenprcore.cc: The info box is now always 30mm high (if present)
152 so update the code which picks a scale and which decides how many
153 pages are required to use this height.
154
[e16e63c]155Thu Oct 06 11:34:51 GMT 2011 Olly Betts <olly@survex.com>
156
157 * src/printwx.h: SomethingChanged() method doesn't need to be public,
158 so make it private.
159
[c930b7f]160Thu Oct 06 04:13:24 GMT 2011 Olly Betts <olly@survex.com>
161
162 * src/gettexttomsg.pl: Update for the message.txt -> codes.po change.
163
[0a2aab8]164Thu Oct 06 03:01:45 GMT 2011 Olly Betts <olly@survex.com>
165
166 * src/gfxcore.cc: Passage tubes can stick out above the highest survey
167 station or below the lowest, so clamp the value used to calculate
168 the colour in these cases, like we already do elsewhere.
169
[2ba3882]170Thu Oct 06 02:52:13 GMT 2011 Olly Betts <olly@survex.com>
171
172 * src/gfxcore.cc: Avoid a different assertion failure due to rounding
173 differences.
174
[a1614eb]175Thu Oct 06 02:49:03 GMT 2011 Olly Betts <olly@survex.com>
176
177 * src/glbitmapfont.cc,src/glbitmapfont.h: Actually add the new
178 glBitmap-based font code.
179
[5b1cffa]180Thu Oct 06 02:36:47 GMT 2011 Olly Betts <olly@survex.com>
181
182 * survex.iss.in: Update for font changes.
183
[1aa3fb7]184Thu Oct 06 02:35:41 GMT 2011 Olly Betts <olly@survex.com>
185
186 * Makefile.am,buildmacosx.sh,lib/Makefile.am,lib/afm2txf.pl,
187 lib/make-pixel-font,src/: Replace the textured-mapped font drawing
188 with an approach based on glBitmap. This doesn't suffer from the
189 character alignment issues which the textured-mapped fonts had,
190 and is actually significantly faster on some machines. The current
191 font used is (mostly) fixed-width, but this isn't an inherent
192 limitation - it was just the easiest font data to convert to a
193 usable format.
194
[6027220]195Wed Oct 05 13:49:15 GMT 2011 Olly Betts <olly@survex.com>
196
197 * src/gfxcore.cc: Avoid assertion failure due to rounding differences.
198
[5b427c0]199Wed Oct 05 08:19:46 GMT 2011 Olly Betts <olly@survex.com>
200
201 * src/printwx.cc: Fix not to pass wxString through varargs (issue
202 introduced in the previous commit).
203
[05ccca5]204Tue Oct 04 04:49:19 GMT 2011 Olly Betts <olly@survex.com>
205
206 * src/printwx.cc: Use degree sign from message file rather than a
207 literal one.
208
[79da3b4]209Tue Oct 04 04:08:57 GMT 2011 Olly Betts <olly@survex.com>
210
211 * src/message.c: If degree sign isn't available, transliterate it to
212 'dg' rather than skipping it.
213
[4d2301e]214Tue Oct 04 03:59:29 GMT 2011 Olly Betts <olly@survex.com>
215
216 * lib/codes.po,src/gfxcore.cc,src/mainfrm.cc: Fix message code 344
217 which should have been a degree sign but got lost in the format
218 change for 1.2.0 and then got reassigned in 1.2.1. Externally, this
219 means that bearing in the status bar now have a degree sign after
220 them if they are in degrees rather than nothing (1.2.0) or "&Hide
221 Compass" (1.2.1).
222
[9704252]223Tue Oct 04 02:55:11 GMT 2011 Olly Betts <olly@survex.com>
224
225 * NEWS,configure.in: Update for 1.2.1.
226
[7ff41b0]227Tue Oct 04 02:45:47 GMT 2011 Olly Betts <olly@survex.com>
228
229 * src/Makefile.am: Don't ship the removed hand_mask.xpm.
230
[4dc4384]231Tue Oct 04 02:44:37 GMT 2011 Olly Betts <olly@survex.com>
232
233 * src/gfxcore.cc: Sort out inverted cursor mask on __WXMSW__.
234 * src/hand.xbm: Invert the dragging hand cursor black vs white so it
235 better matches the other cursors.
236
[13da582]237Mon Oct 03 23:42:00 GMT 2011 Olly Betts <olly@survex.com>
238
239 * src/printwx.cc: Add back svxPrintout methods GetPageInfo() and
240 HasPage() which are actually virtual methods called by the parent
241 class.
242
[49e89e9]243Mon Oct 03 02:40:56 GMT 2011 Olly Betts <olly@survex.com>
244
245 * lib/Makefile.am: Fix check of .po files not to create messages.mo.
246
[d9b5fc64]247Mon Oct 03 02:22:55 GMT 2011 Olly Betts <olly@survex.com>
248
249 * lib/Makefile.am: Fix new translation checking rules to work in a
250 VPATH build.
251
[645cc77]252Mon Oct 03 02:12:23 GMT 2011 Olly Betts <olly@survex.com>
253
254 * lib/de.po,lib/de_CH.po,lib/sk.po: Fix classes menu accelerators.
255
[bcb68d3]256Mon Oct 03 02:00:38 GMT 2011 Olly Betts <olly@survex.com>
257
258 * lib/en_US.po: Fix problem with translation of new message.
259
[e3c58c3]260Mon Oct 03 00:50:52 GMT 2011 Olly Betts <olly@survex.com>
261
262 * NEWS: Update from ChangeLog.
263
[8a78ca1b]264Sun Oct 02 20:25:01 GMT 2011 Olly Betts <olly@survex.com>
265
266 * lib/,src/printwx.cc: Add mnemonics to the "Plan" and "Elevation"
267 buttons in the print dialog.
268
[f53c830]269Sun Oct 02 12:17:34 GMT 2011 Olly Betts <olly@survex.com>
270
271 * src/guicontrol.cc: Try processing F11 explicitly for __WXMAC__ to
272 avoiding getting stuck in full screen mode forever.
273
[7a57dc7]274Sun Oct 02 12:01:25 GMT 2011 Olly Betts <olly@survex.com>
275
276 * src/: Make the sign of the tilt angle for printouts consistent with
277 the sign in the UI.
278
[995cf6a]279Sun Oct 02 10:00:08 GMT 2011 Olly Betts <olly@survex.com>
280
281 * lib/codes.po,lib/en_US.po,src/printwx.cc: On printouts, combine the
282 "Plan View"/"Elevation" info box field with the field which gives
283 the bearing and reduce the height on the info box by the removed
284 field, so it's now 3cm for plans and elevations, as for extended
285 elevations. Report the tilt angle for tilted elevations which it
286 seems has been missing for ages (it's not in recent 1.0.x either).
287
[100af22]288Sat Oct 01 12:28:35 GMT 2011 Olly Betts <olly@survex.com>
289
290 * src/printwx.cc: Fix commented message in source.
291
[1e993bc]292Sat Oct 01 12:11:37 GMT 2011 Olly Betts <olly@survex.com>
293
294 * src/printwx.h: svxPrintDlg members don't need to be protected, so
295 make the private.
296
[102ba1d]297Sat Oct 01 11:28:34 GMT 2011 Olly Betts <olly@survex.com>
298
299 * src/printwx.cc,src/printwx.h: When in plan view disable the "Plan"
300 button, and similarly for the "Elevation" button.
301
[3d3a91c]302Sat Oct 01 11:20:03 GMT 2011 Olly Betts <olly@survex.com>
303
304 * src/printwx.cc: Remove more unused methods and members.
305
[140b675]306Sat Oct 01 10:48:24 GMT 2011 Olly Betts <olly@survex.com>
307
308 * src/avenprcore.cc,src/printwx.cc,src/printwx.h: Eliminate some unused
309 methods and member variables.
310
[0f8ab4d]311Sat Oct 01 00:33:24 GMT 2011 Olly Betts <olly@survex.com>
312
313 * src/printwx.cc: Move the footer to start at the left side of the
314 page.
315
[ddd2afa8]316Fri Sep 30 23:49:24 GMT 2011 Olly Betts <olly@survex.com>
317
318 * src/printwx.cc:svxPrintout::ShowPage() is an empty method, so just
319 remove it and all the code to calculate values to pass to it and
320 then call it. This is just a left-over from the 1.0 printing code.
321
[6d1bc83]322Fri Sep 30 13:40:29 GMT 2011 Olly Betts <olly@survex.com>
323
324 * src/aven.cc,src/gfxcore.cc,src/mainfrm.cc: Use standard C++ true and
325 false instead of wx aliases TRUE and FALSE (which even wx seems to
326 have shifted away from using now).
327
[f6dff8b]328Fri Sep 30 13:33:37 GMT 2011 Olly Betts <olly@survex.com>
329
330 * src/printwx.cc: Tweak exact positioning of text to look nicer.
331
[7a0710c]332Fri Sep 30 03:49:16 GMT 2011 Olly Betts <olly@survex.com>
333
334 * INSTALL: Mention building wxWidgets with --enable-unicode. Mention
335 using sudo for the install. Capitalise Survex when talking about
336 the package.
337 + doc/manual.sgml: Replace building from source instructions with a
338 pointer to the clearer instructions in INSTALL. Make it clear that
339 installing with administrator rights applies to NT, 2000, XP *or
340 newer*.
341
[ff5db1d5]342Fri Sep 30 03:31:00 GMT 2011 Olly Betts <olly@survex.com>
343
344 * src/guicontrol.cc: Don't disable a colour by option unless there's
345 no survey loaded. It feels inconsistent now we are showing a key
346 even when there's no "interesting" data.
347
[fcc3741]348Fri Sep 30 03:28:59 GMT 2011 Olly Betts <olly@survex.com>
349
350 * src/gfxcore.cc,src/gfxcore.h: The different colour keys get cached
351 so switching back to one that's already been shown for the current
352 survey doesn't redraw it and key_lowerleft wasn't getting updated.
353 We now track key_lowerleft for each key type separately.
354
[62c5fc6]355Fri Sep 30 02:48:00 GMT 2011 Olly Betts <olly@survex.com>
356
357 * src/gfxcore.cc: If "Colour by X" is selected, always show the colour
358 key, even if it only contains one colour, or just the entry for
359 white.
360
[2a9d2fa]361Thu Sep 29 22:33:06 GMT 2011 Olly Betts <olly@survex.com>
362
363 * src/gfxcore.cc: Don't segfault on a flat survey. Fix incorrect
364 addition and corresponding subtraction of GetDepthExtent() when
365 calculating splits over depth band boundaries.
366
[70acad9]367Thu Sep 29 21:56:19 GMT 2011 Olly Betts <olly@survex.com>
368
369 * src/gfxcore.cc,src/gla.h: Fix zoom in limit to be the same distance
370 regardless of the extent of the survey.
371
[3585243]372Thu Sep 29 20:57:41 GMT 2011 Olly Betts <olly@survex.com>
373
374 * src/gfxcore.cc: Now that we don't have the key background, just
375 remove KEY_MARGIN entirely.
376
[2779338f]377Thu Sep 29 20:37:09 GMT 2011 Olly Betts <olly@survex.com>
378
379 * src/gfxcore.cc: Remove the dark grey background from the colour key
380 and just put a single pixel black border around the colours. This
381 is more in keeping with the other controls, and means the colours
382 are now on a black background so more visually similar to the survey
383 legs.
384
[457da16]385Thu Sep 29 13:02:22 GMT 2011 Olly Betts <olly@survex.com>
386
387 * src/mainfrm.cc: Fall back to ISO8859-1 if CP1252 fails to convert the
388 string.
389
[db0eaf4]390Thu Sep 29 12:22:34 GMT 2011 Olly Betts <olly@survex.com>
391
392 * src/gfxcore.cc: Upon loading a survey which lacks the information for
393 the current "Colour by" mode, don't change to "Colour by none" - we
394 already do no colouring and hide the key when there's nothing to
395 colour by, and it's annoying to have the actual mode changed if you
396 then load a survey which does have the information to colour by.
397
[62da267]398Thu Sep 29 12:20:07 GMT 2011 Olly Betts <olly@survex.com>
399
400 * src/gfxcore.cc: Rename COLOUR_KEY_* constants to KEY_*.
401
[40c38bb]402Thu Sep 29 10:16:30 GMT 2011 Olly Betts <olly@survex.com>
403
404 * src/gfxcore.cc: Make COLOUR_KEY_OFFSET_X and COLOUR_KEY_OFFSET_Y the
405 actual offsets, rather than taking COLOUR_KEY_MARGIN off them.
406
[92a97f3]407Thu Sep 29 05:08:20 GMT 2011 Olly Betts <olly@survex.com>
408
409 * src/mainfrm.cc: Fix tooltip for open to say "survey file" not "3D
410 file".
411
[d43fa84]412Thu Sep 29 05:03:37 GMT 2011 Olly Betts <olly@survex.com>
413
414 * src/gfxcore.cc,src/gfxcore.h,src/mainfrm.cc: Add right click menu to
415 the colour key too.
416
[6cfc88c]417Wed Sep 28 14:47:15 GMT 2011 Olly Betts <olly@survex.com>
418
419 * lib/afm2txf.pl: Add a kludge to prefer to round values up when
420 generating the .txf file which empirically results in better
421 horizontal spacing (this should be fixed properly, but this is
422 at least an easy improvement for now).
423
[83027cc]424Wed Sep 28 14:00:14 GMT 2011 Olly Betts <olly@survex.com>
425
426 * lib/afm2txf.pl: Rather than special-casing the character with
427 PostScript name 'space', just omit characters with zero width and
428 height from the texture.
429
[e9bd0467]430Wed Sep 28 12:41:42 GMT 2011 Olly Betts <olly@survex.com>
431
432 * lib/afm2txf.pl: Put the digits first in the font texture to help
433 ensure they are all on the same line and will exactly align
434 vertically when rendered - a slight discrepancy here is particularly
435 visible in the colour key legends and compass bearing.
436
[b35c4bc]437Wed Sep 28 12:30:03 GMT 2011 Olly Betts <olly@survex.com>
438
439 * lib/Makefile.am: Regenerate aven.txf if the script which generates it
440 has been modified.
441
[64ba8bb]442Wed Sep 28 11:15:08 GMT 2011 Olly Betts <olly@survex.com>
443
444 * lib/afm2txf.pl: Fix handling of PostScript character names which are
445 used by more than one Unicode value ("space" and "hyphen" are the
446 current examples). This fixes the colour key for date to have dashes
447 in the dates. Fix not to bother writing empty space into the texture
448 map for spaces - just set width and height to 0 and skip to the
449 width.
450 * src/fnt.cc: Remove special case kludge for if space isn't defined,
451 which is no longer needed thanks to the above fix.
452
[8011e0c]453Wed Sep 28 10:19:07 GMT 2011 Olly Betts <olly@survex.com>
454
455 * lib/,src/printwx.cc: Fix mixed up messages - the print dialog now
456 says "View" on the left subgroup of controls. Improve the display of
457 the bearing on printouts. Add message for "Colour &Key" to
458 translations.
459
[f891a0c]460Wed Sep 28 02:02:09 GMT 2011 Olly Betts <olly@survex.com>
461
462 * src/aven.cc: Fix #ifdef to #if in previous change.
463
[495cd3e]464Wed Sep 28 01:09:09 GMT 2011 Olly Betts <olly@survex.com>
465
466 * src/aven.cc: Fix for non-Unicode build.
467
[26eb201]468Mon Sep 26 12:25:59 GMT 2011 Olly Betts <olly@survex.com>
469
470 * src/export.cc: PLT file output now handles spaces and control
471 characters in station names by escaping them with '%' as in URLs.
472
[4024a58]473Mon Sep 26 11:58:05 GMT 2011 Olly Betts <olly@survex.com>
474
475 * src/aventreectrl.cc: Improve comment about WXK_PRIOR and WXK_NEXT.
476
[0e8a082]477Mon Sep 26 11:51:01 GMT 2011 Olly Betts <olly@survex.com>
478
479 * src/aventreectrl.cc: Pressing "Enter" on a station in the tree
480 control now centres the view on that station.
481
[c6d5c1c]482Mon Sep 26 11:42:17 GMT 2011 Olly Betts <olly@survex.com>
483
484 * src/gfxcore.h,src/guicontrol.cc: Pressing "F5" forces all GLAList
485 objects to be invalidated and then forces a refresh of the display.
486 This is intended as a debugging aid - if pressing F5 changes the
487 display at all then there's a missing case where a list should
488 have been invalidated.
489
[90430f2]490Mon Sep 26 11:35:29 GMT 2011 Olly Betts <olly@survex.com>
491
492 * src/: Push survey pane size tracking down into GLACanvas, and
493 automatically track which lists should be invalidated on a
494 changes in the width or the height of the pane.
495
[242f48f5]496Mon Sep 26 10:44:22 GMT 2011 Olly Betts <olly@survex.com>
497
498 * src/gla-gl.cc,src/gla.h: Move GLAList flags out of the header as they
499 are internal details.
500
[9c37beb]501Mon Sep 26 10:42:50 GMT 2011 Olly Betts <olly@survex.com>
502
503 * src/gfxcore.cc,src/gfxcore.h: Cache the scale bar in a GLAList since
504 it often gets redrawn exactly the same - for example, when rotating,
505 panning, etc.
506
[e2ea75a]507Mon Sep 26 09:40:32 GMT 2011 Olly Betts <olly@survex.com>
508
509 * src/gfxcore.cc,src/gfxcore.h: More "colour key" related internal
510 nomenclature changes.
511
[7cdb1c3]512Mon Sep 26 09:34:01 GMT 2011 Olly Betts <olly@survex.com>
513
514 * src/gfxcore.cc,src/gfxcore.h: Factor out the code to draw the colour
515 key into DrawColourKey().
516
[250025f]517Mon Sep 26 04:23:10 GMT 2011 Olly Betts <olly@survex.com>
518
519 * src/gfxcore.cc: Apply COLOUR_KEY_OFFSET_Y by moving the point where
520 we plot the key rather than including it in the calculations of the
521 key's coordinates.
522
[1b164a0]523Mon Sep 26 04:17:16 GMT 2011 Olly Betts <olly@survex.com>
524
525 * src/gfxcore.cc: Apply COLOUR_KEY_OFFSET_X by moving the point where
526 we plot the key rather than including it in the calculations of the
527 key's coordinates.
528
[5f50488]529Sat Sep 24 13:15:22 GMT 2011 Olly Betts <olly@survex.com>
530
531 * src/gfxcore.cc: Increase scale bar maximum width from 65% of the
532 window width to 75% as it was in 1.0.x, but if that would overlap
533 the clino then reduce it down until it reaches 50%. Allow zooming
534 in a little further to match what was possible in 1.0.x. (ticket#23)
535
[78f02e48]536Sat Sep 24 12:45:04 GMT 2011 Olly Betts <olly@survex.com>
537
538 * doc/TODO.htm: Update (--help messages can now be translated).
539
[6cd4aab]540Sat Sep 24 12:21:45 GMT 2011 Olly Betts <olly@survex.com>
541
542 * doc/TODO.htm: Note oddity with FullScreen and side panel.
543
[4b0bbb0]544Sat Sep 24 12:14:52 GMT 2011 Olly Betts <olly@survex.com>
545
546 * src/mainfrm.h: We don't need the "un-fullscreen to show dialog" hack
547 with recent wxGTK. Also, there's no reason to think we need it for
548 other platforms (it was enabled everywhere except Microsoft Windows
549 before).
550
[03e2031]551Sat Sep 24 10:42:29 GMT 2011 Olly Betts <olly@survex.com>
552
553 * src/printwx.cc: "delete foo;" not "delete(foo);"
554
[81f1266]555Sat Sep 24 10:41:00 GMT 2011 Olly Betts <olly@survex.com>
556
557 * src/aven.cc,src/gfxcore.cc: No point checking for NULL before calling
558 delete.
559
[69cacd1]560Sat Sep 24 10:18:22 GMT 2011 Olly Betts <olly@survex.com>
561
562 * src/: Remove empty destructors.
563
[f9ca87c]564Sat Sep 24 06:43:33 GMT 2011 Olly Betts <olly@survex.com>
565
566 * doc/TODO.htm,src/gfxcore.cc,src/gla-gl.cc,src/gla.h: Eliminate the
567 last few OpenGL calls from gfxcore.cc.
568
[f336ab9]569Sat Sep 24 06:32:02 GMT 2011 Olly Betts <olly@survex.com>
570
571 * src/gfxcore.cc,src/gla-gl.cc,src/gla.h: New type GLATexCoord to avoid
572 using GLint outside of the OpenGL-specific code.
573
[b839829]574Sat Sep 24 06:08:13 GMT 2011 Olly Betts <olly@survex.com>
575
576 * src/: Move glTexCoord2i() calls out of gfxcore.cc and into gla-gl.cc.
577 Use BeginQuadrilaterals() rather than BeginPolygon() when the shape
578 will definitely have 4 sides.
579
[11c594a]580Sat Sep 24 02:09:48 GMT 2011 Olly Betts <olly@survex.com>
581
582 * src/gfxcore.h,src/guicontrol.cc: Disable "View North" when we're
583 already viewing North, and similarly for other compass points.
584
[85ed935]585Sat Sep 24 01:57:06 GMT 2011 Olly Betts <olly@survex.com>
586
587 * doc/TODO.htm: Update.
588
[97ea48d]589Fri Sep 23 15:38:36 GMT 2011 Olly Betts <olly@survex.com>
590
591 * doc/aven.sgml,lib/codes.po,src/: Rename the "depth bar" to "colour
592 key", which better describes it now that it might show dates or
593 errors.
594
[843ee7b]595Fri Sep 23 15:19:33 GMT 2011 Olly Betts <olly@survex.com>
596
597 * src/gfxcore.cc,src/gfxcore.h,src/guicontrol.cc: Fix the conditions
598 under which colour by date can be enabled to fully match what we
599 now intend.
600
[2043961]601Fri Sep 23 15:04:35 GMT 2011 Olly Betts <olly@survex.com>
602
603 * src/gfxcore.cc,src/mainfrm.cc: Enable "colour by date" if there are
604 any surveys with date information. Move the "Undated" / "Not in
605 loop" entry down a little to improve the appearance. Make each
606 entry in the colour keys a pixel taller so it's an even number of
607 pixels and will divide by two exactly.
608
[a09d4fa]609Fri Sep 23 14:59:33 GMT 2011 Olly Betts <olly@survex.com>
610
611 * src/fnt.cc: Remove "*1.25" fudge factor from font size for texture
612 mapped fonts.
613
[2fe9d6d]614Fri Sep 23 12:44:18 GMT 2011 Olly Betts <olly@survex.com>
615
616 * lib/en_US.po: Update for new messages.
617
[055bfc58]618Fri Sep 23 12:41:16 GMT 2011 Olly Betts <olly@survex.com>
619
620 * src/gfxcore.cc: Expand context menu for compass to include "View
621 North", etc; Similarly add "Plan" and "Elevation" to clino context
622 menu.
623
[588ff16]624Fri Sep 23 12:25:10 GMT 2011 Olly Betts <olly@survex.com>
625
626 * src/gla-gl.cc: Use += to make code clearer.
627
[acdb8aa]628Fri Sep 23 12:16:36 GMT 2011 Olly Betts <olly@survex.com>
629
630 * lib/codes.po,src/gfxcore.cc,src/gfxcore.h,src/guicontrol.cc: Add
631 pop-up menus for right clicks on scale bar, compass, and clino.
632
[296b0138]633Fri Sep 23 11:17:31 GMT 2011 Olly Betts <olly@survex.com>
634
635 * src/gfxcore.cc: Use HasRangeOfDates() consistently.
636
[a6c5ffb]637Thu Sep 22 23:56:06 GMT 2011 Olly Betts <olly@survex.com>
638
639 * src/gla-gl.cc: Add missing newline to OpenGL info when GLX info isn't
640 reported.
641
[034d04dc]642Thu Sep 22 13:51:55 GMT 2011 Olly Betts <olly@survex.com>
643
644 * survex.spec.in: Man pages are no longer installed in /usr/man so
645 no need to move them from there. Package aven.svg. Package
646 files for vim support. (Fixes from James Begley)
647
[7196714]648Thu Sep 22 12:45:58 GMT 2011 Olly Betts <olly@survex.com>
649
650 * lib/: Updates from launchpad.
651
[1c6c300]652Thu Sep 22 07:12:22 GMT 2011 Olly Betts <olly@survex.com>
653
654 * lib/: Update .po files from template.
655
[f6d9ca9]656Thu Sep 22 07:12:01 GMT 2011 Olly Betts <olly@survex.com>
657
658 * lib/codes.po: Improvements to "TRANSLATORS" comments.
659
[eeb7320]660Thu Sep 22 02:47:33 GMT 2011 Olly Betts <olly@survex.com>
661
662 * lib/Makefile.am: Add check that numeric codes haven't escaped into
663 the translated .po files.
664
[42a8819]665Wed Sep 21 14:38:16 GMT 2011 Olly Betts <olly@survex.com>
666
667 * lib/es.po: Update with new msgids.
668
[f6e0eba]669Wed Sep 21 14:37:53 GMT 2011 Olly Betts <olly@survex.com>
670
671 * lib/en_US.po: Fix typo (doubled ").
672
[4183e91]673Wed Sep 21 14:37:14 GMT 2011 Olly Betts <olly@survex.com>
674
675 * lib/Makefile.am: Check format of .po files with msgfmt -c
676 --check-accelerators.
677
[186e2b9]678Wed Sep 21 13:49:05 GMT 2011 Olly Betts <olly@survex.com>
679
680 * lib/en_US.po: Update en_US translation.
681
[ecff0b8a]682Wed Sep 21 13:47:36 GMT 2011 Olly Betts <olly@survex.com>
683
684 * lib/codes.po,src/cad3d.c: Tweak wording of a message. Remove
685 "unused" messages which have actually just been adapted slightly,
686 add back a removed unused message, and mark an unused message as
687 unused.
688`
[857408e]689Wed Sep 21 13:20:58 GMT 2011 Olly Betts <olly@survex.com>
690
691 * lib/codes.po,src/mainfrm.cc: Make more messages translatable.
692
[d8dbdff]693Wed Sep 21 12:53:02 GMT 2011 Olly Betts <olly@survex.com>
694
695 * lib/codes.po,src/: cmdline_set_syntax_message() now takes message
696 numbers, plus an optional string argument.
697
[b775443]698Wed Sep 21 12:17:19 GMT 2011 Olly Betts <olly@survex.com>
699
700 * src/mainfrm.cc: Fix to set the correct filename on the root of the
701 survey tree.
702
[6e63fd3]703Wed Sep 21 11:25:53 GMT 2011 Olly Betts <olly@survex.com>
704
705 * lib/codes.po,src/log.cc,src/mainfrm.cc,src/printwx.cc: Make more
706 messages translatable.
707
[fbc1d32]708Wed Sep 21 07:30:28 GMT 2011 Olly Betts <olly@survex.com>
709
710 * lib/codes.po,src/dump3d.c,src/gfxcore.cc,src/mainfrm.cc: Make more
711 messages translatable. In the colour key for "colour by date",
712 change "No info" to "Undated".
713
[2341559]714Wed Sep 21 04:20:52 GMT 2011 Olly Betts <olly@survex.com>
715
716 * lib/codes.po,src/cavernlog.cc: Allow the "Reprocess" button label in
717 aven's cavern log window to be translated.
718
[45af761]719Wed Sep 21 04:07:29 GMT 2011 Olly Betts <olly@survex.com>
720
721 * lib/,src/: Extract all the help strings in --help output and make
722 them available for translation.
723
[1b1aaf4]724Wed Sep 21 04:04:31 GMT 2011 Olly Betts <olly@survex.com>
725
726 * lib/Makefile.am: Check there are no duplicate message codes in
727 codes.po as part of "make check".
728
[aea4f8b]729Wed Sep 21 02:29:21 GMT 2011 Olly Betts <olly@survex.com>
730
731 * src/gfxcore.cc,src/gla-gl.cc,src/gla.h: Eliminate glReadPixels() call
732 from src/gfxcore.cc.
733
[d1870ef7]734Wed Sep 21 02:28:21 GMT 2011 Olly Betts <olly@survex.com>
735
736 * lib/codes.po,lib/en_US.po,src/aboutdlg.cc: Make all strings in
737 src/aboutdlg.cc translatable.
738
[558779a]739Wed Sep 21 01:56:15 GMT 2011 Olly Betts <olly@survex.com>
740
741 * doc/manual.sgml: Tweak text about Debian packages.
742
[cc49471]743Tue Sep 20 11:31:03 GMT 2011 Olly Betts <olly@survex.com>
744
745 * tests/: Update FSF address.
746
[23e61de1]747Tue Sep 20 11:28:50 GMT 2011 Olly Betts <olly@survex.com>
748
749 * lib/print.ini: Update reference to Survex 1.1; update FSF address.
750
[2acbff0a]751Tue Sep 20 06:43:56 GMT 2011 Olly Betts <olly@survex.com>
752
753 * src/img.c: Only define INT32_T if it isn't already defined (it will
754 be for 1.0.x).
755
[c964783]756Tue Sep 20 06:43:23 GMT 2011 Olly Betts <olly@survex.com>
757
758 * src/cavern.c: Remove unused function left over from recent change to
759 how coordinate ranges get reported.
760
[991289b]761Tue Sep 20 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
762
763 * make_release: Use the URL field from svn info in the command we give
764 to take this release rather than hard-coding the URL for trunk.
765
[36316cb]766Tue Sep 20 05:43:11 GMT 2011 Olly Betts <olly@survex.com>
767
768 * buildmacosx.sh: Building on 10.6 should work on 10.7, so update
769 comment to more clearly reflect that.
770
[aecd032]771Tue Sep 20 05:39:50 GMT 2011 Olly Betts <olly@survex.com>
772
773 * lib/,src/cavern.c: Fix reporting of ranges of survey coordinates,
774 which was broken by the message handling changes in 1.2.0.
775
[7831cef]776Tue Sep 20 04:30:14 GMT 2011 Olly Betts <olly@survex.com>
777
778 * configure.in,src/moviemaker.cc: Fix to build with FFmpeg library
779 versions in Debian unstable, as well as those in Debian stable.
780
[63621a7]781Tue Sep 20 03:51:40 GMT 2011 Olly Betts <olly@survex.com>
782
783 * src/moviemaker.cc: Updates towards compatibility with newer FFmpeg
784 libraries without breaking build with those in Debian stable.
785
[696b35b]786Tue Sep 20 03:41:58 GMT 2011 Olly Betts <olly@survex.com>
787
788 * src/avenprcore.h: Declare border as "struct border" rather than as a
789 typedef to avoid a -Wshadow warning.
790
[120c1c6]791Tue Sep 20 00:15:07 GMT 2011 Olly Betts <olly@survex.com>
792
793 * NEWS: Perhaps the final update for 1.2.0.
794
[95ed2ba]795Tue Sep 20 00:09:42 GMT 2011 Olly Betts <olly@survex.com>
796
797 * lib/afm2txf.pl: Fix to correctly handle non-ASCII glyphs by using
798 glyphshow in the generated PostScript code rather than relying on the
799 numeric encoding order of the font to match Unicode (which doesn't
800 generally seem to be the case). Tweak to process files without
801 slurping them all into memory where that's easy to do.
802
[9062bef]803Mon Sep 19 23:15:46 GMT 2011 Olly Betts <olly@survex.com>
804
805 * src/fnt.cc: Use FNT_MAXCHAR instead of literal 256.
806
[f04ae51]807Mon Sep 19 21:58:50 GMT 2011 Olly Betts <olly@survex.com>
808
809 * buildmacosx.sh: Revert CPP=cpp change - it's not required. Revert to
810 using wx 2.8.11 and 2.8.12 seems to fail to build. Output of hdid
811 can contain spaces as well as tabs (man page only documents tabs) so
812 update regexps to take this into account.
813
[cc83ec9]814Mon Sep 19 11:52:50 GMT 2011 Olly Betts <olly@survex.com>
815
816 * buildmacosx.sh: Add comment noting that Xcode is probably required.
817 Since wxWidgets only supports building for a single arch at a time,
818 build for i386 by default, which should also work on x86_64. Pass
819 CPP=cpp to wxWidgets configure (not certain if this is actually
820 needed, or was something tried on the way to discovering that only
821 one -arch option can be passed).
822
[65ceb41]823Sun Sep 18 12:24:41 GMT 2011 Olly Betts <olly@survex.com>
824
825 * make_release: No need to force disabling of libavcodec for mingw - it
826 gets automatically disable if not present.
827
[eac4514]828Sun Sep 18 12:23:39 GMT 2011 Olly Betts <olly@survex.com>
829
830 * src/moviemaker.cc: Fix disabling of libavcodec-using code when
831 libavcodec isn't present.
832
[4095cc0]833Sun Sep 18 11:50:06 GMT 2011 Olly Betts <olly@survex.com>
834
835 * NEWS: Update 1.2.0 release date.
836
[8a374af]837Sun Sep 18 11:49:46 GMT 2011 Olly Betts <olly@survex.com>
838
839 * make_release: Disable use of libavcodec for mingw for now.
840
[44ef5ec6]841Sun Sep 18 02:51:52 GMT 2011 Olly Betts <olly@survex.com>
842
843 * make_release: Fix comment typo.
844
[92037819]845Sun Sep 18 02:50:30 GMT 2011 Olly Betts <olly@survex.com>
846
847 * doc/TODO.htm: Update in preparation for releasing 1.2.
848
[90688f5]849Sun Sep 18 02:49:53 GMT 2011 Olly Betts <olly@survex.com>
850
851 * src/gla-gl.cc: Only try to read the GLX version on platforms which
852 use GLX.
853
[fa8ae1e]854Sun Sep 18 02:03:13 GMT 2011 Olly Betts <olly@survex.com>
855
856 * Makefile.am,doc/Makefile.am: Don't list other .in files explicitly in
857 EXTRA_DIST.
858
[cba86532]859Sun Sep 18 01:59:49 GMT 2011 Olly Betts <olly@survex.com>
860
861 * lib/Makefile.am: survex.keys.in will get shipped because it is
862 used by AC_CONFIG_FILES so there's no need to list it explicitly
863 in EXTRA_DIST.
864
[c584ed2]865Sun Sep 18 01:56:18 GMT 2011 Olly Betts <olly@survex.com>
866
867 * configure.in,lib/Makefile.am,lib/po-to-msg.pl: Fix .msg file
868 generation to work when srcdir != builddir. Drop the "dontextract"
869 mechanism which automatically generates headers to allows building a
870 version with translations for the messages for errors in loading the
871 messages file, as it doesn't seem worth the effort to get it working
872 again. It's easy to write such a header by hand if you really want
873 to do this.
874
[9cfcb3f]875Fri Sep 16 14:26:43 GMT 2011 Olly Betts <olly@survex.com>
876
877 * NEWS,configure.in: Update for 1.2.0.
878
[f9b8a6b]879Fri Sep 16 14:22:20 GMT 2011 Olly Betts <olly@survex.com>
880
881 * lib/icons/Makefile.am,lib/icons/aven.png,lib/icons/aven.svg: Add
882 new version of aven icon, redrawn in SVG so it displays nicely at
883 larger sizes.
884
[4833448]885Fri Sep 16 12:55:05 GMT 2011 Olly Betts <olly@survex.com>
886
887 * lib/codes.po,src/cavern.c: Add --3d-version option to allow the user
888 to specify the version of the 3d format to output. (ticket#21)
889
[2bb17c9]890Fri Sep 16 12:52:55 GMT 2011 Olly Betts <olly@survex.com>
891
892 * src/img.c,src/img.h: Make the highest and lowest valid values for
893 img_output_version available in img.h as IMG_VERSION_MIN and
894 IMG_VERSION_MAX.
895
[a6e8d45]896Fri Sep 16 05:49:12 GMT 2011 Olly Betts <olly@survex.com>
897
898 * src/aventreectrl.cc,src/guicontrol.cc,src/mainfrm.cc: Don't use
899 deprecated members or methods of wxKeyEvent.
900
[6001bc1]901Fri Sep 16 03:36:54 GMT 2011 Olly Betts <olly@survex.com>
902
903 * lib/map.png: Remove scan of map which isn't used and we probably
904 don't have rights to redistribute.
905
[de402d4]906Fri Sep 16 03:16:01 GMT 2011 Olly Betts <olly@survex.com>
907
908 * src/mainfrm.cc: If a label isn't valid UTF-8, treat it as CP1252 (the
909 Microsoft superset of ISO8859-1).
910
[b00a29a]911Fri Sep 16 03:00:51 GMT 2011 Olly Betts <olly@survex.com>
912
913 * src/mainfrm.cc: Remove special handling for toggling "full screen"
914 on wxGTK as it's no longer required with modern versions.
915
[6b061db]916Fri Sep 16 02:05:12 GMT 2011 Olly Betts <olly@survex.com>
917
918 * src/gfxcore.cc,src/gfxcore.h,src/mainfrm.cc: Don't redraw the survey
919 on every mouse movement in the survey pane unless the measuring line
920 is (or just was) active. (ticket #17)
921
[293eec8]922Thu Sep 15 03:58:59 GMT 2011 Olly Betts <olly@survex.com>
923
924 * src/aven.cc: Comment improvements.
925
[deea763]926Thu Sep 15 03:51:27 GMT 2011 Olly Betts <olly@survex.com>
927
928 * tests/smoke.tst: aven no longer requires an X display for --help or
929 --version, so replace skip of this check with a check that this
930 remains the case.
931
[b4ac7007]932Thu Sep 15 02:27:57 GMT 2011 Olly Betts <olly@survex.com>
933
934 * NEWS: Update from ChangeLog.
935
[a26bab0]936Thu Sep 15 02:11:28 GMT 2011 Olly Betts <olly@survex.com>
937
938 * lib/Makefile.am: Distribute codes.po.
939
[d0a7bba]940Thu Sep 15 02:08:35 GMT 2011 Olly Betts <olly@survex.com>
941
942 * configure.in,survex.spec.in: Default to installing docs into
943 /usr/share/doc/survex rather than /usr/doc/survex.
944
[e60254e]945Wed Sep 14 01:57:45 GMT 2011 Olly Betts <olly@survex.com>
946
947 * src/mainfrm.cc: Fix another potential read beyond the end of a
948 string.
949
[17de0e2]950Wed Sep 14 01:35:20 GMT 2011 Olly Betts <olly@survex.com>
951
952 * src/mainfrm.cc: Fix potential reading off end of string - fix from
953 Stuart Bennett.
954
[33c24dc]955Wed Sep 14 00:33:16 GMT 2011 Olly Betts <olly@survex.com>
956
957 * lib/es.po: Update from launchpad.
958
[d1c3d24]959Tue Sep 13 22:05:59 GMT 2011 Olly Betts <olly@survex.com>
960
961 * buildmacosx.sh: Use wx 2.8.12.
962
[c293aa9]963Tue Sep 13 11:32:18 GMT 2011 Olly Betts <olly@survex.com>
964
965 * src/aven.cc,src/aven.h,src/gla-gl.cc: Explicitly request
966 double-buffering, which seems to be needed for systems with GLX >=
967 1.3. Report GLX version and whether double-buffering is in use in
968 the about dialog.
969
[091069f]970Sun Jun 19 11:19:51 GMT 2011 Olly Betts <olly@survex.com>
971
972 * src/: Try to report errors from generating movie more helpfully.
973
[6ed625e]974Fri Jun 17 06:33:38 GMT 2011 Olly Betts <olly@survex.com>
975
976 * src/moviemaker.cc: Eliminate use of deprecated function
977 av_alloc_format_context().
978
[fed3713]979Fri Jun 17 06:32:50 GMT 2011 Olly Betts <olly@survex.com>
980
981 * src/moviemaker.cc: Simplify the loop to flip the image vertically.
982
[9e516d0d]983Fri Jun 17 06:17:20 GMT 2011 Olly Betts <olly@survex.com>
984
985 * configure.in,src/moviemaker.cc,src/moviemaker.h: Use libswscale to
986 convert images to add to the video. Movie export now working
987 again!
988
[d10d369]989Fri Jun 17 06:16:46 GMT 2011 Olly Betts <olly@survex.com>
990
991 * src/gfxcore.cc: No need to specify true to PlayPres - that's the
992 default.
993
[0c6b06cb]994Fri Jun 17 06:15:34 GMT 2011 Olly Betts <olly@survex.com>
995
996 * src/gfxcore.cc: Set the play speed to "x1" during video recording.
997
[75d4a2b]998Fri Jun 17 05:43:12 GMT 2011 Olly Betts <olly@survex.com>
999
1000 * src/gfxcore.cc,src/gfxcore.h: Rename 'mpeg' member to 'movie'.
1001
[cc9e7a06]1002Fri Jun 17 04:30:12 GMT 2011 Olly Betts <olly@survex.com>
1003
1004 * configure.in,src/moviemaker.cc,src/moviemaker.h: Mostly update movie
1005 making code to work with current FFmpeg. Still TODO: convert call
1006 to img_convert() to use sws_scale() - currently you just get an all
1007 green movie!
1008
[90a2e0f]1009Mon May 30 07:40:12 GMT 2011 Olly Betts <olly@survex.com>
1010
1011 * buildmacosx.sh: Fix URL for downloading wxWidgets tarball.
1012
[a8469bb]1013Sat May 28 12:39:11 GMT 2011 Olly Betts <olly@survex.com>
1014
1015 * buildmacosx.sh: Build for x86_64 as well as i386.
1016
[4a7c15ab]1017Sat May 28 06:14:09 GMT 2011 Olly Betts <olly@survex.com>
1018
1019 * buildmacosx.sh: Fix comment typo.
1020
[ab66f3c]1021Sat May 28 06:08:10 GMT 2011 Olly Betts <olly@survex.com>
1022
1023 * buildmacosx.sh: Don't assume the volume gets mounted on
1024 /Volumes/Survex as it won't be if that mount point is already in use.
1025
[42c7efe]1026Thu May 26 16:09:05 GMT 2011 Olly Betts <olly@survex.com>
1027
1028 * lib/codes.po,src/aven.cc,src/mainfrm.cc,src/mainfrm.h: Use more stock
1029 IDs.
1030
[de8488a6]1031Thu May 26 14:52:00 GMT 2011 Olly Betts <olly@survex.com>
1032
1033 * lib/,src/printwx.cc: Use stock wx button IDs wxID_PRINT and
1034 wxID_PREVIEW where appropriate.
1035
[ecf9c4c1]1036Thu May 26 14:47:52 GMT 2011 Olly Betts <olly@survex.com>
1037
1038 * lib/codes.po: Mark unused messages by commenting out with '#~'.
1039
[27928df]1040Thu May 26 14:34:29 GMT 2011 Olly Betts <olly@survex.com>
1041
1042 * src/printwx.h: Fix comment typo.
1043
[73b3388]1044Thu May 26 12:47:44 GMT 2011 Olly Betts <olly@survex.com>
1045
1046 * src/mainfrm.cc,src/printwx.cc: When using a standard wxID_xxx id with
1047 wxButton, use the implicit default label, as the wx documentation
1048 recommends.
1049
[6219279]1050Thu May 26 12:28:11 GMT 2011 Olly Betts <olly@survex.com>
1051
1052 * src/: Remove the unused preferences dialog code - we can easily
1053 fish it back out of SVN should we want it later, so no point
1054 having it sitting there making every checkout bigger.
1055
[04aa63b]1056Tue May 24 05:21:52 GMT 2011 Olly Betts <olly@survex.com>
1057
1058 * configure.in,doc/Makefile.am,doc/survex.1.in: Move survex man page to
1059 section 7 (since it isn't documenting an actual command).
1060
[6f340d9]1061Tue May 24 05:17:53 GMT 2011 Olly Betts <olly@survex.com>
1062
1063 * doc/Makefile.am: Write generated man page to a temporary file, then
1064 atomically rename, to avoid leaving an empty or partial man page
1065 behind if docbook-to-man dies (I managed to ship an empty cad3d.1 in
1066 1.1.16).
1067
[6cf04ff]1068Sat May 21 22:05:04 GMT 2011 Olly Betts <olly@survex.com>
1069
1070 * lib/fr.po: Fold in addition of accent from launchpad.
1071
[8fa7902]1072Sat May 21 22:04:31 GMT 2011 Olly Betts <olly@survex.com>
1073
1074 * lib/: Remove comments which are only relevant for other languages
1075 from .po files. Add more clarifying comments.
1076
[7c0e6e3]1077Thu May 19 05:23:03 GMT 2011 Olly Betts <olly@survex.com>
1078
1079 * lib/messages.txt: Remove as no longer used.
1080
[d86459c]1081Wed May 18 09:06:19 GMT 2011 Olly Betts <olly@survex.com>
1082
1083 * lib/,src/mainfrm.cc,src/mainfrm.h: We now use .po and .pot files as
1084 the master format for storing translations in (rather than
1085 messages.txt), and then translate these into Survex's .msg format.
1086
[749a581]1087Wed May 18 08:37:01 GMT 2011 Olly Betts <olly@survex.com>
1088
1089 * lib/messages.txt: Fix variant en-us message which ought not be
1090 different.
1091
[7b12c6d]1092Wed May 18 05:50:07 GMT 2011 Olly Betts <olly@survex.com>
1093
1094 * make_release: Print out the commands needed to tag the release.
1095
[5311876]1096Tue May 17 01:24:59 GMT 2011 Olly Betts <olly@survex.com>
1097
1098 * lib/messages.txt,src/cavern.c: Drop "non-fatal" from the report of
1099 how many errors there were at the end of the run - it just confuses
1100 users - we won't even get here if there's a fatal error!
1101 * lib/messages.txt: Add missing translations of two "Export" variants
1102 for ca, sk, and ro.
1103
[ec8fd0d]1104Tue May 17 01:03:06 GMT 2011 Olly Betts <olly@survex.com>
1105
1106 * NEWS: Fix typo.
1107
[56980d4e]1108Mon May 16 22:18:53 GMT 2011 Olly Betts <olly@survex.com>
1109
1110 * buildmacosx.sh: Extract tarball quietly, and just say we're doing
1111 it. Add missing quoting to variable expansions.
1112
[8f9b0b6d]1113Mon May 16 05:59:32 GMT 2011 Olly Betts <olly@survex.com>
1114
1115 * NEWS: Another pre-1.1.16 update.
1116
[c953a98]1117Mon May 16 05:54:30 GMT 2011 Olly Betts <olly@survex.com>
1118
1119 * Makefile.am: Include all the available wxstd.mo files into the
1120 Microsoft Windows installer, rather than trying to just include those
1121 which we have translations for. This avoids having to maintain a
1122 list of which to include, and gives users translations of wxWidgets
1123 messages even if they don't get Survex messages translated.
1124
[85f3565]1125Mon May 16 05:53:49 GMT 2011 Olly Betts <olly@survex.com>
1126
1127 * doc/HACKING.htm: Update version of InnoSetup used. Note the packages
1128 needed on Debian to build the Microsoft Windows installer.
1129
[6127c82]1130Mon May 16 05:22:03 GMT 2011 Olly Betts <olly@survex.com>
1131
1132 * doc/HACKING.htm: Note Debian packages to install for docs.
1133
[8fb44ec]1134Mon May 16 05:21:27 GMT 2011 Olly Betts <olly@survex.com>
1135
1136 * survex.iss.in: Add comment noting that AppVerName isn't required by
1137 newer InnoSetup.
1138
[ecdb631]1139Sun May 15 04:11:34 GMT 2011 Olly Betts <olly@survex.com>
1140
1141 * NEWS,configure.in: Update for 1.1.16.
1142
[ffe7b714]1143Sun May 15 03:44:17 GMT 2011 Olly Betts <olly@survex.com>
1144
1145 * lib/fixmsgs.pl: Update to fix UTF-8 rather than ISO8859-1.
1146
[f3f9b0e]1147Sun May 15 03:43:46 GMT 2011 Olly Betts <olly@survex.com>
1148
1149 * lib/named-entities.txt: Add hellip and rarr.
1150
[443edad]1151Sun May 15 03:39:02 GMT 2011 Olly Betts <olly@survex.com>
1152
1153 * lib/messages.txt: Fix clashing menu shortcuts from recent translation
1154 updates.
1155
[69490fa3]1156Sun May 15 03:20:50 GMT 2011 Olly Betts <olly@survex.com>
1157
1158 * src/message.c: 0x2026 (&hellip;): Handle for WINCP1252, and
1159 transliterate to '...' for charsets which don't have it. 0x2192
1160 (&rarr;): Transliterate to '->' for charsets which don't have it.
1161 Handle &Scaron;, &scaron;, &Zcaron;, &zcaron; for WINCP1252.
1162 * lib/messages.txt: Use '&rarr;' instead of '->' and '&hellip;' instead
1163 of '...'.
1164
[6010466]1165Sun May 15 02:59:42 GMT 2011 Olly Betts <olly@survex.com>
1166
1167 * lib/messages.txt: Fix literal accented characters.
1168
[6e618c7]1169Sun May 15 02:55:50 GMT 2011 Olly Betts <olly@survex.com>
1170
1171 * lib/messages.txt: Fold in de updates from launchpad.
1172
[01891b9]1173Sun May 15 02:36:02 GMT 2011 Olly Betts <olly@survex.com>
1174
1175 * lib/messages.txt: Fold in es updates from launchpad.
1176
[4667418]1177Sun May 15 02:19:45 GMT 2011 Olly Betts <olly@survex.com>
1178
1179 * lib/messages.txt: Fold in it updates from launchpad.
1180
[adc8304]1181Sun May 15 02:00:45 GMT 2011 Olly Betts <olly@survex.com>
1182
1183 * lib/messages.txt: Fold in pt-br updates from launchpad.
1184
[d3dd62e]1185Sun May 15 01:53:22 GMT 2011 Olly Betts <olly@survex.com>
1186
1187 * lib/messages.txt: Fold in pt updates from launchpad.
1188
[5c9f6c2]1189Mon Mar 14 01:58:10 GMT 2011 Olly Betts <olly@survex.com>
1190
1191 * configure.in: Link with -lGL, if it exists to support linking with
1192 gold or GNU ld --as-needed (Debian bug #615781).
1193
[97e9c02]1194Thu Mar 03 13:16:19 GMT 2011 Olly Betts <olly@survex.com>
1195
1196 * src/img.c: Fix code typo for IMG_API_VERSION == 0 case.
1197
[0c85b15b]1198Thu Mar 03 12:32:57 GMT 2011 Olly Betts <olly@survex.com>
1199
1200 * src/img.c: Fix typo in code used when IMG_HOSTED isn't defined.
1201
[0ed32e5]1202Wed Oct 20 09:53:56 GMT 2010 Olly Betts <olly@survex.com>
1203
1204 * lib/messages.txt: "Colour" -> "Color" in en-us.
1205
[66dd4ff9]1206Sun Oct 17 14:10:21 GMT 2010 Olly Betts <olly@survex.com>
1207
1208 * lib/messages.txt: Assorted comment improvements and tweaks.
1209
[029fdb4]1210Sat Oct 16 11:12:42 GMT 2010 Olly Betts <olly@survex.com>
1211
1212 * src/moviemaker.h: Remove unused <stdio.h>. Shouldn't include
1213 <config.h> in headers, only sources.
1214
[5abd525]1215Sat Oct 16 10:13:10 GMT 2010 Olly Betts <olly@survex.com>
1216
1217 * doc/TODO.htm: Remove entries which have now been done.
1218
[4b9be72]1219Fri Oct 15 06:57:46 GMT 2010 Olly Betts <olly@survex.com>
1220
1221 * tests/extend.tst: Fix to file .espec files when srcdir != builddir.
1222
[f5e3521]1223Fri Oct 15 05:48:09 GMT 2010 Olly Betts <olly@survex.com>
1224
1225 * NEWS: Final update fro 1.1.15.
1226
[53e12ee]1227Fri Oct 15 05:20:40 GMT 2010 Olly Betts <olly@survex.com>
1228
1229 * src/editwrap.c: Convert to use wide-character Unicode.
1230
[6baad4a]1231Fri Oct 15 05:20:04 GMT 2010 Olly Betts <olly@survex.com>
1232
1233 * src/cavernlog.cc: Fix to work on Microsoft Windows.
1234
[414cdd0]1235Thu Oct 14 22:50:09 GMT 2010 Olly Betts <olly@survex.com>
1236
1237 * tests/extend.tst: Enable eswap-break testcase now that diffpos is
1238 fixed.
1239
[9d20d33]1240Thu Oct 14 22:48:06 GMT 2010 Olly Betts <olly@survex.com>
1241
1242 * src/diffpos.c: Handle files with duplicate labels in better - extend
1243 generates duplicate labels when it breaks a loop.
1244
[d50594c]1245Wed Oct 13 15:39:04 GMT 2010 Olly Betts <olly@survex.com>
1246
1247 * make_release: -Dunix when running make distcheck with the
1248 preprocessor in C89 mode.
1249
[eafe1a3]1250Wed Oct 13 15:33:23 GMT 2010 Olly Betts <olly@survex.com>
1251
1252 * src/cavern.c: Fix C++ comment.
1253
[2d16e4e]1254Wed Oct 13 15:07:31 GMT 2010 Olly Betts <olly@survex.com>
1255
1256 * NEWS,configure.in: 1.1.15.
1257
[e02a6a6]1258Wed Oct 13 15:00:51 GMT 2010 Olly Betts <olly@survex.com>
1259
1260 * configure.in,src/: Define GETC() in config.h and use it everywhere.
1261 Similarly define PUTC() to use putc_unlocked() where available and
1262 use that everywhere too.
1263
[f175de2]1264Wed Oct 13 13:41:17 GMT 2010 Olly Betts <olly@survex.com>
1265
1266 * src/cavernlog.cc: Remove superfluous nested declaration.
1267
[9e50f755]1268Wed Oct 13 11:19:29 GMT 2010 Olly Betts <olly@survex.com>
1269
1270 * src/cavernlog.cc: mingw doesn't have _get_wpgmptr() so use the
1271 deprecated _wpgmptr instead. mingw doesn't have errno_t so use int
1272 instead.
1273
[eff69a7]1274Wed Oct 13 10:49:18 GMT 2010 Olly Betts <olly@survex.com>
1275
1276 * src/cavernlog.cc: (Microsoft Windows) Quote for any meta characters,
1277 not just space.
1278
[a90632c]1279Wed Oct 13 10:27:38 GMT 2010 Olly Betts <olly@survex.com>
1280
1281 * src/cavernlog.cc: (Microsoft Windows) Use _get_wpgmptr() to get wide
1282 path to aven rather for running cavern.
1283
[19f2b4f]1284Thu Oct 07 22:38:43 GMT 2010 Olly Betts <olly@survex.com>
1285
1286 * src/datain.h,src/useful.c: Use getc_unlocked() if available.
1287
[36c4cf1]1288Thu Oct 07 14:25:13 GMT 2010 Olly Betts <olly@survex.com>
1289
1290 * src/mainfrm.cc: Use _wfopen() on Microsoft Windows when loading and
1291 saving presentations so that paths with non-Latin1 characters in can
1292 be processed.
1293
[0a85859]1294Thu Oct 07 12:52:22 GMT 2010 Olly Betts <olly@survex.com>
1295
1296 * configure.in,src/cavernlog.cc: Use getc_unlocked() if available.
1297
[1e2499c]1298Thu Oct 07 12:42:21 GMT 2010 Olly Betts <olly@survex.com>
1299
1300 * src/cavernlog.cc: Don't call Update() after every line, but only
1301 when we don't have data from cavern pending. Hopefully addresses
1302 ticket#12.
1303
[d2980d2]1304Wed Oct 06 02:25:31 GMT 2010 Olly Betts <olly@survex.com>
1305
1306 * make_release: Never set CFLAGS or CXXFLAGS in the environment.
1307 Build mingw version in an unpacked source tree from the release
1308 tarball.
1309
[1d71195]1310Wed Oct 06 02:09:33 GMT 2010 Olly Betts <olly@survex.com>
1311
1312 * src/cavernlog.cc: Fix code indentation.
1313
[ffe7efe4]1314Wed Oct 06 02:08:38 GMT 2010 Olly Betts <olly@survex.com>
1315
1316 * src/cavernlog.cc: Revert to using mb_str() for popen() and system()
1317 on Unix.
1318
[fc364dc]1319Wed Oct 06 02:02:54 GMT 2010 Olly Betts <olly@survex.com>
1320
1321 * src/cavernlog.cc: Use _wpopen() and _wsystem() on Microsoft Windows
1322 so that paths with non-Latin1 characters in can be processed.
1323
[83e2433]1324Wed Oct 06 01:16:03 GMT 2010 Olly Betts <olly@survex.com>
1325
1326 * src/cavernlog.cc: Need to quote filenames with spaces in for
1327 Microsoft Windows.
1328
[b4dbba1]1329Wed Oct 06 00:54:44 GMT 2010 Olly Betts <olly@survex.com>
1330
1331 * lib/Makefile.am: Ship the extra .isl translation files for Innosetup.
1332
[c60cb16]1333Wed Oct 06 00:49:18 GMT 2010 Olly Betts <olly@survex.com>
1334
1335 * src/datain.c: Add missing include of date.h.
1336
[f351ea24]1337Wed Oct 06 00:48:28 GMT 2010 Olly Betts <olly@survex.com>
1338
1339 * src/date.c,src/date.h: Add files for date handling.
1340
[807f9dd]1341Tue Oct 05 12:48:19 GMT 2010 Olly Betts <olly@survex.com>
1342
1343 * src/gla-gl.cc,src/gla.h: Check whether blobs and crosses actually
1344 render correctly as points/point sprites, and if they don't, fall
1345 back to drawing them with lines.
1346
[fe075d7]1347Tue Oct 05 10:53:56 GMT 2010 Olly Betts <olly@survex.com>
1348
1349 * src/gla-gl.cc,src/gla.h: Cache the best method for drawing blobs
1350 and crosses, and recheck automatically if the graphics hardware
1351 or drivers are changed or upgraded.
1352
[226b599e]1353Mon Oct 04 11:18:22 GMT 2010 Olly Betts <olly@survex.com>
1354
1355 * src/gla-gl.cc: Add \n to commented out debug message.
1356
[1671258]1357Mon Oct 04 09:58:17 GMT 2010 Olly Betts <olly@survex.com>
1358
1359 * doc/index.htm.in,doc/manual.sgml,doc/survex.ent,lib/print.ini,
1360 src/printwx.cc,survex.iss.in: Use http://survex.com/ rather than
1361 http://www.survex.com/ - the former is the canonical name and
1362 www.survex.com just redirects.
1363
[52f67931]1364Mon Oct 04 09:46:24 GMT 2010 Olly Betts <olly@survex.com>
1365
1366 * src/mainfrm.cc: Don't offer "All files" wildcard in presentation save
1367 dialog.
1368
[12ec820]1369Mon Oct 04 08:19:40 GMT 2010 Olly Betts <olly@survex.com>
1370
1371 * src/gla-gl.cc: Pass GL_TRUE to OpenGL functions, rather than true.
1372
[f6d8375]1373Sun Oct 03 06:46:03 GMT 2010 Olly Betts <olly@survex.com>
1374
1375 * src/gfxcore.cc,src/gla-gl.cc,src/gla.h: Use double instead of Double
1376 in cases where the value isn't being passed to OpenGL.
1377
[bde8c9a]1378Sun Aug 22 13:30:54 GMT 2010 Olly Betts <olly@survex.com>
1379
1380 * src/gla-gl.cc: If we aren't using GL_POINTS for blobs, draw them
1381 using a series of abutting lines rather than with gluDisk which
1382 is faster and gives a consistent shape.
1383
[425a138]1384Sat Aug 21 14:33:54 GMT 2010 Olly Betts <olly@survex.com>
1385
1386 * src/gla-gl.cc: Fix another use of GL_POINT_SIZE_RANGE to
1387 GL_SMOOTH_POINT_SIZE_RANGE.
1388
[b6f9294]1389Sat Aug 21 14:30:56 GMT 2010 Olly Betts <olly@survex.com>
1390
1391 * src/gla-gl.cc: Fix non-USE_FNT case to work again (it's limited to
1392 ISO-8859-1 characters though).
1393
[04bf822]1394Sat Aug 21 13:31:17 GMT 2010 Olly Betts <olly@survex.com>
1395
1396 * src/gla-gl.cc: Use GL_SMOOTH_POINT_SIZE_RANGE and
1397 GL_SMOOTH_POINT_SIZE_GRANULARITY instead of GL_POINT_SIZE_RANGE and
1398 GL_POINT_SIZE_GRANULARITY (unless they aren't defined) as the latter
1399 two are deprecated in OpenGL >= 1.2. If GL_ALIASED_POINT_SIZE_RANGE
1400 is available (OpenGL >= 1.2 again) then report its value in the
1401 about box.
1402
[1ee204e]1403Fri Aug 20 12:26:40 GMT 2010 Olly Betts <olly@survex.com>
1404
1405 * doc/3dformat.htm,lib/messages.txt,src/,tests/: New v7 of .3d format
1406 which stores survey dates as number of days since Jan 1st 1900, so
1407 we now support dates from 1900-2078 (rather than 1970-2037) with a
1408 smaller file size. The img API is now versioned - you can select
1409 the new "version 1" by compiling with -DIMG_API_VERSION=1, which
1410 gives the survey dates in days in days1 and days2 instead of as
1411 time_t values in date1 and date2. Fixes ticket#14.
1412
[00d94ee]1413Fri Aug 20 12:12:54 GMT 2010 Olly Betts <olly@survex.com>
1414
1415 * src/printwx.cc: Remove unused '#include <time.h>'.
1416
[82988f5]1417Fri Aug 20 12:10:55 GMT 2010 Olly Betts <olly@survex.com>
1418
1419 * src/avenprcore.cc: Remove unused '#include <time.h>'.
1420
[0965597]1421Fri Aug 20 10:10:05 GMT 2010 Olly Betts <olly@survex.com>
1422
1423 * src/export.cc: Explicit #include <time.h> for strftime().
1424
[576c27f]1425Wed Aug 18 13:59:30 GMT 2010 Olly Betts <olly@survex.com>
1426
1427 * src/osdepend.h: Remove workaround for DOS Turbo C compiler.
1428
[2032841]1429Wed Aug 18 02:03:39 GMT 2010 Olly Betts <olly@survex.com>
1430
1431 * buildmacosx.sh,configure.in,lib/Info.plist.in: Make buildmacosx.sh
1432 work.
1433
[025e84d]1434Tue Aug 17 01:43:24 GMT 2010 Olly Betts <olly@survex.com>
1435
1436 * src/gfxcore.h: "using svx::Point;" gives an error, so use a macro
1437 instead.
1438
[506769f]1439Wed Aug 04 03:27:22 GMT 2010 Olly Betts <olly@survex.com>
1440
1441 * src/img.c: Fix cast in get16() to be to short not long.
1442
[81e1aa4]1443Wed Aug 04 02:32:16 GMT 2010 Olly Betts <olly@survex.com>
1444
1445 * src/cavernlog.cc,src/cavernlog.h: "Rerun" -> "Reprocess" to follow
1446 terminology in manual, etc. Fixes ticket#15.
1447
[e0c8f98]1448Wed Jul 28 17:06:49 GMT 2010 Olly Betts <olly@survex.com>
1449
1450 * tests/: Most tests weren't actually running and testcases (looks like
1451 a sh portability issue). Fixed, and fortunately all tests still
1452 pass.
1453
[f9535d4]1454Mon Jul 26 12:30:43 GMT 2010 Olly Betts <olly@survex.com>
1455
1456 * doc/manual.sgml: Fix typo "of" -> "on".
1457
[f9473ab]1458Mon Jul 26 11:59:59 GMT 2010 Olly Betts <olly@survex.com>
1459
1460 * NEWS,configure.in: Update for 1.1.14.
1461
[7bdf66d]1462Mon Jul 26 11:53:01 GMT 2010 Olly Betts <olly@survex.com>
1463
1464 * lib/messages.txt,src/: Remove things we no longer need now we've
1465 dropped support for RISC OS and DOS.
1466
[175cac6]1467Mon Jul 26 11:19:40 GMT 2010 Olly Betts <olly@survex.com>
1468
1469 * src/cmdline.c: Remove reference to MSDOS.
1470
[9965b2b]1471Mon Jul 26 10:23:07 GMT 2010 Olly Betts <olly@survex.com>
1472
1473 * src/: Strip out "Far" and "Huge" which we no longer need now that
1474 DOS memory models are no longer relevant.
1475
[9e12d78]1476Mon Jul 26 09:57:37 GMT 2010 Olly Betts <olly@survex.com>
1477
1478 * configure.in: No need for AC_PROG_MAKE_SET when using automake.
1479
[5dd874a]1480Mon Jul 26 09:48:10 GMT 2010 Olly Betts <olly@survex.com>
1481
1482 * configure.in,src/useful.h: On little-endian architectures, make
1483 get16() and get32() inline functions, rather than macros which use
1484 a global variable.
1485
[7e5d688]1486Mon Jul 26 09:31:14 GMT 2010 Olly Betts <olly@survex.com>
1487
1488 * src/useful.c: Remove commented out code.
1489
[8c45eea]1490Mon Jul 26 09:19:19 GMT 2010 Olly Betts <olly@survex.com>
1491
1492 * configure.in,src/img.c,src/useful.c,src/useful.h: Use AC_TYPE_INT16_T
1493 and AC_TYPE_INT32_T instead of home-brew equivalents.
1494
[39aa1a0]1495Mon Jul 26 08:40:43 GMT 2010 Olly Betts <olly@survex.com>
1496
1497 * src/listpos.c: In "Station X referred to just once, with an explicit
1498 prefix - typo?" warning, give file and linenumber where the *equate
1499 occurred.
1500
[d40f787]1501Mon Jul 26 08:37:46 GMT 2010 Olly Betts <olly@survex.com>
1502
1503 * src/readval.c: Fix comment typo.
1504
[0d38f0e]1505Mon Jul 26 08:29:41 GMT 2010 Olly Betts <olly@survex.com>
1506
1507 * src/listpos.c: In "Station X referred to by *entrance or *export but
1508 never used" warning, give file and linenumber where the *entrance or
1509 *export occurred.
1510
[b23bcf0]1511Mon Jul 26 07:44:26 GMT 2010 Olly Betts <olly@survex.com>
1512
1513 * src/aventreectrl.cc: Fix double-click handling for survey tree on
1514 wxMSW >= 2.8.11.
1515
[ad3d0a2]1516Mon Jul 26 07:25:59 GMT 2010 Olly Betts <olly@survex.com>
1517
1518 * src/mainfrm.cc: Stop passing wxNO_FULL_REPAINT_ON_RESIZE as it is 0
1519 on all versions of wxWidgets we support (i.e. 2.6 and later).
1520
[318ac31]1521Mon Jul 26 07:21:35 GMT 2010 Olly Betts <olly@survex.com>
1522
1523 * INSTALL,src/: Restore compatibility with wxWidgets 2.6.
1524
[1edaf8d]1525Mon Jul 26 06:29:03 GMT 2010 Olly Betts <olly@survex.com>
1526
1527 * src/netskel.c: In "Unused fixed point" warning, give file and
1528 linenumber where the "*fix" occurred.
1529
[a07ee70]1530Mon Jul 26 06:24:35 GMT 2010 Olly Betts <olly@survex.com>
1531
1532 * src/cavernlog.cc: Fix highlighting of links in CavernLog window to
1533 highlight just <file>:<line> (and not the ': ' after), and to make
1534 the title for the terminal the warning/error message. Make the
1535 checking stricter by checking that the linenumber is a number, to
1536 avoid false positives.
1537
[652b73b]1538Mon Jul 26 04:48:12 GMT 2010 Olly Betts <olly@survex.com>
1539
1540 * Revert this change, as it appears wxMotif does support wxGLCanvas:
1541 * doc/manual.sgml: wxMotif apparently doesn't support wxGLCanvas, which
1542 is required by Aven in 1.1.x, so remove mention of Motif from manual.
1543
[fb5887c]1544Mon Jul 26 03:24:38 GMT 2010 Olly Betts <olly@survex.com>
1545
1546 * src/: Add "Rerun" and "OK" buttons to the CavernLog window (as
1547 appropriate). (Addition of "OK" button fixes ticket#13). Fix up
1548 handling of splitter window to fix poor handling of various cases.
1549
[bc73093]1550Sun Jul 25 15:32:42 GMT 2010 Olly Betts <olly@survex.com>
1551
1552 * src/mainfrm.cc,src/mainfrm.h: Clean up code which sorts out loading
1553 a file (and processing it first if necessary).
1554
[b0c416c]1555Sun Jul 25 07:20:05 GMT 2010 Olly Betts <olly@survex.com>
1556
1557 * src/cavernlog.h: Fix filename in comment at top.
1558
[77b8654]1559Sun Jul 25 07:17:20 GMT 2010 Olly Betts <olly@survex.com>
1560
1561 * src/cavernlog.cc: Don't double escape the contents of href and target
1562 in links in the log.
1563
[813919e]1564Sun Jul 25 06:32:24 GMT 2010 Olly Betts <olly@survex.com>
1565
1566 * src/cavernlog.cc: Remove commented out calls to set the input
1567 encoding of the HTML parser - we now always escape non-ASCII
1568 characters as HTML entities.
1569
[438c9ed]1570Fri Jul 23 14:15:25 GMT 2010 Olly Betts <olly@survex.com>
1571
1572 * src/cavernlog.h: Improve doc comment for process() method.
1573
[cca2ce1]1574Fri Jul 23 12:38:43 GMT 2010 Olly Betts <olly@survex.com>
1575
1576 * src/printwx.cc,src/printwx.h: Don't compile in the preview code when
1577 we disable the preview feature.
1578
[193efb1]1579Fri Jul 23 12:15:31 GMT 2010 Olly Betts <olly@survex.com>
1580
1581 * src/printwx.cc: The Gnome print dialog has its own preview window
1582 so suppress ours if using the Gnome one.
1583
[5297c43]1584Fri Jul 23 11:21:52 GMT 2010 Olly Betts <olly@survex.com>
1585
1586 * configure.in: Update the wx-config probing code - wxmac-config etc
1587 aren't present with newer wxWidgets versions.
1588
[b7510ee]1589Fri Jul 23 05:55:37 GMT 2010 Olly Betts <olly@survex.com>
1590
1591 * buildmacosx.sh: Update to use WX_CONFIG not WXCONFIG. Update to
1592 use a Unicode build. If building a private wx, use wx 2.8.11 not
1593 2.7.0-1 (and don't replace carbon-glcanvas.cpp with our own version).
1594
[a75f5a1]1595Sat Jul 10 12:15:23 GMT 2010 Olly Betts <olly@survex.com>
1596
1597 * src/cavernlog.cc: Set the select timeout before calling wxYield()
1598 when waiting for output from cavern to 0.1s instead of 0.00001s to
1599 avoid yielding excessively on slower machines where this is likely
1600 to really slow things down. Call Scroll() only once per line in
1601 the case where we are updating the scrollbar position. Call
1602 Update() instead of wxYield() after each line, since that's enough
1603 to get the window updated. Remove unused assignment "ch = left;"
1604 at end of loop.
1605
[9c0b089]1606Fri Jul 09 14:42:47 GMT 2010 Olly Betts <olly@survex.com>
1607
1608 * configure.in: Link aven with -lGLU which SuSE Linux needs.
1609
[72f1bb2]1610Fri Jul 09 14:31:39 GMT 2010 Olly Betts <olly@survex.com>
1611
1612 * src/mainfrm.cc: Highlight stations matching any current search when a
1613 file is loaded. (ticket#9)
1614
[2d5edf4]1615Thu Jul 01 12:20:58 GMT 2010 Olly Betts <olly@survex.com>
1616
1617 * survex.iss.in: Clean up comments from over-enthusiastic search and
1618 replace which modified comments as well as code.
1619
[b38cd93]1620Thu Jul 01 10:15:06 GMT 2010 Olly Betts <olly@survex.com>
1621
1622 * src/gfxcore.h: Work around Mac OS X polluting the global namespace
1623 with a "Point" class.
1624
[ecb7f9f]1625Thu Jul 01 10:10:45 GMT 2010 Olly Betts <olly@survex.com>
1626
1627 * src/Makefile.am: Remove FIXME which has already been resolved.
1628
[24fd5b7]1629Fri Jun 18 11:04:35 GMT 2010 Olly Betts <olly@survex.com>
1630
1631 * doc/manual.sgml: wxMotif apparently doesn't support wxGLCanvas, which
1632 is required by Aven in 1.1.x, so remove mention of Motif from manual.
1633
[880b954]1634Fri Jun 18 03:03:55 GMT 2010 Olly Betts <olly@survex.com>
1635
1636 * doc/manual.sgml,src/aventreectrl.cc,src/gfxcore.cc,src/mainfrm.h:
1637 Correctly capitalise "GTK".
1638
[2bbfcec]1639Fri Jun 18 02:58:06 GMT 2010 Olly Betts <olly@survex.com>
1640
1641 * doc/manual.sgml: Note that on Linux we only regularly test builds
1642 with the GTK+ version (change taken from 1.0).
1643
[c88a040]1644Wed Jun 16 04:44:26 GMT 2010 Olly Betts <olly@survex.com>
1645
1646 * doc/Makefile.am: Use stampfile to stop unwanted rebuilds of the HTML
1647 version of the manual.
1648
[7e2f708]1649Wed Jun 16 02:59:48 GMT 2010 Olly Betts <olly@survex.com>
1650
1651 * configure.in: Only ask for core, gl, and html wx libs to avoid
1652 linking to a load of others we don't use.
1653
[4a320aa]1654Tue Jun 15 17:01:41 GMT 2010 Olly Betts <olly@survex.com>
1655
1656 * INSTALL: Update.
1657
[4056cdc]1658Tue Jun 15 16:53:28 GMT 2010 Olly Betts <olly@survex.com>
1659
1660 * src/aven.cc: Fix to work with wxWidgets 2.6 too.
1661
[94f7e41]1662Tue Jun 15 15:38:49 GMT 2010 Olly Betts <olly@survex.com>
1663
1664 * lib/survex-aven.desktop,lib/survex-svxedit.desktop: Merge in .desktop
1665 file updates from 1.0.39.1-4 Debian package.
1666
[7f24541]1667Tue Jun 15 14:40:04 GMT 2010 Olly Betts <olly@survex.com>
1668
1669 * doc/Makefile.am: Fix lingering references to @DOCS_OTHER@.
1670
[e4bfd2f]1671Tue Jun 15 14:32:55 GMT 2010 Olly Betts <olly@survex.com>
1672
1673 * NEWS: Update from ChangeLog.
1674
[0fd6750]1675Tue Jun 15 14:09:29 GMT 2010 Olly Betts <olly@survex.com>
1676
1677 * Makefile.am,configure.in,doc/Makefile.am,make_release: Scrap the
1678 "alternative manual formats" zip file - people will generally just
1679 want one of them, so downloading several together isn't very useful.
1680 Replace PostScript version of manual with a PDF version (more
1681 compact and more people will have software to read PDF). Don't
1682 generate RTF format by default as PDF is more useful if you want
1683 a formatted version to print.
1684
[018db6f]1685Tue Jun 15 13:36:30 GMT 2010 Olly Betts <olly@survex.com>
1686
1687 * doc/manual.sgml: Merge the "Contributing" section into the "Mailing
1688 List" section.
1689
[3554c39]1690Tue Jun 15 12:57:13 GMT 2010 Olly Betts <olly@survex.com>
1691
1692 * Makefile.am,make_release: Just produce a zip file with the
1693 alternative manual formats - a self-extracting .exe is harder to
1694 use on other platforms, and most people have a zip file extractor
1695 installed.
1696
[c818632]1697Tue Jun 15 12:36:13 GMT 2010 Olly Betts <olly@survex.com>
1698
1699 * survex.spec.in: Update survex.com URLs to drop "www.". Update
1700 wxGTK dependency to >= 2.6.0. Reenable "BuildRequires:" as
1701 the issue with building the package on Debian is no longer
1702 relevant.
1703
[56ad6ad]1704Tue Jun 15 12:35:19 GMT 2010 Olly Betts <olly@survex.com>
1705
1706 * doc/manual.sgml: Update (C) years. "MacOS X" -> "Mac OS X".
1707
[8ed91e39]1708Tue Jun 15 12:13:42 GMT 2010 Olly Betts <olly@survex.com>
1709
1710 * doc/manual.sgml: Remove out of date postal addresses - we can
1711 probably safely assume people have email these days. Direct
1712 people to the mailing list since they are likely to get a
1713 quicker response rather than mailing individuals. Remove
1714 mention of a paper mailing list. Remove mention of sending
1715 us a floppy (!) or blank CDR to get a version as I can't recall
1716 the last time I gave someone a copy on physical media.
1717
[98fbcf6]1718Tue Jun 15 11:22:56 GMT 2010 Olly Betts <olly@survex.com>
1719
1720 * Makefile.am,make_release: I can't persuade rpmbuild to work sanely,
1721 and people can just as easily build binary RPMs from the source
1722 tarball as from the srpm, so just remove the rpm target from the
1723 makefile and code which uses it from make_release - it's less to
1724 have to maintain too.
1725
[098acb1]1726Tue Jun 15 10:59:12 GMT 2010 Olly Betts <olly@survex.com>
1727
1728 * make_release: Use "set -e" rather than checking the exit codes of
1729 commands. -t no longer disables targets - set mk to do that.
1730
[dd7674d]1731Tue Jun 15 09:41:11 GMT 2010 Olly Betts <olly@survex.com>
1732
1733 * make_release: Fix defaulting of list of things to do.
1734
[a061be6a]1735Tue Jun 15 09:12:00 GMT 2010 Olly Betts <olly@survex.com>
1736
1737 * src/gdtconvert: Add "Generated" comment to output file.
1738
[ce80d82]1739Tue Jun 15 09:10:02 GMT 2010 Olly Betts <olly@survex.com>
1740
1741 * src/gdtconvert: Add GPL license boilerplate.
1742
[68d7dfc]1743Tue Jun 15 08:53:28 GMT 2010 Olly Betts <olly@survex.com>
1744
1745 * src/gettexttomsg.pl,src/wx.h: Add GPL boilerplate to files which were
1746 missing it.
1747
[ecbc6c18]1748Tue Jun 15 08:46:28 GMT 2010 Olly Betts <olly@survex.com>
1749
1750 * src/: Update FSF address in licence notices.
1751
[5e3879f]1752Tue Jun 15 08:06:09 GMT 2010 Olly Betts <olly@survex.com>
1753
1754 * src/guicontrol.cc: Allow "Toggle Fullscreen" to work even if no
1755 survey is loaded now that we persist the window size between
1756 invocations.
1757
[381bf27]1758Tue Jun 15 08:03:53 GMT 2010 Olly Betts <olly@survex.com>
1759
1760 * src/gla-gl.cc: Use GL_BLEND rather than GL_ALPHA to work better with
1761 anti-aliased TXF files.
1762
[c57bd20]1763Tue Jun 15 07:59:09 GMT 2010 Olly Betts <olly@survex.com>
1764
1765 * src/fnt.cc: Use font size from txf file rather than trying to
1766 calculate it from the texture fragment sizes.
1767
[d133b65]1768Tue Jun 15 07:48:13 GMT 2010 Olly Betts <olly@survex.com>
1769
1770 * lib/Makefile.am,lib/TexFont.h,lib/gentexfont.c: Generate aven.txf with
1771 afm2txf.pl instead of gentexfont because gentexfont's licence doesn't
1772 allow distribution of modified versions.
1773
[72f37d2]1774Tue Jun 15 07:43:48 GMT 2010 Olly Betts <olly@survex.com>
1775
1776 * lib/afm2txf.pl: Add support for -o option to specify output .txf
1777 file.
1778
[7c7cffd]1779Tue Jun 15 07:10:16 GMT 2010 Olly Betts <olly@survex.com>
1780
1781 * lib/afm2txf.pl: Sanitise $FONT to ensure it doesn't contain a '/'.
1782 Remove the temporary .ppm file at the end.
1783
[46cd512]1784Tue Jun 15 06:13:30 GMT 2010 Olly Betts <olly@survex.com>
1785
1786 * lib/afm2txf.pl: Fix alignment of characters, backported from PLIB
1787 SVN.
1788
[233995e]1789Tue Jun 15 05:05:05 GMT 2010 Olly Betts <olly@survex.com>
1790
1791 * lib/afm2txf.pl: Quote $FONT when passing to external commands.
1792
[9ce6a65]1793Tue Jun 15 04:24:33 GMT 2010 Olly Betts <olly@survex.com>
1794
1795 * lib/afm2txf.pl: Change character 96 from "grave" to "quoteleft".
1796
[1dafcb8]1797Tue Jun 15 04:22:59 GMT 2010 Olly Betts <olly@survex.com>
1798
1799 * lib/afm2txf.pl: Extend to cover ISO-8859-1, not just ASCII.
1800
[845fac6]1801Tue Jun 15 04:08:34 GMT 2010 Olly Betts <olly@survex.com>
1802
1803 * lib/afm2txf.pl: Clean up trailing whitespace.
1804
[fb5791d]1805Tue Jun 15 04:02:40 GMT 2010 Olly Betts <olly@survex.com>
1806
1807 * lib/afm2txf.pl: Add GPL script for creating txf files.
1808
[cfe20c7]1809Mon Jun 14 06:33:11 GMT 2010 Olly Betts <olly@survex.com>
1810
1811 * lib/splash.png: Remove now unused graphical splash screen (it has
1812 hardcoded (C) details, which wasn't a good approach).
1813
[ecc16fc]1814Mon Jun 14 05:20:44 GMT 2010 Olly Betts <olly@survex.com>
1815
1816 * src/fnt.cc: Handle the left bearing and character width correctly.
1817
[5f4a155]1818Mon Jun 14 04:44:22 GMT 2010 Olly Betts <olly@survex.com>
1819
1820 * src/fnt.cc: Change back to not using GL_COLOR_INDEX, but with still
1821 being able to set the font texture from a byte array.
1822
[967723f]1823Mon Jun 14 04:23:22 GMT 2010 Olly Betts <olly@survex.com>
1824
1825 * src/fnt.h,src/gla-gl.cc: Pass the length of the string to
1826 fntTexFont::puts() rather than recalculating it inside the
1827 method.
1828
[6f14ee0]1829Sun Jun 13 12:57:08 GMT 2010 Olly Betts <olly@survex.com>
1830
1831 * src/mainfrm.cc: Fix switching to and from the CavernLogWindow pane
1832 to use wxSplitterWindow::ReplaceWindow() which fixes various issues
1833 with sizing and resizing of the panes.
1834
[8a05a7a]1835Sun Jun 13 12:23:23 GMT 2010 Olly Betts <olly@survex.com>
1836
1837 * src/: Add wmsg_cfgpth() which caches the result of msg_cfgpth() as
1838 a wxString.
1839
[d3172cc]1840Sun Jun 13 06:57:07 GMT 2010 Olly Betts <olly@survex.com>
1841
1842 * src/cavernlog.cc,src/gla-gl.cc,src/mainfrm.cc: wxString::fn_str() on
1843 wxmsw returns a wide string, which doesn't work with fopen(), etc, so
1844 call char_str() instead for now.
1845
[5f97258]1846Sun Jun 13 05:41:30 GMT 2010 Olly Betts <olly@survex.com>
1847
1848 * src/printwx.cc: Use wxString::FromAscii() for the units on the scale
1849 bar which we know to be ASCII. No need to use msgPerm() for a
1850 message we assign to a wxString.
1851
[f302cbaa]1852Sun Jun 13 04:44:30 GMT 2010 Olly Betts <olly@survex.com>
1853
1854 * src/mainfrm.cc,src/printwx.cc: Use wxFileName::SplitPath() instead of
1855 baseleaf_from_fnm().
1856
[98a3786]1857Sun Jun 13 00:57:11 GMT 2010 Olly Betts <olly@survex.com>
1858
1859 * src/export.cc,src/gfxcore.cc: wxString::fn_str() on wxmsw returns
1860 a wide string, which doesn't work with fopen(), etc, so call
1861 char_str() instead for now.
1862
[833c6bc]1863Sat Jun 12 15:07:54 GMT 2010 Olly Betts <olly@survex.com>
1864
1865 * src/aven.cc: We can rely on our message catalog being UTF-8 so use
1866 wxString::FromUTF8() instead of wxConvUTF8.
1867
[de0f6e1]1868Sat Jun 12 14:26:32 GMT 2010 Olly Betts <olly@survex.com>
1869
1870 * src/gfxcore.cc: Use wxString::FromAscii() to convert date to
1871 wxString.
1872
[c0abf5a]1873Sun Jun 06 09:36:06 GMT 2010 Olly Betts <olly@survex.com>
1874
1875 * src/Makefile.am: Use wx-config's --rescomp option to get the command
1876 and options needed to turn .rc files into object files.
1877
[a2bc929]1878Fri Jun 04 15:32:27 GMT 2010 Olly Betts <olly@survex.com>
1879
1880 * survex.iss.in: Specify "LZMANumFastBytes=273" which shaves a small
1881 amount of the installer size. Specify "DisableWelcomePage=yes"
1882 which is apparently in line with what other modern installers do.
1883
[b7d232e]1884Fri Jun 04 14:32:04 GMT 2010 Olly Betts <olly@survex.com>
1885
1886 * configure.in,make_release,make_release.in: We no longer need VERSION
1887 in make_release, so no need to generate it from configure.
1888
[5a0eabd]1889Fri Jun 04 14:00:58 GMT 2010 Olly Betts <olly@survex.com>
1890
1891 * Makefile.am,xvfb-run: We no longer need an X display to run ISCC
1892 under Wine, so just run wine directly and removed version of
1893 Debian's xvfb-run script.
1894 * make_release.in: Pass variables to configure on the command line
1895 rather than in the enviornment. Running "make distcheck" no longer
1896 fails extend.tst, so remove comment about that. Use case rather
1897 than expr to check what we've been asked to build. Update to use
1898 unicode wx-config script for wxmsw. The wxmsw build spews warnings
1899 about aliasing issues, so turn on -fno-strict-aliasing to avoid any
1900 potential bugs from that. Enable -Werror for the wxmsw build.
1901 * Makefile.am: Update list of wxstd.mo files we package for wxmsw
1902 (add pt and sk) and where we copy them from. Copy the unofficial
1903 InnoSetup i18n files (.isl) from lib.
1904
[ebcdad9]1905Fri Jun 04 13:40:35 GMT 2010 Olly Betts <olly@survex.com>
1906
1907 * doc/HACKING.htm: Update InnoSetup info.
1908
[b685e4e]1909Fri Jun 04 13:07:01 GMT 2010 Olly Betts <olly@survex.com>
1910
1911 * survex.iss.in: Update for InnoSetup 5.3.9.
1912 * lib/English_GB.isl,lib/Romanian-7-5.1.11.isl: Check in the unofficial
1913 i18n files for InnoSetup which we use.
1914
[9227253]1915Fri Jun 04 13:05:18 GMT 2010 Olly Betts <olly@survex.com>
1916
1917 * src/Makefile.am: Update path to wx RC file.
1918
[a5e8ada]1919Fri Jun 04 12:44:39 GMT 2010 Olly Betts <olly@survex.com>
1920
1921 * src/mainfrm.cc: Explicitly construct temporary wxString() which
1922 is needed to avoid overload ambiguity under __WXMSW__.
1923
[15322f2]1924Fri Jun 04 12:41:59 GMT 2010 Olly Betts <olly@survex.com>
1925
1926 * src/cavernlog.cc: Add missing wxT() to string and character
1927 constants only used in __WXMSW__ build.
1928
[b1876d3]1929Fri Jun 04 12:19:18 GMT 2010 Olly Betts <olly@survex.com>
1930
1931 * src/aven.cc: wxWidgets now has a Slovak translation, so remove the
1932 kludge to substitute Czech if Slovak isn't found.
1933
[4eaa9a3]1934Fri Jun 04 05:08:14 GMT 2010 Olly Betts <olly@survex.com>
1935
1936 * src/aboutdlg.cc: Fix character constant to be a string constant when
1937 building under WXMSW.
1938
[90d0d71]1939Thu Jun 03 13:53:57 GMT 2010 Olly Betts <olly@survex.com>
1940
1941 * NEWS: Update from ChangeLog for 1.1.13.
1942
[0dbc323]1943Thu Jun 03 12:25:14 GMT 2010 Olly Betts <olly@survex.com>
1944
1945 * Makefile.am,configure.in,debian/Makefile.am,debian/changelog: Remove
1946 .deb building machinery from upstream Makefile.
1947
[9fe15ea]1948Thu Jun 03 12:14:16 GMT 2010 Olly Betts <olly@survex.com>
1949
1950 * make_release.in: Remove ancient workaround for getting wine to work.
1951 Remove .deb building machinery. Reenable distcheck to see if the
1952 problem with extend.tst has gone away. Update mingw cross-building
1953 machinery.
1954
[0c03190]1955Wed Jun 02 13:30:28 GMT 2010 Olly Betts <olly@survex.com>
1956
1957 * configure.in,doc/GPL.htm,doc/index.htm.in: Remove HTML version of GPL
1958 - just link to the FSF's page.
1959
1960Wed Jun 02 13:26:55 GMT 2010 Olly Betts <olly@survex.com>
1961
1962 * configure.in,make_release,make_release.in,update-debcl.pl: Use dch to
1963 update debian/changelog.
1964
[0ae292f]1965Wed Jun 02 12:59:33 GMT 2010 Olly Betts <olly@survex.com>
1966
1967 * configure.in,doc/Makefile.am,doc/cl2html.pl,doc/index.htm.in: Stop
1968 generating an HTML version of the ChangeLog - it's too low level to
1969 be of interest to non-developers, and developers can look at the
1970 source code.
1971
[2e4b8cd]1972Wed Jun 02 09:38:25 GMT 2010 Olly Betts <olly@survex.com>
1973
1974 * src/cavernlog.cc: Whitespace tweaks.
1975
[ca2611a]1976Wed Jun 02 09:28:37 GMT 2010 Olly Betts <olly@survex.com>
1977
[fe58e77]1978 * src/aboutdlg.cc,src/aboutdlg.h: Use standard button for "Copy" in
1979 About dialog. Change "OK" button to "Close" since nothing is being
1980 confirmed by clicking it. Call "Flush()" in wxTheClipboard to try
1981 to make the copied text persist after aven is closed, though this
1982 seems to currently do nothing on wxGTK at least.
[ca2611a]1983
1984Tue May 18 12:59:00 GMT 2010 Olly Betts <olly@survex.com>
1985
1986 * doc/HACKING.htm: Note jadetex needed.
1987 Note autoconf 2.64 works well.
1988
1989Tue May 18 02:06:00 GMT 2010 Olly Betts <olly@survex.com>
1990
1991 * src/fnt.cc: Remove now superfluous ().
1992
1993Mon May 17 14:33:00 GMT 2010 Olly Betts <olly@survex.com>
1994
1995 * debian/Makefile.am: Update EXTRA_DIST
1996
1997Mon May 17 05:38:00 GMT 2010 Olly Betts <olly@survex.com>
1998
1999 * src/cavernlog.cc: Fix small memory leak
2000
2001Mon May 17 05:33:00 GMT 2010 Olly Betts <olly@survex.com>
2002
2003 * src/img.c: Don't leak filename_opened member.
2004
2005Mon May 17 05:13:00 GMT 2010 Olly Betts <olly@survex.com>
2006
2007 * src/gfxcore.cc: Initialise all GfxCore's member variables so we
2008 don't use them uninitialised.
2009
2010Mon May 17 05:11:00 GMT 2010 Olly Betts <olly@survex.com>
2011
2012 * src/gfxcore.h: Declare constants with enum rather than #define so
2013 they automatically get allocated unique values, and so they show up
2014 in the debugger.
2015
2016Mon May 17 02:39:00 GMT 2010 Olly Betts <olly@survex.com>
2017
2018 * src/fnt.cc: Make the map array static const
2019
2020Mon May 17 02:30:00 GMT 2010 Olly Betts <olly@survex.com>
2021
2022 * src/fnt.cc: Set the font texture with GL_COLOR_INDEX so we can
2023 use a "byte format" font file without any translation, while a
2024 "bitmap format" font file needs a temporary array half the size.
2025
2026Mon May 17 00:56:00 GMT 2010 Olly Betts <olly@survex.com>
2027
2028 * src/gfxcore.cc: Initialise 3 flags when we load a survey to avoid
2029 using them potentially uninitialised.
2030
2031Sun May 16 14:39:00 GMT 2010 Olly Betts <olly@survex.com>
2032
2033 * src/mainfrm.cc: Fix cavern log window to behave if passed a .svx
2034 file on the command line.
2035
2036Sun May 16 14:27:00 GMT 2010 Olly Betts <olly@survex.com>
2037
2038 * configure.in: Update copyright years.
2039
2040Sun May 16 14:23:00 GMT 2010 Olly Betts <olly@survex.com>
2041
2042 * configure.in, src/aboutdlg.cc, src/aboutdlg.h, src/aven.cc,
2043 src/aven.h, src/avenprcore.cc, src/avenprcore.h,
2044 src/cavernlog.cc, src/cavernlog.h, src/export.cc, src/fnt.h,
2045 src/gfxcore.cc, src/gla-gl.cc, src/gla.h, src/guicontrol.cc,
2046 src/log.cc, src/mainfrm.cc, src/mainfrm.h, src/namecmp.h,
2047 src/printwx.cc, src/printwx.h:
2048 + Fix to build with a "unicode" build of wx.
2049 + Add "Copy" button to the About dialog to copy the system info
2050 to the clipboard.
2051 + List OpenGL extensions last, since there are usually lots of
2052 them with a modern gfx card.
2053 + When processing survey data, auto-scroll the log window until
2054 we've reported a warning or error.
2055 + Put the survey data log window in a splitter in the standard
2056 frame rather than having a separate frame for it.
2057
2058Sat Apr 17 12:13:00 GMT 2010 Olly Betts <olly@survex.com>
2059
2060 * src/aboutdlg.cc: Add case for "GTK+ >= 2.6".
2061
2062Sat Apr 17 12:12:00 GMT 2010 Olly Betts <olly@survex.com>
2063
2064 * src/aboutdlg.cc: Build string using preprocessor string
2065 concatenation rather than runtime appending, where possible.
2066
2067Sat Apr 17 12:00:00 GMT 2010 Olly Betts <olly@survex.com>
2068
2069 * src/aboutdlg.cc: Update (C) date.
2070
2071Sat Apr 17 11:59:00 GMT 2010 Olly Betts <olly@survex.com>
2072
2073 * src/aboutdlg.cc, src/aboutdlg.h: Use a wxTimer instead of idle
2074 events to avoid spinning on the CPU.
2075
2076Sat Apr 17 11:41:00 GMT 2010 Olly Betts <olly@survex.com>
2077
2078 * configure.in: New preferred env var for wx-config script is
2079 WX_CONFIG. WXCONFIG still supported for compatibility.
2080
2081Tue Jul 28 08:16:00 GMT 2009 Olly Betts <olly@survex.com>
2082
2083 * src/mainfrm.cc: The presentation filename now defaults to using
2084 the basename of the currently loaded dataset, but we always prompt
2085 before we first save with such a name.
2086
2087Tue Jul 28 04:37:00 GMT 2009 Olly Betts <olly@survex.com>
2088
2089 * configure.in: Add comment to explain why we call wx-config twice.
2090
2091Tue Jul 28 04:36:00 GMT 2009 Olly Betts <olly@survex.com>
2092
2093 * src/datain.c: Use fputs(m, f) instead of fprintf(f, m) in case m
2094 contains '%' (m comes from the messages file, so this isn't
2095 exploitable by sending someone a "bad" .svx or .3d file).
2096
2097Mon Jul 27 03:29:00 GMT 2009 Olly Betts <olly@survex.com>
2098
2099 * src/mainfrm.cc: Fix to open rather than save when doing "open
2100 presentation" with wxmotif.
2101
2102Thu Mar 05 01:45:00 GMT 2009 Olly Betts <olly@survex.com>
2103
2104 * doc/3dformat.htm: Document that this is version 6 and when we
2105 started to use it.
2106
2107Mon Dec 15 10:34:00 GMT 2008 Olly Betts <olly@survex.com>
2108
2109 * src/gla-gl.cc: When saving a screenshot, perform the vertical
2110 flip of the image data in-place rather than using wxImage::Mirror()
2111 which creates a whole new wxImage object.
2112
2113Fri Dec 12 11:12:00 GMT 2008 Olly Betts <olly@survex.com>
2114
2115 * src/cad3d.c, src/export.cc: Fix export to SVG when a label
2116 contains a '%' character.
2117
2118Fri Dec 12 06:30:00 GMT 2008 Olly Betts <olly@survex.com>
2119
2120 * configure.in: Add AM_PROG_CC_C_O which newer autoreconf warns is
2121 needed.
2122
2123Fri Dec 12 06:28:00 GMT 2008 Olly Betts <olly@survex.com>
2124
2125 * configure.in: Remove AC_SUBST of CRLIB and CROBJX which are no
2126 longer set or used.
2127
2128Fri Dec 12 06:03:00 GMT 2008 Olly Betts <olly@survex.com>
2129
2130 * NEWS, buildmacosx.sh, configure.in, desc-aven.txt, doc/TODO.htm,
2131 doc/manual.sgml, doc/survex.ent, lib/messages.txt,
2132 src/aboutdlg.cc, src/aven.cc, src/aven.h, src/gfxcore.cc,
2133 src/mainfrm.cc, src/printwx.cc, src/printwx.h, src/wx.h: Say
2134 "wxWidgets" instead of "wxWindows" consistently.
2135 Require wxWidgets 2.6.0 or newer - 2.4 is really old now.
2136
2137Mon Mar 31 01:53:00 GMT 2008 Olly Betts <olly@survex.com>
2138
2139 * doc/3dformat.htm: Update for v6 format from Mike McCombe
2140
2141Fri Sep 07 18:29:00 GMT 2007 Olly Betts <olly@survex.com>
2142
2143 * src/gla-gl.cc: Calling glGetError() resets the error state, so we
2144 need to store the value in a variable rather than calling it twice!
2145
2146Fri Sep 07 13:54:00 GMT 2007 Olly Betts <olly@survex.com>
2147
2148 * src/gla-gl.cc: Add missing CHECK_GL_ERROR() calls and correct
2149 some which had the wrong descriptions.
2150 Use GL_POINT_SPRITE and GL_COORD_REPLACE instead of
2151 GL_POINT_SPRITE_ARB and GL_COORD_REPLACE_ARB. They have the same
2152 numeric values, so the shorter (now official) names are better.
2153
2154Fri Sep 07 13:31:00 GMT 2007 Olly Betts <olly@survex.com>
2155
2156 * src/Makefile.am, src/gfxcore.cc, src/gfxcore.h, src/gla-gl.cc,
2157 src/gla.h, src/matrix4.cc, src/matrix4.h, src/quaternion.cc,
2158 src/quaternion.h: Just set the pan and tilt directly as OpenGL
2159 rotations rather than messing around setting up and then decoding a
2160 quaternion. This fixes some glitches when tilting while looking
2161 east, and eliminates 2 source files and 2 headers!
2162
2163Sat Feb 10 13:56:00 GMT 2007 Olly Betts <olly@survex.com>
2164
2165 * NEWS, configure.in, src/aven.cc, src/wx.h:
2166 (Unix version): aven: Fix display of degree symbol in status bar and
2167 messages with accented characters in.
2168 (Mac OS X version): Require at least wxWidgets 2.5.1.
2169
2170Sat Feb 10 13:46:00 GMT 2007 Olly Betts <olly@survex.com>
2171
2172 * src/message.c: Test S_ISREG since that's what we use here
2173
2174Sat Feb 10 13:37:00 GMT 2007 Olly Betts <olly@survex.com>
2175
2176 * src/message.c: Always use utf-8 for aven on unix
2177
Note: See TracBrowser for help on using the repository browser.