1 2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3 * ControlTabular.[Ch]: Add isMulticolumnCell
5 2002-11-27 Angus Leeming <leeming@lyx.org>
7 * ControlMath.C (ControlMath): initialise active_.
9 2002-11-25 Angus Leeming <leeming@lyx.org>
11 * ControlDialog.h (hide, update): move from protected to public.
13 * ControlMath.[Ch]: add controllers for the main math panel dialog and
14 for any daughter dialogs stored by the main panel.
16 2002-11-21 Angus Leeming <leeming@lyx.org>
18 * ControlDocument.[Ch] (classApply): no longer returns bool.
19 (loadTextclass): new method. Wrapper for textclasslist[tc].load().
21 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * biblio.C (getAbbreviatedAuthor): use boost::format
25 * ControlSpellchecker.C (clearParams): use boost::format
27 2002-11-20 John Levon <levon@movementarian.org>
29 * ControlMath.C: couple more manglings
31 2002-11-20 John Levon <levon@movementarian.org>
34 * ControlMath.C: add find_xpm mangler
36 2002-11-17 John Levon <levon@movementarian.org>
38 * helper_funcs.C and users: specify save/open in file dialog
40 2002-11-15 John Levon <levon@movementarian.org>
43 * ControlPrefs.C: use setParams()
45 2002-11-15 John Levon <levon@movementarian.org>
47 * ControlButtons.h: make OKButton() virtual for prefs
50 * ControlPrefs.C: updates for xforms port to MVC
54 * ControlTabular.C: add simple MVC port
56 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
58 * ControlInclude.C: fix file format masks for qt's use
60 2002-11-13 John Levon <levon@movementarian.org>
64 * ControlPrefs.C: add skeleton controller
66 2002-11-12 John Levon <levon@movementarian.org>
68 * biblio.C: fix warnings
70 2002-11-12 Angus Leeming <leeming@lyx.org>
72 * ControlSpellchecker.C (check): fix crash
73 * biblio.C (escape_special_chars): simplify BRE.
75 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
77 * ControlDocument.[Ch]: Remove unused method
79 2002-11-07 Angus Leeming <leeming@lyx.org>
81 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
82 * clean-up the search code in biblio.C.
84 2002-11-07 John Levon <levon@movementarian.org>
86 * ControlGraphics.C: QGraphics fixes
88 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
90 * ControlDocument.C: (SaveAsDefault) make it work.
91 fix buffer update on class change
93 2002-11-06 Angus Leeming <leeming@lyx.org>
95 * biblio.C (searchKeys and helper functions): rewritten entirely
96 using the STL. Boost::regex searching now works as the old 1.2 code
99 2002-11-06 Angus Leeming <leeming@lyx.org>
101 * biblio.C: clean-up of the code. No change in functionality.
103 2002-11-04 Angus Leeming <leeming@lyx.org>
105 * ControlGraphics.[Ch] (getUnits): moved out of class and into
106 frnt::getBBUnits(). Code cleaned also.
108 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
110 * biblio.C (regexSearch): STRCONV
113 * ControlAboutlyx.C (getVersion): STRCONV
115 * ControlMath.C: include config.h
117 2002-10-31 John Levon <levon@movementarian.org>
120 * ControlGraphics.C: bb units from Herbert
122 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
124 * ControlParagraph.[Ch] (alignDefault): new method, returning the
125 default alignment (block, left, right, center) of this paragraph.
127 2002-10-25 John Levon <levon@movementarian.org>
129 * ControlPrint.C: using endl
131 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
133 * ControlPrint.[Ch]: move code here from Liason.[Ch].
135 * ControlSpellchecker.h (getCount): new method.
136 * ControlSpellchecker.[Ch]: constify some accessor methods.
138 2002-10-22 Angus Leeming <leeming@lyx.org>
140 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
141 alphabetical order once again.
143 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
144 Add a list of CheckedWidget ptrs to ButtonControllerBase
145 together with methods addCheckedWidget and checkWidgets to use it.
147 * ButtonController.tmpl (refresh): use the return value of
148 checkWidgets to control the activation state of the Ok, Apply, Restore
151 * ControlDialog.tmpl (show, update):
152 * ControlInset.tmpl (showInset, update):
153 invoke ButtonController::refresh to ensure that the activation state of
154 the Ok, Apply buttons reflects the valid-state of the widgets.
156 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
158 * tex_helpers.C (rescanTexStyles): don't pop p
161 * ControlWrap.C (WrapParms): remove initialization of placement,
162 and move empty c-tor to .h class def.
164 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
165 of on stringsteam, return void. Get the file into the stream as
168 * ControlPreamble.[Ch] (params): getter and setter for params_, make
169 params_ into a string, not just a pointer to string.
171 * ControlExternal.C (getTemplateNumber): put i into the for scope,
172 and use the sequence operator on the last for "parameter"
173 (getTemplate): use std::advance to advance the iterator.
175 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
176 instead of on a stringstream, return void. Get the file into the
177 stream as fast as possible.
178 (getVersion): use ostringstream
180 * lots of files: ws changes, formatting fixes
182 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * ControlCharacter.C (apply): setMinibuffer change
185 * ControlDocument.C (apply): ditto
187 * ControlThesaurus.C (replace): ditto
188 * ControlSearch.C (find): ditto
190 * ControlPreamble.C (apply): ditto
191 * ControlParagraph.C (apply): ditto
193 2002-10-14 André Pönitz <poenitz@gmx.net>
195 * ControlDocument.C: somebody else's fix for a hard lockup
197 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
201 * Makefile.am: New document parameters controller
203 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
207 2002-09-24 Angus Leeming <leeming@lyx.org>
209 * ControlConnections.h: remove trailing whitespace.
211 * biblio.h: #include "LString.h".
213 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
215 * ControlGraphics.C: Change GUI origin strings into proper English.
217 2002-09-09 John Levon <levon@movementarian.org>
219 * ControlInclude.C: fix file masks. Get rid of noload,
220 remove stupid warning
222 2002-09-09 John Levon <levon@movementarian.org>
225 * ControlMath.C: add latex_deco
227 2002-09-06 John Levon <levon@movementarian.org>
229 * ControlMath.C: terminate dots
231 2002-09-05 Angus Leeming <leeming@lyx.org>
233 * all files: modify the headers as discussed on the list.
235 2002-08-30 John Levon <levon@movementarian.org>
238 * ControlMath.C: moved from MathsSymbols.C
240 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
242 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
244 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
246 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
247 first item in the list
249 2002-08-15 Angus Leeming <leeming@lyx.org>
251 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
253 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
255 2002-08-15 Angus Leeming <leeming@lyx.org>
257 * lots: changed my email address to leeming@lyx.org.
259 * GUI.h: return it to private derivation from boost::noncopyable.
261 2002-08-14 Angus Leeming <leeming@lyx.org>
263 * GUI.h: public derivation from boost::noncopyable.
265 2002-08-14 Angus Leeming <leeming@lyx.org>
267 * GUI.h: class GUI deries from boost::noncopyable
269 * ControlButtons.h: no longer derives from DialogBase, but instead
270 derives directly from boost::noncopyable.
272 * ViewBase.h: derives from boost::noncopyable.
274 * ControlCharacter.C:
276 * ControlConnections.C:
279 * ControlParagraph.C:
283 * ControlSpellchecker.C:
285 * ControlThesaurus.C:
286 rearrange #includes. Remove unnecessary ones.
288 * ControlError.h: add "insets/inseterror.h".
290 * helper_funcs.h: add necessary #includes.
292 * tex_helpers.[Ch]: add #pragma directives for g++.
294 * Makefile.am: remove src/frontends from -I list to compiler.
296 2002-08-13 Angus Leeming <leeming@lyx.org>
298 * ControlConnections.C:
300 changes due to the changed LyXView interface that now returns references
301 to member variables not pointers.
303 2002-08-12 Angus Leeming <leeming@lyx.org>
305 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
306 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
307 for the most commonly accessed core methods, to minimise code
310 * many files: use these wrappers and remove associated #includes.
312 2002-08-12 Angus Leeming <leeming@lyx.org>
314 * ControlButtons.[Ch] (bc, view): no longer virtual.
315 (setView, setButtonController): new methods, invoked by GUI.
317 * ControlDialog.h (show):
318 * ControlInset.h (createInset, showInset): make public, so that GUI can
321 * GUI.h: GUI now contains a controller, rather than deriving from it.
322 remove all those friend functions since we can now access the show,
323 createInset, showInset controller methods.
325 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
328 * character.h: #include a couple of STL files.
330 2002-08-08 John Levon <levon@movementarian.org>
332 * ControlCommandBuffer.C: LyXAction cleanup
334 2002-08-07 John Levon <levon@movementarian.org>
336 * ControlSpellchecker.C: fix crash when spellchecker doesn't
339 2002-08-06 John Levon <levon@movementarian.org>
341 * ControlSpellchecker.C:
342 * ControlSpellchecker.h: use WordLangTuple
344 2002-08-06 John Levon <levon@movementarian.org>
346 * ControlSpellchecker.C: show an alert with the
347 error message on initialisation failure
349 2002-08-04 John Levon <levon@movementarian.org>
351 * ControlSpellchecker.h:
352 * ControlSpellchecker.C: some cleanups
354 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
356 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
358 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
359 the Dialogs::updateParagraph signal is emitted.
361 2002-08-02 Angus Leeming <leeming@lyx.org>
363 * ControlCharacter.C (apply):
364 * ControlERT.C (applyParamsToInset):
365 * ControlParagraph.C (apply):
366 * ControlSearch.C (find, replace):
367 * ControlThesaurus.C (replace): changes due to LyXView::view() now
368 returning a boost::shared_ptr.
370 2002-08-01 John Levon <levon@movementarian.org>
372 * ControlSendto.C: writeFile() change
374 2002-08-01 John Levon <levon@movementarian.org>
376 * ControlSpellchecker.h:
377 * ControlSpellchecker.C: remove options
379 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
381 * several files: strip,frontStrip -> trim,ltrim,rtrim
383 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
385 * biblio.C (parseBibTeX): modify because of strip changes
387 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
389 * ControlFloat.[Ch]: Implement Wide Float toggle
390 Replace "allow_here_definitely" by "wide"
392 2002-07-22 Herbert Voss <voss@lyx.org>
394 * ControlGraphics.C: small changes
396 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
398 * ControlToc.C: remove getType
400 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
402 * ControlCommandBuffer.C: don't add "" to history
404 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
406 * ControlRef.C: fix dispatch call nicely
408 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
411 * ControlCommandBuffer.h:
412 * ControlCommandBuffer.C: add controller for command (mini) buffer
415 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
417 * ControlRef.C: fix dispatch call
419 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
421 * ControlCharacter.C: use view_state_changed not setState
423 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
425 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
427 2002-07-15 Mike Fabian <mfabian@suse.de>
429 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
430 of compare_no_case, because in turkish, 'i' is not the lowercase
431 version of 'I', and thus turkish locale breaks parsing of tags.
433 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * ControlBibtex.C (applyParamsToInset): ws change
437 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
439 * ControlInclude.C: Add warning if absolute path name and
440 check_typeset is used together
442 2002-06-28 Angus Leeming <leeming@lyx.org>
444 * ControlGraphics.C: changes associated with the name changes
445 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
447 2002-06-25 Angus Leeming <leeming@lyx.org>
449 * ControlGraphics.C (readBB): Channges associated with the changed
450 interface to the graphics cache.
452 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
454 * ControlParagraph.C: layout as layout
456 2002-06-21 Angus Leeming <leeming@lyx.org>
458 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
459 * tex_helpers.h: #include "LString.h".
461 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
464 * ControlBibitem.C: use repaint()
466 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
468 * ControlTexinfo.C: do the same for Texinfo
470 * tex_helpers.C: don't try to read a file that isn't there
472 2002-06-21 Herbert Voss <voss@perce.de>
474 * ControlBibtex.C: do an automatic update, when no bst-list
477 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
479 * GUI.h: createIndex() changed
481 2002-06-18 Herbert Voss <voss@perce.de>
483 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
484 helperstuff. Now the bibtex gui can use some of these functions
486 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
488 * ControlGraphics.C: just make the mask *.*
490 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
492 * changes to simplify function setup, removal of a lot of includes.
494 2002-06-12 Angus Leeming <leeming@lyx.org>
496 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
498 2002-06-12 Angus Leeming <leeming@lyx.org>
500 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
502 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
504 * ControlParagraph.[Ch]: new paragraph controller
505 * GUI.h: add new controller
508 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
510 * GUI.h: do not include ButtonController.tmpl
512 * ControlInset.h: include ControlInset.tmpl
514 * ControlCitation.C: do not include ControlInset.tmpl
515 * ControlCommand.C: ditto
516 * ControlERT.C: ditto
517 * ControlError.C: ditto
518 * ControlExternal.C: ditto
519 * ControlFloat.C: ditto
520 * ControlGraphics.C: ditto
521 * ControlInclude.C: ditto
522 * ControlMinipage.C: ditto
524 * ControlDialog.tmpl: remove the Base:: prefix
526 2002-06-07 Angus Leeming <leeming@lyx.org>
528 Fixes needed to compile with Compaq cxx 6.5.
529 * ControlDialog.tmpl: I have had to prefix base class methods with
532 * ControlInset.tmpl: #include a couple of headers.
534 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
536 * switch from SigC signals to boost::signals
538 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
540 * biblio.h: include vector
542 * biblio.C: change include order
543 (regexSearch): use boost regex and get rid of LRegex
545 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
550 * ControlCharacter.C:
553 * ControlConnections.C:
570 * ControlSpellchecker.C:
571 * ControlTabularCreate.C:
573 * ControlThesaurus.C:
576 * ControlVCLog.C: LyXView moved into frontends
578 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
580 * ControlExternal.C: add scoped_ptr.hpp
582 * ControlCharacter.h: use more specific smart_ptr header.
584 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
586 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
588 2002-05-13 Herbert Voss <voss@perce.de>
590 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
591 like "Odland, G. and ... "
592 (parseBibTeX): fix bug with title and booktitle
593 and replace a \n with a space when one entry has more than
596 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
598 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
599 "No change" and "Reset".
601 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
602 them at the front of the list.
604 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
606 * ControlGraphics.C: add some comments to the char * arrays.
607 Make rorigin_size const.
609 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
611 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
612 Enables the gui's to internationalise these strings.
614 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
616 * frnt_lang.C: fix build
618 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
620 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
621 If the the caller is the character dialog, add "No change" and "Reset"
622 to the vector, else don't.
623 Internationalise the GUI strings here rather than in the different
625 Sort the translated strings, albeit simply.
627 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
629 * character.[Ch]: rename namespace character as namespace frnt.
631 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
632 as several dialogs will use this info. The function now returns a
633 vector<LanguagePair> where LanguagePair is a display string and an
634 identifying string. The display string is internationalised.
636 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
637 the identifying strings, "No change" and "Reset".
639 * Makefile.am: add frnt_lang.[Ch].
641 2002-04-25 Herbert Voss <voss@lyx.org>
643 * ControlSendto.C (allFormats): don't add the graphics extensions to the
646 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
648 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
649 BibTeX databases in a WYSIWYM way.
651 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
653 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
654 way past his use-by date.
655 Make use of the improved info from Buffer::getBibkeyList when using
656 \bibliography. Enables us to provide natbib support in this case too.
658 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
660 * ControlGraphics.C: pass the browseFile dialog a string of only those
661 formats that can currently be loaded by LyX.
663 2002-04-15 Herbert Voss <voss@perce.de>
665 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
666 with something like ,,...blah...`` (two commas)
668 2002-04-14 Herbert Voss <voss@perce.de>
670 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
671 into the support/lstrings for better use in other programs.
673 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
674 namespace anon and make globally accessible.
675 (familyName): test for the presence of a LaTeX Space at the front of
676 of a name; strip it if it exists.
678 2002-04-11 Herbert Voss <voss@perce.de>
680 * ControlGraphics.C: expand "browse-string" to all available formats
682 2002-04-11 Herbert Voss <voss@perce.de>
684 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
686 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
688 * ControlAboutlyx.C (getVersion): two _() forgotten
690 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
694 * ControlBibtex.C: make N_() be _()
696 2002-04-07 Herbert Voss <voss@perce.de>
698 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
700 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
702 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
703 used when reading the BB.
705 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
707 * ControlGraphics.C (readBB): Don't open the ifstrem and then
708 check the format from the contents (and open a second ifstream in the
709 process. One at a time please.
711 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
713 * ControlRef.C (getBufferNum): squash warning message.
715 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
717 * ControlBibtex.C (Browse):
718 * ControlGraphics.C (Browse):
719 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
721 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
723 * ControlGraphics.C (applyParamsToInset): pass filepath to
724 InsetGraphics::updateInset.
726 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
728 * most files: ws cleanup
730 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
732 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
735 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
738 * ControlInclude.C: better error messages
740 2002-03-11 Herbert Voss <voss@lyx.org>
742 * biblio.C (parseBibTeX): fix another minibug with an
745 2002-03-10 Herbert Voss <voss@lyx.org>
747 * biblio.C (parseBibTeX): fix bug
748 (familyName): improve parsing
750 2002-03-09 Herbert Voss <voss@lyx.org>
752 * ControlGraphics.[Ch]: adding checkFilename() for testing
753 of non-existing files
755 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
757 * ControlSendto.C (allFormats): fix a iterators are not pointers
760 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
762 * ControlShowFile.h: add a #include "LString.h"
764 2002-03-05 Herbert Voss <voss@lyx.org>
766 * biblio.C (getInfo): simplify if using paragraph layout
769 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
771 * biblio.C (getInfo): return the info field correctly if the key
773 (parseBibTeX): fix crash when data.find('=') returns string::npos.
775 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
777 * ControlForks.[Ch]: new files. A controller for the Forked Child
778 processes dialog, enabling the user to see what forked processes
779 are running, and, if he so desires, to kill them.
781 * GUI.h: add class GUIForks.
783 * Makefile.am: add ControlForks.[Ch].
785 * ControlGraphics.C (getParams): small change due to change in
788 2002-02-21 Herbert Voss <voss@lyx.org>
790 * biblio.C: fix bug with commentlines in a bibentry
792 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
794 * Makefile.am: simpler obj. file compile
796 2002-02-18 Herbert Voss <voss@lyx.org>
798 * ControlGraphics.[Ch]: remove help-file call
800 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
802 * helper_funcs.h: wrap the structs firster and seconder up in a
803 namespace to avoid clashes with those in lyxalgo,h.
805 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
806 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
808 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
810 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
813 change Systemcalls::System to Systemcalls::Wait and
814 No change of functionality, just reflects the stripped down Systemcalls
817 2002-02-06 Herbert Voss <voss@lyx.org>
819 * ControlGraphics.[C] (readBB): search also in
820 g'zipped files. If it is useful than PK and compress
821 should also be supported. use unzipFile() from
824 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
826 * ControlRef.C (getBufferName): new method to get a real buffer
829 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
831 * ControlTexInfo.[Ch]: Removed Help functions.
833 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
835 * ControlSpellchecker.C: clear any selection left
838 2002-02-01 Herbert Voss <voss@lyx.org>
840 * ControlGraphics.[C] (readBB): search only, if it is a
841 ".?ps" file and look for bb's at end of file
843 2002-01-30 Herbert Voss <voss@lyx.org>
845 * ControlGraphic.[C]: do not search the whole file, when
848 2002-01-29 Herbert Voss <voss@lyx.org>
850 * ControlGraphic.[C]: added a button for document path
851 when browsing -> bug 222
853 2002-01-27 Herbert Voss <voss@lyx.org>
855 * ControlGraphic.[Ch]: added support for Bounding Box, other
858 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
861 * ControlTexinfo.h: added #include "LString.h" where they belong.
863 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
866 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
868 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
870 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
873 2002-01-20 Herbert Voss <voss@perce.de>
875 * ControlInclude.[Ch]: better control of unexistings files
876 when entered without the browser
878 * ControlGraphic.C (Browse): add extension "ps" when browsing for
881 2002-01-19 Herbert Voss <voss@perce.de>
883 * biblio.C (getInfo): fix bug when no author is given
885 * biblio.C (parseBibTeX): change the parsing, so that
886 '#'-characters in a bibtex entry are no more a problem.
888 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
890 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
891 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
893 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
895 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
897 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
899 * ControlExternal.C (Browse): add a std:: qualifier
901 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
903 * ControlExternal.C (Browse): simplify to use browseRelFile
905 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
907 * ButtonController.tmpl: added // -*- C++ -*-
909 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
910 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
911 Needed in _one_ of the ControlCommand-derived classes only.
913 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
916 * ControlSearch.h: #include LString.h
918 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
920 * ButtonController.h: split into two. The definition remains in
921 ButtonController.h, the declaration is now in ButtonController.tmpl.
922 These template methods should be #included when the derived class is
923 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
924 and in the qt2 and gnome equivalents.
926 * ControlDialogs.h: removed. The definition of class ControlDialog is
927 now to be found in ControlDialog.h and the declaration of the methods
928 is in ControlDialog.tmpl. The two template instantiations are performed
929 in ControlDialog_impl.[Ch], new files also.
931 * ControlInset.h: split into two. The definition remains in
932 ControlInset.h, the declaration is now in ControlInset.tmpl.
933 These template methods should be #included derived class is
934 instantiated, in this case in 8 other .C files in this directory.
936 * ControlAboutlyx.[Ch]:
937 * ControlCharacter.[Ch]:
947 * ControlPreamble.[Ch]:
949 * ControlSearch.[Ch]:
950 * ControlShowFile.[Ch]:
951 * ControlSpellchecker.[Ch]:
952 * ControlTabularCreate.[Ch]:
953 * ControlTexinfo.[Ch]:
954 * ControlThesaurus.[Ch]:
955 * ControlVCLog.[Ch]: small changes associated with the above ones.
957 * GUI.h: #include the ButtonController and dialog controller files
958 here, rather than forward declare them. This is the correct place
961 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
962 Rename ControlDialogs.h as ControlDialog.h.
963 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
966 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
968 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
970 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
972 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
975 * ControlGraphics.C (Browse): remove overzealous shortcut
977 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
979 * FormMinipage.C (apply, update): MinipageParams::width renamed
980 as MinipageParams::pageWidth. InsetMinipage::width renamed
981 as InsetMinipage::pageWidth.
983 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
985 * ButtonController.h (refreshReadOnly): use explicit typename
987 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
989 * helper_funcs.h (browseFile): add default empty button descriptions.
991 * ControlGraphics.C (Browse):
992 * ControlBibtex.C (Browse):
993 * ControlInclude.C (Browse): add shortcuts to directory buttons
995 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
997 * ControlThesaurus.h:
998 * ControlThesaurus.C: update to Aiksaurus 0.14
1000 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1002 * ControlSpellchecker.C (clearParams): show the closing message
1003 only if some words have been checked, thereby fixing
1006 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
1008 * ControlFloat.[Ch]: changes to prevent here definitely being used
1011 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1013 * ControlThesaurus.h: do not include <config.h> in header files
1015 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1017 * ControlToc.C: changes for floatlist
1019 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1021 * ControlVCLog.C: use _()
1023 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1025 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
1028 2001-10-22 Juergen Vigna <jug@sad.it>
1030 * ControlSpellchecker.C (clearParams): use the error_ message of the
1031 speller_ if available when the spellchecker died.
1032 (setParams): remove double error message display.
1034 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1036 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1038 * helper_funcs.[Ch] (getLatexUnits): see above.
1040 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1042 * ControlTexinfo.C (getContents): use the right file for .sty files
1044 2001-10-10 Herbert Voss <voss@perce.de>
1046 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1047 and some more stuff from FormTexinfo.C
1049 * ControlShowFile.C: hiding the update-button
1051 2001-10-09 Herbert Voss <voss@perce.de>
1053 * ControlTexinfo.[Ch]: new files. Display information about the
1054 installed texfiles (cls,sty,bst).
1056 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1058 * GUI.h: added classes GUIShowFile and GUITexinfo.
1060 * Makefile.am: modified appropriately.
1062 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1064 * ControlAboutlyx.C (getVersion): use lyx_version and
1065 lyx_release_date instead of old macros
1067 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1069 * ControlSpellchecker.C (check): Behaves well now when the spell
1070 library doesn't know a replacement to an incorrect word.
1072 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1074 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1075 the correct place. Can now check spelling more than once!
1077 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1079 * ControlSplash.[Ch]: removed.
1081 * GUI.h: remove GUISplash class.
1083 * ViewBase.h: remove ViewSplash class.
1085 * Makefile.am: remove ControlSplash.[Ch].
1087 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1090 view will be shut down.
1093 * ControlInset.h: act on emergency_exit_.
1095 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1096 speller fails to launch.
1098 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1100 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1101 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1103 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1105 * ControlRef.h (disconnectOnApply): new method. Set to true.
1106 Perhaps make this user-modifiable?
1108 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1110 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1113 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1115 * ControlRef.C (getBufferList, getBufferNum): New methods
1117 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1119 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1120 of the dialog when the Apply button is pressed. Defaults to false,
1121 but can be overridden in the daughter classes.
1123 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1124 Perhaps make this user-modifiable?
1126 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1128 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1129 we have dialogs that update their contents when the buffer changes.
1130 Rather embarassing, really!
1132 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1134 * ControlSearch (replace): change semantics of replace to NOT move on
1135 to the next instance of a word once the present instance has been
1136 replaced unless we are replacing ALL instances of the word.
1138 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1140 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1142 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1144 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1145 dialog, set all options to "reset", close the dialog, re-open it ->
1146 the options are set incorrectly.
1148 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1149 When Applying it's useful to know whether the dialog is about to close
1150 or not (no point refreshing the display for example).
1152 * ControlInset.C (apply): use isClosing.
1154 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1157 * ControlDialogs.h: remove bc() hack, now fixed in
1158 Qt2 frontend. use member dialog_built_ instead of shared
1161 * ButtonController.h:
1162 * ButtonPolicies.C: more debug info
1164 * ButtonControllerBase.C: call refresh() when setting readOnly !
1166 * GUI.h: External form has apply, use the right policy
1168 * character.C: fix two off-by-one errors when latex font was removed
1170 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1172 * ControlInset.h (apply): tentative fix for the press Apply multiple
1173 times and get multiple new Insets problem.
1175 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1177 * ControlCharacter.C: fix typo
1181 * ControlInsets.C: make sure dialog is built before it is shown, so
1182 it works properly the very first time it is shown
1184 2001-08-20 Herbert Voss <voss@perce.de>
1186 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1187 and styles. Added an option for "bibliography into toc"
1189 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1191 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1192 LaTeX is no longer a font property.
1194 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1196 * GUI.h: Button controller for Reference dialog changed to
1197 NoRepeatedApplyReadOnlyPolicy.
1199 * biblio.C (getInfo): output volume and number info. Move year to end
1202 2001-08-09 Allan Rae <rae@lyx.org>
1204 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1206 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1208 * helper_funcs.C (getVectorFromString): fixed small bug.
1210 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1212 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1214 * ControlSpellchecker.C: check next word after insert in personal dict
1216 2001-08-06 Juergen Vigna <jug@sad.it>
1218 * ControlERT.[Ch]: new file
1220 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1222 * ControlInset.h: const and non-const forms of params().
1224 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1225 whitespace from either side of each item.
1227 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1229 * ControlFloat.h: add a != operator for FloatParams.
1230 Lars, how did you get this to compile!!!
1232 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1233 operator != for MinipageParams. Who's changing stuff and not compiling?
1235 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1237 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1240 * GUI.h: add class GUIFloat
1242 * ControlFloat.[Ch]: new files
1244 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1246 * ControlPrint.C: #include Lassert.h here.
1248 2001-07-26 Baruch Even <baruch@lyx.org>
1250 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1253 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1255 * ControlThesaurus.h:
1256 * ControlThesaurus.C:
1258 * Makefile.am: thesaurus support
1260 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1263 * ControlInclude.C: implement ability to load file
1265 2001-07-18 Juergen Vigna <jug@sad.it>
1267 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1269 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1271 * biblio.C (getInfo): add a .c_str() to handle the usual
1274 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1276 * ControlCitation.[Ch]: changes associated with adding natbib support.
1277 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1278 New static variable citeStyles_.
1280 * biblio.[Ch]: large internal rearrangement.
1281 New public enum CiteStyle.
1282 New public struct CitationStyle.
1283 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1284 getNumericalStrings, getAuthorYearStrings
1285 (simpleSearch, regexSearch): no longer publicly accessible.
1287 * helper_funcs.C (getStringFromVector): bug fix.
1289 2001-07-16 Baruch Even <baruch@lyx.org>
1291 * ControlVCLog.h: Added Lsstream.h to includes.
1293 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1295 * ControlSpellchecker.[Ch]: remove d-tor.
1297 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1299 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1301 2001-07-16 Juergen Vigna <jug@sad.it>
1303 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1304 compiled with USE_PSPELL) to be able to switch between ISpell and
1307 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1309 Consistent use of Lsstream.h:
1310 * ControlAboutlyx.[Ch] (getCredits):
1311 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1313 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1315 * ControlCredits.[Ch]: removed
1316 * ControlCopyright.[Ch]: removed
1317 * ControlAboutlyx.[Ch]: added (replaces previous)
1318 * GUI.h: removed credits and copyright added about lyx stuff
1320 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * ControlSpellchecker.C (getSuggestion):
1323 (getWord): add std:: qualifier
1325 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1327 * ControlSpellchecker.[Ch]: added
1328 * ViewBase.h: added partialUpdate(int) member
1329 * GUI.h: added spell stuff
1331 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * ControlExternal.C: (*it). -> it->
1335 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1337 * ButtonController.h: move some included header files out of the
1338 frontends and into here.
1340 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1342 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1344 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1346 * *.[h]: added // -*- C++ -*-
1347 * *.[C]: removed // -*- C++ -*-
1349 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1350 activate Apply button.
1351 (clearParams): removed.
1352 font_ is now stored as a boost::scoped_ptr.
1353 font_ is no longer deleted on hide(), so it's contents can now be used
1354 by the Font button on the toolbar.
1355 Lots of new methods so that the GUI can easily get the contents of
1356 font_ when it update()s.
1358 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1360 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1361 crash when the Font button on the Toolbar is pressed.
1363 * GUI.h: change policy of Character button controller to
1364 OkApplyCancelReadOnlyPolicy.
1366 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1368 * ControlToc.C (getContents): don't add anything to the list if it
1369 is supposed to be empty.
1371 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1373 * helper_funcs.C (getVectorFromString): bug fix.
1375 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1377 * ButtonController.h
1378 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1379 from ButtonControllerBase::readOnly. Updates the state of the widgets
1380 in the read-only list only when the read-only status of the document
1382 (refresh): moved this stuff into refreshReadOnly.
1384 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1386 * ControlPrint.C (c-tor):
1387 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1389 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1392 * character.h: small clean-ups.
1394 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1396 * ControlToc.C (getType): remove support for old float list.
1398 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1400 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1401 * ControlGraphics.h: no longer include insetgraphicsParams.h
1402 * ControlInset.h: no longer include LyXView.h
1407 * ControlCharacter.C:
1408 * ControlCitation.C:
1410 * ControlConnections.C:
1411 * ControlCopyright.C:
1414 * ControlExternal.C:
1415 * ControlGraphics.C:
1418 * ControlMinipage.C:
1419 * ControlPreamble.C:
1423 * ControlTabularCreate.C:
1425 * ControlVCLog.C: they're now in here!
1427 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1429 * ButtonControllerBase.h: C++ mode, inherit privately from
1431 * ButtonPolicies.h: ditto
1433 * ButtonController.h: C++ mode, swap init order of restore_ and
1436 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1438 * ControlTabularCreate.h:
1439 * ControlTabularCreate.C: make dialogs use a pair of uints
1443 * ControlVCLog.C: fill a stringstream with the log contents
1446 * ControlExternal.C: from Angus, clone the new InsetExternal
1449 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1451 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1452 and made more robust.
1454 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1459 * ControlPreamble.C:
1461 * ControlGraphics.C:
1462 * ControlExternal.C:
1463 * ControlCopyright.C: include gettext.h
1465 * ControlCharacter.C:
1466 * character.C: include gettext.h and language.h
1468 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1470 * ButtonController.h:
1471 * ButtonControllerBase.h:
1472 * ButtonControllerBase.C:
1479 * ControlConnections.h:
1482 * ControlExternal.C:
1485 * ViewBase.h: s/ControlButton/ControlButtons/
1487 s/UndoAll/Restore/ + associated
1489 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1491 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1494 * Makefile.am: associated changes with all of the above.
1496 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1498 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1499 and edit, view, update the External Material correctly. I hope!
1501 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1503 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1505 * BCTemplates.h: renamed as ButtonController.h
1507 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1510 * ControlConnections.h: associated change in #include and class names.
1512 * ControlExternal.[Ch]: new files; a controller for the External
1516 * Makefile.am: associated changes with all of the above.
1518 * ControlGraphics.[Ch]:
1519 * ControlInclude.[Ch]:
1520 * ControlPrint.[Ch]:
1522 (Browse): new method. Returns the results of a FileDialog browse.
1524 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1525 (getVectorFromString): fixed bug.
1527 * biblio.C (simpleSearch): cleaned up.
1529 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1531 * A slight reworking of Baruch Even's ButtonController patch.
1533 * BCTemplates.h: new file; all the templates for the ButtonController.
1534 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1535 to the more generic setButtonLabel().
1537 * ButtonController.[Ch]: renamed cancel_label and close_label as
1538 cancel_label_ and close_label_.
1540 * Makefile.am: added BCTemplates.h
1542 2001-03-29 Juergen Vigna <jug@sad.it>
1544 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1545 to use new %-lengths of LyXLength.
1547 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1549 * ControlCitation.C (bibkeysInfo): removed Assert.
1551 * ControlCopyright.h: moved GUICopyright into GUI.h
1555 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1557 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1558 (setDaughterParams): a (by default empty) new method called in show().
1564 * ControlMinipage.h:
1567 * ControlUrl.h (clearDaughterParams): removed
1569 * ControlMinipage.C (applyParamsToInset): update the view.
1570 Added namespace minipage containing a helper function getUnits.
1572 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1574 * ControlCharacter.[Ch]: moved out all the helper functions and the
1575 enum into their own file.
1576 * character.[Ch]: new files; contain the character helper functions,
1577 now inside namespace character.
1579 * ControlCitation.[Ch]: moved out all the helper functions and the
1580 enums into their own file. Simplified interface.
1581 * biblio.[Ch]: new files; contain the citation helper functions,
1582 now inside namespace biblio. Will be of use also to an improved
1585 * ControlGraphics.[Ch]:
1586 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1587 popups, respectively.
1590 * Makefile.am: associated changes.
1592 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1594 * ControlMinipage.[Ch]:
1595 * ControlPreamble.[Ch]:
1596 * ControlPrint.[Ch]:
1597 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1598 and Print popups and Splash screen, respectively.
1600 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1604 * Makefile.am: associated changes.
1606 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1608 * ControlConnections.[Ch]: (docType): new method; returns the type
1609 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1612 * ControlSearch.[Ch]:
1613 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1614 Search and TabularCreate popups, respectively.
1617 * Makefile.am: associated changes.
1619 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1621 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1624 * ControlInset.h (apply): fix bug. Can now create new insets again.
1626 * README: describe program flow.
1628 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1630 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1632 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1634 * ControlDialogs.h: moved class ControlInset into its own file.
1636 * ControlInset.h: new file. class ControlInset has been expanded to take
1637 two template parameters, Inset and Params. Believe that all inset
1638 controllers can be derived from this with the minimum of effort.
1640 * ControlBibitem.[Ch]:
1641 * ControlBibtex.[Ch]:
1642 * ControlCitation.[Ch]:
1643 * ControlCommand.[Ch]: moved most code into ControlInset.
1645 * lots of files. Moved protected stuff into private where possible.
1647 * ControlError.[Ch]:
1648 * ControlInclude.[Ch]:
1649 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1650 Include and Url popups, respectively.
1653 * Makefile.am: associated changes.
1655 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1657 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1660 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1662 * ControlCredits.C (getCredits): remove std:: qualifier for
1665 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1667 * ControlCredits.C (getCredits): add std:: on vector
1669 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1671 * ControlCredits.C: remove using that is only used once, use
1672 std::ios instead of std::iosbase, add some annoying comments.
1674 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1676 * lots of header files: improved explanatory notes.
1678 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1679 ControlBase is now a class that only controls the interaction of the
1680 View with the ButtonController.
1682 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1683 to ControlConnectBase. The class controls the connection/disconnection
1684 of signals from the LyX kernel and makes available the kernel (through
1685 lv_) to daughter controller classes.
1686 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1688 * ControlDialogs.h: new file. Contains the definition of two template
1689 controller classes, ControlDialog and ControlInset (was
1690 ControlConnectInset). ControlInset is a parent class for controllers
1691 of inset-popups. ControlDialogs is the rather uninspired name for
1692 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1693 ControlDialogs is reaching a state of maturity as several popups now use
1694 it and its functionality becomes clear. ControlInset is still in a state
1695 of flux. It is likely that functionality will be moved out of
1696 ControlCommands and into it.
1698 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1699 individual Controller header files and into one place. These classes
1700 serve only as convenient wrappers to simplify code in the respective
1701 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1703 * ControlCharacter.[Ch] (show, update, hide):
1704 * ControlLog.[Ch] (show, update, hide):
1705 * ControlVCLog.[Ch] (show, update, hide): moved back into
1706 the ControlDialogs base class.
1707 (setParams, clearParams): new methods containing controller-specific
1708 code to set/reset the parameters manipulated by the view.
1710 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1712 (hide): calls clearParams.
1714 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1715 by ControlCommand::hide().
1717 * ControlCopyright.[Ch]:
1718 * ControlCredits.[Ch]: new files; controllers for the copyright and
1719 credits popups, respectively.
1721 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1723 * ControlCharacter.C: fix typo
1725 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1727 * ControlCharacter.[Ch]: new files; controller for the character popup.
1729 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1730 moved to new files helper_funcs.[Ch].
1732 * helper_funcs.[Ch]: new files. Some useful helper functions and
1735 * Makefile.am: added new files.
1737 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1739 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1741 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1744 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1745 Control log files, respectively.
1747 * Makefile.am: added new files.
1749 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1751 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1753 * Makefile.am: added ControlBibtex.[Ch].
1755 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1758 * ControlCitation.C: added "using SigC::slot" declaration.
1760 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1761 to FormCitation.C prior to the merger: "Do not put space between
1764 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1766 * several files: remove CXX_WORKING_NAMESPACES
1768 * ButtonController.h: noncopyable is in namespace boost
1769 * ButtonPolicies.h: ditto
1771 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1773 * Merging changes from BRANCH_MVC back into HEAD.
1775 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1777 * Makefile.am: add ControlBibitem.[Ch].
1779 * ControlBibitem.[Ch]: new files that together define the Controller
1780 for a Bibitem popup.
1782 * ControlCommand.h (c-tor): give kb_action a default value of
1785 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1787 * ControlCitation.[Ch]: moved search functions out of class.
1788 (bibkeysInfo): new method. Returns const reference to private data.
1789 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1792 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1794 * ControlCitation.[Ch]: added Search functions to the class,
1795 (shamelessly lifted from Marco's gnome code). I think that these would
1796 be better as helper functions outside the class, but this is a first
1799 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1801 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1803 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1804 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1805 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1806 implementation of FormCitation.
1808 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1810 * ButtonPolicies.h: add SMI_NOOP to enum.
1812 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1814 * ButtonController.C (input): add "optimising" if-statement. Actually,
1815 things don't work correctly without it...
1817 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1819 * ViewBase.h: remove #pragma directive
1821 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1824 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1826 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1828 * Makefile.am: added ButtonPolicies.[Ch]
1830 * ButtonController.[Ch]: ButtonController is split into
1831 ButtonControllerBase and a template ButtonController class. The base
1832 class no longer stores a pointer to a ButtonPolicy, but instead
1833 accesses the actual instantiation of the policy through a pure virtual
1834 method bp(). This method and the ButtonPolicy itself are instantiated
1835 in the templatised ButtonController class. This class is derived from
1836 the GUI-specific GUIBC class, meaning that the frontends know
1837 nothing about the actual policy decided upon by the controllers.
1839 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1840 Instead the actual instantiations are accessed through pure virtual
1841 methods view() and bc(). The daughter classes are responsible for the
1842 actual View and ButtonController.
1844 * ControlCitation.h: the templatised class GUICitation instantiates
1845 the methods view() and bc(). It also stores the instances of the
1846 View and ButtonController.
1848 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1850 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1851 also changed to ButtonController.
1854 * ControlConnections.[Ch]:
1855 * ControlCommand.[Ch]:
1856 * ControlCitation.[Ch]:
1857 * ViewBase.h: Changes associated with this.
1859 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1861 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1862 xforms/ButtonController class into a GUI-I class (here) and an
1863 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1865 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1866 from which all Dialog Controllers should be derived. the Controllers
1867 are GUI-independent, but are designed to control the behaviour of
1868 GUI-specific implementaions of each dialog.
1870 * ControlConnections.[Ch]: new files. Classes controlling the
1871 connections of buffer-independent, buffer-dependent and Inset dialogs
1872 with the LyX kernel.
1874 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1875 InsetCommand subset of insets.
1877 * ControlCitation.[Ch]: new files. The test specialisation! A
1878 controller for the Citation dialog.
1880 * ViewBase.h: new file. ViewBase is an abstract base class from which
1881 GUI-specific dialogs should be derived. The functionality that the GUIs
1882 must now implement is much reduced.