1 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5 * FormSplash.[Ch]: implemented controller-view split.
7 * Dialogs.C: associated changes.
9 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
14 * forms/form_search.fd:
15 * FormTabularCreate.[Ch]:
16 * forms/form_tabular_create.fd: implemented controller-view split.
18 * Dialogs.C: associated changes.
20 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
27 * form_url.fd: implemented controller-view split.
29 * Dialogs.C: associated changes.
33 * FormCitation.h: moved methods from protected to private.
35 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
37 * FormCredits.C (build): changes associated with
38 ControlCredits::getCredits returning a stringstream not a vector<string>
40 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
43 * forms/form_copyright.fd: implemented controller-view split.
46 * forms/form_credits.fd: implemented controller-view split.
48 * Dialogs.C: associated changes.
50 * xforms_helpers.C (formatted): improved the function so that it now
51 repects '\n' characters in the input string. Ie, the user can now
52 specify line breaks explicitly.
54 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
57 * forms/form_character.fd: implemented controller-view split.
59 * Dialogs.C: associated changes.
61 * FormBase.C (input): changed return to SMI_VALID.
63 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
64 any surrounding whitespace.
66 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
68 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
70 (FormBase2): split into two template classes, FormDB (DialogBase) and
71 FormCB (ControllerBase) for greater flexibility.
75 * FormCitation.[Ch]: associated changes.
80 * forms/form_browser.fd: implemented controller-view split.
82 * Dialogs.C: associated changes.
84 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
87 * forms/form_bibtex.fd: implemented controller-view split.
89 * Dialogs.C: associated changes.
91 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
93 * FormBaseDeprecated.[Ch]: rename title as title_.
95 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
96 with limited functionality. It got lost in the MVC merge.
98 * FormBaseDeprecated.C:
99 * FormBase.C (show): moved initialisation of minw_, minh_ here.
101 * FormBibitem.C (build):
102 * FormBibtex.C (build):
103 * FormBrowser.C (build):
104 * FormCharacter.C (build):
105 * FormCitation.C (build):
106 * FormCopyright.C (build):
107 * FormCredits.C (build):
108 * FormDocument.C (build):
109 * FormError.C (build):
110 * FormExternal.C (build):
111 * FormGraphics.C (build):
112 * FormInclude.C (build):
113 * FormIndex.C (build):
114 * FormMinipage.C (build):
115 * FormParagraph.C (build):
116 * FormPreamble.C (build):
117 * FormPreferences.C (build):
118 * FormPrint.C (build):
120 * FormSearch.C (build):
121 * FormTabular.C (build):
122 * FormTabularCreate.C (build):
124 * FormUrl.C (build): removed initialisation of minw_, minh_.
126 * The Maths Panel stuff no longer causes a crash on exit from LyX.
129 * forms/form_maths.fd: removed.
131 * forms/form_maths_delim.fd:
132 * forms/form_maths_deco.fd:
133 * forms/form_maths_matrix.fd:
134 * forms/form_maths_space.fd:
135 * forms/form_maths_panel.fd: new files.
136 Split contents of form_maths.fd into 5 new files, one for each form.
138 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
139 class FormMathsBitmap in FormMathsBitmap.[Ch].
141 * FormMathsPanel.[Ch]:
142 * FormMathsBitmap.[Ch]:
143 * FormMathsDeco.[Ch]:
144 * FormMathsDelim.[Ch]:
145 * FormMathsMatrix.[Ch]:
146 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
147 one for each popup. Rewrite so that all the new classes are derived from
148 FormBaseBD. Clean up the logic in the process (I hope!).
150 * Makefile.am: added new fils, removed redundant ones.
152 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
154 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
158 2001-03-16 Juergen Vigna <jug@sad.it>
160 * Dialogs.C (Dialogs): create minipage options dialog.
162 * forms/form_minipage.fd:
166 * FormMinipage.h: new files for the minipage options dialog.
168 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
170 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
173 * forms/form_maths.fd: change C_FormBaseCancelCB to
174 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
176 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
178 * FormMaths.C: quash warnings
180 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
182 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
185 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
187 * Form_various.h: cleaned up #includes and forward declarations.
189 * Form_various.C: added "using SigC::slot" declaration.
191 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
193 * FormDocument.C (CheckChoiceClass): removed string tct as the
194 compiler warned that it was defined but never used.
195 removed USE_CLASS_COMBO.
197 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
208 * forms/form_maths.fd:
210 * forms/fdfix.sh: add maths panel
213 * bmtable.c: moved from src/
215 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
217 * FormParagraph.h: NO_PEXTRA
218 * FormParagraph.C (input): NO_PEXTRA
220 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
222 * several files: remove CXX_WORKING_NAMESPACES
224 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
226 * Merging changes from BRANCH_MVC back into HEAD.
228 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
230 * Dialogs.C (c-tor): Changes associated with storing a vector of
232 Use MVC Bibitem popup.
234 * FormBase.h: add a new template class FormBase2, derived from FormBase
235 to make life creating MVC popups even easier ;-)
238 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
239 Proof that a simple popup should be easy to implement!
241 * FormCitation.[Ch]: now derived from FormBase2.
243 * FormToc.C: added using std::vector directive.
245 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
247 * FormSearch.C: Add missing #pragma
249 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
252 * forms/form_citation.fd: added the ability to Search, both Simply and
253 for Regular Expressions. Use the Search code in the controller() to do
254 the actual searching.
256 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
258 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
259 * forms/makefile: added form_credits.fd
261 * Dialogs.C: added FormCredits and removed ShowCredits.
264 * forms/form_credits.fd:
265 * forms/form_search.fd: ported to the MVC way.
267 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
269 * xforms_helpers.h (formatted): now has default arguments for size and
272 * FormCitation.[Ch]: moved code out of this class and into
273 ControlCitation and associated helper funcs.
275 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
277 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
278 ButtonController::valid() to check state of input. The buttons are
279 now controlled correctly.
281 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
283 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
285 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
287 * FormBase.[Ch]: rename title as title_.
289 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
291 * FormBase.C (c-tor): initialise variables in correct order.
293 * FormCitation.C: add #include <algorithm>
295 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
297 * xformsBC.[Ch]: Changes associated with the changes to
298 controllers/ButtonController.[Ch]. Ie, the class is now derived from
299 ButtonControllerBase and the ButtonPolicy is accessed through a method
300 bp() rather than the instance bp_.
302 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
303 rather use a pure virtual method bc() to access the controller
304 instantiated by the daughter classes.
306 * F*.[Ch]: changes associated with the above.
308 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
310 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
312 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
314 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
316 * ButtonController.[Ch]: deleted. The class is split into two
317 (with identical functionality), the code being found in
318 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
320 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
321 ButtonController class.
323 * FormBase.[Ch]: changes associated with the above split.
325 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
326 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
327 controlling all interaction to/from the LyX kernel.
330 * forms/form_citation.fd: An xforms-specific implementation of the
331 Citation dialog, controlled by the GUI-I ControlCitation.
333 * Dialogs.C: Use the controlled Citation dialog.
335 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
339 * combox.C: moved from src/
341 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
344 * forms/form_filedialog.C.patch: I hate having to make these patches,
345 but on reflection I think it's probably better than hacking fdfix.sh.
347 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
349 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
351 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
353 * FormGraphics.C: remove unnecessary hack
355 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
357 * FormCitation.C (apply): Do not put space between multiple keys.
359 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
361 * Menubar_pimpl.C (add_toc): Remove debug message.
363 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
371 * xforms/forms/makefile:
372 * forms/form_external.fd: add FormExternal
374 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
376 * Dialogs.C: add destroySplash()
380 * forms/form_splash.fd:
382 * FormSplash.C: make independent of FormBase, tidy
384 * Menubar_pimpl.C: destroy splash on interaction
386 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
392 * forms/form_include.fd: rework, clean up
394 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
396 * FormToc.h: use Buffer::typedef
398 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
399 * FormToc.C (build): ditto
402 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
404 * FormToc.C (build): implement for dynamic number of lists
406 * Menubar_pimpl.C (add_toc): ditto
408 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
415 * forms/form_credits.fd:
417 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
419 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
420 make ButtonList contain boost::shared_ptr<ItemInfo>
422 * Menubar_pimpl.C (~Pimpl): remove destructor
424 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
440 * form/form_filedialog.fd: add File Dialog
442 * Toolbar_pimpl.C: move LayoutsCB to here
444 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
446 * FormParagraph.C: changes because of ParagraphParameters.
448 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
450 * FormSearch.C (Replace): remove default argument
453 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
455 * added find/replace dialog:
456 * FormSearch.*: added
457 * form_search.*: added
458 * forms/form_search.fd: added
460 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
462 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
464 * various: in a rush of delayed guilt, I've renamed all instances of
465 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
468 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
469 activate/deactivate an FL_OBJECT.
478 * FormTabular.C: used it.
480 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
482 * FormPreferences.C: removed three unused using directives.
484 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
486 * added find/replace dialog:
487 * FormSearch.*: added
488 * form_search.*: added
489 * forms/form_search.fd: added
491 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
493 * FormRef.C: Fixed the behaviour of Goto-Ref.
495 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
497 * forms/makefile: added character and preamble dialogs
499 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
501 * FormCharacter.C (FormCharacter): change order of deletion,
502 change combo_language2 to combo_language2_
504 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
506 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
508 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
510 * Dialogs.C: added layoutcharacter
511 * FormCharacter.C: added
512 * FormCharacter.h: added
513 * form_character.C: added
514 * form_character.h: added
515 * forms/form_character.fd: added
517 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
519 * FormPreferences.C: Handle lyxrc.language_use_babel and
520 lyxrc.language_global_options.
522 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
524 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
526 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
528 * FormBase.C: no longer transient dialogs, XMapWindow()
529 in attempt to de-iconify
531 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
533 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
535 * FormDocument.C (checkMarginValues): Activate "use geometry" button
536 if using custom paper size/margin.
538 2001-02-21 Allan Rae <rae@lyx.org>
540 * forms/form_preferences.fd: larger, bold font for outer tabfolder
542 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
544 * src/frontends/xforms/Dialogs.C: added preamble
545 * src/frontends/xforms/FormPreamble.C: added
546 * src/frontends/xforms/FormPreamble.h: added
547 * src/frontends/xforms/Makefile.am: added
548 * src/frontends/xforms/form_preamble.C: added
549 * src/frontends/xforms/form_preamble.h: added
550 * src/frontends/xforms/form_preamble.fd: added
552 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
554 * FormBase.h: moved noncopyable derivation to DialogBase.
556 2001-02-19 Juergen Vigna <jug@sad.it>
558 * FormTabular.C (build): make all input field accepted only after
561 * forms/form_tabular.fd: removed default "Return" on Close-Button.
563 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
567 * FormInset.C (showInset): change associated with name change
568 inset::hide to inset::hideDialog.
570 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
572 * FormCitation.C (build): altering "Text after" now activates the Ok,
575 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
577 * FormCitation.C: lots of white-space changes to make file consistent
579 (input): use the FL_OBJECT * parameter to decide what to do, not the
582 * FormCitation.h: removed most entries in enum.
584 * forms/form_citation.fd: change names of variables, consistent with
585 Allan's naming scheme.
586 Don't pass any particular arguments to the InputCB function.
587 choice_style now triggers a callback and looks like other choices.
589 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
591 * other: use compare instead of strcmp/strncmp
593 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
595 * ButtonController.[Ch]: changed trigger_change_ vector and associated
596 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
597 callback to InputCB() but don't trigger a change in the state of the
598 Ok, Apply buttons are much rarer than those that do.
600 * FormCitation.C (build): associated change.
602 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
604 * ButtonController.C: include algorithm
606 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
608 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
610 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
611 the vector of FL_OBJECT *s that can trigger a change in the button state
612 is not empty, then a change of state will occur only if the FL_OBJECT *
613 is present in this vector.
615 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
616 the user to deactivate specific fields within restore().
617 (InputCB): pass the FL_OBJECT * to bc_.valid().
619 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
620 trigger a change of state in the Ok,Apply buttons.
621 (update): bc_.readOnly() to the start of the method. Similar reasoning
622 to that for FormBase::RestoreCB, above.
624 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
626 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
629 * forms/form_browser.fd:
630 * forms/form_copyright.fd:
631 * forms/form_error.fd:
632 * forms/form_tabular.fd:
634 Consistent shortcuts for Close button: Esc and Return only.
636 * forms/form_citation.fd:
637 * forms/form_document.fd:
638 * forms/form_index.fd:
639 * forms/form_paragraph.fd:
640 * forms/form_preferences.fd:
641 * forms/form_print.fd:
643 * forms/form_tabular_create.fd:
645 Consistent shortcut for Cancel button: Esc only.
647 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
649 * Dialogs.C: new Splash. Include, Bibitem/tex
651 * FormBase.h: make show() virtual for Splash's benefit
663 * forms/form_bibitem.fd:
664 * forms/form_bibtex.fd:
669 * forms/form_include.fd:
674 * forms/form_splash.fd: new forms
676 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
678 * FormLog.C: handle Literate build log nicely
680 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
682 * Menubar_pimpl.C: remove support for reference menuitem type.
684 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
688 * Timeout_pimpl.C: add Timeout implementation
690 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
694 * forms/form_browser.fd:
697 * FormBrowser.h: readonly browser form
703 * Dialogs.C: add Log and VCLog
705 * Makefile.am: add Log and VCLog, add updatesrc target
707 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
709 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
711 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
713 * FormPreferences.C (GetFrom): fix crash when there is no format
717 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
719 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
720 unsigned char correctly and so fix 2 bugs loading/changing colors.
722 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
724 * FormRef.C (update): Do not update dialog_->{ref,name,type}
726 Deactivate the type button when buffer is LinuxDoc/Docbook
727 (build): Uncomment calls to addReadOnly().
728 (updateBrowser) Do not disable the update button when there are no
730 (build, getType, getName): Use InsetRef::types.
732 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
734 * FormPrint.[Ch] (browse): new method to browse for file to print to.
736 * forms/form_print.fd: give the form a Browse button.
738 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
740 * FormRef.C (input): Fix the behavior of goto reference button.