1 2003-02-21 Angus Leeming <leeming@lyx.org>
4 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
8 * ControlCitation.[Ch]:
14 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
15 individual controllers too.
16 Move 'apply' code into the LyX kernel.
18 * ControlConnections.C: temporary renaming of Dialogs::signals.
20 * Makefile.am: add new files.
22 2003-02-21 Angus Leeming <leeming@lyx.org>
24 * ControlBibtex.C (Browse):
25 * ControlExternal.C (Browse):
26 * ControlGraphics.C (Browse):
27 * ControlInclude.C (Browse):
28 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
30 * ControlPrint.C (Browse):
31 don't pass a LyXView & to browseFile et al.
32 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
33 don't pass a LyXView & to fileDlg.
35 2003-02-17 John Levon <levon@movementarian.org>
37 * ControlDialog.tmpl: build dialog before calling setParams
38 for the benefit of ControlSpellchecker
40 * ControlSpellchecker.h:
41 * ControlSpellchecker.C: rework. Lots of bugs fixed and
44 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
46 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
47 of available *.bib-files from bibFiles.lst).
49 * tex_helpers.C (getTexFileList): sort and dis-duplicate
50 listWithoutPath correctly.
52 2003-02-08 John Levon <levon@movementarian.org>
55 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
57 2003-02-08 John Levon <levon@movementarian.org>
61 * ControlChanges.C: add merge changes dialog
64 * ControlPrefs.C: add setCurrentAuthor()
66 2003-01-31 Angus Leeming <leeming@lyx.org>
68 * ViewBase.h: add an isVisible() pure virtual method.
70 * ControlTabular.C (updateInset): don't build the dialog here.
71 Instead, do nothing if the dialog is invisible.
73 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
75 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
77 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
79 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
81 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
83 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
87 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * several files: ws changes
91 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * ControlDocument.C (classApply): use boost.format
95 2002-11-29 Angus Leeming <leeming@lyx.org>
97 * ControlButtons.h (isClosing): make it public, so that the view can
99 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
102 * ControlPrefs.[Ch] (OKButton): removed.
104 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
105 dialog isClosing(). (Ie, if the "save" button has been pressed.)
107 2002-11-28 John Levon <levon@movementarian.org>
109 * ControlSpellchecker.C: fix Lars' broken cleanup
111 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
113 * ControlTabular.[Ch]: Add isMulticolumnCell
115 2002-11-27 Angus Leeming <leeming@lyx.org>
117 * ControlMath.C (ControlMath): initialise active_.
119 2002-11-25 Angus Leeming <leeming@lyx.org>
121 * ControlDialog.h (hide, update): move from protected to public.
123 * ControlMath.[Ch]: add controllers for the main math panel dialog and
124 for any daughter dialogs stored by the main panel.
126 2002-11-21 Angus Leeming <leeming@lyx.org>
128 * ControlDocument.[Ch] (classApply): no longer returns bool.
129 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
131 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * biblio.C (getAbbreviatedAuthor): use boost::format
135 * ControlSpellchecker.C (clearParams): use boost::format
137 2002-11-20 John Levon <levon@movementarian.org>
139 * ControlMath.C: couple more manglings
141 2002-11-20 John Levon <levon@movementarian.org>
144 * ControlMath.C: add find_xpm mangler
146 2002-11-17 John Levon <levon@movementarian.org>
148 * helper_funcs.C and users: specify save/open in file dialog
150 2002-11-15 John Levon <levon@movementarian.org>
153 * ControlPrefs.C: use setParams()
155 2002-11-15 John Levon <levon@movementarian.org>
157 * ControlButtons.h: make OKButton() virtual for prefs
160 * ControlPrefs.C: updates for xforms port to MVC
164 * ControlTabular.C: add simple MVC port
166 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
168 * ControlInclude.C: fix file format masks for qt's use
170 2002-11-13 John Levon <levon@movementarian.org>
174 * ControlPrefs.C: add skeleton controller
176 2002-11-12 John Levon <levon@movementarian.org>
178 * biblio.C: fix warnings
180 2002-11-12 Angus Leeming <leeming@lyx.org>
182 * ControlSpellchecker.C (check): fix crash
183 * biblio.C (escape_special_chars): simplify BRE.
185 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
187 * ControlDocument.[Ch]: Remove unused method
189 2002-11-07 Angus Leeming <leeming@lyx.org>
191 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
192 * clean-up the search code in biblio.C.
194 2002-11-07 John Levon <levon@movementarian.org>
196 * ControlGraphics.C: QGraphics fixes
198 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
200 * ControlDocument.C: (SaveAsDefault) make it work.
201 fix buffer update on class change
203 2002-11-06 Angus Leeming <leeming@lyx.org>
205 * biblio.C (searchKeys and helper functions): rewritten entirely
206 using the STL. Boost::regex searching now works as the old 1.2 code
209 2002-11-06 Angus Leeming <leeming@lyx.org>
211 * biblio.C: clean-up of the code. No change in functionality.
213 2002-11-04 Angus Leeming <leeming@lyx.org>
215 * ControlGraphics.[Ch] (getUnits): moved out of class and into
216 frnt::getBBUnits(). Code cleaned also.
218 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
220 * biblio.C (regexSearch): STRCONV
223 * ControlAboutlyx.C (getVersion): STRCONV
225 * ControlMath.C: include config.h
227 2002-10-31 John Levon <levon@movementarian.org>
230 * ControlGraphics.C: bb units from Herbert
232 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
234 * ControlParagraph.[Ch] (alignDefault): new method, returning the
235 default alignment (block, left, right, center) of this paragraph.
237 2002-10-25 John Levon <levon@movementarian.org>
239 * ControlPrint.C: using endl
241 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
243 * ControlPrint.[Ch]: move code here from Liason.[Ch].
245 * ControlSpellchecker.h (getCount): new method.
246 * ControlSpellchecker.[Ch]: constify some accessor methods.
248 2002-10-22 Angus Leeming <leeming@lyx.org>
250 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
251 alphabetical order once again.
253 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
254 Add a list of CheckedWidget ptrs to ButtonControllerBase
255 together with methods addCheckedWidget and checkWidgets to use it.
257 * ButtonController.tmpl (refresh): use the return value of
258 checkWidgets to control the activation state of the Ok, Apply, Restore
261 * ControlDialog.tmpl (show, update):
262 * ControlInset.tmpl (showInset, update):
263 invoke ButtonController::refresh to ensure that the activation state of
264 the Ok, Apply buttons reflects the valid-state of the widgets.
266 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * tex_helpers.C (rescanTexStyles): don't pop p
271 * ControlWrap.C (WrapParms): remove initialization of placement,
272 and move empty c-tor to .h class def.
274 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
275 of on stringsteam, return void. Get the file into the stream as
278 * ControlPreamble.[Ch] (params): getter and setter for params_, make
279 params_ into a string, not just a pointer to string.
281 * ControlExternal.C (getTemplateNumber): put i into the for scope,
282 and use the sequence operator on the last for "parameter"
283 (getTemplate): use std::advance to advance the iterator.
285 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
286 instead of on a stringstream, return void. Get the file into the
287 stream as fast as possible.
288 (getVersion): use ostringstream
290 * lots of files: ws changes, formatting fixes
292 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
294 * ControlCharacter.C (apply): setMinibuffer change
295 * ControlDocument.C (apply): ditto
297 * ControlThesaurus.C (replace): ditto
298 * ControlSearch.C (find): ditto
300 * ControlPreamble.C (apply): ditto
301 * ControlParagraph.C (apply): ditto
303 2002-10-14 André Pönitz <poenitz@gmx.net>
305 * ControlDocument.C: somebody else's fix for a hard lockup
307 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
311 * Makefile.am: New document parameters controller
313 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
317 2002-09-24 Angus Leeming <leeming@lyx.org>
319 * ControlConnections.h: remove trailing whitespace.
321 * biblio.h: #include "LString.h".
323 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
325 * ControlGraphics.C: Change GUI origin strings into proper English.
327 2002-09-09 John Levon <levon@movementarian.org>
329 * ControlInclude.C: fix file masks. Get rid of noload,
330 remove stupid warning
332 2002-09-09 John Levon <levon@movementarian.org>
335 * ControlMath.C: add latex_deco
337 2002-09-06 John Levon <levon@movementarian.org>
339 * ControlMath.C: terminate dots
341 2002-09-05 Angus Leeming <leeming@lyx.org>
343 * all files: modify the headers as discussed on the list.
345 2002-08-30 John Levon <levon@movementarian.org>
348 * ControlMath.C: moved from MathsSymbols.C
350 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
352 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
354 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
356 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
357 first item in the list
359 2002-08-15 Angus Leeming <leeming@lyx.org>
361 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
363 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
365 2002-08-15 Angus Leeming <leeming@lyx.org>
367 * lots: changed my email address to leeming@lyx.org.
369 * GUI.h: return it to private derivation from boost::noncopyable.
371 2002-08-14 Angus Leeming <leeming@lyx.org>
373 * GUI.h: public derivation from boost::noncopyable.
375 2002-08-14 Angus Leeming <leeming@lyx.org>
377 * GUI.h: class GUI deries from boost::noncopyable
379 * ControlButtons.h: no longer derives from DialogBase, but instead
380 derives directly from boost::noncopyable.
382 * ViewBase.h: derives from boost::noncopyable.
384 * ControlCharacter.C:
386 * ControlConnections.C:
389 * ControlParagraph.C:
393 * ControlSpellchecker.C:
395 * ControlThesaurus.C:
396 rearrange #includes. Remove unnecessary ones.
398 * ControlError.h: add "insets/inseterror.h".
400 * helper_funcs.h: add necessary #includes.
402 * tex_helpers.[Ch]: add #pragma directives for g++.
404 * Makefile.am: remove src/frontends from -I list to compiler.
406 2002-08-13 Angus Leeming <leeming@lyx.org>
408 * ControlConnections.C:
410 changes due to the changed LyXView interface that now returns references
411 to member variables not pointers.
413 2002-08-12 Angus Leeming <leeming@lyx.org>
415 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
416 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
417 for the most commonly accessed core methods, to minimise code
420 * many files: use these wrappers and remove associated #includes.
422 2002-08-12 Angus Leeming <leeming@lyx.org>
424 * ControlButtons.[Ch] (bc, view): no longer virtual.
425 (setView, setButtonController): new methods, invoked by GUI.
427 * ControlDialog.h (show):
428 * ControlInset.h (createInset, showInset): make public, so that GUI can
431 * GUI.h: GUI now contains a controller, rather than deriving from it.
432 remove all those friend functions since we can now access the show,
433 createInset, showInset controller methods.
435 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
438 * character.h: #include a couple of STL files.
440 2002-08-08 John Levon <levon@movementarian.org>
442 * ControlCommandBuffer.C: LyXAction cleanup
444 2002-08-07 John Levon <levon@movementarian.org>
446 * ControlSpellchecker.C: fix crash when spellchecker doesn't
449 2002-08-06 John Levon <levon@movementarian.org>
451 * ControlSpellchecker.C:
452 * ControlSpellchecker.h: use WordLangTuple
454 2002-08-06 John Levon <levon@movementarian.org>
456 * ControlSpellchecker.C: show an alert with the
457 error message on initialisation failure
459 2002-08-04 John Levon <levon@movementarian.org>
461 * ControlSpellchecker.h:
462 * ControlSpellchecker.C: some cleanups
464 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
466 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
468 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
469 the Dialogs::updateParagraph signal is emitted.
471 2002-08-02 Angus Leeming <leeming@lyx.org>
473 * ControlCharacter.C (apply):
474 * ControlERT.C (applyParamsToInset):
475 * ControlParagraph.C (apply):
476 * ControlSearch.C (find, replace):
477 * ControlThesaurus.C (replace): changes due to LyXView::view() now
478 returning a boost::shared_ptr.
480 2002-08-01 John Levon <levon@movementarian.org>
482 * ControlSendto.C: writeFile() change
484 2002-08-01 John Levon <levon@movementarian.org>
486 * ControlSpellchecker.h:
487 * ControlSpellchecker.C: remove options
489 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * several files: strip,frontStrip -> trim,ltrim,rtrim
493 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * biblio.C (parseBibTeX): modify because of strip changes
497 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
499 * ControlFloat.[Ch]: Implement Wide Float toggle
500 Replace "allow_here_definitely" by "wide"
502 2002-07-22 Herbert Voss <voss@lyx.org>
504 * ControlGraphics.C: small changes
506 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
508 * ControlToc.C: remove getType
510 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
512 * ControlCommandBuffer.C: don't add "" to history
514 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
516 * ControlRef.C: fix dispatch call nicely
518 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
521 * ControlCommandBuffer.h:
522 * ControlCommandBuffer.C: add controller for command (mini) buffer
525 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
527 * ControlRef.C: fix dispatch call
529 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
531 * ControlCharacter.C: use view_state_changed not setState
533 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
535 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
537 2002-07-15 Mike Fabian <mfabian@suse.de>
539 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
540 of compare_no_case, because in turkish, 'i' is not the lowercase
541 version of 'I', and thus turkish locale breaks parsing of tags.
543 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
545 * ControlBibtex.C (applyParamsToInset): ws change
547 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
549 * ControlInclude.C: Add warning if absolute path name and
550 check_typeset is used together
552 2002-06-28 Angus Leeming <leeming@lyx.org>
554 * ControlGraphics.C: changes associated with the name changes
555 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
557 2002-06-25 Angus Leeming <leeming@lyx.org>
559 * ControlGraphics.C (readBB): Channges associated with the changed
560 interface to the graphics cache.
562 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * ControlParagraph.C: layout as layout
566 2002-06-21 Angus Leeming <leeming@lyx.org>
568 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
569 * tex_helpers.h: #include "LString.h".
571 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
574 * ControlBibitem.C: use repaint()
576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
578 * ControlTexinfo.C: do the same for Texinfo
580 * tex_helpers.C: don't try to read a file that isn't there
582 2002-06-21 Herbert Voss <voss@perce.de>
584 * ControlBibtex.C: do an automatic update, when no bst-list
587 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
589 * GUI.h: createIndex() changed
591 2002-06-18 Herbert Voss <voss@perce.de>
593 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
594 helperstuff. Now the bibtex gui can use some of these functions
596 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
598 * ControlGraphics.C: just make the mask *.*
600 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * changes to simplify function setup, removal of a lot of includes.
604 2002-06-12 Angus Leeming <leeming@lyx.org>
606 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
608 2002-06-12 Angus Leeming <leeming@lyx.org>
610 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
612 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
614 * ControlParagraph.[Ch]: new paragraph controller
615 * GUI.h: add new controller
618 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * GUI.h: do not include ButtonController.tmpl
622 * ControlInset.h: include ControlInset.tmpl
624 * ControlCitation.C: do not include ControlInset.tmpl
625 * ControlCommand.C: ditto
626 * ControlERT.C: ditto
627 * ControlError.C: ditto
628 * ControlExternal.C: ditto
629 * ControlFloat.C: ditto
630 * ControlGraphics.C: ditto
631 * ControlInclude.C: ditto
632 * ControlMinipage.C: ditto
634 * ControlDialog.tmpl: remove the Base:: prefix
636 2002-06-07 Angus Leeming <leeming@lyx.org>
638 Fixes needed to compile with Compaq cxx 6.5.
639 * ControlDialog.tmpl: I have had to prefix base class methods with
642 * ControlInset.tmpl: #include a couple of headers.
644 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
646 * switch from SigC signals to boost::signals
648 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * biblio.h: include vector
652 * biblio.C: change include order
653 (regexSearch): use boost regex and get rid of LRegex
655 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
660 * ControlCharacter.C:
663 * ControlConnections.C:
680 * ControlSpellchecker.C:
681 * ControlTabularCreate.C:
683 * ControlThesaurus.C:
686 * ControlVCLog.C: LyXView moved into frontends
688 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * ControlExternal.C: add scoped_ptr.hpp
692 * ControlCharacter.h: use more specific smart_ptr header.
694 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
696 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
698 2002-05-13 Herbert Voss <voss@perce.de>
700 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
701 like "Odland, G. and ... "
702 (parseBibTeX): fix bug with title and booktitle
703 and replace a \n with a space when one entry has more than
706 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
708 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
709 "No change" and "Reset".
711 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
712 them at the front of the list.
714 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
716 * ControlGraphics.C: add some comments to the char * arrays.
717 Make rorigin_size const.
719 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
721 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
722 Enables the gui's to internationalise these strings.
724 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
726 * frnt_lang.C: fix build
728 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
730 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
731 If the the caller is the character dialog, add "No change" and "Reset"
732 to the vector, else don't.
733 Internationalise the GUI strings here rather than in the different
735 Sort the translated strings, albeit simply.
737 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
739 * character.[Ch]: rename namespace character as namespace frnt.
741 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
742 as several dialogs will use this info. The function now returns a
743 vector<LanguagePair> where LanguagePair is a display string and an
744 identifying string. The display string is internationalised.
746 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
747 the identifying strings, "No change" and "Reset".
749 * Makefile.am: add frnt_lang.[Ch].
751 2002-04-25 Herbert Voss <voss@lyx.org>
753 * ControlSendto.C (allFormats): don't add the graphics extensions to the
756 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
758 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
759 BibTeX databases in a WYSIWYM way.
761 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
763 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
764 way past his use-by date.
765 Make use of the improved info from Buffer::getBibkeyList when using
766 \bibliography. Enables us to provide natbib support in this case too.
768 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
770 * ControlGraphics.C: pass the browseFile dialog a string of only those
771 formats that can currently be loaded by LyX.
773 2002-04-15 Herbert Voss <voss@perce.de>
775 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
776 with something like ,,...blah...`` (two commas)
778 2002-04-14 Herbert Voss <voss@perce.de>
780 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
781 into the support/lstrings for better use in other programs.
783 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
784 namespace anon and make globally accessible.
785 (familyName): test for the presence of a LaTeX Space at the front of
786 of a name; strip it if it exists.
788 2002-04-11 Herbert Voss <voss@perce.de>
790 * ControlGraphics.C: expand "browse-string" to all available formats
792 2002-04-11 Herbert Voss <voss@perce.de>
794 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
796 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
798 * ControlAboutlyx.C (getVersion): two _() forgotten
800 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
804 * ControlBibtex.C: make N_() be _()
806 2002-04-07 Herbert Voss <voss@perce.de>
808 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
810 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
812 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
813 used when reading the BB.
815 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
817 * ControlGraphics.C (readBB): Don't open the ifstrem and then
818 check the format from the contents (and open a second ifstream in the
819 process. One at a time please.
821 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
823 * ControlRef.C (getBufferNum): squash warning message.
825 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlBibtex.C (Browse):
828 * ControlGraphics.C (Browse):
829 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
831 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
833 * ControlGraphics.C (applyParamsToInset): pass filepath to
834 InsetGraphics::updateInset.
836 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
838 * most files: ws cleanup
840 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
842 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
845 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
848 * ControlInclude.C: better error messages
850 2002-03-11 Herbert Voss <voss@lyx.org>
852 * biblio.C (parseBibTeX): fix another minibug with an
855 2002-03-10 Herbert Voss <voss@lyx.org>
857 * biblio.C (parseBibTeX): fix bug
858 (familyName): improve parsing
860 2002-03-09 Herbert Voss <voss@lyx.org>
862 * ControlGraphics.[Ch]: adding checkFilename() for testing
863 of non-existing files
865 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
867 * ControlSendto.C (allFormats): fix a iterators are not pointers
870 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
872 * ControlShowFile.h: add a #include "LString.h"
874 2002-03-05 Herbert Voss <voss@lyx.org>
876 * biblio.C (getInfo): simplify if using paragraph layout
879 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
881 * biblio.C (getInfo): return the info field correctly if the key
883 (parseBibTeX): fix crash when data.find('=') returns string::npos.
885 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
887 * ControlForks.[Ch]: new files. A controller for the Forked Child
888 processes dialog, enabling the user to see what forked processes
889 are running, and, if he so desires, to kill them.
891 * GUI.h: add class GUIForks.
893 * Makefile.am: add ControlForks.[Ch].
895 * ControlGraphics.C (getParams): small change due to change in
898 2002-02-21 Herbert Voss <voss@lyx.org>
900 * biblio.C: fix bug with commentlines in a bibentry
902 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
904 * Makefile.am: simpler obj. file compile
906 2002-02-18 Herbert Voss <voss@lyx.org>
908 * ControlGraphics.[Ch]: remove help-file call
910 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
912 * helper_funcs.h: wrap the structs firster and seconder up in a
913 namespace to avoid clashes with those in lyxalgo,h.
915 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
916 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
918 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
920 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
923 change Systemcalls::System to Systemcalls::Wait and
924 No change of functionality, just reflects the stripped down Systemcalls
927 2002-02-06 Herbert Voss <voss@lyx.org>
929 * ControlGraphics.[C] (readBB): search also in
930 g'zipped files. If it is useful than PK and compress
931 should also be supported. use unzipFile() from
934 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
936 * ControlRef.C (getBufferName): new method to get a real buffer
939 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
941 * ControlTexInfo.[Ch]: Removed Help functions.
943 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
945 * ControlSpellchecker.C: clear any selection left
948 2002-02-01 Herbert Voss <voss@lyx.org>
950 * ControlGraphics.[C] (readBB): search only, if it is a
951 ".?ps" file and look for bb's at end of file
953 2002-01-30 Herbert Voss <voss@lyx.org>
955 * ControlGraphic.[C]: do not search the whole file, when
958 2002-01-29 Herbert Voss <voss@lyx.org>
960 * ControlGraphic.[C]: added a button for document path
961 when browsing -> bug 222
963 2002-01-27 Herbert Voss <voss@lyx.org>
965 * ControlGraphic.[Ch]: added support for Bounding Box, other
968 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
971 * ControlTexinfo.h: added #include "LString.h" where they belong.
973 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
976 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
978 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
980 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
983 2002-01-20 Herbert Voss <voss@perce.de>
985 * ControlInclude.[Ch]: better control of unexistings files
986 when entered without the browser
988 * ControlGraphic.C (Browse): add extension "ps" when browsing for
991 2002-01-19 Herbert Voss <voss@perce.de>
993 * biblio.C (getInfo): fix bug when no author is given
995 * biblio.C (parseBibTeX): change the parsing, so that
996 '#'-characters in a bibtex entry are no more a problem.
998 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1000 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1001 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1003 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1005 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1007 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1009 * ControlExternal.C (Browse): add a std:: qualifier
1011 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1013 * ControlExternal.C (Browse): simplify to use browseRelFile
1015 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1017 * ButtonController.tmpl: added // -*- C++ -*-
1019 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1020 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1021 Needed in _one_ of the ControlCommand-derived classes only.
1023 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1026 * ControlSearch.h: #include LString.h
1028 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1030 * ButtonController.h: split into two. The definition remains in
1031 ButtonController.h, the declaration is now in ButtonController.tmpl.
1032 These template methods should be #included when the derived class is
1033 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1034 and in the qt2 and gnome equivalents.
1036 * ControlDialogs.h: removed. The definition of class ControlDialog is
1037 now to be found in ControlDialog.h and the declaration of the methods
1038 is in ControlDialog.tmpl. The two template instantiations are performed
1039 in ControlDialog_impl.[Ch], new files also.
1041 * ControlInset.h: split into two. The definition remains in
1042 ControlInset.h, the declaration is now in ControlInset.tmpl.
1043 These template methods should be #included derived class is
1044 instantiated, in this case in 8 other .C files in this directory.
1046 * ControlAboutlyx.[Ch]:
1047 * ControlCharacter.[Ch]:
1051 * ControlExternal.C:
1053 * ControlGraphics.C:
1056 * ControlMinipage.C:
1057 * ControlPreamble.[Ch]:
1058 * ControlPrint.[Ch]:
1059 * ControlSearch.[Ch]:
1060 * ControlShowFile.[Ch]:
1061 * ControlSpellchecker.[Ch]:
1062 * ControlTabularCreate.[Ch]:
1063 * ControlTexinfo.[Ch]:
1064 * ControlThesaurus.[Ch]:
1065 * ControlVCLog.[Ch]: small changes associated with the above ones.
1067 * GUI.h: #include the ButtonController and dialog controller files
1068 here, rather than forward declare them. This is the correct place
1069 for these #includes.
1071 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1072 Rename ControlDialogs.h as ControlDialog.h.
1073 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1076 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1078 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1080 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1082 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1085 * ControlGraphics.C (Browse): remove overzealous shortcut
1087 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1089 * FormMinipage.C (apply, update): MinipageParams::width renamed
1090 as MinipageParams::pageWidth. InsetMinipage::width renamed
1091 as InsetMinipage::pageWidth.
1093 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1095 * ButtonController.h (refreshReadOnly): use explicit typename
1097 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * helper_funcs.h (browseFile): add default empty button descriptions.
1101 * ControlGraphics.C (Browse):
1102 * ControlBibtex.C (Browse):
1103 * ControlInclude.C (Browse): add shortcuts to directory buttons
1105 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1107 * ControlThesaurus.h:
1108 * ControlThesaurus.C: update to Aiksaurus 0.14
1110 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1112 * ControlSpellchecker.C (clearParams): show the closing message
1113 only if some words have been checked, thereby fixing
1116 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1118 * ControlFloat.[Ch]: changes to prevent here definitely being used
1121 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1123 * ControlThesaurus.h: do not include <config.h> in header files
1125 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1127 * ControlToc.C: changes for floatlist
1129 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1131 * ControlVCLog.C: use _()
1133 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1138 2001-10-22 Juergen Vigna <jug@sad.it>
1140 * ControlSpellchecker.C (clearParams): use the error_ message of the
1141 speller_ if available when the spellchecker died.
1142 (setParams): remove double error message display.
1144 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1146 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1148 * helper_funcs.[Ch] (getLatexUnits): see above.
1150 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1152 * ControlTexinfo.C (getContents): use the right file for .sty files
1154 2001-10-10 Herbert Voss <voss@perce.de>
1156 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1157 and some more stuff from FormTexinfo.C
1159 * ControlShowFile.C: hiding the update-button
1161 2001-10-09 Herbert Voss <voss@perce.de>
1163 * ControlTexinfo.[Ch]: new files. Display information about the
1164 installed texfiles (cls,sty,bst).
1166 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1168 * GUI.h: added classes GUIShowFile and GUITexinfo.
1170 * Makefile.am: modified appropriately.
1172 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1174 * ControlAboutlyx.C (getVersion): use lyx_version and
1175 lyx_release_date instead of old macros
1177 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1179 * ControlSpellchecker.C (check): Behaves well now when the spell
1180 library doesn't know a replacement to an incorrect word.
1182 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1184 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1185 the correct place. Can now check spelling more than once!
1187 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1189 * ControlSplash.[Ch]: removed.
1191 * GUI.h: remove GUISplash class.
1193 * ViewBase.h: remove ViewSplash class.
1195 * Makefile.am: remove ControlSplash.[Ch].
1197 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1200 view will be shut down.
1203 * ControlInset.h: act on emergency_exit_.
1205 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1206 speller fails to launch.
1208 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1210 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1211 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1213 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1215 * ControlRef.h (disconnectOnApply): new method. Set to true.
1216 Perhaps make this user-modifiable?
1218 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1220 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1223 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1225 * ControlRef.C (getBufferList, getBufferNum): New methods
1227 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1229 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1230 of the dialog when the Apply button is pressed. Defaults to false,
1231 but can be overridden in the daughter classes.
1233 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1234 Perhaps make this user-modifiable?
1236 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1238 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1239 we have dialogs that update their contents when the buffer changes.
1240 Rather embarassing, really!
1242 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1244 * ControlSearch (replace): change semantics of replace to NOT move on
1245 to the next instance of a word once the present instance has been
1246 replaced unless we are replacing ALL instances of the word.
1248 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1250 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1252 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1254 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1255 dialog, set all options to "reset", close the dialog, re-open it ->
1256 the options are set incorrectly.
1258 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1259 When Applying it's useful to know whether the dialog is about to close
1260 or not (no point refreshing the display for example).
1262 * ControlInset.C (apply): use isClosing.
1264 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1267 * ControlDialogs.h: remove bc() hack, now fixed in
1268 Qt2 frontend. use member dialog_built_ instead of shared
1271 * ButtonController.h:
1272 * ButtonPolicies.C: more debug info
1274 * ButtonControllerBase.C: call refresh() when setting readOnly !
1276 * GUI.h: External form has apply, use the right policy
1278 * character.C: fix two off-by-one errors when latex font was removed
1280 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1282 * ControlInset.h (apply): tentative fix for the press Apply multiple
1283 times and get multiple new Insets problem.
1285 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1287 * ControlCharacter.C: fix typo
1291 * ControlInsets.C: make sure dialog is built before it is shown, so
1292 it works properly the very first time it is shown
1294 2001-08-20 Herbert Voss <voss@perce.de>
1296 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1297 and styles. Added an option for "bibliography into toc"
1299 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1301 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1302 LaTeX is no longer a font property.
1304 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1306 * GUI.h: Button controller for Reference dialog changed to
1307 NoRepeatedApplyReadOnlyPolicy.
1309 * biblio.C (getInfo): output volume and number info. Move year to end
1312 2001-08-09 Allan Rae <rae@lyx.org>
1314 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1316 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1318 * helper_funcs.C (getVectorFromString): fixed small bug.
1320 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1322 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1324 * ControlSpellchecker.C: check next word after insert in personal dict
1326 2001-08-06 Juergen Vigna <jug@sad.it>
1328 * ControlERT.[Ch]: new file
1330 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1332 * ControlInset.h: const and non-const forms of params().
1334 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1335 whitespace from either side of each item.
1337 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1339 * ControlFloat.h: add a != operator for FloatParams.
1340 Lars, how did you get this to compile!!!
1342 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1343 operator != for MinipageParams. Who's changing stuff and not compiling?
1345 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1347 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1350 * GUI.h: add class GUIFloat
1352 * ControlFloat.[Ch]: new files
1354 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1356 * ControlPrint.C: #include Lassert.h here.
1358 2001-07-26 Baruch Even <baruch@lyx.org>
1360 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1363 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1365 * ControlThesaurus.h:
1366 * ControlThesaurus.C:
1368 * Makefile.am: thesaurus support
1370 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1373 * ControlInclude.C: implement ability to load file
1375 2001-07-18 Juergen Vigna <jug@sad.it>
1377 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1379 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1381 * biblio.C (getInfo): add a .c_str() to handle the usual
1384 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1386 * ControlCitation.[Ch]: changes associated with adding natbib support.
1387 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1388 New static variable citeStyles_.
1390 * biblio.[Ch]: large internal rearrangement.
1391 New public enum CiteStyle.
1392 New public struct CitationStyle.
1393 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1394 getNumericalStrings, getAuthorYearStrings
1395 (simpleSearch, regexSearch): no longer publicly accessible.
1397 * helper_funcs.C (getStringFromVector): bug fix.
1399 2001-07-16 Baruch Even <baruch@lyx.org>
1401 * ControlVCLog.h: Added Lsstream.h to includes.
1403 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1405 * ControlSpellchecker.[Ch]: remove d-tor.
1407 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1409 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1411 2001-07-16 Juergen Vigna <jug@sad.it>
1413 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1414 compiled with USE_PSPELL) to be able to switch between ISpell and
1417 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1419 Consistent use of Lsstream.h:
1420 * ControlAboutlyx.[Ch] (getCredits):
1421 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1423 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1425 * ControlCredits.[Ch]: removed
1426 * ControlCopyright.[Ch]: removed
1427 * ControlAboutlyx.[Ch]: added (replaces previous)
1428 * GUI.h: removed credits and copyright added about lyx stuff
1430 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1432 * ControlSpellchecker.C (getSuggestion):
1433 (getWord): add std:: qualifier
1435 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1437 * ControlSpellchecker.[Ch]: added
1438 * ViewBase.h: added partialUpdate(int) member
1439 * GUI.h: added spell stuff
1441 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1443 * ControlExternal.C: (*it). -> it->
1445 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1447 * ButtonController.h: move some included header files out of the
1448 frontends and into here.
1450 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1452 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1454 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1456 * *.[h]: added // -*- C++ -*-
1457 * *.[C]: removed // -*- C++ -*-
1459 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1460 activate Apply button.
1461 (clearParams): removed.
1462 font_ is now stored as a boost::scoped_ptr.
1463 font_ is no longer deleted on hide(), so it's contents can now be used
1464 by the Font button on the toolbar.
1465 Lots of new methods so that the GUI can easily get the contents of
1466 font_ when it update()s.
1468 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1470 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1471 crash when the Font button on the Toolbar is pressed.
1473 * GUI.h: change policy of Character button controller to
1474 OkApplyCancelReadOnlyPolicy.
1476 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1478 * ControlToc.C (getContents): don't add anything to the list if it
1479 is supposed to be empty.
1481 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1483 * helper_funcs.C (getVectorFromString): bug fix.
1485 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1487 * ButtonController.h
1488 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1489 from ButtonControllerBase::readOnly. Updates the state of the widgets
1490 in the read-only list only when the read-only status of the document
1492 (refresh): moved this stuff into refreshReadOnly.
1494 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1496 * ControlPrint.C (c-tor):
1497 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1499 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1502 * character.h: small clean-ups.
1504 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1506 * ControlToc.C (getType): remove support for old float list.
1508 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1510 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1511 * ControlGraphics.h: no longer include insetgraphicsParams.h
1512 * ControlInset.h: no longer include LyXView.h
1517 * ControlCharacter.C:
1518 * ControlCitation.C:
1520 * ControlConnections.C:
1521 * ControlCopyright.C:
1524 * ControlExternal.C:
1525 * ControlGraphics.C:
1528 * ControlMinipage.C:
1529 * ControlPreamble.C:
1533 * ControlTabularCreate.C:
1535 * ControlVCLog.C: they're now in here!
1537 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1539 * ButtonControllerBase.h: C++ mode, inherit privately from
1541 * ButtonPolicies.h: ditto
1543 * ButtonController.h: C++ mode, swap init order of restore_ and
1546 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1548 * ControlTabularCreate.h:
1549 * ControlTabularCreate.C: make dialogs use a pair of uints
1553 * ControlVCLog.C: fill a stringstream with the log contents
1556 * ControlExternal.C: from Angus, clone the new InsetExternal
1559 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1561 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1562 and made more robust.
1564 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1569 * ControlPreamble.C:
1571 * ControlGraphics.C:
1572 * ControlExternal.C:
1573 * ControlCopyright.C: include gettext.h
1575 * ControlCharacter.C:
1576 * character.C: include gettext.h and language.h
1578 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1580 * ButtonController.h:
1581 * ButtonControllerBase.h:
1582 * ButtonControllerBase.C:
1589 * ControlConnections.h:
1592 * ControlExternal.C:
1595 * ViewBase.h: s/ControlButton/ControlButtons/
1597 s/UndoAll/Restore/ + associated
1599 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1601 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1604 * Makefile.am: associated changes with all of the above.
1606 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1608 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1609 and edit, view, update the External Material correctly. I hope!
1611 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1613 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1615 * BCTemplates.h: renamed as ButtonController.h
1617 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1620 * ControlConnections.h: associated change in #include and class names.
1622 * ControlExternal.[Ch]: new files; a controller for the External
1626 * Makefile.am: associated changes with all of the above.
1628 * ControlGraphics.[Ch]:
1629 * ControlInclude.[Ch]:
1630 * ControlPrint.[Ch]:
1632 (Browse): new method. Returns the results of a FileDialog browse.
1634 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1635 (getVectorFromString): fixed bug.
1637 * biblio.C (simpleSearch): cleaned up.
1639 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1641 * A slight reworking of Baruch Even's ButtonController patch.
1643 * BCTemplates.h: new file; all the templates for the ButtonController.
1644 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1645 to the more generic setButtonLabel().
1647 * ButtonController.[Ch]: renamed cancel_label and close_label as
1648 cancel_label_ and close_label_.
1650 * Makefile.am: added BCTemplates.h
1652 2001-03-29 Juergen Vigna <jug@sad.it>
1654 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1655 to use new %-lengths of LyXLength.
1657 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1659 * ControlCitation.C (bibkeysInfo): removed Assert.
1661 * ControlCopyright.h: moved GUICopyright into GUI.h
1665 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1667 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1668 (setDaughterParams): a (by default empty) new method called in show().
1674 * ControlMinipage.h:
1677 * ControlUrl.h (clearDaughterParams): removed
1679 * ControlMinipage.C (applyParamsToInset): update the view.
1680 Added namespace minipage containing a helper function getUnits.
1682 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1684 * ControlCharacter.[Ch]: moved out all the helper functions and the
1685 enum into their own file.
1686 * character.[Ch]: new files; contain the character helper functions,
1687 now inside namespace character.
1689 * ControlCitation.[Ch]: moved out all the helper functions and the
1690 enums into their own file. Simplified interface.
1691 * biblio.[Ch]: new files; contain the citation helper functions,
1692 now inside namespace biblio. Will be of use also to an improved
1695 * ControlGraphics.[Ch]:
1696 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1697 popups, respectively.
1700 * Makefile.am: associated changes.
1702 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1704 * ControlMinipage.[Ch]:
1705 * ControlPreamble.[Ch]:
1706 * ControlPrint.[Ch]:
1707 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1708 and Print popups and Splash screen, respectively.
1710 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1714 * Makefile.am: associated changes.
1716 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1718 * ControlConnections.[Ch]: (docType): new method; returns the type
1719 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1722 * ControlSearch.[Ch]:
1723 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1724 Search and TabularCreate popups, respectively.
1727 * Makefile.am: associated changes.
1729 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1731 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1734 * ControlInset.h (apply): fix bug. Can now create new insets again.
1736 * README: describe program flow.
1738 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1740 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1742 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1744 * ControlDialogs.h: moved class ControlInset into its own file.
1746 * ControlInset.h: new file. class ControlInset has been expanded to take
1747 two template parameters, Inset and Params. Believe that all inset
1748 controllers can be derived from this with the minimum of effort.
1750 * ControlBibitem.[Ch]:
1751 * ControlBibtex.[Ch]:
1752 * ControlCitation.[Ch]:
1753 * ControlCommand.[Ch]: moved most code into ControlInset.
1755 * lots of files. Moved protected stuff into private where possible.
1757 * ControlError.[Ch]:
1758 * ControlInclude.[Ch]:
1759 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1760 Include and Url popups, respectively.
1763 * Makefile.am: associated changes.
1765 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1767 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1770 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1772 * ControlCredits.C (getCredits): remove std:: qualifier for
1775 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1777 * ControlCredits.C (getCredits): add std:: on vector
1779 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1781 * ControlCredits.C: remove using that is only used once, use
1782 std::ios instead of std::iosbase, add some annoying comments.
1784 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1786 * lots of header files: improved explanatory notes.
1788 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1789 ControlBase is now a class that only controls the interaction of the
1790 View with the ButtonController.
1792 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1793 to ControlConnectBase. The class controls the connection/disconnection
1794 of signals from the LyX kernel and makes available the kernel (through
1795 lv_) to daughter controller classes.
1796 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1798 * ControlDialogs.h: new file. Contains the definition of two template
1799 controller classes, ControlDialog and ControlInset (was
1800 ControlConnectInset). ControlInset is a parent class for controllers
1801 of inset-popups. ControlDialogs is the rather uninspired name for
1802 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1803 ControlDialogs is reaching a state of maturity as several popups now use
1804 it and its functionality becomes clear. ControlInset is still in a state
1805 of flux. It is likely that functionality will be moved out of
1806 ControlCommands and into it.
1808 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1809 individual Controller header files and into one place. These classes
1810 serve only as convenient wrappers to simplify code in the respective
1811 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1813 * ControlCharacter.[Ch] (show, update, hide):
1814 * ControlLog.[Ch] (show, update, hide):
1815 * ControlVCLog.[Ch] (show, update, hide): moved back into
1816 the ControlDialogs base class.
1817 (setParams, clearParams): new methods containing controller-specific
1818 code to set/reset the parameters manipulated by the view.
1820 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1822 (hide): calls clearParams.
1824 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1825 by ControlCommand::hide().
1827 * ControlCopyright.[Ch]:
1828 * ControlCredits.[Ch]: new files; controllers for the copyright and
1829 credits popups, respectively.
1831 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1833 * ControlCharacter.C: fix typo
1835 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1837 * ControlCharacter.[Ch]: new files; controller for the character popup.
1839 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1840 moved to new files helper_funcs.[Ch].
1842 * helper_funcs.[Ch]: new files. Some useful helper functions and
1845 * Makefile.am: added new files.
1847 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1849 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1851 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1854 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1855 Control log files, respectively.
1857 * Makefile.am: added new files.
1859 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1861 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1863 * Makefile.am: added ControlBibtex.[Ch].
1865 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1868 * ControlCitation.C: added "using SigC::slot" declaration.
1870 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1871 to FormCitation.C prior to the merger: "Do not put space between
1874 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1876 * several files: remove CXX_WORKING_NAMESPACES
1878 * ButtonController.h: noncopyable is in namespace boost
1879 * ButtonPolicies.h: ditto
1881 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1883 * Merging changes from BRANCH_MVC back into HEAD.
1885 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1887 * Makefile.am: add ControlBibitem.[Ch].
1889 * ControlBibitem.[Ch]: new files that together define the Controller
1890 for a Bibitem popup.
1892 * ControlCommand.h (c-tor): give kb_action a default value of
1895 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1897 * ControlCitation.[Ch]: moved search functions out of class.
1898 (bibkeysInfo): new method. Returns const reference to private data.
1899 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1902 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1904 * ControlCitation.[Ch]: added Search functions to the class,
1905 (shamelessly lifted from Marco's gnome code). I think that these would
1906 be better as helper functions outside the class, but this is a first
1909 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1911 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1913 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1914 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1915 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1916 implementation of FormCitation.
1918 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1920 * ButtonPolicies.h: add SMI_NOOP to enum.
1922 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1924 * ButtonController.C (input): add "optimising" if-statement. Actually,
1925 things don't work correctly without it...
1927 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1929 * ViewBase.h: remove #pragma directive
1931 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1934 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1936 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1938 * Makefile.am: added ButtonPolicies.[Ch]
1940 * ButtonController.[Ch]: ButtonController is split into
1941 ButtonControllerBase and a template ButtonController class. The base
1942 class no longer stores a pointer to a ButtonPolicy, but instead
1943 accesses the actual instantiation of the policy through a pure virtual
1944 method bp(). This method and the ButtonPolicy itself are instantiated
1945 in the templatised ButtonController class. This class is derived from
1946 the GUI-specific GUIBC class, meaning that the frontends know
1947 nothing about the actual policy decided upon by the controllers.
1949 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1950 Instead the actual instantiations are accessed through pure virtual
1951 methods view() and bc(). The daughter classes are responsible for the
1952 actual View and ButtonController.
1954 * ControlCitation.h: the templatised class GUICitation instantiates
1955 the methods view() and bc(). It also stores the instances of the
1956 View and ButtonController.
1958 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1960 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1961 also changed to ButtonController.
1964 * ControlConnections.[Ch]:
1965 * ControlCommand.[Ch]:
1966 * ControlCitation.[Ch]:
1967 * ViewBase.h: Changes associated with this.
1969 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1971 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1972 xforms/ButtonController class into a GUI-I class (here) and an
1973 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1975 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1976 from which all Dialog Controllers should be derived. the Controllers
1977 are GUI-independent, but are designed to control the behaviour of
1978 GUI-specific implementaions of each dialog.
1980 * ControlConnections.[Ch]: new files. Classes controlling the
1981 connections of buffer-independent, buffer-dependent and Inset dialogs
1982 with the LyX kernel.
1984 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1985 InsetCommand subset of insets.
1987 * ControlCitation.[Ch]: new files. The test specialisation! A
1988 controller for the Citation dialog.
1990 * ViewBase.h: new file. ViewBase is an abstract base class from which
1991 GUI-specific dialogs should be derived. The functionality that the GUIs
1992 must now implement is much reduced.