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