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