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