1 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4 * FormBrowser.[Ch]: changes associated with renaming ControlBase as
8 * forms/form_external.fd: implemented controller-view split.
10 * Dialogs.C: associated changes.
15 moved the browsing functionality into the controller.
17 * xforms_helpers.[Ch]: moved browseFile to
18 ../controllers/helper_funcs.[Ch]
21 * forms/form_citation.fd: added case sensitive search button.
23 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
25 * xformsBC.[Ch]: Patched in a slight reworking of Baruch Even's patch.
26 Code moved into the generic template base class. Replaced
27 setCancelCloseButton() with setButtonLabel().
29 2001-03-29 Juergen Vigna <jug@sad.it>
31 * FormMinipage.C: removed widthp_ and all it's functions and changed
32 to use new %-lengths of LyXLength.
34 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
37 * forms/form_graphics.fd:
39 * forms/form_index.fd: implemented controller-view split.
41 * Dialogs.C: associated changes.
43 * FormCharacter.[Ch]: changes associated with ControlCharacter cleanup.
45 * FormCitation.C: changes associated with ControlCitation cleanup.
47 * FormMinipage.h: cleaned-up forward declarations.
49 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
52 * forms/form_minipage.fd:
54 * forms/form_print.fd:
55 * FormSplash.[Ch]: implemented controller-view split.
57 * Dialogs.C: associated changes.
59 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
62 * forms/form_preamble.fd:
66 * forms/form_search.fd:
67 * FormTabularCreate.[Ch]:
68 * forms/form_tabular_create.fd: implemented controller-view split.
70 * Dialogs.C: associated changes.
72 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
79 * form_url.fd: implemented controller-view split.
81 * Dialogs.C: associated changes.
85 * FormCitation.h: moved methods from protected to private.
87 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
89 * FormCredits.C (build): changes associated with
90 ControlCredits::getCredits returning a stringstream not a vector<string>
92 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
95 * forms/form_copyright.fd: implemented controller-view split.
98 * forms/form_credits.fd: implemented controller-view split.
100 * Dialogs.C: associated changes.
102 * xforms_helpers.C (formatted): improved the function so that it now
103 repects '\n' characters in the input string. Ie, the user can now
104 specify line breaks explicitly.
106 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
108 * FormCharacter.[Ch]:
109 * forms/form_character.fd: implemented controller-view split.
111 * Dialogs.C: associated changes.
113 * FormBase.C (input): changed return to SMI_VALID.
115 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
116 any surrounding whitespace.
118 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
120 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
122 (FormBase2): split into two template classes, FormDB (DialogBase) and
123 FormCB (ControllerBase) for greater flexibility.
127 * FormCitation.[Ch]: associated changes.
132 * forms/form_browser.fd: implemented controller-view split.
134 * Dialogs.C: associated changes.
136 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
139 * forms/form_bibtex.fd: implemented controller-view split.
141 * Dialogs.C: associated changes.
143 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
145 * FormBaseDeprecated.[Ch]: rename title as title_.
147 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
148 with limited functionality. It got lost in the MVC merge.
150 * FormBaseDeprecated.C:
151 * FormBase.C (show): moved initialisation of minw_, minh_ here.
153 * FormBibitem.C (build):
154 * FormBibtex.C (build):
155 * FormBrowser.C (build):
156 * FormCharacter.C (build):
157 * FormCitation.C (build):
158 * FormCopyright.C (build):
159 * FormCredits.C (build):
160 * FormDocument.C (build):
161 * FormError.C (build):
162 * FormExternal.C (build):
163 * FormGraphics.C (build):
164 * FormInclude.C (build):
165 * FormIndex.C (build):
166 * FormMinipage.C (build):
167 * FormParagraph.C (build):
168 * FormPreamble.C (build):
169 * FormPreferences.C (build):
170 * FormPrint.C (build):
172 * FormSearch.C (build):
173 * FormTabular.C (build):
174 * FormTabularCreate.C (build):
176 * FormUrl.C (build): removed initialisation of minw_, minh_.
178 * The Maths Panel stuff no longer causes a crash on exit from LyX.
181 * forms/form_maths.fd: removed.
183 * forms/form_maths_delim.fd:
184 * forms/form_maths_deco.fd:
185 * forms/form_maths_matrix.fd:
186 * forms/form_maths_space.fd:
187 * forms/form_maths_panel.fd: new files.
188 Split contents of form_maths.fd into 5 new files, one for each form.
190 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
191 class FormMathsBitmap in FormMathsBitmap.[Ch].
193 * FormMathsPanel.[Ch]:
194 * FormMathsBitmap.[Ch]:
195 * FormMathsDeco.[Ch]:
196 * FormMathsDelim.[Ch]:
197 * FormMathsMatrix.[Ch]:
198 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
199 one for each popup. Rewrite so that all the new classes are derived from
200 FormBaseBD. Clean up the logic in the process (I hope!).
202 * Makefile.am: added new fils, removed redundant ones.
204 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
206 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
210 2001-03-16 Juergen Vigna <jug@sad.it>
212 * Dialogs.C (Dialogs): create minipage options dialog.
214 * forms/form_minipage.fd:
218 * FormMinipage.h: new files for the minipage options dialog.
220 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
222 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
225 * forms/form_maths.fd: change C_FormBaseCancelCB to
226 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
228 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
230 * FormMaths.C: quash warnings
232 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
234 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
237 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
239 * Form_various.h: cleaned up #includes and forward declarations.
241 * Form_various.C: added "using SigC::slot" declaration.
243 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
245 * FormDocument.C (CheckChoiceClass): removed string tct as the
246 compiler warned that it was defined but never used.
247 removed USE_CLASS_COMBO.
249 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
260 * forms/form_maths.fd:
262 * forms/fdfix.sh: add maths panel
265 * bmtable.c: moved from src/
267 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
269 * FormParagraph.h: NO_PEXTRA
270 * FormParagraph.C (input): NO_PEXTRA
272 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
274 * several files: remove CXX_WORKING_NAMESPACES
276 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
278 * Merging changes from BRANCH_MVC back into HEAD.
280 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
282 * Dialogs.C (c-tor): Changes associated with storing a vector of
284 Use MVC Bibitem popup.
286 * FormBase.h: add a new template class FormBase2, derived from FormBase
287 to make life creating MVC popups even easier ;-)
290 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
291 Proof that a simple popup should be easy to implement!
293 * FormCitation.[Ch]: now derived from FormBase2.
295 * FormToc.C: added using std::vector directive.
297 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
299 * FormSearch.C: Add missing #pragma
301 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
304 * forms/form_citation.fd: added the ability to Search, both Simply and
305 for Regular Expressions. Use the Search code in the controller() to do
306 the actual searching.
308 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
310 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
311 * forms/makefile: added form_credits.fd
313 * Dialogs.C: added FormCredits and removed ShowCredits.
316 * forms/form_credits.fd:
317 * forms/form_search.fd: ported to the MVC way.
319 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
321 * xforms_helpers.h (formatted): now has default arguments for size and
324 * FormCitation.[Ch]: moved code out of this class and into
325 ControlCitation and associated helper funcs.
327 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
329 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
330 ButtonController::valid() to check state of input. The buttons are
331 now controlled correctly.
333 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
335 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
337 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
339 * FormBase.[Ch]: rename title as title_.
341 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
343 * FormBase.C (c-tor): initialise variables in correct order.
345 * FormCitation.C: add #include <algorithm>
347 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
349 * xformsBC.[Ch]: Changes associated with the changes to
350 controllers/ButtonController.[Ch]. Ie, the class is now derived from
351 ButtonControllerBase and the ButtonPolicy is accessed through a method
352 bp() rather than the instance bp_.
354 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
355 rather use a pure virtual method bc() to access the controller
356 instantiated by the daughter classes.
358 * F*.[Ch]: changes associated with the above.
360 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
362 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
364 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
366 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
368 * ButtonController.[Ch]: deleted. The class is split into two
369 (with identical functionality), the code being found in
370 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
372 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
373 ButtonController class.
375 * FormBase.[Ch]: changes associated with the above split.
377 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
378 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
379 controlling all interaction to/from the LyX kernel.
382 * forms/form_citation.fd: An xforms-specific implementation of the
383 Citation dialog, controlled by the GUI-I ControlCitation.
385 * Dialogs.C: Use the controlled Citation dialog.
387 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
391 * combox.C: moved from src/
393 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
396 * forms/form_filedialog.C.patch: I hate having to make these patches,
397 but on reflection I think it's probably better than hacking fdfix.sh.
399 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
401 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
403 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
405 * FormGraphics.C: remove unnecessary hack
407 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
409 * FormCitation.C (apply): Do not put space between multiple keys.
411 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
413 * Menubar_pimpl.C (add_toc): Remove debug message.
415 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
423 * xforms/forms/makefile:
424 * forms/form_external.fd: add FormExternal
426 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
428 * Dialogs.C: add destroySplash()
432 * forms/form_splash.fd:
434 * FormSplash.C: make independent of FormBase, tidy
436 * Menubar_pimpl.C: destroy splash on interaction
438 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
444 * forms/form_include.fd: rework, clean up
446 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
448 * FormToc.h: use Buffer::typedef
450 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
451 * FormToc.C (build): ditto
454 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
456 * FormToc.C (build): implement for dynamic number of lists
458 * Menubar_pimpl.C (add_toc): ditto
460 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
467 * forms/form_credits.fd:
469 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
471 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
472 make ButtonList contain boost::shared_ptr<ItemInfo>
474 * Menubar_pimpl.C (~Pimpl): remove destructor
476 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
492 * form/form_filedialog.fd: add File Dialog
494 * Toolbar_pimpl.C: move LayoutsCB to here
496 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
498 * FormParagraph.C: changes because of ParagraphParameters.
500 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
502 * FormSearch.C (Replace): remove default argument
505 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
507 * added find/replace dialog:
508 * FormSearch.*: added
509 * form_search.*: added
510 * forms/form_search.fd: added
512 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
514 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
516 * various: in a rush of delayed guilt, I've renamed all instances of
517 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
520 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
521 activate/deactivate an FL_OBJECT.
530 * FormTabular.C: used it.
532 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
534 * FormPreferences.C: removed three unused using directives.
536 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
538 * added find/replace dialog:
539 * FormSearch.*: added
540 * form_search.*: added
541 * forms/form_search.fd: added
543 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
545 * FormRef.C: Fixed the behaviour of Goto-Ref.
547 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
549 * forms/makefile: added character and preamble dialogs
551 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
553 * FormCharacter.C (FormCharacter): change order of deletion,
554 change combo_language2 to combo_language2_
556 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
558 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
560 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
562 * Dialogs.C: added layoutcharacter
563 * FormCharacter.C: added
564 * FormCharacter.h: added
565 * form_character.C: added
566 * form_character.h: added
567 * forms/form_character.fd: added
569 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
571 * FormPreferences.C: Handle lyxrc.language_use_babel and
572 lyxrc.language_global_options.
574 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
576 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
578 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
580 * FormBase.C: no longer transient dialogs, XMapWindow()
581 in attempt to de-iconify
583 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
585 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
587 * FormDocument.C (checkMarginValues): Activate "use geometry" button
588 if using custom paper size/margin.
590 2001-02-21 Allan Rae <rae@lyx.org>
592 * forms/form_preferences.fd: larger, bold font for outer tabfolder
594 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
596 * src/frontends/xforms/Dialogs.C: added preamble
597 * src/frontends/xforms/FormPreamble.C: added
598 * src/frontends/xforms/FormPreamble.h: added
599 * src/frontends/xforms/Makefile.am: added
600 * src/frontends/xforms/form_preamble.C: added
601 * src/frontends/xforms/form_preamble.h: added
602 * src/frontends/xforms/form_preamble.fd: added
604 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
606 * FormBase.h: moved noncopyable derivation to DialogBase.
608 2001-02-19 Juergen Vigna <jug@sad.it>
610 * FormTabular.C (build): make all input field accepted only after
613 * forms/form_tabular.fd: removed default "Return" on Close-Button.
615 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
619 * FormInset.C (showInset): change associated with name change
620 inset::hide to inset::hideDialog.
622 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
624 * FormCitation.C (build): altering "Text after" now activates the Ok,
627 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
629 * FormCitation.C: lots of white-space changes to make file consistent
631 (input): use the FL_OBJECT * parameter to decide what to do, not the
634 * FormCitation.h: removed most entries in enum.
636 * forms/form_citation.fd: change names of variables, consistent with
637 Allan's naming scheme.
638 Don't pass any particular arguments to the InputCB function.
639 choice_style now triggers a callback and looks like other choices.
641 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
643 * other: use compare instead of strcmp/strncmp
645 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
647 * ButtonController.[Ch]: changed trigger_change_ vector and associated
648 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
649 callback to InputCB() but don't trigger a change in the state of the
650 Ok, Apply buttons are much rarer than those that do.
652 * FormCitation.C (build): associated change.
654 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
656 * ButtonController.C: include algorithm
658 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
660 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
662 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
663 the vector of FL_OBJECT *s that can trigger a change in the button state
664 is not empty, then a change of state will occur only if the FL_OBJECT *
665 is present in this vector.
667 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
668 the user to deactivate specific fields within restore().
669 (InputCB): pass the FL_OBJECT * to bc_.valid().
671 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
672 trigger a change of state in the Ok,Apply buttons.
673 (update): bc_.readOnly() to the start of the method. Similar reasoning
674 to that for FormBase::RestoreCB, above.
676 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
678 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
681 * forms/form_browser.fd:
682 * forms/form_copyright.fd:
683 * forms/form_error.fd:
684 * forms/form_tabular.fd:
686 Consistent shortcuts for Close button: Esc and Return only.
688 * forms/form_citation.fd:
689 * forms/form_document.fd:
690 * forms/form_index.fd:
691 * forms/form_paragraph.fd:
692 * forms/form_preferences.fd:
693 * forms/form_print.fd:
695 * forms/form_tabular_create.fd:
697 Consistent shortcut for Cancel button: Esc only.
699 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
701 * Dialogs.C: new Splash. Include, Bibitem/tex
703 * FormBase.h: make show() virtual for Splash's benefit
715 * forms/form_bibitem.fd:
716 * forms/form_bibtex.fd:
721 * forms/form_include.fd:
726 * forms/form_splash.fd: new forms
728 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
730 * FormLog.C: handle Literate build log nicely
732 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
734 * Menubar_pimpl.C: remove support for reference menuitem type.
736 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
740 * Timeout_pimpl.C: add Timeout implementation
742 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
746 * forms/form_browser.fd:
749 * FormBrowser.h: readonly browser form
755 * Dialogs.C: add Log and VCLog
757 * Makefile.am: add Log and VCLog, add updatesrc target
759 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
761 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
763 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
765 * FormPreferences.C (GetFrom): fix crash when there is no format
769 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
771 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
772 unsigned char correctly and so fix 2 bugs loading/changing colors.
774 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
776 * FormRef.C (update): Do not update dialog_->{ref,name,type}
778 Deactivate the type button when buffer is LinuxDoc/Docbook
779 (build): Uncomment calls to addReadOnly().
780 (updateBrowser) Do not disable the update button when there are no
782 (build, getType, getName): Use InsetRef::types.
784 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
786 * FormPrint.[Ch] (browse): new method to browse for file to print to.
788 * forms/form_print.fd: give the form a Browse button.
790 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
792 * FormRef.C (input): Fix the behavior of goto reference button.