1 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3 * Merging changes from BRANCH_MVC back into HEAD.
5 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7 * Dialogs.C (c-tor): Changes associated with storing a vector of
11 * FormBase.h: add a new template class FormBase2, derived from FormBase
12 to make life creating MVC popups even easier ;-)
15 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
16 Proof that a simple popup should be easy to implement!
18 * FormCitation.[Ch]: now derived from FormBase2.
20 * FormToc.C: added using std::vector directive.
22 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
24 * FormSearch.C: Add missing #pragma
26 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
29 * forms/form_citation.fd: added the ability to Search, both Simply and
30 for Regular Expressions. Use the Search code in the controller() to do
33 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
35 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
36 * forms/makefile: added form_credits.fd
38 * Dialogs.C: added FormCredits and removed ShowCredits.
41 * forms/form_credits.fd:
42 * forms/form_search.fd: ported to the MVC way.
44 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
46 * xforms_helpers.h (formatted): now has default arguments for size and
49 * FormCitation.[Ch]: moved code out of this class and into
50 ControlCitation and associated helper funcs.
52 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
54 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
55 ButtonController::valid() to check state of input. The buttons are
56 now controlled correctly.
58 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
60 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
62 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
64 * FormBase.[Ch]: rename title as title_.
66 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
68 * FormBase.C (c-tor): initialise variables in correct order.
70 * FormCitation.C: add #include <algorithm>
72 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
74 * xformsBC.[Ch]: Changes associated with the changes to
75 controllers/ButtonController.[Ch]. Ie, the class is now derived from
76 ButtonControllerBase and the ButtonPolicy is accessed through a method
77 bp() rather than the instance bp_.
79 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
80 rather use a pure virtual method bc() to access the controller
81 instantiated by the daughter classes.
83 * F*.[Ch]: changes associated with the above.
85 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
87 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
89 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
91 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
93 * ButtonController.[Ch]: deleted. The class is split into two
94 (with identical functionality), the code being found in
95 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
97 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
98 ButtonController class.
100 * FormBase.[Ch]: changes associated with the above split.
102 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
103 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
104 controlling all interaction to/from the LyX kernel.
107 * forms/form_citation.fd: An xforms-specific implementation of the
108 Citation dialog, controlled by the GUI-I ControlCitation.
110 * Dialogs.C: Use the controlled Citation dialog.
112 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
115 * forms/form_filedialog.C.patch: I hate having to make these patches,
116 but on reflection I think it's probably better than hacking fdfix.sh.
118 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
120 * FormGraphics.C: remove unnecessary hack
122 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
124 * FormCitation.C (apply): Do not put space between multiple keys.
126 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
128 * Menubar_pimpl.C (add_toc): Remove debug message.
130 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
138 * xforms/forms/makefile:
139 * forms/form_external.fd: add FormExternal
141 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
143 * Dialogs.C: add destroySplash()
147 * forms/form_splash.fd:
149 * FormSplash.C: make independent of FormBase, tidy
151 * Menubar_pimpl.C: destroy splash on interaction
153 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
159 * forms/form_include.fd: rework, clean up
161 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
163 * FormToc.h: use Buffer::typedef
165 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
166 * FormToc.C (build): ditto
169 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
171 * FormToc.C (build): implement for dynamic number of lists
173 * Menubar_pimpl.C (add_toc): ditto
175 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
182 * forms/form_credits.fd:
184 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
186 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
187 make ButtonList contain boost::shared_ptr<ItemInfo>
189 * Menubar_pimpl.C (~Pimpl): remove destructor
191 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
207 * form/form_filedialog.fd: add File Dialog
209 * Toolbar_pimpl.C: move LayoutsCB to here
211 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
213 * FormParagraph.C: changes because of ParagraphParameters.
215 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * FormSearch.C (Replace): remove default argument
220 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
222 * added find/replace dialog:
223 * FormSearch.*: added
224 * form_search.*: added
225 * forms/form_search.fd: added
227 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
229 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
231 * various: in a rush of delayed guilt, I've renamed all instances of
232 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
235 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
236 activate/deactivate an FL_OBJECT.
245 * FormTabular.C: used it.
247 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
249 * FormPreferences.C: removed three unused using directives.
251 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
253 * added find/replace dialog:
254 * FormSearch.*: added
255 * form_search.*: added
256 * forms/form_search.fd: added
258 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
260 * FormRef.C: Fixed the behaviour of Goto-Ref.
262 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
264 * forms/makefile: added character and preamble dialogs
266 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
268 * FormCharacter.C (FormCharacter): change order of deletion,
269 change combo_language2 to combo_language2_
271 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
273 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
275 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
277 * Dialogs.C: added layoutcharacter
278 * FormCharacter.C: added
279 * FormCharacter.h: added
280 * form_character.C: added
281 * form_character.h: added
282 * forms/form_character.fd: added
284 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
286 * FormPreferences.C: Handle lyxrc.language_use_babel and
287 lyxrc.language_global_options.
289 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
291 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
293 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
295 * FormBase.C: no longer transient dialogs, XMapWindow()
296 in attempt to de-iconify
298 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
300 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
302 * FormDocument.C (checkMarginValues): Activate "use geometry" button
303 if using custom paper size/margin.
305 2001-02-21 Allan Rae <rae@lyx.org>
307 * forms/form_preferences.fd: larger, bold font for outer tabfolder
309 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
311 * src/frontends/xforms/Dialogs.C: added preamble
312 * src/frontends/xforms/FormPreamble.C: added
313 * src/frontends/xforms/FormPreamble.h: added
314 * src/frontends/xforms/Makefile.am: added
315 * src/frontends/xforms/form_preamble.C: added
316 * src/frontends/xforms/form_preamble.h: added
317 * src/frontends/xforms/form_preamble.fd: added
319 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
321 * FormBase.h: moved noncopyable derivation to DialogBase.
323 2001-02-19 Juergen Vigna <jug@sad.it>
325 * FormTabular.C (build): make all input field accepted only after
328 * forms/form_tabular.fd: removed default "Return" on Close-Button.
330 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
334 * FormInset.C (showInset): change associated with name change
335 inset::hide to inset::hideDialog.
337 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
339 * FormCitation.C (build): altering "Text after" now activates the Ok,
342 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
344 * FormCitation.C: lots of white-space changes to make file consistent
346 (input): use the FL_OBJECT * parameter to decide what to do, not the
349 * FormCitation.h: removed most entries in enum.
351 * forms/form_citation.fd: change names of variables, consistent with
352 Allan's naming scheme.
353 Don't pass any particular arguments to the InputCB function.
354 choice_style now triggers a callback and looks like other choices.
356 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * other: use compare instead of strcmp/strncmp
360 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
362 * ButtonController.[Ch]: changed trigger_change_ vector and associated
363 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
364 callback to InputCB() but don't trigger a change in the state of the
365 Ok, Apply buttons are much rarer than those that do.
367 * FormCitation.C (build): associated change.
369 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
371 * ButtonController.C: include algorithm
373 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
375 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
377 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
378 the vector of FL_OBJECT *s that can trigger a change in the button state
379 is not empty, then a change of state will occur only if the FL_OBJECT *
380 is present in this vector.
382 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
383 the user to deactivate specific fields within restore().
384 (InputCB): pass the FL_OBJECT * to bc_.valid().
386 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
387 trigger a change of state in the Ok,Apply buttons.
388 (update): bc_.readOnly() to the start of the method. Similar reasoning
389 to that for FormBase::RestoreCB, above.
391 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
393 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
396 * forms/form_browser.fd:
397 * forms/form_copyright.fd:
398 * forms/form_error.fd:
399 * forms/form_tabular.fd:
401 Consistent shortcuts for Close button: Esc and Return only.
403 * forms/form_citation.fd:
404 * forms/form_document.fd:
405 * forms/form_index.fd:
406 * forms/form_paragraph.fd:
407 * forms/form_preferences.fd:
408 * forms/form_print.fd:
410 * forms/form_tabular_create.fd:
412 Consistent shortcut for Cancel button: Esc only.
414 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
416 * Dialogs.C: new Splash. Include, Bibitem/tex
418 * FormBase.h: make show() virtual for Splash's benefit
430 * forms/form_bibitem.fd:
431 * forms/form_bibtex.fd:
436 * forms/form_include.fd:
441 * forms/form_splash.fd: new forms
443 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
445 * FormLog.C: handle Literate build log nicely
447 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * Menubar_pimpl.C: remove support for reference menuitem type.
451 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
455 * Timeout_pimpl.C: add Timeout implementation
457 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
461 * forms/form_browser.fd:
464 * FormBrowser.h: readonly browser form
470 * Dialogs.C: add Log and VCLog
472 * Makefile.am: add Log and VCLog, add updatesrc target
474 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
476 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
478 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
480 * FormPreferences.C (GetFrom): fix crash when there is no format
484 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
486 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
487 unsigned char correctly and so fix 2 bugs loading/changing colors.
489 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
491 * FormRef.C (update): Do not update dialog_->{ref,name,type}
493 Deactivate the type button when buffer is LinuxDoc/Docbook
494 (build): Uncomment calls to addReadOnly().
495 (updateBrowser) Do not disable the update button when there are no
497 (build, getType, getName): Use InsetRef::types.
499 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
501 * FormPrint.[Ch] (browse): new method to browse for file to print to.
503 * forms/form_print.fd: give the form a Browse button.
505 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
507 * FormRef.C (input): Fix the behavior of goto reference button.