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