1 2002-04-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * forms/Makefile.am (SUFFIXES): instead of .SUFFIXES
4 (updatesrc): delete wrong version
6 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * forms/.cvsignore: add Makefile.in
10 * forms/Makefile.am: make distcheck work, new file
12 * Makefile.am: make distcheck work
14 2002-04-05 Herbert Voss <voss@perce.de>
16 * FormGraphics.C: use correct unit bp (big point - PostScript point)
17 for the bounding box values
19 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
21 * FormGraphics.C (updateBB, input): Don't set the path of the file
22 passed to readBB. Let the controller do that because it knows about
23 the buffer (and therefore the path) whereas the view has no idea.
25 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
27 * xformsGImage.C (clip): ensure that the clipped image has sensible
30 2002-04-04 Herbert Voss <voss@lyx.org>
32 * FormGraphics.C (updateBB): new method to read the BBox when reading
33 a new file or changing an existing one.
35 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * FormCharacter.C (findPos): add a missing typename
39 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
41 * FeedbackController.C:
50 * xforms_helpers.C: use _() correctly rather than N_().
52 2002-03-28 Juergen Spitzmueller <j.spitzmueller@gmx.de>
54 * FormDocument.C (CheckChoiceClass): update the necessary class
55 settings on class change (fix bug #306)
57 2002-03-27 Herbert Voss <voss@lyx.org>
60 * FormGraphics.C: change c%, l%, p% t% to col%, line%, page%
63 2002-03-27 Angus Leeming <a.leeming@ic.ac.uk>
65 * MathsSymbols.[Ch]: remove #include "bmtable.h" & "FormMathsPanel.h".
66 Move enum MathsCallbackValues from FormMathsPanel.h to MathsSymbols.h.
67 The MathsSymbols are now xforms-independent.
69 * FormMathsPanel.h: #include MathsSymbols.h for the enum.
71 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
73 * FormPreferences.C (browse): don't use BrowseRelPath here you noodle!
75 * FormGraphics.C (input): don't disallow the input of a file that's
78 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
80 * FormParagraph.C (changedParagraph): whitespace.
82 * xforms_helpers.C: rearrange #includes.
84 * RadioButtonGroup.[Ch]: rename some of the methods. Remove #if 0 code.
86 * FormPrint.C: changes associated with changes to RadioButtonGroup.
89 * forms/form_graphics.fd: rename some of the widgets.
91 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
93 * FormGraphics.C (input): don't activate the Ok, Apply buttons if the
96 * FormParagraph.C (changedParagraph): activate the Ok, Apply buttons
97 only if the underlying paragraph will accept changes.
99 * FormPreferences.C (browse): use Jean-Marc's browseRelFile.
101 * xforms_helper.C (updateWidgetsFromLength): fix crash when trying to
102 set the choice to a unit that isn't present in the choice!
103 Also remove #if 0 sections of code.
105 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * several files: ws cleanup
109 2002-03-20 Angus Leeming <a.leeming@ic.ac.uk>
111 * lots: whitespace changes.
113 2002-03-20 Angus Leeming <a.leeming@ic.ac.uk>
115 * FormParagraph.C: a little more factorisation.
117 2002-03-20 Angus Leeming <a.leeming@ic.ac.uk>
119 * xforms_helpers.C (setCursorColor):
120 * Tooltips.C (set): remove XC_question_arrow code.
122 * FeedbackController.[Ch] (clearMessage): new method.
124 * FeedbackController.C (postMessage): the warning message is now
127 * FormParagraph.C: define some helper functions to minimise the amount
133 * FormTabular.C: use the FeedbackController to post the warning
136 2002-03-19 André Pönitz <poenitz@gmx.net>
138 * FormParagraph.C: whitespace changes
140 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
142 * Tooltips.[Ch] (initTooltip): renamed init. In the 0.89 version, no
143 longer call fl_set_object_helper as this routine respects line breaks
144 only if the dialog is visible.
145 (getTooltip): renamed as get.
146 (toggleTooltips): renamed as set and made public.
149 * FormBaseDeprecated.C (show): move tooltip-inards into Tooltip.
151 * FormBibtex.C (build):
152 * FormCitation.C (build):
153 * FormForks.C (build):
154 * FormSendto.C (build):
155 * FormTexinfo.C (build):
156 * Toolbar_pimpl.C (set): Tooltip::initTooltip -> Tooltip::init.
158 * xforms_helper.C (formatted): rewritten as a one-pass algorithm.
160 2002-03-18 Juergen Vigna <jug@sad.it>
162 * FormTabular.C (update): deactivate left/right border settings for
163 multicolumns if not an outer cell or no parent multicolumn cell.
165 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
167 * GUIRunTime.C: add spaces to error messages
169 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
172 * FormBaseDeprecated.C (show): set the initial state of the cursor.
174 * FormPreferences.C (Colors::apply()): use the helper function
177 * Tooltips.C (toggleTooltips): proper fix for those Bad Window messages.
178 Can only set the cursor if the dialog is visible.
180 * xforms_helpers.[Ch] (setCursorColor): new helper function to set the
181 color of all cursors used by LyX.
182 (XformsColor::read): use it.
184 2002-03-12 Angus Leeming <a.leeming@ic.ac.uk>
186 * forms/*.fd (except form_filedialog.fd which is v. scary :-():
187 housekeeping changes.
188 1. Ensure that all radio buttons are wrapped up within a group.
189 2. Rename all button_cancel as button_close.
190 3. Ensure that all objects follow the naming scheme outlined in
194 ------------------+-------
197 FL_PIXMAPBUTTON | button
198 FL_CHECKBUTTON | check
204 FL_LABELFRAME | frame
208 FL_VALSLIDER | slider
209 FL_TABFOLDER | tabfolder
212 The only exceptions to this are objects that are to be converted
213 in the sed scripts. At the moment this applies only to bmtable:
215 Convert an FL_BUTTON to a FL_BMTABLE by using prefix "bmtable".
217 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
221 2002-03-09 Angus Leeming <a.leeming@ic.ac.uk>
223 * FeedbackController.C: improve a comment.
225 * FormFiledialog.C: whitespace change.
227 * FormBibitem.C (build):
228 * FormBibtex.C (build):
229 * FormCitation.C (build):
230 * FormDocument.C (build):
231 * FormExternal.C (build):
232 * FormGraphics.C (build):
233 * FormInclude.C (build):
234 * FormIndex.C (build):
235 * FormMathsMatrix.C (build):
236 * FormMinipage.C (build):
237 * FormParagraph.C (build):
238 * FormPrint.C (build):
240 * FormSendto.C (build):
241 * FormSpellchecker.C (build):
242 * FormTabular.C (build):
243 * FormThesaurus.C (build):
244 * FormUrl.C (build): invoke setPrehandler for all FL_INPUT objects.
245 Means that pasting with the middle mouse button will activate the
248 * FeedbackController.C (MessageCB): fix crash by removing
249 Assert(message_widget_) and returning silently in this case.
250 Can happen quite justifiably.
252 * Most files: consistent comments at the top of the file, usable by
255 2002-03-09 Herbert Voss <voss@lyx.org>
257 * FormGraphics.C: test if file exists, simplify an if command
259 2002-03-10 John Levon <moz@compsoc.man.ac.uk>
261 * FormToc.C: make goto not reset the dialog
263 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
265 * FeedbackController.[Ch]: new files, providing a standard interface to
266 the feedback and warning messages. Created by stripping code out of
269 * FormBase.[Ch]: strip out all the feedback code and simplify yet
270 further the tooltips code.
273 * FormBaseDeprecated.[Ch]: Add a Tooltips pointer.
274 Derive both classes from FeedbackController so daughter classes each
275 have a common interface for same.
277 * Toolbar_pimpl.[Ch]: strip out all the tooltip code and use the
278 Tooltips wrapper class.
280 * Tooltips.[Ch]: work out how to update tooltips when using
281 xforms 0.89's fl_set_object_helper. Can now toggle tooltips with both
282 xforms 0.88 and 0.89. Change the cursor to a "?" when in query mode
283 and when the dialog has some tooltips.
285 * FormPreferences.[Ch]: strip out all the feedback code and use
286 the FeedbackController.
288 * xforms_helpers.C: save the color of the gui pointer.
291 * forms/form_bibtex.fd:
293 * forms/form_citation.fd:
295 * forms/form_forks.fd:
297 * forms/form_sendto.fd:
299 * forms/form_texinfo.fd: remove "Help" button and rejig for much
300 simplified tooltips code.
302 * Makefile.am: add FeedbackController.[Ch].
304 2002-03-08 Juergen Spitzmueller <j.spitzmueller@gmx.de>
306 * FormGraphics.C: Tiny stylistic correction.
308 2002-03-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
311 - Make radiobuttons change too when using Latex size in
312 lyxview and vice versa.
313 - Fix a typo where the value for height (lyxview) was
314 taken from width (size).
315 - Remove *%-values from lyxview.
316 - Add an Alert when using "Get Latex size" and that contains
318 * FormTabular.C: Remove obsolete comment.
320 2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>
322 * FormMathsDeco.C: add leftrightarrows to the bitmap.
324 * forms/form_maths_style.fd: reflect the changes in the bitmaps.
326 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
328 * xformsGImage.C (statusCB, errorCB): close the file streams once the
329 image is loaded or if an error occurs.
330 (init_graphics): FLIMAGE_SETUP setup must be static as xforms stores
331 it permanently (and does not make a copy!).
333 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
335 * xformsGImage.[Ch]: new files. An image loader based on xforms library
338 * GUIRunTime.C (initialiseGraphics): use the xforms image loader if
339 your version of the xforms libraries is up to the task.
341 * Makefile.am: compile the xforms image loader if so configured.
343 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
345 * Dialogs.C (redrawGUI): removed to frontends/Dialogs.C
348 * GUIRunTime.C (initialiseGraphics): moved to GUIRunTime.
350 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
352 * FormDocument.C (build): add a std:: qualifier to remove_if.
354 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
356 * Toolbar_pimpl.[Ch]: layout as string
358 * FormParagraph.C: layout as string
360 * FormDocument.C (build): use remove_if and contains_functor
363 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
365 * FormMathsBitmap.[Ch]:
366 * FormMathsPanel.C: Give window titles to bit map sub-panels.
368 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
370 * Dialogs.C (initialiseGraphics): a new static method.
371 Remove Allan's venerable description as I think it's past its sell-by
374 2002-02-28 John Levon <moz@compsoc.man.ac.uk>
377 * FormBaseDeprecated.C:
378 * FormFiledialog.C: possible fix to the Bad Window problems that some
379 people have been experiencing.
381 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
383 * FormForks.C (input_button_all): resolve comparison between signed
386 2002-02-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
388 * Menubar_pimpl.C (makeMenubar): ignore entries which are not
391 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
394 * forms/form_forks.fd: new files. A view for the Forked Child
395 processes dialog, enabling the user to see what forked processes
396 are running, and, if he so desires, to kill them.
398 * Dialogs.C: add the class Forked Child dialog.
400 * Makefile.am: add FormForks.[Ch], form_forks.[Ch].
402 * forms/makefile: add form_forks.fd.
404 * FormPreferences.C (LnFmisc::apply): rather ugly: call
405 grfx::GCache::changeDisplay if the lyxrc.display_graphics changes.
407 2002-02-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
409 * forms/form_graphics.fd: Enlarge Restore button.
410 * FormGraphics.C: Set filter to bounding box input fields.
412 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * Makefile.am: simpler obj. file compiling
416 2002-02-20 Juergen Vigna <jug@sad.it>
418 * FormTabular.C (input): don't call the autoapply on exit input calls
419 if we don't really have a change!
421 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
423 * FormBase.h (FormCB): tiny bugfix.
425 * xforms_helpers.h: remove incorrect comment.
427 2002-02-18 Herbert Voss <voss@lyx.org>
429 * FormGraphics.C: same units for LyX and Latex view, cosmetics
431 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
433 * Timeout_pimpl.[Ch] (running): new method.
435 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
438 * FormTabular.C: added a using std::remove_if directive.
440 2002-02-14 Herbert Voss <voss@lyx.org>
442 * xforms_helpers.h: fix bug with "?%" units
444 2002-02-14 Rob Lahaye <lahaye@users.sourceforge.net>
445 * forms/form_graphics.fd:
446 * form_graphics.C: minor layout changes, such as stretching all
447 tab-windows to equal sizes and better keyboard-shortcuts.
449 2002-02-14 Rob Lahaye <lahaye@users.sourceforge.net>
450 * forms/form_graphics.fd:
451 * form_graphics.C: minor layout changes, such as stretching all
452 tab-windows to equal sizes and better keyboard-shortcuts.
454 2002-02-12 Herbert Voss <voss@lyx.org>
456 * forms/form_graphics.fd:
457 * form_graphics.[Ch]: small changes to the layout, mentioned
460 * FormGraphics.C: fix bug with use of updateWidget... when
463 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
465 * FormMinipage.C: return SMI_VALID on other form changes
467 2002-02-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
469 * FormParagraph.C (update): [VSpace:] Delete the special method
471 * xforms_helpers.C: ...and move it here.
472 Activate JMarcs new (shorter) code for updateWidgetsFromLengthString
473 and updateWidgetsFromLength.
475 2002-02-10 Rob Lahaye <lahaye@users.sourceforge.net>
477 * forms/form_external.fd:
478 * form_external.C: change color2 of a few buttons into the
481 2002-02-08 Herbert Voss <voss@lyx.org>
483 * forms/form_graphics.fd:
485 * form_graphics.[Ch]: Adding buttons for unzip-Option,
486 getValues from LyX/LaTeXfolder
488 2002-02-08 Rob Lahaye <lahaye@users.sourceforge.net>
490 * forms/form_graphics.fd:
492 * form_graphics.[Ch]: simplify the bounding box folder
495 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
497 * Menubar_pimpl.C (create_submenu): work around an xforms bug (?)
498 where one could not have both toggleon and disabled.
500 2002-02-08 Herbert Voss <voss@lyx.org>
502 * xforms_helpers.h: change unit "%" to t%
504 * FormGraphics.C: fiy bug when BB is read from file and the
507 2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
509 * FormMathsDeco.C: \underleftarrow and \underrightarrow
511 2002-02-06 Angus Leeming <a.leeming@ic.ac.uk>
513 Stabilise the tooltip interface and get Jürgen's patch to work ;-)
515 * Tooltips.[Ch]: new files. A wrapper to the tooltip code with a nice
516 clean interface. Means that FormBase, FormBaseDeprecated and
517 Tollbar_pimpl can all use the same code to have tooltips. No bloat.
519 * FormBase.C: add a Tooltips instance and interface with it.
520 (setTooltipLevel): removed. Replaced by fillTooltipChoice and
522 (getVerboseTooltip, getMinimalTooltip) now passed a const FL_OBJECT.
527 * Makefile.am: altered appropriately.
529 2002-02-06 Juergen Spitzmueller <j.spitzmueller@gmx.de>
531 * forms/form_texinfo.fd:
532 * forms/form_bibtex.fd:
533 * forms/form_citation.fd: delete text_info field again, add help choice
537 * FormTexinfo.[Ch]: Implement new Tooltip behaviour.
539 2002-02-06 Angus Leeming <a.leeming@ic.ac.uk>
541 * FormBase.[Ch]: can now chose the verbosity of the tooltip through
542 a new method setTooltipLevel(). In turn this determines which of the
543 new virtual methods, getVerboseTooltip() or getMinimalTooltip() gets
544 called from getTooltip.
545 No need for a "message" widget at the bottom of every dialog, therefore.
546 If retained, this "message" widget can be used to display "warnings",
551 * FormTexinfo.[Ch]: altered appropriately. Still need to be reshaped,
552 to lose the "message" widget and to gain a "tooltip level" choice.
554 2002-02-05 Angus Leeming <a.leeming@ic.ac.uk>
556 * forms/form_graphics.fd: Tiny tweek to make the Restore, Ok, Apply,
557 Cancel buttons' positions consistent with the other dialogs.
559 2002-02-05 Herbert Voss <voss@lyx.org>
561 * forms/form_graphics.fd: Noew the same view of the
562 buttons as in preferences (LyXView). Make some things clear
564 * FormGraphic.C: cosmetic changes to the layout. Delete
567 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
569 * forms/form.texinfo.fd: delete help button, add text_info
570 * forms/form.citation.fd,form.bibtex.fd: add text_info
571 * FormTexinfo.[Ch]: Delete Help mechanism, add tooltips and help messages.
572 * FormCitation.[Ch],FormBibtex.[Ch]: add tooltips and help messages (actually
573 no tooltips in Bibtex).
575 2002-02-05 Angus Leeming <a.leeming@ic.ac.uk>
577 * FormBase.[Ch]: You want tooltips too? You got 'em. Verified as
578 working with both xforms 0.88 and 0.89. Use by invoking
579 setTooltipHandler(ob) and by providing a method getTooltip(ob) in this
580 derived class to provide the required string.
582 2002-02-05 Angus Leeming <a.leeming@ic.ac.uk>
584 * FormBase.[Ch]: make it really easy to set up and use a prehandler
585 for feedback messages and to invoke an input event on paste from
586 the middle mouse button. The derived class needs invoke only
587 setPrehandler(ob) and for the feedback to override the virtual methods
588 feedback(ob) and clear_feedback(). If the message posted is a warning
589 rather than mere feedback, first setWarningPosted(true) to ensure
590 that the message remains visible.
592 * FormBaseDeprecated.C: a physical rearrangement of the file,
595 * FormPreamble.C: use setPrehandler to invoke an input event on paste.
597 2002-02-04 Herbert Voss <voss@lyx.org>
599 * forms/form_graphics.fd: small changes to the layout
600 * FormGraphic.C: Apply-button, keepaspectratio enabling
601 depends to case of LaTeXView. Other small changes and
602 fixes. Add LyXView scale.
604 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
606 * FormGraphics.C (c-tor): prevent resizing of the dialog.
608 2002-02-03 Herbert Voss <voss@lyx.org>
610 * xforms_helpers.C: fix bug with unit "%" in
611 updateWidgetsFromLengthString(...)
613 2002-02-02 Herbert Voss <voss@lyx.org>
615 * FormGraphic.C: fix bug with filename, rearrange the code,
616 delete choice "referencePoint" which is only possible for
618 * forms/form_graphics.fd: position options in a logical way,
619 add folder and scale for LyXView
621 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
623 * FormGraphics.C (apply, update): respect the new DEFAULT state of
624 InsetGraphicsParams::DisplayType.
626 2002-01-31 Martin Vermeer <martin.vermeer@hut.fi>
628 * forms/form_graphics.fd: tweeks.
630 2002-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * FormGraphics.C: Fix MAXDIGIT values for height and width.
634 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
636 * forms/form_citation: a few tweaks of my own.
638 2002-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640 * forms/form_citation: De-Monsterization (make it smaller).
642 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
644 * forms/form_graphics.fd:
645 * FormGraphics.C: a few tweaks of my own.
647 2002-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
649 * forms/form_graphics.fd: Very small tweaks.
651 2002-01-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
653 * forms/form_graphics.fd: Change the dialog to look similar as
654 the nice QT2-Version (added tabfolder "Bounding Box", rearrangements);
655 added text_warning field..
657 * FormGraphics.[Ch]: Handle the Rearrangements.
658 Add input filters and warnings concerning invalid inputs.
659 Recognize the lyxrc-settings of display_graphics.
661 2002-01-29 Angus Leeming <a.leeming@ic.ac.uk>
663 * FormMathsSpace.h (space_):
664 * FormMathsStyle.h (style_): change from a short to an int to fix
665 type conversion warnings.
667 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
669 * FormMathsSpace.[Ch]:
670 * forms/form_maths_space.fd:
671 Changed the "Space" subpanel of the math panel into one of
672 ordinary buttons rather than radio buttons. They are now
673 self-applying so OK and Apply could go.
675 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
677 * FormMathsStyle.[Ch]:
678 * forms/form_maths_style.fd:
679 Patched to use button arrays. Buttons are self-applying, saving
680 one keystroke and the OK and Apply buttons.
682 2002-01-27 Herbert Voss <voss@lyx.org>
686 * forms/form_graphic.fd: rewritten to support graphicx with
687 all options and to be sure that the old figinsets are correct
689 * xforms-helpers.h: added two choice const for the LyXLength
690 one with all and one only with length which have a unit.
692 2002-01-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
694 * forms/form_minipage.fd: add text_warning field.
696 * FormMinipage.[Ch]: added input filters and warnings
697 (ButtonPolicy::SMInput FormMinipage::input)
699 2002-01-28 Angus Leeming <a.leeming@ic.ac.uk>
701 * FormAboutlyx.[Ch]: Removed redundant form() method and
702 dialog_ variable. They replicate that in the parent FormDB.
704 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
707 * forms/form_maths_deco.fd: added math accents as a separate bitmap to
708 the Decorations sub-panel of mathed. See Lamport Table 3.11.
711 * MathsSymbols.C: reorganization of the two AMS panels "relations" and
712 "negated relations". Lower and broader.
714 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
716 * FormTabular.C (update): Remove redundant code.
718 2002-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
720 * forms/form_tabular.fd: checkbox2radiobutton changes.
722 2002-01-20 Herbert Voss <voss@perce.de>
724 * FormInclude.[C]: better control of unexistings files
725 when entered without the browser
727 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
729 * Toolbar_pimpl.C (update): disable layout combox when LFUN_LAYOUT
732 * combox.C (activate):
733 (deactivate): change color of labels to reflect the state of the
736 2002-01-16 Herbert Voss <voss@lyx.org>
738 * FormExternal.C (build): activate apply/ok-button when something
739 is entered in the filename-field
741 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
743 * FormMathsBitmap.C (apply): fix bug caused by using 'unsigned int'
744 rather than 'string::size_type'
746 2002-01-17 Martin Vermeer <martin.vermeer@hut.fi>
748 * FormMathPanel.[hC]:
750 * form_math_panel.[hC]:
751 * form_math_panel.fd: Modified. Added five symbol sub-panels
752 to the math panel containing AMS math symbols: arrows, relations,
753 negated relation, operators and miscellaneous (also containing some
754 hebrew and corner symbols).
756 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
758 * FormMinipage.C (apply): change because MinipageParams::pageWidth
759 is now a real LyXLength
761 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
763 * FormDocument.C: enable line spacing input properly
765 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
767 * forms/form_preferences.fd:
768 * form_preferences.h:
769 * form_preferences.C:
771 * FormPreferences.C: use better variable name
773 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
775 * forms/form_preferences.fd: change "Use Scalable Fonts"
776 to "Rescale bitmap fonts"
778 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
781 * FormPreferences.C: #include "ButtonController.tmpl" to instantiate
782 the button controller for IgnorantPolicy and PreferencesPolicy.
784 2002-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * forms/form_tabular.fd: text_info field was too small. Enlarge it.
788 2002-01-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
790 * xforms_helpers.C: modify getLengthFromWidgets to ignore the unit
791 choice if the input field contains a LyXGlueLength.
793 * FormParagraph.C: Allow to insert and display gluelengths in VSpace
797 * FormTabular.C: Change input filter to allow inserting
798 gluelengths/lyxlength or numbers with unit choices.
800 * FormMinipage.C: Use getLengthFromWidgets instead of the code there,
801 which was more or less duplicated.
803 * FormGraphics.C: set default units, dependent on US/other paper.
805 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
807 * Dialogs.C: no longer need to #include the Controller classes, as this
808 is how done in GUI.h.
810 * xformsBC.C: #include ButtonController.tmpl, containing the
811 instatiation of the button controller.
813 2002-01-15 John Levon <moz@compsoc.man.ac.uk>
815 * FormThesaurus.C: fix a crash
817 2002-1-15 Martin Vermeer <martin.vermeer@hut.fi>
820 * form_maths_delim_C:
821 * form_maths_delim.h:
822 * form_maths_delin.fd:
823 Put three radio buttons on the delimiters pop-up. It works as follows:
825 left mouse middle mouse right mouse
826 ----------------------------------------------------------------------
827 Left radio button | ( () )
828 Middle radio button | () () )
829 Right radio button | ) ) )
830 ----------------------------------------------------------------------
834 ( left-side delimiter selected
835 ) right-side delimiter selected
836 () "symmnetric pair" selected, of which the clicked delimiter is
838 So, if the middle radio button is activated ("()\nBoth")
839 and you click on "[" with the default (left) mouse button, you
840 get the delimiter pair "[]".
841 A shortcut for this (if the leftmost radio button is on) is
842 simply clicking the middle mouse button.
844 To create equal pairs, either have the middle radio button on and use
845 Mouse-left, or have the left radio button on and use Mouse-middle.
847 To create unequal pairs, you should have either the left or middle radio
848 button on, and do: "Mouse-left ( Mouse-right >" to create "(>".
850 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
852 * FormSpellchecker.[Ch]: a bit of a clean up, leaving the functionality
854 Remove the clickline_ member variable and hide() method;
855 Use fl_set_browser_dblclick_callback;
856 Constify a few temporary variables;
857 Use xforms_helpers' wrappers functions returning string rather than
858 the raw xforms functions returning char const *.
860 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
862 * DropDown.C: include <cctype> for isprint()
864 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
866 * FormMinipage.C (apply, update): MinipageParams::width renamed
867 as MinipageParams::pageWidth.
869 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
873 MathsSymbols.C: Blackboard Bold and Calligraphic std symbols
874 added to math panel's 'misc' sub-panel.
876 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
878 * FormMathsMatrix.C (input): use lyx::count rather than std::count.
880 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
882 * FormPreferences.h: add a std:: to make_pair.
884 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
886 * DropDown.[Ch] (keypress, key_pressed): new signal and method,
889 * DropDown.C: place xforms callback functions in namespace anon.
890 Set browser callback on single not double click.
891 (select): return immediately of the vector is empty. Highlight the top
892 line. Position the browser above the minibuffer, not below it.
893 (peek): call key_pressed when a key press is detected.
894 (key_pressed): clean-up and emit the keypress signal.
896 * xforms_helpers.[Ch} (getSelectedStringFromBrowser): new function.
897 If nothing is selected, return string().
899 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
901 * FormSpellchecker.C: disable resizing due to xforms bug
903 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
905 * FormFiledialog.C (Reread): skip broken symlinks
907 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
909 * FormMathsMatrix.C (AlignFilter): use std::count and add some
912 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
914 * MathsSymbols.C (get_pixmap_from_symbol): add a default statement
917 * FormPreferences.C (Interface::input):
919 (Paths::input): add shortcuts to file dialogs directory buttons
921 * FormPreference.h (browse): add default empty parameters for
922 buttons descriptions.
924 * FormFiledialog.C (SetButton): allow for a shortcut in the name
927 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
933 * forms/form_thesaurus.fd: update to Aiksaurus 0.14
935 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
937 * Toolbar_pimpl.C (setPixmap): simplify a bit
939 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
941 * Toolbar_pimpl.C (ToolbarCB):
942 * Menubar_pimpl.C (MenuCallback): use verboseDispatch instead of
945 2002-01-12 Allan Rae <rae@lyx.org>
947 * FormTabular.C (FormTabular): Fix Purify UMR.
949 * FormPreferences.C (build): "Conversion" is a better name.
951 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
953 * FormMathsPanel.[Ch] (dispatchFunc): new method. Invokes
956 * FormMathsStyle.C (apply): use LFUNs to apply, not insertSymbol.
958 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
961 * forms/form_preferences.fd: change names and descriptions of popup
962 font variables to reflect their actual use.
964 * Menubar_pimpl.C: return MENU_LABEL_STYLE to FL_NORMAL_STYLE.
966 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
968 * FormPreferences.C (input): allow empty values for document_path
971 * FormFiledialog.C (SetButton):
972 (FileDlgCB): do not disable directory buttons if they have an
974 (SetDirectory): if the argument is an empty string, change to
977 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
979 * forms/form_maths_style.fd:
980 * FormMathsStyle.[Ch]: New files, Implementing a mathed pop-up for math
981 size "styles" and font types.
982 * FormMathsPanel.[Ch]:
984 * forms/form_maths_panel.fd: Modified too.
986 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
988 * Menubar_pimpl.C (create_submenu):
989 * Toolbar_pimpl.C (update): use FuncStatus.
991 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
993 * xform_helpers.[Ch] (getStringFromBrowser): a littel wrapper function
994 for fl_get_browser_line that is guaranteed to return a valid string.
996 2002-01-08 John Levon <moz@compsoc.man.ac.uk>
998 * FormSpellchecker.C: fix possible crash on clicking a suggestion
1000 2002-01-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1002 * forms/form_document.fd (bullets): fix small cosmetic problem after
1003 John's radio2button change.
1005 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1008 * forms/form_document.fd: change the labels and variable names of
1009 left_margin, right_margin to inner_margin, outer_margin, in line
1010 with bugzilla bug #157.
1012 * FormFiledialog.C (Reread): used locally stored modtime variable
1013 rather than make repeated calls to fileInfo.getModificationTime().
1015 * xforms_helpers.C (ReadableFile, WriteableFile): added a couple of
1016 isOK() checks to the use of the FileInfo instance and removed those
1019 * Menubar_pimpl.C: added a variable MENU_LABEL_STYLE and use it.
1020 Set it to FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1022 2002-01-07 John Levon <moz@compsoc.man.ac.uk>
1025 * forms/form_*: change radio buttons to round3dbutton
1027 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1029 * FormFiledialog.C: add FIXME
1031 * xforms_helpers.C: fix use of FileInfo
1033 2002-01-07 John Levon <moz@compsoc.man.ac.uk>
1039 * forms/form_tabular.fd: ugly fix to get around
1040 some of the UI problems (bug #110).
1042 2002-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1044 * FormDocument.C: Recognize the default paper settings too
1045 when setting the default length values (cm or inch).
1046 * FormParagraph.C: do the same.
1048 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1050 * FormFloat.C: changes to prevent here definitely being used
1053 2001-12-29 Dekel Tsur <dekelts@tau.ac.il>
1055 * FormMathsMatrix.C (AlignFilter): Allow entering the '|' char.
1057 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1059 * DropDown.C: always include <config.h> in sources.
1064 * DropDown.h: do not include <config.h> in headers
1066 2001-12-20 Juergen Vigna <jug@sad.it>
1068 * FormTabular.C (update): final LT-h/f support modifications.
1070 2001-12-19 Juergen Vigna <jug@sad.it>
1072 * FormTabular.C (update): change a bit the tabular layout and added
1073 better longtable options handling.
1075 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * FormToc.C: using std::endl
1079 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1081 * FormToc.C: fix crash when no entries, and
1082 update types properly
1084 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1086 * Menubar_pimpl.C: Fixed a crashing bug when document has more
1087 than 80 floats and using xforms 0.88
1089 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1091 * xforms_helpers.C: include lyxlength.h here
1092 * xforms_helpers.h: ... but not here
1094 * FormTabular.C: use LyXLength instead of string wherever
1095 necessary; whitespace changes.
1097 2001-12-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1099 * forms/form_preferences.fd: use the same name for font sizes
1100 than the character dialog.
1102 2001-11-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1104 * forms/form_search.fd: Added label text to search buttons
1105 (to make the shortcuts visible).
1107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1109 * FormParagraph.C: set combo box correctly for VSpace::LENGTH
1111 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1114 * xforms_helpers.C: change "while(" to "while ("
1116 2001-12-05 Allan Rae <rae@lyx.org>
1118 * FormParagraph.C (apply): One other LyXText fix.
1120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1122 * FormParagraph.C (getCurrentParagraph):
1123 (apply): get the right LyXText !
1125 2001-11-29 John Levon <moz@compsoc.man.ac.uk>
1127 * FormParagraph.C: disallow page breaks in insets
1129 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1131 * FormParagraph.C: allow signed space above/below, actually
1132 use space below units
1134 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1136 * FormToc.C: fixes to make floatlists work
1138 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1141 * Alert_pimpl.C: Alert etc.
1145 * forms/fdfix.sh: move idex etc. to here
1147 * GUIRunTime.C: move getScreenDPI() to here
1149 2001-11-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1151 * forms/form_ref.fd, form_preferences.fd, form_citation.fd,
1152 form_graphics.fd, form_paragraph.fd: Enlarged the Restore button
1153 to 100p (now German translation fits in).
1154 * forms/form_external.fd, form_bibtex.fd, form_print.fd,
1155 form_preferences.fd, form_graphics.fd, form.include.fd,
1157 Unified label "Browse..." and unified its width to 100p.
1159 2001-11-13 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1161 * forms/form_graphics.fd: fixed shortcut clash
1162 * forms/form-external.fd: added shortcut for "Apply"
1164 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1166 * FormFiledialog.C: don't reset path if new dir
1169 2001-11-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1171 * forms/form_document.fd: Renamed "Save as Class Defaults"
1172 to "Save as Document Defaults"
1174 Removed the setEnabled-Definitions for the
1175 "save_default"-Button since it causes nothing but trouble.
1176 Changed the text of AskQuestion on saveParamsAsDefault.
1178 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1180 * DropDown.C: fix crash, improve behaviour a bit
1182 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1184 * FormDocument.C (class_apply):
1188 (bullets_apply): add a version of these methods taking a
1189 BufferParams& parameters. The original versions are now wrappers
1191 (saveParamsAsDefault): new function, moved from old
1192 LFUN_LAYOUT_SAVE_DEFAULT code.
1194 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1198 * DropDown.C: drop-down completion
1200 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1202 * forms/form_graphics.fd: change clashing shortcut
1204 2001-10-24 Juergen Vigna <jug@sad.it>
1206 * FormTabular.C: changed calls for footer/headers of longtabulars.
1208 2001-10-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1210 * forms/form_tabular.fd: Add value choices
1211 * FormTabular.C: Handle that choices
1213 * FormDocument.C: fix small bug.
1215 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1217 * FormGraphics.[Ch]: move some parameters out of the heaader file and
1218 into namespace anon.
1220 * FormPreferences.C:
1221 * forms/form_preferences.fd: replaced button_colorspace with two
1222 radio buttons, button_hsv and button_rgb.
1224 2001-10-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1226 * forms/form_document.fd:
1227 Class: add a value choice for Default Skip.
1228 Some rearrangements (minor tweaks).
1229 * FormDocument.C: Handle that choice, minor tweaks.
1230 * forms/form_paragraph.fd: Add value choices
1231 * FormParagraph.C: Handle that choices.
1232 * FormMinipage.C/FormGraphics.C: Small tweaks.
1234 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1236 * FormDocument.C: fixed some bugs in the Paper tab.
1238 * xforms_helpers.[Ch] (updateWidgetsFromLengthString): add argument
1239 specifying default unit for choice if input string is empty.
1241 2001-10-12 Angus Leeming <a.leeming@ic.ac.uk>
1243 * FormDocument.C (input): one more tweak...
1245 2001-10-10 Herbert Voss <voss@perce.de>
1247 * FormTexinfo.[Ch]: some changes to the code
1249 2001-10-10 André Pönitz <poenitz@htwm.de>
1251 * FormsMathMatrix.C: add missing space between v- and h-alignment
1254 2001-10-09 Herbert Voss <voss@perce.de>
1257 * forms/form_texinfo.fd: new files. Display information about the
1258 installed texfiles (cls,sty,bst).
1260 * FormShowFile.[Ch]: new files. Display the contents of a file.
1263 * Makefile.am: modified appropriately.
1265 2001-10-09 Angus Leeming <a.leeming@ic.ac.uk>
1267 * xforms_helpers.[Ch] (getLengthFromWidgets): new function.
1268 Given input and choice widgets, create a string such as "1cm".
1269 (updateWidgetsFromLengthString): new function.
1270 Given a string such as "1cm", set the input and choice widgets.
1273 * forms/form_document.fd: improve the GUI of the paper tab using these
1274 new helper functions.
1276 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1278 * FormDocument.C (build): support latin4
1280 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1282 * FormDocument.C (build): support latin3
1284 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1286 * forms/form_aboutlyx.fd: use flat boxes for tabs.
1288 2001-10-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290 * forms/form_document.fd: rearrangement of the paper tab;
1291 rename "use geometry" to "custom margins/sizes".
1293 * FormDocument.C: add code to avoid the input of senseless data
1294 in document -> paper.
1296 2001-10-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1298 * FormDocument.C: Disable choice "Special" if landscape
1299 is chosen to prevent senseless values.
1301 2001-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1303 * forms/form_preferences.fd: small tweaks.
1305 2001-09-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * forms/form_document.fd: Removed "Auto Reset", renamed the "Reset"
1308 button to "Use Class Defaults" and moved it outside the tab.
1309 Some more minor tweaking.
1311 * FormDocument.C: handled this changes.
1313 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1315 * Dialogs.C: remove splash dialog code.
1319 * forms/form_splash.fd: removed.
1322 * forms/makefile: remove splash dialog files.
1324 * Menubar_pimpl.C (MenuCallback): no longer call
1325 Dialogs::destroySplash.
1327 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1329 * forms/form_preferences.fd: fix typo
1331 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1334 * forms/form_ref.fd: renamed the widgets in the standard style.
1336 * xforms_helpers.[Ch] (getVectorFromChoice, getVectorFromBrowser): new
1337 helper functions. Build a vector<string> from the contents of
1338 an fl_choice and fl_browser respectively.
1340 * FormCitation.C (fillChoice, updateBrowser):
1341 * FormRef.C: use these new functions to only update the choices and
1342 browsers when absolutely necessary.
1344 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1346 * FormBase.C (InputCB):
1347 * FormBaseDeprecated.C (InputCB): generalised Dekel's fix to the
1348 "select choice < 1" problem.
1350 * FormRef.C (input): undid Dekel's change in light of the above
1353 2001-09-21 Dekel Tsur <dekelts@tau.ac.il>
1355 * FormRef.C (input): Fix crash when using dialog with keyboard.
1357 2001-09-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1359 * forms/form_document.fd: small tweaks.
1361 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1363 * forms/form_document.fd: Added checkbox "auto_reset", button
1364 "reset_defaults" and button "save_defaults".
1366 * Form_Document.[Ch]: Removed AskQuestion when changing class.
1367 Implement the 2 buttons and the checkbox described above.
1369 * forms/form_preferences.fd: Added checkbox "auto_reset" (to
1370 save the default value of that lyxrc)
1372 * FormPreferences.C: Handle that button
1374 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1376 * form_ref.fd: a little tweaking.
1378 * FormSpellchecker.C (build): set the bounds to the slider, so it
1379 updates during a spellchecking session.
1381 2001-09-14 Angus Leeming <a.leeming@ic.ac.uk>
1383 * forms/form_preferences.fd: rearrangement and addition of new
1384 Display Graphics radio buttons to Look & Feel->Misc
1385 (By Jürgen Spitzmüller).
1387 * FormPreferences.C: modify new lyxrc variable "display_graphics"
1388 depending on the values of the Display Graphics radio buttons.
1390 * FormGraphics.C: use this variable.
1392 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1394 * FormMathsBitmap.[Ch]: add d-tor to finally fix a memory leak.
1395 Hoorah! Happy Birthday to me!
1397 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1399 * forms/form_ref.fd: Add buffer button.
1401 * FormRef.C (update): Handle the buffer button.
1404 2001-09-13 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1406 * forms/form_graphics.fd: complete rewrite of the dialog
1407 (Most work was done by Angus, though).
1409 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1411 * combox.C (hide): execute the callback _after_ closing the
1414 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1416 * FormDocument.C (c-tor): initialise some variables.
1418 * forms/form_citation.fd: remove spurious shortcut to a labelframe!
1419 (Thereby removing a warning message when the dialog is built.)
1421 * FormFloat.C (input): return SMI_VALID.
1423 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1425 * FormDocument.C (input, options_update): add code to enable the
1426 Author-Year/Numerical citation choice only if the natbib checkbox is
1429 * FormFloat.[Ch]: added new method input() to control the behaviour of
1431 * forms/form_float.fd: renamed Here as button_here_definitely.
1434 * forms/form_graphics.fd: add callbacks to a few widgets that didn't
1435 have them, so enabling the Ok, Apply buttons appropriately.
1437 2001-09-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1439 * forms/form_paragraph.fd: cosmetics (renamed "Label Width" to "Longest
1440 Label", added a labelframe).
1442 2001-09-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1444 * Toolbar_pimpl.C (C_Toolbar_BubblePost): fix linking
1445 (C_Toolbar_BubbleTimerCB): fix linking
1447 * FormMathsBitmap.C (form): use get() to get the raw pointer.
1449 * FormMathsBitmap.h: use shared_c_ptr for form_ as well.
1451 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1453 * combox.C (C_Combox_input_cb): make it static
1454 (C_Combox_combo_cb): make it static
1455 (C_Combox_peek_event): make it static
1457 * Toolbar_pimpl.C (C_Toolbar_BubbleTimerCB): make it static
1458 (C_Toolbar_BubblePost): make it static
1459 (C_Toolbar_ToolbarCB): make it static
1461 * Timeout_pimpl.C (C_intern_timeout_cb): make it static
1463 * Menubar_pimpl.C (C_Menubar_Pimpl_MenuCallback): make it static
1465 * Makefile.am (libxforms_la_LIBADD): add this and depend on the
1468 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1470 * FormBaseDeprecated.[Ch]: use the same allow_resize methodology as has
1471 been used successfully in FormBase.
1472 (show): call bc().refresh() after building the dialog to activate the
1475 * FormPreferences.C (build): remove hack to fix butoon controller as
1476 the correct fix is in FormBaseDeprecated.
1478 * FormPreferences.[Ch] (connect, disconnect): removed (redundant).
1480 * FormMaths*.C (c-tor): prohibit resizing of the dialog.
1482 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1484 * Toolbar_pimpl.C (setLayout):
1485 (layoutSelected): make them work even when gettext has been
1486 translating the interface.
1488 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1490 * FormMathsSpace.C: Fix bug: the "Maths spacing" dialog is broken
1491 ("Apply" does not work without former user change in the dialog).
1493 * FormPreferences.C (build): Fix bug: if you start LyX and open the
1494 Preferences dialog, "Apply" is activated even though no change has been
1497 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1499 * FormBase.C (show): use controller_.IconifyWithMain() to control
1500 the dialog's show policy
1502 * FormBaseDeprecated.C (show): ditto, but use lyxrc variable directly.
1504 * FormPreferences.C:
1505 * forms/form_preferences.fd: add a check_dialogs_iconify_with_main
1506 check button to the Look & Feel->Misc tab and code to modify the lyxrc
1507 variable dialogs_iconify_with_main appropriately.
1509 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1511 * FormBase.h: clean-up comments. Remove mutable status of minw_, minh_.
1513 2001-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1515 * forms/form_character.fd: small cosmetics (aligned "Language:" right
1516 as suggested in Michael's Buglist).
1518 2001-09-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1520 * Toolbar_pimpl.C (updateLayoutList): do not display obsolete
1522 (layoutSelected): remove the numeric argument and use the text of
1523 the combox entry instead.
1525 * combox.C: lowercase a few remaining methods, rename select_text
1527 * several files: propagate these changes
1529 2001-09-03 Angus Leeming <a.leeming@ic.ac.uk>
1531 * FormPreferences.C: add fl_set_input_return to input_paperoption.
1533 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1535 * FormParagraph.C: fix default line spacing case
1537 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1539 * FormParagraph.C: disable space inputs when != Length
1541 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1543 * FormPreferences.C:
1544 * form_preferences.h:
1545 * form_preferences.C:
1546 * forms/form_preferences.fd: add view_dvi_paper_option
1548 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1550 * FormMathsPanel.h: sub dialogs must be Ignorant.
1552 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1554 * FormParagraph.C: fix to not allow 0 linespacing
1556 2001-08-29 Angus Leeming <a.leeming@ic.ac.uk>
1558 * FormCitation.C (c-tor): prevent re-sizing of the dialog.
1560 * FormParagraph.C (input): set fl_get_choice check for the linespacing
1561 to 5 not 4. xforms arrays start at 1.
1563 2001-08-29 Angus Leeming <a.leeming@ic.ac.uk>
1565 * FormParagraph.[Ch]:
1566 * forms/form_paragraph.fd: clean up of dialog and of controlling
1569 2001-08-29 Angus Leeming <a.leeming@ic.ac.uk>
1571 * FormBase.C (C_CutandPastePH): new function that can be used as a
1572 pre-handler to any xforms text input widget. Will trigger an event on
1573 pasting into the widget using the middle mouse button.
1575 * FormPreamble.C (build): use this pre-handler for the input widget.
1577 2001-08-26 Angus Leeming <a.leeming@ic.ac.uk>
1580 * forms/form_citation.fd: a little tweaking to ensure that the
1581 style choice remains centred within the frame if its contents change.
1583 * FormBase.h: added an allow_resize_ member variable. If false
1584 resizing the dialog is prohibitted.
1587 * FormBrowser.[Ch]: modify c-tors to pass this new variable to FormBase.
1592 make use of this functionality to ensure that the dialog cannot be
1595 2001-08-27 John Levon <moz@compsoc.man.ac.uk>
1597 * GUIRunTime.C: initApplication() should take a int & argc
1599 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1602 * FormCitation.C: tidy code a little
1604 * GUIRunTime.C: more informative error
1606 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1608 * forms/form_preferences.fd: order the items "logically" so that
1609 tabbing through the dialog makes sense. Close bug #404569.
1611 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1613 * FormPreferences.C: Tentative fix of John's "no point in spell
1614 command "None"" bug, #223255.
1616 2001-08-23 Herbert Voss <voss@perce.de>
1618 * FormBibtex.C (input): normalize database list
1620 2001-08-21 Angus Leeming <a.leeming@ic.ac.uk>
1622 * FormBibtex.C: make sure that any database is stored only once.
1624 2001-08-22 Herbert Voss <voss@perce.de>
1626 * FormBibtex.C (input): fix for multiple databases
1628 2001-08-21 Herbert Voss <voss@perce.de>
1630 * FormBibtex.C (input): extension handling for ".bst"
1632 2001-08-21 Angus Leeming <a.leeming@ic.ac.uk>
1634 * forms/form_bibtex.fd: activate "Ok" when the "Add bibliography to TOC"
1635 check button is pressed.
1637 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1639 * FormParagraph.C (general_apply): Handle default spacing.
1640 (general_update): Ditto.
1642 2001-08-20 Angus Leeming <a.leeming@ic.ac.uk>
1645 * forms/form_bibtex.fd: get the browse buttons working as they should.
1647 2001-08-20 Herbert Voss <voss@perce.de>
1650 * forms/form_bibtex.fd: enhanced bibtex-data gui to browse for
1651 databases and styles. Added an option for "bibliography into toc"
1653 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1655 * FormMathsBitmap.h: use the lyx::shared_c_ptr that uses free() to
1658 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1660 * combox.h: fix source doc
1662 * form_math_matrix.C:
1663 * forms/form_math_matrix.fd: new layout
1665 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1669 * forms/form_paragraph.fd:
1670 * FormParagraph.C: support per-para linespacing
1672 * forms/form_float.fd:
1673 * form_float.C: fix shortcut typo
1675 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1677 * forms/form_character.fd: small adjustment to the position of John's
1678 extra Language label.
1680 2001-08-09 André Pönitz <poenitz@htwm.de>
1682 * FormMathsDelim.C: renamed some delimiter parameters.
1684 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1686 * FormCitation.C (build):
1687 * FormDocument.C (build):
1688 * FormMinipage.C (build):
1689 * FormParagraph.C (build):
1690 * FormRef.C (build): added stuff to read-only list in the
1693 * FormCitation.C (update): disable citation style stuff when not using
1696 2001-08-06 Juergen Vigna <jug@sad.it>
1698 * forms/form_ert.fd: new file.
1700 * form_ert.[Ch]: new files.
1702 * FormERT.[Ch]: new files. Implementation of ERT dialog.
1704 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1706 * FormPreferences.C (Color c-tor): initialise modifiedXformsPrefs.
1708 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1710 * GUIRunTime.C (processEvents, runTime): small code rearrangement.
1712 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1716 * form_maths_panel.C:
1717 * form_maths_panel.h:
1718 * forms/form_maths_panel.fd: re-add dots bitmaps
1720 * FormRef.C: "Goto" -> "Go to"
1722 2001-07-29 John Levon <moz@compsoc.man.ac.uk>
1724 * FormMathsBitmap.C: initialise form_
1726 2001-07-29 Baruch Even <baruch@lyx.org>
1728 * src/forms/form_graphics.fd:
1729 * src/FormGraphics.C: Added support for the new horizontal scale factor.
1731 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1733 * forms/makefile (SRCS): add form_float.fd
1735 * forms/form_float.fd: new file
1737 * form_float.[Ch]: new files
1739 * Makefile.am (libxforms_la_SOURCES): add FormFloat.C,
1740 FormFloat.h, form_float.C and form_float.h
1742 * FormFloat.[Ch]: new files
1744 * Dialogs.C: init GUIFloat is well
1746 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1748 * FormToc.C (updateType): Fix problem with TOC that couldn't be
1749 updated because the type list was not updated.
1751 2001-07-26 Angus Leeming <a.leeming@ic.ac.uk>
1753 * forms/form_aboutlyx.fd: made a bit bigger to get the Copyright &
1756 * input_validators.[Ch] (fl_int_filter, fl_float_filter): new methods.
1758 * FormGraphics.C (build): uncommented the fl_set_input_return call for
1759 input_rotate_angle. Set input filter on rotate_angle to make it accept
1760 only floating point numbers.
1761 (input): Browse now activates the Ok button approriately.
1763 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1772 * forms/form_thesaurus.fd: add thesaurus
1774 2001-07-26 Baruch Even <baruch@lyx.org>
1777 * FormGraphics.C: Removed hide method since it was interfering with the
1778 needed work, it cleared several vectors that were needed for proper
1779 functioning. Also changed rotateAngle to float.
1782 * forms/form_graphics.fd: Removed inline option, all InsetGraphics figures
1785 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1787 * FormInclude.C: add load file facility back
1789 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1791 * FormCharacter.C: disable resizing as it doesn't work
1793 * FormPreamble.C: allow to copy-paste from RO preamble by
1796 2001-07-20 Jürgen Spitzmüller <juergen.sp@t-online.de>
1798 * forms/form_citation.fd: resized form to fit on a 800x600 screen.
1800 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1802 * FormCitation.[Ch]: changes associated with adding natbib support.
1803 New helper functions, string_width, fillChoice, updateStyle.
1804 (apply): set the citation command appropriately.
1805 (input): deal with the citation command choices.
1806 (update): parse the citation command and deal with it. Nuke the
1810 * FormDocument.C (build): add options to use natbib.
1812 * forms/form_citation.fd: add natbib support. Rearrange dialog to
1813 fit onto shorter screens.
1815 * forms/form_document.fd: add natbib support.
1817 2001-07-16 Juergen Vigna <jug@sad.it>
1819 * form_aboutlyx.C: set default for "Close" button to "ESC"-key.
1821 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1823 Consistent use of Lsstream.h:
1824 * FormAboutlyx.C (build):
1825 * FormVCLog.C (update): std::ostringstream -> ostringstream.
1827 * FormMathsDelim.C (apply):
1828 * FormMathsMatrix.C (apply): std::stringstream -> stringstream.
1830 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1832 * implement 1 about lyx dialog instead of 3 separate ones
1834 * FormCredits.[Ch]: removed
1835 * FormCopyright.[Ch]: removed
1836 * form_credits.[Ch]: removed
1837 * forms/form_credits.fd: removed
1838 * form_copyright.[Ch]: removed
1839 * forms/form_copyright.fd: removed
1840 * FormAboutlyx.[Ch]: added
1841 * form_aboutlyx.[Ch]: added
1842 * forms/form_aboutlyx.fd: added
1843 * Dialogs.C: add about lyx stuff
1845 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1849 * FormPreferences.[Ch]: rename spellchecker to spelloptions
1850 * form_preferences.[Ch]: idem
1851 * forms/form_preferences.fd: idem
1852 * FormSpellchecker.[Ch]: added
1853 * form_spellchecker.[Ch]: added
1854 * forms/form_spellchecker.fd: added
1855 * Dialogs.C: add spellchecker
1857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1859 * FormFiledialog.C: (*it). -> it->
1860 * Toolbar_pimpl.C: ditto
1861 * RadioButtonGroup.C: ditto
1862 * FormPreferences.C: ditto
1864 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1866 * GUIRunTime.C (x11Display):
1869 (x11VisualDepth): new methods
1871 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1873 * FormDocument.C (class_apply): call CutAndPaste::'s staitc method
1876 * Toolbar_pimpl.h: make owner be a XFormsView, small changes
1879 * GUIRunTime.C (createMainView): implement
1881 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1885 * forms/form_character.fd: hide the widget underneath language
1888 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1890 * FormPreferences.h:
1891 * FormPreferences.C: connect and operator
1892 showSpellcheckerPreferences signal
1894 * FormPrint.C (input): modify to select radio_file
1895 when the user uses the filename input
1897 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1899 * combox.C (remove): send debug output to Debug::GUI.
1901 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1903 * Menubar_pimpl.C (create_submenu):
1904 * Toolbar_pimpl.C (update): update to use func_status
1906 2001-06-25 The LyX Project <lyx@tulip.home.sad.it>
1908 * FormPreferences.C (Path::feedback): remove bogus description of
1911 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1913 * xformsBC.h: clean-up of included files.
1915 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1918 * FormParagraph.C (c-tor): cosmetic name change of signal.
1920 * FormParagraph.[Ch]: added machinery to act on an updateParagraph
1921 signal. It's pretty crude at the moment! Mental note: would be more
1922 elegant if we passed a LyXParagraph & with both the signals rather than
1923 search through the Buffer.
1925 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1927 * *.[h]: added // -*- C++ -*-
1928 * *.[C]: removed // -*- C++ -*-
1930 * FormCharacter.C (update): now uses contents of font_, stored
1931 permanently by the controller to update() the dialog.
1933 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1936 * form_include.fd: (various places): Ok button is now activated when
1937 the filename is input from the keyboard.
1939 * FormPreferences.C white-space change in various places.
1940 (Converters::GetTo): get the contents of "to" not "from"! Thus fix bug
1941 that disabled addition of new converters.
1943 * FormCharacter.C (input, update): new methods. Activate the Apply
1944 button when any of the input fileds are not IGNORE.
1946 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1948 * FormToc.C (input): change test slightly.
1949 (updateContents): clear list if empty and add no list msg.
1951 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1953 * FormParagraph.C (update, general_update): enabling the align buttons
1954 is now dependent on the AlignPossible entry in the Layout.
1956 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1959 * FormMathsMatrix.C: bring C functions into global namespace if
1962 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1964 * MathsSymbols.C (pixmapFromBitmapData): add std::
1966 * FormMathsMatrix.C (AlignFilter): add std::
1968 2001-05-22 Adrien Rebollo <rebollo@iaf.cnrs-gif.fr>
1970 * FormDocument.C (build): add iso8859-15 support.
1972 2001-05-08 Baruch Even <baruch@lyx.org>
1974 * Menubar_pimpl.C: Fixed compilation problem.
1976 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1978 * Menubar_pimpl.C (add_toc): use name and not type with float.
1979 (create_submenu): correct call of new object
1980 (create_submenu): add FloatListInsert and FloatInsert to dummy clause.
1982 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1984 * FormParagraph.[Ch]: remove !NO_PEXTRA and !NEW_INSETS cruft
1986 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1988 * Dialogs.C: included insetgraphicsParams.h
1990 * FormMathsMatrix.C:
1991 * FormMathsBitmap.C: included LAssert.h
1993 2001-04-24 Allan Rae <rae@lyx.org>
1995 * xforms_helpers.C (formatted): two consecutive spaces would kill it.
1997 2001-04-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1999 * xforms_helpers.C (formatted): do not use string::substr(1) on a
2000 string of length 1 !
2002 2001-04-16 Allan Rae <rae@lyx.org>
2004 * xforms_helpers.C (formatted):
2005 * Menubar_pimpl.C (add_toc): #warning triggers an error on Sun CC 6.0
2006 as an unrecognised preprocessor directive. So ensure they're wrapped.
2008 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2010 * FormTabularCreate.C: pass a pair of uints to the controller
2012 * FormVCLog.C: the log appears as a stringstream now
2014 * forms/form_external.fd: make params update state (from Angus)
2016 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2018 * Menubar_pimpl.C: include gettext.h
2020 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2022 * xforms_helpers.C (formatted): constify length
2024 * FormTabular.C (update): small restructure, adjust for scoped_ptr
2025 (input): adjust for scoped_ptr
2026 (input): constify str
2028 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
2030 * Dialogs.C: s/popup/dialog/
2034 * FormBase.C: s/ControlButton/ControlButtons/
2035 move bc().refresh() into base show() method
2038 * FormBaseDeprecated.C:
2041 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2043 * FormMathsPanel.C (c-tor): set button controller cancel label to close.
2046 * forms/form_toc.fd: implemented controller-view split.
2048 * Dialogs.C: associated changes.
2050 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2053 * forms/form_citation.fd: Don't change the name of the button when
2054 toggling between regular expression and simple searches.
2055 Squashed bug when creating a new inset, the keys field contained
2056 one (empty) key. No more; thanks, Dekel.
2059 * forms/form_external.fd: added Apply button.
2061 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2064 * FormBrowser.[Ch]: changes associated with renaming ControlBase as
2067 * FormExternal.[Ch]:
2068 * forms/form_external.fd: implemented controller-view split.
2070 * Dialogs.C: associated changes.
2072 * FormGraphics.[Ch]:
2075 moved the browsing functionality into the controller.
2077 * xforms_helpers.[Ch]: moved browseFile to
2078 ../controllers/helper_funcs.[Ch]
2081 * forms/form_citation.fd: added case sensitive search button.
2083 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2085 * xformsBC.[Ch]: Patched in a slight reworking of Baruch Even's patch.
2086 Code moved into the generic template base class. Replaced
2087 setCancelCloseButton() with setButtonLabel().
2089 2001-03-29 Juergen Vigna <jug@sad.it>
2091 * FormMinipage.C: removed widthp_ and all it's functions and changed
2092 to use new %-lengths of LyXLength.
2094 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2096 * FormGraphics.[Ch]:
2097 * forms/form_graphics.fd:
2099 * forms/form_index.fd: implemented controller-view split.
2101 * Dialogs.C: associated changes.
2103 * FormCharacter.[Ch]: changes associated with ControlCharacter cleanup.
2105 * FormCitation.C: changes associated with ControlCitation cleanup.
2107 * FormMinipage.h: cleaned-up forward declarations.
2109 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2111 * FormMinipage.[Ch]:
2112 * forms/form_minipage.fd:
2114 * forms/form_print.fd:
2115 * FormSplash.[Ch]: implemented controller-view split.
2117 * Dialogs.C: associated changes.
2119 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2121 * FormPreamble.[Ch]:
2122 * forms/form_preamble.fd:
2124 * forms/form_ref.fd:
2126 * forms/form_search.fd:
2127 * FormTabularCreate.[Ch]:
2128 * forms/form_tabular_create.fd: implemented controller-view split.
2130 * Dialogs.C: associated changes.
2132 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2139 * form_url.fd: implemented controller-view split.
2141 * Dialogs.C: associated changes.
2145 * FormCitation.h: moved methods from protected to private.
2147 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2149 * FormCredits.C (build): changes associated with
2150 ControlCredits::getCredits returning a stringstream not a vector<string>
2152 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2154 * FormCopyright.[Ch]:
2155 * forms/form_copyright.fd: implemented controller-view split.
2158 * forms/form_credits.fd: implemented controller-view split.
2160 * Dialogs.C: associated changes.
2162 * xforms_helpers.C (formatted): improved the function so that it now
2163 repects '\n' characters in the input string. Ie, the user can now
2164 specify line breaks explicitly.
2166 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
2168 * FormCharacter.[Ch]:
2169 * forms/form_character.fd: implemented controller-view split.
2171 * Dialogs.C: associated changes.
2173 * FormBase.C (input): changed return to SMI_VALID.
2175 * FormCitation.C (updateBrowser): ensure that the keys are stripped of
2176 any surrounding whitespace.
2178 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2180 * FormBase.[Ch] (input): no longer pure virtual. Has defualt state of
2182 (FormBase2): split into two template classes, FormDB (DialogBase) and
2183 FormCB (ControllerBase) for greater flexibility.
2187 * FormCitation.[Ch]: associated changes.
2192 * forms/form_browser.fd: implemented controller-view split.
2194 * Dialogs.C: associated changes.
2196 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2199 * forms/form_bibtex.fd: implemented controller-view split.
2201 * Dialogs.C: associated changes.
2203 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2205 * FormBaseDeprecated.[Ch]: rename title as title_.
2207 * FormBaseDeprecated.C: restore John's trick to give the dialog a border
2208 with limited functionality. It got lost in the MVC merge.
2210 * FormBaseDeprecated.C:
2211 * FormBase.C (show): moved initialisation of minw_, minh_ here.
2213 * FormBibitem.C (build):
2214 * FormBibtex.C (build):
2215 * FormBrowser.C (build):
2216 * FormCharacter.C (build):
2217 * FormCitation.C (build):
2218 * FormCopyright.C (build):
2219 * FormCredits.C (build):
2220 * FormDocument.C (build):
2221 * FormError.C (build):
2222 * FormExternal.C (build):
2223 * FormGraphics.C (build):
2224 * FormInclude.C (build):
2225 * FormIndex.C (build):
2226 * FormMinipage.C (build):
2227 * FormParagraph.C (build):
2228 * FormPreamble.C (build):
2229 * FormPreferences.C (build):
2230 * FormPrint.C (build):
2231 * FormRef.C (build):
2232 * FormSearch.C (build):
2233 * FormTabular.C (build):
2234 * FormTabularCreate.C (build):
2235 * FormToc.C (build):
2236 * FormUrl.C (build): removed initialisation of minw_, minh_.
2238 * The Maths Panel stuff no longer causes a crash on exit from LyX.
2241 * forms/form_maths.fd: removed.
2243 * forms/form_maths_delim.fd:
2244 * forms/form_maths_deco.fd:
2245 * forms/form_maths_matrix.fd:
2246 * forms/form_maths_space.fd:
2247 * forms/form_maths_panel.fd: new files.
2248 Split contents of form_maths.fd into 5 new files, one for each form.
2250 * MathsSymbols.[Ch]: remove class BitmapMenu, renamed and reworked as
2251 class FormMathsBitmap in FormMathsBitmap.[Ch].
2253 * FormMathsPanel.[Ch]:
2254 * FormMathsBitmap.[Ch]:
2255 * FormMathsDeco.[Ch]:
2256 * FormMathsDelim.[Ch]:
2257 * FormMathsMatrix.[Ch]:
2258 * FormMathsSpace.[Ch]: Split contents of FormMaths into new files,
2259 one for each popup. Rewrite so that all the new classes are derived from
2260 FormBaseBD. Clean up the logic in the process (I hope!).
2262 * Makefile.am: added new fils, removed redundant ones.
2264 2001-03-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2266 * FormMinipage.C (FormMinipage): add SigC:: namespace specifier.
2268 (updateInset): ditto
2270 2001-03-16 Juergen Vigna <jug@sad.it>
2272 * Dialogs.C (Dialogs): create minipage options dialog.
2274 * forms/form_minipage.fd:
2278 * FormMinipage.h: new files for the minipage options dialog.
2280 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2282 * FormMaths.[Ch]: make the FD_ structs private. Create appropriate
2285 * forms/form_maths.fd: change C_FormBaseCancelCB to
2286 FormBaseDeprecatedCancelCB and so fix crash on closing the panel.
2288 2001-03-16 John Levon <moz@compsoc.man.ac.uk>
2290 * FormMaths.C: quash warnings
2292 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2294 * FormMaths.C (C_FormMathsDelimCB): add usual .c_str() for lyxstring
2297 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2299 * Form_various.h: cleaned up #includes and forward declarations.
2301 * Form_various.C: added "using SigC::slot" declaration.
2303 * FormMaths.[Ch]: moved to boost::scoped_ptrs.
2305 * FormDocument.C (CheckChoiceClass): removed string tct as the
2306 compiler warned that it was defined but never used.
2307 removed USE_CLASS_COMBO.
2309 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2320 * forms/form_maths.fd:
2322 * forms/fdfix.sh: add maths panel
2325 * bmtable.c: moved from src/
2327 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2329 * FormParagraph.h: NO_PEXTRA
2330 * FormParagraph.C (input): NO_PEXTRA
2332 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2334 * several files: remove CXX_WORKING_NAMESPACES
2336 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2338 * Merging changes from BRANCH_MVC back into HEAD.
2340 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2342 * Dialogs.C (c-tor): Changes associated with storing a vector of
2344 Use MVC Bibitem popup.
2346 * FormBase.h: add a new template class FormBase2, derived from FormBase
2347 to make life creating MVC popups even easier ;-)
2350 * forms/form_bibitem.fd: moved over to the MVC way of doing things.
2351 Proof that a simple popup should be easy to implement!
2353 * FormCitation.[Ch]: now derived from FormBase2.
2355 * FormToc.C: added using std::vector directive.
2357 2001-03-09 Dekel Tsur <dekelts@tau.ac.il>
2359 * FormSearch.C: Add missing #pragma
2361 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2364 * forms/form_citation.fd: added the ability to Search, both Simply and
2365 for Regular Expressions. Use the Search code in the controller() to do
2366 the actual searching.
2368 2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2370 * Makefile.am: added FormCredits.[Ch] and form_credits.[Ch]
2371 * forms/makefile: added form_credits.fd
2373 * Dialogs.C: added FormCredits and removed ShowCredits.
2376 * forms/form_credits.fd:
2377 * forms/form_search.fd: ported to the MVC way.
2379 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2381 * xforms_helpers.h (formatted): now has default arguments for size and
2384 * FormCitation.[Ch]: moved code out of this class and into
2385 ControlCitation and associated helper funcs.
2387 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2389 * FormBase.[Ch]: (InputCB): use ButtonController::input() rather than
2390 ButtonController::valid() to check state of input. The buttons are
2391 now controlled correctly.
2393 * Form*.[Ch]: use boost::scoped_ptr for the remaining few classes.
2395 2001-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2397 * Form*.[Ch]: use boost::scoped_ptr for dialog_ et al.
2399 * FormBase.[Ch]: rename title as title_.
2401 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2403 * FormBase.C (c-tor): initialise variables in correct order.
2405 * FormCitation.C: add #include <algorithm>
2407 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2409 * xformsBC.[Ch]: Changes associated with the changes to
2410 controllers/ButtonController.[Ch]. Ie, the class is now derived from
2411 ButtonControllerBase and the ButtonPolicy is accessed through a method
2412 bp() rather than the instance bp_.
2414 * FormBaseDeprecated.[Ch]: no longer store a ButtonController, but
2415 rather use a pure virtual method bc() to access the controller
2416 instantiated by the daughter classes.
2418 * F*.[Ch]: changes associated with the above.
2420 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
2422 * FormBase.[Ch]: renamed as FormBaseDeprecated.[Ch]
2424 * ViewXforms.[Ch]: renamed as FormBase.[Ch]
2426 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2428 * ButtonController.[Ch]: deleted. The class is split into two
2429 (with identical functionality), the code being found in
2430 ../controllers/ButtonController.[Ch] and xformsBC.[Ch]
2432 * xformsBC.[Ch]: new files. Xforms specific part of Allan's original
2433 ButtonController class.
2435 * FormBase.[Ch]: changes associated with the above split.
2437 * ViewXforms.[Ch]: Base class for xforms dialogs derived from ViewBase
2438 (../controllers/ViewBase.h). Ie, for Dialogs with GUI-I controllers
2439 controlling all interaction to/from the LyX kernel.
2441 * FormCitation.[Ch]:
2442 * forms/form_citation.fd: An xforms-specific implementation of the
2443 Citation dialog, controlled by the GUI-I ControlCitation.
2445 * Dialogs.C: Use the controlled Citation dialog.
2447 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2451 * combox.C: moved from src/
2453 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2456 * forms/form_filedialog.C.patch: I hate having to make these patches,
2457 but on reflection I think it's probably better than hacking fdfix.sh.
2459 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2461 * forms/fdfix.sh: test whether bmtable.h is needed before #including it.
2463 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2465 * FormGraphics.C: remove unnecessary hack
2467 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2469 * FormCitation.C (apply): Do not put space between multiple keys.
2471 2001-03-12 Dekel Tsur <dekelts@tau.ac.il>
2473 * Menubar_pimpl.C (add_toc): Remove debug message.
2475 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2483 * xforms/forms/makefile:
2484 * forms/form_external.fd: add FormExternal
2486 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2488 * Dialogs.C: add destroySplash()
2492 * forms/form_splash.fd:
2494 * FormSplash.C: make independent of FormBase, tidy
2496 * Menubar_pimpl.C: destroy splash on interaction
2498 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2504 * forms/form_include.fd: rework, clean up
2506 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2508 * FormToc.h: use Buffer::typedef
2510 * Menubar_pimpl.C (add_toc): use the Buffer::typedefs
2511 * FormToc.C (build): ditto
2514 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2516 * FormToc.C (build): implement for dynamic number of lists
2518 * Menubar_pimpl.C (add_toc): ditto
2520 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2526 * form_credits.[Ch]:
2527 * forms/form_credits.fd:
2529 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2531 * Menubar_pimpl.h: make Pipl::ItemInfo::item_ a boost::shared_ptr,
2532 make ButtonList contain boost::shared_ptr<ItemInfo>
2534 * Menubar_pimpl.C (~Pimpl): remove destructor
2536 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2542 * form_filedialog.C:
2543 * form_filedialog.h:
2546 * FormPreferences.C:
2552 * form/form_filedialog.fd: add File Dialog
2554 * Toolbar_pimpl.C: move LayoutsCB to here
2556 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2558 * FormParagraph.C: changes because of ParagraphParameters.
2560 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2562 * FormSearch.C (Replace): remove default argument
2565 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2567 * added find/replace dialog:
2568 * FormSearch.*: added
2569 * form_search.*: added
2570 * forms/form_search.fd: added
2572 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2574 * xform_helpers.[Ch]: renamed as xforms_helpers.[Ch].
2576 * various: in a rush of delayed guilt, I've renamed all instances of
2577 xform as xforms. Jean-Marc sowed this seed a long, long time ago and it
2580 * xforms_helpers.[Ch] (setEnabled): a little wrapper function to
2581 activate/deactivate an FL_OBJECT.
2588 * FormPreferences.C:
2590 * FormTabular.C: used it.
2592 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2594 * FormPreferences.C: removed three unused using directives.
2596 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2598 * added find/replace dialog:
2599 * FormSearch.*: added
2600 * form_search.*: added
2601 * forms/form_search.fd: added
2603 2001-02-27 Dekel Tsur <dekelts@tau.ac.il>
2605 * FormRef.C: Fixed the behaviour of Goto-Ref.
2607 2001-02-27 Angus Leeming <a.leeming@ic.ac.uk>
2609 * forms/makefile: added character and preamble dialogs
2611 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2613 * FormCharacter.C (FormCharacter): change order of deletion,
2614 change combo_language2 to combo_language2_
2616 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2618 * FormRef.C (apply): Update bookmark #0 after inserting a reference.
2620 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2622 * Dialogs.C: added layoutcharacter
2623 * FormCharacter.C: added
2624 * FormCharacter.h: added
2625 * form_character.C: added
2626 * form_character.h: added
2627 * forms/form_character.fd: added
2629 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2631 * FormPreferences.C: Handle lyxrc.language_use_babel and
2632 lyxrc.language_global_options.
2634 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2636 * FormPreferences(GetFrom, GetTo): use size_type rather than int.
2638 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2640 * FormBase.C: no longer transient dialogs, XMapWindow()
2641 in attempt to de-iconify
2643 * FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
2645 2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
2647 * FormDocument.C (checkMarginValues): Activate "use geometry" button
2648 if using custom paper size/margin.
2650 2001-02-21 Allan Rae <rae@lyx.org>
2652 * forms/form_preferences.fd: larger, bold font for outer tabfolder
2654 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2656 * src/frontends/xforms/Dialogs.C: added preamble
2657 * src/frontends/xforms/FormPreamble.C: added
2658 * src/frontends/xforms/FormPreamble.h: added
2659 * src/frontends/xforms/Makefile.am: added
2660 * src/frontends/xforms/form_preamble.C: added
2661 * src/frontends/xforms/form_preamble.h: added
2662 * src/frontends/xforms/form_preamble.fd: added
2664 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2666 * FormBase.h: moved noncopyable derivation to DialogBase.
2668 2001-02-19 Juergen Vigna <jug@sad.it>
2670 * FormTabular.C (build): make all input field accepted only after
2673 * forms/form_tabular.fd: removed default "Return" on Close-Button.
2675 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2679 * FormInset.C (showInset): change associated with name change
2680 inset::hide to inset::hideDialog.
2682 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2684 * FormCitation.C (build): altering "Text after" now activates the Ok,
2687 2001-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2689 * FormCitation.C: lots of white-space changes to make file consistent
2691 (input): use the FL_OBJECT * parameter to decide what to do, not the
2694 * FormCitation.h: removed most entries in enum.
2696 * forms/form_citation.fd: change names of variables, consistent with
2697 Allan's naming scheme.
2698 Don't pass any particular arguments to the InputCB function.
2699 choice_style now triggers a callback and looks like other choices.
2701 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2703 * other: use compare instead of strcmp/strncmp
2705 2001-02-15 Angus Leeming <a.leeming@ic.ac.uk>
2707 * ButtonController.[Ch]: changed trigger_change_ vector and associated
2708 methods to dont_trigger_change_ because FL_OBJECTs that trigger a
2709 callback to InputCB() but don't trigger a change in the state of the
2710 Ok, Apply buttons are much rarer than those that do.
2712 * FormCitation.C (build): associated change.
2714 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2716 * ButtonController.C: include algorithm
2718 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
2720 * ButtonController.[Ch] (addTriggerChange, eraseTriggerChange):
2722 (valid): method can now be passed an optional FL_OBJECT *. If it is, and
2723 the vector of FL_OBJECT *s that can trigger a change in the button state
2724 is not empty, then a change of state will occur only if the FL_OBJECT *
2725 is present in this vector.
2727 * FormBase.C (RestoreCB): call bc.undoAll() before restore(). Allows
2728 the user to deactivate specific fields within restore().
2729 (InputCB): pass the FL_OBJECT * to bc_.valid().
2731 * FormCitation.C (build): create a vector of FL_OBJECT *s that can
2732 trigger a change of state in the Ok,Apply buttons.
2733 (update): bc_.readOnly() to the start of the method. Similar reasoning
2734 to that for FormBase::RestoreCB, above.
2736 2001-02-14 Angus Leeming <a.leeming@ic.ac.uk>
2738 * FormBrowser.C: used OkCancelPolicy for ButtonController rather than
2741 * forms/form_browser.fd:
2742 * forms/form_copyright.fd:
2743 * forms/form_error.fd:
2744 * forms/form_tabular.fd:
2745 * forms/form_toc.fd:
2746 Consistent shortcuts for Close button: Esc and Return only.
2748 * forms/form_citation.fd:
2749 * forms/form_document.fd:
2750 * forms/form_index.fd:
2751 * forms/form_paragraph.fd:
2752 * forms/form_preferences.fd:
2753 * forms/form_print.fd:
2754 * forms/form_ref.fd:
2755 * forms/form_tabular_create.fd:
2756 * forms/form_url.fd:
2757 Consistent shortcut for Cancel button: Esc only.
2759 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2761 * Dialogs.C: new Splash. Include, Bibitem/tex
2763 * FormBase.h: make show() virtual for Splash's benefit
2775 * forms/form_bibitem.fd:
2776 * forms/form_bibtex.fd:
2781 * forms/form_include.fd:
2786 * forms/form_splash.fd: new forms
2788 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2790 * FormLog.C: handle Literate build log nicely
2792 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2794 * Menubar_pimpl.C: remove support for reference menuitem type.
2796 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2800 * Timeout_pimpl.C: add Timeout implementation
2802 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2806 * forms/form_browser.fd:
2809 * FormBrowser.h: readonly browser form
2815 * Dialogs.C: add Log and VCLog
2817 * Makefile.am: add Log and VCLog, add updatesrc target
2819 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2821 * Menubar_pimpl.C (add_toc2): Add shortcut to the TOC menu.
2823 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2825 * FormPreferences.C (GetFrom): fix crash when there is no format
2829 2001-01-23 Angus Leeming <a.leeming@ic.ac.uk>
2831 * FormPreferences.C (LoadBrowserLyX): convert unsigned short to
2832 unsigned char correctly and so fix 2 bugs loading/changing colors.
2834 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
2836 * FormRef.C (update): Do not update dialog_->{ref,name,type}
2838 Deactivate the type button when buffer is LinuxDoc/Docbook
2839 (build): Uncomment calls to addReadOnly().
2840 (updateBrowser) Do not disable the update button when there are no
2842 (build, getType, getName): Use InsetRef::types.
2844 2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
2846 * FormPrint.[Ch] (browse): new method to browse for file to print to.
2848 * forms/form_print.fd: give the form a Browse button.
2850 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2852 * FormRef.C (input): Fix the behavior of goto reference button.