1 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
4 * forms/form_bibtex.fd: implemented controller-view split.
6 * Dialogs.C: associated changes.
8 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
10 * FormBaseDeprecated.[Ch]: rename title as title_.
12 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
13 with limited functionality. It got lost in the MVC merge.
15 * FormBaseDeprecated.C:
16 * FormBase.C (show): moved initialisation of minw_, minh_ here.
18 * FormBibitem.C (build):
19 * FormBibtex.C (build):
20 * FormBrowser.C (build):
21 * FormCharacter.C (build):
22 * FormCitation.C (build):
23 * FormCopyright.C (build):
24 * FormCredits.C (build):
25 * FormDocument.C (build):
26 * FormError.C (build):
27 * FormExternal.C (build):
28 * FormGraphics.C (build):
29 * FormInclude.C (build):
30 * FormIndex.C (build):
31 * FormMinipage.C (build):
32 * FormParagraph.C (build):
33 * FormPreamble.C (build):
34 * FormPreferences.C (build):
35 * FormPrint.C (build):
37 * FormSearch.C (build):
38 * FormTabular.C (build):
39 * FormTabularCreate.C (build):
41 * FormUrl.C (build): removed initialisation of minw_, minh_.
43 * The Maths Panel stuff no longer causes a crash on exit from LyX.
46 * forms/form_maths.fd: removed.
48 * forms/form_maths_delim.fd:
49 * forms/form_maths_deco.fd:
50 * forms/form_maths_matrix.fd:
51 * forms/form_maths_space.fd:
52 * forms/form_maths_panel.fd: new files.
53 Split contents of form_maths.fd into 5 new files, one for each form.
55 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
56 class FormMathsBitmap in FormMathsBitmap.[Ch].
58 * FormMathsPanel.[Ch]:
59 * FormMathsBitmap.[Ch]:
61 * FormMathsDelim.[Ch]:
62 * FormMathsMatrix.[Ch]:
63 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
64 one for each popup. Rewrite so that all the new classes are derived from
65 FormBaseBD. Clean up the logic in the process (I hope!).
67 * Makefile.am: added new fils, removed redundant ones.
69 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
71 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
75 2001-03-16 Juergen Vigna <jug@sad.it>
77 * Dialogs.C (Dialogs): create minipage options dialog.
79 * forms/form_minipage.fd:
83 * FormMinipage.h: new files for the minipage options dialog.
85 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
87 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
90 * forms/form_maths.fd: change C_FormBaseCancelCB to
91 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
93 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
95 * FormMaths.C: quash warnings
97 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
99 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
102 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
104 * Form_various.h: cleaned up #includes and forward declarations.
106 * Form_various.C: added "using SigC::slot" declaration.
108 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
110 * FormDocument.C (CheckChoiceClass): removed string tct as the
111 compiler warned that it was defined but never used.
112 removed USE_CLASS_COMBO.
114 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
125 * forms/form_maths.fd:
127 * forms/fdfix.sh: add maths panel
130 * bmtable.c: moved from src/
132 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
134 * FormParagraph.h: NO_PEXTRA
135 * FormParagraph.C (input): NO_PEXTRA
137 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
139 * several files: remove CXX_WORKING_NAMESPACES
141 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
143 * Merging changes from BRANCH_MVC back into HEAD.
145 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
147 * Dialogs.C (c-tor): Changes associated with storing a vector of
149 Use MVC Bibitem popup.
151 * FormBase.h: add a new template class FormBase2, derived from FormBase
152 to make life creating MVC popups even easier ;-)
155 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
156 Proof that a simple popup should be easy to implement!
158 * FormCitation.[Ch]: now derived from FormBase2.
160 * FormToc.C: added using std::vector directive.
162 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
164 * FormSearch.C: Add missing #pragma
166 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
169 * forms/form_citation.fd: added the ability to Search, both Simply and
170 for Regular Expressions. Use the Search code in the controller() to do
171 the actual searching.
173 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
175 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
176 * forms/makefile: added form_credits.fd
178 * Dialogs.C: added FormCredits and removed ShowCredits.
181 * forms/form_credits.fd:
182 * forms/form_search.fd: ported to the MVC way.
184 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
186 * xforms_helpers.h (formatted): now has default arguments for size and
189 * FormCitation.[Ch]: moved code out of this class and into
190 ControlCitation and associated helper funcs.
192 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
194 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
195 ButtonController::valid() to check state of input. The buttons are
196 now controlled correctly.
198 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
200 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
202 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
204 * FormBase.[Ch]: rename title as title_.
206 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
208 * FormBase.C (c-tor): initialise variables in correct order.
210 * FormCitation.C: add #include <algorithm>
212 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
214 * xformsBC.[Ch]: Changes associated with the changes to
215 controllers/ButtonController.[Ch]. Ie, the class is now derived from
216 ButtonControllerBase and the ButtonPolicy is accessed through a method
217 bp() rather than the instance bp_.
219 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
220 rather use a pure virtual method bc() to access the controller
221 instantiated by the daughter classes.
223 * F*.[Ch]: changes associated with the above.
225 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
227 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
229 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
231 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
233 * ButtonController.[Ch]: deleted. The class is split into two
234 (with identical functionality), the code being found in
235 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
237 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
238 ButtonController class.
240 * FormBase.[Ch]: changes associated with the above split.
242 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
243 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
244 controlling all interaction to/from the LyX kernel.
247 * forms/form_citation.fd: An xforms-specific implementation of the
248 Citation dialog, controlled by the GUI-I ControlCitation.
250 * Dialogs.C: Use the controlled Citation dialog.
252 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
256 * combox.C: moved from src/
258 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
261 * forms/form_filedialog.C.patch: I hate having to make these patches,
262 but on reflection I think it's probably better than hacking fdfix.sh.
264 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
266 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
268 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
270 * FormGraphics.C: remove unnecessary hack
272 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
274 * FormCitation.C (apply): Do not put space between multiple keys.
276 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
278 * Menubar_pimpl.C (add_toc): Remove debug message.
280 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
288 * xforms/forms/makefile:
289 * forms/form_external.fd: add FormExternal
291 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
293 * Dialogs.C: add destroySplash()
297 * forms/form_splash.fd:
299 * FormSplash.C: make independent of FormBase, tidy
301 * Menubar_pimpl.C: destroy splash on interaction
303 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
309 * forms/form_include.fd: rework, clean up
311 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
313 * FormToc.h: use Buffer::typedef
315 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
316 * FormToc.C (build): ditto
319 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
321 * FormToc.C (build): implement for dynamic number of lists
323 * Menubar_pimpl.C (add_toc): ditto
325 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
332 * forms/form_credits.fd:
334 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
336 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
337 make ButtonList contain boost::shared_ptr<ItemInfo>
339 * Menubar_pimpl.C (~Pimpl): remove destructor
341 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
357 * form/form_filedialog.fd: add File Dialog
359 * Toolbar_pimpl.C: move LayoutsCB to here
361 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
363 * FormParagraph.C: changes because of ParagraphParameters.
365 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
367 * FormSearch.C (Replace): remove default argument
370 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
372 * added find/replace dialog:
373 * FormSearch.*: added
374 * form_search.*: added
375 * forms/form_search.fd: added
377 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
379 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
381 * various: in a rush of delayed guilt, I've renamed all instances of
382 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
385 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
386 activate/deactivate an FL_OBJECT.
395 * FormTabular.C: used it.
397 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
399 * FormPreferences.C: removed three unused using directives.
401 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
403 * added find/replace dialog:
404 * FormSearch.*: added
405 * form_search.*: added
406 * forms/form_search.fd: added
408 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
410 * FormRef.C: Fixed the behaviour of Goto-Ref.
412 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
414 * forms/makefile: added character and preamble dialogs
416 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
418 * FormCharacter.C (FormCharacter): change order of deletion,
419 change combo_language2 to combo_language2_
421 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
423 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
425 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
427 * Dialogs.C: added layoutcharacter
428 * FormCharacter.C: added
429 * FormCharacter.h: added
430 * form_character.C: added
431 * form_character.h: added
432 * forms/form_character.fd: added
434 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
436 * FormPreferences.C: Handle lyxrc.language_use_babel and
437 lyxrc.language_global_options.
439 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
441 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
443 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
445 * FormBase.C: no longer transient dialogs, XMapWindow()
446 in attempt to de-iconify
448 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
450 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
452 * FormDocument.C (checkMarginValues): Activate "use geometry" button
453 if using custom paper size/margin.
455 2001-02-21 Allan Rae <rae@lyx.org>
457 * forms/form_preferences.fd: larger, bold font for outer tabfolder
459 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
461 * src/frontends/xforms/Dialogs.C: added preamble
462 * src/frontends/xforms/FormPreamble.C: added
463 * src/frontends/xforms/FormPreamble.h: added
464 * src/frontends/xforms/Makefile.am: added
465 * src/frontends/xforms/form_preamble.C: added
466 * src/frontends/xforms/form_preamble.h: added
467 * src/frontends/xforms/form_preamble.fd: added
469 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
471 * FormBase.h: moved noncopyable derivation to DialogBase.
473 2001-02-19 Juergen Vigna <jug@sad.it>
475 * FormTabular.C (build): make all input field accepted only after
478 * forms/form_tabular.fd: removed default "Return" on Close-Button.
480 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
484 * FormInset.C (showInset): change associated with name change
485 inset::hide to inset::hideDialog.
487 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
489 * FormCitation.C (build): altering "Text after" now activates the Ok,
492 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
494 * FormCitation.C: lots of white-space changes to make file consistent
496 (input): use the FL_OBJECT * parameter to decide what to do, not the
499 * FormCitation.h: removed most entries in enum.
501 * forms/form_citation.fd: change names of variables, consistent with
502 Allan's naming scheme.
503 Don't pass any particular arguments to the InputCB function.
504 choice_style now triggers a callback and looks like other choices.
506 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
508 * other: use compare instead of strcmp/strncmp
510 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
512 * ButtonController.[Ch]: changed trigger_change_ vector and associated
513 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
514 callback to InputCB() but don't trigger a change in the state of the
515 Ok, Apply buttons are much rarer than those that do.
517 * FormCitation.C (build): associated change.
519 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
521 * ButtonController.C: include algorithm
523 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
525 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
527 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
528 the vector of FL_OBJECT *s that can trigger a change in the button state
529 is not empty, then a change of state will occur only if the FL_OBJECT *
530 is present in this vector.
532 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
533 the user to deactivate specific fields within restore().
534 (InputCB): pass the FL_OBJECT * to bc_.valid().
536 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
537 trigger a change of state in the Ok,Apply buttons.
538 (update): bc_.readOnly() to the start of the method. Similar reasoning
539 to that for FormBase::RestoreCB, above.
541 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
543 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
546 * forms/form_browser.fd:
547 * forms/form_copyright.fd:
548 * forms/form_error.fd:
549 * forms/form_tabular.fd:
551 Consistent shortcuts for Close button: Esc and Return only.
553 * forms/form_citation.fd:
554 * forms/form_document.fd:
555 * forms/form_index.fd:
556 * forms/form_paragraph.fd:
557 * forms/form_preferences.fd:
558 * forms/form_print.fd:
560 * forms/form_tabular_create.fd:
562 Consistent shortcut for Cancel button: Esc only.
564 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
566 * Dialogs.C: new Splash. Include, Bibitem/tex
568 * FormBase.h: make show() virtual for Splash's benefit
580 * forms/form_bibitem.fd:
581 * forms/form_bibtex.fd:
586 * forms/form_include.fd:
591 * forms/form_splash.fd: new forms
593 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
595 * FormLog.C: handle Literate build log nicely
597 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
599 * Menubar_pimpl.C: remove support for reference menuitem type.
601 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
605 * Timeout_pimpl.C: add Timeout implementation
607 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
611 * forms/form_browser.fd:
614 * FormBrowser.h: readonly browser form
620 * Dialogs.C: add Log and VCLog
622 * Makefile.am: add Log and VCLog, add updatesrc target
624 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
626 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
628 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * FormPreferences.C (GetFrom): fix crash when there is no format
634 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
636 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
637 unsigned char correctly and so fix 2 bugs loading/changing colors.
639 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
641 * FormRef.C (update): Do not update dialog_->{ref,name,type}
643 Deactivate the type button when buffer is LinuxDoc/Docbook
644 (build): Uncomment calls to addReadOnly().
645 (updateBrowser) Do not disable the update button when there are no
647 (build, getType, getName): Use InsetRef::types.
649 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
651 * FormPrint.[Ch] (browse): new method to browse for file to print to.
653 * forms/form_print.fd: give the form a Browse button.
655 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
657 * FormRef.C (input): Fix the behavior of goto reference button.