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