1 2001-07-16 Juergen Vigna <jug@sad.it>
3 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
4 compiled with USE_PSPELL) to be able to switch between ISpell and
7 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9 Consistent use of Lsstream.h:
10 * ControlAboutlyx.[Ch] (getCredits):
11 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
13 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15 * ControlCredits.[Ch]: removed
16 * ControlCopyright.[Ch]: removed
17 * ControlAboutlyx.[Ch]: added (replaces previous)
18 * GUI.h: removed credits and copyright added about lyx stuff
20 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
22 * ControlSpellchecker.C (getSuggestion):
23 (getWord): add std:: qualifier
25 >001-07-13 Edwin Leuven <leuven@fee.uva.nl>
27 * ControlSpellchecker.[Ch]: added
28 * ViewBase.h: added partialUpdate(int) member
29 * GUI.h: added spell stuff
31 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * ControlExternal.C: (*it). -> it->
35 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
37 * ButtonController.h: move some included header files out of the
38 frontends and into here.
40 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
42 * ControlCharacter.C (c-tor): cosmetic name change of signal.
44 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
46 * *.[h]: added // -*- C++ -*-
47 * *.[C]: removed // -*- C++ -*-
49 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
50 activate Apply button.
51 (clearParams): removed.
52 font_ is now stored as a boost::scoped_ptr.
53 font_ is no longer deleted on hide(), so it's contents can now be used
54 by the Font button on the toolbar.
55 Lots of new methods so that the GUI can easily get the contents of
56 font_ when it update()s.
58 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
60 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
61 crash when the Font button on the Toolbar is pressed.
63 * GUI.h: change policy of Character button controller to
64 OkApplyCancelReadOnlyPolicy.
66 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * ControlToc.C (getContents): don't add anything to the list if it
69 is supposed to be empty.
71 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
73 * helper_funcs.C (getVectorFromString): bug fix.
75 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
78 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
79 from ButtonControllerBase::readOnly. Updates the state of the widgets
80 in the read-only list only when the read-only status of the document
82 (refresh): moved this stuff into refreshReadOnly.
84 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
86 * ControlPrint.C (c-tor):
87 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
89 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
92 * character.h: small clean-ups.
94 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
96 * ControlToc.C (getType): remove support for old float list.
98 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
100 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
101 * ControlGraphics.h: no longer include insetgraphicsParams.h
102 * ControlInset.h: no longer include LyXView.h
107 * ControlCharacter.C:
110 * ControlConnections.C:
111 * ControlCopyright.C:
123 * ControlTabularCreate.C:
125 * ControlVCLog.C: they're now in here!
127 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * ButtonControllerBase.h: C++ mode, inherit privately from
131 * ButtonPolicies.h: ditto
133 * ButtonController.h: C++ mode, swap init order of restore_ and
136 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
138 * ControlTabularCreate.h:
139 * ControlTabularCreate.C: make dialogs use a pair of uints
143 * ControlVCLog.C: fill a stringstream with the log contents
146 * ControlExternal.C: from Angus, clone the new InsetExternal
149 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
151 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
152 and made more robust.
154 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * ControlCopyright.C: include gettext.h
165 * ControlCharacter.C:
166 * character.C: include gettext.h and language.h
168 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
170 * ButtonController.h:
171 * ButtonControllerBase.h:
172 * ButtonControllerBase.C:
179 * ControlConnections.h:
185 * ViewBase.h: s/ControlButton/ControlButtons/
187 s/UndoAll/Restore/ + associated
189 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
191 * ControlToc.[Ch]: new files; a controller for the TOC popup.
194 * Makefile.am: associated changes with all of the above.
196 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
198 * ControlExternal.C: bug fixes. Can now apply changes to the inset
199 and edit, view, update the External Material correctly. I hope!
201 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
203 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
205 * BCTemplates.h: renamed as ButtonController.h
207 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
210 * ControlConnections.h: associated change in #include and class names.
212 * ControlExternal.[Ch]: new files; a controller for the External
216 * Makefile.am: associated changes with all of the above.
218 * ControlGraphics.[Ch]:
219 * ControlInclude.[Ch]:
222 (Browse): new method. Returns the results of a FileDialog browse.
224 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
225 (getVectorFromString): fixed bug.
227 * biblio.C (simpleSearch): cleaned up.
229 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
231 * A slight reworking of Baruch Even's ButtonController patch.
233 * BCTemplates.h: new file; all the templates for the ButtonController.
234 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
235 to the more generic setButtonLabel().
237 * ButtonController.[Ch]: renamed cancel_label and close_label as
238 cancel_label_ and close_label_.
240 * Makefile.am: added BCTemplates.h
242 2001-03-29 Juergen Vigna <jug@sad.it>
244 * ControlMinipage.C: removed widthp_ and all it's functions and changed
245 to use new %-lengths of LyXLength.
247 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
249 * ControlCitation.C (bibkeysInfo): removed Assert.
251 * ControlCopyright.h: moved GUICopyright into GUI.h
255 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
257 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
258 (setDaughterParams): a (by default empty) new method called in show().
267 * ControlUrl.h (clearDaughterParams): removed
269 * ControlMinipage.C (applyParamsToInset): update the view.
270 Added namespace minipage containing a helper function getUnits.
272 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
274 * ControlCharacter.[Ch]: moved out all the helper functions and the
275 enum into their own file.
276 * character.[Ch]: new files; contain the character helper functions,
277 now inside namespace character.
279 * ControlCitation.[Ch]: moved out all the helper functions and the
280 enums into their own file. Simplified interface.
281 * biblio.[Ch]: new files; contain the citation helper functions,
282 now inside namespace biblio. Will be of use also to an improved
285 * ControlGraphics.[Ch]:
286 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
287 popups, respectively.
290 * Makefile.am: associated changes.
292 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
294 * ControlMinipage.[Ch]:
295 * ControlPreamble.[Ch]:
297 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
298 and Print popups and Splash screen, respectively.
300 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
304 * Makefile.am: associated changes.
306 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
308 * ControlConnections.[Ch]: (docType): new method; returns the type
309 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
312 * ControlSearch.[Ch]:
313 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
314 Search and TabularCreate popups, respectively.
317 * Makefile.am: associated changes.
319 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
321 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
324 * ControlInset.h (apply): fix bug. Can now create new insets again.
326 * README: describe program flow.
328 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
330 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
332 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
334 * ControlDialogs.h: moved class ControlInset into its own file.
336 * ControlInset.h: new file. class ControlInset has been expanded to take
337 two template parameters, Inset and Params. Believe that all inset
338 controllers can be derived from this with the minimum of effort.
340 * ControlBibitem.[Ch]:
341 * ControlBibtex.[Ch]:
342 * ControlCitation.[Ch]:
343 * ControlCommand.[Ch]: moved most code into ControlInset.
345 * lots of files. Moved protected stuff into private where possible.
348 * ControlInclude.[Ch]:
349 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
350 Include and Url popups, respectively.
353 * Makefile.am: associated changes.
355 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
360 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
362 * ControlCredits.C (getCredits): remove std:: qualifier for
365 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
367 * ControlCredits.C (getCredits): add std:: on vector
369 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
371 * ControlCredits.C: remove using that is only used once, use
372 std::ios instead of std::iosbase, add some annoying comments.
374 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
376 * lots of header files: improved explanatory notes.
378 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
379 ControlBase is now a class that only controls the interaction of the
380 View with the ButtonController.
382 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
383 to ControlConnectBase. The class controls the connection/disconnection
384 of signals from the LyX kernel and makes available the kernel (through
385 lv_) to daughter controller classes.
386 Moved out class ControlConnectInset to a new file ControlDialogs.h.
388 * ControlDialogs.h: new file. Contains the definition of two template
389 controller classes, ControlDialog and ControlInset (was
390 ControlConnectInset). ControlInset is a parent class for controllers
391 of inset-popups. ControlDialogs is the rather uninspired name for
392 the base class of all non-inset popups. (Eg, Document and Paragraph.)
393 ControlDialogs is reaching a state of maturity as several popups now use
394 it and its functionality becomes clear. ControlInset is still in a state
395 of flux. It is likely that functionality will be moved out of
396 ControlCommands and into it.
398 * GUI.h: new file. Moved all the template GUIXXX classes out of the
399 individual Controller header files and into one place. These classes
400 serve only as convenient wrappers to simplify code in the respective
401 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
403 * ControlCharacter.[Ch] (show, update, hide):
404 * ControlLog.[Ch] (show, update, hide):
405 * ControlVCLog.[Ch] (show, update, hide): moved back into
406 the ControlDialogs base class.
407 (setParams, clearParams): new methods containing controller-specific
408 code to set/reset the parameters manipulated by the view.
410 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
412 (hide): calls clearParams.
414 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
415 by ControlCommand::hide().
417 * ControlCopyright.[Ch]:
418 * ControlCredits.[Ch]: new files; controllers for the copyright and
419 credits popups, respectively.
421 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
423 * ControlCharacter.C: fix typo
425 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
427 * ControlCharacter.[Ch]: new files; controller for the character popup.
429 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
430 moved to new files helper_funcs.[Ch].
432 * helper_funcs.[Ch]: new files. Some useful helper functions and
435 * Makefile.am: added new files.
437 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
439 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
441 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
444 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
445 Control log files, respectively.
447 * Makefile.am: added new files.
449 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
451 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
453 * Makefile.am: added ControlBibtex.[Ch].
455 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
458 * ControlCitation.C: added "using SigC::slot" declaration.
460 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
461 to FormCitation.C prior to the merger: "Do not put space between
464 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
466 * several files: remove CXX_WORKING_NAMESPACES
468 * ButtonController.h: noncopyable is in namespace boost
469 * ButtonPolicies.h: ditto
471 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
473 * Merging changes from BRANCH_MVC back into HEAD.
475 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
477 * Makefile.am: add ControlBibitem.[Ch].
479 * ControlBibitem.[Ch]: new files that together define the Controller
482 * ControlCommand.h (c-tor): give kb_action a default value of
485 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
487 * ControlCitation.[Ch]: moved search functions out of class.
488 (bibkeysInfo): new method. Returns const reference to private data.
489 (searchKeys): added case-sensitive switch. Used only by simpleSearch
492 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
494 * ControlCitation.[Ch]: added Search functions to the class,
495 (shamelessly lifted from Marco's gnome code). I think that these would
496 be better as helper functions outside the class, but this is a first
499 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
501 * ControlCitation.[Ch]: (getBibkeyList): removed from class
503 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
504 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
505 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
506 implementation of FormCitation.
508 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
510 * ButtonPolicies.h: add SMI_NOOP to enum.
512 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
514 * ButtonController.C (input): add "optimising" if-statement. Actually,
515 things don't work correctly without it...
517 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
519 * ViewBase.h: remove #pragma directive
521 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
524 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
526 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
528 * Makefile.am: added ButtonPolicies.[Ch]
530 * ButtonController.[Ch]: ButtonController is split into
531 ButtonControllerBase and a template ButtonController class. The base
532 class no longer stores a pointer to a ButtonPolicy, but instead
533 accesses the actual instantiation of the policy through a pure virtual
534 method bp(). This method and the ButtonPolicy itself are instantiated
535 in the templatised ButtonController class. This class is derived from
536 the GUI-specific GUIBC class, meaning that the frontends know
537 nothing about the actual policy decided upon by the controllers.
539 * ControlBase.[Ch]: No longer store the View or the ButtonController.
540 Instead the actual instantiations are accessed through pure virtual
541 methods view() and bc(). The daughter classes are responsible for the
542 actual View and ButtonController.
544 * ControlCitation.h: the templatised class GUICitation instantiates
545 the methods view() and bc(). It also stores the instances of the
546 View and ButtonController.
548 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
550 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
551 also changed to ButtonController.
554 * ControlConnections.[Ch]:
555 * ControlCommand.[Ch]:
556 * ControlCitation.[Ch]:
557 * ViewBase.h: Changes associated with this.
559 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
561 * ButtonControllerBase.[Ch]: new files. Split Allan's original
562 xforms/ButtonController class into a GUI-I class (here) and an
563 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
565 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
566 from which all Dialog Controllers should be derived. the Controllers
567 are GUI-independent, but are designed to control the behaviour of
568 GUI-specific implementaions of each dialog.
570 * ControlConnections.[Ch]: new files. Classes controlling the
571 connections of buffer-independent, buffer-dependent and Inset dialogs
574 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
575 InsetCommand subset of insets.
577 * ControlCitation.[Ch]: new files. The test specialisation! A
578 controller for the Citation dialog.
580 * ViewBase.h: new file. ViewBase is an abstract base class from which
581 GUI-specific dialogs should be derived. The functionality that the GUIs
582 must now implement is much reduced.