2 2003-07-21 André Pönitz <poenitz@gmx.net>
4 * rowpainter.C: remove unused variables
6 2003-07-18 André Pönitz <poenitz@gmx.net>
14 * text3.C: two-phase drawing for InsetText and InsetTabular
15 some float -> int changes.
17 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
19 * lyx_main.C: fix the fix
21 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
23 * lyx_main.C: fix a crash in batch mode if no files specified
26 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
28 * format.[Ch] (papersize): moved to BufferParams
29 * converter.[Ch] (dvips_options): moved to BufferParams
30 (dvipdfm_options): moved to anon namespace
31 * bufferparams.[Ch]: added above functions.
33 2003-07-17 André Pönitz <poenitz@gmx.net>
37 * text2.C: don't call inset->update() anymore
39 * metricsinfo.[Ch]: add convenience constructor
41 2003-07-16 André Pönitz <poenitz@gmx.net>
46 * text2.C: replace the LyXCursor::irow_ member with
47 on-demand computation of the value
49 2003-07-16 John Levon <levon@movementarian.org>
51 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
53 2003-07-15 André Pönitz <poenitz@gmx.net>
56 * text2.C: remove no more needed refresh_row
58 2003-07-15 André Pönitz <poenitz@gmx.net>
63 * text3.C: refresh_status tristate -> need_update bool
65 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
67 * lyxtext.h (init): remove reinit argument (act as if always true)
68 * text2.C: adjust to that
70 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
72 * bufferview_funcs.[Ch]: introduce function replaceSelection()
73 * text3.C: use it to delete selections in some cases
74 (bugs 441, 673, 702, 954).
76 2003-07-14 André Pönitz <poenitz@gmx.net>
78 * rowpainter.[Ch]: reduce interface
80 2003-07-14 André Pönitz <poenitz@gmx.net>
83 * text2.C: adjust after removing unused BufferView * argument
85 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
87 * text2.C (init): fix a crash fired on resize
89 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
91 * buffer.[Ch]: added new closing signal
92 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
93 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
94 BufferView::Pimpl via the closing the signal
96 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
98 * buffer.[Ch]: take out all bv-related from buffer
100 * BufferView_pimpl.[Ch]: connect to new signals
101 * CutAndPaste.C: removed useless asserts
102 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
105 * lyxfunc.C: moved view-related funciontality from vc here
106 * paragraph.C: removed outdated comments
109 2003-07-10 André Pönitz <poenitz@gmx.net>
111 * BufferView_pimpl.C:
115 * text2.C: remove InsetText::InnerCache, clean up consequences
117 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
119 * ispell.C: fix two typos in error messages
121 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
123 * Extend Note inset to other forms of annotation like Comment
124 and Greyedout. Right button click gives dialog.
126 Files modified or added (+):
132 * Makefile.am in frontends/xforms, frontends/xforms/forms,
133 frontends/controllers
137 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
139 * aspell.C: add missing namespace lyx::support
141 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
143 * BufferView.[Ch] (newFile): Add
144 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
145 * LaTeX.[Ch] (message): added this signal and use it
146 * buffer.[Ch] (busy, message): added these signals and use them
147 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
151 * importer.C: use buffer signals instead of direct bv calling
152 * lyx_cb.[Ch] (ShowMessage): removed
156 * text2.C: use buffer signals
158 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * introduce namespace lyx::graphics
162 2003-07-02 André Pönitz <poenitz@gmx.net>
164 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
166 2003-07-01 André Pönitz <poenitz@gmx.net>
173 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
174 text*.C to text_func.C
176 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * introduce namespace lyx::support
180 2003-06-30 André Pönitz <poenitz@gmx.net>
185 * text.C: re-enable --with-included-string
187 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * textcursor.C: add <config.h>
191 * text.C (getWord): remove const from word_location arg
193 * lyxvc.C (getLogFile): fix const type order
195 * lyxtext.h: remove const from word_location arg, add arg name
197 * lyxlayout.h: currect type on labeltype.
199 * importer.C: correct \file
201 * converter.C (intToFormat): use std:: on ret val, ws changes
203 * bufferlist.h: correct \file
205 * buffer.C (makeLinuxDocFile): fix const type order
206 (makeDocBookFile): ditto
207 (fillWithBibKeys): use std:: on stdlib args.
209 * CutAndPaste.C: fix authors.
210 (availableSelections): use std:: on return vector
212 2003-06-27 André Pönitz <poenitz@gmx.net>
214 * BufferView_pimpl.C:
215 * bufferview_funcs.C:
223 * text3.C: remove LyXCursor::row_ member
226 * text.C: rename fullRebreak() to partialRebreak() and implement
227 a fullRebreak() that really bereks fully
229 * textcursor.h: new struct for cursor-related data
231 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
233 * lyx_main.C (LyX): get full path of document loaded on the
236 2003-06-26 André Pönitz <poenitz@gmx.net>
238 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
239 remove unused/broken operator>,<,>=.
241 * text.C: remove only use of broken operator<= in an Assert().
243 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
245 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
246 moved errorlist_.clear to showErrorList
248 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
250 * converter.C (scanLog, runLaTeX):
251 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
252 move the bv->showErrorList call to the callers
253 * lyxfunc.C: i.e. here...
255 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
256 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
257 namespace, the second to...
258 * buffer_funcs (BufferFormat, parseErrors): added
259 * errorlist.C (ErrorList(TeXErrors const &)): removed
261 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * ToolbarBackend.C (getIcon): complain when icon cannot be found
265 2003-06-24 "Garst R. Reese" <reese@isn.net>
269 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
273 * version.C.in: change docversion to 1.4
275 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
277 * buffer.C: fix a bug just introduced
279 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
281 * buffer.[Ch]: added the parseError signal and use it, removed
283 * BufferView.[Ch] (addError): moved to ...
284 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
285 to the Buffer::parseError signal to catch (guess what) parse errors
286 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
288 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
290 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
291 ability to create a buffer and to return an existing one from
292 the list. Moved these functions to...
293 * buffer_funcs.[Ch]: added
294 * BufferView.[Ch] (loadLyXFile): added
295 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
296 job removed from bufferlist::loadLyXFile.
297 * buffer.C (setReadOnly): make it work without view
298 (i.e added an if (users))
300 2003-06-19 Angus Leeming <leeming@lyx.org>
303 * LyXAction.C (init):
304 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
305 with LFUN_DIALOG_SHOW <name> <data>.
307 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * CutAndPaste.C (availableSelections): small compilation fix for
310 ancient (gcc 2.9x) compilers
312 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
314 * text3.C (cursorNext): add tmp var
316 * text2.C (updateCounters): for function calling out of for clause
317 (replaceSelectionWithString): ditto
318 (insertStringAsParagraphs): ditto
319 (getColumnNearX): add tmp var
320 (setCursorFromCoordinates): add tmp var
321 (cursorDownParagraph): add tmp var
322 (deleteEmptyParagraphMechanism): add tmp var
324 * text.C (insertChar): add tmp var
326 * rowpainter.C (paintDepthBar): add tmp var
328 * CutAndPaste.C (availableSelections): potentially check all
329 paragraphs in a cut to fill the shown strings.
331 2003-06-18 André Pönitz <poenitz@gmx.net>
333 * kbmap.[Ch]: use vector<> instead of list<>
335 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
337 * text3.C (dispatch): handle arg to LFUN_PASTE, call
338 pasteSelection with index
340 * text2.C (pasteSelection): modify, call pasteSelection with index
342 * paragraph.C (asString): reimplement version with no interval to
343 call the one with interval.
345 * lyxtext.h: add index arg to pasteSelection
347 * MenuBackend.C (MenuItem): handle PasteRecent
348 (Menu::read::Menutags): add md_pasterecent
350 (expandPasteRecent): new function
353 * MenuBackend.h: add PasteRecent to MenuItem::Kind
355 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
357 (availableSelections): new function
359 2003-06-17 Angus Leeming <leeming@lyx.org>
361 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
363 2003-06-17 Angus Leeming <leeming@lyx.org>
366 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
368 * lyxfunc.C (dispatch): invoke it.
370 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * iterators.C (operator++, ParPosition): reintroduce some
373 const_cast for the benefit of older compilers.
375 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * text3.C (dispatch): do not modify clipboard when doing
378 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
379 LFUN_DELETE_SKIP on a selection selection
381 2003-06-16 André Pönitz <poenitz@gmx.net>
387 * tabular.[Ch]: IU of clone() and getLabelList();
389 2003-06-13 André Pönitz <poenitz@gmx.net>
391 * tabular.h: compactification
393 2003-06-12 André Pönitz <poenitz@gmx.net>
397 * tabular_funcs.h: some renaming plus whitespace
399 2003-06-12 André Pönitz <poenitz@gmx.net>
402 * BufferView_pimpl.C:
408 * toc.C: Return a Paragraph & for ParIterator::operator*()
410 2003-06-11 John Levon <levon@movementarian.org>
414 * ToolbarBackend.C: add "Toolbars" section and
417 2003-06-10 Angus Leeming <leeming@lyx.org>
420 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
422 * lyxfunc.C (dispatch): invoke it.
424 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * main.C: protect <ios> with HAVE_IOS
427 (main): protect sync_with_stdio with HAVE_IOS
429 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
431 * text2.C (cutSelection): adjust
432 (pasteSelection): adjust
434 * messages.C: handle get of empty string
436 * main.C (main): use sync_with_stdio(false)
438 * lyxfunc.C (dispatch): adjust
440 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
441 (WriteAs): remove unneeded BufferView arg.
443 * bufferparams.h: use correct types on papersize, papersize2 and
446 * bufferparams.C (readToken): adjust for type
447 (writeLaTeX): add missing cases to switch.
449 * bufferlist.C (quitWriteBuffer): adjust
452 * buffer.C (asciiParagraph): remove some commented code.
454 * CutAndPaste.C: remove current_view extern variable.
455 (cutSelection): add BufferParams arg.
456 (eraseSelection): add BufferParams arg.
457 (pasteSelection): add Buffer const & arg
459 2003-06-07 John Levon <levon@movementarian.org>
467 * paragraph.C: allow InsetERT to freely space lines,
468 and some consolidation of code
470 2003-06-06 José Matos <jamatos@fep.up.pt>
472 * buffer.C (makeDocBookFile): fix bug #821
474 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
476 * BufferView_pimpl.C (dispatch): use Dialogs::visible
478 2003-06-04 Angus Leeming <leeming@lyx.org>
480 * buffer.C: bump format to 224.
482 2003-06-05 André Pönitz <poenitz@gmx.net>
484 * text2.C (redoParagraphs): remove two const_cast<>
486 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
488 * ParagraphList.h: remove last remnants of NO_STD_LIST
490 2003-06-03 Angus Leeming <leeming@lyx.org>
492 * factory.C (createInset): small change to the way InsetExternal's params
495 2003-06-04 André Pönitz <poenitz@gmx.net>
497 * buffer.h: use Undo directly instead of shared_ptr<Undo>
500 * paragraph.[Ch]: some Inset -> UpdatableInset changes
502 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
504 * undo_funcs.C: make some simple cases of undo work again
506 2003-06-03 John Levon <levon@movementarian.org>
508 * ispell.C: HPUX doesn't have sys/select.h
511 2003-06-03 John Levon <levon@movementarian.org>
513 * CutAndPaste.C: update tabular and include inset
518 * paragraph.C: remove owningBuffer(), don't pass Buffer
521 * factory.C: insetGraphicsParams changed
523 2003-06-02 John Levon <levon@movementarian.org>
529 * text3.C: remove insetparent
531 2003-06-02 John Levon <levon@movementarian.org>
534 * buffer.C: fix inset_iterator.end(), move out of line
537 2003-06-01 John Levon <levon@movementarian.org>
539 * text3.C: use a proper cut/paste when doing inset
540 insert (from Jürgen Spitzmüller)
542 2003-06-01 John Levon <levon@movementarian.org>
544 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
546 2003-05-30 André Pönitz <poenitz@gmx.net>
548 * rowpainter.C: unify second drawing phase
550 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * trans_mgr.C: remove one case of current_view
554 * text2.C (cursorBottom): delete NO_STD_LIST stuff
556 * paragraph_funcs.h: remove paragraph.h include
558 * paragraph.h: delete NO_STD_LIST stuff
560 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
562 * buffer.h: remove paragraph.h include
564 * ParagraphList.C: delete file
566 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
568 * toc.C (getTocList): adjust
570 * paragraph_pimpl.C (validate): adjust
572 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
574 * paragraph.C (Paragraph): adjust
575 (getPositionOfInset): use const_iterator, adjust
576 (bibitem): use const_iterator, adjust
577 (setInsetOwner): adjust
579 * iterators.C (operator++): adjust
581 * InsetList.[Ch]: Replace selfmade iterator with standard
582 vector::iterator also introduce const_iterator. Remove getPos,
583 getInset and setInset from InsetTable. Adjust accordingly.
585 * BufferView.C (lockInset): adjust
586 (ChangeInsets): adjust
588 * tabular.[Ch]: delete commented same_id functions
590 2003-05-28 John Levon <levon@movementarian.org>
592 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
594 2003-05-28 André Pönitz <poenitz@gmx.net>
596 * metricsinfo.[Ch]: remove 'fullredraw' member
598 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
600 * lyxtextclass.C (operator): remove caching.
602 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * text2.C (cursorBottom): adjust
607 (setCounter): use ParagraphList::find, adjust
609 * text.C (workWidth): use ParagraphList::find, adjust
611 * lyxcursor.C (LyXCursor): adjust
613 * buffer.C (inset_iterator): adjust
615 * ParagraphList.h: make iterator(value_type) private, make
616 ParagraphList a friend of iterator.
618 * ParagraphList.C (find): new function
620 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
622 2003-05-27 André Pönitz <poenitz@gmx.net>
624 * dimension.[Ch]: a -> asc, d -> des, w -> wid
626 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
630 2003-05-26 John Levon <levon@movementarian.org>
632 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
634 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * remove same_id from function signatures, adjust.
638 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
640 * undo_funcs.C (createUndo): use the id functions directly, adjust.
642 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
644 * paragraph.C (Paragraph): get rid of same_ids parameter
646 * ParagraphList.C (insert): adjust
649 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * paragraph_funcs.C (breakParagraph): adjust
652 (breakParagraphConservative): adjust
654 * buffer.C (readParagraph): adjust
656 * ParagraphList.C (insert): take a reference instead of a pointer
659 * paragraph.[Ch] (id): new function
661 * bufferlist.C (newFile): adjust
663 * ParagraphList.C (ParagraphList): adjust
665 (push_back): take a reference instead of a pointer.
667 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
669 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
672 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
673 set else use old code.
675 * ParagraphList.C: remove all NO_NEXT code and only compile this
676 code of NO_STD_LIST is set.
678 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
680 * BufferView_pimpl.C:
690 * graphics/GraphicsConverter.C:
691 * graphics/PreviewLoader.C: header adjustment
693 2003-05-23 Angus Leeming <leeming@lyx.org>
695 * LaTeXFeatures.[Ch] (useBabel): new method.
696 * bufferparams.C (writeLaTeX): use it.
698 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * ParagraphList.h (set): remove unused function.
702 2003-05-23 André Pönitz <poenitz@gmx.net>
705 * BufferView_pimpl.C:
709 * undo_funcs.C: setUndo reworked
711 * iterators.[Ch]: add access to topmost ParagraphList
713 * lyxtext.[Ch] (workWidth): add a const
715 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
717 * texrow.[Ch] (increasePos): remove function
718 * exporter.C (export): removed unused var and outdated comment
720 2003-05-23 Angus Leeming <leeming@lyx.org>
722 * latexrunparams.h: rename fragile as moving_arg.
723 * paragraph.C (simpleTeXOnePar): ditto.
724 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
726 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
730 (textUndoOrRedo): comment out a currently unused var.
732 * paragraph.h (NO_NEXT): enable NO_NEXT
734 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
736 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
738 * exporter.C (Export): adjust for removeAutoInsets removal.
740 * buffer.C (runChktex): adjust for removeAutoInsets removal.
742 * LyXAction.C (init): remove LFUN_REMOVEERRORS
744 * BufferView.[Ch] (removeAutoInsets): delete function
746 2003-05-22 Angus Leeming <leeming@lyx.org>
748 * latexrunparams.h: add a free_spacing variable.
750 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
751 to pass moving_arg, as the data is stored in runparams.fragile.
753 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
754 to Inset::latexOptional or to simpleTeXOnePar.
756 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
757 free_spacing arg to Inset::latexOptional.
759 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
762 2003-05-22 Angus Leeming <leeming@lyx.org>
764 * latexrunparams.h: add fragile and use_babel variables.
766 * bufferparams.[Ch] (writeLaTeX): return use_babel.
767 * buffer.C (makeLaTeXFile): store this returned value in
768 runparams.use_babel, thus passing it to the inset::latex methods.
770 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
771 simpleTeXSpecialChars as it is now stored in runparams.fragile.
773 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
774 longer has a fragile arg, as it is stored in runparams.fragile.
776 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
777 moving_arg parameter as the data is stored in runparams.fragile.
779 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
780 a fragile parameter as the data is stored in runparams.fragile.
782 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
786 2003-05-22 Angus Leeming <leeming@lyx.org>
788 * latexrunparams.h: add a 'bool nice' which defaults to false.
790 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
791 now encapsulated within runparams.
793 * bufferlist.C (updateIncludedTeXfiles):
794 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
796 2003-05-22 Angus Leeming <leeming@lyx.org>
798 * latexrunparams.h: new file containing struct LatexRunParams.
799 * Makefile.am: add new file.
801 * LaTeX.[Ch] (c-tor, run):
802 * buffer.[Ch] (makeLaTeXFile):
803 * bufferlist.[Ch] (updateIncludedTeXfiles):
804 * converter.C (convert, scanLog):
805 * converter.[Ch] (runLaTeX):
806 * exporter.C (Export):
807 * paragraph.[Ch] (simpleTeXOnePar):
808 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
809 * paragraph_funcs.[Ch] (latexParagraphs):
810 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
811 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
812 pass around a LatexRunParams parameter.
814 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
816 * paragraph.[Ch]: remove unused constructor
818 * ParagraphList.C (erase): new function, taking two iterators
820 2003-05-22 André Pönitz <poenitz@gmx.net>
822 * undo_funcs.C: remove duplicated code
824 * iterator.[Ch]: operator=
826 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
828 * tabular.C (SetMultiColumn): ws changes
830 * rowpainter.C (paintFirst): get rid of a ->previous
832 * lyx_cb.C (getPossibleLabel): parlist simplification
834 * BufferView.C (ChangeInsets): simplify slightly.
836 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
838 * LyXAction.C: new lfun space-insert, kill protected-space-insert
839 * lfuns.h: new LFUN_SPACE
840 * lyxfunc.C: protected space has a new lfun
841 * paragraph_funcs.C: read new space insets
843 * factory.C: handle new space insets
845 2003-05-22 André Pönitz <poenitz@gmx.net>
848 * BufferView_pimpl.C:
851 * undo_funcs.C: return a ParIterator from getParFromID.
853 * iterators.[Ch]: add two const's
855 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
857 * toc.C (getTocList): adjust
859 * iterators.[Ch]: rework for parlist
861 * buffer.C (par_iterator_begin): adjust
862 (par_iterator_end): adjust
864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
866 * BufferView.C (removeAutoInsets): adjust
867 (ChangeInsets): adjust
869 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
871 * text.C (top_y): fix bug 1110
873 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
875 * errorlist.[Ch]: added
878 * BufferView_pimpl.C:
879 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
882 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * Makefile.am: ensure that lyx is relinked upon changes to the
885 various "convenience" libs.
887 2003-05-20 Angus Leeming <leeming@lyx.org>
889 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
890 files are compiled in alphabetical order again.
892 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
894 2003-05-19 Angus Leeming <leeming@lyx.org>
896 * gettext.[Ch]: remove "char const * _(char const *)".
898 2003-05-19 André Pönitz <poenitz@gmx.net>
900 * dimension.[Ch]: promote from mathed/dimension.[Ch]
909 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
911 2003-05-19 André Pönitz <poenitz@gmx.net>
917 * paragraph_funcs.[Ch]:
919 * text3.C: more insetenv work
921 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
923 * ParagraphParameters.C (params2string): small bug fixed
925 2003-05-16 André Pönitz <poenitz@gmx.net>
928 * bufferview_funcs.C: patch from Kornel Benko to prevent
929 crash when _(...) is called twice in a statement
931 2003-05-16 André Pönitz <poenitz@gmx.net>
938 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
940 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
942 * lyx_main.C (init): remove spurious static_cast
944 2003-05-14 André Pönitz <poenitz@gmx.net>
946 * BufferView.C: fix format string
948 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
950 * BufferView.[Ch] (insertErrors): removed
951 * BufferView.[Ch] (showErrorList): added
952 * buffer.C (runChkTeX):
953 * converter.C (scanLog): call showErrorList instead of inserterrors
955 2003-05-13 André Pönitz <poenitz@gmx.net>
957 * BufferView_pimpl.C:
966 * tabular_funcs.h: tostr() from its own header
968 * ParagraphParameters.C:
975 2003-05-12 André Pönitz <poenitz@gmx.net>
978 * BufferView_pimpl.C:
982 * ParagraphParameters.C:
986 * bufferview_funcs.C:
1003 * text3.C: boost::format -> bformat all over the place
1006 2003-05-09 André Pönitz <poenitz@gmx.net>
1008 * LColor.[Ch]: Pimpl the #include <map> away
1010 2003-05-09 John Levon <levon@movementarian.org>
1012 * bufferlist.C: never remove emergency saves
1014 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * Makefile.am: better lib building
1018 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1022 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1023 (simpleTeXSpecialChars): adjust
1024 (simpleTeXSpecialChars): adjust
1025 * paragraph.C (simpleTeXOnePar): adjust
1026 * buffer.C (makeLaTeXFile): adjust
1028 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1030 * text2.C (changeDepth): parlist cleanup
1031 (getColumnNearX): ditto
1033 * rowpainter.C (getLabelFont): parlist cleanup
1035 * bufferlist.C (newFile): parlist cleanup
1037 * CutAndPaste.C (eraseSelection): parlist cleanup
1039 * BufferView_pimpl.C (trackChanges): parlist cleanup
1042 * BufferView.C (lockInset): parlist cleanup.
1043 (ChangeInsets): ditto
1045 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * CutAndPaste.h: Update file header.
1049 * CutAndPaste.C: Update file header.
1050 Store the parts cut out of the Document in a limited_stack.
1051 (copySelection): adjust
1052 (pasteSelection): new function, takes the index in the limited stack.
1053 (nrOfParagraphs): adjust
1054 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1055 simplify error inset insertion.
1056 (checkPastePossible): adjust
1058 2003-05-06 John Levon <levon@movementarian.org>
1060 * text2.C: don't cast wrap inset to float
1062 2003-05-05 André Pönitz <poenitz@gmx.net>
1065 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1067 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1068 few naked Paragraph *.
1070 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1072 * bufferparams.C: Output warning if a document with missing
1073 TeX document class is loaded
1074 * exporter.C: Disable TeX exports if the document class is missing
1077 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1078 isTeXClassAvailable()
1080 2003-05-03 John Levon <levon@movementarian.org>
1083 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1084 explicit cursor show/hide
1086 * BufferView_pimpl.h:
1087 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1088 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1090 * lyxfunc.C: hide cursor before dispatching.
1095 * text3.C: remove explicit cursor hides
1097 2003-05-02 André Pönitz <poenitz@gmx.net>
1099 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1102 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1105 * text2.C: tiny whitespace
1107 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * undo_funcs.C: almost only ws changes.
1111 * ParagraphList.C (splice): just return if pl is empty.
1113 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * ParagraphList.C (splice): new function.
1117 * CutAndPaste.C (pasteSelection): use it
1119 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * CutAndPaste.C (pasteSelection): remove the last next and
1122 previous from this file.
1124 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * CutAndPaste.C (pasteSelection): more clean up, user proper
1127 ParagraphList functions for pasteing.
1129 * ParagraphList.C (insert): new function, three arg insert
1131 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * ParagraphList.C (insert): new function, three arg insert
1135 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1138 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1142 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1146 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1149 (copySelection): clean up a bit.
1150 (pasteSelection): use make_pair
1152 * ParagraphList.C (ParagraphList): implement copy constructor
1153 (operator=): implement, base on copy constructor.
1156 * paragraph.C (erase): return a bool
1158 * paragraph_pimpl.C (erasePos): remove function, move contents...
1159 (erase): ... here. Return a bool.
1160 (erase): call erase instead of erasePos.
1162 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1164 * ParagraphList.h: define PitPosPair
1165 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1166 ParagraphList, fix a bug on pasting multiple pars
1167 * text2.C: change interface to C&P
1169 2003-04-30 André Pönitz <poenitz@gmx.net>
1171 * undo_func.C: revert part of yesterday's patch 2
1173 2003-04-30 John Levon <levon@movementarian.org>
1175 * LColor.C: s/tabular/table/
1177 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * text3.C (dispatch): do not convert iterator -> pointer
1180 * undo_funcs.C (setCursorParUndo): ditto
1181 * text_funcs.C (transposeChars): ditto
1183 * text2.C (setLayout): ws changes only
1185 * text.C (breakParagraph): do not convert iterator -> pointer
1187 (acceptChange): ditto
1188 (rejectChange): ditto
1193 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1196 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1198 * text3.C (gotoInset): YABG (yet another bad getChar)
1200 2003-04-29 André Pönitz <poenitz@gmx.net>
1202 * paragraph.h: make operator= private unimplemented as long as
1205 * ParagraphList.C: whitespace
1208 * paragraph_pimpl.[Ch]:
1209 * paragraph_funcs.C:
1211 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1214 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1216 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1218 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1219 * paragraph.[Ch] (erase):
1220 * paragraph_pimpl.[Ch] (erase): change return type and value
1221 * text2.C (cutSelection): some rework
1223 2003-04-28 John Levon <levon@movementarian.org>
1225 * bufferlist.C: changes for unsaved changes dialog
1227 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * bufferlist.C (newFile): set language (messages_) for new
1232 * buffer.C (readFile): ws changes only.
1234 2003-04-28 André Pönitz <poenitz@gmx.net>
1239 * BufferView_pimpl.C:
1240 * BufferView.C: getParFromID related ParagraphList::iterator changes
1242 2003-04-28 André Pönitz <poenitz@gmx.net>
1244 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1247 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * messages.C: remove one more localedir class variable.
1251 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * messages.C (getLocaleDir): singleton generation function
1255 (Messages): add a default constructor.
1257 * main.C (main): do not setup localedir here, do not call
1260 * gettext.C (_): use it.
1261 (gettext_init): delete funciton
1263 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * gettext.C (getLyXMessages): new singleton generating function.
1267 * buffer.C (updateDocLang): adjust
1269 * Makefile.am (messages.o): add target
1270 (main.o): remove target
1272 2003-04-27 John Levon <levon@movementarian.org>
1277 * lyxvc.C: specify cancel button in Alert::prompt
1279 2003-04-26 John Levon <levon@movementarian.org>
1284 * LyXAction.C: add LFUN_INSET_SETTINGS
1286 * lyxfunc.C: don't enable tabular-feature when there's
1287 just any locking inset
1289 2003-04-26 John Levon <levon@movementarian.org>
1291 * bufferlist.C: re-add Cancel to buffer close question
1293 * lyxfunc.C: fix import UI a bit
1295 2003-04-25 John Levon <levon@movementarian.org>
1297 * gettext.C: remove the broken asserts for now
1299 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * messages.C: make case where setlocale cannot comply work better.
1303 * buffer.C (updateDocLang): new function
1304 (changeLanguage): use it
1307 * text2.C (setCounter): use B_ a bit.
1309 * lyxlayout.C (Read): be sure to trim the label strings.
1311 * messages.C (Messages): fix typo in comment
1313 * buffer.C (readFile): set message_ after file is loaded.
1314 (makeDocBookFile): remove double return
1315 (changeLanguage): reset message_ upon language change.
1316 (B_): new func, use this to get translated buffer strings.
1318 * main.C: add myself and Jean Marc as authors.
1320 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1322 * messages.[hC]: pimplify Messages, and three different pimpls to be
1323 used in different circumstances.
1325 * gettext.[Ch]: change for use with new message code.
1327 2003-04-24 André Pönitz <poenitz@gmx.net>
1329 * factory.C: support for eqref
1331 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * messages.[Ch]: add missing char
1335 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1337 * messages.[Ch]: New files
1339 2003-04-18 John Levon <levon@movementarian.org>
1343 * BufferView_pimpl.C:
1347 * text2.C: remove layout-copy/paste (bug 778)
1349 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1351 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1353 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1355 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1356 if they succeed. Act accordingly.
1358 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * text2.C (setCharFont): adjust
1361 (setCounter): adjust
1362 (insertStringAsLines): adjust
1364 * text.C (leftMargin): adjust
1365 (setHeightOfRow): adjust
1367 * rowpainter.C (paintFirst): adjust
1370 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1372 (isFirstInSequence): ditto
1373 (getEndLabel): ditto
1376 * paragraph.C (getParLanguage): comment out some hard stuff.
1378 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1380 (simpleDocBookOnePar): ditto
1381 (makeDocBookFile): use ParagraphList::iterator
1383 * CutAndPaste.C (pasteSelection): adjust
1385 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * text2.C (getFont): adjust
1388 (getLayoutFont): adjust
1389 (getLabelFont): adjust
1391 * paragraph_funcs.C (TeXOnePar): adjust
1393 * buffer.C (simpleLinuxDocOnePar): adjust
1394 (simpleDocBookOnePar): adjust
1396 * CutAndPaste.C (pasteSelection): adjust
1398 * BufferView.C (getEncoding): adjust
1400 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1402 2003-04-16 John Levon <levon@movementarian.org>
1404 * lyxfind.C: use parlist stuff for search/changes
1406 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1408 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1410 * text2.C (deleteEmptyParagraphMechanism): adjust
1412 * text2.[Ch] (ownerParagraph): delete func (both of them
1414 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1418 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * ParagraphList.C: prepare for NO_NEXT
1422 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * text2.C (getFont): adjust
1425 (getLayoutFont): adjust
1426 (getLabelFont): adjust
1428 * paragraph.C (getFont): adjust
1429 (getLabelFont): adjust
1430 (getLayoutFont): adjust
1432 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1434 2003-04-15 John Levon <levon@movementarian.org>
1438 * lyx_main.C: handle Include in .ui files
1440 2003-04-15 John Levon <levon@movementarian.org>
1442 * MenuBackend.C: make the doc files length shorter
1445 * ToolbarBackend.C: handle toolbar placement flags,
1448 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1450 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1453 * paragraph_funcs.C (TeXOnePar): adjust
1455 * paragraph.C (getLabelFont): add outerfont arg, adjust
1456 (getLayoutFont): ditto
1457 (simpleTeXOnePar): adjust
1459 * paragraph_pimpl.C (realizeFont): delete func
1461 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1463 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1464 row argument, constify cur argument.
1466 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * text2.C (getFont): adjust
1469 (getLayoutFont): adjust
1470 (getLabelFont): adjust
1472 * paragraph_funcs.C (TeXOnePar): adjust
1473 (outerFont): new func...
1474 (realizeFont): ...moved out from here, changed this to facilitate
1477 * paragraph.C (getFont): take outerfont as arg, adjust
1478 (simpleTeXOnePar): add outerfont arg, adjust
1480 * buffer.C (simpleLinuxDocOnePar): adjust
1481 (simpleDocBookOnePar): adjust
1483 * CutAndPaste.C (pasteSelection): adjust
1485 * BufferView.C (getEncoding): adjust
1487 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * text2.C (setCharFont): adjust
1490 (setCounter): adjust
1492 * text.C (leftMargin): adjust
1493 (setHeightOfRow): adjust
1495 * rowpainter.C (paintFirst): adjust
1498 * paragraph_pimpl.C (realizeFont): adjust
1500 * paragraph.C (isFirstInSequence): move from here...
1501 * paragraph_funcs.C (isFirstInSequence): ...to here
1503 * paragraph.C (outerHook): move from here...
1504 * paragraph_funcs.C (outerHook): ...to here
1506 * paragraph.C (depthHook): move from here...
1507 * paragraph_funcs.C (depthHook): ...to here
1509 * paragraph.C (getEndLabel): move from here...
1510 * paragraph_funcs.C (getEndLabel): ...to here
1512 * text2.C (realizeFont): move from here...
1513 * paragraph_funcs.C (realizeFont): ...to here
1515 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1519 2003-04-14 Angus Leeming <leeming@lyx.org>
1521 * LColor.[Ch]: scrap LColor mathcursor.
1523 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * lyxlex.[Ch] (text): delete function
1526 * trans.C (Load): adjust
1527 * paragraph_funcs.C (readParToken): adjust
1529 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1532 vector<char> instead of a char[].
1534 * lyxlex_pimpl.C (getString): adjust
1536 (lex): use getString
1540 * lyxlex.C (text): use pimpl_->getString()
1544 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1547 (makeFontEntriesLayoutSpecific): temp var for par.size()
1548 (setLayout): temp var for ownerParagraphs().end()
1549 (fullRebreak): temp var for rows().end()
1550 (selectionAsString): temp var for boost::next(startpit), realize
1551 that the while really is a regular for loop.
1552 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1553 setCursor in one place.
1554 (setParagraph): temp vr for ownerParagraphs().end()
1555 (updateCounters): make the while loop a for loop
1556 (cutSelection): temp var for ownerParagraphs().end()
1557 (updateInset): make the do {} while() a regular for loop
1558 (getCursorX): use temp vars
1559 (setCurrentFont): use temp vars
1560 (getColumnNearX): use temp vars
1562 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * text.C (transformChar): use temp var for getChar
1565 (computeBidiTables): use temp var for row->par()
1566 (fill): move temp vars for row->par() and pit->layout() earlier in
1568 (labelFill): use temp var for row->par()
1569 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1570 asc and desc, realize that pit never changes and that firstpit is
1571 just a duplicate and not needed. Exchange rit->par() with pit in a
1573 (breakAgain): use a temp var for boost::next(rit)
1574 (breakAgainOneRow): ditto
1575 (breakParagraph): use a temp var for rows().begin()
1576 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1577 (cursorRightOneWord): use temp var for cursor.par() and
1578 cursor.pos(), remove usage of tmpcursor.
1579 (cursorLeftOneWord): use temp var for cursor.par() and
1580 cursor.pos() only set cur at end of function.
1582 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1584 * text.C, text2.C: exchange all usage of Paragraph::next with
1585 boost::next(ParagraphList::iterator)
1587 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1589 * text2.C (cursorTop): simplify implementation
1590 (cursorBottom): ditto
1591 (setParagraph): use ParagraphList::iterator
1592 (setCurrentFont): adjust
1593 (getColumnNearX): adjust
1594 (cursorRight): adjust
1595 (cursorLeft): remove usage of Paragraph::previous
1596 (cursorUpParagraph): ditto
1597 (deleteEmptyParagraphMechanism): slight cleanup
1599 * text.C (isBoundary): take a Paragraph const & instead of a
1601 (addressBreakPoint): ditto
1602 (leftMargin): remove usage of Paragraph::previous.
1603 (setHeightOfRow): ditto
1604 (cursorLeftOneWord): ditto
1605 (selectNextWordToSpellcheck): ditto
1608 (breakParagraph): remove one usage of Paragraph::next
1609 (redoParagraph): ditto
1610 (acceptChange): ditto
1611 (insertChar): adjust
1612 (rowBreakPoint): adjust
1614 * bufferview_funcs.C (toggleAndShow): adjust
1616 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1618 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1619 methods to access it.
1621 * text.C: Added updateRowPositions to compute all row positions.
1622 Make top_y and getRowNearY() to use the cached y position
1624 2003-04-11 John Levon <levon@movementarian.org>
1626 * text.C (rowBreakPoint): reintroduce the labelEnd
1627 checks, code copied from the row fill stuff. Deep voodoo.
1629 * text.C (fill): add a comment and debugging for the
1632 2003-04-11 John Levon <levon@movementarian.org>
1634 * text.C: make sure fullrow insets get wrapped to the next line,
1635 even when they're in a manual label
1637 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1639 * text2.C (insertParagraph): make it take ParagraphList::iterator
1641 (setLayout): make it return ParagraphList::iterator
1642 (redoParagraphs): ditto
1644 (checkParagraph): ditto
1646 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1648 * text2.C: adjust several funcs.
1649 (realizeFont): take a ParagraphList::iterator as arg.
1650 (getLayoutFont): ditto
1651 (getLabelFont): ditto
1652 (setCharFont): ditto
1654 * text.C: adjust several funcs.
1656 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1658 * text.C (selectNextWordToSpellcheck): don't accidentally
1661 2003-04-10 John Levon <levon@movementarian.org>
1663 * ToolbarBackend.C (getIcon): special handling for
1666 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1668 * text2.C (cursorRight): a getChar assert fixed
1670 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * text2.C (getFont): change to take a ParagraphList::iterator
1673 instead of Paragraph*
1674 Adjust several functions.
1676 * text.C (transformChar): change to take a ParagraphList::iterator
1677 instead of Paragraph*
1678 (singleWidth): ditto
1679 Adjust several functions.
1681 * rowpainter.C: adjust several functions
1682 * rowpainter.h:store a ParagraphList::iterator and not a
1686 2003-04-09 John Levon <levon@movementarian.org>
1691 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1692 and the "help" bits as well
1694 2003-04-09 John Levon <levon@movementarian.org>
1697 * ToolbarBackend.C: allow multiple toolbars
1699 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * undo_funcs.C (setCursorParUndo): adjust
1703 * text_funcs.C (transposeChars): adjust
1705 * text3.C (gotoNextInset): adjust
1708 * text2.C (setLayout): adjust
1709 (changeDepth): adjust
1711 (redoParagraphs): adjust
1712 (selectionAsString): adjust
1713 (setParagraph): adjust
1714 (insertInset): adjust
1715 (cutSelection): adjust
1716 (copySelection): adjust
1717 (pasteSelection): adjust
1718 (insertStringAsLines): adjust
1719 (updateInset): adjust
1720 (setCursor): change to take a ParagraphList::iterator parameter
1721 (setCursorIntern): change to take a ParagraphList::iterator parameter
1722 (setCurrentFont): adjust
1723 (cursorLeft): adjust
1724 (cursorRight): adjust
1725 (deleteEmptyParagraphMechanism): adjust
1727 * text.C (breakParagraph): adjust
1728 (insertChar): adjust
1729 (acceptChange): adjust
1730 (rejectChange): adjust
1731 (selectNextWordToSpellcheck): adjust
1732 (changeCase): adjust
1736 * lyxfind.C (SearchForward): adjust
1737 (SearchBackward): adjust
1738 (nextChange): adjust
1740 * lyxcursor.C (par): adjust
1742 * lyxcursor.h: store a ParagraphList::iterator instead of a
1745 * lyx_cb.C (getPossibleLabel): adjust
1747 * bufferview_funcs.C (toggleAndShow): adjust
1749 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1752 * BufferView.C (removeAutoInsets): adjust
1753 (lockedInsetStoreUndo): adjust
1755 2003-04-09 John Levon <levon@movementarian.org>
1757 * ToolbarBackend.C: try icon without argument
1758 if with argument fails
1760 2003-04-08 John Levon <levon@movementarian.org>
1763 * ToolbarBackend.C: add getIcon(), handle tooltip,
1764 and change from "Icon" to "Item".
1766 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1768 * BufferView.C (lockInset): another bad getchar crunched
1770 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1772 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1775 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1777 * lyxfind.C (searchForward, searchBackwards): bug 782
1779 2003-04-07 John Levon <levon@movementarian.org>
1781 * paragraph.C: remove dead comment
1783 * text.C: remove troublesome depth-fiddling code
1784 in leftMargin() and rightMargin() (bug 1017)
1786 * text.C: fix breaking of rows in nested lists
1789 * text2.C (updateCounters): fix up depth values
1792 2003-04-07 John Levon <levon@movementarian.org>
1794 * BufferView_pimpl.C: clear message when doc finishes resizing,
1795 and after a mouse event
1797 * lyxfunc.C: clear message after exiting inset
1799 2003-04-07 John Levon <levon@movementarian.org>
1801 * bufferview_funcs.C: show math status not outside
1802 status in the statusbar
1804 2003-04-07 John Levon <levon@movementarian.org>
1806 * lyxfunc.C: note status changed after a depth change
1808 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1810 * LaTeX.h: move AuxInfo operator==, != out of line.
1811 Remove LaTeX virtual destructor; nothing derives from it.
1812 Move operator()() out of public area and rename it startscript().
1813 Change protected for private.
1815 2003-04-04 Angus Leeming <leeming@lyx.org>
1818 * text2.C: remove unneeded #includes.
1820 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1822 * text2.C (dEPM): fix the heigth of the next row
1824 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1826 * text.C: squashed an invalid getChar requester + some ws changes
1828 2003-04-03 John Levon <levon@movementarian.org>
1830 * bufferview_funcs.h:
1831 * bufferview_funcs.C:
1834 * text2.C: make getStatus work for the env depth lfuns
1836 2003-04-03 John Levon <levon@movementarian.org>
1838 * bufferview_funcs.h:
1839 * bufferview_funcs.C:
1842 * text2.C: parlistize decDepth(), by merging it with incDepth()
1844 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * lyxrow.h: store a ParagraphList::iterator instead of a
1847 Paragraph* and adjust other class functions to suit.
1849 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1852 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1854 * text2.C (setCursor): do not anchor to cursor row for the time being
1856 2003-04-02 John Levon <levon@movementarian.org>
1863 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1865 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1867 * paragraph.h: make ParagraphList and ParagraphList::iterator
1868 friends of Paragraph.
1870 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1872 * ParagraphList.C: Use the private next_ and previous_ from
1875 2003-04-01 John Levon <levon@movementarian.org>
1879 * Makefile.am: rename, remove defaults gunk
1882 * MenuBackend.C: remove defaults gunk
1885 * Languages.C: remove defaults gunk
1888 * lyx_main.C: error out if files couldn't be found.
1890 2003-04-02 John Levon <levon@movementarian.org>
1892 * text2.C: make incDepth() use parlist
1894 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * undo_funcs.C (firstUndoParagraph): adjust
1898 * text3.C (gotoInset): adjust
1899 (dispatch): adjust, and rewrite loop.
1901 * text2.C (init): adjust, and rewrite loop.
1902 (redoParagraphs): adjust
1903 (updateInset): adjust, and rewrite loop.
1904 (deleteEmptyParagraphMechanism): adjust
1906 * tabular.C (LyXTabular): adjust
1907 (SetMultiColumn): adjust
1910 * lyxtext.[Ch] (ownerParagraph): delete function
1911 (ownerParagraphs): new function returns a ParagraphList.
1913 * BufferView.C (removeAutoInsets): adjust
1914 (insertErrors): adjust
1915 (setCursorFromRow): adjust
1917 2003-04-01 Angus Leeming <leeming@lyx.org>
1919 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1922 2003-04-02 John Levon <levon@movementarian.org>
1928 * text_funcs.C: make transposeChars a free function
1930 * lyxrow_funcs.C: remove wrong comment
1932 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * rowpainter.C: adjust
1940 * lyxrow_funcs. [Ch]: new files
1942 * lyxrow.[Ch]: remove next and previous pointers
1943 (next,previous): remove accessor functions
1944 (isParEnd): move to lyxrow_funcs
1945 (lastPos): move to lyxrow_funcs
1946 (nextRowIsAllInset): move to lyxrow_funcs
1947 (lastPrintablePos): move to lyxrow_funcs
1948 (numberOfSeparators): move to lyxrow_funcs
1949 (numberOfHfills): move to lyxrow_funcs
1950 (numberOfLabelHfills): move to lyxrow_funcs
1951 (hfillExpansion): move to lyxrow_funcs
1955 * bufferview_funcs.C (toggleAndShow): adjust
1957 * RowList.h: Remove class RowList from file leave just a
1960 * RowList.C: delete file
1962 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1965 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * text3.C (cursorPrevious): adjust
1968 (cursorNext): adjust
1971 * text2.C (redoHeightOfParagraph): adjust
1972 (redoDrawingOfParagraph): adjust
1975 * text.C (breakParagraph): adjust
1976 (insertChar): adjust
1979 * rowpainter.C (RowPainter): adjust
1980 (leftMargin): simplify and adjust
1981 (most rowpainter functions): adjust.
1983 * rowpainter.h: store the row as RowList::iterator not as Row*
1985 * lyxcursor.C (row): taka RowList::iterator as arg
1988 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1991 2003-04-01 Angus Leeming <leeming@lyx.org>
1993 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1994 stuff like bool Bool.
1996 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1998 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2001 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2006 * lyxtext.h (rows): drop one version and leve a const variant that
2007 returns a RowList::iterator.
2009 2003-03-31 Angus Leeming <leeming@lyx.org>
2011 * text.C (fill): ensure that the signature is the same as that in the
2014 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * text2.C (redoParagraphs): adjust
2017 (updateCounters): adjust
2018 (checkParagraph): adjust
2019 (getColumnNearX): adjust and reformat a bit.
2021 * text.C (top_y): adjust
2023 (leftMargin): adjust
2024 (prepareToPrint): adjust
2026 (getRowNearY): adjust
2028 * lyxtext.h: make rowlist_ mutable.
2030 * RowList.h: add const_iterator
2031 * RowList.C: adjust for RowList::const_iterator.
2033 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2036 2003-03-31 John Levon <levon@movementarian.org>
2039 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2041 * lyx_main.C: set default fonts from using lyx_gui funcs
2043 * exporter.C: pdf_mode moved from lyxrc
2046 * lyxfunc.C: changes from above
2048 2003-03-31 John Levon <levon@movementarian.org>
2050 * lyx_main.C: fix to the last fix
2052 2003-03-31 John Levon <levon@movementarian.org>
2054 * bufferlist.C: "Load original" -> "Load Original"
2060 * format.C: more Alert cleanups
2062 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * text2.C (removeParagraph): make it take a RowList::iterator as
2066 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2067 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2069 * text.C (anchor_row): make it take a RowList::iterator as arg,
2071 (computeBidiTables): make it take a const reference to Row instead
2072 of Row pointer, adjust.
2073 (leftMargin): make it take a RowList::iterator as arg, adjust.
2074 (rowBreakPoint): adjust
2075 (breakAgainOneRow): make it take a RowList::iterator as arg,
2077 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2079 * bufferview_funcs.C (toggleAndShow): adjust
2081 2003-03-30 John Levon <levon@movementarian.org>
2085 * boost-inst.C: moved to support
2087 * several files: changes as a result
2089 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * text2.C (LyXText): adjust.
2093 (removeRow): make it take a RowList::iterator as arg, adjust.
2094 (fullRebreak): adjust
2095 (deleteEmptyParagraphMechanism): adjust
2096 (clearPaint): adjust
2099 * text.C (top_y): adjust
2100 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2101 (breakAgain): make it take a RowList::iterator as arg, adjust.
2102 (breakParagraph): adjust
2103 (insertChar): adjust
2106 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2107 need_break_row, and refresh_row.
2109 * text3.C (dispatch): adjust
2111 * text2.C (checkParagraph): adjust
2113 (setCursorFromCoordinates): adjust
2115 * text.C (top_y): adjust
2117 (getRow): make it return a RowList::iterator, adjust
2118 (getRowNearY): make it return a RowList::iterator, adjust
2120 * text2.C (init): adjust
2121 (insertRow): remove function
2122 (insertParagraph): adjust
2123 (redoParagraphs): adjust
2124 (fullRebreak): adjust
2125 (updateCounters): adjust
2127 * text.C (top_y): rewrite to use RowList iterators.
2129 (setHeightOfRow): rewrite to sue RowList iterators.
2130 (appendParagraph): adjust
2131 (breakAgain): adjust
2132 (breakAgainOneRow): adjust
2133 (breakParagraph): adjust
2135 (getRowNearY): adjust, and remove commented code.
2137 * lyxtext.h (firstRow): delete function
2138 (lastRow): delete function
2139 (rows): new function (const and non-const versions.)
2140 (insertRow): delete function
2142 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2144 2003-03-29 John Levon <levon@movementarian.org>
2146 * BufferView_pimpl.C: always update scrollbar top
2147 because pasting text when we're anchored could mean we
2148 miss an update altogether
2150 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * text2.C (init): use rowlist_.end() and not 0.
2153 (insertRow): change to take a RowList::iterator as arg, adjust
2155 (insertParagraph): change to take a RowList::iterator as arg,
2157 (redoParagraphs): remove some debug msgs.
2159 * text.C (appendParagraph): change to take a RowList::iterator
2160 arg, adjust for this.
2161 (breakAgain): add an assert
2162 (breakAgainOneRow): ditto
2164 2003-03-29 John Levon <levon@movementarian.org>
2166 * text2.C: do not clear selection after inc/decDepth
2169 2003-03-29 John Levon <levon@movementarian.org>
2172 * buffer.C: fix broken strerrors according to Lars
2174 2003-03-29 John Levon <levon@movementarian.org>
2176 * converters.C: more Alert cleanups
2178 2003-03-29 John Levon <levon@movementarian.org>
2180 * bufferview_funcs.C: remove pointless Alert
2182 * buffer.C: fix confusing error message when
2183 a template is chmoded 000
2185 2003-03-29 John Levon <levon@movementarian.org>
2189 * BufferView_pimpl.C: Alert fixes
2193 * tabular-old.C: remove unused table compat reading
2195 2003-03-29 John Levon <levon@movementarian.org>
2200 * lyx_cb.C: more Alert cleanups
2202 * lyxfunc.C: don't allow chktex if not latex document
2204 2003-03-29 John Levon <levon@movementarian.org>
2208 * buffer.C: warnings pushed down from support/,
2211 2003-03-29 John Levon <levon@movementarian.org>
2213 * lyxfunc.C: safety check for C-r (revert)
2215 2003-03-29 John Levon <levon@movementarian.org>
2218 * bufferlist.C: several UI fixes using Alert::prompt.
2219 Fix the pointless looping quit code. Fix stupid revert
2224 * lyx_cb.C: use Alert::prompt
2226 * lyx_main.C: remove a silly question
2228 * lyxfunc.C: remove a couple of silly questions,
2231 2003-03-28 John Levon <levon@movementarian.org>
2233 * text2.C: fix bug 974 (End on empty par)
2235 2003-03-28 John Levon <levon@movementarian.org>
2237 * BufferView_pimpl.C:
2239 * lfuns.h: remove do-nothing math greek lfuns
2241 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * lyxgluelength.h (isValidGlueLength): add default arg on
2244 parameter 2. Remove default arg from friend in class.
2246 * lyxlength.h (isValidLength): add default arg on parameter 2.
2247 Remove default arg from friend in class.
2249 * text2.C (LyXText): adjust, initialize refresh_row.
2253 (insertParagraph): adjst
2254 (redoParagraphs): adjust
2255 (fullRebreak): adjust
2256 (updateCounters): adjust
2257 (deleteEmptyParagraphMechanism): first attempt at fixing a
2260 * text.C (top_y): adjust
2261 (setHeightOfRow): adjust
2263 (getRowNearY): adjust
2265 * lyxtext.h: include RowList.h
2266 (~LyXText): not needed anymore, deleted.
2267 (firstRow): modify for RowList
2268 (lastRow): new function
2269 Delete firstrow and lastrow class variables, add a Rowlist
2270 rowlist_ class variable.
2272 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2275 * RowList.C (insert): fix case where it == begin().
2277 2003-03-26 Angus Leeming <leeming@lyx.org>
2279 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2280 the thesaurus dialog.
2282 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2286 * RowList.[Ch]: new files
2288 * ParagraphList.C (erase): handle the case where it == begin
2291 2003-03-25 John Levon <levon@movementarian.org>
2295 * aspell.C: add new aspell support
2298 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2301 2003-03-25 Angus Leeming <leeming@lyx.org>
2304 * LyXAction.C (init): new LFUN_INSET_INSERT.
2306 * BufferView_pimpl.C (dispatch): split out part of the
2307 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2309 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2312 2003-03-25 Angus Leeming <leeming@lyx.org>
2314 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2316 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2319 * text3.C: remove useless row->height(0)
2321 2003-03-25 John Levon <levon@movementarian.org>
2325 * text3.C: rename the refreshing stuff to better names
2327 2003-03-24 John Levon <levon@movementarian.org>
2329 * BufferView_pimpl.h:
2330 * BufferView_pimpl.C: update layout choice on a mouse
2333 2003-03-23 John Levon <levon@movementarian.org>
2335 * Makefile.am: fix commandtags.h reference
2337 2003-03-22 John Levon <levon@movementarian.org>
2339 * BufferView_pimpl.C:
2344 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2346 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2349 * text.C: take the rtl methods out of line
2351 2003-03-21 André Pönitz <poenitz@gmx.net>
2353 * metricsinfo.[Ch]: new files containing structures to be passed around
2354 during the two-phase-drawing...
2356 2003-03-21 André Pönitz <poenitz@gmx.net>
2358 * lyxtextclass.C: read 'environment' tag.
2360 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2362 * text2.C (removeRow): fix bug 964
2364 2003-03-20 John Levon <levon@movementarian.org>
2368 * text2.C: paint cleanups. Inset::update() dropped font
2371 2003-03-19 John Levon <levon@movementarian.org>
2373 * lyxfunc.C: only fitcursor/markDirty if available()
2375 2003-03-19 John Levon <levon@movementarian.org>
2377 * commandtags.h: rename to ...
2379 * lfuns.h: ... this, and renumber / cleanup
2381 2003-03-19 John Levon <levon@movementarian.org>
2383 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2384 fit the cursor after an lfun
2388 * BufferView_pimpl.h:
2389 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2391 * LyXAction.C: layout-character should have ReadOnly
2393 * ParagraphParameters.C:
2395 * bufferview_funcs.C:
2402 * undo_funcs.C: changes from above
2404 2003-03-18 John Levon <levon@movementarian.org>
2406 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2407 remove it from update()
2409 * lyxfunc.C: update layout choice after an lfun
2411 * text3.C: remove extra updateLayoutChoice()s
2413 2003-03-18 John Levon <levon@movementarian.org>
2415 * text.C: top_y change means full repaint, fix
2416 a drawing bug with cursor movement
2418 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2422 * text2.C: anchor row on setCursor
2424 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2426 * lyxtext.h: remove almost all mutable keywords
2429 * text3.C: remove const keywords accordingly
2431 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2435 (TeXEnvironment): ditto
2438 2003-03-17 John Levon <levon@movementarian.org>
2440 * text.C (rowBreakPoint): remove attempt to fix displayed
2441 math insets inside a manual label
2443 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * lyxtext.h: remove BufferView* as first arg from almost all class
2447 * other files: adjust.
2449 2003-03-17 John Levon <levon@movementarian.org>
2453 * text2.C: more paint cleanups
2455 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2458 * rowpainter.C: remove "smart" background painting code
2460 2003-03-16 John Levon <levon@movementarian.org>
2465 * text3.C: add helper functions for setting refresh_row/y
2467 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2469 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2470 newline inset which *can* get inserted in the pass_thru layouts.
2471 This is primarily for literate documents.
2473 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2475 * buffer.C: increment LYX_FORMAT to 223
2477 2003-03-14 André Pönitz <poenitz@gmx.net>
2479 * textclass.h: prepare for environment handling, ws changes
2480 * lyxlayout.C: read latexheader and latexfooter tags
2482 2003-03-14 John Levon <levon@movementarian.org>
2484 * text2.C: rewrite ::status() a bit
2486 2003-03-13 John Levon <levon@movementarian.org>
2488 * lyxtext.h: add some docs
2490 2003-03-13 John Levon <levon@movementarian.org>
2495 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2497 2003-03-13 John Levon <levon@movementarian.org>
2499 * text3.C: fix appendix redrawing
2501 2003-03-13 John Levon <levon@movementarian.org>
2503 * text.C (setHeightOfRow):
2505 * rowpainter.C: make appendix mark have the text
2506 "Appendix" so the user knows what it is
2509 * LColor.C: s/appendixline/appendix/ from above
2511 2003-03-13 John Levon <levon@movementarian.org>
2513 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2515 * text.C: fix a getChar(pos) bug properly
2517 2003-03-13 Angus Leeming <leeming@lyx.org>
2520 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2521 Probably only temporary. Let's see how things pan out.
2523 * BufferView.C (unlockInset):
2524 * BufferView_pimpl.C (fitCursor):
2525 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2527 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2528 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2530 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2531 new functions that convert ParagraphParameters to and from a string.
2533 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2534 BufferView::Pimpl's dispatch.
2535 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2537 2003-03-13 André Pönitz <poenitz@gmx.net>
2541 * factory.C: make it aware of InsetEnv
2543 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * text2.C (setCursor): never ask for one past last
2546 (setCursor): add some debugging messages.
2548 * text.C (singleWidth): never ask for one past last
2549 (singleWidth): ditto
2551 (rightMargin): ditto
2552 (rowBreakPoint): ditto
2553 (setHeightOfRow): ditto
2554 (prepareToPrint): ditto
2556 * rowpainter.C (paintBackground): never ask for one past last
2557 (paintText): never ask for one past last
2559 * paragraph_pimpl.C (getChar): make the assert stricter, never
2560 allow the one past last pos to be taken
2562 * paragraph.C (getChar): ws changes only
2564 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2565 (numberOfSeparators): ditto
2566 (numberOfHfills): ditto
2568 2003-03-12 John Levon <levon@movementarian.org>
2574 * paragraph_funcs.C: fix per-buffer authorlists
2576 2003-03-12 John Levon <levon@movementarian.org>
2578 * text.C: fix newline in right address
2580 2003-03-12 Angus Leeming <leeming@lyx.org>
2582 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2583 duplicate those in LyXFunc::dispatch.
2587 * ToolbarDefaults.C:
2588 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2589 Add LFUN_FONTFREE_UPDATE.
2591 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2592 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2594 * bufferview_func.[Ch]: several new functions to facilliate
2595 transfer of data to and from the character dialog.
2597 2003-03-12 John Levon <levon@movementarian.org>
2602 * paragraph_funcs.C:
2603 * paragraph_pimpl.C:
2607 * text3.C: remove META_NEWLINE in favour of an inset
2610 * rowpainter.C: remove paintNewline (done by inset)
2612 2003-03-12 John Levon <levon@movementarian.org>
2614 * paragraph_pimpl.C: complain about bad getChar()s
2615 for a while at least
2617 2003-03-12 John Levon <levon@movementarian.org>
2620 * buffer.C: move paragraph read into a separate function,
2621 a little renaming to reflect that.
2624 * bufferparams.C: remove the author_ids map, not necessary now
2627 * factory.C: moved Buffer::readInset to here
2629 * paragraph_funcs.h:
2630 * paragraph_funcs.C: readParagraph free function moved from
2633 * tabular.C: name change
2635 2003-03-12 John Levon <levon@movementarian.org>
2638 * ParagraphParameters.C: move par params input to
2641 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2642 behave like a normal read from the stream wrt reading
2643 a line vs. a \\token
2645 2003-03-12 John Levon <levon@movementarian.org>
2648 * ParagraphParameters.h:
2649 * ParagraphParameters.C: move output code to a
2652 2003-03-12 John Levon <levon@movementarian.org>
2654 * BufferView.C (insertLyXFile):
2657 * tabular.C: use a parlist iterator for creating the
2660 2003-03-12 John Levon <levon@movementarian.org>
2662 * buffer.C: make current_change static local not
2665 2003-03-12 John Levon <levon@movementarian.org>
2667 * buffer.C: fix insertStringAsLines for change tracking
2669 2003-03-12 John Levon <levon@movementarian.org>
2676 * bufferparams.C: move author list into params. Rename some
2677 functions. Move the header reading into a separate token
2678 loop. Move the header token reading into BufferParams.
2680 2003-03-12 John Levon <levon@movementarian.org>
2682 * changes.C: put debug inside lyxerr.debugging() checks
2684 2003-03-11 André Pönitz <poenitz@gmx.net>
2686 * factory.C: make it aware of InsetHFill
2688 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2690 * buffer.C (latexParagraphs): move function from here...
2691 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2694 2003-03-10 Angus Leeming <leeming@lyx.org>
2696 * LyXAction.C (init): fix bug in poplating array with multiple entries
2697 with the same LFUN (spotted by JMarc).
2699 2003-03-10 John Levon <levon@movementarian.org>
2702 * text2.C: move getColumnNearX() near its
2705 2003-03-10 John Levon <levon@movementarian.org>
2707 * text.C: fix break before a minipage
2709 2003-03-10 John Levon <levon@movementarian.org>
2711 * text.C: fix the last commit
2713 2003-03-09 John Levon <levon@movementarian.org>
2717 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2718 bug 365 (don't break before insets unless needed). Don't
2719 return a value > last under any circumstances.
2721 2003-03-09 Angus Leeming <leeming@lyx.org>
2723 * BufferView_pimpl.C (trackChanges, dispatch): call
2724 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2726 2003-03-09 Angus Leeming <leeming@lyx.org>
2728 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2729 than Dialogs::showAboutlyx().
2731 2003-03-09 Angus Leeming <leeming@lyx.org>
2733 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2734 than Dialogs::showTabularCreate().
2736 2003-03-09 John Levon <levon@movementarian.org>
2740 * text2.C: 3rd arg to nextBreakPoint was always the same.
2743 2003-03-08 John Levon <levon@movementarian.org>
2750 * text2.C: Remove the "main" bit from the "main body"
2753 2003-03-08 John Levon <levon@movementarian.org>
2755 * text.C (leftMargin): The left margin of an empty
2756 manual label paragraph should not include the label width
2759 * text.C (prepareToPrint): don't attempt to measure hfills
2760 for empty manual label paragraphs - the answer should be 0
2762 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * CutAndPaste.C: remove commented code and reindent.
2766 2003-03-08 John Levon <levon@movementarian.org>
2769 * lyxfunc.C: move reloadBuffer()
2772 * BufferView.C: to here
2774 * lyxvc.C: add comment
2777 * vc-backend.C: call bv->reload() to avoid
2778 getStatus() check on MENURELOAD
2780 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2782 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2783 to an old format .dep file.
2785 2003-03-07 Angus Leeming <leeming@lyx.org>
2787 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2788 when the LFUN_MOUSE_RELEASE should have been handled by
2789 inset->localDispatch.
2791 2003-03-07 Angus Leeming <leeming@lyx.org>
2793 * BufferView_pimpl.C (dispatch):
2794 * LyXAction.C (init):
2795 * ToolbarDefaults.C (init):
2797 * lyxfunc.C (getStatus):
2798 remove LFUN_INSET_GRAPHICS.
2800 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2802 2003-03-07 Angus Leeming <leeming@lyx.org>
2805 * LyXAction.C (init):
2806 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2808 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2811 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2813 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2814 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2816 2003-03-07 Angus Leeming <leeming@lyx.org>
2818 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2821 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * ParagraphList.C (front): new function
2826 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2828 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2829 and top_row_offset_. removed var first_y.
2831 * text2.C (LyXText, removeRow):
2833 * BufferView_pimpl.C:
2834 use these methods instead of using first_y
2836 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * text2.C (pasteSelection): adjust for checkPastePossible
2840 * CutAndPaste.C: remove Paragraph * buf and replace with
2841 ParagraphList paragraphs.
2842 (DeleteBuffer): delete
2843 (cutSelection): change the tc type to textclass_type
2844 (copySelection): change the tc type to textclass_type
2845 (copySelection): adjust for ParagraphList
2846 (pasteSelection): change the tc type to textclass_type
2847 (pasteSelection): adjust for Paragraphlist
2848 (nrOfParagraphs): simplify for ParagraphList
2849 (checkPastePossible): simplify for ParagraphList
2850 (checkPastePossible): remove unused arg
2852 * ParagraphList.C (insert): handle the case where there are no
2855 * CutAndPaste.h: make CutAndPaste a namespace.
2857 * text3.C (dispatch): adjust
2859 * text.C (breakParagraph): add a ParagraphList as arg
2861 * paragraph_funcs.C (breakParagraph): change to take a
2862 BufferParams and a ParagraphList as args.
2863 (breakParagraphConservative): ditto
2864 (mergeParagraph): ditto
2865 (TeXDeeper): add a ParagraphList arg
2866 (TeXEnvironment): ditto
2869 * buffer.C (readLyXformat2): adjust
2870 (insertStringAsLines): adjust
2871 (latexParagraphs): adjust
2873 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2874 (cutSelection): adjust
2875 (pasteSelection): adjust
2877 * BufferView_pimpl.C (insertInset): adjust
2879 2003-03-05 Angus Leeming <leeming@lyx.org>
2882 * LyXAction.C (init):
2883 * BufferView_pimpl.C (dispatch):
2884 * lyxfunc.C (getStatus):
2885 remove LFUN_CHILD_INSERT.
2887 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2889 2003-03-05 Angus Leeming <leeming@lyx.org>
2892 * LyXAction.C (init):
2893 * src/factory.C (createInset):
2894 * lyxfunc.C (getStatus):
2895 * text3.C (dispatch):
2896 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2898 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2900 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * ParagraphList.C (insert): handle insert right before end()
2903 (erase): fix cases where it can be first or last paragraph.
2905 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2908 Paragraph::next and Paragraph::previous
2911 * text.C (breakParagraph): adjust
2913 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2914 BufferParams& as arg.
2915 (breakParagraph): use ParagraphList::insert
2916 (breakParagraphConservative): take a Buffer* instead of a
2917 BufferParams& as arg.
2918 (breakParagraphConservative): use ParagraphList::insert.
2920 * buffer.C (insertStringAsLines): un-const it
2921 (insertStringAsLines): adjust
2923 * ParagraphList.C (insert): new function
2925 * CutAndPaste.C (pasteSelection): adjust
2927 * text.C (backspace): adjust
2929 * tabular.C (SetMultiColumn): adjust
2931 * CutAndPaste.C (cutSelection): adjust
2932 (pasteSelection): adjust
2934 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2935 Buffer const * as arg
2937 * ParagraphList.C (erase): new function
2938 * paragraph_funcs.C (mergeParagraph): use it
2939 (mergeParagraph): make it take a Buffer* instead of a
2940 BufferParams* as arg
2942 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2944 (breakParagraphConservative): ditto
2946 * paragraph.h: remove the breakParagraph friend
2948 * paragraph.C (eraseIntern): new function
2949 (setChange): new function
2951 * paragraph_funcs.C (mergeParagraph): make it take a
2952 ParagraphList::iterator instead of a Paragraph *, adjust
2955 * paragraph.h: move an #endif so that the change tracking stuff
2956 also works in the NO_NEXT case.
2958 2003-03-04 Angus Leeming <leeming@lyx.org>
2961 * LyXAction.C: new LFUN_INSET_MODIFY.
2963 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2964 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2966 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * several files: ws changes only
2970 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2971 (TeXEnvironment): ditto
2974 * buffer.C (makeLaTeXFile): adjust
2975 (latexParagraphs): make it take ParagraphList::iterator as args
2977 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * buffer.C (latexParagraphs): adjust
2981 * paragraph.C (TeXOnePar): move function...
2982 (optArgInset): move function...
2983 (TeXEnvironment): move function...
2984 * paragraph_pimpl.C (TeXDeeper): move function...
2985 * paragraph_funcs.C: ...here
2987 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2989 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * buffer.C (readInset): remove compability code for old Figure and
2994 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * buffer.C: ws changes
2999 * BufferView_pimpl.C: ditto
3002 * bufferlist.h: ditto
3006 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3008 * converter.[Ch]: split into itself +
3011 * Makefile.am: += graph.[Ch] + format.[Ch]
3018 * lyxrc.C: added #include "format.h"
3020 2003-02-27 Angus Leeming <leeming@lyx.org>
3022 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3025 * factory.C (createInset): add "label" to the factory.
3027 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3028 string and do no more.
3030 2003-02-27 Angus Leeming <leeming@lyx.org>
3033 * LyXAction.C (init):
3034 * factory.C (createInset):
3035 * BufferView_pimpl.C (dispatch):
3036 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3038 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3040 * lyxfunc.C (dispatch):
3041 * text3.C (dispatch): pass name to params2string.
3043 2003-02-26 Angus Leeming <leeming@lyx.org>
3045 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3047 Rearrange the ~includes. Strip out the unnecessary ones.
3049 * factory.C (createInset): reformat.
3050 create new insets for the various LFUN_XYZ_APPLY lfuns.
3052 2003-02-26 John Levon <levon@movementarian.org>
3055 * lyxrow.C: add isParStart,isParEnd helpers
3057 * paragraph.h: make isInserted/DeletedText take refs
3059 * paragraph_funcs.h:
3060 * paragraph_funcs.C: remove #if 0'd code
3065 * text.C: use lyxrow helpers above.
3066 Move draw and paint routines to RowPainter.
3067 Make several methods use refs not pointers.
3068 Make backgroundColor() const.
3069 Add markChangeInDraw(), isInInset().
3070 Merge changeRegionCase into changeCase.
3071 Make workWidth() shouldn't-happen code into an Assert.
3074 * rowpainter.C: new class for painting a row.
3077 * vspace.C: make inPixels take a ref
3079 2003-02-26 Angus Leeming <leeming@lyx.org>
3081 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3084 2003-02-25 John Levon <levon@movementarian.org>
3086 * ispell.C: give the forked command a more accurate name
3088 2003-02-22 John Levon <levon@movementarian.org>
3091 * toc.C: make TocItem store an id not a Paragraph *
3094 2003-02-21 Angus Leeming <leeming@lyx.org>
3096 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3097 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3098 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3099 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3100 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3101 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3103 * BufferView_pimpl.C (dispatch):
3104 * LyXAction.C (init):
3105 * factory.C (createInset):
3106 * lyxfunc.C (getStatus, dispatch):
3107 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3109 2003-02-21 Angus Leeming <leeming@lyx.org>
3111 * BufferView_pimpl.C (MenuInsertLyXFile):
3112 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3113 * lyxfunc.C (menuNew, open, doImport):
3114 no longer pass a LyXView & to fileDlg.
3116 2003-02-21 Angus Leeming <leeming@lyx.org>
3118 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3119 * LyXAction.C: change, BIBKEY to BIBITEM.
3120 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3121 Change InsetBibKey to InsetBibitem.
3122 Change BIBKEY_CODE to BIBITEM_CODE.
3123 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3124 * factory.C: replace insetbib.h with insetbibitem.h.
3125 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3126 * paragraph.C: replace insetbib.h with insetbibitem.h.
3127 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3128 Change bibkey() to bibitem().
3129 * text.C: remove insetbib.h.
3130 * text2.C: replace insetbib.h with insetbibitem.h.
3131 change bibkey() to bibitem().
3132 * text3.C: remove insetbib.h.
3133 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3135 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3137 * lyxrc.C (output): enclose user email in quotes (in case there are
3140 2003-02-18 John Levon <levon@movementarian.org>
3142 * buffer.h: add std::
3144 2003-02-17 John Levon <levon@movementarian.org>
3150 * pspell.C: reworking. Especially in ispell, a large
3151 number of clean ups and bug fixes.
3153 * lyxfunc.C: fix revert to behave sensibly
3155 2003-02-17 André Pönitz <poenitz@gmx.net>
3158 * commandtags.h: new LFUN_INSERT_BIBKEY
3168 * paragraph_func.C: remove special bibkey handling
3170 2003-02-17 John Levon <levon@movementarian.org>
3172 * text.C (Delete): fix case where delete at the end of
3173 the very first paragraph would not merge the pars
3175 2003-02-17 John Levon <levon@movementarian.org>
3177 * lyxrow.C: fix lastPrintablePos()
3179 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3181 * bufferparams.C (writeLaTeX): add a std:here
3183 * buffer.C: and remove a using directive there
3185 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3187 * buffer.C (makeLaTeXFile): move the code that generates the
3190 * bufferparams.C (writeLaTeX): ... in this new method
3192 * LaTeXFeatures.C (getEncodingSet): make const
3193 (getLanguages): make const
3195 * MenuBackend.C (binding): returns the binding associated to this
3197 (add): sets the status of each item by calling getStatus. Adds
3199 (read): add support for OptSubMenu
3200 (expand): remove extra separator at the end of expanded menu
3202 2003-02-15 John Levon <levon@movementarian.org>
3205 * BufferView_pimpl.C:
3207 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3208 inset code that had no actual effect. Remove unneeded status
3211 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3213 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3216 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3218 * text.C (drawLengthMarker): also draw an arrow marker for
3219 symbolic lengths (medskip...)
3221 2003-02-14 John Levon <levon@movementarian.org>
3224 * tabular.C: better method names
3226 2003-02-14 John Levon <levon@movementarian.org>
3228 * BufferView_pimpl.C:
3233 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3234 it's a more accurate name. Remove some pointless uses.
3236 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3238 * text2.C (LyXText): change order of initilizers to shut off
3241 2003-02-14 John Levon <levon@movementarian.org>
3243 * buffer.C: use ParIterator for getParFromID()
3247 * paragraph_pimpl.h:
3248 * paragraph_pimpl.C: remove unused getParFromID()
3250 2003-02-14 John Levon <levon@movementarian.org>
3252 * buffer.C: remove some very old #if 0'd parse code
3254 2003-02-13 John Levon <levon@movementarian.org>
3258 * text2.C: move hfillExpansion(), numberOfSeparators(),
3259 rowLast(), rowLastPrintable(), numberofHfills(),
3260 numberOfLabelHfills() ...
3263 * lyxrow.C: ... to member functions here.
3268 * text.C: remove LyXText::beginningOfMainBody(), and call
3269 p->beginningOfMainBody() directly. Move the check for
3270 LABEL_MANUAL into the latter.
3277 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3283 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3284 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3286 2003-02-13 John Levon <levon@movementarian.org>
3288 * CutAndPaste.C: remove debug
3290 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3292 * paragraph.C (asString): remove two unused variables
3294 * lyxtextclass.C (readTitleType):
3296 (LyXTextClass): handle new members titletype_ and titlename_
3298 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3300 2003-02-09 John Levon <levon@movementarian.org>
3303 * buffer.C: replace hand-coded list with a map for the dep clean
3305 2003-02-08 John Levon <levon@movementarian.org>
3307 * LaTeX.C: consolidate code into showRunMessage() helper
3309 2003-02-08 John Levon <levon@movementarian.org>
3314 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3315 and pass the size in explicitly
3317 * BufferView_pimpl.h:
3318 * BufferView_pimpl.C:
3320 * BufferView.C: add getCurrentChange()
3322 * BufferView_pimpl.h:
3323 * BufferView_pimpl.C: handle change lfuns
3325 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3326 for changes. Mark pasted paragraphs as new.
3328 * support/lyxtime.h:
3329 * support/lyxtime.C:
3330 * DepTable.C: abstract time_t as lyx::time_type
3333 * LColor.C: add colours for new text, deleted text, changebars
3335 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3336 package use "usenames" option.
3340 * LyXAction.C: add change lfuns
3344 * author.C: author handling
3347 * buffer.C: add a per-buffer author list, with first entry as
3348 current author. Handle new .lyx tokens for change tracking. Output
3349 author list to .lyx file. Output dvipost stuff to .tex preamble.
3350 Bump lyx format to 222.
3353 * bufferlist.C: add setCurrentAuthor() to reset current author details
3357 * bufferparams.C: add param for tracking
3359 * bufferview_funcs.C: output change info in minibuffer
3363 * changes.C: add change-tracking structure
3366 * debug.C: add CHANGES debug flag
3369 * lyxfind.C: add code for finding the next change piece
3372 * lyxrc.C: add user_name and user_email
3375 * lyxrow.C: add a metric for the top of the text line
3378 * text.C: implement accept/rejectChange()
3381 * text.C: paint changebars. Paint new/deleted text in the chosen
3382 colours. Strike through deleted text.
3386 * paragraph_pimpl.h:
3387 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3388 in the current change to the insert functions. Rework erase to
3389 mark text as deleted, adding an eraseIntern() and a range-based
3390 erase(). Implement per-paragraph change lookup and
3393 * paragraph_funcs.C: Fixup paste for change tracking.
3395 * tabular.C: mark added row/columns as new.
3397 * text.C: fix rowLast() to never return -1. Don't allow
3398 spellchecking of deleted text. Track transpose changes. Don't
3399 allow paragraph break or merge where appropriate.
3401 * text2.C: leave cursor at end of selection after a cut.
3403 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3405 * text.C (getLengthMarkerHeight):
3406 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3407 visible on screen too.
3409 2003-02-07 John Levon <levon@movementarian.org>
3411 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3413 2003-02-05 Angus Leeming <leeming@lyx.org>
3415 * lyxserver.C (read_ready): revert my patch of 11 September last year
3416 as it sends PC cpu through the roof. Presumably this means that
3417 the lyxserver will no longer run on an Alpha...
3419 2003-01-30 Angus Leeming <leeming@lyx.org>
3421 * factory.C (createInset): create an InsetCommandParam of type "index"
3422 and use it to 'do the right thing'.
3424 * text2.C (getStringToIndex): ensure that cursor position is always
3425 reset to the reset_cursor position.
3427 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3429 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3432 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3436 * lyxfunc.C: Output messages with identical spelling, punctuation,
3439 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3441 * MenuBackend.C (expandFormats): List only viewable export formats
3444 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3447 * lyxfunc.C (getStatus): Make sure that formats other than
3448 "fax" can also be disabled
3450 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3452 * text3.C (dispatch): put the lfuns that insert insets in 3
3453 groups, and call doInsertInset with appropriate arguments.
3454 (doInsertInset): new function, that creates an inset and inserts
3455 it according to some boolean parameters.
3457 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * buffer.C (readFile): remember to pass on 'par' when calling
3460 readFile recursively.
3462 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3464 * MenuBackend.C (expandFormats): add "..." to import formats.
3466 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3468 * paragraph.C (asString): Remove XForms RTL hacks.
3470 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3471 * buffer.C: fix typo
3473 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * Makefile.am (LIBS): delete var
3476 (lyx_LDADD): add @LIBS@ here instead.
3478 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3480 * Clarify the meaning of "wheel mouse jump"
3482 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3484 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3487 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3489 * importer.C (Loaders): do not preallocate 3 elements in the
3490 vector, since one ends up with 6 elements otherwise
3492 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3494 * DepTable.C (write): write the file name as last element of the
3495 .dep file (because it may contain spaces)
3496 (read): read info in the right order
3498 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3500 * paragraph_pimpl.C (simpleTeXBlanks):
3501 (simpleTeXSpecialChars):
3502 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3504 * tabular.C (latex): add some missing case statements. Reindent.
3506 * MenuBackend.C (expandToc): remove unused variable.
3508 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3517 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3520 2003-01-05 John Levon <levon@movementarian.org>
3523 * BufferView.C: add getEncoding()
3526 * kbsequence.C: do not store last keypress
3529 * lyxfunc.C: store last keypress here instead. Pass encoding
3532 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3534 * lyx_main.C (init): remove annoying error message when following
3535 symbolic links (bug #780)
3537 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3539 * text.C (insertChar):
3540 * lyxrc.C (getDescription): remove extra spaces
3542 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3544 * lyxrc.C (getDescription): remove extra spaces
3546 2002-12-20 John Levon <levon@movementarian.org>
3548 * text3.C: hack fix for page up/down across tall rows
3550 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3552 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3555 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3557 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3558 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3559 thesaurus is not compiled in
3561 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3563 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3565 2002-12-16 Angus Leeming <leeming@lyx.org>
3568 * lyx_main.C (init): remove override_x_deadkeys stuff.
3570 2002-12-12 John Levon <levon@movementarian.org>
3572 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3573 insert. Only remove shift modifier under strict
3576 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * MenuBackend.C (expandToc): fix crash.
3580 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * MenuBackend.C (expandToc): gettext on float names.
3584 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3586 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3587 implement bool empty() [bug 490]
3589 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3593 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * several files: ws changes
3597 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * text2.C (setCounter): clean up a bit, use boost.format.
3600 (updateCounters): initialize par upon declaration.
3602 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3603 if the layout exists. We do not just store the layout any more.
3604 (SwitchLayoutsBetweenClasses): use boost.format
3606 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3608 * converter.C (convert): if from and to files are the same, use a
3609 temporary files as intermediary
3611 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3614 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3616 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3618 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3620 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * tabular.C (asciiPrintCell): use string(size, char) instead of
3625 * sgml.C (openTag): fix order of arguments to string constructor
3628 * lyxfunc.C (dispatch): use boost.format
3630 * lots of files: change "c" -> 'c'
3632 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3634 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3636 2002-11-25 Angus Leeming <leeming@lyx.org>
3638 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3640 * lyx_main.C (init): compile fix.
3642 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * lyx_cb.C (start): boost.formatify
3645 do not include <iostream>
3647 * lengthcommon.C: ws only
3649 * boost-inst.C,BoostFormat.h: add more explict instantations
3651 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * lots of files: handle USE_BOOST_FORMAT
3655 2002-11-21 John Levon <levon@movementarian.org>
3657 * pspell.C: fix compile
3659 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3661 * lyxfunc.C (dispatch): use boost::format
3665 * lyxfont.C (stateText): use boost::format
3667 * lyx_main.C (LyX): use boost::format
3669 (queryUserLyXDir): ditto
3672 (typedef boost::function): use the recommened syntax.
3674 * importer.C (Import): use boost::format
3676 * debug.C (showLevel): use boost::format
3678 * converter.C (view): use boost::format
3683 * bufferview_funcs.C (currentState): use boost::format
3685 * bufferlist.C (emergencyWrite): use boost::format
3687 * buffer.C (readLyXformat2): use boost::format
3688 (parseSingleLyXformat2Token): ditto
3690 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3692 * LaTeX.C (run): use boost::format
3694 * Chktex.C (scanLogFile): use boost::format
3696 * BufferView_pimpl.C (savePosition): use boost::format
3697 (restorePosition): ditto
3698 (MenuInsertLyXFile): ditto
3700 * BoostFormat.h: help file for explicit instation.
3702 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3704 * tabular.C (latex): Support for block alignment in fixed width
3707 2002-11-17 John Levon <levon@movementarian.org>
3709 * BufferView_pimpl.C:
3711 * lyxfunc.C: split filedialog into open/save
3713 2002-11-08 Juergen Vigna <jug@sad.it>
3715 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3716 by my last patch (hopefully).
3718 2002-11-08 John Levon <levon@movementarian.org>
3727 * toc.C: ParConstIterator, and use it (from Lars)
3729 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3731 * lyxtextclass.[Ch]: revise and add doxygen comments
3733 2002-11-07 John Levon <levon@movementarian.org>
3735 * text.C: fix progress value for spellchecker
3737 * toc.C: fix navigate menu for insetwrap inside minipage
3739 * paragraph_funcs.C: added FIXME for suspect code
3741 2002-11-07 John Levon <levon@movementarian.org>
3743 * BufferView_pimpl.C: fix redrawing of insets
3746 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3748 * text2.C (updateCounters): fix bug 668
3750 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3752 * text3.C (dispatch): Do not make the buffer dirty when moving the
3755 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * vc-backend.C: STRCONV
3760 * text2.C (setCounter): STRCONV
3762 * paragraph.C (asString): STRCONV
3764 * lyxlength.C (asString): STRCONV
3765 (asLatexString): ditto
3767 * lyxgluelength.C (asString): STRCONV
3768 (asLatexString): ditto
3770 * lyxfunc.C (dispatch): STRCONV
3773 * lyxfont.C (stateText): STRCONV
3775 * importer.C (Import): STRCONV
3777 * counters.C (labelItem): STRCONV
3778 (numberLabel): ditto
3779 (numberLabel): remove unused ostringstream o
3784 * bufferview_funcs.C (currentState): STRCONV
3786 * buffer.C (readFile): STRCONV
3787 (asciiParagraph): ditto
3788 (makeLaTeXFile): ditto
3790 * Spacing.C (writeEnvirBegin): STRCONV
3792 * LaTeXFeatures.C (getLanguages): STRCONV
3793 (getPackages): ditto
3795 (getBabelOptions): ditto
3796 (getTClassPreamble): ditto
3797 (getLyXSGMLEntities): ditto
3798 (getIncludedFiles): ditto
3802 (scanAuxFile): ditto
3805 * LString.h: add the STRCONV macros
3807 * BufferView_pimpl.C (savePosition): STRCONV
3808 (restorePosition): ditto
3809 (MenuInsertLyXFile): ditto
3811 * vc-backend.C (scanMaster): change from submatch[...] to
3814 * funcrequest.C: include config.h
3816 * factory.C: include config.h
3818 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3820 * box.C: include config.h
3822 * LaTeX.C (scanAuxFile): change from submatch[...] to
3826 2002-10-25 Angus Leeming <leeming@lyx.org>
3828 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3830 * ispell.[Ch] (setError): new method.
3831 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3832 Use setError() insetead of goto END.
3834 * lyx_cb.C (AutoSave): move out child process into new class
3837 2002-10-30 John Levon <levon@movementarian.org>
3839 * text3.C: make start appendix undoable
3841 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3843 * lyxlength.C (inPixels): Fix returned value.
3845 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3848 2002-10-24 Angus Leeming <leeming@lyx.org>
3850 * lyxgluelength.h: no need to forward declare BufferParams
3851 or BufferView, so don't.
3853 2002-10-21 John Levon <levon@movementarian.org>
3855 * BufferView.C: menuUndo ->undo, redo
3857 * BufferView.h: document, remove dead, make some methods private
3859 * paragraph_funcs.h:
3860 * paragraph_funcs.C:
3861 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3866 * sgml.C: move sgml open/close tag into sgml.C
3868 * bufferview_funcs.h: unused prototype
3871 * lyxfunc.C: remove unused
3874 * text.C: remove unused
3876 2002-10-21 John Levon <levon@movementarian.org>
3880 * BufferView_pimpl.h:
3881 * BufferView_pimpl.C: fix mouse wheel handling based on
3882 patch from Darren Freeman
3884 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3886 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3888 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3890 * lyxlength.C (inPixels): Fix hanfling of negative length.
3891 Fix LyXLength::MU case.
3893 2002-10-16 John Levon <levon@movementarian.org>
3895 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3897 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3899 * converter.C (view): add support for $$i (file name) and $$p
3900 (file path) for the viewer command. If $$i is not specified, then
3901 it is appended to the command (for compatibility with old syntax)
3903 2002-10-14 Juergen Vigna <jug@sad.it>
3905 * undo_funcs.C (textHandleUndo): alter the order in which the
3906 new undopar is added to the LyXText, as we have to set first
3907 the right prev/next and then add it as otherwise the rebuild of
3908 LyXText is not correct. Also reset the cursor to the right paragraph,
3909 with this IMO we could remove the hack in "redoParagraphs()".
3911 2002-10-09 Angus Leeming <leeming@lyx.org>
3913 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3914 to turn off an optimisation if a new inset is to be inserted.
3916 2002-10-11 André Pönitz <poenitz@gmx.net>
3918 * lyxtext.h: make some functions public to allow access
3919 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3921 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3923 * text3.C (dispatch): when changing layout, avoid an infinite loop
3926 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3928 * lyxrc.C (read): treat a viewer or converter command of "none" as
3931 * MenuBackend.C (expandFormats): for an update, also allow the
3932 formats that are not viewable
3934 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3935 script if it is newer than the lyxrc.defaults in user directory
3937 2002-10-07 André Pönitz <poenitz@gmx.net>
3939 * text.C: Vitaly Lipatov's small i18n fix
3941 2002-09-25 Angus Leeming <leeming@lyx.org>
3943 * ispell.h: doxygen fix.
3945 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3947 * buffer.h (readFile): Add a new argument to the method, to allow
3948 reading of old-format templates.
3950 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3952 * toc.C (getTocList): Get TOC from InsetWrap.
3954 2002-09-16 John Levon <levon@movementarian.org>
3956 * lyxfunc.C: check tabular for cut/copy too
3958 2002-09-12 John Levon <levon@movementarian.org>
3963 * factory.C: add header
3965 * paragraph_funcs.h:
3966 * paragraph_funcs.C: cleanup
3968 2002-09-11 John Levon <levon@movementarian.org>
3970 * PrinterParams.h: odd/even default to true
3972 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3974 * PrinterParams.h: update printer parameters for new xforms dialog
3976 2002-09-11 Angus Leeming <leeming@lyx.org>
3978 * lyxserver.C (read_ready): re-write to make it more transparent
3979 and to make it work in coherent fashion under Tru64 Unix.
3981 2002-09-11 André Pönitz <poenitz@gmx.net>
3985 * text3.C: implement LFUN_WORDSEL
3987 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3990 make floatlist_ a boost::shared_ptr<FloatList>
3992 * lyxtextclass.C: include FloatList.h
3993 (LyXTextClass): initialize floatlist_
3994 (TextClassTags): add TC_NOFLOAT
3995 (Read): match "nofloat" to TC_NOFLOAT and use it.
3996 (readFloat): modify call to floatlist_
4000 * FloatList.[Ch] (FloatList): remove commented out float
4002 (erase): new function
4004 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4006 * MenuBackend.C (expandToc): fix crash when there is no document
4009 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4011 * many files: Add insetwrap.
4013 2002-09-09 John Levon <levon@movementarian.org>
4015 * text2.C: remove confusing and awkward depth wraparound
4017 2002-09-09 John Levon <levon@movementarian.org>
4019 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4022 * buffer.C: remove getIncludeonlyList()
4025 * lyxfunc.C: remove headers
4027 2002-09-09 Juergen Vigna <jug@sad.it>
4029 * text.C (getColumnNearX): fix form Michael this is most
4030 probably a cut&paste bug.
4032 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4036 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4037 references, ws changes.
4039 * text2.C (init): update counters after init
4040 (insertParagraph): no need to set counter on idividual paragraphs.
4041 (setCounter): access the counters object in the textclass object
4042 on in the buffer object.
4043 (updateCounters): ditto
4045 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4046 shared_ptr<Counters> to avoid loading counters.h in all
4048 (LyXTextClass): initialize ctrs_
4049 (TextClassTags): add TC_COUNTER, and ...
4050 (Read): use it here.
4051 (CounterTags): new tags
4052 (readCounter): new function
4053 (counters): new funtion
4054 (defaultLayoutName): return a const reference
4056 * counters.C (Counters): remove contructor
4057 (newCounter): remove a couple of unneeded statements.
4058 (newCounter): simplify a bit.
4059 (numberLabel): some small formatting changes.
4061 * buffer.[Ch]: remove all traces of counters, move the Counters
4062 object to the LyXTextClass.
4064 2002-09-06 Alain Castera <castera@in2p3.fr>
4066 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4067 package to set the horizontal alignment on fixed width columns.
4070 * lyx_sty.h: added tabularnewline macro def.
4072 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4074 2002-09-06 John Levon <levon@movementarian.org>
4076 * LyXAction.C: tooltips for sub/superscript
4078 * MenuBackend.C: a bit more verbose
4080 * lyxfunc.C: tiny clean
4082 * undo_funcs.C: document undo_frozen
4084 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * counters.C (Counters): add missing algorithm counter.
4088 * text2.C (setCounter): lookup the counter with layouts latexname
4089 instead of by section number.
4090 (setCounter): use a hackish way to lookup the correct enum
4092 a float name->type change
4093 reset enum couners with counter name directly instead of depth value.
4095 * counters.C (Counters): remove the push_backs, change to use the
4096 float type not the float name.
4097 (labelItem): remove unused string, float name->type change
4099 * counters.h: don't include vector, loose the enums and sects vectors
4101 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4104 (Read): add float->TC_FLOAT to textclassTags
4105 (Read): and handle it in the switch
4106 (readFloat): new function
4108 * FloatList.C (FloatList): comment out the hardcoded float
4111 * lyxlayout.h: ws change.
4113 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4115 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4117 2002-09-03 Angus Leeming <leeming@lyx.org>
4119 * BufferView_pimpl.h: qualified name is not allowed in member
4120 declaration: WorkArea & Pimpl::workarea() const;
4122 * factory.C: added using std::endl directive.
4124 * text3.C: added using std::find and std::vector directives.
4126 2002-08-29 André Pönitz <poenitz@gmx.net>
4129 * text2.C: remove unused member number_of_rows
4132 * BufferView2.C: remove file, move contents to...
4133 * BufferView.C: ... here
4135 * BufferView_pimpl.C:
4136 * factory.C: move more inset creation to factory
4138 * vspace.C: avoid direct usage of LyXText, ws changes
4141 don't provide direct access to WorkArea, use two simple
4142 acessors haveSelction() and workHeight() instead
4145 2002-08-29 John Levon <levon@movementarian.org>
4147 * BufferView_pimpl.C (dispatch): do not continue when
4150 2002-08-28 André Pönitz <poenitz@gmx.net>
4152 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4155 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4157 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4159 * buffer.C: increment LYX_FORMAT to 221
4161 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4162 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4164 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4166 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4168 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4170 * factory.C (createInset): use LyXTextClass::floats
4172 * MenuBackend.C (expandFloatListInsert):
4173 (expandFloatInsert):
4176 * text2.C (setCounter):
4178 * LaTeXFeatures.C (useFloat):
4179 (getFloatDefinitions):
4181 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4183 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4184 floatlist_, with accessor floats().
4186 * FloatList.h: remove global FloatList
4188 2002-08-26 André Pönitz <poenitz@gmx.net>
4190 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4194 * BufferView_pimpl.C:
4195 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4197 2002-08-25 John Levon <levon@movementarian.org>
4199 * LyXAction.C: fix margin note description
4201 2002-08-24 John Levon <levon@movementarian.org>
4205 * bufferview_funcs.C:
4207 * undo_funcs.C: cleanups
4209 * lyxfunc.C: disable CUT/COPY when no selection
4211 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4213 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4214 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4216 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4217 Add backward compatibility to "mono", "gray" and "no".
4219 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4221 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4222 (and file_format >= 200).
4224 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4226 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4228 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4230 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4232 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4234 * BufferView_pimpl.C:
4241 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4242 inset and code to make it work with the paragraph code. The inset
4243 can be anywhere in the paragraph, but will only do the expected
4244 thing in LaTeX if the layout file contains the parameter line
4246 (or more generally, a nonzero value) for that layout.
4248 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * paragraph.h: remove the declaration of undefined counters class
4253 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4255 * text2.C (setCounter): fixed enumeration mis-count as reported by
4256 Dr. Richard Hawkins.
4258 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4260 * paragraph_funcs.h: remove some unneeded includes
4262 * text.C (backspace): pasteParagraph now in global scipe
4264 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4265 (pasteSelection): ditto
4267 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4268 * paragraph_funcs.C (pasteParagraph): ... here
4270 2002-08-20 André Pönitz <poenitz@gmx.net>
4272 * commandtags.h: new LFUNs for swapping/copying table row/colums
4275 * lyxfunc.C: support for new lfuns
4277 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * buffer.[Ch]: remove NO_COMPABILITY stuff
4282 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * boost.C (throw_exception): new file, with helper function for
4285 boost compiled without exceptions.
4290 * ParameterStruct.h:
4291 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4293 * bufferlist.C (emergencyWriteAll): use boost bind
4295 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4297 * text.C: include paragraph_funcs.h
4298 (breakParagraph): breakParagraph is now in global scope
4300 * paragraph_funcs.[Ch]: new files
4302 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4305 * buffer.C: include paragraph_funcs.h
4306 (insertStringAsLines): breakParagraph is now in global scope
4308 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4311 * CutAndPaste.C: include paragraph_funcs.h
4312 (cutSelection): breakParagraphConservative is now in global scope
4313 (pasteSelection): ditto
4315 * buffer.h: declare oprator== and operator!= for
4316 Buffer::inset_iterator
4318 * bufferlist.C (emergencyWrite): don't use fmt(...)
4320 * text3.C: add using std::endl
4322 * BufferView.C (moveCursorUpdate): remove default arg
4324 2002-08-20 André Pönitz <poenitz@gmx.net>
4326 * buffer.[Ch]: move inline functions to .C
4329 * BufferView_pimpl.C:
4331 * buffer.[Ch]: use improved inset_iterator
4334 * paragraph.[Ch]: write one paragraph at a time
4336 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4338 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4339 style if style is not specified.
4341 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * text2.C (setCounter): when searching for right label for a
4344 caption, make sure to recurse to parent insets (so that a caption
4345 in a minipage in a figure float works) (bug #568)
4347 2002-08-20 André Pönitz <poenitz@gmx.net>
4349 * text3.C: new file for LyXText::dispatch() and helpers
4351 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4353 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4355 2002-08-19 André Pönitz <poenitz@gmx.net>
4358 * text.C: new LyXText::dispatch()
4360 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4362 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4364 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4366 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4369 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4371 * Makefile.am: use $(variables) instead of @substitutions@
4373 2002-08-15 André Pönitz <poenitz@gmx.net>
4376 * BufferView_pimpl.C: streamlining mathed <-> outer world
4380 * LyXAction.C: remove unused LFUN_MATH
4382 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4386 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * paragraph.C (Paragraph): reformat a bit
4389 (cutIntoMinibuffer): use builtin InsetList function instad of
4393 * buffer.C: include boost/bind.hpp, add using std::for_each
4394 (writeFileAscii): use ParagraphList iterators
4395 (validate): use for_each for validate traversal of paragraphs
4396 (getBibkeyList): use ParagraphList iterators
4397 (resizeInsets): use for_each to resizeInsetsLyXText for all
4399 (getParFromID): use ParagraphList iterators
4401 * BufferView2.C (lockInset): use paragraph list and iterators
4403 2002-08-14 John Levon <levon@movementarian.org>
4405 * lyxserver.C: remove spurious xforms include
4407 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4411 2002-08-13 André Pönitz <poenitz@gmx.net>
4414 * lyxfunc.C: further cleaning
4416 2002-08-13 André Pönitz <poenitz@gmx.net>
4418 * funcrequest.h: new constructor
4420 * funcrequest.C: move stuff here from .h
4423 * BufferView_pimpl.C:
4426 * lyxfunc.C: subsequent changes
4428 * lyxfunc.h: new view() member function
4430 * lyxfunc.C: subsequent changes
4432 2002-08-13 Angus Leeming <leeming@lyx.org>
4435 * BufferView_pimpl.C:
4443 changes due to the changed LyXView interface that now returns references
4444 to member variables not pointers.
4446 2002-08-13 Angus Leeming <leeming@lyx.org>
4448 * WordLangTuple (word, lang_code): return references to strings,
4453 * lyxtext.h: forward-declare WordLangTuple.
4458 * text.C: #include "WordLangTuple.h".
4461 * text.C: (selectNextWordToSpellcheck): constify return type.
4463 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4469 * paragraph_pimpl.h:
4472 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4474 Made updateCounter always count from start of buffer, and removed
4475 second argument (par).
4476 Reverted floats number display to '#'. Perhaps I'll try again when the
4477 code base is sanitized a bit.
4479 2002-08-12 Angus Leeming <leeming@lyx.org>
4481 * buffer.[Ch] (getLabelList): constify.
4483 2002-08-07 André Pönitz <poenitz@gmx.net>
4485 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4487 * funcrequest.h: extension to keep mouse (x,y) position
4489 2002-08-12 Juergen Vigna <jug@sad.it>
4491 * BufferView2.C (insertErrors): forbid undo when inserting error
4494 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4496 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * ParagraphList.[Ch]: new files
4500 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4502 * BufferView2.C (lockInset): ParagraphList changes
4505 * bufferlist.C: ditto
4509 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4512 unused class variable counter_,
4514 * paragraph.[Ch] (getFirstCounter): delete unused function
4516 * counters.C: include LAssert.h
4517 (reset): add a new function with no arg, change other version to
4518 not have def. arg and to not allow empty arg.
4520 * text2.C (setCounter): remove empty arg from call to Counters::reset
4522 2002-08-11 John Levon <levon@movementarian.org>
4524 * Makefile.am: add WordLangTuple.h
4526 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4529 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4531 * insets/insettext.C: InsetList changes
4533 * graphics/GraphicsSupport.C (operator()): InsetList changes
4535 * toc.C (getTocList): InsetList changes
4537 * paragraph_pimpl.[Ch]: InsetList changes
4539 * paragraph.[Ch]: InsetList changes
4541 * buffer.C (inset_iterator): InsetList changes
4542 (setParagraph): ditto
4543 * buffer.h (inset_iterator): ditto
4544 * iterators.C (operator++): ditto
4545 * iterators.h: ditto
4547 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4549 * InsetList.[Ch]: new files, most InsetList handling moved out of
4552 * BufferView2.C (removeAutoInsets): InsetList changes
4554 (ChangeInsets): ditto
4556 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * paragraph_pimpl.h (empty): new function
4560 * paragraph.[Ch] (empty): new function
4562 * other files: use the new Paragraph::empty function
4564 2002-08-09 John Levon <levon@movementarian.org>
4566 * lyxtext.h: remove unused refresh_height
4568 2002-08-09 John Levon <levon@movementarian.org>
4575 * paragraph.C: move sgml char escaping out of paragraph
4578 * paragraph.C: remove id setter
4582 * paragraph_pimpl.C: remove dead tex_code_break_column
4584 * bufferview_funcs.C: small cleanup
4586 * lyxfunc.C: remove dead proto
4588 * lyxtext.h: make some stuff private. Remove some dead stuff.
4590 * lyxgluelength.C: make as[LyX]String() readable
4592 2002-08-08 John Levon <levon@movementarian.org>
4597 * ToolbarDefaults.C:
4600 * toc.C: lyxaction cleanup
4602 2002-08-08 John Levon <levon@movementarian.org>
4604 * BufferView2.C: small cleanup
4607 * lyxfind.C: move unnecessary header into the .C
4609 2002-08-08 John Levon <levon@movementarian.org>
4611 * funcrequest.h: just tedious nonsense
4614 * lyx_main.C: cleanups
4617 * vspace.C: remove dead header lyx_main.h
4619 2002-08-07 Angus Leeming <leeming@lyx.org>
4622 * paragraph_pimpl.h:
4623 Forward declare class Counters in paragraph.h by moving the ctrs member
4624 variable into Paragraph::Pimpl.
4625 (counters): new method, returning a reference to pimpl_->ctrs.
4627 * text2.C: ensuing changes.
4629 2002-08-07 John Levon <levon@movementarian.org>
4631 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4633 * BufferView_pimpl.C: announce X selection on double/triple
4636 * lyx_main.C: use correct bool in batch dispatch
4638 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4640 2002-08-07 André Pönitz <poenitz@gmx.net>
4642 * funcrequest.h: new class to wrap a kb_action and its argument
4645 * BufferView_pimpl[Ch]:
4649 * lyxrc.C: subsequent changes
4652 2002-08-07 John Levon <levon@movementarian.org>
4654 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4655 document options change.
4657 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4662 * makefile.am: move counters functionality over from
4663 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4665 2002-08-06 John Levon <levon@movementarian.org>
4667 * WordLangTuple.h: new file for word + language code tuple
4678 * BufferView2.C: use WordLangTuple
4681 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4683 2002-08-06 John Levon <levon@movementarian.org>
4685 * lyx_main.C: fix cmdline batch handling
4687 2002-08-06 André Pönitz <poenitz@gmx.net>
4689 * lyxrc.C: set default for show_banner to true
4691 2002-08-06 John Levon <levon@movementarian.org>
4693 * pspell.C: fix a crash, and allow new aspell to work
4695 2002-08-06 John Levon <levon@movementarian.org>
4698 * kbmap.C: small cleanup
4701 * vspace.C: add const
4703 2002-08-05 John Levon <levon@movementarian.org>
4705 * LyXAction.C: back to tabular-insert
4707 2002-08-04 John Levon <levon@movementarian.org>
4710 * BufferView.C: cosmetic change
4712 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4722 * BufferView2.C: purge all "Lyx" not "LyX" strings
4725 * lyxcursor.C: attempt to add some documentation
4730 * ToolbarDefaults.C:
4731 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4732 merge with LFUN_TABULAR_INSERT
4739 * pspell.C: split up i/pspell implementations into separate
4740 files, many cleanups
4742 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4744 * text2.C: some cleanup
4746 * lyxfunc.C: don't check for isp_command == "none" any more, it
4747 didn't make any sense
4749 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4754 * makefile.am: move counters functionality over
4755 from text2.C/paragraph.[Ch] to counters.[Ch], and
4757 2002-08-02 John Levon <levon@movementarian.org>
4759 * buffer.C: s/lyxconvert/lyx2lyx/
4761 2002-08-02 Angus Leeming <leeming@lyx.org>
4763 * lyxlex.C: revert John's change as it breaks reading of the user
4766 2002-08-02 Angus Leeming <leeming@lyx.org>
4768 * importer.C (Import):
4769 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4770 changes due to LyXView::view() now returning a boost::shared_ptr.
4772 2002-08-02 John Levon <levon@movementarian.org>
4774 * lyxlex.C: small cleanup
4776 2002-08-02 John Levon <levon@movementarian.org>
4778 * text2.C (status): small cleanup, no logic change
4780 2002-08-01 John Levon <levon@movementarian.org>
4783 * buffer.C (writeFile): don't output alerts, caller
4787 * lyx_cb.C: from above
4789 * lyxfunc.C: allow to open non-existent files
4791 2002-07-31 John Levon <levon@movementarian.org>
4793 * lyxserver.C: don't let incidental errors get
4796 2002-07-30 John Levon <levon@movementarian.org>
4798 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4800 2002-07-30 John Levon <levon@movementarian.org>
4803 * lyxserver.C: remove I/O callback too
4805 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4807 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4810 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * many files: strip,frontStrip -> trim,ltrim,rtrim
4814 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * PrinterParams.h: remove extern containsOnly, and include
4817 support/lstrings.h instead.
4819 * LaTeX.C (scanAuxFile): modify because of strip changes
4821 * buffer.C (makeLaTeXFile): ditto
4822 * bufferparams.C (writeFile): ditt
4823 * lyxfont.C (stateText): ditto
4824 * lyxserver.C (read_ready): ditto
4825 * vc-backend.C (scanMaster): ditto
4827 * BufferView_pimpl.h: ws changes
4829 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4831 2002-07-26 André Pönitz <poenitz@gmx.net>
4833 * kb_sequence.C: remove unnedred usings
4835 2002-07-26 Juergen Vigna <jug@sad.it>
4837 * lyxfind.C (LyXReplace): we have to check better if the returned
4838 text is not of theLockingInset()->getLockingInset().
4840 2002-07-25 Juergen Vigna <jug@sad.it>
4842 * lyxfind.C (LyXReplace): don't replace if we don't get the
4845 * undo_funcs.C (createUndo): remove debugging code.
4847 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4849 * buffer.C (parseSingleLyXformat2Token): Use default placement
4850 when reading old floats.
4852 * FloatList.C (FloatList): Change the default placement of figure
4853 and tables to "tbp".
4855 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4857 * MenuBackend.C: using std::max
4859 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4861 * MenuBackend.C (expandToc):
4862 (expandToc2): code moved from xforms menu frontend. It is now
4863 generic and TOCs are transparent to menu frontends.
4865 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4867 * toc.C (getTocList): protect against buf=0
4869 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4870 Menu as first parameter. Now, this calls itself recursively to
4871 expand a whole tree (this will be useful for TOC handling)
4872 (expandFloatInsert): remove 'wide' version of floats
4874 * MenuBackend.h (submenuname): returns the name of the submenu.
4875 (submenu): returns the submenu itself, provided it has been
4876 created by MenuBackend::expand
4878 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4880 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4881 insets which have noFontChange == true. (bug #172)
4883 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4885 * BufferView_pimpl.C: add connection objects and use them...
4888 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4890 * MenuBackend.C (expandLastfiles):
4893 (expandFloatListInsert):
4894 (expandFloatInsert):
4895 (expand): split expand in parts
4897 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4899 * lyx_gui.C: use lyx_gui::exit()
4901 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4903 * LyXAction.C: show the failing pseudo action
4905 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4907 * buffer.C (readFile): Run the lyxconvert script in order to read
4910 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4914 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4916 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4920 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4922 2002-07-22 Herbert Voss <voss@lyx.org>
4925 * lyxlength.[Ch]: add support for the vertical lengths
4927 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4929 * toc.[Ch]: std:: fixes
4931 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * lyxrc.C: do not include lyx_main.h
4935 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4941 * BufferView2.C: include "lyxlex.h"
4944 * bufferparams.h: do not #include "lyxlex.h"
4946 * lyxtextclasslist.C (Add): remove method
4947 (classlist): renamed to classlist_
4949 * paragraph_pimpl.C:
4953 * bufferview_funcs.C:
4958 * toc.C (getTocList): use BufferParams::getLyXTextClass
4960 * toc.C (getTocList): use InsetFloat::addToToc
4962 * toc.[Ch]: new files, containing helper functions to handle table
4965 * lyxfunc.C (dispatch): no need to remove spaces around command
4967 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4968 first command of the sequence; it is not very clever, but I do not
4969 have a better idea, actually
4971 * LyXAction.C (LookupFunc): make sure to remove space at the
4972 beginning and end of the command
4974 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * MenuBackend.C (getMenubar): new method: return the menubar of
4978 (read): treat differently reading of menu and menubar (in
4979 particular, the menubar has no name now)
4980 (Menu::menubar): remove
4982 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4985 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4987 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4988 a bibitem inset in a RTL paragraph.
4990 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4992 * paragraph_pimpl.C: constify
4994 * BufferView_pimpl.C:
4996 * lyxfunc.C: fix dispatch in a nicer way
4998 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * lyxfunc.C (dispatch):
5001 * BufferView_pimpl.C:
5002 * BufferView_pimpl.h:
5004 * BufferView.h: rename Dispatch() to dispatch()
5006 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5008 * lyxlayout.C (Read): honor DependsOn tag
5010 * lyxlayout.[Ch] (depends_on): new method
5012 * version.C.in: update lyx_docversion
5014 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5016 * paragraph.C (validate): remove from here...
5017 * paragraph_pimpl.C (validate): ... and move here
5018 (isTextAt): make it const
5020 * buffer.C (getLists): ws cleanup
5022 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5024 * language.C (read): Use iso8859-1 encoding in latex_lang
5025 (this prevents LyX from crashing when using iso10646-1 encoding).
5027 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5029 * text2.C (toggleInset): if cursor is inside an inset, close the
5030 inset and leave cursor _after_ it
5032 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5034 * lyxfunc.C: move minibuffer completion handling out of here
5036 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5038 * BufferView_pimpl.C:
5039 * LaTeX.C: fix dispatch calls
5041 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5043 * text.C (drawChars): Fix Arabic text rendering.
5045 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5049 * lyxfunc.C: remove message-push/pop
5053 * lyxfunc.C: rationalise some code by removing verboseDispatch
5054 in favour of a bool argument to dispatch()
5056 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5058 * lyx_main.C (init): make sure to read symlinks as absolute paths
5060 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5063 * lyxfunc.C: no need for commandshortcut to be a member
5065 2002-07-15 André Pönitz <poenitz@gmx.net>
5067 * converter.C: add support for $$s (scripts from lib/scripts dir)
5068 * lyx_main.C: white space
5070 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5074 * lyxrc.C: remove second exit confirmation
5076 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5081 * BufferView_pimpl.h:
5082 * BufferView_pimpl.C:
5083 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5085 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5087 * MenuBackend.C (expand): add numeric shortcuts to document menu
5089 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5091 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5093 * lyxfont.C (setLyXFamily):
5100 * buffer.C (asciiParagraph): use ascii_lowercase
5102 2002-07-15 Mike Fabian <mfabian@suse.de>
5104 * lyxlex_pimpl.C (search_kw):
5105 * lyxlex.C (getLongString):
5106 * converter.h (operator<):
5107 * converter.C (operator<):
5108 * buffer.C (parseSingleLyXformat2Token):
5110 * ToolbarDefaults.C (read):
5111 * MenuBackend.C (checkShortcuts):
5113 * LColor.C (getFromGUIName):
5114 (getFromLyXName): use the compare_ascii_no_case instead of
5115 compare_no_case, because in turkish, 'i' is not the lowercase
5116 version of 'I', and thus turkish locale breaks parsing of tags.
5118 2002-07-16 Angus Leeming <leeming@lyx.org>
5120 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5121 now takes a Buffer const & argument.
5123 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5125 * BufferView.C (resize): check there's a buffer to resize
5127 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5129 * lyxfunc.C: remove dead code
5132 * lyxserver.C: use lyx_guii::set_read_callback
5134 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5136 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5137 an inset in a RTL paragraph.
5139 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5141 * lyxfunc.C: repaint after a font size update
5143 2002-07-15 André Pönitz <poenitz@gmx.net>
5145 * lyxlength.C: inBP should be able to return negative values
5147 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5149 * lyxfunc.C: use lyx_gui::update_fonts()
5151 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5153 * lyxfunc.C: use lyx_gui::update_color()
5155 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5161 * lyxrc.C: remove file->new asks for name option, and let
5162 buffer-new take an argument
5164 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5166 * BufferView_pimpl.C: remove unneeded extra repaint()
5168 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5170 * LyXAction.C: allow command-sequence with NoBuffer
5172 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5174 2002-07-10 Angus Leeming <leeming@lyx.org>
5176 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5178 2002-07-09 Angus Leeming <leeming@lyx.org>
5180 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5182 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5184 * lengthcommon.h: whitespace
5186 * lyxfunc.C: update scrollbar after goto paragraph
5188 * lyxtext.h: factor out page break drawing, and fix it so
5189 page break/added space paints as selected nicely
5191 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5193 * BufferView_pimpl.C: add FIXMEs, clean up a little
5195 2002-07-09 André Pönitz <poenitz@gmx.net>
5197 * lyxfont.[Ch]: support for wasy symbols
5199 2002-07-08 André Pönitz <poenitz@gmx.net>
5201 * BufferView_pimpl.C: apply John's patch for #93.
5203 2002-07-05 Angus Leeming <leeming@lyx.org>
5205 * BufferView_pimpl.C (buffer): generate previews if desired.
5207 * LColor.h: add "preview" to the color enum.
5209 * LColor.C (LColor): add a corresponding entry to the items array.
5211 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5214 2002-07-05 Angus Leeming <leeming@lyx.org>
5216 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5217 The body of the code is now in the method that is passed an ostream &
5218 rather than a file name.
5219 Pass an additional only_preamble parameter, useful for the forthcoming
5222 2002-07-03 André Pönitz <poenitz@gmx.net>
5224 * lyxfunc.C: simplify getStatus() a bit for math stuff
5226 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5228 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5230 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5232 * text.C (changeRegionCase): do not change case of all the
5233 document when region ends at paragraph end (bug #461)
5235 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * paragraph.C (startTeXParParams):
5238 (endTeXParParams): add \protect when necessary
5240 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * BufferView_pimpl.C (workAreaExpose): remove warning
5244 2002-06-27 Angus Leeming <leeming@lyx.org>
5246 * Makefile.am: add lyxlayout_ptr_fwd.h.
5248 2002-06-26 André Pönitz <poenitz@gmx.net>
5250 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5252 2002-06-25 Angus Leeming <leeming@lyx.org>
5254 * lyxfunc.C (dispatch): Comment out the call to
5255 grfx::GCache::changeDisplay. The method no longer exists now that the
5256 pixmap generation part of the graphics loader has been moved into
5259 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5261 * text2.C: layout as layout
5263 * text.C: layout as layout
5265 * tabular.C (OldFormatRead): layout as layout
5267 * paragraph_pimpl.C (TeXDeeper): layout as layout
5268 (realizeFont): layout as layout
5270 * paragraph.C (writeFile): layout as layout
5271 (validate): layout as layout
5272 (getFont): layout as layout
5273 (getLabelFont): layout as layout
5274 (getLayoutFont): layout as layout
5275 (breakParagraph): layout as layout
5276 (stripLeadingSpaces): layout as layout
5277 (getEndLabel): layout as layout
5278 (getMaxDepthAfter): layout as layout
5279 (applyLayout): layout as layout
5280 (TeXOnePar): layout as layout
5281 (simpleTeXOnePar): layout as layout
5282 (TeXEnvironment): layout as layout
5283 (layout): layout as layout
5284 (layout): layout as layout
5286 * lyxtextclass.C (compare_name): new functor to work with
5287 shared_ptr, layout as layout
5288 (Read): layout as layout
5289 (hasLayout): layout as layout
5290 (operator): layout as layout
5291 (delete_layout): layout as layout
5292 (defaultLayout): layout as layout
5294 * lyxlayout_ptr_fwd.h: new file
5296 * lyxlayout.C (Read): layout as layout
5298 * lyx_cb.C (MenuInsertLabel): layout as layout
5300 * bufferlist.C (newFile): layout as layout
5302 * buffer.C (readLyXformat2): layout as layout
5303 (parseSingleLyXformat2Token): layout as layout
5304 (insertStringAsLines): layout as layout
5305 (asciiParagraph): layout as layout
5306 (latexParagraphs): layout as layout
5307 (makeLinuxDocFile): layout as layout
5308 (simpleLinuxDocOnePar): layout as layout
5309 (makeDocBookFile): layout as layout
5310 (simpleDocBookOnePar): layout as layout
5311 (getLists): layout as layout
5313 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5315 * CutAndPaste.C (cutSelection): layout as layout
5316 (pasteSelection): layout as layout
5317 (SwitchLayoutsBetweenClasses): layout as layout
5319 * BufferView_pimpl.C (Dispatch): layout as layout
5320 (smartQuote): layout as layout
5322 * BufferView2.C (unlockInset): layout as layout
5324 2002-06-24 André Pönitz <poenitz@gmx.net>
5326 * lyxfunc.C: fix #487
5328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5332 * lyxfunc.C: remove display_shortcuts, show_banner
5334 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5336 * Buffer_pimpl.C: oops, update on resize
5338 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5345 * BufferView.C: use repaint()
5347 * BufferView_pimpl.h:
5348 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5349 as it's a clearer description. Remove superfluous
5352 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5354 * text.C: fix bug 488. Not ideal, but getting
5355 getWord() to work properly for the insets that
5356 matter is more difficult ...
5358 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5360 * BufferView_pimpl.C:
5363 * lyxfunc.C: remove the six million index lyxfuncs to just
5364 one, and DTRT (bug 458)
5366 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5370 * BufferView_pimpl.h:
5371 * BufferView_pimpl.C: clean up resize() stuff,
5372 and unnecessary updateScreen()s
5374 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5378 * BufferView_pimpl.h:
5379 * BufferView_pimpl.C:
5382 * minibuffer.C: remove focus management of workarea,
5383 not needed. Use screen's greyOut()
5385 2002-06-17 Herbert Voss <voss@lyx.org>
5387 * converter.C: (convert) do not post a message, when converting
5388 fails, let the calling function decide what to do in this case
5390 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5392 * lyxfunc.C: tidy up a little
5394 2002-06-16 <alstrup@diku.dk>
5396 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5397 Got rid of FORMS_H_LOCATION include. Now we are
5400 2002-06-15 LyX Development team <lyx@rilke>
5402 * buffer.[Ch] (sgmlOpenTag):
5403 (sgmlCloseTag): Added support for avoiding pernicious mixed
5404 content. Return number of lines written.
5407 (makeDocBookFile): Fixed calls to sgml*Tag.
5408 Simple white space clean.
5410 (simpleDocBookOnePar): Simple white space clean.
5412 * tabular.[Ch] (docBook): Renamed to docbook and got another
5413 argument to related with the pernicious mixed content.
5415 (docbookRow): Fixed calls for docbook inset method.
5417 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5419 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5420 so it's X11 independent.
5424 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5426 2002-06-15 Lyx Development team <lyx@electronia>
5428 * intl.h: Renamed getTrans to getTransManager.
5430 2002-06-14 Angus Leeming <leeming@lyx.org>
5432 * Makefile.am: nuke forgotten stl_string_fwd.h.
5434 2002-06-12 Angus Leeming <leeming@lyx.org>
5436 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5438 2002-06-13 Angus Leeming <leeming@lyx.org>
5441 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5443 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5445 * kbmap.C (getiso): add support for cyrillic and greek
5447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5451 * BufferView_pimpl.h:
5452 * BufferView_pimpl.C: move bogus scrolling logic
5455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5458 * BufferView_pimpl.C: view->resize() change
5460 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5462 * BufferView_pimpl.C: topCursorVisible
5465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5469 * lyx_gui.C: move to frontends/
5473 * lyx_main.C: changes from above
5475 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5482 * lyx_main.C: minor tidy
5484 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5486 * BufferView_pimpl.h:
5487 * BufferView_pimpl.C:
5489 * BufferView.C: make painter() const,
5492 * BufferView2.C: use screen() accessor
5495 * lyx_main.C: some minor cleanup
5497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5499 * BufferView_pimpl.h:
5500 * BufferView_pimpl.C: remove enter/leaveView,
5503 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5508 * BufferView_pimpl.h:
5509 * BufferView_pimpl.C: only construct screen once,
5512 * lyxrc.C: remove pointless comment
5514 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5517 * BufferView.C: remove active() and belowMouse()
5519 * BufferView_pimpl.h:
5520 * BufferView_pimpl.C: use workarea() not workarea_,
5521 and make it use a scoped_ptr instead
5523 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5525 * lyx_gui.C: add debug message on BadWindow
5527 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5529 * sp_spell.C: fdopen is not part of the C++ standard.
5531 * paragraph.C (InsetIterator): use >= instead of ==
5533 2002-06-07 Angus Leeming <leeming@lyx.org>
5535 Fixes needed to compile with Compaq cxx 6.5.
5536 * BufferView_pimpl.C:
5543 * lyxtextclasslist.C:
5548 all c-library variables have been moved into namespace std. Wrap
5549 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5554 Add a using std::abs declaration.
5556 * kbmap.h (modifier_pair):
5557 * paragraph.h (InsetTable, InsetList):
5558 * lyxfont.h (FontBits):
5559 type definition made public.
5561 * bufferlist.C (emergencyWriteAll): the compiler complains that
5562 there is more than one possible lyx::class_fun template to choose from.
5563 I re-named the void specialisation as lyx::void_class_fun.
5565 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5567 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5568 the compiler is is unable to find tostr in write_attribute.
5570 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5572 * buffer.C (sgmlError): hide #warning
5574 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * xtl/*: get rid of xtl, which is not in use anyway
5578 * LyXAction.C (init):
5579 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5580 were unimplemented xtl experimentation
5582 2002-06-04 André Pönitz <poenitz@gmx.net>
5584 * lyxfunc.C: disable array operation on simple formulae
5586 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5588 * converter.C: constify a bit
5590 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5592 * lyx_gui.C: check xforms version correctly
5594 2002-04-30 Herbert Voss <voss@lyx.org>
5596 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5599 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5601 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5602 attempt to register it with a VCS)
5604 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5606 * lyx_main.C (init): honor variables LYX_DIR_13x and
5609 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5613 * lyx_main.C: fix a crash on bad command line,
5614 and give a useful exit status on error
5616 * lyxfunc.C (doImport): allow -i lyx to work
5618 2002-03-30 André Pönitz <poenitz@gmx.net>
5620 * lyxfunc.C: mathed font changes
5622 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5637 * trans_mgr.h: srcdocs, and some minor cleanups
5639 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5642 call getFont all the time)
5644 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5646 * switch from SigC signals to boost::signals
5648 2002-05-29 André Pönitz <poenitz@gmx.net>
5650 * paragraph_pimpl.C (getChar): don't call size() too often...
5652 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5654 * paragraph_pimpl.C (insertChar): do not try to update tables when
5655 appending (pos == size())
5657 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5658 in order to reduce drastically the number of comparisons needed to
5659 parse a large document
5661 2002-05-29 André Pönitz <poenitz@gmx.net>
5667 * textclasslist.[Ch]:
5668 * sp_ispell.h: whitespace change
5670 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5672 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5673 lyxaction directly now.
5675 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5679 * lyxvc.C: remove unused headers
5681 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5688 * undo_funcs.C: some cleanups. Use shared_ptr
5689 and a template for the undo stacks.
5691 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5693 * BufferView_pimpl.h:
5694 * BufferView_pimpl.C:
5701 * text2.C: use key_state/mouse_state
5703 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5705 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5708 * chset.C: change include order
5709 (loadFile): use boost regex and get rid of LRegex and LSubstring
5711 * Makefile.am (BOOST_LIBS): new variable
5714 * LaTeX.C: change include order.
5715 (scanAuxFile): use boost regex and get rid of LRegex and
5719 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5724 * FontInfo.C: moved to frontends/xforms/
5727 * FontLoader.C: moved into frontends for GUIIzation
5732 * lyxfunc.C: changes from above
5734 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5736 * LColor.C: remove spurious X include
5738 * BufferView_pimpl.C:
5743 * text2.C: move font metrics to frontends/
5745 2002-05-24 Juergen Vigna <jug@sad.it>
5747 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5748 setting the undo_cursor.
5750 * ParagraphParameters.h: include local includes first.
5752 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5754 * BufferView_pimpl.C:
5755 * BufferView_pimpl.h:
5759 * screen.C: move WorkArea into frontends/
5765 * BufferView2.C: move LyXScreen into frontends/
5769 * lyx_gui.C: move lyxlookup into frontends/xforms/
5771 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5774 * BufferView_pimpl.C:
5784 * bufferview_funcs.C:
5797 * vc-backend.C: move LyX/XFormsView into frontends/
5799 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5811 * text2.C: move Painter to frontends/
5813 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5815 * buffer.C: comment out some some code that depend upon lyx_format
5818 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5819 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5821 * buffer.h (NO_COMPABILITY): turn off compability
5823 * ColorHandler.C: include scoped_array.hpp
5825 * font.C: Use more specific smart_ptr header.
5828 * ShareContainer.h: ditto
5832 * BufferView_pimpl.h: ditto
5833 * ColorHandler.h: ditto
5835 * kbmap.C (defkey): change call to shared_ptr::reset
5837 2002-05-21 Juergen Vigna <jug@sad.it>
5839 * buffer.C (insertErtContents): fix to insert ert asis if it is
5840 non empty. Skip it completely if it contains only whitespaces.
5842 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5844 * BufferView_pimpl.C:
5845 * BufferView2.C: clear selection on paste (bug 393)
5847 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5849 * DepTable.C: include ctime
5851 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5853 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5855 2002-05-14 Juergen Vigna <jug@sad.it>
5857 * text.C (breakParagraph): fixed function to honor the keepempty
5858 layout in the right maner and also to permit the right breaking
5859 algorithm on empty or non empyt keepempty paragraphs.
5861 * paragraph.C (breakParagraph): we have to check also if the par
5862 is really empty (!size()) for isempty otherwise we do the wrong
5865 2002-05-10 Juergen Vigna <jug@sad.it>
5867 * buffer.[Ch] : The following are only changes to the ert
5868 compatibility read reading old LaTeX layout and font stuff and
5869 convert it to ERTInsets.
5871 * buffer.h: added isErtInset().
5873 * buffer.C (struct ErtComp): add a fromlayout bool to check
5874 if we're inside a LaTeX layout.
5875 (isErtInset): new helper function.
5876 (insertErtContents): look for other ert insets before this one
5877 and insert the contents there, so that we don't have subsequent
5878 ERT insets with nothing between them. This way we create only one
5879 inset with multiple paragraphs. Also check if we don't insert only
5880 spaces ' ' as they are ignored anyway afterwards in the .tex file
5881 so if we have only spaces we will ignore this latex part in the
5883 (parseSingleLyXformat2Token \\layout): better compatibility when
5884 reading layout-latex stuff.
5885 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5887 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5888 stuff after reading the inset only get the information back from
5891 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5893 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5895 * LaTeXFeatures.C (getBabelOptions): New method.
5897 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5899 * BufferView_pimpl.C (Dispatch): work around missing argument for
5902 2002-05-08 Juergen Vigna <jug@sad.it>
5904 * text.C (leftMargin): handle paragraph leftindent.
5906 * paragraph.C (writeFile): write the new \\leftindent tag.
5907 (validate): handle leftindent code.
5908 (TeXEnvironment): handle paragraphleftindent code again.
5910 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5912 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5913 for paragrap_extra indent code and new token \\leftindent.
5914 (latexParagraphs): handle the leftindent as environment.
5916 * ParameterStruct.h: added leftindent support.
5918 * ParagraphParameters.C (leftIndent): added support functions for
5919 the paragraph left indent.
5921 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5924 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5926 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5929 * text.C (computeBidiTables): No bidi in insetERT.
5931 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5934 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * version.C.in: pre 5
5938 2002-05-02 José Matos <jamatos@fep.up.pt>
5939 * buffer.C (makeDocBookFile): white space changes, add newline to
5941 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5943 * tabular.C (docBook): fix typo.
5945 2002-05-03 Juergen Vigna <jug@sad.it>
5947 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5948 change in LyXText as we can not be sure it was not freed.
5949 (drawOneRow): remove unused code.
5951 * text.C (drawInset): redo the calculation of the need_break_row as
5952 it could have a row which was already freed.
5953 (draw): look at the return value of drawInset and return false if
5954 it also returned false.
5955 (paintRowText): look at the return value of draw and return false if
5956 it also returned false.
5958 * lyxtext.h: added bool return type to drawInset() and draw() so that
5959 if we have a change in the row so that the rowbreak has to be redone
5960 we abort drawing as it will be called again.
5962 2002-05-02 Juergen Vigna <jug@sad.it>
5964 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5965 a change in the maintext also if we're inside an inset.
5966 (Dispatch): set the cursor again after a break line and after the
5967 screen has been updated as it could be we're in a different row.
5969 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5970 to set the cursor behind the pargraph with > size().
5971 (setCursor): check also for the same paragraph when checking where
5972 to put the cursor if we have a NFR inset.
5974 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5975 parts of layout read further up as it still was in the wrong
5978 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5980 * screen.C (drawFromTo): change sine fullRebreak always return
5983 * buffer.C (parseSingleLyXformat2Token): reindent some
5985 * BufferView_pimpl.C (update): change since fullRebreak always
5987 (Dispatch): git rid of the last hardcoded "Standard"s.
5989 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5991 * text2.[Ch] (fullRebreak): make it return void now that we always
5994 2002-04-30 Juergen Vigna <jug@sad.it>
5996 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5997 ert compatibility check for "latex" layout.
5999 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6001 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6002 minipages: use col% instead of p%, and also use the current font.
6003 (makeLaTeXFile): Fix use babel condition.
6004 (parseSingleLyXformat2Token): Correct font when reading old floats.
6006 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6008 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6009 inserting list of floats.
6011 2002-04-25 Herbert Voss <voss@lyx.org>
6013 * MenuBackend.C (expand): don't add the graphics extensions to the
6016 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6019 non-existing layout, do not complain if it was the default layout
6020 of the original class (bug #342)
6022 2002-04-24 Juergen Vigna <jug@sad.it>
6024 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6025 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6027 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6029 * buffer.C (getBibkeyList): If using \bibliography, return the
6030 option field with the reference itself. Enables us to provide natbib
6031 support when using \bibliography.
6033 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6035 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6037 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6038 natbib is provided by the LaTeX class.
6040 2002-04-23 Juergen Vigna <jug@sad.it>
6042 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6045 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6047 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6049 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6051 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6052 ensuremath around textordmasculine, textordfeminine and
6055 2002-04-19 Juergen Vigna <jug@sad.it>
6057 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6058 reinitializing the buffer otherwise row-dimensions may be wrong.
6059 (update): reset also the selection cursors if they do exits otherwise
6060 their x/y positions may be wrong.
6062 * text2.C (cursorDown): don't enter the inset if we came from a row
6063 above and are one row over the inset.
6065 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6066 really leaving an inset.
6068 2002-04-18 Juergen Vigna <jug@sad.it>
6070 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6071 of the selected paragraph does not have the selected layout also if
6074 * text2.C (setLayout): fixed bug which did not change last selected
6077 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6078 changed the read and substituted \\end_float with \\end_inset!
6080 * BufferView_pimpl.C (cursorPrevious):
6081 (cursorNext): fixed to make it work with rows heigher than the work
6082 area without moving the cursor only the draw of the row.
6083 (workAreaMotionNotify): fix jumping over high rows.
6085 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6087 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6090 2002-04-16 Juergen Vigna <jug@sad.it>
6092 * text2.C (setCursor): set also the irow().
6093 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6095 (cursorDown): support for locking an inset if the x_fix value goes
6096 inside it. That way I can transverse insets too with cursor up/down.
6098 * lyxrow.h: added irow helper function same as other (i) functions.
6100 * BufferView_pimpl.C (cursorPrevious):
6101 (cursorNext): fixed for insets!
6103 2002-04-15 Juergen Vigna <jug@sad.it>
6105 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6106 position otherwise it is wrong in some cases.
6108 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6109 inside the inset before the call.
6111 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6113 * buffer.[Ch] (getBibkeyList): make it const.
6115 2002-04-12 Juergen Vigna <jug@sad.it>
6117 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6119 * text2.C (getCursorX): new helper function
6120 (setCursor): compute also ix_
6121 (setCursorFromCoordinates): set also ix.
6123 * lyxcursor.h: added ix_ and helper functions.
6125 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6127 * buffer.C (insertStringAsLines): dont break paragraph if the this
6128 paragraph is inside an inset which does not permit it!
6130 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6131 also with no chars on this paragraph.
6132 (paintRowText): only paint stuff if it's inside the workarea!
6134 * paragraph.C (breakParagraph): honor keepempty flag and break the
6135 paragraph always below not above.
6137 * BufferView2.C (unlockInset): update the paragraph layout on inset
6138 unlock as we changed paragraph in such a case.
6140 * lyxfind.C (LyXFind): clear the former selection if not found!
6142 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6143 again called in insertChar().
6145 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6146 an inset which uses the whole row!
6147 (rightMargin): ditto.
6148 (insertChar): force a rebreak if we inserted an inset!
6150 2002-03-28 Herbert Voss <voss@lyx.org>
6152 * lyxlength.[Ch]: add inBP() to get the right PS-point
6153 units (BigPoint). With inPixels we have rounding errors
6155 2002-04-11 Juergen Vigna <jug@sad.it>
6157 * text2.C (setCursorFromCoordinates): set iy to the right value.
6158 (setCursor): add check if row->previous exists!
6160 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6161 an old float_type as this was the case in the old code!
6163 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6165 * BufferView2.C (showLockedInsetCursor): use iy
6166 (fitLockedInsetCursor): ditto
6168 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6169 locked insets as there we have the right value now.
6171 * lyxcursor.C: added iy_ variable and iy functions to set to the
6172 baseline of cursor-y of the locked inset.
6174 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6175 (setCursor): fixed for insets which need a full row.
6177 * text.C (rowLastPrintable): don't ignore the last space when before
6178 an inset which needs a full row.
6179 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6180 as last character of a row when before a inset which needs a full row.
6182 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * version.C.in: update date
6186 * text2.C (fullRebreak): try to always return true and see what
6189 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6191 * MenuBackend.C (expand): use Floating::listName
6193 * FloatList.C (FloatList): add listName argument to the built-in
6196 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6197 text associated with the float.
6199 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6201 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6203 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6205 * ShareContainer.h: add a couple of missing typenames.
6207 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6209 * lyxrc.C (getDescription): use _() correctly rather than N_().
6211 2002-03-28 Herbert Voss <voss@lyx.org>
6213 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6214 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6216 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6218 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6219 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6221 2002-03-29 Juergen Vigna <jug@sad.it>
6223 * lyxfunc.C (dispatch): add a missing fitCursor call.
6225 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6226 it was scrolled by a cursor move, so return the bool status.
6228 * BufferView.C (fitCursor): return the bool flag also to the outside
6229 world as this is needed.
6231 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6233 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6234 call the edit() as it is not needed (and wrong) IMO.
6235 (workAreaButtonPress): set the screen_first variable before evt.
6236 unlock the inset as this may change screen_first and then we have
6237 a wrong y position for the click!
6239 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6241 * MenuBackend.C (expand): another translation that I missed
6243 2002-03-28 Juergen Vigna <jug@sad.it>
6245 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6247 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6249 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6253 * MenuBackend.C (expand): fix export/view/update when there is no
6256 2002-03-27 Herbert Voss <voss@lyx.org>
6258 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6261 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6263 * bufferview_funcs.C (currentState): only show paragraph number
6264 for is DEVEL_VERSION is set.
6266 * lyxfunc.C (dispatch): put warning in INFO channel
6268 * MenuBackend.C (expand): translate the name of floats
6270 * FloatList.C (FloatList): mark the float names for translation
6272 * converter.C (convert): use LibScriptSearch
6274 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6276 * MenuBackend.C (defaults): fix default menu (we might as well get
6279 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6284 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6286 * lyxvc.C: reorder includes.
6288 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6290 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6293 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6295 * CutAndPaste.C: change layouts earlier on paste
6296 to avoid crashing when calling getFont()
6298 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6300 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6303 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * WorkArea.C: remove 'Pending' debug message.
6307 * most files: ws cleanup
6309 * buffer.[Ch]: ws changes
6311 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6313 2002-03-21 Juergen Vigna <jug@sad.it>
6315 * tabular.C (SetMultiColumn): collapse also the contents of the
6316 cells and set the last border right. Added a Buffer const * param.
6318 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6323 2002-03-19 Juergen Vigna <jug@sad.it>
6325 * text2.C (clearSelection): reset also xsel_cache.
6327 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6328 where it needs to be called (John tells us to do so too :)
6329 (selectionLost): reset sel_cache.
6331 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6333 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * text2.C (setCursorIntern): put debuging code in INSETS channel
6337 2002-03-19 André Pönitz <poenitz@gmx.net>
6339 * lyxfunc.C: tiny whitespace change
6341 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6343 * ToolbarDefaults.C (init):
6344 * LyXAction.C (init):
6346 * BufferView_pimpl.C (Dispatch):
6347 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6349 2002-03-19 Allan Rae <rae@lyx.org>
6351 * exporter.C (Export): removeAutoInsets before doing anything else.
6352 While I've just introduced a dependency on BufferView this really is
6353 the best place to clean the buffer otherwise you need to cleanup in
6354 a dozen places before calling export or cleanup in a dozen functions
6357 * converter.C (runLaTeX):
6358 (scanLog): Better handling of removeAutoInsets and screen updates.
6360 * lyxfunc.C (dispatch): small whitespace changes
6362 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * WorkArea.C (C_WorkAreaEvent): return a value.
6365 (event_cb): return 1 if we handled the event, 0 otherwise.
6367 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6369 2002-03-18 Juergen Vigna <jug@sad.it>
6371 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6372 (GetAdditionalWidth): ditto.
6376 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6377 inset if we're there actually (probably not used right now but this
6378 is the direction to go for unifying code).
6379 (paste): disable code to clear the selection.
6381 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6382 inside an InsetText and move the check further up as it is in the
6385 * text2.C (pasteSelection): set a selection over the pasted text.
6387 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6389 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6390 and libgraphics to build on Cygwin.
6392 2002-03-15 Juergen Vigna <jug@sad.it>
6394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6395 inserting an Inset into the paragraph. I know this is not the best
6396 fix but we already use current_view in CutAndPaste so we will remove
6397 all of it's using at the same time.
6399 * buffer.C (sgmlError): deactivated function till it is rewritten in
6400 the right mode, now it can create problems.
6402 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6403 before accessing it.
6405 2002-03-14 Juergen Vigna <jug@sad.it>
6407 * undo_funcs.C (textHandleUndo): do the right thing when updating
6408 the inset after the undo/redo.
6410 * text2.C (setCursor): just some testcode for #44 not ready yet.
6412 * undo_funcs.C (textHandleUndo): set the next() and previous()
6413 pointers of the paragraph to 0 before deleting otherwise we have
6414 problems with the Paragraph::[destructor].
6416 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6417 on a paragraph insertion.
6419 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6421 * buffer.C (asciiParagraph): use += operator for char append to
6424 * paragraph.C (getFontSettings): compare >= not just >
6425 (highestFontInRange): ditto
6428 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * paragraph.C: change several algorithm to be more appripriate for
6431 the problem domain. This is lookip in FontList and in the InsetList.
6433 2002-03-13 André Pönitz <poenitz@gmx.net>
6436 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6438 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6443 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6445 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6447 * Painter.C (display): anon helper function, adjust code for this
6449 (pixmap): remove function.
6451 * Painter.h: remove private display variable.
6453 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6455 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6457 * WorkArea.[Ch]: remove figinset_canvas cruft.
6459 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * lyxtextclass.C (operator): add one item cache optimization.
6463 * bufferlist.h: doxy changes
6465 * bufferlist.C: ws changes
6467 * DepTable.[Ch] (ext_exist): place const in the right spot.
6469 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6471 (workAreaExpose): call resizeInsets when the with BufferView changes.
6472 (Dispatch): adjust for protectedBlank removal
6473 (specialChar): call updateInset if the insert went ok.
6475 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6476 specialChar instead.
6478 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6480 * BufferView.h: doxy change
6482 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6484 * lyxtextclass.C (operator[]): remove non-const version
6485 (defaultLayout): remove non-const version
6487 2002-03-12 Juergen Vigna <jug@sad.it>
6489 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6490 did resize the LyXText too.
6492 * buffer.C (readLyXformat2): set layout information on newly allocated
6495 * tabular.C (OldFormatRead): set layout information on the paragraph.
6497 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6499 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6501 2002-03-11 Juergen Vigna <jug@sad.it>
6503 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6505 (resizeCurrentBuffer): force also the insets to resize themselfes.
6506 (moveCursorUpdate): fixed up for InsetText.
6508 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6511 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6512 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6513 value of Dialogs::tooltipsEnabled().
6514 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6516 2002-03-08 Juergen Vigna <jug@sad.it>
6518 * BufferView_pimpl.C (updateInset): update inset inside inset also
6519 if it isn't inside theLockingInset().
6521 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * buffer.C (asciiParagraph): redo some of the word and line length
6525 (getLists): look for Caption instead of caption.
6527 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6529 * buffer.C (Buffer): initialize niceFile to true
6532 (makeDocBookFile): make sure niceFile is true on exit
6534 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6536 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6538 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6540 * LyXSendto.C: remove.
6541 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6542 * lyx_gui.C: remove now-redundant comment.
6543 * ColorHandler.h: remove forward declaration of class WorkArea.
6544 * lyxfunc.C: remove #include "WorkArea.h".
6546 2002-03-07 Juergen Vigna <jug@sad.it>
6548 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6549 got moved away with the DEPM and also set the inset_owner always
6550 right which before could have been omitted.
6552 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6554 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6555 wanted layout is not found.
6557 2002-03-07 Juergen Vigna <jug@sad.it>
6559 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6561 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6563 * paragraph.C (breakParagraph): use default layout not layout of
6565 (Paragraph): clear ParagraphParameters.
6567 2002-03-06 Juergen Vigna <jug@sad.it>
6569 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6570 otherwise it would not be a valid lenght. Fixed a special case in
6571 the minipage compatibility read where we end the document with a
6574 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6575 was set as it could be 0 for InsetTexts first entry.
6577 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6579 * paragraph.C (writeFile): if layout is empty write out
6580 defaultLayoutName().
6582 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6583 file without named layout we set layout to defaultLayoutName().
6585 2002-03-06 Juergen Vigna <jug@sad.it>
6587 * CutAndPaste.C (copySelection): set layout for new paragraph.
6589 * text.C (prepareToPrint): leave ERT inset left aligned
6590 (leftMargin): don't indent paragraphs inside ERT insets
6592 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6594 * paragraph.C (breakParagraph): dont call clear do the work manually
6596 * paragraph.[Ch] (clear): remove function
6598 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6600 * paragraph.C (Paragraph): dont call clear, the work has already
6603 * lyxtextclass.C (operator): assert if n is empty
6605 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6606 work manually instead.
6608 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6610 * BufferView_pimpl.C: protect selectionLost against text == 0
6612 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6614 * text.C (breakParagraph): fix a setting layout to '0' problem.
6616 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6618 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6619 final location of file, for the included files, and graphics.
6621 2002-03-05 Juergen Vigna <jug@sad.it>
6623 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6625 2002-03-04 Juergen Vigna <jug@sad.it>
6627 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6629 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6630 last column of multicolumn cells.
6631 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6633 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6635 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6636 file if it doesn't go to a temporary file.
6638 * buffer.C (sgmlOpenTag):
6639 (sgmlCloseTag): remove extra newline insertion.
6641 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6643 * text.C (getRowNearY): comment out debug msg
6645 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6647 * text2.C: first -> first_y
6649 * text.C (getRowNearY): add some attemts at a possible
6650 optimization, not working.
6652 * tabular.[Ch]: add BufferParams to several function so that newly
6653 created paragraph can be initialized to he default layotu for the
6656 * tabular-old.C (ReadOld): add buf->params to call of Init
6658 * screen.C: rename text->first to text->first_y
6660 * paragraph.C (breakParagraph): always set layout in the broken
6663 * lyxtextclass.C (Read): remove lowercase
6666 (delete_layout): ditto
6668 * lyxtext.h: rename first -> first_y
6670 * lyxlayout.C (Read): remove lowercase
6673 (obsoleted_by): ditto
6675 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6677 * buffer.C (insertErtContents): add params are to InsetERT
6678 (parseSingleLyXformat2Token): add code to check if a paragraphs
6679 layout really exist.
6680 (parseSingleLyXformat2Token): add params to several inset
6682 (asciiParagraph): remove lowercase, do the layout comparisons with
6685 * BufferView_pimpl.C (cursorNext): first -> first_y
6686 (resizeCurrentBuffer): first -> first_y
6687 (updateScrollbar): first -> first_y
6688 (scrollCB): first -> first_y
6689 (workAreaMotionNotify): first -> first_y
6690 (workAreaButtonPress): first -> first_y
6691 (checkInsetHit): first -> first_y
6692 (cursorPrevious): first -> first_y
6693 (cursorNext): first -> first_y
6694 (Dispatch): add buffer_->params to severl inset contructors
6696 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * lyxlayout.C (Read): remove some debug info that I forgot.
6700 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6701 clean up the code slightly.
6702 (makeLinuxDocFile): ditto
6703 (makeDocBookFile): ditto
6705 * text2.C: layout as string
6707 * text.C: layout as string
6709 * paragraph_pimpl.C: layout as string
6711 * paragraph.[Ch]: layout as string
6713 * lyxtextclasslist.[Ch]: layout as string
6715 * lyxtextclass.[Ch]: layout as string
6717 * lyxtext.h: layout as string
6719 * lyxlayout.[Ch]: layout as string
6721 * lyx_cb.C: layout as string
6723 * bufferview_funcs.C: layout as string
6725 * bufferparams.C: layout as string
6727 * buffer.C: layout as string
6729 * LyXView.[Ch]: layout as string
6731 * LaTeXFeatures.[Ch]: layout as string
6733 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6735 * BufferView_pimpl.C: change current_layout to string, remove
6740 (workAreaButtonRelease): layout as string
6742 * BufferView2.C (unlockInset): adjust
6744 * vspace.C (asLatexCommand): use an explict temp variable.
6746 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6748 * Makefile.am: use FRONTEND_*
6750 2002-03-01 Juergen Vigna <jug@sad.it>
6752 * tabular.C (SetWidthOfMulticolCell): changed to something better
6753 I hope but still work in progress.
6754 (recalculateMulticolumnsOfColumn): renamed function from
6755 recalculateMulticolCells as it is more appropriate now.
6756 (SetWidthOfCell): calculate multicols better.
6758 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6760 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6762 * lyxfunc.C (processKeySym): print sequence also if it is
6763 `deleted' (complete)
6765 * kbsequence.C (print): print sequence even if it is deleted
6766 (complete would be a better word, actually).
6768 * lyxfunc.C (dispatch): print complete options after a prefix key
6770 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6772 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6774 * text2.C (setCharFont): eliminate setCharFont code duplication.
6776 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6778 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6779 LFUN_TABULAR_FEATURE (bug #177)
6781 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6783 * Makefile.am: remove figure.h
6785 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6787 * Bufferview_pimpl.C:
6799 * text2.C: remove #include "lyx_gui_misc.h".
6801 * LaTeX.C: added #include <cstdio>
6803 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6806 that the paragraph following this one can have.
6808 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6810 * vspace.C (asLatexCommand): fix bogus gcc warning
6812 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6814 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6816 * text2.C (setLayout): get rid of redundant code
6818 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6820 * text2.C (incDepth): make sure depth cannot be increased beyond
6823 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6825 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6826 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6828 * PainterBase.h (image):
6829 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6832 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6836 * BufferView_pimpl.C:
6837 * BufferView_pimpl.h:
6857 * sp_spell.C: remove fig inset, and the crap house of
6858 cards that follows it
6860 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6866 * nt_defines.h: move .h into support/
6868 * vms_defines.h: remove
6870 * WorkArea.C: add space in debug output
6874 * buffer.C: add WITH_WARNINGS
6878 * bufferlist.C: s/retrive/retrieve/, add docs
6889 * lyxgui.C: add ID to X error handler
6891 * lyxtestclass.c: fix typo
6893 2002-02-26 Juergen Vigna <jug@sad.it>
6895 * tabular_funcs.C (write_attribute): changed so that some default
6896 attributes are not written at all.
6897 (getTokenValue): set default values before trying to read the
6898 value so we have the return value always set as default if we don't
6899 find the token we search for.
6901 * tabular.C (Write): write bools as bools not as strings!
6903 2002-02-22 Juergen Vigna <jug@sad.it>
6905 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6906 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6908 * text.C (leftMargin): don't add an indent for paragraphs inside
6909 tabular cells (fix #208).
6911 2002-02-21 José Matos <jamatos@fep.up.pt>
6913 * tabular.C (docBook): fixed support for long tables.
6915 2002-02-20 Juergen Vigna <jug@sad.it>
6917 * text2.C (getFont): get the drawing font of the Inset if this
6918 paragraph is inside an inset (only important for InsetERT for now).
6920 * buffer.C (insertErtContents): use new lanugage params in ERT
6923 * CutAndPaste.C: commenting out seemingly uneeded code.
6925 2002-02-19 Allan Rae <rae@lyx.org>
6927 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6928 Iterators might be simple to use but they also get invalidated.
6929 (removeAutoInsets): renamed saved cursor tracking variables and added
6930 some comments to clarify what everything does.
6932 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6939 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6940 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6943 * vc-backend.h: remove #include "support/syscall.h"
6947 * converter.C: rearrange #includes in Lars' approved fashion.
6949 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6950 forward declare class Timeout in the header file.
6952 * XFormsView.C: changes due to the above.
6954 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6957 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6958 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6960 2002-02-18 José Matos <jamatos@fep.up.pt>
6962 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6965 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6967 * a lot of small ws changes
6968 * add a lot of using std::XXX
6969 * use std construcs some places where approp.
6970 * use some exisint stuff from lyxfunctional where approp.
6971 * Make file changes to use partial linking (lets test this now...)
6973 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6977 remove #include "support/syscontr.h" as it's redundant. Always has been.
6985 change Systemcalls::System to Systemcalls::Wait and
6986 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6987 No change of functionality, just reflects the stripped down Systemcalls
6990 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6992 * debug.[Ch]: add a GRAPHICS type to the enum.
6994 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6996 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6998 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7001 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7003 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7004 match the changes below.
7006 * text2.C (toggleInset): if there is not editable inset at cursor
7007 position, try to see if cursor is _inside_ a collapsable inset
7010 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7013 document menu has a nice checkbox
7015 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7017 * lyxlength.C (asLatexString): change PW to output as percent of
7020 * lengthcommon.C: change '%' to 't%'
7022 * lyxfunc.C (dispatch): a few comments from Martin
7024 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7028 * BufferView_pimpl.h:
7029 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7032 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7034 * vspace.C (inPixels): fix compiler warning
7036 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7038 * lyxfunc.C (getStatus): fix status message for disabled commands.
7040 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7042 * BufferView_pimpl.C: fix crash on close buffer
7043 during selection (#227)
7045 2002-01-27 Herbert Voss <voss@lyx.org>
7047 * buffer.C: link old Figure to new graphic inset
7049 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7051 * FontLoader.C (getFontinfo): Change the latex font names in order
7052 to match the names of type1inst.
7054 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7056 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7058 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7061 (remove_files_with_extension): ditto
7062 (remove_file): ditto
7065 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7066 document is smaller than the work area height. Do not initialize
7067 static variables to 0.
7069 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7071 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7073 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7074 LFUN_LAYOUT_PARAGRAPHS.
7076 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7077 tabular. It is possible to provide a possible cell, which will
7078 typically be the actcell from the corresponding insettabular
7080 * lyxfunc.C (getStatus): small cleanup; disable
7081 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7084 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7086 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7088 * paragraph.C (startTeXParParams):
7089 (endTeXParParams): new methods. The LaTeX code to
7090 start/end paragraph formatting
7091 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7092 empty (fixes bug #200)
7094 * vspace.C (inPixels): adapt to the change below
7095 (inPixels): [later] more cleanups (remove unused variables)
7097 * lyxlength.C (inPixels): change to use a width and a height as
7100 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7102 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7103 Replaced with \paperwidth
7105 * DepTable.C (insert): add std:: qualifier
7107 2002-01-18 Allan Rae <rae@lyx.org>
7109 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7112 * text.C (drawInset): Turned out I didn't know enough about how
7113 rebreaking worked. This fixes most of the redraw problems. I see
7114 an occasional cursor trail when a line is broken now and the cursor
7115 placement can seem out by a few pixels also after a rebreak.
7117 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7119 * buffer.C (parseSingleLyXformat2Token): update because minipage
7120 width is now a LyXLength
7122 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7124 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7127 2002-01-17 Juergen Vigna <jug@sad.it>
7129 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7131 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7132 is set correctly and the inset is updated correctly.
7134 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7137 the beginning of the loop.
7139 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7141 * lyxrc.C: improve help for use_scalable_fonts
7143 2002-01-17 Allan Rae <rae@lyx.org>
7145 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7147 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7149 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7150 make sure to set their inset_owner to the right value (bug #171)
7152 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7155 * DepTable.C: Implement mtime checking to reduce time spent doing
7158 2002-01-16 Juergen Vigna <jug@sad.it>
7160 * tabular.C (GetAdditionalHeight): one of error fixed.
7162 * lyxrc.C (output): small fix in writing use_pspell.
7164 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7166 * sp_base.h: #include LString.h
7168 2002-01-16 Allan Rae <rae@lyx.org>
7170 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7171 Can someone check this please?
7173 * text.C (drawInset): It was possible that p.row would be removed by
7174 breakAgainOneRow upsetting a few other settings. There may be another
7175 small tweak possible by setting need_break_row = 0 when p.row has been
7176 removed but I don't know enough about the logic here.
7178 2002-01-15 Allan Rae <rae@lyx.org>
7180 * text.C (insertChar): removed conditional truism.
7182 * BufferView2.C (removeAutoInsets): More tweaks.
7183 cur_par_prev could be a stray pointer. Check for trailing empty line
7184 in case last line was cur_par and only had an error inset on it.
7186 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7191 * vc-backend.C (most methods):
7192 * exporter.C (Export):
7193 * converter.C (convert):
7195 * LyXSendto.C (SendtoApplyCB):
7196 * lyxfunc.C (dispatch):
7200 * lyx_cb.C (AutoSave):
7202 * BufferView_pimpl.C (MenuInsertLyXFile):
7203 * buffer.C (runChktex): use Buffer::filePath().
7205 * buffer.h: rename filename to filename_; rename filepath to
7206 filepath_ and make it private
7207 (filePath): new method
7209 * buffer.C (writeFile): use fileName()
7212 * lyx_main.C (init): fix starting of LyX when the binary is a
7213 link from so,ewhere else.
7215 * minibuffer.C: include <cctype> for isprint
7217 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7219 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7220 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7221 name clash with InsetCollapsable's width function.
7223 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7225 * lastfiles.C: include <iterator>
7227 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7229 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7232 * buffer.C (makeLaTeXFile): ditto.
7233 Also make loop operation more transparent.
7235 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7237 * ToolbarDefaults.C: remove trailing comma closing namespace.
7239 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7241 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7244 * trans.C (Load): comment out unused variable, allowed.
7246 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7248 * minibuffer.[Ch] (append_char): new method to recieve input from the
7249 drop-down completion browser. If a key was pressed, then recieve this
7250 char and append it to the existing string.
7251 (peek_event): modify the positioning data passed to the completion
7252 browser so that it can be placed above the minibuffer rather than below.
7253 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * LyXAction.C (init): alloe error-next for readonly documents.
7257 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7260 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7262 * bufferlist.C (readFile): create the buffer _after_ checking that
7265 * lyxfunc.C (verboseDispatch): fix handling of arguments
7267 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7269 * lyxrc.C: use string::erase() instead of initializing to "".
7272 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7274 * BufferView_pimpl.h:
7275 * BufferView_pimpl.C:
7278 * text2.C: tell X when we have made a selection for copying
7280 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7282 * BufferView_pimpl.C (MenuInsertLyXFile):
7283 * lyxfunc.C (menuNew):
7285 (doImport): add shortcuts to directory buttons
7287 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7290 * lyxfunc.C (setStatusMessage):
7291 (getStatusMessage): new methods
7292 (getStatus):use setStatusMessage instead of setErrorMessage
7293 (dispatch): when function is disabled, set error message here
7294 [instead of in getStatus previously]
7296 * BufferView_pimpl.C (workAreaButtonRelease): update
7297 toolbar/menubar here too.
7299 2002-01-13 Allan Rae <rae@lyx.org>
7301 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7302 Now seems indestructible. Remaining task is to audit all other
7303 code affected by deleteEmptyParagraphMechanism. One small quirk
7304 left is that an empty document with an error in the preamble can
7305 be made to report an error but no error box appears. I don't know
7307 (removeAutoInsets): Improved comments.
7309 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7312 * Thesaurus.C: update for Aiksaurus 0.14
7314 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7316 * text2.C (firstParagraph): removed member function, all uses
7317 replaces with ownerParagraph
7318 (redoParagraphs): here
7320 (toggleAppendix): here
7321 * BufferView2.C (insertErrors): here
7322 (setCursorFromRow): here
7324 2002-01-13 Allan Rae <rae@lyx.org>
7326 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7327 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7328 There is still a way to segfault this although you may have to do this
7329 multiple times: Have an InsetERT with an unknown command in it.
7330 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7331 <down-arrow>, <Enter> again, View->DVI, BANG!
7333 * text2.C (setCursor):
7334 (deleteEmptyParagraphMechanism):
7335 * lyxtext.h (setCursor):
7336 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7337 Making use of the return value may help fix other bugs.
7339 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7341 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7343 * LyXView.C (updateMenubar): call MenuBar::update here
7344 (updateToolbar): but not here
7345 (showState): do not update toolbar/menubar
7347 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7348 should need to care about that.
7350 * lyxfunc.C (verboseDispatch): simplify a bit
7351 (getStatus): have a version which takes a pseudoaction, and
7352 another which requires a (kb_action,string).
7354 * LyXAction.C (retrieveActionArg): make it work also when action
7355 is not a pseudo-action.
7356 (getActionName): simplify a bit
7359 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7361 * lyxfunc.C (verboseDispatch): new families of methods with
7362 several ways to specify a command and a bool to indicate whether
7363 the command name and shortcut should be displayed in minibuffer
7364 (eventually, we could extend that to a finer bitmask like
7365 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7366 (dispatch): the pristine dispatch command which just, well,
7367 dispatchs! Note it still sets its result to minibuffer; I'm not
7370 * lyxfunc.h: remove setHintMessage
7372 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7374 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7376 * BufferView_pimpl.C (specialChar): delete new inset if we have
7377 not been able to insert it.
7379 * kbmap.C: revert to using int instead of kb_action, since all we
7380 are dealing with is pseudo-actions.
7382 * LyXAction.C (searchActionArg): change to return int instead of
7383 kb_action, since the result is a pseudoaction.
7385 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7387 * buffer.C (insertErtContents): Fix (partially) the font bug.
7389 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7391 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7392 as the other one is broken on my machine!
7394 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7397 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7399 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7401 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7402 reflect their actual use. Provide compatibility code for older lyxrc
7405 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7407 change names of popup font variables in line with the changes to lyxrc.C
7409 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7411 * buffer.C (asciiParagraph): avoid outputing a word twice after
7414 * lyxrc.C (getDescription): document that document_path and
7415 template_path can be empty.
7417 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * LaTeXFeatures.C (getMacros):
7420 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7422 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7424 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7426 (getPackages): rename feature "floats" to "float". Use an array to
7427 iterate over 'simple' features (i.e. just a \usepackage). Add
7428 handling of "amsmath" (renamed from "amsstyle").
7430 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7432 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7435 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7437 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7438 FuncStaus::FuncStatus & FuncStaus::some_method().
7440 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7442 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7443 of the func_satus stuff. Edited and massaged in various ways by
7446 * lyxfunc.C (getStatus): use FuncStatus
7448 2002-01-08 Juergen Vigna <jug@sad.it>
7450 * text.C (nextBreakPoint): use function Inset::isChar().
7452 * paragraph.C (TeXOnePar): use function
7453 Inset::forceDefaultParagraphs.
7455 * buffer.C (latexParagraphs): use function
7456 Inset::forceDefaultParagraphs.
7458 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7460 * lyx_gui.C (init): set the style of the menu popups to
7461 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7463 2002-01-07 Juergen Vigna <jug@sad.it>
7465 * text.C (setHeightOfRow): small fix
7466 (prepareToPrint): don't look at alignment if we don't have the place
7469 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7471 * box.C: New file. Move the Box methods and functions out of box.h,
7472 following Lars' suggestion.
7474 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7476 * box.h: #include "support/LOstream.h", needed for inlined function.
7479 * lyxtextclasslist.C: added some using std declarations.
7481 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7483 * box.h: make signed dimensions to allow insets wider than
7484 the screen (bug #162)
7486 * BufferView_pimpl.C: add some insetHit debug
7488 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7490 * vc-backend.C: add FIXME
7492 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7494 * lyxfunc.C (getStatus): enable code for showing math font status
7497 2002-01-07 Juergen Vigna <jug@sad.it>
7499 * text.C (nextBreakPoint): removed debug output not needed anymore.
7501 2002-01-06 Juergen Vigna <jug@sad.it>
7503 * text.C (nextBreakPoint): fixed up this function we had this bug
7504 since ever but now hopefully we break row better.
7505 (insertChar): we have to check if an inset is the next char as it
7506 could now happen that a large inset is causing a break.
7508 2002-01-05 Juergen Vigna <jug@sad.it>
7510 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7511 if it doesn't like to be drawed.
7513 2002-01-04 Juergen Vigna <jug@sad.it>
7515 * BufferView2.C (lockInset): forgot to set a cursor.
7517 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7519 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7524 * form_maths_panel.C:
7525 * form_maths_panel.h:
7526 * form_maths_panel.fd: implemented sub- and super- buttons in math
7529 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7530 (or ^ space) to be used as in TeX (req'd by André).
7532 * lyxfunc.C: Allow ^ and _ again to be used both as
7533 super/subscript (mathed) and as themselves (in text).
7535 2002-01-03 Allan Rae <rae@lyx.org>
7537 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7538 "LyX" or the filename of the current buffer if it has one. This is a
7539 modified form of John Levon's patch.
7541 * XFormsView.C (setWindowTitle): also set icon title.
7543 * LyXView.h (setWindowTitle): signature changed.
7544 * XFormsView.h (setWindowTitle): ditto.
7546 2002-01-02 Juergen Vigna <jug@sad.it>
7548 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7550 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7552 * screen.C (topCursorVisible): introduce a temp var for
7553 text->cursor.row(), handle the case where this row is null. (kindo
7556 * text2.C (setCursor): add a couple of asserts.
7558 * paragraph.h (inset_iterator): add -> operator
7560 * paragraph.[Ch] (autoDeleteInsets): remove member function
7562 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7563 cursor pos correctly and handle inset deletion by itself.
7564 (insertErrors): move iterator declaration out of for expression
7566 * lyxtextclass.C: add <algorithm>
7568 * Makefile.am: added the new files to sources, removed layout.C
7570 * layout.C: removed file
7572 * layout.h: remove LYX_DUMMY_LAYOUT
7574 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7578 * lyxtextclass.[Ch]:
7579 * lyxtextclasslist.[Ch]: new files
7581 * include order changes to a lot of files, also changes because of
7584 2001-12-27 Juergen Vigna <jug@sad.it>
7586 * buffer.C (asciiParagraph): more fixes.
7588 * tabular.C (ascii): make ascii export support export of only the
7589 data separated by a column-delimiter.
7590 (ascii): better support for ascii export.
7592 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7594 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * tabular_funcs.C: use a "using std::getline" instead of the
7597 previous fix from Angus (necessary for cxx + lyxstring)
7599 2001-12-24 Juergen Vigna <jug@sad.it>
7601 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7603 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7604 problems. First check a minipage also if we have some ert-contents
7605 (not only on par->size(), second set the right depth of the paragraph
7606 on the relink to the root-paragraph-list!
7608 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7609 which then did not anymore update the main paragraphs on undo/redo!
7611 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7613 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7614 code. Support all font-changing funcs (even those which are not in
7615 menu currently). Support for reporting font settings in
7616 mathed (disabled until Andre provides a function on mathed's side).
7618 * func_status.h (toggle): small helper function to set toggle
7621 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7623 * tabular_funcs.C: getline -> std::getline
7625 2001-12-21 Juergen Vigna <jug@sad.it>
7627 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7628 accessed and could be 0 (I couldn't generate this but it seems
7631 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7633 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7634 * tabular_funcs.h: here and include iosfwd
7636 2001-12-20 Juergen Vigna <jug@sad.it>
7638 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7639 inside inset but undo_par was.
7641 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7643 * Thesaurus.C: always include <config.h> in sources.
7647 * box.h: do not include <config.h> in header files
7649 * text.C (paintLastRow): remove unused variable
7651 * text.C (transformChar):
7653 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7656 * font.C (width): rewrite to use uppercase() instead of
7659 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7661 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7663 * lyxfind.C: clean up of find failure position change
7665 2001-12-20 Juergen Vigna <jug@sad.it>
7667 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7669 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7670 (TeXRow): added to LaTeX a single tabular row.
7671 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7672 (Latex): simplified and finally good LT-h/f support.
7673 (various_functions): just small adaptions for LT-h/f support.
7675 * tabular_funcs.[hC]: added and moved here all not classfunctions
7678 2001-12-19 Juergen Vigna <jug@sad.it>
7680 * tabular.[Ch]: better support for longtabular options (not finished
7683 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * text.C (paintLastRow): use the label font instead of the font of
7686 the last character to compute the size of *_BOX. This makes more
7687 sense and avoids a crash with empty paragraphs.
7688 Use Painter::rectangle to draw EMPTY_BOX.
7690 2001-12-19 Juergen Vigna <jug@sad.it>
7692 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7693 the paragraphs if the replaced paragraph is not the first one!
7694 Tried to delete not used paragraphs but does not work yet so for
7695 now it's inside #ifdef's and by default off!
7697 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7699 * MenuBackend.C: include "lyx_main.h" instead of declaring
7700 lastfiles (actually was declared as LastFiles* instead of a
7703 2001-12-17 Juergen Vigna <jug@sad.it>
7705 * tabular.C (AppendColumn): applied John's fix
7707 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7711 * BufferView_pimpl.h:
7712 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7715 * box.h: new start of class for above
7717 * lyxfunc.C: ignore space-only minibuffer dispatches.
7718 Show the command name when it doesn't exist
7720 * minibuffer.C: don't add empty lines to the history
7722 * minibuffer.C: add a space on dropdown completion
7724 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7726 * text.C: fix line above/below drawing in insets
7728 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7730 * lyxlength.C (LyXLength): Initialize private variables.
7732 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7735 when inserting error insets.
7737 2001-12-13 Juergen Vigna <jug@sad.it>
7739 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7740 actually sometimes the before-paragraph.
7741 (setUndo): don't clear the redostack if we're not actually undoing!
7743 2001-12-06 Juergen Vigna <jug@sad.it>
7745 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7746 and fixed redoing of main paragraph, so we can use it now ;)
7748 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7750 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7752 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7755 2001-12-13 André Pönitz <poenitz@gmx.net>
7758 * undo_func.C: minor cleanup
7760 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7762 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7763 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7764 font in urw-fonts package which is marked as -urw-fontspecific and
7765 does not work (incidentally, changing the encoding in the
7766 fonts.dir of this package to -adobe-fontspecific fixes the
7769 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7770 is a crash when undoing first paragraph (Juergen, please take a
7771 look). THis does not mean the undo fix is wrong, just that it
7774 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7775 the (Paragraph*) version when needed instead of duplicating the
7778 * text.C (workWidth): use Inset::parOwner to find out where the
7779 inset has been inserted. This is a huge performance gain for large
7780 documents with lots of insets. If Inset::parOwner is not set, fall
7781 back on the brute force method
7783 * paragraph_pimpl.C (insertInset):
7784 * paragraph.C (Paragraph):
7785 (cutIntoMinibuffer): set parOwner of insets when
7786 inserting/removing them
7788 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7790 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7796 * mathed/formulabase.C:
7797 * mathed/math_cursor.[Ch]:
7798 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7801 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7803 * lyxlength.[Ch] (operator!=): new function
7805 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * text.C (workWidth): use Inset::parOwner to find out where the
7808 inset has been inserted. This is a huge performance gain for large
7809 documents with lots of insets. If Inset::parOwner is not set, fall
7810 back on the brute force method
7812 * paragraph_pimpl.C (insertInset):
7813 * paragraph.C (Paragraph):
7814 (cutIntoMinibuffer): set parOwner of insets when
7815 inserting/removing them
7817 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7819 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7821 * tabular-old.C (getTokenValue):
7822 * tabular.C (getTokenValue):
7823 (write_attribute): new versions for LyXLength
7824 (everywhere): adjust the use of widths
7826 * tabular.h: change the type of widths from string to LyXLength
7828 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7830 * paragraph.C: fixed missing line number count when exporting
7831 Environments to LaTeX file
7833 * buffer.C: added informational message for checking line numbers.
7835 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7837 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7838 paragraph, do the 'double space' part, but not the 'empty
7841 * text.C (workWidth): small optimization
7842 (getLengthMarkerHeight): use minimal size for negative lengths.
7844 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7846 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7848 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7850 2001-12-11 André Pönitz <poenitz@gmx.net>
7853 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7855 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7857 * text2.C: keep selection on a setFont()
7859 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7861 * lyx_cb.C: another bv->text misuse, from insert label
7863 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7866 * kbsequence.C: re-instate nmodifier mask
7868 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7870 * lyx_main.h: make lyxGUI private.
7872 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7874 * lyxfind.C: place the cursor correctly on failed search
7876 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * text.C (getLengthMarkerHeight): for small heights, the arrows
7879 are not always on top/bottom of the text
7880 (drawLengthMarker): smaller arrows; take the left margin in
7881 account; draw also vfills.
7883 (paintLastRow): remove special code for vfill and standard spaces,
7884 since everything is handled in drawLengthMarker now.
7886 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7888 * buffer.C (insertErtContents): try to handle font and language
7889 interaction a bit better.g
7891 * ColorHandler.C (updateColor): change the hash to cover the whole
7892 LColor enum, ws cleanup
7893 (getGCLinepars): ditto
7894 (getGCLinepars): only lookup in the linecache once.
7896 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7898 * iterators.C (operator++): Make the iterator more robust
7900 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7902 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7907 * text.C: better added space drawing
7909 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7912 * BufferView2.C: fix layout combo update on inset unlock
7914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7916 * Makefile.am: don't compile unused files
7918 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7922 * LyXAction.C: remove old LFUN_LAYOUTNO
7924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7926 * paragraph_pimpl.h:
7927 * paragraph_pimpl.C: isTextAt() doesn't need font param
7929 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7932 * lyxlex.C: little cleanup
7934 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7936 * BufferView_pimpl.C: fix insertAscii for insets
7938 2001-12-05 Juergen Vigna <jug@sad.it>
7940 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7941 set the right font on the "multi" paragraph paste!
7943 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7949 * lyxlength.C: remove out-commented code.
7965 * vc-backend.C: change "while(" to "while ("
7967 * lyxlength.[Ch]: add zero function to check if length is zero or
7969 * lyxgluelength.C: use it
7971 2001-12-05 Allan Rae <rae@lyx.org>
7973 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7974 Works for 2.95.3, from what I understand of Garst's reports this should
7975 work for other g++ versions. We're screwed if the abs(int) definition
7976 changed between bugfix releases of gcc.
7978 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7980 * text.C: fix chapter label offset !
7982 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7985 * text.C: fix hfill at end of line, clean up
7987 2001-12-04 Juergen Vigna <jug@sad.it>
7989 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7990 that we force an update of the inset and it's owners if neccessary.
7992 2001-12-03 Juergen Vigna <jug@sad.it>
7994 * text.C (rowLast): simplified code
7996 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7998 * lyxfunc.C: fix show options on timeout
8000 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8002 * screen.C (topCursorVisible): scroll half a page when the cursor
8003 reached top of bottom of screen
8005 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8007 * minibuffer.C: deactivate on loss of focus
8009 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * vspace.[Ch] (operator!=): add operator.
8013 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.C: refuse to open an inset when
8016 there's a selection.
8018 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8020 * BufferView_pimpl.C: allow to click on RHS of full row insets
8022 2001-11-30 Juergen Vigna <jug@sad.it>
8024 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8025 insets for undo reasons.
8027 2001-11-28 André Pönitz <poenitz@gmx.net>
8029 * vspace.[Ch]: cosmetical changes
8031 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8041 * kbsequence.C: part re-write of old kb code
8044 * WorkArea.C: remove Lgb_bug_find_hack
8046 2001-11-30 José Matos <jamatos@fep.up.pt>
8048 * buffer.C (makeDocBookFile): add a comment to point a hack.
8049 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8050 Fixed a double write of labels.
8052 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8055 * LaTeX.h Fixed bug in LaTeX class where it would not
8056 re-run latex if no depfiles were changed, but the .dvi was removed.
8058 2001-11-28 André Pönitz <poenitz@gmx.net>
8060 * all the files from the change on 2001/11/26:
8061 use lyx::layout_type instead of LyXTextClass::size_type
8062 use lyx::textclass_type instead of LyXTextClassList::size_type
8064 2001-11-29 Juergen Vigna <jug@sad.it>
8066 * text.C: added support for paragraph::isFreeSpacing()
8068 * buffer.C: same as above
8070 * paragraph.h: inserted isFreeSpacing() function to enable
8071 FreeSpacing inside InsetERT.
8073 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8074 of the paragraph's in the cut/copy buffer to 0!
8076 * text2.C (removeRow): remove the assert as it can!
8078 * lyxtext.h: added helper function firstRow returning firstrow and
8079 made firstrow private again.
8081 * BufferView2.C (lockInset): don't relock if we're already locked!
8083 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8085 (removeRow): added Assert::(firstrow)
8087 * debug.C: forgot to add INSETTEXT here.
8089 2001-11-28 Juergen Vigna <jug@sad.it>
8091 * sp_spell.C (initialize): changed error text to more general
8092 spellchecker command use (not only ispell!)
8094 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8096 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8098 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8100 * vspace.C: initialise lyxgluelength on failure
8102 2001-11-28 Allan Rae <rae@lyx.org>
8104 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8105 declaration & definition that looks like a function declaration.
8107 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * BufferView2.C (copy):
8110 (copyEnvironment): do not clear the selection when doing a copy.
8112 * text.C (paintFirstRow): compilation fix
8114 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8116 * tabular.C (Latex): correct line count when writing latex.
8118 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8120 * paragraph_pimpl.h:
8121 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8124 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8128 * LColor.C: change vfillline->added_space
8130 * text.C: add markers and text for added space
8132 * vspace.C: fix comment
8134 2001-11-28 André Pönitz <poenitz@gmx.net>
8136 * paragraph.C: whitespace changes
8137 * all the other files from the change on 2001/11/26:
8138 change *::pos_type into lyx::pos_type
8140 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8142 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8143 language of the document when inserting error insets.
8145 2001-11-26 André Pönitz <poenitz@gmx.net>
8147 * BufferView_pimpl.[Ch]:
8155 * paragraph_pimpl.[Ch]:
8158 * text2.C: reduce header dependencies, introduce type for positions
8160 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8162 * <various>: change to use Alert.h
8164 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8166 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8167 when encountering an unknown token.
8168 (readLyXformat2): Show an error message if there were unknown tokens.
8170 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8173 * BufferView_pimpl.C:
8177 * text2.C: use par->isInset()
8179 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8181 * paragraph_pimpl.h:
8182 * paragraph_pimpl.C: cleanup
8184 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * text2.C (removeRow):
8187 * text.C (setHeightOfRow): remove useless (and costly) call to
8190 2001-11-20 Allan Rae <rae@lyx.org>
8192 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8193 Now need Inset*::checkInsertChar() to return true for appropriate
8194 cases so that the characters in the minibuffer will actually be
8197 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * text.C: change the order of the includes.
8200 (workWidth): initialize it at once.
8201 (workWidth): make maxw unsigned
8202 (setHeightOfRow): remove unused variable (inset)
8203 (selectSelectedWord): remove unused variable (inset)
8204 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8206 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8208 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8209 server is not running.
8211 (closeConnection): add debug info when server is disabled.
8213 * ColorHandler.C (getGCForeground): send debug message to GUI
8216 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8218 * kbmap.C (bind): modify because return conventions of
8219 kb_sequence::parse have changed.
8221 * kbsequence.C (parse): only ignore spaces and not any stupid
8222 control character. This avoids tests like s[i] <= ' ', which are
8223 guaranteed to fail with 8bit characters and signed chars.
8224 Change return code to string::npos when there have been no error
8225 (0 was a bad idea when error is at first character)
8227 2001-11-14 José Matos <jamatos@fep.up.pt>
8230 * buffer.C (simpleDocBookOnePar): removed unused argument.
8232 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8235 insets which are part of a word. Paragraph::isLetter takes care of
8236 that now. Use Paragraph::isInset to identify insets.
8237 (selectSelectedWord): do not test for hyphenation break.
8239 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8240 that protected spaces are considered as spaces.
8242 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8245 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8248 * lyxserver.C: fix it. and small cleanup.
8250 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8252 * BufferView_pimpl.C: use inline helpers
8255 * LaTeXFeatures.C: fix typos
8258 * Spacing.C: move spacing_string into class
8260 * ToolbarDefaults.C: move stuff into namespace anon
8262 * layout.h: update enum
8264 * lyxfunc.C: use better debug
8266 * minibuffer.h: fix typo
8270 * WorkArea.C: add and use Debug::WORKAREA
8274 * text2.C: code re-organisation, inline helpers
8276 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8278 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8279 std::vector.empty().
8281 2001-11-09 Allan Rae <rae@lyx.org>
8283 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8284 '\n's after tables. Tabular and ERT inset work now makes this no
8287 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8290 * minibuffer.C: fix crash, improve drop-down completion
8292 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8295 * lyxserver.C: invalidate fd's when doing endPipe()
8297 2001-11-08 José Matos <jamatos@fep.up.pt>
8299 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8300 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8303 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8305 2001-11-07 José Matos <jamatos@fep.up.pt>
8308 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8311 * buffer.C (sgmlOpenTag):
8312 * buffer.C (sgmlCloseTag): removed debug info.
8314 * buffer.h (sgmlOpenTag):
8315 * buffer.h (sgmlCloseTag): made public.
8317 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8319 * buffer.C (saveParamsAsDefaults):
8320 * lyx_cb.C (MenuLayoutSave): remove
8322 * LyXAction.C (init):
8324 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8326 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * buffer.C (setPaperStuff): removed from here...
8330 * bufferparams.C (setPaperStuff): ... and moved there.
8332 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8336 * XFormsView.C: add support for drop-down completion
8338 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8340 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8343 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8348 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8350 * lyx_main.C: change ref to known bugs
8352 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8354 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8355 to work around older babel problems.
8357 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8359 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8361 2001-10-24 Juergen Vigna <jug@sad.it>
8363 * tabular-old.C (ReadOld): below variable changes reflected.
8365 * tabular.[Ch]: added ltType struct for longtable header/footer
8366 defines and changed all instances where they are used. Added
8367 future support for double top/bottom rows.
8369 2001-10-24 José Matos <jamatos@fep.up.pt>
8371 * buffer.h (docbookHandleCaption):
8372 * buffer.C (docbookHandleCaption): removed unused function.
8373 (makeDocBookFile): moved docbook supported version to v4.1.
8375 2001-10-24 José Matos <jamatos@fep.up.pt>
8378 * tabular.C (docbookRow): new function to export docbook code of a row.
8379 (DocBook): now honors the longtable flags.
8381 2001-10-23 José Matos <jamatos@fep.up.pt>
8384 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8385 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8387 * buffer.C (makeLinuxDocFile):
8388 (makeDocBookFile): reworked the preamble, more clean, and with
8389 support for lyx defined entities. Changed the document declaration
8390 to be more XML friendly.
8392 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8393 if we need to output XML that should be done with a filter.
8395 2001-10-22 Juergen Vigna <jug@sad.it>
8397 * sp_pspell.h (class PSpell): add alive function needed in the
8398 controller to see if the spellchecker could be started.
8400 2001-10-22 Juergen Vigna <jug@sad.it>
8402 * buffer.C (insertStringAsLines): modify the font for inserting
8403 chars in certain conditions by calling checkInsertChar(font).
8405 2001-10-19 Juergen Vigna <jug@sad.it>
8407 * text.C (workWidth): use getRow instead of wrong algorithm.
8408 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8410 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8415 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8417 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8419 * text.C (workWidth): do not search for the exact row when
8420 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8421 optimization for big documents.
8423 2001-10-18 Juergen Vigna <jug@sad.it>
8425 * text.C (workWidth): new function with added Inset * parameter.
8427 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8429 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8431 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8432 change return type of getColumnNearX.
8435 * text.C (changeRegionCase): use uppercase/lowercase instead of
8438 (rightMargin): simplify code by factoring out the uses of
8443 (appendParagraph): use Paragraph::size_type
8445 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8447 * vspace.C (asLatexString): add a missing break
8449 2001-10-15 Herbert Voss <voss@perce.de>
8451 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8453 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8455 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8458 2001-10-10 André Pönitz <poenitz@gmx.net>
8460 * lyxfunc.C: removed greek_kb_flag.
8462 2001-10-10 Herbert Voss <voss@perce.de>
8464 * lyx_main.C: delete global string help_lyxdir.
8466 2001-10-09 Herbert Voss <voss@perce.de>
8468 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8470 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8472 * lyx_main.C: added global string help_lyxdir.
8474 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8476 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8478 * lyxrc.C (set_font_norm_type): support iso8859-4
8480 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8482 * LaTeX.C (deplog): add another regex for MikTeX
8484 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8486 * lyxrc.C (set_font_norm_type): support iso8859-3
8488 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8490 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8492 * LaTeXFeatures.C: remove special case of french and index
8494 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8495 before \begin{document}). This solves several incompatibilities.
8497 2001-10-03 Garst Reese <reese@isn.net>
8499 * lyx_cb.C: change CheckTex error msg.
8501 2001-10-03 José Matos <jamatos@fep.up.pt>
8503 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8505 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8507 * .cvsignore: update
8509 * lyx_main.C (commandLineVersionInfo): use new style version info.
8511 * buffer.C (writeFile):
8514 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8516 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8518 * version.h: update to use stuff in version.C
8520 * version.C.in: new file. Contains version information determined
8521 at compile time. This is a merging of version.h and
8524 2001-10-03 Juergen Vigna <jug@sad.it>
8526 * BufferView_pimpl.C (update): don't change "dirty" status in
8529 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8531 * WorkArea.C (c-tor): re-position version string slightly.
8533 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8535 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8536 revert to previous code.
8538 WorkArea.[Ch]: (show, destroySplash): methods removed.
8540 WorkArea.C: rework code so that it's an amalgam of the codes before and
8541 after the splash screen was moved to WorkArea.
8543 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * vspace.C (inPixels):
8549 * buffer.C (insertStringAsLines):
8550 (asciiParagraph): fix types to be large enough
8552 * lyxlex_pimpl.h: change member status from short to int
8554 * layout.h: fix type of endlabeltype
8557 * kbsequence.C (parse): change return type to string::size_type
8559 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8562 * Bullet.C (bulletSize):
8563 (bulletEntry): do not use short ints as parameters
8565 * BufferView2.C (insertLyXFile): change a char to an int.
8567 * WorkArea.C (WorkArea): remove unneeded floats in computation
8569 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8571 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8573 * paragraph.C (asString): Do not ignore newline/hfill chars when
8574 copying to the clipboard.
8576 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8578 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8579 after a multi-line inset.
8581 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8583 * paragraph.C (validate): Set NeedLyXFootnoteCode
8585 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8587 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8588 and decrease-error to decrease.
8590 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8592 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8593 it more readable (should be equivalent)
8595 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8597 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8599 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8602 of a cursor (row, etc.) after a character has been deleted
8603 (deleteEmptyParagraphMechanism): call the method above on _all_
8604 cursors held by the LyXText when a double space has been
8607 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8609 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8611 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8613 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8614 background. Use greyOut() and the new show() methods to toggle between
8615 the foreground and background. Add code to remove the splash after
8616 its initial showing.
8618 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8619 (create_forms): no longer call Dialogs::showSplash.
8621 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8623 * .cvsignore: add version_info.h
8625 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8627 * version_info.h.in: new file
8629 * Makefile.am: add version_info.h.in
8631 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8632 version_info.h instead of VERSION_INFO
8634 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8636 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8637 The ERT inset now returns string().
8639 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8641 * lyxtext.h, text.C (selectNextWord): renamed as
8642 selectNextWordToSpellcheck.
8644 * text.C (selectNextWordToSpellcheck): Modified to not select
8645 words inside an ERT inset.
8647 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8649 * lyx_cb.C (MenuLayoutSave): change a bit the question
8651 * sp_base.h: include <sys/types.h>
8653 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8655 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8657 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8659 * several files: fix typos in user-visible strings
8661 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * text2.C (pasteSelection): do not set the selection, since it
8664 will be cleared later. Actually, the intent was to fix the way the
8665 selection was set, but I figured rmoving the code was just as good.
8667 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8669 * FontLoader.C (available): Check if font is available without
8672 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8674 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8676 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8678 * lyxrc.[Ch]: added display_graphics variable and associated code.
8680 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * bufferparams.C (hasClassDefaults): new method. Returns true if
8683 the buffer parameters correspond to known class defaults
8685 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8687 * XFormsView.C (show): set minimum size to the main window.
8689 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8691 * text2.C (copySelection):
8693 * lyxfind.C (LyXReplace):
8694 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8695 LyXText::selectionAsString.
8697 * paragraph.C (asString): add "label" argument to the second form
8699 * text2.C (selectionAsString): add "label" argument and pass it to
8700 Paragraph::asString.
8702 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8704 * lyx_main.C (commandLineHelp): remove version information
8706 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8708 * lyx_main.C: add -version commandline option
8710 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * paragraph.h: make the optional constructor arg required instead.
8713 some modifications to other files because of this.
8715 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8717 * lyxserver.C (C_LyXComm_callback): make it static
8719 * lyx_main.C (error_handler): make it static
8721 * lyx_gui.C (LyX_XErrHandler): make it static
8723 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8725 * WorkArea.C: make the extern "C" methods static.
8727 * Makefile.am (lyx_LDADD): simplify
8729 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8731 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8732 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8734 * LyXAction.C (init):
8735 * lyxfunc.C (dispatch): associated code removal.
8737 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8739 * lyxfont.h (isSymbolFont): shut off warning
8741 * text.C (setHeightOfRow):
8742 (getVisibleRow): fix crash with empty paragraphs which have a
8745 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8747 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8750 2001-09-04 José Matos <jamatos@fep.up.pt>
8753 * tabular.C (docbook): rename docBook method to docbook.
8755 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8757 * Makefile.am: add dependencies to main.o.
8759 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8761 * FontLoader.C (available): Return false if !lyxrc.use_gui
8763 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8765 * FontInfo.C (query):
8766 * converter.C (view):
8767 * importer.C (Import):
8768 * exporter.C (Export): Can not -> cannot.
8770 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8772 * BufferView_pimpl.C: allow to create index inset even if
8775 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8777 * buffer.C (getLists): replace boost::tie code with an explicit pair
8778 as boost::tie can break some compilers.
8780 * iterators.h: Added a std:: declaration to the return type of
8783 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8785 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8788 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8790 * iterators.[Ch]: New files. Provide paragraph iterators.
8792 * buffer.C (changeLanguage): Use paragraph iterators.
8793 (isMultiLingual): ditto
8795 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8797 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8799 * FontLoader.C: Support for cmr font.
8801 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8803 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8804 (available): New method.
8806 * FontInfo.C (getFontname): Use scalable fonts even when
8807 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8810 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8812 * converter.C (Formats::view): reverted! Incorrect fix.
8814 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8816 * converter.C (Formats::view): only output the -paper option
8817 if the dvi viewer is xdvi, thereby fixing bug #233429.
8819 2001-08-23 Herbert Voss <voss@perce>
8821 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8823 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8825 * Spacing.h (Spacing): Set space to Default on in the default
8828 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8830 * vc-backend.h (RCS::versionString): add RCS to version
8831 (CVS::versionString): add CVS to version
8833 * vc-backend.C (scanMaster): do not add CVS to version.
8834 (scanMaster): do not add RCS to version
8836 * lyxvc.C (versionString): new method
8838 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8840 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8842 * Spacing.C (set): initialize fval
8844 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8846 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8849 2001-08-16 Juergen Vigna <jug@sad.it>
8851 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8853 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8855 * BufferView_pimpl.C:
8858 * text2.C: setParagraph takes linespacing now
8860 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8862 * LyxAction.C: add internal LFUN_CITATION_INSERT
8864 * LyXView.C: actually apply fix
8866 * bufferlist.C: fix open non-existent file
8868 * lyxfind.C: fix indentation
8870 * lyxfunc.C: remove unneeded assert, fix typo
8872 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8874 * MenuBackend.C: use "Floatname List"
8876 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8878 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8879 when converting LaTeX layout to insetERT.
8880 Generate a non-collapsed float when reading old float
8882 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8884 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8887 2001-08-13 Juergen Vigna <jug@sad.it>
8889 * text.C (fill): return 0 instead of 20 as this seems to be the more
8892 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8894 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8897 2001-08-13 Juergen Vigna <jug@sad.it>
8899 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8901 (SearchBackward): comment out the unlocking of the inset_owner this
8902 should not be needed!
8904 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8906 * Many files: Remove inherit_language, and add latex_language
8908 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8911 2001-08-10 Juergen Vigna <jug@sad.it>
8913 * text.C (prepareToPrint): fixed hfill-width in draw!
8915 * BufferView2.C (selectLastWord): save the selection cursor as this
8916 now is cleared in the function LyXText::clearSelection!
8918 2001-08-08 Juergen Vigna <jug@sad.it>
8920 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8921 BACKSPACE type functions.
8923 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8924 is only cutted from the document but not put in the cut-buffer, where
8925 still the old stuff should be.
8927 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8929 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8931 * tabular.C (SetWidthOfCell): fixed special case where the width
8933 (LeftLine): handle '|' in align_special.
8935 (LeftAlreadyDrawed): ditto
8936 (SetWidthOfCell): ditto
8938 2001-08-07 Juergen Vigna <jug@sad.it>
8940 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8942 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8944 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8945 * lyxlex.[hC]: ditto
8947 2001-08-06 Juergen Vigna <jug@sad.it>
8949 * text.C (getVisibleRow): fix up row clearing a bit.
8951 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8953 * minibuffer.C: make sure the X server sees the changes in the input.
8955 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8957 * paragraph.C (getFont): split into...
8958 (getLabelFont): this
8959 (getLayoutFont): and this
8960 * paragraph_pimpl.C (realizeFont): calling this
8962 * text2.C (getFont): split into...
8963 (getLayoutFont): this
8964 (getLabelFont): and this
8965 (realizeFont): all three calling this
8967 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8970 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8972 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8974 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8976 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8977 layouts from the Quote inset insertion.
8979 2001-08-03 Juergen Vigna <jug@sad.it>
8981 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8983 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8984 only if status not is already CHANGED_IN_DRAW (second level).
8986 * text.C (draw): don't set the need_break_row when inside an
8989 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8991 * buffer.C (parseSingleLyXformat2Token): handle more latex
8994 * bufferview_funcs.[hC]: change function names to
8995 begin with small char, adjust other files.
8997 2001-08-02 André Pönitz <poenitz@gmx.net>
9000 BufferView_pimpl.C: remove broken special code for math-greek
9002 2001-08-02 Juergen Vigna <jug@sad.it>
9004 * BufferView_pimpl.C (update): redone this function so that we
9005 update the text again if there was a CHANGE_IN_DRAW.
9007 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9008 (drawFromTo): added a new internal bool which is used by draw() and
9010 (general): some cursor drawing problems fixed.
9012 2001-08-01 Juergen Vigna <jug@sad.it>
9014 * lyxfind.C (LyXFind): fixed
9015 (SearchForward): ditto
9016 (SearchBackward): ditto
9018 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9019 spurius drawing of the cursor in the main area.
9021 * text2.C (status): small fix which could lead to a segfault!
9022 (clearSelection): remove unneeded BufferView param.
9024 2001-08-01 André Pönitz <poenitz@gmx.net>
9026 * lyxfunc.C: small change due to changed mathed interface
9028 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9030 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9032 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9034 * lyxfunc.c: fail gracefully if file doesn't exist
9039 * BufferView_pimpl.C: IsDirWriteable() proto changed
9041 * LyXView.C: fix updateWindowTitle() to store the last title
9043 2001-07-31 Juergen Vigna <jug@sad.it>
9045 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9046 the font (wrong since using of Paragraph::highestFontInRange).
9048 * paragraph.C (highestFontInRange): added a default_size parameter.
9050 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9051 (setHeightOfRow): reformat
9053 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * converter.[hC] + affected files: move to (inital-char)lowercase
9058 * ParagraphParameters.C (ParagraphParameters): remove commented code
9060 * PainterBase.[Ch]: remove commented code
9062 * LaTeXFeatures.h: add "bool floats" for float.sty
9064 * LaTeXFeatures.C (LaTeXFeatures): init floats
9065 (require): handle float
9066 (getPackages): do it with floats
9068 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * BufferView_pimpl.C (Dispatch): improve handling of
9071 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9073 * commandtags.h: #include lyxfont.h here temporarily to avoid
9076 * bufferlist.h: include LString.h here.
9078 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9080 * text2.C (getStringToIndex): new method.
9082 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9084 * *: Reduced header file dependencies all over.
9086 2001-07-30 Baruch Even <baruch@lyx.org>
9088 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9090 2001-07-29 Baruch Even <baruch@lyx.org>
9092 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9094 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9096 * ParameterStruct.h (endif): add a default constructor to make
9097 sure that all variables is initialized.
9099 * ParagraphParameters.C (ParagraphParameters): adjust
9101 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9103 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9104 index; also, check that there is something to index, and that it
9105 does not span over several paragraphs.
9106 (doubleClick): use WHOLE_WORD_STRICT for double click.
9108 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9110 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9113 2001-07-26 Baruch Even <baruch@lyx.org>
9115 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9116 an InsetFig figure, backwards compatible reading of old figure code.
9118 2001-07-27 Juergen Vigna <jug@sad.it>
9120 * text2.C: font.realize function adaption.
9122 * text.C (draw): add a warnings lyxerr text if needed.
9124 * layout.C: font.realize function adaption.
9126 * language.C: add inherit_language and implement it's handlings
9128 * bufferview_funcs.C (StyleReset): remove language parameter from
9129 font creation (should be language_inherit now).
9131 * bufferparams.C (writeFile): handle ignore_language.
9133 * paragraph.C (getFontSettings): the language has to be resolved
9134 otherwise we have problems in LyXFont!
9136 * lyxfont.C (lyxWriteChanges): added document_language parameter
9137 (update): removed unneeded language parameter
9139 * paragraph.C (validate): fixed wrong output of color-package when
9140 using interface colors for certain fonts in certain environments,
9141 which should not seen as that on the final output.
9143 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9145 * BufferView_pimpl.C:
9150 * LyXAction.C: add thesaurus support
9153 * lyxfind.C: add "once" parameter, for thesaurus, to not
9154 move to the next match
9156 2001-07-26 Juergen Vigna <jug@sad.it>
9158 * lyxfont.C (realize): honor ignore_language too!
9161 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9163 * text.C (draw): one place more for ignore_language to not draw
9166 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9168 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9170 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9173 the minipage conversion problem.
9175 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9180 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * BufferView.h: don't forward declare WorkArea
9184 * BufferView.C: don't include WorkArea.h
9186 2001-07-25 André Pönitz <poenitz@gmx.net>
9190 * lyxfunc.C: new LFUN 'math-space'
9192 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9194 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * text2.C (toggleInset): call open/close
9198 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9200 * lyxfunc.C (dispatch): add debug for the disabled case
9202 * font.C (buttonText): make similar to rectText
9204 * buffer.C (readInset): comment out parsing of insetlist and
9207 * PainterBase.C (rectText): small correction
9209 * BufferView_pimpl.C: comment out insettheorem and insetlist
9210 * LyXAction.C: ditto
9211 * commandtags.h: ditto
9213 2001-07-24 Juergen Vigna <jug@sad.it>
9215 * text.C (draw): honor the ignore_language.
9217 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9219 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9221 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9224 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9226 * lyxtext.h: remove unused (and unimplemented) methods
9228 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9230 * text.C (getVisibleRow): honor background color
9233 * Painter.h: remove default color argument for fillRectangle
9235 * text.C (backgroundColor): new method
9237 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * text.C (getVisibleRow): adjust
9241 * font.[Ch] (rectText): new method, metrics
9242 (buttonText): new method, metrics
9244 * PainterBase.[hC]: make rectText and buttonText always draw and take
9247 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9249 * ToolbarDefaults.C (read):
9250 * MenuBackend.C (read): allow escaping in all strings
9252 * BufferView_pimpl.C (insertAndEditInset): new method.
9253 (Dispatch): use insertAndEditInset whenever appropriate.
9255 * BufferView_pimpl.C (insertNote): removed
9257 * BufferView_pimpl.C (smartQuote): new method, moved from
9258 BufferView; if an insetquote cannot be inserted, insert a '"'
9261 * BufferView2.C: remove insertCorrectQuote();
9263 * lyxfunc.C (getStatus): Add support for all remaingin
9266 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9268 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9269 command (necessary to pass " as parameter of self-insert.
9271 * text.C (selectWordWhenUnderCursor):
9272 (selectWord): add word_location parameter
9273 (selectWordWhenUnderCursor): same + remove special code for word
9275 (selectNextWord): use kind() to guess type of insetspecialchar,
9278 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9279 (insertErtContents): create ert insets as collapsed.
9280 (readInset): better compatibility code for Info inset.
9282 2001-07-20 Juergen Vigna <jug@sad.it>
9284 * lyxfunc.C (dispatch): use always LyXFind now!
9286 * text2.C (init): add a reinit flag so that the LyXText can be
9287 reinited instead of deleted and reallocated (used in InsetText).
9289 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9295 2001-07-18 Juergen Vigna <jug@sad.it>
9297 * text.C (selectNextWord): handle insets inside inset by calling
9298 always the bv->text functions so that we can go up the_locking_inset!
9300 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9301 in strange locations when inside an inset!
9303 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9304 handling to include insets.
9306 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9308 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9310 * LyXAction.C (init):
9312 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9313 LIGATURE_BREAK, since the name is so stupid.
9315 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9317 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9320 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9322 * sp_form.[Ch]: remove.
9324 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9326 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9329 * src/buffer.C (readInset): ditto.
9331 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9333 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9334 menuSeparator(), endOfSentenceDot(), ldots() and
9335 hyphenationPoint(), which are therefore removed.
9336 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9338 * LyXAction.C (init):
9339 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9341 * paragraph.C (getWord): removed.
9343 * BufferView_pimpl.C (Dispatch): use last word or selection for
9344 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9346 * lyx_main.C (queryUserLyXDir): do not ask before creating
9347 user_dir, except if it has been named explicitely.
9349 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9351 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9352 a document of zero size.
9354 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9356 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9357 approriately in the c-tor and in require().
9358 (getPackages): output the appropriate LaTeX for natbib support.
9360 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9361 variables "use_natbib" and "use_numerical_citations" when reading the
9363 (readInset): read the various natbib cite commands.
9364 (validate): white-space change.
9366 * bufferparams.[Ch]: new variables "bool use_natbib" and
9367 "bool use_numerical_citations".
9368 (writeFile): output them in the LyX file.
9370 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9372 * lyxfunc.C (getStatus): add support for all the inset insertion
9375 * text2.C (insertInset):
9376 * paragraph.C (insetAllowed):
9377 * BufferView_pimpl.C (insertInset): update to take in account the
9378 renaming of insertInsetAllowed
9380 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9382 * text2.C (getInset): new method. returns inset at cursor position.
9384 * BufferView_pimpl.C (Dispatch): changes because of this.
9386 * LyXAction.C (init): rename open-stuff to inset-toggle.
9388 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9390 * text2.C (toggleInset): renamed from openStuff; use
9393 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9395 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9397 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9399 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9401 * buffer.C (readLyXformat2): Add filename to the error dialog
9403 2001-07-18 Juergen Vigna <jug@sad.it>
9405 * tabular.C (GetCellNumber): put an assert here instead of the check!
9407 2001-07-17 Juergen Vigna <jug@sad.it>
9409 * BufferView_pimpl.C (toggleSelection): adapted too.
9411 * text.C (selectNextWord): adapted for use with insets.
9412 (selectSelectedWord): ditto
9414 2001-07-17 Juergen Vigna <jug@sad.it>
9416 * sp_spell.C (PSpell): fix initialitation order.
9418 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * paragraph.C: spacing
9422 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9424 * sp_spell.C: repair language selection for pspell
9426 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * lyxfunc.h: change more methods to begin with lower char.
9430 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9432 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9433 for unknown layouts.
9435 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9437 * buffer.C (readLyXformat2): Generate an error dialog if there are
9440 2001-07-16 Juergen Vigna <jug@sad.it>
9442 * sp_spell.C: always compile ISpell part.
9444 * lyxrc.C: added use_pspell entry and it's handling.
9446 2001-07-13 Juergen Vigna <jug@sad.it>
9448 * sp_spell.C: removed double includes.
9450 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9452 Consistent use of Lsstream.h:
9453 * Lsstream.h: added using std::stringstream for consistencies sake.
9455 * buffer.C: removed using std::stringstream
9457 * lyxfont.C (stateText):
9458 * paragraph.C (asString):
9459 * text.C (selectNextWord, selectSelectedWord):
9460 * text2.C (setCounter):
9461 * vspace.C (asString, asLatexString):
9462 std::ostringstream -> ostringstream.
9464 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9466 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9467 * commandtags.h: add LFUN_HELP_ABOUTLYX
9468 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9470 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9472 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9474 * lyx_gui_misc.C: remove spellchecker
9475 * lyxfunc.C: showSpellchecker
9477 * sp_ispell.h: added
9478 * sp_pspell.h: added
9480 * sp_form.[Ch]: removed
9481 * spellchecker.[Ch]: removed
9483 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9485 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9487 (simpleTeXSpecialChars): Simply print the input character without
9488 any special translation if pass_thru is set.
9490 * layout.h: Added bool pass_thru to layout class for being able to
9491 implement pass through of a paragraph for Literate Programming.
9493 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9494 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9495 * layout.C (Read): add "passthru" to list of layout tags and add
9496 code to set the pass_thru boolean when it is read.
9498 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * trans_decl.h: remove allowed from KmodInfo
9502 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9506 * paragraph_pimpl.C (erase): use boost::prior
9508 * Painter.C (text): use data() instead of c_str() when length is
9510 * WorkArea.C (putClipboard): ditto
9511 * font.h (width): ditto
9513 * BufferView2.C: use it-> instead of (*it). for iterators
9515 * paragraph_pimpl.C: ditto
9516 * paragraph.C: ditto
9517 * minibuffer.C: ditto
9522 * converter.C: ditto
9524 * Variables.C: ditto
9525 * TextCache.C: ditto
9526 * MenuBackend.C: ditto
9527 * LyXAction.C: ditto
9529 * FloatList.C: ditto
9531 * ColorHandler.C (LyXColorHandler): ditto
9533 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9535 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9537 * text2.C (openStuff): reintroduce this method (which had been
9538 nuked in NEW_INSETS frenzy).
9540 * lyxfunc.C (Dispatch): when an action has not been handled, use
9541 its name in the error message, not its number.
9543 * paragraph.C (inInset): change method name to begin with lowercase.
9546 * text2.C: updates because of this.
9548 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9550 * ToolbarDefaults.C (add): add spaces in error message
9552 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9555 (readLyXformat2): rename return_par to first_par, use lyxlex's
9556 pushToken and remove the manual push handling.
9557 (parseSingleLyXformat2Token): add another ert comp. variable:
9558 in_tabular, rename return_par to first_par. handle newlines better
9560 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9562 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9564 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9566 * text2.C (getParFromID): removed
9568 * buffer.C (getParFromID): new method moved form lyxtext.
9569 * BufferView2.C (insertErrors): adjust
9570 (setCursorFromRow): adjust
9571 * BufferView_pimpl.C (restorePosition): adjust
9572 * lyxfunc.C (Dispatch): adjust
9573 * undo_funcs.C (textUndo): adjust
9575 (textHandleUndo): adjust
9576 (textHandleUndo): adjust
9578 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * buffer.C: up' the LYX_FORMAT
9582 * lyxfont.h: turn NO_LATEX on as default
9584 * buffer.C (insertErtContents): new methods of tex style compability.
9585 (parseSingleLyXformat2Token): use it several places.
9586 * tabular.C (OldFormatRead): and here
9588 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * text2.C: remove some commented code.
9593 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9594 * trans.C: changes because of the above.
9596 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9598 * text2.C (setCounter): Fix counters bug with bibliography layout.
9600 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9602 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9603 own member functions
9604 (simpleTeXSpecialChars): ditto
9606 2001-07-06 Juergen Vigna <jug@sad.it>
9608 * a lot of files: changed the access to LyXText::status and the
9609 call of undo-functions.
9611 * undo.[Ch]: added a inset_id to the undo informations.
9613 * undo_funcs.[Ch]: added and moved here all undo functions.
9615 * lyxtext.h: give the status enum a weight, made status_ a private
9616 variable and made accessor functions for it, removed the whole bunch
9617 of undo-functions as they are now in their own file, make some
9618 functions publically available. Added function ownerParagraph with
9621 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9622 made InInset() a const function, added getParFromID() function.
9624 * buffer.[Ch]: added const version for inset_iterator functions,
9625 added getInsetFromID() function.
9627 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9628 changed undo functions for new version.
9630 2001-07-05 Juergen Vigna <jug@sad.it>
9632 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9633 unknow mechanism does not call the proper constructor but only this
9634 one also if I request the other!?
9636 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9638 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9640 * text2.C (LyXText): use initialization lists.
9642 * lyxtext.h (Selection): initialize set_ and mark_
9643 (init): remove method
9645 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9647 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9649 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9651 * screen.[Ch]: change method names to begin with lowercase
9653 * BufferView_pimpl.C (updateScrollbar): simplify further and
9654 hopefully make it a bit faster.
9656 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9659 calling directly xforms functions.
9661 * Painter.C (Painter):
9662 * lyx_cb.C (MenuWrite):
9663 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9666 * lyx_gui.C: remove bogus guiruntime extern declaration.
9668 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9672 (redoDrawingOfParagraph): ditto
9673 (redoParagraphs): ditto
9674 (cutSelection): don't create a object for CutAndPaste use the
9675 static method directly
9676 (pasteSelection): ditto
9678 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9681 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * modifications to some other files because of this.
9685 * Makefile.am (lyx_SOURCES): add XFormsView
9687 * XFormsView.[Ch]: new files
9689 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9690 the main window. Move the gui dependent stuff to XFormsView
9692 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * tabular.C (GetCellInset): update cur_cell also in the row/col
9695 version of this function.
9697 * lyxfunc.C: no need to include figure_form.h here.
9703 * lyxvc.C: no need to include forms.h here.
9705 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9707 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9709 * lyxfunc.C (Dispatch):
9711 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9712 constructor argument.
9714 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * paragraph.C (Paragraph): dont't clear, and just set layout.
9717 (makeSameLayout): use params's copy contructor.
9719 * ParagraphParameters.[Ch] (makeSame): delete method
9721 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9723 * Variables.[Ch]: fix indentation, rename set to isSet
9725 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9727 * lyxfunc.C (Dispatch): fix typo
9729 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9731 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9734 * bufferlist.C: include assert.h for emergencyWrite().
9736 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9738 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9739 give up at last (bug #425202) !
9741 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9747 * spellchecker.C: strip spellchecker options and bring up
9748 preferences tab instead
9750 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9753 the istringstream constructor
9755 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * paragraph.C (getLayout): fix return value
9759 * paragraph.h: do not declare getLayout as inline.
9761 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9763 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9765 * lyxcursor.h (operator<): new func
9766 (operator>): new func
9767 (operator>=): new func
9768 (operator<=): new func
9770 * text.C (changeCase): use selection.start and selection.end
9771 (changeRegionCase): require from to be <= to. Require par to be a
9774 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9776 2001-06-27 Juergen Vigna <jug@sad.it>
9778 * text.C (cursorLeftOneWord): changed to return the cursor and added
9779 overlay with BufferView * parameter which calls this one.
9781 (selectWord): use new getWord function.
9782 (changeCase): renamed from changeWordCase as and extended to work
9785 * lyxtext.h: added enum word_location
9787 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9788 changeCase as this operates now also on selections.
9790 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9792 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9794 * many files: send debug output to Debug::INFO instead of
9797 * converter.C (View):
9799 (Move): send debug output to Debug::FILES instead of console.
9801 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9803 * lyxfunc.C (getStatus): use func_status
9805 * func_status.h: new header, describing the results of
9808 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9811 2001-06-25 The LyX Project <jug@sad.it>
9813 * buffer.C (sgmlOpenTag):
9815 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9817 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9819 * text2.C: remove some dead code
9821 * tabular.C (GetCellInset): store the last cell checked (gotten)
9823 * tabular.h: add the helper for the speedup
9825 * lyxtext.h: remove some dead code
9827 2001-06-26 The LyX Project <Asger>
9829 * paragraph.C: Change export to LaTeX of alignment to
9830 \begin{center} and family for better roundtrip work with reLyX.
9832 * Tune the math drawing a bit.
9834 2001-06-25 The LyX Project <Asger>
9836 * LColor.C (LColor): New color for math background. New color
9839 2001-06-25 The LyX Project <jug@sad.it>
9841 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9844 * bufferlist.C (newFile): do not restrict to files ending with
9847 * BufferView_pimpl.C (MenuInsertLyXFile):
9849 2001-06-24 The LyX Project <jug@sad.it>
9851 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9854 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * lyxtext.h: rename most methods to begin with a small char.
9857 Lots of changes because of this.
9859 * paragraph.C (Paragraph): do not call fitToSize
9860 (erase): call Pimpl::erase
9861 (insertChar): call Pimpl::insertChar
9862 (insertInset): call Pipl::insertInset
9863 (breakParagraph): do not call fitToSize
9864 (breakParagraphConservative): do not call fitToSize
9865 (fitToSize): remove method
9867 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9869 2001-06-24 The LyX Project <Asger>
9871 * Fix Qt compilation^2
9873 2001-06-24 The LyX Project <jug@sad.it>
9875 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9876 depthHook(getDepth()-1).
9879 * ParagraphParameters.h:
9880 * ParameterStruct.h: change type of depth to unsigned int ==
9881 depth_type. Many adaptations to other files before of that.
9883 2001-06-24 The LyX Project <Asger>
9885 * Fix Qt compilation.
9887 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * paragraph.h: renamed several methods to begin with small letter.
9890 several changes to many parts of the code because of this.
9892 2001-06-23 The LyX Project <jug@sad.it>
9894 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9895 rewritten to discard all double spaces when KeepEmpty is off
9896 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9897 to only handle newlines but not fiddle with spaces and friends.
9899 * lyxfunc.C (MenuNew): when doing 'new from template', use
9900 template_path as default directory
9902 2001-06-23 The LyX Project <Asger>
9904 * Clean-up of header file includes all over
9905 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9907 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * paragraph.h: renamed from lyxparagraph.h
9911 2001-06-23 Asger <lyx@violet.home.sad.it>
9913 * Buffer.h: Removed Buffer::resize
9914 * BufferList.h: Removed BufferList::resize
9915 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9916 the document lazily when we change the width, or the font settings.
9918 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9920 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9922 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9924 * buffer.h: remove out of date comment
9926 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9929 * screen.C: fix "theoretical" GC leak
9931 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * LaTeX.C (scanAuxFile):
9934 (deplog): remove trailing \r when reading stream (useful under
9937 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9939 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9940 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9941 and BufferView::theLockingInset(Inset*), so should use them and not
9942 access bv_->text->the_locking_inset directly.
9944 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9946 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9949 * tex-defs.h: remove old unused file
9951 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9953 * BufferView_pimpl.C: fix typo, remove minibuffer message
9954 when buffer has loaded
9956 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * lyxfunc.C (Dispatch): use stringstream
9959 (MenuNew): use stringstream
9960 (Open): use stringstream
9962 * importer.C (Import): use stringstream
9964 * bufferview_funcs.C (CurrentState): use stringstream
9966 * LaTeX.C (run): use stringstream
9968 * BufferView_pimpl.C (savePosition): use stringstream
9969 (restorePosition): use stringstream
9970 (MenuInsertLyXFile): use stringstream
9972 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9985 * vspace.C: removed // -*- C++ -*- as first line.
9988 * version.h: added // -*- C++ -*- as first line.
9990 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9994 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9997 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10002 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10004 * gettext.C: include LString.h even when --disable-nls is on.
10006 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10008 * converter.h (Get): changed argument type from int to
10009 FormatList::size_type to avoid unnecessary conversion.
10011 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10014 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * gettext.h: include LString.h even when --disable-nls is on.
10018 2001-06-07 Juergen Vigna <jug@sad.it>
10020 * text.C (BreakAgain): subst spaces with tabs.
10022 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10023 (resizeInsetsLyXText): set force on resizeLyXText.
10025 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10027 * gettext.h (gettext_init):
10028 (locale_init): use a real definition instead of a macro
10030 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10032 * Bufferview_pimpl.C:
10034 * LColor.C: further lcolor tidies
10036 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10038 * BufferView_pimpl.C (updateScrollbar): simplify.
10040 * BufferView2.C: don't include insets/insetinfo.h, change
10041 prototype for insertInset and call the Pimpl version. let
10042 updateInset call Pimpl version.
10044 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10045 gotoInset to BufferView::Pimpl
10047 2001-06-01 Juergen Vigna <jug@sad.it>
10049 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10050 inside a LockingInset (is the update needed at all?).
10052 2001-05-31 Juergen Vigna <jug@sad.it>
10054 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10055 here not the old one otherwise how should we compare it afterwards
10058 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * FontInfo.C: bring C functions into global namespace when
10066 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10068 * LString.h: make sure config.h has been loaded before LString.h.
10070 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10071 (one for each char read by EatLine!).
10073 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10076 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10079 to the same as the par we break from
10081 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10085 * MenuBackend.C (expand): also create menu entries for wide
10086 versions of the floats.
10088 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10090 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10092 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10093 frontends/Makefile.am
10099 * tabular.C (getTokenValue): add std::
10101 * tabular-old.C (getTokenValue): add std::
10102 (getTokenValue): ditto
10103 (getTokenValue): ditto
10105 * screen.C (ToggleSelection): adjust
10107 * lyxtext.h: put selection cursors inside a Selection struct.
10109 * lyxfunc.C (moveCursorUpdate): adjust
10111 * lyxfont.C (latexWriteStartChanges): add std::
10113 * lyxfind.C: adjust
10115 * font.h: delete with(char const *, LyXFont const &)
10117 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10119 * FontInfo.C (getFontname): add std::
10121 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10122 (workAreaButtonPress): adjust
10123 (tripleClick): adjust
10125 (moveCursorUpdate): adjust
10128 * BufferView2.C (gotoInset): adjust
10130 2001-05-30 Juergen Vigna <jug@sad.it>
10132 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10133 to check pspell I add this as default as I now have new pspell
10134 libraries and they seem to use this.
10136 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10138 * text2.C (CutSelection): make the cursor valid before the call to
10141 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10143 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10144 relied on 0 terminated strings and other horrors. Bug found due to
10145 the new assert in lyxstring!
10147 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10150 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10155 * lyxfunc.C (processKeySym): change method of getting to the
10158 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10159 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10160 * BufferView_pimpl.[Ch]: here as private methods.
10162 2001-05-28 Juergen Vigna <jug@sad.it>
10164 * text.C (SetHeightOfRow): added the update() call again as it is
10165 needed to initialize inset dimensions!
10167 2001-05-16 Juergen Vigna <jug@sad.it>
10169 * text2.C (SetCharFont): Add new function with BufferView * and
10170 bool toggleall parameters for setting insets internal fonts.
10171 (SetFont): Freeze the undo as we may change fonts in Insets and
10172 all this change should be inside only one Undo!
10174 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10175 setting font's in insets as for them we have the SetFont function!
10177 2001-05-15 Juergen Vigna <jug@sad.it>
10179 * text2.C (ClearSelection): to be sure we REALLY don't have any
10182 * tabular.C (TeXCellPreamble): fixed the left border problem for
10185 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10187 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10190 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10193 LFUN_BREAKPARAGRAPH.
10195 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10196 help test to "internal only", similar for LFUN_INSERT_URL
10198 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10199 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10200 auto_region_delete and deadkeys.
10202 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10205 * LColor.C: remove some dead entries, tidy a little
10207 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10211 (Dispatch): implement LFUN_ESCAPE
10213 * commandtags.h: add LFUN_ESCAPE
10215 * LyXAction.C (init): add entry for LFUN_ESCAPE
10217 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10218 Remove commented code.
10219 (insertNote): moved here
10220 (open_new_inset): moved here
10222 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10225 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10227 * kbmap.C (findbinding): clean it up and make it work correctly.
10229 * lyx_main.C (init): do not pass argc and argv as parameters
10231 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10233 * buffer.C: fix path for OS/2 & Win32
10237 * lyx_main.C: Added os:: class.
10239 * os2_defines.h: update
10241 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10244 better by trying again with reduced state.
10246 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * lyxrc.C (read): print error about invalid key sequence only when
10249 debugging (because not all latinX keysyms are known to some X
10252 * kbsequence.C (getiso): add a few std:: qualifiers
10253 (getiso): comment out extra return statement.
10255 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10257 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10259 (Dispatch): enhance the accent inset a bit. (not perfect)
10261 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10265 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10267 * bufferlist.C (emergencyWrite): fix assert() call
10269 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10271 * text.C (InsertChar): Added trivial patch to only send the "you
10272 can not do multiple spaces this way" message once during a
10275 2001-05-08 Baruch Even <baruch@lyx.org>
10277 * Makefile.am: Changed order of libraries to get LyX to link properly
10278 with the gnome frontend.
10280 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * LaTeXFeatures.h: add a std:: qualifier
10284 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * paragraph.C (String): use stringstream
10288 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * paragraph.C (writeFile): remove footflag arg
10292 * buffer.C (makeLaTeXFile): use stringstream
10293 (latexParagraphs): remove footnot gurba
10295 * LaTeXFeatures.C (getPackages): use stringstream
10296 (getMacros): likewise
10297 (getTClassPreamble): likewise
10298 (getFloatDefinitions): new method
10300 * paragraph.C (writeFile): reindent
10303 * WorkArea.h: revert the xpos + etc changes.
10305 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10307 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10309 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10310 (pasteSelection): likewise
10311 * text2.C (CreateUndo): likewise
10313 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * minibuffer.C (peek_event): temporarily reduce the functionality
10316 of the minibuffer (to allow args on lfuns)
10318 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10319 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10321 * buffer.C (readInset): add compability reading of old float
10322 lists, add reading of new style float list.
10323 (readInset): avoid reevaluation of inscmd.getCmdName()
10324 (getLists): reindent
10326 * MenuBackend.C (MenuItem): implement parsing of
10327 md_floatlistinsert and md_floatinsert.
10328 (expand::LastFiles): move initalizaton of iterators out of loop,
10329 avoid reevaluation.
10330 (expand::Documents): introduce typdedef vector<string> Strings,
10332 (expand::ExportFormats): introduce typedef vector<Format const *>
10333 Formats, and use it.
10334 (expand): implement FloatListInsert and FloatInsert.
10336 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10337 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10338 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10340 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10342 (Dispatch::LFUN_FLOAT_LIST): implement
10344 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10346 * LaTeX.C (run): Fix problem with --export code.
10348 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10350 * BufferView.[Ch] (workarea): removed.
10351 (getClipboard) new method; wrapper for workarea()->getClipboard()
10353 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10356 * WorkArea.h (width, height, xpos, ypos): These methods all
10357 returned the dimensions of the work_area sub-area of WorkArea,
10358 resulting in a position error if the WorkArea were resized. Now
10359 return the dimensions of the entire WorkArea.
10361 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10363 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * LaTeX.C (deplog): correct the syntax of regex reg1
10367 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * undo.C: remove !NEW_INSETS cruft
10371 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * text2.C: remove !NEW_INSETS cruft
10375 * text.C: remove !NEW_INSETS cruft
10377 * tabular.C: remove !NEW_INSETS cruft
10379 * spellchecker.C: remove !NEW_INSETS cruft
10381 * lyxtext.h: remove !NEW_INSETS cruft
10383 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10385 * lyxfunc.C: remove !NEW_INSETS cruft
10387 * lyxfind.C: remove !NEW_INSETS cruft
10389 * lyx_cb.C: remove !NEW_INSETS cruft
10391 * figureForm.C: remove !NEW_INSETS cruft
10393 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10395 * buffer.[Ch]: remove !NEW_INSETS cruft
10397 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10399 * CutAndPaste.C: remove !NEW_INSETS cruft
10401 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10403 * BufferView2.C: remove !NEW_INSETS cruft
10405 * BufferView.h: remove !NEW_INSETS cruft
10407 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * Lsstream.h: include LString.h before the sstream headers to
10410 fix problem with gcc 2.95.3 and lyxstring
10412 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * lyx_main.C: add using directives when needed for C functions
10415 declared in std:: namespace.
10417 2001-04-27 Juergen Vigna <jug@sad.it>
10419 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10420 (SetHeightOfRow): comment out the update call should not be needed!
10422 2001-04-13 Juergen Vigna <jug@sad.it>
10424 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10425 (LyXTabular): tried to minimize operator= operations (and realized
10426 hopfully Lars wish).
10428 2001-04-27 Juergen Vigna <jug@sad.it>
10430 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10432 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10434 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10436 * buffer.C (readInset): hack to make listof algorithm work
10438 * BufferView_pimpl.C: hack to make listof algorithm work
10440 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * LyXAction.C: removed all !NEW_INSETS cruft
10443 (init): moved lfun_item in method
10445 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10447 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10449 * BufferView2.C (theLockingInset): white space.
10451 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * minibuffer.C: include <iostream>
10455 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10457 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10459 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10461 * text.[Ch] (TransposeChars): new method
10463 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * call message directly through LyXView instead of through LyXFunc
10466 * BufferView2.C: adjust
10467 * BufferView_pimpl.C: adjust
10468 * FontLoader.C: adjust
10470 * bufferview_funcs.C: adjust
10471 * converter.C: adjust
10472 * figureForm.C: adjust
10473 * importer.C: adjust
10475 * lyx_gui_misc.C: adjust
10476 * lyxfunc.C: adjust
10479 + more files in subdirs
10481 * lyxparagraph.h (size): move up int file
10484 * adjust all uses of Assert to lyx::Assert.
10486 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10487 lyxfunctional in namespace lyx
10488 * layout.C (hasLayout): ditto
10491 (delete_layout): ditto
10492 (NumberOfClass): ditto
10493 * converter.C (GetFormat): ditto
10498 * bufferlist.C (getFileNames): ditto
10499 (emergencyWriteAll): ditto
10502 * MenuBackend.C (hasSubmenu): ditto
10505 * BufferView_pimpl.C (getInsetByCode): ditto
10507 2001-04-18 Juergen Vigna <jug@sad.it>
10509 * vspace.C (asLatexString): fixed the 100% problem.
10511 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10513 * lyxfunc.C (Dispatch):
10515 * minibuffer.h: add a few std:: qualifiers
10517 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * minibuffer.[Ch]: reimplement so that commands is initiated and
10520 run from lyxfunc, simplified som handling, and made the completion
10521 and history code for complete. wip.
10523 * lyxfunc.C (processKeySym): call message
10524 (miniDispatch): new temporary method
10525 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10526 (LFUN_MESSAGE): implement
10527 (LFUN_MESSAGE_PUSH): implement
10528 (LFUN_MESSAGE_POP): implement
10529 (initMiniBuffer): the initial/defualt minibuffer message.
10531 * lyxfont.[Ch]: inline some more getters
10533 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10535 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10537 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10538 (AutoSave): use LFUN_MESSAGE
10539 (Reconfigure): ditto
10541 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10543 * figureForm.C: use LFUN_MESSAGE
10545 * converter.C (runLaTeX): use LFUN_MESSAGE
10547 * bufferview_funcs.C: use LFUN_MESSAGE
10549 (changeDepth): ditto
10551 * bufferparams.h: use boost::
10553 * bufferlist.h: inherit privately from noncopyable
10555 * bufferlist.C (loadLyXFile): remove some commented code.
10557 * buffer.C (runChktex): use LFUN_MESSAGE
10559 * ShareContainer.h: inherit privately from noncopyable
10561 * ParagraphParameters.[hC] (depth): inline it.
10563 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10565 (message): new method
10566 (messagePush): ditto
10567 (messagePop): ditto
10568 (show): init minibuffer
10569 (showState): direct call
10571 * LaTeX.[Ch]: inherit privately from noncopyable
10572 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10573 instead of WriteStatus.
10575 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10577 * BufferView_pimpl.C (buffer): don't init minibuffer
10578 (workAreaButtonPress): use LFUN_MESSAGE
10579 (workAreaButtonRelease): ditto
10580 (savePosition): ditto
10581 (restorePosition): ditto
10582 (MenuInsertLyXFile): ditto
10583 (workAreaExpose): don't init minibuffer
10584 (update): remove commented code, simplify
10586 * BufferView2.C (openStuff): use LFUN_MESSAGE
10587 (toggleFloat): ditto
10590 (copyEnvironment): ditto
10591 (pasteEnvironment): ditto
10596 (updateInset): remove some commented code
10598 * lastfiles.h: inherit privately from noncopyable
10601 * lyx_main.h: ditto
10603 * lyxlex_pimpl.h: ditto
10605 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10606 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10607 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10609 * LyXAction.h: inherit privately from noncopyable, add methods
10610 func_begin, func_end, returning iterators to the func map.
10612 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10613 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10614 (func_begin): new method
10615 (func_end): new method
10617 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10619 (copySelection): ditto
10620 (pasteSelection): ditto
10622 * BufferView.C: whitespace change
10623 * BufferView.h: inherit privately from noncopyable
10625 2001-04-16 Allan Rae <rae@lyx.org>
10627 * tabular-old.C (l_getline):
10628 * spellchecker.C (sc_check_word):
10629 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10630 an unrecognised preprocessor directive. So ensure they're wrapped.
10632 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10634 * src/exporter.C (Export): Give an error message when path to file
10637 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10639 * LaTeX.C (deplog): Always check that foundfile exists.
10641 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10646 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * tabular.[Ch] (getLabelList): implement new method
10650 * minibuffer.h: comment ouf setTiimer
10652 * minibuffer.C (ExecutingCB): constify res
10653 (peek_event): constify s
10654 (Set): constify ntext
10655 (Init): constify nicename
10657 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10659 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10660 (savePosition): use two params to Minibuffer::Set
10661 (restorePosition): ditto
10663 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10665 * lyx_main.C: include language.h
10667 * Makefile.am (lyx_main.o): add language.h
10669 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * CutAndPaste.C: include gettext.h
10677 * lyxfont.h: remove old hack with ON and OFF.
10680 * lyxfont.h: do not include language.h...
10685 * bufferview_funcs.C:
10691 * paragraph.C: ... but do it here instead
10693 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10697 * tabular.C: small reformat
10699 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10702 (BreakParagraph): ditto
10703 (SetOnlyLayout): ditto
10706 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10709 * lastfiles.C: removed most using decl, add std:: where needed
10711 * buffer.C: ws changes
10713 * MenuBackend.C (class compare_format): put into anon namespace
10714 (expand): constify label, names, action, action2
10717 * text.C (SingleWidth): constify font
10718 (IsBoundary): constify rtl2
10719 (GetVisibleRow): constify ww
10721 * LaTeX.C (deplog): constify logfile
10723 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10725 (workAreaExpose): constify widthChange, heightChange
10727 * lyxrow.C (par): moved
10730 * lyxrow.h: as inlines here
10732 * lyxfont.h (shape): moved from lyxfont.C
10733 (emph): moved from lyxfont.C
10735 * lyxfont.C (LyXFont): use initialization list for all
10737 (shape): move to lyxfont.h as inline
10738 (emph): move to lyxfont.h as inline
10741 2001-04-04 Juergen Vigna <jug@sad.it>
10743 * vspace.C: had to include stdio.h for use of sscanf
10745 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10748 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10749 independent of xforms.
10751 2001-04-02 Juergen Vigna <jug@sad.it>
10753 * spellchecker.C: fixed namespace placing!
10755 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10757 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10758 the LyXParagraph * is 0.
10760 2001-03-29 Juergen Vigna <jug@sad.it>
10762 * vspace.C: added support for %, c%, p%, l%.
10763 (stringFromUnit): added helper function.
10764 (asLatexString): changed to give right results for the %-values.
10766 * buffer.C: convert the widthp in a width%.
10768 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10770 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10773 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10774 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10776 * lyx_cb.[Ch]: see above.
10778 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10782 * lyx.[Ch]: replaced by figure_form.[Ch].
10786 * lyxfunc.C: changed headers associated with above changes.
10788 2001-03-27 Juergen Vigna <jug@sad.it>
10790 * BufferView_pimpl.C: set the temporary cursor right!
10792 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10794 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10796 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10798 * LString.h: removed "using std::getline"!
10800 * BufferView_pimpl.C (Dispatch): changes due to changes in
10801 InsetInclude::Params.
10803 * buffer.C (tag_name): removed redundant break statements as they were
10804 producing lots of warnings with my compiler.
10806 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10808 * LString.h: add "using std::getline" when using the real <string>.
10810 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10812 * buffer.C: removed bitset usage.
10813 PAR_TAG moved to an anonymous name space.
10814 (tag_name): new funtion, also in the anonymous namespace.
10815 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10816 (makeDocBookFile): clean code. Completed transition from string arrays
10818 (SimpleDocBookOnePar): code clean.
10820 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10822 * tabular.C: add some comments.
10824 2001-03-22 Juergen Vigna <jug@sad.it>
10826 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10827 compatibility read a bit and fixed bug with minipage in different
10830 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10832 * buffer.C (pop_tag): removed.
10833 (push_tag): removed.
10834 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10835 array replaced with vector. Added support for CDATA sections.
10836 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10838 (makeDocBookFile): XML conformant declaration of CDATA section,
10839 fixed bug related to <emphasis> in the first paragraph char.
10840 (sgmlOpenTag): exclude empty tags.
10841 (sgmlCloseTag): ditto.
10843 * buffer.h (pop_tag): removed.
10844 (push_tag): removed.
10846 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10848 * language.h (Languages): added size_type and size().
10850 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10852 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10853 response on compability reading of minipages. One probliem is that
10854 the old usage of minipages was «flertydig»
10856 * several files here and in subdirs: don't use static at file
10857 scope use anon namespaces instead.
10859 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10861 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10862 LaTeX output. This is necessary for Literate document
10865 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10867 * buffer.C: insert hfill when needed.
10869 * tabular.C (l_getline): use string::erase, small whitespace change.
10871 * BufferView_pimpl.C: try the anon namespace.
10872 * WorkArea.C: ditto
10874 2001-03-16 Juergen Vigna <jug@sad.it>
10876 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10877 otherwise it won't open options-dialogs.
10879 * buffer.C: honor pextraWidth(p) on converting minipages.
10881 * tabular.C (l_getline): changed the functions to strip trailing \r.
10883 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10885 * BufferView_pimpl.C:
10886 * minibuffer..C: added "using SigC::slot" declaration.
10888 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10890 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10896 * paragraph.C: ditto
10898 * lyxtext.h: NO_PEXTRA
10900 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10902 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10903 * ParameterStruct.h: ditto
10904 * ParagraphParameters.h: ditto
10905 * lyxparagraph.h: ditto
10907 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10909 * buffer.C: add compability for minipage alignment.
10910 (latexParagraphs): remove unwanted pextra check.
10912 * several files: remove CXX_WORKING_NAMESPACES
10914 * buffer.C (pop_tag): tie is in namespace boost
10916 * BufferView.h: noncopyable is in namespace boost
10918 * lyx_main.h: ditto
10921 * lastfiles.h: ditto
10922 * bufferlist.h: ditto
10923 * ShareContainer.h: ditto
10925 * LyXAction.h: ditto
10928 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10930 * Merging changes from BRANCH_MVC back into HEAD.
10932 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10934 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10936 * BufferView_pimpl.C: change from intl.C
10940 * Makefile.am: move combox.*
10946 * intl.C: remove dialog (covered by prefs)
10948 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10950 * lyxfunc.C (Dispatch): removed redundant break statement.
10952 2001-03-14 Juergen Vigna <jug@sad.it>
10954 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10956 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10958 * buffer.C: add hack to fix compability reading of minipages.
10960 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10962 * buffer.C (getLists): Cleanup.
10964 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10966 * lyxfont.C (update): don't honor toggleall on font size.
10968 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10972 * Makefile.am: moved to frontends/xforms/
10976 * BufferView_pimpl.C: changes for moved mathpanel
10978 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10980 * gettext.h: fix gettext_init() in --disable-nls
10982 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10986 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10989 * lyx.h: strip external form
10991 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10993 * BufferView_pimpl.C: add comment, destroySplash()
10995 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10997 * BufferView_pimpl.C:
11001 * lyxfunc.C: use re-worked insetinclude
11003 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11005 * buffer.C: add using std::stringstream.
11007 * lyx_cb.C: readd using std::ios.
11009 * buffer.C: add using std::map.
11011 * BufferView_pimpl.C: add using std::vector.
11013 * ShareContainer.h: add std:: to swap.
11015 * buffer.h: add some typedefs
11016 * buffer.C (getLists): use them
11017 (getLists): renamed from getTocList.
11018 add a counter for the different float types and use it in the
11020 (getLists): use the same counter for the NEW_INSETS and the "non"
11023 * lyx_cb.h: remove unused items, includes, using etc.
11025 * ShareContainer.h: remove some commented code, add more comments
11026 and "documentation".
11028 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11030 * buffer.C (getTocList): make the list also when NEW_INSETS is
11033 * buffer.h: remove TocType
11035 * buffer.C (getTocList): change to return a map<string,
11036 vector<TocItem> >, implement for dynamic number of list.
11038 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11039 * text2.C (PasteSelection): adjust
11040 * CutAndPaste.C (pasteSelection): adjust
11042 * FloatList.C (FloatList): update from the new_insets branch.
11043 * Floating.[Ch]: ditto
11044 * LaTeXFeatures.C: ditto
11046 * lyxlex_pimpl.C: ditto
11048 * paragraph.C (Last): remove when NEW_INSETS is defined.
11050 * other file: changes because of the above.
11052 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11054 * lyxparagraph.h: rename next to next_, previous to previous_,
11055 make them private for NEW_INSETS. Rename Next() to next(),
11056 Previous() to previous().
11058 * other files: changes because of the above.
11060 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11063 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11066 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * main.C (main): pass lyx_localedir to gettext_init().
11070 * gettext.h: remove locale_init and gettext_init macros
11072 * gettext.C (locale_init): new function
11073 (gettext_init): new function
11075 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11078 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11080 * Moved credits to frontends:
11081 * credits.[Ch]: removed
11082 * credits_form.[Ch]: removed
11083 * lyx_gui_misc.C: remove credits stuff
11086 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11088 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11090 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11091 unneeded destructor.
11093 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11094 a standalone pointer again.
11096 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11098 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11104 * ToolbarDefaults.C:
11113 * BufferView_pimpl.C: use new file dialog in GUII
11116 * lyx_cb.C: remove LayoutsCB to Toolbar
11118 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * ShareContainer.h (get): add std:: qualifier
11122 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11124 * ShareContainer.h: define a proper ShareContainer::value_type
11125 type (and use typename to please compaq cxx)
11127 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11129 * lyxparagraph.h: move serveral local vars to
11130 ParameterStruct/ParagraphParameters., use ShareContainer in
11131 FontTable., make vars in FontTable private and add getter and
11134 * paragraph.C: changes because of the above.
11136 * lyxfont.h: remove copy constructor and copy assignment. (the
11137 default ones is ok), move number inside FontBits. move inlines to
11140 * lyxfont.C: add number to initializaton of statics, move several
11141 inlines here. constify several local vars. some whitespace
11142 cleanup. Dont hide outerscope variables.
11144 * Spacing.h: add two new constructors to match the set methods.
11146 * ShareContainer.h: new file, will perhaps be moved to support
11148 * ParameterStruct.h: new file
11150 * ParagraphParameters.h: new file
11152 * ParagraphParameters.C: new file
11154 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11155 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11157 * BufferView_pimpl.C: ParagraphParameter changes.
11158 * buffer.C: Likewise.
11159 * bufferview_funcs.C: Likewise.
11160 * text.C: Likewise.
11161 * text2.C: Likewise.
11163 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * lyxfind.C (LyXReplace): do not redefine default argument in
11167 (IsStringInText): ditto
11168 (SearchForward): ditto
11169 (SearchBackward): ditto
11171 2001-03-06 Juergen Vigna <jug@sad.it>
11173 * lyxfind.C (IsStringInText): put parentes around expressions.
11175 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11177 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11179 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11181 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11183 * stl_string_fwd.h: add comment
11185 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11188 * tabular.C: remove unused DocBook methods
11194 killed DO_USE_DEFAULT_LANGUAGE
11196 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11198 * lyx_gui.C: do not include language.h.
11200 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11201 arguments in function implementation.
11203 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11205 * BufferView_pimpl.C: add <ctime>
11207 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11209 * BufferView_pimpl.C: add using std::find_if
11211 2001-02-27 José Matos <jamatos@fep.up.pt>
11213 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11216 2001-02-11 José Matos <jamatos@fep.up.pt>
11218 * buffer.C (makeDocBookFile): command styles now have a parameter as
11219 "title" by default.
11221 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11223 * layout_forms.[Ch]: removed
11224 * lyx_cb.[Ch]: out character
11225 * lyx_gui.C: out character
11226 * lyx_gui_misc.C: out character
11227 * bufferview_funcs.C: : out character,
11228 added toggleall as parameter in ToggleAndShow
11230 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11232 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11234 * text2.C (SetCurrentFont): Disable number property at boundary.
11236 2001-02-26 Juergen Vigna <jug@sad.it>
11238 * lyxfunc.C (getStatus): added a string argument override function so
11239 that this is correctly called from LyXFunc::Dispatch if it contains a
11240 do_not_use_argument which is used!
11241 (Dispatch): added check for "custom" export and call appropriate func.
11243 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11245 * lyxrc.C: Add language_command_local, language_use_babel and
11246 language_global_options.
11248 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11250 * buffer.C (makeLaTeXFile): Use language_use_babel and
11251 language_global_options.
11253 2001-02-23 Juergen Vigna <jug@sad.it>
11255 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11256 which works with LyXText and putted it inside BufferView. Here now we
11257 only call for that part the BufferView::Dispatch() function.
11259 * BufferView.C (Dispatch): added.
11261 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11262 functions which needs to use a LyXText over from LyXFunc.
11263 (MenuInsertLyXFile): added
11264 (getInsetByCode): added
11265 (moveCursorUpdate): added
11266 (static TEXT): added
11268 2001-02-22 Juergen Vigna <jug@sad.it>
11270 * BufferView_pimpl.C (update): call a status update to see if LyXText
11273 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11275 * vc-backend.C (revert): implement for CVS
11276 (getLog): implement for CVS
11278 2001-02-20 Juergen Vigna <jug@sad.it>
11280 * text2.C (ClearSelection): added BufferView param for inset_owner call
11282 * lyxfunc.C (TEXT): added this function and use it instead of
11283 directly owner->view()-text of getLyXText().
11285 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11287 * src/layout_forms.C: out preamble
11288 * src/layout_forms.h: out preamble
11289 * src/lyx_cb.C: out preamble
11290 * src/lyx_cb.h: out preamble
11291 * src/lyx_gui.C: out preamble
11292 * src/lyx_gui_misc.C: out preamble
11293 * src/lyxfunc.C: connect with guii preamble
11295 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11297 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11299 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11301 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11302 whether to run bibtex.
11304 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11306 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11308 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11310 * Makefile.am (lyx_SOURCES): removed bibforms.h
11312 * vspace.h: doxygen
11314 * text.C (GetVisibleRow): make several local vars const
11316 * tabular.C: small cleanup.
11318 * lyxserver.C (callback): use compare instead of strncmp
11320 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11321 inlines to after class or to paragraph.C
11323 * lyxfont.h: remove friend operator!=
11325 * converter.h: move friend bool operator< to non friend and after
11328 * combox.h: small cleanup
11330 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11331 to inlines after class def.
11333 * buffer.C (pop_tag): use string operations instead of strcmp
11335 * bmtable.c: doxygen, small cleanup
11337 * LaTeX.h: remove friend operator==
11339 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11351 * BufferView_pimpl.C:
11352 * BufferView.[Ch]: remove cruft
11354 2001-02-14 Juergen Vigna <jug@sad.it>
11356 * lyxfunc.C: removed #if 0 unused code
11358 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11360 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11362 * text2.C (SetSelection): added a BufferView * parameter
11364 2001-02-13 Juergen Vigna <jug@sad.it>
11366 * lyxfunc.C (Dispatch): fixed protected blank problem.
11367 * BufferView2.C (protectedBlank): added LyxText * parameter.
11369 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11370 (AppendColumn): same as above for column_info.
11372 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11373 (moveCursorUpdate): use a LyXText param for support of InsetText.
11375 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11376 (tripleClick): ditto
11378 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11380 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11382 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11384 * text2.C (SetSelection): set correct update status if inset_owner
11385 (ToggleFree): ditto
11387 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11389 * tabular.C: remove some commented code.
11391 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11393 * BufferView_pimpl.C: call hideSplash()
11395 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11398 * bibforms.h: remove
11401 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11402 add LFUN_CHILD_CREATE
11404 * counters.h: fix tiny typo
11409 * lyx.C: move splash to frontends/xforms/
11411 * lyx_gui_misc.C: move Include and Bibform to frontends
11413 * lyxvc.h: clarify comment
11415 * vspace.C: tiny housekeeping
11417 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11419 * text.C (PrepareToPrint): RTL Fix.
11421 * paragraph.C (GetUChar): New method.
11422 (String): Use GetUChar.
11424 * buffer.C (asciiParagraph): Use GetUChar.
11426 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11428 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11430 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11433 * buffer.C: rename to getLogName(), handle
11434 build log / latex log nicely
11436 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11439 * MenuBackend.h: remove support for reference menuitem type.
11441 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11443 * BufferView_pimpl.C: housekeeping
11444 * BufferView_pimpl.h:
11449 * minibuffer.h: move Timeout GUI-I
11451 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11453 * lyxrc.C (read): Update converters data-structures.
11455 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11457 * LaTeX.h (operator!=): add operator != for Aux_Info
11459 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11461 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11463 * LaTeXLog.C: deleted, useful code moved to Buffer
11466 * buffer.C: new function getLatexLogName()
11472 * lyxfunc.C: use frontends for LaTeX and VC logs
11474 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11476 * LaTeX.h: yet another std:: that Allan forgot.
11478 * Variables.C (set): renamed from isset(), because this clashes
11479 with some HP-UX macros (grr).
11481 2001-02-06 Allan Rae <rae@lyx.org>
11483 * LaTeX.h: Another bug fix. Missing std:: this time.
11485 2001-02-04 Allan Rae <rae@lyx.org>
11487 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11488 floats problem. I've left it commented out because it's not quite
11489 correct. It should also test that the current object is a table or
11490 figure inset. But I haven't gotten around to figuring out how to do
11491 that. I *think* it'll be something like: "table" == inset.type()
11493 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11496 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11498 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11499 all the citation/databases/styles in the auxilary file.
11500 (run): Rerun latex if there was a babel language error.
11502 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11504 * text.C (Backspace): Preserve the font when changing newline char
11506 (BreakParagraph): If the cursor is before a space, delete the space.
11508 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11510 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11512 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11513 new argument (code).
11514 (ChangeCitationsIfUnique): New method.
11516 * paragraph.C (GetPositionOfInset): Handle bibkey.
11518 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * BufferView_pimpl.h: change type of Position::par_pos to
11521 LyXParagraph::size_type.
11523 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11525 * BufferView_pimpl.C (savePosition, restorePosition): Write
11526 messages to minibuffer.
11528 2001-01-28 José Matos <jamatos@fep.up.pt>
11530 * buffer.C (makeDocBookFile): adds support for document language.
11531 A silly restriction on the name of LatexCommand types where removed.
11532 Added support for CDATA sections, allows to chars unescaped, used
11533 among others in code, to avoid escape < and >.
11535 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11537 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11538 saved positions instrad of a stack. Furthermore, a position is
11539 stored using paragraph id/paragraph position.
11541 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11542 Remove LFUN_REF_BACK.
11544 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11546 * converter.C (dvipdfm_options): New method.
11548 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11550 * vspace.C (isValidLength): Fix for empty input string.
11552 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11554 * LyXAction.C (init): change description of LFUN_FIGURE to
11557 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * LaTeX.C: add using directive
11561 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11563 * MenuBackend.C (expand): Fix the sorting of the formats.
11565 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11567 * lyx_main.C: tiny error message fix
11569 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11571 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11572 calling fl_initialize(). This fixes the problem with ',' as
11573 decimal separator in text files.
11575 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11577 * trans.C (process): Fix the keymap bug.
11579 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11581 * LaTeX.C (scanAuxFiles): New method. Provides support for
11582 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11583 (scanLogFile) Scan for "run BibTeX" messages.
11585 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11586 OT1 font encoding. Also, load the aecompl package if the ae
11589 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11591 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * texrow.C (increasePos): turn two error messages into debug
11596 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11598 * LaTeX.C (scanAux): Handle the \@input macro.
11599 (runBibTeX): Use scanAux().
11601 * language.C (latex_options_): New field.
11603 * LaTeXFeatures.C (getMacros): Add language macros.
11605 * buffer.C (makeLaTeXFile): Small fix.
11607 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11611 * text2.C: add a using directive.
11613 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11618 * lyxfunc.C: kill LyXBell.
11620 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11622 * text.C (IsBoundary): Remove the error message
11624 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11626 * lyxrc.C (setDefaults): Correct initialization value for
11629 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11631 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11634 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11635 and GotoNextNote().
11637 * src/LyXAction.C: Added reference-next.
11639 * text.C (InsertChar): Use contains instead of strchr.
11641 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11643 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11645 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11646 alignment commands (when needed).
11648 * text.C (InsertChar): Add ':' to number separator chars.