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