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