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