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