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