1 2003-03-18 John Levon <levon@movementarian.org>
3 * ControlParagraph.C: make reading of params succeed
5 2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
7 * ControlChanges.[Ch]: ControlChanges::find() returns the bool
8 from lyxfind::findNextChange(), instead of void.
10 2003-03-13 Angus Leeming <leeming@lyx.org>
12 * Dialog.h (initialiseParams): return a bool to indicate successful
13 translation of the string.
17 * ControlAbout.h: a serious attempt at documenting the code.
19 * ButtonController.[Ch] (readWrite): it wasn't used, so remove it.
22 * ButtonController.[Ch]:
23 * BCView.[Ch], BCView.tmpl: make many methods const.
25 2003-03-13 Angus Leeming <leeming@lyx.org>
27 * ControlParagraph.[Ch]: rewrite to use the Dialog-based scheme and
28 the new dispatch lfuns.
30 2003-03-12 Angus Leeming <leeming@lyx.org>
32 * ControlCharacter.[Ch]: rewrite to use the Dialog-based scheme and
33 the new dispatch lfuns.
35 2003-03-09 Angus Leeming <leeming@lyx.org>
37 Flatten the ButtonController tree by splitting it into a Controller
40 * BCView.[Ch], BCView.tmpl: new files containing the View part of the
43 * ButtonController.[Ch]: just the controller, which needs know only
44 two methods of the View, refresh and refreshReadOnly.
46 * lots of files: associated changes.
48 2003-03-09 Angus Leeming <leeming@lyx.org>
50 * ControlChanges.[Ch]: rewrite to use the Dialog-based scheme.
52 2003-03-09 Angus Leeming <leeming@lyx.org>
54 * ControlAboutlyx.[Ch]: rewrite to use the Dialog-based scheme.
56 2003-03-09 Angus Leeming <leeming@lyx.org>
58 * ControlTabularCreate.[Ch]: rewrite to use the Dialog-based scheme.
60 2003-03-09 Angus Leeming <leeming@lyx.org>
62 * ControlTabular.[Ch]: rewrite to use the Dialog-based scheme.
64 2003-03-09 Angus Leeming <leeming@lyx.org>
66 * ControlTabular.[Ch]: minimise the interface in preparation for
67 a move to the Dialog-based scheme.
68 (inset): removed; the views require only getActiveCell().
69 (tabular): return as a reference.
71 2003-03-07 Angus Leeming <leeming@lyx.org>
73 * ControlGraphics.[Ch]: rewrite to use the Dialog-based scheme.
75 * ControlInset.{h, tmpl}: remove.
76 * Makefile.am: remove files.
78 2003-03-07 Angus Leeming <leeming@lyx.org>
80 * ControlBibitem.[Ch]:
83 * ControlUrl.[Ch]: removed.
85 * Makefile.am: remove files.
87 * ControlERT.C (dispatchParams):
88 * ControlExternal.C (dispatchParams):
89 * ControlFloat.C (dispatchParams):
90 * ControlInclude.C (dispatchParams):
91 * ControlWrap.C (dispatchParams): no need to pass name to Mailer
94 * ControlMinipage.[Ch]: rewrite to use the Dialog-based scheme.
96 2003-03-05 Angus Leeming <leeming@lyx.org>
98 * ControlWrap.[Ch]: rewrite to use the Dialog-based scheme.
100 * ControlFloat.[Ch]: move insetfloat.h into the .C file.
102 * ControlFloat.[Ch]: rewrite to use the Dialog-based scheme.
103 * ControlInclude.C: remove unneeded header files.
105 * ControlFloat.[Ch]: replace FloatParams with InsetFloatParams.
107 * ControlInclude.[Ch]: rewrite to use the Dialog-based scheme.
109 * ControlExternal.[Ch]: rewrite to use the Dialog-based scheme.
111 * Dialog.h: make view() public. Add dialog() methods.
113 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
115 * ControlGraphics.C: removed #include "converter.h"
117 * ControlSendto.C: added #include "format.h"
119 2003-02-27 Angus Leeming <leeming@lyx.org>
121 * ControlLabel.[Ch]: new files. A controller for the Label dialog.
123 * Makefile.am: add the new files.
125 2003-02-27 Angus Leeming <leeming@lyx.org>
127 * ControlBibitem.C (c-tor):
128 * ControlBibtex.C (c-tor):
129 * ControlCitation.C (c-tor):
130 * ControlIndex.C (c-tor):
131 * ControlRef.C (c-tor):
132 * ControlToc.C (c-tor):
133 * ControlUrl.C (c-tor):
134 pass "name" to ControlCommand c-tor,
137 * ControlCommand.[Ch] (c-tor, dispatchParams): use "name" rather than a
140 * ControlERT.C (dispatchParams): use "name" rather than a
143 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
145 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
147 2003-02-21 Angus Leeming <leeming@lyx.org>
150 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
152 * ControlBibitem.[Ch]:
153 * ControlBibtex.[Ch]:
154 * ControlCitation.[Ch]:
155 * ControlCommand.[Ch]:
160 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
161 individual controllers too.
162 Move 'apply' code into the LyX kernel.
164 * ControlConnections.C: temporary renaming of Dialogs::signals.
166 * Makefile.am: add new files.
168 2003-02-21 Angus Leeming <leeming@lyx.org>
170 * ControlBibtex.C (Browse):
171 * ControlExternal.C (Browse):
172 * ControlGraphics.C (Browse):
173 * ControlInclude.C (Browse):
174 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
176 * ControlPrint.C (Browse):
177 don't pass a LyXView & to browseFile et al.
178 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
179 don't pass a LyXView & to fileDlg.
181 2003-02-17 John Levon <levon@movementarian.org>
183 * ControlDialog.tmpl: build dialog before calling setParams
184 for the benefit of ControlSpellchecker
186 * ControlSpellchecker.h:
187 * ControlSpellchecker.C: rework. Lots of bugs fixed and
190 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
192 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
193 of available *.bib-files from bibFiles.lst).
195 * tex_helpers.C (getTexFileList): sort and dis-duplicate
196 listWithoutPath correctly.
198 2003-02-08 John Levon <levon@movementarian.org>
201 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
203 2003-02-08 John Levon <levon@movementarian.org>
207 * ControlChanges.C: add merge changes dialog
210 * ControlPrefs.C: add setCurrentAuthor()
212 2003-01-31 Angus Leeming <leeming@lyx.org>
214 * ViewBase.h: add an isVisible() pure virtual method.
216 * ControlTabular.C (updateInset): don't build the dialog here.
217 Instead, do nothing if the dialog is invisible.
219 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
221 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
223 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
225 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
227 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
229 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
233 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
235 * several files: ws changes
237 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * ControlDocument.C (classApply): use boost.format
241 2002-11-29 Angus Leeming <leeming@lyx.org>
243 * ControlButtons.h (isClosing): make it public, so that the view can
245 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
248 * ControlPrefs.[Ch] (OKButton): removed.
250 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
251 dialog isClosing(). (Ie, if the "save" button has been pressed.)
253 2002-11-28 John Levon <levon@movementarian.org>
255 * ControlSpellchecker.C: fix Lars' broken cleanup
257 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
259 * ControlTabular.[Ch]: Add isMulticolumnCell
261 2002-11-27 Angus Leeming <leeming@lyx.org>
263 * ControlMath.C (ControlMath): initialise active_.
265 2002-11-25 Angus Leeming <leeming@lyx.org>
267 * ControlDialog.h (hide, update): move from protected to public.
269 * ControlMath.[Ch]: add controllers for the main math panel dialog and
270 for any daughter dialogs stored by the main panel.
272 2002-11-21 Angus Leeming <leeming@lyx.org>
274 * ControlDocument.[Ch] (classApply): no longer returns bool.
275 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
277 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
279 * biblio.C (getAbbreviatedAuthor): use boost::format
281 * ControlSpellchecker.C (clearParams): use boost::format
283 2002-11-20 John Levon <levon@movementarian.org>
285 * ControlMath.C: couple more manglings
287 2002-11-20 John Levon <levon@movementarian.org>
290 * ControlMath.C: add find_xpm mangler
292 2002-11-17 John Levon <levon@movementarian.org>
294 * helper_funcs.C and users: specify save/open in file dialog
296 2002-11-15 John Levon <levon@movementarian.org>
299 * ControlPrefs.C: use setParams()
301 2002-11-15 John Levon <levon@movementarian.org>
303 * ControlButtons.h: make OKButton() virtual for prefs
306 * ControlPrefs.C: updates for xforms port to MVC
310 * ControlTabular.C: add simple MVC port
312 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
314 * ControlInclude.C: fix file format masks for qt's use
316 2002-11-13 John Levon <levon@movementarian.org>
320 * ControlPrefs.C: add skeleton controller
322 2002-11-12 John Levon <levon@movementarian.org>
324 * biblio.C: fix warnings
326 2002-11-12 Angus Leeming <leeming@lyx.org>
328 * ControlSpellchecker.C (check): fix crash
329 * biblio.C (escape_special_chars): simplify BRE.
331 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
333 * ControlDocument.[Ch]: Remove unused method
335 2002-11-07 Angus Leeming <leeming@lyx.org>
337 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
338 * clean-up the search code in biblio.C.
340 2002-11-07 John Levon <levon@movementarian.org>
342 * ControlGraphics.C: QGraphics fixes
344 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
346 * ControlDocument.C: (SaveAsDefault) make it work.
347 fix buffer update on class change
349 2002-11-06 Angus Leeming <leeming@lyx.org>
351 * biblio.C (searchKeys and helper functions): rewritten entirely
352 using the STL. Boost::regex searching now works as the old 1.2 code
355 2002-11-06 Angus Leeming <leeming@lyx.org>
357 * biblio.C: clean-up of the code. No change in functionality.
359 2002-11-04 Angus Leeming <leeming@lyx.org>
361 * ControlGraphics.[Ch] (getUnits): moved out of class and into
362 frnt::getBBUnits(). Code cleaned also.
364 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * biblio.C (regexSearch): STRCONV
369 * ControlAboutlyx.C (getVersion): STRCONV
371 * ControlMath.C: include config.h
373 2002-10-31 John Levon <levon@movementarian.org>
376 * ControlGraphics.C: bb units from Herbert
378 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
380 * ControlParagraph.[Ch] (alignDefault): new method, returning the
381 default alignment (block, left, right, center) of this paragraph.
383 2002-10-25 John Levon <levon@movementarian.org>
385 * ControlPrint.C: using endl
387 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
389 * ControlPrint.[Ch]: move code here from Liason.[Ch].
391 * ControlSpellchecker.h (getCount): new method.
392 * ControlSpellchecker.[Ch]: constify some accessor methods.
394 2002-10-22 Angus Leeming <leeming@lyx.org>
396 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
397 alphabetical order once again.
399 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
400 Add a list of CheckedWidget ptrs to ButtonControllerBase
401 together with methods addCheckedWidget and checkWidgets to use it.
403 * ButtonController.tmpl (refresh): use the return value of
404 checkWidgets to control the activation state of the Ok, Apply, Restore
407 * ControlDialog.tmpl (show, update):
408 * ControlInset.tmpl (showInset, update):
409 invoke ButtonController::refresh to ensure that the activation state of
410 the Ok, Apply buttons reflects the valid-state of the widgets.
412 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * tex_helpers.C (rescanTexStyles): don't pop p
417 * ControlWrap.C (WrapParms): remove initialization of placement,
418 and move empty c-tor to .h class def.
420 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
421 of on stringsteam, return void. Get the file into the stream as
424 * ControlPreamble.[Ch] (params): getter and setter for params_, make
425 params_ into a string, not just a pointer to string.
427 * ControlExternal.C (getTemplateNumber): put i into the for scope,
428 and use the sequence operator on the last for "parameter"
429 (getTemplate): use std::advance to advance the iterator.
431 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
432 instead of on a stringstream, return void. Get the file into the
433 stream as fast as possible.
434 (getVersion): use ostringstream
436 * lots of files: ws changes, formatting fixes
438 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * ControlCharacter.C (apply): setMinibuffer change
441 * ControlDocument.C (apply): ditto
443 * ControlThesaurus.C (replace): ditto
444 * ControlSearch.C (find): ditto
446 * ControlPreamble.C (apply): ditto
447 * ControlParagraph.C (apply): ditto
449 2002-10-14 André Pönitz <poenitz@gmx.net>
451 * ControlDocument.C: somebody else's fix for a hard lockup
453 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
457 * Makefile.am: New document parameters controller
459 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
463 2002-09-24 Angus Leeming <leeming@lyx.org>
465 * ControlConnections.h: remove trailing whitespace.
467 * biblio.h: #include "LString.h".
469 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
471 * ControlGraphics.C: Change GUI origin strings into proper English.
473 2002-09-09 John Levon <levon@movementarian.org>
475 * ControlInclude.C: fix file masks. Get rid of noload,
476 remove stupid warning
478 2002-09-09 John Levon <levon@movementarian.org>
481 * ControlMath.C: add latex_deco
483 2002-09-06 John Levon <levon@movementarian.org>
485 * ControlMath.C: terminate dots
487 2002-09-05 Angus Leeming <leeming@lyx.org>
489 * all files: modify the headers as discussed on the list.
491 2002-08-30 John Levon <levon@movementarian.org>
494 * ControlMath.C: moved from MathsSymbols.C
496 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
498 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
500 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
502 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
503 first item in the list
505 2002-08-15 Angus Leeming <leeming@lyx.org>
507 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
509 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
511 2002-08-15 Angus Leeming <leeming@lyx.org>
513 * lots: changed my email address to leeming@lyx.org.
515 * GUI.h: return it to private derivation from boost::noncopyable.
517 2002-08-14 Angus Leeming <leeming@lyx.org>
519 * GUI.h: public derivation from boost::noncopyable.
521 2002-08-14 Angus Leeming <leeming@lyx.org>
523 * GUI.h: class GUI deries from boost::noncopyable
525 * ControlButtons.h: no longer derives from DialogBase, but instead
526 derives directly from boost::noncopyable.
528 * ViewBase.h: derives from boost::noncopyable.
530 * ControlCharacter.C:
532 * ControlConnections.C:
535 * ControlParagraph.C:
539 * ControlSpellchecker.C:
541 * ControlThesaurus.C:
542 rearrange #includes. Remove unnecessary ones.
544 * ControlError.h: add "insets/inseterror.h".
546 * helper_funcs.h: add necessary #includes.
548 * tex_helpers.[Ch]: add #pragma directives for g++.
550 * Makefile.am: remove src/frontends from -I list to compiler.
552 2002-08-13 Angus Leeming <leeming@lyx.org>
554 * ControlConnections.C:
556 changes due to the changed LyXView interface that now returns references
557 to member variables not pointers.
559 2002-08-12 Angus Leeming <leeming@lyx.org>
561 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
562 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
563 for the most commonly accessed core methods, to minimise code
566 * many files: use these wrappers and remove associated #includes.
568 2002-08-12 Angus Leeming <leeming@lyx.org>
570 * ControlButtons.[Ch] (bc, view): no longer virtual.
571 (setView, setButtonController): new methods, invoked by GUI.
573 * ControlDialog.h (show):
574 * ControlInset.h (createInset, showInset): make public, so that GUI can
577 * GUI.h: GUI now contains a controller, rather than deriving from it.
578 remove all those friend functions since we can now access the show,
579 createInset, showInset controller methods.
581 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
584 * character.h: #include a couple of STL files.
586 2002-08-08 John Levon <levon@movementarian.org>
588 * ControlCommandBuffer.C: LyXAction cleanup
590 2002-08-07 John Levon <levon@movementarian.org>
592 * ControlSpellchecker.C: fix crash when spellchecker doesn't
595 2002-08-06 John Levon <levon@movementarian.org>
597 * ControlSpellchecker.C:
598 * ControlSpellchecker.h: use WordLangTuple
600 2002-08-06 John Levon <levon@movementarian.org>
602 * ControlSpellchecker.C: show an alert with the
603 error message on initialisation failure
605 2002-08-04 John Levon <levon@movementarian.org>
607 * ControlSpellchecker.h:
608 * ControlSpellchecker.C: some cleanups
610 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
612 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
614 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
615 the Dialogs::updateParagraph signal is emitted.
617 2002-08-02 Angus Leeming <leeming@lyx.org>
619 * ControlCharacter.C (apply):
620 * ControlERT.C (applyParamsToInset):
621 * ControlParagraph.C (apply):
622 * ControlSearch.C (find, replace):
623 * ControlThesaurus.C (replace): changes due to LyXView::view() now
624 returning a boost::shared_ptr.
626 2002-08-01 John Levon <levon@movementarian.org>
628 * ControlSendto.C: writeFile() change
630 2002-08-01 John Levon <levon@movementarian.org>
632 * ControlSpellchecker.h:
633 * ControlSpellchecker.C: remove options
635 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
637 * several files: strip,frontStrip -> trim,ltrim,rtrim
639 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * biblio.C (parseBibTeX): modify because of strip changes
643 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
645 * ControlFloat.[Ch]: Implement Wide Float toggle
646 Replace "allow_here_definitely" by "wide"
648 2002-07-22 Herbert Voss <voss@lyx.org>
650 * ControlGraphics.C: small changes
652 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
654 * ControlToc.C: remove getType
656 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
658 * ControlCommandBuffer.C: don't add "" to history
660 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
662 * ControlRef.C: fix dispatch call nicely
664 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
667 * ControlCommandBuffer.h:
668 * ControlCommandBuffer.C: add controller for command (mini) buffer
671 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
673 * ControlRef.C: fix dispatch call
675 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
677 * ControlCharacter.C: use view_state_changed not setState
679 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
681 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
683 2002-07-15 Mike Fabian <mfabian@suse.de>
685 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
686 of compare_no_case, because in turkish, 'i' is not the lowercase
687 version of 'I', and thus turkish locale breaks parsing of tags.
689 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
691 * ControlBibtex.C (applyParamsToInset): ws change
693 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
695 * ControlInclude.C: Add warning if absolute path name and
696 check_typeset is used together
698 2002-06-28 Angus Leeming <leeming@lyx.org>
700 * ControlGraphics.C: changes associated with the name changes
701 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
703 2002-06-25 Angus Leeming <leeming@lyx.org>
705 * ControlGraphics.C (readBB): Channges associated with the changed
706 interface to the graphics cache.
708 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
710 * ControlParagraph.C: layout as layout
712 2002-06-21 Angus Leeming <leeming@lyx.org>
714 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
715 * tex_helpers.h: #include "LString.h".
717 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
720 * ControlBibitem.C: use repaint()
722 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
724 * ControlTexinfo.C: do the same for Texinfo
726 * tex_helpers.C: don't try to read a file that isn't there
728 2002-06-21 Herbert Voss <voss@perce.de>
730 * ControlBibtex.C: do an automatic update, when no bst-list
733 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
735 * GUI.h: createIndex() changed
737 2002-06-18 Herbert Voss <voss@perce.de>
739 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
740 helperstuff. Now the bibtex gui can use some of these functions
742 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
744 * ControlGraphics.C: just make the mask *.*
746 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * changes to simplify function setup, removal of a lot of includes.
750 2002-06-12 Angus Leeming <leeming@lyx.org>
752 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
754 2002-06-12 Angus Leeming <leeming@lyx.org>
756 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
758 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
760 * ControlParagraph.[Ch]: new paragraph controller
761 * GUI.h: add new controller
764 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
766 * GUI.h: do not include ButtonController.tmpl
768 * ControlInset.h: include ControlInset.tmpl
770 * ControlCitation.C: do not include ControlInset.tmpl
771 * ControlCommand.C: ditto
772 * ControlERT.C: ditto
773 * ControlError.C: ditto
774 * ControlExternal.C: ditto
775 * ControlFloat.C: ditto
776 * ControlGraphics.C: ditto
777 * ControlInclude.C: ditto
778 * ControlMinipage.C: ditto
780 * ControlDialog.tmpl: remove the Base:: prefix
782 2002-06-07 Angus Leeming <leeming@lyx.org>
784 Fixes needed to compile with Compaq cxx 6.5.
785 * ControlDialog.tmpl: I have had to prefix base class methods with
788 * ControlInset.tmpl: #include a couple of headers.
790 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
792 * switch from SigC signals to boost::signals
794 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * biblio.h: include vector
798 * biblio.C: change include order
799 (regexSearch): use boost regex and get rid of LRegex
801 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
806 * ControlCharacter.C:
809 * ControlConnections.C:
826 * ControlSpellchecker.C:
827 * ControlTabularCreate.C:
829 * ControlThesaurus.C:
832 * ControlVCLog.C: LyXView moved into frontends
834 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
836 * ControlExternal.C: add scoped_ptr.hpp
838 * ControlCharacter.h: use more specific smart_ptr header.
840 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
842 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
844 2002-05-13 Herbert Voss <voss@perce.de>
846 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
847 like "Odland, G. and ... "
848 (parseBibTeX): fix bug with title and booktitle
849 and replace a \n with a space when one entry has more than
852 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
854 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
855 "No change" and "Reset".
857 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
858 them at the front of the list.
860 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
862 * ControlGraphics.C: add some comments to the char * arrays.
863 Make rorigin_size const.
865 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
867 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
868 Enables the gui's to internationalise these strings.
870 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
872 * frnt_lang.C: fix build
874 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
876 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
877 If the the caller is the character dialog, add "No change" and "Reset"
878 to the vector, else don't.
879 Internationalise the GUI strings here rather than in the different
881 Sort the translated strings, albeit simply.
883 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
885 * character.[Ch]: rename namespace character as namespace frnt.
887 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
888 as several dialogs will use this info. The function now returns a
889 vector<LanguagePair> where LanguagePair is a display string and an
890 identifying string. The display string is internationalised.
892 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
893 the identifying strings, "No change" and "Reset".
895 * Makefile.am: add frnt_lang.[Ch].
897 2002-04-25 Herbert Voss <voss@lyx.org>
899 * ControlSendto.C (allFormats): don't add the graphics extensions to the
902 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
904 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
905 BibTeX databases in a WYSIWYM way.
907 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
909 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
910 way past his use-by date.
911 Make use of the improved info from Buffer::getBibkeyList when using
912 \bibliography. Enables us to provide natbib support in this case too.
914 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
916 * ControlGraphics.C: pass the browseFile dialog a string of only those
917 formats that can currently be loaded by LyX.
919 2002-04-15 Herbert Voss <voss@perce.de>
921 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
922 with something like ,,...blah...`` (two commas)
924 2002-04-14 Herbert Voss <voss@perce.de>
926 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
927 into the support/lstrings for better use in other programs.
929 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
930 namespace anon and make globally accessible.
931 (familyName): test for the presence of a LaTeX Space at the front of
932 of a name; strip it if it exists.
934 2002-04-11 Herbert Voss <voss@perce.de>
936 * ControlGraphics.C: expand "browse-string" to all available formats
938 2002-04-11 Herbert Voss <voss@perce.de>
940 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
942 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
944 * ControlAboutlyx.C (getVersion): two _() forgotten
946 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
950 * ControlBibtex.C: make N_() be _()
952 2002-04-07 Herbert Voss <voss@perce.de>
954 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
956 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
958 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
959 used when reading the BB.
961 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
963 * ControlGraphics.C (readBB): Don't open the ifstrem and then
964 check the format from the contents (and open a second ifstream in the
965 process. One at a time please.
967 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
969 * ControlRef.C (getBufferNum): squash warning message.
971 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
973 * ControlBibtex.C (Browse):
974 * ControlGraphics.C (Browse):
975 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
977 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
979 * ControlGraphics.C (applyParamsToInset): pass filepath to
980 InsetGraphics::updateInset.
982 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
984 * most files: ws cleanup
986 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
988 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
991 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
994 * ControlInclude.C: better error messages
996 2002-03-11 Herbert Voss <voss@lyx.org>
998 * biblio.C (parseBibTeX): fix another minibug with an
1001 2002-03-10 Herbert Voss <voss@lyx.org>
1003 * biblio.C (parseBibTeX): fix bug
1004 (familyName): improve parsing
1006 2002-03-09 Herbert Voss <voss@lyx.org>
1008 * ControlGraphics.[Ch]: adding checkFilename() for testing
1009 of non-existing files
1011 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1013 * ControlSendto.C (allFormats): fix a iterators are not pointers
1016 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
1018 * ControlShowFile.h: add a #include "LString.h"
1020 2002-03-05 Herbert Voss <voss@lyx.org>
1022 * biblio.C (getInfo): simplify if using paragraph layout
1025 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1027 * biblio.C (getInfo): return the info field correctly if the key
1028 is not a BibTeX one.
1029 (parseBibTeX): fix crash when data.find('=') returns string::npos.
1031 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1033 * ControlForks.[Ch]: new files. A controller for the Forked Child
1034 processes dialog, enabling the user to see what forked processes
1035 are running, and, if he so desires, to kill them.
1037 * GUI.h: add class GUIForks.
1039 * Makefile.am: add ControlForks.[Ch].
1041 * ControlGraphics.C (getParams): small change due to change in
1044 2002-02-21 Herbert Voss <voss@lyx.org>
1046 * biblio.C: fix bug with commentlines in a bibentry
1048 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1050 * Makefile.am: simpler obj. file compile
1052 2002-02-18 Herbert Voss <voss@lyx.org>
1054 * ControlGraphics.[Ch]: remove help-file call
1056 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1058 * helper_funcs.h: wrap the structs firster and seconder up in a
1059 namespace to avoid clashes with those in lyxalgo,h.
1061 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
1062 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1064 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1066 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
1069 change Systemcalls::System to Systemcalls::Wait and
1070 No change of functionality, just reflects the stripped down Systemcalls
1073 2002-02-06 Herbert Voss <voss@lyx.org>
1075 * ControlGraphics.[C] (readBB): search also in
1076 g'zipped files. If it is useful than PK and compress
1077 should also be supported. use unzipFile() from
1080 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1082 * ControlRef.C (getBufferName): new method to get a real buffer
1085 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1087 * ControlTexInfo.[Ch]: Removed Help functions.
1089 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1091 * ControlSpellchecker.C: clear any selection left
1094 2002-02-01 Herbert Voss <voss@lyx.org>
1096 * ControlGraphics.[C] (readBB): search only, if it is a
1097 ".?ps" file and look for bb's at end of file
1099 2002-01-30 Herbert Voss <voss@lyx.org>
1101 * ControlGraphic.[C]: do not search the whole file, when
1104 2002-01-29 Herbert Voss <voss@lyx.org>
1106 * ControlGraphic.[C]: added a button for document path
1107 when browsing -> bug 222
1109 2002-01-27 Herbert Voss <voss@lyx.org>
1111 * ControlGraphic.[Ch]: added support for Bounding Box, other
1114 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ControlAboutlyx.h:
1117 * ControlTexinfo.h: added #include "LString.h" where they belong.
1119 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
1121 * ControlCitation.C:
1122 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
1124 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
1126 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
1129 2002-01-20 Herbert Voss <voss@perce.de>
1131 * ControlInclude.[Ch]: better control of unexistings files
1132 when entered without the browser
1134 * ControlGraphic.C (Browse): add extension "ps" when browsing for
1137 2002-01-19 Herbert Voss <voss@perce.de>
1139 * biblio.C (getInfo): fix bug when no author is given
1141 * biblio.C (parseBibTeX): change the parsing, so that
1142 '#'-characters in a bibtex entry are no more a problem.
1144 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1146 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1147 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1149 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1151 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1153 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1155 * ControlExternal.C (Browse): add a std:: qualifier
1157 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1159 * ControlExternal.C (Browse): simplify to use browseRelFile
1161 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1163 * ButtonController.tmpl: added // -*- C++ -*-
1165 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1166 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1167 Needed in _one_ of the ControlCommand-derived classes only.
1169 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ControlSearch.h: #include LString.h
1174 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1176 * ButtonController.h: split into two. The definition remains in
1177 ButtonController.h, the declaration is now in ButtonController.tmpl.
1178 These template methods should be #included when the derived class is
1179 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1180 and in the qt2 and gnome equivalents.
1182 * ControlDialogs.h: removed. The definition of class ControlDialog is
1183 now to be found in ControlDialog.h and the declaration of the methods
1184 is in ControlDialog.tmpl. The two template instantiations are performed
1185 in ControlDialog_impl.[Ch], new files also.
1187 * ControlInset.h: split into two. The definition remains in
1188 ControlInset.h, the declaration is now in ControlInset.tmpl.
1189 These template methods should be #included derived class is
1190 instantiated, in this case in 8 other .C files in this directory.
1192 * ControlAboutlyx.[Ch]:
1193 * ControlCharacter.[Ch]:
1197 * ControlExternal.C:
1199 * ControlGraphics.C:
1202 * ControlMinipage.C:
1203 * ControlPreamble.[Ch]:
1204 * ControlPrint.[Ch]:
1205 * ControlSearch.[Ch]:
1206 * ControlShowFile.[Ch]:
1207 * ControlSpellchecker.[Ch]:
1208 * ControlTabularCreate.[Ch]:
1209 * ControlTexinfo.[Ch]:
1210 * ControlThesaurus.[Ch]:
1211 * ControlVCLog.[Ch]: small changes associated with the above ones.
1213 * GUI.h: #include the ButtonController and dialog controller files
1214 here, rather than forward declare them. This is the correct place
1215 for these #includes.
1217 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1218 Rename ControlDialogs.h as ControlDialog.h.
1219 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1222 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1224 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1226 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1228 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1231 * ControlGraphics.C (Browse): remove overzealous shortcut
1233 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1235 * FormMinipage.C (apply, update): MinipageParams::width renamed
1236 as MinipageParams::pageWidth. InsetMinipage::width renamed
1237 as InsetMinipage::pageWidth.
1239 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1241 * ButtonController.h (refreshReadOnly): use explicit typename
1243 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1245 * helper_funcs.h (browseFile): add default empty button descriptions.
1247 * ControlGraphics.C (Browse):
1248 * ControlBibtex.C (Browse):
1249 * ControlInclude.C (Browse): add shortcuts to directory buttons
1251 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1253 * ControlThesaurus.h:
1254 * ControlThesaurus.C: update to Aiksaurus 0.14
1256 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1258 * ControlSpellchecker.C (clearParams): show the closing message
1259 only if some words have been checked, thereby fixing
1262 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1264 * ControlFloat.[Ch]: changes to prevent here definitely being used
1267 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1269 * ControlThesaurus.h: do not include <config.h> in header files
1271 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1273 * ControlToc.C: changes for floatlist
1275 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1277 * ControlVCLog.C: use _()
1279 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1281 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1284 2001-10-22 Juergen Vigna <jug@sad.it>
1286 * ControlSpellchecker.C (clearParams): use the error_ message of the
1287 speller_ if available when the spellchecker died.
1288 (setParams): remove double error message display.
1290 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1292 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1294 * helper_funcs.[Ch] (getLatexUnits): see above.
1296 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1298 * ControlTexinfo.C (getContents): use the right file for .sty files
1300 2001-10-10 Herbert Voss <voss@perce.de>
1302 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1303 and some more stuff from FormTexinfo.C
1305 * ControlShowFile.C: hiding the update-button
1307 2001-10-09 Herbert Voss <voss@perce.de>
1309 * ControlTexinfo.[Ch]: new files. Display information about the
1310 installed texfiles (cls,sty,bst).
1312 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1314 * GUI.h: added classes GUIShowFile and GUITexinfo.
1316 * Makefile.am: modified appropriately.
1318 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1320 * ControlAboutlyx.C (getVersion): use lyx_version and
1321 lyx_release_date instead of old macros
1323 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1325 * ControlSpellchecker.C (check): Behaves well now when the spell
1326 library doesn't know a replacement to an incorrect word.
1328 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1330 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1331 the correct place. Can now check spelling more than once!
1333 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1335 * ControlSplash.[Ch]: removed.
1337 * GUI.h: remove GUISplash class.
1339 * ViewBase.h: remove ViewSplash class.
1341 * Makefile.am: remove ControlSplash.[Ch].
1343 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1345 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1346 view will be shut down.
1349 * ControlInset.h: act on emergency_exit_.
1351 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1352 speller fails to launch.
1354 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1356 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1357 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1359 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1361 * ControlRef.h (disconnectOnApply): new method. Set to true.
1362 Perhaps make this user-modifiable?
1364 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1366 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1369 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1371 * ControlRef.C (getBufferList, getBufferNum): New methods
1373 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1375 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1376 of the dialog when the Apply button is pressed. Defaults to false,
1377 but can be overridden in the daughter classes.
1379 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1380 Perhaps make this user-modifiable?
1382 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1384 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1385 we have dialogs that update their contents when the buffer changes.
1386 Rather embarassing, really!
1388 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1390 * ControlSearch (replace): change semantics of replace to NOT move on
1391 to the next instance of a word once the present instance has been
1392 replaced unless we are replacing ALL instances of the word.
1394 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1396 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1398 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1400 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1401 dialog, set all options to "reset", close the dialog, re-open it ->
1402 the options are set incorrectly.
1404 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1405 When Applying it's useful to know whether the dialog is about to close
1406 or not (no point refreshing the display for example).
1408 * ControlInset.C (apply): use isClosing.
1410 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1413 * ControlDialogs.h: remove bc() hack, now fixed in
1414 Qt2 frontend. use member dialog_built_ instead of shared
1417 * ButtonController.h:
1418 * ButtonPolicies.C: more debug info
1420 * ButtonControllerBase.C: call refresh() when setting readOnly !
1422 * GUI.h: External form has apply, use the right policy
1424 * character.C: fix two off-by-one errors when latex font was removed
1426 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1428 * ControlInset.h (apply): tentative fix for the press Apply multiple
1429 times and get multiple new Insets problem.
1431 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1433 * ControlCharacter.C: fix typo
1437 * ControlInsets.C: make sure dialog is built before it is shown, so
1438 it works properly the very first time it is shown
1440 2001-08-20 Herbert Voss <voss@perce.de>
1442 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1443 and styles. Added an option for "bibliography into toc"
1445 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1447 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1448 LaTeX is no longer a font property.
1450 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1452 * GUI.h: Button controller for Reference dialog changed to
1453 NoRepeatedApplyReadOnlyPolicy.
1455 * biblio.C (getInfo): output volume and number info. Move year to end
1458 2001-08-09 Allan Rae <rae@lyx.org>
1460 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1462 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1464 * helper_funcs.C (getVectorFromString): fixed small bug.
1466 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1468 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1470 * ControlSpellchecker.C: check next word after insert in personal dict
1472 2001-08-06 Juergen Vigna <jug@sad.it>
1474 * ControlERT.[Ch]: new file
1476 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1478 * ControlInset.h: const and non-const forms of params().
1480 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1481 whitespace from either side of each item.
1483 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1485 * ControlFloat.h: add a != operator for FloatParams.
1486 Lars, how did you get this to compile!!!
1488 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1489 operator != for MinipageParams. Who's changing stuff and not compiling?
1491 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1493 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1496 * GUI.h: add class GUIFloat
1498 * ControlFloat.[Ch]: new files
1500 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1502 * ControlPrint.C: #include Lassert.h here.
1504 2001-07-26 Baruch Even <baruch@lyx.org>
1506 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1509 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1511 * ControlThesaurus.h:
1512 * ControlThesaurus.C:
1514 * Makefile.am: thesaurus support
1516 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1519 * ControlInclude.C: implement ability to load file
1521 2001-07-18 Juergen Vigna <jug@sad.it>
1523 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1525 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1527 * biblio.C (getInfo): add a .c_str() to handle the usual
1530 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1532 * ControlCitation.[Ch]: changes associated with adding natbib support.
1533 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1534 New static variable citeStyles_.
1536 * biblio.[Ch]: large internal rearrangement.
1537 New public enum CiteStyle.
1538 New public struct CitationStyle.
1539 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1540 getNumericalStrings, getAuthorYearStrings
1541 (simpleSearch, regexSearch): no longer publicly accessible.
1543 * helper_funcs.C (getStringFromVector): bug fix.
1545 2001-07-16 Baruch Even <baruch@lyx.org>
1547 * ControlVCLog.h: Added Lsstream.h to includes.
1549 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1551 * ControlSpellchecker.[Ch]: remove d-tor.
1553 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1555 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1557 2001-07-16 Juergen Vigna <jug@sad.it>
1559 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1560 compiled with USE_PSPELL) to be able to switch between ISpell and
1563 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1565 Consistent use of Lsstream.h:
1566 * ControlAboutlyx.[Ch] (getCredits):
1567 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1569 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1571 * ControlCredits.[Ch]: removed
1572 * ControlCopyright.[Ch]: removed
1573 * ControlAboutlyx.[Ch]: added (replaces previous)
1574 * GUI.h: removed credits and copyright added about lyx stuff
1576 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1578 * ControlSpellchecker.C (getSuggestion):
1579 (getWord): add std:: qualifier
1581 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1583 * ControlSpellchecker.[Ch]: added
1584 * ViewBase.h: added partialUpdate(int) member
1585 * GUI.h: added spell stuff
1587 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1589 * ControlExternal.C: (*it). -> it->
1591 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1593 * ButtonController.h: move some included header files out of the
1594 frontends and into here.
1596 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1598 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1600 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1602 * *.[h]: added // -*- C++ -*-
1603 * *.[C]: removed // -*- C++ -*-
1605 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1606 activate Apply button.
1607 (clearParams): removed.
1608 font_ is now stored as a boost::scoped_ptr.
1609 font_ is no longer deleted on hide(), so it's contents can now be used
1610 by the Font button on the toolbar.
1611 Lots of new methods so that the GUI can easily get the contents of
1612 font_ when it update()s.
1614 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1616 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1617 crash when the Font button on the Toolbar is pressed.
1619 * GUI.h: change policy of Character button controller to
1620 OkApplyCancelReadOnlyPolicy.
1622 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1624 * ControlToc.C (getContents): don't add anything to the list if it
1625 is supposed to be empty.
1627 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1629 * helper_funcs.C (getVectorFromString): bug fix.
1631 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1633 * ButtonController.h
1634 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1635 from ButtonControllerBase::readOnly. Updates the state of the widgets
1636 in the read-only list only when the read-only status of the document
1638 (refresh): moved this stuff into refreshReadOnly.
1640 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1642 * ControlPrint.C (c-tor):
1643 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1645 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1648 * character.h: small clean-ups.
1650 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1652 * ControlToc.C (getType): remove support for old float list.
1654 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1656 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1657 * ControlGraphics.h: no longer include insetgraphicsParams.h
1658 * ControlInset.h: no longer include LyXView.h
1663 * ControlCharacter.C:
1664 * ControlCitation.C:
1666 * ControlConnections.C:
1667 * ControlCopyright.C:
1670 * ControlExternal.C:
1671 * ControlGraphics.C:
1674 * ControlMinipage.C:
1675 * ControlPreamble.C:
1679 * ControlTabularCreate.C:
1681 * ControlVCLog.C: they're now in here!
1683 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1685 * ButtonControllerBase.h: C++ mode, inherit privately from
1687 * ButtonPolicies.h: ditto
1689 * ButtonController.h: C++ mode, swap init order of restore_ and
1692 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1694 * ControlTabularCreate.h:
1695 * ControlTabularCreate.C: make dialogs use a pair of uints
1699 * ControlVCLog.C: fill a stringstream with the log contents
1702 * ControlExternal.C: from Angus, clone the new InsetExternal
1705 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1707 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1708 and made more robust.
1710 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1715 * ControlPreamble.C:
1717 * ControlGraphics.C:
1718 * ControlExternal.C:
1719 * ControlCopyright.C: include gettext.h
1721 * ControlCharacter.C:
1722 * character.C: include gettext.h and language.h
1724 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1726 * ButtonController.h:
1727 * ButtonControllerBase.h:
1728 * ButtonControllerBase.C:
1735 * ControlConnections.h:
1738 * ControlExternal.C:
1741 * ViewBase.h: s/ControlButton/ControlButtons/
1743 s/UndoAll/Restore/ + associated
1745 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1747 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1750 * Makefile.am: associated changes with all of the above.
1752 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1754 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1755 and edit, view, update the External Material correctly. I hope!
1757 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1759 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1761 * BCTemplates.h: renamed as ButtonController.h
1763 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1766 * ControlConnections.h: associated change in #include and class names.
1768 * ControlExternal.[Ch]: new files; a controller for the External
1772 * Makefile.am: associated changes with all of the above.
1774 * ControlGraphics.[Ch]:
1775 * ControlInclude.[Ch]:
1776 * ControlPrint.[Ch]:
1778 (Browse): new method. Returns the results of a FileDialog browse.
1780 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1781 (getVectorFromString): fixed bug.
1783 * biblio.C (simpleSearch): cleaned up.
1785 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1787 * A slight reworking of Baruch Even's ButtonController patch.
1789 * BCTemplates.h: new file; all the templates for the ButtonController.
1790 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1791 to the more generic setButtonLabel().
1793 * ButtonController.[Ch]: renamed cancel_label and close_label as
1794 cancel_label_ and close_label_.
1796 * Makefile.am: added BCTemplates.h
1798 2001-03-29 Juergen Vigna <jug@sad.it>
1800 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1801 to use new %-lengths of LyXLength.
1803 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1805 * ControlCitation.C (bibkeysInfo): removed Assert.
1807 * ControlCopyright.h: moved GUICopyright into GUI.h
1811 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1813 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1814 (setDaughterParams): a (by default empty) new method called in show().
1820 * ControlMinipage.h:
1823 * ControlUrl.h (clearDaughterParams): removed
1825 * ControlMinipage.C (applyParamsToInset): update the view.
1826 Added namespace minipage containing a helper function getUnits.
1828 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1830 * ControlCharacter.[Ch]: moved out all the helper functions and the
1831 enum into their own file.
1832 * character.[Ch]: new files; contain the character helper functions,
1833 now inside namespace character.
1835 * ControlCitation.[Ch]: moved out all the helper functions and the
1836 enums into their own file. Simplified interface.
1837 * biblio.[Ch]: new files; contain the citation helper functions,
1838 now inside namespace biblio. Will be of use also to an improved
1841 * ControlGraphics.[Ch]:
1842 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1843 popups, respectively.
1846 * Makefile.am: associated changes.
1848 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1850 * ControlMinipage.[Ch]:
1851 * ControlPreamble.[Ch]:
1852 * ControlPrint.[Ch]:
1853 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1854 and Print popups and Splash screen, respectively.
1856 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1860 * Makefile.am: associated changes.
1862 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1864 * ControlConnections.[Ch]: (docType): new method; returns the type
1865 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1868 * ControlSearch.[Ch]:
1869 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1870 Search and TabularCreate popups, respectively.
1873 * Makefile.am: associated changes.
1875 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1877 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1880 * ControlInset.h (apply): fix bug. Can now create new insets again.
1882 * README: describe program flow.
1884 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1886 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1888 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1890 * ControlDialogs.h: moved class ControlInset into its own file.
1892 * ControlInset.h: new file. class ControlInset has been expanded to take
1893 two template parameters, Inset and Params. Believe that all inset
1894 controllers can be derived from this with the minimum of effort.
1896 * ControlBibitem.[Ch]:
1897 * ControlBibtex.[Ch]:
1898 * ControlCitation.[Ch]:
1899 * ControlCommand.[Ch]: moved most code into ControlInset.
1901 * lots of files. Moved protected stuff into private where possible.
1903 * ControlError.[Ch]:
1904 * ControlInclude.[Ch]:
1905 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1906 Include and Url popups, respectively.
1909 * Makefile.am: associated changes.
1911 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1913 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1916 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1918 * ControlCredits.C (getCredits): remove std:: qualifier for
1921 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1923 * ControlCredits.C (getCredits): add std:: on vector
1925 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1927 * ControlCredits.C: remove using that is only used once, use
1928 std::ios instead of std::iosbase, add some annoying comments.
1930 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1932 * lots of header files: improved explanatory notes.
1934 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1935 ControlBase is now a class that only controls the interaction of the
1936 View with the ButtonController.
1938 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1939 to ControlConnectBase. The class controls the connection/disconnection
1940 of signals from the LyX kernel and makes available the kernel (through
1941 lv_) to daughter controller classes.
1942 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1944 * ControlDialogs.h: new file. Contains the definition of two template
1945 controller classes, ControlDialog and ControlInset (was
1946 ControlConnectInset). ControlInset is a parent class for controllers
1947 of inset-popups. ControlDialogs is the rather uninspired name for
1948 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1949 ControlDialogs is reaching a state of maturity as several popups now use
1950 it and its functionality becomes clear. ControlInset is still in a state
1951 of flux. It is likely that functionality will be moved out of
1952 ControlCommands and into it.
1954 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1955 individual Controller header files and into one place. These classes
1956 serve only as convenient wrappers to simplify code in the respective
1957 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1959 * ControlCharacter.[Ch] (show, update, hide):
1960 * ControlLog.[Ch] (show, update, hide):
1961 * ControlVCLog.[Ch] (show, update, hide): moved back into
1962 the ControlDialogs base class.
1963 (setParams, clearParams): new methods containing controller-specific
1964 code to set/reset the parameters manipulated by the view.
1966 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1968 (hide): calls clearParams.
1970 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1971 by ControlCommand::hide().
1973 * ControlCopyright.[Ch]:
1974 * ControlCredits.[Ch]: new files; controllers for the copyright and
1975 credits popups, respectively.
1977 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1979 * ControlCharacter.C: fix typo
1981 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1983 * ControlCharacter.[Ch]: new files; controller for the character popup.
1985 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1986 moved to new files helper_funcs.[Ch].
1988 * helper_funcs.[Ch]: new files. Some useful helper functions and
1991 * Makefile.am: added new files.
1993 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1995 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1997 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2000 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
2001 Control log files, respectively.
2003 * Makefile.am: added new files.
2005 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
2007 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
2009 * Makefile.am: added ControlBibtex.[Ch].
2011 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2014 * ControlCitation.C: added "using SigC::slot" declaration.
2016 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
2017 to FormCitation.C prior to the merger: "Do not put space between
2020 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2022 * several files: remove CXX_WORKING_NAMESPACES
2024 * ButtonController.h: noncopyable is in namespace boost
2025 * ButtonPolicies.h: ditto
2027 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2029 * Merging changes from BRANCH_MVC back into HEAD.
2031 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2033 * Makefile.am: add ControlBibitem.[Ch].
2035 * ControlBibitem.[Ch]: new files that together define the Controller
2036 for a Bibitem popup.
2038 * ControlCommand.h (c-tor): give kb_action a default value of
2041 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
2043 * ControlCitation.[Ch]: moved search functions out of class.
2044 (bibkeysInfo): new method. Returns const reference to private data.
2045 (searchKeys): added case-sensitive switch. Used only by simpleSearch
2048 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
2050 * ControlCitation.[Ch]: added Search functions to the class,
2051 (shamelessly lifted from Marco's gnome code). I think that these would
2052 be better as helper functions outside the class, but this is a first
2055 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2057 * ControlCitation.[Ch]: (getBibkeyList): removed from class
2059 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
2060 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
2061 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
2062 implementation of FormCitation.
2064 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
2066 * ButtonPolicies.h: add SMI_NOOP to enum.
2068 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
2070 * ButtonController.C (input): add "optimising" if-statement. Actually,
2071 things don't work correctly without it...
2073 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
2075 * ViewBase.h: remove #pragma directive
2077 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
2080 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
2082 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
2084 * Makefile.am: added ButtonPolicies.[Ch]
2086 * ButtonController.[Ch]: ButtonController is split into
2087 ButtonControllerBase and a template ButtonController class. The base
2088 class no longer stores a pointer to a ButtonPolicy, but instead
2089 accesses the actual instantiation of the policy through a pure virtual
2090 method bp(). This method and the ButtonPolicy itself are instantiated
2091 in the templatised ButtonController class. This class is derived from
2092 the GUI-specific GUIBC class, meaning that the frontends know
2093 nothing about the actual policy decided upon by the controllers.
2095 * ControlBase.[Ch]: No longer store the View or the ButtonController.
2096 Instead the actual instantiations are accessed through pure virtual
2097 methods view() and bc(). The daughter classes are responsible for the
2098 actual View and ButtonController.
2100 * ControlCitation.h: the templatised class GUICitation instantiates
2101 the methods view() and bc(). It also stores the instances of the
2102 View and ButtonController.
2104 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
2106 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
2107 also changed to ButtonController.
2110 * ControlConnections.[Ch]:
2111 * ControlCommand.[Ch]:
2112 * ControlCitation.[Ch]:
2113 * ViewBase.h: Changes associated with this.
2115 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
2117 * ButtonControllerBase.[Ch]: new files. Split Allan's original
2118 xforms/ButtonController class into a GUI-I class (here) and an
2119 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
2121 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
2122 from which all Dialog Controllers should be derived. the Controllers
2123 are GUI-independent, but are designed to control the behaviour of
2124 GUI-specific implementaions of each dialog.
2126 * ControlConnections.[Ch]: new files. Classes controlling the
2127 connections of buffer-independent, buffer-dependent and Inset dialogs
2128 with the LyX kernel.
2130 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
2131 InsetCommand subset of insets.
2133 * ControlCitation.[Ch]: new files. The test specialisation! A
2134 controller for the Citation dialog.
2136 * ViewBase.h: new file. ViewBase is an abstract base class from which
2137 GUI-specific dialogs should be derived. The functionality that the GUIs
2138 must now implement is much reduced.