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