1 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4 * forms/form_graphics.fd:
6 * forms/form_index.fd: implemented controller-view split.
8 * Dialogs.C: associated changes.
10 * FormCharacter.[Ch]: changes associated with ControlCharacter cleanup.
12 * FormCitation.C: changes associated with ControlCitation cleanup.
14 * FormMinipage.h: cleaned-up forward declarations.
16 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
19 * forms/form_minipage.fd:
21 * forms/form_print.fd:
22 * FormSplash.[Ch]: implemented controller-view split.
24 * Dialogs.C: associated changes.
26 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
29 * forms/form_preamble.fd:
33 * forms/form_search.fd:
34 * FormTabularCreate.[Ch]:
35 * forms/form_tabular_create.fd: implemented controller-view split.
37 * Dialogs.C: associated changes.
39 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
46 * form_url.fd: implemented controller-view split.
48 * Dialogs.C: associated changes.
52 * FormCitation.h: moved methods from protected to private.
54 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
56 * FormCredits.C (build): changes associated with
57 ControlCredits::getCredits returning a stringstream not a vector<string>
59 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
62 * forms/form_copyright.fd: implemented controller-view split.
65 * forms/form_credits.fd: implemented controller-view split.
67 * Dialogs.C: associated changes.
69 * xforms_helpers.C (formatted): improved the function so that it now
70 repects '\n' characters in the input string. Ie, the user can now
71 specify line breaks explicitly.
73 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
76 * forms/form_character.fd: implemented controller-view split.
78 * Dialogs.C: associated changes.
80 * FormBase.C (input): changed return to SMI_VALID.
82 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
83 any surrounding whitespace.
85 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
87 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
89 (FormBase2): split into two template classes, FormDB (DialogBase) and
90 FormCB (ControllerBase) for greater flexibility.
94 * FormCitation.[Ch]: associated changes.
99 * forms/form_browser.fd: implemented controller-view split.
101 * Dialogs.C: associated changes.
103 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
106 * forms/form_bibtex.fd: implemented controller-view split.
108 * Dialogs.C: associated changes.
110 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
112 * FormBaseDeprecated.[Ch]: rename title as title_.
114 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
115 with limited functionality. It got lost in the MVC merge.
117 * FormBaseDeprecated.C:
118 * FormBase.C (show): moved initialisation of minw_, minh_ here.
120 * FormBibitem.C (build):
121 * FormBibtex.C (build):
122 * FormBrowser.C (build):
123 * FormCharacter.C (build):
124 * FormCitation.C (build):
125 * FormCopyright.C (build):
126 * FormCredits.C (build):
127 * FormDocument.C (build):
128 * FormError.C (build):
129 * FormExternal.C (build):
130 * FormGraphics.C (build):
131 * FormInclude.C (build):
132 * FormIndex.C (build):
133 * FormMinipage.C (build):
134 * FormParagraph.C (build):
135 * FormPreamble.C (build):
136 * FormPreferences.C (build):
137 * FormPrint.C (build):
139 * FormSearch.C (build):
140 * FormTabular.C (build):
141 * FormTabularCreate.C (build):
143 * FormUrl.C (build): removed initialisation of minw_, minh_.
145 * The Maths Panel stuff no longer causes a crash on exit from LyX.
148 * forms/form_maths.fd: removed.
150 * forms/form_maths_delim.fd:
151 * forms/form_maths_deco.fd:
152 * forms/form_maths_matrix.fd:
153 * forms/form_maths_space.fd:
154 * forms/form_maths_panel.fd: new files.
155 Split contents of form_maths.fd into 5 new files, one for each form.
157 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
158 class FormMathsBitmap in FormMathsBitmap.[Ch].
160 * FormMathsPanel.[Ch]:
161 * FormMathsBitmap.[Ch]:
162 * FormMathsDeco.[Ch]:
163 * FormMathsDelim.[Ch]:
164 * FormMathsMatrix.[Ch]:
165 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
166 one for each popup. Rewrite so that all the new classes are derived from
167 FormBaseBD. Clean up the logic in the process (I hope!).
169 * Makefile.am: added new fils, removed redundant ones.
171 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
173 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
177 2001-03-16 Juergen Vigna <jug@sad.it>
179 * Dialogs.C (Dialogs): create minipage options dialog.
181 * forms/form_minipage.fd:
185 * FormMinipage.h: new files for the minipage options dialog.
187 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
189 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
192 * forms/form_maths.fd: change C_FormBaseCancelCB to
193 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
195 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
197 * FormMaths.C: quash warnings
199 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
201 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
204 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
206 * Form_various.h: cleaned up #includes and forward declarations.
208 * Form_various.C: added "using SigC::slot" declaration.
210 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
212 * FormDocument.C (CheckChoiceClass): removed string tct as the
213 compiler warned that it was defined but never used.
214 removed USE_CLASS_COMBO.
216 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
227 * forms/form_maths.fd:
229 * forms/fdfix.sh: add maths panel
232 * bmtable.c: moved from src/
234 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
236 * FormParagraph.h: NO_PEXTRA
237 * FormParagraph.C (input): NO_PEXTRA
239 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
241 * several files: remove CXX_WORKING_NAMESPACES
243 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
245 * Merging changes from BRANCH_MVC back into HEAD.
247 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
249 * Dialogs.C (c-tor): Changes associated with storing a vector of
251 Use MVC Bibitem popup.
253 * FormBase.h: add a new template class FormBase2, derived from FormBase
254 to make life creating MVC popups even easier ;-)
257 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
258 Proof that a simple popup should be easy to implement!
260 * FormCitation.[Ch]: now derived from FormBase2.
262 * FormToc.C: added using std::vector directive.
264 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
266 * FormSearch.C: Add missing #pragma
268 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
271 * forms/form_citation.fd: added the ability to Search, both Simply and
272 for Regular Expressions. Use the Search code in the controller() to do
273 the actual searching.
275 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
277 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
278 * forms/makefile: added form_credits.fd
280 * Dialogs.C: added FormCredits and removed ShowCredits.
283 * forms/form_credits.fd:
284 * forms/form_search.fd: ported to the MVC way.
286 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
288 * xforms_helpers.h (formatted): now has default arguments for size and
291 * FormCitation.[Ch]: moved code out of this class and into
292 ControlCitation and associated helper funcs.
294 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
296 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
297 ButtonController::valid() to check state of input. The buttons are
298 now controlled correctly.
300 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
302 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
304 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
306 * FormBase.[Ch]: rename title as title_.
308 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
310 * FormBase.C (c-tor): initialise variables in correct order.
312 * FormCitation.C: add #include <algorithm>
314 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
316 * xformsBC.[Ch]: Changes associated with the changes to
317 controllers/ButtonController.[Ch]. Ie, the class is now derived from
318 ButtonControllerBase and the ButtonPolicy is accessed through a method
319 bp() rather than the instance bp_.
321 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
322 rather use a pure virtual method bc() to access the controller
323 instantiated by the daughter classes.
325 * F*.[Ch]: changes associated with the above.
327 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
329 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
331 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
333 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
335 * ButtonController.[Ch]: deleted. The class is split into two
336 (with identical functionality), the code being found in
337 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
339 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
340 ButtonController class.
342 * FormBase.[Ch]: changes associated with the above split.
344 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
345 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
346 controlling all interaction to/from the LyX kernel.
349 * forms/form_citation.fd: An xforms-specific implementation of the
350 Citation dialog, controlled by the GUI-I ControlCitation.
352 * Dialogs.C: Use the controlled Citation dialog.
354 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
358 * combox.C: moved from src/
360 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
363 * forms/form_filedialog.C.patch: I hate having to make these patches,
364 but on reflection I think it's probably better than hacking fdfix.sh.
366 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
368 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
370 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
372 * FormGraphics.C: remove unnecessary hack
374 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
376 * FormCitation.C (apply): Do not put space between multiple keys.
378 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
380 * Menubar_pimpl.C (add_toc): Remove debug message.
382 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
390 * xforms/forms/makefile:
391 * forms/form_external.fd: add FormExternal
393 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
395 * Dialogs.C: add destroySplash()
399 * forms/form_splash.fd:
401 * FormSplash.C: make independent of FormBase, tidy
403 * Menubar_pimpl.C: destroy splash on interaction
405 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
411 * forms/form_include.fd: rework, clean up
413 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
415 * FormToc.h: use Buffer::typedef
417 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
418 * FormToc.C (build): ditto
421 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
423 * FormToc.C (build): implement for dynamic number of lists
425 * Menubar_pimpl.C (add_toc): ditto
427 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
434 * forms/form_credits.fd:
436 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
438 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
439 make ButtonList contain boost::shared_ptr<ItemInfo>
441 * Menubar_pimpl.C (~Pimpl): remove destructor
443 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
459 * form/form_filedialog.fd: add File Dialog
461 * Toolbar_pimpl.C: move LayoutsCB to here
463 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
465 * FormParagraph.C: changes because of ParagraphParameters.
467 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * FormSearch.C (Replace): remove default argument
472 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
474 * added find/replace dialog:
475 * FormSearch.*: added
476 * form_search.*: added
477 * forms/form_search.fd: added
479 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
481 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
483 * various: in a rush of delayed guilt, I've renamed all instances of
484 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
487 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
488 activate/deactivate an FL_OBJECT.
497 * FormTabular.C: used it.
499 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
501 * FormPreferences.C: removed three unused using directives.
503 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
505 * added find/replace dialog:
506 * FormSearch.*: added
507 * form_search.*: added
508 * forms/form_search.fd: added
510 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
512 * FormRef.C: Fixed the behaviour of Goto-Ref.
514 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
516 * forms/makefile: added character and preamble dialogs
518 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
520 * FormCharacter.C (FormCharacter): change order of deletion,
521 change combo_language2 to combo_language2_
523 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
525 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
527 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
529 * Dialogs.C: added layoutcharacter
530 * FormCharacter.C: added
531 * FormCharacter.h: added
532 * form_character.C: added
533 * form_character.h: added
534 * forms/form_character.fd: added
536 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
538 * FormPreferences.C: Handle lyxrc.language_use_babel and
539 lyxrc.language_global_options.
541 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
543 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
545 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
547 * FormBase.C: no longer transient dialogs, XMapWindow()
548 in attempt to de-iconify
550 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
552 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
554 * FormDocument.C (checkMarginValues): Activate "use geometry" button
555 if using custom paper size/margin.
557 2001-02-21 Allan Rae <rae@lyx.org>
559 * forms/form_preferences.fd: larger, bold font for outer tabfolder
561 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
563 * src/frontends/xforms/Dialogs.C: added preamble
564 * src/frontends/xforms/FormPreamble.C: added
565 * src/frontends/xforms/FormPreamble.h: added
566 * src/frontends/xforms/Makefile.am: added
567 * src/frontends/xforms/form_preamble.C: added
568 * src/frontends/xforms/form_preamble.h: added
569 * src/frontends/xforms/form_preamble.fd: added
571 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
573 * FormBase.h: moved noncopyable derivation to DialogBase.
575 2001-02-19 Juergen Vigna <jug@sad.it>
577 * FormTabular.C (build): make all input field accepted only after
580 * forms/form_tabular.fd: removed default "Return" on Close-Button.
582 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
586 * FormInset.C (showInset): change associated with name change
587 inset::hide to inset::hideDialog.
589 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
591 * FormCitation.C (build): altering "Text after" now activates the Ok,
594 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
596 * FormCitation.C: lots of white-space changes to make file consistent
598 (input): use the FL_OBJECT * parameter to decide what to do, not the
601 * FormCitation.h: removed most entries in enum.
603 * forms/form_citation.fd: change names of variables, consistent with
604 Allan's naming scheme.
605 Don't pass any particular arguments to the InputCB function.
606 choice_style now triggers a callback and looks like other choices.
608 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
610 * other: use compare instead of strcmp/strncmp
612 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
614 * ButtonController.[Ch]: changed trigger_change_ vector and associated
615 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
616 callback to InputCB() but don't trigger a change in the state of the
617 Ok, Apply buttons are much rarer than those that do.
619 * FormCitation.C (build): associated change.
621 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
623 * ButtonController.C: include algorithm
625 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
627 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
629 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
630 the vector of FL_OBJECT *s that can trigger a change in the button state
631 is not empty, then a change of state will occur only if the FL_OBJECT *
632 is present in this vector.
634 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
635 the user to deactivate specific fields within restore().
636 (InputCB): pass the FL_OBJECT * to bc_.valid().
638 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
639 trigger a change of state in the Ok,Apply buttons.
640 (update): bc_.readOnly() to the start of the method. Similar reasoning
641 to that for FormBase::RestoreCB, above.
643 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
645 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
648 * forms/form_browser.fd:
649 * forms/form_copyright.fd:
650 * forms/form_error.fd:
651 * forms/form_tabular.fd:
653 Consistent shortcuts for Close button: Esc and Return only.
655 * forms/form_citation.fd:
656 * forms/form_document.fd:
657 * forms/form_index.fd:
658 * forms/form_paragraph.fd:
659 * forms/form_preferences.fd:
660 * forms/form_print.fd:
662 * forms/form_tabular_create.fd:
664 Consistent shortcut for Cancel button: Esc only.
666 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
668 * Dialogs.C: new Splash. Include, Bibitem/tex
670 * FormBase.h: make show() virtual for Splash's benefit
682 * forms/form_bibitem.fd:
683 * forms/form_bibtex.fd:
688 * forms/form_include.fd:
693 * forms/form_splash.fd: new forms
695 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
697 * FormLog.C: handle Literate build log nicely
699 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
701 * Menubar_pimpl.C: remove support for reference menuitem type.
703 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
707 * Timeout_pimpl.C: add Timeout implementation
709 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
713 * forms/form_browser.fd:
716 * FormBrowser.h: readonly browser form
722 * Dialogs.C: add Log and VCLog
724 * Makefile.am: add Log and VCLog, add updatesrc target
726 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
728 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
730 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
732 * FormPreferences.C (GetFrom): fix crash when there is no format
736 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
738 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
739 unsigned char correctly and so fix 2 bugs loading/changing colors.
741 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
743 * FormRef.C (update): Do not update dialog_->{ref,name,type}
745 Deactivate the type button when buffer is LinuxDoc/Docbook
746 (build): Uncomment calls to addReadOnly().
747 (updateBrowser) Do not disable the update button when there are no
749 (build, getType, getName): Use InsetRef::types.
751 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
753 * FormPrint.[Ch] (browse): new method to browse for file to print to.
755 * forms/form_print.fd: give the form a Browse button.
757 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
759 * FormRef.C (input): Fix the behavior of goto reference button.