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