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