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