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