]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
Fix crash in Document dialog + small sundries.
[lyx.git] / src / frontends / controllers / ChangeLog
1 2002-08-14  Angus Leeming  <leeming@lyx.org>
2
3         * GUI.h: public derivation from boost::noncopyable.
4
5 2002-08-14  Angus Leeming  <leeming@lyx.org>
6
7         * GUI.h: class GUI deries from boost::noncopyable
8
9         * ControlButtons.h: no longer derives from DialogBase, but instead
10         derives directly from boost::noncopyable.
11
12         * ViewBase.h: derives from boost::noncopyable.
13
14         * ControlCharacter.C:
15         * ControlCommand.C:
16         * ControlConnections.C:
17         * ControlGraphics.C:
18         * ControlInclude.C:
19         * ControlParagraph.C:
20         * ControlPreamble.C:
21         * ControlPrint.C:
22         * ControlSearch.C:
23         * ControlSpellchecker.C:
24         * ControlTexinfo.C:
25         * ControlThesaurus.C:
26         rearrange #includes. Remove unnecessary ones.
27
28         * ControlError.h: add "insets/inseterror.h".
29
30         * helper_funcs.h: add necessary #includes.
31
32         * tex_helpers.[Ch]: add #pragma directives for g++.
33
34         * Makefile.am: remove src/frontends from -I list to compiler.
35
36 2002-08-13  Angus Leeming  <leeming@lyx.org>
37
38         * ControlConnections.C:
39         * ControlTexinfo.C:
40         changes due to the changed LyXView interface that now returns references
41         to member variables not pointers.
42
43 2002-08-12  Angus Leeming  <leeming@lyx.org>
44
45         * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
46         (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
47         for the most commonly accessed core methods, to minimise code
48         dependiencies.
49
50         * many files: use these wrappers and remove associated #includes.
51
52 2002-08-12  Angus Leeming  <leeming@lyx.org>
53
54         * ControlButtons.[Ch] (bc, view): no longer virtual.
55         (setView, setButtonController): new methods, invoked by GUI.
56
57         * ControlDialog.h (show):
58         * ControlInset.h (createInset, showInset): make public, so that GUI can
59         invoke them.
60
61         * GUI.h: GUI now contains a controller, rather than deriving from it.
62         remove all those friend functions since we can now access the show,
63         createInset, showInset controller methods.
64
65         * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
66         (ViewBC): scrapped.
67
68         * character.h: #include a couple of STL files.
69
70 2002-08-08  John Levon  <levon@movementarian.org>
71
72         * ControlCommandBuffer.C: LyXAction cleanup
73  
74 2002-08-07  John Levon  <levon@movementarian.org>
75
76         * ControlSpellchecker.C: fix crash when spellchecker doesn't
77           initialise
78
79 2002-08-06  John Levon  <levon@movementarian.org>
80
81         * ControlSpellchecker.C:
82         * ControlSpellchecker.h: use WordLangTuple 
83  
84 2002-08-06  John Levon  <levon@movementarian.org>
85
86         * ControlSpellchecker.C: show an alert with the
87           error message on initialisation failure
88  
89 2002-08-04  John Levon  <levon@movementarian.org>
90
91         * ControlSpellchecker.h:
92         * ControlSpellchecker.C: some cleanups
93  
94         * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/ 
95  <
96 2002-08-02  Edwin Leuven <leuven@fee.uva.nl>
97
98         * ControlParagraph.[Ch] (changedParagraph): new method invoked when
99         the Dialogs::updateParagraph signal is emitted.
100
101 2002-08-02  Angus Leeming  <leeming@lyx.org>
102
103         * ControlCharacter.C (apply):
104         * ControlERT.C (applyParamsToInset):
105         * ControlParagraph.C (apply):
106         * ControlSearch.C (find, replace):
107         * ControlThesaurus.C (replace): changes due to LyXView::view() now
108         returning a boost::shared_ptr.
109
110 2002-08-01  John Levon  <levon@movementarian.org>
111
112         * ControlSendto.C: writeFile() change
113
114 2002-08-01  John Levon  <levon@movementarian.org>
115
116         * ControlSpellchecker.h:
117         * ControlSpellchecker.C: remove options
118
119 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
120
121         * several files: strip,frontStrip -> trim,ltrim,rtrim
122
123 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
124
125         * biblio.C (parseBibTeX): modify because of strip changes
126
127 2002-07-24  Juergen Spitzmueller <j.spitzmueller@gmx.de>
128
129         * ControlFloat.[Ch]: Implement Wide Float toggle
130         Replace "allow_here_definitely" by "wide"
131
132 2002-07-22  Herbert Voss  <voss@lyx.org>
133
134         * ControlGraphics.C: small changes
135
136 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
137
138         * ControlToc.C: remove getType
139
140 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
141
142         * ControlCommandBuffer.C: don't add "" to history
143
144 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
145
146         * ControlRef.C: fix dispatch call nicely
147
148 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
149
150         * Makefile.am:
151         * ControlCommandBuffer.h:
152         * ControlCommandBuffer.C: add controller for command (mini) buffer
153           handling
154
155 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
156
157         * ControlRef.C: fix dispatch call
158
159 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
160
161         * ControlCharacter.C: use view_state_changed not setState
162
163 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
164
165         * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
166
167 2002-07-15  Mike Fabian  <mfabian@suse.de>
168
169         * biblio.C (compareNoCase): use the compare_ascii_no_case instead
170         of compare_no_case, because in turkish, 'i' is not the lowercase
171         version of 'I', and thus turkish locale breaks parsing of tags.
172
173 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
174
175         * ControlBibtex.C (applyParamsToInset): ws change
176
177 2002-06-27  Juergen Spitzmueller <j.spitzmueller@gmx.de>
178
179         * ControlInclude.C: Add warning if absolute path name and
180         check_typeset is used together
181
182 2002-06-28  Angus Leeming  <leeming@lyx.org>
183
184         * ControlGraphics.C: changes associated with the name changes
185         grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
186
187 2002-06-25  Angus Leeming  <leeming@lyx.org>
188
189         * ControlGraphics.C (readBB): Channges associated with the changed
190         interface to the graphics cache.
191
192 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
193
194         * ControlParagraph.C: layout as layout
195
196 2002-06-21  Angus Leeming  <leeming@lyx.org>
197
198         * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
199         * tex_helpers.h: #include "LString.h".
200
201 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
202
203         * ControlBibtex.C:
204         * ControlBibitem.C: use repaint()
205
206 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
207
208         * ControlTexinfo.C: do the same for Texinfo
209
210         * tex_helpers.C: don't try to read a file that isn't there
211
212 2002-06-21  Herbert Voss  <voss@perce.de>
213
214         * ControlBibtex.C: do an automatic update, when no bst-list
215         exists
216
217 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
218
219         * GUI.h: createIndex() changed
220
221 2002-06-18  Herbert Voss  <voss@perce.de>
222
223         * tex_helpers.[Ch]: move functions from ControlTexinfo into this
224         helperstuff. Now the bibtex gui can use some of these functions
225
226 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
227
228         * ControlGraphics.C: just make the mask *.*
229
230 2002-06-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
231
232         * changes to simplify function setup, removal of a lot of includes.
233
234 2002-06-12  Angus Leeming  <leeming@lyx.org>
235
236         * ControlParagraph.[Ch]: forward declare ParagraphParameters.
237
238 2002-06-12  Angus Leeming  <leeming@lyx.org>
239
240         * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
241
242 2002-06-11  Edwin Leuven  <leuven@fee.uva.nl>
243
244         * ControlParagraph.[Ch]: new paragraph controller
245         * GUI.h: add new controller
246         * Makefile.am: ditto
247
248 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
249
250         * GUI.h: do not include ButtonController.tmpl
251
252         * ControlInset.h: include ControlInset.tmpl
253
254         * ControlCitation.C: do not include ControlInset.tmpl
255         * ControlCommand.C: ditto
256         * ControlERT.C: ditto
257         * ControlError.C: ditto
258         * ControlExternal.C: ditto
259         * ControlFloat.C: ditto
260         * ControlGraphics.C: ditto
261         * ControlInclude.C: ditto
262         * ControlMinipage.C: ditto
263
264         * ControlDialog.tmpl: remove the Base:: prefix
265
266 2002-06-07  Angus Leeming  <leeming@lyx.org>
267
268         Fixes needed to compile with Compaq cxx 6.5.
269         * ControlDialog.tmpl: I have had to prefix base class methods with
270         Base:: Wierd!
271
272         * ControlInset.tmpl: #include a couple of headers.
273
274 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
275
276         * switch from SigC signals to boost::signals
277
278 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
279
280         * biblio.h: include vector
281
282         * biblio.C: change include order
283         (regexSearch): use boost regex and get rid of LRegex
284
285 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
286
287         * ControlAboutlyx.C:
288         * ControlBibitem.C:
289         * ControlBibtex.C:
290         * ControlCharacter.C:
291         * ControlCitation.C:
292         * ControlCommand.C:
293         * ControlConnections.C:
294         * ControlERT.C:
295         * ControlError.C:
296         * ControlExternal.C:
297         * ControlFloat.C:
298         * ControlForks.C:
299         * ControlGraphics.C:
300         * ControlInclude.C:
301         * ControlIndex.C:
302         * ControlLog.C:
303         * ControlMinipage.C:
304         * ControlPreamble.C:
305         * ControlPrint.C:
306         * ControlRef.C:
307         * ControlSearch.C:
308         * ControlSendto.C:
309         * ControlShowFile.C:
310         * ControlSpellchecker.C:
311         * ControlTabularCreate.C:
312         * ControlTexinfo.C:
313         * ControlThesaurus.C:
314         * ControlToc.C:
315         * ControlUrl.C:
316         * ControlVCLog.C: LyXView moved into frontends
317
318 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
319
320         * ControlExternal.C: add scoped_ptr.hpp
321
322         * ControlCharacter.h: use more specific smart_ptr header.
323
324 2002-05-21  Angus Leeming  <a.leeming@ic.ac.uk>
325
326         * frnt_lang.C (getLanguageData): change a couple of N_() to _().
327
328 2002-05-13  Herbert Voss  <voss@perce.de>
329
330         * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
331         like "Odland, G. and ... "
332         (parseBibTeX): fix bug with title and booktitle
333         and replace a \n with a space when one entry has more than
334         one line
335
336 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
337
338         * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
339         "No change" and "Reset".
340
341         * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
342         them at the front of the list.
343
344 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
345
346         * ControlGraphics.C: add some comments to the char * arrays.
347         Make rorigin_size const.
348
349 2002-04-30  Angus Leeming  <a.leeming@ic.ac.uk>
350
351         * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
352         Enables the gui's to internationalise these strings.
353
354 2002-04-30  John Levon  <moz@compsoc.man.ac.uk>
355
356         * frnt_lang.C: fix build
357
358 2002-04-30  Angus Leeming  <a.leeming@ic.ac.uk>
359
360         * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
361         If the the caller is the character dialog, add "No change" and "Reset"
362         to the vector, else don't.
363         Internationalise the GUI strings here rather than in the different
364         calling dialogs.
365         Sort the translated strings, albeit simply.
366
367 2002-04-29  Angus Leeming  <a.leeming@ic.ac.uk>
368
369         * character.[Ch]: rename namespace character as namespace frnt.
370
371         * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
372         as several dialogs will use this info. The function now returns a
373         vector<LanguagePair> where LanguagePair is a display string and an
374         identifying string. The display string is internationalised.
375
376         * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
377         the identifying strings, "No change" and "Reset".
378
379         * Makefile.am: add frnt_lang.[Ch].
380
381 2002-04-25  Herbert Voss  <voss@lyx.org>
382
383         * ControlSendto.C (allFormats): don't add the graphics extensions to the
384         export menu
385
386 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
387
388         * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
389         BibTeX databases in a WYSIWYM way.
390
391 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
392
393         * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
394         way past his use-by date.
395         Make use of the improved info from Buffer::getBibkeyList when using
396         \bibliography. Enables us to provide natbib support in this case too.
397
398 2002-04-19  Marco Morandini <morandini@aero.polimi.it>
399
400         * ControlGraphics.C: pass the browseFile dialog a string of only those
401         formats that can currently be loaded by LyX.
402
403 2002-04-15  Herbert Voss  <voss@perce.de>
404
405         * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
406         with something like ,,...blah...`` (two commas)
407
408 2002-04-14  Herbert Voss  <voss@perce.de>
409
410         * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
411         into the support/lstrings for better use in other programs.
412
413         * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
414         namespace anon and make globally accessible.
415         (familyName): test for the presence of a LaTeX Space at the front of
416         of a name; strip it if it exists.
417
418 2002-04-11  Herbert Voss  <voss@perce.de>
419
420         * ControlGraphics.C: expand "browse-string" to all available formats
421
422 2002-04-11  Herbert Voss  <voss@perce.de>
423
424         * ControlGraphics.C: read BoundingBox also from non (e)ps files.
425
426 2002-04-08  Adrien Rebollo  <adrien.rebollo@gmx.fr>
427
428         * ControlAboutlyx.C (getVersion): two _() forgotten
429
430 2002-04-08  John Levon  <moz@compsoc.man.ac.uk>
431
432         * ControlGraphics.C:
433         * ControlPrint.C:
434         * ControlBibtex.C: make N_() be _()
435
436 2002-04-07  Herbert Voss  <voss@perce.de>
437
438         * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
439
440 2002-04-05  Angus Leeming  <a.leeming@ic.ac.uk>
441
442         * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
443         used when reading the BB.
444
445 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
446
447         * ControlGraphics.C (readBB): Don't open the ifstrem and then
448         check the format from the contents (and open a second ifstream in the
449         process. One at a time please.
450
451 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
452
453         * ControlRef.C (getBufferNum): squash warning message.
454
455 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
456
457         * ControlBibtex.C (Browse):
458         * ControlGraphics.C (Browse):
459         * ControlPrint.C (Browse):  use Jean-Marc's browseRelFile.
460
461         * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
462
463         * ControlGraphics.C (applyParamsToInset): pass filepath to
464         InsetGraphics::updateInset.
465
466 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
467
468         * most files: ws cleanup
469
470 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
471
472         * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
473         for it.
474
475 2002-03-18  John Levon  <moz@compsoc.man.ac.uk>
476
477         * ControlGraphics.C:
478         * ControlInclude.C: better error messages
479
480 2002-03-11  Herbert Voss  <voss@lyx.org>
481
482         * biblio.C (parseBibTeX): fix another minibug with an
483         ending comma
484
485 2002-03-10  Herbert Voss  <voss@lyx.org>
486
487         * biblio.C (parseBibTeX): fix bug
488         (familyName): improve parsing
489
490 2002-03-09  Herbert Voss  <voss@lyx.org>
491
492         * ControlGraphics.[Ch]: adding checkFilename() for testing
493         of non-existing files
494
495 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
496
497         * ControlSendto.C (allFormats): fix a iterators are not pointers
498         problem.
499
500 2002-03-06  Angus Leeming  <a.leeming@ic.ac.uk>
501
502         * ControlShowFile.h: add a #include "LString.h"
503
504 2002-03-05  Herbert Voss  <voss@lyx.org>
505
506         * biblio.C (getInfo): simplify if using paragraph layout
507         "bibliography".
508
509 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
510
511         * biblio.C (getInfo): return the info field correctly if the key
512         is not a BibTeX one.
513         (parseBibTeX): fix crash when data.find('=') returns string::npos.
514
515 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
516
517         * ControlForks.[Ch]: new files. A controller for the Forked Child
518         processes dialog, enabling the user to see what forked processes
519         are running, and, if he so desires, to kill them.
520
521         * GUI.h: add class GUIForks.
522
523         * Makefile.am: add ControlForks.[Ch].
524
525         * ControlGraphics.C (getParams): small change due to change in
526         insetgraphics.
527
528 2002-02-21  Herbert Voss  <voss@lyx.org>
529
530         * biblio.C: fix bug with commentlines in a bibentry
531
532 2002-02-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
533
534         * Makefile.am: simpler obj. file compile
535
536 2002-02-18  Herbert Voss  <voss@lyx.org>
537
538         * ControlGraphics.[Ch]: remove help-file call
539
540 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
541
542         * helper_funcs.h: wrap the structs firster and seconder up in a
543         namespace to avoid clashes with those in lyxalgo,h.
544
545         * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
546         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
547
548 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
549
550         * ControlGraphics.C: remove #include "support/syscall.h" as it's not
551         used.
552         * ControlTexinfo.C:
553         change Systemcalls::System to Systemcalls::Wait and
554         No change of functionality, just reflects the stripped down Systemcalls
555         class.
556
557 2002-02-06  Herbert Voss  <voss@lyx.org>
558
559         * ControlGraphics.[C] (readBB): search also in
560         g'zipped files. If it is useful than PK and compress
561         should also be supported. use unzipFile() from
562         support/filetools
563
564 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
565
566         * ControlRef.C (getBufferName): new method to get a real buffer
567         name from an index.
568
569 2002-02-05  Juergen Spitzmueller <j.spitzmueller@gmx.de>
570
571         * ControlTexInfo.[Ch]: Removed Help functions.
572
573 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
574
575         * ControlSpellchecker.C: clear any selection left
576         (bug #211)
577
578 2002-02-01  Herbert Voss  <voss@lyx.org>
579
580         * ControlGraphics.[C] (readBB): search only, if it is a
581         ".?ps" file and look for bb's at end of file
582
583 2002-01-30  Herbert Voss  <voss@lyx.org>
584
585         * ControlGraphic.[C]: do not search the whole file, when
586         getting the bb
587
588 2002-01-29  Herbert Voss  <voss@lyx.org>
589
590         * ControlGraphic.[C]: added a button for document path
591         when browsing -> bug 222
592
593 2002-01-27  Herbert Voss  <voss@lyx.org>
594
595         * ControlGraphic.[Ch]: added support for Bounding Box, other
596         small changes
597
598 2002-01-25  Angus Leeming  <a.leeming@ic.ac.uk>
599
600         * ControlAboutlyx.h:
601         * ControlTexinfo.h: added #include "LString.h" where they belong.
602
603 2002-01-25  Angus Leeming  <a.leeming@ic.ac.uk>
604
605         * ControlCitation.C:
606         * ControlDialog_impl.C: remove redundant // -*- C++ -*-
607
608 2002-01-24  Angus Leeming  <a.leeming@ic.ac.uk>
609
610         * ControlInclude.[Ch] (fileExists): remove const type qualifier from
611         bool return type.
612
613 2002-01-20  Herbert Voss  <voss@perce.de>
614
615         * ControlInclude.[Ch]: better control of unexistings files
616         when entered without the browser
617
618         * ControlGraphic.C (Browse): add extension "ps" when browsing for
619         a filename
620
621 2002-01-19  Herbert Voss  <voss@perce.de>
622
623         * biblio.C (getInfo): fix bug when no author is given
624
625         * biblio.C (parseBibTeX): change the parsing, so that
626         '#'-characters in a bibtex entry are no more a problem.
627
628 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
629
630         * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
631         derive from ControlDialog<ControlConnectBI> (fixes bug #196)
632
633         * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
634
635 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
636
637         * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
638
639         * ControlExternal.C (Browse): add a std:: qualifier
640
641 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
642
643         * ControlExternal.C (Browse): simplify to use browseRelFile
644
645 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
646
647         * ButtonController.tmpl: added // -*- C++ -*-
648
649         * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
650         ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
651         Needed in _one_ of the ControlCommand-derived classes only.
652
653 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
654
655         * ControlInset.h:
656         * ControlSearch.h: #include LString.h
657
658 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
659
660         * ButtonController.h: split into two. The definition remains in
661         ButtonController.h, the declaration is now in ButtonController.tmpl.
662         These template methods should be #included when the derived class is
663         instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
664         and in the qt2 and gnome equivalents.
665
666         * ControlDialogs.h: removed. The definition of class ControlDialog is
667         now to be found in ControlDialog.h and the declaration of the methods
668         is in ControlDialog.tmpl. The two template instantiations are performed
669         in ControlDialog_impl.[Ch], new files also.
670
671         * ControlInset.h: split into two. The definition remains in
672         ControlInset.h, the declaration is now in ControlInset.tmpl.
673         These template methods should be #included derived class is
674         instantiated, in this case in 8 other .C files in this directory.
675
676         * ControlAboutlyx.[Ch]:
677         * ControlCharacter.[Ch]:
678         * ControlCommand.C:
679         * ControlERT.C:
680         * ControlError.C:
681         * ControlExternal.C:
682         * ControlFloat.C:
683         * ControlGraphics.C:
684         * ControlInclude.C:
685         * ControlLog.[Ch]:
686         * ControlMinipage.C:
687         * ControlPreamble.[Ch]:
688         * ControlPrint.[Ch]:
689         * ControlSearch.[Ch]:
690         * ControlShowFile.[Ch]:
691         * ControlSpellchecker.[Ch]:
692         * ControlTabularCreate.[Ch]:
693         * ControlTexinfo.[Ch]:
694         * ControlThesaurus.[Ch]:
695         * ControlVCLog.[Ch]: small changes associated with the above ones.
696
697         * GUI.h: #include the ButtonController and dialog controller files
698         here, rather than forward declare them. This is the correct place
699         for these #includes.
700
701         * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
702         Rename ControlDialogs.h as ControlDialog.h.
703         Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
704         EXTRA_DIST.
705
706 2002-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
707
708         * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
709
710 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
711
712         * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
713         can be done)
714
715         * ControlGraphics.C (Browse): remove overzealous shortcut
716
717 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
718
719         * FormMinipage.C (apply, update): MinipageParams::width renamed
720         as MinipageParams::pageWidth. InsetMinipage::width  renamed
721         as InsetMinipage::pageWidth.
722
723 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
724
725         * ButtonController.h (refreshReadOnly): use explicit typename
726
727 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
728
729         * helper_funcs.h (browseFile): add default empty button descriptions.
730
731         * ControlGraphics.C (Browse):
732         * ControlBibtex.C (Browse):
733         * ControlInclude.C (Browse): add shortcuts to directory buttons
734
735 2002-01-12  John Levon  <moz@compsoc.man.ac.uk>
736
737         * ControlThesaurus.h:
738         * ControlThesaurus.C: update to Aiksaurus 0.14
739
740 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
741
742         * ControlSpellchecker.C (clearParams): show the closing message
743         only if some words have been checked, thereby fixing
744         bugzilla bug #52.
745
746 2001-12-11  Michael A. Koziarski <michael@koziarski.org>
747
748         * ControlFloat.[Ch]: changes to prevent here definitely being used
749         with wide figures.
750
751 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
752
753         * ControlThesaurus.h: do not include <config.h> in header files
754
755 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
756
757         * ControlToc.C: changes for floatlist
758
759 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
760
761         * ControlVCLog.C: use _()
762
763 2001-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
764
765         * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
766         that for select.
767
768 2001-10-22  Juergen Vigna  <jug@sad.it>
769
770         * ControlSpellchecker.C (clearParams): use the error_ message of the
771         speller_ if available when the spellchecker died.
772         (setParams): remove double error message display.
773
774 2001-10-15  Angus Leeming  <a.leeming@ic.ac.uk>
775
776         * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
777
778         * helper_funcs.[Ch] (getLatexUnits): see above.
779
780 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
781
782         * ControlTexinfo.C (getContents): use the right file for .sty files
783
784 2001-10-10  Herbert Voss  <voss@perce.de>
785
786         * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
787         and some more stuff from FormTexinfo.C
788
789         * ControlShowFile.C: hiding the update-button
790
791 2001-10-09  Herbert Voss  <voss@perce.de>
792
793         * ControlTexinfo.[Ch]: new files. Display information about the
794         installed texfiles (cls,sty,bst).
795
796         * ControlShowFile.[Ch]: new files. Display the contents of a file.
797
798         * GUI.h: added classes GUIShowFile and GUITexinfo.
799
800         * Makefile.am: modified appropriately.
801
802 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
803
804         * ControlAboutlyx.C (getVersion): use lyx_version and
805         lyx_release_date instead of old macros
806
807 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
808
809         * ControlSpellchecker.C (check): Behaves well now when the spell
810         library doesn't know a replacement to an incorrect word.
811
812 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
813
814         * ControlSpellchecker.C (clearParams): place emergency_exit_ in
815         the correct place. Can now check spelling more than once!
816
817 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
818
819         * ControlSplash.[Ch]: removed.
820
821         * GUI.h: remove GUISplash class.
822
823         * ViewBase.h: remove ViewSplash class.
824
825         * Makefile.am: remove ControlSplash.[Ch].
826
827 2001-09-25  Angus Leeming  <a.leeming@ic.ac.uk>
828
829         * ControlButtons.h: add variable emergency_exit_. If set to true, the
830         view will be shut down.
831
832         * ControlDialogs.h:
833         * ControlInset.h: act on emergency_exit_.
834
835         * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
836         speller fails to launch.
837
838 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
839
840         * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
841         * (getLabelList): use MakeAbsPath on the buffer name passed to it.
842
843 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
844
845         * ControlRef.h (disconnectOnApply): new method. Set to true.
846         Perhaps make this user-modifiable?
847
848 2001-09-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
849
850         * ControlGraphics.C (Browse): add "jpg" to list of recognized file
851         extensions.
852
853 2001-09-07  Dekel Tsur  <dekelts@tau.ac.il>
854
855         * ControlRef.C (getBufferList, getBufferNum): New methods
856
857 2001-09-12  Angus Leeming  <a.leeming@ic.ac.uk>
858
859         * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
860         of the dialog when the Apply button is pressed. Defaults to false,
861         but can be overridden in the daughter classes.
862
863         * ControlCitation.h (disconnectOnApply): new method. Set to true.
864         Perhaps make this user-modifiable?
865
866 2001-09-11  Angus Leeming  <a.leeming@ic.ac.uk>
867
868         * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
869         we have dialogs that update their contents when the buffer changes.
870         Rather embarassing, really!
871
872 2001-09-07  Angus Leeming  <a.leeming@ic.ac.uk>
873
874         * ControlSearch (replace): change semantics of replace to NOT move on
875         to the next instance of a word once the present instance has been
876         replaced unless we are replacing ALL instances of the word.
877
878 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
879
880         * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
881
882 2001-09-04  Angus Leeming  <a.leeming@ic.ac.uk>
883
884         * ControlCharacter.C: fix Michael's bug: In the "Character layout"
885         dialog, set all options to "reset", close the dialog, re-open it ->
886         the options are set incorrectly.
887
888         * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
889         When Applying it's useful to know whether the dialog is about to close
890         or not (no point refreshing the display for example).
891
892         * ControlInset.C (apply): use isClosing.
893
894 2001-08-25  John Levon  <moz@compsoc.man.ac.uk>
895
896         * ControlInset.h:
897         * ControlDialogs.h: remove bc() hack, now fixed in
898           Qt2 frontend. use member dialog_built_ instead of shared
899           static.
900
901         * ButtonController.h:
902         * ButtonPolicies.C: more debug info
903
904         * ButtonControllerBase.C: call refresh() when setting readOnly !
905
906         * GUI.h: External form has apply, use the right policy
907
908         * character.C: fix two off-by-one errors when latex font was removed
909
910 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
911
912         * ControlInset.h (apply): tentative fix for the press Apply multiple
913         times and get multiple new Insets problem.
914
915 2001-08-24  John Levon  <moz@compsoc.man.ac.uk>
916
917         * ControlCharacter.C: fix typo
918
919         * ViewBase.h:
920         * ControlDialogs.C:
921         * ControlInsets.C: make sure dialog is built before it is shown, so
922           it works properly the very first time it is shown
923
924 2001-08-20  Herbert Voss  <voss@perce.de>
925
926         * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
927         and styles. Added an option for "bibliography into toc"
928
929 2001-08-15  Angus Leeming  <a.leeming@ic.ac.uk>
930
931         * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
932         LaTeX is no longer a font property.
933
934 2001-08-09  Angus Leeming  <a.leeming@ic.ac.uk>
935
936         * GUI.h: Button controller for Reference dialog changed to
937         NoRepeatedApplyReadOnlyPolicy.
938
939         * biblio.C (getInfo): output volume and number info. Move year to end
940         of string.
941
942 2001-08-09  Allan Rae  <rae@lyx.org>
943
944         * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
945
946 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
947
948         * helper_funcs.C (getVectorFromString): fixed small bug.
949
950         * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
951
952 2001-08-07  Edwin Leuven  <leuven@fee.uva.nl>
953
954         * ControlSpellchecker.C: check next word after insert in personal dict
955
956 2001-08-06  Juergen Vigna  <jug@sad.it>
957
958         * ControlERT.[Ch]: new file
959
960 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
961
962         * ControlInset.h: const and non-const forms of params().
963
964         * helper_funcs.C (getStringFromVector,getVectorFromString): remove
965         whitespace from either side of each item.
966
967 2001-07-30  Angus Leeming  <a.leeming@ic.ac.uk>
968
969         * ControlFloat.h: add a != operator for FloatParams.
970         Lars, how did you get this to compile!!!
971
972         * ControlMinipage.[Ch]: uncommented someone's commenting out of
973         operator != for MinipageParams. Who's changing stuff and not compiling?
974
975 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
976
977         * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
978         ControlFloat.C
979
980         * GUI.h: add class GUIFloat
981
982         * ControlFloat.[Ch]: new files
983
984 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
985
986         * ControlPrint.C: #include Lassert.h here.
987
988 2001-07-26  Baruch Even  <baruch@lyx.org>
989
990         * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
991         and png.
992
993 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
994
995         * ControlThesaurus.h:
996         * ControlThesaurus.C:
997         * GUI.h:
998         * Makefile.am: thesaurus support
999
1000 2001-07-23  John Levon  <moz@compsoc.man.ac.uk>
1001
1002         * ControlInclude.h:
1003         * ControlInclude.C: implement ability to load file
1004
1005 2001-07-18  Juergen Vigna  <jug@sad.it>
1006
1007         * ControlSearch.C (replace): changes to lyxfind.h function calls.
1008
1009 2001-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1010
1011         * biblio.C (getInfo): add a .c_str() to handle the usual
1012         stringstream pain.
1013
1014 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
1015
1016         * ControlCitation.[Ch]: changes associated with adding natbib support.
1017         New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1018         New static variable citeStyles_.
1019
1020         * biblio.[Ch]: large internal rearrangement.
1021         New public enum CiteStyle.
1022         New public struct CitationStyle.
1023         New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1024         getNumericalStrings, getAuthorYearStrings
1025         (simpleSearch, regexSearch): no longer publicly accessible.
1026
1027         * helper_funcs.C (getStringFromVector): bug fix.
1028
1029 2001-07-16  Baruch Even  <baruch@lyx.org>
1030
1031         * ControlVCLog.h: Added Lsstream.h to includes.
1032
1033 2001-07-17  Angus Leeming  <a.leeming@ic.ac.uk>
1034
1035         * ControlSpellchecker.[Ch]: remove d-tor.
1036
1037 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
1038
1039         * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1040
1041 2001-07-16  Juergen Vigna  <jug@sad.it>
1042
1043         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1044         compiled with USE_PSPELL) to be able to switch between ISpell and
1045         PSpell classes.
1046
1047 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1048
1049         Consistent use of Lsstream.h:
1050         * ControlAboutlyx.[Ch] (getCredits):
1051         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1052
1053 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1054
1055         * ControlCredits.[Ch]: removed
1056         * ControlCopyright.[Ch]: removed
1057         * ControlAboutlyx.[Ch]: added (replaces previous)
1058         * GUI.h: removed credits and copyright added about lyx stuff
1059
1060 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1061
1062         * ControlSpellchecker.C (getSuggestion):
1063         (getWord): add std:: qualifier
1064
1065 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1066
1067         * ControlSpellchecker.[Ch]: added
1068         * ViewBase.h: added partialUpdate(int) member
1069         * GUI.h: added spell stuff
1070
1071 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1072
1073         * ControlExternal.C: (*it). -> it->
1074
1075 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
1076
1077         * ButtonController.h: move some included header files out of the
1078         frontends and into here.
1079
1080 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
1081
1082         * ControlCharacter.C (c-tor): cosmetic name change of signal.
1083
1084 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
1085
1086         * *.[h]: added // -*- C++ -*-
1087         * *.[C]: removed // -*- C++ -*-
1088
1089         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1090         activate Apply button.
1091         (clearParams): removed.
1092         font_ is now stored as a boost::scoped_ptr.
1093         font_ is no longer deleted on hide(), so it's contents can now be used
1094         by the Font button on the toolbar.
1095         Lots of new methods so that the GUI can easily get the contents of
1096         font_ when it update()s.
1097
1098 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
1099
1100         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1101         crash when the Font button on the Toolbar is pressed.
1102
1103         * GUI.h: change policy of Character button controller to
1104         OkApplyCancelReadOnlyPolicy.
1105
1106 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1107
1108         * ControlToc.C (getContents): don't add anything to the list if it
1109         is supposed to be empty.
1110
1111 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
1112
1113         * helper_funcs.C (getVectorFromString): bug fix.
1114
1115 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
1116
1117         * ButtonController.h
1118         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1119         from ButtonControllerBase::readOnly. Updates the state of the widgets
1120         in the read-only list only when the read-only status of the document
1121         changes.
1122         (refresh): moved this stuff into refreshReadOnly.
1123
1124 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
1125
1126         * ControlPrint.C (c-tor):
1127         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1128
1129 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
1130
1131         * biblio.C:
1132         * character.h: small clean-ups.
1133
1134 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1135
1136         * ControlToc.C (getType): remove support for old float list.
1137
1138 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1139
1140         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1141         * ControlGraphics.h: no longer include insetgraphicsParams.h
1142         * ControlInset.h: no longer include LyXView.h
1143
1144         * ControlBibitem.C:
1145         * ControlBibtex.C:
1146         * ControlButtons.C:
1147         * ControlCharacter.C:
1148         * ControlCitation.C:
1149         * ControlCommand.C:
1150         * ControlConnections.C:
1151         * ControlCopyright.C:
1152         * ControlCredits.C:
1153         * ControlError.C:
1154         * ControlExternal.C:
1155         * ControlGraphics.C:
1156         * ControlInclude.C:
1157         * ControlLog.C:
1158         * ControlMinipage.C:
1159         * ControlPreamble.C:
1160         * ControlPrint.C:
1161         * ControlRef.C:
1162         * ControlSearch.C:
1163         * ControlTabularCreate.C:
1164         * ControlToc.C:
1165         * ControlVCLog.C: they're now in here!
1166
1167 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1168
1169         * ButtonControllerBase.h: C++ mode, inherit privately from
1170         noncopyable
1171         * ButtonPolicies.h: ditto
1172
1173         * ButtonController.h: C++ mode, swap init order of restore_ and
1174         cancel_
1175
1176 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
1177
1178         * ControlTabularCreate.h:
1179         * ControlTabularCreate.C: make dialogs use a pair of uints
1180           instead of a string
1181
1182         * ControlVCLog.h:
1183         * ControlVCLog.C: fill a stringstream with the log contents
1184         and then delete it
1185
1186         * ControlExternal.C: from Angus, clone the new InsetExternal
1187           before acting on it
1188
1189 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
1190
1191         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1192         and made more robust.
1193
1194 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1195
1196         * ControlToc.C:
1197         * ControlSearch.C:
1198         * ControlPrint.C:
1199         * ControlPreamble.C:
1200         * ControlInclude.C:
1201         * ControlGraphics.C:
1202         * ControlExternal.C:
1203         * ControlCopyright.C: include gettext.h
1204
1205         * ControlCharacter.C:
1206         * character.C: include gettext.h and language.h
1207
1208 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
1209
1210         * ButtonController.h:
1211         * ButtonControllerBase.h:
1212         * ButtonControllerBase.C:
1213         * ButtonPolicies.h:
1214         * ButtonPolicies.C:
1215         * ControlButton.h:
1216         * ControlButton.C:
1217         * ControlButtons.h:
1218         * ControlButtons.C:
1219         * ControlConnections.h:
1220         * ControlDialogs.h:
1221         * ControlInset.h:
1222         * ControlExternal.C:
1223         * Makefile.am:
1224         * README:
1225         * ViewBase.h: s/ControlButton/ControlButtons/
1226         s/popup/dialog/
1227         s/UndoAll/Restore/ + associated
1228
1229 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
1230
1231         * ControlToc.[Ch]: new files; a controller for the TOC popup.
1232
1233         * GUI.h:
1234         * Makefile.am: associated changes with all of the above.
1235
1236 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
1237
1238         * ControlExternal.C: bug fixes. Can now apply changes to the inset
1239         and edit, view, update the External Material correctly. I hope!
1240
1241 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
1242
1243         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1244
1245         * BCTemplates.h: renamed as ButtonController.h
1246
1247         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1248
1249         * ViewBase.h:
1250         * ControlConnections.h: associated change in #include and class names.
1251
1252         * ControlExternal.[Ch]: new files; a controller for the External
1253         Material popup.
1254
1255         * GUI.h:
1256         * Makefile.am: associated changes with all of the above.
1257
1258         * ControlGraphics.[Ch]:
1259         * ControlInclude.[Ch]:
1260         * ControlPrint.[Ch]:
1261         (lv): removed.
1262         (Browse): new method. Returns the results of a FileDialog browse.
1263
1264         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1265         (getVectorFromString): fixed bug.
1266
1267         * biblio.C (simpleSearch): cleaned up.
1268
1269 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1270
1271         * A slight reworking of Baruch Even's ButtonController patch.
1272
1273         * BCTemplates.h: new file; all the templates for the ButtonController.
1274         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1275         to the more generic setButtonLabel().
1276
1277         * ButtonController.[Ch]: renamed cancel_label and close_label as
1278         cancel_label_ and close_label_.
1279
1280         * Makefile.am: added BCTemplates.h
1281
1282 2001-03-29  Juergen Vigna  <jug@sad.it>
1283
1284         * ControlMinipage.C: removed widthp_ and all it's functions and changed
1285         to use new %-lengths of LyXLength.
1286
1287 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1288
1289         * ControlCitation.C (bibkeysInfo): removed Assert.
1290
1291         * ControlCopyright.h: moved GUICopyright into GUI.h
1292
1293         * GUI.h: see above.
1294
1295 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1296
1297         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1298         (setDaughterParams): a (by default empty) new method called in show().
1299
1300         * ControlBibitem.h:
1301         * ControlBibtex.h:
1302         * ControlError.h:
1303         * ControlInclude.h:
1304         * ControlMinipage.h:
1305         * ControlRef.h:
1306         * ControlSearch.h:
1307         * ControlUrl.h (clearDaughterParams): removed
1308
1309         * ControlMinipage.C (applyParamsToInset): update the view.
1310         Added namespace minipage containing a helper function getUnits.
1311
1312         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1313
1314         * ControlCharacter.[Ch]: moved out all the helper functions and the
1315         enum into their own file.
1316         * character.[Ch]: new files; contain the character helper functions,
1317         now inside namespace character.
1318
1319         * ControlCitation.[Ch]: moved out all the helper functions and the
1320         enums into their own file. Simplified interface.
1321         * biblio.[Ch]: new files; contain the citation helper functions,
1322         now inside namespace biblio. Will be of use also to an improved
1323         BibTeX popup.
1324
1325         * ControlGraphics.[Ch]:
1326         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1327         popups, respectively.
1328
1329         * GUI.h:
1330         * Makefile.am: associated changes.
1331
1332 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1333
1334         * ControlMinipage.[Ch]:
1335         * ControlPreamble.[Ch]:
1336         * ControlPrint.[Ch]:
1337         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1338         and Print popups and Splash screen, respectively.
1339
1340         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1341         screens.
1342
1343         * GUI.h:
1344         * Makefile.am: associated changes.
1345
1346 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1347
1348         * ControlConnections.[Ch]: (docType): new method; returns the type
1349         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1350
1351         * ControlRef.[Ch]:
1352         * ControlSearch.[Ch]:
1353         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1354         Search and TabularCreate popups, respectively.
1355
1356         * GUI.h:
1357         * Makefile.am: associated changes.
1358
1359 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1360
1361         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1362         contains data.
1363
1364         * ControlInset.h (apply): fix bug. Can now create new insets again.
1365
1366         * README: describe program flow.
1367
1368 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1369
1370         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1371
1372 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1373
1374         * ControlDialogs.h: moved class ControlInset into its own file.
1375
1376         * ControlInset.h: new file. class ControlInset has been expanded to take
1377         two template parameters, Inset and Params. Believe that all inset
1378         controllers can be derived from this with the minimum of effort.
1379
1380         * ControlBibitem.[Ch]:
1381         * ControlBibtex.[Ch]:
1382         * ControlCitation.[Ch]:
1383         * ControlCommand.[Ch]: moved most code into ControlInset.
1384
1385         * lots of files. Moved protected stuff into private where possible.
1386
1387         * ControlError.[Ch]:
1388         * ControlInclude.[Ch]:
1389         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1390         Include and Url popups, respectively.
1391
1392         * GUI.h:
1393         * Makefile.am: associated changes.
1394
1395 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1396
1397         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1398         vector<string>.
1399
1400 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1401
1402         * ControlCredits.C (getCredits): remove std:: qualifier for
1403         getline().
1404
1405 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1406
1407         * ControlCredits.C (getCredits): add std:: on vector
1408
1409 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1410
1411         * ControlCredits.C: remove using that is only used once, use
1412         std::ios instead of std::iosbase, add some annoying comments.
1413
1414 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
1415
1416         * lots of header files: improved explanatory notes.
1417
1418         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1419         ControlBase is now a class that only controls the interaction of the
1420         View with the ButtonController.
1421
1422         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1423         to ControlConnectBase. The class controls the connection/disconnection
1424         of signals from the LyX kernel and makes available the kernel (through
1425         lv_) to daughter controller classes.
1426         Moved out class ControlConnectInset to a new file ControlDialogs.h.
1427
1428         * ControlDialogs.h: new file. Contains the definition of two template
1429         controller classes, ControlDialog and ControlInset (was
1430         ControlConnectInset). ControlInset is a parent class for controllers
1431         of inset-popups. ControlDialogs is the rather uninspired name for
1432         the base class of all non-inset popups. (Eg, Document and Paragraph.)
1433         ControlDialogs is reaching a state of maturity as several popups now use
1434         it and its functionality becomes clear. ControlInset is still in a state
1435         of flux. It is likely that functionality will be moved out of
1436         ControlCommands and into it.
1437
1438         * GUI.h: new file. Moved all the template GUIXXX classes out of the
1439         individual Controller header files and into one place. These classes
1440         serve only as convenient wrappers to simplify code in the respective
1441         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1442
1443         * ControlCharacter.[Ch] (show, update, hide):
1444         * ControlLog.[Ch] (show, update, hide):
1445         * ControlVCLog.[Ch] (show, update, hide): moved back into
1446         the ControlDialogs base class.
1447         (setParams, clearParams): new methods containing controller-specific
1448         code to set/reset the parameters manipulated by the view.
1449
1450         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1451         empty.
1452         (hide): calls clearParams.
1453
1454         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1455         by ControlCommand::hide().
1456
1457         * ControlCopyright.[Ch]:
1458         * ControlCredits.[Ch]: new files; controllers for the copyright and
1459         credits popups, respectively.
1460
1461 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1462
1463         * ControlCharacter.C: fix typo
1464
1465 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
1466
1467         * ControlCharacter.[Ch]: new files; controller for the character popup.
1468
1469         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1470         moved to new files helper_funcs.[Ch].
1471
1472         * helper_funcs.[Ch]: new files. Some useful helper functions and
1473         functors.
1474
1475         * Makefile.am: added new files.
1476
1477 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1478
1479         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1480
1481 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1482
1483         * ControlLog.[Ch]:
1484         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1485         Control log files, respectively.
1486
1487         * Makefile.am: added new files.
1488
1489 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
1490
1491         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1492
1493         * Makefile.am: added ControlBibtex.[Ch].
1494
1495 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
1496
1497         * ControlBibitem.C:
1498         * ControlCitation.C: added "using SigC::slot" declaration.
1499
1500         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1501         to FormCitation.C prior to the merger: "Do not put space between
1502         multiple keys".
1503
1504 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1505
1506         * several files: remove CXX_WORKING_NAMESPACES
1507
1508         * ButtonController.h: noncopyable is in namespace boost
1509         * ButtonPolicies.h: ditto
1510
1511 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1512
1513         * Merging changes from BRANCH_MVC back into HEAD.
1514
1515 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1516
1517         * Makefile.am: add ControlBibitem.[Ch].
1518
1519         * ControlBibitem.[Ch]: new files that together define the Controller
1520         for a Bibitem popup.
1521
1522         * ControlCommand.h (c-tor): give  kb_action a default value of
1523         LFUN_NOACTION.
1524
1525         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1526
1527         * ControlCitation.[Ch]: moved search functions out of class.
1528         (bibkeysInfo): new method. Returns const reference to private data.
1529         (searchKeys): added case-sensitive switch. Used only by simpleSearch
1530         for now.
1531
1532 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
1533
1534         * ControlCitation.[Ch]: added Search functions to the class,
1535         (shamelessly lifted from Marco's gnome code). I think that these would
1536         be better as helper functions outside the class, but this is a first
1537         stab at it.
1538
1539 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
1540
1541         * ControlCitation.[Ch]: (getBibkeyList): removed from class
1542         ControlCitation.
1543         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1544         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1545         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1546         implementation of FormCitation.
1547
1548 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
1549
1550         * ButtonPolicies.h: add SMI_NOOP to enum.
1551
1552         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1553
1554         * ButtonController.C (input): add "optimising" if-statement. Actually,
1555         things don't work correctly without it...
1556
1557 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
1558
1559         * ViewBase.h: remove #pragma directive
1560
1561         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1562         to make g++ happy.
1563
1564 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
1565
1566         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1567
1568         * Makefile.am: added ButtonPolicies.[Ch]
1569
1570         * ButtonController.[Ch]: ButtonController is split into
1571         ButtonControllerBase and a template ButtonController class. The base
1572         class no longer stores a pointer to a ButtonPolicy, but instead
1573         accesses the actual instantiation of the policy through a pure virtual
1574         method bp(). This method and the ButtonPolicy itself are instantiated
1575         in the templatised ButtonController class. This class is derived from
1576         the GUI-specific GUIBC class, meaning that the frontends know
1577         nothing about the actual policy decided upon by the controllers.
1578
1579         * ControlBase.[Ch]: No longer store the View or the ButtonController.
1580         Instead the actual instantiations are accessed through pure virtual
1581         methods view() and bc(). The daughter classes are responsible for the
1582         actual View and ButtonController.
1583
1584         * ControlCitation.h: the templatised class GUICitation instantiates
1585         the methods view() and bc(). It also stores the instances of the
1586         View and ButtonController.
1587
1588 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
1589
1590         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1591         also changed to ButtonController.
1592
1593         * ControlBase.[Ch]:
1594         * ControlConnections.[Ch]:
1595         * ControlCommand.[Ch]:
1596         * ControlCitation.[Ch]:
1597         * ViewBase.h: Changes associated with this.
1598
1599 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
1600
1601         * ButtonControllerBase.[Ch]: new files. Split Allan's original
1602         xforms/ButtonController class into a GUI-I class (here) and an
1603         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1604
1605         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1606         from which all Dialog Controllers should be derived. the Controllers
1607         are GUI-independent, but are designed to control the behaviour of
1608         GUI-specific implementaions of each dialog.
1609
1610         * ControlConnections.[Ch]: new files. Classes controlling the
1611         connections of buffer-independent, buffer-dependent and Inset dialogs
1612         with the LyX kernel.
1613
1614         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1615         InsetCommand subset of insets.
1616
1617         * ControlCitation.[Ch]: new files. The test specialisation! A
1618         controller for the Citation dialog.
1619
1620         * ViewBase.h: new file. ViewBase is an abstract base class from which
1621         GUI-specific dialogs should be derived. The functionality that the GUIs
1622         must now implement is much reduced.