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