1 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4 * forms/form_minipage.fd:
7 * FormSplash.[Ch]: implemented controller-view split.
9 * Dialogs.C: associated changes.
11 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
14 * forms/form_preamble.fd:
18 * forms/form_search.fd:
19 * FormTabularCreate.[Ch]:
20 * forms/form_tabular_create.fd: implemented controller-view split.
22 * Dialogs.C: associated changes.
24 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
31 * form_url.fd: implemented controller-view split.
33 * Dialogs.C: associated changes.
37 * FormCitation.h: moved methods from protected to private.
39 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
41 * FormCredits.C (build): changes associated with
42 ControlCredits::getCredits returning a stringstream not a vector<string>
44 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
47 * forms/form_copyright.fd: implemented controller-view split.
50 * forms/form_credits.fd: implemented controller-view split.
52 * Dialogs.C: associated changes.
54 * xforms_helpers.C (formatted): improved the function so that it now
55 repects '\n' characters in the input string. Ie, the user can now
56 specify line breaks explicitly.
58 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
61 * forms/form_character.fd: implemented controller-view split.
63 * Dialogs.C: associated changes.
65 * FormBase.C (input): changed return to SMI_VALID.
67 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
68 any surrounding whitespace.
70 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
72 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
74 (FormBase2): split into two template classes, FormDB (DialogBase) and
75 FormCB (ControllerBase) for greater flexibility.
79 * FormCitation.[Ch]: associated changes.
84 * forms/form_browser.fd: implemented controller-view split.
86 * Dialogs.C: associated changes.
88 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
91 * forms/form_bibtex.fd: implemented controller-view split.
93 * Dialogs.C: associated changes.
95 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
97 * FormBaseDeprecated.[Ch]: rename title as title_.
99 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
100 with limited functionality. It got lost in the MVC merge.
102 * FormBaseDeprecated.C:
103 * FormBase.C (show): moved initialisation of minw_, minh_ here.
105 * FormBibitem.C (build):
106 * FormBibtex.C (build):
107 * FormBrowser.C (build):
108 * FormCharacter.C (build):
109 * FormCitation.C (build):
110 * FormCopyright.C (build):
111 * FormCredits.C (build):
112 * FormDocument.C (build):
113 * FormError.C (build):
114 * FormExternal.C (build):
115 * FormGraphics.C (build):
116 * FormInclude.C (build):
117 * FormIndex.C (build):
118 * FormMinipage.C (build):
119 * FormParagraph.C (build):
120 * FormPreamble.C (build):
121 * FormPreferences.C (build):
122 * FormPrint.C (build):
124 * FormSearch.C (build):
125 * FormTabular.C (build):
126 * FormTabularCreate.C (build):
128 * FormUrl.C (build): removed initialisation of minw_, minh_.
130 * The Maths Panel stuff no longer causes a crash on exit from LyX.
133 * forms/form_maths.fd: removed.
135 * forms/form_maths_delim.fd:
136 * forms/form_maths_deco.fd:
137 * forms/form_maths_matrix.fd:
138 * forms/form_maths_space.fd:
139 * forms/form_maths_panel.fd: new files.
140 Split contents of form_maths.fd into 5 new files, one for each form.
142 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
143 class FormMathsBitmap in FormMathsBitmap.[Ch].
145 * FormMathsPanel.[Ch]:
146 * FormMathsBitmap.[Ch]:
147 * FormMathsDeco.[Ch]:
148 * FormMathsDelim.[Ch]:
149 * FormMathsMatrix.[Ch]:
150 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
151 one for each popup. Rewrite so that all the new classes are derived from
152 FormBaseBD. Clean up the logic in the process (I hope!).
154 * Makefile.am: added new fils, removed redundant ones.
156 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
158 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
162 2001-03-16 Juergen Vigna <jug@sad.it>
164 * Dialogs.C (Dialogs): create minipage options dialog.
166 * forms/form_minipage.fd:
170 * FormMinipage.h: new files for the minipage options dialog.
172 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
174 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
177 * forms/form_maths.fd: change C_FormBaseCancelCB to
178 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
180 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
182 * FormMaths.C: quash warnings
184 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
186 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
189 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
191 * Form_various.h: cleaned up #includes and forward declarations.
193 * Form_various.C: added "using SigC::slot" declaration.
195 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
197 * FormDocument.C (CheckChoiceClass): removed string tct as the
198 compiler warned that it was defined but never used.
199 removed USE_CLASS_COMBO.
201 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
212 * forms/form_maths.fd:
214 * forms/fdfix.sh: add maths panel
217 * bmtable.c: moved from src/
219 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
221 * FormParagraph.h: NO_PEXTRA
222 * FormParagraph.C (input): NO_PEXTRA
224 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
226 * several files: remove CXX_WORKING_NAMESPACES
228 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
230 * Merging changes from BRANCH_MVC back into HEAD.
232 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
234 * Dialogs.C (c-tor): Changes associated with storing a vector of
236 Use MVC Bibitem popup.
238 * FormBase.h: add a new template class FormBase2, derived from FormBase
239 to make life creating MVC popups even easier ;-)
242 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
243 Proof that a simple popup should be easy to implement!
245 * FormCitation.[Ch]: now derived from FormBase2.
247 * FormToc.C: added using std::vector directive.
249 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
251 * FormSearch.C: Add missing #pragma
253 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
256 * forms/form_citation.fd: added the ability to Search, both Simply and
257 for Regular Expressions. Use the Search code in the controller() to do
258 the actual searching.
260 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
262 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
263 * forms/makefile: added form_credits.fd
265 * Dialogs.C: added FormCredits and removed ShowCredits.
268 * forms/form_credits.fd:
269 * forms/form_search.fd: ported to the MVC way.
271 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
273 * xforms_helpers.h (formatted): now has default arguments for size and
276 * FormCitation.[Ch]: moved code out of this class and into
277 ControlCitation and associated helper funcs.
279 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
281 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
282 ButtonController::valid() to check state of input. The buttons are
283 now controlled correctly.
285 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
287 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
289 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
291 * FormBase.[Ch]: rename title as title_.
293 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
295 * FormBase.C (c-tor): initialise variables in correct order.
297 * FormCitation.C: add #include <algorithm>
299 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
301 * xformsBC.[Ch]: Changes associated with the changes to
302 controllers/ButtonController.[Ch]. Ie, the class is now derived from
303 ButtonControllerBase and the ButtonPolicy is accessed through a method
304 bp() rather than the instance bp_.
306 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
307 rather use a pure virtual method bc() to access the controller
308 instantiated by the daughter classes.
310 * F*.[Ch]: changes associated with the above.
312 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
314 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
316 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
318 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
320 * ButtonController.[Ch]: deleted. The class is split into two
321 (with identical functionality), the code being found in
322 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
324 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
325 ButtonController class.
327 * FormBase.[Ch]: changes associated with the above split.
329 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
330 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
331 controlling all interaction to/from the LyX kernel.
334 * forms/form_citation.fd: An xforms-specific implementation of the
335 Citation dialog, controlled by the GUI-I ControlCitation.
337 * Dialogs.C: Use the controlled Citation dialog.
339 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
343 * combox.C: moved from src/
345 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
348 * forms/form_filedialog.C.patch: I hate having to make these patches,
349 but on reflection I think it's probably better than hacking fdfix.sh.
351 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
353 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
355 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
357 * FormGraphics.C: remove unnecessary hack
359 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
361 * FormCitation.C (apply): Do not put space between multiple keys.
363 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
365 * Menubar_pimpl.C (add_toc): Remove debug message.
367 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
375 * xforms/forms/makefile:
376 * forms/form_external.fd: add FormExternal
378 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
380 * Dialogs.C: add destroySplash()
384 * forms/form_splash.fd:
386 * FormSplash.C: make independent of FormBase, tidy
388 * Menubar_pimpl.C: destroy splash on interaction
390 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
396 * forms/form_include.fd: rework, clean up
398 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
400 * FormToc.h: use Buffer::typedef
402 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
403 * FormToc.C (build): ditto
406 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
408 * FormToc.C (build): implement for dynamic number of lists
410 * Menubar_pimpl.C (add_toc): ditto
412 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
419 * forms/form_credits.fd:
421 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
423 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
424 make ButtonList contain boost::shared_ptr<ItemInfo>
426 * Menubar_pimpl.C (~Pimpl): remove destructor
428 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
444 * form/form_filedialog.fd: add File Dialog
446 * Toolbar_pimpl.C: move LayoutsCB to here
448 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
450 * FormParagraph.C: changes because of ParagraphParameters.
452 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * FormSearch.C (Replace): remove default argument
457 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
459 * added find/replace dialog:
460 * FormSearch.*: added
461 * form_search.*: added
462 * forms/form_search.fd: added
464 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
466 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
468 * various: in a rush of delayed guilt, I've renamed all instances of
469 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
472 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
473 activate/deactivate an FL_OBJECT.
482 * FormTabular.C: used it.
484 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
486 * FormPreferences.C: removed three unused using directives.
488 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
490 * added find/replace dialog:
491 * FormSearch.*: added
492 * form_search.*: added
493 * forms/form_search.fd: added
495 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
497 * FormRef.C: Fixed the behaviour of Goto-Ref.
499 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
501 * forms/makefile: added character and preamble dialogs
503 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
505 * FormCharacter.C (FormCharacter): change order of deletion,
506 change combo_language2 to combo_language2_
508 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
510 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
512 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
514 * Dialogs.C: added layoutcharacter
515 * FormCharacter.C: added
516 * FormCharacter.h: added
517 * form_character.C: added
518 * form_character.h: added
519 * forms/form_character.fd: added
521 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
523 * FormPreferences.C: Handle lyxrc.language_use_babel and
524 lyxrc.language_global_options.
526 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
528 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
530 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
532 * FormBase.C: no longer transient dialogs, XMapWindow()
533 in attempt to de-iconify
535 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
537 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
539 * FormDocument.C (checkMarginValues): Activate "use geometry" button
540 if using custom paper size/margin.
542 2001-02-21 Allan Rae <rae@lyx.org>
544 * forms/form_preferences.fd: larger, bold font for outer tabfolder
546 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
548 * src/frontends/xforms/Dialogs.C: added preamble
549 * src/frontends/xforms/FormPreamble.C: added
550 * src/frontends/xforms/FormPreamble.h: added
551 * src/frontends/xforms/Makefile.am: added
552 * src/frontends/xforms/form_preamble.C: added
553 * src/frontends/xforms/form_preamble.h: added
554 * src/frontends/xforms/form_preamble.fd: added
556 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
558 * FormBase.h: moved noncopyable derivation to DialogBase.
560 2001-02-19 Juergen Vigna <jug@sad.it>
562 * FormTabular.C (build): make all input field accepted only after
565 * forms/form_tabular.fd: removed default "Return" on Close-Button.
567 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
571 * FormInset.C (showInset): change associated with name change
572 inset::hide to inset::hideDialog.
574 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
576 * FormCitation.C (build): altering "Text after" now activates the Ok,
579 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
581 * FormCitation.C: lots of white-space changes to make file consistent
583 (input): use the FL_OBJECT * parameter to decide what to do, not the
586 * FormCitation.h: removed most entries in enum.
588 * forms/form_citation.fd: change names of variables, consistent with
589 Allan's naming scheme.
590 Don't pass any particular arguments to the InputCB function.
591 choice_style now triggers a callback and looks like other choices.
593 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
595 * other: use compare instead of strcmp/strncmp
597 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
599 * ButtonController.[Ch]: changed trigger_change_ vector and associated
600 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
601 callback to InputCB() but don't trigger a change in the state of the
602 Ok, Apply buttons are much rarer than those that do.
604 * FormCitation.C (build): associated change.
606 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
608 * ButtonController.C: include algorithm
610 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
612 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
614 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
615 the vector of FL_OBJECT *s that can trigger a change in the button state
616 is not empty, then a change of state will occur only if the FL_OBJECT *
617 is present in this vector.
619 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
620 the user to deactivate specific fields within restore().
621 (InputCB): pass the FL_OBJECT * to bc_.valid().
623 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
624 trigger a change of state in the Ok,Apply buttons.
625 (update): bc_.readOnly() to the start of the method. Similar reasoning
626 to that for FormBase::RestoreCB, above.
628 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
630 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
633 * forms/form_browser.fd:
634 * forms/form_copyright.fd:
635 * forms/form_error.fd:
636 * forms/form_tabular.fd:
638 Consistent shortcuts for Close button: Esc and Return only.
640 * forms/form_citation.fd:
641 * forms/form_document.fd:
642 * forms/form_index.fd:
643 * forms/form_paragraph.fd:
644 * forms/form_preferences.fd:
645 * forms/form_print.fd:
647 * forms/form_tabular_create.fd:
649 Consistent shortcut for Cancel button: Esc only.
651 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
653 * Dialogs.C: new Splash. Include, Bibitem/tex
655 * FormBase.h: make show() virtual for Splash's benefit
667 * forms/form_bibitem.fd:
668 * forms/form_bibtex.fd:
673 * forms/form_include.fd:
678 * forms/form_splash.fd: new forms
680 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
682 * FormLog.C: handle Literate build log nicely
684 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
686 * Menubar_pimpl.C: remove support for reference menuitem type.
688 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
692 * Timeout_pimpl.C: add Timeout implementation
694 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
698 * forms/form_browser.fd:
701 * FormBrowser.h: readonly browser form
707 * Dialogs.C: add Log and VCLog
709 * Makefile.am: add Log and VCLog, add updatesrc target
711 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
713 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
715 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
717 * FormPreferences.C (GetFrom): fix crash when there is no format
721 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
723 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
724 unsigned char correctly and so fix 2 bugs loading/changing colors.
726 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
728 * FormRef.C (update): Do not update dialog_->{ref,name,type}
730 Deactivate the type button when buffer is LinuxDoc/Docbook
731 (build): Uncomment calls to addReadOnly().
732 (updateBrowser) Do not disable the update button when there are no
734 (build, getType, getName): Use InsetRef::types.
736 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
738 * FormPrint.[Ch] (browse): new method to browse for file to print to.
740 * forms/form_print.fd: give the form a Browse button.
742 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
744 * FormRef.C (input): Fix the behavior of goto reference button.