1 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5 * FormTabularCreate.[Ch]:
6 * forms/form_tabular_create.fd: implemented controller-view split.
8 * Dialogs.C: associated changes.
10 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17 * form_url.fd: implemented controller-view split.
19 * Dialogs.C: associated changes.
23 * FormCitation.h: moved methods from protected to private.
25 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
27 * FormCredits.C (build): changes associated with
28 ControlCredits::getCredits returning a stringstream not a vector<string>
30 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
33 * forms/form_copyright.fd: implemented controller-view split.
36 * forms/form_credits.fd: implemented controller-view split.
38 * Dialogs.C: associated changes.
40 * xforms_helpers.C (formatted): improved the function so that it now
41 repects '\n' characters in the input string. Ie, the user can now
42 specify line breaks explicitly.
44 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
47 * forms/form_character.fd: implemented controller-view split.
49 * Dialogs.C: associated changes.
51 * FormBase.C (input): changed return to SMI_VALID.
53 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
54 any surrounding whitespace.
56 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
58 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
60 (FormBase2): split into two template classes, FormDB (DialogBase) and
61 FormCB (ControllerBase) for greater flexibility.
65 * FormCitation.[Ch]: associated changes.
70 * forms/form_browser.fd: implemented controller-view split.
72 * Dialogs.C: associated changes.
74 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
77 * forms/form_bibtex.fd: implemented controller-view split.
79 * Dialogs.C: associated changes.
81 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
83 * FormBaseDeprecated.[Ch]: rename title as title_.
85 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
86 with limited functionality. It got lost in the MVC merge.
88 * FormBaseDeprecated.C:
89 * FormBase.C (show): moved initialisation of minw_, minh_ here.
91 * FormBibitem.C (build):
92 * FormBibtex.C (build):
93 * FormBrowser.C (build):
94 * FormCharacter.C (build):
95 * FormCitation.C (build):
96 * FormCopyright.C (build):
97 * FormCredits.C (build):
98 * FormDocument.C (build):
99 * FormError.C (build):
100 * FormExternal.C (build):
101 * FormGraphics.C (build):
102 * FormInclude.C (build):
103 * FormIndex.C (build):
104 * FormMinipage.C (build):
105 * FormParagraph.C (build):
106 * FormPreamble.C (build):
107 * FormPreferences.C (build):
108 * FormPrint.C (build):
110 * FormSearch.C (build):
111 * FormTabular.C (build):
112 * FormTabularCreate.C (build):
114 * FormUrl.C (build): removed initialisation of minw_, minh_.
116 * The Maths Panel stuff no longer causes a crash on exit from LyX.
119 * forms/form_maths.fd: removed.
121 * forms/form_maths_delim.fd:
122 * forms/form_maths_deco.fd:
123 * forms/form_maths_matrix.fd:
124 * forms/form_maths_space.fd:
125 * forms/form_maths_panel.fd: new files.
126 Split contents of form_maths.fd into 5 new files, one for each form.
128 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
129 class FormMathsBitmap in FormMathsBitmap.[Ch].
131 * FormMathsPanel.[Ch]:
132 * FormMathsBitmap.[Ch]:
133 * FormMathsDeco.[Ch]:
134 * FormMathsDelim.[Ch]:
135 * FormMathsMatrix.[Ch]:
136 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
137 one for each popup. Rewrite so that all the new classes are derived from
138 FormBaseBD. Clean up the logic in the process (I hope!).
140 * Makefile.am: added new fils, removed redundant ones.
142 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
144 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
148 2001-03-16 Juergen Vigna <jug@sad.it>
150 * Dialogs.C (Dialogs): create minipage options dialog.
152 * forms/form_minipage.fd:
156 * FormMinipage.h: new files for the minipage options dialog.
158 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
160 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
163 * forms/form_maths.fd: change C_FormBaseCancelCB to
164 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
166 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
168 * FormMaths.C: quash warnings
170 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
172 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
175 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
177 * Form_various.h: cleaned up #includes and forward declarations.
179 * Form_various.C: added "using SigC::slot" declaration.
181 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
183 * FormDocument.C (CheckChoiceClass): removed string tct as the
184 compiler warned that it was defined but never used.
185 removed USE_CLASS_COMBO.
187 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
198 * forms/form_maths.fd:
200 * forms/fdfix.sh: add maths panel
203 * bmtable.c: moved from src/
205 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
207 * FormParagraph.h: NO_PEXTRA
208 * FormParagraph.C (input): NO_PEXTRA
210 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
212 * several files: remove CXX_WORKING_NAMESPACES
214 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
216 * Merging changes from BRANCH_MVC back into HEAD.
218 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
220 * Dialogs.C (c-tor): Changes associated with storing a vector of
222 Use MVC Bibitem popup.
224 * FormBase.h: add a new template class FormBase2, derived from FormBase
225 to make life creating MVC popups even easier ;-)
228 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
229 Proof that a simple popup should be easy to implement!
231 * FormCitation.[Ch]: now derived from FormBase2.
233 * FormToc.C: added using std::vector directive.
235 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
237 * FormSearch.C: Add missing #pragma
239 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
242 * forms/form_citation.fd: added the ability to Search, both Simply and
243 for Regular Expressions. Use the Search code in the controller() to do
244 the actual searching.
246 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
248 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
249 * forms/makefile: added form_credits.fd
251 * Dialogs.C: added FormCredits and removed ShowCredits.
254 * forms/form_credits.fd:
255 * forms/form_search.fd: ported to the MVC way.
257 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
259 * xforms_helpers.h (formatted): now has default arguments for size and
262 * FormCitation.[Ch]: moved code out of this class and into
263 ControlCitation and associated helper funcs.
265 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
267 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
268 ButtonController::valid() to check state of input. The buttons are
269 now controlled correctly.
271 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
273 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
275 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
277 * FormBase.[Ch]: rename title as title_.
279 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
281 * FormBase.C (c-tor): initialise variables in correct order.
283 * FormCitation.C: add #include <algorithm>
285 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
287 * xformsBC.[Ch]: Changes associated with the changes to
288 controllers/ButtonController.[Ch]. Ie, the class is now derived from
289 ButtonControllerBase and the ButtonPolicy is accessed through a method
290 bp() rather than the instance bp_.
292 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
293 rather use a pure virtual method bc() to access the controller
294 instantiated by the daughter classes.
296 * F*.[Ch]: changes associated with the above.
298 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
300 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
302 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
304 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
306 * ButtonController.[Ch]: deleted. The class is split into two
307 (with identical functionality), the code being found in
308 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
310 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
311 ButtonController class.
313 * FormBase.[Ch]: changes associated with the above split.
315 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
316 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
317 controlling all interaction to/from the LyX kernel.
320 * forms/form_citation.fd: An xforms-specific implementation of the
321 Citation dialog, controlled by the GUI-I ControlCitation.
323 * Dialogs.C: Use the controlled Citation dialog.
325 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
329 * combox.C: moved from src/
331 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
334 * forms/form_filedialog.C.patch: I hate having to make these patches,
335 but on reflection I think it's probably better than hacking fdfix.sh.
337 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
339 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
341 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
343 * FormGraphics.C: remove unnecessary hack
345 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
347 * FormCitation.C (apply): Do not put space between multiple keys.
349 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
351 * Menubar_pimpl.C (add_toc): Remove debug message.
353 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
361 * xforms/forms/makefile:
362 * forms/form_external.fd: add FormExternal
364 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
366 * Dialogs.C: add destroySplash()
370 * forms/form_splash.fd:
372 * FormSplash.C: make independent of FormBase, tidy
374 * Menubar_pimpl.C: destroy splash on interaction
376 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
382 * forms/form_include.fd: rework, clean up
384 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
386 * FormToc.h: use Buffer::typedef
388 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
389 * FormToc.C (build): ditto
392 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
394 * FormToc.C (build): implement for dynamic number of lists
396 * Menubar_pimpl.C (add_toc): ditto
398 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
405 * forms/form_credits.fd:
407 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
409 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
410 make ButtonList contain boost::shared_ptr<ItemInfo>
412 * Menubar_pimpl.C (~Pimpl): remove destructor
414 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
430 * form/form_filedialog.fd: add File Dialog
432 * Toolbar_pimpl.C: move LayoutsCB to here
434 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
436 * FormParagraph.C: changes because of ParagraphParameters.
438 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
440 * FormSearch.C (Replace): remove default argument
443 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
445 * added find/replace dialog:
446 * FormSearch.*: added
447 * form_search.*: added
448 * forms/form_search.fd: added
450 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
452 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
454 * various: in a rush of delayed guilt, I've renamed all instances of
455 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
458 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
459 activate/deactivate an FL_OBJECT.
468 * FormTabular.C: used it.
470 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
472 * FormPreferences.C: removed three unused using directives.
474 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
476 * added find/replace dialog:
477 * FormSearch.*: added
478 * form_search.*: added
479 * forms/form_search.fd: added
481 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
483 * FormRef.C: Fixed the behaviour of Goto-Ref.
485 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
487 * forms/makefile: added character and preamble dialogs
489 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
491 * FormCharacter.C (FormCharacter): change order of deletion,
492 change combo_language2 to combo_language2_
494 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
496 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
498 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
500 * Dialogs.C: added layoutcharacter
501 * FormCharacter.C: added
502 * FormCharacter.h: added
503 * form_character.C: added
504 * form_character.h: added
505 * forms/form_character.fd: added
507 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
509 * FormPreferences.C: Handle lyxrc.language_use_babel and
510 lyxrc.language_global_options.
512 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
514 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
516 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
518 * FormBase.C: no longer transient dialogs, XMapWindow()
519 in attempt to de-iconify
521 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
523 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
525 * FormDocument.C (checkMarginValues): Activate "use geometry" button
526 if using custom paper size/margin.
528 2001-02-21 Allan Rae <rae@lyx.org>
530 * forms/form_preferences.fd: larger, bold font for outer tabfolder
532 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
534 * src/frontends/xforms/Dialogs.C: added preamble
535 * src/frontends/xforms/FormPreamble.C: added
536 * src/frontends/xforms/FormPreamble.h: added
537 * src/frontends/xforms/Makefile.am: added
538 * src/frontends/xforms/form_preamble.C: added
539 * src/frontends/xforms/form_preamble.h: added
540 * src/frontends/xforms/form_preamble.fd: added
542 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
544 * FormBase.h: moved noncopyable derivation to DialogBase.
546 2001-02-19 Juergen Vigna <jug@sad.it>
548 * FormTabular.C (build): make all input field accepted only after
551 * forms/form_tabular.fd: removed default "Return" on Close-Button.
553 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
557 * FormInset.C (showInset): change associated with name change
558 inset::hide to inset::hideDialog.
560 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
562 * FormCitation.C (build): altering "Text after" now activates the Ok,
565 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
567 * FormCitation.C: lots of white-space changes to make file consistent
569 (input): use the FL_OBJECT * parameter to decide what to do, not the
572 * FormCitation.h: removed most entries in enum.
574 * forms/form_citation.fd: change names of variables, consistent with
575 Allan's naming scheme.
576 Don't pass any particular arguments to the InputCB function.
577 choice_style now triggers a callback and looks like other choices.
579 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
581 * other: use compare instead of strcmp/strncmp
583 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
585 * ButtonController.[Ch]: changed trigger_change_ vector and associated
586 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
587 callback to InputCB() but don't trigger a change in the state of the
588 Ok, Apply buttons are much rarer than those that do.
590 * FormCitation.C (build): associated change.
592 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
594 * ButtonController.C: include algorithm
596 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
598 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
600 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
601 the vector of FL_OBJECT *s that can trigger a change in the button state
602 is not empty, then a change of state will occur only if the FL_OBJECT *
603 is present in this vector.
605 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
606 the user to deactivate specific fields within restore().
607 (InputCB): pass the FL_OBJECT * to bc_.valid().
609 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
610 trigger a change of state in the Ok,Apply buttons.
611 (update): bc_.readOnly() to the start of the method. Similar reasoning
612 to that for FormBase::RestoreCB, above.
614 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
616 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
619 * forms/form_browser.fd:
620 * forms/form_copyright.fd:
621 * forms/form_error.fd:
622 * forms/form_tabular.fd:
624 Consistent shortcuts for Close button: Esc and Return only.
626 * forms/form_citation.fd:
627 * forms/form_document.fd:
628 * forms/form_index.fd:
629 * forms/form_paragraph.fd:
630 * forms/form_preferences.fd:
631 * forms/form_print.fd:
633 * forms/form_tabular_create.fd:
635 Consistent shortcut for Cancel button: Esc only.
637 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
639 * Dialogs.C: new Splash. Include, Bibitem/tex
641 * FormBase.h: make show() virtual for Splash's benefit
653 * forms/form_bibitem.fd:
654 * forms/form_bibtex.fd:
659 * forms/form_include.fd:
664 * forms/form_splash.fd: new forms
666 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
668 * FormLog.C: handle Literate build log nicely
670 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * Menubar_pimpl.C: remove support for reference menuitem type.
674 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
678 * Timeout_pimpl.C: add Timeout implementation
680 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
684 * forms/form_browser.fd:
687 * FormBrowser.h: readonly browser form
693 * Dialogs.C: add Log and VCLog
695 * Makefile.am: add Log and VCLog, add updatesrc target
697 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
699 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
701 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
703 * FormPreferences.C (GetFrom): fix crash when there is no format
707 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
709 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
710 unsigned char correctly and so fix 2 bugs loading/changing colors.
712 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
714 * FormRef.C (update): Do not update dialog_->{ref,name,type}
716 Deactivate the type button when buffer is LinuxDoc/Docbook
717 (build): Uncomment calls to addReadOnly().
718 (updateBrowser) Do not disable the update button when there are no
720 (build, getType, getName): Use InsetRef::types.
722 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
724 * FormPrint.[Ch] (browse): new method to browse for file to print to.
726 * forms/form_print.fd: give the form a Browse button.
728 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
730 * FormRef.C (input): Fix the behavior of goto reference button.