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