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