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