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