1 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3 * format.[Ch] (papersize): moved to BufferParams
4 * converter.[Ch] (dvips_options): moved to BufferParams
5 (dvipdfm_options): moved to anon namespace
6 * bufferparams.[Ch]: added above functions.
8 2003-07-17 André Pönitz <poenitz@gmx.net>
12 * text2.C: don't call inset->update() anymore
14 2003-07-16 André Pönitz <poenitz@gmx.net>
19 * text2.C: replace the LyXCursor::irow_ member with
20 on-demand computation of the value
22 2003-07-16 John Levon <levon@movementarian.org>
24 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
26 2003-07-15 André Pönitz <poenitz@gmx.net>
29 * text2.C: remove no more needed refresh_row
31 2003-07-15 André Pönitz <poenitz@gmx.net>
36 * text3.C: refresh_status tristate -> need_update bool
38 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
40 * lyxtext.h (init): remove reinit argument (act as if always true)
41 * text2.C: adjust to that
43 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
45 * bufferview_funcs.[Ch]: introduce function replaceSelection()
46 * text3.C: use it to delete selections in some cases
47 (bugs 441, 673, 702, 954).
49 2003-07-14 André Pönitz <poenitz@gmx.net>
51 * rowpainter.[Ch]: reduce interface
53 2003-07-14 André Pönitz <poenitz@gmx.net>
56 * text2.C: adjust after removing unused BufferView * argument
58 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
60 * text2.C (init): fix a crash fired on resize
62 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
64 * buffer.[Ch]: added new closing signal
65 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
66 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
67 BufferView::Pimpl via the closing the signal
69 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
71 * buffer.[Ch]: take out all bv-related from buffer
73 * BufferView_pimpl.[Ch]: connect to new signals
74 * CutAndPaste.C: removed useless asserts
75 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
78 * lyxfunc.C: moved view-related funciontality from vc here
79 * paragraph.C: removed outdated comments
82 2003-07-10 André Pönitz <poenitz@gmx.net>
88 * text2.C: remove InsetText::InnerCache, clean up consequences
90 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
92 * ispell.C: fix two typos in error messages
94 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
96 * Extend Note inset to other forms of annotation like Comment
97 and Greyedout. Right button click gives dialog.
99 Files modified or added (+):
105 * Makefile.am in frontends/xforms, frontends/xforms/forms,
106 frontends/controllers
110 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
112 * aspell.C: add missing namespace lyx::support
114 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
116 * BufferView.[Ch] (newFile): Add
117 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
118 * LaTeX.[Ch] (message): added this signal and use it
119 * buffer.[Ch] (busy, message): added these signals and use them
120 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
124 * importer.C: use buffer signals instead of direct bv calling
125 * lyx_cb.[Ch] (ShowMessage): removed
129 * text2.C: use buffer signals
131 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * introduce namespace lyx::graphics
135 2003-07-02 André Pönitz <poenitz@gmx.net>
137 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
139 2003-07-01 André Pönitz <poenitz@gmx.net>
146 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
147 text*.C to text_func.C
149 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
151 * introduce namespace lyx::support
153 2003-06-30 André Pönitz <poenitz@gmx.net>
158 * text.C: re-enable --with-included-string
160 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
162 * textcursor.C: add <config.h>
164 * text.C (getWord): remove const from word_location arg
166 * lyxvc.C (getLogFile): fix const type order
168 * lyxtext.h: remove const from word_location arg, add arg name
170 * lyxlayout.h: currect type on labeltype.
172 * importer.C: correct \file
174 * converter.C (intToFormat): use std:: on ret val, ws changes
176 * bufferlist.h: correct \file
178 * buffer.C (makeLinuxDocFile): fix const type order
179 (makeDocBookFile): ditto
180 (fillWithBibKeys): use std:: on stdlib args.
182 * CutAndPaste.C: fix authors.
183 (availableSelections): use std:: on return vector
185 2003-06-27 André Pönitz <poenitz@gmx.net>
187 * BufferView_pimpl.C:
188 * bufferview_funcs.C:
196 * text3.C: remove LyXCursor::row_ member
199 * text.C: rename fullRebreak() to partialRebreak() and implement
200 a fullRebreak() that really bereks fully
202 * textcursor.h: new struct for cursor-related data
204 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
206 * lyx_main.C (LyX): get full path of document loaded on the
209 2003-06-26 André Pönitz <poenitz@gmx.net>
211 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
212 remove unused/broken operator>,<,>=.
214 * text.C: remove only use of broken operator<= in an Assert().
216 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
218 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
219 moved errorlist_.clear to showErrorList
221 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
223 * converter.C (scanLog, runLaTeX):
224 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
225 move the bv->showErrorList call to the callers
226 * lyxfunc.C: i.e. here...
228 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
229 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
230 namespace, the second to...
231 * buffer_funcs (BufferFormat, parseErrors): added
232 * errorlist.C (ErrorList(TeXErrors const &)): removed
234 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * ToolbarBackend.C (getIcon): complain when icon cannot be found
238 2003-06-24 "Garst R. Reese" <reese@isn.net>
242 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
246 * version.C.in: change docversion to 1.4
248 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
250 * buffer.C: fix a bug just introduced
252 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
254 * buffer.[Ch]: added the parseError signal and use it, removed
256 * BufferView.[Ch] (addError): moved to ...
257 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
258 to the Buffer::parseError signal to catch (guess what) parse errors
259 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
261 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
263 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
264 ability to create a buffer and to return an existing one from
265 the list. Moved these functions to...
266 * buffer_funcs.[Ch]: added
267 * BufferView.[Ch] (loadLyXFile): added
268 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
269 job removed from bufferlist::loadLyXFile.
270 * buffer.C (setReadOnly): make it work without view
271 (i.e added an if (users))
273 2003-06-19 Angus Leeming <leeming@lyx.org>
276 * LyXAction.C (init):
277 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
278 with LFUN_DIALOG_SHOW <name> <data>.
280 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * CutAndPaste.C (availableSelections): small compilation fix for
283 ancient (gcc 2.9x) compilers
285 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * text3.C (cursorNext): add tmp var
289 * text2.C (updateCounters): for function calling out of for clause
290 (replaceSelectionWithString): ditto
291 (insertStringAsParagraphs): ditto
292 (getColumnNearX): add tmp var
293 (setCursorFromCoordinates): add tmp var
294 (cursorDownParagraph): add tmp var
295 (deleteEmptyParagraphMechanism): add tmp var
297 * text.C (insertChar): add tmp var
299 * rowpainter.C (paintDepthBar): add tmp var
301 * CutAndPaste.C (availableSelections): potentially check all
302 paragraphs in a cut to fill the shown strings.
304 2003-06-18 André Pönitz <poenitz@gmx.net>
306 * kbmap.[Ch]: use vector<> instead of list<>
308 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
310 * text3.C (dispatch): handle arg to LFUN_PASTE, call
311 pasteSelection with index
313 * text2.C (pasteSelection): modify, call pasteSelection with index
315 * paragraph.C (asString): reimplement version with no interval to
316 call the one with interval.
318 * lyxtext.h: add index arg to pasteSelection
320 * MenuBackend.C (MenuItem): handle PasteRecent
321 (Menu::read::Menutags): add md_pasterecent
323 (expandPasteRecent): new function
326 * MenuBackend.h: add PasteRecent to MenuItem::Kind
328 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
330 (availableSelections): new function
332 2003-06-17 Angus Leeming <leeming@lyx.org>
334 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
336 2003-06-17 Angus Leeming <leeming@lyx.org>
339 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
341 * lyxfunc.C (dispatch): invoke it.
343 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * iterators.C (operator++, ParPosition): reintroduce some
346 const_cast for the benefit of older compilers.
348 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * text3.C (dispatch): do not modify clipboard when doing
351 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
352 LFUN_DELETE_SKIP on a selection selection
354 2003-06-16 André Pönitz <poenitz@gmx.net>
360 * tabular.[Ch]: IU of clone() and getLabelList();
362 2003-06-13 André Pönitz <poenitz@gmx.net>
364 * tabular.h: compactification
366 2003-06-12 André Pönitz <poenitz@gmx.net>
370 * tabular_funcs.h: some renaming plus whitespace
372 2003-06-12 André Pönitz <poenitz@gmx.net>
375 * BufferView_pimpl.C:
381 * toc.C: Return a Paragraph & for ParIterator::operator*()
383 2003-06-11 John Levon <levon@movementarian.org>
387 * ToolbarBackend.C: add "Toolbars" section and
390 2003-06-10 Angus Leeming <leeming@lyx.org>
393 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
395 * lyxfunc.C (dispatch): invoke it.
397 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * main.C: protect <ios> with HAVE_IOS
400 (main): protect sync_with_stdio with HAVE_IOS
402 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
404 * text2.C (cutSelection): adjust
405 (pasteSelection): adjust
407 * messages.C: handle get of empty string
409 * main.C (main): use sync_with_stdio(false)
411 * lyxfunc.C (dispatch): adjust
413 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
414 (WriteAs): remove unneeded BufferView arg.
416 * bufferparams.h: use correct types on papersize, papersize2 and
419 * bufferparams.C (readToken): adjust for type
420 (writeLaTeX): add missing cases to switch.
422 * bufferlist.C (quitWriteBuffer): adjust
425 * buffer.C (asciiParagraph): remove some commented code.
427 * CutAndPaste.C: remove current_view extern variable.
428 (cutSelection): add BufferParams arg.
429 (eraseSelection): add BufferParams arg.
430 (pasteSelection): add Buffer const & arg
432 2003-06-07 John Levon <levon@movementarian.org>
440 * paragraph.C: allow InsetERT to freely space lines,
441 and some consolidation of code
443 2003-06-06 José Matos <jamatos@fep.up.pt>
445 * buffer.C (makeDocBookFile): fix bug #821
447 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
449 * BufferView_pimpl.C (dispatch): use Dialogs::visible
451 2003-06-04 Angus Leeming <leeming@lyx.org>
453 * buffer.C: bump format to 224.
455 2003-06-05 André Pönitz <poenitz@gmx.net>
457 * text2.C (redoParagraphs): remove two const_cast<>
459 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
461 * ParagraphList.h: remove last remnants of NO_STD_LIST
463 2003-06-03 Angus Leeming <leeming@lyx.org>
465 * factory.C (createInset): small change to the way InsetExternal's params
468 2003-06-04 André Pönitz <poenitz@gmx.net>
470 * buffer.h: use Undo directly instead of shared_ptr<Undo>
473 * paragraph.[Ch]: some Inset -> UpdatableInset changes
475 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
477 * undo_funcs.C: make some simple cases of undo work again
479 2003-06-03 John Levon <levon@movementarian.org>
481 * ispell.C: HPUX doesn't have sys/select.h
484 2003-06-03 John Levon <levon@movementarian.org>
486 * CutAndPaste.C: update tabular and include inset
491 * paragraph.C: remove owningBuffer(), don't pass Buffer
494 * factory.C: insetGraphicsParams changed
496 2003-06-02 John Levon <levon@movementarian.org>
502 * text3.C: remove insetparent
504 2003-06-02 John Levon <levon@movementarian.org>
507 * buffer.C: fix inset_iterator.end(), move out of line
510 2003-06-01 John Levon <levon@movementarian.org>
512 * text3.C: use a proper cut/paste when doing inset
513 insert (from Jürgen Spitzmüller)
515 2003-06-01 John Levon <levon@movementarian.org>
517 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
519 2003-05-30 André Pönitz <poenitz@gmx.net>
521 * rowpainter.C: unify second drawing phase
523 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * trans_mgr.C: remove one case of current_view
527 * text2.C (cursorBottom): delete NO_STD_LIST stuff
529 * paragraph_funcs.h: remove paragraph.h include
531 * paragraph.h: delete NO_STD_LIST stuff
533 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
535 * buffer.h: remove paragraph.h include
537 * ParagraphList.C: delete file
539 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
541 * toc.C (getTocList): adjust
543 * paragraph_pimpl.C (validate): adjust
545 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
547 * paragraph.C (Paragraph): adjust
548 (getPositionOfInset): use const_iterator, adjust
549 (bibitem): use const_iterator, adjust
550 (setInsetOwner): adjust
552 * iterators.C (operator++): adjust
554 * InsetList.[Ch]: Replace selfmade iterator with standard
555 vector::iterator also introduce const_iterator. Remove getPos,
556 getInset and setInset from InsetTable. Adjust accordingly.
558 * BufferView.C (lockInset): adjust
559 (ChangeInsets): adjust
561 * tabular.[Ch]: delete commented same_id functions
563 2003-05-28 John Levon <levon@movementarian.org>
565 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
567 2003-05-28 André Pönitz <poenitz@gmx.net>
569 * metricsinfo.[Ch]: remove 'fullredraw' member
571 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
573 * lyxtextclass.C (operator): remove caching.
575 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * text2.C (cursorBottom): adjust
580 (setCounter): use ParagraphList::find, adjust
582 * text.C (workWidth): use ParagraphList::find, adjust
584 * lyxcursor.C (LyXCursor): adjust
586 * buffer.C (inset_iterator): adjust
588 * ParagraphList.h: make iterator(value_type) private, make
589 ParagraphList a friend of iterator.
591 * ParagraphList.C (find): new function
593 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
595 2003-05-27 André Pönitz <poenitz@gmx.net>
597 * dimension.[Ch]: a -> asc, d -> des, w -> wid
599 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
603 2003-05-26 John Levon <levon@movementarian.org>
605 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
607 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * remove same_id from function signatures, adjust.
611 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * undo_funcs.C (createUndo): use the id functions directly, adjust.
615 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
617 * paragraph.C (Paragraph): get rid of same_ids parameter
619 * ParagraphList.C (insert): adjust
622 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * paragraph_funcs.C (breakParagraph): adjust
625 (breakParagraphConservative): adjust
627 * buffer.C (readParagraph): adjust
629 * ParagraphList.C (insert): take a reference instead of a pointer
632 * paragraph.[Ch] (id): new function
634 * bufferlist.C (newFile): adjust
636 * ParagraphList.C (ParagraphList): adjust
638 (push_back): take a reference instead of a pointer.
640 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
642 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
645 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
646 set else use old code.
648 * ParagraphList.C: remove all NO_NEXT code and only compile this
649 code of NO_STD_LIST is set.
651 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
653 * BufferView_pimpl.C:
663 * graphics/GraphicsConverter.C:
664 * graphics/PreviewLoader.C: header adjustment
666 2003-05-23 Angus Leeming <leeming@lyx.org>
668 * LaTeXFeatures.[Ch] (useBabel): new method.
669 * bufferparams.C (writeLaTeX): use it.
671 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
673 * ParagraphList.h (set): remove unused function.
675 2003-05-23 André Pönitz <poenitz@gmx.net>
678 * BufferView_pimpl.C:
682 * undo_funcs.C: setUndo reworked
684 * iterators.[Ch]: add access to topmost ParagraphList
686 * lyxtext.[Ch] (workWidth): add a const
688 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
690 * texrow.[Ch] (increasePos): remove function
691 * exporter.C (export): removed unused var and outdated comment
693 2003-05-23 Angus Leeming <leeming@lyx.org>
695 * latexrunparams.h: rename fragile as moving_arg.
696 * paragraph.C (simpleTeXOnePar): ditto.
697 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
699 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
703 (textUndoOrRedo): comment out a currently unused var.
705 * paragraph.h (NO_NEXT): enable NO_NEXT
707 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
709 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
711 * exporter.C (Export): adjust for removeAutoInsets removal.
713 * buffer.C (runChktex): adjust for removeAutoInsets removal.
715 * LyXAction.C (init): remove LFUN_REMOVEERRORS
717 * BufferView.[Ch] (removeAutoInsets): delete function
719 2003-05-22 Angus Leeming <leeming@lyx.org>
721 * latexrunparams.h: add a free_spacing variable.
723 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
724 to pass moving_arg, as the data is stored in runparams.fragile.
726 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
727 to Inset::latexOptional or to simpleTeXOnePar.
729 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
730 free_spacing arg to Inset::latexOptional.
732 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
735 2003-05-22 Angus Leeming <leeming@lyx.org>
737 * latexrunparams.h: add fragile and use_babel variables.
739 * bufferparams.[Ch] (writeLaTeX): return use_babel.
740 * buffer.C (makeLaTeXFile): store this returned value in
741 runparams.use_babel, thus passing it to the inset::latex methods.
743 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
744 simpleTeXSpecialChars as it is now stored in runparams.fragile.
746 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
747 longer has a fragile arg, as it is stored in runparams.fragile.
749 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
750 moving_arg parameter as the data is stored in runparams.fragile.
752 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
753 a fragile parameter as the data is stored in runparams.fragile.
755 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
759 2003-05-22 Angus Leeming <leeming@lyx.org>
761 * latexrunparams.h: add a 'bool nice' which defaults to false.
763 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
764 now encapsulated within runparams.
766 * bufferlist.C (updateIncludedTeXfiles):
767 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
769 2003-05-22 Angus Leeming <leeming@lyx.org>
771 * latexrunparams.h: new file containing struct LatexRunParams.
772 * Makefile.am: add new file.
774 * LaTeX.[Ch] (c-tor, run):
775 * buffer.[Ch] (makeLaTeXFile):
776 * bufferlist.[Ch] (updateIncludedTeXfiles):
777 * converter.C (convert, scanLog):
778 * converter.[Ch] (runLaTeX):
779 * exporter.C (Export):
780 * paragraph.[Ch] (simpleTeXOnePar):
781 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
782 * paragraph_funcs.[Ch] (latexParagraphs):
783 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
784 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
785 pass around a LatexRunParams parameter.
787 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
789 * paragraph.[Ch]: remove unused constructor
791 * ParagraphList.C (erase): new function, taking two iterators
793 2003-05-22 André Pönitz <poenitz@gmx.net>
795 * undo_funcs.C: remove duplicated code
797 * iterator.[Ch]: operator=
799 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * tabular.C (SetMultiColumn): ws changes
803 * rowpainter.C (paintFirst): get rid of a ->previous
805 * lyx_cb.C (getPossibleLabel): parlist simplification
807 * BufferView.C (ChangeInsets): simplify slightly.
809 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
811 * LyXAction.C: new lfun space-insert, kill protected-space-insert
812 * lfuns.h: new LFUN_SPACE
813 * lyxfunc.C: protected space has a new lfun
814 * paragraph_funcs.C: read new space insets
816 * factory.C: handle new space insets
818 2003-05-22 André Pönitz <poenitz@gmx.net>
821 * BufferView_pimpl.C:
824 * undo_funcs.C: return a ParIterator from getParFromID.
826 * iterators.[Ch]: add two const's
828 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * toc.C (getTocList): adjust
832 * iterators.[Ch]: rework for parlist
834 * buffer.C (par_iterator_begin): adjust
835 (par_iterator_end): adjust
837 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
839 * BufferView.C (removeAutoInsets): adjust
840 (ChangeInsets): adjust
842 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
844 * text.C (top_y): fix bug 1110
846 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
848 * errorlist.[Ch]: added
851 * BufferView_pimpl.C:
852 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
855 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
857 * Makefile.am: ensure that lyx is relinked upon changes to the
858 various "convenience" libs.
860 2003-05-20 Angus Leeming <leeming@lyx.org>
862 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
863 files are compiled in alphabetical order again.
865 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
867 2003-05-19 Angus Leeming <leeming@lyx.org>
869 * gettext.[Ch]: remove "char const * _(char const *)".
871 2003-05-19 André Pönitz <poenitz@gmx.net>
873 * dimension.[Ch]: promote from mathed/dimension.[Ch]
882 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
884 2003-05-19 André Pönitz <poenitz@gmx.net>
890 * paragraph_funcs.[Ch]:
892 * text3.C: more insetenv work
894 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
896 * ParagraphParameters.C (params2string): small bug fixed
898 2003-05-16 André Pönitz <poenitz@gmx.net>
901 * bufferview_funcs.C: patch from Kornel Benko to prevent
902 crash when _(...) is called twice in a statement
904 2003-05-16 André Pönitz <poenitz@gmx.net>
911 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
913 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
915 * lyx_main.C (init): remove spurious static_cast
917 2003-05-14 André Pönitz <poenitz@gmx.net>
919 * BufferView.C: fix format string
921 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
923 * BufferView.[Ch] (insertErrors): removed
924 * BufferView.[Ch] (showErrorList): added
925 * buffer.C (runChkTeX):
926 * converter.C (scanLog): call showErrorList instead of inserterrors
928 2003-05-13 André Pönitz <poenitz@gmx.net>
930 * BufferView_pimpl.C:
939 * tabular_funcs.h: tostr() from its own header
941 * ParagraphParameters.C:
948 2003-05-12 André Pönitz <poenitz@gmx.net>
951 * BufferView_pimpl.C:
955 * ParagraphParameters.C:
959 * bufferview_funcs.C:
976 * text3.C: boost::format -> bformat all over the place
979 2003-05-09 André Pönitz <poenitz@gmx.net>
981 * LColor.[Ch]: Pimpl the #include <map> away
983 2003-05-09 John Levon <levon@movementarian.org>
985 * bufferlist.C: never remove emergency saves
987 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
989 * Makefile.am: better lib building
991 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * texrow.[Ch]: remove dependency on Paragraph and just store a id
995 * paragraph_pimpl.C (simpleTeXBlanks): adjust
996 (simpleTeXSpecialChars): adjust
997 (simpleTeXSpecialChars): adjust
998 * paragraph.C (simpleTeXOnePar): adjust
999 * buffer.C (makeLaTeXFile): adjust
1001 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1003 * text2.C (changeDepth): parlist cleanup
1004 (getColumnNearX): ditto
1006 * rowpainter.C (getLabelFont): parlist cleanup
1008 * bufferlist.C (newFile): parlist cleanup
1010 * CutAndPaste.C (eraseSelection): parlist cleanup
1012 * BufferView_pimpl.C (trackChanges): parlist cleanup
1015 * BufferView.C (lockInset): parlist cleanup.
1016 (ChangeInsets): ditto
1018 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * CutAndPaste.h: Update file header.
1022 * CutAndPaste.C: Update file header.
1023 Store the parts cut out of the Document in a limited_stack.
1024 (copySelection): adjust
1025 (pasteSelection): new function, takes the index in the limited stack.
1026 (nrOfParagraphs): adjust
1027 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1028 simplify error inset insertion.
1029 (checkPastePossible): adjust
1031 2003-05-06 John Levon <levon@movementarian.org>
1033 * text2.C: don't cast wrap inset to float
1035 2003-05-05 André Pönitz <poenitz@gmx.net>
1038 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1040 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1041 few naked Paragraph *.
1043 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1045 * bufferparams.C: Output warning if a document with missing
1046 TeX document class is loaded
1047 * exporter.C: Disable TeX exports if the document class is missing
1050 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1051 isTeXClassAvailable()
1053 2003-05-03 John Levon <levon@movementarian.org>
1056 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1057 explicit cursor show/hide
1059 * BufferView_pimpl.h:
1060 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1061 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1063 * lyxfunc.C: hide cursor before dispatching.
1068 * text3.C: remove explicit cursor hides
1070 2003-05-02 André Pönitz <poenitz@gmx.net>
1072 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1075 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1078 * text2.C: tiny whitespace
1080 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * undo_funcs.C: almost only ws changes.
1084 * ParagraphList.C (splice): just return if pl is empty.
1086 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * ParagraphList.C (splice): new function.
1090 * CutAndPaste.C (pasteSelection): use it
1092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * CutAndPaste.C (pasteSelection): remove the last next and
1095 previous from this file.
1097 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * CutAndPaste.C (pasteSelection): more clean up, user proper
1100 ParagraphList functions for pasteing.
1102 * ParagraphList.C (insert): new function, three arg insert
1104 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * ParagraphList.C (insert): new function, three arg insert
1108 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1111 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1115 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1119 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1122 (copySelection): clean up a bit.
1123 (pasteSelection): use make_pair
1125 * ParagraphList.C (ParagraphList): implement copy constructor
1126 (operator=): implement, base on copy constructor.
1129 * paragraph.C (erase): return a bool
1131 * paragraph_pimpl.C (erasePos): remove function, move contents...
1132 (erase): ... here. Return a bool.
1133 (erase): call erase instead of erasePos.
1135 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1137 * ParagraphList.h: define PitPosPair
1138 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1139 ParagraphList, fix a bug on pasting multiple pars
1140 * text2.C: change interface to C&P
1142 2003-04-30 André Pönitz <poenitz@gmx.net>
1144 * undo_func.C: revert part of yesterday's patch 2
1146 2003-04-30 John Levon <levon@movementarian.org>
1148 * LColor.C: s/tabular/table/
1150 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * text3.C (dispatch): do not convert iterator -> pointer
1153 * undo_funcs.C (setCursorParUndo): ditto
1154 * text_funcs.C (transposeChars): ditto
1156 * text2.C (setLayout): ws changes only
1158 * text.C (breakParagraph): do not convert iterator -> pointer
1160 (acceptChange): ditto
1161 (rejectChange): ditto
1166 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1169 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1171 * text3.C (gotoInset): YABG (yet another bad getChar)
1173 2003-04-29 André Pönitz <poenitz@gmx.net>
1175 * paragraph.h: make operator= private unimplemented as long as
1178 * ParagraphList.C: whitespace
1181 * paragraph_pimpl.[Ch]:
1182 * paragraph_funcs.C:
1184 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1187 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1189 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1191 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1192 * paragraph.[Ch] (erase):
1193 * paragraph_pimpl.[Ch] (erase): change return type and value
1194 * text2.C (cutSelection): some rework
1196 2003-04-28 John Levon <levon@movementarian.org>
1198 * bufferlist.C: changes for unsaved changes dialog
1200 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * bufferlist.C (newFile): set language (messages_) for new
1205 * buffer.C (readFile): ws changes only.
1207 2003-04-28 André Pönitz <poenitz@gmx.net>
1212 * BufferView_pimpl.C:
1213 * BufferView.C: getParFromID related ParagraphList::iterator changes
1215 2003-04-28 André Pönitz <poenitz@gmx.net>
1217 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1220 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * messages.C: remove one more localedir class variable.
1224 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * messages.C (getLocaleDir): singleton generation function
1228 (Messages): add a default constructor.
1230 * main.C (main): do not setup localedir here, do not call
1233 * gettext.C (_): use it.
1234 (gettext_init): delete funciton
1236 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * gettext.C (getLyXMessages): new singleton generating function.
1240 * buffer.C (updateDocLang): adjust
1242 * Makefile.am (messages.o): add target
1243 (main.o): remove target
1245 2003-04-27 John Levon <levon@movementarian.org>
1250 * lyxvc.C: specify cancel button in Alert::prompt
1252 2003-04-26 John Levon <levon@movementarian.org>
1257 * LyXAction.C: add LFUN_INSET_SETTINGS
1259 * lyxfunc.C: don't enable tabular-feature when there's
1260 just any locking inset
1262 2003-04-26 John Levon <levon@movementarian.org>
1264 * bufferlist.C: re-add Cancel to buffer close question
1266 * lyxfunc.C: fix import UI a bit
1268 2003-04-25 John Levon <levon@movementarian.org>
1270 * gettext.C: remove the broken asserts for now
1272 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * messages.C: make case where setlocale cannot comply work better.
1276 * buffer.C (updateDocLang): new function
1277 (changeLanguage): use it
1280 * text2.C (setCounter): use B_ a bit.
1282 * lyxlayout.C (Read): be sure to trim the label strings.
1284 * messages.C (Messages): fix typo in comment
1286 * buffer.C (readFile): set message_ after file is loaded.
1287 (makeDocBookFile): remove double return
1288 (changeLanguage): reset message_ upon language change.
1289 (B_): new func, use this to get translated buffer strings.
1291 * main.C: add myself and Jean Marc as authors.
1293 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * messages.[hC]: pimplify Messages, and three different pimpls to be
1296 used in different circumstances.
1298 * gettext.[Ch]: change for use with new message code.
1300 2003-04-24 André Pönitz <poenitz@gmx.net>
1302 * factory.C: support for eqref
1304 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * messages.[Ch]: add missing char
1308 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1310 * messages.[Ch]: New files
1312 2003-04-18 John Levon <levon@movementarian.org>
1316 * BufferView_pimpl.C:
1320 * text2.C: remove layout-copy/paste (bug 778)
1322 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1324 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1326 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1328 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1329 if they succeed. Act accordingly.
1331 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * text2.C (setCharFont): adjust
1334 (setCounter): adjust
1335 (insertStringAsLines): adjust
1337 * text.C (leftMargin): adjust
1338 (setHeightOfRow): adjust
1340 * rowpainter.C (paintFirst): adjust
1343 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1345 (isFirstInSequence): ditto
1346 (getEndLabel): ditto
1349 * paragraph.C (getParLanguage): comment out some hard stuff.
1351 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1353 (simpleDocBookOnePar): ditto
1354 (makeDocBookFile): use ParagraphList::iterator
1356 * CutAndPaste.C (pasteSelection): adjust
1358 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * text2.C (getFont): adjust
1361 (getLayoutFont): adjust
1362 (getLabelFont): adjust
1364 * paragraph_funcs.C (TeXOnePar): adjust
1366 * buffer.C (simpleLinuxDocOnePar): adjust
1367 (simpleDocBookOnePar): adjust
1369 * CutAndPaste.C (pasteSelection): adjust
1371 * BufferView.C (getEncoding): adjust
1373 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1375 2003-04-16 John Levon <levon@movementarian.org>
1377 * lyxfind.C: use parlist stuff for search/changes
1379 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1383 * text2.C (deleteEmptyParagraphMechanism): adjust
1385 * text2.[Ch] (ownerParagraph): delete func (both of them
1387 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1391 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * ParagraphList.C: prepare for NO_NEXT
1395 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * text2.C (getFont): adjust
1398 (getLayoutFont): adjust
1399 (getLabelFont): adjust
1401 * paragraph.C (getFont): adjust
1402 (getLabelFont): adjust
1403 (getLayoutFont): adjust
1405 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1407 2003-04-15 John Levon <levon@movementarian.org>
1411 * lyx_main.C: handle Include in .ui files
1413 2003-04-15 John Levon <levon@movementarian.org>
1415 * MenuBackend.C: make the doc files length shorter
1418 * ToolbarBackend.C: handle toolbar placement flags,
1421 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1426 * paragraph_funcs.C (TeXOnePar): adjust
1428 * paragraph.C (getLabelFont): add outerfont arg, adjust
1429 (getLayoutFont): ditto
1430 (simpleTeXOnePar): adjust
1432 * paragraph_pimpl.C (realizeFont): delete func
1434 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1436 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1437 row argument, constify cur argument.
1439 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * text2.C (getFont): adjust
1442 (getLayoutFont): adjust
1443 (getLabelFont): adjust
1445 * paragraph_funcs.C (TeXOnePar): adjust
1446 (outerFont): new func...
1447 (realizeFont): ...moved out from here, changed this to facilitate
1450 * paragraph.C (getFont): take outerfont as arg, adjust
1451 (simpleTeXOnePar): add outerfont arg, adjust
1453 * buffer.C (simpleLinuxDocOnePar): adjust
1454 (simpleDocBookOnePar): adjust
1456 * CutAndPaste.C (pasteSelection): adjust
1458 * BufferView.C (getEncoding): adjust
1460 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * text2.C (setCharFont): adjust
1463 (setCounter): adjust
1465 * text.C (leftMargin): adjust
1466 (setHeightOfRow): adjust
1468 * rowpainter.C (paintFirst): adjust
1471 * paragraph_pimpl.C (realizeFont): adjust
1473 * paragraph.C (isFirstInSequence): move from here...
1474 * paragraph_funcs.C (isFirstInSequence): ...to here
1476 * paragraph.C (outerHook): move from here...
1477 * paragraph_funcs.C (outerHook): ...to here
1479 * paragraph.C (depthHook): move from here...
1480 * paragraph_funcs.C (depthHook): ...to here
1482 * paragraph.C (getEndLabel): move from here...
1483 * paragraph_funcs.C (getEndLabel): ...to here
1485 * text2.C (realizeFont): move from here...
1486 * paragraph_funcs.C (realizeFont): ...to here
1488 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1492 2003-04-14 Angus Leeming <leeming@lyx.org>
1494 * LColor.[Ch]: scrap LColor mathcursor.
1496 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * lyxlex.[Ch] (text): delete function
1499 * trans.C (Load): adjust
1500 * paragraph_funcs.C (readParToken): adjust
1502 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1505 vector<char> instead of a char[].
1507 * lyxlex_pimpl.C (getString): adjust
1509 (lex): use getString
1513 * lyxlex.C (text): use pimpl_->getString()
1517 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1520 (makeFontEntriesLayoutSpecific): temp var for par.size()
1521 (setLayout): temp var for ownerParagraphs().end()
1522 (fullRebreak): temp var for rows().end()
1523 (selectionAsString): temp var for boost::next(startpit), realize
1524 that the while really is a regular for loop.
1525 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1526 setCursor in one place.
1527 (setParagraph): temp vr for ownerParagraphs().end()
1528 (updateCounters): make the while loop a for loop
1529 (cutSelection): temp var for ownerParagraphs().end()
1530 (updateInset): make the do {} while() a regular for loop
1531 (getCursorX): use temp vars
1532 (setCurrentFont): use temp vars
1533 (getColumnNearX): use temp vars
1535 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * text.C (transformChar): use temp var for getChar
1538 (computeBidiTables): use temp var for row->par()
1539 (fill): move temp vars for row->par() and pit->layout() earlier in
1541 (labelFill): use temp var for row->par()
1542 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1543 asc and desc, realize that pit never changes and that firstpit is
1544 just a duplicate and not needed. Exchange rit->par() with pit in a
1546 (breakAgain): use a temp var for boost::next(rit)
1547 (breakAgainOneRow): ditto
1548 (breakParagraph): use a temp var for rows().begin()
1549 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1550 (cursorRightOneWord): use temp var for cursor.par() and
1551 cursor.pos(), remove usage of tmpcursor.
1552 (cursorLeftOneWord): use temp var for cursor.par() and
1553 cursor.pos() only set cur at end of function.
1555 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1557 * text.C, text2.C: exchange all usage of Paragraph::next with
1558 boost::next(ParagraphList::iterator)
1560 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1562 * text2.C (cursorTop): simplify implementation
1563 (cursorBottom): ditto
1564 (setParagraph): use ParagraphList::iterator
1565 (setCurrentFont): adjust
1566 (getColumnNearX): adjust
1567 (cursorRight): adjust
1568 (cursorLeft): remove usage of Paragraph::previous
1569 (cursorUpParagraph): ditto
1570 (deleteEmptyParagraphMechanism): slight cleanup
1572 * text.C (isBoundary): take a Paragraph const & instead of a
1574 (addressBreakPoint): ditto
1575 (leftMargin): remove usage of Paragraph::previous.
1576 (setHeightOfRow): ditto
1577 (cursorLeftOneWord): ditto
1578 (selectNextWordToSpellcheck): ditto
1581 (breakParagraph): remove one usage of Paragraph::next
1582 (redoParagraph): ditto
1583 (acceptChange): ditto
1584 (insertChar): adjust
1585 (rowBreakPoint): adjust
1587 * bufferview_funcs.C (toggleAndShow): adjust
1589 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1591 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1592 methods to access it.
1594 * text.C: Added updateRowPositions to compute all row positions.
1595 Make top_y and getRowNearY() to use the cached y position
1597 2003-04-11 John Levon <levon@movementarian.org>
1599 * text.C (rowBreakPoint): reintroduce the labelEnd
1600 checks, code copied from the row fill stuff. Deep voodoo.
1602 * text.C (fill): add a comment and debugging for the
1605 2003-04-11 John Levon <levon@movementarian.org>
1607 * text.C: make sure fullrow insets get wrapped to the next line,
1608 even when they're in a manual label
1610 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * text2.C (insertParagraph): make it take ParagraphList::iterator
1614 (setLayout): make it return ParagraphList::iterator
1615 (redoParagraphs): ditto
1617 (checkParagraph): ditto
1619 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1621 * text2.C: adjust several funcs.
1622 (realizeFont): take a ParagraphList::iterator as arg.
1623 (getLayoutFont): ditto
1624 (getLabelFont): ditto
1625 (setCharFont): ditto
1627 * text.C: adjust several funcs.
1629 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1631 * text.C (selectNextWordToSpellcheck): don't accidentally
1634 2003-04-10 John Levon <levon@movementarian.org>
1636 * ToolbarBackend.C (getIcon): special handling for
1639 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1641 * text2.C (cursorRight): a getChar assert fixed
1643 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * text2.C (getFont): change to take a ParagraphList::iterator
1646 instead of Paragraph*
1647 Adjust several functions.
1649 * text.C (transformChar): change to take a ParagraphList::iterator
1650 instead of Paragraph*
1651 (singleWidth): ditto
1652 Adjust several functions.
1654 * rowpainter.C: adjust several functions
1655 * rowpainter.h:store a ParagraphList::iterator and not a
1659 2003-04-09 John Levon <levon@movementarian.org>
1664 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1665 and the "help" bits as well
1667 2003-04-09 John Levon <levon@movementarian.org>
1670 * ToolbarBackend.C: allow multiple toolbars
1672 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * undo_funcs.C (setCursorParUndo): adjust
1676 * text_funcs.C (transposeChars): adjust
1678 * text3.C (gotoNextInset): adjust
1681 * text2.C (setLayout): adjust
1682 (changeDepth): adjust
1684 (redoParagraphs): adjust
1685 (selectionAsString): adjust
1686 (setParagraph): adjust
1687 (insertInset): adjust
1688 (cutSelection): adjust
1689 (copySelection): adjust
1690 (pasteSelection): adjust
1691 (insertStringAsLines): adjust
1692 (updateInset): adjust
1693 (setCursor): change to take a ParagraphList::iterator parameter
1694 (setCursorIntern): change to take a ParagraphList::iterator parameter
1695 (setCurrentFont): adjust
1696 (cursorLeft): adjust
1697 (cursorRight): adjust
1698 (deleteEmptyParagraphMechanism): adjust
1700 * text.C (breakParagraph): adjust
1701 (insertChar): adjust
1702 (acceptChange): adjust
1703 (rejectChange): adjust
1704 (selectNextWordToSpellcheck): adjust
1705 (changeCase): adjust
1709 * lyxfind.C (SearchForward): adjust
1710 (SearchBackward): adjust
1711 (nextChange): adjust
1713 * lyxcursor.C (par): adjust
1715 * lyxcursor.h: store a ParagraphList::iterator instead of a
1718 * lyx_cb.C (getPossibleLabel): adjust
1720 * bufferview_funcs.C (toggleAndShow): adjust
1722 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1725 * BufferView.C (removeAutoInsets): adjust
1726 (lockedInsetStoreUndo): adjust
1728 2003-04-09 John Levon <levon@movementarian.org>
1730 * ToolbarBackend.C: try icon without argument
1731 if with argument fails
1733 2003-04-08 John Levon <levon@movementarian.org>
1736 * ToolbarBackend.C: add getIcon(), handle tooltip,
1737 and change from "Icon" to "Item".
1739 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1741 * BufferView.C (lockInset): another bad getchar crunched
1743 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1745 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1748 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1750 * lyxfind.C (searchForward, searchBackwards): bug 782
1752 2003-04-07 John Levon <levon@movementarian.org>
1754 * paragraph.C: remove dead comment
1756 * text.C: remove troublesome depth-fiddling code
1757 in leftMargin() and rightMargin() (bug 1017)
1759 * text.C: fix breaking of rows in nested lists
1762 * text2.C (updateCounters): fix up depth values
1765 2003-04-07 John Levon <levon@movementarian.org>
1767 * BufferView_pimpl.C: clear message when doc finishes resizing,
1768 and after a mouse event
1770 * lyxfunc.C: clear message after exiting inset
1772 2003-04-07 John Levon <levon@movementarian.org>
1774 * bufferview_funcs.C: show math status not outside
1775 status in the statusbar
1777 2003-04-07 John Levon <levon@movementarian.org>
1779 * lyxfunc.C: note status changed after a depth change
1781 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1783 * LaTeX.h: move AuxInfo operator==, != out of line.
1784 Remove LaTeX virtual destructor; nothing derives from it.
1785 Move operator()() out of public area and rename it startscript().
1786 Change protected for private.
1788 2003-04-04 Angus Leeming <leeming@lyx.org>
1791 * text2.C: remove unneeded #includes.
1793 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1795 * text2.C (dEPM): fix the heigth of the next row
1797 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1799 * text.C: squashed an invalid getChar requester + some ws changes
1801 2003-04-03 John Levon <levon@movementarian.org>
1803 * bufferview_funcs.h:
1804 * bufferview_funcs.C:
1807 * text2.C: make getStatus work for the env depth lfuns
1809 2003-04-03 John Levon <levon@movementarian.org>
1811 * bufferview_funcs.h:
1812 * bufferview_funcs.C:
1815 * text2.C: parlistize decDepth(), by merging it with incDepth()
1817 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * lyxrow.h: store a ParagraphList::iterator instead of a
1820 Paragraph* and adjust other class functions to suit.
1822 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1825 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1827 * text2.C (setCursor): do not anchor to cursor row for the time being
1829 2003-04-02 John Levon <levon@movementarian.org>
1836 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1838 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1840 * paragraph.h: make ParagraphList and ParagraphList::iterator
1841 friends of Paragraph.
1843 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1845 * ParagraphList.C: Use the private next_ and previous_ from
1848 2003-04-01 John Levon <levon@movementarian.org>
1852 * Makefile.am: rename, remove defaults gunk
1855 * MenuBackend.C: remove defaults gunk
1858 * Languages.C: remove defaults gunk
1861 * lyx_main.C: error out if files couldn't be found.
1863 2003-04-02 John Levon <levon@movementarian.org>
1865 * text2.C: make incDepth() use parlist
1867 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * undo_funcs.C (firstUndoParagraph): adjust
1871 * text3.C (gotoInset): adjust
1872 (dispatch): adjust, and rewrite loop.
1874 * text2.C (init): adjust, and rewrite loop.
1875 (redoParagraphs): adjust
1876 (updateInset): adjust, and rewrite loop.
1877 (deleteEmptyParagraphMechanism): adjust
1879 * tabular.C (LyXTabular): adjust
1880 (SetMultiColumn): adjust
1883 * lyxtext.[Ch] (ownerParagraph): delete function
1884 (ownerParagraphs): new function returns a ParagraphList.
1886 * BufferView.C (removeAutoInsets): adjust
1887 (insertErrors): adjust
1888 (setCursorFromRow): adjust
1890 2003-04-01 Angus Leeming <leeming@lyx.org>
1892 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1895 2003-04-02 John Levon <levon@movementarian.org>
1901 * text_funcs.C: make transposeChars a free function
1903 * lyxrow_funcs.C: remove wrong comment
1905 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * rowpainter.C: adjust
1913 * lyxrow_funcs. [Ch]: new files
1915 * lyxrow.[Ch]: remove next and previous pointers
1916 (next,previous): remove accessor functions
1917 (isParEnd): move to lyxrow_funcs
1918 (lastPos): move to lyxrow_funcs
1919 (nextRowIsAllInset): move to lyxrow_funcs
1920 (lastPrintablePos): move to lyxrow_funcs
1921 (numberOfSeparators): move to lyxrow_funcs
1922 (numberOfHfills): move to lyxrow_funcs
1923 (numberOfLabelHfills): move to lyxrow_funcs
1924 (hfillExpansion): move to lyxrow_funcs
1928 * bufferview_funcs.C (toggleAndShow): adjust
1930 * RowList.h: Remove class RowList from file leave just a
1933 * RowList.C: delete file
1935 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1938 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * text3.C (cursorPrevious): adjust
1941 (cursorNext): adjust
1944 * text2.C (redoHeightOfParagraph): adjust
1945 (redoDrawingOfParagraph): adjust
1948 * text.C (breakParagraph): adjust
1949 (insertChar): adjust
1952 * rowpainter.C (RowPainter): adjust
1953 (leftMargin): simplify and adjust
1954 (most rowpainter functions): adjust.
1956 * rowpainter.h: store the row as RowList::iterator not as Row*
1958 * lyxcursor.C (row): taka RowList::iterator as arg
1961 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1964 2003-04-01 Angus Leeming <leeming@lyx.org>
1966 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1967 stuff like bool Bool.
1969 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1971 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1974 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1979 * lyxtext.h (rows): drop one version and leve a const variant that
1980 returns a RowList::iterator.
1982 2003-03-31 Angus Leeming <leeming@lyx.org>
1984 * text.C (fill): ensure that the signature is the same as that in the
1987 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * text2.C (redoParagraphs): adjust
1990 (updateCounters): adjust
1991 (checkParagraph): adjust
1992 (getColumnNearX): adjust and reformat a bit.
1994 * text.C (top_y): adjust
1996 (leftMargin): adjust
1997 (prepareToPrint): adjust
1999 (getRowNearY): adjust
2001 * lyxtext.h: make rowlist_ mutable.
2003 * RowList.h: add const_iterator
2004 * RowList.C: adjust for RowList::const_iterator.
2006 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2009 2003-03-31 John Levon <levon@movementarian.org>
2012 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2014 * lyx_main.C: set default fonts from using lyx_gui funcs
2016 * exporter.C: pdf_mode moved from lyxrc
2019 * lyxfunc.C: changes from above
2021 2003-03-31 John Levon <levon@movementarian.org>
2023 * lyx_main.C: fix to the last fix
2025 2003-03-31 John Levon <levon@movementarian.org>
2027 * bufferlist.C: "Load original" -> "Load Original"
2033 * format.C: more Alert cleanups
2035 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * text2.C (removeParagraph): make it take a RowList::iterator as
2039 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2040 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2042 * text.C (anchor_row): make it take a RowList::iterator as arg,
2044 (computeBidiTables): make it take a const reference to Row instead
2045 of Row pointer, adjust.
2046 (leftMargin): make it take a RowList::iterator as arg, adjust.
2047 (rowBreakPoint): adjust
2048 (breakAgainOneRow): make it take a RowList::iterator as arg,
2050 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2052 * bufferview_funcs.C (toggleAndShow): adjust
2054 2003-03-30 John Levon <levon@movementarian.org>
2058 * boost-inst.C: moved to support
2060 * several files: changes as a result
2062 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * text2.C (LyXText): adjust.
2066 (removeRow): make it take a RowList::iterator as arg, adjust.
2067 (fullRebreak): adjust
2068 (deleteEmptyParagraphMechanism): adjust
2069 (clearPaint): adjust
2072 * text.C (top_y): adjust
2073 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2074 (breakAgain): make it take a RowList::iterator as arg, adjust.
2075 (breakParagraph): adjust
2076 (insertChar): adjust
2079 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2080 need_break_row, and refresh_row.
2082 * text3.C (dispatch): adjust
2084 * text2.C (checkParagraph): adjust
2086 (setCursorFromCoordinates): adjust
2088 * text.C (top_y): adjust
2090 (getRow): make it return a RowList::iterator, adjust
2091 (getRowNearY): make it return a RowList::iterator, adjust
2093 * text2.C (init): adjust
2094 (insertRow): remove function
2095 (insertParagraph): adjust
2096 (redoParagraphs): adjust
2097 (fullRebreak): adjust
2098 (updateCounters): adjust
2100 * text.C (top_y): rewrite to use RowList iterators.
2102 (setHeightOfRow): rewrite to sue RowList iterators.
2103 (appendParagraph): adjust
2104 (breakAgain): adjust
2105 (breakAgainOneRow): adjust
2106 (breakParagraph): adjust
2108 (getRowNearY): adjust, and remove commented code.
2110 * lyxtext.h (firstRow): delete function
2111 (lastRow): delete function
2112 (rows): new function (const and non-const versions.)
2113 (insertRow): delete function
2115 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2117 2003-03-29 John Levon <levon@movementarian.org>
2119 * BufferView_pimpl.C: always update scrollbar top
2120 because pasting text when we're anchored could mean we
2121 miss an update altogether
2123 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * text2.C (init): use rowlist_.end() and not 0.
2126 (insertRow): change to take a RowList::iterator as arg, adjust
2128 (insertParagraph): change to take a RowList::iterator as arg,
2130 (redoParagraphs): remove some debug msgs.
2132 * text.C (appendParagraph): change to take a RowList::iterator
2133 arg, adjust for this.
2134 (breakAgain): add an assert
2135 (breakAgainOneRow): ditto
2137 2003-03-29 John Levon <levon@movementarian.org>
2139 * text2.C: do not clear selection after inc/decDepth
2142 2003-03-29 John Levon <levon@movementarian.org>
2145 * buffer.C: fix broken strerrors according to Lars
2147 2003-03-29 John Levon <levon@movementarian.org>
2149 * converters.C: more Alert cleanups
2151 2003-03-29 John Levon <levon@movementarian.org>
2153 * bufferview_funcs.C: remove pointless Alert
2155 * buffer.C: fix confusing error message when
2156 a template is chmoded 000
2158 2003-03-29 John Levon <levon@movementarian.org>
2162 * BufferView_pimpl.C: Alert fixes
2166 * tabular-old.C: remove unused table compat reading
2168 2003-03-29 John Levon <levon@movementarian.org>
2173 * lyx_cb.C: more Alert cleanups
2175 * lyxfunc.C: don't allow chktex if not latex document
2177 2003-03-29 John Levon <levon@movementarian.org>
2181 * buffer.C: warnings pushed down from support/,
2184 2003-03-29 John Levon <levon@movementarian.org>
2186 * lyxfunc.C: safety check for C-r (revert)
2188 2003-03-29 John Levon <levon@movementarian.org>
2191 * bufferlist.C: several UI fixes using Alert::prompt.
2192 Fix the pointless looping quit code. Fix stupid revert
2197 * lyx_cb.C: use Alert::prompt
2199 * lyx_main.C: remove a silly question
2201 * lyxfunc.C: remove a couple of silly questions,
2204 2003-03-28 John Levon <levon@movementarian.org>
2206 * text2.C: fix bug 974 (End on empty par)
2208 2003-03-28 John Levon <levon@movementarian.org>
2210 * BufferView_pimpl.C:
2212 * lfuns.h: remove do-nothing math greek lfuns
2214 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * lyxgluelength.h (isValidGlueLength): add default arg on
2217 parameter 2. Remove default arg from friend in class.
2219 * lyxlength.h (isValidLength): add default arg on parameter 2.
2220 Remove default arg from friend in class.
2222 * text2.C (LyXText): adjust, initialize refresh_row.
2226 (insertParagraph): adjst
2227 (redoParagraphs): adjust
2228 (fullRebreak): adjust
2229 (updateCounters): adjust
2230 (deleteEmptyParagraphMechanism): first attempt at fixing a
2233 * text.C (top_y): adjust
2234 (setHeightOfRow): adjust
2236 (getRowNearY): adjust
2238 * lyxtext.h: include RowList.h
2239 (~LyXText): not needed anymore, deleted.
2240 (firstRow): modify for RowList
2241 (lastRow): new function
2242 Delete firstrow and lastrow class variables, add a Rowlist
2243 rowlist_ class variable.
2245 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2248 * RowList.C (insert): fix case where it == begin().
2250 2003-03-26 Angus Leeming <leeming@lyx.org>
2252 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2253 the thesaurus dialog.
2255 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2259 * RowList.[Ch]: new files
2261 * ParagraphList.C (erase): handle the case where it == begin
2264 2003-03-25 John Levon <levon@movementarian.org>
2268 * aspell.C: add new aspell support
2271 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2274 2003-03-25 Angus Leeming <leeming@lyx.org>
2277 * LyXAction.C (init): new LFUN_INSET_INSERT.
2279 * BufferView_pimpl.C (dispatch): split out part of the
2280 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2282 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2285 2003-03-25 Angus Leeming <leeming@lyx.org>
2287 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2289 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2292 * text3.C: remove useless row->height(0)
2294 2003-03-25 John Levon <levon@movementarian.org>
2298 * text3.C: rename the refreshing stuff to better names
2300 2003-03-24 John Levon <levon@movementarian.org>
2302 * BufferView_pimpl.h:
2303 * BufferView_pimpl.C: update layout choice on a mouse
2306 2003-03-23 John Levon <levon@movementarian.org>
2308 * Makefile.am: fix commandtags.h reference
2310 2003-03-22 John Levon <levon@movementarian.org>
2312 * BufferView_pimpl.C:
2317 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2319 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2322 * text.C: take the rtl methods out of line
2324 2003-03-21 André Pönitz <poenitz@gmx.net>
2326 * metricsinfo.[Ch]: new files containing structures to be passed around
2327 during the two-phase-drawing...
2329 2003-03-21 André Pönitz <poenitz@gmx.net>
2331 * lyxtextclass.C: read 'environment' tag.
2333 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2335 * text2.C (removeRow): fix bug 964
2337 2003-03-20 John Levon <levon@movementarian.org>
2341 * text2.C: paint cleanups. Inset::update() dropped font
2344 2003-03-19 John Levon <levon@movementarian.org>
2346 * lyxfunc.C: only fitcursor/markDirty if available()
2348 2003-03-19 John Levon <levon@movementarian.org>
2350 * commandtags.h: rename to ...
2352 * lfuns.h: ... this, and renumber / cleanup
2354 2003-03-19 John Levon <levon@movementarian.org>
2356 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2357 fit the cursor after an lfun
2361 * BufferView_pimpl.h:
2362 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2364 * LyXAction.C: layout-character should have ReadOnly
2366 * ParagraphParameters.C:
2368 * bufferview_funcs.C:
2375 * undo_funcs.C: changes from above
2377 2003-03-18 John Levon <levon@movementarian.org>
2379 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2380 remove it from update()
2382 * lyxfunc.C: update layout choice after an lfun
2384 * text3.C: remove extra updateLayoutChoice()s
2386 2003-03-18 John Levon <levon@movementarian.org>
2388 * text.C: top_y change means full repaint, fix
2389 a drawing bug with cursor movement
2391 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2395 * text2.C: anchor row on setCursor
2397 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2399 * lyxtext.h: remove almost all mutable keywords
2402 * text3.C: remove const keywords accordingly
2404 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2408 (TeXEnvironment): ditto
2411 2003-03-17 John Levon <levon@movementarian.org>
2413 * text.C (rowBreakPoint): remove attempt to fix displayed
2414 math insets inside a manual label
2416 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * lyxtext.h: remove BufferView* as first arg from almost all class
2420 * other files: adjust.
2422 2003-03-17 John Levon <levon@movementarian.org>
2426 * text2.C: more paint cleanups
2428 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2431 * rowpainter.C: remove "smart" background painting code
2433 2003-03-16 John Levon <levon@movementarian.org>
2438 * text3.C: add helper functions for setting refresh_row/y
2440 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2442 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2443 newline inset which *can* get inserted in the pass_thru layouts.
2444 This is primarily for literate documents.
2446 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2448 * buffer.C: increment LYX_FORMAT to 223
2450 2003-03-14 André Pönitz <poenitz@gmx.net>
2452 * textclass.h: prepare for environment handling, ws changes
2453 * lyxlayout.C: read latexheader and latexfooter tags
2455 2003-03-14 John Levon <levon@movementarian.org>
2457 * text2.C: rewrite ::status() a bit
2459 2003-03-13 John Levon <levon@movementarian.org>
2461 * lyxtext.h: add some docs
2463 2003-03-13 John Levon <levon@movementarian.org>
2468 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2470 2003-03-13 John Levon <levon@movementarian.org>
2472 * text3.C: fix appendix redrawing
2474 2003-03-13 John Levon <levon@movementarian.org>
2476 * text.C (setHeightOfRow):
2478 * rowpainter.C: make appendix mark have the text
2479 "Appendix" so the user knows what it is
2482 * LColor.C: s/appendixline/appendix/ from above
2484 2003-03-13 John Levon <levon@movementarian.org>
2486 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2488 * text.C: fix a getChar(pos) bug properly
2490 2003-03-13 Angus Leeming <leeming@lyx.org>
2493 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2494 Probably only temporary. Let's see how things pan out.
2496 * BufferView.C (unlockInset):
2497 * BufferView_pimpl.C (fitCursor):
2498 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2500 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2501 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2503 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2504 new functions that convert ParagraphParameters to and from a string.
2506 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2507 BufferView::Pimpl's dispatch.
2508 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2510 2003-03-13 André Pönitz <poenitz@gmx.net>
2514 * factory.C: make it aware of InsetEnv
2516 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * text2.C (setCursor): never ask for one past last
2519 (setCursor): add some debugging messages.
2521 * text.C (singleWidth): never ask for one past last
2522 (singleWidth): ditto
2524 (rightMargin): ditto
2525 (rowBreakPoint): ditto
2526 (setHeightOfRow): ditto
2527 (prepareToPrint): ditto
2529 * rowpainter.C (paintBackground): never ask for one past last
2530 (paintText): never ask for one past last
2532 * paragraph_pimpl.C (getChar): make the assert stricter, never
2533 allow the one past last pos to be taken
2535 * paragraph.C (getChar): ws changes only
2537 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2538 (numberOfSeparators): ditto
2539 (numberOfHfills): ditto
2541 2003-03-12 John Levon <levon@movementarian.org>
2547 * paragraph_funcs.C: fix per-buffer authorlists
2549 2003-03-12 John Levon <levon@movementarian.org>
2551 * text.C: fix newline in right address
2553 2003-03-12 Angus Leeming <leeming@lyx.org>
2555 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2556 duplicate those in LyXFunc::dispatch.
2560 * ToolbarDefaults.C:
2561 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2562 Add LFUN_FONTFREE_UPDATE.
2564 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2565 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2567 * bufferview_func.[Ch]: several new functions to facilliate
2568 transfer of data to and from the character dialog.
2570 2003-03-12 John Levon <levon@movementarian.org>
2575 * paragraph_funcs.C:
2576 * paragraph_pimpl.C:
2580 * text3.C: remove META_NEWLINE in favour of an inset
2583 * rowpainter.C: remove paintNewline (done by inset)
2585 2003-03-12 John Levon <levon@movementarian.org>
2587 * paragraph_pimpl.C: complain about bad getChar()s
2588 for a while at least
2590 2003-03-12 John Levon <levon@movementarian.org>
2593 * buffer.C: move paragraph read into a separate function,
2594 a little renaming to reflect that.
2597 * bufferparams.C: remove the author_ids map, not necessary now
2600 * factory.C: moved Buffer::readInset to here
2602 * paragraph_funcs.h:
2603 * paragraph_funcs.C: readParagraph free function moved from
2606 * tabular.C: name change
2608 2003-03-12 John Levon <levon@movementarian.org>
2611 * ParagraphParameters.C: move par params input to
2614 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2615 behave like a normal read from the stream wrt reading
2616 a line vs. a \\token
2618 2003-03-12 John Levon <levon@movementarian.org>
2621 * ParagraphParameters.h:
2622 * ParagraphParameters.C: move output code to a
2625 2003-03-12 John Levon <levon@movementarian.org>
2627 * BufferView.C (insertLyXFile):
2630 * tabular.C: use a parlist iterator for creating the
2633 2003-03-12 John Levon <levon@movementarian.org>
2635 * buffer.C: make current_change static local not
2638 2003-03-12 John Levon <levon@movementarian.org>
2640 * buffer.C: fix insertStringAsLines for change tracking
2642 2003-03-12 John Levon <levon@movementarian.org>
2649 * bufferparams.C: move author list into params. Rename some
2650 functions. Move the header reading into a separate token
2651 loop. Move the header token reading into BufferParams.
2653 2003-03-12 John Levon <levon@movementarian.org>
2655 * changes.C: put debug inside lyxerr.debugging() checks
2657 2003-03-11 André Pönitz <poenitz@gmx.net>
2659 * factory.C: make it aware of InsetHFill
2661 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2663 * buffer.C (latexParagraphs): move function from here...
2664 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2667 2003-03-10 Angus Leeming <leeming@lyx.org>
2669 * LyXAction.C (init): fix bug in poplating array with multiple entries
2670 with the same LFUN (spotted by JMarc).
2672 2003-03-10 John Levon <levon@movementarian.org>
2675 * text2.C: move getColumnNearX() near its
2678 2003-03-10 John Levon <levon@movementarian.org>
2680 * text.C: fix break before a minipage
2682 2003-03-10 John Levon <levon@movementarian.org>
2684 * text.C: fix the last commit
2686 2003-03-09 John Levon <levon@movementarian.org>
2690 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2691 bug 365 (don't break before insets unless needed). Don't
2692 return a value > last under any circumstances.
2694 2003-03-09 Angus Leeming <leeming@lyx.org>
2696 * BufferView_pimpl.C (trackChanges, dispatch): call
2697 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2699 2003-03-09 Angus Leeming <leeming@lyx.org>
2701 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2702 than Dialogs::showAboutlyx().
2704 2003-03-09 Angus Leeming <leeming@lyx.org>
2706 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2707 than Dialogs::showTabularCreate().
2709 2003-03-09 John Levon <levon@movementarian.org>
2713 * text2.C: 3rd arg to nextBreakPoint was always the same.
2716 2003-03-08 John Levon <levon@movementarian.org>
2723 * text2.C: Remove the "main" bit from the "main body"
2726 2003-03-08 John Levon <levon@movementarian.org>
2728 * text.C (leftMargin): The left margin of an empty
2729 manual label paragraph should not include the label width
2732 * text.C (prepareToPrint): don't attempt to measure hfills
2733 for empty manual label paragraphs - the answer should be 0
2735 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * CutAndPaste.C: remove commented code and reindent.
2739 2003-03-08 John Levon <levon@movementarian.org>
2742 * lyxfunc.C: move reloadBuffer()
2745 * BufferView.C: to here
2747 * lyxvc.C: add comment
2750 * vc-backend.C: call bv->reload() to avoid
2751 getStatus() check on MENURELOAD
2753 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2755 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2756 to an old format .dep file.
2758 2003-03-07 Angus Leeming <leeming@lyx.org>
2760 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2761 when the LFUN_MOUSE_RELEASE should have been handled by
2762 inset->localDispatch.
2764 2003-03-07 Angus Leeming <leeming@lyx.org>
2766 * BufferView_pimpl.C (dispatch):
2767 * LyXAction.C (init):
2768 * ToolbarDefaults.C (init):
2770 * lyxfunc.C (getStatus):
2771 remove LFUN_INSET_GRAPHICS.
2773 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2775 2003-03-07 Angus Leeming <leeming@lyx.org>
2778 * LyXAction.C (init):
2779 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2781 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2784 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2786 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2787 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2789 2003-03-07 Angus Leeming <leeming@lyx.org>
2791 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2794 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * ParagraphList.C (front): new function
2799 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2801 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2802 and top_row_offset_. removed var first_y.
2804 * text2.C (LyXText, removeRow):
2806 * BufferView_pimpl.C:
2807 use these methods instead of using first_y
2809 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * text2.C (pasteSelection): adjust for checkPastePossible
2813 * CutAndPaste.C: remove Paragraph * buf and replace with
2814 ParagraphList paragraphs.
2815 (DeleteBuffer): delete
2816 (cutSelection): change the tc type to textclass_type
2817 (copySelection): change the tc type to textclass_type
2818 (copySelection): adjust for ParagraphList
2819 (pasteSelection): change the tc type to textclass_type
2820 (pasteSelection): adjust for Paragraphlist
2821 (nrOfParagraphs): simplify for ParagraphList
2822 (checkPastePossible): simplify for ParagraphList
2823 (checkPastePossible): remove unused arg
2825 * ParagraphList.C (insert): handle the case where there are no
2828 * CutAndPaste.h: make CutAndPaste a namespace.
2830 * text3.C (dispatch): adjust
2832 * text.C (breakParagraph): add a ParagraphList as arg
2834 * paragraph_funcs.C (breakParagraph): change to take a
2835 BufferParams and a ParagraphList as args.
2836 (breakParagraphConservative): ditto
2837 (mergeParagraph): ditto
2838 (TeXDeeper): add a ParagraphList arg
2839 (TeXEnvironment): ditto
2842 * buffer.C (readLyXformat2): adjust
2843 (insertStringAsLines): adjust
2844 (latexParagraphs): adjust
2846 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2847 (cutSelection): adjust
2848 (pasteSelection): adjust
2850 * BufferView_pimpl.C (insertInset): adjust
2852 2003-03-05 Angus Leeming <leeming@lyx.org>
2855 * LyXAction.C (init):
2856 * BufferView_pimpl.C (dispatch):
2857 * lyxfunc.C (getStatus):
2858 remove LFUN_CHILD_INSERT.
2860 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2862 2003-03-05 Angus Leeming <leeming@lyx.org>
2865 * LyXAction.C (init):
2866 * src/factory.C (createInset):
2867 * lyxfunc.C (getStatus):
2868 * text3.C (dispatch):
2869 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2871 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2873 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * ParagraphList.C (insert): handle insert right before end()
2876 (erase): fix cases where it can be first or last paragraph.
2878 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2881 Paragraph::next and Paragraph::previous
2884 * text.C (breakParagraph): adjust
2886 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2887 BufferParams& as arg.
2888 (breakParagraph): use ParagraphList::insert
2889 (breakParagraphConservative): take a Buffer* instead of a
2890 BufferParams& as arg.
2891 (breakParagraphConservative): use ParagraphList::insert.
2893 * buffer.C (insertStringAsLines): un-const it
2894 (insertStringAsLines): adjust
2896 * ParagraphList.C (insert): new function
2898 * CutAndPaste.C (pasteSelection): adjust
2900 * text.C (backspace): adjust
2902 * tabular.C (SetMultiColumn): adjust
2904 * CutAndPaste.C (cutSelection): adjust
2905 (pasteSelection): adjust
2907 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2908 Buffer const * as arg
2910 * ParagraphList.C (erase): new function
2911 * paragraph_funcs.C (mergeParagraph): use it
2912 (mergeParagraph): make it take a Buffer* instead of a
2913 BufferParams* as arg
2915 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2917 (breakParagraphConservative): ditto
2919 * paragraph.h: remove the breakParagraph friend
2921 * paragraph.C (eraseIntern): new function
2922 (setChange): new function
2924 * paragraph_funcs.C (mergeParagraph): make it take a
2925 ParagraphList::iterator instead of a Paragraph *, adjust
2928 * paragraph.h: move an #endif so that the change tracking stuff
2929 also works in the NO_NEXT case.
2931 2003-03-04 Angus Leeming <leeming@lyx.org>
2934 * LyXAction.C: new LFUN_INSET_MODIFY.
2936 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2937 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2939 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * several files: ws changes only
2943 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2944 (TeXEnvironment): ditto
2947 * buffer.C (makeLaTeXFile): adjust
2948 (latexParagraphs): make it take ParagraphList::iterator as args
2950 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * buffer.C (latexParagraphs): adjust
2954 * paragraph.C (TeXOnePar): move function...
2955 (optArgInset): move function...
2956 (TeXEnvironment): move function...
2957 * paragraph_pimpl.C (TeXDeeper): move function...
2958 * paragraph_funcs.C: ...here
2960 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2962 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * buffer.C (readInset): remove compability code for old Figure and
2967 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * buffer.C: ws changes
2972 * BufferView_pimpl.C: ditto
2975 * bufferlist.h: ditto
2979 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2981 * converter.[Ch]: split into itself +
2984 * Makefile.am: += graph.[Ch] + format.[Ch]
2991 * lyxrc.C: added #include "format.h"
2993 2003-02-27 Angus Leeming <leeming@lyx.org>
2995 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2998 * factory.C (createInset): add "label" to the factory.
3000 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3001 string and do no more.
3003 2003-02-27 Angus Leeming <leeming@lyx.org>
3006 * LyXAction.C (init):
3007 * factory.C (createInset):
3008 * BufferView_pimpl.C (dispatch):
3009 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3011 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3013 * lyxfunc.C (dispatch):
3014 * text3.C (dispatch): pass name to params2string.
3016 2003-02-26 Angus Leeming <leeming@lyx.org>
3018 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3020 Rearrange the ~includes. Strip out the unnecessary ones.
3022 * factory.C (createInset): reformat.
3023 create new insets for the various LFUN_XYZ_APPLY lfuns.
3025 2003-02-26 John Levon <levon@movementarian.org>
3028 * lyxrow.C: add isParStart,isParEnd helpers
3030 * paragraph.h: make isInserted/DeletedText take refs
3032 * paragraph_funcs.h:
3033 * paragraph_funcs.C: remove #if 0'd code
3038 * text.C: use lyxrow helpers above.
3039 Move draw and paint routines to RowPainter.
3040 Make several methods use refs not pointers.
3041 Make backgroundColor() const.
3042 Add markChangeInDraw(), isInInset().
3043 Merge changeRegionCase into changeCase.
3044 Make workWidth() shouldn't-happen code into an Assert.
3047 * rowpainter.C: new class for painting a row.
3050 * vspace.C: make inPixels take a ref
3052 2003-02-26 Angus Leeming <leeming@lyx.org>
3054 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3057 2003-02-25 John Levon <levon@movementarian.org>
3059 * ispell.C: give the forked command a more accurate name
3061 2003-02-22 John Levon <levon@movementarian.org>
3064 * toc.C: make TocItem store an id not a Paragraph *
3067 2003-02-21 Angus Leeming <leeming@lyx.org>
3069 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3070 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3071 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3072 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3073 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3074 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3076 * BufferView_pimpl.C (dispatch):
3077 * LyXAction.C (init):
3078 * factory.C (createInset):
3079 * lyxfunc.C (getStatus, dispatch):
3080 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3082 2003-02-21 Angus Leeming <leeming@lyx.org>
3084 * BufferView_pimpl.C (MenuInsertLyXFile):
3085 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3086 * lyxfunc.C (menuNew, open, doImport):
3087 no longer pass a LyXView & to fileDlg.
3089 2003-02-21 Angus Leeming <leeming@lyx.org>
3091 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3092 * LyXAction.C: change, BIBKEY to BIBITEM.
3093 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3094 Change InsetBibKey to InsetBibitem.
3095 Change BIBKEY_CODE to BIBITEM_CODE.
3096 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3097 * factory.C: replace insetbib.h with insetbibitem.h.
3098 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3099 * paragraph.C: replace insetbib.h with insetbibitem.h.
3100 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3101 Change bibkey() to bibitem().
3102 * text.C: remove insetbib.h.
3103 * text2.C: replace insetbib.h with insetbibitem.h.
3104 change bibkey() to bibitem().
3105 * text3.C: remove insetbib.h.
3106 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3108 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3110 * lyxrc.C (output): enclose user email in quotes (in case there are
3113 2003-02-18 John Levon <levon@movementarian.org>
3115 * buffer.h: add std::
3117 2003-02-17 John Levon <levon@movementarian.org>
3123 * pspell.C: reworking. Especially in ispell, a large
3124 number of clean ups and bug fixes.
3126 * lyxfunc.C: fix revert to behave sensibly
3128 2003-02-17 André Pönitz <poenitz@gmx.net>
3131 * commandtags.h: new LFUN_INSERT_BIBKEY
3141 * paragraph_func.C: remove special bibkey handling
3143 2003-02-17 John Levon <levon@movementarian.org>
3145 * text.C (Delete): fix case where delete at the end of
3146 the very first paragraph would not merge the pars
3148 2003-02-17 John Levon <levon@movementarian.org>
3150 * lyxrow.C: fix lastPrintablePos()
3152 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3154 * bufferparams.C (writeLaTeX): add a std:here
3156 * buffer.C: and remove a using directive there
3158 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * buffer.C (makeLaTeXFile): move the code that generates the
3163 * bufferparams.C (writeLaTeX): ... in this new method
3165 * LaTeXFeatures.C (getEncodingSet): make const
3166 (getLanguages): make const
3168 * MenuBackend.C (binding): returns the binding associated to this
3170 (add): sets the status of each item by calling getStatus. Adds
3172 (read): add support for OptSubMenu
3173 (expand): remove extra separator at the end of expanded menu
3175 2003-02-15 John Levon <levon@movementarian.org>
3178 * BufferView_pimpl.C:
3180 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3181 inset code that had no actual effect. Remove unneeded status
3184 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3186 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3189 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3191 * text.C (drawLengthMarker): also draw an arrow marker for
3192 symbolic lengths (medskip...)
3194 2003-02-14 John Levon <levon@movementarian.org>
3197 * tabular.C: better method names
3199 2003-02-14 John Levon <levon@movementarian.org>
3201 * BufferView_pimpl.C:
3206 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3207 it's a more accurate name. Remove some pointless uses.
3209 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3211 * text2.C (LyXText): change order of initilizers to shut off
3214 2003-02-14 John Levon <levon@movementarian.org>
3216 * buffer.C: use ParIterator for getParFromID()
3220 * paragraph_pimpl.h:
3221 * paragraph_pimpl.C: remove unused getParFromID()
3223 2003-02-14 John Levon <levon@movementarian.org>
3225 * buffer.C: remove some very old #if 0'd parse code
3227 2003-02-13 John Levon <levon@movementarian.org>
3231 * text2.C: move hfillExpansion(), numberOfSeparators(),
3232 rowLast(), rowLastPrintable(), numberofHfills(),
3233 numberOfLabelHfills() ...
3236 * lyxrow.C: ... to member functions here.
3241 * text.C: remove LyXText::beginningOfMainBody(), and call
3242 p->beginningOfMainBody() directly. Move the check for
3243 LABEL_MANUAL into the latter.
3250 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3256 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3257 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3259 2003-02-13 John Levon <levon@movementarian.org>
3261 * CutAndPaste.C: remove debug
3263 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3265 * paragraph.C (asString): remove two unused variables
3267 * lyxtextclass.C (readTitleType):
3269 (LyXTextClass): handle new members titletype_ and titlename_
3271 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3273 2003-02-09 John Levon <levon@movementarian.org>
3276 * buffer.C: replace hand-coded list with a map for the dep clean
3278 2003-02-08 John Levon <levon@movementarian.org>
3280 * LaTeX.C: consolidate code into showRunMessage() helper
3282 2003-02-08 John Levon <levon@movementarian.org>
3287 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3288 and pass the size in explicitly
3290 * BufferView_pimpl.h:
3291 * BufferView_pimpl.C:
3293 * BufferView.C: add getCurrentChange()
3295 * BufferView_pimpl.h:
3296 * BufferView_pimpl.C: handle change lfuns
3298 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3299 for changes. Mark pasted paragraphs as new.
3301 * support/lyxtime.h:
3302 * support/lyxtime.C:
3303 * DepTable.C: abstract time_t as lyx::time_type
3306 * LColor.C: add colours for new text, deleted text, changebars
3308 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3309 package use "usenames" option.
3313 * LyXAction.C: add change lfuns
3317 * author.C: author handling
3320 * buffer.C: add a per-buffer author list, with first entry as
3321 current author. Handle new .lyx tokens for change tracking. Output
3322 author list to .lyx file. Output dvipost stuff to .tex preamble.
3323 Bump lyx format to 222.
3326 * bufferlist.C: add setCurrentAuthor() to reset current author details
3330 * bufferparams.C: add param for tracking
3332 * bufferview_funcs.C: output change info in minibuffer
3336 * changes.C: add change-tracking structure
3339 * debug.C: add CHANGES debug flag
3342 * lyxfind.C: add code for finding the next change piece
3345 * lyxrc.C: add user_name and user_email
3348 * lyxrow.C: add a metric for the top of the text line
3351 * text.C: implement accept/rejectChange()
3354 * text.C: paint changebars. Paint new/deleted text in the chosen
3355 colours. Strike through deleted text.
3359 * paragraph_pimpl.h:
3360 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3361 in the current change to the insert functions. Rework erase to
3362 mark text as deleted, adding an eraseIntern() and a range-based
3363 erase(). Implement per-paragraph change lookup and
3366 * paragraph_funcs.C: Fixup paste for change tracking.
3368 * tabular.C: mark added row/columns as new.
3370 * text.C: fix rowLast() to never return -1. Don't allow
3371 spellchecking of deleted text. Track transpose changes. Don't
3372 allow paragraph break or merge where appropriate.
3374 * text2.C: leave cursor at end of selection after a cut.
3376 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3378 * text.C (getLengthMarkerHeight):
3379 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3380 visible on screen too.
3382 2003-02-07 John Levon <levon@movementarian.org>
3384 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3386 2003-02-05 Angus Leeming <leeming@lyx.org>
3388 * lyxserver.C (read_ready): revert my patch of 11 September last year
3389 as it sends PC cpu through the roof. Presumably this means that
3390 the lyxserver will no longer run on an Alpha...
3392 2003-01-30 Angus Leeming <leeming@lyx.org>
3394 * factory.C (createInset): create an InsetCommandParam of type "index"
3395 and use it to 'do the right thing'.
3397 * text2.C (getStringToIndex): ensure that cursor position is always
3398 reset to the reset_cursor position.
3400 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3402 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3405 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3409 * lyxfunc.C: Output messages with identical spelling, punctuation,
3412 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3414 * MenuBackend.C (expandFormats): List only viewable export formats
3417 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3420 * lyxfunc.C (getStatus): Make sure that formats other than
3421 "fax" can also be disabled
3423 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3425 * text3.C (dispatch): put the lfuns that insert insets in 3
3426 groups, and call doInsertInset with appropriate arguments.
3427 (doInsertInset): new function, that creates an inset and inserts
3428 it according to some boolean parameters.
3430 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * buffer.C (readFile): remember to pass on 'par' when calling
3433 readFile recursively.
3435 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3437 * MenuBackend.C (expandFormats): add "..." to import formats.
3439 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3441 * paragraph.C (asString): Remove XForms RTL hacks.
3443 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3444 * buffer.C: fix typo
3446 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * Makefile.am (LIBS): delete var
3449 (lyx_LDADD): add @LIBS@ here instead.
3451 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3453 * Clarify the meaning of "wheel mouse jump"
3455 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3457 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3460 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3462 * importer.C (Loaders): do not preallocate 3 elements in the
3463 vector, since one ends up with 6 elements otherwise
3465 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3467 * DepTable.C (write): write the file name as last element of the
3468 .dep file (because it may contain spaces)
3469 (read): read info in the right order
3471 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3473 * paragraph_pimpl.C (simpleTeXBlanks):
3474 (simpleTeXSpecialChars):
3475 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3477 * tabular.C (latex): add some missing case statements. Reindent.
3479 * MenuBackend.C (expandToc): remove unused variable.
3481 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3490 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3493 2003-01-05 John Levon <levon@movementarian.org>
3496 * BufferView.C: add getEncoding()
3499 * kbsequence.C: do not store last keypress
3502 * lyxfunc.C: store last keypress here instead. Pass encoding
3505 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3507 * lyx_main.C (init): remove annoying error message when following
3508 symbolic links (bug #780)
3510 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3512 * text.C (insertChar):
3513 * lyxrc.C (getDescription): remove extra spaces
3515 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3517 * lyxrc.C (getDescription): remove extra spaces
3519 2002-12-20 John Levon <levon@movementarian.org>
3521 * text3.C: hack fix for page up/down across tall rows
3523 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3525 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3528 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3530 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3531 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3532 thesaurus is not compiled in
3534 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3536 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3538 2002-12-16 Angus Leeming <leeming@lyx.org>
3541 * lyx_main.C (init): remove override_x_deadkeys stuff.
3543 2002-12-12 John Levon <levon@movementarian.org>
3545 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3546 insert. Only remove shift modifier under strict
3549 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * MenuBackend.C (expandToc): fix crash.
3553 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * MenuBackend.C (expandToc): gettext on float names.
3557 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3559 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3560 implement bool empty() [bug 490]
3562 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3566 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * several files: ws changes
3570 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * text2.C (setCounter): clean up a bit, use boost.format.
3573 (updateCounters): initialize par upon declaration.
3575 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3576 if the layout exists. We do not just store the layout any more.
3577 (SwitchLayoutsBetweenClasses): use boost.format
3579 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3581 * converter.C (convert): if from and to files are the same, use a
3582 temporary files as intermediary
3584 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3587 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3589 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3591 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3593 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * tabular.C (asciiPrintCell): use string(size, char) instead of
3598 * sgml.C (openTag): fix order of arguments to string constructor
3601 * lyxfunc.C (dispatch): use boost.format
3603 * lots of files: change "c" -> 'c'
3605 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3607 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3609 2002-11-25 Angus Leeming <leeming@lyx.org>
3611 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3613 * lyx_main.C (init): compile fix.
3615 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * lyx_cb.C (start): boost.formatify
3618 do not include <iostream>
3620 * lengthcommon.C: ws only
3622 * boost-inst.C,BoostFormat.h: add more explict instantations
3624 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * lots of files: handle USE_BOOST_FORMAT
3628 2002-11-21 John Levon <levon@movementarian.org>
3630 * pspell.C: fix compile
3632 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3634 * lyxfunc.C (dispatch): use boost::format
3638 * lyxfont.C (stateText): use boost::format
3640 * lyx_main.C (LyX): use boost::format
3642 (queryUserLyXDir): ditto
3645 (typedef boost::function): use the recommened syntax.
3647 * importer.C (Import): use boost::format
3649 * debug.C (showLevel): use boost::format
3651 * converter.C (view): use boost::format
3656 * bufferview_funcs.C (currentState): use boost::format
3658 * bufferlist.C (emergencyWrite): use boost::format
3660 * buffer.C (readLyXformat2): use boost::format
3661 (parseSingleLyXformat2Token): ditto
3663 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3665 * LaTeX.C (run): use boost::format
3667 * Chktex.C (scanLogFile): use boost::format
3669 * BufferView_pimpl.C (savePosition): use boost::format
3670 (restorePosition): ditto
3671 (MenuInsertLyXFile): ditto
3673 * BoostFormat.h: help file for explicit instation.
3675 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3677 * tabular.C (latex): Support for block alignment in fixed width
3680 2002-11-17 John Levon <levon@movementarian.org>
3682 * BufferView_pimpl.C:
3684 * lyxfunc.C: split filedialog into open/save
3686 2002-11-08 Juergen Vigna <jug@sad.it>
3688 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3689 by my last patch (hopefully).
3691 2002-11-08 John Levon <levon@movementarian.org>
3700 * toc.C: ParConstIterator, and use it (from Lars)
3702 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3704 * lyxtextclass.[Ch]: revise and add doxygen comments
3706 2002-11-07 John Levon <levon@movementarian.org>
3708 * text.C: fix progress value for spellchecker
3710 * toc.C: fix navigate menu for insetwrap inside minipage
3712 * paragraph_funcs.C: added FIXME for suspect code
3714 2002-11-07 John Levon <levon@movementarian.org>
3716 * BufferView_pimpl.C: fix redrawing of insets
3719 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3721 * text2.C (updateCounters): fix bug 668
3723 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3725 * text3.C (dispatch): Do not make the buffer dirty when moving the
3728 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * vc-backend.C: STRCONV
3733 * text2.C (setCounter): STRCONV
3735 * paragraph.C (asString): STRCONV
3737 * lyxlength.C (asString): STRCONV
3738 (asLatexString): ditto
3740 * lyxgluelength.C (asString): STRCONV
3741 (asLatexString): ditto
3743 * lyxfunc.C (dispatch): STRCONV
3746 * lyxfont.C (stateText): STRCONV
3748 * importer.C (Import): STRCONV
3750 * counters.C (labelItem): STRCONV
3751 (numberLabel): ditto
3752 (numberLabel): remove unused ostringstream o
3757 * bufferview_funcs.C (currentState): STRCONV
3759 * buffer.C (readFile): STRCONV
3760 (asciiParagraph): ditto
3761 (makeLaTeXFile): ditto
3763 * Spacing.C (writeEnvirBegin): STRCONV
3765 * LaTeXFeatures.C (getLanguages): STRCONV
3766 (getPackages): ditto
3768 (getBabelOptions): ditto
3769 (getTClassPreamble): ditto
3770 (getLyXSGMLEntities): ditto
3771 (getIncludedFiles): ditto
3775 (scanAuxFile): ditto
3778 * LString.h: add the STRCONV macros
3780 * BufferView_pimpl.C (savePosition): STRCONV
3781 (restorePosition): ditto
3782 (MenuInsertLyXFile): ditto
3784 * vc-backend.C (scanMaster): change from submatch[...] to
3787 * funcrequest.C: include config.h
3789 * factory.C: include config.h
3791 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3793 * box.C: include config.h
3795 * LaTeX.C (scanAuxFile): change from submatch[...] to
3799 2002-10-25 Angus Leeming <leeming@lyx.org>
3801 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3803 * ispell.[Ch] (setError): new method.
3804 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3805 Use setError() insetead of goto END.
3807 * lyx_cb.C (AutoSave): move out child process into new class
3810 2002-10-30 John Levon <levon@movementarian.org>
3812 * text3.C: make start appendix undoable
3814 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3816 * lyxlength.C (inPixels): Fix returned value.
3818 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3821 2002-10-24 Angus Leeming <leeming@lyx.org>
3823 * lyxgluelength.h: no need to forward declare BufferParams
3824 or BufferView, so don't.
3826 2002-10-21 John Levon <levon@movementarian.org>
3828 * BufferView.C: menuUndo ->undo, redo
3830 * BufferView.h: document, remove dead, make some methods private
3832 * paragraph_funcs.h:
3833 * paragraph_funcs.C:
3834 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3839 * sgml.C: move sgml open/close tag into sgml.C
3841 * bufferview_funcs.h: unused prototype
3844 * lyxfunc.C: remove unused
3847 * text.C: remove unused
3849 2002-10-21 John Levon <levon@movementarian.org>
3853 * BufferView_pimpl.h:
3854 * BufferView_pimpl.C: fix mouse wheel handling based on
3855 patch from Darren Freeman
3857 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3859 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3861 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3863 * lyxlength.C (inPixels): Fix hanfling of negative length.
3864 Fix LyXLength::MU case.
3866 2002-10-16 John Levon <levon@movementarian.org>
3868 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3870 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3872 * converter.C (view): add support for $$i (file name) and $$p
3873 (file path) for the viewer command. If $$i is not specified, then
3874 it is appended to the command (for compatibility with old syntax)
3876 2002-10-14 Juergen Vigna <jug@sad.it>
3878 * undo_funcs.C (textHandleUndo): alter the order in which the
3879 new undopar is added to the LyXText, as we have to set first
3880 the right prev/next and then add it as otherwise the rebuild of
3881 LyXText is not correct. Also reset the cursor to the right paragraph,
3882 with this IMO we could remove the hack in "redoParagraphs()".
3884 2002-10-09 Angus Leeming <leeming@lyx.org>
3886 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3887 to turn off an optimisation if a new inset is to be inserted.
3889 2002-10-11 André Pönitz <poenitz@gmx.net>
3891 * lyxtext.h: make some functions public to allow access
3892 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3894 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3896 * text3.C (dispatch): when changing layout, avoid an infinite loop
3899 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3901 * lyxrc.C (read): treat a viewer or converter command of "none" as
3904 * MenuBackend.C (expandFormats): for an update, also allow the
3905 formats that are not viewable
3907 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3908 script if it is newer than the lyxrc.defaults in user directory
3910 2002-10-07 André Pönitz <poenitz@gmx.net>
3912 * text.C: Vitaly Lipatov's small i18n fix
3914 2002-09-25 Angus Leeming <leeming@lyx.org>
3916 * ispell.h: doxygen fix.
3918 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3920 * buffer.h (readFile): Add a new argument to the method, to allow
3921 reading of old-format templates.
3923 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3925 * toc.C (getTocList): Get TOC from InsetWrap.
3927 2002-09-16 John Levon <levon@movementarian.org>
3929 * lyxfunc.C: check tabular for cut/copy too
3931 2002-09-12 John Levon <levon@movementarian.org>
3936 * factory.C: add header
3938 * paragraph_funcs.h:
3939 * paragraph_funcs.C: cleanup
3941 2002-09-11 John Levon <levon@movementarian.org>
3943 * PrinterParams.h: odd/even default to true
3945 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3947 * PrinterParams.h: update printer parameters for new xforms dialog
3949 2002-09-11 Angus Leeming <leeming@lyx.org>
3951 * lyxserver.C (read_ready): re-write to make it more transparent
3952 and to make it work in coherent fashion under Tru64 Unix.
3954 2002-09-11 André Pönitz <poenitz@gmx.net>
3958 * text3.C: implement LFUN_WORDSEL
3960 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3963 make floatlist_ a boost::shared_ptr<FloatList>
3965 * lyxtextclass.C: include FloatList.h
3966 (LyXTextClass): initialize floatlist_
3967 (TextClassTags): add TC_NOFLOAT
3968 (Read): match "nofloat" to TC_NOFLOAT and use it.
3969 (readFloat): modify call to floatlist_
3973 * FloatList.[Ch] (FloatList): remove commented out float
3975 (erase): new function
3977 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3979 * MenuBackend.C (expandToc): fix crash when there is no document
3982 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3984 * many files: Add insetwrap.
3986 2002-09-09 John Levon <levon@movementarian.org>
3988 * text2.C: remove confusing and awkward depth wraparound
3990 2002-09-09 John Levon <levon@movementarian.org>
3992 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3995 * buffer.C: remove getIncludeonlyList()
3998 * lyxfunc.C: remove headers
4000 2002-09-09 Juergen Vigna <jug@sad.it>
4002 * text.C (getColumnNearX): fix form Michael this is most
4003 probably a cut&paste bug.
4005 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4009 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4010 references, ws changes.
4012 * text2.C (init): update counters after init
4013 (insertParagraph): no need to set counter on idividual paragraphs.
4014 (setCounter): access the counters object in the textclass object
4015 on in the buffer object.
4016 (updateCounters): ditto
4018 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4019 shared_ptr<Counters> to avoid loading counters.h in all
4021 (LyXTextClass): initialize ctrs_
4022 (TextClassTags): add TC_COUNTER, and ...
4023 (Read): use it here.
4024 (CounterTags): new tags
4025 (readCounter): new function
4026 (counters): new funtion
4027 (defaultLayoutName): return a const reference
4029 * counters.C (Counters): remove contructor
4030 (newCounter): remove a couple of unneeded statements.
4031 (newCounter): simplify a bit.
4032 (numberLabel): some small formatting changes.
4034 * buffer.[Ch]: remove all traces of counters, move the Counters
4035 object to the LyXTextClass.
4037 2002-09-06 Alain Castera <castera@in2p3.fr>
4039 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4040 package to set the horizontal alignment on fixed width columns.
4043 * lyx_sty.h: added tabularnewline macro def.
4045 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4047 2002-09-06 John Levon <levon@movementarian.org>
4049 * LyXAction.C: tooltips for sub/superscript
4051 * MenuBackend.C: a bit more verbose
4053 * lyxfunc.C: tiny clean
4055 * undo_funcs.C: document undo_frozen
4057 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * counters.C (Counters): add missing algorithm counter.
4061 * text2.C (setCounter): lookup the counter with layouts latexname
4062 instead of by section number.
4063 (setCounter): use a hackish way to lookup the correct enum
4065 a float name->type change
4066 reset enum couners with counter name directly instead of depth value.
4068 * counters.C (Counters): remove the push_backs, change to use the
4069 float type not the float name.
4070 (labelItem): remove unused string, float name->type change
4072 * counters.h: don't include vector, loose the enums and sects vectors
4074 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4077 (Read): add float->TC_FLOAT to textclassTags
4078 (Read): and handle it in the switch
4079 (readFloat): new function
4081 * FloatList.C (FloatList): comment out the hardcoded float
4084 * lyxlayout.h: ws change.
4086 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4088 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4090 2002-09-03 Angus Leeming <leeming@lyx.org>
4092 * BufferView_pimpl.h: qualified name is not allowed in member
4093 declaration: WorkArea & Pimpl::workarea() const;
4095 * factory.C: added using std::endl directive.
4097 * text3.C: added using std::find and std::vector directives.
4099 2002-08-29 André Pönitz <poenitz@gmx.net>
4102 * text2.C: remove unused member number_of_rows
4105 * BufferView2.C: remove file, move contents to...
4106 * BufferView.C: ... here
4108 * BufferView_pimpl.C:
4109 * factory.C: move more inset creation to factory
4111 * vspace.C: avoid direct usage of LyXText, ws changes
4114 don't provide direct access to WorkArea, use two simple
4115 acessors haveSelction() and workHeight() instead
4118 2002-08-29 John Levon <levon@movementarian.org>
4120 * BufferView_pimpl.C (dispatch): do not continue when
4123 2002-08-28 André Pönitz <poenitz@gmx.net>
4125 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4128 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4130 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4132 * buffer.C: increment LYX_FORMAT to 221
4134 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4135 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4137 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4139 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4141 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4143 * factory.C (createInset): use LyXTextClass::floats
4145 * MenuBackend.C (expandFloatListInsert):
4146 (expandFloatInsert):
4149 * text2.C (setCounter):
4151 * LaTeXFeatures.C (useFloat):
4152 (getFloatDefinitions):
4154 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4156 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4157 floatlist_, with accessor floats().
4159 * FloatList.h: remove global FloatList
4161 2002-08-26 André Pönitz <poenitz@gmx.net>
4163 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4167 * BufferView_pimpl.C:
4168 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4170 2002-08-25 John Levon <levon@movementarian.org>
4172 * LyXAction.C: fix margin note description
4174 2002-08-24 John Levon <levon@movementarian.org>
4178 * bufferview_funcs.C:
4180 * undo_funcs.C: cleanups
4182 * lyxfunc.C: disable CUT/COPY when no selection
4184 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4186 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4187 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4189 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4190 Add backward compatibility to "mono", "gray" and "no".
4192 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4194 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4195 (and file_format >= 200).
4197 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4199 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4201 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4203 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4205 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4207 * BufferView_pimpl.C:
4214 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4215 inset and code to make it work with the paragraph code. The inset
4216 can be anywhere in the paragraph, but will only do the expected
4217 thing in LaTeX if the layout file contains the parameter line
4219 (or more generally, a nonzero value) for that layout.
4221 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * paragraph.h: remove the declaration of undefined counters class
4226 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4228 * text2.C (setCounter): fixed enumeration mis-count as reported by
4229 Dr. Richard Hawkins.
4231 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4233 * paragraph_funcs.h: remove some unneeded includes
4235 * text.C (backspace): pasteParagraph now in global scipe
4237 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4238 (pasteSelection): ditto
4240 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4241 * paragraph_funcs.C (pasteParagraph): ... here
4243 2002-08-20 André Pönitz <poenitz@gmx.net>
4245 * commandtags.h: new LFUNs for swapping/copying table row/colums
4248 * lyxfunc.C: support for new lfuns
4250 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * buffer.[Ch]: remove NO_COMPABILITY stuff
4255 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * boost.C (throw_exception): new file, with helper function for
4258 boost compiled without exceptions.
4263 * ParameterStruct.h:
4264 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4266 * bufferlist.C (emergencyWriteAll): use boost bind
4268 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4270 * text.C: include paragraph_funcs.h
4271 (breakParagraph): breakParagraph is now in global scope
4273 * paragraph_funcs.[Ch]: new files
4275 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4278 * buffer.C: include paragraph_funcs.h
4279 (insertStringAsLines): breakParagraph is now in global scope
4281 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4284 * CutAndPaste.C: include paragraph_funcs.h
4285 (cutSelection): breakParagraphConservative is now in global scope
4286 (pasteSelection): ditto
4288 * buffer.h: declare oprator== and operator!= for
4289 Buffer::inset_iterator
4291 * bufferlist.C (emergencyWrite): don't use fmt(...)
4293 * text3.C: add using std::endl
4295 * BufferView.C (moveCursorUpdate): remove default arg
4297 2002-08-20 André Pönitz <poenitz@gmx.net>
4299 * buffer.[Ch]: move inline functions to .C
4302 * BufferView_pimpl.C:
4304 * buffer.[Ch]: use improved inset_iterator
4307 * paragraph.[Ch]: write one paragraph at a time
4309 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4311 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4312 style if style is not specified.
4314 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4316 * text2.C (setCounter): when searching for right label for a
4317 caption, make sure to recurse to parent insets (so that a caption
4318 in a minipage in a figure float works) (bug #568)
4320 2002-08-20 André Pönitz <poenitz@gmx.net>
4322 * text3.C: new file for LyXText::dispatch() and helpers
4324 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4326 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4328 2002-08-19 André Pönitz <poenitz@gmx.net>
4331 * text.C: new LyXText::dispatch()
4333 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4335 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4337 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4339 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4342 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4344 * Makefile.am: use $(variables) instead of @substitutions@
4346 2002-08-15 André Pönitz <poenitz@gmx.net>
4349 * BufferView_pimpl.C: streamlining mathed <-> outer world
4353 * LyXAction.C: remove unused LFUN_MATH
4355 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4359 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * paragraph.C (Paragraph): reformat a bit
4362 (cutIntoMinibuffer): use builtin InsetList function instad of
4366 * buffer.C: include boost/bind.hpp, add using std::for_each
4367 (writeFileAscii): use ParagraphList iterators
4368 (validate): use for_each for validate traversal of paragraphs
4369 (getBibkeyList): use ParagraphList iterators
4370 (resizeInsets): use for_each to resizeInsetsLyXText for all
4372 (getParFromID): use ParagraphList iterators
4374 * BufferView2.C (lockInset): use paragraph list and iterators
4376 2002-08-14 John Levon <levon@movementarian.org>
4378 * lyxserver.C: remove spurious xforms include
4380 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4384 2002-08-13 André Pönitz <poenitz@gmx.net>
4387 * lyxfunc.C: further cleaning
4389 2002-08-13 André Pönitz <poenitz@gmx.net>
4391 * funcrequest.h: new constructor
4393 * funcrequest.C: move stuff here from .h
4396 * BufferView_pimpl.C:
4399 * lyxfunc.C: subsequent changes
4401 * lyxfunc.h: new view() member function
4403 * lyxfunc.C: subsequent changes
4405 2002-08-13 Angus Leeming <leeming@lyx.org>
4408 * BufferView_pimpl.C:
4416 changes due to the changed LyXView interface that now returns references
4417 to member variables not pointers.
4419 2002-08-13 Angus Leeming <leeming@lyx.org>
4421 * WordLangTuple (word, lang_code): return references to strings,
4426 * lyxtext.h: forward-declare WordLangTuple.
4431 * text.C: #include "WordLangTuple.h".
4434 * text.C: (selectNextWordToSpellcheck): constify return type.
4436 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4442 * paragraph_pimpl.h:
4445 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4447 Made updateCounter always count from start of buffer, and removed
4448 second argument (par).
4449 Reverted floats number display to '#'. Perhaps I'll try again when the
4450 code base is sanitized a bit.
4452 2002-08-12 Angus Leeming <leeming@lyx.org>
4454 * buffer.[Ch] (getLabelList): constify.
4456 2002-08-07 André Pönitz <poenitz@gmx.net>
4458 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4460 * funcrequest.h: extension to keep mouse (x,y) position
4462 2002-08-12 Juergen Vigna <jug@sad.it>
4464 * BufferView2.C (insertErrors): forbid undo when inserting error
4467 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4469 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * ParagraphList.[Ch]: new files
4473 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4475 * BufferView2.C (lockInset): ParagraphList changes
4478 * bufferlist.C: ditto
4482 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4485 unused class variable counter_,
4487 * paragraph.[Ch] (getFirstCounter): delete unused function
4489 * counters.C: include LAssert.h
4490 (reset): add a new function with no arg, change other version to
4491 not have def. arg and to not allow empty arg.
4493 * text2.C (setCounter): remove empty arg from call to Counters::reset
4495 2002-08-11 John Levon <levon@movementarian.org>
4497 * Makefile.am: add WordLangTuple.h
4499 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4502 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4504 * insets/insettext.C: InsetList changes
4506 * graphics/GraphicsSupport.C (operator()): InsetList changes
4508 * toc.C (getTocList): InsetList changes
4510 * paragraph_pimpl.[Ch]: InsetList changes
4512 * paragraph.[Ch]: InsetList changes
4514 * buffer.C (inset_iterator): InsetList changes
4515 (setParagraph): ditto
4516 * buffer.h (inset_iterator): ditto
4517 * iterators.C (operator++): ditto
4518 * iterators.h: ditto
4520 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4522 * InsetList.[Ch]: new files, most InsetList handling moved out of
4525 * BufferView2.C (removeAutoInsets): InsetList changes
4527 (ChangeInsets): ditto
4529 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * paragraph_pimpl.h (empty): new function
4533 * paragraph.[Ch] (empty): new function
4535 * other files: use the new Paragraph::empty function
4537 2002-08-09 John Levon <levon@movementarian.org>
4539 * lyxtext.h: remove unused refresh_height
4541 2002-08-09 John Levon <levon@movementarian.org>
4548 * paragraph.C: move sgml char escaping out of paragraph
4551 * paragraph.C: remove id setter
4555 * paragraph_pimpl.C: remove dead tex_code_break_column
4557 * bufferview_funcs.C: small cleanup
4559 * lyxfunc.C: remove dead proto
4561 * lyxtext.h: make some stuff private. Remove some dead stuff.
4563 * lyxgluelength.C: make as[LyX]String() readable
4565 2002-08-08 John Levon <levon@movementarian.org>
4570 * ToolbarDefaults.C:
4573 * toc.C: lyxaction cleanup
4575 2002-08-08 John Levon <levon@movementarian.org>
4577 * BufferView2.C: small cleanup
4580 * lyxfind.C: move unnecessary header into the .C
4582 2002-08-08 John Levon <levon@movementarian.org>
4584 * funcrequest.h: just tedious nonsense
4587 * lyx_main.C: cleanups
4590 * vspace.C: remove dead header lyx_main.h
4592 2002-08-07 Angus Leeming <leeming@lyx.org>
4595 * paragraph_pimpl.h:
4596 Forward declare class Counters in paragraph.h by moving the ctrs member
4597 variable into Paragraph::Pimpl.
4598 (counters): new method, returning a reference to pimpl_->ctrs.
4600 * text2.C: ensuing changes.
4602 2002-08-07 John Levon <levon@movementarian.org>
4604 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4606 * BufferView_pimpl.C: announce X selection on double/triple
4609 * lyx_main.C: use correct bool in batch dispatch
4611 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4613 2002-08-07 André Pönitz <poenitz@gmx.net>
4615 * funcrequest.h: new class to wrap a kb_action and its argument
4618 * BufferView_pimpl[Ch]:
4622 * lyxrc.C: subsequent changes
4625 2002-08-07 John Levon <levon@movementarian.org>
4627 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4628 document options change.
4630 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4635 * makefile.am: move counters functionality over from
4636 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4638 2002-08-06 John Levon <levon@movementarian.org>
4640 * WordLangTuple.h: new file for word + language code tuple
4651 * BufferView2.C: use WordLangTuple
4654 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4656 2002-08-06 John Levon <levon@movementarian.org>
4658 * lyx_main.C: fix cmdline batch handling
4660 2002-08-06 André Pönitz <poenitz@gmx.net>
4662 * lyxrc.C: set default for show_banner to true
4664 2002-08-06 John Levon <levon@movementarian.org>
4666 * pspell.C: fix a crash, and allow new aspell to work
4668 2002-08-06 John Levon <levon@movementarian.org>
4671 * kbmap.C: small cleanup
4674 * vspace.C: add const
4676 2002-08-05 John Levon <levon@movementarian.org>
4678 * LyXAction.C: back to tabular-insert
4680 2002-08-04 John Levon <levon@movementarian.org>
4683 * BufferView.C: cosmetic change
4685 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4695 * BufferView2.C: purge all "Lyx" not "LyX" strings
4698 * lyxcursor.C: attempt to add some documentation
4703 * ToolbarDefaults.C:
4704 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4705 merge with LFUN_TABULAR_INSERT
4712 * pspell.C: split up i/pspell implementations into separate
4713 files, many cleanups
4715 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4717 * text2.C: some cleanup
4719 * lyxfunc.C: don't check for isp_command == "none" any more, it
4720 didn't make any sense
4722 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4727 * makefile.am: move counters functionality over
4728 from text2.C/paragraph.[Ch] to counters.[Ch], and
4730 2002-08-02 John Levon <levon@movementarian.org>
4732 * buffer.C: s/lyxconvert/lyx2lyx/
4734 2002-08-02 Angus Leeming <leeming@lyx.org>
4736 * lyxlex.C: revert John's change as it breaks reading of the user
4739 2002-08-02 Angus Leeming <leeming@lyx.org>
4741 * importer.C (Import):
4742 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4743 changes due to LyXView::view() now returning a boost::shared_ptr.
4745 2002-08-02 John Levon <levon@movementarian.org>
4747 * lyxlex.C: small cleanup
4749 2002-08-02 John Levon <levon@movementarian.org>
4751 * text2.C (status): small cleanup, no logic change
4753 2002-08-01 John Levon <levon@movementarian.org>
4756 * buffer.C (writeFile): don't output alerts, caller
4760 * lyx_cb.C: from above
4762 * lyxfunc.C: allow to open non-existent files
4764 2002-07-31 John Levon <levon@movementarian.org>
4766 * lyxserver.C: don't let incidental errors get
4769 2002-07-30 John Levon <levon@movementarian.org>
4771 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4773 2002-07-30 John Levon <levon@movementarian.org>
4776 * lyxserver.C: remove I/O callback too
4778 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4780 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4783 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * many files: strip,frontStrip -> trim,ltrim,rtrim
4787 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * PrinterParams.h: remove extern containsOnly, and include
4790 support/lstrings.h instead.
4792 * LaTeX.C (scanAuxFile): modify because of strip changes
4794 * buffer.C (makeLaTeXFile): ditto
4795 * bufferparams.C (writeFile): ditt
4796 * lyxfont.C (stateText): ditto
4797 * lyxserver.C (read_ready): ditto
4798 * vc-backend.C (scanMaster): ditto
4800 * BufferView_pimpl.h: ws changes
4802 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4804 2002-07-26 André Pönitz <poenitz@gmx.net>
4806 * kb_sequence.C: remove unnedred usings
4808 2002-07-26 Juergen Vigna <jug@sad.it>
4810 * lyxfind.C (LyXReplace): we have to check better if the returned
4811 text is not of theLockingInset()->getLockingInset().
4813 2002-07-25 Juergen Vigna <jug@sad.it>
4815 * lyxfind.C (LyXReplace): don't replace if we don't get the
4818 * undo_funcs.C (createUndo): remove debugging code.
4820 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4822 * buffer.C (parseSingleLyXformat2Token): Use default placement
4823 when reading old floats.
4825 * FloatList.C (FloatList): Change the default placement of figure
4826 and tables to "tbp".
4828 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4830 * MenuBackend.C: using std::max
4832 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4834 * MenuBackend.C (expandToc):
4835 (expandToc2): code moved from xforms menu frontend. It is now
4836 generic and TOCs are transparent to menu frontends.
4838 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * toc.C (getTocList): protect against buf=0
4842 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4843 Menu as first parameter. Now, this calls itself recursively to
4844 expand a whole tree (this will be useful for TOC handling)
4845 (expandFloatInsert): remove 'wide' version of floats
4847 * MenuBackend.h (submenuname): returns the name of the submenu.
4848 (submenu): returns the submenu itself, provided it has been
4849 created by MenuBackend::expand
4851 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4853 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4854 insets which have noFontChange == true. (bug #172)
4856 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4858 * BufferView_pimpl.C: add connection objects and use them...
4861 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4863 * MenuBackend.C (expandLastfiles):
4866 (expandFloatListInsert):
4867 (expandFloatInsert):
4868 (expand): split expand in parts
4870 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4872 * lyx_gui.C: use lyx_gui::exit()
4874 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4876 * LyXAction.C: show the failing pseudo action
4878 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4880 * buffer.C (readFile): Run the lyxconvert script in order to read
4883 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4887 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4889 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4893 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4895 2002-07-22 Herbert Voss <voss@lyx.org>
4898 * lyxlength.[Ch]: add support for the vertical lengths
4900 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4902 * toc.[Ch]: std:: fixes
4904 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4906 * lyxrc.C: do not include lyx_main.h
4908 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4914 * BufferView2.C: include "lyxlex.h"
4917 * bufferparams.h: do not #include "lyxlex.h"
4919 * lyxtextclasslist.C (Add): remove method
4920 (classlist): renamed to classlist_
4922 * paragraph_pimpl.C:
4926 * bufferview_funcs.C:
4931 * toc.C (getTocList): use BufferParams::getLyXTextClass
4933 * toc.C (getTocList): use InsetFloat::addToToc
4935 * toc.[Ch]: new files, containing helper functions to handle table
4938 * lyxfunc.C (dispatch): no need to remove spaces around command
4940 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4941 first command of the sequence; it is not very clever, but I do not
4942 have a better idea, actually
4944 * LyXAction.C (LookupFunc): make sure to remove space at the
4945 beginning and end of the command
4947 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4949 * MenuBackend.C (getMenubar): new method: return the menubar of
4951 (read): treat differently reading of menu and menubar (in
4952 particular, the menubar has no name now)
4953 (Menu::menubar): remove
4955 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4958 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4960 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4961 a bibitem inset in a RTL paragraph.
4963 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4965 * paragraph_pimpl.C: constify
4967 * BufferView_pimpl.C:
4969 * lyxfunc.C: fix dispatch in a nicer way
4971 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4973 * lyxfunc.C (dispatch):
4974 * BufferView_pimpl.C:
4975 * BufferView_pimpl.h:
4977 * BufferView.h: rename Dispatch() to dispatch()
4979 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4981 * lyxlayout.C (Read): honor DependsOn tag
4983 * lyxlayout.[Ch] (depends_on): new method
4985 * version.C.in: update lyx_docversion
4987 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4989 * paragraph.C (validate): remove from here...
4990 * paragraph_pimpl.C (validate): ... and move here
4991 (isTextAt): make it const
4993 * buffer.C (getLists): ws cleanup
4995 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4997 * language.C (read): Use iso8859-1 encoding in latex_lang
4998 (this prevents LyX from crashing when using iso10646-1 encoding).
5000 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5002 * text2.C (toggleInset): if cursor is inside an inset, close the
5003 inset and leave cursor _after_ it
5005 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5007 * lyxfunc.C: move minibuffer completion handling out of here
5009 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5011 * BufferView_pimpl.C:
5012 * LaTeX.C: fix dispatch calls
5014 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5016 * text.C (drawChars): Fix Arabic text rendering.
5018 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5022 * lyxfunc.C: remove message-push/pop
5026 * lyxfunc.C: rationalise some code by removing verboseDispatch
5027 in favour of a bool argument to dispatch()
5029 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5031 * lyx_main.C (init): make sure to read symlinks as absolute paths
5033 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5036 * lyxfunc.C: no need for commandshortcut to be a member
5038 2002-07-15 André Pönitz <poenitz@gmx.net>
5040 * converter.C: add support for $$s (scripts from lib/scripts dir)
5041 * lyx_main.C: white space
5043 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5047 * lyxrc.C: remove second exit confirmation
5049 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5054 * BufferView_pimpl.h:
5055 * BufferView_pimpl.C:
5056 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5058 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5060 * MenuBackend.C (expand): add numeric shortcuts to document menu
5062 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5064 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5066 * lyxfont.C (setLyXFamily):
5073 * buffer.C (asciiParagraph): use ascii_lowercase
5075 2002-07-15 Mike Fabian <mfabian@suse.de>
5077 * lyxlex_pimpl.C (search_kw):
5078 * lyxlex.C (getLongString):
5079 * converter.h (operator<):
5080 * converter.C (operator<):
5081 * buffer.C (parseSingleLyXformat2Token):
5083 * ToolbarDefaults.C (read):
5084 * MenuBackend.C (checkShortcuts):
5086 * LColor.C (getFromGUIName):
5087 (getFromLyXName): use the compare_ascii_no_case instead of
5088 compare_no_case, because in turkish, 'i' is not the lowercase
5089 version of 'I', and thus turkish locale breaks parsing of tags.
5091 2002-07-16 Angus Leeming <leeming@lyx.org>
5093 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5094 now takes a Buffer const & argument.
5096 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5098 * BufferView.C (resize): check there's a buffer to resize
5100 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5102 * lyxfunc.C: remove dead code
5105 * lyxserver.C: use lyx_guii::set_read_callback
5107 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5109 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5110 an inset in a RTL paragraph.
5112 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5114 * lyxfunc.C: repaint after a font size update
5116 2002-07-15 André Pönitz <poenitz@gmx.net>
5118 * lyxlength.C: inBP should be able to return negative values
5120 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5122 * lyxfunc.C: use lyx_gui::update_fonts()
5124 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5126 * lyxfunc.C: use lyx_gui::update_color()
5128 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5134 * lyxrc.C: remove file->new asks for name option, and let
5135 buffer-new take an argument
5137 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5139 * BufferView_pimpl.C: remove unneeded extra repaint()
5141 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5143 * LyXAction.C: allow command-sequence with NoBuffer
5145 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5147 2002-07-10 Angus Leeming <leeming@lyx.org>
5149 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5151 2002-07-09 Angus Leeming <leeming@lyx.org>
5153 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5155 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5157 * lengthcommon.h: whitespace
5159 * lyxfunc.C: update scrollbar after goto paragraph
5161 * lyxtext.h: factor out page break drawing, and fix it so
5162 page break/added space paints as selected nicely
5164 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5166 * BufferView_pimpl.C: add FIXMEs, clean up a little
5168 2002-07-09 André Pönitz <poenitz@gmx.net>
5170 * lyxfont.[Ch]: support for wasy symbols
5172 2002-07-08 André Pönitz <poenitz@gmx.net>
5174 * BufferView_pimpl.C: apply John's patch for #93.
5176 2002-07-05 Angus Leeming <leeming@lyx.org>
5178 * BufferView_pimpl.C (buffer): generate previews if desired.
5180 * LColor.h: add "preview" to the color enum.
5182 * LColor.C (LColor): add a corresponding entry to the items array.
5184 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5187 2002-07-05 Angus Leeming <leeming@lyx.org>
5189 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5190 The body of the code is now in the method that is passed an ostream &
5191 rather than a file name.
5192 Pass an additional only_preamble parameter, useful for the forthcoming
5195 2002-07-03 André Pönitz <poenitz@gmx.net>
5197 * lyxfunc.C: simplify getStatus() a bit for math stuff
5199 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5201 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5203 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5205 * text.C (changeRegionCase): do not change case of all the
5206 document when region ends at paragraph end (bug #461)
5208 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5210 * paragraph.C (startTeXParParams):
5211 (endTeXParParams): add \protect when necessary
5213 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * BufferView_pimpl.C (workAreaExpose): remove warning
5217 2002-06-27 Angus Leeming <leeming@lyx.org>
5219 * Makefile.am: add lyxlayout_ptr_fwd.h.
5221 2002-06-26 André Pönitz <poenitz@gmx.net>
5223 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5225 2002-06-25 Angus Leeming <leeming@lyx.org>
5227 * lyxfunc.C (dispatch): Comment out the call to
5228 grfx::GCache::changeDisplay. The method no longer exists now that the
5229 pixmap generation part of the graphics loader has been moved into
5232 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5234 * text2.C: layout as layout
5236 * text.C: layout as layout
5238 * tabular.C (OldFormatRead): layout as layout
5240 * paragraph_pimpl.C (TeXDeeper): layout as layout
5241 (realizeFont): layout as layout
5243 * paragraph.C (writeFile): layout as layout
5244 (validate): layout as layout
5245 (getFont): layout as layout
5246 (getLabelFont): layout as layout
5247 (getLayoutFont): layout as layout
5248 (breakParagraph): layout as layout
5249 (stripLeadingSpaces): layout as layout
5250 (getEndLabel): layout as layout
5251 (getMaxDepthAfter): layout as layout
5252 (applyLayout): layout as layout
5253 (TeXOnePar): layout as layout
5254 (simpleTeXOnePar): layout as layout
5255 (TeXEnvironment): layout as layout
5256 (layout): layout as layout
5257 (layout): layout as layout
5259 * lyxtextclass.C (compare_name): new functor to work with
5260 shared_ptr, layout as layout
5261 (Read): layout as layout
5262 (hasLayout): layout as layout
5263 (operator): layout as layout
5264 (delete_layout): layout as layout
5265 (defaultLayout): layout as layout
5267 * lyxlayout_ptr_fwd.h: new file
5269 * lyxlayout.C (Read): layout as layout
5271 * lyx_cb.C (MenuInsertLabel): layout as layout
5273 * bufferlist.C (newFile): layout as layout
5275 * buffer.C (readLyXformat2): layout as layout
5276 (parseSingleLyXformat2Token): layout as layout
5277 (insertStringAsLines): layout as layout
5278 (asciiParagraph): layout as layout
5279 (latexParagraphs): layout as layout
5280 (makeLinuxDocFile): layout as layout
5281 (simpleLinuxDocOnePar): layout as layout
5282 (makeDocBookFile): layout as layout
5283 (simpleDocBookOnePar): layout as layout
5284 (getLists): layout as layout
5286 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5288 * CutAndPaste.C (cutSelection): layout as layout
5289 (pasteSelection): layout as layout
5290 (SwitchLayoutsBetweenClasses): layout as layout
5292 * BufferView_pimpl.C (Dispatch): layout as layout
5293 (smartQuote): layout as layout
5295 * BufferView2.C (unlockInset): layout as layout
5297 2002-06-24 André Pönitz <poenitz@gmx.net>
5299 * lyxfunc.C: fix #487
5301 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5305 * lyxfunc.C: remove display_shortcuts, show_banner
5307 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5309 * Buffer_pimpl.C: oops, update on resize
5311 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5318 * BufferView.C: use repaint()
5320 * BufferView_pimpl.h:
5321 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5322 as it's a clearer description. Remove superfluous
5325 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5327 * text.C: fix bug 488. Not ideal, but getting
5328 getWord() to work properly for the insets that
5329 matter is more difficult ...
5331 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5333 * BufferView_pimpl.C:
5336 * lyxfunc.C: remove the six million index lyxfuncs to just
5337 one, and DTRT (bug 458)
5339 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5343 * BufferView_pimpl.h:
5344 * BufferView_pimpl.C: clean up resize() stuff,
5345 and unnecessary updateScreen()s
5347 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5351 * BufferView_pimpl.h:
5352 * BufferView_pimpl.C:
5355 * minibuffer.C: remove focus management of workarea,
5356 not needed. Use screen's greyOut()
5358 2002-06-17 Herbert Voss <voss@lyx.org>
5360 * converter.C: (convert) do not post a message, when converting
5361 fails, let the calling function decide what to do in this case
5363 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5365 * lyxfunc.C: tidy up a little
5367 2002-06-16 <alstrup@diku.dk>
5369 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5370 Got rid of FORMS_H_LOCATION include. Now we are
5373 2002-06-15 LyX Development team <lyx@rilke>
5375 * buffer.[Ch] (sgmlOpenTag):
5376 (sgmlCloseTag): Added support for avoiding pernicious mixed
5377 content. Return number of lines written.
5380 (makeDocBookFile): Fixed calls to sgml*Tag.
5381 Simple white space clean.
5383 (simpleDocBookOnePar): Simple white space clean.
5385 * tabular.[Ch] (docBook): Renamed to docbook and got another
5386 argument to related with the pernicious mixed content.
5388 (docbookRow): Fixed calls for docbook inset method.
5390 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5392 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5393 so it's X11 independent.
5397 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5399 2002-06-15 Lyx Development team <lyx@electronia>
5401 * intl.h: Renamed getTrans to getTransManager.
5403 2002-06-14 Angus Leeming <leeming@lyx.org>
5405 * Makefile.am: nuke forgotten stl_string_fwd.h.
5407 2002-06-12 Angus Leeming <leeming@lyx.org>
5409 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5411 2002-06-13 Angus Leeming <leeming@lyx.org>
5414 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5416 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5418 * kbmap.C (getiso): add support for cyrillic and greek
5420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5424 * BufferView_pimpl.h:
5425 * BufferView_pimpl.C: move bogus scrolling logic
5428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5431 * BufferView_pimpl.C: view->resize() change
5433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5435 * BufferView_pimpl.C: topCursorVisible
5438 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5442 * lyx_gui.C: move to frontends/
5446 * lyx_main.C: changes from above
5448 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5455 * lyx_main.C: minor tidy
5457 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5459 * BufferView_pimpl.h:
5460 * BufferView_pimpl.C:
5462 * BufferView.C: make painter() const,
5465 * BufferView2.C: use screen() accessor
5468 * lyx_main.C: some minor cleanup
5470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5472 * BufferView_pimpl.h:
5473 * BufferView_pimpl.C: remove enter/leaveView,
5476 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5481 * BufferView_pimpl.h:
5482 * BufferView_pimpl.C: only construct screen once,
5485 * lyxrc.C: remove pointless comment
5487 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5490 * BufferView.C: remove active() and belowMouse()
5492 * BufferView_pimpl.h:
5493 * BufferView_pimpl.C: use workarea() not workarea_,
5494 and make it use a scoped_ptr instead
5496 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5498 * lyx_gui.C: add debug message on BadWindow
5500 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5502 * sp_spell.C: fdopen is not part of the C++ standard.
5504 * paragraph.C (InsetIterator): use >= instead of ==
5506 2002-06-07 Angus Leeming <leeming@lyx.org>
5508 Fixes needed to compile with Compaq cxx 6.5.
5509 * BufferView_pimpl.C:
5516 * lyxtextclasslist.C:
5521 all c-library variables have been moved into namespace std. Wrap
5522 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5527 Add a using std::abs declaration.
5529 * kbmap.h (modifier_pair):
5530 * paragraph.h (InsetTable, InsetList):
5531 * lyxfont.h (FontBits):
5532 type definition made public.
5534 * bufferlist.C (emergencyWriteAll): the compiler complains that
5535 there is more than one possible lyx::class_fun template to choose from.
5536 I re-named the void specialisation as lyx::void_class_fun.
5538 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5540 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5541 the compiler is is unable to find tostr in write_attribute.
5543 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5545 * buffer.C (sgmlError): hide #warning
5547 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5549 * xtl/*: get rid of xtl, which is not in use anyway
5551 * LyXAction.C (init):
5552 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5553 were unimplemented xtl experimentation
5555 2002-06-04 André Pönitz <poenitz@gmx.net>
5557 * lyxfunc.C: disable array operation on simple formulae
5559 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5561 * converter.C: constify a bit
5563 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5565 * lyx_gui.C: check xforms version correctly
5567 2002-04-30 Herbert Voss <voss@lyx.org>
5569 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5572 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5574 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5575 attempt to register it with a VCS)
5577 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5579 * lyx_main.C (init): honor variables LYX_DIR_13x and
5582 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5586 * lyx_main.C: fix a crash on bad command line,
5587 and give a useful exit status on error
5589 * lyxfunc.C (doImport): allow -i lyx to work
5591 2002-03-30 André Pönitz <poenitz@gmx.net>
5593 * lyxfunc.C: mathed font changes
5595 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5610 * trans_mgr.h: srcdocs, and some minor cleanups
5612 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5614 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5615 call getFont all the time)
5617 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5619 * switch from SigC signals to boost::signals
5621 2002-05-29 André Pönitz <poenitz@gmx.net>
5623 * paragraph_pimpl.C (getChar): don't call size() too often...
5625 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5627 * paragraph_pimpl.C (insertChar): do not try to update tables when
5628 appending (pos == size())
5630 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5631 in order to reduce drastically the number of comparisons needed to
5632 parse a large document
5634 2002-05-29 André Pönitz <poenitz@gmx.net>
5640 * textclasslist.[Ch]:
5641 * sp_ispell.h: whitespace change
5643 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5645 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5646 lyxaction directly now.
5648 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5652 * lyxvc.C: remove unused headers
5654 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5661 * undo_funcs.C: some cleanups. Use shared_ptr
5662 and a template for the undo stacks.
5664 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5666 * BufferView_pimpl.h:
5667 * BufferView_pimpl.C:
5674 * text2.C: use key_state/mouse_state
5676 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5678 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5681 * chset.C: change include order
5682 (loadFile): use boost regex and get rid of LRegex and LSubstring
5684 * Makefile.am (BOOST_LIBS): new variable
5687 * LaTeX.C: change include order.
5688 (scanAuxFile): use boost regex and get rid of LRegex and
5692 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5697 * FontInfo.C: moved to frontends/xforms/
5700 * FontLoader.C: moved into frontends for GUIIzation
5705 * lyxfunc.C: changes from above
5707 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5709 * LColor.C: remove spurious X include
5711 * BufferView_pimpl.C:
5716 * text2.C: move font metrics to frontends/
5718 2002-05-24 Juergen Vigna <jug@sad.it>
5720 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5721 setting the undo_cursor.
5723 * ParagraphParameters.h: include local includes first.
5725 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5727 * BufferView_pimpl.C:
5728 * BufferView_pimpl.h:
5732 * screen.C: move WorkArea into frontends/
5738 * BufferView2.C: move LyXScreen into frontends/
5742 * lyx_gui.C: move lyxlookup into frontends/xforms/
5744 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5747 * BufferView_pimpl.C:
5757 * bufferview_funcs.C:
5770 * vc-backend.C: move LyX/XFormsView into frontends/
5772 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5784 * text2.C: move Painter to frontends/
5786 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * buffer.C: comment out some some code that depend upon lyx_format
5791 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5792 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5794 * buffer.h (NO_COMPABILITY): turn off compability
5796 * ColorHandler.C: include scoped_array.hpp
5798 * font.C: Use more specific smart_ptr header.
5801 * ShareContainer.h: ditto
5805 * BufferView_pimpl.h: ditto
5806 * ColorHandler.h: ditto
5808 * kbmap.C (defkey): change call to shared_ptr::reset
5810 2002-05-21 Juergen Vigna <jug@sad.it>
5812 * buffer.C (insertErtContents): fix to insert ert asis if it is
5813 non empty. Skip it completely if it contains only whitespaces.
5815 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5817 * BufferView_pimpl.C:
5818 * BufferView2.C: clear selection on paste (bug 393)
5820 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5822 * DepTable.C: include ctime
5824 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5826 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5828 2002-05-14 Juergen Vigna <jug@sad.it>
5830 * text.C (breakParagraph): fixed function to honor the keepempty
5831 layout in the right maner and also to permit the right breaking
5832 algorithm on empty or non empyt keepempty paragraphs.
5834 * paragraph.C (breakParagraph): we have to check also if the par
5835 is really empty (!size()) for isempty otherwise we do the wrong
5838 2002-05-10 Juergen Vigna <jug@sad.it>
5840 * buffer.[Ch] : The following are only changes to the ert
5841 compatibility read reading old LaTeX layout and font stuff and
5842 convert it to ERTInsets.
5844 * buffer.h: added isErtInset().
5846 * buffer.C (struct ErtComp): add a fromlayout bool to check
5847 if we're inside a LaTeX layout.
5848 (isErtInset): new helper function.
5849 (insertErtContents): look for other ert insets before this one
5850 and insert the contents there, so that we don't have subsequent
5851 ERT insets with nothing between them. This way we create only one
5852 inset with multiple paragraphs. Also check if we don't insert only
5853 spaces ' ' as they are ignored anyway afterwards in the .tex file
5854 so if we have only spaces we will ignore this latex part in the
5856 (parseSingleLyXformat2Token \\layout): better compatibility when
5857 reading layout-latex stuff.
5858 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5860 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5861 stuff after reading the inset only get the information back from
5864 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5866 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5868 * LaTeXFeatures.C (getBabelOptions): New method.
5870 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5872 * BufferView_pimpl.C (Dispatch): work around missing argument for
5875 2002-05-08 Juergen Vigna <jug@sad.it>
5877 * text.C (leftMargin): handle paragraph leftindent.
5879 * paragraph.C (writeFile): write the new \\leftindent tag.
5880 (validate): handle leftindent code.
5881 (TeXEnvironment): handle paragraphleftindent code again.
5883 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5885 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5886 for paragrap_extra indent code and new token \\leftindent.
5887 (latexParagraphs): handle the leftindent as environment.
5889 * ParameterStruct.h: added leftindent support.
5891 * ParagraphParameters.C (leftIndent): added support functions for
5892 the paragraph left indent.
5894 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5897 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5899 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5902 * text.C (computeBidiTables): No bidi in insetERT.
5904 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5907 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5909 * version.C.in: pre 5
5911 2002-05-02 José Matos <jamatos@fep.up.pt>
5912 * buffer.C (makeDocBookFile): white space changes, add newline to
5914 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5916 * tabular.C (docBook): fix typo.
5918 2002-05-03 Juergen Vigna <jug@sad.it>
5920 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5921 change in LyXText as we can not be sure it was not freed.
5922 (drawOneRow): remove unused code.
5924 * text.C (drawInset): redo the calculation of the need_break_row as
5925 it could have a row which was already freed.
5926 (draw): look at the return value of drawInset and return false if
5927 it also returned false.
5928 (paintRowText): look at the return value of draw and return false if
5929 it also returned false.
5931 * lyxtext.h: added bool return type to drawInset() and draw() so that
5932 if we have a change in the row so that the rowbreak has to be redone
5933 we abort drawing as it will be called again.
5935 2002-05-02 Juergen Vigna <jug@sad.it>
5937 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5938 a change in the maintext also if we're inside an inset.
5939 (Dispatch): set the cursor again after a break line and after the
5940 screen has been updated as it could be we're in a different row.
5942 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5943 to set the cursor behind the pargraph with > size().
5944 (setCursor): check also for the same paragraph when checking where
5945 to put the cursor if we have a NFR inset.
5947 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5948 parts of layout read further up as it still was in the wrong
5951 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5953 * screen.C (drawFromTo): change sine fullRebreak always return
5956 * buffer.C (parseSingleLyXformat2Token): reindent some
5958 * BufferView_pimpl.C (update): change since fullRebreak always
5960 (Dispatch): git rid of the last hardcoded "Standard"s.
5962 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5964 * text2.[Ch] (fullRebreak): make it return void now that we always
5967 2002-04-30 Juergen Vigna <jug@sad.it>
5969 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5970 ert compatibility check for "latex" layout.
5972 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5974 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5975 minipages: use col% instead of p%, and also use the current font.
5976 (makeLaTeXFile): Fix use babel condition.
5977 (parseSingleLyXformat2Token): Correct font when reading old floats.
5979 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5981 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5982 inserting list of floats.
5984 2002-04-25 Herbert Voss <voss@lyx.org>
5986 * MenuBackend.C (expand): don't add the graphics extensions to the
5989 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5992 non-existing layout, do not complain if it was the default layout
5993 of the original class (bug #342)
5995 2002-04-24 Juergen Vigna <jug@sad.it>
5997 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5998 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6000 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6002 * buffer.C (getBibkeyList): If using \bibliography, return the
6003 option field with the reference itself. Enables us to provide natbib
6004 support when using \bibliography.
6006 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6008 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6010 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6011 natbib is provided by the LaTeX class.
6013 2002-04-23 Juergen Vigna <jug@sad.it>
6015 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6018 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6020 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6024 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6025 ensuremath around textordmasculine, textordfeminine and
6028 2002-04-19 Juergen Vigna <jug@sad.it>
6030 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6031 reinitializing the buffer otherwise row-dimensions may be wrong.
6032 (update): reset also the selection cursors if they do exits otherwise
6033 their x/y positions may be wrong.
6035 * text2.C (cursorDown): don't enter the inset if we came from a row
6036 above and are one row over the inset.
6038 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6039 really leaving an inset.
6041 2002-04-18 Juergen Vigna <jug@sad.it>
6043 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6044 of the selected paragraph does not have the selected layout also if
6047 * text2.C (setLayout): fixed bug which did not change last selected
6050 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6051 changed the read and substituted \\end_float with \\end_inset!
6053 * BufferView_pimpl.C (cursorPrevious):
6054 (cursorNext): fixed to make it work with rows heigher than the work
6055 area without moving the cursor only the draw of the row.
6056 (workAreaMotionNotify): fix jumping over high rows.
6058 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6060 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6063 2002-04-16 Juergen Vigna <jug@sad.it>
6065 * text2.C (setCursor): set also the irow().
6066 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6068 (cursorDown): support for locking an inset if the x_fix value goes
6069 inside it. That way I can transverse insets too with cursor up/down.
6071 * lyxrow.h: added irow helper function same as other (i) functions.
6073 * BufferView_pimpl.C (cursorPrevious):
6074 (cursorNext): fixed for insets!
6076 2002-04-15 Juergen Vigna <jug@sad.it>
6078 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6079 position otherwise it is wrong in some cases.
6081 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6082 inside the inset before the call.
6084 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6086 * buffer.[Ch] (getBibkeyList): make it const.
6088 2002-04-12 Juergen Vigna <jug@sad.it>
6090 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6092 * text2.C (getCursorX): new helper function
6093 (setCursor): compute also ix_
6094 (setCursorFromCoordinates): set also ix.
6096 * lyxcursor.h: added ix_ and helper functions.
6098 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6100 * buffer.C (insertStringAsLines): dont break paragraph if the this
6101 paragraph is inside an inset which does not permit it!
6103 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6104 also with no chars on this paragraph.
6105 (paintRowText): only paint stuff if it's inside the workarea!
6107 * paragraph.C (breakParagraph): honor keepempty flag and break the
6108 paragraph always below not above.
6110 * BufferView2.C (unlockInset): update the paragraph layout on inset
6111 unlock as we changed paragraph in such a case.
6113 * lyxfind.C (LyXFind): clear the former selection if not found!
6115 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6116 again called in insertChar().
6118 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6119 an inset which uses the whole row!
6120 (rightMargin): ditto.
6121 (insertChar): force a rebreak if we inserted an inset!
6123 2002-03-28 Herbert Voss <voss@lyx.org>
6125 * lyxlength.[Ch]: add inBP() to get the right PS-point
6126 units (BigPoint). With inPixels we have rounding errors
6128 2002-04-11 Juergen Vigna <jug@sad.it>
6130 * text2.C (setCursorFromCoordinates): set iy to the right value.
6131 (setCursor): add check if row->previous exists!
6133 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6134 an old float_type as this was the case in the old code!
6136 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6138 * BufferView2.C (showLockedInsetCursor): use iy
6139 (fitLockedInsetCursor): ditto
6141 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6142 locked insets as there we have the right value now.
6144 * lyxcursor.C: added iy_ variable and iy functions to set to the
6145 baseline of cursor-y of the locked inset.
6147 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6148 (setCursor): fixed for insets which need a full row.
6150 * text.C (rowLastPrintable): don't ignore the last space when before
6151 an inset which needs a full row.
6152 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6153 as last character of a row when before a inset which needs a full row.
6155 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6157 * version.C.in: update date
6159 * text2.C (fullRebreak): try to always return true and see what
6162 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * MenuBackend.C (expand): use Floating::listName
6166 * FloatList.C (FloatList): add listName argument to the built-in
6169 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6170 text associated with the float.
6172 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6174 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6176 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * ShareContainer.h: add a couple of missing typenames.
6180 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6182 * lyxrc.C (getDescription): use _() correctly rather than N_().
6184 2002-03-28 Herbert Voss <voss@lyx.org>
6186 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6187 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6189 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6192 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6194 2002-03-29 Juergen Vigna <jug@sad.it>
6196 * lyxfunc.C (dispatch): add a missing fitCursor call.
6198 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6199 it was scrolled by a cursor move, so return the bool status.
6201 * BufferView.C (fitCursor): return the bool flag also to the outside
6202 world as this is needed.
6204 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6206 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6207 call the edit() as it is not needed (and wrong) IMO.
6208 (workAreaButtonPress): set the screen_first variable before evt.
6209 unlock the inset as this may change screen_first and then we have
6210 a wrong y position for the click!
6212 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6214 * MenuBackend.C (expand): another translation that I missed
6216 2002-03-28 Juergen Vigna <jug@sad.it>
6218 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6220 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6222 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6226 * MenuBackend.C (expand): fix export/view/update when there is no
6229 2002-03-27 Herbert Voss <voss@lyx.org>
6231 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6234 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6236 * bufferview_funcs.C (currentState): only show paragraph number
6237 for is DEVEL_VERSION is set.
6239 * lyxfunc.C (dispatch): put warning in INFO channel
6241 * MenuBackend.C (expand): translate the name of floats
6243 * FloatList.C (FloatList): mark the float names for translation
6245 * converter.C (convert): use LibScriptSearch
6247 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6249 * MenuBackend.C (defaults): fix default menu (we might as well get
6252 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6257 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6259 * lyxvc.C: reorder includes.
6261 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6263 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6266 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6268 * CutAndPaste.C: change layouts earlier on paste
6269 to avoid crashing when calling getFont()
6271 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6273 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6276 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6278 * WorkArea.C: remove 'Pending' debug message.
6280 * most files: ws cleanup
6282 * buffer.[Ch]: ws changes
6284 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6286 2002-03-21 Juergen Vigna <jug@sad.it>
6288 * tabular.C (SetMultiColumn): collapse also the contents of the
6289 cells and set the last border right. Added a Buffer const * param.
6291 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6293 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6296 2002-03-19 Juergen Vigna <jug@sad.it>
6298 * text2.C (clearSelection): reset also xsel_cache.
6300 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6301 where it needs to be called (John tells us to do so too :)
6302 (selectionLost): reset sel_cache.
6304 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6306 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6308 * text2.C (setCursorIntern): put debuging code in INSETS channel
6310 2002-03-19 André Pönitz <poenitz@gmx.net>
6312 * lyxfunc.C: tiny whitespace change
6314 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6316 * ToolbarDefaults.C (init):
6317 * LyXAction.C (init):
6319 * BufferView_pimpl.C (Dispatch):
6320 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6322 2002-03-19 Allan Rae <rae@lyx.org>
6324 * exporter.C (Export): removeAutoInsets before doing anything else.
6325 While I've just introduced a dependency on BufferView this really is
6326 the best place to clean the buffer otherwise you need to cleanup in
6327 a dozen places before calling export or cleanup in a dozen functions
6330 * converter.C (runLaTeX):
6331 (scanLog): Better handling of removeAutoInsets and screen updates.
6333 * lyxfunc.C (dispatch): small whitespace changes
6335 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6337 * WorkArea.C (C_WorkAreaEvent): return a value.
6338 (event_cb): return 1 if we handled the event, 0 otherwise.
6340 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6342 2002-03-18 Juergen Vigna <jug@sad.it>
6344 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6345 (GetAdditionalWidth): ditto.
6349 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6350 inset if we're there actually (probably not used right now but this
6351 is the direction to go for unifying code).
6352 (paste): disable code to clear the selection.
6354 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6355 inside an InsetText and move the check further up as it is in the
6358 * text2.C (pasteSelection): set a selection over the pasted text.
6360 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6362 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6363 and libgraphics to build on Cygwin.
6365 2002-03-15 Juergen Vigna <jug@sad.it>
6367 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6368 inserting an Inset into the paragraph. I know this is not the best
6369 fix but we already use current_view in CutAndPaste so we will remove
6370 all of it's using at the same time.
6372 * buffer.C (sgmlError): deactivated function till it is rewritten in
6373 the right mode, now it can create problems.
6375 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6376 before accessing it.
6378 2002-03-14 Juergen Vigna <jug@sad.it>
6380 * undo_funcs.C (textHandleUndo): do the right thing when updating
6381 the inset after the undo/redo.
6383 * text2.C (setCursor): just some testcode for #44 not ready yet.
6385 * undo_funcs.C (textHandleUndo): set the next() and previous()
6386 pointers of the paragraph to 0 before deleting otherwise we have
6387 problems with the Paragraph::[destructor].
6389 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6390 on a paragraph insertion.
6392 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6394 * buffer.C (asciiParagraph): use += operator for char append to
6397 * paragraph.C (getFontSettings): compare >= not just >
6398 (highestFontInRange): ditto
6401 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6403 * paragraph.C: change several algorithm to be more appripriate for
6404 the problem domain. This is lookip in FontList and in the InsetList.
6406 2002-03-13 André Pönitz <poenitz@gmx.net>
6409 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6411 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6416 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6418 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6420 * Painter.C (display): anon helper function, adjust code for this
6422 (pixmap): remove function.
6424 * Painter.h: remove private display variable.
6426 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6428 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6430 * WorkArea.[Ch]: remove figinset_canvas cruft.
6432 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6434 * lyxtextclass.C (operator): add one item cache optimization.
6436 * bufferlist.h: doxy changes
6438 * bufferlist.C: ws changes
6440 * DepTable.[Ch] (ext_exist): place const in the right spot.
6442 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6444 (workAreaExpose): call resizeInsets when the with BufferView changes.
6445 (Dispatch): adjust for protectedBlank removal
6446 (specialChar): call updateInset if the insert went ok.
6448 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6449 specialChar instead.
6451 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6453 * BufferView.h: doxy change
6455 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6457 * lyxtextclass.C (operator[]): remove non-const version
6458 (defaultLayout): remove non-const version
6460 2002-03-12 Juergen Vigna <jug@sad.it>
6462 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6463 did resize the LyXText too.
6465 * buffer.C (readLyXformat2): set layout information on newly allocated
6468 * tabular.C (OldFormatRead): set layout information on the paragraph.
6470 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6472 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6474 2002-03-11 Juergen Vigna <jug@sad.it>
6476 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6478 (resizeCurrentBuffer): force also the insets to resize themselfes.
6479 (moveCursorUpdate): fixed up for InsetText.
6481 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6484 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6485 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6486 value of Dialogs::tooltipsEnabled().
6487 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6489 2002-03-08 Juergen Vigna <jug@sad.it>
6491 * BufferView_pimpl.C (updateInset): update inset inside inset also
6492 if it isn't inside theLockingInset().
6494 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6496 * buffer.C (asciiParagraph): redo some of the word and line length
6498 (getLists): look for Caption instead of caption.
6500 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6502 * buffer.C (Buffer): initialize niceFile to true
6505 (makeDocBookFile): make sure niceFile is true on exit
6507 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6509 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6511 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6513 * LyXSendto.C: remove.
6514 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6515 * lyx_gui.C: remove now-redundant comment.
6516 * ColorHandler.h: remove forward declaration of class WorkArea.
6517 * lyxfunc.C: remove #include "WorkArea.h".
6519 2002-03-07 Juergen Vigna <jug@sad.it>
6521 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6522 got moved away with the DEPM and also set the inset_owner always
6523 right which before could have been omitted.
6525 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6527 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6528 wanted layout is not found.
6530 2002-03-07 Juergen Vigna <jug@sad.it>
6532 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6534 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6536 * paragraph.C (breakParagraph): use default layout not layout of
6538 (Paragraph): clear ParagraphParameters.
6540 2002-03-06 Juergen Vigna <jug@sad.it>
6542 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6543 otherwise it would not be a valid lenght. Fixed a special case in
6544 the minipage compatibility read where we end the document with a
6547 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6548 was set as it could be 0 for InsetTexts first entry.
6550 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6552 * paragraph.C (writeFile): if layout is empty write out
6553 defaultLayoutName().
6555 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6556 file without named layout we set layout to defaultLayoutName().
6558 2002-03-06 Juergen Vigna <jug@sad.it>
6560 * CutAndPaste.C (copySelection): set layout for new paragraph.
6562 * text.C (prepareToPrint): leave ERT inset left aligned
6563 (leftMargin): don't indent paragraphs inside ERT insets
6565 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6567 * paragraph.C (breakParagraph): dont call clear do the work manually
6569 * paragraph.[Ch] (clear): remove function
6571 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * paragraph.C (Paragraph): dont call clear, the work has already
6576 * lyxtextclass.C (operator): assert if n is empty
6578 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6579 work manually instead.
6581 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6583 * BufferView_pimpl.C: protect selectionLost against text == 0
6585 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6587 * text.C (breakParagraph): fix a setting layout to '0' problem.
6589 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6591 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6592 final location of file, for the included files, and graphics.
6594 2002-03-05 Juergen Vigna <jug@sad.it>
6596 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6598 2002-03-04 Juergen Vigna <jug@sad.it>
6600 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6602 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6603 last column of multicolumn cells.
6604 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6606 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6608 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6609 file if it doesn't go to a temporary file.
6611 * buffer.C (sgmlOpenTag):
6612 (sgmlCloseTag): remove extra newline insertion.
6614 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6616 * text.C (getRowNearY): comment out debug msg
6618 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * text2.C: first -> first_y
6622 * text.C (getRowNearY): add some attemts at a possible
6623 optimization, not working.
6625 * tabular.[Ch]: add BufferParams to several function so that newly
6626 created paragraph can be initialized to he default layotu for the
6629 * tabular-old.C (ReadOld): add buf->params to call of Init
6631 * screen.C: rename text->first to text->first_y
6633 * paragraph.C (breakParagraph): always set layout in the broken
6636 * lyxtextclass.C (Read): remove lowercase
6639 (delete_layout): ditto
6641 * lyxtext.h: rename first -> first_y
6643 * lyxlayout.C (Read): remove lowercase
6646 (obsoleted_by): ditto
6648 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6650 * buffer.C (insertErtContents): add params are to InsetERT
6651 (parseSingleLyXformat2Token): add code to check if a paragraphs
6652 layout really exist.
6653 (parseSingleLyXformat2Token): add params to several inset
6655 (asciiParagraph): remove lowercase, do the layout comparisons with
6658 * BufferView_pimpl.C (cursorNext): first -> first_y
6659 (resizeCurrentBuffer): first -> first_y
6660 (updateScrollbar): first -> first_y
6661 (scrollCB): first -> first_y
6662 (workAreaMotionNotify): first -> first_y
6663 (workAreaButtonPress): first -> first_y
6664 (checkInsetHit): first -> first_y
6665 (cursorPrevious): first -> first_y
6666 (cursorNext): first -> first_y
6667 (Dispatch): add buffer_->params to severl inset contructors
6669 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6671 * lyxlayout.C (Read): remove some debug info that I forgot.
6673 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6674 clean up the code slightly.
6675 (makeLinuxDocFile): ditto
6676 (makeDocBookFile): ditto
6678 * text2.C: layout as string
6680 * text.C: layout as string
6682 * paragraph_pimpl.C: layout as string
6684 * paragraph.[Ch]: layout as string
6686 * lyxtextclasslist.[Ch]: layout as string
6688 * lyxtextclass.[Ch]: layout as string
6690 * lyxtext.h: layout as string
6692 * lyxlayout.[Ch]: layout as string
6694 * lyx_cb.C: layout as string
6696 * bufferview_funcs.C: layout as string
6698 * bufferparams.C: layout as string
6700 * buffer.C: layout as string
6702 * LyXView.[Ch]: layout as string
6704 * LaTeXFeatures.[Ch]: layout as string
6706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6708 * BufferView_pimpl.C: change current_layout to string, remove
6713 (workAreaButtonRelease): layout as string
6715 * BufferView2.C (unlockInset): adjust
6717 * vspace.C (asLatexCommand): use an explict temp variable.
6719 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6721 * Makefile.am: use FRONTEND_*
6723 2002-03-01 Juergen Vigna <jug@sad.it>
6725 * tabular.C (SetWidthOfMulticolCell): changed to something better
6726 I hope but still work in progress.
6727 (recalculateMulticolumnsOfColumn): renamed function from
6728 recalculateMulticolCells as it is more appropriate now.
6729 (SetWidthOfCell): calculate multicols better.
6731 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6733 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6735 * lyxfunc.C (processKeySym): print sequence also if it is
6736 `deleted' (complete)
6738 * kbsequence.C (print): print sequence even if it is deleted
6739 (complete would be a better word, actually).
6741 * lyxfunc.C (dispatch): print complete options after a prefix key
6743 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6745 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6747 * text2.C (setCharFont): eliminate setCharFont code duplication.
6749 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6751 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6752 LFUN_TABULAR_FEATURE (bug #177)
6754 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6756 * Makefile.am: remove figure.h
6758 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6760 * Bufferview_pimpl.C:
6772 * text2.C: remove #include "lyx_gui_misc.h".
6774 * LaTeX.C: added #include <cstdio>
6776 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6778 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6779 that the paragraph following this one can have.
6781 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6783 * vspace.C (asLatexCommand): fix bogus gcc warning
6785 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6787 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6789 * text2.C (setLayout): get rid of redundant code
6791 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6793 * text2.C (incDepth): make sure depth cannot be increased beyond
6796 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6798 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6799 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6801 * PainterBase.h (image):
6802 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6805 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6809 * BufferView_pimpl.C:
6810 * BufferView_pimpl.h:
6830 * sp_spell.C: remove fig inset, and the crap house of
6831 cards that follows it
6833 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6839 * nt_defines.h: move .h into support/
6841 * vms_defines.h: remove
6843 * WorkArea.C: add space in debug output
6847 * buffer.C: add WITH_WARNINGS
6851 * bufferlist.C: s/retrive/retrieve/, add docs
6862 * lyxgui.C: add ID to X error handler
6864 * lyxtestclass.c: fix typo
6866 2002-02-26 Juergen Vigna <jug@sad.it>
6868 * tabular_funcs.C (write_attribute): changed so that some default
6869 attributes are not written at all.
6870 (getTokenValue): set default values before trying to read the
6871 value so we have the return value always set as default if we don't
6872 find the token we search for.
6874 * tabular.C (Write): write bools as bools not as strings!
6876 2002-02-22 Juergen Vigna <jug@sad.it>
6878 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6879 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6881 * text.C (leftMargin): don't add an indent for paragraphs inside
6882 tabular cells (fix #208).
6884 2002-02-21 José Matos <jamatos@fep.up.pt>
6886 * tabular.C (docBook): fixed support for long tables.
6888 2002-02-20 Juergen Vigna <jug@sad.it>
6890 * text2.C (getFont): get the drawing font of the Inset if this
6891 paragraph is inside an inset (only important for InsetERT for now).
6893 * buffer.C (insertErtContents): use new lanugage params in ERT
6896 * CutAndPaste.C: commenting out seemingly uneeded code.
6898 2002-02-19 Allan Rae <rae@lyx.org>
6900 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6901 Iterators might be simple to use but they also get invalidated.
6902 (removeAutoInsets): renamed saved cursor tracking variables and added
6903 some comments to clarify what everything does.
6905 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6912 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6913 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6916 * vc-backend.h: remove #include "support/syscall.h"
6920 * converter.C: rearrange #includes in Lars' approved fashion.
6922 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6923 forward declare class Timeout in the header file.
6925 * XFormsView.C: changes due to the above.
6927 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6930 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6931 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6933 2002-02-18 José Matos <jamatos@fep.up.pt>
6935 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6938 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6940 * a lot of small ws changes
6941 * add a lot of using std::XXX
6942 * use std construcs some places where approp.
6943 * use some exisint stuff from lyxfunctional where approp.
6944 * Make file changes to use partial linking (lets test this now...)
6946 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6950 remove #include "support/syscontr.h" as it's redundant. Always has been.
6958 change Systemcalls::System to Systemcalls::Wait and
6959 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6960 No change of functionality, just reflects the stripped down Systemcalls
6963 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6965 * debug.[Ch]: add a GRAPHICS type to the enum.
6967 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6969 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6971 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6974 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6977 match the changes below.
6979 * text2.C (toggleInset): if there is not editable inset at cursor
6980 position, try to see if cursor is _inside_ a collapsable inset
6983 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6985 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6986 document menu has a nice checkbox
6988 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6990 * lyxlength.C (asLatexString): change PW to output as percent of
6993 * lengthcommon.C: change '%' to 't%'
6995 * lyxfunc.C (dispatch): a few comments from Martin
6997 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7001 * BufferView_pimpl.h:
7002 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7005 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * vspace.C (inPixels): fix compiler warning
7009 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7011 * lyxfunc.C (getStatus): fix status message for disabled commands.
7013 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7015 * BufferView_pimpl.C: fix crash on close buffer
7016 during selection (#227)
7018 2002-01-27 Herbert Voss <voss@lyx.org>
7020 * buffer.C: link old Figure to new graphic inset
7022 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7024 * FontLoader.C (getFontinfo): Change the latex font names in order
7025 to match the names of type1inst.
7027 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7029 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7031 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7034 (remove_files_with_extension): ditto
7035 (remove_file): ditto
7038 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7039 document is smaller than the work area height. Do not initialize
7040 static variables to 0.
7042 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7044 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7046 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7047 LFUN_LAYOUT_PARAGRAPHS.
7049 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7050 tabular. It is possible to provide a possible cell, which will
7051 typically be the actcell from the corresponding insettabular
7053 * lyxfunc.C (getStatus): small cleanup; disable
7054 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7057 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7059 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7061 * paragraph.C (startTeXParParams):
7062 (endTeXParParams): new methods. The LaTeX code to
7063 start/end paragraph formatting
7064 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7065 empty (fixes bug #200)
7067 * vspace.C (inPixels): adapt to the change below
7068 (inPixels): [later] more cleanups (remove unused variables)
7070 * lyxlength.C (inPixels): change to use a width and a height as
7073 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7075 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7076 Replaced with \paperwidth
7078 * DepTable.C (insert): add std:: qualifier
7080 2002-01-18 Allan Rae <rae@lyx.org>
7082 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7085 * text.C (drawInset): Turned out I didn't know enough about how
7086 rebreaking worked. This fixes most of the redraw problems. I see
7087 an occasional cursor trail when a line is broken now and the cursor
7088 placement can seem out by a few pixels also after a rebreak.
7090 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * buffer.C (parseSingleLyXformat2Token): update because minipage
7093 width is now a LyXLength
7095 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7097 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7100 2002-01-17 Juergen Vigna <jug@sad.it>
7102 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7104 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7105 is set correctly and the inset is updated correctly.
7107 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7109 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7110 the beginning of the loop.
7112 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7114 * lyxrc.C: improve help for use_scalable_fonts
7116 2002-01-17 Allan Rae <rae@lyx.org>
7118 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7120 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7122 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7123 make sure to set their inset_owner to the right value (bug #171)
7125 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7128 * DepTable.C: Implement mtime checking to reduce time spent doing
7131 2002-01-16 Juergen Vigna <jug@sad.it>
7133 * tabular.C (GetAdditionalHeight): one of error fixed.
7135 * lyxrc.C (output): small fix in writing use_pspell.
7137 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7139 * sp_base.h: #include LString.h
7141 2002-01-16 Allan Rae <rae@lyx.org>
7143 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7144 Can someone check this please?
7146 * text.C (drawInset): It was possible that p.row would be removed by
7147 breakAgainOneRow upsetting a few other settings. There may be another
7148 small tweak possible by setting need_break_row = 0 when p.row has been
7149 removed but I don't know enough about the logic here.
7151 2002-01-15 Allan Rae <rae@lyx.org>
7153 * text.C (insertChar): removed conditional truism.
7155 * BufferView2.C (removeAutoInsets): More tweaks.
7156 cur_par_prev could be a stray pointer. Check for trailing empty line
7157 in case last line was cur_par and only had an error inset on it.
7159 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7164 * vc-backend.C (most methods):
7165 * exporter.C (Export):
7166 * converter.C (convert):
7168 * LyXSendto.C (SendtoApplyCB):
7169 * lyxfunc.C (dispatch):
7173 * lyx_cb.C (AutoSave):
7175 * BufferView_pimpl.C (MenuInsertLyXFile):
7176 * buffer.C (runChktex): use Buffer::filePath().
7178 * buffer.h: rename filename to filename_; rename filepath to
7179 filepath_ and make it private
7180 (filePath): new method
7182 * buffer.C (writeFile): use fileName()
7185 * lyx_main.C (init): fix starting of LyX when the binary is a
7186 link from so,ewhere else.
7188 * minibuffer.C: include <cctype> for isprint
7190 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7192 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7193 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7194 name clash with InsetCollapsable's width function.
7196 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7198 * lastfiles.C: include <iterator>
7200 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7202 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7205 * buffer.C (makeLaTeXFile): ditto.
7206 Also make loop operation more transparent.
7208 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7210 * ToolbarDefaults.C: remove trailing comma closing namespace.
7212 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7214 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7217 * trans.C (Load): comment out unused variable, allowed.
7219 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7221 * minibuffer.[Ch] (append_char): new method to recieve input from the
7222 drop-down completion browser. If a key was pressed, then recieve this
7223 char and append it to the existing string.
7224 (peek_event): modify the positioning data passed to the completion
7225 browser so that it can be placed above the minibuffer rather than below.
7226 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7228 * LyXAction.C (init): alloe error-next for readonly documents.
7230 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7233 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7235 * bufferlist.C (readFile): create the buffer _after_ checking that
7238 * lyxfunc.C (verboseDispatch): fix handling of arguments
7240 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7242 * lyxrc.C: use string::erase() instead of initializing to "".
7245 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7247 * BufferView_pimpl.h:
7248 * BufferView_pimpl.C:
7251 * text2.C: tell X when we have made a selection for copying
7253 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7255 * BufferView_pimpl.C (MenuInsertLyXFile):
7256 * lyxfunc.C (menuNew):
7258 (doImport): add shortcuts to directory buttons
7260 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7263 * lyxfunc.C (setStatusMessage):
7264 (getStatusMessage): new methods
7265 (getStatus):use setStatusMessage instead of setErrorMessage
7266 (dispatch): when function is disabled, set error message here
7267 [instead of in getStatus previously]
7269 * BufferView_pimpl.C (workAreaButtonRelease): update
7270 toolbar/menubar here too.
7272 2002-01-13 Allan Rae <rae@lyx.org>
7274 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7275 Now seems indestructible. Remaining task is to audit all other
7276 code affected by deleteEmptyParagraphMechanism. One small quirk
7277 left is that an empty document with an error in the preamble can
7278 be made to report an error but no error box appears. I don't know
7280 (removeAutoInsets): Improved comments.
7282 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7285 * Thesaurus.C: update for Aiksaurus 0.14
7287 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7289 * text2.C (firstParagraph): removed member function, all uses
7290 replaces with ownerParagraph
7291 (redoParagraphs): here
7293 (toggleAppendix): here
7294 * BufferView2.C (insertErrors): here
7295 (setCursorFromRow): here
7297 2002-01-13 Allan Rae <rae@lyx.org>
7299 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7300 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7301 There is still a way to segfault this although you may have to do this
7302 multiple times: Have an InsetERT with an unknown command in it.
7303 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7304 <down-arrow>, <Enter> again, View->DVI, BANG!
7306 * text2.C (setCursor):
7307 (deleteEmptyParagraphMechanism):
7308 * lyxtext.h (setCursor):
7309 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7310 Making use of the return value may help fix other bugs.
7312 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7316 * LyXView.C (updateMenubar): call MenuBar::update here
7317 (updateToolbar): but not here
7318 (showState): do not update toolbar/menubar
7320 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7321 should need to care about that.
7323 * lyxfunc.C (verboseDispatch): simplify a bit
7324 (getStatus): have a version which takes a pseudoaction, and
7325 another which requires a (kb_action,string).
7327 * LyXAction.C (retrieveActionArg): make it work also when action
7328 is not a pseudo-action.
7329 (getActionName): simplify a bit
7332 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7334 * lyxfunc.C (verboseDispatch): new families of methods with
7335 several ways to specify a command and a bool to indicate whether
7336 the command name and shortcut should be displayed in minibuffer
7337 (eventually, we could extend that to a finer bitmask like
7338 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7339 (dispatch): the pristine dispatch command which just, well,
7340 dispatchs! Note it still sets its result to minibuffer; I'm not
7343 * lyxfunc.h: remove setHintMessage
7345 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7347 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7349 * BufferView_pimpl.C (specialChar): delete new inset if we have
7350 not been able to insert it.
7352 * kbmap.C: revert to using int instead of kb_action, since all we
7353 are dealing with is pseudo-actions.
7355 * LyXAction.C (searchActionArg): change to return int instead of
7356 kb_action, since the result is a pseudoaction.
7358 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7360 * buffer.C (insertErtContents): Fix (partially) the font bug.
7362 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7364 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7365 as the other one is broken on my machine!
7367 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7370 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7372 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7374 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7375 reflect their actual use. Provide compatibility code for older lyxrc
7378 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7380 change names of popup font variables in line with the changes to lyxrc.C
7382 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * buffer.C (asciiParagraph): avoid outputing a word twice after
7387 * lyxrc.C (getDescription): document that document_path and
7388 template_path can be empty.
7390 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7392 * LaTeXFeatures.C (getMacros):
7393 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7395 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7397 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7399 (getPackages): rename feature "floats" to "float". Use an array to
7400 iterate over 'simple' features (i.e. just a \usepackage). Add
7401 handling of "amsmath" (renamed from "amsstyle").
7403 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7405 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7408 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7410 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7411 FuncStaus::FuncStatus & FuncStaus::some_method().
7413 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7415 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7416 of the func_satus stuff. Edited and massaged in various ways by
7419 * lyxfunc.C (getStatus): use FuncStatus
7421 2002-01-08 Juergen Vigna <jug@sad.it>
7423 * text.C (nextBreakPoint): use function Inset::isChar().
7425 * paragraph.C (TeXOnePar): use function
7426 Inset::forceDefaultParagraphs.
7428 * buffer.C (latexParagraphs): use function
7429 Inset::forceDefaultParagraphs.
7431 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7433 * lyx_gui.C (init): set the style of the menu popups to
7434 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7436 2002-01-07 Juergen Vigna <jug@sad.it>
7438 * text.C (setHeightOfRow): small fix
7439 (prepareToPrint): don't look at alignment if we don't have the place
7442 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7444 * box.C: New file. Move the Box methods and functions out of box.h,
7445 following Lars' suggestion.
7447 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7449 * box.h: #include "support/LOstream.h", needed for inlined function.
7452 * lyxtextclasslist.C: added some using std declarations.
7454 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7456 * box.h: make signed dimensions to allow insets wider than
7457 the screen (bug #162)
7459 * BufferView_pimpl.C: add some insetHit debug
7461 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7463 * vc-backend.C: add FIXME
7465 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * lyxfunc.C (getStatus): enable code for showing math font status
7470 2002-01-07 Juergen Vigna <jug@sad.it>
7472 * text.C (nextBreakPoint): removed debug output not needed anymore.
7474 2002-01-06 Juergen Vigna <jug@sad.it>
7476 * text.C (nextBreakPoint): fixed up this function we had this bug
7477 since ever but now hopefully we break row better.
7478 (insertChar): we have to check if an inset is the next char as it
7479 could now happen that a large inset is causing a break.
7481 2002-01-05 Juergen Vigna <jug@sad.it>
7483 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7484 if it doesn't like to be drawed.
7486 2002-01-04 Juergen Vigna <jug@sad.it>
7488 * BufferView2.C (lockInset): forgot to set a cursor.
7490 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7492 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7497 * form_maths_panel.C:
7498 * form_maths_panel.h:
7499 * form_maths_panel.fd: implemented sub- and super- buttons in math
7502 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7503 (or ^ space) to be used as in TeX (req'd by André).
7505 * lyxfunc.C: Allow ^ and _ again to be used both as
7506 super/subscript (mathed) and as themselves (in text).
7508 2002-01-03 Allan Rae <rae@lyx.org>
7510 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7511 "LyX" or the filename of the current buffer if it has one. This is a
7512 modified form of John Levon's patch.
7514 * XFormsView.C (setWindowTitle): also set icon title.
7516 * LyXView.h (setWindowTitle): signature changed.
7517 * XFormsView.h (setWindowTitle): ditto.
7519 2002-01-02 Juergen Vigna <jug@sad.it>
7521 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7523 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7525 * screen.C (topCursorVisible): introduce a temp var for
7526 text->cursor.row(), handle the case where this row is null. (kindo
7529 * text2.C (setCursor): add a couple of asserts.
7531 * paragraph.h (inset_iterator): add -> operator
7533 * paragraph.[Ch] (autoDeleteInsets): remove member function
7535 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7536 cursor pos correctly and handle inset deletion by itself.
7537 (insertErrors): move iterator declaration out of for expression
7539 * lyxtextclass.C: add <algorithm>
7541 * Makefile.am: added the new files to sources, removed layout.C
7543 * layout.C: removed file
7545 * layout.h: remove LYX_DUMMY_LAYOUT
7547 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7551 * lyxtextclass.[Ch]:
7552 * lyxtextclasslist.[Ch]: new files
7554 * include order changes to a lot of files, also changes because of
7557 2001-12-27 Juergen Vigna <jug@sad.it>
7559 * buffer.C (asciiParagraph): more fixes.
7561 * tabular.C (ascii): make ascii export support export of only the
7562 data separated by a column-delimiter.
7563 (ascii): better support for ascii export.
7565 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7567 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7569 * tabular_funcs.C: use a "using std::getline" instead of the
7570 previous fix from Angus (necessary for cxx + lyxstring)
7572 2001-12-24 Juergen Vigna <jug@sad.it>
7574 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7576 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7577 problems. First check a minipage also if we have some ert-contents
7578 (not only on par->size(), second set the right depth of the paragraph
7579 on the relink to the root-paragraph-list!
7581 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7582 which then did not anymore update the main paragraphs on undo/redo!
7584 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7586 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7587 code. Support all font-changing funcs (even those which are not in
7588 menu currently). Support for reporting font settings in
7589 mathed (disabled until Andre provides a function on mathed's side).
7591 * func_status.h (toggle): small helper function to set toggle
7594 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7596 * tabular_funcs.C: getline -> std::getline
7598 2001-12-21 Juergen Vigna <jug@sad.it>
7600 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7601 accessed and could be 0 (I couldn't generate this but it seems
7604 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7606 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7607 * tabular_funcs.h: here and include iosfwd
7609 2001-12-20 Juergen Vigna <jug@sad.it>
7611 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7612 inside inset but undo_par was.
7614 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * Thesaurus.C: always include <config.h> in sources.
7620 * box.h: do not include <config.h> in header files
7622 * text.C (paintLastRow): remove unused variable
7624 * text.C (transformChar):
7626 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7629 * font.C (width): rewrite to use uppercase() instead of
7632 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7634 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7636 * lyxfind.C: clean up of find failure position change
7638 2001-12-20 Juergen Vigna <jug@sad.it>
7640 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7642 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7643 (TeXRow): added to LaTeX a single tabular row.
7644 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7645 (Latex): simplified and finally good LT-h/f support.
7646 (various_functions): just small adaptions for LT-h/f support.
7648 * tabular_funcs.[hC]: added and moved here all not classfunctions
7651 2001-12-19 Juergen Vigna <jug@sad.it>
7653 * tabular.[Ch]: better support for longtabular options (not finished
7656 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * text.C (paintLastRow): use the label font instead of the font of
7659 the last character to compute the size of *_BOX. This makes more
7660 sense and avoids a crash with empty paragraphs.
7661 Use Painter::rectangle to draw EMPTY_BOX.
7663 2001-12-19 Juergen Vigna <jug@sad.it>
7665 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7666 the paragraphs if the replaced paragraph is not the first one!
7667 Tried to delete not used paragraphs but does not work yet so for
7668 now it's inside #ifdef's and by default off!
7670 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7672 * MenuBackend.C: include "lyx_main.h" instead of declaring
7673 lastfiles (actually was declared as LastFiles* instead of a
7676 2001-12-17 Juergen Vigna <jug@sad.it>
7678 * tabular.C (AppendColumn): applied John's fix
7680 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7684 * BufferView_pimpl.h:
7685 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7688 * box.h: new start of class for above
7690 * lyxfunc.C: ignore space-only minibuffer dispatches.
7691 Show the command name when it doesn't exist
7693 * minibuffer.C: don't add empty lines to the history
7695 * minibuffer.C: add a space on dropdown completion
7697 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7699 * text.C: fix line above/below drawing in insets
7701 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7703 * lyxlength.C (LyXLength): Initialize private variables.
7705 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7707 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7708 when inserting error insets.
7710 2001-12-13 Juergen Vigna <jug@sad.it>
7712 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7713 actually sometimes the before-paragraph.
7714 (setUndo): don't clear the redostack if we're not actually undoing!
7716 2001-12-06 Juergen Vigna <jug@sad.it>
7718 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7719 and fixed redoing of main paragraph, so we can use it now ;)
7721 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7723 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7728 2001-12-13 André Pönitz <poenitz@gmx.net>
7731 * undo_func.C: minor cleanup
7733 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7735 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7736 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7737 font in urw-fonts package which is marked as -urw-fontspecific and
7738 does not work (incidentally, changing the encoding in the
7739 fonts.dir of this package to -adobe-fontspecific fixes the
7742 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7743 is a crash when undoing first paragraph (Juergen, please take a
7744 look). THis does not mean the undo fix is wrong, just that it
7747 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7748 the (Paragraph*) version when needed instead of duplicating the
7751 * text.C (workWidth): use Inset::parOwner to find out where the
7752 inset has been inserted. This is a huge performance gain for large
7753 documents with lots of insets. If Inset::parOwner is not set, fall
7754 back on the brute force method
7756 * paragraph_pimpl.C (insertInset):
7757 * paragraph.C (Paragraph):
7758 (cutIntoMinibuffer): set parOwner of insets when
7759 inserting/removing them
7761 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7763 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7769 * mathed/formulabase.C:
7770 * mathed/math_cursor.[Ch]:
7771 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7774 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7776 * lyxlength.[Ch] (operator!=): new function
7778 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7780 * text.C (workWidth): use Inset::parOwner to find out where the
7781 inset has been inserted. This is a huge performance gain for large
7782 documents with lots of insets. If Inset::parOwner is not set, fall
7783 back on the brute force method
7785 * paragraph_pimpl.C (insertInset):
7786 * paragraph.C (Paragraph):
7787 (cutIntoMinibuffer): set parOwner of insets when
7788 inserting/removing them
7790 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7792 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7794 * tabular-old.C (getTokenValue):
7795 * tabular.C (getTokenValue):
7796 (write_attribute): new versions for LyXLength
7797 (everywhere): adjust the use of widths
7799 * tabular.h: change the type of widths from string to LyXLength
7801 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7803 * paragraph.C: fixed missing line number count when exporting
7804 Environments to LaTeX file
7806 * buffer.C: added informational message for checking line numbers.
7808 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7810 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7811 paragraph, do the 'double space' part, but not the 'empty
7814 * text.C (workWidth): small optimization
7815 (getLengthMarkerHeight): use minimal size for negative lengths.
7817 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7819 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7821 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7823 2001-12-11 André Pönitz <poenitz@gmx.net>
7826 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7828 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7830 * text2.C: keep selection on a setFont()
7832 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7834 * lyx_cb.C: another bv->text misuse, from insert label
7836 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7839 * kbsequence.C: re-instate nmodifier mask
7841 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7843 * lyx_main.h: make lyxGUI private.
7845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7847 * lyxfind.C: place the cursor correctly on failed search
7849 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * text.C (getLengthMarkerHeight): for small heights, the arrows
7852 are not always on top/bottom of the text
7853 (drawLengthMarker): smaller arrows; take the left margin in
7854 account; draw also vfills.
7856 (paintLastRow): remove special code for vfill and standard spaces,
7857 since everything is handled in drawLengthMarker now.
7859 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7861 * buffer.C (insertErtContents): try to handle font and language
7862 interaction a bit better.g
7864 * ColorHandler.C (updateColor): change the hash to cover the whole
7865 LColor enum, ws cleanup
7866 (getGCLinepars): ditto
7867 (getGCLinepars): only lookup in the linecache once.
7869 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7871 * iterators.C (operator++): Make the iterator more robust
7873 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7875 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7880 * text.C: better added space drawing
7882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7885 * BufferView2.C: fix layout combo update on inset unlock
7887 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7889 * Makefile.am: don't compile unused files
7891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7895 * LyXAction.C: remove old LFUN_LAYOUTNO
7897 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7899 * paragraph_pimpl.h:
7900 * paragraph_pimpl.C: isTextAt() doesn't need font param
7902 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7905 * lyxlex.C: little cleanup
7907 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7909 * BufferView_pimpl.C: fix insertAscii for insets
7911 2001-12-05 Juergen Vigna <jug@sad.it>
7913 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7914 set the right font on the "multi" paragraph paste!
7916 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7922 * lyxlength.C: remove out-commented code.
7938 * vc-backend.C: change "while(" to "while ("
7940 * lyxlength.[Ch]: add zero function to check if length is zero or
7942 * lyxgluelength.C: use it
7944 2001-12-05 Allan Rae <rae@lyx.org>
7946 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7947 Works for 2.95.3, from what I understand of Garst's reports this should
7948 work for other g++ versions. We're screwed if the abs(int) definition
7949 changed between bugfix releases of gcc.
7951 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7953 * text.C: fix chapter label offset !
7955 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7958 * text.C: fix hfill at end of line, clean up
7960 2001-12-04 Juergen Vigna <jug@sad.it>
7962 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7963 that we force an update of the inset and it's owners if neccessary.
7965 2001-12-03 Juergen Vigna <jug@sad.it>
7967 * text.C (rowLast): simplified code
7969 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7971 * lyxfunc.C: fix show options on timeout
7973 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7975 * screen.C (topCursorVisible): scroll half a page when the cursor
7976 reached top of bottom of screen
7978 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7980 * minibuffer.C: deactivate on loss of focus
7982 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7984 * vspace.[Ch] (operator!=): add operator.
7986 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7988 * BufferView_pimpl.C: refuse to open an inset when
7989 there's a selection.
7991 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7993 * BufferView_pimpl.C: allow to click on RHS of full row insets
7995 2001-11-30 Juergen Vigna <jug@sad.it>
7997 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7998 insets for undo reasons.
8000 2001-11-28 André Pönitz <poenitz@gmx.net>
8002 * vspace.[Ch]: cosmetical changes
8004 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8014 * kbsequence.C: part re-write of old kb code
8017 * WorkArea.C: remove Lgb_bug_find_hack
8019 2001-11-30 José Matos <jamatos@fep.up.pt>
8021 * buffer.C (makeDocBookFile): add a comment to point a hack.
8022 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8023 Fixed a double write of labels.
8025 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8028 * LaTeX.h Fixed bug in LaTeX class where it would not
8029 re-run latex if no depfiles were changed, but the .dvi was removed.
8031 2001-11-28 André Pönitz <poenitz@gmx.net>
8033 * all the files from the change on 2001/11/26:
8034 use lyx::layout_type instead of LyXTextClass::size_type
8035 use lyx::textclass_type instead of LyXTextClassList::size_type
8037 2001-11-29 Juergen Vigna <jug@sad.it>
8039 * text.C: added support for paragraph::isFreeSpacing()
8041 * buffer.C: same as above
8043 * paragraph.h: inserted isFreeSpacing() function to enable
8044 FreeSpacing inside InsetERT.
8046 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8047 of the paragraph's in the cut/copy buffer to 0!
8049 * text2.C (removeRow): remove the assert as it can!
8051 * lyxtext.h: added helper function firstRow returning firstrow and
8052 made firstrow private again.
8054 * BufferView2.C (lockInset): don't relock if we're already locked!
8056 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8058 (removeRow): added Assert::(firstrow)
8060 * debug.C: forgot to add INSETTEXT here.
8062 2001-11-28 Juergen Vigna <jug@sad.it>
8064 * sp_spell.C (initialize): changed error text to more general
8065 spellchecker command use (not only ispell!)
8067 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8069 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8071 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8073 * vspace.C: initialise lyxgluelength on failure
8075 2001-11-28 Allan Rae <rae@lyx.org>
8077 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8078 declaration & definition that looks like a function declaration.
8080 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * BufferView2.C (copy):
8083 (copyEnvironment): do not clear the selection when doing a copy.
8085 * text.C (paintFirstRow): compilation fix
8087 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8089 * tabular.C (Latex): correct line count when writing latex.
8091 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8093 * paragraph_pimpl.h:
8094 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8101 * LColor.C: change vfillline->added_space
8103 * text.C: add markers and text for added space
8105 * vspace.C: fix comment
8107 2001-11-28 André Pönitz <poenitz@gmx.net>
8109 * paragraph.C: whitespace changes
8110 * all the other files from the change on 2001/11/26:
8111 change *::pos_type into lyx::pos_type
8113 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8115 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8116 language of the document when inserting error insets.
8118 2001-11-26 André Pönitz <poenitz@gmx.net>
8120 * BufferView_pimpl.[Ch]:
8128 * paragraph_pimpl.[Ch]:
8131 * text2.C: reduce header dependencies, introduce type for positions
8133 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8135 * <various>: change to use Alert.h
8137 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8139 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8140 when encountering an unknown token.
8141 (readLyXformat2): Show an error message if there were unknown tokens.
8143 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8146 * BufferView_pimpl.C:
8150 * text2.C: use par->isInset()
8152 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8154 * paragraph_pimpl.h:
8155 * paragraph_pimpl.C: cleanup
8157 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * text2.C (removeRow):
8160 * text.C (setHeightOfRow): remove useless (and costly) call to
8163 2001-11-20 Allan Rae <rae@lyx.org>
8165 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8166 Now need Inset*::checkInsertChar() to return true for appropriate
8167 cases so that the characters in the minibuffer will actually be
8170 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8172 * text.C: change the order of the includes.
8173 (workWidth): initialize it at once.
8174 (workWidth): make maxw unsigned
8175 (setHeightOfRow): remove unused variable (inset)
8176 (selectSelectedWord): remove unused variable (inset)
8177 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8179 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8182 server is not running.
8184 (closeConnection): add debug info when server is disabled.
8186 * ColorHandler.C (getGCForeground): send debug message to GUI
8189 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8191 * kbmap.C (bind): modify because return conventions of
8192 kb_sequence::parse have changed.
8194 * kbsequence.C (parse): only ignore spaces and not any stupid
8195 control character. This avoids tests like s[i] <= ' ', which are
8196 guaranteed to fail with 8bit characters and signed chars.
8197 Change return code to string::npos when there have been no error
8198 (0 was a bad idea when error is at first character)
8200 2001-11-14 José Matos <jamatos@fep.up.pt>
8203 * buffer.C (simpleDocBookOnePar): removed unused argument.
8205 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8208 insets which are part of a word. Paragraph::isLetter takes care of
8209 that now. Use Paragraph::isInset to identify insets.
8210 (selectSelectedWord): do not test for hyphenation break.
8212 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8213 that protected spaces are considered as spaces.
8215 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8218 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8221 * lyxserver.C: fix it. and small cleanup.
8223 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8225 * BufferView_pimpl.C: use inline helpers
8228 * LaTeXFeatures.C: fix typos
8231 * Spacing.C: move spacing_string into class
8233 * ToolbarDefaults.C: move stuff into namespace anon
8235 * layout.h: update enum
8237 * lyxfunc.C: use better debug
8239 * minibuffer.h: fix typo
8243 * WorkArea.C: add and use Debug::WORKAREA
8247 * text2.C: code re-organisation, inline helpers
8249 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8251 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8252 std::vector.empty().
8254 2001-11-09 Allan Rae <rae@lyx.org>
8256 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8257 '\n's after tables. Tabular and ERT inset work now makes this no
8260 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8263 * minibuffer.C: fix crash, improve drop-down completion
8265 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8268 * lyxserver.C: invalidate fd's when doing endPipe()
8270 2001-11-08 José Matos <jamatos@fep.up.pt>
8272 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8273 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8276 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8278 2001-11-07 José Matos <jamatos@fep.up.pt>
8281 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8284 * buffer.C (sgmlOpenTag):
8285 * buffer.C (sgmlCloseTag): removed debug info.
8287 * buffer.h (sgmlOpenTag):
8288 * buffer.h (sgmlCloseTag): made public.
8290 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * buffer.C (saveParamsAsDefaults):
8293 * lyx_cb.C (MenuLayoutSave): remove
8295 * LyXAction.C (init):
8297 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8299 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8301 * buffer.C (setPaperStuff): removed from here...
8303 * bufferparams.C (setPaperStuff): ... and moved there.
8305 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8309 * XFormsView.C: add support for drop-down completion
8311 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8313 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8316 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8318 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8321 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8323 * lyx_main.C: change ref to known bugs
8325 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8327 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8328 to work around older babel problems.
8330 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8332 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8334 2001-10-24 Juergen Vigna <jug@sad.it>
8336 * tabular-old.C (ReadOld): below variable changes reflected.
8338 * tabular.[Ch]: added ltType struct for longtable header/footer
8339 defines and changed all instances where they are used. Added
8340 future support for double top/bottom rows.
8342 2001-10-24 José Matos <jamatos@fep.up.pt>
8344 * buffer.h (docbookHandleCaption):
8345 * buffer.C (docbookHandleCaption): removed unused function.
8346 (makeDocBookFile): moved docbook supported version to v4.1.
8348 2001-10-24 José Matos <jamatos@fep.up.pt>
8351 * tabular.C (docbookRow): new function to export docbook code of a row.
8352 (DocBook): now honors the longtable flags.
8354 2001-10-23 José Matos <jamatos@fep.up.pt>
8357 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8358 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8360 * buffer.C (makeLinuxDocFile):
8361 (makeDocBookFile): reworked the preamble, more clean, and with
8362 support for lyx defined entities. Changed the document declaration
8363 to be more XML friendly.
8365 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8366 if we need to output XML that should be done with a filter.
8368 2001-10-22 Juergen Vigna <jug@sad.it>
8370 * sp_pspell.h (class PSpell): add alive function needed in the
8371 controller to see if the spellchecker could be started.
8373 2001-10-22 Juergen Vigna <jug@sad.it>
8375 * buffer.C (insertStringAsLines): modify the font for inserting
8376 chars in certain conditions by calling checkInsertChar(font).
8378 2001-10-19 Juergen Vigna <jug@sad.it>
8380 * text.C (workWidth): use getRow instead of wrong algorithm.
8381 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8383 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8388 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8390 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8392 * text.C (workWidth): do not search for the exact row when
8393 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8394 optimization for big documents.
8396 2001-10-18 Juergen Vigna <jug@sad.it>
8398 * text.C (workWidth): new function with added Inset * parameter.
8400 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8402 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8404 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8405 change return type of getColumnNearX.
8408 * text.C (changeRegionCase): use uppercase/lowercase instead of
8411 (rightMargin): simplify code by factoring out the uses of
8416 (appendParagraph): use Paragraph::size_type
8418 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8420 * vspace.C (asLatexString): add a missing break
8422 2001-10-15 Herbert Voss <voss@perce.de>
8424 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8426 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8428 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8431 2001-10-10 André Pönitz <poenitz@gmx.net>
8433 * lyxfunc.C: removed greek_kb_flag.
8435 2001-10-10 Herbert Voss <voss@perce.de>
8437 * lyx_main.C: delete global string help_lyxdir.
8439 2001-10-09 Herbert Voss <voss@perce.de>
8441 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8443 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8445 * lyx_main.C: added global string help_lyxdir.
8447 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8449 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8451 * lyxrc.C (set_font_norm_type): support iso8859-4
8453 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8455 * LaTeX.C (deplog): add another regex for MikTeX
8457 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8459 * lyxrc.C (set_font_norm_type): support iso8859-3
8461 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8463 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8465 * LaTeXFeatures.C: remove special case of french and index
8467 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8468 before \begin{document}). This solves several incompatibilities.
8470 2001-10-03 Garst Reese <reese@isn.net>
8472 * lyx_cb.C: change CheckTex error msg.
8474 2001-10-03 José Matos <jamatos@fep.up.pt>
8476 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8478 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8480 * .cvsignore: update
8482 * lyx_main.C (commandLineVersionInfo): use new style version info.
8484 * buffer.C (writeFile):
8487 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8489 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8491 * version.h: update to use stuff in version.C
8493 * version.C.in: new file. Contains version information determined
8494 at compile time. This is a merging of version.h and
8497 2001-10-03 Juergen Vigna <jug@sad.it>
8499 * BufferView_pimpl.C (update): don't change "dirty" status in
8502 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8504 * WorkArea.C (c-tor): re-position version string slightly.
8506 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8508 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8509 revert to previous code.
8511 WorkArea.[Ch]: (show, destroySplash): methods removed.
8513 WorkArea.C: rework code so that it's an amalgam of the codes before and
8514 after the splash screen was moved to WorkArea.
8516 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * vspace.C (inPixels):
8522 * buffer.C (insertStringAsLines):
8523 (asciiParagraph): fix types to be large enough
8525 * lyxlex_pimpl.h: change member status from short to int
8527 * layout.h: fix type of endlabeltype
8530 * kbsequence.C (parse): change return type to string::size_type
8532 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8535 * Bullet.C (bulletSize):
8536 (bulletEntry): do not use short ints as parameters
8538 * BufferView2.C (insertLyXFile): change a char to an int.
8540 * WorkArea.C (WorkArea): remove unneeded floats in computation
8542 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8544 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8546 * paragraph.C (asString): Do not ignore newline/hfill chars when
8547 copying to the clipboard.
8549 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8551 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8552 after a multi-line inset.
8554 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8556 * paragraph.C (validate): Set NeedLyXFootnoteCode
8558 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8560 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8561 and decrease-error to decrease.
8563 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8565 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8566 it more readable (should be equivalent)
8568 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8570 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8572 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8574 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8575 of a cursor (row, etc.) after a character has been deleted
8576 (deleteEmptyParagraphMechanism): call the method above on _all_
8577 cursors held by the LyXText when a double space has been
8580 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8582 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8584 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8586 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8587 background. Use greyOut() and the new show() methods to toggle between
8588 the foreground and background. Add code to remove the splash after
8589 its initial showing.
8591 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8592 (create_forms): no longer call Dialogs::showSplash.
8594 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * .cvsignore: add version_info.h
8598 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * version_info.h.in: new file
8602 * Makefile.am: add version_info.h.in
8604 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8605 version_info.h instead of VERSION_INFO
8607 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8609 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8610 The ERT inset now returns string().
8612 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8614 * lyxtext.h, text.C (selectNextWord): renamed as
8615 selectNextWordToSpellcheck.
8617 * text.C (selectNextWordToSpellcheck): Modified to not select
8618 words inside an ERT inset.
8620 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * lyx_cb.C (MenuLayoutSave): change a bit the question
8624 * sp_base.h: include <sys/types.h>
8626 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8628 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8630 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8632 * several files: fix typos in user-visible strings
8634 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8636 * text2.C (pasteSelection): do not set the selection, since it
8637 will be cleared later. Actually, the intent was to fix the way the
8638 selection was set, but I figured rmoving the code was just as good.
8640 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8642 * FontLoader.C (available): Check if font is available without
8645 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8647 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8649 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8651 * lyxrc.[Ch]: added display_graphics variable and associated code.
8653 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8655 * bufferparams.C (hasClassDefaults): new method. Returns true if
8656 the buffer parameters correspond to known class defaults
8658 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8660 * XFormsView.C (show): set minimum size to the main window.
8662 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8664 * text2.C (copySelection):
8666 * lyxfind.C (LyXReplace):
8667 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8668 LyXText::selectionAsString.
8670 * paragraph.C (asString): add "label" argument to the second form
8672 * text2.C (selectionAsString): add "label" argument and pass it to
8673 Paragraph::asString.
8675 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * lyx_main.C (commandLineHelp): remove version information
8679 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8681 * lyx_main.C: add -version commandline option
8683 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * paragraph.h: make the optional constructor arg required instead.
8686 some modifications to other files because of this.
8688 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8690 * lyxserver.C (C_LyXComm_callback): make it static
8692 * lyx_main.C (error_handler): make it static
8694 * lyx_gui.C (LyX_XErrHandler): make it static
8696 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8698 * WorkArea.C: make the extern "C" methods static.
8700 * Makefile.am (lyx_LDADD): simplify
8702 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8704 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8705 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8707 * LyXAction.C (init):
8708 * lyxfunc.C (dispatch): associated code removal.
8710 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8712 * lyxfont.h (isSymbolFont): shut off warning
8714 * text.C (setHeightOfRow):
8715 (getVisibleRow): fix crash with empty paragraphs which have a
8718 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8720 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8723 2001-09-04 José Matos <jamatos@fep.up.pt>
8726 * tabular.C (docbook): rename docBook method to docbook.
8728 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8730 * Makefile.am: add dependencies to main.o.
8732 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8734 * FontLoader.C (available): Return false if !lyxrc.use_gui
8736 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8738 * FontInfo.C (query):
8739 * converter.C (view):
8740 * importer.C (Import):
8741 * exporter.C (Export): Can not -> cannot.
8743 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8745 * BufferView_pimpl.C: allow to create index inset even if
8748 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8750 * buffer.C (getLists): replace boost::tie code with an explicit pair
8751 as boost::tie can break some compilers.
8753 * iterators.h: Added a std:: declaration to the return type of
8756 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8758 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8761 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8763 * iterators.[Ch]: New files. Provide paragraph iterators.
8765 * buffer.C (changeLanguage): Use paragraph iterators.
8766 (isMultiLingual): ditto
8768 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8770 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8772 * FontLoader.C: Support for cmr font.
8774 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8776 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8777 (available): New method.
8779 * FontInfo.C (getFontname): Use scalable fonts even when
8780 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8783 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8785 * converter.C (Formats::view): reverted! Incorrect fix.
8787 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8789 * converter.C (Formats::view): only output the -paper option
8790 if the dvi viewer is xdvi, thereby fixing bug #233429.
8792 2001-08-23 Herbert Voss <voss@perce>
8794 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8796 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8798 * Spacing.h (Spacing): Set space to Default on in the default
8801 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * vc-backend.h (RCS::versionString): add RCS to version
8804 (CVS::versionString): add CVS to version
8806 * vc-backend.C (scanMaster): do not add CVS to version.
8807 (scanMaster): do not add RCS to version
8809 * lyxvc.C (versionString): new method
8811 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8813 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * Spacing.C (set): initialize fval
8817 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8819 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8822 2001-08-16 Juergen Vigna <jug@sad.it>
8824 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8826 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8828 * BufferView_pimpl.C:
8831 * text2.C: setParagraph takes linespacing now
8833 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8835 * LyxAction.C: add internal LFUN_CITATION_INSERT
8837 * LyXView.C: actually apply fix
8839 * bufferlist.C: fix open non-existent file
8841 * lyxfind.C: fix indentation
8843 * lyxfunc.C: remove unneeded assert, fix typo
8845 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8847 * MenuBackend.C: use "Floatname List"
8849 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8851 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8852 when converting LaTeX layout to insetERT.
8853 Generate a non-collapsed float when reading old float
8855 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8857 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8860 2001-08-13 Juergen Vigna <jug@sad.it>
8862 * text.C (fill): return 0 instead of 20 as this seems to be the more
8865 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8867 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8870 2001-08-13 Juergen Vigna <jug@sad.it>
8872 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8874 (SearchBackward): comment out the unlocking of the inset_owner this
8875 should not be needed!
8877 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8879 * Many files: Remove inherit_language, and add latex_language
8881 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8884 2001-08-10 Juergen Vigna <jug@sad.it>
8886 * text.C (prepareToPrint): fixed hfill-width in draw!
8888 * BufferView2.C (selectLastWord): save the selection cursor as this
8889 now is cleared in the function LyXText::clearSelection!
8891 2001-08-08 Juergen Vigna <jug@sad.it>
8893 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8894 BACKSPACE type functions.
8896 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8897 is only cutted from the document but not put in the cut-buffer, where
8898 still the old stuff should be.
8900 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8902 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8904 * tabular.C (SetWidthOfCell): fixed special case where the width
8906 (LeftLine): handle '|' in align_special.
8908 (LeftAlreadyDrawed): ditto
8909 (SetWidthOfCell): ditto
8911 2001-08-07 Juergen Vigna <jug@sad.it>
8913 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8915 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8917 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8918 * lyxlex.[hC]: ditto
8920 2001-08-06 Juergen Vigna <jug@sad.it>
8922 * text.C (getVisibleRow): fix up row clearing a bit.
8924 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8926 * minibuffer.C: make sure the X server sees the changes in the input.
8928 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * paragraph.C (getFont): split into...
8931 (getLabelFont): this
8932 (getLayoutFont): and this
8933 * paragraph_pimpl.C (realizeFont): calling this
8935 * text2.C (getFont): split into...
8936 (getLayoutFont): this
8937 (getLabelFont): and this
8938 (realizeFont): all three calling this
8940 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8943 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8945 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8947 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8949 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8950 layouts from the Quote inset insertion.
8952 2001-08-03 Juergen Vigna <jug@sad.it>
8954 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8956 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8957 only if status not is already CHANGED_IN_DRAW (second level).
8959 * text.C (draw): don't set the need_break_row when inside an
8962 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8964 * buffer.C (parseSingleLyXformat2Token): handle more latex
8967 * bufferview_funcs.[hC]: change function names to
8968 begin with small char, adjust other files.
8970 2001-08-02 André Pönitz <poenitz@gmx.net>
8973 BufferView_pimpl.C: remove broken special code for math-greek
8975 2001-08-02 Juergen Vigna <jug@sad.it>
8977 * BufferView_pimpl.C (update): redone this function so that we
8978 update the text again if there was a CHANGE_IN_DRAW.
8980 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8981 (drawFromTo): added a new internal bool which is used by draw() and
8983 (general): some cursor drawing problems fixed.
8985 2001-08-01 Juergen Vigna <jug@sad.it>
8987 * lyxfind.C (LyXFind): fixed
8988 (SearchForward): ditto
8989 (SearchBackward): ditto
8991 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8992 spurius drawing of the cursor in the main area.
8994 * text2.C (status): small fix which could lead to a segfault!
8995 (clearSelection): remove unneeded BufferView param.
8997 2001-08-01 André Pönitz <poenitz@gmx.net>
8999 * lyxfunc.C: small change due to changed mathed interface
9001 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9003 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9005 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9007 * lyxfunc.c: fail gracefully if file doesn't exist
9012 * BufferView_pimpl.C: IsDirWriteable() proto changed
9014 * LyXView.C: fix updateWindowTitle() to store the last title
9016 2001-07-31 Juergen Vigna <jug@sad.it>
9018 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9019 the font (wrong since using of Paragraph::highestFontInRange).
9021 * paragraph.C (highestFontInRange): added a default_size parameter.
9023 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9024 (setHeightOfRow): reformat
9026 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9028 * converter.[hC] + affected files: move to (inital-char)lowercase
9031 * ParagraphParameters.C (ParagraphParameters): remove commented code
9033 * PainterBase.[Ch]: remove commented code
9035 * LaTeXFeatures.h: add "bool floats" for float.sty
9037 * LaTeXFeatures.C (LaTeXFeatures): init floats
9038 (require): handle float
9039 (getPackages): do it with floats
9041 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9043 * BufferView_pimpl.C (Dispatch): improve handling of
9044 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9046 * commandtags.h: #include lyxfont.h here temporarily to avoid
9049 * bufferlist.h: include LString.h here.
9051 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9053 * text2.C (getStringToIndex): new method.
9055 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9057 * *: Reduced header file dependencies all over.
9059 2001-07-30 Baruch Even <baruch@lyx.org>
9061 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9063 2001-07-29 Baruch Even <baruch@lyx.org>
9065 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9067 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * ParameterStruct.h (endif): add a default constructor to make
9070 sure that all variables is initialized.
9072 * ParagraphParameters.C (ParagraphParameters): adjust
9074 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9077 index; also, check that there is something to index, and that it
9078 does not span over several paragraphs.
9079 (doubleClick): use WHOLE_WORD_STRICT for double click.
9081 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9083 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9086 2001-07-26 Baruch Even <baruch@lyx.org>
9088 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9089 an InsetFig figure, backwards compatible reading of old figure code.
9091 2001-07-27 Juergen Vigna <jug@sad.it>
9093 * text2.C: font.realize function adaption.
9095 * text.C (draw): add a warnings lyxerr text if needed.
9097 * layout.C: font.realize function adaption.
9099 * language.C: add inherit_language and implement it's handlings
9101 * bufferview_funcs.C (StyleReset): remove language parameter from
9102 font creation (should be language_inherit now).
9104 * bufferparams.C (writeFile): handle ignore_language.
9106 * paragraph.C (getFontSettings): the language has to be resolved
9107 otherwise we have problems in LyXFont!
9109 * lyxfont.C (lyxWriteChanges): added document_language parameter
9110 (update): removed unneeded language parameter
9112 * paragraph.C (validate): fixed wrong output of color-package when
9113 using interface colors for certain fonts in certain environments,
9114 which should not seen as that on the final output.
9116 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9118 * BufferView_pimpl.C:
9123 * LyXAction.C: add thesaurus support
9126 * lyxfind.C: add "once" parameter, for thesaurus, to not
9127 move to the next match
9129 2001-07-26 Juergen Vigna <jug@sad.it>
9131 * lyxfont.C (realize): honor ignore_language too!
9134 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9136 * text.C (draw): one place more for ignore_language to not draw
9139 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9141 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9143 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9146 the minipage conversion problem.
9148 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9153 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * BufferView.h: don't forward declare WorkArea
9157 * BufferView.C: don't include WorkArea.h
9159 2001-07-25 André Pönitz <poenitz@gmx.net>
9163 * lyxfunc.C: new LFUN 'math-space'
9165 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9167 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9169 * text2.C (toggleInset): call open/close
9171 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * lyxfunc.C (dispatch): add debug for the disabled case
9175 * font.C (buttonText): make similar to rectText
9177 * buffer.C (readInset): comment out parsing of insetlist and
9180 * PainterBase.C (rectText): small correction
9182 * BufferView_pimpl.C: comment out insettheorem and insetlist
9183 * LyXAction.C: ditto
9184 * commandtags.h: ditto
9186 2001-07-24 Juergen Vigna <jug@sad.it>
9188 * text.C (draw): honor the ignore_language.
9190 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9192 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9197 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9199 * lyxtext.h: remove unused (and unimplemented) methods
9201 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9203 * text.C (getVisibleRow): honor background color
9206 * Painter.h: remove default color argument for fillRectangle
9208 * text.C (backgroundColor): new method
9210 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9212 * text.C (getVisibleRow): adjust
9214 * font.[Ch] (rectText): new method, metrics
9215 (buttonText): new method, metrics
9217 * PainterBase.[hC]: make rectText and buttonText always draw and take
9220 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9222 * ToolbarDefaults.C (read):
9223 * MenuBackend.C (read): allow escaping in all strings
9225 * BufferView_pimpl.C (insertAndEditInset): new method.
9226 (Dispatch): use insertAndEditInset whenever appropriate.
9228 * BufferView_pimpl.C (insertNote): removed
9230 * BufferView_pimpl.C (smartQuote): new method, moved from
9231 BufferView; if an insetquote cannot be inserted, insert a '"'
9234 * BufferView2.C: remove insertCorrectQuote();
9236 * lyxfunc.C (getStatus): Add support for all remaingin
9239 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9241 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9242 command (necessary to pass " as parameter of self-insert.
9244 * text.C (selectWordWhenUnderCursor):
9245 (selectWord): add word_location parameter
9246 (selectWordWhenUnderCursor): same + remove special code for word
9248 (selectNextWord): use kind() to guess type of insetspecialchar,
9251 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9252 (insertErtContents): create ert insets as collapsed.
9253 (readInset): better compatibility code for Info inset.
9255 2001-07-20 Juergen Vigna <jug@sad.it>
9257 * lyxfunc.C (dispatch): use always LyXFind now!
9259 * text2.C (init): add a reinit flag so that the LyXText can be
9260 reinited instead of deleted and reallocated (used in InsetText).
9262 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9268 2001-07-18 Juergen Vigna <jug@sad.it>
9270 * text.C (selectNextWord): handle insets inside inset by calling
9271 always the bv->text functions so that we can go up the_locking_inset!
9273 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9274 in strange locations when inside an inset!
9276 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9277 handling to include insets.
9279 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9281 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9283 * LyXAction.C (init):
9285 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9286 LIGATURE_BREAK, since the name is so stupid.
9288 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9290 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9293 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9295 * sp_form.[Ch]: remove.
9297 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9299 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9302 * src/buffer.C (readInset): ditto.
9304 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9306 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9307 menuSeparator(), endOfSentenceDot(), ldots() and
9308 hyphenationPoint(), which are therefore removed.
9309 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9311 * LyXAction.C (init):
9312 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9314 * paragraph.C (getWord): removed.
9316 * BufferView_pimpl.C (Dispatch): use last word or selection for
9317 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9319 * lyx_main.C (queryUserLyXDir): do not ask before creating
9320 user_dir, except if it has been named explicitely.
9322 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9324 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9325 a document of zero size.
9327 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9329 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9330 approriately in the c-tor and in require().
9331 (getPackages): output the appropriate LaTeX for natbib support.
9333 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9334 variables "use_natbib" and "use_numerical_citations" when reading the
9336 (readInset): read the various natbib cite commands.
9337 (validate): white-space change.
9339 * bufferparams.[Ch]: new variables "bool use_natbib" and
9340 "bool use_numerical_citations".
9341 (writeFile): output them in the LyX file.
9343 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9345 * lyxfunc.C (getStatus): add support for all the inset insertion
9348 * text2.C (insertInset):
9349 * paragraph.C (insetAllowed):
9350 * BufferView_pimpl.C (insertInset): update to take in account the
9351 renaming of insertInsetAllowed
9353 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9355 * text2.C (getInset): new method. returns inset at cursor position.
9357 * BufferView_pimpl.C (Dispatch): changes because of this.
9359 * LyXAction.C (init): rename open-stuff to inset-toggle.
9361 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9363 * text2.C (toggleInset): renamed from openStuff; use
9366 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9368 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9370 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9372 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9374 * buffer.C (readLyXformat2): Add filename to the error dialog
9376 2001-07-18 Juergen Vigna <jug@sad.it>
9378 * tabular.C (GetCellNumber): put an assert here instead of the check!
9380 2001-07-17 Juergen Vigna <jug@sad.it>
9382 * BufferView_pimpl.C (toggleSelection): adapted too.
9384 * text.C (selectNextWord): adapted for use with insets.
9385 (selectSelectedWord): ditto
9387 2001-07-17 Juergen Vigna <jug@sad.it>
9389 * sp_spell.C (PSpell): fix initialitation order.
9391 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * paragraph.C: spacing
9395 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9397 * sp_spell.C: repair language selection for pspell
9399 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * lyxfunc.h: change more methods to begin with lower char.
9403 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9405 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9406 for unknown layouts.
9408 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9410 * buffer.C (readLyXformat2): Generate an error dialog if there are
9413 2001-07-16 Juergen Vigna <jug@sad.it>
9415 * sp_spell.C: always compile ISpell part.
9417 * lyxrc.C: added use_pspell entry and it's handling.
9419 2001-07-13 Juergen Vigna <jug@sad.it>
9421 * sp_spell.C: removed double includes.
9423 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9425 Consistent use of Lsstream.h:
9426 * Lsstream.h: added using std::stringstream for consistencies sake.
9428 * buffer.C: removed using std::stringstream
9430 * lyxfont.C (stateText):
9431 * paragraph.C (asString):
9432 * text.C (selectNextWord, selectSelectedWord):
9433 * text2.C (setCounter):
9434 * vspace.C (asString, asLatexString):
9435 std::ostringstream -> ostringstream.
9437 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9439 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9440 * commandtags.h: add LFUN_HELP_ABOUTLYX
9441 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9443 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9445 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9447 * lyx_gui_misc.C: remove spellchecker
9448 * lyxfunc.C: showSpellchecker
9450 * sp_ispell.h: added
9451 * sp_pspell.h: added
9453 * sp_form.[Ch]: removed
9454 * spellchecker.[Ch]: removed
9456 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9458 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9460 (simpleTeXSpecialChars): Simply print the input character without
9461 any special translation if pass_thru is set.
9463 * layout.h: Added bool pass_thru to layout class for being able to
9464 implement pass through of a paragraph for Literate Programming.
9466 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9467 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9468 * layout.C (Read): add "passthru" to list of layout tags and add
9469 code to set the pass_thru boolean when it is read.
9471 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * trans_decl.h: remove allowed from KmodInfo
9475 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9479 * paragraph_pimpl.C (erase): use boost::prior
9481 * Painter.C (text): use data() instead of c_str() when length is
9483 * WorkArea.C (putClipboard): ditto
9484 * font.h (width): ditto
9486 * BufferView2.C: use it-> instead of (*it). for iterators
9488 * paragraph_pimpl.C: ditto
9489 * paragraph.C: ditto
9490 * minibuffer.C: ditto
9495 * converter.C: ditto
9497 * Variables.C: ditto
9498 * TextCache.C: ditto
9499 * MenuBackend.C: ditto
9500 * LyXAction.C: ditto
9502 * FloatList.C: ditto
9504 * ColorHandler.C (LyXColorHandler): ditto
9506 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9508 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9510 * text2.C (openStuff): reintroduce this method (which had been
9511 nuked in NEW_INSETS frenzy).
9513 * lyxfunc.C (Dispatch): when an action has not been handled, use
9514 its name in the error message, not its number.
9516 * paragraph.C (inInset): change method name to begin with lowercase.
9519 * text2.C: updates because of this.
9521 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9523 * ToolbarDefaults.C (add): add spaces in error message
9525 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9528 (readLyXformat2): rename return_par to first_par, use lyxlex's
9529 pushToken and remove the manual push handling.
9530 (parseSingleLyXformat2Token): add another ert comp. variable:
9531 in_tabular, rename return_par to first_par. handle newlines better
9533 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9535 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9537 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * text2.C (getParFromID): removed
9541 * buffer.C (getParFromID): new method moved form lyxtext.
9542 * BufferView2.C (insertErrors): adjust
9543 (setCursorFromRow): adjust
9544 * BufferView_pimpl.C (restorePosition): adjust
9545 * lyxfunc.C (Dispatch): adjust
9546 * undo_funcs.C (textUndo): adjust
9548 (textHandleUndo): adjust
9549 (textHandleUndo): adjust
9551 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9553 * buffer.C: up' the LYX_FORMAT
9555 * lyxfont.h: turn NO_LATEX on as default
9557 * buffer.C (insertErtContents): new methods of tex style compability.
9558 (parseSingleLyXformat2Token): use it several places.
9559 * tabular.C (OldFormatRead): and here
9561 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * text2.C: remove some commented code.
9566 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9567 * trans.C: changes because of the above.
9569 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9571 * text2.C (setCounter): Fix counters bug with bibliography layout.
9573 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9576 own member functions
9577 (simpleTeXSpecialChars): ditto
9579 2001-07-06 Juergen Vigna <jug@sad.it>
9581 * a lot of files: changed the access to LyXText::status and the
9582 call of undo-functions.
9584 * undo.[Ch]: added a inset_id to the undo informations.
9586 * undo_funcs.[Ch]: added and moved here all undo functions.
9588 * lyxtext.h: give the status enum a weight, made status_ a private
9589 variable and made accessor functions for it, removed the whole bunch
9590 of undo-functions as they are now in their own file, make some
9591 functions publically available. Added function ownerParagraph with
9594 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9595 made InInset() a const function, added getParFromID() function.
9597 * buffer.[Ch]: added const version for inset_iterator functions,
9598 added getInsetFromID() function.
9600 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9601 changed undo functions for new version.
9603 2001-07-05 Juergen Vigna <jug@sad.it>
9605 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9606 unknow mechanism does not call the proper constructor but only this
9607 one also if I request the other!?
9609 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9613 * text2.C (LyXText): use initialization lists.
9615 * lyxtext.h (Selection): initialize set_ and mark_
9616 (init): remove method
9618 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9620 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9622 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * screen.[Ch]: change method names to begin with lowercase
9626 * BufferView_pimpl.C (updateScrollbar): simplify further and
9627 hopefully make it a bit faster.
9629 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9632 calling directly xforms functions.
9634 * Painter.C (Painter):
9635 * lyx_cb.C (MenuWrite):
9636 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9639 * lyx_gui.C: remove bogus guiruntime extern declaration.
9641 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9643 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9645 (redoDrawingOfParagraph): ditto
9646 (redoParagraphs): ditto
9647 (cutSelection): don't create a object for CutAndPaste use the
9648 static method directly
9649 (pasteSelection): ditto
9651 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9654 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * modifications to some other files because of this.
9658 * Makefile.am (lyx_SOURCES): add XFormsView
9660 * XFormsView.[Ch]: new files
9662 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9663 the main window. Move the gui dependent stuff to XFormsView
9665 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * tabular.C (GetCellInset): update cur_cell also in the row/col
9668 version of this function.
9670 * lyxfunc.C: no need to include figure_form.h here.
9676 * lyxvc.C: no need to include forms.h here.
9678 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9680 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9682 * lyxfunc.C (Dispatch):
9684 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9685 constructor argument.
9687 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * paragraph.C (Paragraph): dont't clear, and just set layout.
9690 (makeSameLayout): use params's copy contructor.
9692 * ParagraphParameters.[Ch] (makeSame): delete method
9694 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9696 * Variables.[Ch]: fix indentation, rename set to isSet
9698 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * lyxfunc.C (Dispatch): fix typo
9702 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9707 * bufferlist.C: include assert.h for emergencyWrite().
9709 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9711 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9712 give up at last (bug #425202) !
9714 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9720 * spellchecker.C: strip spellchecker options and bring up
9721 preferences tab instead
9723 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9725 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9726 the istringstream constructor
9728 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9730 * paragraph.C (getLayout): fix return value
9732 * paragraph.h: do not declare getLayout as inline.
9734 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9736 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * lyxcursor.h (operator<): new func
9739 (operator>): new func
9740 (operator>=): new func
9741 (operator<=): new func
9743 * text.C (changeCase): use selection.start and selection.end
9744 (changeRegionCase): require from to be <= to. Require par to be a
9747 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9749 2001-06-27 Juergen Vigna <jug@sad.it>
9751 * text.C (cursorLeftOneWord): changed to return the cursor and added
9752 overlay with BufferView * parameter which calls this one.
9754 (selectWord): use new getWord function.
9755 (changeCase): renamed from changeWordCase as and extended to work
9758 * lyxtext.h: added enum word_location
9760 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9761 changeCase as this operates now also on selections.
9763 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9765 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9767 * many files: send debug output to Debug::INFO instead of
9770 * converter.C (View):
9772 (Move): send debug output to Debug::FILES instead of console.
9774 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9776 * lyxfunc.C (getStatus): use func_status
9778 * func_status.h: new header, describing the results of
9781 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9784 2001-06-25 The LyX Project <jug@sad.it>
9786 * buffer.C (sgmlOpenTag):
9788 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9790 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9792 * text2.C: remove some dead code
9794 * tabular.C (GetCellInset): store the last cell checked (gotten)
9796 * tabular.h: add the helper for the speedup
9798 * lyxtext.h: remove some dead code
9800 2001-06-26 The LyX Project <Asger>
9802 * paragraph.C: Change export to LaTeX of alignment to
9803 \begin{center} and family for better roundtrip work with reLyX.
9805 * Tune the math drawing a bit.
9807 2001-06-25 The LyX Project <Asger>
9809 * LColor.C (LColor): New color for math background. New color
9812 2001-06-25 The LyX Project <jug@sad.it>
9814 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9817 * bufferlist.C (newFile): do not restrict to files ending with
9820 * BufferView_pimpl.C (MenuInsertLyXFile):
9822 2001-06-24 The LyX Project <jug@sad.it>
9824 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9827 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * lyxtext.h: rename most methods to begin with a small char.
9830 Lots of changes because of this.
9832 * paragraph.C (Paragraph): do not call fitToSize
9833 (erase): call Pimpl::erase
9834 (insertChar): call Pimpl::insertChar
9835 (insertInset): call Pipl::insertInset
9836 (breakParagraph): do not call fitToSize
9837 (breakParagraphConservative): do not call fitToSize
9838 (fitToSize): remove method
9840 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9842 2001-06-24 The LyX Project <Asger>
9844 * Fix Qt compilation^2
9846 2001-06-24 The LyX Project <jug@sad.it>
9848 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9849 depthHook(getDepth()-1).
9852 * ParagraphParameters.h:
9853 * ParameterStruct.h: change type of depth to unsigned int ==
9854 depth_type. Many adaptations to other files before of that.
9856 2001-06-24 The LyX Project <Asger>
9858 * Fix Qt compilation.
9860 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * paragraph.h: renamed several methods to begin with small letter.
9863 several changes to many parts of the code because of this.
9865 2001-06-23 The LyX Project <jug@sad.it>
9867 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9868 rewritten to discard all double spaces when KeepEmpty is off
9869 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9870 to only handle newlines but not fiddle with spaces and friends.
9872 * lyxfunc.C (MenuNew): when doing 'new from template', use
9873 template_path as default directory
9875 2001-06-23 The LyX Project <Asger>
9877 * Clean-up of header file includes all over
9878 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9880 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9882 * paragraph.h: renamed from lyxparagraph.h
9884 2001-06-23 Asger <lyx@violet.home.sad.it>
9886 * Buffer.h: Removed Buffer::resize
9887 * BufferList.h: Removed BufferList::resize
9888 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9889 the document lazily when we change the width, or the font settings.
9891 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9893 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9895 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9897 * buffer.h: remove out of date comment
9899 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9902 * screen.C: fix "theoretical" GC leak
9904 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9906 * LaTeX.C (scanAuxFile):
9907 (deplog): remove trailing \r when reading stream (useful under
9910 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9912 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9913 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9914 and BufferView::theLockingInset(Inset*), so should use them and not
9915 access bv_->text->the_locking_inset directly.
9917 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9919 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9922 * tex-defs.h: remove old unused file
9924 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9926 * BufferView_pimpl.C: fix typo, remove minibuffer message
9927 when buffer has loaded
9929 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * lyxfunc.C (Dispatch): use stringstream
9932 (MenuNew): use stringstream
9933 (Open): use stringstream
9935 * importer.C (Import): use stringstream
9937 * bufferview_funcs.C (CurrentState): use stringstream
9939 * LaTeX.C (run): use stringstream
9941 * BufferView_pimpl.C (savePosition): use stringstream
9942 (restorePosition): use stringstream
9943 (MenuInsertLyXFile): use stringstream
9945 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9958 * vspace.C: removed // -*- C++ -*- as first line.
9961 * version.h: added // -*- C++ -*- as first line.
9963 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9967 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9970 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9975 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * gettext.C: include LString.h even when --disable-nls is on.
9979 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9981 * converter.h (Get): changed argument type from int to
9982 FormatList::size_type to avoid unnecessary conversion.
9984 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9987 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * gettext.h: include LString.h even when --disable-nls is on.
9991 2001-06-07 Juergen Vigna <jug@sad.it>
9993 * text.C (BreakAgain): subst spaces with tabs.
9995 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9996 (resizeInsetsLyXText): set force on resizeLyXText.
9998 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10000 * gettext.h (gettext_init):
10001 (locale_init): use a real definition instead of a macro
10003 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10005 * Bufferview_pimpl.C:
10007 * LColor.C: further lcolor tidies
10009 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10011 * BufferView_pimpl.C (updateScrollbar): simplify.
10013 * BufferView2.C: don't include insets/insetinfo.h, change
10014 prototype for insertInset and call the Pimpl version. let
10015 updateInset call Pimpl version.
10017 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10018 gotoInset to BufferView::Pimpl
10020 2001-06-01 Juergen Vigna <jug@sad.it>
10022 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10023 inside a LockingInset (is the update needed at all?).
10025 2001-05-31 Juergen Vigna <jug@sad.it>
10027 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10028 here not the old one otherwise how should we compare it afterwards
10031 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * FontInfo.C: bring C functions into global namespace when
10039 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10041 * LString.h: make sure config.h has been loaded before LString.h.
10043 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10044 (one for each char read by EatLine!).
10046 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10049 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10052 to the same as the par we break from
10054 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10056 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10058 * MenuBackend.C (expand): also create menu entries for wide
10059 versions of the floats.
10061 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10063 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10065 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10066 frontends/Makefile.am
10072 * tabular.C (getTokenValue): add std::
10074 * tabular-old.C (getTokenValue): add std::
10075 (getTokenValue): ditto
10076 (getTokenValue): ditto
10078 * screen.C (ToggleSelection): adjust
10080 * lyxtext.h: put selection cursors inside a Selection struct.
10082 * lyxfunc.C (moveCursorUpdate): adjust
10084 * lyxfont.C (latexWriteStartChanges): add std::
10086 * lyxfind.C: adjust
10088 * font.h: delete with(char const *, LyXFont const &)
10090 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10092 * FontInfo.C (getFontname): add std::
10094 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10095 (workAreaButtonPress): adjust
10096 (tripleClick): adjust
10098 (moveCursorUpdate): adjust
10101 * BufferView2.C (gotoInset): adjust
10103 2001-05-30 Juergen Vigna <jug@sad.it>
10105 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10106 to check pspell I add this as default as I now have new pspell
10107 libraries and they seem to use this.
10109 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * text2.C (CutSelection): make the cursor valid before the call to
10114 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10117 relied on 0 terminated strings and other horrors. Bug found due to
10118 the new assert in lyxstring!
10120 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10123 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10128 * lyxfunc.C (processKeySym): change method of getting to the
10131 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10132 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10133 * BufferView_pimpl.[Ch]: here as private methods.
10135 2001-05-28 Juergen Vigna <jug@sad.it>
10137 * text.C (SetHeightOfRow): added the update() call again as it is
10138 needed to initialize inset dimensions!
10140 2001-05-16 Juergen Vigna <jug@sad.it>
10142 * text2.C (SetCharFont): Add new function with BufferView * and
10143 bool toggleall parameters for setting insets internal fonts.
10144 (SetFont): Freeze the undo as we may change fonts in Insets and
10145 all this change should be inside only one Undo!
10147 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10148 setting font's in insets as for them we have the SetFont function!
10150 2001-05-15 Juergen Vigna <jug@sad.it>
10152 * text2.C (ClearSelection): to be sure we REALLY don't have any
10155 * tabular.C (TeXCellPreamble): fixed the left border problem for
10158 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10160 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10163 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10165 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10166 LFUN_BREAKPARAGRAPH.
10168 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10169 help test to "internal only", similar for LFUN_INSERT_URL
10171 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10172 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10173 auto_region_delete and deadkeys.
10175 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10178 * LColor.C: remove some dead entries, tidy a little
10180 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10184 (Dispatch): implement LFUN_ESCAPE
10186 * commandtags.h: add LFUN_ESCAPE
10188 * LyXAction.C (init): add entry for LFUN_ESCAPE
10190 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10191 Remove commented code.
10192 (insertNote): moved here
10193 (open_new_inset): moved here
10195 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10198 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * kbmap.C (findbinding): clean it up and make it work correctly.
10202 * lyx_main.C (init): do not pass argc and argv as parameters
10204 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10206 * buffer.C: fix path for OS/2 & Win32
10210 * lyx_main.C: Added os:: class.
10212 * os2_defines.h: update
10214 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10217 better by trying again with reduced state.
10219 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * lyxrc.C (read): print error about invalid key sequence only when
10222 debugging (because not all latinX keysyms are known to some X
10225 * kbsequence.C (getiso): add a few std:: qualifiers
10226 (getiso): comment out extra return statement.
10228 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10230 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10232 (Dispatch): enhance the accent inset a bit. (not perfect)
10234 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10236 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10238 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * bufferlist.C (emergencyWrite): fix assert() call
10242 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10244 * text.C (InsertChar): Added trivial patch to only send the "you
10245 can not do multiple spaces this way" message once during a
10248 2001-05-08 Baruch Even <baruch@lyx.org>
10250 * Makefile.am: Changed order of libraries to get LyX to link properly
10251 with the gnome frontend.
10253 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * LaTeXFeatures.h: add a std:: qualifier
10257 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * paragraph.C (String): use stringstream
10261 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * paragraph.C (writeFile): remove footflag arg
10265 * buffer.C (makeLaTeXFile): use stringstream
10266 (latexParagraphs): remove footnot gurba
10268 * LaTeXFeatures.C (getPackages): use stringstream
10269 (getMacros): likewise
10270 (getTClassPreamble): likewise
10271 (getFloatDefinitions): new method
10273 * paragraph.C (writeFile): reindent
10276 * WorkArea.h: revert the xpos + etc changes.
10278 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10280 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10282 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10283 (pasteSelection): likewise
10284 * text2.C (CreateUndo): likewise
10286 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10288 * minibuffer.C (peek_event): temporarily reduce the functionality
10289 of the minibuffer (to allow args on lfuns)
10291 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10292 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10294 * buffer.C (readInset): add compability reading of old float
10295 lists, add reading of new style float list.
10296 (readInset): avoid reevaluation of inscmd.getCmdName()
10297 (getLists): reindent
10299 * MenuBackend.C (MenuItem): implement parsing of
10300 md_floatlistinsert and md_floatinsert.
10301 (expand::LastFiles): move initalizaton of iterators out of loop,
10302 avoid reevaluation.
10303 (expand::Documents): introduce typdedef vector<string> Strings,
10305 (expand::ExportFormats): introduce typedef vector<Format const *>
10306 Formats, and use it.
10307 (expand): implement FloatListInsert and FloatInsert.
10309 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10310 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10311 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10313 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10315 (Dispatch::LFUN_FLOAT_LIST): implement
10317 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10319 * LaTeX.C (run): Fix problem with --export code.
10321 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10323 * BufferView.[Ch] (workarea): removed.
10324 (getClipboard) new method; wrapper for workarea()->getClipboard()
10326 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10329 * WorkArea.h (width, height, xpos, ypos): These methods all
10330 returned the dimensions of the work_area sub-area of WorkArea,
10331 resulting in a position error if the WorkArea were resized. Now
10332 return the dimensions of the entire WorkArea.
10334 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10336 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * LaTeX.C (deplog): correct the syntax of regex reg1
10340 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * undo.C: remove !NEW_INSETS cruft
10344 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * text2.C: remove !NEW_INSETS cruft
10348 * text.C: remove !NEW_INSETS cruft
10350 * tabular.C: remove !NEW_INSETS cruft
10352 * spellchecker.C: remove !NEW_INSETS cruft
10354 * lyxtext.h: remove !NEW_INSETS cruft
10356 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10358 * lyxfunc.C: remove !NEW_INSETS cruft
10360 * lyxfind.C: remove !NEW_INSETS cruft
10362 * lyx_cb.C: remove !NEW_INSETS cruft
10364 * figureForm.C: remove !NEW_INSETS cruft
10366 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10368 * buffer.[Ch]: remove !NEW_INSETS cruft
10370 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10372 * CutAndPaste.C: remove !NEW_INSETS cruft
10374 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10376 * BufferView2.C: remove !NEW_INSETS cruft
10378 * BufferView.h: remove !NEW_INSETS cruft
10380 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10382 * Lsstream.h: include LString.h before the sstream headers to
10383 fix problem with gcc 2.95.3 and lyxstring
10385 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * lyx_main.C: add using directives when needed for C functions
10388 declared in std:: namespace.
10390 2001-04-27 Juergen Vigna <jug@sad.it>
10392 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10393 (SetHeightOfRow): comment out the update call should not be needed!
10395 2001-04-13 Juergen Vigna <jug@sad.it>
10397 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10398 (LyXTabular): tried to minimize operator= operations (and realized
10399 hopfully Lars wish).
10401 2001-04-27 Juergen Vigna <jug@sad.it>
10403 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10405 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10407 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10409 * buffer.C (readInset): hack to make listof algorithm work
10411 * BufferView_pimpl.C: hack to make listof algorithm work
10413 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10415 * LyXAction.C: removed all !NEW_INSETS cruft
10416 (init): moved lfun_item in method
10418 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10420 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10422 * BufferView2.C (theLockingInset): white space.
10424 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * minibuffer.C: include <iostream>
10428 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10430 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10432 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10434 * text.[Ch] (TransposeChars): new method
10436 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10438 * call message directly through LyXView instead of through LyXFunc
10439 * BufferView2.C: adjust
10440 * BufferView_pimpl.C: adjust
10441 * FontLoader.C: adjust
10443 * bufferview_funcs.C: adjust
10444 * converter.C: adjust
10445 * figureForm.C: adjust
10446 * importer.C: adjust
10448 * lyx_gui_misc.C: adjust
10449 * lyxfunc.C: adjust
10452 + more files in subdirs
10454 * lyxparagraph.h (size): move up int file
10457 * adjust all uses of Assert to lyx::Assert.
10459 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10460 lyxfunctional in namespace lyx
10461 * layout.C (hasLayout): ditto
10464 (delete_layout): ditto
10465 (NumberOfClass): ditto
10466 * converter.C (GetFormat): ditto
10471 * bufferlist.C (getFileNames): ditto
10472 (emergencyWriteAll): ditto
10475 * MenuBackend.C (hasSubmenu): ditto
10478 * BufferView_pimpl.C (getInsetByCode): ditto
10480 2001-04-18 Juergen Vigna <jug@sad.it>
10482 * vspace.C (asLatexString): fixed the 100% problem.
10484 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * lyxfunc.C (Dispatch):
10488 * minibuffer.h: add a few std:: qualifiers
10490 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10492 * minibuffer.[Ch]: reimplement so that commands is initiated and
10493 run from lyxfunc, simplified som handling, and made the completion
10494 and history code for complete. wip.
10496 * lyxfunc.C (processKeySym): call message
10497 (miniDispatch): new temporary method
10498 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10499 (LFUN_MESSAGE): implement
10500 (LFUN_MESSAGE_PUSH): implement
10501 (LFUN_MESSAGE_POP): implement
10502 (initMiniBuffer): the initial/defualt minibuffer message.
10504 * lyxfont.[Ch]: inline some more getters
10506 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10508 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10510 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10511 (AutoSave): use LFUN_MESSAGE
10512 (Reconfigure): ditto
10514 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10516 * figureForm.C: use LFUN_MESSAGE
10518 * converter.C (runLaTeX): use LFUN_MESSAGE
10520 * bufferview_funcs.C: use LFUN_MESSAGE
10522 (changeDepth): ditto
10524 * bufferparams.h: use boost::
10526 * bufferlist.h: inherit privately from noncopyable
10528 * bufferlist.C (loadLyXFile): remove some commented code.
10530 * buffer.C (runChktex): use LFUN_MESSAGE
10532 * ShareContainer.h: inherit privately from noncopyable
10534 * ParagraphParameters.[hC] (depth): inline it.
10536 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10538 (message): new method
10539 (messagePush): ditto
10540 (messagePop): ditto
10541 (show): init minibuffer
10542 (showState): direct call
10544 * LaTeX.[Ch]: inherit privately from noncopyable
10545 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10546 instead of WriteStatus.
10548 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10550 * BufferView_pimpl.C (buffer): don't init minibuffer
10551 (workAreaButtonPress): use LFUN_MESSAGE
10552 (workAreaButtonRelease): ditto
10553 (savePosition): ditto
10554 (restorePosition): ditto
10555 (MenuInsertLyXFile): ditto
10556 (workAreaExpose): don't init minibuffer
10557 (update): remove commented code, simplify
10559 * BufferView2.C (openStuff): use LFUN_MESSAGE
10560 (toggleFloat): ditto
10563 (copyEnvironment): ditto
10564 (pasteEnvironment): ditto
10569 (updateInset): remove some commented code
10571 * lastfiles.h: inherit privately from noncopyable
10574 * lyx_main.h: ditto
10576 * lyxlex_pimpl.h: ditto
10578 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10579 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10580 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10582 * LyXAction.h: inherit privately from noncopyable, add methods
10583 func_begin, func_end, returning iterators to the func map.
10585 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10586 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10587 (func_begin): new method
10588 (func_end): new method
10590 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10592 (copySelection): ditto
10593 (pasteSelection): ditto
10595 * BufferView.C: whitespace change
10596 * BufferView.h: inherit privately from noncopyable
10598 2001-04-16 Allan Rae <rae@lyx.org>
10600 * tabular-old.C (l_getline):
10601 * spellchecker.C (sc_check_word):
10602 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10603 an unrecognised preprocessor directive. So ensure they're wrapped.
10605 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10607 * src/exporter.C (Export): Give an error message when path to file
10610 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10612 * LaTeX.C (deplog): Always check that foundfile exists.
10614 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10619 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * tabular.[Ch] (getLabelList): implement new method
10623 * minibuffer.h: comment ouf setTiimer
10625 * minibuffer.C (ExecutingCB): constify res
10626 (peek_event): constify s
10627 (Set): constify ntext
10628 (Init): constify nicename
10630 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10632 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10633 (savePosition): use two params to Minibuffer::Set
10634 (restorePosition): ditto
10636 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * lyx_main.C: include language.h
10640 * Makefile.am (lyx_main.o): add language.h
10642 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * CutAndPaste.C: include gettext.h
10650 * lyxfont.h: remove old hack with ON and OFF.
10653 * lyxfont.h: do not include language.h...
10658 * bufferview_funcs.C:
10664 * paragraph.C: ... but do it here instead
10666 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10670 * tabular.C: small reformat
10672 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10675 (BreakParagraph): ditto
10676 (SetOnlyLayout): ditto
10679 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10682 * lastfiles.C: removed most using decl, add std:: where needed
10684 * buffer.C: ws changes
10686 * MenuBackend.C (class compare_format): put into anon namespace
10687 (expand): constify label, names, action, action2
10690 * text.C (SingleWidth): constify font
10691 (IsBoundary): constify rtl2
10692 (GetVisibleRow): constify ww
10694 * LaTeX.C (deplog): constify logfile
10696 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10698 (workAreaExpose): constify widthChange, heightChange
10700 * lyxrow.C (par): moved
10703 * lyxrow.h: as inlines here
10705 * lyxfont.h (shape): moved from lyxfont.C
10706 (emph): moved from lyxfont.C
10708 * lyxfont.C (LyXFont): use initialization list for all
10710 (shape): move to lyxfont.h as inline
10711 (emph): move to lyxfont.h as inline
10714 2001-04-04 Juergen Vigna <jug@sad.it>
10716 * vspace.C: had to include stdio.h for use of sscanf
10718 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10721 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10722 independent of xforms.
10724 2001-04-02 Juergen Vigna <jug@sad.it>
10726 * spellchecker.C: fixed namespace placing!
10728 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10730 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10731 the LyXParagraph * is 0.
10733 2001-03-29 Juergen Vigna <jug@sad.it>
10735 * vspace.C: added support for %, c%, p%, l%.
10736 (stringFromUnit): added helper function.
10737 (asLatexString): changed to give right results for the %-values.
10739 * buffer.C: convert the widthp in a width%.
10741 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10743 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10746 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10747 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10749 * lyx_cb.[Ch]: see above.
10751 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10755 * lyx.[Ch]: replaced by figure_form.[Ch].
10759 * lyxfunc.C: changed headers associated with above changes.
10761 2001-03-27 Juergen Vigna <jug@sad.it>
10763 * BufferView_pimpl.C: set the temporary cursor right!
10765 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10767 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10769 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10771 * LString.h: removed "using std::getline"!
10773 * BufferView_pimpl.C (Dispatch): changes due to changes in
10774 InsetInclude::Params.
10776 * buffer.C (tag_name): removed redundant break statements as they were
10777 producing lots of warnings with my compiler.
10779 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10781 * LString.h: add "using std::getline" when using the real <string>.
10783 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10785 * buffer.C: removed bitset usage.
10786 PAR_TAG moved to an anonymous name space.
10787 (tag_name): new funtion, also in the anonymous namespace.
10788 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10789 (makeDocBookFile): clean code. Completed transition from string arrays
10791 (SimpleDocBookOnePar): code clean.
10793 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10795 * tabular.C: add some comments.
10797 2001-03-22 Juergen Vigna <jug@sad.it>
10799 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10800 compatibility read a bit and fixed bug with minipage in different
10803 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10805 * buffer.C (pop_tag): removed.
10806 (push_tag): removed.
10807 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10808 array replaced with vector. Added support for CDATA sections.
10809 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10811 (makeDocBookFile): XML conformant declaration of CDATA section,
10812 fixed bug related to <emphasis> in the first paragraph char.
10813 (sgmlOpenTag): exclude empty tags.
10814 (sgmlCloseTag): ditto.
10816 * buffer.h (pop_tag): removed.
10817 (push_tag): removed.
10819 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10821 * language.h (Languages): added size_type and size().
10823 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10825 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10826 response on compability reading of minipages. One probliem is that
10827 the old usage of minipages was «flertydig»
10829 * several files here and in subdirs: don't use static at file
10830 scope use anon namespaces instead.
10832 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10834 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10835 LaTeX output. This is necessary for Literate document
10838 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10840 * buffer.C: insert hfill when needed.
10842 * tabular.C (l_getline): use string::erase, small whitespace change.
10844 * BufferView_pimpl.C: try the anon namespace.
10845 * WorkArea.C: ditto
10847 2001-03-16 Juergen Vigna <jug@sad.it>
10849 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10850 otherwise it won't open options-dialogs.
10852 * buffer.C: honor pextraWidth(p) on converting minipages.
10854 * tabular.C (l_getline): changed the functions to strip trailing \r.
10856 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10858 * BufferView_pimpl.C:
10859 * minibuffer..C: added "using SigC::slot" declaration.
10861 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10863 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10869 * paragraph.C: ditto
10871 * lyxtext.h: NO_PEXTRA
10873 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10875 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10876 * ParameterStruct.h: ditto
10877 * ParagraphParameters.h: ditto
10878 * lyxparagraph.h: ditto
10880 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10882 * buffer.C: add compability for minipage alignment.
10883 (latexParagraphs): remove unwanted pextra check.
10885 * several files: remove CXX_WORKING_NAMESPACES
10887 * buffer.C (pop_tag): tie is in namespace boost
10889 * BufferView.h: noncopyable is in namespace boost
10891 * lyx_main.h: ditto
10894 * lastfiles.h: ditto
10895 * bufferlist.h: ditto
10896 * ShareContainer.h: ditto
10898 * LyXAction.h: ditto
10901 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10903 * Merging changes from BRANCH_MVC back into HEAD.
10905 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10907 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10909 * BufferView_pimpl.C: change from intl.C
10913 * Makefile.am: move combox.*
10919 * intl.C: remove dialog (covered by prefs)
10921 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10923 * lyxfunc.C (Dispatch): removed redundant break statement.
10925 2001-03-14 Juergen Vigna <jug@sad.it>
10927 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10929 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10931 * buffer.C: add hack to fix compability reading of minipages.
10933 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10935 * buffer.C (getLists): Cleanup.
10937 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10939 * lyxfont.C (update): don't honor toggleall on font size.
10941 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10945 * Makefile.am: moved to frontends/xforms/
10949 * BufferView_pimpl.C: changes for moved mathpanel
10951 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10953 * gettext.h: fix gettext_init() in --disable-nls
10955 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10957 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10959 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10962 * lyx.h: strip external form
10964 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10966 * BufferView_pimpl.C: add comment, destroySplash()
10968 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10970 * BufferView_pimpl.C:
10974 * lyxfunc.C: use re-worked insetinclude
10976 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10978 * buffer.C: add using std::stringstream.
10980 * lyx_cb.C: readd using std::ios.
10982 * buffer.C: add using std::map.
10984 * BufferView_pimpl.C: add using std::vector.
10986 * ShareContainer.h: add std:: to swap.
10988 * buffer.h: add some typedefs
10989 * buffer.C (getLists): use them
10990 (getLists): renamed from getTocList.
10991 add a counter for the different float types and use it in the
10993 (getLists): use the same counter for the NEW_INSETS and the "non"
10996 * lyx_cb.h: remove unused items, includes, using etc.
10998 * ShareContainer.h: remove some commented code, add more comments
10999 and "documentation".
11001 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11003 * buffer.C (getTocList): make the list also when NEW_INSETS is
11006 * buffer.h: remove TocType
11008 * buffer.C (getTocList): change to return a map<string,
11009 vector<TocItem> >, implement for dynamic number of list.
11011 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11012 * text2.C (PasteSelection): adjust
11013 * CutAndPaste.C (pasteSelection): adjust
11015 * FloatList.C (FloatList): update from the new_insets branch.
11016 * Floating.[Ch]: ditto
11017 * LaTeXFeatures.C: ditto
11019 * lyxlex_pimpl.C: ditto
11021 * paragraph.C (Last): remove when NEW_INSETS is defined.
11023 * other file: changes because of the above.
11025 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11027 * lyxparagraph.h: rename next to next_, previous to previous_,
11028 make them private for NEW_INSETS. Rename Next() to next(),
11029 Previous() to previous().
11031 * other files: changes because of the above.
11033 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11036 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11039 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * main.C (main): pass lyx_localedir to gettext_init().
11043 * gettext.h: remove locale_init and gettext_init macros
11045 * gettext.C (locale_init): new function
11046 (gettext_init): new function
11048 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11051 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11053 * Moved credits to frontends:
11054 * credits.[Ch]: removed
11055 * credits_form.[Ch]: removed
11056 * lyx_gui_misc.C: remove credits stuff
11059 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11061 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11063 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11064 unneeded destructor.
11066 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11067 a standalone pointer again.
11069 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11071 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11077 * ToolbarDefaults.C:
11086 * BufferView_pimpl.C: use new file dialog in GUII
11089 * lyx_cb.C: remove LayoutsCB to Toolbar
11091 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11093 * ShareContainer.h (get): add std:: qualifier
11095 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11097 * ShareContainer.h: define a proper ShareContainer::value_type
11098 type (and use typename to please compaq cxx)
11100 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11102 * lyxparagraph.h: move serveral local vars to
11103 ParameterStruct/ParagraphParameters., use ShareContainer in
11104 FontTable., make vars in FontTable private and add getter and
11107 * paragraph.C: changes because of the above.
11109 * lyxfont.h: remove copy constructor and copy assignment. (the
11110 default ones is ok), move number inside FontBits. move inlines to
11113 * lyxfont.C: add number to initializaton of statics, move several
11114 inlines here. constify several local vars. some whitespace
11115 cleanup. Dont hide outerscope variables.
11117 * Spacing.h: add two new constructors to match the set methods.
11119 * ShareContainer.h: new file, will perhaps be moved to support
11121 * ParameterStruct.h: new file
11123 * ParagraphParameters.h: new file
11125 * ParagraphParameters.C: new file
11127 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11128 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11130 * BufferView_pimpl.C: ParagraphParameter changes.
11131 * buffer.C: Likewise.
11132 * bufferview_funcs.C: Likewise.
11133 * text.C: Likewise.
11134 * text2.C: Likewise.
11136 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11138 * lyxfind.C (LyXReplace): do not redefine default argument in
11140 (IsStringInText): ditto
11141 (SearchForward): ditto
11142 (SearchBackward): ditto
11144 2001-03-06 Juergen Vigna <jug@sad.it>
11146 * lyxfind.C (IsStringInText): put parentes around expressions.
11148 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11150 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11152 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11154 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11156 * stl_string_fwd.h: add comment
11158 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11161 * tabular.C: remove unused DocBook methods
11167 killed DO_USE_DEFAULT_LANGUAGE
11169 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * lyx_gui.C: do not include language.h.
11173 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11174 arguments in function implementation.
11176 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11178 * BufferView_pimpl.C: add <ctime>
11180 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11182 * BufferView_pimpl.C: add using std::find_if
11184 2001-02-27 José Matos <jamatos@fep.up.pt>
11186 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11189 2001-02-11 José Matos <jamatos@fep.up.pt>
11191 * buffer.C (makeDocBookFile): command styles now have a parameter as
11192 "title" by default.
11194 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11196 * layout_forms.[Ch]: removed
11197 * lyx_cb.[Ch]: out character
11198 * lyx_gui.C: out character
11199 * lyx_gui_misc.C: out character
11200 * bufferview_funcs.C: : out character,
11201 added toggleall as parameter in ToggleAndShow
11203 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11205 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11207 * text2.C (SetCurrentFont): Disable number property at boundary.
11209 2001-02-26 Juergen Vigna <jug@sad.it>
11211 * lyxfunc.C (getStatus): added a string argument override function so
11212 that this is correctly called from LyXFunc::Dispatch if it contains a
11213 do_not_use_argument which is used!
11214 (Dispatch): added check for "custom" export and call appropriate func.
11216 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11218 * lyxrc.C: Add language_command_local, language_use_babel and
11219 language_global_options.
11221 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11223 * buffer.C (makeLaTeXFile): Use language_use_babel and
11224 language_global_options.
11226 2001-02-23 Juergen Vigna <jug@sad.it>
11228 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11229 which works with LyXText and putted it inside BufferView. Here now we
11230 only call for that part the BufferView::Dispatch() function.
11232 * BufferView.C (Dispatch): added.
11234 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11235 functions which needs to use a LyXText over from LyXFunc.
11236 (MenuInsertLyXFile): added
11237 (getInsetByCode): added
11238 (moveCursorUpdate): added
11239 (static TEXT): added
11241 2001-02-22 Juergen Vigna <jug@sad.it>
11243 * BufferView_pimpl.C (update): call a status update to see if LyXText
11246 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11248 * vc-backend.C (revert): implement for CVS
11249 (getLog): implement for CVS
11251 2001-02-20 Juergen Vigna <jug@sad.it>
11253 * text2.C (ClearSelection): added BufferView param for inset_owner call
11255 * lyxfunc.C (TEXT): added this function and use it instead of
11256 directly owner->view()-text of getLyXText().
11258 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11260 * src/layout_forms.C: out preamble
11261 * src/layout_forms.h: out preamble
11262 * src/lyx_cb.C: out preamble
11263 * src/lyx_cb.h: out preamble
11264 * src/lyx_gui.C: out preamble
11265 * src/lyx_gui_misc.C: out preamble
11266 * src/lyxfunc.C: connect with guii preamble
11268 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11270 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11272 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11274 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11275 whether to run bibtex.
11277 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11279 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11281 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11283 * Makefile.am (lyx_SOURCES): removed bibforms.h
11285 * vspace.h: doxygen
11287 * text.C (GetVisibleRow): make several local vars const
11289 * tabular.C: small cleanup.
11291 * lyxserver.C (callback): use compare instead of strncmp
11293 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11294 inlines to after class or to paragraph.C
11296 * lyxfont.h: remove friend operator!=
11298 * converter.h: move friend bool operator< to non friend and after
11301 * combox.h: small cleanup
11303 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11304 to inlines after class def.
11306 * buffer.C (pop_tag): use string operations instead of strcmp
11308 * bmtable.c: doxygen, small cleanup
11310 * LaTeX.h: remove friend operator==
11312 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11324 * BufferView_pimpl.C:
11325 * BufferView.[Ch]: remove cruft
11327 2001-02-14 Juergen Vigna <jug@sad.it>
11329 * lyxfunc.C: removed #if 0 unused code
11331 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11333 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11335 * text2.C (SetSelection): added a BufferView * parameter
11337 2001-02-13 Juergen Vigna <jug@sad.it>
11339 * lyxfunc.C (Dispatch): fixed protected blank problem.
11340 * BufferView2.C (protectedBlank): added LyxText * parameter.
11342 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11343 (AppendColumn): same as above for column_info.
11345 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11346 (moveCursorUpdate): use a LyXText param for support of InsetText.
11348 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11349 (tripleClick): ditto
11351 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11353 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11355 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11357 * text2.C (SetSelection): set correct update status if inset_owner
11358 (ToggleFree): ditto
11360 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11362 * tabular.C: remove some commented code.
11364 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11366 * BufferView_pimpl.C: call hideSplash()
11368 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11371 * bibforms.h: remove
11374 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11375 add LFUN_CHILD_CREATE
11377 * counters.h: fix tiny typo
11382 * lyx.C: move splash to frontends/xforms/
11384 * lyx_gui_misc.C: move Include and Bibform to frontends
11386 * lyxvc.h: clarify comment
11388 * vspace.C: tiny housekeeping
11390 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11392 * text.C (PrepareToPrint): RTL Fix.
11394 * paragraph.C (GetUChar): New method.
11395 (String): Use GetUChar.
11397 * buffer.C (asciiParagraph): Use GetUChar.
11399 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11401 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11403 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11406 * buffer.C: rename to getLogName(), handle
11407 build log / latex log nicely
11409 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * MenuBackend.h: remove support for reference menuitem type.
11414 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11416 * BufferView_pimpl.C: housekeeping
11417 * BufferView_pimpl.h:
11422 * minibuffer.h: move Timeout GUI-I
11424 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11426 * lyxrc.C (read): Update converters data-structures.
11428 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11430 * LaTeX.h (operator!=): add operator != for Aux_Info
11432 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11434 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11436 * LaTeXLog.C: deleted, useful code moved to Buffer
11439 * buffer.C: new function getLatexLogName()
11445 * lyxfunc.C: use frontends for LaTeX and VC logs
11447 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * LaTeX.h: yet another std:: that Allan forgot.
11451 * Variables.C (set): renamed from isset(), because this clashes
11452 with some HP-UX macros (grr).
11454 2001-02-06 Allan Rae <rae@lyx.org>
11456 * LaTeX.h: Another bug fix. Missing std:: this time.
11458 2001-02-04 Allan Rae <rae@lyx.org>
11460 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11461 floats problem. I've left it commented out because it's not quite
11462 correct. It should also test that the current object is a table or
11463 figure inset. But I haven't gotten around to figuring out how to do
11464 that. I *think* it'll be something like: "table" == inset.type()
11466 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11469 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11471 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11472 all the citation/databases/styles in the auxilary file.
11473 (run): Rerun latex if there was a babel language error.
11475 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11477 * text.C (Backspace): Preserve the font when changing newline char
11479 (BreakParagraph): If the cursor is before a space, delete the space.
11481 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11483 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11485 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11486 new argument (code).
11487 (ChangeCitationsIfUnique): New method.
11489 * paragraph.C (GetPositionOfInset): Handle bibkey.
11491 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11493 * BufferView_pimpl.h: change type of Position::par_pos to
11494 LyXParagraph::size_type.
11496 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11498 * BufferView_pimpl.C (savePosition, restorePosition): Write
11499 messages to minibuffer.
11501 2001-01-28 José Matos <jamatos@fep.up.pt>
11503 * buffer.C (makeDocBookFile): adds support for document language.
11504 A silly restriction on the name of LatexCommand types where removed.
11505 Added support for CDATA sections, allows to chars unescaped, used
11506 among others in code, to avoid escape < and >.
11508 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11510 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11511 saved positions instrad of a stack. Furthermore, a position is
11512 stored using paragraph id/paragraph position.
11514 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11515 Remove LFUN_REF_BACK.
11517 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11519 * converter.C (dvipdfm_options): New method.
11521 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11523 * vspace.C (isValidLength): Fix for empty input string.
11525 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11527 * LyXAction.C (init): change description of LFUN_FIGURE to
11530 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11532 * LaTeX.C: add using directive
11534 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11536 * MenuBackend.C (expand): Fix the sorting of the formats.
11538 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11540 * lyx_main.C: tiny error message fix
11542 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11544 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11545 calling fl_initialize(). This fixes the problem with ',' as
11546 decimal separator in text files.
11548 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11550 * trans.C (process): Fix the keymap bug.
11552 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11554 * LaTeX.C (scanAuxFiles): New method. Provides support for
11555 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11556 (scanLogFile) Scan for "run BibTeX" messages.
11558 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11559 OT1 font encoding. Also, load the aecompl package if the ae
11562 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11564 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11566 * texrow.C (increasePos): turn two error messages into debug
11569 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11571 * LaTeX.C (scanAux): Handle the \@input macro.
11572 (runBibTeX): Use scanAux().
11574 * language.C (latex_options_): New field.
11576 * LaTeXFeatures.C (getMacros): Add language macros.
11578 * buffer.C (makeLaTeXFile): Small fix.
11580 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11582 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11584 * text2.C: add a using directive.
11586 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11591 * lyxfunc.C: kill LyXBell.
11593 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11595 * text.C (IsBoundary): Remove the error message
11597 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11599 * lyxrc.C (setDefaults): Correct initialization value for
11602 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11604 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11607 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11608 and GotoNextNote().
11610 * src/LyXAction.C: Added reference-next.
11612 * text.C (InsertChar): Use contains instead of strchr.
11614 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11616 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11618 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11619 alignment commands (when needed).
11621 * text.C (InsertChar): Add ':' to number separator chars.