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