1 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8 * form_url.fd: implemented controller-view split.
10 * Dialogs.C: associated changes.
14 * FormCitation.h: moved methods from protected to private.
16 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18 * FormCredits.C (build): changes associated with
19 ControlCredits::getCredits returning a stringstream not a vector<string>
21 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
24 * forms/form_copyright.fd: implemented controller-view split.
27 * forms/form_credits.fd: implemented controller-view split.
29 * Dialogs.C: associated changes.
31 * xforms_helpers.C (formatted): improved the function so that it now
32 repects '\n' characters in the input string. Ie, the user can now
33 specify line breaks explicitly.
35 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
38 * forms/form_character.fd: implemented controller-view split.
40 * Dialogs.C: associated changes.
42 * FormBase.C (input): changed return to SMI_VALID.
44 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
45 any surrounding whitespace.
47 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
49 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
51 (FormBase2): split into two template classes, FormDB (DialogBase) and
52 FormCB (ControllerBase) for greater flexibility.
56 * FormCitation.[Ch]: associated changes.
61 * forms/form_browser.fd: implemented controller-view split.
63 * Dialogs.C: associated changes.
65 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
68 * forms/form_bibtex.fd: implemented controller-view split.
70 * Dialogs.C: associated changes.
72 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
74 * FormBaseDeprecated.[Ch]: rename title as title_.
76 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
77 with limited functionality. It got lost in the MVC merge.
79 * FormBaseDeprecated.C:
80 * FormBase.C (show): moved initialisation of minw_, minh_ here.
82 * FormBibitem.C (build):
83 * FormBibtex.C (build):
84 * FormBrowser.C (build):
85 * FormCharacter.C (build):
86 * FormCitation.C (build):
87 * FormCopyright.C (build):
88 * FormCredits.C (build):
89 * FormDocument.C (build):
90 * FormError.C (build):
91 * FormExternal.C (build):
92 * FormGraphics.C (build):
93 * FormInclude.C (build):
94 * FormIndex.C (build):
95 * FormMinipage.C (build):
96 * FormParagraph.C (build):
97 * FormPreamble.C (build):
98 * FormPreferences.C (build):
99 * FormPrint.C (build):
101 * FormSearch.C (build):
102 * FormTabular.C (build):
103 * FormTabularCreate.C (build):
105 * FormUrl.C (build): removed initialisation of minw_, minh_.
107 * The Maths Panel stuff no longer causes a crash on exit from LyX.
110 * forms/form_maths.fd: removed.
112 * forms/form_maths_delim.fd:
113 * forms/form_maths_deco.fd:
114 * forms/form_maths_matrix.fd:
115 * forms/form_maths_space.fd:
116 * forms/form_maths_panel.fd: new files.
117 Split contents of form_maths.fd into 5 new files, one for each form.
119 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
120 class FormMathsBitmap in FormMathsBitmap.[Ch].
122 * FormMathsPanel.[Ch]:
123 * FormMathsBitmap.[Ch]:
124 * FormMathsDeco.[Ch]:
125 * FormMathsDelim.[Ch]:
126 * FormMathsMatrix.[Ch]:
127 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
128 one for each popup. Rewrite so that all the new classes are derived from
129 FormBaseBD. Clean up the logic in the process (I hope!).
131 * Makefile.am: added new fils, removed redundant ones.
133 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
135 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
139 2001-03-16 Juergen Vigna <jug@sad.it>
141 * Dialogs.C (Dialogs): create minipage options dialog.
143 * forms/form_minipage.fd:
147 * FormMinipage.h: new files for the minipage options dialog.
149 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
151 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
154 * forms/form_maths.fd: change C_FormBaseCancelCB to
155 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
157 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
159 * FormMaths.C: quash warnings
161 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
166 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
168 * Form_various.h: cleaned up #includes and forward declarations.
170 * Form_various.C: added "using SigC::slot" declaration.
172 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
174 * FormDocument.C (CheckChoiceClass): removed string tct as the
175 compiler warned that it was defined but never used.
176 removed USE_CLASS_COMBO.
178 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
189 * forms/form_maths.fd:
191 * forms/fdfix.sh: add maths panel
194 * bmtable.c: moved from src/
196 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
198 * FormParagraph.h: NO_PEXTRA
199 * FormParagraph.C (input): NO_PEXTRA
201 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
203 * several files: remove CXX_WORKING_NAMESPACES
205 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
207 * Merging changes from BRANCH_MVC back into HEAD.
209 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
211 * Dialogs.C (c-tor): Changes associated with storing a vector of
213 Use MVC Bibitem popup.
215 * FormBase.h: add a new template class FormBase2, derived from FormBase
216 to make life creating MVC popups even easier ;-)
219 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
220 Proof that a simple popup should be easy to implement!
222 * FormCitation.[Ch]: now derived from FormBase2.
224 * FormToc.C: added using std::vector directive.
226 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
228 * FormSearch.C: Add missing #pragma
230 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
233 * forms/form_citation.fd: added the ability to Search, both Simply and
234 for Regular Expressions. Use the Search code in the controller() to do
235 the actual searching.
237 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
239 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
240 * forms/makefile: added form_credits.fd
242 * Dialogs.C: added FormCredits and removed ShowCredits.
245 * forms/form_credits.fd:
246 * forms/form_search.fd: ported to the MVC way.
248 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
250 * xforms_helpers.h (formatted): now has default arguments for size and
253 * FormCitation.[Ch]: moved code out of this class and into
254 ControlCitation and associated helper funcs.
256 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
258 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
259 ButtonController::valid() to check state of input. The buttons are
260 now controlled correctly.
262 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
264 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
268 * FormBase.[Ch]: rename title as title_.
270 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
272 * FormBase.C (c-tor): initialise variables in correct order.
274 * FormCitation.C: add #include <algorithm>
276 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
278 * xformsBC.[Ch]: Changes associated with the changes to
279 controllers/ButtonController.[Ch]. Ie, the class is now derived from
280 ButtonControllerBase and the ButtonPolicy is accessed through a method
281 bp() rather than the instance bp_.
283 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
284 rather use a pure virtual method bc() to access the controller
285 instantiated by the daughter classes.
287 * F*.[Ch]: changes associated with the above.
289 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
291 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
293 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
295 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
297 * ButtonController.[Ch]: deleted. The class is split into two
298 (with identical functionality), the code being found in
299 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
301 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
302 ButtonController class.
304 * FormBase.[Ch]: changes associated with the above split.
306 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
307 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
308 controlling all interaction to/from the LyX kernel.
311 * forms/form_citation.fd: An xforms-specific implementation of the
312 Citation dialog, controlled by the GUI-I ControlCitation.
314 * Dialogs.C: Use the controlled Citation dialog.
316 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
320 * combox.C: moved from src/
322 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
325 * forms/form_filedialog.C.patch: I hate having to make these patches,
326 but on reflection I think it's probably better than hacking fdfix.sh.
328 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
330 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
332 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
334 * FormGraphics.C: remove unnecessary hack
336 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
338 * FormCitation.C (apply): Do not put space between multiple keys.
340 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
342 * Menubar_pimpl.C (add_toc): Remove debug message.
344 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
352 * xforms/forms/makefile:
353 * forms/form_external.fd: add FormExternal
355 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
357 * Dialogs.C: add destroySplash()
361 * forms/form_splash.fd:
363 * FormSplash.C: make independent of FormBase, tidy
365 * Menubar_pimpl.C: destroy splash on interaction
367 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
373 * forms/form_include.fd: rework, clean up
375 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
377 * FormToc.h: use Buffer::typedef
379 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
380 * FormToc.C (build): ditto
383 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
385 * FormToc.C (build): implement for dynamic number of lists
387 * Menubar_pimpl.C (add_toc): ditto
389 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
396 * forms/form_credits.fd:
398 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
400 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
401 make ButtonList contain boost::shared_ptr<ItemInfo>
403 * Menubar_pimpl.C (~Pimpl): remove destructor
405 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
421 * form/form_filedialog.fd: add File Dialog
423 * Toolbar_pimpl.C: move LayoutsCB to here
425 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
427 * FormParagraph.C: changes because of ParagraphParameters.
429 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * FormSearch.C (Replace): remove default argument
434 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
436 * added find/replace dialog:
437 * FormSearch.*: added
438 * form_search.*: added
439 * forms/form_search.fd: added
441 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
443 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
445 * various: in a rush of delayed guilt, I've renamed all instances of
446 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
449 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
450 activate/deactivate an FL_OBJECT.
459 * FormTabular.C: used it.
461 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
463 * FormPreferences.C: removed three unused using directives.
465 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
467 * added find/replace dialog:
468 * FormSearch.*: added
469 * form_search.*: added
470 * forms/form_search.fd: added
472 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
474 * FormRef.C: Fixed the behaviour of Goto-Ref.
476 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
478 * forms/makefile: added character and preamble dialogs
480 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
482 * FormCharacter.C (FormCharacter): change order of deletion,
483 change combo_language2 to combo_language2_
485 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
487 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
489 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
491 * Dialogs.C: added layoutcharacter
492 * FormCharacter.C: added
493 * FormCharacter.h: added
494 * form_character.C: added
495 * form_character.h: added
496 * forms/form_character.fd: added
498 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
500 * FormPreferences.C: Handle lyxrc.language_use_babel and
501 lyxrc.language_global_options.
503 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
505 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
507 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
509 * FormBase.C: no longer transient dialogs, XMapWindow()
510 in attempt to de-iconify
512 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
514 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
516 * FormDocument.C (checkMarginValues): Activate "use geometry" button
517 if using custom paper size/margin.
519 2001-02-21 Allan Rae <rae@lyx.org>
521 * forms/form_preferences.fd: larger, bold font for outer tabfolder
523 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
525 * src/frontends/xforms/Dialogs.C: added preamble
526 * src/frontends/xforms/FormPreamble.C: added
527 * src/frontends/xforms/FormPreamble.h: added
528 * src/frontends/xforms/Makefile.am: added
529 * src/frontends/xforms/form_preamble.C: added
530 * src/frontends/xforms/form_preamble.h: added
531 * src/frontends/xforms/form_preamble.fd: added
533 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
535 * FormBase.h: moved noncopyable derivation to DialogBase.
537 2001-02-19 Juergen Vigna <jug@sad.it>
539 * FormTabular.C (build): make all input field accepted only after
542 * forms/form_tabular.fd: removed default "Return" on Close-Button.
544 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
548 * FormInset.C (showInset): change associated with name change
549 inset::hide to inset::hideDialog.
551 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
553 * FormCitation.C (build): altering "Text after" now activates the Ok,
556 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
558 * FormCitation.C: lots of white-space changes to make file consistent
560 (input): use the FL_OBJECT * parameter to decide what to do, not the
563 * FormCitation.h: removed most entries in enum.
565 * forms/form_citation.fd: change names of variables, consistent with
566 Allan's naming scheme.
567 Don't pass any particular arguments to the InputCB function.
568 choice_style now triggers a callback and looks like other choices.
570 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
572 * other: use compare instead of strcmp/strncmp
574 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
576 * ButtonController.[Ch]: changed trigger_change_ vector and associated
577 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
578 callback to InputCB() but don't trigger a change in the state of the
579 Ok, Apply buttons are much rarer than those that do.
581 * FormCitation.C (build): associated change.
583 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
585 * ButtonController.C: include algorithm
587 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
589 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
591 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
592 the vector of FL_OBJECT *s that can trigger a change in the button state
593 is not empty, then a change of state will occur only if the FL_OBJECT *
594 is present in this vector.
596 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
597 the user to deactivate specific fields within restore().
598 (InputCB): pass the FL_OBJECT * to bc_.valid().
600 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
601 trigger a change of state in the Ok,Apply buttons.
602 (update): bc_.readOnly() to the start of the method. Similar reasoning
603 to that for FormBase::RestoreCB, above.
605 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
607 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
610 * forms/form_browser.fd:
611 * forms/form_copyright.fd:
612 * forms/form_error.fd:
613 * forms/form_tabular.fd:
615 Consistent shortcuts for Close button: Esc and Return only.
617 * forms/form_citation.fd:
618 * forms/form_document.fd:
619 * forms/form_index.fd:
620 * forms/form_paragraph.fd:
621 * forms/form_preferences.fd:
622 * forms/form_print.fd:
624 * forms/form_tabular_create.fd:
626 Consistent shortcut for Cancel button: Esc only.
628 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
630 * Dialogs.C: new Splash. Include, Bibitem/tex
632 * FormBase.h: make show() virtual for Splash's benefit
644 * forms/form_bibitem.fd:
645 * forms/form_bibtex.fd:
650 * forms/form_include.fd:
655 * forms/form_splash.fd: new forms
657 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
659 * FormLog.C: handle Literate build log nicely
661 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
663 * Menubar_pimpl.C: remove support for reference menuitem type.
665 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
669 * Timeout_pimpl.C: add Timeout implementation
671 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
675 * forms/form_browser.fd:
678 * FormBrowser.h: readonly browser form
684 * Dialogs.C: add Log and VCLog
686 * Makefile.am: add Log and VCLog, add updatesrc target
688 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
690 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
692 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
694 * FormPreferences.C (GetFrom): fix crash when there is no format
698 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
700 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
701 unsigned char correctly and so fix 2 bugs loading/changing colors.
703 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
705 * FormRef.C (update): Do not update dialog_->{ref,name,type}
707 Deactivate the type button when buffer is LinuxDoc/Docbook
708 (build): Uncomment calls to addReadOnly().
709 (updateBrowser) Do not disable the update button when there are no
711 (build, getType, getName): Use InsetRef::types.
713 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
715 * FormPrint.[Ch] (browse): new method to browse for file to print to.
717 * forms/form_print.fd: give the form a Browse button.
719 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
721 * FormRef.C (input): Fix the behavior of goto reference button.