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