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