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