]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/ChangeLog
Merging BRANCH_MVC back into HEAD.
[lyx.git] / src / frontends / xforms / ChangeLog
1 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * Merging changes from BRANCH_MVC back into HEAD.
4
5 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
6
7         * Dialogs.C (c-tor): Changes associated with storing a vector of
8         boost::shared_ptrs.
9         Use MVC Bibitem popup.
10
11         * FormBase.h: add a new template class FormBase2, derived from FormBase
12         to make life creating MVC popups even easier ;-)
13
14         * FormBibitem.[Ch]:
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!
17
18         * FormCitation.[Ch]: now derived from FormBase2.
19
20         * FormToc.C: added using std::vector directive.
21
22 2001-03-09  Dekel Tsur  <dekelts@tau.ac.il>
23
24         * FormSearch.C: Add missing #pragma
25
26 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
27
28         * FormCitation.C:
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
31         the actual searching.
32
33 2001-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
34
35         * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
36         * forms/makefile: added form_credits.fd
37         
38         * Dialogs.C: added FormCredits and removed ShowCredits.
39         
40         * FormCredits.[Ch]:
41         * forms/form_credits.fd:
42         * forms/form_search.fd: ported to the MVC way.
43         
44 2001-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
45
46         * xforms_helpers.h (formatted): now has default arguments for size and
47         style.
48
49         * FormCitation.[Ch]: moved code out of this class and into
50         ControlCitation and associated helper funcs.
51         
52 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
53
54         * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
55         ButtonController::valid() to check state of input. The buttons are
56         now controlled correctly.
57
58         * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
59
60 2001-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
61
62         * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
63
64         * FormBase.[Ch]: rename title as title_.
65
66 2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
67
68         * FormBase.C (c-tor): initialise variables in correct order.
69
70         * FormCitation.C: add #include <algorithm>
71
72 2001-03-02  Angus Leeming  <a.leeming@ic.ac.uk>
73
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_.
78
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.
82
83         * F*.[Ch]: changes associated with the above.
84
85 2001-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
86
87         * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
88
89         * ViewXforms.[Ch]: renamed as FormBase.[Ch]
90
91 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
92
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]
96
97         * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
98         ButtonController class.
99
100         * FormBase.[Ch]: changes associated with the above split.
101
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.
105
106         * FormCitation.[Ch]:
107         * forms/form_citation.fd: An xforms-specific implementation of the
108         Citation dialog, controlled by the GUI-I ControlCitation.
109
110         * Dialogs.C: Use the controlled Citation dialog.
111
112 2001-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
113
114         * forms/fdfix.sh:
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.
117
118 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
119
120         * FormGraphics.C: remove unnecessary hack
121
122 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
123
124         * FormCitation.C (apply): Do not put space between multiple keys.
125
126 2001-03-12  Dekel Tsur  <dekelts@tau.ac.il>
127
128         * Menubar_pimpl.C (add_toc): Remove debug message.
129
130 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
131
132         * Makefile.am:
133         * Dialogs.C:
134         * FormExternal.C:
135         * FormExternal.h:
136         * form_external.C:
137         * form_external.h:
138         * xforms/forms/makefile:
139         * forms/form_external.fd: add FormExternal
140
141 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
142
143         * Dialogs.C: add destroySplash()
144
145         * form_splash.h:
146         * form_splash.C:
147         * forms/form_splash.fd:
148         * FormSplash.h:
149         * FormSplash.C: make independent of FormBase, tidy
150         
151         * Menubar_pimpl.C: destroy splash on interaction
152
153 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
154
155         * FormInclude.h:
156         * FormInclude.C:
157         * form_include.h:
158         * form_include.C:
159         * forms/form_include.fd: rework, clean up
160
161 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
162
163         * FormToc.h: use Buffer::typedef
164
165         * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
166         * FormToc.C (build): ditto
167         (updateToc): ditto
168
169 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
170
171         * FormToc.C (build): implement for dynamic number of lists
172         (updateToc): ditto
173         * Menubar_pimpl.C (add_toc): ditto
174
175 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
176
177         * added credits:
178         * Dialogs.C:
179         * Makefile.am:
180         * FormCredits.[Ch]:
181         * form_credits.[Ch]:
182         * forms/form_credits.fd:
183
184 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
185
186         * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
187         make ButtonList contain boost::shared_ptr<ItemInfo>
188
189         * Menubar_pimpl.C (~Pimpl): remove destructor 
190
191 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
192
193         * Makefile.am:
194         * FileDialog.C:
195         * FormFiledialog.C:
196         * FormFiledialog.h:
197         * form_filedialog.C:
198         * form_filedialog.h:
199         * FormGraphics.C:
200         * FormInclude.C:
201         * FormPreferences.C:
202         * FormPrint.C:
203         * xforms_helpers.C:
204         * xforms_helpers.h:
205         * forms/fdfix.sh:
206         * forms/makefile:
207         * form/form_filedialog.fd: add File Dialog
208         * Toolbar_pimpl.h:
209         * Toolbar_pimpl.C: move LayoutsCB to here
210
211 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
212
213         * FormParagraph.C: changes because of ParagraphParameters.
214
215 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
216
217         * FormSearch.C (Replace): remove default argument
218         (Find): ditto
219
220 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
221
222         * added find/replace dialog:
223         * FormSearch.*: added
224         * form_search.*: added
225         * forms/form_search.fd: added
226
227 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
228
229         * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
230
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
233         finally sprouted.
234
235         * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
236         activate/deactivate an FL_OBJECT.
237
238         * FormCitation.C:
239         * FormDocument.C:
240         * FormInclude.C:
241         * FormParagraph.C:
242         * FormPreamble.C:
243         * FormPreferences.C:
244         * FormRef.C:
245         * FormTabular.C: used it.
246
247 2001-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
248
249         * FormPreferences.C: removed three unused using directives.
250
251 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
252
253         * added find/replace dialog:
254         * FormSearch.*: added
255         * form_search.*: added
256         * forms/form_search.fd: added
257
258 2001-02-27  Dekel Tsur  <dekelts@tau.ac.il>
259
260         * FormRef.C: Fixed the behaviour of Goto-Ref.
261
262 2001-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
263
264         * forms/makefile: added character and preamble dialogs
265
266 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
267
268         * FormCharacter.C (FormCharacter): change order of deletion,
269         change combo_language2 to combo_language2_
270
271 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
272
273         * FormRef.C (apply): Update bookmark #0 after inserting a reference.
274
275 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
276
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
283                
284 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
285  
286         * FormPreferences.C: Handle lyxrc.language_use_babel and
287         lyxrc.language_global_options.
288
289 2001-02-23  Angus Leeming  <a.leeming@ic.ac.uk>
290
291         * FormPreferences(GetFrom, GetTo): use size_type rather than int.
292
293 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
294
295         * FormBase.C: no longer transient dialogs, XMapWindow()
296           in attempt to de-iconify
297
298         * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
299
300 2001-02-21  Dekel Tsur  <dekelts@tau.ac.il>
301
302         * FormDocument.C (checkMarginValues): Activate "use geometry" button 
303         if using custom paper size/margin.
304
305 2001-02-21  Allan Rae  <rae@lyx.org>
306
307         * forms/form_preferences.fd: larger, bold font for outer tabfolder
308
309 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
310
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
318
319 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
320
321         * FormBase.h: moved noncopyable derivation to DialogBase.
322
323 2001-02-19  Juergen Vigna  <jug@sad.it>
324
325         * FormTabular.C (build): make all input field accepted only after
326         a "RETURN".
327
328         * forms/form_tabular.fd: removed default "Return" on Close-Button.
329
330 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
331
332         * FormError.C:
333         * FormGraphics.C:
334         * FormInset.C (showInset): change associated with name change
335         inset::hide to inset::hideDialog.
336
337 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
338
339         * FormCitation.C (build): altering "Text after" now activates the Ok,
340         Apply buttons.
341
342 2001-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
343
344         * FormCitation.C: lots of white-space changes to make file consistent
345         with LyX style.
346         (input): use the FL_OBJECT * parameter to decide what to do, not the
347         long parameter.
348
349         * FormCitation.h: removed most entries in enum.
350
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.
355
356 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
357
358         * other: use compare instead of strcmp/strncmp
359
360 2001-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
361
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.
366
367         * FormCitation.C (build): associated change.
368
369 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
370
371         * ButtonController.C: include algorithm
372
373 2001-02-14  Angus Leeming  <a.leeming@ic.ac.uk>
374
375         * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
376         new methods.
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.
381
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().
385
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.
390
391 2001-02-14  Angus Leeming  <a.leeming@ic.ac.uk>
392
393         * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
394         IgnorantPolicy.
395
396         * forms/form_browser.fd:
397         * forms/form_copyright.fd:
398         * forms/form_error.fd:
399         * forms/form_tabular.fd:
400         * forms/form_toc.fd:
401         Consistent shortcuts for Close button: Esc and Return only.
402
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:
409         * forms/form_ref.fd:
410         * forms/form_tabular_create.fd:
411         * forms/form_url.fd:
412         Consistent shortcut for Cancel button: Esc only.
413
414 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
415
416         * Dialogs.C: new Splash. Include, Bibitem/tex
417
418         * FormBase.h: make show() virtual for Splash's benefit
419
420         * Makefile.am:
421         * forms/makefile:
422         * FormBibitem.C:
423         * FormBibitem.h:
424         * FormBibtex.C:
425         * FormBibtex.h:
426         * form_bibitem.C:
427         * form_bibitem.h:
428         * form_bibtex.C:
429         * form_bibtex.h:
430         * forms/form_bibitem.fd:
431         * forms/form_bibtex.fd:
432         * FormInclude.C:
433         * FormInclude.h:
434         * form_include.C:
435         * form_include.h:
436         * forms/form_include.fd:
437         * FormSplash.C:
438         * FormSplash.h:
439         * form_splash.C:
440         * form_splash.h:
441         * forms/form_splash.fd: new forms
442
443 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
444
445         * FormLog.C: handle Literate build log nicely
446
447 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
448
449         * Menubar_pimpl.C: remove support for reference menuitem type.
450
451 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
452
453         * Makefile.am:
454         * Timeout_pimpl.h:
455         * Timeout_pimpl.C: add Timeout implementation
456
457 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
458
459         * form_browser.h:
460         * form_browser.C:
461         * forms/form_browser.fd:
462         * forms/makefile:
463         * FormBrowser.C:
464         * FormBrowser.h: readonly browser form
465
466         * FormLog.C:
467         * FormLog.h:
468         * FormVCLog.C:
469         * FormVCLog.h:
470         * Dialogs.C: add Log and VCLog
471
472         * Makefile.am: add Log and VCLog, add updatesrc target
473
474 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
475
476         * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
477
478 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
479
480         * FormPreferences.C (GetFrom): fix crash when there is no format
481         defined. 
482         (GetTo): ditto.
483
484 2001-01-23  Angus Leeming  <a.leeming@ic.ac.uk>
485
486         * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
487         unsigned char correctly and so fix 2 bugs loading/changing colors.
488
489 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
490
491         * FormRef.C (update): Do not update dialog_->{ref,name,type}
492         if inset_ == 0.
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 
496         keys.
497         (build, getType, getName): Use InsetRef::types.
498
499 2001-01-18  Angus Leeming  <a.leeming@ic.ac.uk>
500
501         * FormPrint.[Ch] (browse): new method to browse for file to print to.
502
503         * forms/form_print.fd: give the form a Browse button.
504
505 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
506
507         * FormRef.C (input): Fix the behavior of goto reference button.
508