1 2001-03-29 Juergen Vigna <jug@sad.it>
3 * FormMinipage.C: removed widthp_ and all it's functions and changed
4 to use new %-lengths of LyXLength.
6 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9 * forms/form_graphics.fd:
11 * forms/form_index.fd: implemented controller-view split.
13 * Dialogs.C: associated changes.
15 * FormCharacter.[Ch]: changes associated with ControlCharacter cleanup.
17 * FormCitation.C: changes associated with ControlCitation cleanup.
19 * FormMinipage.h: cleaned-up forward declarations.
21 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
24 * forms/form_minipage.fd:
26 * forms/form_print.fd:
27 * FormSplash.[Ch]: implemented controller-view split.
29 * Dialogs.C: associated changes.
31 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
34 * forms/form_preamble.fd:
38 * forms/form_search.fd:
39 * FormTabularCreate.[Ch]:
40 * forms/form_tabular_create.fd: implemented controller-view split.
42 * Dialogs.C: associated changes.
44 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
51 * form_url.fd: implemented controller-view split.
53 * Dialogs.C: associated changes.
57 * FormCitation.h: moved methods from protected to private.
59 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
61 * FormCredits.C (build): changes associated with
62 ControlCredits::getCredits returning a stringstream not a vector<string>
64 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
67 * forms/form_copyright.fd: implemented controller-view split.
70 * forms/form_credits.fd: implemented controller-view split.
72 * Dialogs.C: associated changes.
74 * xforms_helpers.C (formatted): improved the function so that it now
75 repects '\n' characters in the input string. Ie, the user can now
76 specify line breaks explicitly.
78 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
81 * forms/form_character.fd: implemented controller-view split.
83 * Dialogs.C: associated changes.
85 * FormBase.C (input): changed return to SMI_VALID.
87 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
88 any surrounding whitespace.
90 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
92 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
94 (FormBase2): split into two template classes, FormDB (DialogBase) and
95 FormCB (ControllerBase) for greater flexibility.
99 * FormCitation.[Ch]: associated changes.
104 * forms/form_browser.fd: implemented controller-view split.
106 * Dialogs.C: associated changes.
108 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
111 * forms/form_bibtex.fd: implemented controller-view split.
113 * Dialogs.C: associated changes.
115 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
117 * FormBaseDeprecated.[Ch]: rename title as title_.
119 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
120 with limited functionality. It got lost in the MVC merge.
122 * FormBaseDeprecated.C:
123 * FormBase.C (show): moved initialisation of minw_, minh_ here.
125 * FormBibitem.C (build):
126 * FormBibtex.C (build):
127 * FormBrowser.C (build):
128 * FormCharacter.C (build):
129 * FormCitation.C (build):
130 * FormCopyright.C (build):
131 * FormCredits.C (build):
132 * FormDocument.C (build):
133 * FormError.C (build):
134 * FormExternal.C (build):
135 * FormGraphics.C (build):
136 * FormInclude.C (build):
137 * FormIndex.C (build):
138 * FormMinipage.C (build):
139 * FormParagraph.C (build):
140 * FormPreamble.C (build):
141 * FormPreferences.C (build):
142 * FormPrint.C (build):
144 * FormSearch.C (build):
145 * FormTabular.C (build):
146 * FormTabularCreate.C (build):
148 * FormUrl.C (build): removed initialisation of minw_, minh_.
150 * The Maths Panel stuff no longer causes a crash on exit from LyX.
153 * forms/form_maths.fd: removed.
155 * forms/form_maths_delim.fd:
156 * forms/form_maths_deco.fd:
157 * forms/form_maths_matrix.fd:
158 * forms/form_maths_space.fd:
159 * forms/form_maths_panel.fd: new files.
160 Split contents of form_maths.fd into 5 new files, one for each form.
162 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
163 class FormMathsBitmap in FormMathsBitmap.[Ch].
165 * FormMathsPanel.[Ch]:
166 * FormMathsBitmap.[Ch]:
167 * FormMathsDeco.[Ch]:
168 * FormMathsDelim.[Ch]:
169 * FormMathsMatrix.[Ch]:
170 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
171 one for each popup. Rewrite so that all the new classes are derived from
172 FormBaseBD. Clean up the logic in the process (I hope!).
174 * Makefile.am: added new fils, removed redundant ones.
176 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
178 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
182 2001-03-16 Juergen Vigna <jug@sad.it>
184 * Dialogs.C (Dialogs): create minipage options dialog.
186 * forms/form_minipage.fd:
190 * FormMinipage.h: new files for the minipage options dialog.
192 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
194 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
197 * forms/form_maths.fd: change C_FormBaseCancelCB to
198 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
200 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
202 * FormMaths.C: quash warnings
204 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
206 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
209 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
211 * Form_various.h: cleaned up #includes and forward declarations.
213 * Form_various.C: added "using SigC::slot" declaration.
215 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
217 * FormDocument.C (CheckChoiceClass): removed string tct as the
218 compiler warned that it was defined but never used.
219 removed USE_CLASS_COMBO.
221 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
232 * forms/form_maths.fd:
234 * forms/fdfix.sh: add maths panel
237 * bmtable.c: moved from src/
239 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
241 * FormParagraph.h: NO_PEXTRA
242 * FormParagraph.C (input): NO_PEXTRA
244 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
246 * several files: remove CXX_WORKING_NAMESPACES
248 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
250 * Merging changes from BRANCH_MVC back into HEAD.
252 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
254 * Dialogs.C (c-tor): Changes associated with storing a vector of
256 Use MVC Bibitem popup.
258 * FormBase.h: add a new template class FormBase2, derived from FormBase
259 to make life creating MVC popups even easier ;-)
262 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
263 Proof that a simple popup should be easy to implement!
265 * FormCitation.[Ch]: now derived from FormBase2.
267 * FormToc.C: added using std::vector directive.
269 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
271 * FormSearch.C: Add missing #pragma
273 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
276 * forms/form_citation.fd: added the ability to Search, both Simply and
277 for Regular Expressions. Use the Search code in the controller() to do
278 the actual searching.
280 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
282 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
283 * forms/makefile: added form_credits.fd
285 * Dialogs.C: added FormCredits and removed ShowCredits.
288 * forms/form_credits.fd:
289 * forms/form_search.fd: ported to the MVC way.
291 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
293 * xforms_helpers.h (formatted): now has default arguments for size and
296 * FormCitation.[Ch]: moved code out of this class and into
297 ControlCitation and associated helper funcs.
299 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
301 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
302 ButtonController::valid() to check state of input. The buttons are
303 now controlled correctly.
305 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
307 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
309 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
311 * FormBase.[Ch]: rename title as title_.
313 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
315 * FormBase.C (c-tor): initialise variables in correct order.
317 * FormCitation.C: add #include <algorithm>
319 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
321 * xformsBC.[Ch]: Changes associated with the changes to
322 controllers/ButtonController.[Ch]. Ie, the class is now derived from
323 ButtonControllerBase and the ButtonPolicy is accessed through a method
324 bp() rather than the instance bp_.
326 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
327 rather use a pure virtual method bc() to access the controller
328 instantiated by the daughter classes.
330 * F*.[Ch]: changes associated with the above.
332 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
334 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
336 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
338 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
340 * ButtonController.[Ch]: deleted. The class is split into two
341 (with identical functionality), the code being found in
342 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
344 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
345 ButtonController class.
347 * FormBase.[Ch]: changes associated with the above split.
349 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
350 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
351 controlling all interaction to/from the LyX kernel.
354 * forms/form_citation.fd: An xforms-specific implementation of the
355 Citation dialog, controlled by the GUI-I ControlCitation.
357 * Dialogs.C: Use the controlled Citation dialog.
359 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
363 * combox.C: moved from src/
365 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
368 * forms/form_filedialog.C.patch: I hate having to make these patches,
369 but on reflection I think it's probably better than hacking fdfix.sh.
371 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
373 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
375 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
377 * FormGraphics.C: remove unnecessary hack
379 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
381 * FormCitation.C (apply): Do not put space between multiple keys.
383 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
385 * Menubar_pimpl.C (add_toc): Remove debug message.
387 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
395 * xforms/forms/makefile:
396 * forms/form_external.fd: add FormExternal
398 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
400 * Dialogs.C: add destroySplash()
404 * forms/form_splash.fd:
406 * FormSplash.C: make independent of FormBase, tidy
408 * Menubar_pimpl.C: destroy splash on interaction
410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
416 * forms/form_include.fd: rework, clean up
418 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
420 * FormToc.h: use Buffer::typedef
422 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
423 * FormToc.C (build): ditto
426 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
428 * FormToc.C (build): implement for dynamic number of lists
430 * Menubar_pimpl.C (add_toc): ditto
432 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
439 * forms/form_credits.fd:
441 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
443 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
444 make ButtonList contain boost::shared_ptr<ItemInfo>
446 * Menubar_pimpl.C (~Pimpl): remove destructor
448 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
464 * form/form_filedialog.fd: add File Dialog
466 * Toolbar_pimpl.C: move LayoutsCB to here
468 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
470 * FormParagraph.C: changes because of ParagraphParameters.
472 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * FormSearch.C (Replace): remove default argument
477 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
479 * added find/replace dialog:
480 * FormSearch.*: added
481 * form_search.*: added
482 * forms/form_search.fd: added
484 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
486 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
488 * various: in a rush of delayed guilt, I've renamed all instances of
489 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
492 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
493 activate/deactivate an FL_OBJECT.
502 * FormTabular.C: used it.
504 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
506 * FormPreferences.C: removed three unused using directives.
508 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
510 * added find/replace dialog:
511 * FormSearch.*: added
512 * form_search.*: added
513 * forms/form_search.fd: added
515 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
517 * FormRef.C: Fixed the behaviour of Goto-Ref.
519 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
521 * forms/makefile: added character and preamble dialogs
523 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
525 * FormCharacter.C (FormCharacter): change order of deletion,
526 change combo_language2 to combo_language2_
528 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
530 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
532 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
534 * Dialogs.C: added layoutcharacter
535 * FormCharacter.C: added
536 * FormCharacter.h: added
537 * form_character.C: added
538 * form_character.h: added
539 * forms/form_character.fd: added
541 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
543 * FormPreferences.C: Handle lyxrc.language_use_babel and
544 lyxrc.language_global_options.
546 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
548 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
550 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
552 * FormBase.C: no longer transient dialogs, XMapWindow()
553 in attempt to de-iconify
555 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
557 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
559 * FormDocument.C (checkMarginValues): Activate "use geometry" button
560 if using custom paper size/margin.
562 2001-02-21 Allan Rae <rae@lyx.org>
564 * forms/form_preferences.fd: larger, bold font for outer tabfolder
566 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
568 * src/frontends/xforms/Dialogs.C: added preamble
569 * src/frontends/xforms/FormPreamble.C: added
570 * src/frontends/xforms/FormPreamble.h: added
571 * src/frontends/xforms/Makefile.am: added
572 * src/frontends/xforms/form_preamble.C: added
573 * src/frontends/xforms/form_preamble.h: added
574 * src/frontends/xforms/form_preamble.fd: added
576 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
578 * FormBase.h: moved noncopyable derivation to DialogBase.
580 2001-02-19 Juergen Vigna <jug@sad.it>
582 * FormTabular.C (build): make all input field accepted only after
585 * forms/form_tabular.fd: removed default "Return" on Close-Button.
587 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
591 * FormInset.C (showInset): change associated with name change
592 inset::hide to inset::hideDialog.
594 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
596 * FormCitation.C (build): altering "Text after" now activates the Ok,
599 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
601 * FormCitation.C: lots of white-space changes to make file consistent
603 (input): use the FL_OBJECT * parameter to decide what to do, not the
606 * FormCitation.h: removed most entries in enum.
608 * forms/form_citation.fd: change names of variables, consistent with
609 Allan's naming scheme.
610 Don't pass any particular arguments to the InputCB function.
611 choice_style now triggers a callback and looks like other choices.
613 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
615 * other: use compare instead of strcmp/strncmp
617 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
619 * ButtonController.[Ch]: changed trigger_change_ vector and associated
620 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
621 callback to InputCB() but don't trigger a change in the state of the
622 Ok, Apply buttons are much rarer than those that do.
624 * FormCitation.C (build): associated change.
626 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
628 * ButtonController.C: include algorithm
630 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
632 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
634 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
635 the vector of FL_OBJECT *s that can trigger a change in the button state
636 is not empty, then a change of state will occur only if the FL_OBJECT *
637 is present in this vector.
639 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
640 the user to deactivate specific fields within restore().
641 (InputCB): pass the FL_OBJECT * to bc_.valid().
643 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
644 trigger a change of state in the Ok,Apply buttons.
645 (update): bc_.readOnly() to the start of the method. Similar reasoning
646 to that for FormBase::RestoreCB, above.
648 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
650 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
653 * forms/form_browser.fd:
654 * forms/form_copyright.fd:
655 * forms/form_error.fd:
656 * forms/form_tabular.fd:
658 Consistent shortcuts for Close button: Esc and Return only.
660 * forms/form_citation.fd:
661 * forms/form_document.fd:
662 * forms/form_index.fd:
663 * forms/form_paragraph.fd:
664 * forms/form_preferences.fd:
665 * forms/form_print.fd:
667 * forms/form_tabular_create.fd:
669 Consistent shortcut for Cancel button: Esc only.
671 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
673 * Dialogs.C: new Splash. Include, Bibitem/tex
675 * FormBase.h: make show() virtual for Splash's benefit
687 * forms/form_bibitem.fd:
688 * forms/form_bibtex.fd:
693 * forms/form_include.fd:
698 * forms/form_splash.fd: new forms
700 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
702 * FormLog.C: handle Literate build log nicely
704 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
706 * Menubar_pimpl.C: remove support for reference menuitem type.
708 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
712 * Timeout_pimpl.C: add Timeout implementation
714 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
718 * forms/form_browser.fd:
721 * FormBrowser.h: readonly browser form
727 * Dialogs.C: add Log and VCLog
729 * Makefile.am: add Log and VCLog, add updatesrc target
731 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
733 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
735 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
737 * FormPreferences.C (GetFrom): fix crash when there is no format
741 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
743 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
744 unsigned char correctly and so fix 2 bugs loading/changing colors.
746 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
748 * FormRef.C (update): Do not update dialog_->{ref,name,type}
750 Deactivate the type button when buffer is LinuxDoc/Docbook
751 (build): Uncomment calls to addReadOnly().
752 (updateBrowser) Do not disable the update button when there are no
754 (build, getType, getName): Use InsetRef::types.
756 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
758 * FormPrint.[Ch] (browse): new method to browse for file to print to.
760 * forms/form_print.fd: give the form a Browse button.
762 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
764 * FormRef.C (input): Fix the behavior of goto reference button.