1 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4 * forms/form_citation.fd: Don't change the name of the button when
5 toggling between regular expression and simple searches.
6 Squashed bug when creating a new inset, the keys field contained
7 one (empty) key. No more; thanks, Dekel.
10 * forms/form_external.fd: added Apply button.
12 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15 * FormBrowser.[Ch]: changes associated with renaming ControlBase as
19 * forms/form_external.fd: implemented controller-view split.
21 * Dialogs.C: associated changes.
26 moved the browsing functionality into the controller.
28 * xforms_helpers.[Ch]: moved browseFile to
29 ../controllers/helper_funcs.[Ch]
32 * forms/form_citation.fd: added case sensitive search button.
34 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
36 * xformsBC.[Ch]: Patched in a slight reworking of Baruch Even's patch.
37 Code moved into the generic template base class. Replaced
38 setCancelCloseButton() with setButtonLabel().
40 2001-03-29 Juergen Vigna <jug@sad.it>
42 * FormMinipage.C: removed widthp_ and all it's functions and changed
43 to use new %-lengths of LyXLength.
45 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
48 * forms/form_graphics.fd:
50 * forms/form_index.fd: implemented controller-view split.
52 * Dialogs.C: associated changes.
54 * FormCharacter.[Ch]: changes associated with ControlCharacter cleanup.
56 * FormCitation.C: changes associated with ControlCitation cleanup.
58 * FormMinipage.h: cleaned-up forward declarations.
60 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
63 * forms/form_minipage.fd:
65 * forms/form_print.fd:
66 * FormSplash.[Ch]: implemented controller-view split.
68 * Dialogs.C: associated changes.
70 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
73 * forms/form_preamble.fd:
77 * forms/form_search.fd:
78 * FormTabularCreate.[Ch]:
79 * forms/form_tabular_create.fd: implemented controller-view split.
81 * Dialogs.C: associated changes.
83 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
90 * form_url.fd: implemented controller-view split.
92 * Dialogs.C: associated changes.
96 * FormCitation.h: moved methods from protected to private.
98 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
100 * FormCredits.C (build): changes associated with
101 ControlCredits::getCredits returning a stringstream not a vector<string>
103 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
105 * FormCopyright.[Ch]:
106 * forms/form_copyright.fd: implemented controller-view split.
109 * forms/form_credits.fd: implemented controller-view split.
111 * Dialogs.C: associated changes.
113 * xforms_helpers.C (formatted): improved the function so that it now
114 repects '\n' characters in the input string. Ie, the user can now
115 specify line breaks explicitly.
117 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
119 * FormCharacter.[Ch]:
120 * forms/form_character.fd: implemented controller-view split.
122 * Dialogs.C: associated changes.
124 * FormBase.C (input): changed return to SMI_VALID.
126 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
127 any surrounding whitespace.
129 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
131 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
133 (FormBase2): split into two template classes, FormDB (DialogBase) and
134 FormCB (ControllerBase) for greater flexibility.
138 * FormCitation.[Ch]: associated changes.
143 * forms/form_browser.fd: implemented controller-view split.
145 * Dialogs.C: associated changes.
147 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
150 * forms/form_bibtex.fd: implemented controller-view split.
152 * Dialogs.C: associated changes.
154 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
156 * FormBaseDeprecated.[Ch]: rename title as title_.
158 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
159 with limited functionality. It got lost in the MVC merge.
161 * FormBaseDeprecated.C:
162 * FormBase.C (show): moved initialisation of minw_, minh_ here.
164 * FormBibitem.C (build):
165 * FormBibtex.C (build):
166 * FormBrowser.C (build):
167 * FormCharacter.C (build):
168 * FormCitation.C (build):
169 * FormCopyright.C (build):
170 * FormCredits.C (build):
171 * FormDocument.C (build):
172 * FormError.C (build):
173 * FormExternal.C (build):
174 * FormGraphics.C (build):
175 * FormInclude.C (build):
176 * FormIndex.C (build):
177 * FormMinipage.C (build):
178 * FormParagraph.C (build):
179 * FormPreamble.C (build):
180 * FormPreferences.C (build):
181 * FormPrint.C (build):
183 * FormSearch.C (build):
184 * FormTabular.C (build):
185 * FormTabularCreate.C (build):
187 * FormUrl.C (build): removed initialisation of minw_, minh_.
189 * The Maths Panel stuff no longer causes a crash on exit from LyX.
192 * forms/form_maths.fd: removed.
194 * forms/form_maths_delim.fd:
195 * forms/form_maths_deco.fd:
196 * forms/form_maths_matrix.fd:
197 * forms/form_maths_space.fd:
198 * forms/form_maths_panel.fd: new files.
199 Split contents of form_maths.fd into 5 new files, one for each form.
201 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
202 class FormMathsBitmap in FormMathsBitmap.[Ch].
204 * FormMathsPanel.[Ch]:
205 * FormMathsBitmap.[Ch]:
206 * FormMathsDeco.[Ch]:
207 * FormMathsDelim.[Ch]:
208 * FormMathsMatrix.[Ch]:
209 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
210 one for each popup. Rewrite so that all the new classes are derived from
211 FormBaseBD. Clean up the logic in the process (I hope!).
213 * Makefile.am: added new fils, removed redundant ones.
215 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
221 2001-03-16 Juergen Vigna <jug@sad.it>
223 * Dialogs.C (Dialogs): create minipage options dialog.
225 * forms/form_minipage.fd:
229 * FormMinipage.h: new files for the minipage options dialog.
231 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
233 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
236 * forms/form_maths.fd: change C_FormBaseCancelCB to
237 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
239 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
241 * FormMaths.C: quash warnings
243 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
245 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
248 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
250 * Form_various.h: cleaned up #includes and forward declarations.
252 * Form_various.C: added "using SigC::slot" declaration.
254 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
256 * FormDocument.C (CheckChoiceClass): removed string tct as the
257 compiler warned that it was defined but never used.
258 removed USE_CLASS_COMBO.
260 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
271 * forms/form_maths.fd:
273 * forms/fdfix.sh: add maths panel
276 * bmtable.c: moved from src/
278 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
280 * FormParagraph.h: NO_PEXTRA
281 * FormParagraph.C (input): NO_PEXTRA
283 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
285 * several files: remove CXX_WORKING_NAMESPACES
287 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
289 * Merging changes from BRANCH_MVC back into HEAD.
291 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
293 * Dialogs.C (c-tor): Changes associated with storing a vector of
295 Use MVC Bibitem popup.
297 * FormBase.h: add a new template class FormBase2, derived from FormBase
298 to make life creating MVC popups even easier ;-)
301 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
302 Proof that a simple popup should be easy to implement!
304 * FormCitation.[Ch]: now derived from FormBase2.
306 * FormToc.C: added using std::vector directive.
308 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
310 * FormSearch.C: Add missing #pragma
312 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
315 * forms/form_citation.fd: added the ability to Search, both Simply and
316 for Regular Expressions. Use the Search code in the controller() to do
317 the actual searching.
319 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
321 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
322 * forms/makefile: added form_credits.fd
324 * Dialogs.C: added FormCredits and removed ShowCredits.
327 * forms/form_credits.fd:
328 * forms/form_search.fd: ported to the MVC way.
330 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
332 * xforms_helpers.h (formatted): now has default arguments for size and
335 * FormCitation.[Ch]: moved code out of this class and into
336 ControlCitation and associated helper funcs.
338 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
340 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
341 ButtonController::valid() to check state of input. The buttons are
342 now controlled correctly.
344 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
346 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
348 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
350 * FormBase.[Ch]: rename title as title_.
352 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
354 * FormBase.C (c-tor): initialise variables in correct order.
356 * FormCitation.C: add #include <algorithm>
358 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
360 * xformsBC.[Ch]: Changes associated with the changes to
361 controllers/ButtonController.[Ch]. Ie, the class is now derived from
362 ButtonControllerBase and the ButtonPolicy is accessed through a method
363 bp() rather than the instance bp_.
365 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
366 rather use a pure virtual method bc() to access the controller
367 instantiated by the daughter classes.
369 * F*.[Ch]: changes associated with the above.
371 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
373 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
375 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
377 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
379 * ButtonController.[Ch]: deleted. The class is split into two
380 (with identical functionality), the code being found in
381 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
383 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
384 ButtonController class.
386 * FormBase.[Ch]: changes associated with the above split.
388 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
389 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
390 controlling all interaction to/from the LyX kernel.
393 * forms/form_citation.fd: An xforms-specific implementation of the
394 Citation dialog, controlled by the GUI-I ControlCitation.
396 * Dialogs.C: Use the controlled Citation dialog.
398 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
402 * combox.C: moved from src/
404 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
407 * forms/form_filedialog.C.patch: I hate having to make these patches,
408 but on reflection I think it's probably better than hacking fdfix.sh.
410 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
412 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
414 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
416 * FormGraphics.C: remove unnecessary hack
418 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
420 * FormCitation.C (apply): Do not put space between multiple keys.
422 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
424 * Menubar_pimpl.C (add_toc): Remove debug message.
426 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
434 * xforms/forms/makefile:
435 * forms/form_external.fd: add FormExternal
437 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
439 * Dialogs.C: add destroySplash()
443 * forms/form_splash.fd:
445 * FormSplash.C: make independent of FormBase, tidy
447 * Menubar_pimpl.C: destroy splash on interaction
449 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
455 * forms/form_include.fd: rework, clean up
457 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
459 * FormToc.h: use Buffer::typedef
461 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
462 * FormToc.C (build): ditto
465 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
467 * FormToc.C (build): implement for dynamic number of lists
469 * Menubar_pimpl.C (add_toc): ditto
471 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
478 * forms/form_credits.fd:
480 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
482 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
483 make ButtonList contain boost::shared_ptr<ItemInfo>
485 * Menubar_pimpl.C (~Pimpl): remove destructor
487 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
503 * form/form_filedialog.fd: add File Dialog
505 * Toolbar_pimpl.C: move LayoutsCB to here
507 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
509 * FormParagraph.C: changes because of ParagraphParameters.
511 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * FormSearch.C (Replace): remove default argument
516 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
518 * added find/replace dialog:
519 * FormSearch.*: added
520 * form_search.*: added
521 * forms/form_search.fd: added
523 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
525 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
527 * various: in a rush of delayed guilt, I've renamed all instances of
528 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
531 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
532 activate/deactivate an FL_OBJECT.
541 * FormTabular.C: used it.
543 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
545 * FormPreferences.C: removed three unused using directives.
547 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
549 * added find/replace dialog:
550 * FormSearch.*: added
551 * form_search.*: added
552 * forms/form_search.fd: added
554 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
556 * FormRef.C: Fixed the behaviour of Goto-Ref.
558 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
560 * forms/makefile: added character and preamble dialogs
562 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
564 * FormCharacter.C (FormCharacter): change order of deletion,
565 change combo_language2 to combo_language2_
567 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
569 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
571 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
573 * Dialogs.C: added layoutcharacter
574 * FormCharacter.C: added
575 * FormCharacter.h: added
576 * form_character.C: added
577 * form_character.h: added
578 * forms/form_character.fd: added
580 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
582 * FormPreferences.C: Handle lyxrc.language_use_babel and
583 lyxrc.language_global_options.
585 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
587 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
589 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
591 * FormBase.C: no longer transient dialogs, XMapWindow()
592 in attempt to de-iconify
594 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
596 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
598 * FormDocument.C (checkMarginValues): Activate "use geometry" button
599 if using custom paper size/margin.
601 2001-02-21 Allan Rae <rae@lyx.org>
603 * forms/form_preferences.fd: larger, bold font for outer tabfolder
605 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
607 * src/frontends/xforms/Dialogs.C: added preamble
608 * src/frontends/xforms/FormPreamble.C: added
609 * src/frontends/xforms/FormPreamble.h: added
610 * src/frontends/xforms/Makefile.am: added
611 * src/frontends/xforms/form_preamble.C: added
612 * src/frontends/xforms/form_preamble.h: added
613 * src/frontends/xforms/form_preamble.fd: added
615 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
617 * FormBase.h: moved noncopyable derivation to DialogBase.
619 2001-02-19 Juergen Vigna <jug@sad.it>
621 * FormTabular.C (build): make all input field accepted only after
624 * forms/form_tabular.fd: removed default "Return" on Close-Button.
626 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
630 * FormInset.C (showInset): change associated with name change
631 inset::hide to inset::hideDialog.
633 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
635 * FormCitation.C (build): altering "Text after" now activates the Ok,
638 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
640 * FormCitation.C: lots of white-space changes to make file consistent
642 (input): use the FL_OBJECT * parameter to decide what to do, not the
645 * FormCitation.h: removed most entries in enum.
647 * forms/form_citation.fd: change names of variables, consistent with
648 Allan's naming scheme.
649 Don't pass any particular arguments to the InputCB function.
650 choice_style now triggers a callback and looks like other choices.
652 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
654 * other: use compare instead of strcmp/strncmp
656 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
658 * ButtonController.[Ch]: changed trigger_change_ vector and associated
659 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
660 callback to InputCB() but don't trigger a change in the state of the
661 Ok, Apply buttons are much rarer than those that do.
663 * FormCitation.C (build): associated change.
665 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
667 * ButtonController.C: include algorithm
669 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
671 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
673 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
674 the vector of FL_OBJECT *s that can trigger a change in the button state
675 is not empty, then a change of state will occur only if the FL_OBJECT *
676 is present in this vector.
678 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
679 the user to deactivate specific fields within restore().
680 (InputCB): pass the FL_OBJECT * to bc_.valid().
682 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
683 trigger a change of state in the Ok,Apply buttons.
684 (update): bc_.readOnly() to the start of the method. Similar reasoning
685 to that for FormBase::RestoreCB, above.
687 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
689 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
692 * forms/form_browser.fd:
693 * forms/form_copyright.fd:
694 * forms/form_error.fd:
695 * forms/form_tabular.fd:
697 Consistent shortcuts for Close button: Esc and Return only.
699 * forms/form_citation.fd:
700 * forms/form_document.fd:
701 * forms/form_index.fd:
702 * forms/form_paragraph.fd:
703 * forms/form_preferences.fd:
704 * forms/form_print.fd:
706 * forms/form_tabular_create.fd:
708 Consistent shortcut for Cancel button: Esc only.
710 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
712 * Dialogs.C: new Splash. Include, Bibitem/tex
714 * FormBase.h: make show() virtual for Splash's benefit
726 * forms/form_bibitem.fd:
727 * forms/form_bibtex.fd:
732 * forms/form_include.fd:
737 * forms/form_splash.fd: new forms
739 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
741 * FormLog.C: handle Literate build log nicely
743 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
745 * Menubar_pimpl.C: remove support for reference menuitem type.
747 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
751 * Timeout_pimpl.C: add Timeout implementation
753 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
757 * forms/form_browser.fd:
760 * FormBrowser.h: readonly browser form
766 * Dialogs.C: add Log and VCLog
768 * Makefile.am: add Log and VCLog, add updatesrc target
770 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
772 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
774 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
776 * FormPreferences.C (GetFrom): fix crash when there is no format
780 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
782 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
783 unsigned char correctly and so fix 2 bugs loading/changing colors.
785 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
787 * FormRef.C (update): Do not update dialog_->{ref,name,type}
789 Deactivate the type button when buffer is LinuxDoc/Docbook
790 (build): Uncomment calls to addReadOnly().
791 (updateBrowser) Do not disable the update button when there are no
793 (build, getType, getName): Use InsetRef::types.
795 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
797 * FormPrint.[Ch] (browse): new method to browse for file to print to.
799 * forms/form_print.fd: give the form a Browse button.
801 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
803 * FormRef.C (input): Fix the behavior of goto reference button.