1 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
3 * helper_funcs.C (getVectorFromString): bug fix.
5 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
8 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
9 from ButtonControllerBase::readOnly. Updates the state of the widgets
10 in the read-only list only when the read-only status of the document
12 (refresh): moved this stuff into refreshReadOnly.
14 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
16 * ControlPrint.C (c-tor):
17 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
19 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
22 * character.h: small clean-ups.
24 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * ControlToc.C (getType): remove support for old float list.
28 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
30 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
31 * ControlGraphics.h: no longer include insetgraphicsParams.h
32 * ControlInset.h: no longer include LyXView.h
40 * ControlConnections.C:
53 * ControlTabularCreate.C:
55 * ControlVCLog.C: they're now in here!
57 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * ButtonControllerBase.h: C++ mode, inherit privately from
61 * ButtonPolicies.h: ditto
63 * ButtonController.h: C++ mode, swap init order of restore_ and
66 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
68 * ControlTabularCreate.h:
69 * ControlTabularCreate.C: make dialogs use a pair of uints
73 * ControlVCLog.C: fill a stringstream with the log contents
76 * ControlExternal.C: from Angus, clone the new InsetExternal
79 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
81 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
84 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * ControlCopyright.C: include gettext.h
96 * character.C: include gettext.h and language.h
98 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
100 * ButtonController.h:
101 * ButtonControllerBase.h:
102 * ButtonControllerBase.C:
109 * ControlConnections.h:
115 * ViewBase.h: s/ControlButton/ControlButtons/
117 s/UndoAll/Restore/ + associated
119 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
121 * ControlToc.[Ch]: new files; a controller for the TOC popup.
124 * Makefile.am: associated changes with all of the above.
126 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
128 * ControlExternal.C: bug fixes. Can now apply changes to the inset
129 and edit, view, update the External Material correctly. I hope!
131 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
133 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
135 * BCTemplates.h: renamed as ButtonController.h
137 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
140 * ControlConnections.h: associated change in #include and class names.
142 * ControlExternal.[Ch]: new files; a controller for the External
146 * Makefile.am: associated changes with all of the above.
148 * ControlGraphics.[Ch]:
149 * ControlInclude.[Ch]:
152 (Browse): new method. Returns the results of a FileDialog browse.
154 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
155 (getVectorFromString): fixed bug.
157 * biblio.C (simpleSearch): cleaned up.
159 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
161 * A slight reworking of Baruch Even's ButtonController patch.
163 * BCTemplates.h: new file; all the templates for the ButtonController.
164 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
165 to the more generic setButtonLabel().
167 * ButtonController.[Ch]: renamed cancel_label and close_label as
168 cancel_label_ and close_label_.
170 * Makefile.am: added BCTemplates.h
172 2001-03-29 Juergen Vigna <jug@sad.it>
174 * ControlMinipage.C: removed widthp_ and all it's functions and changed
175 to use new %-lengths of LyXLength.
177 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
179 * ControlCitation.C (bibkeysInfo): removed Assert.
181 * ControlCopyright.h: moved GUICopyright into GUI.h
185 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
187 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
188 (setDaughterParams): a (by default empty) new method called in show().
197 * ControlUrl.h (clearDaughterParams): removed
199 * ControlMinipage.C (applyParamsToInset): update the view.
200 Added namespace minipage containing a helper function getUnits.
202 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
204 * ControlCharacter.[Ch]: moved out all the helper functions and the
205 enum into their own file.
206 * character.[Ch]: new files; contain the character helper functions,
207 now inside namespace character.
209 * ControlCitation.[Ch]: moved out all the helper functions and the
210 enums into their own file. Simplified interface.
211 * biblio.[Ch]: new files; contain the citation helper functions,
212 now inside namespace biblio. Will be of use also to an improved
215 * ControlGraphics.[Ch]:
216 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
217 popups, respectively.
220 * Makefile.am: associated changes.
222 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
224 * ControlMinipage.[Ch]:
225 * ControlPreamble.[Ch]:
227 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
228 and Print popups and Splash screen, respectively.
230 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
234 * Makefile.am: associated changes.
236 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
238 * ControlConnections.[Ch]: (docType): new method; returns the type
239 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
242 * ControlSearch.[Ch]:
243 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
244 Search and TabularCreate popups, respectively.
247 * Makefile.am: associated changes.
249 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
251 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
254 * ControlInset.h (apply): fix bug. Can now create new insets again.
256 * README: describe program flow.
258 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
260 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
262 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
264 * ControlDialogs.h: moved class ControlInset into its own file.
266 * ControlInset.h: new file. class ControlInset has been expanded to take
267 two template parameters, Inset and Params. Believe that all inset
268 controllers can be derived from this with the minimum of effort.
270 * ControlBibitem.[Ch]:
271 * ControlBibtex.[Ch]:
272 * ControlCitation.[Ch]:
273 * ControlCommand.[Ch]: moved most code into ControlInset.
275 * lots of files. Moved protected stuff into private where possible.
278 * ControlInclude.[Ch]:
279 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
280 Include and Url popups, respectively.
283 * Makefile.am: associated changes.
285 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
287 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
290 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
292 * ControlCredits.C (getCredits): remove std:: qualifier for
295 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
297 * ControlCredits.C (getCredits): add std:: on vector
299 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
301 * ControlCredits.C: remove using that is only used once, use
302 std::ios instead of std::iosbase, add some annoying comments.
304 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
306 * lots of header files: improved explanatory notes.
308 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
309 ControlBase is now a class that only controls the interaction of the
310 View with the ButtonController.
312 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
313 to ControlConnectBase. The class controls the connection/disconnection
314 of signals from the LyX kernel and makes available the kernel (through
315 lv_) to daughter controller classes.
316 Moved out class ControlConnectInset to a new file ControlDialogs.h.
318 * ControlDialogs.h: new file. Contains the definition of two template
319 controller classes, ControlDialog and ControlInset (was
320 ControlConnectInset). ControlInset is a parent class for controllers
321 of inset-popups. ControlDialogs is the rather uninspired name for
322 the base class of all non-inset popups. (Eg, Document and Paragraph.)
323 ControlDialogs is reaching a state of maturity as several popups now use
324 it and its functionality becomes clear. ControlInset is still in a state
325 of flux. It is likely that functionality will be moved out of
326 ControlCommands and into it.
328 * GUI.h: new file. Moved all the template GUIXXX classes out of the
329 individual Controller header files and into one place. These classes
330 serve only as convenient wrappers to simplify code in the respective
331 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
333 * ControlCharacter.[Ch] (show, update, hide):
334 * ControlLog.[Ch] (show, update, hide):
335 * ControlVCLog.[Ch] (show, update, hide): moved back into
336 the ControlDialogs base class.
337 (setParams, clearParams): new methods containing controller-specific
338 code to set/reset the parameters manipulated by the view.
340 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
342 (hide): calls clearParams.
344 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
345 by ControlCommand::hide().
347 * ControlCopyright.[Ch]:
348 * ControlCredits.[Ch]: new files; controllers for the copyright and
349 credits popups, respectively.
351 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
353 * ControlCharacter.C: fix typo
355 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
357 * ControlCharacter.[Ch]: new files; controller for the character popup.
359 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
360 moved to new files helper_funcs.[Ch].
362 * helper_funcs.[Ch]: new files. Some useful helper functions and
365 * Makefile.am: added new files.
367 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
369 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
371 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
374 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
375 Control log files, respectively.
377 * Makefile.am: added new files.
379 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
381 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
383 * Makefile.am: added ControlBibtex.[Ch].
385 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
388 * ControlCitation.C: added "using SigC::slot" declaration.
390 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
391 to FormCitation.C prior to the merger: "Do not put space between
394 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
396 * several files: remove CXX_WORKING_NAMESPACES
398 * ButtonController.h: noncopyable is in namespace boost
399 * ButtonPolicies.h: ditto
401 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
403 * Merging changes from BRANCH_MVC back into HEAD.
405 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
407 * Makefile.am: add ControlBibitem.[Ch].
409 * ControlBibitem.[Ch]: new files that together define the Controller
412 * ControlCommand.h (c-tor): give kb_action a default value of
415 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
417 * ControlCitation.[Ch]: moved search functions out of class.
418 (bibkeysInfo): new method. Returns const reference to private data.
419 (searchKeys): added case-sensitive switch. Used only by simpleSearch
422 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
424 * ControlCitation.[Ch]: added Search functions to the class,
425 (shamelessly lifted from Marco's gnome code). I think that these would
426 be better as helper functions outside the class, but this is a first
429 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
431 * ControlCitation.[Ch]: (getBibkeyList): removed from class
433 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
434 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
435 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
436 implementation of FormCitation.
438 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
440 * ButtonPolicies.h: add SMI_NOOP to enum.
442 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
444 * ButtonController.C (input): add "optimising" if-statement. Actually,
445 things don't work correctly without it...
447 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
449 * ViewBase.h: remove #pragma directive
451 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
454 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
456 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
458 * Makefile.am: added ButtonPolicies.[Ch]
460 * ButtonController.[Ch]: ButtonController is split into
461 ButtonControllerBase and a template ButtonController class. The base
462 class no longer stores a pointer to a ButtonPolicy, but instead
463 accesses the actual instantiation of the policy through a pure virtual
464 method bp(). This method and the ButtonPolicy itself are instantiated
465 in the templatised ButtonController class. This class is derived from
466 the GUI-specific GUIBC class, meaning that the frontends know
467 nothing about the actual policy decided upon by the controllers.
469 * ControlBase.[Ch]: No longer store the View or the ButtonController.
470 Instead the actual instantiations are accessed through pure virtual
471 methods view() and bc(). The daughter classes are responsible for the
472 actual View and ButtonController.
474 * ControlCitation.h: the templatised class GUICitation instantiates
475 the methods view() and bc(). It also stores the instances of the
476 View and ButtonController.
478 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
480 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
481 also changed to ButtonController.
484 * ControlConnections.[Ch]:
485 * ControlCommand.[Ch]:
486 * ControlCitation.[Ch]:
487 * ViewBase.h: Changes associated with this.
489 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
491 * ButtonControllerBase.[Ch]: new files. Split Allan's original
492 xforms/ButtonController class into a GUI-I class (here) and an
493 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
495 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
496 from which all Dialog Controllers should be derived. the Controllers
497 are GUI-independent, but are designed to control the behaviour of
498 GUI-specific implementaions of each dialog.
500 * ControlConnections.[Ch]: new files. Classes controlling the
501 connections of buffer-independent, buffer-dependent and Inset dialogs
504 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
505 InsetCommand subset of insets.
507 * ControlCitation.[Ch]: new files. The test specialisation! A
508 controller for the Citation dialog.
510 * ViewBase.h: new file. ViewBase is an abstract base class from which
511 GUI-specific dialogs should be derived. The functionality that the GUIs
512 must now implement is much reduced.