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