1 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4 * forms/form_copyright.fd: implemented controller-view split.
7 * forms/form_credits.fd: implemented controller-view split.
9 * Dialogs.C: associated changes.
11 * xforms_helpers.C (formatted): improved the function so that it now
12 repects '\n' characters in the input string. Ie, the user can now
13 specify line breaks explicitly.
15 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
18 * forms/form_character.fd: implemented controller-view split.
20 * Dialogs.C: associated changes.
22 * FormBase.C (input): changed return to SMI_VALID.
24 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
25 any surrounding whitespace.
27 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
29 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
31 (FormBase2): split into two template classes, FormDB (DialogBase) and
32 FormCB (ControllerBase) for greater flexibility.
36 * FormCitation.[Ch]: associated changes.
41 * forms/form_browser.fd: implemented controller-view split.
43 * Dialogs.C: associated changes.
45 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
48 * forms/form_bibtex.fd: implemented controller-view split.
50 * Dialogs.C: associated changes.
52 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
54 * FormBaseDeprecated.[Ch]: rename title as title_.
56 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
57 with limited functionality. It got lost in the MVC merge.
59 * FormBaseDeprecated.C:
60 * FormBase.C (show): moved initialisation of minw_, minh_ here.
62 * FormBibitem.C (build):
63 * FormBibtex.C (build):
64 * FormBrowser.C (build):
65 * FormCharacter.C (build):
66 * FormCitation.C (build):
67 * FormCopyright.C (build):
68 * FormCredits.C (build):
69 * FormDocument.C (build):
70 * FormError.C (build):
71 * FormExternal.C (build):
72 * FormGraphics.C (build):
73 * FormInclude.C (build):
74 * FormIndex.C (build):
75 * FormMinipage.C (build):
76 * FormParagraph.C (build):
77 * FormPreamble.C (build):
78 * FormPreferences.C (build):
79 * FormPrint.C (build):
81 * FormSearch.C (build):
82 * FormTabular.C (build):
83 * FormTabularCreate.C (build):
85 * FormUrl.C (build): removed initialisation of minw_, minh_.
87 * The Maths Panel stuff no longer causes a crash on exit from LyX.
90 * forms/form_maths.fd: removed.
92 * forms/form_maths_delim.fd:
93 * forms/form_maths_deco.fd:
94 * forms/form_maths_matrix.fd:
95 * forms/form_maths_space.fd:
96 * forms/form_maths_panel.fd: new files.
97 Split contents of form_maths.fd into 5 new files, one for each form.
99 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
100 class FormMathsBitmap in FormMathsBitmap.[Ch].
102 * FormMathsPanel.[Ch]:
103 * FormMathsBitmap.[Ch]:
104 * FormMathsDeco.[Ch]:
105 * FormMathsDelim.[Ch]:
106 * FormMathsMatrix.[Ch]:
107 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
108 one for each popup. Rewrite so that all the new classes are derived from
109 FormBaseBD. Clean up the logic in the process (I hope!).
111 * Makefile.am: added new fils, removed redundant ones.
113 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
115 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
119 2001-03-16 Juergen Vigna <jug@sad.it>
121 * Dialogs.C (Dialogs): create minipage options dialog.
123 * forms/form_minipage.fd:
127 * FormMinipage.h: new files for the minipage options dialog.
129 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
131 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
134 * forms/form_maths.fd: change C_FormBaseCancelCB to
135 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
137 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
139 * FormMaths.C: quash warnings
141 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
143 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
146 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
148 * Form_various.h: cleaned up #includes and forward declarations.
150 * Form_various.C: added "using SigC::slot" declaration.
152 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
154 * FormDocument.C (CheckChoiceClass): removed string tct as the
155 compiler warned that it was defined but never used.
156 removed USE_CLASS_COMBO.
158 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
169 * forms/form_maths.fd:
171 * forms/fdfix.sh: add maths panel
174 * bmtable.c: moved from src/
176 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
178 * FormParagraph.h: NO_PEXTRA
179 * FormParagraph.C (input): NO_PEXTRA
181 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
183 * several files: remove CXX_WORKING_NAMESPACES
185 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
187 * Merging changes from BRANCH_MVC back into HEAD.
189 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
191 * Dialogs.C (c-tor): Changes associated with storing a vector of
193 Use MVC Bibitem popup.
195 * FormBase.h: add a new template class FormBase2, derived from FormBase
196 to make life creating MVC popups even easier ;-)
199 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
200 Proof that a simple popup should be easy to implement!
202 * FormCitation.[Ch]: now derived from FormBase2.
204 * FormToc.C: added using std::vector directive.
206 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
208 * FormSearch.C: Add missing #pragma
210 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
213 * forms/form_citation.fd: added the ability to Search, both Simply and
214 for Regular Expressions. Use the Search code in the controller() to do
215 the actual searching.
217 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
219 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
220 * forms/makefile: added form_credits.fd
222 * Dialogs.C: added FormCredits and removed ShowCredits.
225 * forms/form_credits.fd:
226 * forms/form_search.fd: ported to the MVC way.
228 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
230 * xforms_helpers.h (formatted): now has default arguments for size and
233 * FormCitation.[Ch]: moved code out of this class and into
234 ControlCitation and associated helper funcs.
236 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
238 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
239 ButtonController::valid() to check state of input. The buttons are
240 now controlled correctly.
242 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
244 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
246 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
248 * FormBase.[Ch]: rename title as title_.
250 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
252 * FormBase.C (c-tor): initialise variables in correct order.
254 * FormCitation.C: add #include <algorithm>
256 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
258 * xformsBC.[Ch]: Changes associated with the changes to
259 controllers/ButtonController.[Ch]. Ie, the class is now derived from
260 ButtonControllerBase and the ButtonPolicy is accessed through a method
261 bp() rather than the instance bp_.
263 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
264 rather use a pure virtual method bc() to access the controller
265 instantiated by the daughter classes.
267 * F*.[Ch]: changes associated with the above.
269 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
271 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
273 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
275 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
277 * ButtonController.[Ch]: deleted. The class is split into two
278 (with identical functionality), the code being found in
279 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
281 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
282 ButtonController class.
284 * FormBase.[Ch]: changes associated with the above split.
286 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
287 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
288 controlling all interaction to/from the LyX kernel.
291 * forms/form_citation.fd: An xforms-specific implementation of the
292 Citation dialog, controlled by the GUI-I ControlCitation.
294 * Dialogs.C: Use the controlled Citation dialog.
296 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
300 * combox.C: moved from src/
302 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
305 * forms/form_filedialog.C.patch: I hate having to make these patches,
306 but on reflection I think it's probably better than hacking fdfix.sh.
308 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
310 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
312 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
314 * FormGraphics.C: remove unnecessary hack
316 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
318 * FormCitation.C (apply): Do not put space between multiple keys.
320 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
322 * Menubar_pimpl.C (add_toc): Remove debug message.
324 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
332 * xforms/forms/makefile:
333 * forms/form_external.fd: add FormExternal
335 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
337 * Dialogs.C: add destroySplash()
341 * forms/form_splash.fd:
343 * FormSplash.C: make independent of FormBase, tidy
345 * Menubar_pimpl.C: destroy splash on interaction
347 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
353 * forms/form_include.fd: rework, clean up
355 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
357 * FormToc.h: use Buffer::typedef
359 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
360 * FormToc.C (build): ditto
363 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
365 * FormToc.C (build): implement for dynamic number of lists
367 * Menubar_pimpl.C (add_toc): ditto
369 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
376 * forms/form_credits.fd:
378 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
380 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
381 make ButtonList contain boost::shared_ptr<ItemInfo>
383 * Menubar_pimpl.C (~Pimpl): remove destructor
385 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
401 * form/form_filedialog.fd: add File Dialog
403 * Toolbar_pimpl.C: move LayoutsCB to here
405 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
407 * FormParagraph.C: changes because of ParagraphParameters.
409 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * FormSearch.C (Replace): remove default argument
414 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
416 * added find/replace dialog:
417 * FormSearch.*: added
418 * form_search.*: added
419 * forms/form_search.fd: added
421 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
423 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
425 * various: in a rush of delayed guilt, I've renamed all instances of
426 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
429 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
430 activate/deactivate an FL_OBJECT.
439 * FormTabular.C: used it.
441 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
443 * FormPreferences.C: removed three unused using directives.
445 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
447 * added find/replace dialog:
448 * FormSearch.*: added
449 * form_search.*: added
450 * forms/form_search.fd: added
452 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
454 * FormRef.C: Fixed the behaviour of Goto-Ref.
456 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
458 * forms/makefile: added character and preamble dialogs
460 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
462 * FormCharacter.C (FormCharacter): change order of deletion,
463 change combo_language2 to combo_language2_
465 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
467 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
469 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
471 * Dialogs.C: added layoutcharacter
472 * FormCharacter.C: added
473 * FormCharacter.h: added
474 * form_character.C: added
475 * form_character.h: added
476 * forms/form_character.fd: added
478 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
480 * FormPreferences.C: Handle lyxrc.language_use_babel and
481 lyxrc.language_global_options.
483 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
485 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
487 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
489 * FormBase.C: no longer transient dialogs, XMapWindow()
490 in attempt to de-iconify
492 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
494 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
496 * FormDocument.C (checkMarginValues): Activate "use geometry" button
497 if using custom paper size/margin.
499 2001-02-21 Allan Rae <rae@lyx.org>
501 * forms/form_preferences.fd: larger, bold font for outer tabfolder
503 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
505 * src/frontends/xforms/Dialogs.C: added preamble
506 * src/frontends/xforms/FormPreamble.C: added
507 * src/frontends/xforms/FormPreamble.h: added
508 * src/frontends/xforms/Makefile.am: added
509 * src/frontends/xforms/form_preamble.C: added
510 * src/frontends/xforms/form_preamble.h: added
511 * src/frontends/xforms/form_preamble.fd: added
513 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
515 * FormBase.h: moved noncopyable derivation to DialogBase.
517 2001-02-19 Juergen Vigna <jug@sad.it>
519 * FormTabular.C (build): make all input field accepted only after
522 * forms/form_tabular.fd: removed default "Return" on Close-Button.
524 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
528 * FormInset.C (showInset): change associated with name change
529 inset::hide to inset::hideDialog.
531 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
533 * FormCitation.C (build): altering "Text after" now activates the Ok,
536 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
538 * FormCitation.C: lots of white-space changes to make file consistent
540 (input): use the FL_OBJECT * parameter to decide what to do, not the
543 * FormCitation.h: removed most entries in enum.
545 * forms/form_citation.fd: change names of variables, consistent with
546 Allan's naming scheme.
547 Don't pass any particular arguments to the InputCB function.
548 choice_style now triggers a callback and looks like other choices.
550 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
552 * other: use compare instead of strcmp/strncmp
554 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
556 * ButtonController.[Ch]: changed trigger_change_ vector and associated
557 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
558 callback to InputCB() but don't trigger a change in the state of the
559 Ok, Apply buttons are much rarer than those that do.
561 * FormCitation.C (build): associated change.
563 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
565 * ButtonController.C: include algorithm
567 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
569 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
571 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
572 the vector of FL_OBJECT *s that can trigger a change in the button state
573 is not empty, then a change of state will occur only if the FL_OBJECT *
574 is present in this vector.
576 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
577 the user to deactivate specific fields within restore().
578 (InputCB): pass the FL_OBJECT * to bc_.valid().
580 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
581 trigger a change of state in the Ok,Apply buttons.
582 (update): bc_.readOnly() to the start of the method. Similar reasoning
583 to that for FormBase::RestoreCB, above.
585 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
587 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
590 * forms/form_browser.fd:
591 * forms/form_copyright.fd:
592 * forms/form_error.fd:
593 * forms/form_tabular.fd:
595 Consistent shortcuts for Close button: Esc and Return only.
597 * forms/form_citation.fd:
598 * forms/form_document.fd:
599 * forms/form_index.fd:
600 * forms/form_paragraph.fd:
601 * forms/form_preferences.fd:
602 * forms/form_print.fd:
604 * forms/form_tabular_create.fd:
606 Consistent shortcut for Cancel button: Esc only.
608 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
610 * Dialogs.C: new Splash. Include, Bibitem/tex
612 * FormBase.h: make show() virtual for Splash's benefit
624 * forms/form_bibitem.fd:
625 * forms/form_bibtex.fd:
630 * forms/form_include.fd:
635 * forms/form_splash.fd: new forms
637 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
639 * FormLog.C: handle Literate build log nicely
641 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
643 * Menubar_pimpl.C: remove support for reference menuitem type.
645 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
649 * Timeout_pimpl.C: add Timeout implementation
651 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
655 * forms/form_browser.fd:
658 * FormBrowser.h: readonly browser form
664 * Dialogs.C: add Log and VCLog
666 * Makefile.am: add Log and VCLog, add updatesrc target
668 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
670 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
672 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * FormPreferences.C (GetFrom): fix crash when there is no format
678 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
680 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
681 unsigned char correctly and so fix 2 bugs loading/changing colors.
683 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
685 * FormRef.C (update): Do not update dialog_->{ref,name,type}
687 Deactivate the type button when buffer is LinuxDoc/Docbook
688 (build): Uncomment calls to addReadOnly().
689 (updateBrowser) Do not disable the update button when there are no
691 (build, getType, getName): Use InsetRef::types.
693 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
695 * FormPrint.[Ch] (browse): new method to browse for file to print to.
697 * forms/form_print.fd: give the form a Browse button.
699 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
701 * FormRef.C (input): Fix the behavior of goto reference button.