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