]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
Sigh. Why is debugging iterative?
[lyx.git] / src / frontends / controllers / ChangeLog
1 2002-04-05  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
4         used when reading the BB.
5
6 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
7
8         * ControlGraphics.C (readBB): Don't open the ifstrem and then
9         check the format from the contents (and open a second ifstream in the
10         process. One at a time please.
11
12 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
13
14         * ControlRef.C (getBufferNum): squash warning message.
15
16 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
17
18         * ControlBibtex.C (Browse):
19         * ControlGraphics.C (Browse):
20         * ControlPrint.C (Browse):  use Jean-Marc's browseRelFile.
21
22         * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
23
24         * ControlGraphics.C (applyParamsToInset): pass filepath to
25         InsetGraphics::updateInset.
26
27 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
28
29         * most files: ws cleanup
30
31 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
32
33         * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
34         for it.
35
36 2002-03-18  John Levon  <moz@compsoc.man.ac.uk>
37
38         * ControlGraphics.C:
39         * ControlInclude.C: better error messages
40
41 2002-03-11  Herbert Voss  <voss@lyx.org>
42
43         * biblio.C (parseBibTeX): fix another minibug with an
44         ending comma
45
46 2002-03-10  Herbert Voss  <voss@lyx.org>
47
48         * biblio.C (parseBibTeX): fix bug
49         (familyName): improve parsing
50
51 2002-03-09  Herbert Voss  <voss@lyx.org>
52
53         * ControlGraphics.[Ch]: adding checkFilename() for testing
54         of non-existing files
55
56 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
57
58         * ControlSendto.C (allFormats): fix a iterators are not pointers
59         problem.
60
61 2002-03-06  Angus Leeming  <a.leeming@ic.ac.uk>
62
63         * ControlShowFile.h: add a #include "LString.h"
64
65 2002-03-05  Herbert Voss  <voss@lyx.org>
66
67         * biblio.C (getInfo): simplify if using paragraph layout
68         "bibliography".
69
70 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
71
72         * biblio.C (getInfo): return the info field correctly if the key
73         is not a BibTeX one.
74         (parseBibTeX): fix crash when data.find('=') returns string::npos.
75
76 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
77
78         * ControlForks.[Ch]: new files. A controller for the Forked Child
79         processes dialog, enabling the user to see what forked processes
80         are running, and, if he so desires, to kill them.
81
82         * GUI.h: add class GUIForks.
83
84         * Makefile.am: add ControlForks.[Ch].
85
86         * ControlGraphics.C (getParams): small change due to change in
87         insetgraphics.
88
89 2002-02-21  Herbert Voss  <voss@lyx.org>
90
91         * biblio.C: fix bug with commentlines in a bibentry
92
93 2002-02-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
94
95         * Makefile.am: simpler obj. file compile
96
97 2002-02-18  Herbert Voss  <voss@lyx.org>
98
99         * ControlGraphics.[Ch]: remove help-file call
100
101 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
102
103         * helper_funcs.h: wrap the structs firster and seconder up in a
104         namespace to avoid clashes with those in lyxalgo,h.
105
106         * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
107         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
108
109 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
110
111         * ControlGraphics.C: remove #include "support/syscall.h" as it's not
112         used.
113         * ControlTexinfo.C:
114         change Systemcalls::System to Systemcalls::Wait and
115         No change of functionality, just reflects the stripped down Systemcalls
116         class.
117
118 2002-02-06  Herbert Voss  <voss@lyx.org>
119
120         * ControlGraphics.[C] (readBB): search also in
121         g'zipped files. If it is useful than PK and compress
122         should also be supported. use unzipFile() from
123         support/filetools
124
125 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
126
127         * ControlRef.C (getBufferName): new method to get a real buffer
128         name from an index.
129
130 2002-02-05  Juergen Spitzmueller <j.spitzmueller@gmx.de>
131
132         * ControlTexInfo.[Ch]: Removed Help functions.
133
134 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
135
136         * ControlSpellchecker.C: clear any selection left
137         (bug #211)
138
139 2002-02-01  Herbert Voss  <voss@lyx.org>
140
141         * ControlGraphics.[C] (readBB): search only, if it is a
142         ".?ps" file and look for bb's at end of file
143
144 2002-01-30  Herbert Voss  <voss@lyx.org>
145
146         * ControlGraphic.[C]: do not search the whole file, when
147         getting the bb
148
149 2002-01-29  Herbert Voss  <voss@lyx.org>
150
151         * ControlGraphic.[C]: added a button for document path
152         when browsing -> bug 222
153
154 2002-01-27  Herbert Voss  <voss@lyx.org>
155
156         * ControlGraphic.[Ch]: added support for Bounding Box, other
157         small changes
158
159 2002-01-25  Angus Leeming  <a.leeming@ic.ac.uk>
160
161         * ControlAboutlyx.h:
162         * ControlTexinfo.h: added #include "LString.h" where they belong.
163
164 2002-01-25  Angus Leeming  <a.leeming@ic.ac.uk>
165
166         * ControlCitation.C:
167         * ControlDialog_impl.C: remove redundant // -*- C++ -*-
168
169 2002-01-24  Angus Leeming  <a.leeming@ic.ac.uk>
170
171         * ControlInclude.[Ch] (fileExists): remove const type qualifier from
172         bool return type.
173
174 2002-01-20  Herbert Voss  <voss@perce.de>
175
176         * ControlInclude.[Ch]: better control of unexistings files
177         when entered without the browser
178
179         * ControlGraphic.C (Browse): add extension "ps" when browsing for
180         a filename
181
182 2002-01-19  Herbert Voss  <voss@perce.de>
183
184         * biblio.C (getInfo): fix bug when no author is given
185
186         * biblio.C (parseBibTeX): change the parsing, so that
187         '#'-characters in a bibtex entry are no more a problem.
188
189 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
190
191         * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
192         derive from ControlDialog<ControlConnectBI> (fixes bug #196)
193
194         * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
195
196 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
197
198         * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
199
200         * ControlExternal.C (Browse): add a std:: qualifier
201
202 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
203
204         * ControlExternal.C (Browse): simplify to use browseRelFile
205
206 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
207
208         * ButtonController.tmpl: added // -*- C++ -*-
209
210         * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
211         ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
212         Needed in _one_ of the ControlCommand-derived classes only.
213
214 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
215
216         * ControlInset.h:
217         * ControlSearch.h: #include LString.h
218
219 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
220
221         * ButtonController.h: split into two. The definition remains in
222         ButtonController.h, the declaration is now in ButtonController.tmpl.
223         These template methods should be #included when the derived class is
224         instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
225         and in the qt2 and gnome equivalents.
226
227         * ControlDialogs.h: removed. The definition of class ControlDialog is
228         now to be found in ControlDialog.h and the declaration of the methods
229         is in ControlDialog.tmpl. The two template instantiations are performed
230         in ControlDialog_impl.[Ch], new files also.
231
232         * ControlInset.h: split into two. The definition remains in
233         ControlInset.h, the declaration is now in ControlInset.tmpl.
234         These template methods should be #included derived class is
235         instantiated, in this case in 8 other .C files in this directory.
236
237         * ControlAboutlyx.[Ch]:
238         * ControlCharacter.[Ch]:
239         * ControlCommand.C:
240         * ControlERT.C:
241         * ControlError.C:
242         * ControlExternal.C:
243         * ControlFloat.C:
244         * ControlGraphics.C:
245         * ControlInclude.C:
246         * ControlLog.[Ch]:
247         * ControlMinipage.C:
248         * ControlPreamble.[Ch]:
249         * ControlPrint.[Ch]:
250         * ControlSearch.[Ch]:
251         * ControlShowFile.[Ch]:
252         * ControlSpellchecker.[Ch]:
253         * ControlTabularCreate.[Ch]:
254         * ControlTexinfo.[Ch]:
255         * ControlThesaurus.[Ch]:
256         * ControlVCLog.[Ch]: small changes associated with the above ones.
257
258         * GUI.h: #include the ButtonController and dialog controller files
259         here, rather than forward declare them. This is the correct place
260         for these #includes.
261
262         * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
263         Rename ControlDialogs.h as ControlDialog.h.
264         Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
265         EXTRA_DIST.
266
267 2002-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
268
269         * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
270
271 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
272
273         * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
274         can be done)
275
276         * ControlGraphics.C (Browse): remove overzealous shortcut
277
278 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
279
280         * FormMinipage.C (apply, update): MinipageParams::width renamed
281         as MinipageParams::pageWidth. InsetMinipage::width  renamed
282         as InsetMinipage::pageWidth.
283
284 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
285
286         * ButtonController.h (refreshReadOnly): use explicit typename
287
288 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
289
290         * helper_funcs.h (browseFile): add default empty button descriptions.
291
292         * ControlGraphics.C (Browse):
293         * ControlBibtex.C (Browse):
294         * ControlInclude.C (Browse): add shortcuts to directory buttons
295
296 2002-01-12  John Levon  <moz@compsoc.man.ac.uk>
297
298         * ControlThesaurus.h:
299         * ControlThesaurus.C: update to Aiksaurus 0.14
300
301 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
302
303         * ControlSpellchecker.C (clearParams): show the closing message
304         only if some words have been checked, thereby fixing
305         bugzilla bug #52.
306
307 2001-12-11  Michael A. Koziarski <michael@koziarski.org>
308
309         * ControlFloat.[Ch]: changes to prevent here definitely being used
310         with wide figures.
311
312 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
313
314         * ControlThesaurus.h: do not include <config.h> in header files
315
316 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
317
318         * ControlToc.C: changes for floatlist
319
320 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
321
322         * ControlVCLog.C: use _()
323
324 2001-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
325
326         * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
327         that for select.
328
329 2001-10-22  Juergen Vigna  <jug@sad.it>
330
331         * ControlSpellchecker.C (clearParams): use the error_ message of the
332         speller_ if available when the spellchecker died.
333         (setParams): remove double error message display.
334
335 2001-10-15  Angus Leeming  <a.leeming@ic.ac.uk>
336
337         * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
338
339         * helper_funcs.[Ch] (getLatexUnits): see above.
340
341 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
342
343         * ControlTexinfo.C (getContents): use the right file for .sty files
344
345 2001-10-10  Herbert Voss  <voss@perce.de>
346
347         * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
348         and some more stuff from FormTexinfo.C
349
350         * ControlShowFile.C: hiding the update-button
351
352 2001-10-09  Herbert Voss  <voss@perce.de>
353
354         * ControlTexinfo.[Ch]: new files. Display information about the
355         installed texfiles (cls,sty,bst).
356
357         * ControlShowFile.[Ch]: new files. Display the contents of a file.
358
359         * GUI.h: added classes GUIShowFile and GUITexinfo.
360
361         * Makefile.am: modified appropriately.
362
363 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
364
365         * ControlAboutlyx.C (getVersion): use lyx_version and
366         lyx_release_date instead of old macros
367
368 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
369
370         * ControlSpellchecker.C (check): Behaves well now when the spell
371         library doesn't know a replacement to an incorrect word.
372
373 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
374
375         * ControlSpellchecker.C (clearParams): place emergency_exit_ in
376         the correct place. Can now check spelling more than once!
377
378 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
379
380         * ControlSplash.[Ch]: removed.
381
382         * GUI.h: remove GUISplash class.
383
384         * ViewBase.h: remove ViewSplash class.
385
386         * Makefile.am: remove ControlSplash.[Ch].
387
388 2001-09-25  Angus Leeming  <a.leeming@ic.ac.uk>
389
390         * ControlButtons.h: add variable emergency_exit_. If set to true, the
391         view will be shut down.
392
393         * ControlDialogs.h:
394         * ControlInset.h: act on emergency_exit_.
395
396         * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
397         speller fails to launch.
398
399 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
400
401         * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
402         * (getLabelList): use MakeAbsPath on the buffer name passed to it.
403
404 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
405
406         * ControlRef.h (disconnectOnApply): new method. Set to true.
407         Perhaps make this user-modifiable?
408
409 2001-09-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * ControlGraphics.C (Browse): add "jpg" to list of recognized file
412         extensions.
413
414 2001-09-07  Dekel Tsur  <dekelts@tau.ac.il>
415
416         * ControlRef.C (getBufferList, getBufferNum): New methods
417
418 2001-09-12  Angus Leeming  <a.leeming@ic.ac.uk>
419
420         * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
421         of the dialog when the Apply button is pressed. Defaults to false,
422         but can be overridden in the daughter classes.
423
424         * ControlCitation.h (disconnectOnApply): new method. Set to true.
425         Perhaps make this user-modifiable?
426
427 2001-09-11  Angus Leeming  <a.leeming@ic.ac.uk>
428
429         * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
430         we have dialogs that update their contents when the buffer changes.
431         Rather embarassing, really!
432
433 2001-09-07  Angus Leeming  <a.leeming@ic.ac.uk>
434
435         * ControlSearch (replace): change semantics of replace to NOT move on
436         to the next instance of a word once the present instance has been
437         replaced unless we are replacing ALL instances of the word.
438
439 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
440
441         * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
442
443 2001-09-04  Angus Leeming  <a.leeming@ic.ac.uk>
444
445         * ControlCharacter.C: fix Michael's bug: In the "Character layout"
446         dialog, set all options to "reset", close the dialog, re-open it ->
447         the options are set incorrectly.
448
449         * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
450         When Applying it's useful to know whether the dialog is about to close
451         or not (no point refreshing the display for example).
452
453         * ControlInset.C (apply): use isClosing.
454
455 2001-08-25  John Levon  <moz@compsoc.man.ac.uk>
456
457         * ControlInset.h:
458         * ControlDialogs.h: remove bc() hack, now fixed in
459           Qt2 frontend. use member dialog_built_ instead of shared
460           static.
461
462         * ButtonController.h:
463         * ButtonPolicies.C: more debug info
464
465         * ButtonControllerBase.C: call refresh() when setting readOnly !
466
467         * GUI.h: External form has apply, use the right policy
468
469         * character.C: fix two off-by-one errors when latex font was removed
470
471 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
472
473         * ControlInset.h (apply): tentative fix for the press Apply multiple
474         times and get multiple new Insets problem.
475
476 2001-08-24  John Levon  <moz@compsoc.man.ac.uk>
477
478         * ControlCharacter.C: fix typo
479
480         * ViewBase.h:
481         * ControlDialogs.C:
482         * ControlInsets.C: make sure dialog is built before it is shown, so
483           it works properly the very first time it is shown
484
485 2001-08-20  Herbert Voss  <voss@perce.de>
486
487         * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
488         and styles. Added an option for "bibliography into toc"
489
490 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
491
492         * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
493         LaTeX is no longer a font property.
494
495 2001-08-09  Angus Leeming  <a.leeming@ic.ac.uk>
496
497         * GUI.h: Button controller for Reference dialog changed to
498         NoRepeatedApplyReadOnlyPolicy.
499
500         * biblio.C (getInfo): output volume and number info. Move year to end
501         of string.
502
503 2001-08-09  Allan Rae  <rae@lyx.org>
504
505         * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
506
507 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
508
509         * helper_funcs.C (getVectorFromString): fixed small bug.
510
511         * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
512
513 2001-08-07  Edwin Leuven  <leuven@fee.uva.nl>
514
515         * ControlSpellchecker.C: check next word after insert in personal dict
516
517 2001-08-06  Juergen Vigna  <jug@sad.it>
518
519         * ControlERT.[Ch]: new file
520
521 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
522
523         * ControlInset.h: const and non-const forms of params().
524
525         * helper_funcs.C (getStringFromVector,getVectorFromString): remove
526         whitespace from either side of each item.
527
528 2001-07-30  Angus Leeming  <a.leeming@ic.ac.uk>
529
530         * ControlFloat.h: add a != operator for FloatParams.
531         Lars, how did you get this to compile!!!
532
533         * ControlMinipage.[Ch]: uncommented someone's commenting out of
534         operator != for MinipageParams. Who's changing stuff and not compiling?
535
536 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
537
538         * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
539         ControlFloat.C
540
541         * GUI.h: add class GUIFloat
542
543         * ControlFloat.[Ch]: new files
544
545 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
546
547         * ControlPrint.C: #include Lassert.h here.
548
549 2001-07-26  Baruch Even  <baruch@lyx.org>
550
551         * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
552         and png.
553
554 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
555
556         * ControlThesaurus.h:
557         * ControlThesaurus.C:
558         * GUI.h:
559         * Makefile.am: thesaurus support
560
561 2001-07-23  John Levon  <moz@compsoc.man.ac.uk>
562
563         * ControlInclude.h:
564         * ControlInclude.C: implement ability to load file
565
566 2001-07-18  Juergen Vigna  <jug@sad.it>
567
568         * ControlSearch.C (replace): changes to lyxfind.h function calls.
569
570 2001-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
571
572         * biblio.C (getInfo): add a .c_str() to handle the usual
573         stringstream pain.
574
575 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
576
577         * ControlCitation.[Ch]: changes associated with adding natbib support.
578         New public methods, usingNatbib, getCiteStrings and getCiteStyles.
579         New static variable citeStyles_.
580
581         * biblio.[Ch]: large internal rearrangement.
582         New public enum CiteStyle.
583         New public struct CitationStyle.
584         New public functions getCitationStyle, getCiteCommand, getCiteStyles,
585         getNumericalStrings, getAuthorYearStrings
586         (simpleSearch, regexSearch): no longer publicly accessible.
587
588         * helper_funcs.C (getStringFromVector): bug fix.
589
590 2001-07-16  Baruch Even  <baruch@lyx.org>
591
592         * ControlVCLog.h: Added Lsstream.h to includes.
593
594 2001-07-17  Angus Leeming  <a.leeming@ic.ac.uk>
595
596         * ControlSpellchecker.[Ch]: remove d-tor.
597
598 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
599
600         * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
601
602 2001-07-16  Juergen Vigna  <jug@sad.it>
603
604         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
605         compiled with USE_PSPELL) to be able to switch between ISpell and
606         PSpell classes.
607
608 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
609
610         Consistent use of Lsstream.h:
611         * ControlAboutlyx.[Ch] (getCredits):
612         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
613
614 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
615
616         * ControlCredits.[Ch]: removed
617         * ControlCopyright.[Ch]: removed
618         * ControlAboutlyx.[Ch]: added (replaces previous)
619         * GUI.h: removed credits and copyright added about lyx stuff
620
621 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
622
623         * ControlSpellchecker.C (getSuggestion):
624         (getWord): add std:: qualifier
625
626 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
627
628         * ControlSpellchecker.[Ch]: added
629         * ViewBase.h: added partialUpdate(int) member
630         * GUI.h: added spell stuff
631
632 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
633
634         * ControlExternal.C: (*it). -> it->
635
636 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
637
638         * ButtonController.h: move some included header files out of the
639         frontends and into here.
640
641 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
642
643         * ControlCharacter.C (c-tor): cosmetic name change of signal.
644
645 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
646
647         * *.[h]: added // -*- C++ -*-
648         * *.[C]: removed // -*- C++ -*-
649
650         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
651         activate Apply button.
652         (clearParams): removed.
653         font_ is now stored as a boost::scoped_ptr.
654         font_ is no longer deleted on hide(), so it's contents can now be used
655         by the Font button on the toolbar.
656         Lots of new methods so that the GUI can easily get the contents of
657         font_ when it update()s.
658
659 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
660
661         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
662         crash when the Font button on the Toolbar is pressed.
663
664         * GUI.h: change policy of Character button controller to
665         OkApplyCancelReadOnlyPolicy.
666
667 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
668
669         * ControlToc.C (getContents): don't add anything to the list if it
670         is supposed to be empty.
671
672 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
673
674         * helper_funcs.C (getVectorFromString): bug fix.
675
676 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
677
678         * ButtonController.h
679         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
680         from ButtonControllerBase::readOnly. Updates the state of the widgets
681         in the read-only list only when the read-only status of the document
682         changes.
683         (refresh): moved this stuff into refreshReadOnly.
684
685 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
686
687         * ControlPrint.C (c-tor):
688         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
689
690 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
691
692         * biblio.C:
693         * character.h: small clean-ups.
694
695 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
696
697         * ControlToc.C (getType): remove support for old float list.
698
699 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
700
701         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
702         * ControlGraphics.h: no longer include insetgraphicsParams.h
703         * ControlInset.h: no longer include LyXView.h
704
705         * ControlBibitem.C:
706         * ControlBibtex.C:
707         * ControlButtons.C:
708         * ControlCharacter.C:
709         * ControlCitation.C:
710         * ControlCommand.C:
711         * ControlConnections.C:
712         * ControlCopyright.C:
713         * ControlCredits.C:
714         * ControlError.C:
715         * ControlExternal.C:
716         * ControlGraphics.C:
717         * ControlInclude.C:
718         * ControlLog.C:
719         * ControlMinipage.C:
720         * ControlPreamble.C:
721         * ControlPrint.C:
722         * ControlRef.C:
723         * ControlSearch.C:
724         * ControlTabularCreate.C:
725         * ControlToc.C:
726         * ControlVCLog.C: they're now in here!
727
728 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
729
730         * ButtonControllerBase.h: C++ mode, inherit privately from
731         noncopyable
732         * ButtonPolicies.h: ditto
733
734         * ButtonController.h: C++ mode, swap init order of restore_ and
735         cancel_
736
737 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
738
739         * ControlTabularCreate.h:
740         * ControlTabularCreate.C: make dialogs use a pair of uints
741           instead of a string
742
743         * ControlVCLog.h:
744         * ControlVCLog.C: fill a stringstream with the log contents
745         and then delete it
746
747         * ControlExternal.C: from Angus, clone the new InsetExternal
748           before acting on it
749
750 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
751
752         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
753         and made more robust.
754
755 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
756
757         * ControlToc.C:
758         * ControlSearch.C:
759         * ControlPrint.C:
760         * ControlPreamble.C:
761         * ControlInclude.C:
762         * ControlGraphics.C:
763         * ControlExternal.C:
764         * ControlCopyright.C: include gettext.h
765
766         * ControlCharacter.C:
767         * character.C: include gettext.h and language.h
768
769 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
770
771         * ButtonController.h:
772         * ButtonControllerBase.h:
773         * ButtonControllerBase.C:
774         * ButtonPolicies.h:
775         * ButtonPolicies.C:
776         * ControlButton.h:
777         * ControlButton.C:
778         * ControlButtons.h:
779         * ControlButtons.C:
780         * ControlConnections.h:
781         * ControlDialogs.h:
782         * ControlInset.h:
783         * ControlExternal.C:
784         * Makefile.am:
785         * README:
786         * ViewBase.h: s/ControlButton/ControlButtons/
787         s/popup/dialog/
788         s/UndoAll/Restore/ + associated
789
790 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
791
792         * ControlToc.[Ch]: new files; a controller for the TOC popup.
793
794         * GUI.h:
795         * Makefile.am: associated changes with all of the above.
796
797 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
798
799         * ControlExternal.C: bug fixes. Can now apply changes to the inset
800         and edit, view, update the External Material correctly. I hope!
801
802 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
803
804         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
805
806         * BCTemplates.h: renamed as ButtonController.h
807
808         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
809
810         * ViewBase.h:
811         * ControlConnections.h: associated change in #include and class names.
812
813         * ControlExternal.[Ch]: new files; a controller for the External
814         Material popup.
815
816         * GUI.h:
817         * Makefile.am: associated changes with all of the above.
818
819         * ControlGraphics.[Ch]:
820         * ControlInclude.[Ch]:
821         * ControlPrint.[Ch]:
822         (lv): removed.
823         (Browse): new method. Returns the results of a FileDialog browse.
824
825         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
826         (getVectorFromString): fixed bug.
827
828         * biblio.C (simpleSearch): cleaned up.
829
830 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
831
832         * A slight reworking of Baruch Even's ButtonController patch.
833
834         * BCTemplates.h: new file; all the templates for the ButtonController.
835         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
836         to the more generic setButtonLabel().
837
838         * ButtonController.[Ch]: renamed cancel_label and close_label as
839         cancel_label_ and close_label_.
840
841         * Makefile.am: added BCTemplates.h
842
843 2001-03-29  Juergen Vigna  <jug@sad.it>
844
845         * ControlMinipage.C: removed widthp_ and all it's functions and changed
846         to use new %-lengths of LyXLength.
847
848 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
849
850         * ControlCitation.C (bibkeysInfo): removed Assert.
851
852         * ControlCopyright.h: moved GUICopyright into GUI.h
853
854         * GUI.h: see above.
855
856 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
857
858         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
859         (setDaughterParams): a (by default empty) new method called in show().
860
861         * ControlBibitem.h:
862         * ControlBibtex.h:
863         * ControlError.h:
864         * ControlInclude.h:
865         * ControlMinipage.h:
866         * ControlRef.h:
867         * ControlSearch.h:
868         * ControlUrl.h (clearDaughterParams): removed
869
870         * ControlMinipage.C (applyParamsToInset): update the view.
871         Added namespace minipage containing a helper function getUnits.
872
873         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
874
875         * ControlCharacter.[Ch]: moved out all the helper functions and the
876         enum into their own file.
877         * character.[Ch]: new files; contain the character helper functions,
878         now inside namespace character.
879
880         * ControlCitation.[Ch]: moved out all the helper functions and the
881         enums into their own file. Simplified interface.
882         * biblio.[Ch]: new files; contain the citation helper functions,
883         now inside namespace biblio. Will be of use also to an improved
884         BibTeX popup.
885
886         * ControlGraphics.[Ch]:
887         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
888         popups, respectively.
889
890         * GUI.h:
891         * Makefile.am: associated changes.
892
893 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
894
895         * ControlMinipage.[Ch]:
896         * ControlPreamble.[Ch]:
897         * ControlPrint.[Ch]:
898         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
899         and Print popups and Splash screen, respectively.
900
901         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
902         screens.
903
904         * GUI.h:
905         * Makefile.am: associated changes.
906
907 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
908
909         * ControlConnections.[Ch]: (docType): new method; returns the type
910         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
911
912         * ControlRef.[Ch]:
913         * ControlSearch.[Ch]:
914         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
915         Search and TabularCreate popups, respectively.
916
917         * GUI.h:
918         * Makefile.am: associated changes.
919
920 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
921
922         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
923         contains data.
924
925         * ControlInset.h (apply): fix bug. Can now create new insets again.
926
927         * README: describe program flow.
928
929 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
930
931         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
932
933 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
934
935         * ControlDialogs.h: moved class ControlInset into its own file.
936
937         * ControlInset.h: new file. class ControlInset has been expanded to take
938         two template parameters, Inset and Params. Believe that all inset
939         controllers can be derived from this with the minimum of effort.
940
941         * ControlBibitem.[Ch]:
942         * ControlBibtex.[Ch]:
943         * ControlCitation.[Ch]:
944         * ControlCommand.[Ch]: moved most code into ControlInset.
945
946         * lots of files. Moved protected stuff into private where possible.
947
948         * ControlError.[Ch]:
949         * ControlInclude.[Ch]:
950         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
951         Include and Url popups, respectively.
952
953         * GUI.h:
954         * Makefile.am: associated changes.
955
956 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
957
958         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
959         vector<string>.
960
961 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
962
963         * ControlCredits.C (getCredits): remove std:: qualifier for
964         getline().
965
966 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
967
968         * ControlCredits.C (getCredits): add std:: on vector
969
970 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
971
972         * ControlCredits.C: remove using that is only used once, use
973         std::ios instead of std::iosbase, add some annoying comments.
974
975 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
976
977         * lots of header files: improved explanatory notes.
978
979         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
980         ControlBase is now a class that only controls the interaction of the
981         View with the ButtonController.
982
983         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
984         to ControlConnectBase. The class controls the connection/disconnection
985         of signals from the LyX kernel and makes available the kernel (through
986         lv_) to daughter controller classes.
987         Moved out class ControlConnectInset to a new file ControlDialogs.h.
988
989         * ControlDialogs.h: new file. Contains the definition of two template
990         controller classes, ControlDialog and ControlInset (was
991         ControlConnectInset). ControlInset is a parent class for controllers
992         of inset-popups. ControlDialogs is the rather uninspired name for
993         the base class of all non-inset popups. (Eg, Document and Paragraph.)
994         ControlDialogs is reaching a state of maturity as several popups now use
995         it and its functionality becomes clear. ControlInset is still in a state
996         of flux. It is likely that functionality will be moved out of
997         ControlCommands and into it.
998
999         * GUI.h: new file. Moved all the template GUIXXX classes out of the
1000         individual Controller header files and into one place. These classes
1001         serve only as convenient wrappers to simplify code in the respective
1002         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1003
1004         * ControlCharacter.[Ch] (show, update, hide):
1005         * ControlLog.[Ch] (show, update, hide):
1006         * ControlVCLog.[Ch] (show, update, hide): moved back into
1007         the ControlDialogs base class.
1008         (setParams, clearParams): new methods containing controller-specific
1009         code to set/reset the parameters manipulated by the view.
1010
1011         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1012         empty.
1013         (hide): calls clearParams.
1014
1015         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1016         by ControlCommand::hide().
1017
1018         * ControlCopyright.[Ch]:
1019         * ControlCredits.[Ch]: new files; controllers for the copyright and
1020         credits popups, respectively.
1021
1022 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1023
1024         * ControlCharacter.C: fix typo
1025
1026 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
1027
1028         * ControlCharacter.[Ch]: new files; controller for the character popup.
1029
1030         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1031         moved to new files helper_funcs.[Ch].
1032
1033         * helper_funcs.[Ch]: new files. Some useful helper functions and
1034         functors.
1035
1036         * Makefile.am: added new files.
1037
1038 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1039
1040         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1041
1042 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1043
1044         * ControlLog.[Ch]:
1045         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1046         Control log files, respectively.
1047
1048         * Makefile.am: added new files.
1049
1050 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
1051
1052         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1053
1054         * Makefile.am: added ControlBibtex.[Ch].
1055
1056 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
1057
1058         * ControlBibitem.C:
1059         * ControlCitation.C: added "using SigC::slot" declaration.
1060
1061         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1062         to FormCitation.C prior to the merger: "Do not put space between
1063         multiple keys".
1064
1065 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1066
1067         * several files: remove CXX_WORKING_NAMESPACES
1068
1069         * ButtonController.h: noncopyable is in namespace boost
1070         * ButtonPolicies.h: ditto
1071
1072 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1073
1074         * Merging changes from BRANCH_MVC back into HEAD.
1075
1076 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1077
1078         * Makefile.am: add ControlBibitem.[Ch].
1079
1080         * ControlBibitem.[Ch]: new files that together define the Controller
1081         for a Bibitem popup.
1082
1083         * ControlCommand.h (c-tor): give  kb_action a default value of
1084         LFUN_NOACTION.
1085
1086         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1087
1088         * ControlCitation.[Ch]: moved search functions out of class.
1089         (bibkeysInfo): new method. Returns const reference to private data.
1090         (searchKeys): added case-sensitive switch. Used only by simpleSearch
1091         for now.
1092
1093 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
1094
1095         * ControlCitation.[Ch]: added Search functions to the class,
1096         (shamelessly lifted from Marco's gnome code). I think that these would
1097         be better as helper functions outside the class, but this is a first
1098         stab at it.
1099
1100 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
1101
1102         * ControlCitation.[Ch]: (getBibkeyList): removed from class
1103         ControlCitation.
1104         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1105         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1106         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1107         implementation of FormCitation.
1108
1109 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
1110
1111         * ButtonPolicies.h: add SMI_NOOP to enum.
1112
1113         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1114
1115         * ButtonController.C (input): add "optimising" if-statement. Actually,
1116         things don't work correctly without it...
1117
1118 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
1119
1120         * ViewBase.h: remove #pragma directive
1121
1122         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1123         to make g++ happy.
1124
1125 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
1126
1127         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1128
1129         * Makefile.am: added ButtonPolicies.[Ch]
1130
1131         * ButtonController.[Ch]: ButtonController is split into
1132         ButtonControllerBase and a template ButtonController class. The base
1133         class no longer stores a pointer to a ButtonPolicy, but instead
1134         accesses the actual instantiation of the policy through a pure virtual
1135         method bp(). This method and the ButtonPolicy itself are instantiated
1136         in the templatised ButtonController class. This class is derived from
1137         the GUI-specific GUIBC class, meaning that the frontends know
1138         nothing about the actual policy decided upon by the controllers.
1139
1140         * ControlBase.[Ch]: No longer store the View or the ButtonController.
1141         Instead the actual instantiations are accessed through pure virtual
1142         methods view() and bc(). The daughter classes are responsible for the
1143         actual View and ButtonController.
1144
1145         * ControlCitation.h: the templatised class GUICitation instantiates
1146         the methods view() and bc(). It also stores the instances of the
1147         View and ButtonController.
1148
1149 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
1150
1151         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1152         also changed to ButtonController.
1153
1154         * ControlBase.[Ch]:
1155         * ControlConnections.[Ch]:
1156         * ControlCommand.[Ch]:
1157         * ControlCitation.[Ch]:
1158         * ViewBase.h: Changes associated with this.
1159
1160 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
1161
1162         * ButtonControllerBase.[Ch]: new files. Split Allan's original
1163         xforms/ButtonController class into a GUI-I class (here) and an
1164         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1165
1166         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1167         from which all Dialog Controllers should be derived. the Controllers
1168         are GUI-independent, but are designed to control the behaviour of
1169         GUI-specific implementaions of each dialog.
1170
1171         * ControlConnections.[Ch]: new files. Classes controlling the
1172         connections of buffer-independent, buffer-dependent and Inset dialogs
1173         with the LyX kernel.
1174
1175         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1176         InsetCommand subset of insets.
1177
1178         * ControlCitation.[Ch]: new files. The test specialisation! A
1179         controller for the Citation dialog.
1180
1181         * ViewBase.h: new file. ViewBase is an abstract base class from which
1182         GUI-specific dialogs should be derived. The functionality that the GUIs
1183         must now implement is much reduced.