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