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