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