1 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
5 (FormBase2): split into two template classes, FormDB (DialogBase) and
6 FormCB (ControllerBase) for greater flexibility.
10 * FormCitation.[Ch]: associated changes.
15 * forms/form_browser.fd: implemented controller-view split.
17 * Dialogs.C: associated changes.
19 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
22 * forms/form_bibtex.fd: implemented controller-view split.
24 * Dialogs.C: associated changes.
26 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
29 * forms/form_bibtex.fd: implemented controller-view split.
31 * Dialogs.C: associated changes.
33 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
35 * FormBaseDeprecated.[Ch]: rename title as title_.
37 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
38 with limited functionality. It got lost in the MVC merge.
40 * FormBaseDeprecated.C:
41 * FormBase.C (show): moved initialisation of minw_, minh_ here.
43 * FormBibitem.C (build):
44 * FormBibtex.C (build):
45 * FormBrowser.C (build):
46 * FormCharacter.C (build):
47 * FormCitation.C (build):
48 * FormCopyright.C (build):
49 * FormCredits.C (build):
50 * FormDocument.C (build):
51 * FormError.C (build):
52 * FormExternal.C (build):
53 * FormGraphics.C (build):
54 * FormInclude.C (build):
55 * FormIndex.C (build):
56 * FormMinipage.C (build):
57 * FormParagraph.C (build):
58 * FormPreamble.C (build):
59 * FormPreferences.C (build):
60 * FormPrint.C (build):
62 * FormSearch.C (build):
63 * FormTabular.C (build):
64 * FormTabularCreate.C (build):
66 * FormUrl.C (build): removed initialisation of minw_, minh_.
68 * The Maths Panel stuff no longer causes a crash on exit from LyX.
71 * forms/form_maths.fd: removed.
73 * forms/form_maths_delim.fd:
74 * forms/form_maths_deco.fd:
75 * forms/form_maths_matrix.fd:
76 * forms/form_maths_space.fd:
77 * forms/form_maths_panel.fd: new files.
78 Split contents of form_maths.fd into 5 new files, one for each form.
80 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
81 class FormMathsBitmap in FormMathsBitmap.[Ch].
83 * FormMathsPanel.[Ch]:
84 * FormMathsBitmap.[Ch]:
86 * FormMathsDelim.[Ch]:
87 * FormMathsMatrix.[Ch]:
88 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
89 one for each popup. Rewrite so that all the new classes are derived from
90 FormBaseBD. Clean up the logic in the process (I hope!).
92 * Makefile.am: added new fils, removed redundant ones.
94 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
96 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
100 2001-03-16 Juergen Vigna <jug@sad.it>
102 * Dialogs.C (Dialogs): create minipage options dialog.
104 * forms/form_minipage.fd:
108 * FormMinipage.h: new files for the minipage options dialog.
110 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
112 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
115 * forms/form_maths.fd: change C_FormBaseCancelCB to
116 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
118 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
120 * FormMaths.C: quash warnings
122 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
124 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
127 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
129 * Form_various.h: cleaned up #includes and forward declarations.
131 * Form_various.C: added "using SigC::slot" declaration.
133 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
135 * FormDocument.C (CheckChoiceClass): removed string tct as the
136 compiler warned that it was defined but never used.
137 removed USE_CLASS_COMBO.
139 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
150 * forms/form_maths.fd:
152 * forms/fdfix.sh: add maths panel
155 * bmtable.c: moved from src/
157 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
159 * FormParagraph.h: NO_PEXTRA
160 * FormParagraph.C (input): NO_PEXTRA
162 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
164 * several files: remove CXX_WORKING_NAMESPACES
166 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
168 * Merging changes from BRANCH_MVC back into HEAD.
170 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
172 * Dialogs.C (c-tor): Changes associated with storing a vector of
174 Use MVC Bibitem popup.
176 * FormBase.h: add a new template class FormBase2, derived from FormBase
177 to make life creating MVC popups even easier ;-)
180 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
181 Proof that a simple popup should be easy to implement!
183 * FormCitation.[Ch]: now derived from FormBase2.
185 * FormToc.C: added using std::vector directive.
187 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
189 * FormSearch.C: Add missing #pragma
191 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
194 * forms/form_citation.fd: added the ability to Search, both Simply and
195 for Regular Expressions. Use the Search code in the controller() to do
196 the actual searching.
198 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
200 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
201 * forms/makefile: added form_credits.fd
203 * Dialogs.C: added FormCredits and removed ShowCredits.
206 * forms/form_credits.fd:
207 * forms/form_search.fd: ported to the MVC way.
209 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
211 * xforms_helpers.h (formatted): now has default arguments for size and
214 * FormCitation.[Ch]: moved code out of this class and into
215 ControlCitation and associated helper funcs.
217 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
219 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
220 ButtonController::valid() to check state of input. The buttons are
221 now controlled correctly.
223 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
225 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
227 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
229 * FormBase.[Ch]: rename title as title_.
231 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
233 * FormBase.C (c-tor): initialise variables in correct order.
235 * FormCitation.C: add #include <algorithm>
237 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
239 * xformsBC.[Ch]: Changes associated with the changes to
240 controllers/ButtonController.[Ch]. Ie, the class is now derived from
241 ButtonControllerBase and the ButtonPolicy is accessed through a method
242 bp() rather than the instance bp_.
244 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
245 rather use a pure virtual method bc() to access the controller
246 instantiated by the daughter classes.
248 * F*.[Ch]: changes associated with the above.
250 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
252 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
254 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
256 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
258 * ButtonController.[Ch]: deleted. The class is split into two
259 (with identical functionality), the code being found in
260 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
262 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
263 ButtonController class.
265 * FormBase.[Ch]: changes associated with the above split.
267 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
268 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
269 controlling all interaction to/from the LyX kernel.
272 * forms/form_citation.fd: An xforms-specific implementation of the
273 Citation dialog, controlled by the GUI-I ControlCitation.
275 * Dialogs.C: Use the controlled Citation dialog.
277 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
281 * combox.C: moved from src/
283 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
286 * forms/form_filedialog.C.patch: I hate having to make these patches,
287 but on reflection I think it's probably better than hacking fdfix.sh.
289 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
291 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
293 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
295 * FormGraphics.C: remove unnecessary hack
297 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
299 * FormCitation.C (apply): Do not put space between multiple keys.
301 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
303 * Menubar_pimpl.C (add_toc): Remove debug message.
305 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
313 * xforms/forms/makefile:
314 * forms/form_external.fd: add FormExternal
316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
318 * Dialogs.C: add destroySplash()
322 * forms/form_splash.fd:
324 * FormSplash.C: make independent of FormBase, tidy
326 * Menubar_pimpl.C: destroy splash on interaction
328 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
334 * forms/form_include.fd: rework, clean up
336 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
338 * FormToc.h: use Buffer::typedef
340 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
341 * FormToc.C (build): ditto
344 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
346 * FormToc.C (build): implement for dynamic number of lists
348 * Menubar_pimpl.C (add_toc): ditto
350 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
357 * forms/form_credits.fd:
359 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
361 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
362 make ButtonList contain boost::shared_ptr<ItemInfo>
364 * Menubar_pimpl.C (~Pimpl): remove destructor
366 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
382 * form/form_filedialog.fd: add File Dialog
384 * Toolbar_pimpl.C: move LayoutsCB to here
386 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
388 * FormParagraph.C: changes because of ParagraphParameters.
390 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * FormSearch.C (Replace): remove default argument
395 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
397 * added find/replace dialog:
398 * FormSearch.*: added
399 * form_search.*: added
400 * forms/form_search.fd: added
402 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
404 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
406 * various: in a rush of delayed guilt, I've renamed all instances of
407 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
410 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
411 activate/deactivate an FL_OBJECT.
420 * FormTabular.C: used it.
422 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
424 * FormPreferences.C: removed three unused using directives.
426 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
428 * added find/replace dialog:
429 * FormSearch.*: added
430 * form_search.*: added
431 * forms/form_search.fd: added
433 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
435 * FormRef.C: Fixed the behaviour of Goto-Ref.
437 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
439 * forms/makefile: added character and preamble dialogs
441 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
443 * FormCharacter.C (FormCharacter): change order of deletion,
444 change combo_language2 to combo_language2_
446 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
448 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
450 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
452 * Dialogs.C: added layoutcharacter
453 * FormCharacter.C: added
454 * FormCharacter.h: added
455 * form_character.C: added
456 * form_character.h: added
457 * forms/form_character.fd: added
459 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
461 * FormPreferences.C: Handle lyxrc.language_use_babel and
462 lyxrc.language_global_options.
464 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
466 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
468 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
470 * FormBase.C: no longer transient dialogs, XMapWindow()
471 in attempt to de-iconify
473 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
475 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
477 * FormDocument.C (checkMarginValues): Activate "use geometry" button
478 if using custom paper size/margin.
480 2001-02-21 Allan Rae <rae@lyx.org>
482 * forms/form_preferences.fd: larger, bold font for outer tabfolder
484 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
486 * src/frontends/xforms/Dialogs.C: added preamble
487 * src/frontends/xforms/FormPreamble.C: added
488 * src/frontends/xforms/FormPreamble.h: added
489 * src/frontends/xforms/Makefile.am: added
490 * src/frontends/xforms/form_preamble.C: added
491 * src/frontends/xforms/form_preamble.h: added
492 * src/frontends/xforms/form_preamble.fd: added
494 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
496 * FormBase.h: moved noncopyable derivation to DialogBase.
498 2001-02-19 Juergen Vigna <jug@sad.it>
500 * FormTabular.C (build): make all input field accepted only after
503 * forms/form_tabular.fd: removed default "Return" on Close-Button.
505 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
509 * FormInset.C (showInset): change associated with name change
510 inset::hide to inset::hideDialog.
512 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
514 * FormCitation.C (build): altering "Text after" now activates the Ok,
517 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
519 * FormCitation.C: lots of white-space changes to make file consistent
521 (input): use the FL_OBJECT * parameter to decide what to do, not the
524 * FormCitation.h: removed most entries in enum.
526 * forms/form_citation.fd: change names of variables, consistent with
527 Allan's naming scheme.
528 Don't pass any particular arguments to the InputCB function.
529 choice_style now triggers a callback and looks like other choices.
531 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
533 * other: use compare instead of strcmp/strncmp
535 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
537 * ButtonController.[Ch]: changed trigger_change_ vector and associated
538 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
539 callback to InputCB() but don't trigger a change in the state of the
540 Ok, Apply buttons are much rarer than those that do.
542 * FormCitation.C (build): associated change.
544 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
546 * ButtonController.C: include algorithm
548 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
550 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
552 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
553 the vector of FL_OBJECT *s that can trigger a change in the button state
554 is not empty, then a change of state will occur only if the FL_OBJECT *
555 is present in this vector.
557 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
558 the user to deactivate specific fields within restore().
559 (InputCB): pass the FL_OBJECT * to bc_.valid().
561 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
562 trigger a change of state in the Ok,Apply buttons.
563 (update): bc_.readOnly() to the start of the method. Similar reasoning
564 to that for FormBase::RestoreCB, above.
566 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
568 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
571 * forms/form_browser.fd:
572 * forms/form_copyright.fd:
573 * forms/form_error.fd:
574 * forms/form_tabular.fd:
576 Consistent shortcuts for Close button: Esc and Return only.
578 * forms/form_citation.fd:
579 * forms/form_document.fd:
580 * forms/form_index.fd:
581 * forms/form_paragraph.fd:
582 * forms/form_preferences.fd:
583 * forms/form_print.fd:
585 * forms/form_tabular_create.fd:
587 Consistent shortcut for Cancel button: Esc only.
589 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
591 * Dialogs.C: new Splash. Include, Bibitem/tex
593 * FormBase.h: make show() virtual for Splash's benefit
605 * forms/form_bibitem.fd:
606 * forms/form_bibtex.fd:
611 * forms/form_include.fd:
616 * forms/form_splash.fd: new forms
618 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
620 * FormLog.C: handle Literate build log nicely
622 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * Menubar_pimpl.C: remove support for reference menuitem type.
626 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
630 * Timeout_pimpl.C: add Timeout implementation
632 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
636 * forms/form_browser.fd:
639 * FormBrowser.h: readonly browser form
645 * Dialogs.C: add Log and VCLog
647 * Makefile.am: add Log and VCLog, add updatesrc target
649 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
651 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
653 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
655 * FormPreferences.C (GetFrom): fix crash when there is no format
659 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
661 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
662 unsigned char correctly and so fix 2 bugs loading/changing colors.
664 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
666 * FormRef.C (update): Do not update dialog_->{ref,name,type}
668 Deactivate the type button when buffer is LinuxDoc/Docbook
669 (build): Uncomment calls to addReadOnly().
670 (updateBrowser) Do not disable the update button when there are no
672 (build, getType, getName): Use InsetRef::types.
674 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
676 * FormPrint.[Ch] (browse): new method to browse for file to print to.
678 * forms/form_print.fd: give the form a Browse button.
680 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
682 * FormRef.C (input): Fix the behavior of goto reference button.