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