]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ChangeLog
5bac989afb65e55fe6dca7736a7881beb655f5b8
[lyx.git] / src / frontends / controllers / ChangeLog
1 2001-07-18  Juergen Vigna  <jug@sad.it>
2
3         * ControlSearch.C (replace): changes to lyxfind.h function calls.
4
5 2001-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6
7         * biblio.C (getInfo): add a .c_str() to handle the usual
8         stringstream pain.
9
10 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11
12         * ControlCitation.[Ch]: changes associated with adding natbib support.
13         New public methods, usingNatbib, getCiteStrings and getCiteStyles.
14         New static variable citeStyles_.
15
16         * biblio.[Ch]: large internal rearrangement.
17         New public enum CiteStyle.
18         New public struct CitationStyle.
19         New public functions getCitationStyle, getCiteCommand, getCiteStyles,
20         getNumericalStrings, getAuthorYearStrings
21         (simpleSearch, regexSearch): no longer publicly accessible.
22
23         * helper_funcs.C (getStringFromVector): bug fix.
24
25 2001-07-16  Baruch Even  <baruch@lyx.org>
26
27         * ControlVCLog.h: Added Lsstream.h to includes.
28
29 2001-07-17  Angus Leeming  <a.leeming@ic.ac.uk>
30
31         * ControlSpellchecker.[Ch]: remove d-tor.
32
33 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
34
35         * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
36         
37 2001-07-16  Juergen Vigna  <jug@sad.it>
38
39         * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
40         compiled with USE_PSPELL) to be able to switch between ISpell and
41         PSpell classes.
42
43 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
44
45         Consistent use of Lsstream.h:
46         * ControlAboutlyx.[Ch] (getCredits):
47         * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
48
49 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
50
51         * ControlCredits.[Ch]: removed
52         * ControlCopyright.[Ch]: removed
53         * ControlAboutlyx.[Ch]: added (replaces previous)
54         * GUI.h: removed credits and copyright added about lyx stuff
55
56 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
57
58         * ControlSpellchecker.C (getSuggestion): 
59         (getWord): add std:: qualifier
60
61 >001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
62
63         * ControlSpellchecker.[Ch]: added
64         * ViewBase.h: added partialUpdate(int) member
65         * GUI.h: added spell stuff
66         
67 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
68
69         * ControlExternal.C: (*it). -> it->
70
71 2001-06-16  Angus Leeming  <a.leeming@ic.ac.uk>
72
73         * ButtonController.h: move some included header files out of the
74         frontends and into here.
75
76 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
77
78         * ControlCharacter.C (c-tor): cosmetic name change of signal.
79
80 2001-06-13  Angus Leeming  <a.leeming@ic.ac.uk>
81
82         * *.[h]: added // -*- C++ -*-
83         * *.[C]: removed // -*- C++ -*-
84
85         * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
86         activate Apply button.
87         (clearParams): removed.
88         font_ is now stored as a boost::scoped_ptr.
89         font_ is no longer deleted on hide(), so it's contents can now be used
90         by the Font button on the toolbar.
91         Lots of new methods so that the GUI can easily get the contents of
92         font_ when it update()s.
93
94 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
95
96         * ControlCharacter.C (apply): test that font_ exists, thereby preventing
97         crash when the Font button on the Toolbar is pressed.
98
99         * GUI.h: change policy of Character button controller to
100         OkApplyCancelReadOnlyPolicy.
101
102 2001-06-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
103
104         * ControlToc.C (getContents): don't add anything to the list if it
105         is supposed to be empty.
106
107 2001-06-01  Angus Leeming  <a.leeming@ic.ac.uk>
108
109         * helper_funcs.C (getVectorFromString): bug fix.
110
111 2001-05-30  Angus Leeming  <a.leeming@ic.ac.uk>
112
113         * ButtonController.h
114         * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
115         from ButtonControllerBase::readOnly. Updates the state of the widgets
116         in the read-only list only when the read-only status of the document
117         changes.
118         (refresh): moved this stuff into refreshReadOnly.
119
120 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
121
122         * ControlPrint.C (c-tor):
123         * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
124
125 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
126
127         * biblio.C:
128         * character.h: small clean-ups.
129
130 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
131
132         * ControlToc.C (getType): remove support for old float list.
133
134 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
135
136         * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
137         * ControlGraphics.h: no longer include insetgraphicsParams.h
138         * ControlInset.h: no longer include LyXView.h
139
140         * ControlBibitem.C:
141         * ControlBibtex.C:
142         * ControlButtons.C:
143         * ControlCharacter.C:
144         * ControlCitation.C:
145         * ControlCommand.C:
146         * ControlConnections.C:
147         * ControlCopyright.C:
148         * ControlCredits.C:
149         * ControlError.C:
150         * ControlExternal.C:
151         * ControlGraphics.C:
152         * ControlInclude.C:
153         * ControlLog.C:
154         * ControlMinipage.C:
155         * ControlPreamble.C:
156         * ControlPrint.C:
157         * ControlRef.C:
158         * ControlSearch.C:
159         * ControlTabularCreate.C:
160         * ControlToc.C:
161         * ControlVCLog.C: they're now in here!
162
163 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
164
165         * ButtonControllerBase.h: C++ mode, inherit privately from
166         noncopyable 
167         * ButtonPolicies.h: ditto
168
169         * ButtonController.h: C++ mode, swap init order of restore_ and
170         cancel_ 
171
172 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
173
174         * ControlTabularCreate.h:
175         * ControlTabularCreate.C: make dialogs use a pair of uints
176           instead of a string
177
178         * ControlVCLog.h:
179         * ControlVCLog.C: fill a stringstream with the log contents
180         and then delete it
181
182         * ControlExternal.C: from Angus, clone the new InsetExternal
183           before acting on it
184
185 2001-04-09  Angus Leeming  <a.leeming@ic.ac.uk>
186
187         * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
188         and made more robust.
189
190 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
191
192         * ControlToc.C: 
193         * ControlSearch.C: 
194         * ControlPrint.C: 
195         * ControlPreamble.C: 
196         * ControlInclude.C: 
197         * ControlGraphics.C: 
198         * ControlExternal.C: 
199         * ControlCopyright.C: include gettext.h
200
201         * ControlCharacter.C: 
202         * character.C: include gettext.h and language.h
203
204 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
205
206         * ButtonController.h:
207         * ButtonControllerBase.h:
208         * ButtonControllerBase.C:
209         * ButtonPolicies.h:
210         * ButtonPolicies.C:
211         * ControlButton.h:
212         * ControlButton.C:
213         * ControlButtons.h:
214         * ControlButtons.C:
215         * ControlConnections.h:
216         * ControlDialogs.h:
217         * ControlInset.h:
218         * ControlExternal.C:
219         * Makefile.am:
220         * README:
221         * ViewBase.h: s/ControlButton/ControlButtons/
222         s/popup/dialog/
223         s/UndoAll/Restore/ + associated
224
225 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
226
227         * ControlToc.[Ch]: new files; a controller for the TOC popup.
228
229         * GUI.h:
230         * Makefile.am: associated changes with all of the above.
231
232 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
233
234         * ControlExternal.C: bug fixes. Can now apply changes to the inset
235         and edit, view, update the External Material correctly. I hope!
236
237 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
238
239         * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
240
241         * BCTemplates.h: renamed as ButtonController.h
242
243         * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
244
245         * ViewBase.h:
246         * ControlConnections.h: associated change in #include and class names.
247         
248         * ControlExternal.[Ch]: new files; a controller for the External
249         Material popup.
250
251         * GUI.h:
252         * Makefile.am: associated changes with all of the above.
253
254         * ControlGraphics.[Ch]:
255         * ControlInclude.[Ch]:
256         * ControlPrint.[Ch]:
257         (lv): removed.
258         (Browse): new method. Returns the results of a FileDialog browse.
259
260         * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
261         (getVectorFromString): fixed bug.
262
263         * biblio.C (simpleSearch): cleaned up.
264
265 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
266
267         * A slight reworking of Baruch Even's ButtonController patch.
268
269         * BCTemplates.h: new file; all the templates for the ButtonController.
270         Including Baruch's new GuiBC class, with setCancelCloseButton() changed
271         to the more generic setButtonLabel().
272
273         * ButtonController.[Ch]: renamed cancel_label and close_label as
274         cancel_label_ and close_label_.
275
276         * Makefile.am: added BCTemplates.h
277
278 2001-03-29  Juergen Vigna  <jug@sad.it>
279
280         * ControlMinipage.C: removed widthp_ and all it's functions and changed
281         to use new %-lengths of LyXLength.
282
283 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
284
285         * ControlCitation.C (bibkeysInfo): removed Assert.
286
287         * ControlCopyright.h: moved GUICopyright into GUI.h
288
289         * GUI.h: see above.
290
291 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
292
293         * ControlInset.h (clearDaughterParams): is empty by default, not pure.
294         (setDaughterParams): a (by default empty) new method called in show().
295
296         * ControlBibitem.h:
297         * ControlBibtex.h:
298         * ControlError.h:
299         * ControlInclude.h:
300         * ControlMinipage.h:
301         * ControlRef.h:
302         * ControlSearch.h:
303         * ControlUrl.h (clearDaughterParams): removed
304
305         * ControlMinipage.C (applyParamsToInset): update the view.
306         Added namespace minipage containing a helper function getUnits.
307
308         * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
309
310         * ControlCharacter.[Ch]: moved out all the helper functions and the
311         enum into their own file.
312         * character.[Ch]: new files; contain the character helper functions,
313         now inside namespace character.
314
315         * ControlCitation.[Ch]: moved out all the helper functions and the
316         enums into their own file. Simplified interface.
317         * biblio.[Ch]: new files; contain the citation helper functions,
318         now inside namespace biblio. Will be of use also to an improved
319         BibTeX popup.
320
321         * ControlGraphics.[Ch]:
322         * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
323         popups, respectively.
324
325         * GUI.h:
326         * Makefile.am: associated changes.
327
328 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
329
330         * ControlMinipage.[Ch]:
331         * ControlPreamble.[Ch]:
332         * ControlPrint.[Ch]:
333         * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
334         and Print popups and Splash screen, respectively.
335
336         * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
337         screens.
338
339         * GUI.h:
340         * Makefile.am: associated changes.
341
342 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
343
344         * ControlConnections.[Ch]: (docType): new method; returns the type
345         of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
346
347         * ControlRef.[Ch]:
348         * ControlSearch.[Ch]:
349         * ControlTabularCreate.[Ch]: new files; controller for the Ref,
350         Search and TabularCreate popups, respectively.
351
352         * GUI.h:
353         * Makefile.am: associated changes.
354
355 2001-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
356
357         * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
358         contains data.
359
360         * ControlInset.h (apply): fix bug. Can now create new insets again.
361
362         * README: describe program flow.
363
364 2001-03-24  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
365
366         * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
367
368 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
369
370         * ControlDialogs.h: moved class ControlInset into its own file.
371
372         * ControlInset.h: new file. class ControlInset has been expanded to take
373         two template parameters, Inset and Params. Believe that all inset
374         controllers can be derived from this with the minimum of effort.
375
376         * ControlBibitem.[Ch]:
377         * ControlBibtex.[Ch]:
378         * ControlCitation.[Ch]:
379         * ControlCommand.[Ch]: moved most code into ControlInset.
380
381         * lots of files. Moved protected stuff into private where possible.
382
383         * ControlError.[Ch]:
384         * ControlInclude.[Ch]:
385         * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
386         Include and Url popups, respectively.
387
388         * GUI.h:
389         * Makefile.am: associated changes.
390
391 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
392
393         * ControlCredits.[Ch] (getCredits): returns a stringstream not a
394         vector<string>.
395
396 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
397
398         * ControlCredits.C (getCredits): remove std:: qualifier for
399         getline(). 
400
401 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
402
403         * ControlCredits.C (getCredits): add std:: on vector
404
405 2001-03-22  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
406
407         * ControlCredits.C: remove using that is only used once, use
408         std::ios instead of std::iosbase, add some annoying comments.
409
410 2001-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
411
412         * lots of header files: improved explanatory notes.
413
414         * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
415         ControlBase is now a class that only controls the interaction of the
416         View with the ButtonController.
417
418         * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
419         to ControlConnectBase. The class controls the connection/disconnection
420         of signals from the LyX kernel and makes available the kernel (through
421         lv_) to daughter controller classes.
422         Moved out class ControlConnectInset to a new file ControlDialogs.h.
423
424         * ControlDialogs.h: new file. Contains the definition of two template
425         controller classes, ControlDialog and ControlInset (was
426         ControlConnectInset). ControlInset is a parent class for controllers
427         of inset-popups. ControlDialogs is the rather uninspired name for
428         the base class of all non-inset popups. (Eg, Document and Paragraph.)
429         ControlDialogs is reaching a state of maturity as several popups now use
430         it and its functionality becomes clear. ControlInset is still in a state
431         of flux. It is likely that functionality will be moved out of
432         ControlCommands and into it.
433
434         * GUI.h: new file. Moved all the template GUIXXX classes out of the
435         individual Controller header files and into one place. These classes
436         serve only as convenient wrappers to simplify code in the respective
437         frontends' Dialogs::c-tor. Now all derived from a templatised parent.
438
439         * ControlCharacter.[Ch] (show, update, hide):
440         * ControlLog.[Ch] (show, update, hide):
441         * ControlVCLog.[Ch] (show, update, hide): moved back into
442         the ControlDialogs base class.
443         (setParams, clearParams): new methods containing controller-specific
444         code to set/reset the parameters manipulated by the view.
445
446         * ControlCommand.[Ch] (clearParams): a new virtual method, by default
447         empty.
448         (hide): calls clearParams.
449
450         * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
451         by ControlCommand::hide().
452
453         * ControlCopyright.[Ch]:
454         * ControlCredits.[Ch]: new files; controllers for the copyright and
455         credits popups, respectively.
456
457 2001-03-21  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
458
459         * ControlCharacter.C: fix typo
460
461 2001-03-21  Angus Leeming  <a.leeming@ic.ac.uk>
462
463         * ControlCharacter.[Ch]: new files; controller for the character popup.
464
465         * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
466         moved to new files helper_funcs.[Ch].
467
468         * helper_funcs.[Ch]: new files. Some useful helper functions and
469         functors.
470
471         * Makefile.am: added new files.
472
473 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
474
475         * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
476
477 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
478
479         * ControlLog.[Ch]:
480         * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
481         Control log files, respectively.
482
483         * Makefile.am: added new files.
484
485 2001-03-19  Angus Leeming  <a.leeming@ic.ac.uk>
486
487         * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
488
489         * Makefile.am: added ControlBibtex.[Ch].
490
491 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
492
493         * ControlBibitem.C:
494         * ControlCitation.C: added "using SigC::slot" declaration.
495
496         * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
497         to FormCitation.C prior to the merger: "Do not put space between
498         multiple keys".
499
500 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
501
502         * several files: remove CXX_WORKING_NAMESPACES
503
504         * ButtonController.h: noncopyable is in namespace boost
505         * ButtonPolicies.h: ditto
506
507 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
508
509         * Merging changes from BRANCH_MVC back into HEAD.
510
511 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
512
513         * Makefile.am: add ControlBibitem.[Ch].
514
515         * ControlBibitem.[Ch]: new files that together define the Controller
516         for a Bibitem popup.
517
518         * ControlCommand.h (c-tor): give  kb_action a default value of
519         LFUN_NOACTION.
520         
521         * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
522         
523         * ControlCitation.[Ch]: moved search functions out of class.
524         (bibkeysInfo): new method. Returns const reference to private data.
525         (searchKeys): added case-sensitive switch. Used only by simpleSearch
526         for now.
527
528 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
529
530         * ControlCitation.[Ch]: added Search functions to the class,
531         (shamelessly lifted from Marco's gnome code). I think that these would
532         be better as helper functions outside the class, but this is a first
533         stab at it.
534
535 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
536
537         * ControlCitation.[Ch]: (getBibkeyList): removed from class
538         ControlCitation.
539         (getBibkeys, getBibkeyInfo): added to class ControlCitation.
540         (getStringFromVector, getVectorFromString, parseBibTeX): new helper
541         funcs. parseBibTeX() is lifted staraight out of Marco's gnome
542         implementation of FormCitation.
543
544 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
545
546         * ButtonPolicies.h: add SMI_NOOP to enum.
547
548         * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
549
550         * ButtonController.C (input): add "optimising" if-statement. Actually,
551         things don't work correctly without it...
552
553 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
554
555         * ViewBase.h: remove #pragma directive
556
557         * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
558         to make g++ happy.
559
560 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
561
562         * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
563
564         * Makefile.am: added ButtonPolicies.[Ch]
565
566         * ButtonController.[Ch]: ButtonController is split into
567         ButtonControllerBase and a template ButtonController class. The base
568         class no longer stores a pointer to a ButtonPolicy, but instead
569         accesses the actual instantiation of the policy through a pure virtual
570         method bp(). This method and the ButtonPolicy itself are instantiated
571         in the templatised ButtonController class. This class is derived from
572         the GUI-specific GUIBC class, meaning that the frontends know
573         nothing about the actual policy decided upon by the controllers.
574
575         * ControlBase.[Ch]: No longer store the View or the ButtonController.
576         Instead the actual instantiations are accessed through pure virtual
577         methods view() and bc(). The daughter classes are responsible for the
578         actual View and ButtonController.
579
580         * ControlCitation.h: the templatised class GUICitation instantiates
581         the methods view() and bc(). It also stores the instances of the
582         View and ButtonController.
583         
584 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
585
586         * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
587         also changed to ButtonController.
588
589         * ControlBase.[Ch]:
590         * ControlConnections.[Ch]:
591         * ControlCommand.[Ch]:
592         * ControlCitation.[Ch]:
593         * ViewBase.h: Changes associated with this.
594
595 2001-01-15  Angus Leeming  <a.leeming@ic.ac.uk>
596
597         * ButtonControllerBase.[Ch]: new files. Split Allan's original
598         xforms/ButtonController class into a GUI-I class (here) and an
599         xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
600
601         * ControlBase.[Ch]: new files. ControlBase is an abstract base class
602         from which all Dialog Controllers should be derived. the Controllers
603         are GUI-independent, but are designed to control the behaviour of
604         GUI-specific implementaions of each dialog.
605
606         * ControlConnections.[Ch]: new files. Classes controlling the
607         connections of buffer-independent, buffer-dependent and Inset dialogs
608         with the LyX kernel.
609
610         * ControlCommand.[Ch]: new files. A controller for all dialogs for the
611         InsetCommand subset of insets.
612
613         * ControlCitation.[Ch]: new files. The test specialisation! A
614         controller for the Citation dialog.
615
616         * ViewBase.h: new file. ViewBase is an abstract base class from which
617         GUI-specific dialogs should be derived. The functionality that the GUIs
618         must now implement is much reduced.