1 2002-11-20 John Levon <levon@movementarian.org>
4 * ControlMath.C: add find_xpm mangler
6 2002-11-17 John Levon <levon@movementarian.org>
8 * helper_funcs.C and users: specify save/open in file dialog
10 2002-11-15 John Levon <levon@movementarian.org>
13 * ControlPrefs.C: use setParams()
15 2002-11-15 John Levon <levon@movementarian.org>
17 * ControlButtons.h: make OKButton() virtual for prefs
20 * ControlPrefs.C: updates for xforms port to MVC
24 * ControlTabular.C: add simple MVC port
26 2002-11-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
28 * ControlInclude.C: fix file format masks for qt's use
30 2002-11-13 John Levon <levon@movementarian.org>
34 * ControlPrefs.C: add skeleton controller
36 2002-11-12 John Levon <levon@movementarian.org>
38 * biblio.C: fix warnings
40 2002-11-12 Angus Leeming <leeming@lyx.org>
42 * ControlSpellchecker.C (check): fix crash
43 * biblio.C (escape_special_chars): simplify BRE.
45 2002-11-07 Edwin Leuven <leuven@fee.uva.nl>
47 * ControlDocument.[Ch]: Remove unused method
49 2002-11-07 Angus Leeming <leeming@lyx.org>
51 * ChangeLog, biblio.C: * Add RegEx to the compiled boost files.
52 * clean-up the search code in biblio.C.
54 2002-11-07 John Levon <levon@movementarian.org>
56 * ControlGraphics.C: QGraphics fixes
58 2002-11-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
60 * ControlDocument.C: (SaveAsDefault) make it work.
61 fix buffer update on class change
63 2002-11-06 Angus Leeming <leeming@lyx.org>
65 * biblio.C (searchKeys and helper functions): rewritten entirely
66 using the STL. Boost::regex searching now works as the old 1.2 code
69 2002-11-06 Angus Leeming <leeming@lyx.org>
71 * biblio.C: clean-up of the code. No change in functionality.
73 2002-11-04 Angus Leeming <leeming@lyx.org>
75 * ControlGraphics.[Ch] (getUnits): moved out of class and into
76 frnt::getBBUnits(). Code cleaned also.
78 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * biblio.C (regexSearch): STRCONV
83 * ControlAboutlyx.C (getVersion): STRCONV
85 * ControlMath.C: include config.h
87 2002-10-31 John Levon <levon@movementarian.org>
90 * ControlGraphics.C: bb units from Herbert
92 2002-10-29 Rob Lahaye <lahaye@snu.ac.kr>
94 * ControlParagraph.[Ch] (alignDefault): new method, returning the
95 default alignment (block, left, right, center) of this paragraph.
97 2002-10-25 John Levon <levon@movementarian.org>
99 * ControlPrint.C: using endl
101 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
103 * ControlPrint.[Ch]: move code here from Liason.[Ch].
105 * ControlSpellchecker.h (getCount): new method.
106 * ControlSpellchecker.[Ch]: constify some accessor methods.
108 2002-10-22 Angus Leeming <leeming@lyx.org>
110 * Makefile.am (libcontrollers_la_SOURCES): arrange list into
111 alphabetical order once again.
113 * ButtonControllerBase.[Ch]: define an abstract base class CheckedWidget
114 Add a list of CheckedWidget ptrs to ButtonControllerBase
115 together with methods addCheckedWidget and checkWidgets to use it.
117 * ButtonController.tmpl (refresh): use the return value of
118 checkWidgets to control the activation state of the Ok, Apply, Restore
121 * ControlDialog.tmpl (show, update):
122 * ControlInset.tmpl (showInset, update):
123 invoke ButtonController::refresh to ensure that the activation state of
124 the Ok, Apply buttons reflects the valid-state of the widgets.
126 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * tex_helpers.C (rescanTexStyles): don't pop p
131 * ControlWrap.C (WrapParms): remove initialization of placement,
132 and move empty c-tor to .h class def.
134 * ControlVCLog.C (getVCLogFile): operator on std::ostream instead
135 of on stringsteam, return void. Get the file into the stream as
138 * ControlPreamble.[Ch] (params): getter and setter for params_, make
139 params_ into a string, not just a pointer to string.
141 * ControlExternal.C (getTemplateNumber): put i into the for scope,
142 and use the sequence operator on the last for "parameter"
143 (getTemplate): use std::advance to advance the iterator.
145 * ControlAboutlyx.C (getCredits): Operate on s std::ostream
146 instead of on a stringstream, return void. Get the file into the
147 stream as fast as possible.
148 (getVersion): use ostringstream
150 * lots of files: ws changes, formatting fixes
152 2002-10-20 Lars Gullik Bjønnes <larsbj@gullik.net>
154 * ControlCharacter.C (apply): setMinibuffer change
155 * ControlDocument.C (apply): ditto
157 * ControlThesaurus.C (replace): ditto
158 * ControlSearch.C (find): ditto
160 * ControlPreamble.C (apply): ditto
161 * ControlParagraph.C (apply): ditto
163 2002-10-14 André Pönitz <poenitz@gmx.net>
165 * ControlDocument.C: somebody else's fix for a hard lockup
167 2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
171 * Makefile.am: New document parameters controller
173 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
177 2002-09-24 Angus Leeming <leeming@lyx.org>
179 * ControlConnections.h: remove trailing whitespace.
181 * biblio.h: #include "LString.h".
183 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
185 * ControlGraphics.C: Change GUI origin strings into proper English.
187 2002-09-09 John Levon <levon@movementarian.org>
189 * ControlInclude.C: fix file masks. Get rid of noload,
190 remove stupid warning
192 2002-09-09 John Levon <levon@movementarian.org>
195 * ControlMath.C: add latex_deco
197 2002-09-06 John Levon <levon@movementarian.org>
199 * ControlMath.C: terminate dots
201 2002-09-05 Angus Leeming <leeming@lyx.org>
203 * all files: modify the headers as discussed on the list.
205 2002-08-30 John Levon <levon@movementarian.org>
208 * ControlMath.C: moved from MathsSymbols.C
210 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * ControlFloat.C (applyParamsToInset): wide() now has two arguments
214 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
216 * ControlGraphics.C: make rotationOrigin's default ("leftBaseline") the
217 first item in the list
219 2002-08-15 Angus Leeming <leeming@lyx.org>
221 * ControlConnections.C: Dialogs::redrawGUI is now a method not a signal.
223 * ControlParagraph.C: no longer bind to Dailogs::updateParagraph.
225 2002-08-15 Angus Leeming <leeming@lyx.org>
227 * lots: changed my email address to leeming@lyx.org.
229 * GUI.h: return it to private derivation from boost::noncopyable.
231 2002-08-14 Angus Leeming <leeming@lyx.org>
233 * GUI.h: public derivation from boost::noncopyable.
235 2002-08-14 Angus Leeming <leeming@lyx.org>
237 * GUI.h: class GUI deries from boost::noncopyable
239 * ControlButtons.h: no longer derives from DialogBase, but instead
240 derives directly from boost::noncopyable.
242 * ViewBase.h: derives from boost::noncopyable.
244 * ControlCharacter.C:
246 * ControlConnections.C:
249 * ControlParagraph.C:
253 * ControlSpellchecker.C:
255 * ControlThesaurus.C:
256 rearrange #includes. Remove unnecessary ones.
258 * ControlError.h: add "insets/inseterror.h".
260 * helper_funcs.h: add necessary #includes.
262 * tex_helpers.[Ch]: add #pragma directives for g++.
264 * Makefile.am: remove src/frontends from -I list to compiler.
266 2002-08-13 Angus Leeming <leeming@lyx.org>
268 * ControlConnections.C:
270 changes due to the changed LyXView interface that now returns references
271 to member variables not pointers.
273 2002-08-12 Angus Leeming <leeming@lyx.org>
275 * ControlConnections.[Ch]: (isReadonly): renamed as bufferIsReadonly.
276 (bufferIsAvailable, bufferview, buffer, lyxfunc): new methods. Wrappers
277 for the most commonly accessed core methods, to minimise code
280 * many files: use these wrappers and remove associated #includes.
282 2002-08-12 Angus Leeming <leeming@lyx.org>
284 * ControlButtons.[Ch] (bc, view): no longer virtual.
285 (setView, setButtonController): new methods, invoked by GUI.
287 * ControlDialog.h (show):
288 * ControlInset.h (createInset, showInset): make public, so that GUI can
291 * GUI.h: GUI now contains a controller, rather than deriving from it.
292 remove all those friend functions since we can now access the show,
293 createInset, showInset controller methods.
295 * ViewBase.h: simplifiy, enabling ControlButtons to be forward-declared.
298 * character.h: #include a couple of STL files.
300 2002-08-08 John Levon <levon@movementarian.org>
302 * ControlCommandBuffer.C: LyXAction cleanup
304 2002-08-07 John Levon <levon@movementarian.org>
306 * ControlSpellchecker.C: fix crash when spellchecker doesn't
309 2002-08-06 John Levon <levon@movementarian.org>
311 * ControlSpellchecker.C:
312 * ControlSpellchecker.h: use WordLangTuple
314 2002-08-06 John Levon <levon@movementarian.org>
316 * ControlSpellchecker.C: show an alert with the
317 error message on initialisation failure
319 2002-08-04 John Levon <levon@movementarian.org>
321 * ControlSpellchecker.h:
322 * ControlSpellchecker.C: some cleanups
324 * ControlTabularCreate.C: s/LFUN_INSET_TABULAR/LFUN_TABULAR_INSERT/
326 2002-08-02 Edwin Leuven <leuven@fee.uva.nl>
328 * ControlParagraph.[Ch] (changedParagraph): new method invoked when
329 the Dialogs::updateParagraph signal is emitted.
331 2002-08-02 Angus Leeming <leeming@lyx.org>
333 * ControlCharacter.C (apply):
334 * ControlERT.C (applyParamsToInset):
335 * ControlParagraph.C (apply):
336 * ControlSearch.C (find, replace):
337 * ControlThesaurus.C (replace): changes due to LyXView::view() now
338 returning a boost::shared_ptr.
340 2002-08-01 John Levon <levon@movementarian.org>
342 * ControlSendto.C: writeFile() change
344 2002-08-01 John Levon <levon@movementarian.org>
346 * ControlSpellchecker.h:
347 * ControlSpellchecker.C: remove options
349 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
351 * several files: strip,frontStrip -> trim,ltrim,rtrim
353 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * biblio.C (parseBibTeX): modify because of strip changes
357 2002-07-24 Juergen Spitzmueller <j.spitzmueller@gmx.de>
359 * ControlFloat.[Ch]: Implement Wide Float toggle
360 Replace "allow_here_definitely" by "wide"
362 2002-07-22 Herbert Voss <voss@lyx.org>
364 * ControlGraphics.C: small changes
366 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
368 * ControlToc.C: remove getType
370 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
372 * ControlCommandBuffer.C: don't add "" to history
374 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
376 * ControlRef.C: fix dispatch call nicely
378 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
381 * ControlCommandBuffer.h:
382 * ControlCommandBuffer.C: add controller for command (mini) buffer
385 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
387 * ControlRef.C: fix dispatch call
389 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
391 * ControlCharacter.C: use view_state_changed not setState
393 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
395 * biblio.C (parseBibTeX): use ascii_lowercase instead of lowercase
397 2002-07-15 Mike Fabian <mfabian@suse.de>
399 * biblio.C (compareNoCase): use the compare_ascii_no_case instead
400 of compare_no_case, because in turkish, 'i' is not the lowercase
401 version of 'I', and thus turkish locale breaks parsing of tags.
403 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
405 * ControlBibtex.C (applyParamsToInset): ws change
407 2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
409 * ControlInclude.C: Add warning if absolute path name and
410 check_typeset is used together
412 2002-06-28 Angus Leeming <leeming@lyx.org>
414 * ControlGraphics.C: changes associated with the name changes
415 grfx::GCache -> grfx::Cache and grfx::GImage -> grfx::Image.
417 2002-06-25 Angus Leeming <leeming@lyx.org>
419 * ControlGraphics.C (readBB): Channges associated with the changed
420 interface to the graphics cache.
422 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
424 * ControlParagraph.C: layout as layout
426 2002-06-21 Angus Leeming <leeming@lyx.org>
428 * tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
429 * tex_helpers.h: #include "LString.h".
431 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
434 * ControlBibitem.C: use repaint()
436 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
438 * ControlTexinfo.C: do the same for Texinfo
440 * tex_helpers.C: don't try to read a file that isn't there
442 2002-06-21 Herbert Voss <voss@perce.de>
444 * ControlBibtex.C: do an automatic update, when no bst-list
447 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
449 * GUI.h: createIndex() changed
451 2002-06-18 Herbert Voss <voss@perce.de>
453 * tex_helpers.[Ch]: move functions from ControlTexinfo into this
454 helperstuff. Now the bibtex gui can use some of these functions
456 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
458 * ControlGraphics.C: just make the mask *.*
460 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
462 * changes to simplify function setup, removal of a lot of includes.
464 2002-06-12 Angus Leeming <leeming@lyx.org>
466 * ControlParagraph.[Ch]: forward declare ParagraphParameters.
468 2002-06-12 Angus Leeming <leeming@lyx.org>
470 * ControlInset.tmpl: add missing header file, ButtonControllerBase.h.
472 2002-06-11 Edwin Leuven <leuven@fee.uva.nl>
474 * ControlParagraph.[Ch]: new paragraph controller
475 * GUI.h: add new controller
478 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
480 * GUI.h: do not include ButtonController.tmpl
482 * ControlInset.h: include ControlInset.tmpl
484 * ControlCitation.C: do not include ControlInset.tmpl
485 * ControlCommand.C: ditto
486 * ControlERT.C: ditto
487 * ControlError.C: ditto
488 * ControlExternal.C: ditto
489 * ControlFloat.C: ditto
490 * ControlGraphics.C: ditto
491 * ControlInclude.C: ditto
492 * ControlMinipage.C: ditto
494 * ControlDialog.tmpl: remove the Base:: prefix
496 2002-06-07 Angus Leeming <leeming@lyx.org>
498 Fixes needed to compile with Compaq cxx 6.5.
499 * ControlDialog.tmpl: I have had to prefix base class methods with
502 * ControlInset.tmpl: #include a couple of headers.
504 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
506 * switch from SigC signals to boost::signals
508 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
510 * biblio.h: include vector
512 * biblio.C: change include order
513 (regexSearch): use boost regex and get rid of LRegex
515 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
520 * ControlCharacter.C:
523 * ControlConnections.C:
540 * ControlSpellchecker.C:
541 * ControlTabularCreate.C:
543 * ControlThesaurus.C:
546 * ControlVCLog.C: LyXView moved into frontends
548 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
550 * ControlExternal.C: add scoped_ptr.hpp
552 * ControlCharacter.h: use more specific smart_ptr header.
554 2002-05-21 Angus Leeming <a.leeming@ic.ac.uk>
556 * frnt_lang.C (getLanguageData): change a couple of N_() to _().
558 2002-05-13 Herbert Voss <voss@perce.de>
560 * biblio.C (getAbbreviatedAuthor): fix bug with "and" for Authors
561 like "Odland, G. and ... "
562 (parseBibTeX): fix bug with title and booktitle
563 and replace a \n with a space when one entry has more than
566 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
568 * ControlCharacter.C: use "ignore" and "reset" as the identifiers, not
569 "No change" and "Reset".
571 * frnt_lang.C: ditto. Further, do not sort thes two entries. Ie, leave
572 them at the front of the list.
574 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
576 * ControlGraphics.C: add some comments to the char * arrays.
577 Make rorigin_size const.
579 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
581 * ControlGraphics.[Ch] (getRotationOriginData): new helper function.
582 Enables the gui's to internationalise these strings.
584 2002-04-30 John Levon <moz@compsoc.man.ac.uk>
586 * frnt_lang.C: fix build
588 2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>
590 * frnt_lang.[Ch] (getLanguageData): passed a bool character_dlg.
591 If the the caller is the character dialog, add "No change" and "Reset"
592 to the vector, else don't.
593 Internationalise the GUI strings here rather than in the different
595 Sort the translated strings, albeit simply.
597 2002-04-29 Angus Leeming <a.leeming@ic.ac.uk>
599 * character.[Ch]: rename namespace character as namespace frnt.
601 * frnt_lang.[Ch]: new file. Move getLanguageData from character.[Ch]
602 as several dialogs will use this info. The function now returns a
603 vector<LanguagePair> where LanguagePair is a display string and an
604 identifying string. The display string is internationalised.
606 * ControlCharacter.C (getLanguage, setLanguage): Do not internationalise
607 the identifying strings, "No change" and "Reset".
609 * Makefile.am: add frnt_lang.[Ch].
611 2002-04-25 Herbert Voss <voss@lyx.org>
613 * ControlSendto.C (allFormats): don't add the graphics extensions to the
616 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
618 * biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
619 BibTeX databases in a WYSIWYM way.
621 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
623 * biblio.C (getAbbreviatedAuthor, getYear): Cæsar is dead. RIP; he was
624 way past his use-by date.
625 Make use of the improved info from Buffer::getBibkeyList when using
626 \bibliography. Enables us to provide natbib support in this case too.
628 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
630 * ControlGraphics.C: pass the browseFile dialog a string of only those
631 formats that can currently be loaded by LyX.
633 2002-04-15 Herbert Voss <voss@perce.de>
635 * biblio.[Ch] (parseBibTeX): fix bug while scanning bibtexentries
636 with something like ,,...blah...`` (two commas)
638 2002-04-14 Herbert Voss <voss@perce.de>
640 * helper_funcs.[Ch]: move the getVectorFromString and the vice versa
641 into the support/lstrings for better use in other programs.
643 * biblio.[Ch] (getYear, getAbbreviatedAuthor, familyName): move out of
644 namespace anon and make globally accessible.
645 (familyName): test for the presence of a LaTeX Space at the front of
646 of a name; strip it if it exists.
648 2002-04-11 Herbert Voss <voss@perce.de>
650 * ControlGraphics.C: expand "browse-string" to all available formats
652 2002-04-11 Herbert Voss <voss@perce.de>
654 * ControlGraphics.C: read BoundingBox also from non (e)ps files.
656 2002-04-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
658 * ControlAboutlyx.C (getVersion): two _() forgotten
660 2002-04-08 John Levon <moz@compsoc.man.ac.uk>
664 * ControlBibtex.C: make N_() be _()
666 2002-04-07 Herbert Voss <voss@perce.de>
668 * ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools
670 2002-04-05 Angus Leeming <a.leeming@ic.ac.uk>
672 * ControlGraphics.C (readBB): sigh. Make sure that the correct path is
673 used when reading the BB.
675 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
677 * ControlGraphics.C (readBB): Don't open the ifstrem and then
678 check the format from the contents (and open a second ifstream in the
679 process. One at a time please.
681 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
683 * ControlRef.C (getBufferNum): squash warning message.
685 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
687 * ControlBibtex.C (Browse):
688 * ControlGraphics.C (Browse):
689 * ControlPrint.C (Browse): use Jean-Marc's browseRelFile.
691 * ControlGraphics.[Ch]: replace checkFilename with isFilenameValid.
693 * ControlGraphics.C (applyParamsToInset): pass filepath to
694 InsetGraphics::updateInset.
696 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
698 * most files: ws cleanup
700 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
702 * biblio.C (getInfo): string::c_str() never returns NULL. Don't test
705 2002-03-18 John Levon <moz@compsoc.man.ac.uk>
708 * ControlInclude.C: better error messages
710 2002-03-11 Herbert Voss <voss@lyx.org>
712 * biblio.C (parseBibTeX): fix another minibug with an
715 2002-03-10 Herbert Voss <voss@lyx.org>
717 * biblio.C (parseBibTeX): fix bug
718 (familyName): improve parsing
720 2002-03-09 Herbert Voss <voss@lyx.org>
722 * ControlGraphics.[Ch]: adding checkFilename() for testing
723 of non-existing files
725 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
727 * ControlSendto.C (allFormats): fix a iterators are not pointers
730 2002-03-06 Angus Leeming <a.leeming@ic.ac.uk>
732 * ControlShowFile.h: add a #include "LString.h"
734 2002-03-05 Herbert Voss <voss@lyx.org>
736 * biblio.C (getInfo): simplify if using paragraph layout
739 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
741 * biblio.C (getInfo): return the info field correctly if the key
743 (parseBibTeX): fix crash when data.find('=') returns string::npos.
745 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
747 * ControlForks.[Ch]: new files. A controller for the Forked Child
748 processes dialog, enabling the user to see what forked processes
749 are running, and, if he so desires, to kill them.
751 * GUI.h: add class GUIForks.
753 * Makefile.am: add ControlForks.[Ch].
755 * ControlGraphics.C (getParams): small change due to change in
758 2002-02-21 Herbert Voss <voss@lyx.org>
760 * biblio.C: fix bug with commentlines in a bibentry
762 2002-02-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
764 * Makefile.am: simpler obj. file compile
766 2002-02-18 Herbert Voss <voss@lyx.org>
768 * ControlGraphics.[Ch]: remove help-file call
770 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
772 * helper_funcs.h: wrap the structs firster and seconder up in a
773 namespace to avoid clashes with those in lyxalgo,h.
775 * ControlTexinfo.C Changes due to the renaming of support/syscall.[Ch]
776 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
778 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
780 * ControlGraphics.C: remove #include "support/syscall.h" as it's not
783 change Systemcalls::System to Systemcalls::Wait and
784 No change of functionality, just reflects the stripped down Systemcalls
787 2002-02-06 Herbert Voss <voss@lyx.org>
789 * ControlGraphics.[C] (readBB): search also in
790 g'zipped files. If it is useful than PK and compress
791 should also be supported. use unzipFile() from
794 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
796 * ControlRef.C (getBufferName): new method to get a real buffer
799 2002-02-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
801 * ControlTexInfo.[Ch]: Removed Help functions.
803 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
805 * ControlSpellchecker.C: clear any selection left
808 2002-02-01 Herbert Voss <voss@lyx.org>
810 * ControlGraphics.[C] (readBB): search only, if it is a
811 ".?ps" file and look for bb's at end of file
813 2002-01-30 Herbert Voss <voss@lyx.org>
815 * ControlGraphic.[C]: do not search the whole file, when
818 2002-01-29 Herbert Voss <voss@lyx.org>
820 * ControlGraphic.[C]: added a button for document path
821 when browsing -> bug 222
823 2002-01-27 Herbert Voss <voss@lyx.org>
825 * ControlGraphic.[Ch]: added support for Bounding Box, other
828 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
831 * ControlTexinfo.h: added #include "LString.h" where they belong.
833 2002-01-25 Angus Leeming <a.leeming@ic.ac.uk>
836 * ControlDialog_impl.C: remove redundant // -*- C++ -*-
838 2002-01-24 Angus Leeming <a.leeming@ic.ac.uk>
840 * ControlInclude.[Ch] (fileExists): remove const type qualifier from
843 2002-01-20 Herbert Voss <voss@perce.de>
845 * ControlInclude.[Ch]: better control of unexistings files
846 when entered without the browser
848 * ControlGraphic.C (Browse): add extension "ps" when browsing for
851 2002-01-19 Herbert Voss <voss@perce.de>
853 * biblio.C (getInfo): fix bug when no author is given
855 * biblio.C (parseBibTeX): change the parsing, so that
856 '#'-characters in a bibtex entry are no more a problem.
858 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
860 * ControlDialog_impl.h (ControlConnectBI>): make ControlDialogBI
861 derive from ControlDialog<ControlConnectBI> (fixes bug #196)
863 * helper_funcs.C (browseRelFile): forgot to pass dir2 to browseFile
865 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
867 * ControlMinipage.h: change MinipageParams::pageWidth to LyXLength
869 * ControlExternal.C (Browse): add a std:: qualifier
871 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
873 * ControlExternal.C (Browse): simplify to use browseRelFile
875 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
877 * ButtonController.tmpl: added // -*- C++ -*-
879 * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
880 ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
881 Needed in _one_ of the ControlCommand-derived classes only.
883 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
886 * ControlSearch.h: #include LString.h
888 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
890 * ButtonController.h: split into two. The definition remains in
891 ButtonController.h, the declaration is now in ButtonController.tmpl.
892 These template methods should be #included when the derived class is
893 instantiated, in this case in xforms/xformsBC.C and xforms/Dialogs.C
894 and in the qt2 and gnome equivalents.
896 * ControlDialogs.h: removed. The definition of class ControlDialog is
897 now to be found in ControlDialog.h and the declaration of the methods
898 is in ControlDialog.tmpl. The two template instantiations are performed
899 in ControlDialog_impl.[Ch], new files also.
901 * ControlInset.h: split into two. The definition remains in
902 ControlInset.h, the declaration is now in ControlInset.tmpl.
903 These template methods should be #included derived class is
904 instantiated, in this case in 8 other .C files in this directory.
906 * ControlAboutlyx.[Ch]:
907 * ControlCharacter.[Ch]:
917 * ControlPreamble.[Ch]:
919 * ControlSearch.[Ch]:
920 * ControlShowFile.[Ch]:
921 * ControlSpellchecker.[Ch]:
922 * ControlTabularCreate.[Ch]:
923 * ControlTexinfo.[Ch]:
924 * ControlThesaurus.[Ch]:
925 * ControlVCLog.[Ch]: small changes associated with the above ones.
927 * GUI.h: #include the ButtonController and dialog controller files
928 here, rather than forward declare them. This is the correct place
931 * Makefile.am: add ControlDialog_impl.[Ch] to libcontrollers_la_SOURCES.
932 Rename ControlDialogs.h as ControlDialog.h.
933 Add ButtonController.tmpl ControlDialog.tmpl ControlInset.tmpl to
936 2002-01-15 Angus Leeming <a.leeming@ic.ac.uk>
938 * ControlInset.h (apply): fix bug unearthed by Michael Koziarski.
940 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
942 * ControlExternal.C (Browse): use Buffer::filePath; simplify (more
945 * ControlGraphics.C (Browse): remove overzealous shortcut
947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
949 * FormMinipage.C (apply, update): MinipageParams::width renamed
950 as MinipageParams::pageWidth. InsetMinipage::width renamed
951 as InsetMinipage::pageWidth.
953 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
955 * ButtonController.h (refreshReadOnly): use explicit typename
957 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
959 * helper_funcs.h (browseFile): add default empty button descriptions.
961 * ControlGraphics.C (Browse):
962 * ControlBibtex.C (Browse):
963 * ControlInclude.C (Browse): add shortcuts to directory buttons
965 2002-01-12 John Levon <moz@compsoc.man.ac.uk>
967 * ControlThesaurus.h:
968 * ControlThesaurus.C: update to Aiksaurus 0.14
970 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
972 * ControlSpellchecker.C (clearParams): show the closing message
973 only if some words have been checked, thereby fixing
976 2001-12-11 Michael A. Koziarski <michael@koziarski.org>
978 * ControlFloat.[Ch]: changes to prevent here definitely being used
981 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
983 * ControlThesaurus.h: do not include <config.h> in header files
985 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
987 * ControlToc.C: changes for floatlist
989 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
991 * ControlVCLog.C: use _()
993 2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
995 * ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
998 2001-10-22 Juergen Vigna <jug@sad.it>
1000 * ControlSpellchecker.C (clearParams): use the error_ message of the
1001 speller_ if available when the spellchecker died.
1002 (setParams): remove double error message display.
1004 2001-10-15 Angus Leeming <a.leeming@ic.ac.uk>
1006 * ControlMinipage.[Ch] (getUnits): moved to helper_funcs.
1008 * helper_funcs.[Ch] (getLatexUnits): see above.
1010 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * ControlTexinfo.C (getContents): use the right file for .sty files
1014 2001-10-10 Herbert Voss <voss@perce.de>
1016 * ControlTexinfo.C: new path for the shellscript TeXFiles.sh
1017 and some more stuff from FormTexinfo.C
1019 * ControlShowFile.C: hiding the update-button
1021 2001-10-09 Herbert Voss <voss@perce.de>
1023 * ControlTexinfo.[Ch]: new files. Display information about the
1024 installed texfiles (cls,sty,bst).
1026 * ControlShowFile.[Ch]: new files. Display the contents of a file.
1028 * GUI.h: added classes GUIShowFile and GUITexinfo.
1030 * Makefile.am: modified appropriately.
1032 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1034 * ControlAboutlyx.C (getVersion): use lyx_version and
1035 lyx_release_date instead of old macros
1037 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1039 * ControlSpellchecker.C (check): Behaves well now when the spell
1040 library doesn't know a replacement to an incorrect word.
1042 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1044 * ControlSpellchecker.C (clearParams): place emergency_exit_ in
1045 the correct place. Can now check spelling more than once!
1047 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1049 * ControlSplash.[Ch]: removed.
1051 * GUI.h: remove GUISplash class.
1053 * ViewBase.h: remove ViewSplash class.
1055 * Makefile.am: remove ControlSplash.[Ch].
1057 2001-09-25 Angus Leeming <a.leeming@ic.ac.uk>
1059 * ControlButtons.h: add variable emergency_exit_. If set to true, the
1060 view will be shut down.
1063 * ControlInset.h: act on emergency_exit_.
1065 * ControlSpellchecker.C (clearParams): set emergency_exit_ if the
1066 speller fails to launch.
1068 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1070 * ControlRef.C (getBufferList): use MakeDisplayPath on the list.
1071 * (getLabelList): use MakeAbsPath on the buffer name passed to it.
1073 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1075 * ControlRef.h (disconnectOnApply): new method. Set to true.
1076 Perhaps make this user-modifiable?
1078 2001-09-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1080 * ControlGraphics.C (Browse): add "jpg" to list of recognized file
1083 2001-09-07 Dekel Tsur <dekelts@tau.ac.il>
1085 * ControlRef.C (getBufferList, getBufferNum): New methods
1087 2001-09-12 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ControlInset.h (disconnectOnApply): new method. Defines the behaviour
1090 of the dialog when the Apply button is pressed. Defaults to false,
1091 but can be overridden in the daughter classes.
1093 * ControlCitation.h (disconnectOnApply): new method. Set to true.
1094 Perhaps make this user-modifiable?
1096 2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
1098 * ControlDialogs.h (show): connect() the dialog on show. All of a sudden
1099 we have dialogs that update their contents when the buffer changes.
1100 Rather embarassing, really!
1102 2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
1104 * ControlSearch (replace): change semantics of replace to NOT move on
1105 to the next instance of a word once the present instance has been
1106 replaced unless we are replacing ALL instances of the word.
1108 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1110 * ControlButtons.[Ch]: added publicly accessible IconifyWithMain method.
1112 2001-09-04 Angus Leeming <a.leeming@ic.ac.uk>
1114 * ControlCharacter.C: fix Michael's bug: In the "Character layout"
1115 dialog, set all options to "reset", close the dialog, re-open it ->
1116 the options are set incorrectly.
1118 * ControlButtons.[Ch]: add an is_closing_ variable and isClosing method.
1119 When Applying it's useful to know whether the dialog is about to close
1120 or not (no point refreshing the display for example).
1122 * ControlInset.C (apply): use isClosing.
1124 2001-08-25 John Levon <moz@compsoc.man.ac.uk>
1127 * ControlDialogs.h: remove bc() hack, now fixed in
1128 Qt2 frontend. use member dialog_built_ instead of shared
1131 * ButtonController.h:
1132 * ButtonPolicies.C: more debug info
1134 * ButtonControllerBase.C: call refresh() when setting readOnly !
1136 * GUI.h: External form has apply, use the right policy
1138 * character.C: fix two off-by-one errors when latex font was removed
1140 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1142 * ControlInset.h (apply): tentative fix for the press Apply multiple
1143 times and get multiple new Insets problem.
1145 2001-08-24 John Levon <moz@compsoc.man.ac.uk>
1147 * ControlCharacter.C: fix typo
1151 * ControlInsets.C: make sure dialog is built before it is shown, so
1152 it works properly the very first time it is shown
1154 2001-08-20 Herbert Voss <voss@perce.de>
1156 * ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
1157 and styles. Added an option for "bibliography into toc"
1159 2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
1161 * character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
1162 LaTeX is no longer a font property.
1164 2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
1166 * GUI.h: Button controller for Reference dialog changed to
1167 NoRepeatedApplyReadOnlyPolicy.
1169 * biblio.C (getInfo): output volume and number info. Move year to end
1172 2001-08-09 Allan Rae <rae@lyx.org>
1174 * Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
1176 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1178 * helper_funcs.C (getVectorFromString): fixed small bug.
1180 * helper_funcs.h (getFirst, getSecond): cleaned up and removed cruft.
1182 2001-08-07 Edwin Leuven <leuven@fee.uva.nl>
1184 * ControlSpellchecker.C: check next word after insert in personal dict
1186 2001-08-06 Juergen Vigna <jug@sad.it>
1188 * ControlERT.[Ch]: new file
1190 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1192 * ControlInset.h: const and non-const forms of params().
1194 * helper_funcs.C (getStringFromVector,getVectorFromString): remove
1195 whitespace from either side of each item.
1197 2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
1199 * ControlFloat.h: add a != operator for FloatParams.
1200 Lars, how did you get this to compile!!!
1202 * ControlMinipage.[Ch]: uncommented someone's commenting out of
1203 operator != for MinipageParams. Who's changing stuff and not compiling?
1205 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1207 * Makefile.am (libcontrollers_la_SOURCES): add ControlFloat.h and
1210 * GUI.h: add class GUIFloat
1212 * ControlFloat.[Ch]: new files
1214 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * ControlPrint.C: #include Lassert.h here.
1218 2001-07-26 Baruch Even <baruch@lyx.org>
1220 * ControlGraphics.C: changed file search string to cover eps, jpeg, gif
1223 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1225 * ControlThesaurus.h:
1226 * ControlThesaurus.C:
1228 * Makefile.am: thesaurus support
1230 2001-07-23 John Levon <moz@compsoc.man.ac.uk>
1233 * ControlInclude.C: implement ability to load file
1235 2001-07-18 Juergen Vigna <jug@sad.it>
1237 * ControlSearch.C (replace): changes to lyxfind.h function calls.
1239 2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1241 * biblio.C (getInfo): add a .c_str() to handle the usual
1244 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1246 * ControlCitation.[Ch]: changes associated with adding natbib support.
1247 New public methods, usingNatbib, getCiteStrings and getCiteStyles.
1248 New static variable citeStyles_.
1250 * biblio.[Ch]: large internal rearrangement.
1251 New public enum CiteStyle.
1252 New public struct CitationStyle.
1253 New public functions getCitationStyle, getCiteCommand, getCiteStyles,
1254 getNumericalStrings, getAuthorYearStrings
1255 (simpleSearch, regexSearch): no longer publicly accessible.
1257 * helper_funcs.C (getStringFromVector): bug fix.
1259 2001-07-16 Baruch Even <baruch@lyx.org>
1261 * ControlVCLog.h: Added Lsstream.h to includes.
1263 2001-07-17 Angus Leeming <a.leeming@ic.ac.uk>
1265 * ControlSpellchecker.[Ch]: remove d-tor.
1267 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1269 * ControlSpellchecker.[Ch]: remove member quit() and some cleaning
1271 2001-07-16 Juergen Vigna <jug@sad.it>
1273 * ControlSpellchecker.C (show): use the lyxrc.use_pspell flag (if
1274 compiled with USE_PSPELL) to be able to switch between ISpell and
1277 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1279 Consistent use of Lsstream.h:
1280 * ControlAboutlyx.[Ch] (getCredits):
1281 * ControlVCLog.[Ch] (getVCLogFile): std::stringstream -> stringstream.
1283 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1285 * ControlCredits.[Ch]: removed
1286 * ControlCopyright.[Ch]: removed
1287 * ControlAboutlyx.[Ch]: added (replaces previous)
1288 * GUI.h: removed credits and copyright added about lyx stuff
1290 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1292 * ControlSpellchecker.C (getSuggestion):
1293 (getWord): add std:: qualifier
1295 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1297 * ControlSpellchecker.[Ch]: added
1298 * ViewBase.h: added partialUpdate(int) member
1299 * GUI.h: added spell stuff
1301 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1303 * ControlExternal.C: (*it). -> it->
1305 2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
1307 * ButtonController.h: move some included header files out of the
1308 frontends and into here.
1310 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1312 * ControlCharacter.C (c-tor): cosmetic name change of signal.
1314 2001-06-13 Angus Leeming <a.leeming@ic.ac.uk>
1316 * *.[h]: added // -*- C++ -*-
1317 * *.[C]: removed // -*- C++ -*-
1319 * ControlCharacter.[Ch]: (setParams): Check contents of font_ to
1320 activate Apply button.
1321 (clearParams): removed.
1322 font_ is now stored as a boost::scoped_ptr.
1323 font_ is no longer deleted on hide(), so it's contents can now be used
1324 by the Font button on the toolbar.
1325 Lots of new methods so that the GUI can easily get the contents of
1326 font_ when it update()s.
1328 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1330 * ControlCharacter.C (apply): test that font_ exists, thereby preventing
1331 crash when the Font button on the Toolbar is pressed.
1333 * GUI.h: change policy of Character button controller to
1334 OkApplyCancelReadOnlyPolicy.
1336 2001-06-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1338 * ControlToc.C (getContents): don't add anything to the list if it
1339 is supposed to be empty.
1341 2001-06-01 Angus Leeming <a.leeming@ic.ac.uk>
1343 * helper_funcs.C (getVectorFromString): bug fix.
1345 2001-05-30 Angus Leeming <a.leeming@ic.ac.uk>
1347 * ButtonController.h
1348 * ButtonControllerBase.[Ch] (refreshReadOnly): new method, called direct
1349 from ButtonControllerBase::readOnly. Updates the state of the widgets
1350 in the read-only list only when the read-only status of the document
1352 (refresh): moved this stuff into refreshReadOnly.
1354 2001-05-18 Angus Leeming <a.leeming@ic.ac.uk>
1356 * ControlPrint.C (c-tor):
1357 * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
1359 2001-05-14 Angus Leeming <a.leeming@ic.ac.uk>
1362 * character.h: small clean-ups.
1364 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1366 * ControlToc.C (getType): remove support for old float list.
1368 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1370 * ControlButtons.h: no longer include ButtonControllerBase.h, ViewBase.h
1371 * ControlGraphics.h: no longer include insetgraphicsParams.h
1372 * ControlInset.h: no longer include LyXView.h
1377 * ControlCharacter.C:
1378 * ControlCitation.C:
1380 * ControlConnections.C:
1381 * ControlCopyright.C:
1384 * ControlExternal.C:
1385 * ControlGraphics.C:
1388 * ControlMinipage.C:
1389 * ControlPreamble.C:
1393 * ControlTabularCreate.C:
1395 * ControlVCLog.C: they're now in here!
1397 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1399 * ButtonControllerBase.h: C++ mode, inherit privately from
1401 * ButtonPolicies.h: ditto
1403 * ButtonController.h: C++ mode, swap init order of restore_ and
1406 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1408 * ControlTabularCreate.h:
1409 * ControlTabularCreate.C: make dialogs use a pair of uints
1413 * ControlVCLog.C: fill a stringstream with the log contents
1416 * ControlExternal.C: from Angus, clone the new InsetExternal
1419 2001-04-09 Angus Leeming <a.leeming@ic.ac.uk>
1421 * helper_funcs.C (getStringFromVector, getVectorFromString): fixed bugs
1422 and made more robust.
1424 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1429 * ControlPreamble.C:
1431 * ControlGraphics.C:
1432 * ControlExternal.C:
1433 * ControlCopyright.C: include gettext.h
1435 * ControlCharacter.C:
1436 * character.C: include gettext.h and language.h
1438 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
1440 * ButtonController.h:
1441 * ButtonControllerBase.h:
1442 * ButtonControllerBase.C:
1449 * ControlConnections.h:
1452 * ControlExternal.C:
1455 * ViewBase.h: s/ControlButton/ControlButtons/
1457 s/UndoAll/Restore/ + associated
1459 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1461 * ControlToc.[Ch]: new files; a controller for the TOC popup.
1464 * Makefile.am: associated changes with all of the above.
1466 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1468 * ControlExternal.C: bug fixes. Can now apply changes to the inset
1469 and edit, view, update the External Material correctly. I hope!
1471 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1473 * ButtonController.[Ch]: renamed as ButtonControllerBase.[Ch]
1475 * BCTemplates.h: renamed as ButtonController.h
1477 * ControlBase.[Ch]: renamed as ControlButton.[Ch]. Class named to match.
1480 * ControlConnections.h: associated change in #include and class names.
1482 * ControlExternal.[Ch]: new files; a controller for the External
1486 * Makefile.am: associated changes with all of the above.
1488 * ControlGraphics.[Ch]:
1489 * ControlInclude.[Ch]:
1490 * ControlPrint.[Ch]:
1492 (Browse): new method. Returns the results of a FileDialog browse.
1494 * helper_funcs.[Ch] (browseFile): moved from xforms_helpers.[Ch].
1495 (getVectorFromString): fixed bug.
1497 * biblio.C (simpleSearch): cleaned up.
1499 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1501 * A slight reworking of Baruch Even's ButtonController patch.
1503 * BCTemplates.h: new file; all the templates for the ButtonController.
1504 Including Baruch's new GuiBC class, with setCancelCloseButton() changed
1505 to the more generic setButtonLabel().
1507 * ButtonController.[Ch]: renamed cancel_label and close_label as
1508 cancel_label_ and close_label_.
1510 * Makefile.am: added BCTemplates.h
1512 2001-03-29 Juergen Vigna <jug@sad.it>
1514 * ControlMinipage.C: removed widthp_ and all it's functions and changed
1515 to use new %-lengths of LyXLength.
1517 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1519 * ControlCitation.C (bibkeysInfo): removed Assert.
1521 * ControlCopyright.h: moved GUICopyright into GUI.h
1525 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1527 * ControlInset.h (clearDaughterParams): is empty by default, not pure.
1528 (setDaughterParams): a (by default empty) new method called in show().
1534 * ControlMinipage.h:
1537 * ControlUrl.h (clearDaughterParams): removed
1539 * ControlMinipage.C (applyParamsToInset): update the view.
1540 Added namespace minipage containing a helper function getUnits.
1542 * GUI.h: changed Minipage policy to NoRepeatedApplyReadOnlyPolicy.
1544 * ControlCharacter.[Ch]: moved out all the helper functions and the
1545 enum into their own file.
1546 * character.[Ch]: new files; contain the character helper functions,
1547 now inside namespace character.
1549 * ControlCitation.[Ch]: moved out all the helper functions and the
1550 enums into their own file. Simplified interface.
1551 * biblio.[Ch]: new files; contain the citation helper functions,
1552 now inside namespace biblio. Will be of use also to an improved
1555 * ControlGraphics.[Ch]:
1556 * ControlIndex.[Ch]: new files; controllers for the Graphics and Index
1557 popups, respectively.
1560 * Makefile.am: associated changes.
1562 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1564 * ControlMinipage.[Ch]:
1565 * ControlPreamble.[Ch]:
1566 * ControlPrint.[Ch]:
1567 * ControlSplash.[Ch]: new files; controllers for the Minipage, Preamble
1568 and Print popups and Splash screen, respectively.
1570 * ViewBase.h (ViewSplash): new base class for GUI-specific Splash
1574 * Makefile.am: associated changes.
1576 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1578 * ControlConnections.[Ch]: (docType): new method; returns the type
1579 of the buffer, LaTeX, Literate, LinuxDoc or DocBook.
1582 * ControlSearch.[Ch]:
1583 * ControlTabularCreate.[Ch]: new files; controller for the Ref,
1584 Search and TabularCreate popups, respectively.
1587 * Makefile.am: associated changes.
1589 2001-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1591 * ControlCitation.C (getBibkeyInfo): get nasty and assert the info map
1594 * ControlInset.h (apply): fix bug. Can now create new insets again.
1596 * README: describe program flow.
1598 2001-03-24 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1600 * Makefile.am (libcontrollers_la_SOURCES): add ControlDialogs.h
1602 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1604 * ControlDialogs.h: moved class ControlInset into its own file.
1606 * ControlInset.h: new file. class ControlInset has been expanded to take
1607 two template parameters, Inset and Params. Believe that all inset
1608 controllers can be derived from this with the minimum of effort.
1610 * ControlBibitem.[Ch]:
1611 * ControlBibtex.[Ch]:
1612 * ControlCitation.[Ch]:
1613 * ControlCommand.[Ch]: moved most code into ControlInset.
1615 * lots of files. Moved protected stuff into private where possible.
1617 * ControlError.[Ch]:
1618 * ControlInclude.[Ch]:
1619 * ControlUrl.[Ch]: new files; controllers for the LaTeX error,
1620 Include and Url popups, respectively.
1623 * Makefile.am: associated changes.
1625 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1627 * ControlCredits.[Ch] (getCredits): returns a stringstream not a
1630 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1632 * ControlCredits.C (getCredits): remove std:: qualifier for
1635 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1637 * ControlCredits.C (getCredits): add std:: on vector
1639 2001-03-22 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1641 * ControlCredits.C: remove using that is only used once, use
1642 std::ios instead of std::iosbase, add some annoying comments.
1644 2001-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1646 * lots of header files: improved explanatory notes.
1648 * ControlBase.[Ch]: removed LyXView & lv_ and methods using it.
1649 ControlBase is now a class that only controls the interaction of the
1650 View with the ButtonController.
1652 * ControlConnections.[Ch]: added LyXView & lv_ and associated methods
1653 to ControlConnectBase. The class controls the connection/disconnection
1654 of signals from the LyX kernel and makes available the kernel (through
1655 lv_) to daughter controller classes.
1656 Moved out class ControlConnectInset to a new file ControlDialogs.h.
1658 * ControlDialogs.h: new file. Contains the definition of two template
1659 controller classes, ControlDialog and ControlInset (was
1660 ControlConnectInset). ControlInset is a parent class for controllers
1661 of inset-popups. ControlDialogs is the rather uninspired name for
1662 the base class of all non-inset popups. (Eg, Document and Paragraph.)
1663 ControlDialogs is reaching a state of maturity as several popups now use
1664 it and its functionality becomes clear. ControlInset is still in a state
1665 of flux. It is likely that functionality will be moved out of
1666 ControlCommands and into it.
1668 * GUI.h: new file. Moved all the template GUIXXX classes out of the
1669 individual Controller header files and into one place. These classes
1670 serve only as convenient wrappers to simplify code in the respective
1671 frontends' Dialogs::c-tor. Now all derived from a templatised parent.
1673 * ControlCharacter.[Ch] (show, update, hide):
1674 * ControlLog.[Ch] (show, update, hide):
1675 * ControlVCLog.[Ch] (show, update, hide): moved back into
1676 the ControlDialogs base class.
1677 (setParams, clearParams): new methods containing controller-specific
1678 code to set/reset the parameters manipulated by the view.
1680 * ControlCommand.[Ch] (clearParams): a new virtual method, by default
1682 (hide): calls clearParams.
1684 * ControlCitation.[Ch] (hide): renamed as clearParams, a method called
1685 by ControlCommand::hide().
1687 * ControlCopyright.[Ch]:
1688 * ControlCredits.[Ch]: new files; controllers for the copyright and
1689 credits popups, respectively.
1691 2001-03-21 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1693 * ControlCharacter.C: fix typo
1695 2001-03-21 Angus Leeming <a.leeming@ic.ac.uk>
1697 * ControlCharacter.[Ch]: new files; controller for the character popup.
1699 * ControlCitation.[Ch] (getStringFromVector, getVectorFromString):
1700 moved to new files helper_funcs.[Ch].
1702 * helper_funcs.[Ch]: new files. Some useful helper functions and
1705 * Makefile.am: added new files.
1707 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1709 * ControlCitation.C (getBibkeyInfo): parse non-BibTeX entries correctly.
1711 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1714 * ControlVCLog.[Ch]: new files; controllers for LaTeX and Version
1715 Control log files, respectively.
1717 * Makefile.am: added new files.
1719 2001-03-19 Angus Leeming <a.leeming@ic.ac.uk>
1721 * ControlBibtex.[Ch]: new files; controller for an InsetBibtex popup.
1723 * Makefile.am: added ControlBibtex.[Ch].
1725 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1728 * ControlCitation.C: added "using SigC::slot" declaration.
1730 * ControlCitation.C (getStringFromVector): re-apply Dekel's recent fix
1731 to FormCitation.C prior to the merger: "Do not put space between
1734 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1736 * several files: remove CXX_WORKING_NAMESPACES
1738 * ButtonController.h: noncopyable is in namespace boost
1739 * ButtonPolicies.h: ditto
1741 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1743 * Merging changes from BRANCH_MVC back into HEAD.
1745 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1747 * Makefile.am: add ControlBibitem.[Ch].
1749 * ControlBibitem.[Ch]: new files that together define the Controller
1750 for a Bibitem popup.
1752 * ControlCommand.h (c-tor): give kb_action a default value of
1755 * ControlCommand.C (apply): do nothing if kb_action is LFUN_NOACTION.
1757 * ControlCitation.[Ch]: moved search functions out of class.
1758 (bibkeysInfo): new method. Returns const reference to private data.
1759 (searchKeys): added case-sensitive switch. Used only by simpleSearch
1762 2001-03-09 Angus Leeming <a.leeming@ic.ac.uk>
1764 * ControlCitation.[Ch]: added Search functions to the class,
1765 (shamelessly lifted from Marco's gnome code). I think that these would
1766 be better as helper functions outside the class, but this is a first
1769 2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1771 * ControlCitation.[Ch]: (getBibkeyList): removed from class
1773 (getBibkeys, getBibkeyInfo): added to class ControlCitation.
1774 (getStringFromVector, getVectorFromString, parseBibTeX): new helper
1775 funcs. parseBibTeX() is lifted staraight out of Marco's gnome
1776 implementation of FormCitation.
1778 2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
1780 * ButtonPolicies.h: add SMI_NOOP to enum.
1782 * ButtonPolicies.C (nextState): add if-statement for SMI_NOOP.
1784 * ButtonController.C (input): add "optimising" if-statement. Actually,
1785 things don't work correctly without it...
1787 2001-03-02 John Levon <moz@compsoc.man.ac.uk>
1789 * ViewBase.h: remove #pragma directive
1791 * ControlConnection.[Ch] (ControlConnectBI c-tor): add explicit c-tor
1794 2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
1796 * ButtonPolicies.[Ch]: moved from ../ButtonPolicies.[Ch]
1798 * Makefile.am: added ButtonPolicies.[Ch]
1800 * ButtonController.[Ch]: ButtonController is split into
1801 ButtonControllerBase and a template ButtonController class. The base
1802 class no longer stores a pointer to a ButtonPolicy, but instead
1803 accesses the actual instantiation of the policy through a pure virtual
1804 method bp(). This method and the ButtonPolicy itself are instantiated
1805 in the templatised ButtonController class. This class is derived from
1806 the GUI-specific GUIBC class, meaning that the frontends know
1807 nothing about the actual policy decided upon by the controllers.
1809 * ControlBase.[Ch]: No longer store the View or the ButtonController.
1810 Instead the actual instantiations are accessed through pure virtual
1811 methods view() and bc(). The daughter classes are responsible for the
1812 actual View and ButtonController.
1814 * ControlCitation.h: the templatised class GUICitation instantiates
1815 the methods view() and bc(). It also stores the instances of the
1816 View and ButtonController.
1818 2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
1820 * ButtonControllerBase.[Ch]: renamed as ButtonController.[Ch]. Class
1821 also changed to ButtonController.
1824 * ControlConnections.[Ch]:
1825 * ControlCommand.[Ch]:
1826 * ControlCitation.[Ch]:
1827 * ViewBase.h: Changes associated with this.
1829 2001-01-15 Angus Leeming <a.leeming@ic.ac.uk>
1831 * ButtonControllerBase.[Ch]: new files. Split Allan's original
1832 xforms/ButtonController class into a GUI-I class (here) and an
1833 xforms-specific derived class, to be found in xforms/xformsBC.[Ch].
1835 * ControlBase.[Ch]: new files. ControlBase is an abstract base class
1836 from which all Dialog Controllers should be derived. the Controllers
1837 are GUI-independent, but are designed to control the behaviour of
1838 GUI-specific implementaions of each dialog.
1840 * ControlConnections.[Ch]: new files. Classes controlling the
1841 connections of buffer-independent, buffer-dependent and Inset dialogs
1842 with the LyX kernel.
1844 * ControlCommand.[Ch]: new files. A controller for all dialogs for the
1845 InsetCommand subset of insets.
1847 * ControlCitation.[Ch]: new files. The test specialisation! A
1848 controller for the Citation dialog.
1850 * ViewBase.h: new file. ViewBase is an abstract base class from which
1851 GUI-specific dialogs should be derived. The functionality that the GUIs
1852 must now implement is much reduced.