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