1 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
3 * ControlDocument.[Ch]: Remove unused method
5 2002-11-07 leeming <leeming@e182182.fee.uva.nl>
7 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
8 * clean-up the search code in biblio.C.
10 2002-11-07 levon <levon@e182182.fee.uva.nl>
15 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
17 * ControlDocument.C: (SaveAsDefault) make it work.
18 fix buffer update on class change
20 2002-11-06 Angus Leeming <leeming@lyx.org>
22 * biblio.C (searchKeys and helper functions): rewritten entirely
23 using the STL. Boost::regex searching now works as the old 1.2 code
26 2002-11-06 Angus Leeming <leeming@lyx.org>
28 * biblio.C: clean-up of the code. No change in functionality.
30 2002-11-04 Angus Leeming <leeming@lyx.org>
32 * ControlGraphics.[Ch] (getUnits): moved out of class and into
33 frnt::getBBUnits(). Code cleaned also.
35 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
37 * biblio.C (regexSearch): STRCONV
40 * ControlAboutlyx.C (getVersion): STRCONV
42 * ControlMath.C: include config.h
44 2002-10-31 John Levon <levon@movementarian.org>
47 * ControlGraphics.C: bb units from Herbert
49 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
51 * ControlParagraph.[Ch] (alignDefault): new method, returning the
52 default alignment (block, left, right, center) of this paragraph.
54 2002-10-25 John Levon <levon@movementarian.org>
56 * ControlPrint.C: using endl
58 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
60 * ControlPrint.[Ch]: move code here from Liason.[Ch].
62 * ControlSpellchecker.h (getCount): new method.
63 * ControlSpellchecker.[Ch]: constify some accessor methods.
65 2002-10-22 Angus Leeming <leeming@lyx.org>
67 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
68 alphabetical order once again.
70 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
71 Add a list of CheckedWidget ptrs to ButtonControllerBase
72 together with methods addCheckedWidget and checkWidgets to use it.
74 * ButtonController.tmpl (refresh): use the return value of
75 checkWidgets to control the activation state of the Ok, Apply, Restore
78 * ControlDialog.tmpl (show, update):
79 * ControlInset.tmpl (showInset, update):
80 invoke ButtonController::refresh to ensure that the activation state of
81 the Ok, Apply buttons reflects the valid-state of the widgets.
83 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * tex_helpers.C (rescanTexStyles): don't pop p
88 * ControlWrap.C (WrapParms): remove initialization of placement,
89 and move empty c-tor to .h class def.
91 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
92 of on stringsteam, return void. Get the file into the stream as
95 * ControlPreamble.[Ch] (params): getter and setter for params_, make
96 params_ into a string, not just a pointer to string.
98 * ControlExternal.C (getTemplateNumber): put i into the for scope,
99 and use the sequence operator on the last for "parameter"
100 (getTemplate): use std::advance to advance the iterator.
102 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
103 instead of on a stringstream, return void. Get the file into the
104 stream as fast as possible.
105 (getVersion): use ostringstream
107 * lots of files: ws changes, formatting fixes
109 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
111 * ControlCharacter.C (apply): setMinibuffer change
112 * ControlDocument.C (apply): ditto
114 * ControlThesaurus.C (replace): ditto
115 * ControlSearch.C (find): ditto
117 * ControlPreamble.C (apply): ditto
118 * ControlParagraph.C (apply): ditto
120 2002-10-14 André Pönitz <poenitz@gmx.net>
122 * ControlDocument.C: somebody else's fix for a hard lockup
124 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
128 * Makefile.am: New document parameters controller
130 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
132 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
134 2002-09-24 Angus Leeming <leeming@lyx.org>
136 * ControlConnections.h: remove trailing whitespace.
138 * biblio.h: #include "LString.h".
140 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
142 * ControlGraphics.C: Change GUI origin strings into proper English.
144 2002-09-09 John Levon <levon@movementarian.org>
146 * ControlInclude.C: fix file masks. Get rid of noload,
147 remove stupid warning
149 2002-09-09 John Levon <levon@movementarian.org>
152 * ControlMath.C: add latex_deco
154 2002-09-06 John Levon <levon@movementarian.org>
156 * ControlMath.C: terminate dots
158 2002-09-05 Angus Leeming <leeming@lyx.org>
160 * all files: modify the headers as discussed on the list.
162 2002-08-30 John Levon <levon@movementarian.org>
165 * ControlMath.C: moved from MathsSymbols.C
167 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
171 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
173 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
174 first item in the list
176 2002-08-15 Angus Leeming <leeming@lyx.org>
178 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
180 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
182 2002-08-15 Angus Leeming <leeming@lyx.org>
184 * lots: changed my email address to leeming@lyx.org.
186 * GUI.h: return it to private derivation from boost::noncopyable.
188 2002-08-14 Angus Leeming <leeming@lyx.org>
190 * GUI.h: public derivation from boost::noncopyable.
192 2002-08-14 Angus Leeming <leeming@lyx.org>
194 * GUI.h: class GUI deries from boost::noncopyable
196 * ControlButtons.h: no longer derives from DialogBase, but instead
197 derives directly from boost::noncopyable.
199 * ViewBase.h: derives from boost::noncopyable.
201 * ControlCharacter.C:
203 * ControlConnections.C:
206 * ControlParagraph.C:
210 * ControlSpellchecker.C:
212 * ControlThesaurus.C:
213 rearrange #includes. Remove unnecessary ones.
215 * ControlError.h: add "insets/inseterror.h".
217 * helper_funcs.h: add necessary #includes.
219 * tex_helpers.[Ch]: add #pragma directives for g++.
221 * Makefile.am: remove src/frontends from -I list to compiler.
223 2002-08-13 Angus Leeming <leeming@lyx.org>
225 * ControlConnections.C:
227 changes due to the changed LyXView interface that now returns references
228 to member variables not pointers.
230 2002-08-12 Angus Leeming <leeming@lyx.org>
232 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
233 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
234 for the most commonly accessed core methods, to minimise code
237 * many files: use these wrappers and remove associated #includes.
239 2002-08-12 Angus Leeming <leeming@lyx.org>
241 * ControlButtons.[Ch] (bc, view): no longer virtual.
242 (setView, setButtonController): new methods, invoked by GUI.
244 * ControlDialog.h (show):
245 * ControlInset.h (createInset, showInset): make public, so that GUI can
248 * GUI.h: GUI now contains a controller, rather than deriving from it.
249 remove all those friend functions since we can now access the show,
250 createInset, showInset controller methods.
252 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
255 * character.h: #include a couple of STL files.
257 2002-08-08 John Levon <levon@movementarian.org>
259 * ControlCommandBuffer.C: LyXAction cleanup
261 2002-08-07 John Levon <levon@movementarian.org>
263 * ControlSpellchecker.C: fix crash when spellchecker doesn't
266 2002-08-06 John Levon <levon@movementarian.org>
268 * ControlSpellchecker.C:
269 * ControlSpellchecker.h: use WordLangTuple
271 2002-08-06 John Levon <levon@movementarian.org>
273 * ControlSpellchecker.C: show an alert with the
274 error message on initialisation failure
276 2002-08-04 John Levon <levon@movementarian.org>
278 * ControlSpellchecker.h:
279 * ControlSpellchecker.C: some cleanups
281 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
283 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
285 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
286 the Dialogs::updateParagraph signal is emitted.
288 2002-08-02 Angus Leeming <leeming@lyx.org>
290 * ControlCharacter.C (apply):
291 * ControlERT.C (applyParamsToInset):
292 * ControlParagraph.C (apply):
293 * ControlSearch.C (find, replace):
294 * ControlThesaurus.C (replace): changes due to LyXView::view() now
295 returning a boost::shared_ptr.
297 2002-08-01 John Levon <levon@movementarian.org>
299 * ControlSendto.C: writeFile() change
301 2002-08-01 John Levon <levon@movementarian.org>
303 * ControlSpellchecker.h:
304 * ControlSpellchecker.C: remove options
306 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
308 * several files: strip,frontStrip -> trim,ltrim,rtrim
310 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
312 * biblio.C (parseBibTeX): modify because of strip changes
314 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
316 * ControlFloat.[Ch]: Implement Wide Float toggle
317 Replace "allow_here_definitely" by "wide"
319 2002-07-22 Herbert Voss <voss@lyx.org>
321 * ControlGraphics.C: small changes
323 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
325 * ControlToc.C: remove getType
327 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
329 * ControlCommandBuffer.C: don't add "" to history
331 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
333 * ControlRef.C: fix dispatch call nicely
335 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
338 * ControlCommandBuffer.h:
339 * ControlCommandBuffer.C: add controller for command (mini) buffer
342 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
344 * ControlRef.C: fix dispatch call
346 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
348 * ControlCharacter.C: use view_state_changed not setState
350 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
352 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
354 2002-07-15 Mike Fabian <mfabian@suse.de>
356 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
357 of compare_no_case, because in turkish, 'i' is not the lowercase
358 version of 'I', and thus turkish locale breaks parsing of tags.
360 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * ControlBibtex.C (applyParamsToInset): ws change
364 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
366 * ControlInclude.C: Add warning if absolute path name and
367 check_typeset is used together
369 2002-06-28 Angus Leeming <leeming@lyx.org>
371 * ControlGraphics.C: changes associated with the name changes
372 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
374 2002-06-25 Angus Leeming <leeming@lyx.org>
376 * ControlGraphics.C (readBB): Channges associated with the changed
377 interface to the graphics cache.
379 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
381 * ControlParagraph.C: layout as layout
383 2002-06-21 Angus Leeming <leeming@lyx.org>
385 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
386 * tex_helpers.h: #include "LString.h".
388 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
391 * ControlBibitem.C: use repaint()
393 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
395 * ControlTexinfo.C: do the same for Texinfo
397 * tex_helpers.C: don't try to read a file that isn't there
399 2002-06-21 Herbert Voss <voss@perce.de>
401 * ControlBibtex.C: do an automatic update, when no bst-list
404 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
406 * GUI.h: createIndex() changed
408 2002-06-18 Herbert Voss <voss@perce.de>
410 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
411 helperstuff. Now the bibtex gui can use some of these functions
413 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
415 * ControlGraphics.C: just make the mask *.*
417 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
419 * changes to simplify function setup, removal of a lot of includes.
421 2002-06-12 Angus Leeming <leeming@lyx.org>
423 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
425 2002-06-12 Angus Leeming <leeming@lyx.org>
427 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
429 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
431 * ControlParagraph.[Ch]: new paragraph controller
432 * GUI.h: add new controller
435 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
437 * GUI.h: do not include ButtonController.tmpl
439 * ControlInset.h: include ControlInset.tmpl
441 * ControlCitation.C: do not include ControlInset.tmpl
442 * ControlCommand.C: ditto
443 * ControlERT.C: ditto
444 * ControlError.C: ditto
445 * ControlExternal.C: ditto
446 * ControlFloat.C: ditto
447 * ControlGraphics.C: ditto
448 * ControlInclude.C: ditto
449 * ControlMinipage.C: ditto
451 * ControlDialog.tmpl: remove the Base:: prefix
453 2002-06-07 Angus Leeming <leeming@lyx.org>
455 Fixes needed to compile with Compaq cxx 6.5.
456 * ControlDialog.tmpl: I have had to prefix base class methods with
459 * ControlInset.tmpl: #include a couple of headers.
461 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * switch from SigC signals to boost::signals
465 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
467 * biblio.h: include vector
469 * biblio.C: change include order
470 (regexSearch): use boost regex and get rid of LRegex
472 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
477 * ControlCharacter.C:
480 * ControlConnections.C:
497 * ControlSpellchecker.C:
498 * ControlTabularCreate.C:
500 * ControlThesaurus.C:
503 * ControlVCLog.C: LyXView moved into frontends
505 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
507 * ControlExternal.C: add scoped_ptr.hpp
509 * ControlCharacter.h: use more specific smart_ptr header.
511 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
513 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
515 2002-05-13 Herbert Voss <voss@perce.de>
517 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
518 like "Odland, G. and ... "
519 (parseBibTeX): fix bug with title and booktitle
520 and replace a \n with a space when one entry has more than
523 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
525 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
526 "No change" and "Reset".
528 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
529 them at the front of the list.
531 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
533 * ControlGraphics.C: add some comments to the char * arrays.
534 Make rorigin_size const.
536 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
538 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
539 Enables the gui's to internationalise these strings.
541 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
543 * frnt_lang.C: fix build
545 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
547 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
548 If the the caller is the character dialog, add "No change" and "Reset"
549 to the vector, else don't.
550 Internationalise the GUI strings here rather than in the different
552 Sort the translated strings, albeit simply.
554 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
556 * character.[Ch]: rename namespace character as namespace frnt.
558 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
559 as several dialogs will use this info. The function now returns a
560 vector<LanguagePair> where LanguagePair is a display string and an
561 identifying string. The display string is internationalised.
563 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
564 the identifying strings, "No change" and "Reset".
566 * Makefile.am: add frnt_lang.[Ch].
568 2002-04-25 Herbert Voss <voss@lyx.org>
570 * ControlSendto.C (allFormats): don't add the graphics extensions to the
573 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
575 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
576 BibTeX databases in a WYSIWYM way.
578 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
580 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
581 way past his use-by date.
582 Make use of the improved info from Buffer::getBibkeyList when using
583 \bibliography. Enables us to provide natbib support in this case too.
585 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
587 * ControlGraphics.C: pass the browseFile dialog a string of only those
588 formats that can currently be loaded by LyX.
590 2002-04-15 Herbert Voss <voss@perce.de>
592 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
593 with something like ,,...blah...`` (two commas)
595 2002-04-14 Herbert Voss <voss@perce.de>
597 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
598 into the support/lstrings for better use in other programs.
600 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
601 namespace anon and make globally accessible.
602 (familyName): test for the presence of a LaTeX Space at the front of
603 of a name; strip it if it exists.
605 2002-04-11 Herbert Voss <voss@perce.de>
607 * ControlGraphics.C: expand "browse-string" to all available formats
609 2002-04-11 Herbert Voss <voss@perce.de>
611 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
613 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
615 * ControlAboutlyx.C (getVersion): two _() forgotten
617 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
621 * ControlBibtex.C: make N_() be _()
623 2002-04-07 Herbert Voss <voss@perce.de>
625 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
627 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
629 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
630 used when reading the BB.
632 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
634 * ControlGraphics.C (readBB): Don't open the ifstrem and then
635 check the format from the contents (and open a second ifstream in the
636 process. One at a time please.
638 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
640 * ControlRef.C (getBufferNum): squash warning message.
642 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
644 * ControlBibtex.C (Browse):
645 * ControlGraphics.C (Browse):
646 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
648 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
650 * ControlGraphics.C (applyParamsToInset): pass filepath to
651 InsetGraphics::updateInset.
653 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * most files: ws cleanup
657 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
659 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
662 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
665 * ControlInclude.C: better error messages
667 2002-03-11 Herbert Voss <voss@lyx.org>
669 * biblio.C (parseBibTeX): fix another minibug with an
672 2002-03-10 Herbert Voss <voss@lyx.org>
674 * biblio.C (parseBibTeX): fix bug
675 (familyName): improve parsing
677 2002-03-09 Herbert Voss <voss@lyx.org>
679 * ControlGraphics.[Ch]: adding checkFilename() for testing
680 of non-existing files
682 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
684 * ControlSendto.C (allFormats): fix a iterators are not pointers
687 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
689 * ControlShowFile.h: add a #include "LString.h"
691 2002-03-05 Herbert Voss <voss@lyx.org>
693 * biblio.C (getInfo): simplify if using paragraph layout
696 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
698 * biblio.C (getInfo): return the info field correctly if the key
700 (parseBibTeX): fix crash when data.find('=') returns string::npos.
702 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
704 * ControlForks.[Ch]: new files. A controller for the Forked Child
705 processes dialog, enabling the user to see what forked processes
706 are running, and, if he so desires, to kill them.
708 * GUI.h: add class GUIForks.
710 * Makefile.am: add ControlForks.[Ch].
712 * ControlGraphics.C (getParams): small change due to change in
715 2002-02-21 Herbert Voss <voss@lyx.org>
717 * biblio.C: fix bug with commentlines in a bibentry
719 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * Makefile.am: simpler obj. file compile
723 2002-02-18 Herbert Voss <voss@lyx.org>
725 * ControlGraphics.[Ch]: remove help-file call
727 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
729 * helper_funcs.h: wrap the structs firster and seconder up in a
730 namespace to avoid clashes with those in lyxalgo,h.
732 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
733 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
735 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
737 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
740 change Systemcalls::System to Systemcalls::Wait and
741 No change of functionality, just reflects the stripped down Systemcalls
744 2002-02-06 Herbert Voss <voss@lyx.org>
746 * ControlGraphics.[C] (readBB): search also in
747 g'zipped files. If it is useful than PK and compress
748 should also be supported. use unzipFile() from
751 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
753 * ControlRef.C (getBufferName): new method to get a real buffer
756 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
758 * ControlTexInfo.[Ch]: Removed Help functions.
760 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
762 * ControlSpellchecker.C: clear any selection left
765 2002-02-01 Herbert Voss <voss@lyx.org>
767 * ControlGraphics.[C] (readBB): search only, if it is a
768 ".?ps" file and look for bb's at end of file
770 2002-01-30 Herbert Voss <voss@lyx.org>
772 * ControlGraphic.[C]: do not search the whole file, when
775 2002-01-29 Herbert Voss <voss@lyx.org>
777 * ControlGraphic.[C]: added a button for document path
778 when browsing -> bug 222
780 2002-01-27 Herbert Voss <voss@lyx.org>
782 * ControlGraphic.[Ch]: added support for Bounding Box, other
785 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
788 * ControlTexinfo.h: added #include "LString.h" where they belong.
790 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
793 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
795 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
797 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
800 2002-01-20 Herbert Voss <voss@perce.de>
802 * ControlInclude.[Ch]: better control of unexistings files
803 when entered without the browser
805 * ControlGraphic.C (Browse): add extension "ps" when browsing for
808 2002-01-19 Herbert Voss <voss@perce.de>
810 * biblio.C (getInfo): fix bug when no author is given
812 * biblio.C (parseBibTeX): change the parsing, so that
813 '#'-characters in a bibtex entry are no more a problem.
815 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
817 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
818 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
820 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
822 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
824 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
826 * ControlExternal.C (Browse): add a std:: qualifier
828 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
830 * ControlExternal.C (Browse): simplify to use browseRelFile
832 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
834 * ButtonController.tmpl: added // -*- C++ -*-
836 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
837 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
838 Needed in _one_ of the ControlCommand-derived classes only.
840 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
843 * ControlSearch.h: #include LString.h
845 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
847 * ButtonController.h: split into two. The definition remains in
848 ButtonController.h, the declaration is now in ButtonController.tmpl.
849 These template methods should be #included when the derived class is
850 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
851 and in the qt2 and gnome equivalents.
853 * ControlDialogs.h: removed. The definition of class ControlDialog is
854 now to be found in ControlDialog.h and the declaration of the methods
855 is in ControlDialog.tmpl. The two template instantiations are performed
856 in ControlDialog_impl.[Ch], new files also.
858 * ControlInset.h: split into two. The definition remains in
859 ControlInset.h, the declaration is now in ControlInset.tmpl.
860 These template methods should be #included derived class is
861 instantiated, in this case in 8 other .C files in this directory.
863 * ControlAboutlyx.[Ch]:
864 * ControlCharacter.[Ch]:
874 * ControlPreamble.[Ch]:
876 * ControlSearch.[Ch]:
877 * ControlShowFile.[Ch]:
878 * ControlSpellchecker.[Ch]:
879 * ControlTabularCreate.[Ch]:
880 * ControlTexinfo.[Ch]:
881 * ControlThesaurus.[Ch]:
882 * ControlVCLog.[Ch]: small changes associated with the above ones.
884 * GUI.h: #include the ButtonController and dialog controller files
885 here, rather than forward declare them. This is the correct place
888 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
889 Rename ControlDialogs.h as ControlDialog.h.
890 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
893 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
895 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
897 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
899 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
902 * ControlGraphics.C (Browse): remove overzealous shortcut
904 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
906 * FormMinipage.C (apply, update): MinipageParams::width renamed
907 as MinipageParams::pageWidth. InsetMinipage::width renamed
908 as InsetMinipage::pageWidth.
910 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
912 * ButtonController.h (refreshReadOnly): use explicit typename
914 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
916 * helper_funcs.h (browseFile): add default empty button descriptions.
918 * ControlGraphics.C (Browse):
919 * ControlBibtex.C (Browse):
920 * ControlInclude.C (Browse): add shortcuts to directory buttons
922 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
924 * ControlThesaurus.h:
925 * ControlThesaurus.C: update to Aiksaurus 0.14
927 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
929 * ControlSpellchecker.C (clearParams): show the closing message
930 only if some words have been checked, thereby fixing
933 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
935 * ControlFloat.[Ch]: changes to prevent here definitely being used
938 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
940 * ControlThesaurus.h: do not include <config.h> in header files
942 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
944 * ControlToc.C: changes for floatlist
946 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
948 * ControlVCLog.C: use _()
950 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
952 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
955 2001-10-22 Juergen Vigna <jug@sad.it>
957 * ControlSpellchecker.C (clearParams): use the error_ message of the
958 speller_ if available when the spellchecker died.
959 (setParams): remove double error message display.
961 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
963 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
965 * helper_funcs.[Ch] (getLatexUnits): see above.
967 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
969 * ControlTexinfo.C (getContents): use the right file for .sty files
971 2001-10-10 Herbert Voss <voss@perce.de>
973 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
974 and some more stuff from FormTexinfo.C
976 * ControlShowFile.C: hiding the update-button
978 2001-10-09 Herbert Voss <voss@perce.de>
980 * ControlTexinfo.[Ch]: new files. Display information about the
981 installed texfiles (cls,sty,bst).
983 * ControlShowFile.[Ch]: new files. Display the contents of a file.
985 * GUI.h: added classes GUIShowFile and GUITexinfo.
987 * Makefile.am: modified appropriately.
989 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
991 * ControlAboutlyx.C (getVersion): use lyx_version and
992 lyx_release_date instead of old macros
994 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
996 * ControlSpellchecker.C (check): Behaves well now when the spell
997 library doesn't know a replacement to an incorrect word.
999 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1001 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1002 the correct place. Can now check spelling more than once!
1004 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1006 * ControlSplash.[Ch]: removed.
1008 * GUI.h: remove GUISplash class.
1010 * ViewBase.h: remove ViewSplash class.
1012 * Makefile.am: remove ControlSplash.[Ch].
1014 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1016 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1017 view will be shut down.
1020 * ControlInset.h: act on emergency_exit_.
1022 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1023 speller fails to launch.
1025 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1027 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1028 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1030 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1032 * ControlRef.h (disconnectOnApply): new method. Set to true.
1033 Perhaps make this user-modifiable?
1035 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1037 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1040 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1042 * ControlRef.C (getBufferList, getBufferNum): New methods
1044 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1046 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1047 of the dialog when the Apply button is pressed. Defaults to false,
1048 but can be overridden in the daughter classes.
1050 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1051 Perhaps make this user-modifiable?
1053 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1055 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1056 we have dialogs that update their contents when the buffer changes.
1057 Rather embarassing, really!
1059 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1061 * ControlSearch (replace): change semantics of replace to NOT move on
1062 to the next instance of a word once the present instance has been
1063 replaced unless we are replacing ALL instances of the word.
1065 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1067 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1069 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1071 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1072 dialog, set all options to "reset", close the dialog, re-open it ->
1073 the options are set incorrectly.
1075 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1076 When Applying it's useful to know whether the dialog is about to close
1077 or not (no point refreshing the display for example).
1079 * ControlInset.C (apply): use isClosing.
1081 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1084 * ControlDialogs.h: remove bc() hack, now fixed in
1085 Qt2 frontend. use member dialog_built_ instead of shared
1088 * ButtonController.h:
1089 * ButtonPolicies.C: more debug info
1091 * ButtonControllerBase.C: call refresh() when setting readOnly !
1093 * GUI.h: External form has apply, use the right policy
1095 * character.C: fix two off-by-one errors when latex font was removed
1097 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1099 * ControlInset.h (apply): tentative fix for the press Apply multiple
1100 times and get multiple new Insets problem.
1102 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1104 * ControlCharacter.C: fix typo
1108 * ControlInsets.C: make sure dialog is built before it is shown, so
1109 it works properly the very first time it is shown
1111 2001-08-20 Herbert Voss <voss@perce.de>
1113 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1114 and styles. Added an option for "bibliography into toc"
1116 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1118 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1119 LaTeX is no longer a font property.
1121 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1123 * GUI.h: Button controller for Reference dialog changed to
1124 NoRepeatedApplyReadOnlyPolicy.
1126 * biblio.C (getInfo): output volume and number info. Move year to end
1129 2001-08-09 Allan Rae <rae@lyx.org>
1131 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1133 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1135 * helper_funcs.C (getVectorFromString): fixed small bug.
1137 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1139 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1141 * ControlSpellchecker.C: check next word after insert in personal dict
1143 2001-08-06 Juergen Vigna <jug@sad.it>
1145 * ControlERT.[Ch]: new file
1147 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1149 * ControlInset.h: const and non-const forms of params().
1151 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1152 whitespace from either side of each item.
1154 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1156 * ControlFloat.h: add a != operator for FloatParams.
1157 Lars, how did you get this to compile!!!
1159 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1160 operator != for MinipageParams. Who's changing stuff and not compiling?
1162 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1164 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1167 * GUI.h: add class GUIFloat
1169 * ControlFloat.[Ch]: new files
1171 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * ControlPrint.C: #include Lassert.h here.
1175 2001-07-26 Baruch Even <baruch@lyx.org>
1177 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1180 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1182 * ControlThesaurus.h:
1183 * ControlThesaurus.C:
1185 * Makefile.am: thesaurus support
1187 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1190 * ControlInclude.C: implement ability to load file
1192 2001-07-18 Juergen Vigna <jug@sad.it>
1194 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1196 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1198 * biblio.C (getInfo): add a .c_str() to handle the usual
1201 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1203 * ControlCitation.[Ch]: changes associated with adding natbib support.
1204 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1205 New static variable citeStyles_.
1207 * biblio.[Ch]: large internal rearrangement.
1208 New public enum CiteStyle.
1209 New public struct CitationStyle.
1210 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1211 getNumericalStrings, getAuthorYearStrings
1212 (simpleSearch, regexSearch): no longer publicly accessible.
1214 * helper_funcs.C (getStringFromVector): bug fix.
1216 2001-07-16 Baruch Even <baruch@lyx.org>
1218 * ControlVCLog.h: Added Lsstream.h to includes.
1220 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1222 * ControlSpellchecker.[Ch]: remove d-tor.
1224 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1226 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1228 2001-07-16 Juergen Vigna <jug@sad.it>
1230 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1231 compiled with USE_PSPELL) to be able to switch between ISpell and
1234 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1236 Consistent use of Lsstream.h:
1237 * ControlAboutlyx.[Ch] (getCredits):
1238 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1240 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1242 * ControlCredits.[Ch]: removed
1243 * ControlCopyright.[Ch]: removed
1244 * ControlAboutlyx.[Ch]: added (replaces previous)
1245 * GUI.h: removed credits and copyright added about lyx stuff
1247 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1249 * ControlSpellchecker.C (getSuggestion):
1250 (getWord): add std:: qualifier
1252 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1254 * ControlSpellchecker.[Ch]: added
1255 * ViewBase.h: added partialUpdate(int) member
1256 * GUI.h: added spell stuff
1258 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1260 * ControlExternal.C: (*it). -> it->
1262 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1264 * ButtonController.h: move some included header files out of the
1265 frontends and into here.
1267 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1269 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1271 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1273 * *.[h]: added // -*- C++ -*-
1274 * *.[C]: removed // -*- C++ -*-
1276 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1277 activate Apply button.
1278 (clearParams): removed.
1279 font_ is now stored as a boost::scoped_ptr.
1280 font_ is no longer deleted on hide(), so it's contents can now be used
1281 by the Font button on the toolbar.
1282 Lots of new methods so that the GUI can easily get the contents of
1283 font_ when it update()s.
1285 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1287 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1288 crash when the Font button on the Toolbar is pressed.
1290 * GUI.h: change policy of Character button controller to
1291 OkApplyCancelReadOnlyPolicy.
1293 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1295 * ControlToc.C (getContents): don't add anything to the list if it
1296 is supposed to be empty.
1298 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1300 * helper_funcs.C (getVectorFromString): bug fix.
1302 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1304 * ButtonController.h
1305 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1306 from ButtonControllerBase::readOnly. Updates the state of the widgets
1307 in the read-only list only when the read-only status of the document
1309 (refresh): moved this stuff into refreshReadOnly.
1311 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1313 * ControlPrint.C (c-tor):
1314 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1316 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1319 * character.h: small clean-ups.
1321 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1323 * ControlToc.C (getType): remove support for old float list.
1325 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1327 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1328 * ControlGraphics.h: no longer include insetgraphicsParams.h
1329 * ControlInset.h: no longer include LyXView.h
1334 * ControlCharacter.C:
1335 * ControlCitation.C:
1337 * ControlConnections.C:
1338 * ControlCopyright.C:
1341 * ControlExternal.C:
1342 * ControlGraphics.C:
1345 * ControlMinipage.C:
1346 * ControlPreamble.C:
1350 * ControlTabularCreate.C:
1352 * ControlVCLog.C: they're now in here!
1354 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1356 * ButtonControllerBase.h: C++ mode, inherit privately from
1358 * ButtonPolicies.h: ditto
1360 * ButtonController.h: C++ mode, swap init order of restore_ and
1363 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1365 * ControlTabularCreate.h:
1366 * ControlTabularCreate.C: make dialogs use a pair of uints
1370 * ControlVCLog.C: fill a stringstream with the log contents
1373 * ControlExternal.C: from Angus, clone the new InsetExternal
1376 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1378 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1379 and made more robust.
1381 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1386 * ControlPreamble.C:
1388 * ControlGraphics.C:
1389 * ControlExternal.C:
1390 * ControlCopyright.C: include gettext.h
1392 * ControlCharacter.C:
1393 * character.C: include gettext.h and language.h
1395 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1397 * ButtonController.h:
1398 * ButtonControllerBase.h:
1399 * ButtonControllerBase.C:
1406 * ControlConnections.h:
1409 * ControlExternal.C:
1412 * ViewBase.h: s/ControlButton/ControlButtons/
1414 s/UndoAll/Restore/ + associated
1416 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1418 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1421 * Makefile.am: associated changes with all of the above.
1423 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1425 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1426 and edit, view, update the External Material correctly. I hope!
1428 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1430 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1432 * BCTemplates.h: renamed as ButtonController.h
1434 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1437 * ControlConnections.h: associated change in #include and class names.
1439 * ControlExternal.[Ch]: new files; a controller for the External
1443 * Makefile.am: associated changes with all of the above.
1445 * ControlGraphics.[Ch]:
1446 * ControlInclude.[Ch]:
1447 * ControlPrint.[Ch]:
1449 (Browse): new method. Returns the results of a FileDialog browse.
1451 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1452 (getVectorFromString): fixed bug.
1454 * biblio.C (simpleSearch): cleaned up.
1456 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1458 * A slight reworking of Baruch Even's ButtonController patch.
1460 * BCTemplates.h: new file; all the templates for the ButtonController.
1461 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1462 to the more generic setButtonLabel().
1464 * ButtonController.[Ch]: renamed cancel_label and close_label as
1465 cancel_label_ and close_label_.
1467 * Makefile.am: added BCTemplates.h
1469 2001-03-29 Juergen Vigna <jug@sad.it>
1471 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1472 to use new %-lengths of LyXLength.
1474 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1476 * ControlCitation.C (bibkeysInfo): removed Assert.
1478 * ControlCopyright.h: moved GUICopyright into GUI.h
1482 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1484 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1485 (setDaughterParams): a (by default empty) new method called in show().
1491 * ControlMinipage.h:
1494 * ControlUrl.h (clearDaughterParams): removed
1496 * ControlMinipage.C (applyParamsToInset): update the view.
1497 Added namespace minipage containing a helper function getUnits.
1499 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1501 * ControlCharacter.[Ch]: moved out all the helper functions and the
1502 enum into their own file.
1503 * character.[Ch]: new files; contain the character helper functions,
1504 now inside namespace character.
1506 * ControlCitation.[Ch]: moved out all the helper functions and the
1507 enums into their own file. Simplified interface.
1508 * biblio.[Ch]: new files; contain the citation helper functions,
1509 now inside namespace biblio. Will be of use also to an improved
1512 * ControlGraphics.[Ch]:
1513 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1514 popups, respectively.
1517 * Makefile.am: associated changes.
1519 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1521 * ControlMinipage.[Ch]:
1522 * ControlPreamble.[Ch]:
1523 * ControlPrint.[Ch]:
1524 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1525 and Print popups and Splash screen, respectively.
1527 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1531 * Makefile.am: associated changes.
1533 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1535 * ControlConnections.[Ch]: (docType): new method; returns the type
1536 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1539 * ControlSearch.[Ch]:
1540 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1541 Search and TabularCreate popups, respectively.
1544 * Makefile.am: associated changes.
1546 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1548 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1551 * ControlInset.h (apply): fix bug. Can now create new insets again.
1553 * README: describe program flow.
1555 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1557 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1559 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1561 * ControlDialogs.h: moved class ControlInset into its own file.
1563 * ControlInset.h: new file. class ControlInset has been expanded to take
1564 two template parameters, Inset and Params. Believe that all inset
1565 controllers can be derived from this with the minimum of effort.
1567 * ControlBibitem.[Ch]:
1568 * ControlBibtex.[Ch]:
1569 * ControlCitation.[Ch]:
1570 * ControlCommand.[Ch]: moved most code into ControlInset.
1572 * lots of files. Moved protected stuff into private where possible.
1574 * ControlError.[Ch]:
1575 * ControlInclude.[Ch]:
1576 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1577 Include and Url popups, respectively.
1580 * Makefile.am: associated changes.
1582 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1584 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1587 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1589 * ControlCredits.C (getCredits): remove std:: qualifier for
1592 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1594 * ControlCredits.C (getCredits): add std:: on vector
1596 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1598 * ControlCredits.C: remove using that is only used once, use
1599 std::ios instead of std::iosbase, add some annoying comments.
1601 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1603 * lots of header files: improved explanatory notes.
1605 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1606 ControlBase is now a class that only controls the interaction of the
1607 View with the ButtonController.
1609 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1610 to ControlConnectBase. The class controls the connection/disconnection
1611 of signals from the LyX kernel and makes available the kernel (through
1612 lv_) to daughter controller classes.
1613 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1615 * ControlDialogs.h: new file. Contains the definition of two template
1616 controller classes, ControlDialog and ControlInset (was
1617 ControlConnectInset). ControlInset is a parent class for controllers
1618 of inset-popups. ControlDialogs is the rather uninspired name for
1619 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1620 ControlDialogs is reaching a state of maturity as several popups now use
1621 it and its functionality becomes clear. ControlInset is still in a state
1622 of flux. It is likely that functionality will be moved out of
1623 ControlCommands and into it.
1625 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1626 individual Controller header files and into one place. These classes
1627 serve only as convenient wrappers to simplify code in the respective
1628 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1630 * ControlCharacter.[Ch] (show, update, hide):
1631 * ControlLog.[Ch] (show, update, hide):
1632 * ControlVCLog.[Ch] (show, update, hide): moved back into
1633 the ControlDialogs base class.
1634 (setParams, clearParams): new methods containing controller-specific
1635 code to set/reset the parameters manipulated by the view.
1637 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1639 (hide): calls clearParams.
1641 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1642 by ControlCommand::hide().
1644 * ControlCopyright.[Ch]:
1645 * ControlCredits.[Ch]: new files; controllers for the copyright and
1646 credits popups, respectively.
1648 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1650 * ControlCharacter.C: fix typo
1652 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1654 * ControlCharacter.[Ch]: new files; controller for the character popup.
1656 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1657 moved to new files helper_funcs.[Ch].
1659 * helper_funcs.[Ch]: new files. Some useful helper functions and
1662 * Makefile.am: added new files.
1664 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1666 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1668 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1671 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1672 Control log files, respectively.
1674 * Makefile.am: added new files.
1676 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1678 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1680 * Makefile.am: added ControlBibtex.[Ch].
1682 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1685 * ControlCitation.C: added "using SigC::slot" declaration.
1687 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1688 to FormCitation.C prior to the merger: "Do not put space between
1691 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1693 * several files: remove CXX_WORKING_NAMESPACES
1695 * ButtonController.h: noncopyable is in namespace boost
1696 * ButtonPolicies.h: ditto
1698 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1700 * Merging changes from BRANCH_MVC back into HEAD.
1702 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1704 * Makefile.am: add ControlBibitem.[Ch].
1706 * ControlBibitem.[Ch]: new files that together define the Controller
1707 for a Bibitem popup.
1709 * ControlCommand.h (c-tor): give kb_action a default value of
1712 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1714 * ControlCitation.[Ch]: moved search functions out of class.
1715 (bibkeysInfo): new method. Returns const reference to private data.
1716 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1719 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1721 * ControlCitation.[Ch]: added Search functions to the class,
1722 (shamelessly lifted from Marco's gnome code). I think that these would
1723 be better as helper functions outside the class, but this is a first
1726 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1728 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1730 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1731 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1732 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1733 implementation of FormCitation.
1735 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1737 * ButtonPolicies.h: add SMI_NOOP to enum.
1739 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1741 * ButtonController.C (input): add "optimising" if-statement. Actually,
1742 things don't work correctly without it...
1744 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1746 * ViewBase.h: remove #pragma directive
1748 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1751 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1753 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1755 * Makefile.am: added ButtonPolicies.[Ch]
1757 * ButtonController.[Ch]: ButtonController is split into
1758 ButtonControllerBase and a template ButtonController class. The base
1759 class no longer stores a pointer to a ButtonPolicy, but instead
1760 accesses the actual instantiation of the policy through a pure virtual
1761 method bp(). This method and the ButtonPolicy itself are instantiated
1762 in the templatised ButtonController class. This class is derived from
1763 the GUI-specific GUIBC class, meaning that the frontends know
1764 nothing about the actual policy decided upon by the controllers.
1766 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1767 Instead the actual instantiations are accessed through pure virtual
1768 methods view() and bc(). The daughter classes are responsible for the
1769 actual View and ButtonController.
1771 * ControlCitation.h: the templatised class GUICitation instantiates
1772 the methods view() and bc(). It also stores the instances of the
1773 View and ButtonController.
1775 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1777 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1778 also changed to ButtonController.
1781 * ControlConnections.[Ch]:
1782 * ControlCommand.[Ch]:
1783 * ControlCitation.[Ch]:
1784 * ViewBase.h: Changes associated with this.
1786 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1788 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1789 xforms/ButtonController class into a GUI-I class (here) and an
1790 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1792 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1793 from which all Dialog Controllers should be derived. the Controllers
1794 are GUI-independent, but are designed to control the behaviour of
1795 GUI-specific implementaions of each dialog.
1797 * ControlConnections.[Ch]: new files. Classes controlling the
1798 connections of buffer-independent, buffer-dependent and Inset dialogs
1799 with the LyX kernel.
1801 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1802 InsetCommand subset of insets.
1804 * ControlCitation.[Ch]: new files. The test specialisation! A
1805 controller for the Citation dialog.
1807 * ViewBase.h: new file. ViewBase is an abstract base class from which
1808 GUI-specific dialogs should be derived. The functionality that the GUIs
1809 must now implement is much reduced.