2 2003-07-16 André Pönitz <poenitz@gmx.net>
7 * text2.C: replace the LyXCursor::irow_ member with
8 on-demand computation of the value
10 2003-07-16 John Levon <levon@movementarian.org>
12 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
14 2003-07-15 André Pönitz <poenitz@gmx.net>
17 * text2.C: remove no more needed refresh_row
19 2003-07-15 André Pönitz <poenitz@gmx.net>
24 * text3.C: refresh_status tristate -> need_update bool
26 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
28 * lyxtext.h (init): remove reinit argument (act as if always true)
29 * text2.C: adjust to that
31 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
33 * bufferview_funcs.[Ch]: introduce function replaceSelection()
34 * text3.C: use it to delete selections in some cases
35 (bugs 441, 673, 702, 954).
37 2003-07-14 André Pönitz <poenitz@gmx.net>
39 * rowpainter.[Ch]: reduce interface
41 2003-07-14 André Pönitz <poenitz@gmx.net>
44 * text2.C: adjust after removing unused BufferView * argument
46 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
48 * text2.C (init): fix a crash fired on resize
50 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
52 * buffer.[Ch]: added new closing signal
53 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
54 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
55 BufferView::Pimpl via the closing the signal
57 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
59 * buffer.[Ch]: take out all bv-related from buffer
61 * BufferView_pimpl.[Ch]: connect to new signals
62 * CutAndPaste.C: removed useless asserts
63 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
66 * lyxfunc.C: moved view-related funciontality from vc here
67 * paragraph.C: removed outdated comments
70 2003-07-10 André Pönitz <poenitz@gmx.net>
76 * text2.C: remove InsetText::InnerCache, clean up consequences
78 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
80 * ispell.C: fix two typos in error messages
82 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
84 * Extend Note inset to other forms of annotation like Comment
85 and Greyedout. Right button click gives dialog.
87 Files modified or added (+):
93 * Makefile.am in frontends/xforms, frontends/xforms/forms,
98 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
100 * aspell.C: add missing namespace lyx::support
102 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
104 * BufferView.[Ch] (newFile): Add
105 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
106 * LaTeX.[Ch] (message): added this signal and use it
107 * buffer.[Ch] (busy, message): added these signals and use them
108 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
112 * importer.C: use buffer signals instead of direct bv calling
113 * lyx_cb.[Ch] (ShowMessage): removed
117 * text2.C: use buffer signals
119 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
121 * introduce namespace lyx::graphics
123 2003-07-02 André Pönitz <poenitz@gmx.net>
125 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
127 2003-07-01 André Pönitz <poenitz@gmx.net>
134 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
135 text*.C to text_func.C
137 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
139 * introduce namespace lyx::support
141 2003-06-30 André Pönitz <poenitz@gmx.net>
146 * text.C: re-enable --with-included-string
148 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
150 * textcursor.C: add <config.h>
152 * text.C (getWord): remove const from word_location arg
154 * lyxvc.C (getLogFile): fix const type order
156 * lyxtext.h: remove const from word_location arg, add arg name
158 * lyxlayout.h: currect type on labeltype.
160 * importer.C: correct \file
162 * converter.C (intToFormat): use std:: on ret val, ws changes
164 * bufferlist.h: correct \file
166 * buffer.C (makeLinuxDocFile): fix const type order
167 (makeDocBookFile): ditto
168 (fillWithBibKeys): use std:: on stdlib args.
170 * CutAndPaste.C: fix authors.
171 (availableSelections): use std:: on return vector
173 2003-06-27 André Pönitz <poenitz@gmx.net>
175 * BufferView_pimpl.C:
176 * bufferview_funcs.C:
184 * text3.C: remove LyXCursor::row_ member
187 * text.C: rename fullRebreak() to partialRebreak() and implement
188 a fullRebreak() that really bereks fully
190 * textcursor.h: new struct for cursor-related data
192 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
194 * lyx_main.C (LyX): get full path of document loaded on the
197 2003-06-26 André Pönitz <poenitz@gmx.net>
199 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
200 remove unused/broken operator>,<,>=.
202 * text.C: remove only use of broken operator<= in an Assert().
204 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
206 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
207 moved errorlist_.clear to showErrorList
209 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
211 * converter.C (scanLog, runLaTeX):
212 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
213 move the bv->showErrorList call to the callers
214 * lyxfunc.C: i.e. here...
216 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
217 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
218 namespace, the second to...
219 * buffer_funcs (BufferFormat, parseErrors): added
220 * errorlist.C (ErrorList(TeXErrors const &)): removed
222 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * ToolbarBackend.C (getIcon): complain when icon cannot be found
226 2003-06-24 "Garst R. Reese" <reese@isn.net>
230 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
234 * version.C.in: change docversion to 1.4
236 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
238 * buffer.C: fix a bug just introduced
240 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
242 * buffer.[Ch]: added the parseError signal and use it, removed
244 * BufferView.[Ch] (addError): moved to ...
245 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
246 to the Buffer::parseError signal to catch (guess what) parse errors
247 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
249 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
251 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
252 ability to create a buffer and to return an existing one from
253 the list. Moved these functions to...
254 * buffer_funcs.[Ch]: added
255 * BufferView.[Ch] (loadLyXFile): added
256 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
257 job removed from bufferlist::loadLyXFile.
258 * buffer.C (setReadOnly): make it work without view
259 (i.e added an if (users))
261 2003-06-19 Angus Leeming <leeming@lyx.org>
264 * LyXAction.C (init):
265 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
266 with LFUN_DIALOG_SHOW <name> <data>.
268 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * CutAndPaste.C (availableSelections): small compilation fix for
271 ancient (gcc 2.9x) compilers
273 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
275 * text3.C (cursorNext): add tmp var
277 * text2.C (updateCounters): for function calling out of for clause
278 (replaceSelectionWithString): ditto
279 (insertStringAsParagraphs): ditto
280 (getColumnNearX): add tmp var
281 (setCursorFromCoordinates): add tmp var
282 (cursorDownParagraph): add tmp var
283 (deleteEmptyParagraphMechanism): add tmp var
285 * text.C (insertChar): add tmp var
287 * rowpainter.C (paintDepthBar): add tmp var
289 * CutAndPaste.C (availableSelections): potentially check all
290 paragraphs in a cut to fill the shown strings.
292 2003-06-18 André Pönitz <poenitz@gmx.net>
294 * kbmap.[Ch]: use vector<> instead of list<>
296 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
298 * text3.C (dispatch): handle arg to LFUN_PASTE, call
299 pasteSelection with index
301 * text2.C (pasteSelection): modify, call pasteSelection with index
303 * paragraph.C (asString): reimplement version with no interval to
304 call the one with interval.
306 * lyxtext.h: add index arg to pasteSelection
308 * MenuBackend.C (MenuItem): handle PasteRecent
309 (Menu::read::Menutags): add md_pasterecent
311 (expandPasteRecent): new function
314 * MenuBackend.h: add PasteRecent to MenuItem::Kind
316 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
318 (availableSelections): new function
320 2003-06-17 Angus Leeming <leeming@lyx.org>
322 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
324 2003-06-17 Angus Leeming <leeming@lyx.org>
327 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
329 * lyxfunc.C (dispatch): invoke it.
331 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * iterators.C (operator++, ParPosition): reintroduce some
334 const_cast for the benefit of older compilers.
336 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * text3.C (dispatch): do not modify clipboard when doing
339 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
340 LFUN_DELETE_SKIP on a selection selection
342 2003-06-16 André Pönitz <poenitz@gmx.net>
348 * tabular.[Ch]: IU of clone() and getLabelList();
350 2003-06-13 André Pönitz <poenitz@gmx.net>
352 * tabular.h: compactification
354 2003-06-12 André Pönitz <poenitz@gmx.net>
358 * tabular_funcs.h: some renaming plus whitespace
360 2003-06-12 André Pönitz <poenitz@gmx.net>
363 * BufferView_pimpl.C:
369 * toc.C: Return a Paragraph & for ParIterator::operator*()
371 2003-06-11 John Levon <levon@movementarian.org>
375 * ToolbarBackend.C: add "Toolbars" section and
378 2003-06-10 Angus Leeming <leeming@lyx.org>
381 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
383 * lyxfunc.C (dispatch): invoke it.
385 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * main.C: protect <ios> with HAVE_IOS
388 (main): protect sync_with_stdio with HAVE_IOS
390 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
392 * text2.C (cutSelection): adjust
393 (pasteSelection): adjust
395 * messages.C: handle get of empty string
397 * main.C (main): use sync_with_stdio(false)
399 * lyxfunc.C (dispatch): adjust
401 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
402 (WriteAs): remove unneeded BufferView arg.
404 * bufferparams.h: use correct types on papersize, papersize2 and
407 * bufferparams.C (readToken): adjust for type
408 (writeLaTeX): add missing cases to switch.
410 * bufferlist.C (quitWriteBuffer): adjust
413 * buffer.C (asciiParagraph): remove some commented code.
415 * CutAndPaste.C: remove current_view extern variable.
416 (cutSelection): add BufferParams arg.
417 (eraseSelection): add BufferParams arg.
418 (pasteSelection): add Buffer const & arg
420 2003-06-07 John Levon <levon@movementarian.org>
428 * paragraph.C: allow InsetERT to freely space lines,
429 and some consolidation of code
431 2003-06-06 José Matos <jamatos@fep.up.pt>
433 * buffer.C (makeDocBookFile): fix bug #821
435 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
437 * BufferView_pimpl.C (dispatch): use Dialogs::visible
439 2003-06-04 Angus Leeming <leeming@lyx.org>
441 * buffer.C: bump format to 224.
443 2003-06-05 André Pönitz <poenitz@gmx.net>
445 * text2.C (redoParagraphs): remove two const_cast<>
447 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
449 * ParagraphList.h: remove last remnants of NO_STD_LIST
451 2003-06-03 Angus Leeming <leeming@lyx.org>
453 * factory.C (createInset): small change to the way InsetExternal's params
456 2003-06-04 André Pönitz <poenitz@gmx.net>
458 * buffer.h: use Undo directly instead of shared_ptr<Undo>
461 * paragraph.[Ch]: some Inset -> UpdatableInset changes
463 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
465 * undo_funcs.C: make some simple cases of undo work again
467 2003-06-03 John Levon <levon@movementarian.org>
469 * ispell.C: HPUX doesn't have sys/select.h
472 2003-06-03 John Levon <levon@movementarian.org>
474 * CutAndPaste.C: update tabular and include inset
479 * paragraph.C: remove owningBuffer(), don't pass Buffer
482 * factory.C: insetGraphicsParams changed
484 2003-06-02 John Levon <levon@movementarian.org>
490 * text3.C: remove insetparent
492 2003-06-02 John Levon <levon@movementarian.org>
495 * buffer.C: fix inset_iterator.end(), move out of line
498 2003-06-01 John Levon <levon@movementarian.org>
500 * text3.C: use a proper cut/paste when doing inset
501 insert (from Jürgen Spitzmüller)
503 2003-06-01 John Levon <levon@movementarian.org>
505 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
507 2003-05-30 André Pönitz <poenitz@gmx.net>
509 * rowpainter.C: unify second drawing phase
511 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
513 * trans_mgr.C: remove one case of current_view
515 * text2.C (cursorBottom): delete NO_STD_LIST stuff
517 * paragraph_funcs.h: remove paragraph.h include
519 * paragraph.h: delete NO_STD_LIST stuff
521 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
523 * buffer.h: remove paragraph.h include
525 * ParagraphList.C: delete file
527 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
529 * toc.C (getTocList): adjust
531 * paragraph_pimpl.C (validate): adjust
533 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
535 * paragraph.C (Paragraph): adjust
536 (getPositionOfInset): use const_iterator, adjust
537 (bibitem): use const_iterator, adjust
538 (setInsetOwner): adjust
540 * iterators.C (operator++): adjust
542 * InsetList.[Ch]: Replace selfmade iterator with standard
543 vector::iterator also introduce const_iterator. Remove getPos,
544 getInset and setInset from InsetTable. Adjust accordingly.
546 * BufferView.C (lockInset): adjust
547 (ChangeInsets): adjust
549 * tabular.[Ch]: delete commented same_id functions
551 2003-05-28 John Levon <levon@movementarian.org>
553 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
555 2003-05-28 André Pönitz <poenitz@gmx.net>
557 * metricsinfo.[Ch]: remove 'fullredraw' member
559 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
561 * lyxtextclass.C (operator): remove caching.
563 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * text2.C (cursorBottom): adjust
568 (setCounter): use ParagraphList::find, adjust
570 * text.C (workWidth): use ParagraphList::find, adjust
572 * lyxcursor.C (LyXCursor): adjust
574 * buffer.C (inset_iterator): adjust
576 * ParagraphList.h: make iterator(value_type) private, make
577 ParagraphList a friend of iterator.
579 * ParagraphList.C (find): new function
581 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
583 2003-05-27 André Pönitz <poenitz@gmx.net>
585 * dimension.[Ch]: a -> asc, d -> des, w -> wid
587 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
591 2003-05-26 John Levon <levon@movementarian.org>
593 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
595 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * remove same_id from function signatures, adjust.
599 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
601 * undo_funcs.C (createUndo): use the id functions directly, adjust.
603 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
605 * paragraph.C (Paragraph): get rid of same_ids parameter
607 * ParagraphList.C (insert): adjust
610 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * paragraph_funcs.C (breakParagraph): adjust
613 (breakParagraphConservative): adjust
615 * buffer.C (readParagraph): adjust
617 * ParagraphList.C (insert): take a reference instead of a pointer
620 * paragraph.[Ch] (id): new function
622 * bufferlist.C (newFile): adjust
624 * ParagraphList.C (ParagraphList): adjust
626 (push_back): take a reference instead of a pointer.
628 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
630 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
633 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
634 set else use old code.
636 * ParagraphList.C: remove all NO_NEXT code and only compile this
637 code of NO_STD_LIST is set.
639 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
641 * BufferView_pimpl.C:
651 * graphics/GraphicsConverter.C:
652 * graphics/PreviewLoader.C: header adjustment
654 2003-05-23 Angus Leeming <leeming@lyx.org>
656 * LaTeXFeatures.[Ch] (useBabel): new method.
657 * bufferparams.C (writeLaTeX): use it.
659 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
661 * ParagraphList.h (set): remove unused function.
663 2003-05-23 André Pönitz <poenitz@gmx.net>
666 * BufferView_pimpl.C:
670 * undo_funcs.C: setUndo reworked
672 * iterators.[Ch]: add access to topmost ParagraphList
674 * lyxtext.[Ch] (workWidth): add a const
676 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
678 * texrow.[Ch] (increasePos): remove function
679 * exporter.C (export): removed unused var and outdated comment
681 2003-05-23 Angus Leeming <leeming@lyx.org>
683 * latexrunparams.h: rename fragile as moving_arg.
684 * paragraph.C (simpleTeXOnePar): ditto.
685 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
687 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
691 (textUndoOrRedo): comment out a currently unused var.
693 * paragraph.h (NO_NEXT): enable NO_NEXT
695 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
697 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
699 * exporter.C (Export): adjust for removeAutoInsets removal.
701 * buffer.C (runChktex): adjust for removeAutoInsets removal.
703 * LyXAction.C (init): remove LFUN_REMOVEERRORS
705 * BufferView.[Ch] (removeAutoInsets): delete function
707 2003-05-22 Angus Leeming <leeming@lyx.org>
709 * latexrunparams.h: add a free_spacing variable.
711 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
712 to pass moving_arg, as the data is stored in runparams.fragile.
714 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
715 to Inset::latexOptional or to simpleTeXOnePar.
717 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
718 free_spacing arg to Inset::latexOptional.
720 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
723 2003-05-22 Angus Leeming <leeming@lyx.org>
725 * latexrunparams.h: add fragile and use_babel variables.
727 * bufferparams.[Ch] (writeLaTeX): return use_babel.
728 * buffer.C (makeLaTeXFile): store this returned value in
729 runparams.use_babel, thus passing it to the inset::latex methods.
731 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
732 simpleTeXSpecialChars as it is now stored in runparams.fragile.
734 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
735 longer has a fragile arg, as it is stored in runparams.fragile.
737 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
738 moving_arg parameter as the data is stored in runparams.fragile.
740 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
741 a fragile parameter as the data is stored in runparams.fragile.
743 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
747 2003-05-22 Angus Leeming <leeming@lyx.org>
749 * latexrunparams.h: add a 'bool nice' which defaults to false.
751 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
752 now encapsulated within runparams.
754 * bufferlist.C (updateIncludedTeXfiles):
755 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
757 2003-05-22 Angus Leeming <leeming@lyx.org>
759 * latexrunparams.h: new file containing struct LatexRunParams.
760 * Makefile.am: add new file.
762 * LaTeX.[Ch] (c-tor, run):
763 * buffer.[Ch] (makeLaTeXFile):
764 * bufferlist.[Ch] (updateIncludedTeXfiles):
765 * converter.C (convert, scanLog):
766 * converter.[Ch] (runLaTeX):
767 * exporter.C (Export):
768 * paragraph.[Ch] (simpleTeXOnePar):
769 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
770 * paragraph_funcs.[Ch] (latexParagraphs):
771 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
772 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
773 pass around a LatexRunParams parameter.
775 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * paragraph.[Ch]: remove unused constructor
779 * ParagraphList.C (erase): new function, taking two iterators
781 2003-05-22 André Pönitz <poenitz@gmx.net>
783 * undo_funcs.C: remove duplicated code
785 * iterator.[Ch]: operator=
787 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
789 * tabular.C (SetMultiColumn): ws changes
791 * rowpainter.C (paintFirst): get rid of a ->previous
793 * lyx_cb.C (getPossibleLabel): parlist simplification
795 * BufferView.C (ChangeInsets): simplify slightly.
797 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
799 * LyXAction.C: new lfun space-insert, kill protected-space-insert
800 * lfuns.h: new LFUN_SPACE
801 * lyxfunc.C: protected space has a new lfun
802 * paragraph_funcs.C: read new space insets
804 * factory.C: handle new space insets
806 2003-05-22 André Pönitz <poenitz@gmx.net>
809 * BufferView_pimpl.C:
812 * undo_funcs.C: return a ParIterator from getParFromID.
814 * iterators.[Ch]: add two const's
816 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * toc.C (getTocList): adjust
820 * iterators.[Ch]: rework for parlist
822 * buffer.C (par_iterator_begin): adjust
823 (par_iterator_end): adjust
825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
827 * BufferView.C (removeAutoInsets): adjust
828 (ChangeInsets): adjust
830 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
832 * text.C (top_y): fix bug 1110
834 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
836 * errorlist.[Ch]: added
839 * BufferView_pimpl.C:
840 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
843 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * Makefile.am: ensure that lyx is relinked upon changes to the
846 various "convenience" libs.
848 2003-05-20 Angus Leeming <leeming@lyx.org>
850 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
851 files are compiled in alphabetical order again.
853 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
855 2003-05-19 Angus Leeming <leeming@lyx.org>
857 * gettext.[Ch]: remove "char const * _(char const *)".
859 2003-05-19 André Pönitz <poenitz@gmx.net>
861 * dimension.[Ch]: promote from mathed/dimension.[Ch]
870 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
872 2003-05-19 André Pönitz <poenitz@gmx.net>
878 * paragraph_funcs.[Ch]:
880 * text3.C: more insetenv work
882 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
884 * ParagraphParameters.C (params2string): small bug fixed
886 2003-05-16 André Pönitz <poenitz@gmx.net>
889 * bufferview_funcs.C: patch from Kornel Benko to prevent
890 crash when _(...) is called twice in a statement
892 2003-05-16 André Pönitz <poenitz@gmx.net>
899 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
901 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
903 * lyx_main.C (init): remove spurious static_cast
905 2003-05-14 André Pönitz <poenitz@gmx.net>
907 * BufferView.C: fix format string
909 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
911 * BufferView.[Ch] (insertErrors): removed
912 * BufferView.[Ch] (showErrorList): added
913 * buffer.C (runChkTeX):
914 * converter.C (scanLog): call showErrorList instead of inserterrors
916 2003-05-13 André Pönitz <poenitz@gmx.net>
918 * BufferView_pimpl.C:
927 * tabular_funcs.h: tostr() from its own header
929 * ParagraphParameters.C:
936 2003-05-12 André Pönitz <poenitz@gmx.net>
939 * BufferView_pimpl.C:
943 * ParagraphParameters.C:
947 * bufferview_funcs.C:
964 * text3.C: boost::format -> bformat all over the place
967 2003-05-09 André Pönitz <poenitz@gmx.net>
969 * LColor.[Ch]: Pimpl the #include <map> away
971 2003-05-09 John Levon <levon@movementarian.org>
973 * bufferlist.C: never remove emergency saves
975 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * Makefile.am: better lib building
979 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * texrow.[Ch]: remove dependency on Paragraph and just store a id
983 * paragraph_pimpl.C (simpleTeXBlanks): adjust
984 (simpleTeXSpecialChars): adjust
985 (simpleTeXSpecialChars): adjust
986 * paragraph.C (simpleTeXOnePar): adjust
987 * buffer.C (makeLaTeXFile): adjust
989 * Makefile.am (BOOST_LIBS): allow boost as system lib.
991 * text2.C (changeDepth): parlist cleanup
992 (getColumnNearX): ditto
994 * rowpainter.C (getLabelFont): parlist cleanup
996 * bufferlist.C (newFile): parlist cleanup
998 * CutAndPaste.C (eraseSelection): parlist cleanup
1000 * BufferView_pimpl.C (trackChanges): parlist cleanup
1003 * BufferView.C (lockInset): parlist cleanup.
1004 (ChangeInsets): ditto
1006 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * CutAndPaste.h: Update file header.
1010 * CutAndPaste.C: Update file header.
1011 Store the parts cut out of the Document in a limited_stack.
1012 (copySelection): adjust
1013 (pasteSelection): new function, takes the index in the limited stack.
1014 (nrOfParagraphs): adjust
1015 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1016 simplify error inset insertion.
1017 (checkPastePossible): adjust
1019 2003-05-06 John Levon <levon@movementarian.org>
1021 * text2.C: don't cast wrap inset to float
1023 2003-05-05 André Pönitz <poenitz@gmx.net>
1026 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1028 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1029 few naked Paragraph *.
1031 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1033 * bufferparams.C: Output warning if a document with missing
1034 TeX document class is loaded
1035 * exporter.C: Disable TeX exports if the document class is missing
1038 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1039 isTeXClassAvailable()
1041 2003-05-03 John Levon <levon@movementarian.org>
1044 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1045 explicit cursor show/hide
1047 * BufferView_pimpl.h:
1048 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1049 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1051 * lyxfunc.C: hide cursor before dispatching.
1056 * text3.C: remove explicit cursor hides
1058 2003-05-02 André Pönitz <poenitz@gmx.net>
1060 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1063 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1066 * text2.C: tiny whitespace
1068 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * undo_funcs.C: almost only ws changes.
1072 * ParagraphList.C (splice): just return if pl is empty.
1074 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * ParagraphList.C (splice): new function.
1078 * CutAndPaste.C (pasteSelection): use it
1080 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * CutAndPaste.C (pasteSelection): remove the last next and
1083 previous from this file.
1085 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * CutAndPaste.C (pasteSelection): more clean up, user proper
1088 ParagraphList functions for pasteing.
1090 * ParagraphList.C (insert): new function, three arg insert
1092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * ParagraphList.C (insert): new function, three arg insert
1096 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1099 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1103 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1107 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1110 (copySelection): clean up a bit.
1111 (pasteSelection): use make_pair
1113 * ParagraphList.C (ParagraphList): implement copy constructor
1114 (operator=): implement, base on copy constructor.
1117 * paragraph.C (erase): return a bool
1119 * paragraph_pimpl.C (erasePos): remove function, move contents...
1120 (erase): ... here. Return a bool.
1121 (erase): call erase instead of erasePos.
1123 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1125 * ParagraphList.h: define PitPosPair
1126 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1127 ParagraphList, fix a bug on pasting multiple pars
1128 * text2.C: change interface to C&P
1130 2003-04-30 André Pönitz <poenitz@gmx.net>
1132 * undo_func.C: revert part of yesterday's patch 2
1134 2003-04-30 John Levon <levon@movementarian.org>
1136 * LColor.C: s/tabular/table/
1138 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * text3.C (dispatch): do not convert iterator -> pointer
1141 * undo_funcs.C (setCursorParUndo): ditto
1142 * text_funcs.C (transposeChars): ditto
1144 * text2.C (setLayout): ws changes only
1146 * text.C (breakParagraph): do not convert iterator -> pointer
1148 (acceptChange): ditto
1149 (rejectChange): ditto
1154 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1157 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1159 * text3.C (gotoInset): YABG (yet another bad getChar)
1161 2003-04-29 André Pönitz <poenitz@gmx.net>
1163 * paragraph.h: make operator= private unimplemented as long as
1166 * ParagraphList.C: whitespace
1169 * paragraph_pimpl.[Ch]:
1170 * paragraph_funcs.C:
1172 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1175 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1177 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1179 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1180 * paragraph.[Ch] (erase):
1181 * paragraph_pimpl.[Ch] (erase): change return type and value
1182 * text2.C (cutSelection): some rework
1184 2003-04-28 John Levon <levon@movementarian.org>
1186 * bufferlist.C: changes for unsaved changes dialog
1188 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * bufferlist.C (newFile): set language (messages_) for new
1193 * buffer.C (readFile): ws changes only.
1195 2003-04-28 André Pönitz <poenitz@gmx.net>
1200 * BufferView_pimpl.C:
1201 * BufferView.C: getParFromID related ParagraphList::iterator changes
1203 2003-04-28 André Pönitz <poenitz@gmx.net>
1205 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1208 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1210 * messages.C: remove one more localedir class variable.
1212 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * messages.C (getLocaleDir): singleton generation function
1216 (Messages): add a default constructor.
1218 * main.C (main): do not setup localedir here, do not call
1221 * gettext.C (_): use it.
1222 (gettext_init): delete funciton
1224 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * gettext.C (getLyXMessages): new singleton generating function.
1228 * buffer.C (updateDocLang): adjust
1230 * Makefile.am (messages.o): add target
1231 (main.o): remove target
1233 2003-04-27 John Levon <levon@movementarian.org>
1238 * lyxvc.C: specify cancel button in Alert::prompt
1240 2003-04-26 John Levon <levon@movementarian.org>
1245 * LyXAction.C: add LFUN_INSET_SETTINGS
1247 * lyxfunc.C: don't enable tabular-feature when there's
1248 just any locking inset
1250 2003-04-26 John Levon <levon@movementarian.org>
1252 * bufferlist.C: re-add Cancel to buffer close question
1254 * lyxfunc.C: fix import UI a bit
1256 2003-04-25 John Levon <levon@movementarian.org>
1258 * gettext.C: remove the broken asserts for now
1260 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * messages.C: make case where setlocale cannot comply work better.
1264 * buffer.C (updateDocLang): new function
1265 (changeLanguage): use it
1268 * text2.C (setCounter): use B_ a bit.
1270 * lyxlayout.C (Read): be sure to trim the label strings.
1272 * messages.C (Messages): fix typo in comment
1274 * buffer.C (readFile): set message_ after file is loaded.
1275 (makeDocBookFile): remove double return
1276 (changeLanguage): reset message_ upon language change.
1277 (B_): new func, use this to get translated buffer strings.
1279 * main.C: add myself and Jean Marc as authors.
1281 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * messages.[hC]: pimplify Messages, and three different pimpls to be
1284 used in different circumstances.
1286 * gettext.[Ch]: change for use with new message code.
1288 2003-04-24 André Pönitz <poenitz@gmx.net>
1290 * factory.C: support for eqref
1292 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1294 * messages.[Ch]: add missing char
1296 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1298 * messages.[Ch]: New files
1300 2003-04-18 John Levon <levon@movementarian.org>
1304 * BufferView_pimpl.C:
1308 * text2.C: remove layout-copy/paste (bug 778)
1310 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1312 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1314 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1316 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1317 if they succeed. Act accordingly.
1319 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * text2.C (setCharFont): adjust
1322 (setCounter): adjust
1323 (insertStringAsLines): adjust
1325 * text.C (leftMargin): adjust
1326 (setHeightOfRow): adjust
1328 * rowpainter.C (paintFirst): adjust
1331 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1333 (isFirstInSequence): ditto
1334 (getEndLabel): ditto
1337 * paragraph.C (getParLanguage): comment out some hard stuff.
1339 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1341 (simpleDocBookOnePar): ditto
1342 (makeDocBookFile): use ParagraphList::iterator
1344 * CutAndPaste.C (pasteSelection): adjust
1346 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1348 * text2.C (getFont): adjust
1349 (getLayoutFont): adjust
1350 (getLabelFont): adjust
1352 * paragraph_funcs.C (TeXOnePar): adjust
1354 * buffer.C (simpleLinuxDocOnePar): adjust
1355 (simpleDocBookOnePar): adjust
1357 * CutAndPaste.C (pasteSelection): adjust
1359 * BufferView.C (getEncoding): adjust
1361 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1363 2003-04-16 John Levon <levon@movementarian.org>
1365 * lyxfind.C: use parlist stuff for search/changes
1367 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1371 * text2.C (deleteEmptyParagraphMechanism): adjust
1373 * text2.[Ch] (ownerParagraph): delete func (both of them
1375 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1379 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * ParagraphList.C: prepare for NO_NEXT
1383 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * text2.C (getFont): adjust
1386 (getLayoutFont): adjust
1387 (getLabelFont): adjust
1389 * paragraph.C (getFont): adjust
1390 (getLabelFont): adjust
1391 (getLayoutFont): adjust
1393 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1395 2003-04-15 John Levon <levon@movementarian.org>
1399 * lyx_main.C: handle Include in .ui files
1401 2003-04-15 John Levon <levon@movementarian.org>
1403 * MenuBackend.C: make the doc files length shorter
1406 * ToolbarBackend.C: handle toolbar placement flags,
1409 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1414 * paragraph_funcs.C (TeXOnePar): adjust
1416 * paragraph.C (getLabelFont): add outerfont arg, adjust
1417 (getLayoutFont): ditto
1418 (simpleTeXOnePar): adjust
1420 * paragraph_pimpl.C (realizeFont): delete func
1422 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1424 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1425 row argument, constify cur argument.
1427 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * text2.C (getFont): adjust
1430 (getLayoutFont): adjust
1431 (getLabelFont): adjust
1433 * paragraph_funcs.C (TeXOnePar): adjust
1434 (outerFont): new func...
1435 (realizeFont): ...moved out from here, changed this to facilitate
1438 * paragraph.C (getFont): take outerfont as arg, adjust
1439 (simpleTeXOnePar): add outerfont arg, adjust
1441 * buffer.C (simpleLinuxDocOnePar): adjust
1442 (simpleDocBookOnePar): adjust
1444 * CutAndPaste.C (pasteSelection): adjust
1446 * BufferView.C (getEncoding): adjust
1448 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1450 * text2.C (setCharFont): adjust
1451 (setCounter): adjust
1453 * text.C (leftMargin): adjust
1454 (setHeightOfRow): adjust
1456 * rowpainter.C (paintFirst): adjust
1459 * paragraph_pimpl.C (realizeFont): adjust
1461 * paragraph.C (isFirstInSequence): move from here...
1462 * paragraph_funcs.C (isFirstInSequence): ...to here
1464 * paragraph.C (outerHook): move from here...
1465 * paragraph_funcs.C (outerHook): ...to here
1467 * paragraph.C (depthHook): move from here...
1468 * paragraph_funcs.C (depthHook): ...to here
1470 * paragraph.C (getEndLabel): move from here...
1471 * paragraph_funcs.C (getEndLabel): ...to here
1473 * text2.C (realizeFont): move from here...
1474 * paragraph_funcs.C (realizeFont): ...to here
1476 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1480 2003-04-14 Angus Leeming <leeming@lyx.org>
1482 * LColor.[Ch]: scrap LColor mathcursor.
1484 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * lyxlex.[Ch] (text): delete function
1487 * trans.C (Load): adjust
1488 * paragraph_funcs.C (readParToken): adjust
1490 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1493 vector<char> instead of a char[].
1495 * lyxlex_pimpl.C (getString): adjust
1497 (lex): use getString
1501 * lyxlex.C (text): use pimpl_->getString()
1505 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1508 (makeFontEntriesLayoutSpecific): temp var for par.size()
1509 (setLayout): temp var for ownerParagraphs().end()
1510 (fullRebreak): temp var for rows().end()
1511 (selectionAsString): temp var for boost::next(startpit), realize
1512 that the while really is a regular for loop.
1513 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1514 setCursor in one place.
1515 (setParagraph): temp vr for ownerParagraphs().end()
1516 (updateCounters): make the while loop a for loop
1517 (cutSelection): temp var for ownerParagraphs().end()
1518 (updateInset): make the do {} while() a regular for loop
1519 (getCursorX): use temp vars
1520 (setCurrentFont): use temp vars
1521 (getColumnNearX): use temp vars
1523 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * text.C (transformChar): use temp var for getChar
1526 (computeBidiTables): use temp var for row->par()
1527 (fill): move temp vars for row->par() and pit->layout() earlier in
1529 (labelFill): use temp var for row->par()
1530 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1531 asc and desc, realize that pit never changes and that firstpit is
1532 just a duplicate and not needed. Exchange rit->par() with pit in a
1534 (breakAgain): use a temp var for boost::next(rit)
1535 (breakAgainOneRow): ditto
1536 (breakParagraph): use a temp var for rows().begin()
1537 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1538 (cursorRightOneWord): use temp var for cursor.par() and
1539 cursor.pos(), remove usage of tmpcursor.
1540 (cursorLeftOneWord): use temp var for cursor.par() and
1541 cursor.pos() only set cur at end of function.
1543 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * text.C, text2.C: exchange all usage of Paragraph::next with
1546 boost::next(ParagraphList::iterator)
1548 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1550 * text2.C (cursorTop): simplify implementation
1551 (cursorBottom): ditto
1552 (setParagraph): use ParagraphList::iterator
1553 (setCurrentFont): adjust
1554 (getColumnNearX): adjust
1555 (cursorRight): adjust
1556 (cursorLeft): remove usage of Paragraph::previous
1557 (cursorUpParagraph): ditto
1558 (deleteEmptyParagraphMechanism): slight cleanup
1560 * text.C (isBoundary): take a Paragraph const & instead of a
1562 (addressBreakPoint): ditto
1563 (leftMargin): remove usage of Paragraph::previous.
1564 (setHeightOfRow): ditto
1565 (cursorLeftOneWord): ditto
1566 (selectNextWordToSpellcheck): ditto
1569 (breakParagraph): remove one usage of Paragraph::next
1570 (redoParagraph): ditto
1571 (acceptChange): ditto
1572 (insertChar): adjust
1573 (rowBreakPoint): adjust
1575 * bufferview_funcs.C (toggleAndShow): adjust
1577 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1579 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1580 methods to access it.
1582 * text.C: Added updateRowPositions to compute all row positions.
1583 Make top_y and getRowNearY() to use the cached y position
1585 2003-04-11 John Levon <levon@movementarian.org>
1587 * text.C (rowBreakPoint): reintroduce the labelEnd
1588 checks, code copied from the row fill stuff. Deep voodoo.
1590 * text.C (fill): add a comment and debugging for the
1593 2003-04-11 John Levon <levon@movementarian.org>
1595 * text.C: make sure fullrow insets get wrapped to the next line,
1596 even when they're in a manual label
1598 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * text2.C (insertParagraph): make it take ParagraphList::iterator
1602 (setLayout): make it return ParagraphList::iterator
1603 (redoParagraphs): ditto
1605 (checkParagraph): ditto
1607 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1609 * text2.C: adjust several funcs.
1610 (realizeFont): take a ParagraphList::iterator as arg.
1611 (getLayoutFont): ditto
1612 (getLabelFont): ditto
1613 (setCharFont): ditto
1615 * text.C: adjust several funcs.
1617 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1619 * text.C (selectNextWordToSpellcheck): don't accidentally
1622 2003-04-10 John Levon <levon@movementarian.org>
1624 * ToolbarBackend.C (getIcon): special handling for
1627 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1629 * text2.C (cursorRight): a getChar assert fixed
1631 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * text2.C (getFont): change to take a ParagraphList::iterator
1634 instead of Paragraph*
1635 Adjust several functions.
1637 * text.C (transformChar): change to take a ParagraphList::iterator
1638 instead of Paragraph*
1639 (singleWidth): ditto
1640 Adjust several functions.
1642 * rowpainter.C: adjust several functions
1643 * rowpainter.h:store a ParagraphList::iterator and not a
1647 2003-04-09 John Levon <levon@movementarian.org>
1652 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1653 and the "help" bits as well
1655 2003-04-09 John Levon <levon@movementarian.org>
1658 * ToolbarBackend.C: allow multiple toolbars
1660 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * undo_funcs.C (setCursorParUndo): adjust
1664 * text_funcs.C (transposeChars): adjust
1666 * text3.C (gotoNextInset): adjust
1669 * text2.C (setLayout): adjust
1670 (changeDepth): adjust
1672 (redoParagraphs): adjust
1673 (selectionAsString): adjust
1674 (setParagraph): adjust
1675 (insertInset): adjust
1676 (cutSelection): adjust
1677 (copySelection): adjust
1678 (pasteSelection): adjust
1679 (insertStringAsLines): adjust
1680 (updateInset): adjust
1681 (setCursor): change to take a ParagraphList::iterator parameter
1682 (setCursorIntern): change to take a ParagraphList::iterator parameter
1683 (setCurrentFont): adjust
1684 (cursorLeft): adjust
1685 (cursorRight): adjust
1686 (deleteEmptyParagraphMechanism): adjust
1688 * text.C (breakParagraph): adjust
1689 (insertChar): adjust
1690 (acceptChange): adjust
1691 (rejectChange): adjust
1692 (selectNextWordToSpellcheck): adjust
1693 (changeCase): adjust
1697 * lyxfind.C (SearchForward): adjust
1698 (SearchBackward): adjust
1699 (nextChange): adjust
1701 * lyxcursor.C (par): adjust
1703 * lyxcursor.h: store a ParagraphList::iterator instead of a
1706 * lyx_cb.C (getPossibleLabel): adjust
1708 * bufferview_funcs.C (toggleAndShow): adjust
1710 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1713 * BufferView.C (removeAutoInsets): adjust
1714 (lockedInsetStoreUndo): adjust
1716 2003-04-09 John Levon <levon@movementarian.org>
1718 * ToolbarBackend.C: try icon without argument
1719 if with argument fails
1721 2003-04-08 John Levon <levon@movementarian.org>
1724 * ToolbarBackend.C: add getIcon(), handle tooltip,
1725 and change from "Icon" to "Item".
1727 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1729 * BufferView.C (lockInset): another bad getchar crunched
1731 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1733 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1736 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1738 * lyxfind.C (searchForward, searchBackwards): bug 782
1740 2003-04-07 John Levon <levon@movementarian.org>
1742 * paragraph.C: remove dead comment
1744 * text.C: remove troublesome depth-fiddling code
1745 in leftMargin() and rightMargin() (bug 1017)
1747 * text.C: fix breaking of rows in nested lists
1750 * text2.C (updateCounters): fix up depth values
1753 2003-04-07 John Levon <levon@movementarian.org>
1755 * BufferView_pimpl.C: clear message when doc finishes resizing,
1756 and after a mouse event
1758 * lyxfunc.C: clear message after exiting inset
1760 2003-04-07 John Levon <levon@movementarian.org>
1762 * bufferview_funcs.C: show math status not outside
1763 status in the statusbar
1765 2003-04-07 John Levon <levon@movementarian.org>
1767 * lyxfunc.C: note status changed after a depth change
1769 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1771 * LaTeX.h: move AuxInfo operator==, != out of line.
1772 Remove LaTeX virtual destructor; nothing derives from it.
1773 Move operator()() out of public area and rename it startscript().
1774 Change protected for private.
1776 2003-04-04 Angus Leeming <leeming@lyx.org>
1779 * text2.C: remove unneeded #includes.
1781 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1783 * text2.C (dEPM): fix the heigth of the next row
1785 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1787 * text.C: squashed an invalid getChar requester + some ws changes
1789 2003-04-03 John Levon <levon@movementarian.org>
1791 * bufferview_funcs.h:
1792 * bufferview_funcs.C:
1795 * text2.C: make getStatus work for the env depth lfuns
1797 2003-04-03 John Levon <levon@movementarian.org>
1799 * bufferview_funcs.h:
1800 * bufferview_funcs.C:
1803 * text2.C: parlistize decDepth(), by merging it with incDepth()
1805 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * lyxrow.h: store a ParagraphList::iterator instead of a
1808 Paragraph* and adjust other class functions to suit.
1810 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1813 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1815 * text2.C (setCursor): do not anchor to cursor row for the time being
1817 2003-04-02 John Levon <levon@movementarian.org>
1824 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1826 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * paragraph.h: make ParagraphList and ParagraphList::iterator
1829 friends of Paragraph.
1831 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1833 * ParagraphList.C: Use the private next_ and previous_ from
1836 2003-04-01 John Levon <levon@movementarian.org>
1840 * Makefile.am: rename, remove defaults gunk
1843 * MenuBackend.C: remove defaults gunk
1846 * Languages.C: remove defaults gunk
1849 * lyx_main.C: error out if files couldn't be found.
1851 2003-04-02 John Levon <levon@movementarian.org>
1853 * text2.C: make incDepth() use parlist
1855 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * undo_funcs.C (firstUndoParagraph): adjust
1859 * text3.C (gotoInset): adjust
1860 (dispatch): adjust, and rewrite loop.
1862 * text2.C (init): adjust, and rewrite loop.
1863 (redoParagraphs): adjust
1864 (updateInset): adjust, and rewrite loop.
1865 (deleteEmptyParagraphMechanism): adjust
1867 * tabular.C (LyXTabular): adjust
1868 (SetMultiColumn): adjust
1871 * lyxtext.[Ch] (ownerParagraph): delete function
1872 (ownerParagraphs): new function returns a ParagraphList.
1874 * BufferView.C (removeAutoInsets): adjust
1875 (insertErrors): adjust
1876 (setCursorFromRow): adjust
1878 2003-04-01 Angus Leeming <leeming@lyx.org>
1880 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1883 2003-04-02 John Levon <levon@movementarian.org>
1889 * text_funcs.C: make transposeChars a free function
1891 * lyxrow_funcs.C: remove wrong comment
1893 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * rowpainter.C: adjust
1901 * lyxrow_funcs. [Ch]: new files
1903 * lyxrow.[Ch]: remove next and previous pointers
1904 (next,previous): remove accessor functions
1905 (isParEnd): move to lyxrow_funcs
1906 (lastPos): move to lyxrow_funcs
1907 (nextRowIsAllInset): move to lyxrow_funcs
1908 (lastPrintablePos): move to lyxrow_funcs
1909 (numberOfSeparators): move to lyxrow_funcs
1910 (numberOfHfills): move to lyxrow_funcs
1911 (numberOfLabelHfills): move to lyxrow_funcs
1912 (hfillExpansion): move to lyxrow_funcs
1916 * bufferview_funcs.C (toggleAndShow): adjust
1918 * RowList.h: Remove class RowList from file leave just a
1921 * RowList.C: delete file
1923 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1926 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * text3.C (cursorPrevious): adjust
1929 (cursorNext): adjust
1932 * text2.C (redoHeightOfParagraph): adjust
1933 (redoDrawingOfParagraph): adjust
1936 * text.C (breakParagraph): adjust
1937 (insertChar): adjust
1940 * rowpainter.C (RowPainter): adjust
1941 (leftMargin): simplify and adjust
1942 (most rowpainter functions): adjust.
1944 * rowpainter.h: store the row as RowList::iterator not as Row*
1946 * lyxcursor.C (row): taka RowList::iterator as arg
1949 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1952 2003-04-01 Angus Leeming <leeming@lyx.org>
1954 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1955 stuff like bool Bool.
1957 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1959 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1962 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1967 * lyxtext.h (rows): drop one version and leve a const variant that
1968 returns a RowList::iterator.
1970 2003-03-31 Angus Leeming <leeming@lyx.org>
1972 * text.C (fill): ensure that the signature is the same as that in the
1975 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * text2.C (redoParagraphs): adjust
1978 (updateCounters): adjust
1979 (checkParagraph): adjust
1980 (getColumnNearX): adjust and reformat a bit.
1982 * text.C (top_y): adjust
1984 (leftMargin): adjust
1985 (prepareToPrint): adjust
1987 (getRowNearY): adjust
1989 * lyxtext.h: make rowlist_ mutable.
1991 * RowList.h: add const_iterator
1992 * RowList.C: adjust for RowList::const_iterator.
1994 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1997 2003-03-31 John Levon <levon@movementarian.org>
2000 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2002 * lyx_main.C: set default fonts from using lyx_gui funcs
2004 * exporter.C: pdf_mode moved from lyxrc
2007 * lyxfunc.C: changes from above
2009 2003-03-31 John Levon <levon@movementarian.org>
2011 * lyx_main.C: fix to the last fix
2013 2003-03-31 John Levon <levon@movementarian.org>
2015 * bufferlist.C: "Load original" -> "Load Original"
2021 * format.C: more Alert cleanups
2023 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * text2.C (removeParagraph): make it take a RowList::iterator as
2027 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2028 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2030 * text.C (anchor_row): make it take a RowList::iterator as arg,
2032 (computeBidiTables): make it take a const reference to Row instead
2033 of Row pointer, adjust.
2034 (leftMargin): make it take a RowList::iterator as arg, adjust.
2035 (rowBreakPoint): adjust
2036 (breakAgainOneRow): make it take a RowList::iterator as arg,
2038 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2040 * bufferview_funcs.C (toggleAndShow): adjust
2042 2003-03-30 John Levon <levon@movementarian.org>
2046 * boost-inst.C: moved to support
2048 * several files: changes as a result
2050 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * text2.C (LyXText): adjust.
2054 (removeRow): make it take a RowList::iterator as arg, adjust.
2055 (fullRebreak): adjust
2056 (deleteEmptyParagraphMechanism): adjust
2057 (clearPaint): adjust
2060 * text.C (top_y): adjust
2061 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2062 (breakAgain): make it take a RowList::iterator as arg, adjust.
2063 (breakParagraph): adjust
2064 (insertChar): adjust
2067 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2068 need_break_row, and refresh_row.
2070 * text3.C (dispatch): adjust
2072 * text2.C (checkParagraph): adjust
2074 (setCursorFromCoordinates): adjust
2076 * text.C (top_y): adjust
2078 (getRow): make it return a RowList::iterator, adjust
2079 (getRowNearY): make it return a RowList::iterator, adjust
2081 * text2.C (init): adjust
2082 (insertRow): remove function
2083 (insertParagraph): adjust
2084 (redoParagraphs): adjust
2085 (fullRebreak): adjust
2086 (updateCounters): adjust
2088 * text.C (top_y): rewrite to use RowList iterators.
2090 (setHeightOfRow): rewrite to sue RowList iterators.
2091 (appendParagraph): adjust
2092 (breakAgain): adjust
2093 (breakAgainOneRow): adjust
2094 (breakParagraph): adjust
2096 (getRowNearY): adjust, and remove commented code.
2098 * lyxtext.h (firstRow): delete function
2099 (lastRow): delete function
2100 (rows): new function (const and non-const versions.)
2101 (insertRow): delete function
2103 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2105 2003-03-29 John Levon <levon@movementarian.org>
2107 * BufferView_pimpl.C: always update scrollbar top
2108 because pasting text when we're anchored could mean we
2109 miss an update altogether
2111 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * text2.C (init): use rowlist_.end() and not 0.
2114 (insertRow): change to take a RowList::iterator as arg, adjust
2116 (insertParagraph): change to take a RowList::iterator as arg,
2118 (redoParagraphs): remove some debug msgs.
2120 * text.C (appendParagraph): change to take a RowList::iterator
2121 arg, adjust for this.
2122 (breakAgain): add an assert
2123 (breakAgainOneRow): ditto
2125 2003-03-29 John Levon <levon@movementarian.org>
2127 * text2.C: do not clear selection after inc/decDepth
2130 2003-03-29 John Levon <levon@movementarian.org>
2133 * buffer.C: fix broken strerrors according to Lars
2135 2003-03-29 John Levon <levon@movementarian.org>
2137 * converters.C: more Alert cleanups
2139 2003-03-29 John Levon <levon@movementarian.org>
2141 * bufferview_funcs.C: remove pointless Alert
2143 * buffer.C: fix confusing error message when
2144 a template is chmoded 000
2146 2003-03-29 John Levon <levon@movementarian.org>
2150 * BufferView_pimpl.C: Alert fixes
2154 * tabular-old.C: remove unused table compat reading
2156 2003-03-29 John Levon <levon@movementarian.org>
2161 * lyx_cb.C: more Alert cleanups
2163 * lyxfunc.C: don't allow chktex if not latex document
2165 2003-03-29 John Levon <levon@movementarian.org>
2169 * buffer.C: warnings pushed down from support/,
2172 2003-03-29 John Levon <levon@movementarian.org>
2174 * lyxfunc.C: safety check for C-r (revert)
2176 2003-03-29 John Levon <levon@movementarian.org>
2179 * bufferlist.C: several UI fixes using Alert::prompt.
2180 Fix the pointless looping quit code. Fix stupid revert
2185 * lyx_cb.C: use Alert::prompt
2187 * lyx_main.C: remove a silly question
2189 * lyxfunc.C: remove a couple of silly questions,
2192 2003-03-28 John Levon <levon@movementarian.org>
2194 * text2.C: fix bug 974 (End on empty par)
2196 2003-03-28 John Levon <levon@movementarian.org>
2198 * BufferView_pimpl.C:
2200 * lfuns.h: remove do-nothing math greek lfuns
2202 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * lyxgluelength.h (isValidGlueLength): add default arg on
2205 parameter 2. Remove default arg from friend in class.
2207 * lyxlength.h (isValidLength): add default arg on parameter 2.
2208 Remove default arg from friend in class.
2210 * text2.C (LyXText): adjust, initialize refresh_row.
2214 (insertParagraph): adjst
2215 (redoParagraphs): adjust
2216 (fullRebreak): adjust
2217 (updateCounters): adjust
2218 (deleteEmptyParagraphMechanism): first attempt at fixing a
2221 * text.C (top_y): adjust
2222 (setHeightOfRow): adjust
2224 (getRowNearY): adjust
2226 * lyxtext.h: include RowList.h
2227 (~LyXText): not needed anymore, deleted.
2228 (firstRow): modify for RowList
2229 (lastRow): new function
2230 Delete firstrow and lastrow class variables, add a Rowlist
2231 rowlist_ class variable.
2233 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2236 * RowList.C (insert): fix case where it == begin().
2238 2003-03-26 Angus Leeming <leeming@lyx.org>
2240 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2241 the thesaurus dialog.
2243 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2247 * RowList.[Ch]: new files
2249 * ParagraphList.C (erase): handle the case where it == begin
2252 2003-03-25 John Levon <levon@movementarian.org>
2256 * aspell.C: add new aspell support
2259 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2262 2003-03-25 Angus Leeming <leeming@lyx.org>
2265 * LyXAction.C (init): new LFUN_INSET_INSERT.
2267 * BufferView_pimpl.C (dispatch): split out part of the
2268 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2270 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2273 2003-03-25 Angus Leeming <leeming@lyx.org>
2275 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2277 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2280 * text3.C: remove useless row->height(0)
2282 2003-03-25 John Levon <levon@movementarian.org>
2286 * text3.C: rename the refreshing stuff to better names
2288 2003-03-24 John Levon <levon@movementarian.org>
2290 * BufferView_pimpl.h:
2291 * BufferView_pimpl.C: update layout choice on a mouse
2294 2003-03-23 John Levon <levon@movementarian.org>
2296 * Makefile.am: fix commandtags.h reference
2298 2003-03-22 John Levon <levon@movementarian.org>
2300 * BufferView_pimpl.C:
2305 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2307 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2310 * text.C: take the rtl methods out of line
2312 2003-03-21 André Pönitz <poenitz@gmx.net>
2314 * metricsinfo.[Ch]: new files containing structures to be passed around
2315 during the two-phase-drawing...
2317 2003-03-21 André Pönitz <poenitz@gmx.net>
2319 * lyxtextclass.C: read 'environment' tag.
2321 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2323 * text2.C (removeRow): fix bug 964
2325 2003-03-20 John Levon <levon@movementarian.org>
2329 * text2.C: paint cleanups. Inset::update() dropped font
2332 2003-03-19 John Levon <levon@movementarian.org>
2334 * lyxfunc.C: only fitcursor/markDirty if available()
2336 2003-03-19 John Levon <levon@movementarian.org>
2338 * commandtags.h: rename to ...
2340 * lfuns.h: ... this, and renumber / cleanup
2342 2003-03-19 John Levon <levon@movementarian.org>
2344 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2345 fit the cursor after an lfun
2349 * BufferView_pimpl.h:
2350 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2352 * LyXAction.C: layout-character should have ReadOnly
2354 * ParagraphParameters.C:
2356 * bufferview_funcs.C:
2363 * undo_funcs.C: changes from above
2365 2003-03-18 John Levon <levon@movementarian.org>
2367 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2368 remove it from update()
2370 * lyxfunc.C: update layout choice after an lfun
2372 * text3.C: remove extra updateLayoutChoice()s
2374 2003-03-18 John Levon <levon@movementarian.org>
2376 * text.C: top_y change means full repaint, fix
2377 a drawing bug with cursor movement
2379 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2383 * text2.C: anchor row on setCursor
2385 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2387 * lyxtext.h: remove almost all mutable keywords
2390 * text3.C: remove const keywords accordingly
2392 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2396 (TeXEnvironment): ditto
2399 2003-03-17 John Levon <levon@movementarian.org>
2401 * text.C (rowBreakPoint): remove attempt to fix displayed
2402 math insets inside a manual label
2404 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * lyxtext.h: remove BufferView* as first arg from almost all class
2408 * other files: adjust.
2410 2003-03-17 John Levon <levon@movementarian.org>
2414 * text2.C: more paint cleanups
2416 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2419 * rowpainter.C: remove "smart" background painting code
2421 2003-03-16 John Levon <levon@movementarian.org>
2426 * text3.C: add helper functions for setting refresh_row/y
2428 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2430 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2431 newline inset which *can* get inserted in the pass_thru layouts.
2432 This is primarily for literate documents.
2434 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2436 * buffer.C: increment LYX_FORMAT to 223
2438 2003-03-14 André Pönitz <poenitz@gmx.net>
2440 * textclass.h: prepare for environment handling, ws changes
2441 * lyxlayout.C: read latexheader and latexfooter tags
2443 2003-03-14 John Levon <levon@movementarian.org>
2445 * text2.C: rewrite ::status() a bit
2447 2003-03-13 John Levon <levon@movementarian.org>
2449 * lyxtext.h: add some docs
2451 2003-03-13 John Levon <levon@movementarian.org>
2456 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2458 2003-03-13 John Levon <levon@movementarian.org>
2460 * text3.C: fix appendix redrawing
2462 2003-03-13 John Levon <levon@movementarian.org>
2464 * text.C (setHeightOfRow):
2466 * rowpainter.C: make appendix mark have the text
2467 "Appendix" so the user knows what it is
2470 * LColor.C: s/appendixline/appendix/ from above
2472 2003-03-13 John Levon <levon@movementarian.org>
2474 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2476 * text.C: fix a getChar(pos) bug properly
2478 2003-03-13 Angus Leeming <leeming@lyx.org>
2481 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2482 Probably only temporary. Let's see how things pan out.
2484 * BufferView.C (unlockInset):
2485 * BufferView_pimpl.C (fitCursor):
2486 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2488 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2489 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2491 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2492 new functions that convert ParagraphParameters to and from a string.
2494 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2495 BufferView::Pimpl's dispatch.
2496 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2498 2003-03-13 André Pönitz <poenitz@gmx.net>
2502 * factory.C: make it aware of InsetEnv
2504 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * text2.C (setCursor): never ask for one past last
2507 (setCursor): add some debugging messages.
2509 * text.C (singleWidth): never ask for one past last
2510 (singleWidth): ditto
2512 (rightMargin): ditto
2513 (rowBreakPoint): ditto
2514 (setHeightOfRow): ditto
2515 (prepareToPrint): ditto
2517 * rowpainter.C (paintBackground): never ask for one past last
2518 (paintText): never ask for one past last
2520 * paragraph_pimpl.C (getChar): make the assert stricter, never
2521 allow the one past last pos to be taken
2523 * paragraph.C (getChar): ws changes only
2525 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2526 (numberOfSeparators): ditto
2527 (numberOfHfills): ditto
2529 2003-03-12 John Levon <levon@movementarian.org>
2535 * paragraph_funcs.C: fix per-buffer authorlists
2537 2003-03-12 John Levon <levon@movementarian.org>
2539 * text.C: fix newline in right address
2541 2003-03-12 Angus Leeming <leeming@lyx.org>
2543 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2544 duplicate those in LyXFunc::dispatch.
2548 * ToolbarDefaults.C:
2549 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2550 Add LFUN_FONTFREE_UPDATE.
2552 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2553 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2555 * bufferview_func.[Ch]: several new functions to facilliate
2556 transfer of data to and from the character dialog.
2558 2003-03-12 John Levon <levon@movementarian.org>
2563 * paragraph_funcs.C:
2564 * paragraph_pimpl.C:
2568 * text3.C: remove META_NEWLINE in favour of an inset
2571 * rowpainter.C: remove paintNewline (done by inset)
2573 2003-03-12 John Levon <levon@movementarian.org>
2575 * paragraph_pimpl.C: complain about bad getChar()s
2576 for a while at least
2578 2003-03-12 John Levon <levon@movementarian.org>
2581 * buffer.C: move paragraph read into a separate function,
2582 a little renaming to reflect that.
2585 * bufferparams.C: remove the author_ids map, not necessary now
2588 * factory.C: moved Buffer::readInset to here
2590 * paragraph_funcs.h:
2591 * paragraph_funcs.C: readParagraph free function moved from
2594 * tabular.C: name change
2596 2003-03-12 John Levon <levon@movementarian.org>
2599 * ParagraphParameters.C: move par params input to
2602 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2603 behave like a normal read from the stream wrt reading
2604 a line vs. a \\token
2606 2003-03-12 John Levon <levon@movementarian.org>
2609 * ParagraphParameters.h:
2610 * ParagraphParameters.C: move output code to a
2613 2003-03-12 John Levon <levon@movementarian.org>
2615 * BufferView.C (insertLyXFile):
2618 * tabular.C: use a parlist iterator for creating the
2621 2003-03-12 John Levon <levon@movementarian.org>
2623 * buffer.C: make current_change static local not
2626 2003-03-12 John Levon <levon@movementarian.org>
2628 * buffer.C: fix insertStringAsLines for change tracking
2630 2003-03-12 John Levon <levon@movementarian.org>
2637 * bufferparams.C: move author list into params. Rename some
2638 functions. Move the header reading into a separate token
2639 loop. Move the header token reading into BufferParams.
2641 2003-03-12 John Levon <levon@movementarian.org>
2643 * changes.C: put debug inside lyxerr.debugging() checks
2645 2003-03-11 André Pönitz <poenitz@gmx.net>
2647 * factory.C: make it aware of InsetHFill
2649 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2651 * buffer.C (latexParagraphs): move function from here...
2652 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2655 2003-03-10 Angus Leeming <leeming@lyx.org>
2657 * LyXAction.C (init): fix bug in poplating array with multiple entries
2658 with the same LFUN (spotted by JMarc).
2660 2003-03-10 John Levon <levon@movementarian.org>
2663 * text2.C: move getColumnNearX() near its
2666 2003-03-10 John Levon <levon@movementarian.org>
2668 * text.C: fix break before a minipage
2670 2003-03-10 John Levon <levon@movementarian.org>
2672 * text.C: fix the last commit
2674 2003-03-09 John Levon <levon@movementarian.org>
2678 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2679 bug 365 (don't break before insets unless needed). Don't
2680 return a value > last under any circumstances.
2682 2003-03-09 Angus Leeming <leeming@lyx.org>
2684 * BufferView_pimpl.C (trackChanges, dispatch): call
2685 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2687 2003-03-09 Angus Leeming <leeming@lyx.org>
2689 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2690 than Dialogs::showAboutlyx().
2692 2003-03-09 Angus Leeming <leeming@lyx.org>
2694 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2695 than Dialogs::showTabularCreate().
2697 2003-03-09 John Levon <levon@movementarian.org>
2701 * text2.C: 3rd arg to nextBreakPoint was always the same.
2704 2003-03-08 John Levon <levon@movementarian.org>
2711 * text2.C: Remove the "main" bit from the "main body"
2714 2003-03-08 John Levon <levon@movementarian.org>
2716 * text.C (leftMargin): The left margin of an empty
2717 manual label paragraph should not include the label width
2720 * text.C (prepareToPrint): don't attempt to measure hfills
2721 for empty manual label paragraphs - the answer should be 0
2723 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * CutAndPaste.C: remove commented code and reindent.
2727 2003-03-08 John Levon <levon@movementarian.org>
2730 * lyxfunc.C: move reloadBuffer()
2733 * BufferView.C: to here
2735 * lyxvc.C: add comment
2738 * vc-backend.C: call bv->reload() to avoid
2739 getStatus() check on MENURELOAD
2741 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2743 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2744 to an old format .dep file.
2746 2003-03-07 Angus Leeming <leeming@lyx.org>
2748 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2749 when the LFUN_MOUSE_RELEASE should have been handled by
2750 inset->localDispatch.
2752 2003-03-07 Angus Leeming <leeming@lyx.org>
2754 * BufferView_pimpl.C (dispatch):
2755 * LyXAction.C (init):
2756 * ToolbarDefaults.C (init):
2758 * lyxfunc.C (getStatus):
2759 remove LFUN_INSET_GRAPHICS.
2761 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2763 2003-03-07 Angus Leeming <leeming@lyx.org>
2766 * LyXAction.C (init):
2767 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2769 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2772 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2774 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2775 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2777 2003-03-07 Angus Leeming <leeming@lyx.org>
2779 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2782 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * ParagraphList.C (front): new function
2787 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2789 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2790 and top_row_offset_. removed var first_y.
2792 * text2.C (LyXText, removeRow):
2794 * BufferView_pimpl.C:
2795 use these methods instead of using first_y
2797 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * text2.C (pasteSelection): adjust for checkPastePossible
2801 * CutAndPaste.C: remove Paragraph * buf and replace with
2802 ParagraphList paragraphs.
2803 (DeleteBuffer): delete
2804 (cutSelection): change the tc type to textclass_type
2805 (copySelection): change the tc type to textclass_type
2806 (copySelection): adjust for ParagraphList
2807 (pasteSelection): change the tc type to textclass_type
2808 (pasteSelection): adjust for Paragraphlist
2809 (nrOfParagraphs): simplify for ParagraphList
2810 (checkPastePossible): simplify for ParagraphList
2811 (checkPastePossible): remove unused arg
2813 * ParagraphList.C (insert): handle the case where there are no
2816 * CutAndPaste.h: make CutAndPaste a namespace.
2818 * text3.C (dispatch): adjust
2820 * text.C (breakParagraph): add a ParagraphList as arg
2822 * paragraph_funcs.C (breakParagraph): change to take a
2823 BufferParams and a ParagraphList as args.
2824 (breakParagraphConservative): ditto
2825 (mergeParagraph): ditto
2826 (TeXDeeper): add a ParagraphList arg
2827 (TeXEnvironment): ditto
2830 * buffer.C (readLyXformat2): adjust
2831 (insertStringAsLines): adjust
2832 (latexParagraphs): adjust
2834 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2835 (cutSelection): adjust
2836 (pasteSelection): adjust
2838 * BufferView_pimpl.C (insertInset): adjust
2840 2003-03-05 Angus Leeming <leeming@lyx.org>
2843 * LyXAction.C (init):
2844 * BufferView_pimpl.C (dispatch):
2845 * lyxfunc.C (getStatus):
2846 remove LFUN_CHILD_INSERT.
2848 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2850 2003-03-05 Angus Leeming <leeming@lyx.org>
2853 * LyXAction.C (init):
2854 * src/factory.C (createInset):
2855 * lyxfunc.C (getStatus):
2856 * text3.C (dispatch):
2857 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2859 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2861 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * ParagraphList.C (insert): handle insert right before end()
2864 (erase): fix cases where it can be first or last paragraph.
2866 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2869 Paragraph::next and Paragraph::previous
2872 * text.C (breakParagraph): adjust
2874 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2875 BufferParams& as arg.
2876 (breakParagraph): use ParagraphList::insert
2877 (breakParagraphConservative): take a Buffer* instead of a
2878 BufferParams& as arg.
2879 (breakParagraphConservative): use ParagraphList::insert.
2881 * buffer.C (insertStringAsLines): un-const it
2882 (insertStringAsLines): adjust
2884 * ParagraphList.C (insert): new function
2886 * CutAndPaste.C (pasteSelection): adjust
2888 * text.C (backspace): adjust
2890 * tabular.C (SetMultiColumn): adjust
2892 * CutAndPaste.C (cutSelection): adjust
2893 (pasteSelection): adjust
2895 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2896 Buffer const * as arg
2898 * ParagraphList.C (erase): new function
2899 * paragraph_funcs.C (mergeParagraph): use it
2900 (mergeParagraph): make it take a Buffer* instead of a
2901 BufferParams* as arg
2903 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2905 (breakParagraphConservative): ditto
2907 * paragraph.h: remove the breakParagraph friend
2909 * paragraph.C (eraseIntern): new function
2910 (setChange): new function
2912 * paragraph_funcs.C (mergeParagraph): make it take a
2913 ParagraphList::iterator instead of a Paragraph *, adjust
2916 * paragraph.h: move an #endif so that the change tracking stuff
2917 also works in the NO_NEXT case.
2919 2003-03-04 Angus Leeming <leeming@lyx.org>
2922 * LyXAction.C: new LFUN_INSET_MODIFY.
2924 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2925 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2927 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2929 * several files: ws changes only
2931 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2932 (TeXEnvironment): ditto
2935 * buffer.C (makeLaTeXFile): adjust
2936 (latexParagraphs): make it take ParagraphList::iterator as args
2938 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * buffer.C (latexParagraphs): adjust
2942 * paragraph.C (TeXOnePar): move function...
2943 (optArgInset): move function...
2944 (TeXEnvironment): move function...
2945 * paragraph_pimpl.C (TeXDeeper): move function...
2946 * paragraph_funcs.C: ...here
2948 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2950 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * buffer.C (readInset): remove compability code for old Figure and
2955 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * buffer.C: ws changes
2960 * BufferView_pimpl.C: ditto
2963 * bufferlist.h: ditto
2967 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2969 * converter.[Ch]: split into itself +
2972 * Makefile.am: += graph.[Ch] + format.[Ch]
2979 * lyxrc.C: added #include "format.h"
2981 2003-02-27 Angus Leeming <leeming@lyx.org>
2983 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2986 * factory.C (createInset): add "label" to the factory.
2988 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2989 string and do no more.
2991 2003-02-27 Angus Leeming <leeming@lyx.org>
2994 * LyXAction.C (init):
2995 * factory.C (createInset):
2996 * BufferView_pimpl.C (dispatch):
2997 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2999 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3001 * lyxfunc.C (dispatch):
3002 * text3.C (dispatch): pass name to params2string.
3004 2003-02-26 Angus Leeming <leeming@lyx.org>
3006 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3008 Rearrange the ~includes. Strip out the unnecessary ones.
3010 * factory.C (createInset): reformat.
3011 create new insets for the various LFUN_XYZ_APPLY lfuns.
3013 2003-02-26 John Levon <levon@movementarian.org>
3016 * lyxrow.C: add isParStart,isParEnd helpers
3018 * paragraph.h: make isInserted/DeletedText take refs
3020 * paragraph_funcs.h:
3021 * paragraph_funcs.C: remove #if 0'd code
3026 * text.C: use lyxrow helpers above.
3027 Move draw and paint routines to RowPainter.
3028 Make several methods use refs not pointers.
3029 Make backgroundColor() const.
3030 Add markChangeInDraw(), isInInset().
3031 Merge changeRegionCase into changeCase.
3032 Make workWidth() shouldn't-happen code into an Assert.
3035 * rowpainter.C: new class for painting a row.
3038 * vspace.C: make inPixels take a ref
3040 2003-02-26 Angus Leeming <leeming@lyx.org>
3042 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3045 2003-02-25 John Levon <levon@movementarian.org>
3047 * ispell.C: give the forked command a more accurate name
3049 2003-02-22 John Levon <levon@movementarian.org>
3052 * toc.C: make TocItem store an id not a Paragraph *
3055 2003-02-21 Angus Leeming <leeming@lyx.org>
3057 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3058 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3059 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3060 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3061 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3062 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3064 * BufferView_pimpl.C (dispatch):
3065 * LyXAction.C (init):
3066 * factory.C (createInset):
3067 * lyxfunc.C (getStatus, dispatch):
3068 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3070 2003-02-21 Angus Leeming <leeming@lyx.org>
3072 * BufferView_pimpl.C (MenuInsertLyXFile):
3073 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3074 * lyxfunc.C (menuNew, open, doImport):
3075 no longer pass a LyXView & to fileDlg.
3077 2003-02-21 Angus Leeming <leeming@lyx.org>
3079 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3080 * LyXAction.C: change, BIBKEY to BIBITEM.
3081 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3082 Change InsetBibKey to InsetBibitem.
3083 Change BIBKEY_CODE to BIBITEM_CODE.
3084 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3085 * factory.C: replace insetbib.h with insetbibitem.h.
3086 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3087 * paragraph.C: replace insetbib.h with insetbibitem.h.
3088 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3089 Change bibkey() to bibitem().
3090 * text.C: remove insetbib.h.
3091 * text2.C: replace insetbib.h with insetbibitem.h.
3092 change bibkey() to bibitem().
3093 * text3.C: remove insetbib.h.
3094 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3096 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3098 * lyxrc.C (output): enclose user email in quotes (in case there are
3101 2003-02-18 John Levon <levon@movementarian.org>
3103 * buffer.h: add std::
3105 2003-02-17 John Levon <levon@movementarian.org>
3111 * pspell.C: reworking. Especially in ispell, a large
3112 number of clean ups and bug fixes.
3114 * lyxfunc.C: fix revert to behave sensibly
3116 2003-02-17 André Pönitz <poenitz@gmx.net>
3119 * commandtags.h: new LFUN_INSERT_BIBKEY
3129 * paragraph_func.C: remove special bibkey handling
3131 2003-02-17 John Levon <levon@movementarian.org>
3133 * text.C (Delete): fix case where delete at the end of
3134 the very first paragraph would not merge the pars
3136 2003-02-17 John Levon <levon@movementarian.org>
3138 * lyxrow.C: fix lastPrintablePos()
3140 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3142 * bufferparams.C (writeLaTeX): add a std:here
3144 * buffer.C: and remove a using directive there
3146 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3148 * buffer.C (makeLaTeXFile): move the code that generates the
3151 * bufferparams.C (writeLaTeX): ... in this new method
3153 * LaTeXFeatures.C (getEncodingSet): make const
3154 (getLanguages): make const
3156 * MenuBackend.C (binding): returns the binding associated to this
3158 (add): sets the status of each item by calling getStatus. Adds
3160 (read): add support for OptSubMenu
3161 (expand): remove extra separator at the end of expanded menu
3163 2003-02-15 John Levon <levon@movementarian.org>
3166 * BufferView_pimpl.C:
3168 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3169 inset code that had no actual effect. Remove unneeded status
3172 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3174 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3177 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3179 * text.C (drawLengthMarker): also draw an arrow marker for
3180 symbolic lengths (medskip...)
3182 2003-02-14 John Levon <levon@movementarian.org>
3185 * tabular.C: better method names
3187 2003-02-14 John Levon <levon@movementarian.org>
3189 * BufferView_pimpl.C:
3194 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3195 it's a more accurate name. Remove some pointless uses.
3197 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3199 * text2.C (LyXText): change order of initilizers to shut off
3202 2003-02-14 John Levon <levon@movementarian.org>
3204 * buffer.C: use ParIterator for getParFromID()
3208 * paragraph_pimpl.h:
3209 * paragraph_pimpl.C: remove unused getParFromID()
3211 2003-02-14 John Levon <levon@movementarian.org>
3213 * buffer.C: remove some very old #if 0'd parse code
3215 2003-02-13 John Levon <levon@movementarian.org>
3219 * text2.C: move hfillExpansion(), numberOfSeparators(),
3220 rowLast(), rowLastPrintable(), numberofHfills(),
3221 numberOfLabelHfills() ...
3224 * lyxrow.C: ... to member functions here.
3229 * text.C: remove LyXText::beginningOfMainBody(), and call
3230 p->beginningOfMainBody() directly. Move the check for
3231 LABEL_MANUAL into the latter.
3238 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3244 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3245 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3247 2003-02-13 John Levon <levon@movementarian.org>
3249 * CutAndPaste.C: remove debug
3251 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3253 * paragraph.C (asString): remove two unused variables
3255 * lyxtextclass.C (readTitleType):
3257 (LyXTextClass): handle new members titletype_ and titlename_
3259 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3261 2003-02-09 John Levon <levon@movementarian.org>
3264 * buffer.C: replace hand-coded list with a map for the dep clean
3266 2003-02-08 John Levon <levon@movementarian.org>
3268 * LaTeX.C: consolidate code into showRunMessage() helper
3270 2003-02-08 John Levon <levon@movementarian.org>
3275 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3276 and pass the size in explicitly
3278 * BufferView_pimpl.h:
3279 * BufferView_pimpl.C:
3281 * BufferView.C: add getCurrentChange()
3283 * BufferView_pimpl.h:
3284 * BufferView_pimpl.C: handle change lfuns
3286 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3287 for changes. Mark pasted paragraphs as new.
3289 * support/lyxtime.h:
3290 * support/lyxtime.C:
3291 * DepTable.C: abstract time_t as lyx::time_type
3294 * LColor.C: add colours for new text, deleted text, changebars
3296 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3297 package use "usenames" option.
3301 * LyXAction.C: add change lfuns
3305 * author.C: author handling
3308 * buffer.C: add a per-buffer author list, with first entry as
3309 current author. Handle new .lyx tokens for change tracking. Output
3310 author list to .lyx file. Output dvipost stuff to .tex preamble.
3311 Bump lyx format to 222.
3314 * bufferlist.C: add setCurrentAuthor() to reset current author details
3318 * bufferparams.C: add param for tracking
3320 * bufferview_funcs.C: output change info in minibuffer
3324 * changes.C: add change-tracking structure
3327 * debug.C: add CHANGES debug flag
3330 * lyxfind.C: add code for finding the next change piece
3333 * lyxrc.C: add user_name and user_email
3336 * lyxrow.C: add a metric for the top of the text line
3339 * text.C: implement accept/rejectChange()
3342 * text.C: paint changebars. Paint new/deleted text in the chosen
3343 colours. Strike through deleted text.
3347 * paragraph_pimpl.h:
3348 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3349 in the current change to the insert functions. Rework erase to
3350 mark text as deleted, adding an eraseIntern() and a range-based
3351 erase(). Implement per-paragraph change lookup and
3354 * paragraph_funcs.C: Fixup paste for change tracking.
3356 * tabular.C: mark added row/columns as new.
3358 * text.C: fix rowLast() to never return -1. Don't allow
3359 spellchecking of deleted text. Track transpose changes. Don't
3360 allow paragraph break or merge where appropriate.
3362 * text2.C: leave cursor at end of selection after a cut.
3364 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3366 * text.C (getLengthMarkerHeight):
3367 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3368 visible on screen too.
3370 2003-02-07 John Levon <levon@movementarian.org>
3372 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3374 2003-02-05 Angus Leeming <leeming@lyx.org>
3376 * lyxserver.C (read_ready): revert my patch of 11 September last year
3377 as it sends PC cpu through the roof. Presumably this means that
3378 the lyxserver will no longer run on an Alpha...
3380 2003-01-30 Angus Leeming <leeming@lyx.org>
3382 * factory.C (createInset): create an InsetCommandParam of type "index"
3383 and use it to 'do the right thing'.
3385 * text2.C (getStringToIndex): ensure that cursor position is always
3386 reset to the reset_cursor position.
3388 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3390 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3393 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3397 * lyxfunc.C: Output messages with identical spelling, punctuation,
3400 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3402 * MenuBackend.C (expandFormats): List only viewable export formats
3405 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3408 * lyxfunc.C (getStatus): Make sure that formats other than
3409 "fax" can also be disabled
3411 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3413 * text3.C (dispatch): put the lfuns that insert insets in 3
3414 groups, and call doInsertInset with appropriate arguments.
3415 (doInsertInset): new function, that creates an inset and inserts
3416 it according to some boolean parameters.
3418 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * buffer.C (readFile): remember to pass on 'par' when calling
3421 readFile recursively.
3423 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3425 * MenuBackend.C (expandFormats): add "..." to import formats.
3427 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3429 * paragraph.C (asString): Remove XForms RTL hacks.
3431 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3432 * buffer.C: fix typo
3434 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * Makefile.am (LIBS): delete var
3437 (lyx_LDADD): add @LIBS@ here instead.
3439 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3441 * Clarify the meaning of "wheel mouse jump"
3443 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3445 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3448 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3450 * importer.C (Loaders): do not preallocate 3 elements in the
3451 vector, since one ends up with 6 elements otherwise
3453 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3455 * DepTable.C (write): write the file name as last element of the
3456 .dep file (because it may contain spaces)
3457 (read): read info in the right order
3459 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3461 * paragraph_pimpl.C (simpleTeXBlanks):
3462 (simpleTeXSpecialChars):
3463 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3465 * tabular.C (latex): add some missing case statements. Reindent.
3467 * MenuBackend.C (expandToc): remove unused variable.
3469 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3478 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3481 2003-01-05 John Levon <levon@movementarian.org>
3484 * BufferView.C: add getEncoding()
3487 * kbsequence.C: do not store last keypress
3490 * lyxfunc.C: store last keypress here instead. Pass encoding
3493 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3495 * lyx_main.C (init): remove annoying error message when following
3496 symbolic links (bug #780)
3498 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3500 * text.C (insertChar):
3501 * lyxrc.C (getDescription): remove extra spaces
3503 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3505 * lyxrc.C (getDescription): remove extra spaces
3507 2002-12-20 John Levon <levon@movementarian.org>
3509 * text3.C: hack fix for page up/down across tall rows
3511 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3513 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3516 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3518 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3519 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3520 thesaurus is not compiled in
3522 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3524 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3526 2002-12-16 Angus Leeming <leeming@lyx.org>
3529 * lyx_main.C (init): remove override_x_deadkeys stuff.
3531 2002-12-12 John Levon <levon@movementarian.org>
3533 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3534 insert. Only remove shift modifier under strict
3537 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * MenuBackend.C (expandToc): fix crash.
3541 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * MenuBackend.C (expandToc): gettext on float names.
3545 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3547 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3548 implement bool empty() [bug 490]
3550 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3554 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * several files: ws changes
3558 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * text2.C (setCounter): clean up a bit, use boost.format.
3561 (updateCounters): initialize par upon declaration.
3563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3564 if the layout exists. We do not just store the layout any more.
3565 (SwitchLayoutsBetweenClasses): use boost.format
3567 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3569 * converter.C (convert): if from and to files are the same, use a
3570 temporary files as intermediary
3572 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3575 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3577 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3579 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3581 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * tabular.C (asciiPrintCell): use string(size, char) instead of
3586 * sgml.C (openTag): fix order of arguments to string constructor
3589 * lyxfunc.C (dispatch): use boost.format
3591 * lots of files: change "c" -> 'c'
3593 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3595 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3597 2002-11-25 Angus Leeming <leeming@lyx.org>
3599 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3601 * lyx_main.C (init): compile fix.
3603 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * lyx_cb.C (start): boost.formatify
3606 do not include <iostream>
3608 * lengthcommon.C: ws only
3610 * boost-inst.C,BoostFormat.h: add more explict instantations
3612 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * lots of files: handle USE_BOOST_FORMAT
3616 2002-11-21 John Levon <levon@movementarian.org>
3618 * pspell.C: fix compile
3620 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3622 * lyxfunc.C (dispatch): use boost::format
3626 * lyxfont.C (stateText): use boost::format
3628 * lyx_main.C (LyX): use boost::format
3630 (queryUserLyXDir): ditto
3633 (typedef boost::function): use the recommened syntax.
3635 * importer.C (Import): use boost::format
3637 * debug.C (showLevel): use boost::format
3639 * converter.C (view): use boost::format
3644 * bufferview_funcs.C (currentState): use boost::format
3646 * bufferlist.C (emergencyWrite): use boost::format
3648 * buffer.C (readLyXformat2): use boost::format
3649 (parseSingleLyXformat2Token): ditto
3651 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3653 * LaTeX.C (run): use boost::format
3655 * Chktex.C (scanLogFile): use boost::format
3657 * BufferView_pimpl.C (savePosition): use boost::format
3658 (restorePosition): ditto
3659 (MenuInsertLyXFile): ditto
3661 * BoostFormat.h: help file for explicit instation.
3663 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3665 * tabular.C (latex): Support for block alignment in fixed width
3668 2002-11-17 John Levon <levon@movementarian.org>
3670 * BufferView_pimpl.C:
3672 * lyxfunc.C: split filedialog into open/save
3674 2002-11-08 Juergen Vigna <jug@sad.it>
3676 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3677 by my last patch (hopefully).
3679 2002-11-08 John Levon <levon@movementarian.org>
3688 * toc.C: ParConstIterator, and use it (from Lars)
3690 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3692 * lyxtextclass.[Ch]: revise and add doxygen comments
3694 2002-11-07 John Levon <levon@movementarian.org>
3696 * text.C: fix progress value for spellchecker
3698 * toc.C: fix navigate menu for insetwrap inside minipage
3700 * paragraph_funcs.C: added FIXME for suspect code
3702 2002-11-07 John Levon <levon@movementarian.org>
3704 * BufferView_pimpl.C: fix redrawing of insets
3707 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3709 * text2.C (updateCounters): fix bug 668
3711 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3713 * text3.C (dispatch): Do not make the buffer dirty when moving the
3716 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * vc-backend.C: STRCONV
3721 * text2.C (setCounter): STRCONV
3723 * paragraph.C (asString): STRCONV
3725 * lyxlength.C (asString): STRCONV
3726 (asLatexString): ditto
3728 * lyxgluelength.C (asString): STRCONV
3729 (asLatexString): ditto
3731 * lyxfunc.C (dispatch): STRCONV
3734 * lyxfont.C (stateText): STRCONV
3736 * importer.C (Import): STRCONV
3738 * counters.C (labelItem): STRCONV
3739 (numberLabel): ditto
3740 (numberLabel): remove unused ostringstream o
3745 * bufferview_funcs.C (currentState): STRCONV
3747 * buffer.C (readFile): STRCONV
3748 (asciiParagraph): ditto
3749 (makeLaTeXFile): ditto
3751 * Spacing.C (writeEnvirBegin): STRCONV
3753 * LaTeXFeatures.C (getLanguages): STRCONV
3754 (getPackages): ditto
3756 (getBabelOptions): ditto
3757 (getTClassPreamble): ditto
3758 (getLyXSGMLEntities): ditto
3759 (getIncludedFiles): ditto
3763 (scanAuxFile): ditto
3766 * LString.h: add the STRCONV macros
3768 * BufferView_pimpl.C (savePosition): STRCONV
3769 (restorePosition): ditto
3770 (MenuInsertLyXFile): ditto
3772 * vc-backend.C (scanMaster): change from submatch[...] to
3775 * funcrequest.C: include config.h
3777 * factory.C: include config.h
3779 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3781 * box.C: include config.h
3783 * LaTeX.C (scanAuxFile): change from submatch[...] to
3787 2002-10-25 Angus Leeming <leeming@lyx.org>
3789 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3791 * ispell.[Ch] (setError): new method.
3792 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3793 Use setError() insetead of goto END.
3795 * lyx_cb.C (AutoSave): move out child process into new class
3798 2002-10-30 John Levon <levon@movementarian.org>
3800 * text3.C: make start appendix undoable
3802 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3804 * lyxlength.C (inPixels): Fix returned value.
3806 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3809 2002-10-24 Angus Leeming <leeming@lyx.org>
3811 * lyxgluelength.h: no need to forward declare BufferParams
3812 or BufferView, so don't.
3814 2002-10-21 John Levon <levon@movementarian.org>
3816 * BufferView.C: menuUndo ->undo, redo
3818 * BufferView.h: document, remove dead, make some methods private
3820 * paragraph_funcs.h:
3821 * paragraph_funcs.C:
3822 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3827 * sgml.C: move sgml open/close tag into sgml.C
3829 * bufferview_funcs.h: unused prototype
3832 * lyxfunc.C: remove unused
3835 * text.C: remove unused
3837 2002-10-21 John Levon <levon@movementarian.org>
3841 * BufferView_pimpl.h:
3842 * BufferView_pimpl.C: fix mouse wheel handling based on
3843 patch from Darren Freeman
3845 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3847 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3849 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3851 * lyxlength.C (inPixels): Fix hanfling of negative length.
3852 Fix LyXLength::MU case.
3854 2002-10-16 John Levon <levon@movementarian.org>
3856 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3858 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3860 * converter.C (view): add support for $$i (file name) and $$p
3861 (file path) for the viewer command. If $$i is not specified, then
3862 it is appended to the command (for compatibility with old syntax)
3864 2002-10-14 Juergen Vigna <jug@sad.it>
3866 * undo_funcs.C (textHandleUndo): alter the order in which the
3867 new undopar is added to the LyXText, as we have to set first
3868 the right prev/next and then add it as otherwise the rebuild of
3869 LyXText is not correct. Also reset the cursor to the right paragraph,
3870 with this IMO we could remove the hack in "redoParagraphs()".
3872 2002-10-09 Angus Leeming <leeming@lyx.org>
3874 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3875 to turn off an optimisation if a new inset is to be inserted.
3877 2002-10-11 André Pönitz <poenitz@gmx.net>
3879 * lyxtext.h: make some functions public to allow access
3880 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3882 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3884 * text3.C (dispatch): when changing layout, avoid an infinite loop
3887 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3889 * lyxrc.C (read): treat a viewer or converter command of "none" as
3892 * MenuBackend.C (expandFormats): for an update, also allow the
3893 formats that are not viewable
3895 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3896 script if it is newer than the lyxrc.defaults in user directory
3898 2002-10-07 André Pönitz <poenitz@gmx.net>
3900 * text.C: Vitaly Lipatov's small i18n fix
3902 2002-09-25 Angus Leeming <leeming@lyx.org>
3904 * ispell.h: doxygen fix.
3906 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3908 * buffer.h (readFile): Add a new argument to the method, to allow
3909 reading of old-format templates.
3911 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3913 * toc.C (getTocList): Get TOC from InsetWrap.
3915 2002-09-16 John Levon <levon@movementarian.org>
3917 * lyxfunc.C: check tabular for cut/copy too
3919 2002-09-12 John Levon <levon@movementarian.org>
3924 * factory.C: add header
3926 * paragraph_funcs.h:
3927 * paragraph_funcs.C: cleanup
3929 2002-09-11 John Levon <levon@movementarian.org>
3931 * PrinterParams.h: odd/even default to true
3933 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3935 * PrinterParams.h: update printer parameters for new xforms dialog
3937 2002-09-11 Angus Leeming <leeming@lyx.org>
3939 * lyxserver.C (read_ready): re-write to make it more transparent
3940 and to make it work in coherent fashion under Tru64 Unix.
3942 2002-09-11 André Pönitz <poenitz@gmx.net>
3946 * text3.C: implement LFUN_WORDSEL
3948 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3951 make floatlist_ a boost::shared_ptr<FloatList>
3953 * lyxtextclass.C: include FloatList.h
3954 (LyXTextClass): initialize floatlist_
3955 (TextClassTags): add TC_NOFLOAT
3956 (Read): match "nofloat" to TC_NOFLOAT and use it.
3957 (readFloat): modify call to floatlist_
3961 * FloatList.[Ch] (FloatList): remove commented out float
3963 (erase): new function
3965 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3967 * MenuBackend.C (expandToc): fix crash when there is no document
3970 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3972 * many files: Add insetwrap.
3974 2002-09-09 John Levon <levon@movementarian.org>
3976 * text2.C: remove confusing and awkward depth wraparound
3978 2002-09-09 John Levon <levon@movementarian.org>
3980 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3983 * buffer.C: remove getIncludeonlyList()
3986 * lyxfunc.C: remove headers
3988 2002-09-09 Juergen Vigna <jug@sad.it>
3990 * text.C (getColumnNearX): fix form Michael this is most
3991 probably a cut&paste bug.
3993 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3997 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3998 references, ws changes.
4000 * text2.C (init): update counters after init
4001 (insertParagraph): no need to set counter on idividual paragraphs.
4002 (setCounter): access the counters object in the textclass object
4003 on in the buffer object.
4004 (updateCounters): ditto
4006 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4007 shared_ptr<Counters> to avoid loading counters.h in all
4009 (LyXTextClass): initialize ctrs_
4010 (TextClassTags): add TC_COUNTER, and ...
4011 (Read): use it here.
4012 (CounterTags): new tags
4013 (readCounter): new function
4014 (counters): new funtion
4015 (defaultLayoutName): return a const reference
4017 * counters.C (Counters): remove contructor
4018 (newCounter): remove a couple of unneeded statements.
4019 (newCounter): simplify a bit.
4020 (numberLabel): some small formatting changes.
4022 * buffer.[Ch]: remove all traces of counters, move the Counters
4023 object to the LyXTextClass.
4025 2002-09-06 Alain Castera <castera@in2p3.fr>
4027 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4028 package to set the horizontal alignment on fixed width columns.
4031 * lyx_sty.h: added tabularnewline macro def.
4033 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4035 2002-09-06 John Levon <levon@movementarian.org>
4037 * LyXAction.C: tooltips for sub/superscript
4039 * MenuBackend.C: a bit more verbose
4041 * lyxfunc.C: tiny clean
4043 * undo_funcs.C: document undo_frozen
4045 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * counters.C (Counters): add missing algorithm counter.
4049 * text2.C (setCounter): lookup the counter with layouts latexname
4050 instead of by section number.
4051 (setCounter): use a hackish way to lookup the correct enum
4053 a float name->type change
4054 reset enum couners with counter name directly instead of depth value.
4056 * counters.C (Counters): remove the push_backs, change to use the
4057 float type not the float name.
4058 (labelItem): remove unused string, float name->type change
4060 * counters.h: don't include vector, loose the enums and sects vectors
4062 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4065 (Read): add float->TC_FLOAT to textclassTags
4066 (Read): and handle it in the switch
4067 (readFloat): new function
4069 * FloatList.C (FloatList): comment out the hardcoded float
4072 * lyxlayout.h: ws change.
4074 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4076 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4078 2002-09-03 Angus Leeming <leeming@lyx.org>
4080 * BufferView_pimpl.h: qualified name is not allowed in member
4081 declaration: WorkArea & Pimpl::workarea() const;
4083 * factory.C: added using std::endl directive.
4085 * text3.C: added using std::find and std::vector directives.
4087 2002-08-29 André Pönitz <poenitz@gmx.net>
4090 * text2.C: remove unused member number_of_rows
4093 * BufferView2.C: remove file, move contents to...
4094 * BufferView.C: ... here
4096 * BufferView_pimpl.C:
4097 * factory.C: move more inset creation to factory
4099 * vspace.C: avoid direct usage of LyXText, ws changes
4102 don't provide direct access to WorkArea, use two simple
4103 acessors haveSelction() and workHeight() instead
4106 2002-08-29 John Levon <levon@movementarian.org>
4108 * BufferView_pimpl.C (dispatch): do not continue when
4111 2002-08-28 André Pönitz <poenitz@gmx.net>
4113 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4116 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4118 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4120 * buffer.C: increment LYX_FORMAT to 221
4122 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4123 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4125 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4127 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4129 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4131 * factory.C (createInset): use LyXTextClass::floats
4133 * MenuBackend.C (expandFloatListInsert):
4134 (expandFloatInsert):
4137 * text2.C (setCounter):
4139 * LaTeXFeatures.C (useFloat):
4140 (getFloatDefinitions):
4142 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4144 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4145 floatlist_, with accessor floats().
4147 * FloatList.h: remove global FloatList
4149 2002-08-26 André Pönitz <poenitz@gmx.net>
4151 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4155 * BufferView_pimpl.C:
4156 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4158 2002-08-25 John Levon <levon@movementarian.org>
4160 * LyXAction.C: fix margin note description
4162 2002-08-24 John Levon <levon@movementarian.org>
4166 * bufferview_funcs.C:
4168 * undo_funcs.C: cleanups
4170 * lyxfunc.C: disable CUT/COPY when no selection
4172 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4174 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4175 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4177 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4178 Add backward compatibility to "mono", "gray" and "no".
4180 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4182 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4183 (and file_format >= 200).
4185 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4187 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4189 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4191 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4193 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4195 * BufferView_pimpl.C:
4202 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4203 inset and code to make it work with the paragraph code. The inset
4204 can be anywhere in the paragraph, but will only do the expected
4205 thing in LaTeX if the layout file contains the parameter line
4207 (or more generally, a nonzero value) for that layout.
4209 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * paragraph.h: remove the declaration of undefined counters class
4214 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4216 * text2.C (setCounter): fixed enumeration mis-count as reported by
4217 Dr. Richard Hawkins.
4219 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4221 * paragraph_funcs.h: remove some unneeded includes
4223 * text.C (backspace): pasteParagraph now in global scipe
4225 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4226 (pasteSelection): ditto
4228 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4229 * paragraph_funcs.C (pasteParagraph): ... here
4231 2002-08-20 André Pönitz <poenitz@gmx.net>
4233 * commandtags.h: new LFUNs for swapping/copying table row/colums
4236 * lyxfunc.C: support for new lfuns
4238 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4241 * buffer.[Ch]: remove NO_COMPABILITY stuff
4243 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * boost.C (throw_exception): new file, with helper function for
4246 boost compiled without exceptions.
4251 * ParameterStruct.h:
4252 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4254 * bufferlist.C (emergencyWriteAll): use boost bind
4256 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4258 * text.C: include paragraph_funcs.h
4259 (breakParagraph): breakParagraph is now in global scope
4261 * paragraph_funcs.[Ch]: new files
4263 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4266 * buffer.C: include paragraph_funcs.h
4267 (insertStringAsLines): breakParagraph is now in global scope
4269 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4272 * CutAndPaste.C: include paragraph_funcs.h
4273 (cutSelection): breakParagraphConservative is now in global scope
4274 (pasteSelection): ditto
4276 * buffer.h: declare oprator== and operator!= for
4277 Buffer::inset_iterator
4279 * bufferlist.C (emergencyWrite): don't use fmt(...)
4281 * text3.C: add using std::endl
4283 * BufferView.C (moveCursorUpdate): remove default arg
4285 2002-08-20 André Pönitz <poenitz@gmx.net>
4287 * buffer.[Ch]: move inline functions to .C
4290 * BufferView_pimpl.C:
4292 * buffer.[Ch]: use improved inset_iterator
4295 * paragraph.[Ch]: write one paragraph at a time
4297 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4299 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4300 style if style is not specified.
4302 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * text2.C (setCounter): when searching for right label for a
4305 caption, make sure to recurse to parent insets (so that a caption
4306 in a minipage in a figure float works) (bug #568)
4308 2002-08-20 André Pönitz <poenitz@gmx.net>
4310 * text3.C: new file for LyXText::dispatch() and helpers
4312 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4314 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4316 2002-08-19 André Pönitz <poenitz@gmx.net>
4319 * text.C: new LyXText::dispatch()
4321 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4323 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4325 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4327 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4330 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4332 * Makefile.am: use $(variables) instead of @substitutions@
4334 2002-08-15 André Pönitz <poenitz@gmx.net>
4337 * BufferView_pimpl.C: streamlining mathed <-> outer world
4341 * LyXAction.C: remove unused LFUN_MATH
4343 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4347 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * paragraph.C (Paragraph): reformat a bit
4350 (cutIntoMinibuffer): use builtin InsetList function instad of
4354 * buffer.C: include boost/bind.hpp, add using std::for_each
4355 (writeFileAscii): use ParagraphList iterators
4356 (validate): use for_each for validate traversal of paragraphs
4357 (getBibkeyList): use ParagraphList iterators
4358 (resizeInsets): use for_each to resizeInsetsLyXText for all
4360 (getParFromID): use ParagraphList iterators
4362 * BufferView2.C (lockInset): use paragraph list and iterators
4364 2002-08-14 John Levon <levon@movementarian.org>
4366 * lyxserver.C: remove spurious xforms include
4368 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4370 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4372 2002-08-13 André Pönitz <poenitz@gmx.net>
4375 * lyxfunc.C: further cleaning
4377 2002-08-13 André Pönitz <poenitz@gmx.net>
4379 * funcrequest.h: new constructor
4381 * funcrequest.C: move stuff here from .h
4384 * BufferView_pimpl.C:
4387 * lyxfunc.C: subsequent changes
4389 * lyxfunc.h: new view() member function
4391 * lyxfunc.C: subsequent changes
4393 2002-08-13 Angus Leeming <leeming@lyx.org>
4396 * BufferView_pimpl.C:
4404 changes due to the changed LyXView interface that now returns references
4405 to member variables not pointers.
4407 2002-08-13 Angus Leeming <leeming@lyx.org>
4409 * WordLangTuple (word, lang_code): return references to strings,
4414 * lyxtext.h: forward-declare WordLangTuple.
4419 * text.C: #include "WordLangTuple.h".
4422 * text.C: (selectNextWordToSpellcheck): constify return type.
4424 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4430 * paragraph_pimpl.h:
4433 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4435 Made updateCounter always count from start of buffer, and removed
4436 second argument (par).
4437 Reverted floats number display to '#'. Perhaps I'll try again when the
4438 code base is sanitized a bit.
4440 2002-08-12 Angus Leeming <leeming@lyx.org>
4442 * buffer.[Ch] (getLabelList): constify.
4444 2002-08-07 André Pönitz <poenitz@gmx.net>
4446 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4448 * funcrequest.h: extension to keep mouse (x,y) position
4450 2002-08-12 Juergen Vigna <jug@sad.it>
4452 * BufferView2.C (insertErrors): forbid undo when inserting error
4455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4457 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * ParagraphList.[Ch]: new files
4461 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4463 * BufferView2.C (lockInset): ParagraphList changes
4466 * bufferlist.C: ditto
4470 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4473 unused class variable counter_,
4475 * paragraph.[Ch] (getFirstCounter): delete unused function
4477 * counters.C: include LAssert.h
4478 (reset): add a new function with no arg, change other version to
4479 not have def. arg and to not allow empty arg.
4481 * text2.C (setCounter): remove empty arg from call to Counters::reset
4483 2002-08-11 John Levon <levon@movementarian.org>
4485 * Makefile.am: add WordLangTuple.h
4487 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4489 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4490 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4492 * insets/insettext.C: InsetList changes
4494 * graphics/GraphicsSupport.C (operator()): InsetList changes
4496 * toc.C (getTocList): InsetList changes
4498 * paragraph_pimpl.[Ch]: InsetList changes
4500 * paragraph.[Ch]: InsetList changes
4502 * buffer.C (inset_iterator): InsetList changes
4503 (setParagraph): ditto
4504 * buffer.h (inset_iterator): ditto
4505 * iterators.C (operator++): ditto
4506 * iterators.h: ditto
4508 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4510 * InsetList.[Ch]: new files, most InsetList handling moved out of
4513 * BufferView2.C (removeAutoInsets): InsetList changes
4515 (ChangeInsets): ditto
4517 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * paragraph_pimpl.h (empty): new function
4521 * paragraph.[Ch] (empty): new function
4523 * other files: use the new Paragraph::empty function
4525 2002-08-09 John Levon <levon@movementarian.org>
4527 * lyxtext.h: remove unused refresh_height
4529 2002-08-09 John Levon <levon@movementarian.org>
4536 * paragraph.C: move sgml char escaping out of paragraph
4539 * paragraph.C: remove id setter
4543 * paragraph_pimpl.C: remove dead tex_code_break_column
4545 * bufferview_funcs.C: small cleanup
4547 * lyxfunc.C: remove dead proto
4549 * lyxtext.h: make some stuff private. Remove some dead stuff.
4551 * lyxgluelength.C: make as[LyX]String() readable
4553 2002-08-08 John Levon <levon@movementarian.org>
4558 * ToolbarDefaults.C:
4561 * toc.C: lyxaction cleanup
4563 2002-08-08 John Levon <levon@movementarian.org>
4565 * BufferView2.C: small cleanup
4568 * lyxfind.C: move unnecessary header into the .C
4570 2002-08-08 John Levon <levon@movementarian.org>
4572 * funcrequest.h: just tedious nonsense
4575 * lyx_main.C: cleanups
4578 * vspace.C: remove dead header lyx_main.h
4580 2002-08-07 Angus Leeming <leeming@lyx.org>
4583 * paragraph_pimpl.h:
4584 Forward declare class Counters in paragraph.h by moving the ctrs member
4585 variable into Paragraph::Pimpl.
4586 (counters): new method, returning a reference to pimpl_->ctrs.
4588 * text2.C: ensuing changes.
4590 2002-08-07 John Levon <levon@movementarian.org>
4592 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4594 * BufferView_pimpl.C: announce X selection on double/triple
4597 * lyx_main.C: use correct bool in batch dispatch
4599 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4601 2002-08-07 André Pönitz <poenitz@gmx.net>
4603 * funcrequest.h: new class to wrap a kb_action and its argument
4606 * BufferView_pimpl[Ch]:
4610 * lyxrc.C: subsequent changes
4613 2002-08-07 John Levon <levon@movementarian.org>
4615 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4616 document options change.
4618 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4623 * makefile.am: move counters functionality over from
4624 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4626 2002-08-06 John Levon <levon@movementarian.org>
4628 * WordLangTuple.h: new file for word + language code tuple
4639 * BufferView2.C: use WordLangTuple
4642 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4644 2002-08-06 John Levon <levon@movementarian.org>
4646 * lyx_main.C: fix cmdline batch handling
4648 2002-08-06 André Pönitz <poenitz@gmx.net>
4650 * lyxrc.C: set default for show_banner to true
4652 2002-08-06 John Levon <levon@movementarian.org>
4654 * pspell.C: fix a crash, and allow new aspell to work
4656 2002-08-06 John Levon <levon@movementarian.org>
4659 * kbmap.C: small cleanup
4662 * vspace.C: add const
4664 2002-08-05 John Levon <levon@movementarian.org>
4666 * LyXAction.C: back to tabular-insert
4668 2002-08-04 John Levon <levon@movementarian.org>
4671 * BufferView.C: cosmetic change
4673 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4683 * BufferView2.C: purge all "Lyx" not "LyX" strings
4686 * lyxcursor.C: attempt to add some documentation
4691 * ToolbarDefaults.C:
4692 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4693 merge with LFUN_TABULAR_INSERT
4700 * pspell.C: split up i/pspell implementations into separate
4701 files, many cleanups
4703 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4705 * text2.C: some cleanup
4707 * lyxfunc.C: don't check for isp_command == "none" any more, it
4708 didn't make any sense
4710 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4715 * makefile.am: move counters functionality over
4716 from text2.C/paragraph.[Ch] to counters.[Ch], and
4718 2002-08-02 John Levon <levon@movementarian.org>
4720 * buffer.C: s/lyxconvert/lyx2lyx/
4722 2002-08-02 Angus Leeming <leeming@lyx.org>
4724 * lyxlex.C: revert John's change as it breaks reading of the user
4727 2002-08-02 Angus Leeming <leeming@lyx.org>
4729 * importer.C (Import):
4730 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4731 changes due to LyXView::view() now returning a boost::shared_ptr.
4733 2002-08-02 John Levon <levon@movementarian.org>
4735 * lyxlex.C: small cleanup
4737 2002-08-02 John Levon <levon@movementarian.org>
4739 * text2.C (status): small cleanup, no logic change
4741 2002-08-01 John Levon <levon@movementarian.org>
4744 * buffer.C (writeFile): don't output alerts, caller
4748 * lyx_cb.C: from above
4750 * lyxfunc.C: allow to open non-existent files
4752 2002-07-31 John Levon <levon@movementarian.org>
4754 * lyxserver.C: don't let incidental errors get
4757 2002-07-30 John Levon <levon@movementarian.org>
4759 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4761 2002-07-30 John Levon <levon@movementarian.org>
4764 * lyxserver.C: remove I/O callback too
4766 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4771 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * many files: strip,frontStrip -> trim,ltrim,rtrim
4775 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * PrinterParams.h: remove extern containsOnly, and include
4778 support/lstrings.h instead.
4780 * LaTeX.C (scanAuxFile): modify because of strip changes
4782 * buffer.C (makeLaTeXFile): ditto
4783 * bufferparams.C (writeFile): ditt
4784 * lyxfont.C (stateText): ditto
4785 * lyxserver.C (read_ready): ditto
4786 * vc-backend.C (scanMaster): ditto
4788 * BufferView_pimpl.h: ws changes
4790 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4792 2002-07-26 André Pönitz <poenitz@gmx.net>
4794 * kb_sequence.C: remove unnedred usings
4796 2002-07-26 Juergen Vigna <jug@sad.it>
4798 * lyxfind.C (LyXReplace): we have to check better if the returned
4799 text is not of theLockingInset()->getLockingInset().
4801 2002-07-25 Juergen Vigna <jug@sad.it>
4803 * lyxfind.C (LyXReplace): don't replace if we don't get the
4806 * undo_funcs.C (createUndo): remove debugging code.
4808 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4810 * buffer.C (parseSingleLyXformat2Token): Use default placement
4811 when reading old floats.
4813 * FloatList.C (FloatList): Change the default placement of figure
4814 and tables to "tbp".
4816 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4818 * MenuBackend.C: using std::max
4820 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4822 * MenuBackend.C (expandToc):
4823 (expandToc2): code moved from xforms menu frontend. It is now
4824 generic and TOCs are transparent to menu frontends.
4826 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4828 * toc.C (getTocList): protect against buf=0
4830 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4831 Menu as first parameter. Now, this calls itself recursively to
4832 expand a whole tree (this will be useful for TOC handling)
4833 (expandFloatInsert): remove 'wide' version of floats
4835 * MenuBackend.h (submenuname): returns the name of the submenu.
4836 (submenu): returns the submenu itself, provided it has been
4837 created by MenuBackend::expand
4839 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4841 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4842 insets which have noFontChange == true. (bug #172)
4844 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4846 * BufferView_pimpl.C: add connection objects and use them...
4849 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4851 * MenuBackend.C (expandLastfiles):
4854 (expandFloatListInsert):
4855 (expandFloatInsert):
4856 (expand): split expand in parts
4858 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4860 * lyx_gui.C: use lyx_gui::exit()
4862 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4864 * LyXAction.C: show the failing pseudo action
4866 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4868 * buffer.C (readFile): Run the lyxconvert script in order to read
4871 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4875 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4877 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4881 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4883 2002-07-22 Herbert Voss <voss@lyx.org>
4886 * lyxlength.[Ch]: add support for the vertical lengths
4888 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4890 * toc.[Ch]: std:: fixes
4892 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4894 * lyxrc.C: do not include lyx_main.h
4896 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4902 * BufferView2.C: include "lyxlex.h"
4905 * bufferparams.h: do not #include "lyxlex.h"
4907 * lyxtextclasslist.C (Add): remove method
4908 (classlist): renamed to classlist_
4910 * paragraph_pimpl.C:
4914 * bufferview_funcs.C:
4919 * toc.C (getTocList): use BufferParams::getLyXTextClass
4921 * toc.C (getTocList): use InsetFloat::addToToc
4923 * toc.[Ch]: new files, containing helper functions to handle table
4926 * lyxfunc.C (dispatch): no need to remove spaces around command
4928 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4929 first command of the sequence; it is not very clever, but I do not
4930 have a better idea, actually
4932 * LyXAction.C (LookupFunc): make sure to remove space at the
4933 beginning and end of the command
4935 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4937 * MenuBackend.C (getMenubar): new method: return the menubar of
4939 (read): treat differently reading of menu and menubar (in
4940 particular, the menubar has no name now)
4941 (Menu::menubar): remove
4943 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4946 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4948 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4949 a bibitem inset in a RTL paragraph.
4951 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4953 * paragraph_pimpl.C: constify
4955 * BufferView_pimpl.C:
4957 * lyxfunc.C: fix dispatch in a nicer way
4959 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4961 * lyxfunc.C (dispatch):
4962 * BufferView_pimpl.C:
4963 * BufferView_pimpl.h:
4965 * BufferView.h: rename Dispatch() to dispatch()
4967 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4969 * lyxlayout.C (Read): honor DependsOn tag
4971 * lyxlayout.[Ch] (depends_on): new method
4973 * version.C.in: update lyx_docversion
4975 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4977 * paragraph.C (validate): remove from here...
4978 * paragraph_pimpl.C (validate): ... and move here
4979 (isTextAt): make it const
4981 * buffer.C (getLists): ws cleanup
4983 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4985 * language.C (read): Use iso8859-1 encoding in latex_lang
4986 (this prevents LyX from crashing when using iso10646-1 encoding).
4988 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * text2.C (toggleInset): if cursor is inside an inset, close the
4991 inset and leave cursor _after_ it
4993 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4995 * lyxfunc.C: move minibuffer completion handling out of here
4997 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4999 * BufferView_pimpl.C:
5000 * LaTeX.C: fix dispatch calls
5002 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5004 * text.C (drawChars): Fix Arabic text rendering.
5006 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5010 * lyxfunc.C: remove message-push/pop
5014 * lyxfunc.C: rationalise some code by removing verboseDispatch
5015 in favour of a bool argument to dispatch()
5017 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5019 * lyx_main.C (init): make sure to read symlinks as absolute paths
5021 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5024 * lyxfunc.C: no need for commandshortcut to be a member
5026 2002-07-15 André Pönitz <poenitz@gmx.net>
5028 * converter.C: add support for $$s (scripts from lib/scripts dir)
5029 * lyx_main.C: white space
5031 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5035 * lyxrc.C: remove second exit confirmation
5037 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5042 * BufferView_pimpl.h:
5043 * BufferView_pimpl.C:
5044 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5046 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5048 * MenuBackend.C (expand): add numeric shortcuts to document menu
5050 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5052 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5054 * lyxfont.C (setLyXFamily):
5061 * buffer.C (asciiParagraph): use ascii_lowercase
5063 2002-07-15 Mike Fabian <mfabian@suse.de>
5065 * lyxlex_pimpl.C (search_kw):
5066 * lyxlex.C (getLongString):
5067 * converter.h (operator<):
5068 * converter.C (operator<):
5069 * buffer.C (parseSingleLyXformat2Token):
5071 * ToolbarDefaults.C (read):
5072 * MenuBackend.C (checkShortcuts):
5074 * LColor.C (getFromGUIName):
5075 (getFromLyXName): use the compare_ascii_no_case instead of
5076 compare_no_case, because in turkish, 'i' is not the lowercase
5077 version of 'I', and thus turkish locale breaks parsing of tags.
5079 2002-07-16 Angus Leeming <leeming@lyx.org>
5081 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5082 now takes a Buffer const & argument.
5084 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5086 * BufferView.C (resize): check there's a buffer to resize
5088 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5090 * lyxfunc.C: remove dead code
5093 * lyxserver.C: use lyx_guii::set_read_callback
5095 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5097 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5098 an inset in a RTL paragraph.
5100 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5102 * lyxfunc.C: repaint after a font size update
5104 2002-07-15 André Pönitz <poenitz@gmx.net>
5106 * lyxlength.C: inBP should be able to return negative values
5108 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5110 * lyxfunc.C: use lyx_gui::update_fonts()
5112 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5114 * lyxfunc.C: use lyx_gui::update_color()
5116 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5122 * lyxrc.C: remove file->new asks for name option, and let
5123 buffer-new take an argument
5125 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5127 * BufferView_pimpl.C: remove unneeded extra repaint()
5129 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5131 * LyXAction.C: allow command-sequence with NoBuffer
5133 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5135 2002-07-10 Angus Leeming <leeming@lyx.org>
5137 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5139 2002-07-09 Angus Leeming <leeming@lyx.org>
5141 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5143 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5145 * lengthcommon.h: whitespace
5147 * lyxfunc.C: update scrollbar after goto paragraph
5149 * lyxtext.h: factor out page break drawing, and fix it so
5150 page break/added space paints as selected nicely
5152 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5154 * BufferView_pimpl.C: add FIXMEs, clean up a little
5156 2002-07-09 André Pönitz <poenitz@gmx.net>
5158 * lyxfont.[Ch]: support for wasy symbols
5160 2002-07-08 André Pönitz <poenitz@gmx.net>
5162 * BufferView_pimpl.C: apply John's patch for #93.
5164 2002-07-05 Angus Leeming <leeming@lyx.org>
5166 * BufferView_pimpl.C (buffer): generate previews if desired.
5168 * LColor.h: add "preview" to the color enum.
5170 * LColor.C (LColor): add a corresponding entry to the items array.
5172 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5175 2002-07-05 Angus Leeming <leeming@lyx.org>
5177 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5178 The body of the code is now in the method that is passed an ostream &
5179 rather than a file name.
5180 Pass an additional only_preamble parameter, useful for the forthcoming
5183 2002-07-03 André Pönitz <poenitz@gmx.net>
5185 * lyxfunc.C: simplify getStatus() a bit for math stuff
5187 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5189 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5191 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5193 * text.C (changeRegionCase): do not change case of all the
5194 document when region ends at paragraph end (bug #461)
5196 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5198 * paragraph.C (startTeXParParams):
5199 (endTeXParParams): add \protect when necessary
5201 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * BufferView_pimpl.C (workAreaExpose): remove warning
5205 2002-06-27 Angus Leeming <leeming@lyx.org>
5207 * Makefile.am: add lyxlayout_ptr_fwd.h.
5209 2002-06-26 André Pönitz <poenitz@gmx.net>
5211 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5213 2002-06-25 Angus Leeming <leeming@lyx.org>
5215 * lyxfunc.C (dispatch): Comment out the call to
5216 grfx::GCache::changeDisplay. The method no longer exists now that the
5217 pixmap generation part of the graphics loader has been moved into
5220 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5222 * text2.C: layout as layout
5224 * text.C: layout as layout
5226 * tabular.C (OldFormatRead): layout as layout
5228 * paragraph_pimpl.C (TeXDeeper): layout as layout
5229 (realizeFont): layout as layout
5231 * paragraph.C (writeFile): layout as layout
5232 (validate): layout as layout
5233 (getFont): layout as layout
5234 (getLabelFont): layout as layout
5235 (getLayoutFont): layout as layout
5236 (breakParagraph): layout as layout
5237 (stripLeadingSpaces): layout as layout
5238 (getEndLabel): layout as layout
5239 (getMaxDepthAfter): layout as layout
5240 (applyLayout): layout as layout
5241 (TeXOnePar): layout as layout
5242 (simpleTeXOnePar): layout as layout
5243 (TeXEnvironment): layout as layout
5244 (layout): layout as layout
5245 (layout): layout as layout
5247 * lyxtextclass.C (compare_name): new functor to work with
5248 shared_ptr, layout as layout
5249 (Read): layout as layout
5250 (hasLayout): layout as layout
5251 (operator): layout as layout
5252 (delete_layout): layout as layout
5253 (defaultLayout): layout as layout
5255 * lyxlayout_ptr_fwd.h: new file
5257 * lyxlayout.C (Read): layout as layout
5259 * lyx_cb.C (MenuInsertLabel): layout as layout
5261 * bufferlist.C (newFile): layout as layout
5263 * buffer.C (readLyXformat2): layout as layout
5264 (parseSingleLyXformat2Token): layout as layout
5265 (insertStringAsLines): layout as layout
5266 (asciiParagraph): layout as layout
5267 (latexParagraphs): layout as layout
5268 (makeLinuxDocFile): layout as layout
5269 (simpleLinuxDocOnePar): layout as layout
5270 (makeDocBookFile): layout as layout
5271 (simpleDocBookOnePar): layout as layout
5272 (getLists): layout as layout
5274 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5276 * CutAndPaste.C (cutSelection): layout as layout
5277 (pasteSelection): layout as layout
5278 (SwitchLayoutsBetweenClasses): layout as layout
5280 * BufferView_pimpl.C (Dispatch): layout as layout
5281 (smartQuote): layout as layout
5283 * BufferView2.C (unlockInset): layout as layout
5285 2002-06-24 André Pönitz <poenitz@gmx.net>
5287 * lyxfunc.C: fix #487
5289 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5293 * lyxfunc.C: remove display_shortcuts, show_banner
5295 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5297 * Buffer_pimpl.C: oops, update on resize
5299 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5306 * BufferView.C: use repaint()
5308 * BufferView_pimpl.h:
5309 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5310 as it's a clearer description. Remove superfluous
5313 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5315 * text.C: fix bug 488. Not ideal, but getting
5316 getWord() to work properly for the insets that
5317 matter is more difficult ...
5319 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5321 * BufferView_pimpl.C:
5324 * lyxfunc.C: remove the six million index lyxfuncs to just
5325 one, and DTRT (bug 458)
5327 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5331 * BufferView_pimpl.h:
5332 * BufferView_pimpl.C: clean up resize() stuff,
5333 and unnecessary updateScreen()s
5335 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5339 * BufferView_pimpl.h:
5340 * BufferView_pimpl.C:
5343 * minibuffer.C: remove focus management of workarea,
5344 not needed. Use screen's greyOut()
5346 2002-06-17 Herbert Voss <voss@lyx.org>
5348 * converter.C: (convert) do not post a message, when converting
5349 fails, let the calling function decide what to do in this case
5351 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5353 * lyxfunc.C: tidy up a little
5355 2002-06-16 <alstrup@diku.dk>
5357 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5358 Got rid of FORMS_H_LOCATION include. Now we are
5361 2002-06-15 LyX Development team <lyx@rilke>
5363 * buffer.[Ch] (sgmlOpenTag):
5364 (sgmlCloseTag): Added support for avoiding pernicious mixed
5365 content. Return number of lines written.
5368 (makeDocBookFile): Fixed calls to sgml*Tag.
5369 Simple white space clean.
5371 (simpleDocBookOnePar): Simple white space clean.
5373 * tabular.[Ch] (docBook): Renamed to docbook and got another
5374 argument to related with the pernicious mixed content.
5376 (docbookRow): Fixed calls for docbook inset method.
5378 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5380 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5381 so it's X11 independent.
5385 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5387 2002-06-15 Lyx Development team <lyx@electronia>
5389 * intl.h: Renamed getTrans to getTransManager.
5391 2002-06-14 Angus Leeming <leeming@lyx.org>
5393 * Makefile.am: nuke forgotten stl_string_fwd.h.
5395 2002-06-12 Angus Leeming <leeming@lyx.org>
5397 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5399 2002-06-13 Angus Leeming <leeming@lyx.org>
5402 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5404 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5406 * kbmap.C (getiso): add support for cyrillic and greek
5408 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5412 * BufferView_pimpl.h:
5413 * BufferView_pimpl.C: move bogus scrolling logic
5416 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5419 * BufferView_pimpl.C: view->resize() change
5421 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5423 * BufferView_pimpl.C: topCursorVisible
5426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5430 * lyx_gui.C: move to frontends/
5434 * lyx_main.C: changes from above
5436 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5443 * lyx_main.C: minor tidy
5445 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5447 * BufferView_pimpl.h:
5448 * BufferView_pimpl.C:
5450 * BufferView.C: make painter() const,
5453 * BufferView2.C: use screen() accessor
5456 * lyx_main.C: some minor cleanup
5458 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5460 * BufferView_pimpl.h:
5461 * BufferView_pimpl.C: remove enter/leaveView,
5464 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5469 * BufferView_pimpl.h:
5470 * BufferView_pimpl.C: only construct screen once,
5473 * lyxrc.C: remove pointless comment
5475 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5478 * BufferView.C: remove active() and belowMouse()
5480 * BufferView_pimpl.h:
5481 * BufferView_pimpl.C: use workarea() not workarea_,
5482 and make it use a scoped_ptr instead
5484 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5486 * lyx_gui.C: add debug message on BadWindow
5488 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * sp_spell.C: fdopen is not part of the C++ standard.
5492 * paragraph.C (InsetIterator): use >= instead of ==
5494 2002-06-07 Angus Leeming <leeming@lyx.org>
5496 Fixes needed to compile with Compaq cxx 6.5.
5497 * BufferView_pimpl.C:
5504 * lyxtextclasslist.C:
5509 all c-library variables have been moved into namespace std. Wrap
5510 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5515 Add a using std::abs declaration.
5517 * kbmap.h (modifier_pair):
5518 * paragraph.h (InsetTable, InsetList):
5519 * lyxfont.h (FontBits):
5520 type definition made public.
5522 * bufferlist.C (emergencyWriteAll): the compiler complains that
5523 there is more than one possible lyx::class_fun template to choose from.
5524 I re-named the void specialisation as lyx::void_class_fun.
5526 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5528 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5529 the compiler is is unable to find tostr in write_attribute.
5531 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * buffer.C (sgmlError): hide #warning
5535 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5537 * xtl/*: get rid of xtl, which is not in use anyway
5539 * LyXAction.C (init):
5540 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5541 were unimplemented xtl experimentation
5543 2002-06-04 André Pönitz <poenitz@gmx.net>
5545 * lyxfunc.C: disable array operation on simple formulae
5547 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5549 * converter.C: constify a bit
5551 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5553 * lyx_gui.C: check xforms version correctly
5555 2002-04-30 Herbert Voss <voss@lyx.org>
5557 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5560 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5562 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5563 attempt to register it with a VCS)
5565 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * lyx_main.C (init): honor variables LYX_DIR_13x and
5570 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5574 * lyx_main.C: fix a crash on bad command line,
5575 and give a useful exit status on error
5577 * lyxfunc.C (doImport): allow -i lyx to work
5579 2002-03-30 André Pönitz <poenitz@gmx.net>
5581 * lyxfunc.C: mathed font changes
5583 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5598 * trans_mgr.h: srcdocs, and some minor cleanups
5600 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5602 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5603 call getFont all the time)
5605 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * switch from SigC signals to boost::signals
5609 2002-05-29 André Pönitz <poenitz@gmx.net>
5611 * paragraph_pimpl.C (getChar): don't call size() too often...
5613 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5615 * paragraph_pimpl.C (insertChar): do not try to update tables when
5616 appending (pos == size())
5618 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5619 in order to reduce drastically the number of comparisons needed to
5620 parse a large document
5622 2002-05-29 André Pönitz <poenitz@gmx.net>
5628 * textclasslist.[Ch]:
5629 * sp_ispell.h: whitespace change
5631 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5633 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5634 lyxaction directly now.
5636 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5640 * lyxvc.C: remove unused headers
5642 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5649 * undo_funcs.C: some cleanups. Use shared_ptr
5650 and a template for the undo stacks.
5652 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5654 * BufferView_pimpl.h:
5655 * BufferView_pimpl.C:
5662 * text2.C: use key_state/mouse_state
5664 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5666 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5669 * chset.C: change include order
5670 (loadFile): use boost regex and get rid of LRegex and LSubstring
5672 * Makefile.am (BOOST_LIBS): new variable
5675 * LaTeX.C: change include order.
5676 (scanAuxFile): use boost regex and get rid of LRegex and
5680 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5685 * FontInfo.C: moved to frontends/xforms/
5688 * FontLoader.C: moved into frontends for GUIIzation
5693 * lyxfunc.C: changes from above
5695 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5697 * LColor.C: remove spurious X include
5699 * BufferView_pimpl.C:
5704 * text2.C: move font metrics to frontends/
5706 2002-05-24 Juergen Vigna <jug@sad.it>
5708 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5709 setting the undo_cursor.
5711 * ParagraphParameters.h: include local includes first.
5713 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5715 * BufferView_pimpl.C:
5716 * BufferView_pimpl.h:
5720 * screen.C: move WorkArea into frontends/
5726 * BufferView2.C: move LyXScreen into frontends/
5730 * lyx_gui.C: move lyxlookup into frontends/xforms/
5732 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5735 * BufferView_pimpl.C:
5745 * bufferview_funcs.C:
5758 * vc-backend.C: move LyX/XFormsView into frontends/
5760 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5772 * text2.C: move Painter to frontends/
5774 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5776 * buffer.C: comment out some some code that depend upon lyx_format
5779 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5780 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5782 * buffer.h (NO_COMPABILITY): turn off compability
5784 * ColorHandler.C: include scoped_array.hpp
5786 * font.C: Use more specific smart_ptr header.
5789 * ShareContainer.h: ditto
5793 * BufferView_pimpl.h: ditto
5794 * ColorHandler.h: ditto
5796 * kbmap.C (defkey): change call to shared_ptr::reset
5798 2002-05-21 Juergen Vigna <jug@sad.it>
5800 * buffer.C (insertErtContents): fix to insert ert asis if it is
5801 non empty. Skip it completely if it contains only whitespaces.
5803 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5805 * BufferView_pimpl.C:
5806 * BufferView2.C: clear selection on paste (bug 393)
5808 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5810 * DepTable.C: include ctime
5812 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5814 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5816 2002-05-14 Juergen Vigna <jug@sad.it>
5818 * text.C (breakParagraph): fixed function to honor the keepempty
5819 layout in the right maner and also to permit the right breaking
5820 algorithm on empty or non empyt keepempty paragraphs.
5822 * paragraph.C (breakParagraph): we have to check also if the par
5823 is really empty (!size()) for isempty otherwise we do the wrong
5826 2002-05-10 Juergen Vigna <jug@sad.it>
5828 * buffer.[Ch] : The following are only changes to the ert
5829 compatibility read reading old LaTeX layout and font stuff and
5830 convert it to ERTInsets.
5832 * buffer.h: added isErtInset().
5834 * buffer.C (struct ErtComp): add a fromlayout bool to check
5835 if we're inside a LaTeX layout.
5836 (isErtInset): new helper function.
5837 (insertErtContents): look for other ert insets before this one
5838 and insert the contents there, so that we don't have subsequent
5839 ERT insets with nothing between them. This way we create only one
5840 inset with multiple paragraphs. Also check if we don't insert only
5841 spaces ' ' as they are ignored anyway afterwards in the .tex file
5842 so if we have only spaces we will ignore this latex part in the
5844 (parseSingleLyXformat2Token \\layout): better compatibility when
5845 reading layout-latex stuff.
5846 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5848 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5849 stuff after reading the inset only get the information back from
5852 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5854 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5856 * LaTeXFeatures.C (getBabelOptions): New method.
5858 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5860 * BufferView_pimpl.C (Dispatch): work around missing argument for
5863 2002-05-08 Juergen Vigna <jug@sad.it>
5865 * text.C (leftMargin): handle paragraph leftindent.
5867 * paragraph.C (writeFile): write the new \\leftindent tag.
5868 (validate): handle leftindent code.
5869 (TeXEnvironment): handle paragraphleftindent code again.
5871 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5873 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5874 for paragrap_extra indent code and new token \\leftindent.
5875 (latexParagraphs): handle the leftindent as environment.
5877 * ParameterStruct.h: added leftindent support.
5879 * ParagraphParameters.C (leftIndent): added support functions for
5880 the paragraph left indent.
5882 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5885 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5887 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5890 * text.C (computeBidiTables): No bidi in insetERT.
5892 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5895 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5897 * version.C.in: pre 5
5899 2002-05-02 José Matos <jamatos@fep.up.pt>
5900 * buffer.C (makeDocBookFile): white space changes, add newline to
5902 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5904 * tabular.C (docBook): fix typo.
5906 2002-05-03 Juergen Vigna <jug@sad.it>
5908 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5909 change in LyXText as we can not be sure it was not freed.
5910 (drawOneRow): remove unused code.
5912 * text.C (drawInset): redo the calculation of the need_break_row as
5913 it could have a row which was already freed.
5914 (draw): look at the return value of drawInset and return false if
5915 it also returned false.
5916 (paintRowText): look at the return value of draw and return false if
5917 it also returned false.
5919 * lyxtext.h: added bool return type to drawInset() and draw() so that
5920 if we have a change in the row so that the rowbreak has to be redone
5921 we abort drawing as it will be called again.
5923 2002-05-02 Juergen Vigna <jug@sad.it>
5925 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5926 a change in the maintext also if we're inside an inset.
5927 (Dispatch): set the cursor again after a break line and after the
5928 screen has been updated as it could be we're in a different row.
5930 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5931 to set the cursor behind the pargraph with > size().
5932 (setCursor): check also for the same paragraph when checking where
5933 to put the cursor if we have a NFR inset.
5935 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5936 parts of layout read further up as it still was in the wrong
5939 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5941 * screen.C (drawFromTo): change sine fullRebreak always return
5944 * buffer.C (parseSingleLyXformat2Token): reindent some
5946 * BufferView_pimpl.C (update): change since fullRebreak always
5948 (Dispatch): git rid of the last hardcoded "Standard"s.
5950 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5952 * text2.[Ch] (fullRebreak): make it return void now that we always
5955 2002-04-30 Juergen Vigna <jug@sad.it>
5957 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5958 ert compatibility check for "latex" layout.
5960 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5962 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5963 minipages: use col% instead of p%, and also use the current font.
5964 (makeLaTeXFile): Fix use babel condition.
5965 (parseSingleLyXformat2Token): Correct font when reading old floats.
5967 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5969 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5970 inserting list of floats.
5972 2002-04-25 Herbert Voss <voss@lyx.org>
5974 * MenuBackend.C (expand): don't add the graphics extensions to the
5977 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5980 non-existing layout, do not complain if it was the default layout
5981 of the original class (bug #342)
5983 2002-04-24 Juergen Vigna <jug@sad.it>
5985 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5986 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5988 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5990 * buffer.C (getBibkeyList): If using \bibliography, return the
5991 option field with the reference itself. Enables us to provide natbib
5992 support when using \bibliography.
5994 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5996 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5998 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5999 natbib is provided by the LaTeX class.
6001 2002-04-23 Juergen Vigna <jug@sad.it>
6003 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6006 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6008 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6010 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6012 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6013 ensuremath around textordmasculine, textordfeminine and
6016 2002-04-19 Juergen Vigna <jug@sad.it>
6018 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6019 reinitializing the buffer otherwise row-dimensions may be wrong.
6020 (update): reset also the selection cursors if they do exits otherwise
6021 their x/y positions may be wrong.
6023 * text2.C (cursorDown): don't enter the inset if we came from a row
6024 above and are one row over the inset.
6026 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6027 really leaving an inset.
6029 2002-04-18 Juergen Vigna <jug@sad.it>
6031 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6032 of the selected paragraph does not have the selected layout also if
6035 * text2.C (setLayout): fixed bug which did not change last selected
6038 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6039 changed the read and substituted \\end_float with \\end_inset!
6041 * BufferView_pimpl.C (cursorPrevious):
6042 (cursorNext): fixed to make it work with rows heigher than the work
6043 area without moving the cursor only the draw of the row.
6044 (workAreaMotionNotify): fix jumping over high rows.
6046 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6048 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6051 2002-04-16 Juergen Vigna <jug@sad.it>
6053 * text2.C (setCursor): set also the irow().
6054 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6056 (cursorDown): support for locking an inset if the x_fix value goes
6057 inside it. That way I can transverse insets too with cursor up/down.
6059 * lyxrow.h: added irow helper function same as other (i) functions.
6061 * BufferView_pimpl.C (cursorPrevious):
6062 (cursorNext): fixed for insets!
6064 2002-04-15 Juergen Vigna <jug@sad.it>
6066 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6067 position otherwise it is wrong in some cases.
6069 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6070 inside the inset before the call.
6072 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6074 * buffer.[Ch] (getBibkeyList): make it const.
6076 2002-04-12 Juergen Vigna <jug@sad.it>
6078 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6080 * text2.C (getCursorX): new helper function
6081 (setCursor): compute also ix_
6082 (setCursorFromCoordinates): set also ix.
6084 * lyxcursor.h: added ix_ and helper functions.
6086 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6088 * buffer.C (insertStringAsLines): dont break paragraph if the this
6089 paragraph is inside an inset which does not permit it!
6091 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6092 also with no chars on this paragraph.
6093 (paintRowText): only paint stuff if it's inside the workarea!
6095 * paragraph.C (breakParagraph): honor keepempty flag and break the
6096 paragraph always below not above.
6098 * BufferView2.C (unlockInset): update the paragraph layout on inset
6099 unlock as we changed paragraph in such a case.
6101 * lyxfind.C (LyXFind): clear the former selection if not found!
6103 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6104 again called in insertChar().
6106 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6107 an inset which uses the whole row!
6108 (rightMargin): ditto.
6109 (insertChar): force a rebreak if we inserted an inset!
6111 2002-03-28 Herbert Voss <voss@lyx.org>
6113 * lyxlength.[Ch]: add inBP() to get the right PS-point
6114 units (BigPoint). With inPixels we have rounding errors
6116 2002-04-11 Juergen Vigna <jug@sad.it>
6118 * text2.C (setCursorFromCoordinates): set iy to the right value.
6119 (setCursor): add check if row->previous exists!
6121 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6122 an old float_type as this was the case in the old code!
6124 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6126 * BufferView2.C (showLockedInsetCursor): use iy
6127 (fitLockedInsetCursor): ditto
6129 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6130 locked insets as there we have the right value now.
6132 * lyxcursor.C: added iy_ variable and iy functions to set to the
6133 baseline of cursor-y of the locked inset.
6135 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6136 (setCursor): fixed for insets which need a full row.
6138 * text.C (rowLastPrintable): don't ignore the last space when before
6139 an inset which needs a full row.
6140 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6141 as last character of a row when before a inset which needs a full row.
6143 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6145 * version.C.in: update date
6147 * text2.C (fullRebreak): try to always return true and see what
6150 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6152 * MenuBackend.C (expand): use Floating::listName
6154 * FloatList.C (FloatList): add listName argument to the built-in
6157 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6158 text associated with the float.
6160 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6162 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6164 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6166 * ShareContainer.h: add a couple of missing typenames.
6168 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6170 * lyxrc.C (getDescription): use _() correctly rather than N_().
6172 2002-03-28 Herbert Voss <voss@lyx.org>
6174 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6175 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6177 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6180 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6182 2002-03-29 Juergen Vigna <jug@sad.it>
6184 * lyxfunc.C (dispatch): add a missing fitCursor call.
6186 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6187 it was scrolled by a cursor move, so return the bool status.
6189 * BufferView.C (fitCursor): return the bool flag also to the outside
6190 world as this is needed.
6192 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6194 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6195 call the edit() as it is not needed (and wrong) IMO.
6196 (workAreaButtonPress): set the screen_first variable before evt.
6197 unlock the inset as this may change screen_first and then we have
6198 a wrong y position for the click!
6200 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6202 * MenuBackend.C (expand): another translation that I missed
6204 2002-03-28 Juergen Vigna <jug@sad.it>
6206 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6208 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6210 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6212 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6214 * MenuBackend.C (expand): fix export/view/update when there is no
6217 2002-03-27 Herbert Voss <voss@lyx.org>
6219 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6222 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * bufferview_funcs.C (currentState): only show paragraph number
6225 for is DEVEL_VERSION is set.
6227 * lyxfunc.C (dispatch): put warning in INFO channel
6229 * MenuBackend.C (expand): translate the name of floats
6231 * FloatList.C (FloatList): mark the float names for translation
6233 * converter.C (convert): use LibScriptSearch
6235 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * MenuBackend.C (defaults): fix default menu (we might as well get
6240 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6242 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6245 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6247 * lyxvc.C: reorder includes.
6249 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6251 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6254 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6256 * CutAndPaste.C: change layouts earlier on paste
6257 to avoid crashing when calling getFont()
6259 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6261 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6264 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * WorkArea.C: remove 'Pending' debug message.
6268 * most files: ws cleanup
6270 * buffer.[Ch]: ws changes
6272 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6274 2002-03-21 Juergen Vigna <jug@sad.it>
6276 * tabular.C (SetMultiColumn): collapse also the contents of the
6277 cells and set the last border right. Added a Buffer const * param.
6279 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6284 2002-03-19 Juergen Vigna <jug@sad.it>
6286 * text2.C (clearSelection): reset also xsel_cache.
6288 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6289 where it needs to be called (John tells us to do so too :)
6290 (selectionLost): reset sel_cache.
6292 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6294 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6296 * text2.C (setCursorIntern): put debuging code in INSETS channel
6298 2002-03-19 André Pönitz <poenitz@gmx.net>
6300 * lyxfunc.C: tiny whitespace change
6302 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6304 * ToolbarDefaults.C (init):
6305 * LyXAction.C (init):
6307 * BufferView_pimpl.C (Dispatch):
6308 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6310 2002-03-19 Allan Rae <rae@lyx.org>
6312 * exporter.C (Export): removeAutoInsets before doing anything else.
6313 While I've just introduced a dependency on BufferView this really is
6314 the best place to clean the buffer otherwise you need to cleanup in
6315 a dozen places before calling export or cleanup in a dozen functions
6318 * converter.C (runLaTeX):
6319 (scanLog): Better handling of removeAutoInsets and screen updates.
6321 * lyxfunc.C (dispatch): small whitespace changes
6323 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * WorkArea.C (C_WorkAreaEvent): return a value.
6326 (event_cb): return 1 if we handled the event, 0 otherwise.
6328 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6330 2002-03-18 Juergen Vigna <jug@sad.it>
6332 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6333 (GetAdditionalWidth): ditto.
6337 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6338 inset if we're there actually (probably not used right now but this
6339 is the direction to go for unifying code).
6340 (paste): disable code to clear the selection.
6342 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6343 inside an InsetText and move the check further up as it is in the
6346 * text2.C (pasteSelection): set a selection over the pasted text.
6348 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6350 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6351 and libgraphics to build on Cygwin.
6353 2002-03-15 Juergen Vigna <jug@sad.it>
6355 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6356 inserting an Inset into the paragraph. I know this is not the best
6357 fix but we already use current_view in CutAndPaste so we will remove
6358 all of it's using at the same time.
6360 * buffer.C (sgmlError): deactivated function till it is rewritten in
6361 the right mode, now it can create problems.
6363 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6364 before accessing it.
6366 2002-03-14 Juergen Vigna <jug@sad.it>
6368 * undo_funcs.C (textHandleUndo): do the right thing when updating
6369 the inset after the undo/redo.
6371 * text2.C (setCursor): just some testcode for #44 not ready yet.
6373 * undo_funcs.C (textHandleUndo): set the next() and previous()
6374 pointers of the paragraph to 0 before deleting otherwise we have
6375 problems with the Paragraph::[destructor].
6377 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6378 on a paragraph insertion.
6380 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6382 * buffer.C (asciiParagraph): use += operator for char append to
6385 * paragraph.C (getFontSettings): compare >= not just >
6386 (highestFontInRange): ditto
6389 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6391 * paragraph.C: change several algorithm to be more appripriate for
6392 the problem domain. This is lookip in FontList and in the InsetList.
6394 2002-03-13 André Pönitz <poenitz@gmx.net>
6397 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6399 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6404 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6406 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6408 * Painter.C (display): anon helper function, adjust code for this
6410 (pixmap): remove function.
6412 * Painter.h: remove private display variable.
6414 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6416 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6418 * WorkArea.[Ch]: remove figinset_canvas cruft.
6420 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6422 * lyxtextclass.C (operator): add one item cache optimization.
6424 * bufferlist.h: doxy changes
6426 * bufferlist.C: ws changes
6428 * DepTable.[Ch] (ext_exist): place const in the right spot.
6430 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6432 (workAreaExpose): call resizeInsets when the with BufferView changes.
6433 (Dispatch): adjust for protectedBlank removal
6434 (specialChar): call updateInset if the insert went ok.
6436 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6437 specialChar instead.
6439 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6441 * BufferView.h: doxy change
6443 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6445 * lyxtextclass.C (operator[]): remove non-const version
6446 (defaultLayout): remove non-const version
6448 2002-03-12 Juergen Vigna <jug@sad.it>
6450 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6451 did resize the LyXText too.
6453 * buffer.C (readLyXformat2): set layout information on newly allocated
6456 * tabular.C (OldFormatRead): set layout information on the paragraph.
6458 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6460 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6462 2002-03-11 Juergen Vigna <jug@sad.it>
6464 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6466 (resizeCurrentBuffer): force also the insets to resize themselfes.
6467 (moveCursorUpdate): fixed up for InsetText.
6469 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6472 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6473 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6474 value of Dialogs::tooltipsEnabled().
6475 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6477 2002-03-08 Juergen Vigna <jug@sad.it>
6479 * BufferView_pimpl.C (updateInset): update inset inside inset also
6480 if it isn't inside theLockingInset().
6482 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6484 * buffer.C (asciiParagraph): redo some of the word and line length
6486 (getLists): look for Caption instead of caption.
6488 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6490 * buffer.C (Buffer): initialize niceFile to true
6493 (makeDocBookFile): make sure niceFile is true on exit
6495 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6497 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6499 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6501 * LyXSendto.C: remove.
6502 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6503 * lyx_gui.C: remove now-redundant comment.
6504 * ColorHandler.h: remove forward declaration of class WorkArea.
6505 * lyxfunc.C: remove #include "WorkArea.h".
6507 2002-03-07 Juergen Vigna <jug@sad.it>
6509 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6510 got moved away with the DEPM and also set the inset_owner always
6511 right which before could have been omitted.
6513 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6515 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6516 wanted layout is not found.
6518 2002-03-07 Juergen Vigna <jug@sad.it>
6520 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6522 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6524 * paragraph.C (breakParagraph): use default layout not layout of
6526 (Paragraph): clear ParagraphParameters.
6528 2002-03-06 Juergen Vigna <jug@sad.it>
6530 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6531 otherwise it would not be a valid lenght. Fixed a special case in
6532 the minipage compatibility read where we end the document with a
6535 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6536 was set as it could be 0 for InsetTexts first entry.
6538 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * paragraph.C (writeFile): if layout is empty write out
6541 defaultLayoutName().
6543 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6544 file without named layout we set layout to defaultLayoutName().
6546 2002-03-06 Juergen Vigna <jug@sad.it>
6548 * CutAndPaste.C (copySelection): set layout for new paragraph.
6550 * text.C (prepareToPrint): leave ERT inset left aligned
6551 (leftMargin): don't indent paragraphs inside ERT insets
6553 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * paragraph.C (breakParagraph): dont call clear do the work manually
6557 * paragraph.[Ch] (clear): remove function
6559 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6561 * paragraph.C (Paragraph): dont call clear, the work has already
6564 * lyxtextclass.C (operator): assert if n is empty
6566 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6567 work manually instead.
6569 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6571 * BufferView_pimpl.C: protect selectionLost against text == 0
6573 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6575 * text.C (breakParagraph): fix a setting layout to '0' problem.
6577 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6579 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6580 final location of file, for the included files, and graphics.
6582 2002-03-05 Juergen Vigna <jug@sad.it>
6584 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6586 2002-03-04 Juergen Vigna <jug@sad.it>
6588 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6590 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6591 last column of multicolumn cells.
6592 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6594 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6596 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6597 file if it doesn't go to a temporary file.
6599 * buffer.C (sgmlOpenTag):
6600 (sgmlCloseTag): remove extra newline insertion.
6602 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6604 * text.C (getRowNearY): comment out debug msg
6606 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6608 * text2.C: first -> first_y
6610 * text.C (getRowNearY): add some attemts at a possible
6611 optimization, not working.
6613 * tabular.[Ch]: add BufferParams to several function so that newly
6614 created paragraph can be initialized to he default layotu for the
6617 * tabular-old.C (ReadOld): add buf->params to call of Init
6619 * screen.C: rename text->first to text->first_y
6621 * paragraph.C (breakParagraph): always set layout in the broken
6624 * lyxtextclass.C (Read): remove lowercase
6627 (delete_layout): ditto
6629 * lyxtext.h: rename first -> first_y
6631 * lyxlayout.C (Read): remove lowercase
6634 (obsoleted_by): ditto
6636 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6638 * buffer.C (insertErtContents): add params are to InsetERT
6639 (parseSingleLyXformat2Token): add code to check if a paragraphs
6640 layout really exist.
6641 (parseSingleLyXformat2Token): add params to several inset
6643 (asciiParagraph): remove lowercase, do the layout comparisons with
6646 * BufferView_pimpl.C (cursorNext): first -> first_y
6647 (resizeCurrentBuffer): first -> first_y
6648 (updateScrollbar): first -> first_y
6649 (scrollCB): first -> first_y
6650 (workAreaMotionNotify): first -> first_y
6651 (workAreaButtonPress): first -> first_y
6652 (checkInsetHit): first -> first_y
6653 (cursorPrevious): first -> first_y
6654 (cursorNext): first -> first_y
6655 (Dispatch): add buffer_->params to severl inset contructors
6657 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * lyxlayout.C (Read): remove some debug info that I forgot.
6661 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6662 clean up the code slightly.
6663 (makeLinuxDocFile): ditto
6664 (makeDocBookFile): ditto
6666 * text2.C: layout as string
6668 * text.C: layout as string
6670 * paragraph_pimpl.C: layout as string
6672 * paragraph.[Ch]: layout as string
6674 * lyxtextclasslist.[Ch]: layout as string
6676 * lyxtextclass.[Ch]: layout as string
6678 * lyxtext.h: layout as string
6680 * lyxlayout.[Ch]: layout as string
6682 * lyx_cb.C: layout as string
6684 * bufferview_funcs.C: layout as string
6686 * bufferparams.C: layout as string
6688 * buffer.C: layout as string
6690 * LyXView.[Ch]: layout as string
6692 * LaTeXFeatures.[Ch]: layout as string
6694 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6696 * BufferView_pimpl.C: change current_layout to string, remove
6701 (workAreaButtonRelease): layout as string
6703 * BufferView2.C (unlockInset): adjust
6705 * vspace.C (asLatexCommand): use an explict temp variable.
6707 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6709 * Makefile.am: use FRONTEND_*
6711 2002-03-01 Juergen Vigna <jug@sad.it>
6713 * tabular.C (SetWidthOfMulticolCell): changed to something better
6714 I hope but still work in progress.
6715 (recalculateMulticolumnsOfColumn): renamed function from
6716 recalculateMulticolCells as it is more appropriate now.
6717 (SetWidthOfCell): calculate multicols better.
6719 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6721 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6723 * lyxfunc.C (processKeySym): print sequence also if it is
6724 `deleted' (complete)
6726 * kbsequence.C (print): print sequence even if it is deleted
6727 (complete would be a better word, actually).
6729 * lyxfunc.C (dispatch): print complete options after a prefix key
6731 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6733 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6735 * text2.C (setCharFont): eliminate setCharFont code duplication.
6737 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6739 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6740 LFUN_TABULAR_FEATURE (bug #177)
6742 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6744 * Makefile.am: remove figure.h
6746 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6748 * Bufferview_pimpl.C:
6760 * text2.C: remove #include "lyx_gui_misc.h".
6762 * LaTeX.C: added #include <cstdio>
6764 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6767 that the paragraph following this one can have.
6769 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6771 * vspace.C (asLatexCommand): fix bogus gcc warning
6773 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6775 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6777 * text2.C (setLayout): get rid of redundant code
6779 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6781 * text2.C (incDepth): make sure depth cannot be increased beyond
6784 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6786 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6787 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6789 * PainterBase.h (image):
6790 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6793 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6797 * BufferView_pimpl.C:
6798 * BufferView_pimpl.h:
6818 * sp_spell.C: remove fig inset, and the crap house of
6819 cards that follows it
6821 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6827 * nt_defines.h: move .h into support/
6829 * vms_defines.h: remove
6831 * WorkArea.C: add space in debug output
6835 * buffer.C: add WITH_WARNINGS
6839 * bufferlist.C: s/retrive/retrieve/, add docs
6850 * lyxgui.C: add ID to X error handler
6852 * lyxtestclass.c: fix typo
6854 2002-02-26 Juergen Vigna <jug@sad.it>
6856 * tabular_funcs.C (write_attribute): changed so that some default
6857 attributes are not written at all.
6858 (getTokenValue): set default values before trying to read the
6859 value so we have the return value always set as default if we don't
6860 find the token we search for.
6862 * tabular.C (Write): write bools as bools not as strings!
6864 2002-02-22 Juergen Vigna <jug@sad.it>
6866 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6867 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6869 * text.C (leftMargin): don't add an indent for paragraphs inside
6870 tabular cells (fix #208).
6872 2002-02-21 José Matos <jamatos@fep.up.pt>
6874 * tabular.C (docBook): fixed support for long tables.
6876 2002-02-20 Juergen Vigna <jug@sad.it>
6878 * text2.C (getFont): get the drawing font of the Inset if this
6879 paragraph is inside an inset (only important for InsetERT for now).
6881 * buffer.C (insertErtContents): use new lanugage params in ERT
6884 * CutAndPaste.C: commenting out seemingly uneeded code.
6886 2002-02-19 Allan Rae <rae@lyx.org>
6888 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6889 Iterators might be simple to use but they also get invalidated.
6890 (removeAutoInsets): renamed saved cursor tracking variables and added
6891 some comments to clarify what everything does.
6893 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6900 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6901 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6904 * vc-backend.h: remove #include "support/syscall.h"
6908 * converter.C: rearrange #includes in Lars' approved fashion.
6910 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6911 forward declare class Timeout in the header file.
6913 * XFormsView.C: changes due to the above.
6915 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6918 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6919 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6921 2002-02-18 José Matos <jamatos@fep.up.pt>
6923 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6926 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6928 * a lot of small ws changes
6929 * add a lot of using std::XXX
6930 * use std construcs some places where approp.
6931 * use some exisint stuff from lyxfunctional where approp.
6932 * Make file changes to use partial linking (lets test this now...)
6934 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6938 remove #include "support/syscontr.h" as it's redundant. Always has been.
6946 change Systemcalls::System to Systemcalls::Wait and
6947 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6948 No change of functionality, just reflects the stripped down Systemcalls
6951 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6953 * debug.[Ch]: add a GRAPHICS type to the enum.
6955 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6959 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6962 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6965 match the changes below.
6967 * text2.C (toggleInset): if there is not editable inset at cursor
6968 position, try to see if cursor is _inside_ a collapsable inset
6971 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6973 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6974 document menu has a nice checkbox
6976 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6978 * lyxlength.C (asLatexString): change PW to output as percent of
6981 * lengthcommon.C: change '%' to 't%'
6983 * lyxfunc.C (dispatch): a few comments from Martin
6985 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6989 * BufferView_pimpl.h:
6990 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6993 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6995 * vspace.C (inPixels): fix compiler warning
6997 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6999 * lyxfunc.C (getStatus): fix status message for disabled commands.
7001 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7003 * BufferView_pimpl.C: fix crash on close buffer
7004 during selection (#227)
7006 2002-01-27 Herbert Voss <voss@lyx.org>
7008 * buffer.C: link old Figure to new graphic inset
7010 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7012 * FontLoader.C (getFontinfo): Change the latex font names in order
7013 to match the names of type1inst.
7015 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7017 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7019 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7022 (remove_files_with_extension): ditto
7023 (remove_file): ditto
7026 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7027 document is smaller than the work area height. Do not initialize
7028 static variables to 0.
7030 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7032 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7034 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7035 LFUN_LAYOUT_PARAGRAPHS.
7037 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7038 tabular. It is possible to provide a possible cell, which will
7039 typically be the actcell from the corresponding insettabular
7041 * lyxfunc.C (getStatus): small cleanup; disable
7042 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7045 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7047 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7049 * paragraph.C (startTeXParParams):
7050 (endTeXParParams): new methods. The LaTeX code to
7051 start/end paragraph formatting
7052 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7053 empty (fixes bug #200)
7055 * vspace.C (inPixels): adapt to the change below
7056 (inPixels): [later] more cleanups (remove unused variables)
7058 * lyxlength.C (inPixels): change to use a width and a height as
7061 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7063 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7064 Replaced with \paperwidth
7066 * DepTable.C (insert): add std:: qualifier
7068 2002-01-18 Allan Rae <rae@lyx.org>
7070 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7073 * text.C (drawInset): Turned out I didn't know enough about how
7074 rebreaking worked. This fixes most of the redraw problems. I see
7075 an occasional cursor trail when a line is broken now and the cursor
7076 placement can seem out by a few pixels also after a rebreak.
7078 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7080 * buffer.C (parseSingleLyXformat2Token): update because minipage
7081 width is now a LyXLength
7083 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7085 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7088 2002-01-17 Juergen Vigna <jug@sad.it>
7090 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7092 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7093 is set correctly and the inset is updated correctly.
7095 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7097 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7098 the beginning of the loop.
7100 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7102 * lyxrc.C: improve help for use_scalable_fonts
7104 2002-01-17 Allan Rae <rae@lyx.org>
7106 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7108 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7110 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7111 make sure to set their inset_owner to the right value (bug #171)
7113 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7116 * DepTable.C: Implement mtime checking to reduce time spent doing
7119 2002-01-16 Juergen Vigna <jug@sad.it>
7121 * tabular.C (GetAdditionalHeight): one of error fixed.
7123 * lyxrc.C (output): small fix in writing use_pspell.
7125 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7127 * sp_base.h: #include LString.h
7129 2002-01-16 Allan Rae <rae@lyx.org>
7131 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7132 Can someone check this please?
7134 * text.C (drawInset): It was possible that p.row would be removed by
7135 breakAgainOneRow upsetting a few other settings. There may be another
7136 small tweak possible by setting need_break_row = 0 when p.row has been
7137 removed but I don't know enough about the logic here.
7139 2002-01-15 Allan Rae <rae@lyx.org>
7141 * text.C (insertChar): removed conditional truism.
7143 * BufferView2.C (removeAutoInsets): More tweaks.
7144 cur_par_prev could be a stray pointer. Check for trailing empty line
7145 in case last line was cur_par and only had an error inset on it.
7147 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7149 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7152 * vc-backend.C (most methods):
7153 * exporter.C (Export):
7154 * converter.C (convert):
7156 * LyXSendto.C (SendtoApplyCB):
7157 * lyxfunc.C (dispatch):
7161 * lyx_cb.C (AutoSave):
7163 * BufferView_pimpl.C (MenuInsertLyXFile):
7164 * buffer.C (runChktex): use Buffer::filePath().
7166 * buffer.h: rename filename to filename_; rename filepath to
7167 filepath_ and make it private
7168 (filePath): new method
7170 * buffer.C (writeFile): use fileName()
7173 * lyx_main.C (init): fix starting of LyX when the binary is a
7174 link from so,ewhere else.
7176 * minibuffer.C: include <cctype> for isprint
7178 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7180 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7181 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7182 name clash with InsetCollapsable's width function.
7184 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * lastfiles.C: include <iterator>
7188 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7190 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7193 * buffer.C (makeLaTeXFile): ditto.
7194 Also make loop operation more transparent.
7196 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7198 * ToolbarDefaults.C: remove trailing comma closing namespace.
7200 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7202 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7205 * trans.C (Load): comment out unused variable, allowed.
7207 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7209 * minibuffer.[Ch] (append_char): new method to recieve input from the
7210 drop-down completion browser. If a key was pressed, then recieve this
7211 char and append it to the existing string.
7212 (peek_event): modify the positioning data passed to the completion
7213 browser so that it can be placed above the minibuffer rather than below.
7214 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * LyXAction.C (init): alloe error-next for readonly documents.
7218 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7221 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7223 * bufferlist.C (readFile): create the buffer _after_ checking that
7226 * lyxfunc.C (verboseDispatch): fix handling of arguments
7228 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7230 * lyxrc.C: use string::erase() instead of initializing to "".
7233 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7235 * BufferView_pimpl.h:
7236 * BufferView_pimpl.C:
7239 * text2.C: tell X when we have made a selection for copying
7241 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7243 * BufferView_pimpl.C (MenuInsertLyXFile):
7244 * lyxfunc.C (menuNew):
7246 (doImport): add shortcuts to directory buttons
7248 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7251 * lyxfunc.C (setStatusMessage):
7252 (getStatusMessage): new methods
7253 (getStatus):use setStatusMessage instead of setErrorMessage
7254 (dispatch): when function is disabled, set error message here
7255 [instead of in getStatus previously]
7257 * BufferView_pimpl.C (workAreaButtonRelease): update
7258 toolbar/menubar here too.
7260 2002-01-13 Allan Rae <rae@lyx.org>
7262 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7263 Now seems indestructible. Remaining task is to audit all other
7264 code affected by deleteEmptyParagraphMechanism. One small quirk
7265 left is that an empty document with an error in the preamble can
7266 be made to report an error but no error box appears. I don't know
7268 (removeAutoInsets): Improved comments.
7270 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7273 * Thesaurus.C: update for Aiksaurus 0.14
7275 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7277 * text2.C (firstParagraph): removed member function, all uses
7278 replaces with ownerParagraph
7279 (redoParagraphs): here
7281 (toggleAppendix): here
7282 * BufferView2.C (insertErrors): here
7283 (setCursorFromRow): here
7285 2002-01-13 Allan Rae <rae@lyx.org>
7287 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7288 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7289 There is still a way to segfault this although you may have to do this
7290 multiple times: Have an InsetERT with an unknown command in it.
7291 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7292 <down-arrow>, <Enter> again, View->DVI, BANG!
7294 * text2.C (setCursor):
7295 (deleteEmptyParagraphMechanism):
7296 * lyxtext.h (setCursor):
7297 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7298 Making use of the return value may help fix other bugs.
7300 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7304 * LyXView.C (updateMenubar): call MenuBar::update here
7305 (updateToolbar): but not here
7306 (showState): do not update toolbar/menubar
7308 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7309 should need to care about that.
7311 * lyxfunc.C (verboseDispatch): simplify a bit
7312 (getStatus): have a version which takes a pseudoaction, and
7313 another which requires a (kb_action,string).
7315 * LyXAction.C (retrieveActionArg): make it work also when action
7316 is not a pseudo-action.
7317 (getActionName): simplify a bit
7320 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7322 * lyxfunc.C (verboseDispatch): new families of methods with
7323 several ways to specify a command and a bool to indicate whether
7324 the command name and shortcut should be displayed in minibuffer
7325 (eventually, we could extend that to a finer bitmask like
7326 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7327 (dispatch): the pristine dispatch command which just, well,
7328 dispatchs! Note it still sets its result to minibuffer; I'm not
7331 * lyxfunc.h: remove setHintMessage
7333 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7335 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * BufferView_pimpl.C (specialChar): delete new inset if we have
7338 not been able to insert it.
7340 * kbmap.C: revert to using int instead of kb_action, since all we
7341 are dealing with is pseudo-actions.
7343 * LyXAction.C (searchActionArg): change to return int instead of
7344 kb_action, since the result is a pseudoaction.
7346 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7348 * buffer.C (insertErtContents): Fix (partially) the font bug.
7350 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7352 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7353 as the other one is broken on my machine!
7355 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7358 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7360 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7362 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7363 reflect their actual use. Provide compatibility code for older lyxrc
7366 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7368 change names of popup font variables in line with the changes to lyxrc.C
7370 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7372 * buffer.C (asciiParagraph): avoid outputing a word twice after
7375 * lyxrc.C (getDescription): document that document_path and
7376 template_path can be empty.
7378 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * LaTeXFeatures.C (getMacros):
7381 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7383 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7385 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7387 (getPackages): rename feature "floats" to "float". Use an array to
7388 iterate over 'simple' features (i.e. just a \usepackage). Add
7389 handling of "amsmath" (renamed from "amsstyle").
7391 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7393 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7396 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7398 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7399 FuncStaus::FuncStatus & FuncStaus::some_method().
7401 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7403 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7404 of the func_satus stuff. Edited and massaged in various ways by
7407 * lyxfunc.C (getStatus): use FuncStatus
7409 2002-01-08 Juergen Vigna <jug@sad.it>
7411 * text.C (nextBreakPoint): use function Inset::isChar().
7413 * paragraph.C (TeXOnePar): use function
7414 Inset::forceDefaultParagraphs.
7416 * buffer.C (latexParagraphs): use function
7417 Inset::forceDefaultParagraphs.
7419 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7421 * lyx_gui.C (init): set the style of the menu popups to
7422 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7424 2002-01-07 Juergen Vigna <jug@sad.it>
7426 * text.C (setHeightOfRow): small fix
7427 (prepareToPrint): don't look at alignment if we don't have the place
7430 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7432 * box.C: New file. Move the Box methods and functions out of box.h,
7433 following Lars' suggestion.
7435 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7437 * box.h: #include "support/LOstream.h", needed for inlined function.
7440 * lyxtextclasslist.C: added some using std declarations.
7442 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7444 * box.h: make signed dimensions to allow insets wider than
7445 the screen (bug #162)
7447 * BufferView_pimpl.C: add some insetHit debug
7449 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7451 * vc-backend.C: add FIXME
7453 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7455 * lyxfunc.C (getStatus): enable code for showing math font status
7458 2002-01-07 Juergen Vigna <jug@sad.it>
7460 * text.C (nextBreakPoint): removed debug output not needed anymore.
7462 2002-01-06 Juergen Vigna <jug@sad.it>
7464 * text.C (nextBreakPoint): fixed up this function we had this bug
7465 since ever but now hopefully we break row better.
7466 (insertChar): we have to check if an inset is the next char as it
7467 could now happen that a large inset is causing a break.
7469 2002-01-05 Juergen Vigna <jug@sad.it>
7471 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7472 if it doesn't like to be drawed.
7474 2002-01-04 Juergen Vigna <jug@sad.it>
7476 * BufferView2.C (lockInset): forgot to set a cursor.
7478 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7480 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7485 * form_maths_panel.C:
7486 * form_maths_panel.h:
7487 * form_maths_panel.fd: implemented sub- and super- buttons in math
7490 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7491 (or ^ space) to be used as in TeX (req'd by André).
7493 * lyxfunc.C: Allow ^ and _ again to be used both as
7494 super/subscript (mathed) and as themselves (in text).
7496 2002-01-03 Allan Rae <rae@lyx.org>
7498 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7499 "LyX" or the filename of the current buffer if it has one. This is a
7500 modified form of John Levon's patch.
7502 * XFormsView.C (setWindowTitle): also set icon title.
7504 * LyXView.h (setWindowTitle): signature changed.
7505 * XFormsView.h (setWindowTitle): ditto.
7507 2002-01-02 Juergen Vigna <jug@sad.it>
7509 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7511 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * screen.C (topCursorVisible): introduce a temp var for
7514 text->cursor.row(), handle the case where this row is null. (kindo
7517 * text2.C (setCursor): add a couple of asserts.
7519 * paragraph.h (inset_iterator): add -> operator
7521 * paragraph.[Ch] (autoDeleteInsets): remove member function
7523 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7524 cursor pos correctly and handle inset deletion by itself.
7525 (insertErrors): move iterator declaration out of for expression
7527 * lyxtextclass.C: add <algorithm>
7529 * Makefile.am: added the new files to sources, removed layout.C
7531 * layout.C: removed file
7533 * layout.h: remove LYX_DUMMY_LAYOUT
7535 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7539 * lyxtextclass.[Ch]:
7540 * lyxtextclasslist.[Ch]: new files
7542 * include order changes to a lot of files, also changes because of
7545 2001-12-27 Juergen Vigna <jug@sad.it>
7547 * buffer.C (asciiParagraph): more fixes.
7549 * tabular.C (ascii): make ascii export support export of only the
7550 data separated by a column-delimiter.
7551 (ascii): better support for ascii export.
7553 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7555 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7557 * tabular_funcs.C: use a "using std::getline" instead of the
7558 previous fix from Angus (necessary for cxx + lyxstring)
7560 2001-12-24 Juergen Vigna <jug@sad.it>
7562 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7564 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7565 problems. First check a minipage also if we have some ert-contents
7566 (not only on par->size(), second set the right depth of the paragraph
7567 on the relink to the root-paragraph-list!
7569 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7570 which then did not anymore update the main paragraphs on undo/redo!
7572 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7574 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7575 code. Support all font-changing funcs (even those which are not in
7576 menu currently). Support for reporting font settings in
7577 mathed (disabled until Andre provides a function on mathed's side).
7579 * func_status.h (toggle): small helper function to set toggle
7582 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7584 * tabular_funcs.C: getline -> std::getline
7586 2001-12-21 Juergen Vigna <jug@sad.it>
7588 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7589 accessed and could be 0 (I couldn't generate this but it seems
7592 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7594 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7595 * tabular_funcs.h: here and include iosfwd
7597 2001-12-20 Juergen Vigna <jug@sad.it>
7599 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7600 inside inset but undo_par was.
7602 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7604 * Thesaurus.C: always include <config.h> in sources.
7608 * box.h: do not include <config.h> in header files
7610 * text.C (paintLastRow): remove unused variable
7612 * text.C (transformChar):
7614 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7617 * font.C (width): rewrite to use uppercase() instead of
7620 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7622 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7624 * lyxfind.C: clean up of find failure position change
7626 2001-12-20 Juergen Vigna <jug@sad.it>
7628 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7630 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7631 (TeXRow): added to LaTeX a single tabular row.
7632 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7633 (Latex): simplified and finally good LT-h/f support.
7634 (various_functions): just small adaptions for LT-h/f support.
7636 * tabular_funcs.[hC]: added and moved here all not classfunctions
7639 2001-12-19 Juergen Vigna <jug@sad.it>
7641 * tabular.[Ch]: better support for longtabular options (not finished
7644 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7646 * text.C (paintLastRow): use the label font instead of the font of
7647 the last character to compute the size of *_BOX. This makes more
7648 sense and avoids a crash with empty paragraphs.
7649 Use Painter::rectangle to draw EMPTY_BOX.
7651 2001-12-19 Juergen Vigna <jug@sad.it>
7653 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7654 the paragraphs if the replaced paragraph is not the first one!
7655 Tried to delete not used paragraphs but does not work yet so for
7656 now it's inside #ifdef's and by default off!
7658 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7660 * MenuBackend.C: include "lyx_main.h" instead of declaring
7661 lastfiles (actually was declared as LastFiles* instead of a
7664 2001-12-17 Juergen Vigna <jug@sad.it>
7666 * tabular.C (AppendColumn): applied John's fix
7668 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7672 * BufferView_pimpl.h:
7673 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7676 * box.h: new start of class for above
7678 * lyxfunc.C: ignore space-only minibuffer dispatches.
7679 Show the command name when it doesn't exist
7681 * minibuffer.C: don't add empty lines to the history
7683 * minibuffer.C: add a space on dropdown completion
7685 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7687 * text.C: fix line above/below drawing in insets
7689 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7691 * lyxlength.C (LyXLength): Initialize private variables.
7693 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7696 when inserting error insets.
7698 2001-12-13 Juergen Vigna <jug@sad.it>
7700 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7701 actually sometimes the before-paragraph.
7702 (setUndo): don't clear the redostack if we're not actually undoing!
7704 2001-12-06 Juergen Vigna <jug@sad.it>
7706 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7707 and fixed redoing of main paragraph, so we can use it now ;)
7709 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7711 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7713 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7716 2001-12-13 André Pönitz <poenitz@gmx.net>
7719 * undo_func.C: minor cleanup
7721 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7723 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7724 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7725 font in urw-fonts package which is marked as -urw-fontspecific and
7726 does not work (incidentally, changing the encoding in the
7727 fonts.dir of this package to -adobe-fontspecific fixes the
7730 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7731 is a crash when undoing first paragraph (Juergen, please take a
7732 look). THis does not mean the undo fix is wrong, just that it
7735 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7736 the (Paragraph*) version when needed instead of duplicating the
7739 * text.C (workWidth): use Inset::parOwner to find out where the
7740 inset has been inserted. This is a huge performance gain for large
7741 documents with lots of insets. If Inset::parOwner is not set, fall
7742 back on the brute force method
7744 * paragraph_pimpl.C (insertInset):
7745 * paragraph.C (Paragraph):
7746 (cutIntoMinibuffer): set parOwner of insets when
7747 inserting/removing them
7749 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7751 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7757 * mathed/formulabase.C:
7758 * mathed/math_cursor.[Ch]:
7759 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7762 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7764 * lyxlength.[Ch] (operator!=): new function
7766 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7768 * text.C (workWidth): use Inset::parOwner to find out where the
7769 inset has been inserted. This is a huge performance gain for large
7770 documents with lots of insets. If Inset::parOwner is not set, fall
7771 back on the brute force method
7773 * paragraph_pimpl.C (insertInset):
7774 * paragraph.C (Paragraph):
7775 (cutIntoMinibuffer): set parOwner of insets when
7776 inserting/removing them
7778 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7780 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7782 * tabular-old.C (getTokenValue):
7783 * tabular.C (getTokenValue):
7784 (write_attribute): new versions for LyXLength
7785 (everywhere): adjust the use of widths
7787 * tabular.h: change the type of widths from string to LyXLength
7789 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7791 * paragraph.C: fixed missing line number count when exporting
7792 Environments to LaTeX file
7794 * buffer.C: added informational message for checking line numbers.
7796 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7798 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7799 paragraph, do the 'double space' part, but not the 'empty
7802 * text.C (workWidth): small optimization
7803 (getLengthMarkerHeight): use minimal size for negative lengths.
7805 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7807 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7809 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7811 2001-12-11 André Pönitz <poenitz@gmx.net>
7814 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7816 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7818 * text2.C: keep selection on a setFont()
7820 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7822 * lyx_cb.C: another bv->text misuse, from insert label
7824 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7827 * kbsequence.C: re-instate nmodifier mask
7829 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7831 * lyx_main.h: make lyxGUI private.
7833 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7835 * lyxfind.C: place the cursor correctly on failed search
7837 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * text.C (getLengthMarkerHeight): for small heights, the arrows
7840 are not always on top/bottom of the text
7841 (drawLengthMarker): smaller arrows; take the left margin in
7842 account; draw also vfills.
7844 (paintLastRow): remove special code for vfill and standard spaces,
7845 since everything is handled in drawLengthMarker now.
7847 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7849 * buffer.C (insertErtContents): try to handle font and language
7850 interaction a bit better.g
7852 * ColorHandler.C (updateColor): change the hash to cover the whole
7853 LColor enum, ws cleanup
7854 (getGCLinepars): ditto
7855 (getGCLinepars): only lookup in the linecache once.
7857 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7859 * iterators.C (operator++): Make the iterator more robust
7861 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7863 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7865 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7868 * text.C: better added space drawing
7870 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7873 * BufferView2.C: fix layout combo update on inset unlock
7875 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7877 * Makefile.am: don't compile unused files
7879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7883 * LyXAction.C: remove old LFUN_LAYOUTNO
7885 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7887 * paragraph_pimpl.h:
7888 * paragraph_pimpl.C: isTextAt() doesn't need font param
7890 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7893 * lyxlex.C: little cleanup
7895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7897 * BufferView_pimpl.C: fix insertAscii for insets
7899 2001-12-05 Juergen Vigna <jug@sad.it>
7901 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7902 set the right font on the "multi" paragraph paste!
7904 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7910 * lyxlength.C: remove out-commented code.
7926 * vc-backend.C: change "while(" to "while ("
7928 * lyxlength.[Ch]: add zero function to check if length is zero or
7930 * lyxgluelength.C: use it
7932 2001-12-05 Allan Rae <rae@lyx.org>
7934 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7935 Works for 2.95.3, from what I understand of Garst's reports this should
7936 work for other g++ versions. We're screwed if the abs(int) definition
7937 changed between bugfix releases of gcc.
7939 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7941 * text.C: fix chapter label offset !
7943 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7946 * text.C: fix hfill at end of line, clean up
7948 2001-12-04 Juergen Vigna <jug@sad.it>
7950 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7951 that we force an update of the inset and it's owners if neccessary.
7953 2001-12-03 Juergen Vigna <jug@sad.it>
7955 * text.C (rowLast): simplified code
7957 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7959 * lyxfunc.C: fix show options on timeout
7961 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7963 * screen.C (topCursorVisible): scroll half a page when the cursor
7964 reached top of bottom of screen
7966 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7968 * minibuffer.C: deactivate on loss of focus
7970 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7972 * vspace.[Ch] (operator!=): add operator.
7974 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7976 * BufferView_pimpl.C: refuse to open an inset when
7977 there's a selection.
7979 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7981 * BufferView_pimpl.C: allow to click on RHS of full row insets
7983 2001-11-30 Juergen Vigna <jug@sad.it>
7985 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7986 insets for undo reasons.
7988 2001-11-28 André Pönitz <poenitz@gmx.net>
7990 * vspace.[Ch]: cosmetical changes
7992 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8002 * kbsequence.C: part re-write of old kb code
8005 * WorkArea.C: remove Lgb_bug_find_hack
8007 2001-11-30 José Matos <jamatos@fep.up.pt>
8009 * buffer.C (makeDocBookFile): add a comment to point a hack.
8010 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8011 Fixed a double write of labels.
8013 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8016 * LaTeX.h Fixed bug in LaTeX class where it would not
8017 re-run latex if no depfiles were changed, but the .dvi was removed.
8019 2001-11-28 André Pönitz <poenitz@gmx.net>
8021 * all the files from the change on 2001/11/26:
8022 use lyx::layout_type instead of LyXTextClass::size_type
8023 use lyx::textclass_type instead of LyXTextClassList::size_type
8025 2001-11-29 Juergen Vigna <jug@sad.it>
8027 * text.C: added support for paragraph::isFreeSpacing()
8029 * buffer.C: same as above
8031 * paragraph.h: inserted isFreeSpacing() function to enable
8032 FreeSpacing inside InsetERT.
8034 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8035 of the paragraph's in the cut/copy buffer to 0!
8037 * text2.C (removeRow): remove the assert as it can!
8039 * lyxtext.h: added helper function firstRow returning firstrow and
8040 made firstrow private again.
8042 * BufferView2.C (lockInset): don't relock if we're already locked!
8044 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8046 (removeRow): added Assert::(firstrow)
8048 * debug.C: forgot to add INSETTEXT here.
8050 2001-11-28 Juergen Vigna <jug@sad.it>
8052 * sp_spell.C (initialize): changed error text to more general
8053 spellchecker command use (not only ispell!)
8055 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8057 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8059 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8061 * vspace.C: initialise lyxgluelength on failure
8063 2001-11-28 Allan Rae <rae@lyx.org>
8065 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8066 declaration & definition that looks like a function declaration.
8068 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8070 * BufferView2.C (copy):
8071 (copyEnvironment): do not clear the selection when doing a copy.
8073 * text.C (paintFirstRow): compilation fix
8075 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8077 * tabular.C (Latex): correct line count when writing latex.
8079 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8081 * paragraph_pimpl.h:
8082 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8085 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8089 * LColor.C: change vfillline->added_space
8091 * text.C: add markers and text for added space
8093 * vspace.C: fix comment
8095 2001-11-28 André Pönitz <poenitz@gmx.net>
8097 * paragraph.C: whitespace changes
8098 * all the other files from the change on 2001/11/26:
8099 change *::pos_type into lyx::pos_type
8101 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8103 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8104 language of the document when inserting error insets.
8106 2001-11-26 André Pönitz <poenitz@gmx.net>
8108 * BufferView_pimpl.[Ch]:
8116 * paragraph_pimpl.[Ch]:
8119 * text2.C: reduce header dependencies, introduce type for positions
8121 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8123 * <various>: change to use Alert.h
8125 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8127 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8128 when encountering an unknown token.
8129 (readLyXformat2): Show an error message if there were unknown tokens.
8131 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8134 * BufferView_pimpl.C:
8138 * text2.C: use par->isInset()
8140 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8142 * paragraph_pimpl.h:
8143 * paragraph_pimpl.C: cleanup
8145 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8147 * text2.C (removeRow):
8148 * text.C (setHeightOfRow): remove useless (and costly) call to
8151 2001-11-20 Allan Rae <rae@lyx.org>
8153 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8154 Now need Inset*::checkInsertChar() to return true for appropriate
8155 cases so that the characters in the minibuffer will actually be
8158 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8160 * text.C: change the order of the includes.
8161 (workWidth): initialize it at once.
8162 (workWidth): make maxw unsigned
8163 (setHeightOfRow): remove unused variable (inset)
8164 (selectSelectedWord): remove unused variable (inset)
8165 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8167 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8170 server is not running.
8172 (closeConnection): add debug info when server is disabled.
8174 * ColorHandler.C (getGCForeground): send debug message to GUI
8177 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8179 * kbmap.C (bind): modify because return conventions of
8180 kb_sequence::parse have changed.
8182 * kbsequence.C (parse): only ignore spaces and not any stupid
8183 control character. This avoids tests like s[i] <= ' ', which are
8184 guaranteed to fail with 8bit characters and signed chars.
8185 Change return code to string::npos when there have been no error
8186 (0 was a bad idea when error is at first character)
8188 2001-11-14 José Matos <jamatos@fep.up.pt>
8191 * buffer.C (simpleDocBookOnePar): removed unused argument.
8193 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8195 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8196 insets which are part of a word. Paragraph::isLetter takes care of
8197 that now. Use Paragraph::isInset to identify insets.
8198 (selectSelectedWord): do not test for hyphenation break.
8200 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8201 that protected spaces are considered as spaces.
8203 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8206 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8209 * lyxserver.C: fix it. and small cleanup.
8211 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8213 * BufferView_pimpl.C: use inline helpers
8216 * LaTeXFeatures.C: fix typos
8219 * Spacing.C: move spacing_string into class
8221 * ToolbarDefaults.C: move stuff into namespace anon
8223 * layout.h: update enum
8225 * lyxfunc.C: use better debug
8227 * minibuffer.h: fix typo
8231 * WorkArea.C: add and use Debug::WORKAREA
8235 * text2.C: code re-organisation, inline helpers
8237 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8239 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8240 std::vector.empty().
8242 2001-11-09 Allan Rae <rae@lyx.org>
8244 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8245 '\n's after tables. Tabular and ERT inset work now makes this no
8248 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8251 * minibuffer.C: fix crash, improve drop-down completion
8253 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8256 * lyxserver.C: invalidate fd's when doing endPipe()
8258 2001-11-08 José Matos <jamatos@fep.up.pt>
8260 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8261 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8264 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8266 2001-11-07 José Matos <jamatos@fep.up.pt>
8269 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8272 * buffer.C (sgmlOpenTag):
8273 * buffer.C (sgmlCloseTag): removed debug info.
8275 * buffer.h (sgmlOpenTag):
8276 * buffer.h (sgmlCloseTag): made public.
8278 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8280 * buffer.C (saveParamsAsDefaults):
8281 * lyx_cb.C (MenuLayoutSave): remove
8283 * LyXAction.C (init):
8285 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8287 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * buffer.C (setPaperStuff): removed from here...
8291 * bufferparams.C (setPaperStuff): ... and moved there.
8293 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8297 * XFormsView.C: add support for drop-down completion
8299 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8301 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8304 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8306 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8309 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8311 * lyx_main.C: change ref to known bugs
8313 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8315 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8316 to work around older babel problems.
8318 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8320 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8322 2001-10-24 Juergen Vigna <jug@sad.it>
8324 * tabular-old.C (ReadOld): below variable changes reflected.
8326 * tabular.[Ch]: added ltType struct for longtable header/footer
8327 defines and changed all instances where they are used. Added
8328 future support for double top/bottom rows.
8330 2001-10-24 José Matos <jamatos@fep.up.pt>
8332 * buffer.h (docbookHandleCaption):
8333 * buffer.C (docbookHandleCaption): removed unused function.
8334 (makeDocBookFile): moved docbook supported version to v4.1.
8336 2001-10-24 José Matos <jamatos@fep.up.pt>
8339 * tabular.C (docbookRow): new function to export docbook code of a row.
8340 (DocBook): now honors the longtable flags.
8342 2001-10-23 José Matos <jamatos@fep.up.pt>
8345 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8346 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8348 * buffer.C (makeLinuxDocFile):
8349 (makeDocBookFile): reworked the preamble, more clean, and with
8350 support for lyx defined entities. Changed the document declaration
8351 to be more XML friendly.
8353 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8354 if we need to output XML that should be done with a filter.
8356 2001-10-22 Juergen Vigna <jug@sad.it>
8358 * sp_pspell.h (class PSpell): add alive function needed in the
8359 controller to see if the spellchecker could be started.
8361 2001-10-22 Juergen Vigna <jug@sad.it>
8363 * buffer.C (insertStringAsLines): modify the font for inserting
8364 chars in certain conditions by calling checkInsertChar(font).
8366 2001-10-19 Juergen Vigna <jug@sad.it>
8368 * text.C (workWidth): use getRow instead of wrong algorithm.
8369 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8371 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8376 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8378 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8380 * text.C (workWidth): do not search for the exact row when
8381 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8382 optimization for big documents.
8384 2001-10-18 Juergen Vigna <jug@sad.it>
8386 * text.C (workWidth): new function with added Inset * parameter.
8388 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8390 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8392 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8393 change return type of getColumnNearX.
8396 * text.C (changeRegionCase): use uppercase/lowercase instead of
8399 (rightMargin): simplify code by factoring out the uses of
8404 (appendParagraph): use Paragraph::size_type
8406 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8408 * vspace.C (asLatexString): add a missing break
8410 2001-10-15 Herbert Voss <voss@perce.de>
8412 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8414 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8416 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8419 2001-10-10 André Pönitz <poenitz@gmx.net>
8421 * lyxfunc.C: removed greek_kb_flag.
8423 2001-10-10 Herbert Voss <voss@perce.de>
8425 * lyx_main.C: delete global string help_lyxdir.
8427 2001-10-09 Herbert Voss <voss@perce.de>
8429 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8431 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8433 * lyx_main.C: added global string help_lyxdir.
8435 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8437 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8439 * lyxrc.C (set_font_norm_type): support iso8859-4
8441 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8443 * LaTeX.C (deplog): add another regex for MikTeX
8445 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8447 * lyxrc.C (set_font_norm_type): support iso8859-3
8449 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8453 * LaTeXFeatures.C: remove special case of french and index
8455 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8456 before \begin{document}). This solves several incompatibilities.
8458 2001-10-03 Garst Reese <reese@isn.net>
8460 * lyx_cb.C: change CheckTex error msg.
8462 2001-10-03 José Matos <jamatos@fep.up.pt>
8464 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8466 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8468 * .cvsignore: update
8470 * lyx_main.C (commandLineVersionInfo): use new style version info.
8472 * buffer.C (writeFile):
8475 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8477 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8479 * version.h: update to use stuff in version.C
8481 * version.C.in: new file. Contains version information determined
8482 at compile time. This is a merging of version.h and
8485 2001-10-03 Juergen Vigna <jug@sad.it>
8487 * BufferView_pimpl.C (update): don't change "dirty" status in
8490 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8492 * WorkArea.C (c-tor): re-position version string slightly.
8494 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8496 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8497 revert to previous code.
8499 WorkArea.[Ch]: (show, destroySplash): methods removed.
8501 WorkArea.C: rework code so that it's an amalgam of the codes before and
8502 after the splash screen was moved to WorkArea.
8504 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8507 * vspace.C (inPixels):
8510 * buffer.C (insertStringAsLines):
8511 (asciiParagraph): fix types to be large enough
8513 * lyxlex_pimpl.h: change member status from short to int
8515 * layout.h: fix type of endlabeltype
8518 * kbsequence.C (parse): change return type to string::size_type
8520 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8523 * Bullet.C (bulletSize):
8524 (bulletEntry): do not use short ints as parameters
8526 * BufferView2.C (insertLyXFile): change a char to an int.
8528 * WorkArea.C (WorkArea): remove unneeded floats in computation
8530 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8532 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8534 * paragraph.C (asString): Do not ignore newline/hfill chars when
8535 copying to the clipboard.
8537 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8539 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8540 after a multi-line inset.
8542 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8544 * paragraph.C (validate): Set NeedLyXFootnoteCode
8546 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8548 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8549 and decrease-error to decrease.
8551 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8553 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8554 it more readable (should be equivalent)
8556 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8558 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8560 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8562 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8563 of a cursor (row, etc.) after a character has been deleted
8564 (deleteEmptyParagraphMechanism): call the method above on _all_
8565 cursors held by the LyXText when a double space has been
8568 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8570 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8572 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8574 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8575 background. Use greyOut() and the new show() methods to toggle between
8576 the foreground and background. Add code to remove the splash after
8577 its initial showing.
8579 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8580 (create_forms): no longer call Dialogs::showSplash.
8582 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8584 * .cvsignore: add version_info.h
8586 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * version_info.h.in: new file
8590 * Makefile.am: add version_info.h.in
8592 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8593 version_info.h instead of VERSION_INFO
8595 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8597 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8598 The ERT inset now returns string().
8600 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8602 * lyxtext.h, text.C (selectNextWord): renamed as
8603 selectNextWordToSpellcheck.
8605 * text.C (selectNextWordToSpellcheck): Modified to not select
8606 words inside an ERT inset.
8608 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * lyx_cb.C (MenuLayoutSave): change a bit the question
8612 * sp_base.h: include <sys/types.h>
8614 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8616 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8618 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8620 * several files: fix typos in user-visible strings
8622 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8624 * text2.C (pasteSelection): do not set the selection, since it
8625 will be cleared later. Actually, the intent was to fix the way the
8626 selection was set, but I figured rmoving the code was just as good.
8628 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8630 * FontLoader.C (available): Check if font is available without
8633 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8635 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8637 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8639 * lyxrc.[Ch]: added display_graphics variable and associated code.
8641 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * bufferparams.C (hasClassDefaults): new method. Returns true if
8644 the buffer parameters correspond to known class defaults
8646 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8648 * XFormsView.C (show): set minimum size to the main window.
8650 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8652 * text2.C (copySelection):
8654 * lyxfind.C (LyXReplace):
8655 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8656 LyXText::selectionAsString.
8658 * paragraph.C (asString): add "label" argument to the second form
8660 * text2.C (selectionAsString): add "label" argument and pass it to
8661 Paragraph::asString.
8663 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8665 * lyx_main.C (commandLineHelp): remove version information
8667 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8669 * lyx_main.C: add -version commandline option
8671 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8673 * paragraph.h: make the optional constructor arg required instead.
8674 some modifications to other files because of this.
8676 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8678 * lyxserver.C (C_LyXComm_callback): make it static
8680 * lyx_main.C (error_handler): make it static
8682 * lyx_gui.C (LyX_XErrHandler): make it static
8684 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8686 * WorkArea.C: make the extern "C" methods static.
8688 * Makefile.am (lyx_LDADD): simplify
8690 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8692 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8693 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8695 * LyXAction.C (init):
8696 * lyxfunc.C (dispatch): associated code removal.
8698 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8700 * lyxfont.h (isSymbolFont): shut off warning
8702 * text.C (setHeightOfRow):
8703 (getVisibleRow): fix crash with empty paragraphs which have a
8706 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8708 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8711 2001-09-04 José Matos <jamatos@fep.up.pt>
8714 * tabular.C (docbook): rename docBook method to docbook.
8716 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8718 * Makefile.am: add dependencies to main.o.
8720 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8722 * FontLoader.C (available): Return false if !lyxrc.use_gui
8724 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8726 * FontInfo.C (query):
8727 * converter.C (view):
8728 * importer.C (Import):
8729 * exporter.C (Export): Can not -> cannot.
8731 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8733 * BufferView_pimpl.C: allow to create index inset even if
8736 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8738 * buffer.C (getLists): replace boost::tie code with an explicit pair
8739 as boost::tie can break some compilers.
8741 * iterators.h: Added a std:: declaration to the return type of
8744 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8746 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8749 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8751 * iterators.[Ch]: New files. Provide paragraph iterators.
8753 * buffer.C (changeLanguage): Use paragraph iterators.
8754 (isMultiLingual): ditto
8756 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8758 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8760 * FontLoader.C: Support for cmr font.
8762 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8764 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8765 (available): New method.
8767 * FontInfo.C (getFontname): Use scalable fonts even when
8768 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8771 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8773 * converter.C (Formats::view): reverted! Incorrect fix.
8775 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8777 * converter.C (Formats::view): only output the -paper option
8778 if the dvi viewer is xdvi, thereby fixing bug #233429.
8780 2001-08-23 Herbert Voss <voss@perce>
8782 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8784 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8786 * Spacing.h (Spacing): Set space to Default on in the default
8789 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8791 * vc-backend.h (RCS::versionString): add RCS to version
8792 (CVS::versionString): add CVS to version
8794 * vc-backend.C (scanMaster): do not add CVS to version.
8795 (scanMaster): do not add RCS to version
8797 * lyxvc.C (versionString): new method
8799 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8801 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * Spacing.C (set): initialize fval
8805 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8807 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8810 2001-08-16 Juergen Vigna <jug@sad.it>
8812 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8814 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8816 * BufferView_pimpl.C:
8819 * text2.C: setParagraph takes linespacing now
8821 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8823 * LyxAction.C: add internal LFUN_CITATION_INSERT
8825 * LyXView.C: actually apply fix
8827 * bufferlist.C: fix open non-existent file
8829 * lyxfind.C: fix indentation
8831 * lyxfunc.C: remove unneeded assert, fix typo
8833 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8835 * MenuBackend.C: use "Floatname List"
8837 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8839 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8840 when converting LaTeX layout to insetERT.
8841 Generate a non-collapsed float when reading old float
8843 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8845 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8848 2001-08-13 Juergen Vigna <jug@sad.it>
8850 * text.C (fill): return 0 instead of 20 as this seems to be the more
8853 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8855 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8858 2001-08-13 Juergen Vigna <jug@sad.it>
8860 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8862 (SearchBackward): comment out the unlocking of the inset_owner this
8863 should not be needed!
8865 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8867 * Many files: Remove inherit_language, and add latex_language
8869 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8872 2001-08-10 Juergen Vigna <jug@sad.it>
8874 * text.C (prepareToPrint): fixed hfill-width in draw!
8876 * BufferView2.C (selectLastWord): save the selection cursor as this
8877 now is cleared in the function LyXText::clearSelection!
8879 2001-08-08 Juergen Vigna <jug@sad.it>
8881 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8882 BACKSPACE type functions.
8884 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8885 is only cutted from the document but not put in the cut-buffer, where
8886 still the old stuff should be.
8888 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8890 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8892 * tabular.C (SetWidthOfCell): fixed special case where the width
8894 (LeftLine): handle '|' in align_special.
8896 (LeftAlreadyDrawed): ditto
8897 (SetWidthOfCell): ditto
8899 2001-08-07 Juergen Vigna <jug@sad.it>
8901 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8903 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8905 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8906 * lyxlex.[hC]: ditto
8908 2001-08-06 Juergen Vigna <jug@sad.it>
8910 * text.C (getVisibleRow): fix up row clearing a bit.
8912 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8914 * minibuffer.C: make sure the X server sees the changes in the input.
8916 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8918 * paragraph.C (getFont): split into...
8919 (getLabelFont): this
8920 (getLayoutFont): and this
8921 * paragraph_pimpl.C (realizeFont): calling this
8923 * text2.C (getFont): split into...
8924 (getLayoutFont): this
8925 (getLabelFont): and this
8926 (realizeFont): all three calling this
8928 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8931 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8933 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8935 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8937 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8938 layouts from the Quote inset insertion.
8940 2001-08-03 Juergen Vigna <jug@sad.it>
8942 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8944 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8945 only if status not is already CHANGED_IN_DRAW (second level).
8947 * text.C (draw): don't set the need_break_row when inside an
8950 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * buffer.C (parseSingleLyXformat2Token): handle more latex
8955 * bufferview_funcs.[hC]: change function names to
8956 begin with small char, adjust other files.
8958 2001-08-02 André Pönitz <poenitz@gmx.net>
8961 BufferView_pimpl.C: remove broken special code for math-greek
8963 2001-08-02 Juergen Vigna <jug@sad.it>
8965 * BufferView_pimpl.C (update): redone this function so that we
8966 update the text again if there was a CHANGE_IN_DRAW.
8968 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8969 (drawFromTo): added a new internal bool which is used by draw() and
8971 (general): some cursor drawing problems fixed.
8973 2001-08-01 Juergen Vigna <jug@sad.it>
8975 * lyxfind.C (LyXFind): fixed
8976 (SearchForward): ditto
8977 (SearchBackward): ditto
8979 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8980 spurius drawing of the cursor in the main area.
8982 * text2.C (status): small fix which could lead to a segfault!
8983 (clearSelection): remove unneeded BufferView param.
8985 2001-08-01 André Pönitz <poenitz@gmx.net>
8987 * lyxfunc.C: small change due to changed mathed interface
8989 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8991 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8993 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8995 * lyxfunc.c: fail gracefully if file doesn't exist
9000 * BufferView_pimpl.C: IsDirWriteable() proto changed
9002 * LyXView.C: fix updateWindowTitle() to store the last title
9004 2001-07-31 Juergen Vigna <jug@sad.it>
9006 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9007 the font (wrong since using of Paragraph::highestFontInRange).
9009 * paragraph.C (highestFontInRange): added a default_size parameter.
9011 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9012 (setHeightOfRow): reformat
9014 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * converter.[hC] + affected files: move to (inital-char)lowercase
9019 * ParagraphParameters.C (ParagraphParameters): remove commented code
9021 * PainterBase.[Ch]: remove commented code
9023 * LaTeXFeatures.h: add "bool floats" for float.sty
9025 * LaTeXFeatures.C (LaTeXFeatures): init floats
9026 (require): handle float
9027 (getPackages): do it with floats
9029 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9031 * BufferView_pimpl.C (Dispatch): improve handling of
9032 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9034 * commandtags.h: #include lyxfont.h here temporarily to avoid
9037 * bufferlist.h: include LString.h here.
9039 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9041 * text2.C (getStringToIndex): new method.
9043 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9045 * *: Reduced header file dependencies all over.
9047 2001-07-30 Baruch Even <baruch@lyx.org>
9049 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9051 2001-07-29 Baruch Even <baruch@lyx.org>
9053 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9055 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * ParameterStruct.h (endif): add a default constructor to make
9058 sure that all variables is initialized.
9060 * ParagraphParameters.C (ParagraphParameters): adjust
9062 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9065 index; also, check that there is something to index, and that it
9066 does not span over several paragraphs.
9067 (doubleClick): use WHOLE_WORD_STRICT for double click.
9069 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9071 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9074 2001-07-26 Baruch Even <baruch@lyx.org>
9076 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9077 an InsetFig figure, backwards compatible reading of old figure code.
9079 2001-07-27 Juergen Vigna <jug@sad.it>
9081 * text2.C: font.realize function adaption.
9083 * text.C (draw): add a warnings lyxerr text if needed.
9085 * layout.C: font.realize function adaption.
9087 * language.C: add inherit_language and implement it's handlings
9089 * bufferview_funcs.C (StyleReset): remove language parameter from
9090 font creation (should be language_inherit now).
9092 * bufferparams.C (writeFile): handle ignore_language.
9094 * paragraph.C (getFontSettings): the language has to be resolved
9095 otherwise we have problems in LyXFont!
9097 * lyxfont.C (lyxWriteChanges): added document_language parameter
9098 (update): removed unneeded language parameter
9100 * paragraph.C (validate): fixed wrong output of color-package when
9101 using interface colors for certain fonts in certain environments,
9102 which should not seen as that on the final output.
9104 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9106 * BufferView_pimpl.C:
9111 * LyXAction.C: add thesaurus support
9114 * lyxfind.C: add "once" parameter, for thesaurus, to not
9115 move to the next match
9117 2001-07-26 Juergen Vigna <jug@sad.it>
9119 * lyxfont.C (realize): honor ignore_language too!
9122 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9124 * text.C (draw): one place more for ignore_language to not draw
9127 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9129 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9131 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9134 the minipage conversion problem.
9136 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9138 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9141 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * BufferView.h: don't forward declare WorkArea
9145 * BufferView.C: don't include WorkArea.h
9147 2001-07-25 André Pönitz <poenitz@gmx.net>
9151 * lyxfunc.C: new LFUN 'math-space'
9153 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9155 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9157 * text2.C (toggleInset): call open/close
9159 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * lyxfunc.C (dispatch): add debug for the disabled case
9163 * font.C (buttonText): make similar to rectText
9165 * buffer.C (readInset): comment out parsing of insetlist and
9168 * PainterBase.C (rectText): small correction
9170 * BufferView_pimpl.C: comment out insettheorem and insetlist
9171 * LyXAction.C: ditto
9172 * commandtags.h: ditto
9174 2001-07-24 Juergen Vigna <jug@sad.it>
9176 * text.C (draw): honor the ignore_language.
9178 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9180 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9182 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9185 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9187 * lyxtext.h: remove unused (and unimplemented) methods
9189 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9191 * text.C (getVisibleRow): honor background color
9194 * Painter.h: remove default color argument for fillRectangle
9196 * text.C (backgroundColor): new method
9198 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9200 * text.C (getVisibleRow): adjust
9202 * font.[Ch] (rectText): new method, metrics
9203 (buttonText): new method, metrics
9205 * PainterBase.[hC]: make rectText and buttonText always draw and take
9208 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9210 * ToolbarDefaults.C (read):
9211 * MenuBackend.C (read): allow escaping in all strings
9213 * BufferView_pimpl.C (insertAndEditInset): new method.
9214 (Dispatch): use insertAndEditInset whenever appropriate.
9216 * BufferView_pimpl.C (insertNote): removed
9218 * BufferView_pimpl.C (smartQuote): new method, moved from
9219 BufferView; if an insetquote cannot be inserted, insert a '"'
9222 * BufferView2.C: remove insertCorrectQuote();
9224 * lyxfunc.C (getStatus): Add support for all remaingin
9227 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9229 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9230 command (necessary to pass " as parameter of self-insert.
9232 * text.C (selectWordWhenUnderCursor):
9233 (selectWord): add word_location parameter
9234 (selectWordWhenUnderCursor): same + remove special code for word
9236 (selectNextWord): use kind() to guess type of insetspecialchar,
9239 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9240 (insertErtContents): create ert insets as collapsed.
9241 (readInset): better compatibility code for Info inset.
9243 2001-07-20 Juergen Vigna <jug@sad.it>
9245 * lyxfunc.C (dispatch): use always LyXFind now!
9247 * text2.C (init): add a reinit flag so that the LyXText can be
9248 reinited instead of deleted and reallocated (used in InsetText).
9250 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9256 2001-07-18 Juergen Vigna <jug@sad.it>
9258 * text.C (selectNextWord): handle insets inside inset by calling
9259 always the bv->text functions so that we can go up the_locking_inset!
9261 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9262 in strange locations when inside an inset!
9264 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9265 handling to include insets.
9267 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9269 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * LyXAction.C (init):
9273 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9274 LIGATURE_BREAK, since the name is so stupid.
9276 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9278 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9281 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9283 * sp_form.[Ch]: remove.
9285 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9287 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9290 * src/buffer.C (readInset): ditto.
9292 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9294 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9295 menuSeparator(), endOfSentenceDot(), ldots() and
9296 hyphenationPoint(), which are therefore removed.
9297 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9299 * LyXAction.C (init):
9300 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9302 * paragraph.C (getWord): removed.
9304 * BufferView_pimpl.C (Dispatch): use last word or selection for
9305 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9307 * lyx_main.C (queryUserLyXDir): do not ask before creating
9308 user_dir, except if it has been named explicitely.
9310 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9312 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9313 a document of zero size.
9315 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9317 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9318 approriately in the c-tor and in require().
9319 (getPackages): output the appropriate LaTeX for natbib support.
9321 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9322 variables "use_natbib" and "use_numerical_citations" when reading the
9324 (readInset): read the various natbib cite commands.
9325 (validate): white-space change.
9327 * bufferparams.[Ch]: new variables "bool use_natbib" and
9328 "bool use_numerical_citations".
9329 (writeFile): output them in the LyX file.
9331 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9333 * lyxfunc.C (getStatus): add support for all the inset insertion
9336 * text2.C (insertInset):
9337 * paragraph.C (insetAllowed):
9338 * BufferView_pimpl.C (insertInset): update to take in account the
9339 renaming of insertInsetAllowed
9341 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9343 * text2.C (getInset): new method. returns inset at cursor position.
9345 * BufferView_pimpl.C (Dispatch): changes because of this.
9347 * LyXAction.C (init): rename open-stuff to inset-toggle.
9349 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9351 * text2.C (toggleInset): renamed from openStuff; use
9354 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9356 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9358 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9360 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9362 * buffer.C (readLyXformat2): Add filename to the error dialog
9364 2001-07-18 Juergen Vigna <jug@sad.it>
9366 * tabular.C (GetCellNumber): put an assert here instead of the check!
9368 2001-07-17 Juergen Vigna <jug@sad.it>
9370 * BufferView_pimpl.C (toggleSelection): adapted too.
9372 * text.C (selectNextWord): adapted for use with insets.
9373 (selectSelectedWord): ditto
9375 2001-07-17 Juergen Vigna <jug@sad.it>
9377 * sp_spell.C (PSpell): fix initialitation order.
9379 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9381 * paragraph.C: spacing
9383 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9385 * sp_spell.C: repair language selection for pspell
9387 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * lyxfunc.h: change more methods to begin with lower char.
9391 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9393 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9394 for unknown layouts.
9396 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9398 * buffer.C (readLyXformat2): Generate an error dialog if there are
9401 2001-07-16 Juergen Vigna <jug@sad.it>
9403 * sp_spell.C: always compile ISpell part.
9405 * lyxrc.C: added use_pspell entry and it's handling.
9407 2001-07-13 Juergen Vigna <jug@sad.it>
9409 * sp_spell.C: removed double includes.
9411 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9413 Consistent use of Lsstream.h:
9414 * Lsstream.h: added using std::stringstream for consistencies sake.
9416 * buffer.C: removed using std::stringstream
9418 * lyxfont.C (stateText):
9419 * paragraph.C (asString):
9420 * text.C (selectNextWord, selectSelectedWord):
9421 * text2.C (setCounter):
9422 * vspace.C (asString, asLatexString):
9423 std::ostringstream -> ostringstream.
9425 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9427 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9428 * commandtags.h: add LFUN_HELP_ABOUTLYX
9429 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9431 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9433 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9435 * lyx_gui_misc.C: remove spellchecker
9436 * lyxfunc.C: showSpellchecker
9438 * sp_ispell.h: added
9439 * sp_pspell.h: added
9441 * sp_form.[Ch]: removed
9442 * spellchecker.[Ch]: removed
9444 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9446 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9448 (simpleTeXSpecialChars): Simply print the input character without
9449 any special translation if pass_thru is set.
9451 * layout.h: Added bool pass_thru to layout class for being able to
9452 implement pass through of a paragraph for Literate Programming.
9454 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9455 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9456 * layout.C (Read): add "passthru" to list of layout tags and add
9457 code to set the pass_thru boolean when it is read.
9459 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9461 * trans_decl.h: remove allowed from KmodInfo
9463 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9467 * paragraph_pimpl.C (erase): use boost::prior
9469 * Painter.C (text): use data() instead of c_str() when length is
9471 * WorkArea.C (putClipboard): ditto
9472 * font.h (width): ditto
9474 * BufferView2.C: use it-> instead of (*it). for iterators
9476 * paragraph_pimpl.C: ditto
9477 * paragraph.C: ditto
9478 * minibuffer.C: ditto
9483 * converter.C: ditto
9485 * Variables.C: ditto
9486 * TextCache.C: ditto
9487 * MenuBackend.C: ditto
9488 * LyXAction.C: ditto
9490 * FloatList.C: ditto
9492 * ColorHandler.C (LyXColorHandler): ditto
9494 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9496 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9498 * text2.C (openStuff): reintroduce this method (which had been
9499 nuked in NEW_INSETS frenzy).
9501 * lyxfunc.C (Dispatch): when an action has not been handled, use
9502 its name in the error message, not its number.
9504 * paragraph.C (inInset): change method name to begin with lowercase.
9507 * text2.C: updates because of this.
9509 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9511 * ToolbarDefaults.C (add): add spaces in error message
9513 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9516 (readLyXformat2): rename return_par to first_par, use lyxlex's
9517 pushToken and remove the manual push handling.
9518 (parseSingleLyXformat2Token): add another ert comp. variable:
9519 in_tabular, rename return_par to first_par. handle newlines better
9521 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9523 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9525 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * text2.C (getParFromID): removed
9529 * buffer.C (getParFromID): new method moved form lyxtext.
9530 * BufferView2.C (insertErrors): adjust
9531 (setCursorFromRow): adjust
9532 * BufferView_pimpl.C (restorePosition): adjust
9533 * lyxfunc.C (Dispatch): adjust
9534 * undo_funcs.C (textUndo): adjust
9536 (textHandleUndo): adjust
9537 (textHandleUndo): adjust
9539 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9541 * buffer.C: up' the LYX_FORMAT
9543 * lyxfont.h: turn NO_LATEX on as default
9545 * buffer.C (insertErtContents): new methods of tex style compability.
9546 (parseSingleLyXformat2Token): use it several places.
9547 * tabular.C (OldFormatRead): and here
9549 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * text2.C: remove some commented code.
9554 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9555 * trans.C: changes because of the above.
9557 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9559 * text2.C (setCounter): Fix counters bug with bibliography layout.
9561 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9564 own member functions
9565 (simpleTeXSpecialChars): ditto
9567 2001-07-06 Juergen Vigna <jug@sad.it>
9569 * a lot of files: changed the access to LyXText::status and the
9570 call of undo-functions.
9572 * undo.[Ch]: added a inset_id to the undo informations.
9574 * undo_funcs.[Ch]: added and moved here all undo functions.
9576 * lyxtext.h: give the status enum a weight, made status_ a private
9577 variable and made accessor functions for it, removed the whole bunch
9578 of undo-functions as they are now in their own file, make some
9579 functions publically available. Added function ownerParagraph with
9582 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9583 made InInset() a const function, added getParFromID() function.
9585 * buffer.[Ch]: added const version for inset_iterator functions,
9586 added getInsetFromID() function.
9588 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9589 changed undo functions for new version.
9591 2001-07-05 Juergen Vigna <jug@sad.it>
9593 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9594 unknow mechanism does not call the proper constructor but only this
9595 one also if I request the other!?
9597 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9599 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9601 * text2.C (LyXText): use initialization lists.
9603 * lyxtext.h (Selection): initialize set_ and mark_
9604 (init): remove method
9606 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9608 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9610 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9612 * screen.[Ch]: change method names to begin with lowercase
9614 * BufferView_pimpl.C (updateScrollbar): simplify further and
9615 hopefully make it a bit faster.
9617 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9619 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9620 calling directly xforms functions.
9622 * Painter.C (Painter):
9623 * lyx_cb.C (MenuWrite):
9624 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9627 * lyx_gui.C: remove bogus guiruntime extern declaration.
9629 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9633 (redoDrawingOfParagraph): ditto
9634 (redoParagraphs): ditto
9635 (cutSelection): don't create a object for CutAndPaste use the
9636 static method directly
9637 (pasteSelection): ditto
9639 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9642 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * modifications to some other files because of this.
9646 * Makefile.am (lyx_SOURCES): add XFormsView
9648 * XFormsView.[Ch]: new files
9650 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9651 the main window. Move the gui dependent stuff to XFormsView
9653 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9655 * tabular.C (GetCellInset): update cur_cell also in the row/col
9656 version of this function.
9658 * lyxfunc.C: no need to include figure_form.h here.
9664 * lyxvc.C: no need to include forms.h here.
9666 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9670 * lyxfunc.C (Dispatch):
9672 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9673 constructor argument.
9675 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9677 * paragraph.C (Paragraph): dont't clear, and just set layout.
9678 (makeSameLayout): use params's copy contructor.
9680 * ParagraphParameters.[Ch] (makeSame): delete method
9682 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9684 * Variables.[Ch]: fix indentation, rename set to isSet
9686 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9688 * lyxfunc.C (Dispatch): fix typo
9690 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9692 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9695 * bufferlist.C: include assert.h for emergencyWrite().
9697 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9699 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9700 give up at last (bug #425202) !
9702 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9708 * spellchecker.C: strip spellchecker options and bring up
9709 preferences tab instead
9711 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9713 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9714 the istringstream constructor
9716 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * paragraph.C (getLayout): fix return value
9720 * paragraph.h: do not declare getLayout as inline.
9722 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9724 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * lyxcursor.h (operator<): new func
9727 (operator>): new func
9728 (operator>=): new func
9729 (operator<=): new func
9731 * text.C (changeCase): use selection.start and selection.end
9732 (changeRegionCase): require from to be <= to. Require par to be a
9735 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9737 2001-06-27 Juergen Vigna <jug@sad.it>
9739 * text.C (cursorLeftOneWord): changed to return the cursor and added
9740 overlay with BufferView * parameter which calls this one.
9742 (selectWord): use new getWord function.
9743 (changeCase): renamed from changeWordCase as and extended to work
9746 * lyxtext.h: added enum word_location
9748 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9749 changeCase as this operates now also on selections.
9751 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9753 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9755 * many files: send debug output to Debug::INFO instead of
9758 * converter.C (View):
9760 (Move): send debug output to Debug::FILES instead of console.
9762 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9764 * lyxfunc.C (getStatus): use func_status
9766 * func_status.h: new header, describing the results of
9769 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9772 2001-06-25 The LyX Project <jug@sad.it>
9774 * buffer.C (sgmlOpenTag):
9776 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9778 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9780 * text2.C: remove some dead code
9782 * tabular.C (GetCellInset): store the last cell checked (gotten)
9784 * tabular.h: add the helper for the speedup
9786 * lyxtext.h: remove some dead code
9788 2001-06-26 The LyX Project <Asger>
9790 * paragraph.C: Change export to LaTeX of alignment to
9791 \begin{center} and family for better roundtrip work with reLyX.
9793 * Tune the math drawing a bit.
9795 2001-06-25 The LyX Project <Asger>
9797 * LColor.C (LColor): New color for math background. New color
9800 2001-06-25 The LyX Project <jug@sad.it>
9802 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9805 * bufferlist.C (newFile): do not restrict to files ending with
9808 * BufferView_pimpl.C (MenuInsertLyXFile):
9810 2001-06-24 The LyX Project <jug@sad.it>
9812 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9815 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9817 * lyxtext.h: rename most methods to begin with a small char.
9818 Lots of changes because of this.
9820 * paragraph.C (Paragraph): do not call fitToSize
9821 (erase): call Pimpl::erase
9822 (insertChar): call Pimpl::insertChar
9823 (insertInset): call Pipl::insertInset
9824 (breakParagraph): do not call fitToSize
9825 (breakParagraphConservative): do not call fitToSize
9826 (fitToSize): remove method
9828 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9830 2001-06-24 The LyX Project <Asger>
9832 * Fix Qt compilation^2
9834 2001-06-24 The LyX Project <jug@sad.it>
9836 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9837 depthHook(getDepth()-1).
9840 * ParagraphParameters.h:
9841 * ParameterStruct.h: change type of depth to unsigned int ==
9842 depth_type. Many adaptations to other files before of that.
9844 2001-06-24 The LyX Project <Asger>
9846 * Fix Qt compilation.
9848 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * paragraph.h: renamed several methods to begin with small letter.
9851 several changes to many parts of the code because of this.
9853 2001-06-23 The LyX Project <jug@sad.it>
9855 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9856 rewritten to discard all double spaces when KeepEmpty is off
9857 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9858 to only handle newlines but not fiddle with spaces and friends.
9860 * lyxfunc.C (MenuNew): when doing 'new from template', use
9861 template_path as default directory
9863 2001-06-23 The LyX Project <Asger>
9865 * Clean-up of header file includes all over
9866 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9868 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * paragraph.h: renamed from lyxparagraph.h
9872 2001-06-23 Asger <lyx@violet.home.sad.it>
9874 * Buffer.h: Removed Buffer::resize
9875 * BufferList.h: Removed BufferList::resize
9876 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9877 the document lazily when we change the width, or the font settings.
9879 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9881 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9883 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9885 * buffer.h: remove out of date comment
9887 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9890 * screen.C: fix "theoretical" GC leak
9892 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * LaTeX.C (scanAuxFile):
9895 (deplog): remove trailing \r when reading stream (useful under
9898 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9900 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9901 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9902 and BufferView::theLockingInset(Inset*), so should use them and not
9903 access bv_->text->the_locking_inset directly.
9905 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9907 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9910 * tex-defs.h: remove old unused file
9912 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C: fix typo, remove minibuffer message
9915 when buffer has loaded
9917 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * lyxfunc.C (Dispatch): use stringstream
9920 (MenuNew): use stringstream
9921 (Open): use stringstream
9923 * importer.C (Import): use stringstream
9925 * bufferview_funcs.C (CurrentState): use stringstream
9927 * LaTeX.C (run): use stringstream
9929 * BufferView_pimpl.C (savePosition): use stringstream
9930 (restorePosition): use stringstream
9931 (MenuInsertLyXFile): use stringstream
9933 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9946 * vspace.C: removed // -*- C++ -*- as first line.
9949 * version.h: added // -*- C++ -*- as first line.
9951 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9953 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9955 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9958 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9963 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * gettext.C: include LString.h even when --disable-nls is on.
9967 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9969 * converter.h (Get): changed argument type from int to
9970 FormatList::size_type to avoid unnecessary conversion.
9972 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9975 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * gettext.h: include LString.h even when --disable-nls is on.
9979 2001-06-07 Juergen Vigna <jug@sad.it>
9981 * text.C (BreakAgain): subst spaces with tabs.
9983 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9984 (resizeInsetsLyXText): set force on resizeLyXText.
9986 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * gettext.h (gettext_init):
9989 (locale_init): use a real definition instead of a macro
9991 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9993 * Bufferview_pimpl.C:
9995 * LColor.C: further lcolor tidies
9997 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * BufferView_pimpl.C (updateScrollbar): simplify.
10001 * BufferView2.C: don't include insets/insetinfo.h, change
10002 prototype for insertInset and call the Pimpl version. let
10003 updateInset call Pimpl version.
10005 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10006 gotoInset to BufferView::Pimpl
10008 2001-06-01 Juergen Vigna <jug@sad.it>
10010 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10011 inside a LockingInset (is the update needed at all?).
10013 2001-05-31 Juergen Vigna <jug@sad.it>
10015 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10016 here not the old one otherwise how should we compare it afterwards
10019 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10024 * FontInfo.C: bring C functions into global namespace when
10027 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10029 * LString.h: make sure config.h has been loaded before LString.h.
10031 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10032 (one for each char read by EatLine!).
10034 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10037 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10039 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10040 to the same as the par we break from
10042 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10046 * MenuBackend.C (expand): also create menu entries for wide
10047 versions of the floats.
10049 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10051 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10053 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10054 frontends/Makefile.am
10060 * tabular.C (getTokenValue): add std::
10062 * tabular-old.C (getTokenValue): add std::
10063 (getTokenValue): ditto
10064 (getTokenValue): ditto
10066 * screen.C (ToggleSelection): adjust
10068 * lyxtext.h: put selection cursors inside a Selection struct.
10070 * lyxfunc.C (moveCursorUpdate): adjust
10072 * lyxfont.C (latexWriteStartChanges): add std::
10074 * lyxfind.C: adjust
10076 * font.h: delete with(char const *, LyXFont const &)
10078 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10080 * FontInfo.C (getFontname): add std::
10082 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10083 (workAreaButtonPress): adjust
10084 (tripleClick): adjust
10086 (moveCursorUpdate): adjust
10089 * BufferView2.C (gotoInset): adjust
10091 2001-05-30 Juergen Vigna <jug@sad.it>
10093 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10094 to check pspell I add this as default as I now have new pspell
10095 libraries and they seem to use this.
10097 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10099 * text2.C (CutSelection): make the cursor valid before the call to
10102 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10104 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10105 relied on 0 terminated strings and other horrors. Bug found due to
10106 the new assert in lyxstring!
10108 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10111 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10116 * lyxfunc.C (processKeySym): change method of getting to the
10119 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10120 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10121 * BufferView_pimpl.[Ch]: here as private methods.
10123 2001-05-28 Juergen Vigna <jug@sad.it>
10125 * text.C (SetHeightOfRow): added the update() call again as it is
10126 needed to initialize inset dimensions!
10128 2001-05-16 Juergen Vigna <jug@sad.it>
10130 * text2.C (SetCharFont): Add new function with BufferView * and
10131 bool toggleall parameters for setting insets internal fonts.
10132 (SetFont): Freeze the undo as we may change fonts in Insets and
10133 all this change should be inside only one Undo!
10135 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10136 setting font's in insets as for them we have the SetFont function!
10138 2001-05-15 Juergen Vigna <jug@sad.it>
10140 * text2.C (ClearSelection): to be sure we REALLY don't have any
10143 * tabular.C (TeXCellPreamble): fixed the left border problem for
10146 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10148 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10151 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10153 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10154 LFUN_BREAKPARAGRAPH.
10156 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10157 help test to "internal only", similar for LFUN_INSERT_URL
10159 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10160 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10161 auto_region_delete and deadkeys.
10163 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10166 * LColor.C: remove some dead entries, tidy a little
10168 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10170 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10172 (Dispatch): implement LFUN_ESCAPE
10174 * commandtags.h: add LFUN_ESCAPE
10176 * LyXAction.C (init): add entry for LFUN_ESCAPE
10178 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10179 Remove commented code.
10180 (insertNote): moved here
10181 (open_new_inset): moved here
10183 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10186 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * kbmap.C (findbinding): clean it up and make it work correctly.
10190 * lyx_main.C (init): do not pass argc and argv as parameters
10192 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10194 * buffer.C: fix path for OS/2 & Win32
10198 * lyx_main.C: Added os:: class.
10200 * os2_defines.h: update
10202 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10204 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10205 better by trying again with reduced state.
10207 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * lyxrc.C (read): print error about invalid key sequence only when
10210 debugging (because not all latinX keysyms are known to some X
10213 * kbsequence.C (getiso): add a few std:: qualifiers
10214 (getiso): comment out extra return statement.
10216 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10220 (Dispatch): enhance the accent inset a bit. (not perfect)
10222 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10226 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10228 * bufferlist.C (emergencyWrite): fix assert() call
10230 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10232 * text.C (InsertChar): Added trivial patch to only send the "you
10233 can not do multiple spaces this way" message once during a
10236 2001-05-08 Baruch Even <baruch@lyx.org>
10238 * Makefile.am: Changed order of libraries to get LyX to link properly
10239 with the gnome frontend.
10241 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * LaTeXFeatures.h: add a std:: qualifier
10245 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * paragraph.C (String): use stringstream
10249 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * paragraph.C (writeFile): remove footflag arg
10253 * buffer.C (makeLaTeXFile): use stringstream
10254 (latexParagraphs): remove footnot gurba
10256 * LaTeXFeatures.C (getPackages): use stringstream
10257 (getMacros): likewise
10258 (getTClassPreamble): likewise
10259 (getFloatDefinitions): new method
10261 * paragraph.C (writeFile): reindent
10264 * WorkArea.h: revert the xpos + etc changes.
10266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10268 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10270 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10271 (pasteSelection): likewise
10272 * text2.C (CreateUndo): likewise
10274 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10276 * minibuffer.C (peek_event): temporarily reduce the functionality
10277 of the minibuffer (to allow args on lfuns)
10279 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10280 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10282 * buffer.C (readInset): add compability reading of old float
10283 lists, add reading of new style float list.
10284 (readInset): avoid reevaluation of inscmd.getCmdName()
10285 (getLists): reindent
10287 * MenuBackend.C (MenuItem): implement parsing of
10288 md_floatlistinsert and md_floatinsert.
10289 (expand::LastFiles): move initalizaton of iterators out of loop,
10290 avoid reevaluation.
10291 (expand::Documents): introduce typdedef vector<string> Strings,
10293 (expand::ExportFormats): introduce typedef vector<Format const *>
10294 Formats, and use it.
10295 (expand): implement FloatListInsert and FloatInsert.
10297 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10298 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10299 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10301 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10303 (Dispatch::LFUN_FLOAT_LIST): implement
10305 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10307 * LaTeX.C (run): Fix problem with --export code.
10309 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10311 * BufferView.[Ch] (workarea): removed.
10312 (getClipboard) new method; wrapper for workarea()->getClipboard()
10314 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10317 * WorkArea.h (width, height, xpos, ypos): These methods all
10318 returned the dimensions of the work_area sub-area of WorkArea,
10319 resulting in a position error if the WorkArea were resized. Now
10320 return the dimensions of the entire WorkArea.
10322 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10324 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * LaTeX.C (deplog): correct the syntax of regex reg1
10328 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10330 * undo.C: remove !NEW_INSETS cruft
10332 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * text2.C: remove !NEW_INSETS cruft
10336 * text.C: remove !NEW_INSETS cruft
10338 * tabular.C: remove !NEW_INSETS cruft
10340 * spellchecker.C: remove !NEW_INSETS cruft
10342 * lyxtext.h: remove !NEW_INSETS cruft
10344 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10346 * lyxfunc.C: remove !NEW_INSETS cruft
10348 * lyxfind.C: remove !NEW_INSETS cruft
10350 * lyx_cb.C: remove !NEW_INSETS cruft
10352 * figureForm.C: remove !NEW_INSETS cruft
10354 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10356 * buffer.[Ch]: remove !NEW_INSETS cruft
10358 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10360 * CutAndPaste.C: remove !NEW_INSETS cruft
10362 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10364 * BufferView2.C: remove !NEW_INSETS cruft
10366 * BufferView.h: remove !NEW_INSETS cruft
10368 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * Lsstream.h: include LString.h before the sstream headers to
10371 fix problem with gcc 2.95.3 and lyxstring
10373 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10375 * lyx_main.C: add using directives when needed for C functions
10376 declared in std:: namespace.
10378 2001-04-27 Juergen Vigna <jug@sad.it>
10380 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10381 (SetHeightOfRow): comment out the update call should not be needed!
10383 2001-04-13 Juergen Vigna <jug@sad.it>
10385 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10386 (LyXTabular): tried to minimize operator= operations (and realized
10387 hopfully Lars wish).
10389 2001-04-27 Juergen Vigna <jug@sad.it>
10391 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10393 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10397 * buffer.C (readInset): hack to make listof algorithm work
10399 * BufferView_pimpl.C: hack to make listof algorithm work
10401 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10403 * LyXAction.C: removed all !NEW_INSETS cruft
10404 (init): moved lfun_item in method
10406 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10408 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10410 * BufferView2.C (theLockingInset): white space.
10412 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * minibuffer.C: include <iostream>
10416 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10418 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10420 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10422 * text.[Ch] (TransposeChars): new method
10424 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * call message directly through LyXView instead of through LyXFunc
10427 * BufferView2.C: adjust
10428 * BufferView_pimpl.C: adjust
10429 * FontLoader.C: adjust
10431 * bufferview_funcs.C: adjust
10432 * converter.C: adjust
10433 * figureForm.C: adjust
10434 * importer.C: adjust
10436 * lyx_gui_misc.C: adjust
10437 * lyxfunc.C: adjust
10440 + more files in subdirs
10442 * lyxparagraph.h (size): move up int file
10445 * adjust all uses of Assert to lyx::Assert.
10447 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10448 lyxfunctional in namespace lyx
10449 * layout.C (hasLayout): ditto
10452 (delete_layout): ditto
10453 (NumberOfClass): ditto
10454 * converter.C (GetFormat): ditto
10459 * bufferlist.C (getFileNames): ditto
10460 (emergencyWriteAll): ditto
10463 * MenuBackend.C (hasSubmenu): ditto
10466 * BufferView_pimpl.C (getInsetByCode): ditto
10468 2001-04-18 Juergen Vigna <jug@sad.it>
10470 * vspace.C (asLatexString): fixed the 100% problem.
10472 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * lyxfunc.C (Dispatch):
10476 * minibuffer.h: add a few std:: qualifiers
10478 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * minibuffer.[Ch]: reimplement so that commands is initiated and
10481 run from lyxfunc, simplified som handling, and made the completion
10482 and history code for complete. wip.
10484 * lyxfunc.C (processKeySym): call message
10485 (miniDispatch): new temporary method
10486 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10487 (LFUN_MESSAGE): implement
10488 (LFUN_MESSAGE_PUSH): implement
10489 (LFUN_MESSAGE_POP): implement
10490 (initMiniBuffer): the initial/defualt minibuffer message.
10492 * lyxfont.[Ch]: inline some more getters
10494 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10496 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10498 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10499 (AutoSave): use LFUN_MESSAGE
10500 (Reconfigure): ditto
10502 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10504 * figureForm.C: use LFUN_MESSAGE
10506 * converter.C (runLaTeX): use LFUN_MESSAGE
10508 * bufferview_funcs.C: use LFUN_MESSAGE
10510 (changeDepth): ditto
10512 * bufferparams.h: use boost::
10514 * bufferlist.h: inherit privately from noncopyable
10516 * bufferlist.C (loadLyXFile): remove some commented code.
10518 * buffer.C (runChktex): use LFUN_MESSAGE
10520 * ShareContainer.h: inherit privately from noncopyable
10522 * ParagraphParameters.[hC] (depth): inline it.
10524 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10526 (message): new method
10527 (messagePush): ditto
10528 (messagePop): ditto
10529 (show): init minibuffer
10530 (showState): direct call
10532 * LaTeX.[Ch]: inherit privately from noncopyable
10533 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10534 instead of WriteStatus.
10536 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10538 * BufferView_pimpl.C (buffer): don't init minibuffer
10539 (workAreaButtonPress): use LFUN_MESSAGE
10540 (workAreaButtonRelease): ditto
10541 (savePosition): ditto
10542 (restorePosition): ditto
10543 (MenuInsertLyXFile): ditto
10544 (workAreaExpose): don't init minibuffer
10545 (update): remove commented code, simplify
10547 * BufferView2.C (openStuff): use LFUN_MESSAGE
10548 (toggleFloat): ditto
10551 (copyEnvironment): ditto
10552 (pasteEnvironment): ditto
10557 (updateInset): remove some commented code
10559 * lastfiles.h: inherit privately from noncopyable
10562 * lyx_main.h: ditto
10564 * lyxlex_pimpl.h: ditto
10566 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10567 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10568 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10570 * LyXAction.h: inherit privately from noncopyable, add methods
10571 func_begin, func_end, returning iterators to the func map.
10573 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10574 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10575 (func_begin): new method
10576 (func_end): new method
10578 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10580 (copySelection): ditto
10581 (pasteSelection): ditto
10583 * BufferView.C: whitespace change
10584 * BufferView.h: inherit privately from noncopyable
10586 2001-04-16 Allan Rae <rae@lyx.org>
10588 * tabular-old.C (l_getline):
10589 * spellchecker.C (sc_check_word):
10590 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10591 an unrecognised preprocessor directive. So ensure they're wrapped.
10593 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10595 * src/exporter.C (Export): Give an error message when path to file
10598 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10600 * LaTeX.C (deplog): Always check that foundfile exists.
10602 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10607 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10609 * tabular.[Ch] (getLabelList): implement new method
10611 * minibuffer.h: comment ouf setTiimer
10613 * minibuffer.C (ExecutingCB): constify res
10614 (peek_event): constify s
10615 (Set): constify ntext
10616 (Init): constify nicename
10618 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10620 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10621 (savePosition): use two params to Minibuffer::Set
10622 (restorePosition): ditto
10624 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * lyx_main.C: include language.h
10628 * Makefile.am (lyx_main.o): add language.h
10630 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * CutAndPaste.C: include gettext.h
10638 * lyxfont.h: remove old hack with ON and OFF.
10641 * lyxfont.h: do not include language.h...
10646 * bufferview_funcs.C:
10652 * paragraph.C: ... but do it here instead
10654 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10658 * tabular.C: small reformat
10660 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10663 (BreakParagraph): ditto
10664 (SetOnlyLayout): ditto
10667 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10670 * lastfiles.C: removed most using decl, add std:: where needed
10672 * buffer.C: ws changes
10674 * MenuBackend.C (class compare_format): put into anon namespace
10675 (expand): constify label, names, action, action2
10678 * text.C (SingleWidth): constify font
10679 (IsBoundary): constify rtl2
10680 (GetVisibleRow): constify ww
10682 * LaTeX.C (deplog): constify logfile
10684 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10686 (workAreaExpose): constify widthChange, heightChange
10688 * lyxrow.C (par): moved
10691 * lyxrow.h: as inlines here
10693 * lyxfont.h (shape): moved from lyxfont.C
10694 (emph): moved from lyxfont.C
10696 * lyxfont.C (LyXFont): use initialization list for all
10698 (shape): move to lyxfont.h as inline
10699 (emph): move to lyxfont.h as inline
10702 2001-04-04 Juergen Vigna <jug@sad.it>
10704 * vspace.C: had to include stdio.h for use of sscanf
10706 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10709 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10710 independent of xforms.
10712 2001-04-02 Juergen Vigna <jug@sad.it>
10714 * spellchecker.C: fixed namespace placing!
10716 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10718 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10719 the LyXParagraph * is 0.
10721 2001-03-29 Juergen Vigna <jug@sad.it>
10723 * vspace.C: added support for %, c%, p%, l%.
10724 (stringFromUnit): added helper function.
10725 (asLatexString): changed to give right results for the %-values.
10727 * buffer.C: convert the widthp in a width%.
10729 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10731 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10734 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10735 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10737 * lyx_cb.[Ch]: see above.
10739 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10743 * lyx.[Ch]: replaced by figure_form.[Ch].
10747 * lyxfunc.C: changed headers associated with above changes.
10749 2001-03-27 Juergen Vigna <jug@sad.it>
10751 * BufferView_pimpl.C: set the temporary cursor right!
10753 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10755 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10757 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10759 * LString.h: removed "using std::getline"!
10761 * BufferView_pimpl.C (Dispatch): changes due to changes in
10762 InsetInclude::Params.
10764 * buffer.C (tag_name): removed redundant break statements as they were
10765 producing lots of warnings with my compiler.
10767 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10769 * LString.h: add "using std::getline" when using the real <string>.
10771 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10773 * buffer.C: removed bitset usage.
10774 PAR_TAG moved to an anonymous name space.
10775 (tag_name): new funtion, also in the anonymous namespace.
10776 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10777 (makeDocBookFile): clean code. Completed transition from string arrays
10779 (SimpleDocBookOnePar): code clean.
10781 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10783 * tabular.C: add some comments.
10785 2001-03-22 Juergen Vigna <jug@sad.it>
10787 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10788 compatibility read a bit and fixed bug with minipage in different
10791 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10793 * buffer.C (pop_tag): removed.
10794 (push_tag): removed.
10795 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10796 array replaced with vector. Added support for CDATA sections.
10797 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10799 (makeDocBookFile): XML conformant declaration of CDATA section,
10800 fixed bug related to <emphasis> in the first paragraph char.
10801 (sgmlOpenTag): exclude empty tags.
10802 (sgmlCloseTag): ditto.
10804 * buffer.h (pop_tag): removed.
10805 (push_tag): removed.
10807 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10809 * language.h (Languages): added size_type and size().
10811 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10813 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10814 response on compability reading of minipages. One probliem is that
10815 the old usage of minipages was «flertydig»
10817 * several files here and in subdirs: don't use static at file
10818 scope use anon namespaces instead.
10820 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10822 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10823 LaTeX output. This is necessary for Literate document
10826 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10828 * buffer.C: insert hfill when needed.
10830 * tabular.C (l_getline): use string::erase, small whitespace change.
10832 * BufferView_pimpl.C: try the anon namespace.
10833 * WorkArea.C: ditto
10835 2001-03-16 Juergen Vigna <jug@sad.it>
10837 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10838 otherwise it won't open options-dialogs.
10840 * buffer.C: honor pextraWidth(p) on converting minipages.
10842 * tabular.C (l_getline): changed the functions to strip trailing \r.
10844 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10846 * BufferView_pimpl.C:
10847 * minibuffer..C: added "using SigC::slot" declaration.
10849 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10851 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10857 * paragraph.C: ditto
10859 * lyxtext.h: NO_PEXTRA
10861 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10863 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10864 * ParameterStruct.h: ditto
10865 * ParagraphParameters.h: ditto
10866 * lyxparagraph.h: ditto
10868 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10870 * buffer.C: add compability for minipage alignment.
10871 (latexParagraphs): remove unwanted pextra check.
10873 * several files: remove CXX_WORKING_NAMESPACES
10875 * buffer.C (pop_tag): tie is in namespace boost
10877 * BufferView.h: noncopyable is in namespace boost
10879 * lyx_main.h: ditto
10882 * lastfiles.h: ditto
10883 * bufferlist.h: ditto
10884 * ShareContainer.h: ditto
10886 * LyXAction.h: ditto
10889 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10891 * Merging changes from BRANCH_MVC back into HEAD.
10893 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10895 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10897 * BufferView_pimpl.C: change from intl.C
10901 * Makefile.am: move combox.*
10907 * intl.C: remove dialog (covered by prefs)
10909 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10911 * lyxfunc.C (Dispatch): removed redundant break statement.
10913 2001-03-14 Juergen Vigna <jug@sad.it>
10915 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10917 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10919 * buffer.C: add hack to fix compability reading of minipages.
10921 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10923 * buffer.C (getLists): Cleanup.
10925 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10927 * lyxfont.C (update): don't honor toggleall on font size.
10929 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10933 * Makefile.am: moved to frontends/xforms/
10937 * BufferView_pimpl.C: changes for moved mathpanel
10939 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10941 * gettext.h: fix gettext_init() in --disable-nls
10943 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10945 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10947 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10950 * lyx.h: strip external form
10952 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10954 * BufferView_pimpl.C: add comment, destroySplash()
10956 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10958 * BufferView_pimpl.C:
10962 * lyxfunc.C: use re-worked insetinclude
10964 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10966 * buffer.C: add using std::stringstream.
10968 * lyx_cb.C: readd using std::ios.
10970 * buffer.C: add using std::map.
10972 * BufferView_pimpl.C: add using std::vector.
10974 * ShareContainer.h: add std:: to swap.
10976 * buffer.h: add some typedefs
10977 * buffer.C (getLists): use them
10978 (getLists): renamed from getTocList.
10979 add a counter for the different float types and use it in the
10981 (getLists): use the same counter for the NEW_INSETS and the "non"
10984 * lyx_cb.h: remove unused items, includes, using etc.
10986 * ShareContainer.h: remove some commented code, add more comments
10987 and "documentation".
10989 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10991 * buffer.C (getTocList): make the list also when NEW_INSETS is
10994 * buffer.h: remove TocType
10996 * buffer.C (getTocList): change to return a map<string,
10997 vector<TocItem> >, implement for dynamic number of list.
10999 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11000 * text2.C (PasteSelection): adjust
11001 * CutAndPaste.C (pasteSelection): adjust
11003 * FloatList.C (FloatList): update from the new_insets branch.
11004 * Floating.[Ch]: ditto
11005 * LaTeXFeatures.C: ditto
11007 * lyxlex_pimpl.C: ditto
11009 * paragraph.C (Last): remove when NEW_INSETS is defined.
11011 * other file: changes because of the above.
11013 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11015 * lyxparagraph.h: rename next to next_, previous to previous_,
11016 make them private for NEW_INSETS. Rename Next() to next(),
11017 Previous() to previous().
11019 * other files: changes because of the above.
11021 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11024 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11027 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11029 * main.C (main): pass lyx_localedir to gettext_init().
11031 * gettext.h: remove locale_init and gettext_init macros
11033 * gettext.C (locale_init): new function
11034 (gettext_init): new function
11036 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11039 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11041 * Moved credits to frontends:
11042 * credits.[Ch]: removed
11043 * credits_form.[Ch]: removed
11044 * lyx_gui_misc.C: remove credits stuff
11047 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11049 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11051 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11052 unneeded destructor.
11054 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11055 a standalone pointer again.
11057 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11059 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11065 * ToolbarDefaults.C:
11074 * BufferView_pimpl.C: use new file dialog in GUII
11077 * lyx_cb.C: remove LayoutsCB to Toolbar
11079 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * ShareContainer.h (get): add std:: qualifier
11083 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11085 * ShareContainer.h: define a proper ShareContainer::value_type
11086 type (and use typename to please compaq cxx)
11088 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11090 * lyxparagraph.h: move serveral local vars to
11091 ParameterStruct/ParagraphParameters., use ShareContainer in
11092 FontTable., make vars in FontTable private and add getter and
11095 * paragraph.C: changes because of the above.
11097 * lyxfont.h: remove copy constructor and copy assignment. (the
11098 default ones is ok), move number inside FontBits. move inlines to
11101 * lyxfont.C: add number to initializaton of statics, move several
11102 inlines here. constify several local vars. some whitespace
11103 cleanup. Dont hide outerscope variables.
11105 * Spacing.h: add two new constructors to match the set methods.
11107 * ShareContainer.h: new file, will perhaps be moved to support
11109 * ParameterStruct.h: new file
11111 * ParagraphParameters.h: new file
11113 * ParagraphParameters.C: new file
11115 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11116 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11118 * BufferView_pimpl.C: ParagraphParameter changes.
11119 * buffer.C: Likewise.
11120 * bufferview_funcs.C: Likewise.
11121 * text.C: Likewise.
11122 * text2.C: Likewise.
11124 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11126 * lyxfind.C (LyXReplace): do not redefine default argument in
11128 (IsStringInText): ditto
11129 (SearchForward): ditto
11130 (SearchBackward): ditto
11132 2001-03-06 Juergen Vigna <jug@sad.it>
11134 * lyxfind.C (IsStringInText): put parentes around expressions.
11136 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11138 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11140 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11142 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11144 * stl_string_fwd.h: add comment
11146 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11149 * tabular.C: remove unused DocBook methods
11155 killed DO_USE_DEFAULT_LANGUAGE
11157 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * lyx_gui.C: do not include language.h.
11161 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11162 arguments in function implementation.
11164 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11166 * BufferView_pimpl.C: add <ctime>
11168 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11170 * BufferView_pimpl.C: add using std::find_if
11172 2001-02-27 José Matos <jamatos@fep.up.pt>
11174 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11177 2001-02-11 José Matos <jamatos@fep.up.pt>
11179 * buffer.C (makeDocBookFile): command styles now have a parameter as
11180 "title" by default.
11182 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11184 * layout_forms.[Ch]: removed
11185 * lyx_cb.[Ch]: out character
11186 * lyx_gui.C: out character
11187 * lyx_gui_misc.C: out character
11188 * bufferview_funcs.C: : out character,
11189 added toggleall as parameter in ToggleAndShow
11191 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11193 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11195 * text2.C (SetCurrentFont): Disable number property at boundary.
11197 2001-02-26 Juergen Vigna <jug@sad.it>
11199 * lyxfunc.C (getStatus): added a string argument override function so
11200 that this is correctly called from LyXFunc::Dispatch if it contains a
11201 do_not_use_argument which is used!
11202 (Dispatch): added check for "custom" export and call appropriate func.
11204 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11206 * lyxrc.C: Add language_command_local, language_use_babel and
11207 language_global_options.
11209 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11211 * buffer.C (makeLaTeXFile): Use language_use_babel and
11212 language_global_options.
11214 2001-02-23 Juergen Vigna <jug@sad.it>
11216 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11217 which works with LyXText and putted it inside BufferView. Here now we
11218 only call for that part the BufferView::Dispatch() function.
11220 * BufferView.C (Dispatch): added.
11222 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11223 functions which needs to use a LyXText over from LyXFunc.
11224 (MenuInsertLyXFile): added
11225 (getInsetByCode): added
11226 (moveCursorUpdate): added
11227 (static TEXT): added
11229 2001-02-22 Juergen Vigna <jug@sad.it>
11231 * BufferView_pimpl.C (update): call a status update to see if LyXText
11234 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11236 * vc-backend.C (revert): implement for CVS
11237 (getLog): implement for CVS
11239 2001-02-20 Juergen Vigna <jug@sad.it>
11241 * text2.C (ClearSelection): added BufferView param for inset_owner call
11243 * lyxfunc.C (TEXT): added this function and use it instead of
11244 directly owner->view()-text of getLyXText().
11246 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11248 * src/layout_forms.C: out preamble
11249 * src/layout_forms.h: out preamble
11250 * src/lyx_cb.C: out preamble
11251 * src/lyx_cb.h: out preamble
11252 * src/lyx_gui.C: out preamble
11253 * src/lyx_gui_misc.C: out preamble
11254 * src/lyxfunc.C: connect with guii preamble
11256 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11258 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11260 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11262 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11263 whether to run bibtex.
11265 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11267 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11269 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11271 * Makefile.am (lyx_SOURCES): removed bibforms.h
11273 * vspace.h: doxygen
11275 * text.C (GetVisibleRow): make several local vars const
11277 * tabular.C: small cleanup.
11279 * lyxserver.C (callback): use compare instead of strncmp
11281 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11282 inlines to after class or to paragraph.C
11284 * lyxfont.h: remove friend operator!=
11286 * converter.h: move friend bool operator< to non friend and after
11289 * combox.h: small cleanup
11291 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11292 to inlines after class def.
11294 * buffer.C (pop_tag): use string operations instead of strcmp
11296 * bmtable.c: doxygen, small cleanup
11298 * LaTeX.h: remove friend operator==
11300 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11312 * BufferView_pimpl.C:
11313 * BufferView.[Ch]: remove cruft
11315 2001-02-14 Juergen Vigna <jug@sad.it>
11317 * lyxfunc.C: removed #if 0 unused code
11319 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11321 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11323 * text2.C (SetSelection): added a BufferView * parameter
11325 2001-02-13 Juergen Vigna <jug@sad.it>
11327 * lyxfunc.C (Dispatch): fixed protected blank problem.
11328 * BufferView2.C (protectedBlank): added LyxText * parameter.
11330 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11331 (AppendColumn): same as above for column_info.
11333 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11334 (moveCursorUpdate): use a LyXText param for support of InsetText.
11336 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11337 (tripleClick): ditto
11339 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11341 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11343 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11345 * text2.C (SetSelection): set correct update status if inset_owner
11346 (ToggleFree): ditto
11348 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11350 * tabular.C: remove some commented code.
11352 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11354 * BufferView_pimpl.C: call hideSplash()
11356 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11359 * bibforms.h: remove
11362 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11363 add LFUN_CHILD_CREATE
11365 * counters.h: fix tiny typo
11370 * lyx.C: move splash to frontends/xforms/
11372 * lyx_gui_misc.C: move Include and Bibform to frontends
11374 * lyxvc.h: clarify comment
11376 * vspace.C: tiny housekeeping
11378 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11380 * text.C (PrepareToPrint): RTL Fix.
11382 * paragraph.C (GetUChar): New method.
11383 (String): Use GetUChar.
11385 * buffer.C (asciiParagraph): Use GetUChar.
11387 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11389 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11391 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11394 * buffer.C: rename to getLogName(), handle
11395 build log / latex log nicely
11397 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11400 * MenuBackend.h: remove support for reference menuitem type.
11402 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11404 * BufferView_pimpl.C: housekeeping
11405 * BufferView_pimpl.h:
11410 * minibuffer.h: move Timeout GUI-I
11412 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11414 * lyxrc.C (read): Update converters data-structures.
11416 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11418 * LaTeX.h (operator!=): add operator != for Aux_Info
11420 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11422 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11424 * LaTeXLog.C: deleted, useful code moved to Buffer
11427 * buffer.C: new function getLatexLogName()
11433 * lyxfunc.C: use frontends for LaTeX and VC logs
11435 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11437 * LaTeX.h: yet another std:: that Allan forgot.
11439 * Variables.C (set): renamed from isset(), because this clashes
11440 with some HP-UX macros (grr).
11442 2001-02-06 Allan Rae <rae@lyx.org>
11444 * LaTeX.h: Another bug fix. Missing std:: this time.
11446 2001-02-04 Allan Rae <rae@lyx.org>
11448 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11449 floats problem. I've left it commented out because it's not quite
11450 correct. It should also test that the current object is a table or
11451 figure inset. But I haven't gotten around to figuring out how to do
11452 that. I *think* it'll be something like: "table" == inset.type()
11454 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11457 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11459 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11460 all the citation/databases/styles in the auxilary file.
11461 (run): Rerun latex if there was a babel language error.
11463 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11465 * text.C (Backspace): Preserve the font when changing newline char
11467 (BreakParagraph): If the cursor is before a space, delete the space.
11469 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11471 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11473 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11474 new argument (code).
11475 (ChangeCitationsIfUnique): New method.
11477 * paragraph.C (GetPositionOfInset): Handle bibkey.
11479 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11481 * BufferView_pimpl.h: change type of Position::par_pos to
11482 LyXParagraph::size_type.
11484 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11486 * BufferView_pimpl.C (savePosition, restorePosition): Write
11487 messages to minibuffer.
11489 2001-01-28 José Matos <jamatos@fep.up.pt>
11491 * buffer.C (makeDocBookFile): adds support for document language.
11492 A silly restriction on the name of LatexCommand types where removed.
11493 Added support for CDATA sections, allows to chars unescaped, used
11494 among others in code, to avoid escape < and >.
11496 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11498 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11499 saved positions instrad of a stack. Furthermore, a position is
11500 stored using paragraph id/paragraph position.
11502 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11503 Remove LFUN_REF_BACK.
11505 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11507 * converter.C (dvipdfm_options): New method.
11509 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11511 * vspace.C (isValidLength): Fix for empty input string.
11513 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11515 * LyXAction.C (init): change description of LFUN_FIGURE to
11518 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * LaTeX.C: add using directive
11522 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11524 * MenuBackend.C (expand): Fix the sorting of the formats.
11526 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11528 * lyx_main.C: tiny error message fix
11530 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11532 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11533 calling fl_initialize(). This fixes the problem with ',' as
11534 decimal separator in text files.
11536 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11538 * trans.C (process): Fix the keymap bug.
11540 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11542 * LaTeX.C (scanAuxFiles): New method. Provides support for
11543 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11544 (scanLogFile) Scan for "run BibTeX" messages.
11546 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11547 OT1 font encoding. Also, load the aecompl package if the ae
11550 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11552 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11554 * texrow.C (increasePos): turn two error messages into debug
11557 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11559 * LaTeX.C (scanAux): Handle the \@input macro.
11560 (runBibTeX): Use scanAux().
11562 * language.C (latex_options_): New field.
11564 * LaTeXFeatures.C (getMacros): Add language macros.
11566 * buffer.C (makeLaTeXFile): Small fix.
11568 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11572 * text2.C: add a using directive.
11574 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11579 * lyxfunc.C: kill LyXBell.
11581 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11583 * text.C (IsBoundary): Remove the error message
11585 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11587 * lyxrc.C (setDefaults): Correct initialization value for
11590 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11592 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11595 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11596 and GotoNextNote().
11598 * src/LyXAction.C: Added reference-next.
11600 * text.C (InsertChar): Use contains instead of strchr.
11602 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11604 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11606 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11607 alignment commands (when needed).
11609 * text.C (InsertChar): Add ':' to number separator chars.