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