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