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