1 2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
3 * ControlDocument.C (apply): Call to setLanguage() after updating bp_;
5 2003-02-21 Angus Leeming <leeming@lyx.org>
8 * Kernel.[Ch]: a new, transparent MCV split of the dialogs code.
10 * ControlBibitem.[Ch]:
12 * ControlCitation.[Ch]:
13 * ControlCommand.[Ch]:
18 * ControlUrl.[Ch]: New MCV design leads to cleaner code for the
19 individual controllers too.
20 Move 'apply' code into the LyX kernel.
22 * ControlConnections.C: temporary renaming of Dialogs::signals.
24 * Makefile.am: add new files.
26 2003-02-21 Angus Leeming <leeming@lyx.org>
28 * ControlBibtex.C (Browse):
29 * ControlExternal.C (Browse):
30 * ControlGraphics.C (Browse):
31 * ControlInclude.C (Browse):
32 * ControlPrefs.C (browsebind, browseUI, browsekbmap, browsedict,
34 * ControlPrint.C (Browse):
35 don't pass a LyXView & to browseFile et al.
36 * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
37 don't pass a LyXView & to fileDlg.
39 2003-02-17 John Levon <levon@movementarian.org>
41 * ControlDialog.tmpl: build dialog before calling setParams
42 for the benefit of ControlSpellchecker
44 * ControlSpellchecker.h:
45 * ControlSpellchecker.C: rework. Lots of bugs fixed and
48 2003-02-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
50 * ControlBibtex.[Ch]: new function getBibFiles() (provides list
51 of available *.bib-files from bibFiles.lst).
53 * tex_helpers.C (getTexFileList): sort and dis-duplicate
54 listWithoutPath correctly.
56 2003-02-08 John Levon <levon@movementarian.org>
59 * ControlPrefs.C: call setCurrentAuthor explicitly on apply()
61 2003-02-08 John Levon <levon@movementarian.org>
65 * ControlChanges.C: add merge changes dialog
68 * ControlPrefs.C: add setCurrentAuthor()
70 2003-01-31 Angus Leeming <leeming@lyx.org>
72 * ViewBase.h: add an isVisible() pure virtual method.
74 * ControlTabular.C (updateInset): don't build the dialog here.
75 Instead, do nothing if the dialog is invisible.
77 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
79 * ControlSpellchecker.[Ch]: Remove XForms RTL hacks.
81 2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
83 * helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
85 * ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
87 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * ControlDocument.C: use BoostFormat.h instead of boost/format.hpp
91 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * several files: ws changes
95 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * ControlDocument.C (classApply): use boost.format
99 2002-11-29 Angus Leeming <leeming@lyx.org>
101 * ControlButtons.h (isClosing): make it public, so that the view can
103 (OKButton): no longer virtual. ControlPrefs should use isClosing() from
106 * ControlPrefs.[Ch] (OKButton): removed.
108 * ControlPrefs.C (apply): dispatch a LFUN_SAVEPREFERENCES if the
109 dialog isClosing(). (Ie, if the "save" button has been pressed.)
111 2002-11-28 John Levon <levon@movementarian.org>
113 * ControlSpellchecker.C: fix Lars' broken cleanup
115 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
117 * ControlTabular.[Ch]: Add isMulticolumnCell
119 2002-11-27 Angus Leeming <leeming@lyx.org>
121 * ControlMath.C (ControlMath): initialise active_.
123 2002-11-25 Angus Leeming <leeming@lyx.org>
125 * ControlDialog.h (hide, update): move from protected to public.
127 * ControlMath.[Ch]: add controllers for the main math panel dialog and
128 for any daughter dialogs stored by the main panel.
130 2002-11-21 Angus Leeming <leeming@lyx.org>
132 * ControlDocument.[Ch] (classApply): no longer returns bool.
133 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
135 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
137 * biblio.C (getAbbreviatedAuthor): use boost::format
139 * ControlSpellchecker.C (clearParams): use boost::format
141 2002-11-20 John Levon <levon@movementarian.org>
143 * ControlMath.C: couple more manglings
145 2002-11-20 John Levon <levon@movementarian.org>
148 * ControlMath.C: add find_xpm mangler
150 2002-11-17 John Levon <levon@movementarian.org>
152 * helper_funcs.C and users: specify save/open in file dialog
154 2002-11-15 John Levon <levon@movementarian.org>
157 * ControlPrefs.C: use setParams()
159 2002-11-15 John Levon <levon@movementarian.org>
161 * ControlButtons.h: make OKButton() virtual for prefs
164 * ControlPrefs.C: updates for xforms port to MVC
168 * ControlTabular.C: add simple MVC port
170 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
172 * ControlInclude.C: fix file format masks for qt's use
174 2002-11-13 John Levon <levon@movementarian.org>
178 * ControlPrefs.C: add skeleton controller
180 2002-11-12 John Levon <levon@movementarian.org>
182 * biblio.C: fix warnings
184 2002-11-12 Angus Leeming <leeming@lyx.org>
186 * ControlSpellchecker.C (check): fix crash
187 * biblio.C (escape_special_chars): simplify BRE.
189 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
191 * ControlDocument.[Ch]: Remove unused method
193 2002-11-07 Angus Leeming <leeming@lyx.org>
195 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
196 * clean-up the search code in biblio.C.
198 2002-11-07 John Levon <levon@movementarian.org>
200 * ControlGraphics.C: QGraphics fixes
202 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
204 * ControlDocument.C: (SaveAsDefault) make it work.
205 fix buffer update on class change
207 2002-11-06 Angus Leeming <leeming@lyx.org>
209 * biblio.C (searchKeys and helper functions): rewritten entirely
210 using the STL. Boost::regex searching now works as the old 1.2 code
213 2002-11-06 Angus Leeming <leeming@lyx.org>
215 * biblio.C: clean-up of the code. No change in functionality.
217 2002-11-04 Angus Leeming <leeming@lyx.org>
219 * ControlGraphics.[Ch] (getUnits): moved out of class and into
220 frnt::getBBUnits(). Code cleaned also.
222 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
224 * biblio.C (regexSearch): STRCONV
227 * ControlAboutlyx.C (getVersion): STRCONV
229 * ControlMath.C: include config.h
231 2002-10-31 John Levon <levon@movementarian.org>
234 * ControlGraphics.C: bb units from Herbert
236 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
238 * ControlParagraph.[Ch] (alignDefault): new method, returning the
239 default alignment (block, left, right, center) of this paragraph.
241 2002-10-25 John Levon <levon@movementarian.org>
243 * ControlPrint.C: using endl
245 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
247 * ControlPrint.[Ch]: move code here from Liason.[Ch].
249 * ControlSpellchecker.h (getCount): new method.
250 * ControlSpellchecker.[Ch]: constify some accessor methods.
252 2002-10-22 Angus Leeming <leeming@lyx.org>
254 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
255 alphabetical order once again.
257 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
258 Add a list of CheckedWidget ptrs to ButtonControllerBase
259 together with methods addCheckedWidget and checkWidgets to use it.
261 * ButtonController.tmpl (refresh): use the return value of
262 checkWidgets to control the activation state of the Ok, Apply, Restore
265 * ControlDialog.tmpl (show, update):
266 * ControlInset.tmpl (showInset, update):
267 invoke ButtonController::refresh to ensure that the activation state of
268 the Ok, Apply buttons reflects the valid-state of the widgets.
270 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * tex_helpers.C (rescanTexStyles): don't pop p
275 * ControlWrap.C (WrapParms): remove initialization of placement,
276 and move empty c-tor to .h class def.
278 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
279 of on stringsteam, return void. Get the file into the stream as
282 * ControlPreamble.[Ch] (params): getter and setter for params_, make
283 params_ into a string, not just a pointer to string.
285 * ControlExternal.C (getTemplateNumber): put i into the for scope,
286 and use the sequence operator on the last for "parameter"
287 (getTemplate): use std::advance to advance the iterator.
289 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
290 instead of on a stringstream, return void. Get the file into the
291 stream as fast as possible.
292 (getVersion): use ostringstream
294 * lots of files: ws changes, formatting fixes
296 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
298 * ControlCharacter.C (apply): setMinibuffer change
299 * ControlDocument.C (apply): ditto
301 * ControlThesaurus.C (replace): ditto
302 * ControlSearch.C (find): ditto
304 * ControlPreamble.C (apply): ditto
305 * ControlParagraph.C (apply): ditto
307 2002-10-14 André Pönitz <poenitz@gmx.net>
309 * ControlDocument.C: somebody else's fix for a hard lockup
311 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
315 * Makefile.am: New document parameters controller
317 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
321 2002-09-24 Angus Leeming <leeming@lyx.org>
323 * ControlConnections.h: remove trailing whitespace.
325 * biblio.h: #include "LString.h".
327 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
329 * ControlGraphics.C: Change GUI origin strings into proper English.
331 2002-09-09 John Levon <levon@movementarian.org>
333 * ControlInclude.C: fix file masks. Get rid of noload,
334 remove stupid warning
336 2002-09-09 John Levon <levon@movementarian.org>
339 * ControlMath.C: add latex_deco
341 2002-09-06 John Levon <levon@movementarian.org>
343 * ControlMath.C: terminate dots
345 2002-09-05 Angus Leeming <leeming@lyx.org>
347 * all files: modify the headers as discussed on the list.
349 2002-08-30 John Levon <levon@movementarian.org>
352 * ControlMath.C: moved from MathsSymbols.C
354 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
356 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
358 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
360 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
361 first item in the list
363 2002-08-15 Angus Leeming <leeming@lyx.org>
365 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
367 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
369 2002-08-15 Angus Leeming <leeming@lyx.org>
371 * lots: changed my email address to leeming@lyx.org.
373 * GUI.h: return it to private derivation from boost::noncopyable.
375 2002-08-14 Angus Leeming <leeming@lyx.org>
377 * GUI.h: public derivation from boost::noncopyable.
379 2002-08-14 Angus Leeming <leeming@lyx.org>
381 * GUI.h: class GUI deries from boost::noncopyable
383 * ControlButtons.h: no longer derives from DialogBase, but instead
384 derives directly from boost::noncopyable.
386 * ViewBase.h: derives from boost::noncopyable.
388 * ControlCharacter.C:
390 * ControlConnections.C:
393 * ControlParagraph.C:
397 * ControlSpellchecker.C:
399 * ControlThesaurus.C:
400 rearrange #includes. Remove unnecessary ones.
402 * ControlError.h: add "insets/inseterror.h".
404 * helper_funcs.h: add necessary #includes.
406 * tex_helpers.[Ch]: add #pragma directives for g++.
408 * Makefile.am: remove src/frontends from -I list to compiler.
410 2002-08-13 Angus Leeming <leeming@lyx.org>
412 * ControlConnections.C:
414 changes due to the changed LyXView interface that now returns references
415 to member variables not pointers.
417 2002-08-12 Angus Leeming <leeming@lyx.org>
419 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
420 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
421 for the most commonly accessed core methods, to minimise code
424 * many files: use these wrappers and remove associated #includes.
426 2002-08-12 Angus Leeming <leeming@lyx.org>
428 * ControlButtons.[Ch] (bc, view): no longer virtual.
429 (setView, setButtonController): new methods, invoked by GUI.
431 * ControlDialog.h (show):
432 * ControlInset.h (createInset, showInset): make public, so that GUI can
435 * GUI.h: GUI now contains a controller, rather than deriving from it.
436 remove all those friend functions since we can now access the show,
437 createInset, showInset controller methods.
439 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
442 * character.h: #include a couple of STL files.
444 2002-08-08 John Levon <levon@movementarian.org>
446 * ControlCommandBuffer.C: LyXAction cleanup
448 2002-08-07 John Levon <levon@movementarian.org>
450 * ControlSpellchecker.C: fix crash when spellchecker doesn't
453 2002-08-06 John Levon <levon@movementarian.org>
455 * ControlSpellchecker.C:
456 * ControlSpellchecker.h: use WordLangTuple
458 2002-08-06 John Levon <levon@movementarian.org>
460 * ControlSpellchecker.C: show an alert with the
461 error message on initialisation failure
463 2002-08-04 John Levon <levon@movementarian.org>
465 * ControlSpellchecker.h:
466 * ControlSpellchecker.C: some cleanups
468 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
470 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
472 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
473 the Dialogs::updateParagraph signal is emitted.
475 2002-08-02 Angus Leeming <leeming@lyx.org>
477 * ControlCharacter.C (apply):
478 * ControlERT.C (applyParamsToInset):
479 * ControlParagraph.C (apply):
480 * ControlSearch.C (find, replace):
481 * ControlThesaurus.C (replace): changes due to LyXView::view() now
482 returning a boost::shared_ptr.
484 2002-08-01 John Levon <levon@movementarian.org>
486 * ControlSendto.C: writeFile() change
488 2002-08-01 John Levon <levon@movementarian.org>
490 * ControlSpellchecker.h:
491 * ControlSpellchecker.C: remove options
493 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * several files: strip,frontStrip -> trim,ltrim,rtrim
497 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * biblio.C (parseBibTeX): modify because of strip changes
501 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
503 * ControlFloat.[Ch]: Implement Wide Float toggle
504 Replace "allow_here_definitely" by "wide"
506 2002-07-22 Herbert Voss <voss@lyx.org>
508 * ControlGraphics.C: small changes
510 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
512 * ControlToc.C: remove getType
514 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
516 * ControlCommandBuffer.C: don't add "" to history
518 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
520 * ControlRef.C: fix dispatch call nicely
522 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
525 * ControlCommandBuffer.h:
526 * ControlCommandBuffer.C: add controller for command (mini) buffer
529 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
531 * ControlRef.C: fix dispatch call
533 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
535 * ControlCharacter.C: use view_state_changed not setState
537 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
539 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
541 2002-07-15 Mike Fabian <mfabian@suse.de>
543 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
544 of compare_no_case, because in turkish, 'i' is not the lowercase
545 version of 'I', and thus turkish locale breaks parsing of tags.
547 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
549 * ControlBibtex.C (applyParamsToInset): ws change
551 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
553 * ControlInclude.C: Add warning if absolute path name and
554 check_typeset is used together
556 2002-06-28 Angus Leeming <leeming@lyx.org>
558 * ControlGraphics.C: changes associated with the name changes
559 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
561 2002-06-25 Angus Leeming <leeming@lyx.org>
563 * ControlGraphics.C (readBB): Channges associated with the changed
564 interface to the graphics cache.
566 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
568 * ControlParagraph.C: layout as layout
570 2002-06-21 Angus Leeming <leeming@lyx.org>
572 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
573 * tex_helpers.h: #include "LString.h".
575 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
578 * ControlBibitem.C: use repaint()
580 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
582 * ControlTexinfo.C: do the same for Texinfo
584 * tex_helpers.C: don't try to read a file that isn't there
586 2002-06-21 Herbert Voss <voss@perce.de>
588 * ControlBibtex.C: do an automatic update, when no bst-list
591 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
593 * GUI.h: createIndex() changed
595 2002-06-18 Herbert Voss <voss@perce.de>
597 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
598 helperstuff. Now the bibtex gui can use some of these functions
600 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
602 * ControlGraphics.C: just make the mask *.*
604 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * changes to simplify function setup, removal of a lot of includes.
608 2002-06-12 Angus Leeming <leeming@lyx.org>
610 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
612 2002-06-12 Angus Leeming <leeming@lyx.org>
614 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
616 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
618 * ControlParagraph.[Ch]: new paragraph controller
619 * GUI.h: add new controller
622 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * GUI.h: do not include ButtonController.tmpl
626 * ControlInset.h: include ControlInset.tmpl
628 * ControlCitation.C: do not include ControlInset.tmpl
629 * ControlCommand.C: ditto
630 * ControlERT.C: ditto
631 * ControlError.C: ditto
632 * ControlExternal.C: ditto
633 * ControlFloat.C: ditto
634 * ControlGraphics.C: ditto
635 * ControlInclude.C: ditto
636 * ControlMinipage.C: ditto
638 * ControlDialog.tmpl: remove the Base:: prefix
640 2002-06-07 Angus Leeming <leeming@lyx.org>
642 Fixes needed to compile with Compaq cxx 6.5.
643 * ControlDialog.tmpl: I have had to prefix base class methods with
646 * ControlInset.tmpl: #include a couple of headers.
648 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * switch from SigC signals to boost::signals
652 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * biblio.h: include vector
656 * biblio.C: change include order
657 (regexSearch): use boost regex and get rid of LRegex
659 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
664 * ControlCharacter.C:
667 * ControlConnections.C:
684 * ControlSpellchecker.C:
685 * ControlTabularCreate.C:
687 * ControlThesaurus.C:
690 * ControlVCLog.C: LyXView moved into frontends
692 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * ControlExternal.C: add scoped_ptr.hpp
696 * ControlCharacter.h: use more specific smart_ptr header.
698 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
700 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
702 2002-05-13 Herbert Voss <voss@perce.de>
704 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
705 like "Odland, G. and ... "
706 (parseBibTeX): fix bug with title and booktitle
707 and replace a \n with a space when one entry has more than
710 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
712 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
713 "No change" and "Reset".
715 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
716 them at the front of the list.
718 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
720 * ControlGraphics.C: add some comments to the char * arrays.
721 Make rorigin_size const.
723 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
725 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
726 Enables the gui's to internationalise these strings.
728 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
730 * frnt_lang.C: fix build
732 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
734 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
735 If the the caller is the character dialog, add "No change" and "Reset"
736 to the vector, else don't.
737 Internationalise the GUI strings here rather than in the different
739 Sort the translated strings, albeit simply.
741 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
743 * character.[Ch]: rename namespace character as namespace frnt.
745 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
746 as several dialogs will use this info. The function now returns a
747 vector<LanguagePair> where LanguagePair is a display string and an
748 identifying string. The display string is internationalised.
750 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
751 the identifying strings, "No change" and "Reset".
753 * Makefile.am: add frnt_lang.[Ch].
755 2002-04-25 Herbert Voss <voss@lyx.org>
757 * ControlSendto.C (allFormats): don't add the graphics extensions to the
760 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
762 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
763 BibTeX databases in a WYSIWYM way.
765 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
767 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
768 way past his use-by date.
769 Make use of the improved info from Buffer::getBibkeyList when using
770 \bibliography. Enables us to provide natbib support in this case too.
772 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
774 * ControlGraphics.C: pass the browseFile dialog a string of only those
775 formats that can currently be loaded by LyX.
777 2002-04-15 Herbert Voss <voss@perce.de>
779 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
780 with something like ,,...blah...`` (two commas)
782 2002-04-14 Herbert Voss <voss@perce.de>
784 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
785 into the support/lstrings for better use in other programs.
787 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
788 namespace anon and make globally accessible.
789 (familyName): test for the presence of a LaTeX Space at the front of
790 of a name; strip it if it exists.
792 2002-04-11 Herbert Voss <voss@perce.de>
794 * ControlGraphics.C: expand "browse-string" to all available formats
796 2002-04-11 Herbert Voss <voss@perce.de>
798 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
800 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
802 * ControlAboutlyx.C (getVersion): two _() forgotten
804 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
808 * ControlBibtex.C: make N_() be _()
810 2002-04-07 Herbert Voss <voss@perce.de>
812 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
814 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
816 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
817 used when reading the BB.
819 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
821 * ControlGraphics.C (readBB): Don't open the ifstrem and then
822 check the format from the contents (and open a second ifstream in the
823 process. One at a time please.
825 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
827 * ControlRef.C (getBufferNum): squash warning message.
829 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
831 * ControlBibtex.C (Browse):
832 * ControlGraphics.C (Browse):
833 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
835 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
837 * ControlGraphics.C (applyParamsToInset): pass filepath to
838 InsetGraphics::updateInset.
840 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * most files: ws cleanup
844 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
846 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
849 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
852 * ControlInclude.C: better error messages
854 2002-03-11 Herbert Voss <voss@lyx.org>
856 * biblio.C (parseBibTeX): fix another minibug with an
859 2002-03-10 Herbert Voss <voss@lyx.org>
861 * biblio.C (parseBibTeX): fix bug
862 (familyName): improve parsing
864 2002-03-09 Herbert Voss <voss@lyx.org>
866 * ControlGraphics.[Ch]: adding checkFilename() for testing
867 of non-existing files
869 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * ControlSendto.C (allFormats): fix a iterators are not pointers
874 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
876 * ControlShowFile.h: add a #include "LString.h"
878 2002-03-05 Herbert Voss <voss@lyx.org>
880 * biblio.C (getInfo): simplify if using paragraph layout
883 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
885 * biblio.C (getInfo): return the info field correctly if the key
887 (parseBibTeX): fix crash when data.find('=') returns string::npos.
889 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
891 * ControlForks.[Ch]: new files. A controller for the Forked Child
892 processes dialog, enabling the user to see what forked processes
893 are running, and, if he so desires, to kill them.
895 * GUI.h: add class GUIForks.
897 * Makefile.am: add ControlForks.[Ch].
899 * ControlGraphics.C (getParams): small change due to change in
902 2002-02-21 Herbert Voss <voss@lyx.org>
904 * biblio.C: fix bug with commentlines in a bibentry
906 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
908 * Makefile.am: simpler obj. file compile
910 2002-02-18 Herbert Voss <voss@lyx.org>
912 * ControlGraphics.[Ch]: remove help-file call
914 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
916 * helper_funcs.h: wrap the structs firster and seconder up in a
917 namespace to avoid clashes with those in lyxalgo,h.
919 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
920 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
922 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
924 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
927 change Systemcalls::System to Systemcalls::Wait and
928 No change of functionality, just reflects the stripped down Systemcalls
931 2002-02-06 Herbert Voss <voss@lyx.org>
933 * ControlGraphics.[C] (readBB): search also in
934 g'zipped files. If it is useful than PK and compress
935 should also be supported. use unzipFile() from
938 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
940 * ControlRef.C (getBufferName): new method to get a real buffer
943 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
945 * ControlTexInfo.[Ch]: Removed Help functions.
947 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
949 * ControlSpellchecker.C: clear any selection left
952 2002-02-01 Herbert Voss <voss@lyx.org>
954 * ControlGraphics.[C] (readBB): search only, if it is a
955 ".?ps" file and look for bb's at end of file
957 2002-01-30 Herbert Voss <voss@lyx.org>
959 * ControlGraphic.[C]: do not search the whole file, when
962 2002-01-29 Herbert Voss <voss@lyx.org>
964 * ControlGraphic.[C]: added a button for document path
965 when browsing -> bug 222
967 2002-01-27 Herbert Voss <voss@lyx.org>
969 * ControlGraphic.[Ch]: added support for Bounding Box, other
972 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
975 * ControlTexinfo.h: added #include "LString.h" where they belong.
977 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
980 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
982 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
984 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
987 2002-01-20 Herbert Voss <voss@perce.de>
989 * ControlInclude.[Ch]: better control of unexistings files
990 when entered without the browser
992 * ControlGraphic.C (Browse): add extension "ps" when browsing for
995 2002-01-19 Herbert Voss <voss@perce.de>
997 * biblio.C (getInfo): fix bug when no author is given
999 * biblio.C (parseBibTeX): change the parsing, so that
1000 '#'-characters in a bibtex entry are no more a problem.
1002 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1004 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
1005 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
1007 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
1009 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1011 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
1013 * ControlExternal.C (Browse): add a std:: qualifier
1015 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1017 * ControlExternal.C (Browse): simplify to use browseRelFile
1019 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1021 * ButtonController.tmpl: added // -*- C++ -*-
1023 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
1024 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
1025 Needed in _one_ of the ControlCommand-derived classes only.
1027 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1030 * ControlSearch.h: #include LString.h
1032 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1034 * ButtonController.h: split into two. The definition remains in
1035 ButtonController.h, the declaration is now in ButtonController.tmpl.
1036 These template methods should be #included when the derived class is
1037 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
1038 and in the qt2 and gnome equivalents.
1040 * ControlDialogs.h: removed. The definition of class ControlDialog is
1041 now to be found in ControlDialog.h and the declaration of the methods
1042 is in ControlDialog.tmpl. The two template instantiations are performed
1043 in ControlDialog_impl.[Ch], new files also.
1045 * ControlInset.h: split into two. The definition remains in
1046 ControlInset.h, the declaration is now in ControlInset.tmpl.
1047 These template methods should be #included derived class is
1048 instantiated, in this case in 8 other .C files in this directory.
1050 * ControlAboutlyx.[Ch]:
1051 * ControlCharacter.[Ch]:
1055 * ControlExternal.C:
1057 * ControlGraphics.C:
1060 * ControlMinipage.C:
1061 * ControlPreamble.[Ch]:
1062 * ControlPrint.[Ch]:
1063 * ControlSearch.[Ch]:
1064 * ControlShowFile.[Ch]:
1065 * ControlSpellchecker.[Ch]:
1066 * ControlTabularCreate.[Ch]:
1067 * ControlTexinfo.[Ch]:
1068 * ControlThesaurus.[Ch]:
1069 * ControlVCLog.[Ch]: small changes associated with the above ones.
1071 * GUI.h: #include the ButtonController and dialog controller files
1072 here, rather than forward declare them. This is the correct place
1073 for these #includes.
1075 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
1076 Rename ControlDialogs.h as ControlDialog.h.
1077 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
1080 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1082 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
1084 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1086 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
1089 * ControlGraphics.C (Browse): remove overzealous shortcut
1091 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1093 * FormMinipage.C (apply, update): MinipageParams::width renamed
1094 as MinipageParams::pageWidth. InsetMinipage::width renamed
1095 as InsetMinipage::pageWidth.
1097 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1099 * ButtonController.h (refreshReadOnly): use explicit typename
1101 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1103 * helper_funcs.h (browseFile): add default empty button descriptions.
1105 * ControlGraphics.C (Browse):
1106 * ControlBibtex.C (Browse):
1107 * ControlInclude.C (Browse): add shortcuts to directory buttons
1109 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
1111 * ControlThesaurus.h:
1112 * ControlThesaurus.C: update to Aiksaurus 0.14
1114 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1116 * ControlSpellchecker.C (clearParams): show the closing message
1117 only if some words have been checked, thereby fixing
1120 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1122 * ControlFloat.[Ch]: changes to prevent here definitely being used
1125 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1127 * ControlThesaurus.h: do not include <config.h> in header files
1129 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1131 * ControlToc.C: changes for floatlist
1133 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1135 * ControlVCLog.C: use _()
1137 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1139 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1142 2001-10-22 Juergen Vigna <jug@sad.it>
1144 * ControlSpellchecker.C (clearParams): use the error_ message of the
1145 speller_ if available when the spellchecker died.
1146 (setParams): remove double error message display.
1148 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1150 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1152 * helper_funcs.[Ch] (getLatexUnits): see above.
1154 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1156 * ControlTexinfo.C (getContents): use the right file for .sty files
1158 2001-10-10 Herbert Voss <voss@perce.de>
1160 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1161 and some more stuff from FormTexinfo.C
1163 * ControlShowFile.C: hiding the update-button
1165 2001-10-09 Herbert Voss <voss@perce.de>
1167 * ControlTexinfo.[Ch]: new files. Display information about the
1168 installed texfiles (cls,sty,bst).
1170 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1172 * GUI.h: added classes GUIShowFile and GUITexinfo.
1174 * Makefile.am: modified appropriately.
1176 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1178 * ControlAboutlyx.C (getVersion): use lyx_version and
1179 lyx_release_date instead of old macros
1181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1183 * ControlSpellchecker.C (check): Behaves well now when the spell
1184 library doesn't know a replacement to an incorrect word.
1186 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1188 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1189 the correct place. Can now check spelling more than once!
1191 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1193 * ControlSplash.[Ch]: removed.
1195 * GUI.h: remove GUISplash class.
1197 * ViewBase.h: remove ViewSplash class.
1199 * Makefile.am: remove ControlSplash.[Ch].
1201 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1203 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1204 view will be shut down.
1207 * ControlInset.h: act on emergency_exit_.
1209 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1210 speller fails to launch.
1212 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1214 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1215 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1217 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1219 * ControlRef.h (disconnectOnApply): new method. Set to true.
1220 Perhaps make this user-modifiable?
1222 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1224 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1227 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1229 * ControlRef.C (getBufferList, getBufferNum): New methods
1231 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1233 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1234 of the dialog when the Apply button is pressed. Defaults to false,
1235 but can be overridden in the daughter classes.
1237 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1238 Perhaps make this user-modifiable?
1240 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1242 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1243 we have dialogs that update their contents when the buffer changes.
1244 Rather embarassing, really!
1246 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1248 * ControlSearch (replace): change semantics of replace to NOT move on
1249 to the next instance of a word once the present instance has been
1250 replaced unless we are replacing ALL instances of the word.
1252 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1254 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1256 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1258 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1259 dialog, set all options to "reset", close the dialog, re-open it ->
1260 the options are set incorrectly.
1262 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1263 When Applying it's useful to know whether the dialog is about to close
1264 or not (no point refreshing the display for example).
1266 * ControlInset.C (apply): use isClosing.
1268 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1271 * ControlDialogs.h: remove bc() hack, now fixed in
1272 Qt2 frontend. use member dialog_built_ instead of shared
1275 * ButtonController.h:
1276 * ButtonPolicies.C: more debug info
1278 * ButtonControllerBase.C: call refresh() when setting readOnly !
1280 * GUI.h: External form has apply, use the right policy
1282 * character.C: fix two off-by-one errors when latex font was removed
1284 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1286 * ControlInset.h (apply): tentative fix for the press Apply multiple
1287 times and get multiple new Insets problem.
1289 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1291 * ControlCharacter.C: fix typo
1295 * ControlInsets.C: make sure dialog is built before it is shown, so
1296 it works properly the very first time it is shown
1298 2001-08-20 Herbert Voss <voss@perce.de>
1300 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1301 and styles. Added an option for "bibliography into toc"
1303 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1305 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1306 LaTeX is no longer a font property.
1308 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1310 * GUI.h: Button controller for Reference dialog changed to
1311 NoRepeatedApplyReadOnlyPolicy.
1313 * biblio.C (getInfo): output volume and number info. Move year to end
1316 2001-08-09 Allan Rae <rae@lyx.org>
1318 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1320 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1322 * helper_funcs.C (getVectorFromString): fixed small bug.
1324 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1326 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1328 * ControlSpellchecker.C: check next word after insert in personal dict
1330 2001-08-06 Juergen Vigna <jug@sad.it>
1332 * ControlERT.[Ch]: new file
1334 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1336 * ControlInset.h: const and non-const forms of params().
1338 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1339 whitespace from either side of each item.
1341 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1343 * ControlFloat.h: add a != operator for FloatParams.
1344 Lars, how did you get this to compile!!!
1346 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1347 operator != for MinipageParams. Who's changing stuff and not compiling?
1349 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1351 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1354 * GUI.h: add class GUIFloat
1356 * ControlFloat.[Ch]: new files
1358 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1360 * ControlPrint.C: #include Lassert.h here.
1362 2001-07-26 Baruch Even <baruch@lyx.org>
1364 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1367 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1369 * ControlThesaurus.h:
1370 * ControlThesaurus.C:
1372 * Makefile.am: thesaurus support
1374 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1377 * ControlInclude.C: implement ability to load file
1379 2001-07-18 Juergen Vigna <jug@sad.it>
1381 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1383 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1385 * biblio.C (getInfo): add a .c_str() to handle the usual
1388 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1390 * ControlCitation.[Ch]: changes associated with adding natbib support.
1391 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1392 New static variable citeStyles_.
1394 * biblio.[Ch]: large internal rearrangement.
1395 New public enum CiteStyle.
1396 New public struct CitationStyle.
1397 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1398 getNumericalStrings, getAuthorYearStrings
1399 (simpleSearch, regexSearch): no longer publicly accessible.
1401 * helper_funcs.C (getStringFromVector): bug fix.
1403 2001-07-16 Baruch Even <baruch@lyx.org>
1405 * ControlVCLog.h: Added Lsstream.h to includes.
1407 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1409 * ControlSpellchecker.[Ch]: remove d-tor.
1411 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1413 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1415 2001-07-16 Juergen Vigna <jug@sad.it>
1417 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1418 compiled with USE_PSPELL) to be able to switch between ISpell and
1421 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1423 Consistent use of Lsstream.h:
1424 * ControlAboutlyx.[Ch] (getCredits):
1425 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1427 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1429 * ControlCredits.[Ch]: removed
1430 * ControlCopyright.[Ch]: removed
1431 * ControlAboutlyx.[Ch]: added (replaces previous)
1432 * GUI.h: removed credits and copyright added about lyx stuff
1434 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1436 * ControlSpellchecker.C (getSuggestion):
1437 (getWord): add std:: qualifier
1439 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1441 * ControlSpellchecker.[Ch]: added
1442 * ViewBase.h: added partialUpdate(int) member
1443 * GUI.h: added spell stuff
1445 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1447 * ControlExternal.C: (*it). -> it->
1449 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1451 * ButtonController.h: move some included header files out of the
1452 frontends and into here.
1454 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1456 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1458 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1460 * *.[h]: added // -*- C++ -*-
1461 * *.[C]: removed // -*- C++ -*-
1463 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1464 activate Apply button.
1465 (clearParams): removed.
1466 font_ is now stored as a boost::scoped_ptr.
1467 font_ is no longer deleted on hide(), so it's contents can now be used
1468 by the Font button on the toolbar.
1469 Lots of new methods so that the GUI can easily get the contents of
1470 font_ when it update()s.
1472 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1474 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1475 crash when the Font button on the Toolbar is pressed.
1477 * GUI.h: change policy of Character button controller to
1478 OkApplyCancelReadOnlyPolicy.
1480 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1482 * ControlToc.C (getContents): don't add anything to the list if it
1483 is supposed to be empty.
1485 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1487 * helper_funcs.C (getVectorFromString): bug fix.
1489 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1491 * ButtonController.h
1492 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1493 from ButtonControllerBase::readOnly. Updates the state of the widgets
1494 in the read-only list only when the read-only status of the document
1496 (refresh): moved this stuff into refreshReadOnly.
1498 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1500 * ControlPrint.C (c-tor):
1501 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1503 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1506 * character.h: small clean-ups.
1508 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1510 * ControlToc.C (getType): remove support for old float list.
1512 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1514 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1515 * ControlGraphics.h: no longer include insetgraphicsParams.h
1516 * ControlInset.h: no longer include LyXView.h
1521 * ControlCharacter.C:
1522 * ControlCitation.C:
1524 * ControlConnections.C:
1525 * ControlCopyright.C:
1528 * ControlExternal.C:
1529 * ControlGraphics.C:
1532 * ControlMinipage.C:
1533 * ControlPreamble.C:
1537 * ControlTabularCreate.C:
1539 * ControlVCLog.C: they're now in here!
1541 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1543 * ButtonControllerBase.h: C++ mode, inherit privately from
1545 * ButtonPolicies.h: ditto
1547 * ButtonController.h: C++ mode, swap init order of restore_ and
1550 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1552 * ControlTabularCreate.h:
1553 * ControlTabularCreate.C: make dialogs use a pair of uints
1557 * ControlVCLog.C: fill a stringstream with the log contents
1560 * ControlExternal.C: from Angus, clone the new InsetExternal
1563 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1565 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1566 and made more robust.
1568 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1573 * ControlPreamble.C:
1575 * ControlGraphics.C:
1576 * ControlExternal.C:
1577 * ControlCopyright.C: include gettext.h
1579 * ControlCharacter.C:
1580 * character.C: include gettext.h and language.h
1582 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1584 * ButtonController.h:
1585 * ButtonControllerBase.h:
1586 * ButtonControllerBase.C:
1593 * ControlConnections.h:
1596 * ControlExternal.C:
1599 * ViewBase.h: s/ControlButton/ControlButtons/
1601 s/UndoAll/Restore/ + associated
1603 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1605 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1608 * Makefile.am: associated changes with all of the above.
1610 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1612 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1613 and edit, view, update the External Material correctly. I hope!
1615 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1617 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1619 * BCTemplates.h: renamed as ButtonController.h
1621 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1624 * ControlConnections.h: associated change in #include and class names.
1626 * ControlExternal.[Ch]: new files; a controller for the External
1630 * Makefile.am: associated changes with all of the above.
1632 * ControlGraphics.[Ch]:
1633 * ControlInclude.[Ch]:
1634 * ControlPrint.[Ch]:
1636 (Browse): new method. Returns the results of a FileDialog browse.
1638 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1639 (getVectorFromString): fixed bug.
1641 * biblio.C (simpleSearch): cleaned up.
1643 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1645 * A slight reworking of Baruch Even's ButtonController patch.
1647 * BCTemplates.h: new file; all the templates for the ButtonController.
1648 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1649 to the more generic setButtonLabel().
1651 * ButtonController.[Ch]: renamed cancel_label and close_label as
1652 cancel_label_ and close_label_.
1654 * Makefile.am: added BCTemplates.h
1656 2001-03-29 Juergen Vigna <jug@sad.it>
1658 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1659 to use new %-lengths of LyXLength.
1661 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1663 * ControlCitation.C (bibkeysInfo): removed Assert.
1665 * ControlCopyright.h: moved GUICopyright into GUI.h
1669 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1671 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1672 (setDaughterParams): a (by default empty) new method called in show().
1678 * ControlMinipage.h:
1681 * ControlUrl.h (clearDaughterParams): removed
1683 * ControlMinipage.C (applyParamsToInset): update the view.
1684 Added namespace minipage containing a helper function getUnits.
1686 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1688 * ControlCharacter.[Ch]: moved out all the helper functions and the
1689 enum into their own file.
1690 * character.[Ch]: new files; contain the character helper functions,
1691 now inside namespace character.
1693 * ControlCitation.[Ch]: moved out all the helper functions and the
1694 enums into their own file. Simplified interface.
1695 * biblio.[Ch]: new files; contain the citation helper functions,
1696 now inside namespace biblio. Will be of use also to an improved
1699 * ControlGraphics.[Ch]:
1700 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1701 popups, respectively.
1704 * Makefile.am: associated changes.
1706 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1708 * ControlMinipage.[Ch]:
1709 * ControlPreamble.[Ch]:
1710 * ControlPrint.[Ch]:
1711 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1712 and Print popups and Splash screen, respectively.
1714 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1718 * Makefile.am: associated changes.
1720 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1722 * ControlConnections.[Ch]: (docType): new method; returns the type
1723 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1726 * ControlSearch.[Ch]:
1727 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1728 Search and TabularCreate popups, respectively.
1731 * Makefile.am: associated changes.
1733 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1735 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1738 * ControlInset.h (apply): fix bug. Can now create new insets again.
1740 * README: describe program flow.
1742 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1744 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1746 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1748 * ControlDialogs.h: moved class ControlInset into its own file.
1750 * ControlInset.h: new file. class ControlInset has been expanded to take
1751 two template parameters, Inset and Params. Believe that all inset
1752 controllers can be derived from this with the minimum of effort.
1754 * ControlBibitem.[Ch]:
1755 * ControlBibtex.[Ch]:
1756 * ControlCitation.[Ch]:
1757 * ControlCommand.[Ch]: moved most code into ControlInset.
1759 * lots of files. Moved protected stuff into private where possible.
1761 * ControlError.[Ch]:
1762 * ControlInclude.[Ch]:
1763 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1764 Include and Url popups, respectively.
1767 * Makefile.am: associated changes.
1769 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1774 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1776 * ControlCredits.C (getCredits): remove std:: qualifier for
1779 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1781 * ControlCredits.C (getCredits): add std:: on vector
1783 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1785 * ControlCredits.C: remove using that is only used once, use
1786 std::ios instead of std::iosbase, add some annoying comments.
1788 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1790 * lots of header files: improved explanatory notes.
1792 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1793 ControlBase is now a class that only controls the interaction of the
1794 View with the ButtonController.
1796 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1797 to ControlConnectBase. The class controls the connection/disconnection
1798 of signals from the LyX kernel and makes available the kernel (through
1799 lv_) to daughter controller classes.
1800 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1802 * ControlDialogs.h: new file. Contains the definition of two template
1803 controller classes, ControlDialog and ControlInset (was
1804 ControlConnectInset). ControlInset is a parent class for controllers
1805 of inset-popups. ControlDialogs is the rather uninspired name for
1806 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1807 ControlDialogs is reaching a state of maturity as several popups now use
1808 it and its functionality becomes clear. ControlInset is still in a state
1809 of flux. It is likely that functionality will be moved out of
1810 ControlCommands and into it.
1812 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1813 individual Controller header files and into one place. These classes
1814 serve only as convenient wrappers to simplify code in the respective
1815 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1817 * ControlCharacter.[Ch] (show, update, hide):
1818 * ControlLog.[Ch] (show, update, hide):
1819 * ControlVCLog.[Ch] (show, update, hide): moved back into
1820 the ControlDialogs base class.
1821 (setParams, clearParams): new methods containing controller-specific
1822 code to set/reset the parameters manipulated by the view.
1824 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1826 (hide): calls clearParams.
1828 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1829 by ControlCommand::hide().
1831 * ControlCopyright.[Ch]:
1832 * ControlCredits.[Ch]: new files; controllers for the copyright and
1833 credits popups, respectively.
1835 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1837 * ControlCharacter.C: fix typo
1839 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1841 * ControlCharacter.[Ch]: new files; controller for the character popup.
1843 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1844 moved to new files helper_funcs.[Ch].
1846 * helper_funcs.[Ch]: new files. Some useful helper functions and
1849 * Makefile.am: added new files.
1851 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1853 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1855 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1858 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1859 Control log files, respectively.
1861 * Makefile.am: added new files.
1863 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1865 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1867 * Makefile.am: added ControlBibtex.[Ch].
1869 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1872 * ControlCitation.C: added "using SigC::slot" declaration.
1874 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1875 to FormCitation.C prior to the merger: "Do not put space between
1878 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1880 * several files: remove CXX_WORKING_NAMESPACES
1882 * ButtonController.h: noncopyable is in namespace boost
1883 * ButtonPolicies.h: ditto
1885 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1887 * Merging changes from BRANCH_MVC back into HEAD.
1889 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1891 * Makefile.am: add ControlBibitem.[Ch].
1893 * ControlBibitem.[Ch]: new files that together define the Controller
1894 for a Bibitem popup.
1896 * ControlCommand.h (c-tor): give kb_action a default value of
1899 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1901 * ControlCitation.[Ch]: moved search functions out of class.
1902 (bibkeysInfo): new method. Returns const reference to private data.
1903 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1906 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1908 * ControlCitation.[Ch]: added Search functions to the class,
1909 (shamelessly lifted from Marco's gnome code). I think that these would
1910 be better as helper functions outside the class, but this is a first
1913 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1915 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1917 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1918 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1919 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1920 implementation of FormCitation.
1922 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1924 * ButtonPolicies.h: add SMI_NOOP to enum.
1926 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1928 * ButtonController.C (input): add "optimising" if-statement. Actually,
1929 things don't work correctly without it...
1931 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1933 * ViewBase.h: remove #pragma directive
1935 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1938 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1940 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1942 * Makefile.am: added ButtonPolicies.[Ch]
1944 * ButtonController.[Ch]: ButtonController is split into
1945 ButtonControllerBase and a template ButtonController class. The base
1946 class no longer stores a pointer to a ButtonPolicy, but instead
1947 accesses the actual instantiation of the policy through a pure virtual
1948 method bp(). This method and the ButtonPolicy itself are instantiated
1949 in the templatised ButtonController class. This class is derived from
1950 the GUI-specific GUIBC class, meaning that the frontends know
1951 nothing about the actual policy decided upon by the controllers.
1953 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1954 Instead the actual instantiations are accessed through pure virtual
1955 methods view() and bc(). The daughter classes are responsible for the
1956 actual View and ButtonController.
1958 * ControlCitation.h: the templatised class GUICitation instantiates
1959 the methods view() and bc(). It also stores the instances of the
1960 View and ButtonController.
1962 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1964 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1965 also changed to ButtonController.
1968 * ControlConnections.[Ch]:
1969 * ControlCommand.[Ch]:
1970 * ControlCitation.[Ch]:
1971 * ViewBase.h: Changes associated with this.
1973 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1975 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1976 xforms/ButtonController class into a GUI-I class (here) and an
1977 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1979 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1980 from which all Dialog Controllers should be derived. the Controllers
1981 are GUI-independent, but are designed to control the behaviour of
1982 GUI-specific implementaions of each dialog.
1984 * ControlConnections.[Ch]: new files. Classes controlling the
1985 connections of buffer-independent, buffer-dependent and Inset dialogs
1986 with the LyX kernel.
1988 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1989 InsetCommand subset of insets.
1991 * ControlCitation.[Ch]: new files. The test specialisation! A
1992 controller for the Citation dialog.
1994 * ViewBase.h: new file. ViewBase is an abstract base class from which
1995 GUI-specific dialogs should be derived. The functionality that the GUIs
1996 must now implement is much reduced.