source: git/ChangeLog @ 6baad4a

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectmainstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 6baad4a was 6baad4a, checked in by Olly Betts <olly@…>, 16 years ago

src/cavernlog.cc: Fix to work on Microsoft Windows.

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

  • Property mode set to 100644
File size: 33.1 KB
Line 
1Fri Oct 15 05:20:04 GMT 2010  Olly Betts <olly@survex.com>
2
3        * src/cavernlog.cc: Fix to work on Microsoft Windows.
4
5Thu Oct 14 22:50:09 GMT 2010  Olly Betts <olly@survex.com>
6
7        * tests/extend.tst: Enable eswap-break testcase now that diffpos is
8          fixed.
9
10Thu Oct 14 22:48:06 GMT 2010  Olly Betts <olly@survex.com>
11
12        * src/diffpos.c: Handle files with duplicate labels in better - extend
13          generates duplicate labels when it breaks a loop.
14
15Wed Oct 13 15:39:04 GMT 2010  Olly Betts <olly@survex.com>
16
17        * make_release: -Dunix when running make distcheck with the
18          preprocessor in C89 mode.
19
20Wed Oct 13 15:33:23 GMT 2010  Olly Betts <olly@survex.com>
21
22        * src/cavern.c: Fix C++ comment.
23
24Wed Oct 13 15:07:31 GMT 2010  Olly Betts <olly@survex.com>
25
26        * NEWS,configure.in: 1.1.15.
27
28Wed Oct 13 15:00:51 GMT 2010  Olly Betts <olly@survex.com>
29
30        * configure.in,src/: Define GETC() in config.h and use it everywhere.
31          Similarly define PUTC() to use putc_unlocked() where available and
32          use that everywhere too.
33
34Wed Oct 13 13:41:17 GMT 2010  Olly Betts <olly@survex.com>
35
36        * src/cavernlog.cc: Remove superfluous nested declaration.
37
38Wed Oct 13 11:19:29 GMT 2010  Olly Betts <olly@survex.com>
39
40        * src/cavernlog.cc: mingw doesn't have _get_wpgmptr() so use the
41          deprecated _wpgmptr instead.  mingw doesn't have errno_t so use int
42          instead.
43
44Wed Oct 13 10:49:18 GMT 2010  Olly Betts <olly@survex.com>
45
46        * src/cavernlog.cc: (Microsoft Windows) Quote for any meta characters,
47          not just space.
48
49Wed Oct 13 10:27:38 GMT 2010  Olly Betts <olly@survex.com>
50
51        * src/cavernlog.cc: (Microsoft Windows) Use _get_wpgmptr() to get wide
52          path to aven rather for running cavern.
53
54Thu Oct 07 22:38:43 GMT 2010  Olly Betts <olly@survex.com>
55
56        * src/datain.h,src/useful.c: Use getc_unlocked() if available.
57
58Thu Oct 07 14:25:13 GMT 2010  Olly Betts <olly@survex.com>
59
60        * src/mainfrm.cc: Use _wfopen() on Microsoft Windows when loading and
61          saving presentations so that paths with non-Latin1 characters in can
62          be processed.
63
64Thu Oct 07 12:52:22 GMT 2010  Olly Betts <olly@survex.com>
65
66        * configure.in,src/cavernlog.cc: Use getc_unlocked() if available.
67
68Thu Oct 07 12:42:21 GMT 2010  Olly Betts <olly@survex.com>
69
70        * src/cavernlog.cc: Don't call Update() after every line, but only
71          when we don't have data from cavern pending.  Hopefully addresses
72          ticket#12.
73
74Wed Oct 06 02:25:31 GMT 2010  Olly Betts <olly@survex.com>
75
76        * make_release: Never set CFLAGS or CXXFLAGS in the environment.
77          Build mingw version in an unpacked source tree from the release
78          tarball.
79
80Wed Oct 06 02:09:33 GMT 2010  Olly Betts <olly@survex.com>
81
82        * src/cavernlog.cc: Fix code indentation.
83
84Wed Oct 06 02:08:38 GMT 2010  Olly Betts <olly@survex.com>
85
86        * src/cavernlog.cc: Revert to using mb_str() for popen() and system()
87          on Unix.
88
89Wed Oct 06 02:02:54 GMT 2010  Olly Betts <olly@survex.com>
90
91        * src/cavernlog.cc: Use _wpopen() and _wsystem() on Microsoft Windows
92          so that paths with non-Latin1 characters in can be processed.
93
94Wed Oct 06 01:16:03 GMT 2010  Olly Betts <olly@survex.com>
95
96        * src/cavernlog.cc: Need to quote filenames with spaces in for
97          Microsoft Windows.
98
99Wed Oct 06 00:54:44 GMT 2010  Olly Betts <olly@survex.com>
100
101        * lib/Makefile.am: Ship the extra .isl translation files for Innosetup.
102
103Wed Oct 06 00:49:18 GMT 2010  Olly Betts <olly@survex.com>
104
105        * src/datain.c: Add missing include of date.h.
106
107Wed Oct 06 00:48:28 GMT 2010  Olly Betts <olly@survex.com>
108
109        * src/date.c,src/date.h: Add files for date handling.
110
111Tue Oct 05 12:48:19 GMT 2010  Olly Betts <olly@survex.com>
112
113        * src/gla-gl.cc,src/gla.h: Check whether blobs and crosses actually
114          render correctly as points/point sprites, and if they don't, fall
115          back to drawing them with lines.
116
117Tue Oct 05 10:53:56 GMT 2010  Olly Betts <olly@survex.com>
118
119        * src/gla-gl.cc,src/gla.h: Cache the best method for drawing blobs
120          and crosses, and recheck automatically if the graphics hardware
121          or drivers are changed or upgraded.
122
123Mon Oct 04 11:18:22 GMT 2010  Olly Betts <olly@survex.com>
124
125        * src/gla-gl.cc: Add \n to commented out debug message.
126
127Mon Oct 04 09:58:17 GMT 2010  Olly Betts <olly@survex.com>
128
129        * doc/index.htm.in,doc/manual.sgml,doc/survex.ent,lib/print.ini,
130          src/printwx.cc,survex.iss.in: Use http://survex.com/ rather than
131          http://www.survex.com/ - the former is the canonical name and
132          www.survex.com just redirects.
133
134Mon Oct 04 09:46:24 GMT 2010  Olly Betts <olly@survex.com>
135
136        * src/mainfrm.cc: Don't offer "All files" wildcard in presentation save
137          dialog.
138
139Mon Oct 04 08:19:40 GMT 2010  Olly Betts <olly@survex.com>
140
141        * src/gla-gl.cc: Pass GL_TRUE to OpenGL functions, rather than true.
142
143Sun Oct 03 06:46:03 GMT 2010  Olly Betts <olly@survex.com>
144
145        * src/gfxcore.cc,src/gla-gl.cc,src/gla.h: Use double instead of Double
146          in cases where the value isn't being passed to OpenGL.
147
148Sun Aug 22 13:30:54 GMT 2010  Olly Betts <olly@survex.com>
149
150        * src/gla-gl.cc: If we aren't using GL_POINTS for blobs, draw them
151          using a series of abutting lines rather than with gluDisk which
152          is faster and gives a consistent shape.
153
154Sat Aug 21 14:33:54 GMT 2010  Olly Betts <olly@survex.com>
155
156        * src/gla-gl.cc: Fix another use of GL_POINT_SIZE_RANGE to
157          GL_SMOOTH_POINT_SIZE_RANGE.
158
159Sat Aug 21 14:30:56 GMT 2010  Olly Betts <olly@survex.com>
160
161        * src/gla-gl.cc: Fix non-USE_FNT case to work again (it's limited to
162          ISO-8859-1 characters though).
163
164Sat Aug 21 13:31:17 GMT 2010  Olly Betts <olly@survex.com>
165
166        * src/gla-gl.cc: Use GL_SMOOTH_POINT_SIZE_RANGE and
167          GL_SMOOTH_POINT_SIZE_GRANULARITY instead of GL_POINT_SIZE_RANGE and
168          GL_POINT_SIZE_GRANULARITY (unless they aren't defined) as the latter
169          two are deprecated in OpenGL >= 1.2.  If GL_ALIASED_POINT_SIZE_RANGE
170          is available (OpenGL >= 1.2 again) then report its value in the
171          about box.
172
173Fri Aug 20 12:26:40 GMT 2010  Olly Betts <olly@survex.com>
174
175        * doc/3dformat.htm,lib/messages.txt,src/,tests/: New v7 of .3d format
176          which stores survey dates as number of days since Jan 1st 1900, so
177          we now support dates from 1900-2078 (rather than 1970-2037) with a
178          smaller file size.  The img API is now versioned - you can select
179          the new "version 1" by compiling with -DIMG_API_VERSION=1, which
180          gives the survey dates in days in days1 and days2 instead of as
181          time_t values in date1 and date2.  Fixes ticket#14.
182
183Fri Aug 20 12:12:54 GMT 2010  Olly Betts <olly@survex.com>
184
185        * src/printwx.cc: Remove unused '#include <time.h>'.
186
187Fri Aug 20 12:10:55 GMT 2010  Olly Betts <olly@survex.com>
188
189        * src/avenprcore.cc: Remove unused '#include <time.h>'.
190
191Fri Aug 20 10:10:05 GMT 2010  Olly Betts <olly@survex.com>
192
193        * src/export.cc: Explicit #include <time.h> for strftime().
194
195Wed Aug 18 13:59:30 GMT 2010  Olly Betts <olly@survex.com>
196
197        * src/osdepend.h: Remove workaround for DOS Turbo C compiler.
198
199Wed Aug 18 02:03:39 GMT 2010  Olly Betts <olly@survex.com>
200
201        * buildmacosx.sh,configure.in,lib/Info.plist.in: Make buildmacosx.sh
202          work.
203
204Tue Aug 17 01:43:24 GMT 2010  Olly Betts <olly@survex.com>
205
206        * src/gfxcore.h: "using svx::Point;" gives an error, so use a macro
207          instead.
208
209Wed Aug 04 03:27:22 GMT 2010  Olly Betts <olly@survex.com>
210
211        * src/img.c: Fix cast in get16() to be to short not long.
212
213Wed Aug 04 02:32:16 GMT 2010  Olly Betts <olly@survex.com>
214
215        * src/cavernlog.cc,src/cavernlog.h: "Rerun" -> "Reprocess" to follow
216          terminology in manual, etc.  Fixes ticket#15.
217
218Wed Jul 28 17:06:49 GMT 2010  Olly Betts <olly@survex.com>
219
220        * tests/: Most tests weren't actually running and testcases (looks like
221          a sh portability issue).  Fixed, and fortunately all tests still
222          pass.
223
224Mon Jul 26 12:30:43 GMT 2010  Olly Betts <olly@survex.com>
225
226        * doc/manual.sgml: Fix typo "of" -> "on".
227
228Mon Jul 26 11:59:59 GMT 2010  Olly Betts <olly@survex.com>
229
230        * NEWS,configure.in: Update for 1.1.14.
231
232Mon Jul 26 11:53:01 GMT 2010  Olly Betts <olly@survex.com>
233
234        * lib/messages.txt,src/: Remove things we no longer need now we've
235          dropped support for RISC OS and DOS.
236
237Mon Jul 26 11:19:40 GMT 2010  Olly Betts <olly@survex.com>
238
239        * src/cmdline.c: Remove reference to MSDOS.
240
241Mon Jul 26 10:23:07 GMT 2010  Olly Betts <olly@survex.com>
242
243        * src/: Strip out "Far" and "Huge" which we no longer need now that
244          DOS memory models are no longer relevant.
245
246Mon Jul 26 09:57:37 GMT 2010  Olly Betts <olly@survex.com>
247
248        * configure.in: No need for AC_PROG_MAKE_SET when using automake.
249
250Mon Jul 26 09:48:10 GMT 2010  Olly Betts <olly@survex.com>
251
252        * configure.in,src/useful.h: On little-endian architectures, make
253          get16() and get32() inline functions, rather than macros which use
254          a global variable.
255
256Mon Jul 26 09:31:14 GMT 2010  Olly Betts <olly@survex.com>
257
258        * src/useful.c: Remove commented out code.
259
260Mon Jul 26 09:19:19 GMT 2010  Olly Betts <olly@survex.com>
261
262        * configure.in,src/img.c,src/useful.c,src/useful.h: Use AC_TYPE_INT16_T
263          and AC_TYPE_INT32_T instead of home-brew equivalents.
264
265Mon Jul 26 08:40:43 GMT 2010  Olly Betts <olly@survex.com>
266
267        * src/listpos.c: In "Station X referred to just once, with an explicit
268          prefix - typo?" warning, give file and linenumber where the *equate
269          occurred.
270
271Mon Jul 26 08:37:46 GMT 2010  Olly Betts <olly@survex.com>
272
273        * src/readval.c: Fix comment typo.
274
275Mon Jul 26 08:29:41 GMT 2010  Olly Betts <olly@survex.com>
276
277        * src/listpos.c: In "Station X referred to by *entrance or *export but
278          never used" warning, give file and linenumber where the *entrance or
279          *export occurred.
280
281Mon Jul 26 07:44:26 GMT 2010  Olly Betts <olly@survex.com>
282
283        * src/aventreectrl.cc: Fix double-click handling for survey tree on
284          wxMSW >= 2.8.11.
285
286Mon Jul 26 07:25:59 GMT 2010  Olly Betts <olly@survex.com>
287
288        * src/mainfrm.cc: Stop passing wxNO_FULL_REPAINT_ON_RESIZE as it is 0
289          on all versions of wxWidgets we support (i.e. 2.6 and later).
290
291Mon Jul 26 07:21:35 GMT 2010  Olly Betts <olly@survex.com>
292
293        * INSTALL,src/: Restore compatibility with wxWidgets 2.6.
294
295Mon Jul 26 06:29:03 GMT 2010  Olly Betts <olly@survex.com>
296
297        * src/netskel.c: In "Unused fixed point" warning, give file and
298          linenumber where the "*fix" occurred.
299
300Mon Jul 26 06:24:35 GMT 2010  Olly Betts <olly@survex.com>
301
302        * src/cavernlog.cc: Fix highlighting of links in CavernLog window to
303          highlight just <file>:<line> (and not the ': ' after), and to make
304          the title for the terminal the warning/error message.  Make the
305          checking stricter by checking that the linenumber is a number, to
306          avoid false positives.
307
308Mon Jul 26 04:48:12 GMT 2010  Olly Betts <olly@survex.com>
309
310        * Revert this change, as it appears wxMotif does support wxGLCanvas:
311        * doc/manual.sgml: wxMotif apparently doesn't support wxGLCanvas, which
312          is required by Aven in 1.1.x, so remove mention of Motif from manual.
313
314Mon Jul 26 03:24:38 GMT 2010  Olly Betts <olly@survex.com>
315
316        * src/: Add "Rerun" and "OK" buttons to the CavernLog window (as
317          appropriate).  (Addition of "OK" button fixes ticket#13).  Fix up
318          handling of splitter window to fix poor handling of various cases.
319
320Sun Jul 25 15:32:42 GMT 2010  Olly Betts <olly@survex.com>
321
322        * src/mainfrm.cc,src/mainfrm.h: Clean up code which sorts out loading
323          a file (and processing it first if necessary).
324
325Sun Jul 25 07:20:05 GMT 2010  Olly Betts <olly@survex.com>
326
327        * src/cavernlog.h: Fix filename in comment at top.
328
329Sun Jul 25 07:17:20 GMT 2010  Olly Betts <olly@survex.com>
330
331        * src/cavernlog.cc: Don't double escape the contents of href and target
332          in links in the log.
333
334Sun Jul 25 06:32:24 GMT 2010  Olly Betts <olly@survex.com>
335
336        * src/cavernlog.cc: Remove commented out calls to set the input
337          encoding of the HTML parser - we now always escape non-ASCII
338          characters as HTML entities.
339
340Fri Jul 23 14:15:25 GMT 2010  Olly Betts <olly@survex.com>
341
342        * src/cavernlog.h: Improve doc comment for process() method.
343
344Fri Jul 23 12:38:43 GMT 2010  Olly Betts <olly@survex.com>
345
346        * src/printwx.cc,src/printwx.h: Don't compile in the preview code when
347          we disable the preview feature.
348
349Fri Jul 23 12:15:31 GMT 2010  Olly Betts <olly@survex.com>
350
351        * src/printwx.cc: The Gnome print dialog has its own preview window
352          so suppress ours if using the Gnome one.
353
354Fri Jul 23 11:21:52 GMT 2010  Olly Betts <olly@survex.com>
355
356        * configure.in: Update the wx-config probing code - wxmac-config etc
357          aren't present with newer wxWidgets versions.
358
359Fri Jul 23 05:55:37 GMT 2010  Olly Betts <olly@survex.com>
360
361        * buildmacosx.sh: Update to use WX_CONFIG not WXCONFIG.  Update to
362          use a Unicode build.  If building a private wx, use wx 2.8.11 not
363          2.7.0-1 (and don't replace carbon-glcanvas.cpp with our own version).
364
365Sat Jul 10 12:15:23 GMT 2010  Olly Betts <olly@survex.com>
366
367        * src/cavernlog.cc: Set the select timeout before calling wxYield()
368          when waiting for output from cavern to 0.1s instead of 0.00001s to
369          avoid yielding excessively on slower machines where this is likely
370          to really slow things down.  Call Scroll() only once per line in
371          the case where we are updating the scrollbar position.  Call
372          Update() instead of wxYield() after each line, since that's enough
373          to get the window updated.  Remove unused assignment "ch = left;"
374          at end of loop.
375
376Fri Jul 09 14:42:47 GMT 2010  Olly Betts <olly@survex.com>
377
378        * configure.in: Link aven with -lGLU which SuSE Linux needs.
379
380Fri Jul 09 14:31:39 GMT 2010  Olly Betts <olly@survex.com>
381
382        * src/mainfrm.cc: Highlight stations matching any current search when a
383          file is loaded.  (ticket#9)
384
385Thu Jul 01 12:20:58 GMT 2010  Olly Betts <olly@survex.com>
386
387        * survex.iss.in: Clean up comments from over-enthusiastic search and
388          replace which modified comments as well as code.
389
390Thu Jul 01 10:15:06 GMT 2010  Olly Betts <olly@survex.com>
391
392        * src/gfxcore.h: Work around Mac OS X polluting the global namespace
393          with a "Point" class.
394
395Thu Jul 01 10:10:45 GMT 2010  Olly Betts <olly@survex.com>
396
397        * src/Makefile.am: Remove FIXME which has already been resolved.
398
399Fri Jun 18 11:04:35 GMT 2010  Olly Betts <olly@survex.com>
400
401        * doc/manual.sgml: wxMotif apparently doesn't support wxGLCanvas, which
402          is required by Aven in 1.1.x, so remove mention of Motif from manual.
403
404Fri Jun 18 03:03:55 GMT 2010  Olly Betts <olly@survex.com>
405
406        * doc/manual.sgml,src/aventreectrl.cc,src/gfxcore.cc,src/mainfrm.h:
407          Correctly capitalise "GTK".
408
409Fri Jun 18 02:58:06 GMT 2010  Olly Betts <olly@survex.com>
410
411        * doc/manual.sgml: Note that on Linux we only regularly test builds
412          with the GTK+ version (change taken from 1.0).
413
414Wed Jun 16 04:44:26 GMT 2010  Olly Betts <olly@survex.com>
415
416        * doc/Makefile.am: Use stampfile to stop unwanted rebuilds of the HTML
417          version of the manual.
418
419Wed Jun 16 02:59:48 GMT 2010  Olly Betts <olly@survex.com>
420
421        * configure.in: Only ask for core, gl, and html wx libs to avoid
422          linking to a load of others we don't use.
423
424Tue Jun 15 17:01:41 GMT 2010  Olly Betts <olly@survex.com>
425
426        * INSTALL: Update.
427
428Tue Jun 15 16:53:28 GMT 2010  Olly Betts <olly@survex.com>
429
430        * src/aven.cc: Fix to work with wxWidgets 2.6 too.
431
432Tue Jun 15 15:38:49 GMT 2010  Olly Betts <olly@survex.com>
433
434        * lib/survex-aven.desktop,lib/survex-svxedit.desktop: Merge in .desktop
435          file updates from 1.0.39.1-4 Debian package.
436
437Tue Jun 15 14:40:04 GMT 2010  Olly Betts <olly@survex.com>
438
439        * doc/Makefile.am: Fix lingering references to @DOCS_OTHER@.
440
441Tue Jun 15 14:32:55 GMT 2010  Olly Betts <olly@survex.com>
442
443        * NEWS: Update from ChangeLog.
444
445Tue Jun 15 14:09:29 GMT 2010  Olly Betts <olly@survex.com>
446
447        * Makefile.am,configure.in,doc/Makefile.am,make_release: Scrap the
448          "alternative manual formats" zip file - people will generally just
449          want one of them, so downloading several together isn't very useful.
450          Replace PostScript version of manual with a PDF version (more
451          compact and more people will have software to read PDF).  Don't
452          generate RTF format by default as PDF is more useful if you want
453          a formatted version to print.
454
455Tue Jun 15 13:36:30 GMT 2010  Olly Betts <olly@survex.com>
456
457        * doc/manual.sgml: Merge the "Contributing" section into the "Mailing
458          List" section.
459
460Tue Jun 15 12:57:13 GMT 2010  Olly Betts <olly@survex.com>
461
462        * Makefile.am,make_release: Just produce a zip file with the
463          alternative manual formats - a self-extracting .exe is harder to
464          use on other platforms, and most people have a zip file extractor
465          installed.
466
467Tue Jun 15 12:36:13 GMT 2010  Olly Betts <olly@survex.com>
468
469        * survex.spec.in: Update survex.com URLs to drop "www.".  Update
470          wxGTK dependency to >= 2.6.0.  Reenable "BuildRequires:" as
471          the issue with building the package on Debian is no longer
472          relevant.
473
474Tue Jun 15 12:35:19 GMT 2010  Olly Betts <olly@survex.com>
475
476        * doc/manual.sgml: Update (C) years.  "MacOS X" -> "Mac OS X".
477
478Tue Jun 15 12:13:42 GMT 2010  Olly Betts <olly@survex.com>
479
480        * doc/manual.sgml: Remove out of date postal addresses - we can
481          probably safely assume people have email these days.  Direct
482          people to the mailing list since they are likely to get a
483          quicker response rather than mailing individuals.  Remove
484          mention of a paper mailing list.  Remove mention of sending
485          us a floppy (!) or blank CDR to get a version as I can't recall
486          the last time I gave someone a copy on physical media.
487
488Tue Jun 15 11:22:56 GMT 2010  Olly Betts <olly@survex.com>
489
490        * Makefile.am,make_release: I can't persuade rpmbuild to work sanely,
491          and people can just as easily build binary RPMs from the source
492          tarball as from the srpm, so just remove the rpm target from the
493          makefile and code which uses it from make_release - it's less to
494          have to maintain too.
495
496Tue Jun 15 10:59:12 GMT 2010  Olly Betts <olly@survex.com>
497
498        * make_release: Use "set -e" rather than checking the exit codes of
499          commands.  -t no longer disables targets - set mk to do that.
500
501Tue Jun 15 09:41:11 GMT 2010  Olly Betts <olly@survex.com>
502
503        * make_release: Fix defaulting of list of things to do.
504
505Tue Jun 15 09:12:00 GMT 2010  Olly Betts <olly@survex.com>
506
507        * src/gdtconvert: Add "Generated" comment to output file.
508
509Tue Jun 15 09:10:02 GMT 2010  Olly Betts <olly@survex.com>
510
511        * src/gdtconvert: Add GPL license boilerplate.
512
513Tue Jun 15 08:53:28 GMT 2010  Olly Betts <olly@survex.com>
514
515        * src/gettexttomsg.pl,src/wx.h: Add GPL boilerplate to files which were
516          missing it.
517
518Tue Jun 15 08:46:28 GMT 2010  Olly Betts <olly@survex.com>
519
520        * src/: Update FSF address in licence notices.
521
522Tue Jun 15 08:06:09 GMT 2010  Olly Betts <olly@survex.com>
523
524        * src/guicontrol.cc: Allow "Toggle Fullscreen" to work even if no
525          survey is loaded now that we persist the window size between
526          invocations.
527
528Tue Jun 15 08:03:53 GMT 2010  Olly Betts <olly@survex.com>
529
530        * src/gla-gl.cc: Use GL_BLEND rather than GL_ALPHA to work better with
531          anti-aliased TXF files.
532
533Tue Jun 15 07:59:09 GMT 2010  Olly Betts <olly@survex.com>
534
535        * src/fnt.cc: Use font size from txf file rather than trying to
536          calculate it from the texture fragment sizes.
537
538Tue Jun 15 07:48:13 GMT 2010  Olly Betts <olly@survex.com>
539
540        * lib/Makefile.am,lib/TexFont.h,lib/gentexfont.c: Generate aven.txf with
541          afm2txf.pl instead of gentexfont because gentexfont's licence doesn't
542          allow distribution of modified versions.
543
544Tue Jun 15 07:43:48 GMT 2010  Olly Betts <olly@survex.com>
545
546        * lib/afm2txf.pl: Add support for -o option to specify output .txf
547          file.
548
549Tue Jun 15 07:10:16 GMT 2010  Olly Betts <olly@survex.com>
550
551        * lib/afm2txf.pl: Sanitise $FONT to ensure it doesn't contain a '/'.
552          Remove the temporary .ppm file at the end.
553
554Tue Jun 15 06:13:30 GMT 2010  Olly Betts <olly@survex.com>
555
556        * lib/afm2txf.pl: Fix alignment of characters, backported from PLIB
557          SVN.
558
559Tue Jun 15 05:05:05 GMT 2010  Olly Betts <olly@survex.com>
560
561        * lib/afm2txf.pl: Quote $FONT when passing to external commands.
562
563Tue Jun 15 04:24:33 GMT 2010  Olly Betts <olly@survex.com>
564
565        * lib/afm2txf.pl: Change character 96 from "grave" to "quoteleft".
566
567Tue Jun 15 04:22:59 GMT 2010  Olly Betts <olly@survex.com>
568
569        * lib/afm2txf.pl: Extend to cover ISO-8859-1, not just ASCII.
570
571Tue Jun 15 04:08:34 GMT 2010  Olly Betts <olly@survex.com>
572
573        * lib/afm2txf.pl: Clean up trailing whitespace.
574
575Tue Jun 15 04:02:40 GMT 2010  Olly Betts <olly@survex.com>
576
577        * lib/afm2txf.pl: Add GPL script for creating txf files.
578
579Mon Jun 14 06:33:11 GMT 2010  Olly Betts <olly@survex.com>
580
581        * lib/splash.png: Remove now unused graphical splash screen (it has
582          hardcoded (C) details, which wasn't a good approach).
583
584Mon Jun 14 05:20:44 GMT 2010  Olly Betts <olly@survex.com>
585
586        * src/fnt.cc: Handle the left bearing and character width correctly.
587
588Mon Jun 14 04:44:22 GMT 2010  Olly Betts <olly@survex.com>
589
590        * src/fnt.cc: Change back to not using GL_COLOR_INDEX, but with still
591          being able to set the font texture from a byte array.
592
593Mon Jun 14 04:23:22 GMT 2010  Olly Betts <olly@survex.com>
594
595        * src/fnt.h,src/gla-gl.cc: Pass the length of the string to
596          fntTexFont::puts() rather than recalculating it inside the
597          method.
598
599Sun Jun 13 12:57:08 GMT 2010  Olly Betts <olly@survex.com>
600
601        * src/mainfrm.cc: Fix switching to and from the CavernLogWindow pane
602          to use wxSplitterWindow::ReplaceWindow() which fixes various issues
603          with sizing and resizing of the panes.
604
605Sun Jun 13 12:23:23 GMT 2010  Olly Betts <olly@survex.com>
606
607        * src/: Add wmsg_cfgpth() which caches the result of msg_cfgpth() as
608          a wxString.
609
610Sun Jun 13 06:57:07 GMT 2010  Olly Betts <olly@survex.com>
611
612        * src/cavernlog.cc,src/gla-gl.cc,src/mainfrm.cc: wxString::fn_str() on
613          wxmsw returns a wide string, which doesn't work with fopen(), etc, so
614          call char_str() instead for now.
615
616Sun Jun 13 05:41:30 GMT 2010  Olly Betts <olly@survex.com>
617
618        * src/printwx.cc: Use wxString::FromAscii() for the units on the scale
619          bar which we know to be ASCII.  No need to use msgPerm() for a
620          message we assign to a wxString.
621
622Sun Jun 13 04:44:30 GMT 2010  Olly Betts <olly@survex.com>
623
624        * src/mainfrm.cc,src/printwx.cc: Use wxFileName::SplitPath() instead of
625          baseleaf_from_fnm().
626
627Sun Jun 13 00:57:11 GMT 2010  Olly Betts <olly@survex.com>
628
629        * src/export.cc,src/gfxcore.cc: wxString::fn_str() on wxmsw returns
630          a wide string, which doesn't work with fopen(), etc, so call
631          char_str() instead for now.
632
633Sat Jun 12 15:07:54 GMT 2010  Olly Betts <olly@survex.com>
634
635        * src/aven.cc: We can rely on our message catalog being UTF-8 so use
636          wxString::FromUTF8() instead of wxConvUTF8.
637
638Sat Jun 12 14:26:32 GMT 2010  Olly Betts <olly@survex.com>
639
640        * src/gfxcore.cc: Use wxString::FromAscii() to convert date to
641          wxString.
642
643Sun Jun 06 09:36:06 GMT 2010  Olly Betts <olly@survex.com>
644
645        * src/Makefile.am: Use wx-config's --rescomp option to get the command
646          and options needed to turn .rc files into object files.
647
648Fri Jun 04 15:32:27 GMT 2010  Olly Betts <olly@survex.com>
649
650        * survex.iss.in: Specify "LZMANumFastBytes=273" which shaves a small
651          amount of the installer size.  Specify "DisableWelcomePage=yes"
652          which is apparently in line with what other modern installers do.
653
654Fri Jun 04 14:32:04 GMT 2010  Olly Betts <olly@survex.com>
655
656        * configure.in,make_release,make_release.in: We no longer need VERSION
657          in make_release, so no need to generate it from configure.
658
659Fri Jun 04 14:00:58 GMT 2010  Olly Betts <olly@survex.com>
660
661        * Makefile.am,xvfb-run: We no longer need an X display to run ISCC
662          under Wine, so just run wine directly and removed version of
663          Debian's xvfb-run script.
664        * make_release.in: Pass variables to configure on the command line
665          rather than in the enviornment.  Running "make distcheck" no longer
666          fails extend.tst, so remove comment about that.  Use case rather
667          than expr to check what we've been asked to build.  Update to use
668          unicode wx-config script for wxmsw.  The wxmsw build spews warnings
669          about aliasing issues, so turn on -fno-strict-aliasing to avoid any
670          potential bugs from that.  Enable -Werror for the wxmsw build.
671        * Makefile.am: Update list of wxstd.mo files we package for wxmsw
672          (add pt and sk) and where we copy them from.  Copy the unofficial
673          InnoSetup i18n files (.isl) from lib.
674
675Fri Jun 04 13:40:35 GMT 2010  Olly Betts <olly@survex.com>
676
677        * doc/HACKING.htm: Update InnoSetup info.
678
679Fri Jun 04 13:07:01 GMT 2010  Olly Betts <olly@survex.com>
680
681        * survex.iss.in: Update for InnoSetup 5.3.9.
682        * lib/English_GB.isl,lib/Romanian-7-5.1.11.isl: Check in the unofficial
683          i18n files for InnoSetup which we use.
684
685Fri Jun 04 13:05:18 GMT 2010  Olly Betts <olly@survex.com>
686
687        * src/Makefile.am: Update path to wx RC file.
688
689Fri Jun 04 12:44:39 GMT 2010  Olly Betts <olly@survex.com>
690
691        * src/mainfrm.cc: Explicitly construct temporary wxString() which
692          is needed to avoid overload ambiguity under __WXMSW__.
693
694Fri Jun 04 12:41:59 GMT 2010  Olly Betts <olly@survex.com>
695
696        * src/cavernlog.cc: Add missing wxT() to string and character
697          constants only used in __WXMSW__ build.
698
699Fri Jun 04 12:19:18 GMT 2010  Olly Betts <olly@survex.com>
700
701        * src/aven.cc: wxWidgets now has a Slovak translation, so remove the
702          kludge to substitute Czech if Slovak isn't found.
703
704Fri Jun 04 05:08:14 GMT 2010  Olly Betts <olly@survex.com>
705
706        * src/aboutdlg.cc: Fix character constant to be a string constant when
707          building under WXMSW.
708
709Thu Jun 03 13:53:57 GMT 2010  Olly Betts <olly@survex.com>
710
711        * NEWS: Update from ChangeLog for 1.1.13.
712
713Thu Jun 03 12:25:14 GMT 2010  Olly Betts <olly@survex.com>
714
715        * Makefile.am,configure.in,debian/Makefile.am,debian/changelog: Remove
716          .deb building machinery from upstream Makefile.
717
718Thu Jun 03 12:14:16 GMT 2010  Olly Betts <olly@survex.com>
719
720        * make_release.in: Remove ancient workaround for getting wine to work.
721          Remove .deb building machinery.  Reenable distcheck to see if the
722          problem with extend.tst has gone away.  Update mingw cross-building
723          machinery.
724
725Wed Jun 02 13:30:28 GMT 2010  Olly Betts <olly@survex.com>
726
727        * configure.in,doc/GPL.htm,doc/index.htm.in: Remove HTML version of GPL
728          - just link to the FSF's page.
729
730Wed Jun 02 13:26:55 GMT 2010  Olly Betts <olly@survex.com>
731
732        * configure.in,make_release,make_release.in,update-debcl.pl: Use dch to
733          update debian/changelog.
734
735Wed Jun 02 12:59:33 GMT 2010  Olly Betts <olly@survex.com>
736
737        * configure.in,doc/Makefile.am,doc/cl2html.pl,doc/index.htm.in: Stop
738          generating an HTML version of the ChangeLog - it's too low level to
739          be of interest to non-developers, and developers can look at the
740          source code.
741
742Wed Jun 02 09:38:25 GMT 2010  Olly Betts <olly@survex.com>
743
744        * src/cavernlog.cc: Whitespace tweaks.
745
746Wed Jun 02 09:28:37 GMT 2010  Olly Betts <olly@survex.com>
747
748        * src/aboutdlg.cc,src/aboutdlg.h: Use standard button for "Copy" in
749          About dialog.  Change "OK" button to "Close" since nothing is being
750          confirmed by clicking it.  Call "Flush()" in wxTheClipboard to try
751          to make the copied text persist after aven is closed, though this
752          seems to currently do nothing on wxGTK at least.
753
754Tue May 18 12:59:00 GMT 2010  Olly Betts <olly@survex.com>
755
756        * doc/HACKING.htm: Note jadetex needed.
757          Note autoconf 2.64 works well.
758
759Tue May 18 02:06:00 GMT 2010  Olly Betts <olly@survex.com>
760
761        * src/fnt.cc: Remove now superfluous ().
762
763Mon May 17 14:33:00 GMT 2010  Olly Betts <olly@survex.com>
764
765        * debian/Makefile.am: Update EXTRA_DIST
766
767Mon May 17 05:38:00 GMT 2010  Olly Betts <olly@survex.com>
768
769        * src/cavernlog.cc: Fix small memory leak
770
771Mon May 17 05:33:00 GMT 2010  Olly Betts <olly@survex.com>
772
773        * src/img.c: Don't leak filename_opened member.
774
775Mon May 17 05:13:00 GMT 2010  Olly Betts <olly@survex.com>
776
777        * src/gfxcore.cc: Initialise all GfxCore's member variables so we
778          don't use them uninitialised.
779
780Mon May 17 05:11:00 GMT 2010  Olly Betts <olly@survex.com>
781
782        * src/gfxcore.h: Declare constants with enum rather than #define so
783          they automatically get allocated unique values, and so they show up
784          in the debugger.
785
786Mon May 17 02:39:00 GMT 2010  Olly Betts <olly@survex.com>
787
788        * src/fnt.cc: Make the map array static const
789
790Mon May 17 02:30:00 GMT 2010  Olly Betts <olly@survex.com>
791
792        * src/fnt.cc: Set the font texture with GL_COLOR_INDEX so we can
793          use a "byte format" font file without any translation, while a
794          "bitmap format" font file needs a temporary array half the size.
795
796Mon May 17 00:56:00 GMT 2010  Olly Betts <olly@survex.com>
797
798        * src/gfxcore.cc: Initialise 3 flags when we load a survey to avoid
799          using them potentially uninitialised.
800
801Sun May 16 14:39:00 GMT 2010  Olly Betts <olly@survex.com>
802
803        * src/mainfrm.cc: Fix cavern log window to behave if passed a .svx
804          file on the command line.
805
806Sun May 16 14:27:00 GMT 2010  Olly Betts <olly@survex.com>
807
808        * configure.in: Update copyright years.
809
810Sun May 16 14:23:00 GMT 2010  Olly Betts <olly@survex.com>
811
812        * configure.in, src/aboutdlg.cc, src/aboutdlg.h, src/aven.cc,
813          src/aven.h, src/avenprcore.cc, src/avenprcore.h,
814          src/cavernlog.cc, src/cavernlog.h, src/export.cc, src/fnt.h,
815          src/gfxcore.cc, src/gla-gl.cc, src/gla.h, src/guicontrol.cc,
816          src/log.cc, src/mainfrm.cc, src/mainfrm.h, src/namecmp.h,
817          src/printwx.cc, src/printwx.h:
818          + Fix to build with a "unicode" build of wx.
819          + Add "Copy" button to the About dialog to copy the system info
820            to the clipboard.
821          + List OpenGL extensions last, since there are usually lots of
822            them with a modern gfx card.
823          + When processing survey data, auto-scroll the log window until
824            we've reported a warning or error.
825          + Put the survey data log window in a splitter in the standard
826            frame rather than having a separate frame for it.
827
828Sat Apr 17 12:13:00 GMT 2010  Olly Betts <olly@survex.com>
829
830        * src/aboutdlg.cc: Add case for "GTK+ >= 2.6".
831
832Sat Apr 17 12:12:00 GMT 2010  Olly Betts <olly@survex.com>
833
834        * src/aboutdlg.cc: Build string using preprocessor string
835          concatenation rather than runtime appending, where possible.
836
837Sat Apr 17 12:00:00 GMT 2010  Olly Betts <olly@survex.com>
838
839        * src/aboutdlg.cc: Update (C) date.
840
841Sat Apr 17 11:59:00 GMT 2010  Olly Betts <olly@survex.com>
842
843        * src/aboutdlg.cc, src/aboutdlg.h: Use a wxTimer instead of idle
844          events to avoid spinning on the CPU.
845
846Sat Apr 17 11:41:00 GMT 2010  Olly Betts <olly@survex.com>
847
848        * configure.in: New preferred env var for wx-config script is
849          WX_CONFIG.  WXCONFIG still supported for compatibility.
850
851Tue Jul 28 08:16:00 GMT 2009  Olly Betts <olly@survex.com>
852
853        * src/mainfrm.cc: The presentation filename now defaults to using
854          the basename of the currently loaded dataset, but we always prompt
855          before we first save with such a name.
856
857Tue Jul 28 04:37:00 GMT 2009  Olly Betts <olly@survex.com>
858
859        * configure.in: Add comment to explain why we call wx-config twice.
860
861Tue Jul 28 04:36:00 GMT 2009  Olly Betts <olly@survex.com>
862
863        * src/datain.c: Use fputs(m, f) instead of fprintf(f, m) in case m
864          contains '%' (m comes from the messages file, so this isn't
865          exploitable by sending someone a "bad" .svx or .3d file).
866
867Mon Jul 27 03:29:00 GMT 2009  Olly Betts <olly@survex.com>
868
869        * src/mainfrm.cc: Fix to open rather than save when doing "open
870          presentation" with wxmotif.
871
872Thu Mar 05 01:45:00 GMT 2009  Olly Betts <olly@survex.com>
873
874        * doc/3dformat.htm: Document that this is version 6 and when we
875          started to use it.
876
877Mon Dec 15 10:34:00 GMT 2008  Olly Betts <olly@survex.com>
878
879        * src/gla-gl.cc: When saving a screenshot, perform the vertical
880          flip of the image data in-place rather than using wxImage::Mirror()
881          which creates a whole new wxImage object.
882
883Fri Dec 12 11:12:00 GMT 2008  Olly Betts <olly@survex.com>
884
885        * src/cad3d.c, src/export.cc: Fix export to SVG when a label
886          contains a '%' character.
887
888Fri Dec 12 06:30:00 GMT 2008  Olly Betts <olly@survex.com>
889
890        * configure.in: Add AM_PROG_CC_C_O which newer autoreconf warns is
891          needed.
892
893Fri Dec 12 06:28:00 GMT 2008  Olly Betts <olly@survex.com>
894
895        * configure.in: Remove AC_SUBST of CRLIB and CROBJX which are no
896          longer set or used.
897
898Fri Dec 12 06:03:00 GMT 2008  Olly Betts <olly@survex.com>
899
900        * NEWS, buildmacosx.sh, configure.in, desc-aven.txt, doc/TODO.htm,
901          doc/manual.sgml, doc/survex.ent, lib/messages.txt,
902          src/aboutdlg.cc, src/aven.cc, src/aven.h, src/gfxcore.cc,
903          src/mainfrm.cc, src/printwx.cc, src/printwx.h, src/wx.h: Say
904          "wxWidgets" instead of "wxWindows" consistently.
905          Require wxWidgets 2.6.0 or newer - 2.4 is really old now.
906
907Mon Mar 31 01:53:00 GMT 2008  Olly Betts <olly@survex.com>
908
909        * doc/3dformat.htm: Update for v6 format from Mike McCombe
910
911Fri Sep 07 18:29:00 GMT 2007  Olly Betts <olly@survex.com>
912
913        * src/gla-gl.cc: Calling glGetError() resets the error state, so we
914          need to store the value in a variable rather than calling it twice!
915
916Fri Sep 07 13:54:00 GMT 2007  Olly Betts <olly@survex.com>
917
918        * src/gla-gl.cc: Add missing CHECK_GL_ERROR() calls and correct
919          some which had the wrong descriptions.
920          Use GL_POINT_SPRITE and GL_COORD_REPLACE instead of
921          GL_POINT_SPRITE_ARB and GL_COORD_REPLACE_ARB.  They have the same
922          numeric values, so the shorter (now official) names are better.
923
924Fri Sep 07 13:31:00 GMT 2007  Olly Betts <olly@survex.com>
925
926        * src/Makefile.am, src/gfxcore.cc, src/gfxcore.h, src/gla-gl.cc,
927          src/gla.h, src/matrix4.cc, src/matrix4.h, src/quaternion.cc,
928          src/quaternion.h: Just set the pan and tilt directly as OpenGL
929          rotations rather than messing around setting up and then decoding a
930          quaternion.  This fixes some glitches when tilting while looking
931          east, and eliminates 2 source files and 2 headers!
932
933Sat Feb 10 13:56:00 GMT 2007  Olly Betts <olly@survex.com>
934
935        * NEWS, configure.in, src/aven.cc, src/wx.h:
936          (Unix version): aven: Fix display of degree symbol in status bar and
937          messages with accented characters in.
938          (Mac OS X version): Require at least wxWidgets 2.5.1.
939
940Sat Feb 10 13:46:00 GMT 2007  Olly Betts <olly@survex.com>
941
942        * src/message.c: Test S_ISREG since that's what we use here
943
944Sat Feb 10 13:37:00 GMT 2007  Olly Betts <olly@survex.com>
945
946        * src/message.c: Always use utf-8 for aven on unix
947
Note: See TracBrowser for help on using the repository browser.