1 2004-03-24 Angus Leeming <leeming@lyx.org>
5 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
6 (c-tor): pass lyx::pos_types rather than ints.
8 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
11 * text.C (Delete): compile fix.
12 (getPar): ensure that function declaration is the same as that in
15 2004-03-23 Angus Leeming <leeming@lyx.org>
17 * ispell.C (LaunchIspell):
18 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
19 a boost::shred_ptr rather than a std::auto_ptr.
21 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * lyxfunc.C (getStatus): handle read-only buffers correctly;
24 handle LFUN_FILE_INSERT_*
26 * lyxrc.C (setDefaults, getDescription, output, read):
27 * lyxrc.h: remove ps_command
29 2004-03-22 Angus Leeming <leeming@lyx.org>
31 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
32 Ensure that error_handler is processed once only and that all data
33 is saved before attempting to output any warning messages.
35 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
37 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
39 * tabular.C (TeXRow): crash fix (from Kayvan and André)
41 2004-03-19 André Pönitz <poenitz@gmx.net>
43 * cursor.[Ch] (reset): take main text inset as argument
46 * BufferView_pimpl.C: adjust
48 * paragraph.[Ch]: fix completely broken operator=()
50 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * LColor.C (getFromLyXName): make sure that the color name is used
55 2004-03-17 Angus Leeming <leeming@lyx.org>
58 * LyXAction.C (init): remove LFUN_FORKS_KILL.
60 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
61 dialog and to kill a forked process.
63 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
65 * text2.C (setCursorFromCoordinates): fix font problem
67 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
69 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
70 bogus "rebuild cursor" code
72 2004-03-11 André Pönitz <poenitz@gmx.net>
74 * buffer.[Ch]: use InsetText instead of LyXText as container for
77 * dociterator.[Ch]: drop the BufferView * member which is not needed
78 anymore after the change to buffer.C
84 * BufferView_pimpl.[Ch]:
86 * cursor_slice.[Ch]: adjust
88 * text3.C: fix bug in mathDispatch
90 2004-03-08 André Pönitz <poenitz@gmx.net>
92 * undo.[Ch]: use 'StableDocumentIterator' as base for
95 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * bufferparams.[Ch]: add jurabib support and param.
100 * LaTeX.C: add FIXME/comment.
102 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104 * buffer.C: increment file format to 230.
106 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
108 * cursor.C (dispatch): avoid infinite loops
110 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
112 * rowpainter.C (paintSelection): fix x coordinates
114 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
116 * text.C (rowBreakPoint): fix breaking before displayed insets
118 2004-03-01 André Pönitz <poenitz@gmx.net>
120 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
122 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
126 * BufferView_pimpl.C:
134 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
140 * BufferView_pimpl.C: rename textwidth -> maxwidth,
141 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
143 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
145 * Bidi.[Ch] (computeTables): const correctness
146 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
147 fill_hfill, fill_label_hfill and x from Row
148 * lyxtext.h: prepareToPrint returns a RowMetrics
149 * rowPainter.C: adjust
150 * text.C (prepareToPrint): use width, not textWidth. adjust
151 (redoParagraphInternal, cursorX): adjust
152 * text2.C (getColumnNearX): adjust
153 (init): put a default value to the top LyXText::width
155 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
157 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
159 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
161 * lyxtext.h: add FontIterator class
163 * text.C (FontIterator, operator*, operator->, operator++): add
164 (rowBreakPoint, setRowWidth): adjust (fixing a
167 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * BufferView_pimpl.C (workAreaDispatch): allow also
170 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
172 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
174 * text.C (rowBreakPoint): fix a bug showing with very large insets
176 2004-02-25 André Pönitz <poenitz@gmx.net>
179 * cursor.[Ch]: move some mathed specific code to mathed
181 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
184 use_tempdir in preferences
185 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
187 * lyx_main.C: ensure that tempdir is valid
188 * lyxlex.h: correct typo
189 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
190 * paragraph.[Ch] (isMultiLingual): make const
191 * cursor.[Ch] (openable): make const
193 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
197 2004-02-20 André Pönitz <poenitz@gmx.net>
199 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
201 * cursor.[Ch]: prepare for localized getStatus()
207 * text3.C: streamlines the LyXText cursor movement handlers a bit.
209 2004-02-20 André Pönitz <poenitz@gmx.net>
211 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
213 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
215 * text2.C (setCursorFromCoordinates): switch to absolute coords
218 * text3.C (dispatch): adjust
220 2004-02-16 André Pönitz <poenitz@gmx.net>
222 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
225 * cursor_slice.[Ch]: remove unneeded acessor function
227 * lyxtext.h: rename rtl() to isRTL()
235 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
237 * rowpainter.C (paintSelection): coord fix
239 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * Spacing.C: compile fix
243 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
245 * cursor.C (dispatch): restore current_ before returning
247 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
249 * text2.C (cursorUp, cursorDown): fix coords
252 2004-02-12 André Pönitz <poenitz@gmx.net>
257 * text3.C: add LCursor & parameter to most cursor movement functions
258 remove usage of LyXText::cursorRow() and cursorPar()
260 * cursor.[Ch]: add textRow() needed members
263 * BufferView_pimpl.C:
266 * BufferView_pimpl.C: adjust
268 2004-02-11 André Pönitz <poenitz@gmx.net>
272 * BufferView_pimpl.C: shift undo/redo handling
274 * cursor.[Ch]: fix mathed crash
277 * lyxtext.h: move selectionAsText to LCursor
285 * rowpainter.C: fix excessive drawing
287 2004-02-06 André Pönitz <poenitz@gmx.net>
290 * BufferView_pimpl.[Ch]:
291 * text3.C: move some text specific LFUN handling
293 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
295 * text3.C (checkInsetHit): adjust coords
296 * text2.C (getColumnNearX): adjust coords
297 (edit): adjust coords
298 * text.C (getRowNearY): add two asserts
300 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
303 * format.C: add using std::distance to compile on gcc 2.95/stlport
305 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
307 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
309 2004-02-04 André Pönitz <poenitz@gmx.net>
311 * BufferView.[Ch] (insertInset):
312 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
317 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
319 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
320 on the default clause of the switch
321 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
322 wasn't catched by LCursor::dispatch
324 2004-02-03 André Pönitz <poenitz@gmx.net>
327 * cursor.[Ch]: some additional asserts
329 * undo.[Ch]: remove LyXText dependency in interface
333 * lyxtext.h (firstPar, lastPar): remove dead functions
338 * paragraph.[Ch]: adjust
340 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
342 * lyxfind.C (find): fix argument order in call to ::find
344 2004-02-02 André Pönitz <poenitz@gmx.net>
346 * cursor.[Ch]: remove direct access to anchor
348 * text.C: remove findText() hack
350 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
352 * iterators.[Ch] (lockPath): remove in favour of...
353 * BufferView.[Ch] (setCursor): this addition
354 * BufferView.C (putSelectionAt): adjust
355 * undo.C (performUndoOrRedo): adjust
356 * lyxfunc.C (dispatch): adjust
358 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
360 * iterators.C (lockPath): add a missing slice
361 * undo.C (performUndoOrRedo): remove redundant positioning code
363 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
365 * vc-backend.C (scanMaster): ";" -> ';'
367 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
369 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
372 * lyxtextclass.C (compare_name): rename to...
373 (LayoutNamesEqual): ...this
375 * lyxlex_pimpl.C (compare_tags): inherit from
376 std::binary_function, put back into anon namespace
378 * lyxfind.C (MatchString): inherig from std::binary_function
379 (findChange): use empty() istead of !size()
381 * format.C (FormatNamesEqual): new functor
388 * converter.C (compare_Converter): rename to...
389 (ConverterEqual): ...this, and fixup a bit.
390 (getConverter): use it, and make function const
391 (getNumber): use it, and make function const
395 * bufferlist.C: add using boost::bind
397 * MenuBackend.C (MenuNamesEqual): new functor
398 (hasMenu): use it, and make function const
399 (hasSubmenu): use nested bind to get rid of compare_memfun.
401 2004-01-30 André Pönitz <poenitz@gmx.net>
403 * BufferView_pimpl.C:
414 * text3.C: move some of the edit(x,y) handling to the insets
415 some coordinate changes.
417 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
419 * text.C: add using statements for std::advance and std::distance
421 * paragraph.C: add using statement for std::distance
423 * lyxfind.C: add using statement for std::advance
425 * cursor.C (region): remove std:: from swap
426 (openable): use nucleus in stead of operator->
428 * BufferView.C: add using statements for std::distance and std::swap
430 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
432 * iterators.C: Remove the pimple, move the needed structures to
433 the header file. Create accessor for the positions stack.
434 (asPosIterator): remove function
436 * PosIterator.C (PosIterator): move constructors to top of file
437 (PosIterator): reimplement the constructor taking a ParIterator in
439 (setFrom): new function
440 (operator!=): inline it
442 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
444 * lyxfind.C (replaceAll): use std::advance
446 * iterators.h: inherit from std::iterator.
448 * PosIterator.C (advance, distance): remove
449 * PosIterator.h: interit from std::iterator.
451 2004-01-26 André Pönitz <poenitz@gmx.net>
454 * BufferView_pimpl.[Ch]:
458 * bufferview_funcs.C:
469 * output_plaintext.C:
471 * paragraph_funcs.[Ch]:
472 * paragraph_pimpl.[Ch]:
478 * text3.C: more IU: dumps most of the rest of the mathcursor
479 implementation into cursor.[Ch]; "globalize" a bit of it.
481 2004-01-25 Angus Leeming <leeming@lyx.org>
483 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
485 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * LaTeXFeatures.h: add nice_ and nice() const
488 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
490 2004-01-20 André Pönitz <poenitz@gmx.net>
493 * BufferView_pimpl.C:
495 * bufferview_funcs.C:
508 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
509 LCursor and mathcursor parts to LCursor and InsetBase.
511 2004-01-15 André Pönitz <poenitz@gmx.net>
513 * cursor_slice.[Ch]: add a few covienience functions
515 * funcrequest.[Ch]: remove BufferView * member
517 * BufferView_pimpl.C:
524 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
526 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
528 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
529 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
531 2004-01-13 André Pönitz <poenitz@gmx.net>
534 * lyxtext.h: hide cursor and selection anchor behind accessor function
537 * BufferView_pimpl.[Ch]:
539 * bufferview_funcs.C:
549 * cursor_slice.[Ch]: some integer type changes for inset unification
551 * lyxcursor.[hC]: remove, it's CursorSlice now.
554 * BufferView_pimpl.[Ch]:
555 * bufferview_funcs.C:
561 * textcursor.[Ch]: adjust
563 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
565 * text2.C (undoSpan): add and use
566 * text.C (breakParagraph): use undoSpan (fix bug 578)
569 2004-01-08 Angus Leeming <leeming@lyx.org>
571 * BufferView_pimpl.C (MenuInsertLyXFile):
572 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
573 * lyxfunc.C (menuNew, open, doImport):
574 FileFilterList change to the FileDialog open and save functions.
576 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
578 * ShareContainer.h: make isEqual and isUnique adaptable
580 * CutAndPaste.C: make resetOwnerAndChanges adaptable
582 2004-01-07 Angus Leeming <leeming@lyx.org>
585 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
587 * BufferView_pimpl.C (dispatch): act on these LFUNs.
589 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
590 functions replacing find, replace and replaceAll.
592 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
593 LFUN_WORDFIND(FORWARD|BACKWARD).
595 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
597 * text.C (breakParagraph): remove an outdated #warning
599 2004-01-07 André Pönitz <poenitz@gmx.net>
601 * lyxfind.C: somewhat clearer logic
603 * text.C: prevent crash in cursorX on unitialized row cache
605 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
607 * lyxcursor.[Ch] (operator>): add
608 * textcursor.C (selStart, selEnd): use std::min and std::max
610 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
612 * Chktex.C: include boost/format.hpp
614 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
616 * InsetList.C: replace functor MathcIt with adaptable functor
618 (insetIterator): modify accordingly
620 * BranchList.h: move the BranchNamesEqual functor here from...
621 * BranchList.C: ... to here
623 * BranchList.C: new BranchListEqual fuctor, use it. Remove
625 (add): replace a finding loop with std::find_if.
627 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
629 * output_docbook.C: moving LatexParam functionality into
632 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * buffer.C: increment format to 229.
636 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
639 * lyx_sty.[Ch]: remove minipageindent_def
645 * text3.C: remove LFUN_INSET_MINIPAGE
647 2003-12-28 Angus Leeming <leeming@lyx.org>
649 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
651 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
653 * text2.C (setParagraph): fix off-by-one crash
655 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
657 * output_docbook.C: header stuff for AGU
659 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
661 * text2.C (redoCursor): remove
664 * BufferView_pimpl.C: remove calls to redoCursor and
665 setCursor(cursor.par(), cursor.pos()) all around
667 2003-12-15 Angus Leeming <leeming@lyx.org>
669 * buffer.C: up the format to 228.
671 2003-12-15 André Pönitz <poenitz@gmx.net>
673 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
678 * BufferView_pimpl.C:
687 2003-12-15 Angus Leeming <leeming@lyx.org>
689 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
690 than getFromGUIName to manipulate the color.
692 2003-12-14 Angus Leeming <leeming@lyx.org>
694 * BranchList.[Ch]: minimize the API.
695 (Branch::getBranch, getColor): now return a 'const &'.
696 (Branch::setSelected) now returns a bool set to true if the
697 selection status changes.
698 (BranchList::clear, size, getColor, setColor, setSelected,
699 allBranches, allSelected, separator): removed.
700 (BranchList::find): new functions, returning the Branch with
702 (BranchList::add, remove): return a bool indicating that
703 the operation was successful.
705 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
706 new InsetBranch::isBranchSlected member function.
708 * LColor.[Ch]: mimimize the API.
709 (fill): renamed as addColor and made private.
710 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
711 versions of these functions taking a string arg have been removed.
713 * bufferparams.C (readToken):
714 * lyxfunc.C (dispatch):
715 * lyxrc.C (read): changes due to the altered BranchList and
718 * factory.C (createInset, readInset): changes due to altered
721 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
724 * lyxfunc.C: remove insetminipage. "minipage-insert"
725 now produces a frameless minipage box inset.
727 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
729 * textcursor.[Ch] (selStart,selEnd): add new methods
730 remove selection::start, end, use LyXCursor::operator<
731 * lyxcursor.[Ch] (operator<): add
732 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
733 * BufferView.[Ch] (unsetXSel): add
734 * text2.C (clearSelection): use unsetXSel,adjust
737 * rowpainter.C: adjust
738 * bufferview_funcs.C (put_selection_at): adjust
740 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
742 * BufferView_pimpl.C: small coord. correction
744 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
746 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
747 dragging over the splash screen.
749 2003-12-11 Angus Leeming <leeming@lyx.org>
751 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
752 as it is now handled in LyXText::dispatch.
754 * text3.C (doInsertInset): remove a level of nesting.
756 2003-12-11 Angus Leeming <leeming@lyx.org>
758 * factory.C (createInset): changes due to the changed interface to
759 InsetCommandMailer::string2params.
761 2003-12-10 Angus Leeming <leeming@lyx.org>
763 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
764 'dialog-show-new-inset <inset name>'
766 2003-12-10 Angus Leeming <leeming@lyx.org>
768 * buffer.C: up the format to 227.
770 * factory.C: the box inset is now identified simply by 'Box'.
772 2003-12-10 Angus Leeming <leeming@lyx.org>
774 * buffer.C: up the format to 226.
776 * factory.C: the note inset is now identified simply by 'Note'.
778 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
780 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
781 when a pit is enough. Standarize a couple of loops.
783 2003-12-05 Angus Leeming <leeming@lyx.org>
785 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
786 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
787 data to the re-worked "log" dialog.
789 2003-12-03 André Pönitz <poenitz@gmx.net>
797 * text2.C: use Inset::getText instead of Inset::getParagraph
799 2003-12-03 André Pönitz <poenitz@gmx.net>
803 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
804 InsetText::read() as LyXText::read()
806 2003-12-02 Angus Leeming <leeming@lyx.org>
808 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
809 type. Add a comment in the implementation that the function uses
810 the stream's bad() function rather than fail() as the std::streams
813 2003-12-02 André Pönitz <poenitz@gmx.net>
815 * lyxlex.[Ch]: make interface more similar to std::stream
817 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
819 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
821 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
823 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
825 * vspace.[Ch]: remove VSpace::NONE
827 2003-12-01 André Pönitz <poenitz@gmx.net>
830 * lyxtext.h: move ParagraphList member to LyXText
831 rename LyXText::ownerParagraphs to LyXText::paragraph
834 * bufferview_funcs.C:
844 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
846 * undo.C: fix cursor positioning
848 2003-12-01 John Levon <levon@movementarian.org>
850 * BufferView_pimpl.C: fix a crash on exit with
853 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
855 * BranchList.C: fix setSelected() method.
857 2003-11-28 André Pönitz <poenitz@gmx.net>
859 * ParagraphParameters.[Ch]:
860 * ParameterStruct.h: remove space above/below from Paragraph to
863 * BufferView_pimpl.C:
875 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
877 * factory.C: Syntax change for CharStyles
879 2003-11-28 André Pönitz <poenitz@gmx.net>
884 * buffer.[Ch]: move LyXText member
886 2003-11-28 André Pönitz <poenitz@gmx.net>
888 * BufferView.[Ch]: make LyXText * text a private member
890 * BufferView_pimpl.C:
901 * output_plaintext.C: cleanup
903 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
906 * lyxtextclass.[Ch]: parametrize SGML document header
908 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
911 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
914 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
916 * text2.C (setFont): rework using PosIterator (no more recursive)
917 (setCharFont): no more needed
918 (setLayout): no more selection cursors fiddling (done by redoCursor)
919 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
920 destroy remaining ones)
922 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
924 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
926 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
929 * text3.C: adjust + re-allow multi par depth changes
930 * textcursor.C: simplify a bit
932 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
938 * src/output_docbook.C:
939 * src/output_latex.C:
944 * src/text2.C: Introducing a number of tags parametrizing various
945 XML formats that we may want to support
947 2003-11-25 André Pönitz <poenitz@gmx.net>
949 * InsetList.[Ch] (begein, end): inline as suggested by profiler
951 * lyxtext.h (leftMargin/rightMargin): simplify interface
958 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
960 * lyxfunc.C (dispatch): propogate the bibtex databases from the
961 master file to any child files. Fixes bug 546.
963 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
965 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
967 2003-11-24 André Pönitz <poenitz@gmx.net>
969 * rowpainter.C: simplification
971 * text2.C (updateCounters): remove call to redoParagraph on
972 changed labels as this is far too expensive.
974 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
976 * converter.C (convert): fix a crash: this function gets
977 called with buffer == 0 from importer code.
979 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
981 * text3.C (cursorPrevious): make sure that we do not compare
982 iterators form different containers.
985 * rowpainter.C (paintSelection): make sure that we do not compare
986 iterators from different containers.
988 * text3.C (dispatch): [PRIOR] make sure that we do not compare
989 iterators from different ParagraphList containers.
992 * text2.C (LyXText): change order of initialization slightly
993 (operator=): new function. copy all variables except cache_par_
994 (moveUp): make sure that we do not compare iterators from
995 different ParagraphList constainers.
998 * text.C (firstPar): new function
999 (lastPar): new function
1000 (endPar): new function
1002 * lyxtext.h: move things around and group public functions, public
1003 variables, private functions, private variables
1005 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1007 * factory.C: change call to InsetERT constructor to avoid
1008 additional invocation of method status
1009 * text2.C (toggleInset): remove redundant update() call
1010 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1011 instead of a Bufferview pointer
1013 2003-11-21 André Pönitz <poenitz@gmx.net>
1015 * rowpainter.C: simplification
1017 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1019 * text3.C (dispatch): make possible to extend a word/row selection
1022 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1024 * lyxtext.h: x0_,y0_ -> xo_,yo_
1025 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1026 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1027 * rowpainter.C (paintRows): paint full paragraphs
1029 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1031 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1034 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1036 * lyxtext.h: add x0_, y0_
1037 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1038 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1040 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1042 * text2.C (setCursorIntern): move the x_target update here *
1043 * text3.C: change some bv() to true/false in calls to
1044 cursorUp/Down/Right/Left
1045 * cursor.C: use helper function.
1047 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1049 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1050 * paragraph_funcs.[Ch]: correct comment
1051 * rowpainter.C: do not paint selections away from bv->cursor()
1052 Fix a long standing selection painting bug.
1053 * text3.C: generalize mouse-selection code to LyXTexts other that
1055 * textcursor.C: do not use y coords if we can use par offsets
1057 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1059 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1060 cursor position after e.g. inset insert)
1062 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1064 * lyxfind.C (replace): adjust to locking removal + some
1067 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1069 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1072 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1075 * output_docbook.C: XML sanitation: new layout
1076 parameters InnerTag and CommandDepth
1078 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1080 * BufferView_pimpl.C:
1082 * text3.C: Fix the insertion and modification of button-style
1085 2003-11-13 André Pönitz <poenitz@gmx.net>
1087 * InsetList.[Ch]: remove deleteLyXText
1089 * paragraph.[Ch]: cache beginOfBody position
1094 * text3.C: remove superfluous update() calls
1098 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1100 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1101 * BufferView.C (fitLockedInsetCursor): remove
1102 * cursor.[Ch] (getDim): add
1103 * text.C (getRowNearY): add faster version
1104 * text3.C: remove some update calls
1106 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1118 * text3.C: The Character Style /XML short element patch.
1120 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1123 * factory.C: Small step to solving 'unable to insert some insets'
1126 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1128 * cursor.[Ch] (updatePos): new function for updating the y
1129 position of the tip inset
1130 * bufferview_funcs.C (put_selection_at):
1131 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1133 2003-11-11 André Pönitz <poenitz@gmx.net>
1135 * text.C: remove big comment on invalid Paragraph pointers as it is
1138 2003-11-11 André Pönitz <poenitz@gmx.net>
1140 * text_funcs.[Ch]: merge with ...
1148 * Makefile.am: remove text_funcs.[Ch]
1150 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1152 * cursor.C (getPos): return absolute cached y coord
1154 * BufferView_pimpl.C (fitCursor): new simplistic code
1155 (workAreaDispatch): add a fitCursor call
1157 2003-11-10 André Pönitz <poenitz@gmx.net>
1160 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1162 2003-11-10 André Pönitz <poenitz@gmx.net>
1164 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1165 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1166 indicate that the cursor needs to leave an inset
1168 * lyxtext.h: remove inset locking
1170 * cursor.[Ch]: re-implement functionality provided by inset locking
1173 * BufferView_pimpl.[Ch]:
1175 * bufferview_funcs.[Ch]:
1187 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1189 * PosIterator.[Ch]: replace the stack with a vector, add inset
1191 * iterators.[C]: adjust
1193 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1195 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1197 * paragraph_funcs.C (readParToken): put the correct id in the
1198 error item, not the id of the top paragraph
1200 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1202 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1203 * bufferview_funcs.C (put_selection_at): use the above
1205 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1207 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1209 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * output_linuxdoc.h:
1212 * output_plaintext.h:
1214 * output_docbook.h: add #include statements
1216 2003-11-05 José Matos <jamatos@lyx.org>
1218 * output_docbook.[Ch]:
1219 * output_latex.[Ch]:
1220 * output_linuxdoc.[Ch]:
1221 * output_plaintext.[Ch]: New files for output formats.
1222 * output.[Ch]: New file for helper functions.
1225 * paragraph_funcs.[Ch]: output functions moved to new files.
1227 * outputparams.h: rename of latexrunparams.h
1235 * paragraph_funcs.[Ch]:
1236 * paragraph_pimpl.[Ch]:
1237 * tabular.[Ch]: rename ascii to plaintext
1238 and LatexRunParams to OutputParams.
1240 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1242 * iterators.[Ch] (text): require bv argument
1243 * undo.C (recordUndo):
1244 * lyxfunc.C (dispatch):
1245 * bufferview_funcs.C (put_selection_at): adjust
1247 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1249 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1251 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1253 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1256 2003-11-04 André Pönitz <poenitz@gmx.net>
1258 * cursor.[Ch]: restructure
1261 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1263 * iterators.[Ch] (asCursor): remove
1265 * lfuns.h: remove LFUN_INSET_EDIT
1271 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1273 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1275 * lyxfind.[Ch]: complete overhaul
1276 * BufferView_pimpl.C:
1278 * paragraph.[Ch] (insert): add
1280 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1284 * text.C: remove dead spellcheck code
1286 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * dispatchresult.h: add a val setter
1290 * cursor.C (dispatch): use a tempvar for data_[i]
1292 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1294 * PosIterator.[Ch]: compile fix
1296 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1298 * text.C (cursorPar): deactivate the cursor cache
1300 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1302 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1304 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * text3.C (dispatch): adjust for new DisptchResult semantics.
1308 * lyxfunc.C (dispatch): handle update when return from
1309 Cursor::dispatch, adjust for new DispatchResult semantics.
1311 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1312 DispatchResult(true) mean to not update. Add class functions for
1313 setting dispatched and update, as well as reading.
1315 * cursor.C (dispatch): don't handle update here
1317 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1320 * trans_mgr.C: adjust
1322 * paragraph_funcs.C (readParToken): exception safety
1324 * lyxvc.h: store the vcs pointer in a scoped_ptr
1327 * lyxsocket.C (serverCallback): exception safety
1329 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1331 * ispell.C (clone): make it return a auto_ptr
1333 * factory.C (createInset): exception safety
1334 (readInset): exception safety
1336 * bufferlist.C (newBuffer): exception safety
1338 * Thesaurus.C (Thesaurus): use initialization for aik_
1340 * MenuBackend.C (expandToc): exception safety.
1342 2003-11-03 André Pönitz <poenitz@gmx.net>
1346 * bufferview_funcs.C: remove getInsetFromId()
1349 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1355 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1357 * PosIterator.C (distance, advance): new
1358 * bufferview_funcs.[Ch] (put_selection_at): new
1359 * iterators.[Ch] (lockPath): new
1361 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1363 * iterators.[Ch] (asPosIterator): added
1364 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1365 * PosIterator.[Ch]: added
1367 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * cursor.C (dispatch):
1372 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1374 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1375 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1376 contructor, add a class function dispatched. Remove operator>=
1378 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * debug.C: only use the default constructor for debugstream
1383 * main.C (main): include debug.h and setup the lyxerr streambuf
1386 2003-10-31 José Matos <jamatos@lyx.org>
1388 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1390 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1391 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1392 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1393 * paragraph_pimpl.C (simpleTeXSpecialC):
1394 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1395 add LatexRunParams argument.
1397 * exporter.C (Export): change call accordingly.
1399 * latexrunparams.h: add new member to take care of the other backends.
1400 2003-10-30 José Matos <jamatos@lyx.org>
1402 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1403 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1404 factorise code for paragraph output.
1406 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1409 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * text3.C (dispatch):
1412 * lyxfunc.C (dispatch):
1413 * cursor.C (dispatch):
1414 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1416 * dispatchresult.h: make the dispatch_result_t ctor explicit
1418 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1421 * buffer.C: small refactoring of docbook stuff
1423 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1425 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1428 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1431 operator dispatch_result_t, and operators for == != and >=
1433 * cursor.C (dispatch): adjust for operator dispatch_result_t
1434 removal. comment out call to update
1436 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1438 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1449 * dispatchresult.h: new file, DispatchResult broken out of
1452 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1454 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1456 * text.C (rowBreakPoint): put a hack inside #if 0
1458 2003-10-28 André Pönitz <poenitz@gmx.net>
1462 * paragraph_funcs.C:
1465 * text2.C: general cleanup (lots of small stuff)
1467 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1469 * text2.C (cursorEnd): simple fix to the "end key goes to one
1470 before the end on last row" bug
1472 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1474 * text.C (backspace): fix the "zombie characters"
1476 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1478 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1480 2003-10-27 André Pönitz <poenitz@gmx.net>
1482 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1484 * factory.C: handle new InsetPagebreak, InsetLine
1486 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1487 and move handling into new InsetPagebreak, InsetLine
1489 * BufferView_pimpl.C:
1491 * ParagraphParameters.C:
1492 * ParameterStruct.h:
1497 * paragraph_funcs.C:
1498 * paragraph_pimpl.C:
1504 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1507 * lyxrow_funcs.[Ch]:
1513 * text3.C: remove lastPos uses in favour of Row::endpos
1515 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1517 * undo.C (performUndoOrRedo): fix two crashes by setting a
1518 cursor by hand and reordering some calls. Use bv->lockInset instead
1519 of inset->edit because the latter loses cursor information
1521 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1523 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1525 (rowBreakPoint): fix width. change point to point + 1.
1526 Add a missing check.
1528 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1531 * lyxfunc.C: fix (at least partly) the problems
1532 with the Nav menu and headers inside branch insets
1535 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1537 * paragraph.C (getChar): add strong asserts
1539 * lyxrow_funcs.C (lastPos): remove hideous hack
1541 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1542 (fill): adjust to that (avoid an infinite loop)
1544 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1546 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1548 2003-10-23 André Pönitz <poenitz@gmx.net>
1550 * RowList_fwd.h: change list<> to vector<> to gain speed
1551 after suggestion from Alfredo
1553 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1555 * lyxtext.h: move the bidi stuff from here...
1558 * Bidi.[Ch]: ... to here
1560 2003-10-23 André Pönitz <poenitz@gmx.net>
1563 * text.C (isLastRow, isFirstRow): new functions
1565 * paragraph.h: new width cache member
1567 * rowpainter.C: replace RowList::iterator with Row & where possible
1569 * lyxfunc.C: replace several view()->text with a single call
1571 * toc.C: fix 'unused' warning
1573 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1576 when woring with stream::pos_type
1577 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1579 2003-10-22 André Pönitz <poenitz@gmx.net>
1582 * text.C: use Row & instead of RowList::iterator
1584 * lyxrow.h: rename end() to endpos()
1590 2003-10-22 Angus Leeming <leeming@lyx.org>
1592 * buffer.[Ch] (fully_loaded): new member function, returning true
1593 only when the file has been loaded fully.
1594 Used to prevent the premature generation of previews and by the
1595 citation inset to prevent computation of the natbib-style label.
1597 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1598 templates are all set up.
1600 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1602 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1604 * text.C: fixed an "oops" in the "is a bit silly"
1607 2003-10-21 André Pönitz <poenitz@gmx.net>
1609 * FuncStatus.[Ch]: small stuff, whitespace
1611 * lyxfont.[Ch]: operator<<() for debug reasons
1615 * lyxtext.h: whitespace, spelling
1617 * paragraph.C: naming of variables
1620 * text2.C: small stuff
1623 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1625 * text.C: (1) finish off the inset display() work;
1626 (2) fix the "is a bit silly" bug (accessing char
1629 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1631 * text.C: re-introduce display() for insets, fixing the
1632 various bugs (stretch of line above, math inset
1635 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1637 * text.C (rightMargin): remove spurious semicolon
1639 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1642 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1644 * text3.C: fix one crash due to wrong cursor def
1646 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1648 * vc-backend.C (scanMaster): make the regex static
1650 * LaTeX.C (scanAuxFile): make the regexs static
1652 * text3.C (doInsertInset, dispatch, dispatch):
1653 * text2.C (cursorUp, cursorDown):
1654 * text.C (selectNextWordToSpellcheck):
1655 * BufferView_pimpl.C (dispatch):
1656 * lyxfunc.C (dispatch): localDispatch -> dispatch
1658 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1660 * lyxsocket.C: include <cerrno>
1662 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * lyxfunc.C (dispatch): remove textcache stuff
1666 * bufferlist.C (release): remove textcache stuff
1669 * TextCache.C: delete file
1670 * TextCache.h: delete file
1672 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1674 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1675 delete of the bv_->text.
1676 (resizeCurrentBuffer): remove texcache stuff
1677 (workAreaResize): ditto
1679 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1684 2003-10-16 André Pönitz <poenitz@gmx.net>
1691 * text3.C: speed up by storing y positions per paragraph plus per-row
1692 offset instead of having a 'full' y position in the row.
1694 2003-10-15 André Pönitz <poenitz@gmx.net>
1698 * undo.[Ch]: make undo aware of inner insets
1700 2003-10-14 Angus Leeming <leeming@lyx.org>
1702 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1703 static member functions LyX::ref() and LyX::cref.
1704 (lastfiles): new accessor functions for the new lastfiles_ member var.
1705 (addLyXView, views_): add a new LyXView to the list of views_.
1706 (updateInset): loop over all LyXViews to call their own updateInset
1707 member function, returning a pointer to the Buffer owning the inset.
1709 * BufferView_pimpl.C (loadLyXFile):
1710 * MenuBackend.C (expandLastfiles):
1711 * bufferlist.C (MenuWrite, QuitLyX):
1712 lastfiles is no longer a global variable.
1713 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1715 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1716 static function. Access through LyX::cref().emergencyCleanup().
1718 2003-10-14 André Pönitz <poenitz@gmx.net>
1720 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1722 * undo.[Ch]: restoring part of 'undo in insets'
1725 * undo_funcs.[Ch]: merge with undo.[Ch]
1727 * tabular.C: small cleansing stuff
1729 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1731 * paragraph_funcs.C (readParToken): report unknown insets as error
1732 boxes. Use the outer paragraph as location (also for unknown
1735 * factory.C (readInset): do not abort on reading an unknown inset.
1736 Eat it and return 0.
1738 2003-10-13 Angus Leeming <leeming@lyx.org>
1740 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1742 * lyxrc.C: displayTranslator is now a function,
1743 declared in GraphicsTypes.h.
1745 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1747 * format.C: new placeholder $$a to pass the socket address.
1749 * bufferlist.[Ch]: new function getBufferFromTmp.
1751 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1752 files in the temporary dir.
1754 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1756 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1758 * Makefile.am: add lyxsocket.[Ch].
1760 * lyx_main.C (error_handler): handle SIGPIPE.
1762 2003-10-13 André Pönitz <poenitz@gmx.net>
1764 * BufferView_pimpl.C:
1769 * undo_funcs.[Ch]: use paroffset_type instead of
1770 ParagraphList::iterators to prevent multiple conversion
1771 (and get a more robust interface)
1773 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1777 * text3.C (dispatch): ditto
1779 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1782 move the onlyfile, use onlyfile instead of foundfile in a couple
1785 * DepTable.C (update): flush the error stream a bit more
1787 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * lyxserver.C (callback): adjust
1791 * lyxfunc.C (getStatus): add a missing brace in commented code
1792 (ensureBufferClean): reindent
1793 (dispatch): delete version taking a string
1795 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1797 * LaTeX.C (deplog): move found file handlig from here...
1798 (handleFoundFile): .. to new function here.
1799 (deplog): make sure to discover several files mentioned on the
1802 2003-10-10 André Pönitz <poenitz@gmx.net>
1809 * text3.C: fix some of the tabular crashes
1811 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1813 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1815 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1817 2003-10-09 André Pönitz <poenitz@gmx.net>
1819 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1822 * BufferView_pimpl.C:
1823 * bufferview_funcs.C:
1834 * undo_funcs.C: adjust
1836 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * text2.C (incrementItemDepth): new function, use a backtracking
1839 algorithm to discover the correct item depth.
1840 (resetEnumCounterIfNeeded): new function, use a backtracking
1841 algorithm to discover if counter reset is needed.
1842 (setCounter): use them. Simplify a bit. Add different labels for
1843 different item depths for itemize.
1845 * paragraph.C (Paragraph): remove initialization of enumdepth
1848 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1849 enumerate and itemize. Change the type of itemdepth to signed char.
1851 2003-10-08 André Pönitz <poenitz@gmx.net>
1853 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1858 * tabular.[Ch]: fix crash after 'row-insert'
1860 2003-10-08 Angus Leeming <leeming@lyx.org>
1862 Fix doxygen warnings.
1864 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1865 Remove CutAndPaste:: prefix from header file declaration.
1867 * LColor.h (fill): remove LColor:: prefix from declaration.
1869 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1870 use lyx::depth_type rather than Paragraph::depth_type so that
1871 header file and .C file match.
1873 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1875 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1876 * aspell.C: \file aspell_local.C -> \file aspell.C
1877 * gettext.C: \file gettext.C -> \file src/gettext.C
1878 * gettext.h: \file gettext.h -> \file src/gettext.h
1879 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1880 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1881 * text.C: \file text.C -> \file src/text.C
1883 * toc.C: move comment so that doxygen is not confused.
1885 2003-10-07 Angus Leeming <leeming@lyx.org>
1887 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1889 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1892 * aspell_local.h: add forgotten std::string's.
1894 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1901 * text3.C: The Box patch. Fancybox support, minipage, parbox
1903 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1909 * ParagraphParameters.h:
1919 * lyxtextclasslist.h:
1922 * paragraph_pimpl.C:
1923 * textcursor.h: add <string> and other small fixes to make Lars'
1924 std::string patch compile with STLport.
1926 2003-10-06 Angus Leeming <leeming@lyx.org>
1928 * LColor.h: Add missing #include <string>.
1930 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * All most all file in all subdirs: Make <string> be the prefered
1933 way of getting to std::string, add using declarations.
1935 2003-10-06 André Pönitz <poenitz@gmx.net>
1937 * metricsinfo.C: initialize LyXFont before changing attribute.
1938 (fixes the 'math in \emph is upright' bug)
1940 2003-10-06 André Pönitz <poenitz@gmx.net>
1942 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1944 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1947 * paragraph_pimpl.C: Small fixes to build using STLport
1949 2003-10-02 André Pönitz <poenitz@gmx.net>
1952 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1954 2003-10-01 André Pönitz <poenitz@gmx.net>
1956 * factory.C: assert early
1958 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * lyx_main.C: remove the global debug object
1962 * debug.h: adjust for new debugstream
1964 * debug.C: adjust for new debugstream and keep the global debug
1967 2003-09-22 Angus Leeming <leeming@lyx.org>
1969 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1970 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1971 an incomplete class LyXFont.
1973 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1975 * factory.C: bug fix in branches
1977 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * lyxfunc.C (processKeySym): adjust
1981 (dispatch): change arg name from ev to func, adjust
1982 (sendDispatchMessage): ditto
1984 * lyx_main.C (defaultKeyBindings): adjust keybindings
1985 (deadKeyBindings): ditto
1987 * kbsequence.C (addkey): return a FuncRequest
1989 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1991 * kbmap.C (bind): take a FuncRequest as arg, adjust
1994 (defkey): change to take a FuncRequest as arg, adjust
1995 (findbinding): take a FuncRequest as arg, adjust.
1997 * funcrequest.h (operator=): added
1999 * funcrequest.C (FuncRequest): default kb_action changed from
2000 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2002 * buffer.C (dispatch): simplify
2003 (dispatch): adjust to take a FuncRequest as arg, adjust
2005 * boost.C (assertion_failed): change assertion message slightly
2007 * ToolbarBackend.C (read): simplify
2009 * MenuBackend.C (binding): adjust call to findbinding, add a
2010 message if no binding is found.
2012 (expandToc): correct by adding a empty FuncRequest
2014 * LyXAction.C: include <boost/assert.hpp>
2015 (isPseudoAction): delete function
2016 (LookupFunc): change name to...
2017 (lookupFunc): this. change return type to FuncRequest.
2018 (getActionName): take kb_action as arg, simplify
2019 (funcHasFlag): add an assert, simplify.
2021 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * toc.C (action): return a FuncRequest, simplify
2025 * lyxfunc.C (processKeySym): adjust
2026 (getStatus): delete version that takes an int.
2028 (dispatch): delete version that takes action as int
2030 (sendDispatchMessage): simplify and adjust
2032 * funcrequest.C (getArg): take unsigned int as arg
2034 * ToolbarBackend.C (read): adjust
2035 (add): delete version that takes func as a string.
2036 (getIton): take a FuncRequest as arg
2038 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2041 * MenuBackend.C (MenuItem): add a new construct that only takes a
2042 Kind, simplify the constructor use for submenus.
2044 (expandLastfiles): adjust
2045 (expandDocuments): adjust
2046 (expandFormats): adjust
2047 (expandFloatListInsert): adjust
2048 (expandFloatInsert): adjust
2049 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2051 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2052 Remove class variables lyx_pseudo_map and lyx_arg_map
2054 * LyXAction.C (searchActionArg): delete function
2055 (getPseudoAction): delete function
2056 (retrieveActionArg): delete function
2057 (LookupFunc): make it return kb_action, simplify.
2058 (getActionName): simplify
2060 * factory.C (createInset): fix new bug
2062 2003-09-19 Angus Leeming <leeming@lyx.org>
2064 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2065 masterFilename_ parameter in the include inset.
2067 * factory.C (createInset): changes due to the changes to InsetInclude.
2069 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2071 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2073 2003-09-18 Angus Leeming <leeming@lyx.org>
2076 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2077 Inset::fillWithBibKeys.
2078 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2080 2003-09-18 Angus Leeming <leeming@lyx.org>
2082 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2084 (ctor): pass and store a 'Buffer const &'
2085 (buffer): new member function.
2087 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2088 '*this' to the LaTeXFeatures ctor.
2090 2003-09-18 Angus Leeming <leeming@lyx.org>
2096 * text.C: rename EnumLColor as LColor_color.
2098 2003-09-18 Angus Leeming <leeming@lyx.org>
2100 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2101 remove #include "insets/insetbase.h" from cursor.h.
2103 2003-09-18 Angus Leeming <leeming@lyx.org>
2105 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2106 InsetOld_code to remove #include "inset.h".
2108 * iterators.C: add #include "insets/inset.h"
2110 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2112 * BufferView.C: remove more locking stuff that apparently doesn't
2113 do anything sensible.
2115 2003-09-16 André Pönitz <poenitz@gmx.net>
2118 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2121 2003-09-16 Angus Leeming <leeming@lyx.org>
2123 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2125 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2128 * paragraph.h: remove #include "lyxfont.h". Forward declare
2131 2003-09-16 Angus Leeming <leeming@lyx.org>
2133 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2134 of support/textutils.h.
2135 (isWord): move the contents of support/textutils.h's IsWordChar here.
2141 * text2.C: add #include "paragraph.h".
2144 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2146 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * LaTeX.C: use namespace alias for lyx::support::os
2154 2003-09-16 Angus Leeming <leeming@lyx.org>
2157 * bufferview_funcs.C:
2160 * paragraph_pimpl.C:
2162 * text.C: add #include "LColor.h".
2164 2003-09-16 Angus Leeming <leeming@lyx.org>
2166 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2167 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2169 Store the FontBits::color variable as an int rather than as an
2170 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2173 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2174 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2175 string calls together.
2177 * lyxrc.C: add #include "LColor.h".
2179 2003-09-15 Angus Leeming <leeming@lyx.org>
2181 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2184 2003-09-15 Angus Leeming <leeming@lyx.org>
2186 * LColor.h: add an EnumLColor wrapper for LColor::color.
2188 * lyxfont.[Ch] (color, setColor, realColor):
2189 * lyxtext.h, text.C (backgroundColor):
2190 pass EnumLColor args to/from the functions, rather than LColor::color
2194 * lyxtext.h: forward declare EnumLColor.
2196 * lyx_main.C: add #include "LColor.h".
2198 2003-09-15 Angus Leeming <leeming@lyx.org>
2200 * .cvsignore: add lyx-gtk.
2202 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * ParagraphParameters.C
2211 * bufferview_funcs.C
2221 * vc-backend.C: remove usage of STRCONV
2223 2003-09-15 Angus Leeming <leeming@lyx.org>
2225 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2226 explicitly define the color passed to the painter.
2228 2003-09-15 Angus Leeming <leeming@lyx.org>
2230 * bufferparams.C (BufferParams): reorder member initializers to avoid
2233 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2235 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2236 * text.C (updateRowPositions): remove an unusual nop
2238 2003-09-12 André Pönitz <poenitz@gmx.net>
2240 * BufferView_pimpl.C:
2249 * Counters.[Ch]: finish the 'automatic counters' job
2251 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2253 * aspell.C: include <boost/assert.cpp> (compile fix)
2255 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2257 * boost.C (assertion_failed): use lyx::support::abort instead of
2260 2003-09-10 Angus Leeming <leeming@lyx.org>
2262 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2263 with their _fwd progeny.
2265 2003-09-09 Angus Leeming <leeming@lyx.org>
2267 134 files throughtout the source tree: replace 'using namespace abc;'
2268 directives with the appropriate 'using abc::xyz;' declarations.
2270 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2272 * boost.C (emergencyCleanup): moved here from LAssert.c
2273 (assertion_failed): new function, called by BOOST_ASSERT
2275 * several files: change Assert to BOOST_ASSERT
2277 2003-09-09 Angus Leeming <leeming@lyx.org>
2279 * buffer.[Ch]: Add an Impl class and move Buffer's member
2280 variables into it. As a result move several header files out of
2283 Add header files to lots of .C files all over the tree as a result.
2285 2003-09-09 Angus Leeming <leeming@lyx.org>
2287 * buffer.[Ch]: make Buffer's member variables private. Add
2290 Lots of changes all over the tree as a result.
2292 2003-09-08 Angus Leeming <leeming@lyx.org>
2294 * graph.C: #include <config.h>.
2296 2003-09-08 Angus Leeming <leeming@lyx.org>
2300 * BufferView_pimpl.C:
2329 * toc.C: remove redundant using directives.
2331 2003-09-07 Angus Leeming <leeming@lyx.org>
2333 * LaTeXFeatures.h: remove #include "support/types.h".
2334 * ToolbarBackend.h: remove #include <algorithm>.
2335 * changes.h: remove #include <ctime>.
2336 * debug.h: remove #include <iosfwd>.
2337 * graph.h: remove #include "support/std_string.h".
2338 * lyx_main.h: remove #include <csignal>.
2339 * lyxlex_pimpl.h: remove #include <fstream>.
2340 * sgml.h: remove #include <algorithm>, <utility>.
2341 * toc.h: remove #include "support/std_ostream.h".
2342 Add #include <iosfwd>.
2344 2003-09-07 Angus Leeming <leeming@lyx.org>
2346 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2348 * converter.h: forward declare LatexRunParams.
2349 * encoding.h: remove #include "lyxrc.h".
2350 * lyxtext.h: remove #include "LColor.h".
2351 * lyxtextclass.h: remove #include "support/types.h".
2352 * trans.h: remove #include "tex-accent.h".
2353 * trans_mgr.h: remove #include "tex-accent.h".
2354 * insets/inset.h: remove #include "support/types.h", <vector>.
2355 * insets/insetcollapsable.h: remove #include "LColor.h".
2356 * insets/insetinclude.h: remove #include "dimension.h".
2357 * insets/insetlatexaccent.h: remove #include "dimension.h".
2358 * insets/insetoptarg.h:: remove #include "insettext.h".
2359 * insets/insettext.h: remove #include "dimension.h",
2360 <boost/shared_ptr.hpp>
2362 * insets/renderers.h: add #include "dimension.h".
2363 * insets/updatableinset.h: add #include "support/types.h".
2365 * many .C files: Associated changes.
2367 2003-09-06 Angus Leeming <leeming@lyx.org>
2369 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2370 one, inside testInvariant.
2372 * PrinterParams.C: new file.
2373 * PrinterParams.[Ch]: move the function bodies out of line.
2375 2003-09-06 Angus Leeming <leeming@lyx.org>
2377 * ParagraphParameters.h: forward declare ParameterStruct rather than
2378 including its header file.
2379 (depth): moved out-of-line.
2381 2003-09-06 Angus Leeming <leeming@lyx.org>
2383 * BufferView_pimpl.h:
2386 * lyxfunc.h: forward declare LyXKeySym rather than
2387 #include "frontends/LyXKeySym.h".
2389 * BufferView_pimpl.C:
2392 * lyxfunc.C: associated changes.
2394 2003-09-06 Angus Leeming <leeming@lyx.org>
2396 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2397 As a result, can remove the #include "insets/inset.h" from BufferView.h
2399 2003-09-06 Angus Leeming <leeming@lyx.org>
2401 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2402 As a result, can remove the #include "insets/inset.h" from BufferView.h
2404 2003-09-06 Angus Leeming <leeming@lyx.org>
2410 * bufferview_funcs.C:
2411 * BufferView_pimpl.C:
2416 * ParagraphParameters.C:
2421 * frontends/controllers/ControlDocument.C:
2422 * insets/insetcaption.C: rearrange the #includes into some sort of
2425 * buffer.h: remove #includes ErrorList.h, undo.h
2427 2003-09-06 Angus Leeming <leeming@lyx.org>
2429 * support/types.h: add a 'depth_type' typedef, used to store the
2430 nesting depth of a paragraph.
2433 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2434 defining explicitly.
2437 * paragraph_funcs.h:
2438 * ParagraphParameters.h:
2439 * sgml.h: use lyx::depth_type rather than Paragraph or
2440 ParameterStruct's depth_type.
2443 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2446 * BufferView_pimpl.C:
2448 * ParagraphParameters.C:
2451 * bufferview_funcs.C:
2458 * frontends/LyXView.C:
2459 * frontends/controllers/ControlDocument.C:
2460 * frontends/controllers/ControlErrorList.C:
2461 * insets/insetbibitem.C:
2462 * insets/insetbranch.C:
2463 * insets/insetcaption.C:
2464 * insets/insetcollapsable.C:
2465 * insets/insetenv.C:
2466 * insets/insetert.C:
2467 * insets/insetfloat.C:
2468 * insets/insetfoot.C:
2469 * insets/insetfootlike.C:
2470 * insets/insetnewline.C:
2471 * insets/insetquotes.C:
2472 * insets/insettabular.C:
2473 * insets/insettext.C:
2474 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2476 * frontends/controllers/ControlChanges.C: #include "changes.h".
2478 2003-09-06 Angus Leeming <leeming@lyx.org>
2480 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2481 than #including paragraph.h.
2484 * RowList.h: deleted. Superfluous.
2494 * insets/insettext.h: use ParagraphList_fwd.h rather than
2497 * paragraph.h: don't forward declare ParagraphList.
2500 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2501 rather than ParagraphList.h. paragraph.h is still needed for the
2502 Paragraph::depth_type parameters.
2504 * textcursor.h: enable it to compile stand-alone in light of the
2507 * bufferview_funcs.C:
2519 * frontends/controllers/ControlParagraph.C:
2520 * frontends/controllers/ControlTabular.C:
2521 * insets/insetmarginal.C:
2522 * insets/insetminipage.C:
2523 * insets/insetnote.C:
2524 * insets/insetoptarg.C: add header files needed to compile again.
2526 2003-09-06 Angus Leeming <leeming@lyx.org>
2528 * RowList_fwd.h: new file, forward-declaring Row rather than
2529 #including lyxrow.h.
2534 * insets/insettext.h: use it instead of RowList.h
2536 * bufferview_funcs.C:
2543 * text3.C: #include "RowList.h".
2545 2003-09-05 Angus Leeming <leeming@lyx.org>
2547 * factory.C (createInset):
2548 * vspace.C (c-tor): replace sscanf call with an istringstream.
2549 * ispell.C: re-add missing HP/UX headers.
2550 * lyxserver.C: re-add missing os2 headers.
2552 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2561 * text3.C: re-add missing system headers, needed for 2.95.2.
2563 2003-09-05 Angus Leeming <leeming@lyx.org>
2565 Changes most place everywhere due to the removal of using directives
2566 from support/std_sstream.h.
2568 2003-09-05 Angus Leeming <leeming@lyx.org>
2570 Replace LString.h with support/std_string.h,
2571 Lsstream.h with support/std_sstream.h,
2572 support/LIstream.h with support/std_istream.h,
2573 support/LOstream.h with support/std_ostream.h.
2575 Changes resulting throughout the tree.
2577 2003-09-05 Angus Leeming <leeming@lyx.org>
2579 * sgml.h: ensure that the header file can be compiled stand-alone.
2580 * *.C: strip out redundant #includes. (320 in total.)
2582 2003-09-04 Angus Leeming <leeming@lyx.org>
2584 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2585 here (from getPackages).
2587 * debug.[Ch]: add a new EXTERNAL tag.
2589 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2591 * text2.C (cursorEnd): simplify
2593 (getColumnNearX): adjust
2595 * text.C (computeBidiTables): adjust
2598 * rowpainter.C (paintChars): adjust
2599 (paintSelection): adjust
2600 (paintChangeBar): adjust
2603 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2605 (numberOfSeparators): adjust
2607 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2613 * text3.C: Restricts the mouse click functionality
2614 of insets like bibtex, include, toc and floatlist to the visible
2615 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2616 up the dialogs. Cursor has to be in front of the inset (i.e.
2617 start of row) for this to function.
2619 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2621 * bufferview_funcs.C (currentState): output row information
2623 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2625 * bufferview_funcs.C (currentState): output paragraph position
2627 2003-09-04 Angus Leeming <leeming@lyx.org>
2629 * FloatList.h: move out #include "Floating.h".
2630 * LaTeX.h: move out #include "DepTable.h".
2631 * LyXAction.h: move out #include "funcrequest.h".
2632 * buffer.h: move out #include "author.h", "iterators.h".
2633 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2634 * lyx_main.h: move out #include "errorlist.h".
2635 * lyxfunc.h: move out #include "FuncStatus.h".
2636 * lyxtext: move out #include "lyxcursor.h".
2637 * paragraph_pimpl.h: move out #include "counters.h".
2639 2003-09-03 Angus Leeming <leeming@lyx.org>
2641 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2642 preamble_snippets list, enabling us to add snippets to the preamble
2643 only if the snippet was not there already.
2645 2003-09-04 Angus Leeming <leeming@lyx.org>
2647 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2649 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2654 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2656 * BranchList.C: point fix, earlier forgotten
2658 2003-09-02 Angus Leeming <leeming@lyx.org>
2660 * box.C (contains): renamed from 'contained' after a fantastic
2663 2003-09-02 John Levon <levon@movementarian.org>
2669 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2671 2003-09-02 John Levon <levon@movementarian.org>
2673 * text2.C: simplification of cursorEnd(), including partial
2676 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * buffer.C (readFile): add a space
2680 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2682 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2684 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * buffer.C (readFile): new function, take a filename and a
2687 ParagraphList::iterator
2689 (readFile): adjust, make it private. don't use setStream, make
2690 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2691 always contain the filename.
2693 * BufferView.C (insertLyXFile): simplify and make it work for
2696 2003-08-30 John Levon <levon@movementarian.org>
2698 * Makefile.am: fix dist (from Kayvan)
2700 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * most files: change to use const Buffer refs
2704 2003-08-27 André Pönitz <poenitz@gmx.net>
2706 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2707 on top of ownerPar().
2709 2003-08-27 John Levon <levon@movementarian.org>
2711 * funcrequest.C: properly initialise POD members
2713 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2715 * lyxtext.h (top_y): move top_y from here
2720 * BufferView_pimpl.[Ch]: to here
2721 * frontends/screen.C:
2722 * insets/insettabular.C:
2723 * insets/insettext.C: adjust
2724 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2726 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2729 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2731 2003-08-26 André Pönitz <poenitz@gmx.net>
2733 * paragraph_func.[Ch] (outerPar): new function
2736 * paragraph_funcs.C:
2737 * paragraph_funcs.h:
2738 * paragraph_pimpl.C:
2739 * text2.C: remove Inset::par_owner
2741 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2746 * text2.C: eliminates the needFullRow/display() stuff
2747 altogether, putting the logic in metrics/draw in the insets.
2749 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2751 * text2.C (redoParagraphInternal, redoParagraphs):
2752 * text.C (redoParagraph): add a call to updateRowPositions at the
2753 end of each 'metrics-like' call. Remove all others.
2754 (getRow): remove the 'y-computing' version.
2755 (getRowNearY): do not compute nor return the real y. Solve the
2756 'y < 0' problem and simplify.
2758 2003-08-22 Angus Leeming <leeming@lyx.org>
2760 * *.[Ch]: clean-up of licence and author blurbs.
2761 Also move config.h out of a few .h files and into a few .C files.
2763 2003-08-22 André Pönitz <poenitz@gmx.net>
2765 * lyxrow.[Ch]: add x_ and *fill_ members
2770 * text2.C: adjust/remove prepareToPrint() calls
2772 2003-08-22 André Pönitz <poenitz@gmx.net>
2774 * lyxrow.[Ch]: add end_ member
2776 * lyxrow_funcs.C: use LyXRow::end_
2778 * lyxtext.h (singleWidth): add LyXFont parameter
2781 * text2.C: adjust LyXText::singleWidth() calls
2783 * text.C (redoParagraph): simplify row breaking logic
2786 2003-08-19 André Pönitz <poenitz@gmx.net>
2788 * funcrequest.C: initialize button_ member
2791 * rowpainter.[Ch]: interface consolidation
2793 2003-08-18 André Pönitz <poenitz@gmx.net>
2796 * BufferView_pimpl.C:
2798 * paragraph_funcs.C:
2800 * text3.C: remove LyXScreen::draw() and fitCursor calls
2802 * BranchList.h: remove spurious semicolons
2804 * MenuBackend.C: fix branchlist related crash
2806 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2814 * bufferparams.[Ch]:
2818 * text3.C: implements the 'branch inset'
2819 idea. This allows the output of various versions of a document
2820 from a single source version, selectively outputing or suppressing
2821 output of parts of the text.
2822 This implementation contains a 'branch list editor' in a separate
2823 tab of the document settings dialog. Branches are user definable
2824 and have a "display colour" to distinguish them on-screen.
2826 ColorHandler was somewhat cleaned up.
2827 (1) make possible a dynamically growing LColor list by allowing
2828 the graphic context cache to grow along (vector);
2829 (2) eliminate an IMHO unnecessary step in colour allocation.
2831 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2833 * BufferView_pimpl.C: compile fix
2835 2003-08-15 André Pönitz <poenitz@gmx.net>
2837 * rowpainter.C: remove extra metrics calls
2839 * lyxtext.h: merge the two constructors into a single one,
2840 pass reference to owner's par list
2842 * BufferView_pimpl.C:
2846 2003-08-15 André Pönitz <poenitz@gmx.net>
2848 * lyxrow_funcs.[Ch]:
2851 * paragraph_funcs.C:
2856 * text_funcs.C: split LyXText::rowlist_ into individual
2857 Paragraph::rows_ chunks
2860 * BufferView_pimpl.[Ch]:
2863 * text3.C: remove toggleSelection()
2865 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2867 * bufferlist.C: beautify two alerts (shorter text of buttons)
2868 * buffer.C: Remove redundant ' ' from message
2870 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2871 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2872 rename VALIGN_CENTER to VALIGN_MIDDLE
2874 2003-08-11 André Pönitz <poenitz@gmx.net>
2876 * lyxtext.h (getPar):
2877 * text.C: new function
2879 2003-08-11 André Pönitz <poenitz@gmx.net>
2882 * tracer.[Ch]: remove unneeded files
2884 * InsetList.[Ch]: remove resizeInsetsLyXText()
2889 * text3.C: merge insertParagraphs() and appendParagraph()
2890 remove breakAgain(), update()
2892 * BufferView_pimpl.[Ch]:
2893 * bufferview_funcs.[Ch]:
2897 * tabular.C: adjust after text & InsetList changes.
2899 2003-08-08 André Pönitz <poenitz@gmx.net>
2901 * text.C (insertChar, backspace): replace rowlist fiddling
2902 with rebreak of full par
2905 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2906 checkParagraph, updateInset): removed
2908 2003-08-07 André Pönitz <poenitz@gmx.net>
2911 * text3.C: merge some LFUN handlers, remove dead code
2913 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2915 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2917 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2919 * text2.C (DEPM): fix part of bug 1255 and 1256
2921 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2923 * BufferView_pimpl.C (workAreaDispatch): change to use
2924 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2925 that are no mouse related.
2927 2003-08-05 André Pönitz <poenitz@gmx.net>
2930 * BufferView_pimpl.[Ch]:
2931 * bufferview_funcs.C:
2933 * text3.C: rip out "deep update"
2935 * textcursor.[Ch] (last_sel_cursor): remove unused member
2937 2003-08-04 André Pönitz <poenitz@gmx.net>
2940 * BufferView_pimpl.[Ch]:
2941 * ParagraphParameters.C:
2942 * bufferview_funcs.C:
2948 * text3.C: replace "complicated" BufferView::update(...) calls with
2951 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2953 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2955 * Makefile.am (lyx_SOURCES): add paper.h
2957 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2959 * Makefile.am: move things around so that both lyx-qt and
2960 lyx-xforms can be built (according to --with-frontend). Then lyx
2961 is a symbolic link to lyx-[firstfrontend]
2963 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2965 * Always use std::endl with lyxerr
2967 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2969 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2971 2003-08-01 André Pönitz <poenitz@gmx.net>
2974 * BufferView_pimpl.[Ch]:
2976 * text3.C: merge BufferView::repaint() and BufferView::update()
2978 2003-08-01 José Matos <jamatos@lyx.org>
2980 * buffer.[Ch]: file_format is no longer a buffer data element.
2982 2003-08-01 André Pönitz <poenitz@gmx.net>
2987 * text2.C: make redoParagraph more independent of current cursor
2989 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2991 * text2.C: remove unneeded members
2993 2003-07-30 André Pönitz <poenitz@gmx.net>
2995 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2997 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2998 create a single function...
3000 * paragraph_funcs.C (moveItem): ... here.
3003 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3005 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3007 * LColor.[Ch]: Add comment and greyedout logical colors.
3009 2003-07-30 André Pönitz <poenitz@gmx.net>
3011 * tabular.C: don't use Assert too heavily. This crashes where it
3014 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3016 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3017 is disabled (bug 1232)
3019 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3021 * factory.C: limited 'arg' scope
3023 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3025 * factory.C: fixed Note submenu issues
3027 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3029 * factory.C: submenu for Note/Comment/Greyedout
3031 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3034 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3036 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3039 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3040 greyedout. Patch provided by Jürgen Spitzmüller.
3042 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3044 * kbmap.C (read): fix error message when reading bind files
3046 2003-07-29 Angus Leeming <leeming@lyx.org>
3048 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3049 certainly does not do what it purports to do. I am doing it, and
3050 us, a favour by killing it.
3052 2003-07-28 José Matos <jamatos@lyx.org>
3054 * buffer.C (readBody, do_writeFile):
3055 * paragraph.C(readParagraph): \end_document replaces \the_end.
3057 2003-07-29 André Pönitz <poenitz@gmx.net>
3060 * BufferView_pimpl.[Ch]:
3064 * textcursor.[Ch]: remove toggleToggle & Co
3066 2003-07-28 José Matos <jamatos@fep.up.pt>
3068 * buffer.C (readParagraph):
3069 * params_func (readParToken, readParagraph):
3070 * paragraph.C (write): \layout -> \begin_layout.
3072 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * lyxlex_pimpl.C (setFile): clean up slightly.
3076 * bufferparams.h: add compressed var
3078 * buffer_funcs.C (readFile): adjust for LyXLex change
3079 (newFile): ditto + simplify
3081 * buffer.C (writeFile): handle writing of compressed files
3083 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3084 Check if the file is compressed and set a bufferparm if so.
3086 * Makefile.am (lyx_LDADD): remove explicit -lz
3088 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3090 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3091 makeDocBookFile): put the real LyX version in the first line of
3095 * version.C.in: remove lyx_docversion
3097 * tabular.C (write_attribute): add a template-based version to
3098 write enums properly
3100 2003-07-28 André Pönitz <poenitz@gmx.net>
3105 * text3.C: use doubles again for x-coordinates. They are needed.
3107 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * messages.C (getLocaleDir): use lyx_localedir()
3111 * lyxlex_pimpl.C (setFile): compress stuff
3113 * buffer.C (writeFile): add some compression stuff
3114 (do_writeFile): new func, dont call expliti close... will this
3117 * Makefile.am (lyx_LDADD): add -lz
3119 2003-07-28 José Matos <jamatos@fep.up.pt>
3121 * buffer.C: increment file format.
3122 * paragraph_funcs (readParagraph, readParToken):
3123 * paragraph.C (readParagraph): add \end_layout.
3125 2003-07-27 Angus Leeming <leeming@lyx.org>
3127 * Makefile.am: remove special casing for configure-time setting of
3128 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3130 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3131 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3133 2003-07-26 André Pönitz <poenitz@gmx.net>
3135 * paragraph_func.[Ch]:
3136 * paragraph.C (realizeFont): inline it whereever it is used
3141 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3144 2003-07-26 André Pönitz <poenitz@gmx.net>
3148 * text2.C: get rid of LyXText::need_break_row
3150 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * toc.[Ch]: put namespace toc inside namespace lyx
3154 * MenuBackend.C (expandToc2): adjust for lyx::toc
3157 * lyxfunc.C (dispatch): adjust for lyx::find
3159 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3160 lyx::find instead. Reorganize a bit.
3161 (LyXReplace): rename to replace
3162 (LyXFind): rename to find
3164 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3167 2003-07-26 André Pönitz <poenitz@gmx.net>
3169 * text.C (setHeightOfRow): restrict scope of temporary variable
3171 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3172 code (never has been used?)
3174 2003-07-27 Asger Alstrup <alstrup@local>
3176 * text.C (fill): Optimise algorithm to exploit that we can reuse
3177 the LyXFont for many characters.
3178 (setHeightOfRow): Same thing.
3179 (rowBreakPoint): Same thing.
3181 2003-07-26 Asger Alstrup <alstrup@local>
3183 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3185 * text.C (singleWidth): Spurious font copying in hot-spot
3186 singleWidth avoided. Reorder tests for arabic for efficiency.
3188 * text.C (fill): handle empty paragraphs better.
3190 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3193 * encoding.h: add includes
3195 * lyxrc.C: remove reading of bind files
3197 * lyx_main.C (init): setup bindings and menus only if we have a
3200 * kbmap.C (read): new method. Do the actual reading of bind
3203 * converter.C (dvipdfm_options):
3206 (output): adapt PAPER_* enums.
3208 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3210 * bufferparams.h: remove paper-related enums from there
3212 * paper.h: New file. A trivial header file to hold paper-related
3213 enums. It should later expand to contain many paper-related
3216 * lyxrc.C: declare extern displayTranslator
3218 2003-07-27 José Matos <jamatos@fep.up.pt>
3220 * tabular.[Ch] (linuxdoc): add support for tables and figures
3223 2003-07-27 José Matos <jamatos@fep.up.pt>
3225 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3226 consistency in both functions.
3227 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3229 2003-07-26 Asger Alstrup <alstrup@local>
3231 * rowpainter.C (paintRows): Change algorithm to work directly on
3232 the insets rather than asking every character in the document
3233 whether its an inset.
3235 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3237 * buffer.C (openFileWrite): factorize some code
3239 2003-07-26 Angus Leeming <leeming@lyx.org>
3242 * lyx_main.[Ch]: replace occurances of system_tempdir with
3245 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * rename Inset to InsetOld
3249 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3251 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3252 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3253 which I think is a bit clearer. EDIT is gone, since it was
3254 premature optimisation, and broken for mathed anyway.
3255 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3256 with cursor positioning in insets as well (math insets still do not
3257 work, but that's a different story anyway.) It mysteriously
3258 crashes sometimes with undo in the first paragraph, but I'm fairly
3259 confident that this is a compiler bug.
3261 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * paragraph.C (Paragraph): adjust for new clone return type
3265 (copyIntoMinibuffer): ditto
3267 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3269 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3270 by not having a special case, and always doing a full rebreak of
3271 the document after undo.
3273 2003-07-23 Angus Leeming <leeming@lyx.org>
3275 * factory.C (createInset): InsetExternal::setParams now takes a
3278 2003-07-23 Angus Leeming <leeming@lyx.org>
3280 * factory.C (createInset): changed interface to the external and
3281 graphics mailers' string2params functions.
3283 2003-07-23 Angus Leeming <leeming@lyx.org>
3285 * factory.C (createInset): pass a
3286 Buffer const * parameter to InsetExternalMailer's string2params.
3288 2003-07-22 John Levon <levon@movementarian.org>
3290 * Thesaurus.h: include the right aiksaurus header
3292 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3294 * MenuBackend.C (expand): check menu shortcuts unconditionally
3296 2003-07-21 Angus Leeming <leeming@lyx.org>
3298 * factory.C (createInset): pass a
3299 buffer_path parameter to InsetGraphicsMailer's string2params.
3301 2003-07-21 Angus Leeming <leeming@lyx.org>
3303 * BufferView_pimpl.C (buffer):
3306 * lyxfunc.C (dispatch):
3307 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3308 rather than the grfx shortcut.
3310 2003-07-21 André Pönitz <poenitz@gmx.net>
3312 * rowpainter.C: remove unused variables
3315 * tabular_funcs.h: move to tabular.C
3316 * Makefile.am: adjust
3318 * tabular.[Ch]: basic optical cleaning
3320 * author.h: pass references, not values
3322 2003-07-18 André Pönitz <poenitz@gmx.net>
3330 * text3.C: two-phase drawing for InsetText and InsetTabular
3331 some float -> int changes.
3333 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3335 * lyx_main.C: fix the fix
3337 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3339 * lyx_main.C: fix a crash in batch mode if no files specified
3342 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3344 * format.[Ch] (papersize): moved to BufferParams
3345 * converter.[Ch] (dvips_options): moved to BufferParams
3346 (dvipdfm_options): moved to anon namespace
3347 * bufferparams.[Ch]: added above functions.
3349 2003-07-17 André Pönitz <poenitz@gmx.net>
3353 * text2.C: don't call inset->update() anymore
3355 * metricsinfo.[Ch]: add convenience constructor
3357 2003-07-16 André Pönitz <poenitz@gmx.net>
3362 * text2.C: replace the LyXCursor::irow_ member with
3363 on-demand computation of the value
3365 2003-07-16 John Levon <levon@movementarian.org>
3367 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3369 2003-07-15 André Pönitz <poenitz@gmx.net>
3372 * text2.C: remove no more needed refresh_row
3374 2003-07-15 André Pönitz <poenitz@gmx.net>
3379 * text3.C: refresh_status tristate -> need_update bool
3381 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3383 * lyxtext.h (init): remove reinit argument (act as if always true)
3384 * text2.C: adjust to that
3386 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3388 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3389 * text3.C: use it to delete selections in some cases
3390 (bugs 441, 673, 702, 954).
3392 2003-07-14 André Pönitz <poenitz@gmx.net>
3394 * rowpainter.[Ch]: reduce interface
3396 2003-07-14 André Pönitz <poenitz@gmx.net>
3398 * BufferView_pimpl.C:
3399 * text2.C: adjust after removing unused BufferView * argument
3401 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3403 * text2.C (init): fix a crash fired on resize
3405 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3407 * buffer.[Ch]: added new closing signal
3408 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3409 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3410 BufferView::Pimpl via the closing the signal
3412 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3414 * buffer.[Ch]: take out all bv-related from buffer
3416 * BufferView_pimpl.[Ch]: connect to new signals
3417 * CutAndPaste.C: removed useless asserts
3418 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3421 * lyxfunc.C: moved view-related funciontality from vc here
3422 * paragraph.C: removed outdated comments
3425 2003-07-10 André Pönitz <poenitz@gmx.net>
3427 * BufferView_pimpl.C:
3431 * text2.C: remove InsetText::InnerCache, clean up consequences
3433 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3435 * ispell.C: fix two typos in error messages
3437 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3439 * Extend Note inset to other forms of annotation like Comment
3440 and Greyedout. Right button click gives dialog.
3442 Files modified or added (+):
3446 * ControlNote.[Ch] +
3448 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3449 frontends/controllers
3453 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3455 * aspell.C: add missing namespace lyx::support
3457 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3459 * BufferView.[Ch] (newFile): Add
3460 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3461 * LaTeX.[Ch] (message): added this signal and use it
3462 * buffer.[Ch] (busy, message): added these signals and use them
3463 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3467 * importer.C: use buffer signals instead of direct bv calling
3468 * lyx_cb.[Ch] (ShowMessage): removed
3471 * paragraph_funcs.C:
3472 * text2.C: use buffer signals
3474 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * introduce namespace lyx::graphics
3478 2003-07-02 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3482 2003-07-01 André Pönitz <poenitz@gmx.net>
3489 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3490 text*.C to text_func.C
3492 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * introduce namespace lyx::support
3496 2003-06-30 André Pönitz <poenitz@gmx.net>
3501 * text.C: re-enable --with-included-string
3503 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3505 * textcursor.C: add <config.h>
3507 * text.C (getWord): remove const from word_location arg
3509 * lyxvc.C (getLogFile): fix const type order
3511 * lyxtext.h: remove const from word_location arg, add arg name
3513 * lyxlayout.h: currect type on labeltype.
3515 * importer.C: correct \file
3517 * converter.C (intToFormat): use std:: on ret val, ws changes
3519 * bufferlist.h: correct \file
3521 * buffer.C (makeLinuxDocFile): fix const type order
3522 (makeDocBookFile): ditto
3523 (fillWithBibKeys): use std:: on stdlib args.
3525 * CutAndPaste.C: fix authors.
3526 (availableSelections): use std:: on return vector
3528 2003-06-27 André Pönitz <poenitz@gmx.net>
3530 * BufferView_pimpl.C:
3531 * bufferview_funcs.C:
3539 * text3.C: remove LyXCursor::row_ member
3542 * text.C: rename fullRebreak() to partialRebreak() and implement
3543 a fullRebreak() that really bereks fully
3545 * textcursor.h: new struct for cursor-related data
3547 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3549 * lyx_main.C (LyX): get full path of document loaded on the
3552 2003-06-26 André Pönitz <poenitz@gmx.net>
3554 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3555 remove unused/broken operator>,<,>=.
3557 * text.C: remove only use of broken operator<= in an Assert().
3559 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3561 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3562 moved errorlist_.clear to showErrorList
3564 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3566 * converter.C (scanLog, runLaTeX):
3567 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3568 move the bv->showErrorList call to the callers
3569 * lyxfunc.C: i.e. here...
3571 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3572 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3573 namespace, the second to...
3574 * buffer_funcs (BufferFormat, parseErrors): added
3575 * errorlist.C (ErrorList(TeXErrors const &)): removed
3577 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3579 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3581 2003-06-24 "Garst R. Reese" <reese@isn.net>
3585 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3587 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3589 * version.C.in: change docversion to 1.4
3591 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3593 * buffer.C: fix a bug just introduced
3595 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3597 * buffer.[Ch]: added the parseError signal and use it, removed
3599 * BufferView.[Ch] (addError): moved to ...
3600 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3601 to the Buffer::parseError signal to catch (guess what) parse errors
3602 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3604 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3606 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3607 ability to create a buffer and to return an existing one from
3608 the list. Moved these functions to...
3609 * buffer_funcs.[Ch]: added
3610 * BufferView.[Ch] (loadLyXFile): added
3611 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3612 job removed from bufferlist::loadLyXFile.
3613 * buffer.C (setReadOnly): make it work without view
3614 (i.e added an if (users))
3616 2003-06-19 Angus Leeming <leeming@lyx.org>
3619 * LyXAction.C (init):
3620 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3621 with LFUN_DIALOG_SHOW <name> <data>.
3623 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3625 * CutAndPaste.C (availableSelections): small compilation fix for
3626 ancient (gcc 2.9x) compilers
3628 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * text3.C (cursorNext): add tmp var
3632 * text2.C (updateCounters): for function calling out of for clause
3633 (replaceSelectionWithString): ditto
3634 (insertStringAsParagraphs): ditto
3635 (getColumnNearX): add tmp var
3636 (setCursorFromCoordinates): add tmp var
3637 (cursorDownParagraph): add tmp var
3638 (deleteEmptyParagraphMechanism): add tmp var
3640 * text.C (insertChar): add tmp var
3642 * rowpainter.C (paintDepthBar): add tmp var
3644 * CutAndPaste.C (availableSelections): potentially check all
3645 paragraphs in a cut to fill the shown strings.
3647 2003-06-18 André Pönitz <poenitz@gmx.net>
3649 * kbmap.[Ch]: use vector<> instead of list<>
3651 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3653 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3654 pasteSelection with index
3656 * text2.C (pasteSelection): modify, call pasteSelection with index
3658 * paragraph.C (asString): reimplement version with no interval to
3659 call the one with interval.
3661 * lyxtext.h: add index arg to pasteSelection
3663 * MenuBackend.C (MenuItem): handle PasteRecent
3664 (Menu::read::Menutags): add md_pasterecent
3666 (expandPasteRecent): new function
3669 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3671 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3673 (availableSelections): new function
3675 2003-06-17 Angus Leeming <leeming@lyx.org>
3677 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3679 2003-06-17 Angus Leeming <leeming@lyx.org>
3682 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3684 * lyxfunc.C (dispatch): invoke it.
3686 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3688 * iterators.C (operator++, ParPosition): reintroduce some
3689 const_cast for the benefit of older compilers.
3691 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3693 * text3.C (dispatch): do not modify clipboard when doing
3694 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3695 LFUN_DELETE_SKIP on a selection selection
3697 2003-06-16 André Pönitz <poenitz@gmx.net>
3703 * tabular.[Ch]: IU of clone() and getLabelList();
3705 2003-06-13 André Pönitz <poenitz@gmx.net>
3707 * tabular.h: compactification
3709 2003-06-12 André Pönitz <poenitz@gmx.net>
3713 * tabular_funcs.h: some renaming plus whitespace
3715 2003-06-12 André Pönitz <poenitz@gmx.net>
3718 * BufferView_pimpl.C:
3724 * toc.C: Return a Paragraph & for ParIterator::operator*()
3726 2003-06-11 John Levon <levon@movementarian.org>
3730 * ToolbarBackend.C: add "Toolbars" section and
3733 2003-06-10 Angus Leeming <leeming@lyx.org>
3736 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3738 * lyxfunc.C (dispatch): invoke it.
3740 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * main.C: protect <ios> with HAVE_IOS
3743 (main): protect sync_with_stdio with HAVE_IOS
3745 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3747 * text2.C (cutSelection): adjust
3748 (pasteSelection): adjust
3750 * messages.C: handle get of empty string
3752 * main.C (main): use sync_with_stdio(false)
3754 * lyxfunc.C (dispatch): adjust
3756 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3757 (WriteAs): remove unneeded BufferView arg.
3759 * bufferparams.h: use correct types on papersize, papersize2 and
3762 * bufferparams.C (readToken): adjust for type
3763 (writeLaTeX): add missing cases to switch.
3765 * bufferlist.C (quitWriteBuffer): adjust
3768 * buffer.C (asciiParagraph): remove some commented code.
3770 * CutAndPaste.C: remove current_view extern variable.
3771 (cutSelection): add BufferParams arg.
3772 (eraseSelection): add BufferParams arg.
3773 (pasteSelection): add Buffer const & arg
3775 2003-06-07 John Levon <levon@movementarian.org>
3778 * paragraph_funcs.C:
3779 * paragraph_pimpl.C:
3783 * paragraph.C: allow InsetERT to freely space lines,
3784 and some consolidation of code
3786 2003-06-06 José Matos <jamatos@fep.up.pt>
3788 * buffer.C (makeDocBookFile): fix bug #821
3790 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3792 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3794 2003-06-04 Angus Leeming <leeming@lyx.org>
3796 * buffer.C: bump format to 224.
3798 2003-06-05 André Pönitz <poenitz@gmx.net>
3800 * text2.C (redoParagraphs): remove two const_cast<>
3802 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3804 * ParagraphList.h: remove last remnants of NO_STD_LIST
3806 2003-06-03 Angus Leeming <leeming@lyx.org>
3808 * factory.C (createInset): small change to the way InsetExternal's params
3811 2003-06-04 André Pönitz <poenitz@gmx.net>
3813 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3815 * paragraph_pimpl.h:
3816 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3818 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3820 * undo_funcs.C: make some simple cases of undo work again
3822 2003-06-03 John Levon <levon@movementarian.org>
3824 * ispell.C: HPUX doesn't have sys/select.h
3827 2003-06-03 John Levon <levon@movementarian.org>
3829 * CutAndPaste.C: update tabular and include inset
3834 * paragraph.C: remove owningBuffer(), don't pass Buffer
3837 * factory.C: insetGraphicsParams changed
3839 2003-06-02 John Levon <levon@movementarian.org>
3845 * text3.C: remove insetparent
3847 2003-06-02 John Levon <levon@movementarian.org>
3850 * buffer.C: fix inset_iterator.end(), move out of line
3853 2003-06-01 John Levon <levon@movementarian.org>
3855 * text3.C: use a proper cut/paste when doing inset
3856 insert (from Jürgen Spitzmüller)
3858 2003-06-01 John Levon <levon@movementarian.org>
3860 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3862 2003-05-30 André Pönitz <poenitz@gmx.net>
3864 * rowpainter.C: unify second drawing phase
3866 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * trans_mgr.C: remove one case of current_view
3870 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3872 * paragraph_funcs.h: remove paragraph.h include
3874 * paragraph.h: delete NO_STD_LIST stuff
3876 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3878 * buffer.h: remove paragraph.h include
3880 * ParagraphList.C: delete file
3882 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3884 * toc.C (getTocList): adjust
3886 * paragraph_pimpl.C (validate): adjust
3888 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3890 * paragraph.C (Paragraph): adjust
3891 (getPositionOfInset): use const_iterator, adjust
3892 (bibitem): use const_iterator, adjust
3893 (setInsetOwner): adjust
3895 * iterators.C (operator++): adjust
3897 * InsetList.[Ch]: Replace selfmade iterator with standard
3898 vector::iterator also introduce const_iterator. Remove getPos,
3899 getInset and setInset from InsetTable. Adjust accordingly.
3901 * BufferView.C (lockInset): adjust
3902 (ChangeInsets): adjust
3904 * tabular.[Ch]: delete commented same_id functions
3906 2003-05-28 John Levon <levon@movementarian.org>
3908 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3910 2003-05-28 André Pönitz <poenitz@gmx.net>
3912 * metricsinfo.[Ch]: remove 'fullredraw' member
3914 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3916 * lyxtextclass.C (operator): remove caching.
3918 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * text2.C (cursorBottom): adjust
3923 (setCounter): use ParagraphList::find, adjust
3925 * text.C (workWidth): use ParagraphList::find, adjust
3927 * lyxcursor.C (LyXCursor): adjust
3929 * buffer.C (inset_iterator): adjust
3931 * ParagraphList.h: make iterator(value_type) private, make
3932 ParagraphList a friend of iterator.
3934 * ParagraphList.C (find): new function
3936 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3938 2003-05-27 André Pönitz <poenitz@gmx.net>
3940 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3942 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3944 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3946 2003-05-26 John Levon <levon@movementarian.org>
3948 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3950 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * remove same_id from function signatures, adjust.
3954 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3958 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3960 * paragraph.C (Paragraph): get rid of same_ids parameter
3962 * ParagraphList.C (insert): adjust
3965 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * paragraph_funcs.C (breakParagraph): adjust
3968 (breakParagraphConservative): adjust
3970 * buffer.C (readParagraph): adjust
3972 * ParagraphList.C (insert): take a reference instead of a pointer
3975 * paragraph.[Ch] (id): new function
3977 * bufferlist.C (newFile): adjust
3979 * ParagraphList.C (ParagraphList): adjust
3981 (push_back): take a reference instead of a pointer.
3983 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3985 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3988 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3989 set else use old code.
3991 * ParagraphList.C: remove all NO_NEXT code and only compile this
3992 code of NO_STD_LIST is set.
3994 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3996 * BufferView_pimpl.C:
4006 * graphics/GraphicsConverter.C:
4007 * graphics/PreviewLoader.C: header adjustment
4009 2003-05-23 Angus Leeming <leeming@lyx.org>
4011 * LaTeXFeatures.[Ch] (useBabel): new method.
4012 * bufferparams.C (writeLaTeX): use it.
4014 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * ParagraphList.h (set): remove unused function.
4018 2003-05-23 André Pönitz <poenitz@gmx.net>
4021 * BufferView_pimpl.C:
4025 * undo_funcs.C: setUndo reworked
4027 * iterators.[Ch]: add access to topmost ParagraphList
4029 * lyxtext.[Ch] (workWidth): add a const
4031 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4033 * texrow.[Ch] (increasePos): remove function
4034 * exporter.C (export): removed unused var and outdated comment
4036 2003-05-23 Angus Leeming <leeming@lyx.org>
4038 * latexrunparams.h: rename fragile as moving_arg.
4039 * paragraph.C (simpleTeXOnePar): ditto.
4040 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4042 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4046 (textUndoOrRedo): comment out a currently unused var.
4048 * paragraph.h (NO_NEXT): enable NO_NEXT
4050 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4052 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4054 * exporter.C (Export): adjust for removeAutoInsets removal.
4056 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4058 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4060 * BufferView.[Ch] (removeAutoInsets): delete function
4062 2003-05-22 Angus Leeming <leeming@lyx.org>
4064 * latexrunparams.h: add a free_spacing variable.
4066 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4067 to pass moving_arg, as the data is stored in runparams.fragile.
4069 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4070 to Inset::latexOptional or to simpleTeXOnePar.
4072 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4073 free_spacing arg to Inset::latexOptional.
4075 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4078 2003-05-22 Angus Leeming <leeming@lyx.org>
4080 * latexrunparams.h: add fragile and use_babel variables.
4082 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4083 * buffer.C (makeLaTeXFile): store this returned value in
4084 runparams.use_babel, thus passing it to the inset::latex methods.
4086 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4087 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4089 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4090 longer has a fragile arg, as it is stored in runparams.fragile.
4092 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4093 moving_arg parameter as the data is stored in runparams.fragile.
4095 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4096 a fragile parameter as the data is stored in runparams.fragile.
4098 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4102 2003-05-22 Angus Leeming <leeming@lyx.org>
4104 * latexrunparams.h: add a 'bool nice' which defaults to false.
4106 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4107 now encapsulated within runparams.
4109 * bufferlist.C (updateIncludedTeXfiles):
4110 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4112 2003-05-22 Angus Leeming <leeming@lyx.org>
4114 * latexrunparams.h: new file containing struct LatexRunParams.
4115 * Makefile.am: add new file.
4117 * LaTeX.[Ch] (c-tor, run):
4118 * buffer.[Ch] (makeLaTeXFile):
4119 * bufferlist.[Ch] (updateIncludedTeXfiles):
4120 * converter.C (convert, scanLog):
4121 * converter.[Ch] (runLaTeX):
4122 * exporter.C (Export):
4123 * paragraph.[Ch] (simpleTeXOnePar):
4124 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4125 * paragraph_funcs.[Ch] (latexParagraphs):
4126 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4127 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4128 pass around a LatexRunParams parameter.
4130 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * paragraph.[Ch]: remove unused constructor
4134 * ParagraphList.C (erase): new function, taking two iterators
4136 2003-05-22 André Pönitz <poenitz@gmx.net>
4138 * undo_funcs.C: remove duplicated code
4140 * iterator.[Ch]: operator=
4142 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * tabular.C (SetMultiColumn): ws changes
4146 * rowpainter.C (paintFirst): get rid of a ->previous
4148 * lyx_cb.C (getPossibleLabel): parlist simplification
4150 * BufferView.C (ChangeInsets): simplify slightly.
4152 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4154 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4155 * lfuns.h: new LFUN_SPACE
4156 * lyxfunc.C: protected space has a new lfun
4157 * paragraph_funcs.C: read new space insets
4159 * factory.C: handle new space insets
4161 2003-05-22 André Pönitz <poenitz@gmx.net>
4164 * BufferView_pimpl.C:
4167 * undo_funcs.C: return a ParIterator from getParFromID.
4169 * iterators.[Ch]: add two const's
4171 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * toc.C (getTocList): adjust
4175 * iterators.[Ch]: rework for parlist
4177 * buffer.C (par_iterator_begin): adjust
4178 (par_iterator_end): adjust
4180 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4182 * BufferView.C (removeAutoInsets): adjust
4183 (ChangeInsets): adjust
4185 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4187 * text.C (top_y): fix bug 1110
4189 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4191 * errorlist.[Ch]: added
4194 * BufferView_pimpl.C:
4195 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4198 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * Makefile.am: ensure that lyx is relinked upon changes to the
4201 various "convenience" libs.
4203 2003-05-20 Angus Leeming <leeming@lyx.org>
4205 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4206 files are compiled in alphabetical order again.
4208 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4210 2003-05-19 Angus Leeming <leeming@lyx.org>
4212 * gettext.[Ch]: remove "char const * _(char const *)".
4214 2003-05-19 André Pönitz <poenitz@gmx.net>
4216 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4225 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4227 2003-05-19 André Pönitz <poenitz@gmx.net>
4231 * lyxtextclass.[Ch]:
4233 * paragraph_funcs.[Ch]:
4235 * text3.C: more insetenv work
4237 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4239 * ParagraphParameters.C (params2string): small bug fixed
4241 2003-05-16 André Pönitz <poenitz@gmx.net>
4244 * bufferview_funcs.C: patch from Kornel Benko to prevent
4245 crash when _(...) is called twice in a statement
4247 2003-05-16 André Pönitz <poenitz@gmx.net>
4254 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4256 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4258 * lyx_main.C (init): remove spurious static_cast
4260 2003-05-14 André Pönitz <poenitz@gmx.net>
4262 * BufferView.C: fix format string
4264 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4266 * BufferView.[Ch] (insertErrors): removed
4267 * BufferView.[Ch] (showErrorList): added
4268 * buffer.C (runChkTeX):
4269 * converter.C (scanLog): call showErrorList instead of inserterrors
4271 2003-05-13 André Pönitz <poenitz@gmx.net>
4273 * BufferView_pimpl.C:
4275 * bufferview_func.C:
4282 * tabular_funcs.h: tostr() from its own header
4284 * ParagraphParameters.C:
4289 * text3.C: STRCONV()
4291 2003-05-12 André Pönitz <poenitz@gmx.net>
4294 * BufferView_pimpl.C:
4298 * ParagraphParameters.C:
4302 * bufferview_funcs.C:
4315 * paragraph_funcs.C:
4319 * text3.C: boost::format -> bformat all over the place
4322 2003-05-09 André Pönitz <poenitz@gmx.net>
4324 * LColor.[Ch]: Pimpl the #include <map> away
4326 2003-05-09 John Levon <levon@movementarian.org>
4328 * bufferlist.C: never remove emergency saves
4330 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * Makefile.am: better lib building
4334 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4338 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4339 (simpleTeXSpecialChars): adjust
4340 (simpleTeXSpecialChars): adjust
4341 * paragraph.C (simpleTeXOnePar): adjust
4342 * buffer.C (makeLaTeXFile): adjust
4344 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4346 * text2.C (changeDepth): parlist cleanup
4347 (getColumnNearX): ditto
4349 * rowpainter.C (getLabelFont): parlist cleanup
4351 * bufferlist.C (newFile): parlist cleanup
4353 * CutAndPaste.C (eraseSelection): parlist cleanup
4355 * BufferView_pimpl.C (trackChanges): parlist cleanup
4358 * BufferView.C (lockInset): parlist cleanup.
4359 (ChangeInsets): ditto
4361 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * CutAndPaste.h: Update file header.
4365 * CutAndPaste.C: Update file header.
4366 Store the parts cut out of the Document in a limited_stack.
4367 (copySelection): adjust
4368 (pasteSelection): new function, takes the index in the limited stack.
4369 (nrOfParagraphs): adjust
4370 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4371 simplify error inset insertion.
4372 (checkPastePossible): adjust
4374 2003-05-06 John Levon <levon@movementarian.org>
4376 * text2.C: don't cast wrap inset to float
4378 2003-05-05 André Pönitz <poenitz@gmx.net>
4381 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4383 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4384 few naked Paragraph *.
4386 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4388 * bufferparams.C: Output warning if a document with missing
4389 TeX document class is loaded
4390 * exporter.C: Disable TeX exports if the document class is missing
4393 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4394 isTeXClassAvailable()
4396 2003-05-03 John Levon <levon@movementarian.org>
4399 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4400 explicit cursor show/hide
4402 * BufferView_pimpl.h:
4403 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4404 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4406 * lyxfunc.C: hide cursor before dispatching.
4411 * text3.C: remove explicit cursor hides
4413 2003-05-02 André Pönitz <poenitz@gmx.net>
4415 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4418 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4421 * text2.C: tiny whitespace
4423 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * undo_funcs.C: almost only ws changes.
4427 * ParagraphList.C (splice): just return if pl is empty.
4429 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * ParagraphList.C (splice): new function.
4433 * CutAndPaste.C (pasteSelection): use it
4435 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * CutAndPaste.C (pasteSelection): remove the last next and
4438 previous from this file.
4440 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4442 * CutAndPaste.C (pasteSelection): more clean up, user proper
4443 ParagraphList functions for pasteing.
4445 * ParagraphList.C (insert): new function, three arg insert
4447 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * ParagraphList.C (insert): new function, three arg insert
4451 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4454 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4458 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4462 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4465 (copySelection): clean up a bit.
4466 (pasteSelection): use make_pair
4468 * ParagraphList.C (ParagraphList): implement copy constructor
4469 (operator=): implement, base on copy constructor.
4472 * paragraph.C (erase): return a bool
4474 * paragraph_pimpl.C (erasePos): remove function, move contents...
4475 (erase): ... here. Return a bool.
4476 (erase): call erase instead of erasePos.
4478 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4480 * ParagraphList.h: define PitPosPair
4481 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4482 ParagraphList, fix a bug on pasting multiple pars
4483 * text2.C: change interface to C&P
4485 2003-04-30 André Pönitz <poenitz@gmx.net>
4487 * undo_func.C: revert part of yesterday's patch 2
4489 2003-04-30 John Levon <levon@movementarian.org>
4491 * LColor.C: s/tabular/table/
4493 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * text3.C (dispatch): do not convert iterator -> pointer
4496 * undo_funcs.C (setCursorParUndo): ditto
4497 * text_funcs.C (transposeChars): ditto
4499 * text2.C (setLayout): ws changes only
4501 * text.C (breakParagraph): do not convert iterator -> pointer
4503 (acceptChange): ditto
4504 (rejectChange): ditto
4509 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4512 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4514 * text3.C (gotoInset): YABG (yet another bad getChar)
4516 2003-04-29 André Pönitz <poenitz@gmx.net>
4518 * paragraph.h: make operator= private unimplemented as long as
4521 * ParagraphList.C: whitespace
4524 * paragraph_pimpl.[Ch]:
4525 * paragraph_funcs.C:
4527 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4530 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4532 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4534 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4535 * paragraph.[Ch] (erase):
4536 * paragraph_pimpl.[Ch] (erase): change return type and value
4537 * text2.C (cutSelection): some rework
4539 2003-04-28 John Levon <levon@movementarian.org>
4541 * bufferlist.C: changes for unsaved changes dialog
4543 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * bufferlist.C (newFile): set language (messages_) for new
4548 * buffer.C (readFile): ws changes only.
4550 2003-04-28 André Pönitz <poenitz@gmx.net>
4555 * BufferView_pimpl.C:
4556 * BufferView.C: getParFromID related ParagraphList::iterator changes
4558 2003-04-28 André Pönitz <poenitz@gmx.net>
4560 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4563 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * messages.C: remove one more localedir class variable.
4567 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4569 * messages.C (getLocaleDir): singleton generation function
4571 (Messages): add a default constructor.
4573 * main.C (main): do not setup localedir here, do not call
4576 * gettext.C (_): use it.
4577 (gettext_init): delete funciton
4579 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * gettext.C (getLyXMessages): new singleton generating function.
4583 * buffer.C (updateDocLang): adjust
4585 * Makefile.am (messages.o): add target
4586 (main.o): remove target
4588 2003-04-27 John Levon <levon@movementarian.org>
4593 * lyxvc.C: specify cancel button in Alert::prompt
4595 2003-04-26 John Levon <levon@movementarian.org>
4600 * LyXAction.C: add LFUN_INSET_SETTINGS
4602 * lyxfunc.C: don't enable tabular-feature when there's
4603 just any locking inset
4605 2003-04-26 John Levon <levon@movementarian.org>
4607 * bufferlist.C: re-add Cancel to buffer close question
4609 * lyxfunc.C: fix import UI a bit
4611 2003-04-25 John Levon <levon@movementarian.org>
4613 * gettext.C: remove the broken asserts for now
4615 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4617 * messages.C: make case where setlocale cannot comply work better.
4619 * buffer.C (updateDocLang): new function
4620 (changeLanguage): use it
4623 * text2.C (setCounter): use B_ a bit.
4625 * lyxlayout.C (Read): be sure to trim the label strings.
4627 * messages.C (Messages): fix typo in comment
4629 * buffer.C (readFile): set message_ after file is loaded.
4630 (makeDocBookFile): remove double return
4631 (changeLanguage): reset message_ upon language change.
4632 (B_): new func, use this to get translated buffer strings.
4634 * main.C: add myself and Jean Marc as authors.
4636 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * messages.[hC]: pimplify Messages, and three different pimpls to be
4639 used in different circumstances.
4641 * gettext.[Ch]: change for use with new message code.
4643 2003-04-24 André Pönitz <poenitz@gmx.net>
4645 * factory.C: support for eqref
4647 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * messages.[Ch]: add missing char
4651 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4653 * messages.[Ch]: New files
4655 2003-04-18 John Levon <levon@movementarian.org>
4659 * BufferView_pimpl.C:
4663 * text2.C: remove layout-copy/paste (bug 778)
4665 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4667 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4669 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4671 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4672 if they succeed. Act accordingly.
4674 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * text2.C (setCharFont): adjust
4677 (setCounter): adjust
4678 (insertStringAsLines): adjust
4680 * text.C (leftMargin): adjust
4681 (setHeightOfRow): adjust
4683 * rowpainter.C (paintFirst): adjust
4686 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4688 (isFirstInSequence): ditto
4689 (getEndLabel): ditto
4692 * paragraph.C (getParLanguage): comment out some hard stuff.
4694 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4696 (simpleDocBookOnePar): ditto
4697 (makeDocBookFile): use ParagraphList::iterator
4699 * CutAndPaste.C (pasteSelection): adjust
4701 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * text2.C (getFont): adjust
4704 (getLayoutFont): adjust
4705 (getLabelFont): adjust
4707 * paragraph_funcs.C (TeXOnePar): adjust
4709 * buffer.C (simpleLinuxDocOnePar): adjust
4710 (simpleDocBookOnePar): adjust
4712 * CutAndPaste.C (pasteSelection): adjust
4714 * BufferView.C (getEncoding): adjust
4716 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4718 2003-04-16 John Levon <levon@movementarian.org>
4720 * lyxfind.C: use parlist stuff for search/changes
4722 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4726 * text2.C (deleteEmptyParagraphMechanism): adjust
4728 * text2.[Ch] (ownerParagraph): delete func (both of them
4730 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4734 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * ParagraphList.C: prepare for NO_NEXT
4738 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * text2.C (getFont): adjust
4741 (getLayoutFont): adjust
4742 (getLabelFont): adjust
4744 * paragraph.C (getFont): adjust
4745 (getLabelFont): adjust
4746 (getLayoutFont): adjust
4748 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4750 2003-04-15 John Levon <levon@movementarian.org>
4754 * lyx_main.C: handle Include in .ui files
4756 2003-04-15 John Levon <levon@movementarian.org>
4758 * MenuBackend.C: make the doc files length shorter
4761 * ToolbarBackend.C: handle toolbar placement flags,
4764 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4769 * paragraph_funcs.C (TeXOnePar): adjust
4771 * paragraph.C (getLabelFont): add outerfont arg, adjust
4772 (getLayoutFont): ditto
4773 (simpleTeXOnePar): adjust
4775 * paragraph_pimpl.C (realizeFont): delete func
4777 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4779 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4780 row argument, constify cur argument.
4782 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4784 * text2.C (getFont): adjust
4785 (getLayoutFont): adjust
4786 (getLabelFont): adjust
4788 * paragraph_funcs.C (TeXOnePar): adjust
4789 (outerFont): new func...
4790 (realizeFont): ...moved out from here, changed this to facilitate
4793 * paragraph.C (getFont): take outerfont as arg, adjust
4794 (simpleTeXOnePar): add outerfont arg, adjust
4796 * buffer.C (simpleLinuxDocOnePar): adjust
4797 (simpleDocBookOnePar): adjust
4799 * CutAndPaste.C (pasteSelection): adjust
4801 * BufferView.C (getEncoding): adjust
4803 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * text2.C (setCharFont): adjust
4806 (setCounter): adjust
4808 * text.C (leftMargin): adjust
4809 (setHeightOfRow): adjust
4811 * rowpainter.C (paintFirst): adjust
4814 * paragraph_pimpl.C (realizeFont): adjust
4816 * paragraph.C (isFirstInSequence): move from here...
4817 * paragraph_funcs.C (isFirstInSequence): ...to here
4819 * paragraph.C (outerHook): move from here...
4820 * paragraph_funcs.C (outerHook): ...to here
4822 * paragraph.C (depthHook): move from here...
4823 * paragraph_funcs.C (depthHook): ...to here
4825 * paragraph.C (getEndLabel): move from here...
4826 * paragraph_funcs.C (getEndLabel): ...to here
4828 * text2.C (realizeFont): move from here...
4829 * paragraph_funcs.C (realizeFont): ...to here
4831 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4835 2003-04-14 Angus Leeming <leeming@lyx.org>
4837 * LColor.[Ch]: scrap LColor mathcursor.
4839 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * lyxlex.[Ch] (text): delete function
4842 * trans.C (Load): adjust
4843 * paragraph_funcs.C (readParToken): adjust
4845 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4848 vector<char> instead of a char[].
4850 * lyxlex_pimpl.C (getString): adjust
4852 (lex): use getString
4856 * lyxlex.C (text): use pimpl_->getString()
4860 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4863 (makeFontEntriesLayoutSpecific): temp var for par.size()
4864 (setLayout): temp var for ownerParagraphs().end()
4865 (fullRebreak): temp var for rows().end()
4866 (selectionAsString): temp var for boost::next(startpit), realize
4867 that the while really is a regular for loop.
4868 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4869 setCursor in one place.
4870 (setParagraph): temp vr for ownerParagraphs().end()
4871 (updateCounters): make the while loop a for loop
4872 (cutSelection): temp var for ownerParagraphs().end()
4873 (updateInset): make the do {} while() a regular for loop
4874 (getCursorX): use temp vars
4875 (setCurrentFont): use temp vars
4876 (getColumnNearX): use temp vars
4878 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * text.C (transformChar): use temp var for getChar
4881 (computeBidiTables): use temp var for row->par()
4882 (fill): move temp vars for row->par() and pit->layout() earlier in
4884 (labelFill): use temp var for row->par()
4885 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4886 asc and desc, realize that pit never changes and that firstpit is
4887 just a duplicate and not needed. Exchange rit->par() with pit in a
4889 (breakAgain): use a temp var for boost::next(rit)
4890 (breakAgainOneRow): ditto
4891 (breakParagraph): use a temp var for rows().begin()
4892 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4893 (cursorRightOneWord): use temp var for cursor.par() and
4894 cursor.pos(), remove usage of tmpcursor.
4895 (cursorLeftOneWord): use temp var for cursor.par() and
4896 cursor.pos() only set cur at end of function.
4898 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * text.C, text2.C: exchange all usage of Paragraph::next with
4901 boost::next(ParagraphList::iterator)
4903 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4905 * text2.C (cursorTop): simplify implementation
4906 (cursorBottom): ditto
4907 (setParagraph): use ParagraphList::iterator
4908 (setCurrentFont): adjust
4909 (getColumnNearX): adjust
4910 (cursorRight): adjust
4911 (cursorLeft): remove usage of Paragraph::previous
4912 (cursorUpParagraph): ditto
4913 (deleteEmptyParagraphMechanism): slight cleanup
4915 * text.C (isBoundary): take a Paragraph const & instead of a
4917 (addressBreakPoint): ditto
4918 (leftMargin): remove usage of Paragraph::previous.
4919 (setHeightOfRow): ditto
4920 (cursorLeftOneWord): ditto
4921 (selectNextWordToSpellcheck): ditto
4924 (breakParagraph): remove one usage of Paragraph::next
4925 (redoParagraph): ditto
4926 (acceptChange): ditto
4927 (insertChar): adjust
4928 (rowBreakPoint): adjust
4930 * bufferview_funcs.C (toggleAndShow): adjust
4932 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4934 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4935 methods to access it.
4937 * text.C: Added updateRowPositions to compute all row positions.
4938 Make top_y and getRowNearY() to use the cached y position
4940 2003-04-11 John Levon <levon@movementarian.org>
4942 * text.C (rowBreakPoint): reintroduce the labelEnd
4943 checks, code copied from the row fill stuff. Deep voodoo.
4945 * text.C (fill): add a comment and debugging for the
4948 2003-04-11 John Levon <levon@movementarian.org>
4950 * text.C: make sure fullrow insets get wrapped to the next line,
4951 even when they're in a manual label
4953 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * text2.C (insertParagraph): make it take ParagraphList::iterator
4957 (setLayout): make it return ParagraphList::iterator
4958 (redoParagraphs): ditto
4960 (checkParagraph): ditto
4962 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4964 * text2.C: adjust several funcs.
4965 (realizeFont): take a ParagraphList::iterator as arg.
4966 (getLayoutFont): ditto
4967 (getLabelFont): ditto
4968 (setCharFont): ditto
4970 * text.C: adjust several funcs.
4972 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4974 * text.C (selectNextWordToSpellcheck): don't accidentally
4977 2003-04-10 John Levon <levon@movementarian.org>
4979 * ToolbarBackend.C (getIcon): special handling for
4982 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4984 * text2.C (cursorRight): a getChar assert fixed
4986 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * text2.C (getFont): change to take a ParagraphList::iterator
4989 instead of Paragraph*
4990 Adjust several functions.
4992 * text.C (transformChar): change to take a ParagraphList::iterator
4993 instead of Paragraph*
4994 (singleWidth): ditto
4995 Adjust several functions.
4997 * rowpainter.C: adjust several functions
4998 * rowpainter.h:store a ParagraphList::iterator and not a
5002 2003-04-09 John Levon <levon@movementarian.org>
5007 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5008 and the "help" bits as well
5010 2003-04-09 John Levon <levon@movementarian.org>
5013 * ToolbarBackend.C: allow multiple toolbars
5015 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * undo_funcs.C (setCursorParUndo): adjust
5019 * text_funcs.C (transposeChars): adjust
5021 * text3.C (gotoNextInset): adjust
5024 * text2.C (setLayout): adjust
5025 (changeDepth): adjust
5027 (redoParagraphs): adjust
5028 (selectionAsString): adjust
5029 (setParagraph): adjust
5030 (insertInset): adjust
5031 (cutSelection): adjust
5032 (copySelection): adjust
5033 (pasteSelection): adjust
5034 (insertStringAsLines): adjust
5035 (updateInset): adjust
5036 (setCursor): change to take a ParagraphList::iterator parameter
5037 (setCursorIntern): change to take a ParagraphList::iterator parameter
5038 (setCurrentFont): adjust
5039 (cursorLeft): adjust
5040 (cursorRight): adjust
5041 (deleteEmptyParagraphMechanism): adjust
5043 * text.C (breakParagraph): adjust
5044 (insertChar): adjust
5045 (acceptChange): adjust
5046 (rejectChange): adjust
5047 (selectNextWordToSpellcheck): adjust
5048 (changeCase): adjust
5052 * lyxfind.C (SearchForward): adjust
5053 (SearchBackward): adjust
5054 (nextChange): adjust
5056 * lyxcursor.C (par): adjust
5058 * lyxcursor.h: store a ParagraphList::iterator instead of a
5061 * lyx_cb.C (getPossibleLabel): adjust
5063 * bufferview_funcs.C (toggleAndShow): adjust
5065 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5068 * BufferView.C (removeAutoInsets): adjust
5069 (lockedInsetStoreUndo): adjust
5071 2003-04-09 John Levon <levon@movementarian.org>
5073 * ToolbarBackend.C: try icon without argument
5074 if with argument fails
5076 2003-04-08 John Levon <levon@movementarian.org>
5079 * ToolbarBackend.C: add getIcon(), handle tooltip,
5080 and change from "Icon" to "Item".
5082 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5084 * BufferView.C (lockInset): another bad getchar crunched
5086 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5088 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5091 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5093 * lyxfind.C (searchForward, searchBackwards): bug 782
5095 2003-04-07 John Levon <levon@movementarian.org>
5097 * paragraph.C: remove dead comment
5099 * text.C: remove troublesome depth-fiddling code
5100 in leftMargin() and rightMargin() (bug 1017)
5102 * text.C: fix breaking of rows in nested lists
5105 * text2.C (updateCounters): fix up depth values
5108 2003-04-07 John Levon <levon@movementarian.org>
5110 * BufferView_pimpl.C: clear message when doc finishes resizing,
5111 and after a mouse event
5113 * lyxfunc.C: clear message after exiting inset
5115 2003-04-07 John Levon <levon@movementarian.org>
5117 * bufferview_funcs.C: show math status not outside
5118 status in the statusbar
5120 2003-04-07 John Levon <levon@movementarian.org>
5122 * lyxfunc.C: note status changed after a depth change
5124 2003-04-04 Angus Leeming <leeming@lyx.org>
5126 * LaTeX.h: move AuxInfo operator==, != out of line.
5127 Remove LaTeX virtual destructor; nothing derives from it.
5128 Move operator()() out of public area and rename it startscript().
5129 Change protected for private.
5131 2003-04-04 Angus Leeming <leeming@lyx.org>
5134 * text2.C: remove unneeded #includes.
5136 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5138 * text2.C (dEPM): fix the heigth of the next row
5140 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5142 * text.C: squashed an invalid getChar requester + some ws changes
5144 2003-04-03 John Levon <levon@movementarian.org>
5146 * bufferview_funcs.h:
5147 * bufferview_funcs.C:
5150 * text2.C: make getStatus work for the env depth lfuns
5152 2003-04-03 John Levon <levon@movementarian.org>
5154 * bufferview_funcs.h:
5155 * bufferview_funcs.C:
5158 * text2.C: parlistize decDepth(), by merging it with incDepth()
5160 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * lyxrow.h: store a ParagraphList::iterator instead of a
5163 Paragraph* and adjust other class functions to suit.
5165 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5168 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5170 * text2.C (setCursor): do not anchor to cursor row for the time being
5172 2003-04-02 John Levon <levon@movementarian.org>
5179 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5181 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * paragraph.h: make ParagraphList and ParagraphList::iterator
5184 friends of Paragraph.
5186 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5188 * ParagraphList.C: Use the private next_ and previous_ from
5191 2003-04-01 John Levon <levon@movementarian.org>
5195 * Makefile.am: rename, remove defaults gunk
5198 * MenuBackend.C: remove defaults gunk
5201 * Languages.C: remove defaults gunk
5204 * lyx_main.C: error out if files couldn't be found.
5206 2003-04-02 John Levon <levon@movementarian.org>
5208 * text2.C: make incDepth() use parlist
5210 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * undo_funcs.C (firstUndoParagraph): adjust
5214 * text3.C (gotoInset): adjust
5215 (dispatch): adjust, and rewrite loop.
5217 * text2.C (init): adjust, and rewrite loop.
5218 (redoParagraphs): adjust
5219 (updateInset): adjust, and rewrite loop.
5220 (deleteEmptyParagraphMechanism): adjust
5222 * tabular.C (LyXTabular): adjust
5223 (SetMultiColumn): adjust
5226 * lyxtext.[Ch] (ownerParagraph): delete function
5227 (ownerParagraphs): new function returns a ParagraphList.
5229 * BufferView.C (removeAutoInsets): adjust
5230 (insertErrors): adjust
5231 (setCursorFromRow): adjust
5233 2003-04-01 Angus Leeming <leeming@lyx.org>
5235 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5238 2003-04-02 John Levon <levon@movementarian.org>
5244 * text_funcs.C: make transposeChars a free function
5246 * lyxrow_funcs.C: remove wrong comment
5248 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * rowpainter.C: adjust
5256 * lyxrow_funcs. [Ch]: new files
5258 * lyxrow.[Ch]: remove next and previous pointers
5259 (next,previous): remove accessor functions
5260 (isParEnd): move to lyxrow_funcs
5261 (lastPos): move to lyxrow_funcs
5262 (nextRowIsAllInset): move to lyxrow_funcs
5263 (lastPrintablePos): move to lyxrow_funcs
5264 (numberOfSeparators): move to lyxrow_funcs
5265 (numberOfHfills): move to lyxrow_funcs
5266 (numberOfLabelHfills): move to lyxrow_funcs
5267 (hfillExpansion): move to lyxrow_funcs
5271 * bufferview_funcs.C (toggleAndShow): adjust
5273 * RowList.h: Remove class RowList from file leave just a
5276 * RowList.C: delete file
5278 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5281 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * text3.C (cursorPrevious): adjust
5284 (cursorNext): adjust
5287 * text2.C (redoHeightOfParagraph): adjust
5288 (redoDrawingOfParagraph): adjust
5291 * text.C (breakParagraph): adjust
5292 (insertChar): adjust
5295 * rowpainter.C (RowPainter): adjust
5296 (leftMargin): simplify and adjust
5297 (most rowpainter functions): adjust.
5299 * rowpainter.h: store the row as RowList::iterator not as Row*
5301 * lyxcursor.C (row): taka RowList::iterator as arg
5304 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5307 2003-04-01 Angus Leeming <leeming@lyx.org>
5309 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5310 stuff like bool Bool.
5312 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5314 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5317 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5322 * lyxtext.h (rows): drop one version and leve a const variant that
5323 returns a RowList::iterator.
5325 2003-03-31 Angus Leeming <leeming@lyx.org>
5327 * text.C (fill): ensure that the signature is the same as that in the
5330 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * text2.C (redoParagraphs): adjust
5333 (updateCounters): adjust
5334 (checkParagraph): adjust
5335 (getColumnNearX): adjust and reformat a bit.
5337 * text.C (top_y): adjust
5339 (leftMargin): adjust
5340 (prepareToPrint): adjust
5342 (getRowNearY): adjust
5344 * lyxtext.h: make rowlist_ mutable.
5346 * RowList.h: add const_iterator
5347 * RowList.C: adjust for RowList::const_iterator.
5349 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5352 2003-03-31 John Levon <levon@movementarian.org>
5355 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5357 * lyx_main.C: set default fonts from using lyx_gui funcs
5359 * exporter.C: pdf_mode moved from lyxrc
5362 * lyxfunc.C: changes from above
5364 2003-03-31 John Levon <levon@movementarian.org>
5366 * lyx_main.C: fix to the last fix
5368 2003-03-31 John Levon <levon@movementarian.org>
5370 * bufferlist.C: "Load original" -> "Load Original"
5376 * format.C: more Alert cleanups
5378 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * text2.C (removeParagraph): make it take a RowList::iterator as
5382 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5383 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5385 * text.C (anchor_row): make it take a RowList::iterator as arg,
5387 (computeBidiTables): make it take a const reference to Row instead
5388 of Row pointer, adjust.
5389 (leftMargin): make it take a RowList::iterator as arg, adjust.
5390 (rowBreakPoint): adjust
5391 (breakAgainOneRow): make it take a RowList::iterator as arg,
5393 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5395 * bufferview_funcs.C (toggleAndShow): adjust
5397 2003-03-30 John Levon <levon@movementarian.org>
5401 * boost-inst.C: moved to support
5403 * several files: changes as a result
5405 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * text2.C (LyXText): adjust.
5409 (removeRow): make it take a RowList::iterator as arg, adjust.
5410 (fullRebreak): adjust
5411 (deleteEmptyParagraphMechanism): adjust
5412 (clearPaint): adjust
5415 * text.C (top_y): adjust
5416 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5417 (breakAgain): make it take a RowList::iterator as arg, adjust.
5418 (breakParagraph): adjust
5419 (insertChar): adjust
5422 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5423 need_break_row, and refresh_row.
5425 * text3.C (dispatch): adjust
5427 * text2.C (checkParagraph): adjust
5429 (setCursorFromCoordinates): adjust
5431 * text.C (top_y): adjust
5433 (getRow): make it return a RowList::iterator, adjust
5434 (getRowNearY): make it return a RowList::iterator, adjust
5436 * text2.C (init): adjust
5437 (insertRow): remove function
5438 (insertParagraph): adjust
5439 (redoParagraphs): adjust
5440 (fullRebreak): adjust
5441 (updateCounters): adjust
5443 * text.C (top_y): rewrite to use RowList iterators.
5445 (setHeightOfRow): rewrite to sue RowList iterators.
5446 (appendParagraph): adjust
5447 (breakAgain): adjust
5448 (breakAgainOneRow): adjust
5449 (breakParagraph): adjust
5451 (getRowNearY): adjust, and remove commented code.
5453 * lyxtext.h (firstRow): delete function
5454 (lastRow): delete function
5455 (rows): new function (const and non-const versions.)
5456 (insertRow): delete function
5458 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5460 2003-03-29 John Levon <levon@movementarian.org>
5462 * BufferView_pimpl.C: always update scrollbar top
5463 because pasting text when we're anchored could mean we
5464 miss an update altogether
5466 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * text2.C (init): use rowlist_.end() and not 0.
5469 (insertRow): change to take a RowList::iterator as arg, adjust
5471 (insertParagraph): change to take a RowList::iterator as arg,
5473 (redoParagraphs): remove some debug msgs.
5475 * text.C (appendParagraph): change to take a RowList::iterator
5476 arg, adjust for this.
5477 (breakAgain): add an assert
5478 (breakAgainOneRow): ditto
5480 2003-03-29 John Levon <levon@movementarian.org>
5482 * text2.C: do not clear selection after inc/decDepth
5485 2003-03-29 John Levon <levon@movementarian.org>
5488 * buffer.C: fix broken strerrors according to Lars
5490 2003-03-29 John Levon <levon@movementarian.org>
5492 * converters.C: more Alert cleanups
5494 2003-03-29 John Levon <levon@movementarian.org>
5496 * bufferview_funcs.C: remove pointless Alert
5498 * buffer.C: fix confusing error message when
5499 a template is chmoded 000
5501 2003-03-29 John Levon <levon@movementarian.org>
5505 * BufferView_pimpl.C: Alert fixes
5509 * tabular-old.C: remove unused table compat reading
5511 2003-03-29 John Levon <levon@movementarian.org>
5516 * lyx_cb.C: more Alert cleanups
5518 * lyxfunc.C: don't allow chktex if not latex document
5520 2003-03-29 John Levon <levon@movementarian.org>
5524 * buffer.C: warnings pushed down from support/,
5527 2003-03-29 John Levon <levon@movementarian.org>
5529 * lyxfunc.C: safety check for C-r (revert)
5531 2003-03-29 John Levon <levon@movementarian.org>
5534 * bufferlist.C: several UI fixes using Alert::prompt.
5535 Fix the pointless looping quit code. Fix stupid revert
5540 * lyx_cb.C: use Alert::prompt
5542 * lyx_main.C: remove a silly question
5544 * lyxfunc.C: remove a couple of silly questions,
5547 2003-03-28 John Levon <levon@movementarian.org>
5549 * text2.C: fix bug 974 (End on empty par)
5551 2003-03-28 John Levon <levon@movementarian.org>
5553 * BufferView_pimpl.C:
5555 * lfuns.h: remove do-nothing math greek lfuns
5557 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * lyxgluelength.h (isValidGlueLength): add default arg on
5560 parameter 2. Remove default arg from friend in class.
5562 * lyxlength.h (isValidLength): add default arg on parameter 2.
5563 Remove default arg from friend in class.
5565 * text2.C (LyXText): adjust, initialize refresh_row.
5569 (insertParagraph): adjst
5570 (redoParagraphs): adjust
5571 (fullRebreak): adjust
5572 (updateCounters): adjust
5573 (deleteEmptyParagraphMechanism): first attempt at fixing a
5576 * text.C (top_y): adjust
5577 (setHeightOfRow): adjust
5579 (getRowNearY): adjust
5581 * lyxtext.h: include RowList.h
5582 (~LyXText): not needed anymore, deleted.
5583 (firstRow): modify for RowList
5584 (lastRow): new function
5585 Delete firstrow and lastrow class variables, add a Rowlist
5586 rowlist_ class variable.
5588 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5591 * RowList.C (insert): fix case where it == begin().
5593 2003-03-26 Angus Leeming <leeming@lyx.org>
5595 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5596 the thesaurus dialog.
5598 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5602 * RowList.[Ch]: new files
5604 * ParagraphList.C (erase): handle the case where it == begin
5607 2003-03-25 John Levon <levon@movementarian.org>
5611 * aspell.C: add new aspell support
5614 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5617 2003-03-25 Angus Leeming <leeming@lyx.org>
5620 * LyXAction.C (init): new LFUN_INSET_INSERT.
5622 * BufferView_pimpl.C (dispatch): split out part of the
5623 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5625 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5628 2003-03-25 Angus Leeming <leeming@lyx.org>
5630 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5632 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5635 * text3.C: remove useless row->height(0)
5637 2003-03-25 John Levon <levon@movementarian.org>
5641 * text3.C: rename the refreshing stuff to better names
5643 2003-03-24 John Levon <levon@movementarian.org>
5645 * BufferView_pimpl.h:
5646 * BufferView_pimpl.C: update layout choice on a mouse
5649 2003-03-23 John Levon <levon@movementarian.org>
5651 * Makefile.am: fix commandtags.h reference
5653 2003-03-22 John Levon <levon@movementarian.org>
5655 * BufferView_pimpl.C:
5660 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5662 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5665 * text.C: take the rtl methods out of line
5667 2003-03-21 André Pönitz <poenitz@gmx.net>
5669 * metricsinfo.[Ch]: new files containing structures to be passed around
5670 during the two-phase-drawing...
5672 2003-03-21 André Pönitz <poenitz@gmx.net>
5674 * lyxtextclass.C: read 'environment' tag.
5676 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5678 * text2.C (removeRow): fix bug 964
5680 2003-03-20 John Levon <levon@movementarian.org>
5684 * text2.C: paint cleanups. Inset::update() dropped font
5687 2003-03-19 John Levon <levon@movementarian.org>
5689 * lyxfunc.C: only fitcursor/markDirty if available()
5691 2003-03-19 John Levon <levon@movementarian.org>
5693 * commandtags.h: rename to ...
5695 * lfuns.h: ... this, and renumber / cleanup
5697 2003-03-19 John Levon <levon@movementarian.org>
5699 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5700 fit the cursor after an lfun
5704 * BufferView_pimpl.h:
5705 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5707 * LyXAction.C: layout-character should have ReadOnly
5709 * ParagraphParameters.C:
5711 * bufferview_funcs.C:
5718 * undo_funcs.C: changes from above
5720 2003-03-18 John Levon <levon@movementarian.org>
5722 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5723 remove it from update()
5725 * lyxfunc.C: update layout choice after an lfun
5727 * text3.C: remove extra updateLayoutChoice()s
5729 2003-03-18 John Levon <levon@movementarian.org>
5731 * text.C: top_y change means full repaint, fix
5732 a drawing bug with cursor movement
5734 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5738 * text2.C: anchor row on setCursor
5740 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5742 * lyxtext.h: remove almost all mutable keywords
5745 * text3.C: remove const keywords accordingly
5747 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5749 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5751 (TeXEnvironment): ditto
5754 2003-03-17 John Levon <levon@movementarian.org>
5756 * text.C (rowBreakPoint): remove attempt to fix displayed
5757 math insets inside a manual label
5759 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * lyxtext.h: remove BufferView* as first arg from almost all class
5763 * other files: adjust.
5765 2003-03-17 John Levon <levon@movementarian.org>
5769 * text2.C: more paint cleanups
5771 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5774 * rowpainter.C: remove "smart" background painting code
5776 2003-03-16 John Levon <levon@movementarian.org>
5781 * text3.C: add helper functions for setting refresh_row/y
5783 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5785 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5786 newline inset which *can* get inserted in the pass_thru layouts.
5787 This is primarily for literate documents.
5789 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5791 * buffer.C: increment LYX_FORMAT to 223
5793 2003-03-14 André Pönitz <poenitz@gmx.net>
5795 * textclass.h: prepare for environment handling, ws changes
5796 * lyxlayout.C: read latexheader and latexfooter tags
5798 2003-03-14 John Levon <levon@movementarian.org>
5800 * text2.C: rewrite ::status() a bit
5802 2003-03-13 John Levon <levon@movementarian.org>
5804 * lyxtext.h: add some docs
5806 2003-03-13 John Levon <levon@movementarian.org>
5811 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5813 2003-03-13 John Levon <levon@movementarian.org>
5815 * text3.C: fix appendix redrawing
5817 2003-03-13 John Levon <levon@movementarian.org>
5819 * text.C (setHeightOfRow):
5821 * rowpainter.C: make appendix mark have the text
5822 "Appendix" so the user knows what it is
5825 * LColor.C: s/appendixline/appendix/ from above
5827 2003-03-13 John Levon <levon@movementarian.org>
5829 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5831 * text.C: fix a getChar(pos) bug properly
5833 2003-03-13 Angus Leeming <leeming@lyx.org>
5836 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5837 Probably only temporary. Let's see how things pan out.
5839 * BufferView.C (unlockInset):
5840 * BufferView_pimpl.C (fitCursor):
5841 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5843 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5844 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5846 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5847 new functions that convert ParagraphParameters to and from a string.
5849 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5850 BufferView::Pimpl's dispatch.
5851 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5853 2003-03-13 André Pönitz <poenitz@gmx.net>
5857 * factory.C: make it aware of InsetEnv
5859 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * text2.C (setCursor): never ask for one past last
5862 (setCursor): add some debugging messages.
5864 * text.C (singleWidth): never ask for one past last
5865 (singleWidth): ditto
5867 (rightMargin): ditto
5868 (rowBreakPoint): ditto
5869 (setHeightOfRow): ditto
5870 (prepareToPrint): ditto
5872 * rowpainter.C (paintBackground): never ask for one past last
5873 (paintText): never ask for one past last
5875 * paragraph_pimpl.C (getChar): make the assert stricter, never
5876 allow the one past last pos to be taken
5878 * paragraph.C (getChar): ws changes only
5880 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5881 (numberOfSeparators): ditto
5882 (numberOfHfills): ditto
5884 2003-03-12 John Levon <levon@movementarian.org>
5890 * paragraph_funcs.C: fix per-buffer authorlists
5892 2003-03-12 John Levon <levon@movementarian.org>
5894 * text.C: fix newline in right address
5896 2003-03-12 Angus Leeming <leeming@lyx.org>
5898 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5899 duplicate those in LyXFunc::dispatch.
5903 * ToolbarDefaults.C:
5904 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5905 Add LFUN_FONTFREE_UPDATE.
5907 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5908 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5910 * bufferview_func.[Ch]: several new functions to facilliate
5911 transfer of data to and from the character dialog.
5913 2003-03-12 John Levon <levon@movementarian.org>
5918 * paragraph_funcs.C:
5919 * paragraph_pimpl.C:
5923 * text3.C: remove META_NEWLINE in favour of an inset
5926 * rowpainter.C: remove paintNewline (done by inset)
5928 2003-03-12 John Levon <levon@movementarian.org>
5930 * paragraph_pimpl.C: complain about bad getChar()s
5931 for a while at least
5933 2003-03-12 John Levon <levon@movementarian.org>
5936 * buffer.C: move paragraph read into a separate function,
5937 a little renaming to reflect that.
5940 * bufferparams.C: remove the author_ids map, not necessary now
5943 * factory.C: moved Buffer::readInset to here
5945 * paragraph_funcs.h:
5946 * paragraph_funcs.C: readParagraph free function moved from
5949 * tabular.C: name change
5951 2003-03-12 John Levon <levon@movementarian.org>
5954 * ParagraphParameters.C: move par params input to
5957 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5958 behave like a normal read from the stream wrt reading
5959 a line vs. a \\token
5961 2003-03-12 John Levon <levon@movementarian.org>
5964 * ParagraphParameters.h:
5965 * ParagraphParameters.C: move output code to a
5968 2003-03-12 John Levon <levon@movementarian.org>
5970 * BufferView.C (insertLyXFile):
5973 * tabular.C: use a parlist iterator for creating the
5976 2003-03-12 John Levon <levon@movementarian.org>
5978 * buffer.C: make current_change static local not
5981 2003-03-12 John Levon <levon@movementarian.org>
5983 * buffer.C: fix insertStringAsLines for change tracking
5985 2003-03-12 John Levon <levon@movementarian.org>
5992 * bufferparams.C: move author list into params. Rename some
5993 functions. Move the header reading into a separate token
5994 loop. Move the header token reading into BufferParams.
5996 2003-03-12 John Levon <levon@movementarian.org>
5998 * changes.C: put debug inside lyxerr.debugging() checks
6000 2003-03-11 André Pönitz <poenitz@gmx.net>
6002 * factory.C: make it aware of InsetHFill
6004 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6006 * buffer.C (latexParagraphs): move function from here...
6007 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6010 2003-03-10 Angus Leeming <leeming@lyx.org>
6012 * LyXAction.C (init): fix bug in poplating array with multiple entries
6013 with the same LFUN (spotted by JMarc).
6015 2003-03-10 John Levon <levon@movementarian.org>
6018 * text2.C: move getColumnNearX() near its
6021 2003-03-10 John Levon <levon@movementarian.org>
6023 * text.C: fix break before a minipage
6025 2003-03-10 John Levon <levon@movementarian.org>
6027 * text.C: fix the last commit
6029 2003-03-09 John Levon <levon@movementarian.org>
6033 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6034 bug 365 (don't break before insets unless needed). Don't
6035 return a value > last under any circumstances.
6037 2003-03-09 Angus Leeming <leeming@lyx.org>
6039 * BufferView_pimpl.C (trackChanges, dispatch): call
6040 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6042 2003-03-09 Angus Leeming <leeming@lyx.org>
6044 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6045 than Dialogs::showAboutlyx().
6047 2003-03-09 Angus Leeming <leeming@lyx.org>
6049 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6050 than Dialogs::showTabularCreate().
6052 2003-03-09 John Levon <levon@movementarian.org>
6056 * text2.C: 3rd arg to nextBreakPoint was always the same.
6059 2003-03-08 John Levon <levon@movementarian.org>
6066 * text2.C: Remove the "main" bit from the "main body"
6069 2003-03-08 John Levon <levon@movementarian.org>
6071 * text.C (leftMargin): The left margin of an empty
6072 manual label paragraph should not include the label width
6075 * text.C (prepareToPrint): don't attempt to measure hfills
6076 for empty manual label paragraphs - the answer should be 0
6078 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * CutAndPaste.C: remove commented code and reindent.
6082 2003-03-08 John Levon <levon@movementarian.org>
6085 * lyxfunc.C: move reloadBuffer()
6088 * BufferView.C: to here
6090 * lyxvc.C: add comment
6093 * vc-backend.C: call bv->reload() to avoid
6094 getStatus() check on MENURELOAD
6096 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6098 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6099 to an old format .dep file.
6101 2003-03-07 Angus Leeming <leeming@lyx.org>
6103 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6104 when the LFUN_MOUSE_RELEASE should have been handled by
6105 inset->localDispatch.
6107 2003-03-07 Angus Leeming <leeming@lyx.org>
6109 * BufferView_pimpl.C (dispatch):
6110 * LyXAction.C (init):
6111 * ToolbarDefaults.C (init):
6113 * lyxfunc.C (getStatus):
6114 remove LFUN_INSET_GRAPHICS.
6116 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6118 2003-03-07 Angus Leeming <leeming@lyx.org>
6121 * LyXAction.C (init):
6122 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6124 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6127 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6129 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6130 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6132 2003-03-07 Angus Leeming <leeming@lyx.org>
6134 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6137 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * ParagraphList.C (front): new function
6142 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6144 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6145 and top_row_offset_. removed var first_y.
6147 * text2.C (LyXText, removeRow):
6149 * BufferView_pimpl.C:
6150 use these methods instead of using first_y
6152 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * text2.C (pasteSelection): adjust for checkPastePossible
6156 * CutAndPaste.C: remove Paragraph * buf and replace with
6157 ParagraphList paragraphs.
6158 (DeleteBuffer): delete
6159 (cutSelection): change the tc type to textclass_type
6160 (copySelection): change the tc type to textclass_type
6161 (copySelection): adjust for ParagraphList
6162 (pasteSelection): change the tc type to textclass_type
6163 (pasteSelection): adjust for Paragraphlist
6164 (nrOfParagraphs): simplify for ParagraphList
6165 (checkPastePossible): simplify for ParagraphList
6166 (checkPastePossible): remove unused arg
6168 * ParagraphList.C (insert): handle the case where there are no
6171 * CutAndPaste.h: make CutAndPaste a namespace.
6173 * text3.C (dispatch): adjust
6175 * text.C (breakParagraph): add a ParagraphList as arg
6177 * paragraph_funcs.C (breakParagraph): change to take a
6178 BufferParams and a ParagraphList as args.
6179 (breakParagraphConservative): ditto
6180 (mergeParagraph): ditto
6181 (TeXDeeper): add a ParagraphList arg
6182 (TeXEnvironment): ditto
6185 * buffer.C (readLyXformat2): adjust
6186 (insertStringAsLines): adjust
6187 (latexParagraphs): adjust
6189 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6190 (cutSelection): adjust
6191 (pasteSelection): adjust
6193 * BufferView_pimpl.C (insertInset): adjust
6195 2003-03-05 Angus Leeming <leeming@lyx.org>
6198 * LyXAction.C (init):
6199 * BufferView_pimpl.C (dispatch):
6200 * lyxfunc.C (getStatus):
6201 remove LFUN_CHILD_INSERT.
6203 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6205 2003-03-05 Angus Leeming <leeming@lyx.org>
6208 * LyXAction.C (init):
6209 * src/factory.C (createInset):
6210 * lyxfunc.C (getStatus):
6211 * text3.C (dispatch):
6212 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6214 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6216 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * ParagraphList.C (insert): handle insert right before end()
6219 (erase): fix cases where it can be first or last paragraph.
6221 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6223 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6224 Paragraph::next and Paragraph::previous
6227 * text.C (breakParagraph): adjust
6229 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6230 BufferParams& as arg.
6231 (breakParagraph): use ParagraphList::insert
6232 (breakParagraphConservative): take a Buffer* instead of a
6233 BufferParams& as arg.
6234 (breakParagraphConservative): use ParagraphList::insert.
6236 * buffer.C (insertStringAsLines): un-const it
6237 (insertStringAsLines): adjust
6239 * ParagraphList.C (insert): new function
6241 * CutAndPaste.C (pasteSelection): adjust
6243 * text.C (backspace): adjust
6245 * tabular.C (SetMultiColumn): adjust
6247 * CutAndPaste.C (cutSelection): adjust
6248 (pasteSelection): adjust
6250 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6251 Buffer const * as arg
6253 * ParagraphList.C (erase): new function
6254 * paragraph_funcs.C (mergeParagraph): use it
6255 (mergeParagraph): make it take a Buffer* instead of a
6256 BufferParams* as arg
6258 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6260 (breakParagraphConservative): ditto
6262 * paragraph.h: remove the breakParagraph friend
6264 * paragraph.C (eraseIntern): new function
6265 (setChange): new function
6267 * paragraph_funcs.C (mergeParagraph): make it take a
6268 ParagraphList::iterator instead of a Paragraph *, adjust
6271 * paragraph.h: move an #endif so that the change tracking stuff
6272 also works in the NO_NEXT case.
6274 2003-03-04 Angus Leeming <leeming@lyx.org>
6277 * LyXAction.C: new LFUN_INSET_MODIFY.
6279 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6280 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6282 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * several files: ws changes only
6286 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6287 (TeXEnvironment): ditto
6290 * buffer.C (makeLaTeXFile): adjust
6291 (latexParagraphs): make it take ParagraphList::iterator as args
6293 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * buffer.C (latexParagraphs): adjust
6297 * paragraph.C (TeXOnePar): move function...
6298 (optArgInset): move function...
6299 (TeXEnvironment): move function...
6300 * paragraph_pimpl.C (TeXDeeper): move function...
6301 * paragraph_funcs.C: ...here
6303 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6305 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6307 * buffer.C (readInset): remove compability code for old Figure and
6310 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * buffer.C: ws changes
6315 * BufferView_pimpl.C: ditto
6318 * bufferlist.h: ditto
6322 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6324 * converter.[Ch]: split into itself +
6327 * Makefile.am: += graph.[Ch] + format.[Ch]
6334 * lyxrc.C: added #include "format.h"
6336 2003-02-27 Angus Leeming <leeming@lyx.org>
6338 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6341 * factory.C (createInset): add "label" to the factory.
6343 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6344 string and do no more.
6346 2003-02-27 Angus Leeming <leeming@lyx.org>
6349 * LyXAction.C (init):
6350 * factory.C (createInset):
6351 * BufferView_pimpl.C (dispatch):
6352 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6354 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6356 * lyxfunc.C (dispatch):
6357 * text3.C (dispatch): pass name to params2string.
6359 2003-02-26 Angus Leeming <leeming@lyx.org>
6361 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6363 Rearrange the ~includes. Strip out the unnecessary ones.
6365 * factory.C (createInset): reformat.
6366 create new insets for the various LFUN_XYZ_APPLY lfuns.
6368 2003-02-26 John Levon <levon@movementarian.org>
6371 * lyxrow.C: add isParStart,isParEnd helpers
6373 * paragraph.h: make isInserted/DeletedText take refs
6375 * paragraph_funcs.h:
6376 * paragraph_funcs.C: remove #if 0'd code
6381 * text.C: use lyxrow helpers above.
6382 Move draw and paint routines to RowPainter.
6383 Make several methods use refs not pointers.
6384 Make backgroundColor() const.
6385 Add markChangeInDraw(), isInInset().
6386 Merge changeRegionCase into changeCase.
6387 Make workWidth() shouldn't-happen code into an Assert.
6390 * rowpainter.C: new class for painting a row.
6393 * vspace.C: make inPixels take a ref
6395 2003-02-26 Angus Leeming <leeming@lyx.org>
6397 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6400 2003-02-25 John Levon <levon@movementarian.org>
6402 * ispell.C: give the forked command a more accurate name
6404 2003-02-22 John Levon <levon@movementarian.org>
6407 * toc.C: make TocItem store an id not a Paragraph *
6410 2003-02-21 Angus Leeming <leeming@lyx.org>
6412 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6413 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6414 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6415 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6416 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6417 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6419 * BufferView_pimpl.C (dispatch):
6420 * LyXAction.C (init):
6421 * factory.C (createInset):
6422 * lyxfunc.C (getStatus, dispatch):
6423 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6425 2003-02-21 Angus Leeming <leeming@lyx.org>
6427 * BufferView_pimpl.C (MenuInsertLyXFile):
6428 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6429 * lyxfunc.C (menuNew, open, doImport):
6430 no longer pass a LyXView & to fileDlg.
6432 2003-02-21 Angus Leeming <leeming@lyx.org>
6434 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6435 * LyXAction.C: change, BIBKEY to BIBITEM.
6436 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6437 Change InsetBibKey to InsetBibitem.
6438 Change BIBKEY_CODE to BIBITEM_CODE.
6439 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6440 * factory.C: replace insetbib.h with insetbibitem.h.
6441 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6442 * paragraph.C: replace insetbib.h with insetbibitem.h.
6443 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6444 Change bibkey() to bibitem().
6445 * text.C: remove insetbib.h.
6446 * text2.C: replace insetbib.h with insetbibitem.h.
6447 change bibkey() to bibitem().
6448 * text3.C: remove insetbib.h.
6449 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6451 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * lyxrc.C (output): enclose user email in quotes (in case there are
6456 2003-02-18 John Levon <levon@movementarian.org>
6458 * buffer.h: add std::
6460 2003-02-17 John Levon <levon@movementarian.org>
6466 * pspell.C: reworking. Especially in ispell, a large
6467 number of clean ups and bug fixes.
6469 * lyxfunc.C: fix revert to behave sensibly
6471 2003-02-17 André Pönitz <poenitz@gmx.net>
6474 * commandtags.h: new LFUN_INSERT_BIBKEY
6484 * paragraph_func.C: remove special bibkey handling
6486 2003-02-17 John Levon <levon@movementarian.org>
6488 * text.C (Delete): fix case where delete at the end of
6489 the very first paragraph would not merge the pars
6491 2003-02-17 John Levon <levon@movementarian.org>
6493 * lyxrow.C: fix lastPrintablePos()
6495 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6497 * bufferparams.C (writeLaTeX): add a std:here
6499 * buffer.C: and remove a using directive there
6501 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6503 * buffer.C (makeLaTeXFile): move the code that generates the
6506 * bufferparams.C (writeLaTeX): ... in this new method
6508 * LaTeXFeatures.C (getEncodingSet): make const
6509 (getLanguages): make const
6511 * MenuBackend.C (binding): returns the binding associated to this
6513 (add): sets the status of each item by calling getStatus. Adds
6515 (read): add support for OptSubMenu
6516 (expand): remove extra separator at the end of expanded menu
6518 2003-02-15 John Levon <levon@movementarian.org>
6521 * BufferView_pimpl.C:
6523 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6524 inset code that had no actual effect. Remove unneeded status
6527 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6529 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6532 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6534 * text.C (drawLengthMarker): also draw an arrow marker for
6535 symbolic lengths (medskip...)
6537 2003-02-14 John Levon <levon@movementarian.org>
6540 * tabular.C: better method names
6542 2003-02-14 John Levon <levon@movementarian.org>
6544 * BufferView_pimpl.C:
6549 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6550 it's a more accurate name. Remove some pointless uses.
6552 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6554 * text2.C (LyXText): change order of initilizers to shut off
6557 2003-02-14 John Levon <levon@movementarian.org>
6559 * buffer.C: use ParIterator for getParFromID()
6563 * paragraph_pimpl.h:
6564 * paragraph_pimpl.C: remove unused getParFromID()
6566 2003-02-14 John Levon <levon@movementarian.org>
6568 * buffer.C: remove some very old #if 0'd parse code
6570 2003-02-13 John Levon <levon@movementarian.org>
6574 * text2.C: move hfillExpansion(), numberOfSeparators(),
6575 rowLast(), rowLastPrintable(), numberofHfills(),
6576 numberOfLabelHfills() ...
6579 * lyxrow.C: ... to member functions here.
6584 * text.C: remove LyXText::beginningOfMainBody(), and call
6585 p->beginningOfMainBody() directly. Move the check for
6586 LABEL_MANUAL into the latter.
6593 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6599 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6600 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6602 2003-02-13 John Levon <levon@movementarian.org>
6604 * CutAndPaste.C: remove debug
6606 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6608 * paragraph.C (asString): remove two unused variables
6610 * lyxtextclass.C (readTitleType):
6612 (LyXTextClass): handle new members titletype_ and titlename_
6614 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6616 2003-02-09 John Levon <levon@movementarian.org>
6619 * buffer.C: replace hand-coded list with a map for the dep clean
6621 2003-02-08 John Levon <levon@movementarian.org>
6623 * LaTeX.C: consolidate code into showRunMessage() helper
6625 2003-02-08 John Levon <levon@movementarian.org>
6630 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6631 and pass the size in explicitly
6633 * BufferView_pimpl.h:
6634 * BufferView_pimpl.C:
6636 * BufferView.C: add getCurrentChange()
6638 * BufferView_pimpl.h:
6639 * BufferView_pimpl.C: handle change lfuns
6641 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6642 for changes. Mark pasted paragraphs as new.
6644 * support/lyxtime.h:
6645 * support/lyxtime.C:
6646 * DepTable.C: abstract time_t as lyx::time_type
6649 * LColor.C: add colours for new text, deleted text, changebars
6651 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6652 package use "usenames" option.
6656 * LyXAction.C: add change lfuns
6660 * author.C: author handling
6663 * buffer.C: add a per-buffer author list, with first entry as
6664 current author. Handle new .lyx tokens for change tracking. Output
6665 author list to .lyx file. Output dvipost stuff to .tex preamble.
6666 Bump lyx format to 222.
6669 * bufferlist.C: add setCurrentAuthor() to reset current author details
6673 * bufferparams.C: add param for tracking
6675 * bufferview_funcs.C: output change info in minibuffer
6679 * changes.C: add change-tracking structure
6682 * debug.C: add CHANGES debug flag
6685 * lyxfind.C: add code for finding the next change piece
6688 * lyxrc.C: add user_name and user_email
6691 * lyxrow.C: add a metric for the top of the text line
6694 * text.C: implement accept/rejectChange()
6697 * text.C: paint changebars. Paint new/deleted text in the chosen
6698 colours. Strike through deleted text.
6702 * paragraph_pimpl.h:
6703 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6704 in the current change to the insert functions. Rework erase to
6705 mark text as deleted, adding an eraseIntern() and a range-based
6706 erase(). Implement per-paragraph change lookup and
6709 * paragraph_funcs.C: Fixup paste for change tracking.
6711 * tabular.C: mark added row/columns as new.
6713 * text.C: fix rowLast() to never return -1. Don't allow
6714 spellchecking of deleted text. Track transpose changes. Don't
6715 allow paragraph break or merge where appropriate.
6717 * text2.C: leave cursor at end of selection after a cut.
6719 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6721 * text.C (getLengthMarkerHeight):
6722 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6723 visible on screen too.
6725 2003-02-07 John Levon <levon@movementarian.org>
6727 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6729 2003-02-05 Angus Leeming <leeming@lyx.org>
6731 * lyxserver.C (read_ready): revert my patch of 11 September last year
6732 as it sends PC cpu through the roof. Presumably this means that
6733 the lyxserver will no longer run on an Alpha...
6735 2003-01-30 Angus Leeming <leeming@lyx.org>
6737 * factory.C (createInset): create an InsetCommandParam of type "index"
6738 and use it to 'do the right thing'.
6740 * text2.C (getStringToIndex): ensure that cursor position is always
6741 reset to the reset_cursor position.
6743 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6748 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6752 * lyxfunc.C: Output messages with identical spelling, punctuation,
6755 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6757 * MenuBackend.C (expandFormats): List only viewable export formats
6760 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6763 * lyxfunc.C (getStatus): Make sure that formats other than
6764 "fax" can also be disabled
6766 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6768 * text3.C (dispatch): put the lfuns that insert insets in 3
6769 groups, and call doInsertInset with appropriate arguments.
6770 (doInsertInset): new function, that creates an inset and inserts
6771 it according to some boolean parameters.
6773 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * buffer.C (readFile): remember to pass on 'par' when calling
6776 readFile recursively.
6778 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6780 * MenuBackend.C (expandFormats): add "..." to import formats.
6782 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6784 * paragraph.C (asString): Remove XForms RTL hacks.
6786 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6787 * buffer.C: fix typo
6789 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * Makefile.am (LIBS): delete var
6792 (lyx_LDADD): add @LIBS@ here instead.
6794 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6796 * Clarify the meaning of "wheel mouse jump"
6798 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6800 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6803 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6805 * importer.C (Loaders): do not preallocate 3 elements in the
6806 vector, since one ends up with 6 elements otherwise
6808 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6810 * DepTable.C (write): write the file name as last element of the
6811 .dep file (because it may contain spaces)
6812 (read): read info in the right order
6814 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * paragraph_pimpl.C (simpleTeXBlanks):
6817 (simpleTeXSpecialChars):
6818 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6820 * tabular.C (latex): add some missing case statements. Reindent.
6822 * MenuBackend.C (expandToc): remove unused variable.
6824 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6833 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6836 2003-01-05 John Levon <levon@movementarian.org>
6839 * BufferView.C: add getEncoding()
6842 * kbsequence.C: do not store last keypress
6845 * lyxfunc.C: store last keypress here instead. Pass encoding
6848 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6850 * lyx_main.C (init): remove annoying error message when following
6851 symbolic links (bug #780)
6853 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6855 * text.C (insertChar):
6856 * lyxrc.C (getDescription): remove extra spaces
6858 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6860 * lyxrc.C (getDescription): remove extra spaces
6862 2002-12-20 John Levon <levon@movementarian.org>
6864 * text3.C: hack fix for page up/down across tall rows
6866 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6868 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6871 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6873 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6874 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6875 thesaurus is not compiled in
6877 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6879 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6881 2002-12-16 Angus Leeming <leeming@lyx.org>
6884 * lyx_main.C (init): remove override_x_deadkeys stuff.
6886 2002-12-12 John Levon <levon@movementarian.org>
6888 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6889 insert. Only remove shift modifier under strict
6892 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * MenuBackend.C (expandToc): fix crash.
6896 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * MenuBackend.C (expandToc): gettext on float names.
6900 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6902 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6903 implement bool empty() [bug 490]
6905 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6909 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * several files: ws changes
6913 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * text2.C (setCounter): clean up a bit, use boost.format.
6916 (updateCounters): initialize par upon declaration.
6918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6919 if the layout exists. We do not just store the layout any more.
6920 (SwitchLayoutsBetweenClasses): use boost.format
6922 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6924 * converter.C (convert): if from and to files are the same, use a
6925 temporary files as intermediary
6927 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6930 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6932 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6934 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6936 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6938 * tabular.C (asciiPrintCell): use string(size, char) instead of
6941 * sgml.C (openTag): fix order of arguments to string constructor
6944 * lyxfunc.C (dispatch): use boost.format
6946 * lots of files: change "c" -> 'c'
6948 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6950 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6952 2002-11-25 Angus Leeming <leeming@lyx.org>
6954 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6956 * lyx_main.C (init): compile fix.
6958 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * lyx_cb.C (start): boost.formatify
6961 do not include <iostream>
6963 * lengthcommon.C: ws only
6965 * boost-inst.C,BoostFormat.h: add more explict instantations
6967 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * lots of files: handle USE_BOOST_FORMAT
6971 2002-11-21 John Levon <levon@movementarian.org>
6973 * pspell.C: fix compile
6975 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * lyxfunc.C (dispatch): use boost::format
6981 * lyxfont.C (stateText): use boost::format
6983 * lyx_main.C (LyX): use boost::format
6985 (queryUserLyXDir): ditto
6988 (typedef boost::function): use the recommened syntax.
6990 * importer.C (Import): use boost::format
6992 * debug.C (showLevel): use boost::format
6994 * converter.C (view): use boost::format
6999 * bufferview_funcs.C (currentState): use boost::format
7001 * bufferlist.C (emergencyWrite): use boost::format
7003 * buffer.C (readLyXformat2): use boost::format
7004 (parseSingleLyXformat2Token): ditto
7006 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7008 * LaTeX.C (run): use boost::format
7010 * Chktex.C (scanLogFile): use boost::format
7012 * BufferView_pimpl.C (savePosition): use boost::format
7013 (restorePosition): ditto
7014 (MenuInsertLyXFile): ditto
7016 * BoostFormat.h: help file for explicit instation.
7018 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7020 * tabular.C (latex): Support for block alignment in fixed width
7023 2002-11-17 John Levon <levon@movementarian.org>
7025 * BufferView_pimpl.C:
7027 * lyxfunc.C: split filedialog into open/save
7029 2002-11-08 Juergen Vigna <jug@sad.it>
7031 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7032 by my last patch (hopefully).
7034 2002-11-08 John Levon <levon@movementarian.org>
7043 * toc.C: ParConstIterator, and use it (from Lars)
7045 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7047 * lyxtextclass.[Ch]: revise and add doxygen comments
7049 2002-11-07 John Levon <levon@movementarian.org>
7051 * text.C: fix progress value for spellchecker
7053 * toc.C: fix navigate menu for insetwrap inside minipage
7055 * paragraph_funcs.C: added FIXME for suspect code
7057 2002-11-07 John Levon <levon@movementarian.org>
7059 * BufferView_pimpl.C: fix redrawing of insets
7062 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7064 * text2.C (updateCounters): fix bug 668
7066 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7068 * text3.C (dispatch): Do not make the buffer dirty when moving the
7071 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * vc-backend.C: STRCONV
7076 * text2.C (setCounter): STRCONV
7078 * paragraph.C (asString): STRCONV
7080 * lyxlength.C (asString): STRCONV
7081 (asLatexString): ditto
7083 * lyxgluelength.C (asString): STRCONV
7084 (asLatexString): ditto
7086 * lyxfunc.C (dispatch): STRCONV
7089 * lyxfont.C (stateText): STRCONV
7091 * importer.C (Import): STRCONV
7093 * counters.C (labelItem): STRCONV
7094 (numberLabel): ditto
7095 (numberLabel): remove unused ostringstream o
7100 * bufferview_funcs.C (currentState): STRCONV
7102 * buffer.C (readFile): STRCONV
7103 (asciiParagraph): ditto
7104 (makeLaTeXFile): ditto
7106 * Spacing.C (writeEnvirBegin): STRCONV
7108 * LaTeXFeatures.C (getLanguages): STRCONV
7109 (getPackages): ditto
7111 (getBabelOptions): ditto
7112 (getTClassPreamble): ditto
7113 (getLyXSGMLEntities): ditto
7114 (getIncludedFiles): ditto
7118 (scanAuxFile): ditto
7121 * LString.h: add the STRCONV macros
7123 * BufferView_pimpl.C (savePosition): STRCONV
7124 (restorePosition): ditto
7125 (MenuInsertLyXFile): ditto
7127 * vc-backend.C (scanMaster): change from submatch[...] to
7130 * funcrequest.C: include config.h
7132 * factory.C: include config.h
7134 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7136 * box.C: include config.h
7138 * LaTeX.C (scanAuxFile): change from submatch[...] to
7142 2002-10-25 Angus Leeming <leeming@lyx.org>
7144 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7146 * ispell.[Ch] (setError): new method.
7147 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7148 Use setError() insetead of goto END.
7150 * lyx_cb.C (AutoSave): move out child process into new class
7153 2002-10-30 John Levon <levon@movementarian.org>
7155 * text3.C: make start appendix undoable
7157 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7159 * lyxlength.C (inPixels): Fix returned value.
7161 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7164 2002-10-24 Angus Leeming <leeming@lyx.org>
7166 * lyxgluelength.h: no need to forward declare BufferParams
7167 or BufferView, so don't.
7169 2002-10-21 John Levon <levon@movementarian.org>
7171 * BufferView.C: menuUndo ->undo, redo
7173 * BufferView.h: document, remove dead, make some methods private
7175 * paragraph_funcs.h:
7176 * paragraph_funcs.C:
7177 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7182 * sgml.C: move sgml open/close tag into sgml.C
7184 * bufferview_funcs.h: unused prototype
7187 * lyxfunc.C: remove unused
7190 * text.C: remove unused
7192 2002-10-21 John Levon <levon@movementarian.org>
7196 * BufferView_pimpl.h:
7197 * BufferView_pimpl.C: fix mouse wheel handling based on
7198 patch from Darren Freeman
7200 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7202 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7204 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7206 * lyxlength.C (inPixels): Fix hanfling of negative length.
7207 Fix LyXLength::MU case.
7209 2002-10-16 John Levon <levon@movementarian.org>
7211 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7213 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7215 * converter.C (view): add support for $$i (file name) and $$p
7216 (file path) for the viewer command. If $$i is not specified, then
7217 it is appended to the command (for compatibility with old syntax)
7219 2002-10-14 Juergen Vigna <jug@sad.it>
7221 * undo_funcs.C (textHandleUndo): alter the order in which the
7222 new undopar is added to the LyXText, as we have to set first
7223 the right prev/next and then add it as otherwise the rebuild of
7224 LyXText is not correct. Also reset the cursor to the right paragraph,
7225 with this IMO we could remove the hack in "redoParagraphs()".
7227 2002-10-09 Angus Leeming <leeming@lyx.org>
7229 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7230 to turn off an optimisation if a new inset is to be inserted.
7232 2002-10-11 André Pönitz <poenitz@gmx.net>
7234 * lyxtext.h: make some functions public to allow access
7235 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7237 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * text3.C (dispatch): when changing layout, avoid an infinite loop
7242 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7244 * lyxrc.C (read): treat a viewer or converter command of "none" as
7247 * MenuBackend.C (expandFormats): for an update, also allow the
7248 formats that are not viewable
7250 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7251 script if it is newer than the lyxrc.defaults in user directory
7253 2002-10-07 André Pönitz <poenitz@gmx.net>
7255 * text.C: Vitaly Lipatov's small i18n fix
7257 2002-09-25 Angus Leeming <leeming@lyx.org>
7259 * ispell.h: doxygen fix.
7261 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7263 * buffer.h (readFile): Add a new argument to the method, to allow
7264 reading of old-format templates.
7266 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7268 * toc.C (getTocList): Get TOC from InsetWrap.
7270 2002-09-16 John Levon <levon@movementarian.org>
7272 * lyxfunc.C: check tabular for cut/copy too
7274 2002-09-12 John Levon <levon@movementarian.org>
7279 * factory.C: add header
7281 * paragraph_funcs.h:
7282 * paragraph_funcs.C: cleanup
7284 2002-09-11 John Levon <levon@movementarian.org>
7286 * PrinterParams.h: odd/even default to true
7288 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7290 * PrinterParams.h: update printer parameters for new xforms dialog
7292 2002-09-11 Angus Leeming <leeming@lyx.org>
7294 * lyxserver.C (read_ready): re-write to make it more transparent
7295 and to make it work in coherent fashion under Tru64 Unix.
7297 2002-09-11 André Pönitz <poenitz@gmx.net>
7301 * text3.C: implement LFUN_WORDSEL
7303 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7306 make floatlist_ a boost::shared_ptr<FloatList>
7308 * lyxtextclass.C: include FloatList.h
7309 (LyXTextClass): initialize floatlist_
7310 (TextClassTags): add TC_NOFLOAT
7311 (Read): match "nofloat" to TC_NOFLOAT and use it.
7312 (readFloat): modify call to floatlist_
7316 * FloatList.[Ch] (FloatList): remove commented out float
7318 (erase): new function
7320 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * MenuBackend.C (expandToc): fix crash when there is no document
7325 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7327 * many files: Add insetwrap.
7329 2002-09-09 John Levon <levon@movementarian.org>
7331 * text2.C: remove confusing and awkward depth wraparound
7333 2002-09-09 John Levon <levon@movementarian.org>
7335 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7338 * buffer.C: remove getIncludeonlyList()
7341 * lyxfunc.C: remove headers
7343 2002-09-09 Juergen Vigna <jug@sad.it>
7345 * text.C (getColumnNearX): fix form Michael this is most
7346 probably a cut&paste bug.
7348 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7352 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7353 references, ws changes.
7355 * text2.C (init): update counters after init
7356 (insertParagraph): no need to set counter on idividual paragraphs.
7357 (setCounter): access the counters object in the textclass object
7358 on in the buffer object.
7359 (updateCounters): ditto
7361 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7362 shared_ptr<Counters> to avoid loading counters.h in all
7364 (LyXTextClass): initialize ctrs_
7365 (TextClassTags): add TC_COUNTER, and ...
7366 (Read): use it here.
7367 (CounterTags): new tags
7368 (readCounter): new function
7369 (counters): new funtion
7370 (defaultLayoutName): return a const reference
7372 * counters.C (Counters): remove contructor
7373 (newCounter): remove a couple of unneeded statements.
7374 (newCounter): simplify a bit.
7375 (numberLabel): some small formatting changes.
7377 * buffer.[Ch]: remove all traces of counters, move the Counters
7378 object to the LyXTextClass.
7380 2002-09-06 Alain Castera <castera@in2p3.fr>
7382 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7383 package to set the horizontal alignment on fixed width columns.
7386 * lyx_sty.h: added tabularnewline macro def.
7388 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7390 2002-09-06 John Levon <levon@movementarian.org>
7392 * LyXAction.C: tooltips for sub/superscript
7394 * MenuBackend.C: a bit more verbose
7396 * lyxfunc.C: tiny clean
7398 * undo_funcs.C: document undo_frozen
7400 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * counters.C (Counters): add missing algorithm counter.
7404 * text2.C (setCounter): lookup the counter with layouts latexname
7405 instead of by section number.
7406 (setCounter): use a hackish way to lookup the correct enum
7408 a float name->type change
7409 reset enum couners with counter name directly instead of depth value.
7411 * counters.C (Counters): remove the push_backs, change to use the
7412 float type not the float name.
7413 (labelItem): remove unused string, float name->type change
7415 * counters.h: don't include vector, loose the enums and sects vectors
7417 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7420 (Read): add float->TC_FLOAT to textclassTags
7421 (Read): and handle it in the switch
7422 (readFloat): new function
7424 * FloatList.C (FloatList): comment out the hardcoded float
7427 * lyxlayout.h: ws change.
7429 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7431 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7433 2002-09-03 Angus Leeming <leeming@lyx.org>
7435 * BufferView_pimpl.h: qualified name is not allowed in member
7436 declaration: WorkArea & Pimpl::workarea() const;
7438 * factory.C: added using std::endl directive.
7440 * text3.C: added using std::find and std::vector directives.
7442 2002-08-29 André Pönitz <poenitz@gmx.net>
7445 * text2.C: remove unused member number_of_rows
7448 * BufferView2.C: remove file, move contents to...
7449 * BufferView.C: ... here
7451 * BufferView_pimpl.C:
7452 * factory.C: move more inset creation to factory
7454 * vspace.C: avoid direct usage of LyXText, ws changes
7457 don't provide direct access to WorkArea, use two simple
7458 acessors haveSelction() and workHeight() instead
7461 2002-08-29 John Levon <levon@movementarian.org>
7463 * BufferView_pimpl.C (dispatch): do not continue when
7466 2002-08-28 André Pönitz <poenitz@gmx.net>
7468 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7471 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7473 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7475 * buffer.C: increment LYX_FORMAT to 221
7477 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7478 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7480 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7482 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7484 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * factory.C (createInset): use LyXTextClass::floats
7488 * MenuBackend.C (expandFloatListInsert):
7489 (expandFloatInsert):
7492 * text2.C (setCounter):
7494 * LaTeXFeatures.C (useFloat):
7495 (getFloatDefinitions):
7497 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7499 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7500 floatlist_, with accessor floats().
7502 * FloatList.h: remove global FloatList
7504 2002-08-26 André Pönitz <poenitz@gmx.net>
7506 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7510 * BufferView_pimpl.C:
7511 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7513 2002-08-25 John Levon <levon@movementarian.org>
7515 * LyXAction.C: fix margin note description
7517 2002-08-24 John Levon <levon@movementarian.org>
7521 * bufferview_funcs.C:
7523 * undo_funcs.C: cleanups
7525 * lyxfunc.C: disable CUT/COPY when no selection
7527 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7529 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7530 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7532 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7533 Add backward compatibility to "mono", "gray" and "no".
7535 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7537 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7538 (and file_format >= 200).
7540 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7542 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7544 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7546 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7548 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7550 * BufferView_pimpl.C:
7557 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7558 inset and code to make it work with the paragraph code. The inset
7559 can be anywhere in the paragraph, but will only do the expected
7560 thing in LaTeX if the layout file contains the parameter line
7562 (or more generally, a nonzero value) for that layout.
7564 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * paragraph.h: remove the declaration of undefined counters class
7569 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7571 * text2.C (setCounter): fixed enumeration mis-count as reported by
7572 Dr. Richard Hawkins.
7574 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7576 * paragraph_funcs.h: remove some unneeded includes
7578 * text.C (backspace): pasteParagraph now in global scipe
7580 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7581 (pasteSelection): ditto
7583 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7584 * paragraph_funcs.C (pasteParagraph): ... here
7586 2002-08-20 André Pönitz <poenitz@gmx.net>
7588 * commandtags.h: new LFUNs for swapping/copying table row/colums
7591 * lyxfunc.C: support for new lfuns
7593 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * buffer.[Ch]: remove NO_COMPABILITY stuff
7598 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * boost.C (throw_exception): new file, with helper function for
7601 boost compiled without exceptions.
7606 * ParameterStruct.h:
7607 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7609 * bufferlist.C (emergencyWriteAll): use boost bind
7611 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7613 * text.C: include paragraph_funcs.h
7614 (breakParagraph): breakParagraph is now in global scope
7616 * paragraph_funcs.[Ch]: new files
7618 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7621 * buffer.C: include paragraph_funcs.h
7622 (insertStringAsLines): breakParagraph is now in global scope
7624 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7627 * CutAndPaste.C: include paragraph_funcs.h
7628 (cutSelection): breakParagraphConservative is now in global scope
7629 (pasteSelection): ditto
7631 * buffer.h: declare oprator== and operator!= for
7632 Buffer::inset_iterator
7634 * bufferlist.C (emergencyWrite): don't use fmt(...)
7636 * text3.C: add using std::endl
7638 * BufferView.C (moveCursorUpdate): remove default arg
7640 2002-08-20 André Pönitz <poenitz@gmx.net>
7642 * buffer.[Ch]: move inline functions to .C
7645 * BufferView_pimpl.C:
7647 * buffer.[Ch]: use improved inset_iterator
7650 * paragraph.[Ch]: write one paragraph at a time
7652 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7654 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7655 style if style is not specified.
7657 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7659 * text2.C (setCounter): when searching for right label for a
7660 caption, make sure to recurse to parent insets (so that a caption
7661 in a minipage in a figure float works) (bug #568)
7663 2002-08-20 André Pönitz <poenitz@gmx.net>
7665 * text3.C: new file for LyXText::dispatch() and helpers
7667 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7669 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7671 2002-08-19 André Pönitz <poenitz@gmx.net>
7674 * text.C: new LyXText::dispatch()
7676 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7678 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7680 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7682 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7685 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7687 * Makefile.am: use $(variables) instead of @substitutions@
7689 2002-08-15 André Pönitz <poenitz@gmx.net>
7692 * BufferView_pimpl.C: streamlining mathed <-> outer world
7696 * LyXAction.C: remove unused LFUN_MATH
7698 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7702 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * paragraph.C (Paragraph): reformat a bit
7705 (cutIntoMinibuffer): use builtin InsetList function instad of
7709 * buffer.C: include boost/bind.hpp, add using std::for_each
7710 (writeFileAscii): use ParagraphList iterators
7711 (validate): use for_each for validate traversal of paragraphs
7712 (getBibkeyList): use ParagraphList iterators
7713 (resizeInsets): use for_each to resizeInsetsLyXText for all
7715 (getParFromID): use ParagraphList iterators
7717 * BufferView2.C (lockInset): use paragraph list and iterators
7719 2002-08-14 John Levon <levon@movementarian.org>
7721 * lyxserver.C: remove spurious xforms include
7723 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7727 2002-08-13 André Pönitz <poenitz@gmx.net>
7730 * lyxfunc.C: further cleaning
7732 2002-08-13 André Pönitz <poenitz@gmx.net>
7734 * funcrequest.h: new constructor
7736 * funcrequest.C: move stuff here from .h
7739 * BufferView_pimpl.C:
7742 * lyxfunc.C: subsequent changes
7744 * lyxfunc.h: new view() member function
7746 * lyxfunc.C: subsequent changes
7748 2002-08-13 Angus Leeming <leeming@lyx.org>
7751 * BufferView_pimpl.C:
7759 changes due to the changed LyXView interface that now returns references
7760 to member variables not pointers.
7762 2002-08-13 Angus Leeming <leeming@lyx.org>
7764 * WordLangTuple (word, lang_code): return references to strings,
7769 * lyxtext.h: forward-declare WordLangTuple.
7774 * text.C: #include "WordLangTuple.h".
7777 * text.C: (selectNextWordToSpellcheck): constify return type.
7779 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7785 * paragraph_pimpl.h:
7788 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7790 Made updateCounter always count from start of buffer, and removed
7791 second argument (par).
7792 Reverted floats number display to '#'. Perhaps I'll try again when the
7793 code base is sanitized a bit.
7795 2002-08-12 Angus Leeming <leeming@lyx.org>
7797 * buffer.[Ch] (getLabelList): constify.
7799 2002-08-07 André Pönitz <poenitz@gmx.net>
7801 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7803 * funcrequest.h: extension to keep mouse (x,y) position
7805 2002-08-12 Juergen Vigna <jug@sad.it>
7807 * BufferView2.C (insertErrors): forbid undo when inserting error
7810 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7812 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * ParagraphList.[Ch]: new files
7816 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7818 * BufferView2.C (lockInset): ParagraphList changes
7821 * bufferlist.C: ditto
7825 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7828 unused class variable counter_,
7830 * paragraph.[Ch] (getFirstCounter): delete unused function
7832 * counters.C: include LAssert.h
7833 (reset): add a new function with no arg, change other version to
7834 not have def. arg and to not allow empty arg.
7836 * text2.C (setCounter): remove empty arg from call to Counters::reset
7838 2002-08-11 John Levon <levon@movementarian.org>
7840 * Makefile.am: add WordLangTuple.h
7842 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7844 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7845 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7847 * insets/insettext.C: InsetList changes
7849 * graphics/GraphicsSupport.C (operator()): InsetList changes
7851 * toc.C (getTocList): InsetList changes
7853 * paragraph_pimpl.[Ch]: InsetList changes
7855 * paragraph.[Ch]: InsetList changes
7857 * buffer.C (inset_iterator): InsetList changes
7858 (setParagraph): ditto
7859 * buffer.h (inset_iterator): ditto
7860 * iterators.C (operator++): ditto
7861 * iterators.h: ditto
7863 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7865 * InsetList.[Ch]: new files, most InsetList handling moved out of
7868 * BufferView2.C (removeAutoInsets): InsetList changes
7870 (ChangeInsets): ditto
7872 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * paragraph_pimpl.h (empty): new function
7876 * paragraph.[Ch] (empty): new function
7878 * other files: use the new Paragraph::empty function
7880 2002-08-09 John Levon <levon@movementarian.org>
7882 * lyxtext.h: remove unused refresh_height
7884 2002-08-09 John Levon <levon@movementarian.org>
7891 * paragraph.C: move sgml char escaping out of paragraph
7894 * paragraph.C: remove id setter
7898 * paragraph_pimpl.C: remove dead tex_code_break_column
7900 * bufferview_funcs.C: small cleanup
7902 * lyxfunc.C: remove dead proto
7904 * lyxtext.h: make some stuff private. Remove some dead stuff.
7906 * lyxgluelength.C: make as[LyX]String() readable
7908 2002-08-08 John Levon <levon@movementarian.org>
7913 * ToolbarDefaults.C:
7916 * toc.C: lyxaction cleanup
7918 2002-08-08 John Levon <levon@movementarian.org>
7920 * BufferView2.C: small cleanup
7923 * lyxfind.C: move unnecessary header into the .C
7925 2002-08-08 John Levon <levon@movementarian.org>
7927 * funcrequest.h: just tedious nonsense
7930 * lyx_main.C: cleanups
7933 * vspace.C: remove dead header lyx_main.h
7935 2002-08-07 Angus Leeming <leeming@lyx.org>
7938 * paragraph_pimpl.h:
7939 Forward declare class Counters in paragraph.h by moving the ctrs member
7940 variable into Paragraph::Pimpl.
7941 (counters): new method, returning a reference to pimpl_->ctrs.
7943 * text2.C: ensuing changes.
7945 2002-08-07 John Levon <levon@movementarian.org>
7947 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7949 * BufferView_pimpl.C: announce X selection on double/triple
7952 * lyx_main.C: use correct bool in batch dispatch
7954 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7956 2002-08-07 André Pönitz <poenitz@gmx.net>
7958 * funcrequest.h: new class to wrap a kb_action and its argument
7961 * BufferView_pimpl[Ch]:
7965 * lyxrc.C: subsequent changes
7968 2002-08-07 John Levon <levon@movementarian.org>
7970 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7971 document options change.
7973 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7978 * makefile.am: move counters functionality over from
7979 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7981 2002-08-06 John Levon <levon@movementarian.org>
7983 * WordLangTuple.h: new file for word + language code tuple
7994 * BufferView2.C: use WordLangTuple
7997 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7999 2002-08-06 John Levon <levon@movementarian.org>
8001 * lyx_main.C: fix cmdline batch handling
8003 2002-08-06 André Pönitz <poenitz@gmx.net>
8005 * lyxrc.C: set default for show_banner to true
8007 2002-08-06 John Levon <levon@movementarian.org>
8009 * pspell.C: fix a crash, and allow new aspell to work
8011 2002-08-06 John Levon <levon@movementarian.org>
8014 * kbmap.C: small cleanup
8017 * vspace.C: add const
8019 2002-08-05 John Levon <levon@movementarian.org>
8021 * LyXAction.C: back to tabular-insert
8023 2002-08-04 John Levon <levon@movementarian.org>
8026 * BufferView.C: cosmetic change
8028 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8038 * BufferView2.C: purge all "Lyx" not "LyX" strings
8041 * lyxcursor.C: attempt to add some documentation
8046 * ToolbarDefaults.C:
8047 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8048 merge with LFUN_TABULAR_INSERT
8055 * pspell.C: split up i/pspell implementations into separate
8056 files, many cleanups
8058 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8060 * text2.C: some cleanup
8062 * lyxfunc.C: don't check for isp_command == "none" any more, it
8063 didn't make any sense
8065 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8070 * makefile.am: move counters functionality over
8071 from text2.C/paragraph.[Ch] to counters.[Ch], and
8073 2002-08-02 John Levon <levon@movementarian.org>
8075 * buffer.C: s/lyxconvert/lyx2lyx/
8077 2002-08-02 Angus Leeming <leeming@lyx.org>
8079 * lyxlex.C: revert John's change as it breaks reading of the user
8082 2002-08-02 Angus Leeming <leeming@lyx.org>
8084 * importer.C (Import):
8085 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8086 changes due to LyXView::view() now returning a boost::shared_ptr.
8088 2002-08-02 John Levon <levon@movementarian.org>
8090 * lyxlex.C: small cleanup
8092 2002-08-02 John Levon <levon@movementarian.org>
8094 * text2.C (status): small cleanup, no logic change
8096 2002-08-01 John Levon <levon@movementarian.org>
8099 * buffer.C (writeFile): don't output alerts, caller
8103 * lyx_cb.C: from above
8105 * lyxfunc.C: allow to open non-existent files
8107 2002-07-31 John Levon <levon@movementarian.org>
8109 * lyxserver.C: don't let incidental errors get
8112 2002-07-30 John Levon <levon@movementarian.org>
8114 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8116 2002-07-30 John Levon <levon@movementarian.org>
8119 * lyxserver.C: remove I/O callback too
8121 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8126 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * many files: strip,frontStrip -> trim,ltrim,rtrim
8130 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * PrinterParams.h: remove extern containsOnly, and include
8133 support/lstrings.h instead.
8135 * LaTeX.C (scanAuxFile): modify because of strip changes
8137 * buffer.C (makeLaTeXFile): ditto
8138 * bufferparams.C (writeFile): ditt
8139 * lyxfont.C (stateText): ditto
8140 * lyxserver.C (read_ready): ditto
8141 * vc-backend.C (scanMaster): ditto
8143 * BufferView_pimpl.h: ws changes
8145 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8147 2002-07-26 André Pönitz <poenitz@gmx.net>
8149 * kb_sequence.C: remove unnedred usings
8151 2002-07-26 Juergen Vigna <jug@sad.it>
8153 * lyxfind.C (LyXReplace): we have to check better if the returned
8154 text is not of theLockingInset()->getLockingInset().
8156 2002-07-25 Juergen Vigna <jug@sad.it>
8158 * lyxfind.C (LyXReplace): don't replace if we don't get the
8161 * undo_funcs.C (createUndo): remove debugging code.
8163 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8165 * buffer.C (parseSingleLyXformat2Token): Use default placement
8166 when reading old floats.
8168 * FloatList.C (FloatList): Change the default placement of figure
8169 and tables to "tbp".
8171 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8173 * MenuBackend.C: using std::max
8175 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8177 * MenuBackend.C (expandToc):
8178 (expandToc2): code moved from xforms menu frontend. It is now
8179 generic and TOCs are transparent to menu frontends.
8181 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * toc.C (getTocList): protect against buf=0
8185 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8186 Menu as first parameter. Now, this calls itself recursively to
8187 expand a whole tree (this will be useful for TOC handling)
8188 (expandFloatInsert): remove 'wide' version of floats
8190 * MenuBackend.h (submenuname): returns the name of the submenu.
8191 (submenu): returns the submenu itself, provided it has been
8192 created by MenuBackend::expand
8194 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8197 insets which have noFontChange == true. (bug #172)
8199 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8201 * BufferView_pimpl.C: add connection objects and use them...
8204 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8206 * MenuBackend.C (expandLastfiles):
8209 (expandFloatListInsert):
8210 (expandFloatInsert):
8211 (expand): split expand in parts
8213 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8215 * lyx_gui.C: use lyx_gui::exit()
8217 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8219 * LyXAction.C: show the failing pseudo action
8221 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8223 * buffer.C (readFile): Run the lyxconvert script in order to read
8226 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8230 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8236 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8238 2002-07-22 Herbert Voss <voss@lyx.org>
8241 * lyxlength.[Ch]: add support for the vertical lengths
8243 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8245 * toc.[Ch]: std:: fixes
8247 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8249 * lyxrc.C: do not include lyx_main.h
8251 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8257 * BufferView2.C: include "lyxlex.h"
8260 * bufferparams.h: do not #include "lyxlex.h"
8262 * lyxtextclasslist.C (Add): remove method
8263 (classlist): renamed to classlist_
8265 * paragraph_pimpl.C:
8269 * bufferview_funcs.C:
8274 * toc.C (getTocList): use BufferParams::getLyXTextClass
8276 * toc.C (getTocList): use InsetFloat::addToToc
8278 * toc.[Ch]: new files, containing helper functions to handle table
8281 * lyxfunc.C (dispatch): no need to remove spaces around command
8283 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8284 first command of the sequence; it is not very clever, but I do not
8285 have a better idea, actually
8287 * LyXAction.C (LookupFunc): make sure to remove space at the
8288 beginning and end of the command
8290 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8292 * MenuBackend.C (getMenubar): new method: return the menubar of
8294 (read): treat differently reading of menu and menubar (in
8295 particular, the menubar has no name now)
8296 (Menu::menubar): remove
8298 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8301 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8303 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8304 a bibitem inset in a RTL paragraph.
8306 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8308 * paragraph_pimpl.C: constify
8310 * BufferView_pimpl.C:
8312 * lyxfunc.C: fix dispatch in a nicer way
8314 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8316 * lyxfunc.C (dispatch):
8317 * BufferView_pimpl.C:
8318 * BufferView_pimpl.h:
8320 * BufferView.h: rename Dispatch() to dispatch()
8322 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8324 * lyxlayout.C (Read): honor DependsOn tag
8326 * lyxlayout.[Ch] (depends_on): new method
8328 * version.C.in: update lyx_docversion
8330 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8332 * paragraph.C (validate): remove from here...
8333 * paragraph_pimpl.C (validate): ... and move here
8334 (isTextAt): make it const
8336 * buffer.C (getLists): ws cleanup
8338 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8340 * language.C (read): Use iso8859-1 encoding in latex_lang
8341 (this prevents LyX from crashing when using iso10646-1 encoding).
8343 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8345 * text2.C (toggleInset): if cursor is inside an inset, close the
8346 inset and leave cursor _after_ it
8348 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8350 * lyxfunc.C: move minibuffer completion handling out of here
8352 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8354 * BufferView_pimpl.C:
8355 * LaTeX.C: fix dispatch calls
8357 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8359 * text.C (drawChars): Fix Arabic text rendering.
8361 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8365 * lyxfunc.C: remove message-push/pop
8369 * lyxfunc.C: rationalise some code by removing verboseDispatch
8370 in favour of a bool argument to dispatch()
8372 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8374 * lyx_main.C (init): make sure to read symlinks as absolute paths
8376 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8379 * lyxfunc.C: no need for commandshortcut to be a member
8381 2002-07-15 André Pönitz <poenitz@gmx.net>
8383 * converter.C: add support for $$s (scripts from lib/scripts dir)
8384 * lyx_main.C: white space
8386 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8390 * lyxrc.C: remove second exit confirmation
8392 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8397 * BufferView_pimpl.h:
8398 * BufferView_pimpl.C:
8399 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8401 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * MenuBackend.C (expand): add numeric shortcuts to document menu
8405 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8407 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * lyxfont.C (setLyXFamily):
8416 * buffer.C (asciiParagraph): use ascii_lowercase
8418 2002-07-15 Mike Fabian <mfabian@suse.de>
8420 * lyxlex_pimpl.C (search_kw):
8421 * lyxlex.C (getLongString):
8422 * converter.h (operator<):
8423 * converter.C (operator<):
8424 * buffer.C (parseSingleLyXformat2Token):
8426 * ToolbarDefaults.C (read):
8427 * MenuBackend.C (checkShortcuts):
8429 * LColor.C (getFromGUIName):
8430 (getFromLyXName): use the compare_ascii_no_case instead of
8431 compare_no_case, because in turkish, 'i' is not the lowercase
8432 version of 'I', and thus turkish locale breaks parsing of tags.
8434 2002-07-16 Angus Leeming <leeming@lyx.org>
8436 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8437 now takes a Buffer const & argument.
8439 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8441 * BufferView.C (resize): check there's a buffer to resize
8443 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8445 * lyxfunc.C: remove dead code
8448 * lyxserver.C: use lyx_guii::set_read_callback
8450 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8452 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8453 an inset in a RTL paragraph.
8455 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8457 * lyxfunc.C: repaint after a font size update
8459 2002-07-15 André Pönitz <poenitz@gmx.net>
8461 * lyxlength.C: inBP should be able to return negative values
8463 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8465 * lyxfunc.C: use lyx_gui::update_fonts()
8467 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8469 * lyxfunc.C: use lyx_gui::update_color()
8471 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8477 * lyxrc.C: remove file->new asks for name option, and let
8478 buffer-new take an argument
8480 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8482 * BufferView_pimpl.C: remove unneeded extra repaint()
8484 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8486 * LyXAction.C: allow command-sequence with NoBuffer
8488 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8490 2002-07-10 Angus Leeming <leeming@lyx.org>
8492 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8494 2002-07-09 Angus Leeming <leeming@lyx.org>
8496 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8498 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8500 * lengthcommon.h: whitespace
8502 * lyxfunc.C: update scrollbar after goto paragraph
8504 * lyxtext.h: factor out page break drawing, and fix it so
8505 page break/added space paints as selected nicely
8507 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8509 * BufferView_pimpl.C: add FIXMEs, clean up a little
8511 2002-07-09 André Pönitz <poenitz@gmx.net>
8513 * lyxfont.[Ch]: support for wasy symbols
8515 2002-07-08 André Pönitz <poenitz@gmx.net>
8517 * BufferView_pimpl.C: apply John's patch for #93.
8519 2002-07-05 Angus Leeming <leeming@lyx.org>
8521 * BufferView_pimpl.C (buffer): generate previews if desired.
8523 * LColor.h: add "preview" to the color enum.
8525 * LColor.C (LColor): add a corresponding entry to the items array.
8527 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8530 2002-07-05 Angus Leeming <leeming@lyx.org>
8532 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8533 The body of the code is now in the method that is passed an ostream &
8534 rather than a file name.
8535 Pass an additional only_preamble parameter, useful for the forthcoming
8538 2002-07-03 André Pönitz <poenitz@gmx.net>
8540 * lyxfunc.C: simplify getStatus() a bit for math stuff
8542 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8544 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8546 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8548 * text.C (changeRegionCase): do not change case of all the
8549 document when region ends at paragraph end (bug #461)
8551 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8553 * paragraph.C (startTeXParParams):
8554 (endTeXParParams): add \protect when necessary
8556 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8558 * BufferView_pimpl.C (workAreaExpose): remove warning
8560 2002-06-27 Angus Leeming <leeming@lyx.org>
8562 * Makefile.am: add lyxlayout_ptr_fwd.h.
8564 2002-06-26 André Pönitz <poenitz@gmx.net>
8566 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8568 2002-06-25 Angus Leeming <leeming@lyx.org>
8570 * lyxfunc.C (dispatch): Comment out the call to
8571 grfx::GCache::changeDisplay. The method no longer exists now that the
8572 pixmap generation part of the graphics loader has been moved into
8575 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8577 * text2.C: layout as layout
8579 * text.C: layout as layout
8581 * tabular.C (OldFormatRead): layout as layout
8583 * paragraph_pimpl.C (TeXDeeper): layout as layout
8584 (realizeFont): layout as layout
8586 * paragraph.C (writeFile): layout as layout
8587 (validate): layout as layout
8588 (getFont): layout as layout
8589 (getLabelFont): layout as layout
8590 (getLayoutFont): layout as layout
8591 (breakParagraph): layout as layout
8592 (stripLeadingSpaces): layout as layout
8593 (getEndLabel): layout as layout
8594 (getMaxDepthAfter): layout as layout
8595 (applyLayout): layout as layout
8596 (TeXOnePar): layout as layout
8597 (simpleTeXOnePar): layout as layout
8598 (TeXEnvironment): layout as layout
8599 (layout): layout as layout
8600 (layout): layout as layout
8602 * lyxtextclass.C (compare_name): new functor to work with
8603 shared_ptr, layout as layout
8604 (Read): layout as layout
8605 (hasLayout): layout as layout
8606 (operator): layout as layout
8607 (delete_layout): layout as layout
8608 (defaultLayout): layout as layout
8610 * lyxlayout_ptr_fwd.h: new file
8612 * lyxlayout.C (Read): layout as layout
8614 * lyx_cb.C (MenuInsertLabel): layout as layout
8616 * bufferlist.C (newFile): layout as layout
8618 * buffer.C (readLyXformat2): layout as layout
8619 (parseSingleLyXformat2Token): layout as layout
8620 (insertStringAsLines): layout as layout
8621 (asciiParagraph): layout as layout
8622 (latexParagraphs): layout as layout
8623 (makeLinuxDocFile): layout as layout
8624 (simpleLinuxDocOnePar): layout as layout
8625 (makeDocBookFile): layout as layout
8626 (simpleDocBookOnePar): layout as layout
8627 (getLists): layout as layout
8629 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8631 * CutAndPaste.C (cutSelection): layout as layout
8632 (pasteSelection): layout as layout
8633 (SwitchLayoutsBetweenClasses): layout as layout
8635 * BufferView_pimpl.C (Dispatch): layout as layout
8636 (smartQuote): layout as layout
8638 * BufferView2.C (unlockInset): layout as layout
8640 2002-06-24 André Pönitz <poenitz@gmx.net>
8642 * lyxfunc.C: fix #487
8644 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8648 * lyxfunc.C: remove display_shortcuts, show_banner
8650 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8652 * Buffer_pimpl.C: oops, update on resize
8654 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView.C: use repaint()
8663 * BufferView_pimpl.h:
8664 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8665 as it's a clearer description. Remove superfluous
8668 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8670 * text.C: fix bug 488. Not ideal, but getting
8671 getWord() to work properly for the insets that
8672 matter is more difficult ...
8674 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8676 * BufferView_pimpl.C:
8679 * lyxfunc.C: remove the six million index lyxfuncs to just
8680 one, and DTRT (bug 458)
8682 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8686 * BufferView_pimpl.h:
8687 * BufferView_pimpl.C: clean up resize() stuff,
8688 and unnecessary updateScreen()s
8690 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8694 * BufferView_pimpl.h:
8695 * BufferView_pimpl.C:
8698 * minibuffer.C: remove focus management of workarea,
8699 not needed. Use screen's greyOut()
8701 2002-06-17 Herbert Voss <voss@lyx.org>
8703 * converter.C: (convert) do not post a message, when converting
8704 fails, let the calling function decide what to do in this case
8706 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8708 * lyxfunc.C: tidy up a little
8710 2002-06-16 <alstrup@diku.dk>
8712 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8713 Got rid of FORMS_H_LOCATION include. Now we are
8716 2002-06-15 LyX Development team <lyx@rilke>
8718 * buffer.[Ch] (sgmlOpenTag):
8719 (sgmlCloseTag): Added support for avoiding pernicious mixed
8720 content. Return number of lines written.
8723 (makeDocBookFile): Fixed calls to sgml*Tag.
8724 Simple white space clean.
8726 (simpleDocBookOnePar): Simple white space clean.
8728 * tabular.[Ch] (docBook): Renamed to docbook and got another
8729 argument to related with the pernicious mixed content.
8731 (docbookRow): Fixed calls for docbook inset method.
8733 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8735 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8736 so it's X11 independent.
8740 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8742 2002-06-15 Lyx Development team <lyx@electronia>
8744 * intl.h: Renamed getTrans to getTransManager.
8746 2002-06-14 Angus Leeming <leeming@lyx.org>
8748 * Makefile.am: nuke forgotten stl_string_fwd.h.
8750 2002-06-12 Angus Leeming <leeming@lyx.org>
8752 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8754 2002-06-13 Angus Leeming <leeming@lyx.org>
8757 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8759 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8761 * kbmap.C (getiso): add support for cyrillic and greek
8763 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.h:
8768 * BufferView_pimpl.C: move bogus scrolling logic
8771 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.C: view->resize() change
8776 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8778 * BufferView_pimpl.C: topCursorVisible
8781 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8785 * lyx_gui.C: move to frontends/
8789 * lyx_main.C: changes from above
8791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8798 * lyx_main.C: minor tidy
8800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8802 * BufferView_pimpl.h:
8803 * BufferView_pimpl.C:
8805 * BufferView.C: make painter() const,
8808 * BufferView2.C: use screen() accessor
8811 * lyx_main.C: some minor cleanup
8813 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8815 * BufferView_pimpl.h:
8816 * BufferView_pimpl.C: remove enter/leaveView,
8819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8824 * BufferView_pimpl.h:
8825 * BufferView_pimpl.C: only construct screen once,
8828 * lyxrc.C: remove pointless comment
8830 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8833 * BufferView.C: remove active() and belowMouse()
8835 * BufferView_pimpl.h:
8836 * BufferView_pimpl.C: use workarea() not workarea_,
8837 and make it use a scoped_ptr instead
8839 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8841 * lyx_gui.C: add debug message on BadWindow
8843 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8845 * sp_spell.C: fdopen is not part of the C++ standard.
8847 * paragraph.C (InsetIterator): use >= instead of ==
8849 2002-06-07 Angus Leeming <leeming@lyx.org>
8851 Fixes needed to compile with Compaq cxx 6.5.
8852 * BufferView_pimpl.C:
8859 * lyxtextclasslist.C:
8864 all c-library variables have been moved into namespace std. Wrap
8865 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8870 Add a using std::abs declaration.
8872 * kbmap.h (modifier_pair):
8873 * paragraph.h (InsetTable, InsetList):
8874 * lyxfont.h (FontBits):
8875 type definition made public.
8877 * bufferlist.C (emergencyWriteAll): the compiler complains that
8878 there is more than one possible lyx::class_fun template to choose from.
8879 I re-named the void specialisation as lyx::void_class_fun.
8881 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8883 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8884 the compiler is is unable to find tostr in write_attribute.
8886 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8888 * buffer.C (sgmlError): hide #warning
8890 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8892 * xtl/*: get rid of xtl, which is not in use anyway
8894 * LyXAction.C (init):
8895 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8896 were unimplemented xtl experimentation
8898 2002-06-04 André Pönitz <poenitz@gmx.net>
8900 * lyxfunc.C: disable array operation on simple formulae
8902 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8904 * converter.C: constify a bit
8906 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8908 * lyx_gui.C: check xforms version correctly
8910 2002-04-30 Herbert Voss <voss@lyx.org>
8912 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8915 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8917 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8918 attempt to register it with a VCS)
8920 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8922 * lyx_main.C (init): honor variables LYX_DIR_13x and
8925 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8929 * lyx_main.C: fix a crash on bad command line,
8930 and give a useful exit status on error
8932 * lyxfunc.C (doImport): allow -i lyx to work
8934 2002-03-30 André Pönitz <poenitz@gmx.net>
8936 * lyxfunc.C: mathed font changes
8938 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8953 * trans_mgr.h: srcdocs, and some minor cleanups
8955 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8958 call getFont all the time)
8960 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8962 * switch from SigC signals to boost::signals
8964 2002-05-29 André Pönitz <poenitz@gmx.net>
8966 * paragraph_pimpl.C (getChar): don't call size() too often...
8968 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * paragraph_pimpl.C (insertChar): do not try to update tables when
8971 appending (pos == size())
8973 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8974 in order to reduce drastically the number of comparisons needed to
8975 parse a large document
8977 2002-05-29 André Pönitz <poenitz@gmx.net>
8983 * textclasslist.[Ch]:
8984 * sp_ispell.h: whitespace change
8986 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8988 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8989 lyxaction directly now.
8991 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8995 * lyxvc.C: remove unused headers
8997 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9004 * undo_funcs.C: some cleanups. Use shared_ptr
9005 and a template for the undo stacks.
9007 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9009 * BufferView_pimpl.h:
9010 * BufferView_pimpl.C:
9017 * text2.C: use key_state/mouse_state
9019 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9024 * chset.C: change include order
9025 (loadFile): use boost regex and get rid of LRegex and LSubstring
9027 * Makefile.am (BOOST_LIBS): new variable
9030 * LaTeX.C: change include order.
9031 (scanAuxFile): use boost regex and get rid of LRegex and
9035 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9040 * FontInfo.C: moved to frontends/xforms/
9043 * FontLoader.C: moved into frontends for GUIIzation
9048 * lyxfunc.C: changes from above
9050 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9052 * LColor.C: remove spurious X include
9054 * BufferView_pimpl.C:
9059 * text2.C: move font metrics to frontends/
9061 2002-05-24 Juergen Vigna <jug@sad.it>
9063 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9064 setting the undo_cursor.
9066 * ParagraphParameters.h: include local includes first.
9068 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9070 * BufferView_pimpl.C:
9071 * BufferView_pimpl.h:
9075 * screen.C: move WorkArea into frontends/
9081 * BufferView2.C: move LyXScreen into frontends/
9085 * lyx_gui.C: move lyxlookup into frontends/xforms/
9087 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9090 * BufferView_pimpl.C:
9100 * bufferview_funcs.C:
9113 * vc-backend.C: move LyX/XFormsView into frontends/
9115 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9127 * text2.C: move Painter to frontends/
9129 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * buffer.C: comment out some some code that depend upon lyx_format
9134 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9135 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9137 * buffer.h (NO_COMPABILITY): turn off compability
9139 * ColorHandler.C: include scoped_array.hpp
9141 * font.C: Use more specific smart_ptr header.
9144 * ShareContainer.h: ditto
9148 * BufferView_pimpl.h: ditto
9149 * ColorHandler.h: ditto
9151 * kbmap.C (defkey): change call to shared_ptr::reset
9153 2002-05-21 Juergen Vigna <jug@sad.it>
9155 * buffer.C (insertErtContents): fix to insert ert asis if it is
9156 non empty. Skip it completely if it contains only whitespaces.
9158 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9160 * BufferView_pimpl.C:
9161 * BufferView2.C: clear selection on paste (bug 393)
9163 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * DepTable.C: include ctime
9167 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9169 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9171 2002-05-14 Juergen Vigna <jug@sad.it>
9173 * text.C (breakParagraph): fixed function to honor the keepempty
9174 layout in the right maner and also to permit the right breaking
9175 algorithm on empty or non empyt keepempty paragraphs.
9177 * paragraph.C (breakParagraph): we have to check also if the par
9178 is really empty (!size()) for isempty otherwise we do the wrong
9181 2002-05-10 Juergen Vigna <jug@sad.it>
9183 * buffer.[Ch] : The following are only changes to the ert
9184 compatibility read reading old LaTeX layout and font stuff and
9185 convert it to ERTInsets.
9187 * buffer.h: added isErtInset().
9189 * buffer.C (struct ErtComp): add a fromlayout bool to check
9190 if we're inside a LaTeX layout.
9191 (isErtInset): new helper function.
9192 (insertErtContents): look for other ert insets before this one
9193 and insert the contents there, so that we don't have subsequent
9194 ERT insets with nothing between them. This way we create only one
9195 inset with multiple paragraphs. Also check if we don't insert only
9196 spaces ' ' as they are ignored anyway afterwards in the .tex file
9197 so if we have only spaces we will ignore this latex part in the
9199 (parseSingleLyXformat2Token \\layout): better compatibility when
9200 reading layout-latex stuff.
9201 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9203 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9204 stuff after reading the inset only get the information back from
9207 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9209 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9211 * LaTeXFeatures.C (getBabelOptions): New method.
9213 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9215 * BufferView_pimpl.C (Dispatch): work around missing argument for
9218 2002-05-08 Juergen Vigna <jug@sad.it>
9220 * text.C (leftMargin): handle paragraph leftindent.
9222 * paragraph.C (writeFile): write the new \\leftindent tag.
9223 (validate): handle leftindent code.
9224 (TeXEnvironment): handle paragraphleftindent code again.
9226 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9228 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9229 for paragrap_extra indent code and new token \\leftindent.
9230 (latexParagraphs): handle the leftindent as environment.
9232 * ParameterStruct.h: added leftindent support.
9234 * ParagraphParameters.C (leftIndent): added support functions for
9235 the paragraph left indent.
9237 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9240 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9242 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9245 * text.C (computeBidiTables): No bidi in insetERT.
9247 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9250 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9252 * version.C.in: pre 5
9254 2002-05-02 José Matos <jamatos@fep.up.pt>
9255 * buffer.C (makeDocBookFile): white space changes, add newline to
9257 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9259 * tabular.C (docBook): fix typo.
9261 2002-05-03 Juergen Vigna <jug@sad.it>
9263 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9264 change in LyXText as we can not be sure it was not freed.
9265 (drawOneRow): remove unused code.
9267 * text.C (drawInset): redo the calculation of the need_break_row as
9268 it could have a row which was already freed.
9269 (draw): look at the return value of drawInset and return false if
9270 it also returned false.
9271 (paintRowText): look at the return value of draw and return false if
9272 it also returned false.
9274 * lyxtext.h: added bool return type to drawInset() and draw() so that
9275 if we have a change in the row so that the rowbreak has to be redone
9276 we abort drawing as it will be called again.
9278 2002-05-02 Juergen Vigna <jug@sad.it>
9280 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9281 a change in the maintext also if we're inside an inset.
9282 (Dispatch): set the cursor again after a break line and after the
9283 screen has been updated as it could be we're in a different row.
9285 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9286 to set the cursor behind the pargraph with > size().
9287 (setCursor): check also for the same paragraph when checking where
9288 to put the cursor if we have a NFR inset.
9290 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9291 parts of layout read further up as it still was in the wrong
9294 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9296 * screen.C (drawFromTo): change sine fullRebreak always return
9299 * buffer.C (parseSingleLyXformat2Token): reindent some
9301 * BufferView_pimpl.C (update): change since fullRebreak always
9303 (Dispatch): git rid of the last hardcoded "Standard"s.
9305 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9307 * text2.[Ch] (fullRebreak): make it return void now that we always
9310 2002-04-30 Juergen Vigna <jug@sad.it>
9312 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9313 ert compatibility check for "latex" layout.
9315 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9317 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9318 minipages: use col% instead of p%, and also use the current font.
9319 (makeLaTeXFile): Fix use babel condition.
9320 (parseSingleLyXformat2Token): Correct font when reading old floats.
9322 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9324 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9325 inserting list of floats.
9327 2002-04-25 Herbert Voss <voss@lyx.org>
9329 * MenuBackend.C (expand): don't add the graphics extensions to the
9332 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9335 non-existing layout, do not complain if it was the default layout
9336 of the original class (bug #342)
9338 2002-04-24 Juergen Vigna <jug@sad.it>
9340 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9341 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9343 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9345 * buffer.C (getBibkeyList): If using \bibliography, return the
9346 option field with the reference itself. Enables us to provide natbib
9347 support when using \bibliography.
9349 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9351 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9353 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9354 natbib is provided by the LaTeX class.
9356 2002-04-23 Juergen Vigna <jug@sad.it>
9358 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9361 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9363 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9367 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9368 ensuremath around textordmasculine, textordfeminine and
9371 2002-04-19 Juergen Vigna <jug@sad.it>
9373 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9374 reinitializing the buffer otherwise row-dimensions may be wrong.
9375 (update): reset also the selection cursors if they do exits otherwise
9376 their x/y positions may be wrong.
9378 * text2.C (cursorDown): don't enter the inset if we came from a row
9379 above and are one row over the inset.
9381 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9382 really leaving an inset.
9384 2002-04-18 Juergen Vigna <jug@sad.it>
9386 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9387 of the selected paragraph does not have the selected layout also if
9390 * text2.C (setLayout): fixed bug which did not change last selected
9393 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9394 changed the read and substituted \\end_float with \\end_inset!
9396 * BufferView_pimpl.C (cursorPrevious):
9397 (cursorNext): fixed to make it work with rows heigher than the work
9398 area without moving the cursor only the draw of the row.
9399 (workAreaMotionNotify): fix jumping over high rows.
9401 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9403 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9406 2002-04-16 Juergen Vigna <jug@sad.it>
9408 * text2.C (setCursor): set also the irow().
9409 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9411 (cursorDown): support for locking an inset if the x_fix value goes
9412 inside it. That way I can transverse insets too with cursor up/down.
9414 * lyxrow.h: added irow helper function same as other (i) functions.
9416 * BufferView_pimpl.C (cursorPrevious):
9417 (cursorNext): fixed for insets!
9419 2002-04-15 Juergen Vigna <jug@sad.it>
9421 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9422 position otherwise it is wrong in some cases.
9424 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9425 inside the inset before the call.
9427 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9429 * buffer.[Ch] (getBibkeyList): make it const.
9431 2002-04-12 Juergen Vigna <jug@sad.it>
9433 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9435 * text2.C (getCursorX): new helper function
9436 (setCursor): compute also ix_
9437 (setCursorFromCoordinates): set also ix.
9439 * lyxcursor.h: added ix_ and helper functions.
9441 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9443 * buffer.C (insertStringAsLines): dont break paragraph if the this
9444 paragraph is inside an inset which does not permit it!
9446 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9447 also with no chars on this paragraph.
9448 (paintRowText): only paint stuff if it's inside the workarea!
9450 * paragraph.C (breakParagraph): honor keepempty flag and break the
9451 paragraph always below not above.
9453 * BufferView2.C (unlockInset): update the paragraph layout on inset
9454 unlock as we changed paragraph in such a case.
9456 * lyxfind.C (LyXFind): clear the former selection if not found!
9458 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9459 again called in insertChar().
9461 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9462 an inset which uses the whole row!
9463 (rightMargin): ditto.
9464 (insertChar): force a rebreak if we inserted an inset!
9466 2002-03-28 Herbert Voss <voss@lyx.org>
9468 * lyxlength.[Ch]: add inBP() to get the right PS-point
9469 units (BigPoint). With inPixels we have rounding errors
9471 2002-04-11 Juergen Vigna <jug@sad.it>
9473 * text2.C (setCursorFromCoordinates): set iy to the right value.
9474 (setCursor): add check if row->previous exists!
9476 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9477 an old float_type as this was the case in the old code!
9479 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9481 * BufferView2.C (showLockedInsetCursor): use iy
9482 (fitLockedInsetCursor): ditto
9484 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9485 locked insets as there we have the right value now.
9487 * lyxcursor.C: added iy_ variable and iy functions to set to the
9488 baseline of cursor-y of the locked inset.
9490 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9491 (setCursor): fixed for insets which need a full row.
9493 * text.C (rowLastPrintable): don't ignore the last space when before
9494 an inset which needs a full row.
9495 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9496 as last character of a row when before a inset which needs a full row.
9498 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * version.C.in: update date
9502 * text2.C (fullRebreak): try to always return true and see what
9505 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * MenuBackend.C (expand): use Floating::listName
9509 * FloatList.C (FloatList): add listName argument to the built-in
9512 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9513 text associated with the float.
9515 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9519 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9521 * ShareContainer.h: add a couple of missing typenames.
9523 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9525 * lyxrc.C (getDescription): use _() correctly rather than N_().
9527 2002-03-28 Herbert Voss <voss@lyx.org>
9529 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9530 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9532 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9535 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9537 2002-03-29 Juergen Vigna <jug@sad.it>
9539 * lyxfunc.C (dispatch): add a missing fitCursor call.
9541 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9542 it was scrolled by a cursor move, so return the bool status.
9544 * BufferView.C (fitCursor): return the bool flag also to the outside
9545 world as this is needed.
9547 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9549 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9550 call the edit() as it is not needed (and wrong) IMO.
9551 (workAreaButtonPress): set the screen_first variable before evt.
9552 unlock the inset as this may change screen_first and then we have
9553 a wrong y position for the click!
9555 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9557 * MenuBackend.C (expand): another translation that I missed
9559 2002-03-28 Juergen Vigna <jug@sad.it>
9561 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9563 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9565 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9569 * MenuBackend.C (expand): fix export/view/update when there is no
9572 2002-03-27 Herbert Voss <voss@lyx.org>
9574 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9577 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9579 * bufferview_funcs.C (currentState): only show paragraph number
9580 for is DEVEL_VERSION is set.
9582 * lyxfunc.C (dispatch): put warning in INFO channel
9584 * MenuBackend.C (expand): translate the name of floats
9586 * FloatList.C (FloatList): mark the float names for translation
9588 * converter.C (convert): use LibScriptSearch
9590 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9592 * MenuBackend.C (defaults): fix default menu (we might as well get
9595 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9600 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9602 * lyxvc.C: reorder includes.
9604 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9606 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9609 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9611 * CutAndPaste.C: change layouts earlier on paste
9612 to avoid crashing when calling getFont()
9614 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9616 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9619 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9621 * WorkArea.C: remove 'Pending' debug message.
9623 * most files: ws cleanup
9625 * buffer.[Ch]: ws changes
9627 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9629 2002-03-21 Juergen Vigna <jug@sad.it>
9631 * tabular.C (SetMultiColumn): collapse also the contents of the
9632 cells and set the last border right. Added a Buffer const * param.
9634 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9636 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9639 2002-03-19 Juergen Vigna <jug@sad.it>
9641 * text2.C (clearSelection): reset also xsel_cache.
9643 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9644 where it needs to be called (John tells us to do so too :)
9645 (selectionLost): reset sel_cache.
9647 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9649 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * text2.C (setCursorIntern): put debuging code in INSETS channel
9653 2002-03-19 André Pönitz <poenitz@gmx.net>
9655 * lyxfunc.C: tiny whitespace change
9657 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * ToolbarDefaults.C (init):
9660 * LyXAction.C (init):
9662 * BufferView_pimpl.C (Dispatch):
9663 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9665 2002-03-19 Allan Rae <rae@lyx.org>
9667 * exporter.C (Export): removeAutoInsets before doing anything else.
9668 While I've just introduced a dependency on BufferView this really is
9669 the best place to clean the buffer otherwise you need to cleanup in
9670 a dozen places before calling export or cleanup in a dozen functions
9673 * converter.C (runLaTeX):
9674 (scanLog): Better handling of removeAutoInsets and screen updates.
9676 * lyxfunc.C (dispatch): small whitespace changes
9678 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * WorkArea.C (C_WorkAreaEvent): return a value.
9681 (event_cb): return 1 if we handled the event, 0 otherwise.
9683 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9685 2002-03-18 Juergen Vigna <jug@sad.it>
9687 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9688 (GetAdditionalWidth): ditto.
9692 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9693 inset if we're there actually (probably not used right now but this
9694 is the direction to go for unifying code).
9695 (paste): disable code to clear the selection.
9697 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9698 inside an InsetText and move the check further up as it is in the
9701 * text2.C (pasteSelection): set a selection over the pasted text.
9703 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9705 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9706 and libgraphics to build on Cygwin.
9708 2002-03-15 Juergen Vigna <jug@sad.it>
9710 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9711 inserting an Inset into the paragraph. I know this is not the best
9712 fix but we already use current_view in CutAndPaste so we will remove
9713 all of it's using at the same time.
9715 * buffer.C (sgmlError): deactivated function till it is rewritten in
9716 the right mode, now it can create problems.
9718 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9719 before accessing it.
9721 2002-03-14 Juergen Vigna <jug@sad.it>
9723 * undo_funcs.C (textHandleUndo): do the right thing when updating
9724 the inset after the undo/redo.
9726 * text2.C (setCursor): just some testcode for #44 not ready yet.
9728 * undo_funcs.C (textHandleUndo): set the next() and previous()
9729 pointers of the paragraph to 0 before deleting otherwise we have
9730 problems with the Paragraph::[destructor].
9732 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9733 on a paragraph insertion.
9735 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * buffer.C (asciiParagraph): use += operator for char append to
9740 * paragraph.C (getFontSettings): compare >= not just >
9741 (highestFontInRange): ditto
9744 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * paragraph.C: change several algorithm to be more appripriate for
9747 the problem domain. This is lookip in FontList and in the InsetList.
9749 2002-03-13 André Pönitz <poenitz@gmx.net>
9752 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9754 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9759 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9761 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * Painter.C (display): anon helper function, adjust code for this
9765 (pixmap): remove function.
9767 * Painter.h: remove private display variable.
9769 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9771 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9773 * WorkArea.[Ch]: remove figinset_canvas cruft.
9775 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * lyxtextclass.C (operator): add one item cache optimization.
9779 * bufferlist.h: doxy changes
9781 * bufferlist.C: ws changes
9783 * DepTable.[Ch] (ext_exist): place const in the right spot.
9785 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9787 (workAreaExpose): call resizeInsets when the with BufferView changes.
9788 (Dispatch): adjust for protectedBlank removal
9789 (specialChar): call updateInset if the insert went ok.
9791 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9792 specialChar instead.
9794 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9796 * BufferView.h: doxy change
9798 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9800 * lyxtextclass.C (operator[]): remove non-const version
9801 (defaultLayout): remove non-const version
9803 2002-03-12 Juergen Vigna <jug@sad.it>
9805 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9806 did resize the LyXText too.
9808 * buffer.C (readLyXformat2): set layout information on newly allocated
9811 * tabular.C (OldFormatRead): set layout information on the paragraph.
9813 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9815 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9817 2002-03-11 Juergen Vigna <jug@sad.it>
9819 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9821 (resizeCurrentBuffer): force also the insets to resize themselfes.
9822 (moveCursorUpdate): fixed up for InsetText.
9824 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9827 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9828 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9829 value of Dialogs::tooltipsEnabled().
9830 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9832 2002-03-08 Juergen Vigna <jug@sad.it>
9834 * BufferView_pimpl.C (updateInset): update inset inside inset also
9835 if it isn't inside theLockingInset().
9837 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9839 * buffer.C (asciiParagraph): redo some of the word and line length
9841 (getLists): look for Caption instead of caption.
9843 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9845 * buffer.C (Buffer): initialize niceFile to true
9848 (makeDocBookFile): make sure niceFile is true on exit
9850 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9854 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9856 * LyXSendto.C: remove.
9857 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9858 * lyx_gui.C: remove now-redundant comment.
9859 * ColorHandler.h: remove forward declaration of class WorkArea.
9860 * lyxfunc.C: remove #include "WorkArea.h".
9862 2002-03-07 Juergen Vigna <jug@sad.it>
9864 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9865 got moved away with the DEPM and also set the inset_owner always
9866 right which before could have been omitted.
9868 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9871 wanted layout is not found.
9873 2002-03-07 Juergen Vigna <jug@sad.it>
9875 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9877 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * paragraph.C (breakParagraph): use default layout not layout of
9881 (Paragraph): clear ParagraphParameters.
9883 2002-03-06 Juergen Vigna <jug@sad.it>
9885 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9886 otherwise it would not be a valid lenght. Fixed a special case in
9887 the minipage compatibility read where we end the document with a
9890 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9891 was set as it could be 0 for InsetTexts first entry.
9893 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * paragraph.C (writeFile): if layout is empty write out
9896 defaultLayoutName().
9898 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9899 file without named layout we set layout to defaultLayoutName().
9901 2002-03-06 Juergen Vigna <jug@sad.it>
9903 * CutAndPaste.C (copySelection): set layout for new paragraph.
9905 * text.C (prepareToPrint): leave ERT inset left aligned
9906 (leftMargin): don't indent paragraphs inside ERT insets
9908 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * paragraph.C (breakParagraph): dont call clear do the work manually
9912 * paragraph.[Ch] (clear): remove function
9914 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9916 * paragraph.C (Paragraph): dont call clear, the work has already
9919 * lyxtextclass.C (operator): assert if n is empty
9921 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9922 work manually instead.
9924 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9926 * BufferView_pimpl.C: protect selectionLost against text == 0
9928 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9930 * text.C (breakParagraph): fix a setting layout to '0' problem.
9932 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9934 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9935 final location of file, for the included files, and graphics.
9937 2002-03-05 Juergen Vigna <jug@sad.it>
9939 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9941 2002-03-04 Juergen Vigna <jug@sad.it>
9943 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9945 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9946 last column of multicolumn cells.
9947 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9949 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9951 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9952 file if it doesn't go to a temporary file.
9954 * buffer.C (sgmlOpenTag):
9955 (sgmlCloseTag): remove extra newline insertion.
9957 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9959 * text.C (getRowNearY): comment out debug msg
9961 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * text2.C: first -> first_y
9965 * text.C (getRowNearY): add some attemts at a possible
9966 optimization, not working.
9968 * tabular.[Ch]: add BufferParams to several function so that newly
9969 created paragraph can be initialized to he default layotu for the
9972 * tabular-old.C (ReadOld): add buf->params to call of Init
9974 * screen.C: rename text->first to text->first_y
9976 * paragraph.C (breakParagraph): always set layout in the broken
9979 * lyxtextclass.C (Read): remove lowercase
9982 (delete_layout): ditto
9984 * lyxtext.h: rename first -> first_y
9986 * lyxlayout.C (Read): remove lowercase
9989 (obsoleted_by): ditto
9991 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9993 * buffer.C (insertErtContents): add params are to InsetERT
9994 (parseSingleLyXformat2Token): add code to check if a paragraphs
9995 layout really exist.
9996 (parseSingleLyXformat2Token): add params to several inset
9998 (asciiParagraph): remove lowercase, do the layout comparisons with
10001 * BufferView_pimpl.C (cursorNext): first -> first_y
10002 (resizeCurrentBuffer): first -> first_y
10003 (updateScrollbar): first -> first_y
10004 (scrollCB): first -> first_y
10005 (workAreaMotionNotify): first -> first_y
10006 (workAreaButtonPress): first -> first_y
10007 (checkInsetHit): first -> first_y
10008 (cursorPrevious): first -> first_y
10009 (cursorNext): first -> first_y
10010 (Dispatch): add buffer_->params to severl inset contructors
10012 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * lyxlayout.C (Read): remove some debug info that I forgot.
10016 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10017 clean up the code slightly.
10018 (makeLinuxDocFile): ditto
10019 (makeDocBookFile): ditto
10021 * text2.C: layout as string
10023 * text.C: layout as string
10025 * paragraph_pimpl.C: layout as string
10027 * paragraph.[Ch]: layout as string
10029 * lyxtextclasslist.[Ch]: layout as string
10031 * lyxtextclass.[Ch]: layout as string
10033 * lyxtext.h: layout as string
10035 * lyxlayout.[Ch]: layout as string
10037 * lyx_cb.C: layout as string
10039 * bufferview_funcs.C: layout as string
10041 * bufferparams.C: layout as string
10043 * buffer.C: layout as string
10045 * LyXView.[Ch]: layout as string
10047 * LaTeXFeatures.[Ch]: layout as string
10049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10051 * BufferView_pimpl.C: change current_layout to string, remove
10056 (workAreaButtonRelease): layout as string
10058 * BufferView2.C (unlockInset): adjust
10060 * vspace.C (asLatexCommand): use an explict temp variable.
10062 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10064 * Makefile.am: use FRONTEND_*
10066 2002-03-01 Juergen Vigna <jug@sad.it>
10068 * tabular.C (SetWidthOfMulticolCell): changed to something better
10069 I hope but still work in progress.
10070 (recalculateMulticolumnsOfColumn): renamed function from
10071 recalculateMulticolCells as it is more appropriate now.
10072 (SetWidthOfCell): calculate multicols better.
10074 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10076 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10078 * lyxfunc.C (processKeySym): print sequence also if it is
10079 `deleted' (complete)
10081 * kbsequence.C (print): print sequence even if it is deleted
10082 (complete would be a better word, actually).
10084 * lyxfunc.C (dispatch): print complete options after a prefix key
10086 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10088 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10090 * text2.C (setCharFont): eliminate setCharFont code duplication.
10092 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10094 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10095 LFUN_TABULAR_FEATURE (bug #177)
10097 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10099 * Makefile.am: remove figure.h
10101 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10103 * Bufferview_pimpl.C:
10115 * text2.C: remove #include "lyx_gui_misc.h".
10117 * LaTeX.C: added #include <cstdio>
10119 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10122 that the paragraph following this one can have.
10124 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10126 * vspace.C (asLatexCommand): fix bogus gcc warning
10128 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10130 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10132 * text2.C (setLayout): get rid of redundant code
10134 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10136 * text2.C (incDepth): make sure depth cannot be increased beyond
10139 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10141 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10142 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10144 * PainterBase.h (image):
10145 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10146 a LyXImage const *.
10148 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10152 * BufferView_pimpl.C:
10153 * BufferView_pimpl.h:
10173 * sp_spell.C: remove fig inset, and the crap house of
10174 cards that follows it
10176 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10181 * os2_errortable.h:
10182 * nt_defines.h: move .h into support/
10184 * vms_defines.h: remove
10186 * WorkArea.C: add space in debug output
10190 * buffer.C: add WITH_WARNINGS
10194 * bufferlist.C: s/retrive/retrieve/, add docs
10203 * chset.C: add docs
10205 * lyxgui.C: add ID to X error handler
10207 * lyxtestclass.c: fix typo
10209 2002-02-26 Juergen Vigna <jug@sad.it>
10211 * tabular_funcs.C (write_attribute): changed so that some default
10212 attributes are not written at all.
10213 (getTokenValue): set default values before trying to read the
10214 value so we have the return value always set as default if we don't
10215 find the token we search for.
10217 * tabular.C (Write): write bools as bools not as strings!
10219 2002-02-22 Juergen Vigna <jug@sad.it>
10221 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10222 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10224 * text.C (leftMargin): don't add an indent for paragraphs inside
10225 tabular cells (fix #208).
10227 2002-02-21 José Matos <jamatos@fep.up.pt>
10229 * tabular.C (docBook): fixed support for long tables.
10231 2002-02-20 Juergen Vigna <jug@sad.it>
10233 * text2.C (getFont): get the drawing font of the Inset if this
10234 paragraph is inside an inset (only important for InsetERT for now).
10236 * buffer.C (insertErtContents): use new lanugage params in ERT
10239 * CutAndPaste.C: commenting out seemingly uneeded code.
10241 2002-02-19 Allan Rae <rae@lyx.org>
10243 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10244 Iterators might be simple to use but they also get invalidated.
10245 (removeAutoInsets): renamed saved cursor tracking variables and added
10246 some comments to clarify what everything does.
10248 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10255 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10256 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10259 * vc-backend.h: remove #include "support/syscall.h"
10263 * converter.C: rearrange #includes in Lars' approved fashion.
10265 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10266 forward declare class Timeout in the header file.
10268 * XFormsView.C: changes due to the above.
10270 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10271 similar to LyXView.
10273 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10274 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10276 2002-02-18 José Matos <jamatos@fep.up.pt>
10278 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10281 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10283 * a lot of small ws changes
10284 * add a lot of using std::XXX
10285 * use std construcs some places where approp.
10286 * use some exisint stuff from lyxfunctional where approp.
10287 * Make file changes to use partial linking (lets test this now...)
10289 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10293 remove #include "support/syscontr.h" as it's redundant. Always has been.
10301 change Systemcalls::System to Systemcalls::Wait and
10302 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10303 No change of functionality, just reflects the stripped down Systemcalls
10306 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10308 * debug.[Ch]: add a GRAPHICS type to the enum.
10310 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10314 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10317 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10320 match the changes below.
10322 * text2.C (toggleInset): if there is not editable inset at cursor
10323 position, try to see if cursor is _inside_ a collapsable inset
10326 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10329 document menu has a nice checkbox
10331 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * lyxlength.C (asLatexString): change PW to output as percent of
10336 * lengthcommon.C: change '%' to 't%'
10338 * lyxfunc.C (dispatch): a few comments from Martin
10340 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10344 * BufferView_pimpl.h:
10345 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10348 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * vspace.C (inPixels): fix compiler warning
10352 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * lyxfunc.C (getStatus): fix status message for disabled commands.
10356 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10358 * BufferView_pimpl.C: fix crash on close buffer
10359 during selection (#227)
10361 2002-01-27 Herbert Voss <voss@lyx.org>
10363 * buffer.C: link old Figure to new graphic inset
10365 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10367 * FontLoader.C (getFontinfo): Change the latex font names in order
10368 to match the names of type1inst.
10370 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10374 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10375 (extchanged): ditto
10377 (remove_files_with_extension): ditto
10378 (remove_file): ditto
10381 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10382 document is smaller than the work area height. Do not initialize
10383 static variables to 0.
10385 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10389 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10390 LFUN_LAYOUT_PARAGRAPHS.
10392 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10393 tabular. It is possible to provide a possible cell, which will
10394 typically be the actcell from the corresponding insettabular
10396 * lyxfunc.C (getStatus): small cleanup; disable
10397 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10400 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10404 * paragraph.C (startTeXParParams):
10405 (endTeXParParams): new methods. The LaTeX code to
10406 start/end paragraph formatting
10407 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10408 empty (fixes bug #200)
10410 * vspace.C (inPixels): adapt to the change below
10411 (inPixels): [later] more cleanups (remove unused variables)
10413 * lyxlength.C (inPixels): change to use a width and a height as
10416 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10418 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10419 Replaced with \paperwidth
10421 * DepTable.C (insert): add std:: qualifier
10423 2002-01-18 Allan Rae <rae@lyx.org>
10425 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10428 * text.C (drawInset): Turned out I didn't know enough about how
10429 rebreaking worked. This fixes most of the redraw problems. I see
10430 an occasional cursor trail when a line is broken now and the cursor
10431 placement can seem out by a few pixels also after a rebreak.
10433 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * buffer.C (parseSingleLyXformat2Token): update because minipage
10436 width is now a LyXLength
10438 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10440 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10443 2002-01-17 Juergen Vigna <jug@sad.it>
10445 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10447 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10448 is set correctly and the inset is updated correctly.
10450 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10453 the beginning of the loop.
10455 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10457 * lyxrc.C: improve help for use_scalable_fonts
10459 2002-01-17 Allan Rae <rae@lyx.org>
10461 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10463 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10466 make sure to set their inset_owner to the right value (bug #171)
10468 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10471 * DepTable.C: Implement mtime checking to reduce time spent doing
10474 2002-01-16 Juergen Vigna <jug@sad.it>
10476 * tabular.C (GetAdditionalHeight): one of error fixed.
10478 * lyxrc.C (output): small fix in writing use_pspell.
10480 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10482 * sp_base.h: #include LString.h
10484 2002-01-16 Allan Rae <rae@lyx.org>
10486 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10487 Can someone check this please?
10489 * text.C (drawInset): It was possible that p.row would be removed by
10490 breakAgainOneRow upsetting a few other settings. There may be another
10491 small tweak possible by setting need_break_row = 0 when p.row has been
10492 removed but I don't know enough about the logic here.
10494 2002-01-15 Allan Rae <rae@lyx.org>
10496 * text.C (insertChar): removed conditional truism.
10498 * BufferView2.C (removeAutoInsets): More tweaks.
10499 cur_par_prev could be a stray pointer. Check for trailing empty line
10500 in case last line was cur_par and only had an error inset on it.
10502 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10507 * vc-backend.C (most methods):
10508 * exporter.C (Export):
10509 * converter.C (convert):
10511 * LyXSendto.C (SendtoApplyCB):
10512 * lyxfunc.C (dispatch):
10516 * lyx_cb.C (AutoSave):
10518 * BufferView_pimpl.C (MenuInsertLyXFile):
10519 * buffer.C (runChktex): use Buffer::filePath().
10521 * buffer.h: rename filename to filename_; rename filepath to
10522 filepath_ and make it private
10523 (filePath): new method
10525 * buffer.C (writeFile): use fileName()
10528 * lyx_main.C (init): fix starting of LyX when the binary is a
10529 link from so,ewhere else.
10531 * minibuffer.C: include <cctype> for isprint
10533 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10535 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10536 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10537 name clash with InsetCollapsable's width function.
10539 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * lastfiles.C: include <iterator>
10543 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10545 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10548 * buffer.C (makeLaTeXFile): ditto.
10549 Also make loop operation more transparent.
10551 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10553 * ToolbarDefaults.C: remove trailing comma closing namespace.
10555 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10557 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10560 * trans.C (Load): comment out unused variable, allowed.
10562 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10564 * minibuffer.[Ch] (append_char): new method to recieve input from the
10565 drop-down completion browser. If a key was pressed, then recieve this
10566 char and append it to the existing string.
10567 (peek_event): modify the positioning data passed to the completion
10568 browser so that it can be placed above the minibuffer rather than below.
10569 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10571 * LyXAction.C (init): alloe error-next for readonly documents.
10573 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10576 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10578 * bufferlist.C (readFile): create the buffer _after_ checking that
10581 * lyxfunc.C (verboseDispatch): fix handling of arguments
10583 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10585 * lyxrc.C: use string::erase() instead of initializing to "".
10588 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10590 * BufferView_pimpl.h:
10591 * BufferView_pimpl.C:
10594 * text2.C: tell X when we have made a selection for copying
10596 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * BufferView_pimpl.C (MenuInsertLyXFile):
10599 * lyxfunc.C (menuNew):
10601 (doImport): add shortcuts to directory buttons
10603 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10606 * lyxfunc.C (setStatusMessage):
10607 (getStatusMessage): new methods
10608 (getStatus):use setStatusMessage instead of setErrorMessage
10609 (dispatch): when function is disabled, set error message here
10610 [instead of in getStatus previously]
10612 * BufferView_pimpl.C (workAreaButtonRelease): update
10613 toolbar/menubar here too.
10615 2002-01-13 Allan Rae <rae@lyx.org>
10617 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10618 Now seems indestructible. Remaining task is to audit all other
10619 code affected by deleteEmptyParagraphMechanism. One small quirk
10620 left is that an empty document with an error in the preamble can
10621 be made to report an error but no error box appears. I don't know
10623 (removeAutoInsets): Improved comments.
10625 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10628 * Thesaurus.C: update for Aiksaurus 0.14
10630 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * text2.C (firstParagraph): removed member function, all uses
10633 replaces with ownerParagraph
10634 (redoParagraphs): here
10635 (updateInset): here
10636 (toggleAppendix): here
10637 * BufferView2.C (insertErrors): here
10638 (setCursorFromRow): here
10640 2002-01-13 Allan Rae <rae@lyx.org>
10642 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10643 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10644 There is still a way to segfault this although you may have to do this
10645 multiple times: Have an InsetERT with an unknown command in it.
10646 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10647 <down-arrow>, <Enter> again, View->DVI, BANG!
10649 * text2.C (setCursor):
10650 (deleteEmptyParagraphMechanism):
10651 * lyxtext.h (setCursor):
10652 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10653 Making use of the return value may help fix other bugs.
10655 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10659 * LyXView.C (updateMenubar): call MenuBar::update here
10660 (updateToolbar): but not here
10661 (showState): do not update toolbar/menubar
10663 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10664 should need to care about that.
10666 * lyxfunc.C (verboseDispatch): simplify a bit
10667 (getStatus): have a version which takes a pseudoaction, and
10668 another which requires a (kb_action,string).
10670 * LyXAction.C (retrieveActionArg): make it work also when action
10671 is not a pseudo-action.
10672 (getActionName): simplify a bit
10675 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10677 * lyxfunc.C (verboseDispatch): new families of methods with
10678 several ways to specify a command and a bool to indicate whether
10679 the command name and shortcut should be displayed in minibuffer
10680 (eventually, we could extend that to a finer bitmask like
10681 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10682 (dispatch): the pristine dispatch command which just, well,
10683 dispatchs! Note it still sets its result to minibuffer; I'm not
10686 * lyxfunc.h: remove setHintMessage
10688 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10690 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10692 * BufferView_pimpl.C (specialChar): delete new inset if we have
10693 not been able to insert it.
10695 * kbmap.C: revert to using int instead of kb_action, since all we
10696 are dealing with is pseudo-actions.
10698 * LyXAction.C (searchActionArg): change to return int instead of
10699 kb_action, since the result is a pseudoaction.
10701 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10703 * buffer.C (insertErtContents): Fix (partially) the font bug.
10705 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10707 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10708 as the other one is broken on my machine!
10710 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10713 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10715 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10717 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10718 reflect their actual use. Provide compatibility code for older lyxrc
10721 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10723 change names of popup font variables in line with the changes to lyxrc.C
10725 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * buffer.C (asciiParagraph): avoid outputing a word twice after
10730 * lyxrc.C (getDescription): document that document_path and
10731 template_path can be empty.
10733 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10735 * LaTeXFeatures.C (getMacros):
10736 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10738 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10740 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10742 (getPackages): rename feature "floats" to "float". Use an array to
10743 iterate over 'simple' features (i.e. just a \usepackage). Add
10744 handling of "amsmath" (renamed from "amsstyle").
10746 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10748 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10751 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10753 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10754 FuncStaus::FuncStatus & FuncStaus::some_method().
10756 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10758 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10759 of the func_satus stuff. Edited and massaged in various ways by
10762 * lyxfunc.C (getStatus): use FuncStatus
10764 2002-01-08 Juergen Vigna <jug@sad.it>
10766 * text.C (nextBreakPoint): use function Inset::isChar().
10768 * paragraph.C (TeXOnePar): use function
10769 Inset::forceDefaultParagraphs.
10771 * buffer.C (latexParagraphs): use function
10772 Inset::forceDefaultParagraphs.
10774 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10776 * lyx_gui.C (init): set the style of the menu popups to
10777 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10779 2002-01-07 Juergen Vigna <jug@sad.it>
10781 * text.C (setHeightOfRow): small fix
10782 (prepareToPrint): don't look at alignment if we don't have the place
10785 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10787 * box.C: New file. Move the Box methods and functions out of box.h,
10788 following Lars' suggestion.
10790 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10792 * box.h: #include "support/LOstream.h", needed for inlined function.
10795 * lyxtextclasslist.C: added some using std declarations.
10797 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10799 * box.h: make signed dimensions to allow insets wider than
10800 the screen (bug #162)
10802 * BufferView_pimpl.C: add some insetHit debug
10804 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10806 * vc-backend.C: add FIXME
10808 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * lyxfunc.C (getStatus): enable code for showing math font status
10813 2002-01-07 Juergen Vigna <jug@sad.it>
10815 * text.C (nextBreakPoint): removed debug output not needed anymore.
10817 2002-01-06 Juergen Vigna <jug@sad.it>
10819 * text.C (nextBreakPoint): fixed up this function we had this bug
10820 since ever but now hopefully we break row better.
10821 (insertChar): we have to check if an inset is the next char as it
10822 could now happen that a large inset is causing a break.
10824 2002-01-05 Juergen Vigna <jug@sad.it>
10826 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10827 if it doesn't like to be drawed.
10829 2002-01-04 Juergen Vigna <jug@sad.it>
10831 * BufferView2.C (lockInset): forgot to set a cursor.
10833 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10835 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10837 * FormMathsPanel.C:
10840 * form_maths_panel.C:
10841 * form_maths_panel.h:
10842 * form_maths_panel.fd: implemented sub- and super- buttons in math
10845 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10846 (or ^ space) to be used as in TeX (req'd by André).
10848 * lyxfunc.C: Allow ^ and _ again to be used both as
10849 super/subscript (mathed) and as themselves (in text).
10851 2002-01-03 Allan Rae <rae@lyx.org>
10853 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10854 "LyX" or the filename of the current buffer if it has one. This is a
10855 modified form of John Levon's patch.
10857 * XFormsView.C (setWindowTitle): also set icon title.
10859 * LyXView.h (setWindowTitle): signature changed.
10860 * XFormsView.h (setWindowTitle): ditto.
10862 2002-01-02 Juergen Vigna <jug@sad.it>
10864 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10866 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * screen.C (topCursorVisible): introduce a temp var for
10869 text->cursor.row(), handle the case where this row is null. (kindo
10872 * text2.C (setCursor): add a couple of asserts.
10874 * paragraph.h (inset_iterator): add -> operator
10876 * paragraph.[Ch] (autoDeleteInsets): remove member function
10878 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10879 cursor pos correctly and handle inset deletion by itself.
10880 (insertErrors): move iterator declaration out of for expression
10882 * lyxtextclass.C: add <algorithm>
10884 * Makefile.am: added the new files to sources, removed layout.C
10886 * layout.C: removed file
10888 * layout.h: remove LYX_DUMMY_LAYOUT
10890 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10894 * lyxtextclass.[Ch]:
10895 * lyxtextclasslist.[Ch]: new files
10897 * include order changes to a lot of files, also changes because of
10900 2001-12-27 Juergen Vigna <jug@sad.it>
10902 * buffer.C (asciiParagraph): more fixes.
10904 * tabular.C (ascii): make ascii export support export of only the
10905 data separated by a column-delimiter.
10906 (ascii): better support for ascii export.
10908 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10910 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10912 * tabular_funcs.C: use a "using std::getline" instead of the
10913 previous fix from Angus (necessary for cxx + lyxstring)
10915 2001-12-24 Juergen Vigna <jug@sad.it>
10917 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10919 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10920 problems. First check a minipage also if we have some ert-contents
10921 (not only on par->size(), second set the right depth of the paragraph
10922 on the relink to the root-paragraph-list!
10924 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10925 which then did not anymore update the main paragraphs on undo/redo!
10927 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10929 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10930 code. Support all font-changing funcs (even those which are not in
10931 menu currently). Support for reporting font settings in
10932 mathed (disabled until Andre provides a function on mathed's side).
10934 * func_status.h (toggle): small helper function to set toggle
10937 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10939 * tabular_funcs.C: getline -> std::getline
10941 2001-12-21 Juergen Vigna <jug@sad.it>
10943 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10944 accessed and could be 0 (I couldn't generate this but it seems
10947 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10950 * tabular_funcs.h: here and include iosfwd
10952 2001-12-20 Juergen Vigna <jug@sad.it>
10954 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10955 inside inset but undo_par was.
10957 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10959 * Thesaurus.C: always include <config.h> in sources.
10963 * box.h: do not include <config.h> in header files
10965 * text.C (paintLastRow): remove unused variable
10967 * text.C (transformChar):
10969 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10971 * Painter.C (text):
10972 * font.C (width): rewrite to use uppercase() instead of
10975 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10977 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10979 * lyxfind.C: clean up of find failure position change
10981 2001-12-20 Juergen Vigna <jug@sad.it>
10983 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10985 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10986 (TeXRow): added to LaTeX a single tabular row.
10987 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10988 (Latex): simplified and finally good LT-h/f support.
10989 (various_functions): just small adaptions for LT-h/f support.
10991 * tabular_funcs.[hC]: added and moved here all not classfunctions
10994 2001-12-19 Juergen Vigna <jug@sad.it>
10996 * tabular.[Ch]: better support for longtabular options (not finished
10999 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11001 * text.C (paintLastRow): use the label font instead of the font of
11002 the last character to compute the size of *_BOX. This makes more
11003 sense and avoids a crash with empty paragraphs.
11004 Use Painter::rectangle to draw EMPTY_BOX.
11006 2001-12-19 Juergen Vigna <jug@sad.it>
11008 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11009 the paragraphs if the replaced paragraph is not the first one!
11010 Tried to delete not used paragraphs but does not work yet so for
11011 now it's inside #ifdef's and by default off!
11013 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * MenuBackend.C: include "lyx_main.h" instead of declaring
11016 lastfiles (actually was declared as LastFiles* instead of a
11019 2001-12-17 Juergen Vigna <jug@sad.it>
11021 * tabular.C (AppendColumn): applied John's fix
11023 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11027 * BufferView_pimpl.h:
11028 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11031 * box.h: new start of class for above
11033 * lyxfunc.C: ignore space-only minibuffer dispatches.
11034 Show the command name when it doesn't exist
11036 * minibuffer.C: don't add empty lines to the history
11038 * minibuffer.C: add a space on dropdown completion
11040 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11042 * text.C: fix line above/below drawing in insets
11044 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * lyxlength.C (LyXLength): Initialize private variables.
11048 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11050 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11051 when inserting error insets.
11053 2001-12-13 Juergen Vigna <jug@sad.it>
11055 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11056 actually sometimes the before-paragraph.
11057 (setUndo): don't clear the redostack if we're not actually undoing!
11059 2001-12-06 Juergen Vigna <jug@sad.it>
11061 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11062 and fixed redoing of main paragraph, so we can use it now ;)
11064 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11066 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11071 2001-12-13 André Pönitz <poenitz@gmx.net>
11074 * undo_func.C: minor cleanup
11076 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11079 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11080 font in urw-fonts package which is marked as -urw-fontspecific and
11081 does not work (incidentally, changing the encoding in the
11082 fonts.dir of this package to -adobe-fontspecific fixes the
11085 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11086 is a crash when undoing first paragraph (Juergen, please take a
11087 look). THis does not mean the undo fix is wrong, just that it
11090 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11091 the (Paragraph*) version when needed instead of duplicating the
11094 * text.C (workWidth): use Inset::parOwner to find out where the
11095 inset has been inserted. This is a huge performance gain for large
11096 documents with lots of insets. If Inset::parOwner is not set, fall
11097 back on the brute force method
11099 * paragraph_pimpl.C (insertInset):
11100 * paragraph.C (Paragraph):
11101 (cutIntoMinibuffer): set parOwner of insets when
11102 inserting/removing them
11104 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11106 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11112 * mathed/formulabase.C:
11113 * mathed/math_cursor.[Ch]:
11114 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11117 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * lyxlength.[Ch] (operator!=): new function
11121 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * text.C (workWidth): use Inset::parOwner to find out where the
11124 inset has been inserted. This is a huge performance gain for large
11125 documents with lots of insets. If Inset::parOwner is not set, fall
11126 back on the brute force method
11128 * paragraph_pimpl.C (insertInset):
11129 * paragraph.C (Paragraph):
11130 (cutIntoMinibuffer): set parOwner of insets when
11131 inserting/removing them
11133 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11135 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * tabular-old.C (getTokenValue):
11138 * tabular.C (getTokenValue):
11139 (write_attribute): new versions for LyXLength
11140 (everywhere): adjust the use of widths
11142 * tabular.h: change the type of widths from string to LyXLength
11144 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11146 * paragraph.C: fixed missing line number count when exporting
11147 Environments to LaTeX file
11149 * buffer.C: added informational message for checking line numbers.
11151 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11154 paragraph, do the 'double space' part, but not the 'empty
11157 * text.C (workWidth): small optimization
11158 (getLengthMarkerHeight): use minimal size for negative lengths.
11160 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11162 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11164 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11166 2001-12-11 André Pönitz <poenitz@gmx.net>
11169 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11171 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11173 * text2.C: keep selection on a setFont()
11175 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11177 * lyx_cb.C: another bv->text misuse, from insert label
11179 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11182 * kbsequence.C: re-instate nmodifier mask
11184 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11186 * lyx_main.h: make lyxGUI private.
11188 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11190 * lyxfind.C: place the cursor correctly on failed search
11192 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11194 * text.C (getLengthMarkerHeight): for small heights, the arrows
11195 are not always on top/bottom of the text
11196 (drawLengthMarker): smaller arrows; take the left margin in
11197 account; draw also vfills.
11199 (paintLastRow): remove special code for vfill and standard spaces,
11200 since everything is handled in drawLengthMarker now.
11202 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * buffer.C (insertErtContents): try to handle font and language
11205 interaction a bit better.g
11207 * ColorHandler.C (updateColor): change the hash to cover the whole
11208 LColor enum, ws cleanup
11209 (getGCLinepars): ditto
11210 (getGCLinepars): only lookup in the linecache once.
11212 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11214 * iterators.C (operator++): Make the iterator more robust
11216 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11223 * text.C: better added space drawing
11225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView2.C: fix layout combo update on inset unlock
11230 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11232 * Makefile.am: don't compile unused files
11234 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11238 * LyXAction.C: remove old LFUN_LAYOUTNO
11240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11242 * paragraph_pimpl.h:
11243 * paragraph_pimpl.C: isTextAt() doesn't need font param
11245 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11248 * lyxlex.C: little cleanup
11250 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11252 * BufferView_pimpl.C: fix insertAscii for insets
11254 2001-12-05 Juergen Vigna <jug@sad.it>
11256 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11257 set the right font on the "multi" paragraph paste!
11259 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * lyxlength.C: remove out-commented code.
11267 * BufferView_pimpl:
11281 * vc-backend.C: change "while(" to "while ("
11283 * lyxlength.[Ch]: add zero function to check if length is zero or
11285 * lyxgluelength.C: use it
11287 2001-12-05 Allan Rae <rae@lyx.org>
11289 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11290 Works for 2.95.3, from what I understand of Garst's reports this should
11291 work for other g++ versions. We're screwed if the abs(int) definition
11292 changed between bugfix releases of gcc.
11294 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11296 * text.C: fix chapter label offset !
11298 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11301 * text.C: fix hfill at end of line, clean up
11303 2001-12-04 Juergen Vigna <jug@sad.it>
11305 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11306 that we force an update of the inset and it's owners if neccessary.
11308 2001-12-03 Juergen Vigna <jug@sad.it>
11310 * text.C (rowLast): simplified code
11312 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11314 * lyxfunc.C: fix show options on timeout
11316 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11318 * screen.C (topCursorVisible): scroll half a page when the cursor
11319 reached top of bottom of screen
11321 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11323 * minibuffer.C: deactivate on loss of focus
11325 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11327 * vspace.[Ch] (operator!=): add operator.
11329 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11331 * BufferView_pimpl.C: refuse to open an inset when
11332 there's a selection.
11334 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11336 * BufferView_pimpl.C: allow to click on RHS of full row insets
11338 2001-11-30 Juergen Vigna <jug@sad.it>
11340 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11341 insets for undo reasons.
11343 2001-11-28 André Pönitz <poenitz@gmx.net>
11345 * vspace.[Ch]: cosmetical changes
11347 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11357 * kbsequence.C: part re-write of old kb code
11360 * WorkArea.C: remove Lgb_bug_find_hack
11362 2001-11-30 José Matos <jamatos@fep.up.pt>
11364 * buffer.C (makeDocBookFile): add a comment to point a hack.
11365 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11366 Fixed a double write of labels.
11368 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11371 * LaTeX.h Fixed bug in LaTeX class where it would not
11372 re-run latex if no depfiles were changed, but the .dvi was removed.
11374 2001-11-28 André Pönitz <poenitz@gmx.net>
11376 * all the files from the change on 2001/11/26:
11377 use lyx::layout_type instead of LyXTextClass::size_type
11378 use lyx::textclass_type instead of LyXTextClassList::size_type
11380 2001-11-29 Juergen Vigna <jug@sad.it>
11382 * text.C: added support for paragraph::isFreeSpacing()
11384 * buffer.C: same as above
11386 * paragraph.h: inserted isFreeSpacing() function to enable
11387 FreeSpacing inside InsetERT.
11389 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11390 of the paragraph's in the cut/copy buffer to 0!
11392 * text2.C (removeRow): remove the assert as it can!
11394 * lyxtext.h: added helper function firstRow returning firstrow and
11395 made firstrow private again.
11397 * BufferView2.C (lockInset): don't relock if we're already locked!
11399 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11400 the only paragraph.
11401 (removeRow): added Assert::(firstrow)
11403 * debug.C: forgot to add INSETTEXT here.
11405 2001-11-28 Juergen Vigna <jug@sad.it>
11407 * sp_spell.C (initialize): changed error text to more general
11408 spellchecker command use (not only ispell!)
11410 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11412 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11414 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11416 * vspace.C: initialise lyxgluelength on failure
11418 2001-11-28 Allan Rae <rae@lyx.org>
11420 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11421 declaration & definition that looks like a function declaration.
11423 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11425 * BufferView2.C (copy):
11426 (copyEnvironment): do not clear the selection when doing a copy.
11428 * text.C (paintFirstRow): compilation fix
11430 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11432 * tabular.C (Latex): correct line count when writing latex.
11434 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11436 * paragraph_pimpl.h:
11437 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11440 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11444 * LColor.C: change vfillline->added_space
11446 * text.C: add markers and text for added space
11448 * vspace.C: fix comment
11450 2001-11-28 André Pönitz <poenitz@gmx.net>
11452 * paragraph.C: whitespace changes
11453 * all the other files from the change on 2001/11/26:
11454 change *::pos_type into lyx::pos_type
11456 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11458 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11459 language of the document when inserting error insets.
11461 2001-11-26 André Pönitz <poenitz@gmx.net>
11463 * BufferView_pimpl.[Ch]:
11471 * paragraph_pimpl.[Ch]:
11474 * text2.C: reduce header dependencies, introduce type for positions
11476 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11478 * <various>: change to use Alert.h
11480 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11482 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11483 when encountering an unknown token.
11484 (readLyXformat2): Show an error message if there were unknown tokens.
11486 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11489 * BufferView_pimpl.C:
11493 * text2.C: use par->isInset()
11495 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11497 * paragraph_pimpl.h:
11498 * paragraph_pimpl.C: cleanup
11500 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11502 * text2.C (removeRow):
11503 * text.C (setHeightOfRow): remove useless (and costly) call to
11506 2001-11-20 Allan Rae <rae@lyx.org>
11508 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11509 Now need Inset*::checkInsertChar() to return true for appropriate
11510 cases so that the characters in the minibuffer will actually be
11513 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * text.C: change the order of the includes.
11516 (workWidth): initialize it at once.
11517 (workWidth): make maxw unsigned
11518 (setHeightOfRow): remove unused variable (inset)
11519 (selectSelectedWord): remove unused variable (inset)
11520 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11522 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11524 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11525 server is not running.
11527 (closeConnection): add debug info when server is disabled.
11529 * ColorHandler.C (getGCForeground): send debug message to GUI
11532 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11534 * kbmap.C (bind): modify because return conventions of
11535 kb_sequence::parse have changed.
11537 * kbsequence.C (parse): only ignore spaces and not any stupid
11538 control character. This avoids tests like s[i] <= ' ', which are
11539 guaranteed to fail with 8bit characters and signed chars.
11540 Change return code to string::npos when there have been no error
11541 (0 was a bad idea when error is at first character)
11543 2001-11-14 José Matos <jamatos@fep.up.pt>
11546 * buffer.C (simpleDocBookOnePar): removed unused argument.
11548 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11550 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11551 insets which are part of a word. Paragraph::isLetter takes care of
11552 that now. Use Paragraph::isInset to identify insets.
11553 (selectSelectedWord): do not test for hyphenation break.
11555 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11556 that protected spaces are considered as spaces.
11558 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11561 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11564 * lyxserver.C: fix it. and small cleanup.
11566 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11568 * BufferView_pimpl.C: use inline helpers
11571 * LaTeXFeatures.C: fix typos
11574 * Spacing.C: move spacing_string into class
11576 * ToolbarDefaults.C: move stuff into namespace anon
11578 * layout.h: update enum
11580 * lyxfunc.C: use better debug
11582 * minibuffer.h: fix typo
11586 * WorkArea.C: add and use Debug::WORKAREA
11590 * text2.C: code re-organisation, inline helpers
11592 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11594 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11595 std::vector.empty().
11597 2001-11-09 Allan Rae <rae@lyx.org>
11599 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11600 '\n's after tables. Tabular and ERT inset work now makes this no
11603 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11606 * minibuffer.C: fix crash, improve drop-down completion
11608 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11611 * lyxserver.C: invalidate fd's when doing endPipe()
11613 2001-11-08 José Matos <jamatos@fep.up.pt>
11615 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11616 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11619 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11621 2001-11-07 José Matos <jamatos@fep.up.pt>
11624 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11627 * buffer.C (sgmlOpenTag):
11628 * buffer.C (sgmlCloseTag): removed debug info.
11630 * buffer.h (sgmlOpenTag):
11631 * buffer.h (sgmlCloseTag): made public.
11633 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11635 * buffer.C (saveParamsAsDefaults):
11636 * lyx_cb.C (MenuLayoutSave): remove
11638 * LyXAction.C (init):
11640 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11642 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11644 * buffer.C (setPaperStuff): removed from here...
11646 * bufferparams.C (setPaperStuff): ... and moved there.
11648 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11652 * XFormsView.C: add support for drop-down completion
11654 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11656 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11659 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11661 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11664 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11666 * lyx_main.C: change ref to known bugs
11668 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11670 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11671 to work around older babel problems.
11673 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11675 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11677 2001-10-24 Juergen Vigna <jug@sad.it>
11679 * tabular-old.C (ReadOld): below variable changes reflected.
11681 * tabular.[Ch]: added ltType struct for longtable header/footer
11682 defines and changed all instances where they are used. Added
11683 future support for double top/bottom rows.
11685 2001-10-24 José Matos <jamatos@fep.up.pt>
11687 * buffer.h (docbookHandleCaption):
11688 * buffer.C (docbookHandleCaption): removed unused function.
11689 (makeDocBookFile): moved docbook supported version to v4.1.
11691 2001-10-24 José Matos <jamatos@fep.up.pt>
11694 * tabular.C (docbookRow): new function to export docbook code of a row.
11695 (DocBook): now honors the longtable flags.
11697 2001-10-23 José Matos <jamatos@fep.up.pt>
11700 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11701 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11703 * buffer.C (makeLinuxDocFile):
11704 (makeDocBookFile): reworked the preamble, more clean, and with
11705 support for lyx defined entities. Changed the document declaration
11706 to be more XML friendly.
11708 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11709 if we need to output XML that should be done with a filter.
11711 2001-10-22 Juergen Vigna <jug@sad.it>
11713 * sp_pspell.h (class PSpell): add alive function needed in the
11714 controller to see if the spellchecker could be started.
11716 2001-10-22 Juergen Vigna <jug@sad.it>
11718 * buffer.C (insertStringAsLines): modify the font for inserting
11719 chars in certain conditions by calling checkInsertChar(font).
11721 2001-10-19 Juergen Vigna <jug@sad.it>
11723 * text.C (workWidth): use getRow instead of wrong algorithm.
11724 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11726 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11731 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11733 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11735 * text.C (workWidth): do not search for the exact row when
11736 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11737 optimization for big documents.
11739 2001-10-18 Juergen Vigna <jug@sad.it>
11741 * text.C (workWidth): new function with added Inset * parameter.
11743 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11745 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11747 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11748 change return type of getColumnNearX.
11751 * text.C (changeRegionCase): use uppercase/lowercase instead of
11754 (rightMargin): simplify code by factoring out the uses of
11759 (appendParagraph): use Paragraph::size_type
11761 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11763 * vspace.C (asLatexString): add a missing break
11765 2001-10-15 Herbert Voss <voss@perce.de>
11767 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11769 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11771 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11774 2001-10-10 André Pönitz <poenitz@gmx.net>
11776 * lyxfunc.C: removed greek_kb_flag.
11778 2001-10-10 Herbert Voss <voss@perce.de>
11780 * lyx_main.C: delete global string help_lyxdir.
11782 2001-10-09 Herbert Voss <voss@perce.de>
11784 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11786 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11788 * lyx_main.C: added global string help_lyxdir.
11790 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11792 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11794 * lyxrc.C (set_font_norm_type): support iso8859-4
11796 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11798 * LaTeX.C (deplog): add another regex for MikTeX
11800 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11802 * lyxrc.C (set_font_norm_type): support iso8859-3
11804 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11808 * LaTeXFeatures.C: remove special case of french and index
11810 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11811 before \begin{document}). This solves several incompatibilities.
11813 2001-10-03 Garst Reese <reese@isn.net>
11815 * lyx_cb.C: change CheckTex error msg.
11817 2001-10-03 José Matos <jamatos@fep.up.pt>
11819 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11821 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11823 * .cvsignore: update
11825 * lyx_main.C (commandLineVersionInfo): use new style version info.
11827 * buffer.C (writeFile):
11829 (makeLinuxDocFile):
11830 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11832 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11834 * version.h: update to use stuff in version.C
11836 * version.C.in: new file. Contains version information determined
11837 at compile time. This is a merging of version.h and
11840 2001-10-03 Juergen Vigna <jug@sad.it>
11842 * BufferView_pimpl.C (update): don't change "dirty" status in
11845 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11847 * WorkArea.C (c-tor): re-position version string slightly.
11849 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11851 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11852 revert to previous code.
11854 WorkArea.[Ch]: (show, destroySplash): methods removed.
11856 WorkArea.C: rework code so that it's an amalgam of the codes before and
11857 after the splash screen was moved to WorkArea.
11859 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11862 * vspace.C (inPixels):
11865 * buffer.C (insertStringAsLines):
11866 (asciiParagraph): fix types to be large enough
11868 * lyxlex_pimpl.h: change member status from short to int
11870 * layout.h: fix type of endlabeltype
11873 * kbsequence.C (parse): change return type to string::size_type
11875 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11878 * Bullet.C (bulletSize):
11879 (bulletEntry): do not use short ints as parameters
11881 * BufferView2.C (insertLyXFile): change a char to an int.
11883 * WorkArea.C (WorkArea): remove unneeded floats in computation
11885 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11887 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11889 * paragraph.C (asString): Do not ignore newline/hfill chars when
11890 copying to the clipboard.
11892 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11894 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11895 after a multi-line inset.
11897 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11899 * paragraph.C (validate): Set NeedLyXFootnoteCode
11901 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11903 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11904 and decrease-error to decrease.
11906 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11908 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11909 it more readable (should be equivalent)
11911 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11913 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11915 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11917 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11918 of a cursor (row, etc.) after a character has been deleted
11919 (deleteEmptyParagraphMechanism): call the method above on _all_
11920 cursors held by the LyXText when a double space has been
11923 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11925 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11927 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11929 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11930 background. Use greyOut() and the new show() methods to toggle between
11931 the foreground and background. Add code to remove the splash after
11932 its initial showing.
11934 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11935 (create_forms): no longer call Dialogs::showSplash.
11937 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * .cvsignore: add version_info.h
11941 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * version_info.h.in: new file
11945 * Makefile.am: add version_info.h.in
11947 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11948 version_info.h instead of VERSION_INFO
11950 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11952 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11953 The ERT inset now returns string().
11955 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11957 * lyxtext.h, text.C (selectNextWord): renamed as
11958 selectNextWordToSpellcheck.
11960 * text.C (selectNextWordToSpellcheck): Modified to not select
11961 words inside an ERT inset.
11963 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11965 * lyx_cb.C (MenuLayoutSave): change a bit the question
11967 * sp_base.h: include <sys/types.h>
11969 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11971 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11973 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11975 * several files: fix typos in user-visible strings
11977 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11979 * text2.C (pasteSelection): do not set the selection, since it
11980 will be cleared later. Actually, the intent was to fix the way the
11981 selection was set, but I figured rmoving the code was just as good.
11983 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11985 * FontLoader.C (available): Check if font is available without
11988 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11990 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11992 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11994 * lyxrc.[Ch]: added display_graphics variable and associated code.
11996 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11998 * bufferparams.C (hasClassDefaults): new method. Returns true if
11999 the buffer parameters correspond to known class defaults
12001 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12003 * XFormsView.C (show): set minimum size to the main window.
12005 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12007 * text2.C (copySelection):
12009 * lyxfind.C (LyXReplace):
12010 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12011 LyXText::selectionAsString.
12013 * paragraph.C (asString): add "label" argument to the second form
12015 * text2.C (selectionAsString): add "label" argument and pass it to
12016 Paragraph::asString.
12018 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12020 * lyx_main.C (commandLineHelp): remove version information
12022 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12024 * lyx_main.C: add -version commandline option
12026 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * paragraph.h: make the optional constructor arg required instead.
12029 some modifications to other files because of this.
12031 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12033 * lyxserver.C (C_LyXComm_callback): make it static
12035 * lyx_main.C (error_handler): make it static
12037 * lyx_gui.C (LyX_XErrHandler): make it static
12039 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12041 * WorkArea.C: make the extern "C" methods static.
12043 * Makefile.am (lyx_LDADD): simplify
12045 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12047 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12048 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12050 * LyXAction.C (init):
12051 * lyxfunc.C (dispatch): associated code removal.
12053 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12055 * lyxfont.h (isSymbolFont): shut off warning
12057 * text.C (setHeightOfRow):
12058 (getVisibleRow): fix crash with empty paragraphs which have a
12061 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12063 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12066 2001-09-04 José Matos <jamatos@fep.up.pt>
12069 * tabular.C (docbook): rename docBook method to docbook.
12071 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12073 * Makefile.am: add dependencies to main.o.
12075 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12077 * FontLoader.C (available): Return false if !lyxrc.use_gui
12079 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12081 * FontInfo.C (query):
12082 * converter.C (view):
12083 * importer.C (Import):
12084 * exporter.C (Export): Can not -> cannot.
12086 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12088 * BufferView_pimpl.C: allow to create index inset even if
12091 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12093 * buffer.C (getLists): replace boost::tie code with an explicit pair
12094 as boost::tie can break some compilers.
12096 * iterators.h: Added a std:: declaration to the return type of
12099 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12101 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12104 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12106 * iterators.[Ch]: New files. Provide paragraph iterators.
12108 * buffer.C (changeLanguage): Use paragraph iterators.
12109 (isMultiLingual): ditto
12111 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12113 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12115 * FontLoader.C: Support for cmr font.
12117 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12119 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12120 (available): New method.
12122 * FontInfo.C (getFontname): Use scalable fonts even when
12123 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12126 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12128 * converter.C (Formats::view): reverted! Incorrect fix.
12130 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12132 * converter.C (Formats::view): only output the -paper option
12133 if the dvi viewer is xdvi, thereby fixing bug #233429.
12135 2001-08-23 Herbert Voss <voss@perce>
12137 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12139 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12141 * Spacing.h (Spacing): Set space to Default on in the default
12144 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * vc-backend.h (RCS::versionString): add RCS to version
12147 (CVS::versionString): add CVS to version
12149 * vc-backend.C (scanMaster): do not add CVS to version.
12150 (scanMaster): do not add RCS to version
12152 * lyxvc.C (versionString): new method
12154 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12156 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12158 * Spacing.C (set): initialize fval
12160 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12162 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12165 2001-08-16 Juergen Vigna <jug@sad.it>
12167 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12169 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12171 * BufferView_pimpl.C:
12174 * text2.C: setParagraph takes linespacing now
12176 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12178 * LyxAction.C: add internal LFUN_CITATION_INSERT
12180 * LyXView.C: actually apply fix
12182 * bufferlist.C: fix open non-existent file
12184 * lyxfind.C: fix indentation
12186 * lyxfunc.C: remove unneeded assert, fix typo
12188 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12190 * MenuBackend.C: use "Floatname List"
12192 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12194 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12195 when converting LaTeX layout to insetERT.
12196 Generate a non-collapsed float when reading old float
12198 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12200 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12203 2001-08-13 Juergen Vigna <jug@sad.it>
12205 * text.C (fill): return 0 instead of 20 as this seems to be the more
12208 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12210 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12213 2001-08-13 Juergen Vigna <jug@sad.it>
12215 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12217 (SearchBackward): comment out the unlocking of the inset_owner this
12218 should not be needed!
12220 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12222 * Many files: Remove inherit_language, and add latex_language
12224 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12225 collapsible insets.
12227 2001-08-10 Juergen Vigna <jug@sad.it>
12229 * text.C (prepareToPrint): fixed hfill-width in draw!
12231 * BufferView2.C (selectLastWord): save the selection cursor as this
12232 now is cleared in the function LyXText::clearSelection!
12234 2001-08-08 Juergen Vigna <jug@sad.it>
12236 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12237 BACKSPACE type functions.
12239 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12240 is only cutted from the document but not put in the cut-buffer, where
12241 still the old stuff should be.
12243 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12245 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12247 * tabular.C (SetWidthOfCell): fixed special case where the width
12249 (LeftLine): handle '|' in align_special.
12251 (LeftAlreadyDrawed): ditto
12252 (SetWidthOfCell): ditto
12254 2001-08-07 Juergen Vigna <jug@sad.it>
12256 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12258 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12261 * lyxlex.[hC]: ditto
12263 2001-08-06 Juergen Vigna <jug@sad.it>
12265 * text.C (getVisibleRow): fix up row clearing a bit.
12267 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12269 * minibuffer.C: make sure the X server sees the changes in the input.
12271 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12273 * paragraph.C (getFont): split into...
12274 (getLabelFont): this
12275 (getLayoutFont): and this
12276 * paragraph_pimpl.C (realizeFont): calling this
12278 * text2.C (getFont): split into...
12279 (getLayoutFont): this
12280 (getLabelFont): and this
12281 (realizeFont): all three calling this
12283 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12286 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12290 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12292 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12293 layouts from the Quote inset insertion.
12295 2001-08-03 Juergen Vigna <jug@sad.it>
12297 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12299 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12300 only if status not is already CHANGED_IN_DRAW (second level).
12302 * text.C (draw): don't set the need_break_row when inside an
12305 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * buffer.C (parseSingleLyXformat2Token): handle more latex
12310 * bufferview_funcs.[hC]: change function names to
12311 begin with small char, adjust other files.
12313 2001-08-02 André Pönitz <poenitz@gmx.net>
12316 BufferView_pimpl.C: remove broken special code for math-greek
12318 2001-08-02 Juergen Vigna <jug@sad.it>
12320 * BufferView_pimpl.C (update): redone this function so that we
12321 update the text again if there was a CHANGE_IN_DRAW.
12323 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12324 (drawFromTo): added a new internal bool which is used by draw() and
12326 (general): some cursor drawing problems fixed.
12328 2001-08-01 Juergen Vigna <jug@sad.it>
12330 * lyxfind.C (LyXFind): fixed
12331 (SearchForward): ditto
12332 (SearchBackward): ditto
12334 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12335 spurius drawing of the cursor in the main area.
12337 * text2.C (status): small fix which could lead to a segfault!
12338 (clearSelection): remove unneeded BufferView param.
12340 2001-08-01 André Pönitz <poenitz@gmx.net>
12342 * lyxfunc.C: small change due to changed mathed interface
12344 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12348 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12350 * lyxfunc.c: fail gracefully if file doesn't exist
12355 * BufferView_pimpl.C: IsDirWriteable() proto changed
12357 * LyXView.C: fix updateWindowTitle() to store the last title
12359 2001-07-31 Juergen Vigna <jug@sad.it>
12361 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12362 the font (wrong since using of Paragraph::highestFontInRange).
12364 * paragraph.C (highestFontInRange): added a default_size parameter.
12366 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12367 (setHeightOfRow): reformat
12369 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * converter.[hC] + affected files: move to (inital-char)lowercase
12374 * ParagraphParameters.C (ParagraphParameters): remove commented code
12376 * PainterBase.[Ch]: remove commented code
12378 * LaTeXFeatures.h: add "bool floats" for float.sty
12380 * LaTeXFeatures.C (LaTeXFeatures): init floats
12381 (require): handle float
12382 (getPackages): do it with floats
12384 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12386 * BufferView_pimpl.C (Dispatch): improve handling of
12387 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12389 * commandtags.h: #include lyxfont.h here temporarily to avoid
12392 * bufferlist.h: include LString.h here.
12394 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12396 * text2.C (getStringToIndex): new method.
12398 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12400 * *: Reduced header file dependencies all over.
12402 2001-07-30 Baruch Even <baruch@lyx.org>
12404 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12406 2001-07-29 Baruch Even <baruch@lyx.org>
12408 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12410 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * ParameterStruct.h (endif): add a default constructor to make
12413 sure that all variables is initialized.
12415 * ParagraphParameters.C (ParagraphParameters): adjust
12417 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12419 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12420 index; also, check that there is something to index, and that it
12421 does not span over several paragraphs.
12422 (doubleClick): use WHOLE_WORD_STRICT for double click.
12424 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12426 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12429 2001-07-26 Baruch Even <baruch@lyx.org>
12431 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12432 an InsetFig figure, backwards compatible reading of old figure code.
12434 2001-07-27 Juergen Vigna <jug@sad.it>
12436 * text2.C: font.realize function adaption.
12438 * text.C (draw): add a warnings lyxerr text if needed.
12440 * layout.C: font.realize function adaption.
12442 * language.C: add inherit_language and implement it's handlings
12444 * bufferview_funcs.C (StyleReset): remove language parameter from
12445 font creation (should be language_inherit now).
12447 * bufferparams.C (writeFile): handle ignore_language.
12449 * paragraph.C (getFontSettings): the language has to be resolved
12450 otherwise we have problems in LyXFont!
12452 * lyxfont.C (lyxWriteChanges): added document_language parameter
12453 (update): removed unneeded language parameter
12455 * paragraph.C (validate): fixed wrong output of color-package when
12456 using interface colors for certain fonts in certain environments,
12457 which should not seen as that on the final output.
12459 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12461 * BufferView_pimpl.C:
12466 * LyXAction.C: add thesaurus support
12469 * lyxfind.C: add "once" parameter, for thesaurus, to not
12470 move to the next match
12472 2001-07-26 Juergen Vigna <jug@sad.it>
12474 * lyxfont.C (realize): honor ignore_language too!
12477 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12479 * text.C (draw): one place more for ignore_language to not draw
12482 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12484 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12486 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12489 the minipage conversion problem.
12491 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12496 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * BufferView.h: don't forward declare WorkArea
12500 * BufferView.C: don't include WorkArea.h
12502 2001-07-25 André Pönitz <poenitz@gmx.net>
12506 * lyxfunc.C: new LFUN 'math-space'
12508 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12510 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * text2.C (toggleInset): call open/close
12514 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12516 * lyxfunc.C (dispatch): add debug for the disabled case
12518 * font.C (buttonText): make similar to rectText
12520 * buffer.C (readInset): comment out parsing of insetlist and
12523 * PainterBase.C (rectText): small correction
12525 * BufferView_pimpl.C: comment out insettheorem and insetlist
12526 * LyXAction.C: ditto
12527 * commandtags.h: ditto
12529 2001-07-24 Juergen Vigna <jug@sad.it>
12531 * text.C (draw): honor the ignore_language.
12533 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12535 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12537 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12540 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12542 * lyxtext.h: remove unused (and unimplemented) methods
12544 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12546 * text.C (getVisibleRow): honor background color
12549 * Painter.h: remove default color argument for fillRectangle
12551 * text.C (backgroundColor): new method
12553 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * text.C (getVisibleRow): adjust
12557 * font.[Ch] (rectText): new method, metrics
12558 (buttonText): new method, metrics
12560 * PainterBase.[hC]: make rectText and buttonText always draw and take
12563 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12565 * ToolbarDefaults.C (read):
12566 * MenuBackend.C (read): allow escaping in all strings
12568 * BufferView_pimpl.C (insertAndEditInset): new method.
12569 (Dispatch): use insertAndEditInset whenever appropriate.
12571 * BufferView_pimpl.C (insertNote): removed
12573 * BufferView_pimpl.C (smartQuote): new method, moved from
12574 BufferView; if an insetquote cannot be inserted, insert a '"'
12577 * BufferView2.C: remove insertCorrectQuote();
12579 * lyxfunc.C (getStatus): Add support for all remaingin
12580 inset-insert lfuns.
12582 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12584 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12585 command (necessary to pass " as parameter of self-insert.
12587 * text.C (selectWordWhenUnderCursor):
12588 (selectWord): add word_location parameter
12589 (selectWordWhenUnderCursor): same + remove special code for word
12591 (selectNextWord): use kind() to guess type of insetspecialchar,
12594 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12595 (insertErtContents): create ert insets as collapsed.
12596 (readInset): better compatibility code for Info inset.
12598 2001-07-20 Juergen Vigna <jug@sad.it>
12600 * lyxfunc.C (dispatch): use always LyXFind now!
12602 * text2.C (init): add a reinit flag so that the LyXText can be
12603 reinited instead of deleted and reallocated (used in InsetText).
12605 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12611 2001-07-18 Juergen Vigna <jug@sad.it>
12613 * text.C (selectNextWord): handle insets inside inset by calling
12614 always the bv->text functions so that we can go up the_locking_inset!
12616 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12617 in strange locations when inside an inset!
12619 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12620 handling to include insets.
12622 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12624 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * LyXAction.C (init):
12628 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12629 LIGATURE_BREAK, since the name is so stupid.
12631 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12633 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12636 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12638 * sp_form.[Ch]: remove.
12640 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12642 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12645 * src/buffer.C (readInset): ditto.
12647 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12649 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12650 menuSeparator(), endOfSentenceDot(), ldots() and
12651 hyphenationPoint(), which are therefore removed.
12652 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12654 * LyXAction.C (init):
12655 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12657 * paragraph.C (getWord): removed.
12659 * BufferView_pimpl.C (Dispatch): use last word or selection for
12660 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12662 * lyx_main.C (queryUserLyXDir): do not ask before creating
12663 user_dir, except if it has been named explicitely.
12665 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12667 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12668 a document of zero size.
12670 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12672 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12673 approriately in the c-tor and in require().
12674 (getPackages): output the appropriate LaTeX for natbib support.
12676 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12677 variables "use_natbib" and "use_numerical_citations" when reading the
12679 (readInset): read the various natbib cite commands.
12680 (validate): white-space change.
12682 * bufferparams.[Ch]: new variables "bool use_natbib" and
12683 "bool use_numerical_citations".
12684 (writeFile): output them in the LyX file.
12686 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12688 * lyxfunc.C (getStatus): add support for all the inset insertion
12691 * text2.C (insertInset):
12692 * paragraph.C (insetAllowed):
12693 * BufferView_pimpl.C (insertInset): update to take in account the
12694 renaming of insertInsetAllowed
12696 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12698 * text2.C (getInset): new method. returns inset at cursor position.
12700 * BufferView_pimpl.C (Dispatch): changes because of this.
12702 * LyXAction.C (init): rename open-stuff to inset-toggle.
12704 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12706 * text2.C (toggleInset): renamed from openStuff; use
12709 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12711 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12713 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12715 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12717 * buffer.C (readLyXformat2): Add filename to the error dialog
12719 2001-07-18 Juergen Vigna <jug@sad.it>
12721 * tabular.C (GetCellNumber): put an assert here instead of the check!
12723 2001-07-17 Juergen Vigna <jug@sad.it>
12725 * BufferView_pimpl.C (toggleSelection): adapted too.
12727 * text.C (selectNextWord): adapted for use with insets.
12728 (selectSelectedWord): ditto
12730 2001-07-17 Juergen Vigna <jug@sad.it>
12732 * sp_spell.C (PSpell): fix initialitation order.
12734 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * paragraph.C: spacing
12738 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12740 * sp_spell.C: repair language selection for pspell
12742 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12744 * lyxfunc.h: change more methods to begin with lower char.
12746 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12748 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12749 for unknown layouts.
12751 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12753 * buffer.C (readLyXformat2): Generate an error dialog if there are
12756 2001-07-16 Juergen Vigna <jug@sad.it>
12758 * sp_spell.C: always compile ISpell part.
12760 * lyxrc.C: added use_pspell entry and it's handling.
12762 2001-07-13 Juergen Vigna <jug@sad.it>
12764 * sp_spell.C: removed double includes.
12766 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12768 Consistent use of Lsstream.h:
12769 * Lsstream.h: added using std::stringstream for consistencies sake.
12771 * buffer.C: removed using std::stringstream
12773 * lyxfont.C (stateText):
12774 * paragraph.C (asString):
12775 * text.C (selectNextWord, selectSelectedWord):
12776 * text2.C (setCounter):
12777 * vspace.C (asString, asLatexString):
12778 std::ostringstream -> ostringstream.
12780 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12782 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12783 * commandtags.h: add LFUN_HELP_ABOUTLYX
12784 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12786 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12788 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12790 * lyx_gui_misc.C: remove spellchecker
12791 * lyxfunc.C: showSpellchecker
12793 * sp_ispell.h: added
12794 * sp_pspell.h: added
12795 * sp_spell.C: added
12796 * sp_form.[Ch]: removed
12797 * spellchecker.[Ch]: removed
12799 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12801 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12803 (simpleTeXSpecialChars): Simply print the input character without
12804 any special translation if pass_thru is set.
12806 * layout.h: Added bool pass_thru to layout class for being able to
12807 implement pass through of a paragraph for Literate Programming.
12809 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12810 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12811 * layout.C (Read): add "passthru" to list of layout tags and add
12812 code to set the pass_thru boolean when it is read.
12814 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * trans_decl.h: remove allowed from KmodInfo
12818 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12819 remove allowed code
12822 * paragraph_pimpl.C (erase): use boost::prior
12824 * Painter.C (text): use data() instead of c_str() when length is
12826 * WorkArea.C (putClipboard): ditto
12827 * font.h (width): ditto
12829 * BufferView2.C: use it-> instead of (*it). for iterators
12831 * paragraph_pimpl.C: ditto
12832 * paragraph.C: ditto
12833 * minibuffer.C: ditto
12834 * language.C: ditto
12836 * encoding.C: ditto
12837 * counters.C: ditto
12838 * converter.C: ditto
12840 * Variables.C: ditto
12841 * TextCache.C: ditto
12842 * MenuBackend.C: ditto
12843 * LyXAction.C: ditto
12845 * FloatList.C: ditto
12846 * DepTable.C: ditto
12847 * ColorHandler.C (LyXColorHandler): ditto
12849 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12853 * text2.C (openStuff): reintroduce this method (which had been
12854 nuked in NEW_INSETS frenzy).
12856 * lyxfunc.C (Dispatch): when an action has not been handled, use
12857 its name in the error message, not its number.
12859 * paragraph.C (inInset): change method name to begin with lowercase.
12862 * text2.C: updates because of this.
12864 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * ToolbarDefaults.C (add): add spaces in error message
12868 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12870 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12871 (readLyXformat2): rename return_par to first_par, use lyxlex's
12872 pushToken and remove the manual push handling.
12873 (parseSingleLyXformat2Token): add another ert comp. variable:
12874 in_tabular, rename return_par to first_par. handle newlines better
12876 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12880 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * text2.C (getParFromID): removed
12884 * buffer.C (getParFromID): new method moved form lyxtext.
12885 * BufferView2.C (insertErrors): adjust
12886 (setCursorFromRow): adjust
12887 * BufferView_pimpl.C (restorePosition): adjust
12888 * lyxfunc.C (Dispatch): adjust
12889 * undo_funcs.C (textUndo): adjust
12891 (textHandleUndo): adjust
12892 (textHandleUndo): adjust
12894 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * buffer.C: up' the LYX_FORMAT
12898 * lyxfont.h: turn NO_LATEX on as default
12900 * buffer.C (insertErtContents): new methods of tex style compability.
12901 (parseSingleLyXformat2Token): use it several places.
12902 * tabular.C (OldFormatRead): and here
12904 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * text2.C: remove some commented code.
12909 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12910 * trans.C: changes because of the above.
12912 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12914 * text2.C (setCounter): Fix counters bug with bibliography layout.
12916 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12919 own member functions
12920 (simpleTeXSpecialChars): ditto
12922 2001-07-06 Juergen Vigna <jug@sad.it>
12924 * a lot of files: changed the access to LyXText::status and the
12925 call of undo-functions.
12927 * undo.[Ch]: added a inset_id to the undo informations.
12929 * undo_funcs.[Ch]: added and moved here all undo functions.
12931 * lyxtext.h: give the status enum a weight, made status_ a private
12932 variable and made accessor functions for it, removed the whole bunch
12933 of undo-functions as they are now in their own file, make some
12934 functions publically available. Added function ownerParagraph with
12937 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12938 made InInset() a const function, added getParFromID() function.
12940 * buffer.[Ch]: added const version for inset_iterator functions,
12941 added getInsetFromID() function.
12943 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12944 changed undo functions for new version.
12946 2001-07-05 Juergen Vigna <jug@sad.it>
12948 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12949 unknow mechanism does not call the proper constructor but only this
12950 one also if I request the other!?
12952 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12956 * text2.C (LyXText): use initialization lists.
12958 * lyxtext.h (Selection): initialize set_ and mark_
12959 (init): remove method
12961 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12963 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12965 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * screen.[Ch]: change method names to begin with lowercase
12969 * BufferView_pimpl.C (updateScrollbar): simplify further and
12970 hopefully make it a bit faster.
12972 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12975 calling directly xforms functions.
12977 * Painter.C (Painter):
12978 * lyx_cb.C (MenuWrite):
12979 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12982 * lyx_gui.C: remove bogus guiruntime extern declaration.
12984 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12986 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12988 (redoDrawingOfParagraph): ditto
12989 (redoParagraphs): ditto
12990 (cutSelection): don't create a object for CutAndPaste use the
12991 static method directly
12992 (pasteSelection): ditto
12994 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12997 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * modifications to some other files because of this.
13001 * Makefile.am (lyx_SOURCES): add XFormsView
13003 * XFormsView.[Ch]: new files
13005 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13006 the main window. Move the gui dependent stuff to XFormsView
13008 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * tabular.C (GetCellInset): update cur_cell also in the row/col
13011 version of this function.
13013 * lyxfunc.C: no need to include figure_form.h here.
13019 * lyxvc.C: no need to include forms.h here.
13021 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13025 * lyxfunc.C (Dispatch):
13027 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13028 constructor argument.
13030 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * paragraph.C (Paragraph): dont't clear, and just set layout.
13033 (makeSameLayout): use params's copy contructor.
13035 * ParagraphParameters.[Ch] (makeSame): delete method
13037 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13039 * Variables.[Ch]: fix indentation, rename set to isSet
13041 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13043 * lyxfunc.C (Dispatch): fix typo
13045 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13047 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13050 * bufferlist.C: include assert.h for emergencyWrite().
13052 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13054 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13055 give up at last (bug #425202) !
13057 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13063 * spellchecker.C: strip spellchecker options and bring up
13064 preferences tab instead
13066 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13069 the istringstream constructor
13071 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13073 * paragraph.C (getLayout): fix return value
13075 * paragraph.h: do not declare getLayout as inline.
13077 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13079 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * lyxcursor.h (operator<): new func
13082 (operator>): new func
13083 (operator>=): new func
13084 (operator<=): new func
13086 * text.C (changeCase): use selection.start and selection.end
13087 (changeRegionCase): require from to be <= to. Require par to be a
13090 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13092 2001-06-27 Juergen Vigna <jug@sad.it>
13094 * text.C (cursorLeftOneWord): changed to return the cursor and added
13095 overlay with BufferView * parameter which calls this one.
13097 (selectWord): use new getWord function.
13098 (changeCase): renamed from changeWordCase as and extended to work
13099 also on selections.
13101 * lyxtext.h: added enum word_location
13103 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13104 changeCase as this operates now also on selections.
13106 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13108 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13110 * many files: send debug output to Debug::INFO instead of
13113 * converter.C (View):
13115 (Move): send debug output to Debug::FILES instead of console.
13117 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13119 * lyxfunc.C (getStatus): use func_status
13121 * func_status.h: new header, describing the results of
13122 LyXFunc::getStatus;
13124 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13127 2001-06-25 The LyX Project <jug@sad.it>
13129 * buffer.C (sgmlOpenTag):
13131 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13133 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * text2.C: remove some dead code
13137 * tabular.C (GetCellInset): store the last cell checked (gotten)
13139 * tabular.h: add the helper for the speedup
13141 * lyxtext.h: remove some dead code
13143 2001-06-26 The LyX Project <Asger>
13145 * paragraph.C: Change export to LaTeX of alignment to
13146 \begin{center} and family for better roundtrip work with reLyX.
13148 * Tune the math drawing a bit.
13150 2001-06-25 The LyX Project <Asger>
13152 * LColor.C (LColor): New color for math background. New color
13155 2001-06-25 The LyX Project <jug@sad.it>
13157 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13159 * lyxfunc.C (Open):
13160 * bufferlist.C (newFile): do not restrict to files ending with
13163 * BufferView_pimpl.C (MenuInsertLyXFile):
13165 2001-06-24 The LyX Project <jug@sad.it>
13167 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13170 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * lyxtext.h: rename most methods to begin with a small char.
13173 Lots of changes because of this.
13175 * paragraph.C (Paragraph): do not call fitToSize
13176 (erase): call Pimpl::erase
13177 (insertChar): call Pimpl::insertChar
13178 (insertInset): call Pipl::insertInset
13179 (breakParagraph): do not call fitToSize
13180 (breakParagraphConservative): do not call fitToSize
13181 (fitToSize): remove method
13183 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13185 2001-06-24 The LyX Project <Asger>
13187 * Fix Qt compilation^2
13189 2001-06-24 The LyX Project <jug@sad.it>
13191 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13192 depthHook(getDepth()-1).
13195 * ParagraphParameters.h:
13196 * ParameterStruct.h: change type of depth to unsigned int ==
13197 depth_type. Many adaptations to other files before of that.
13199 2001-06-24 The LyX Project <Asger>
13201 * Fix Qt compilation.
13203 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * paragraph.h: renamed several methods to begin with small letter.
13206 several changes to many parts of the code because of this.
13208 2001-06-23 The LyX Project <jug@sad.it>
13210 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13211 rewritten to discard all double spaces when KeepEmpty is off
13212 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13213 to only handle newlines but not fiddle with spaces and friends.
13215 * lyxfunc.C (MenuNew): when doing 'new from template', use
13216 template_path as default directory
13218 2001-06-23 The LyX Project <Asger>
13220 * Clean-up of header file includes all over
13221 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13223 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * paragraph.h: renamed from lyxparagraph.h
13227 2001-06-23 Asger <lyx@violet.home.sad.it>
13229 * Buffer.h: Removed Buffer::resize
13230 * BufferList.h: Removed BufferList::resize
13231 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13232 the document lazily when we change the width, or the font settings.
13234 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13236 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13238 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13240 * buffer.h: remove out of date comment
13242 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13245 * screen.C: fix "theoretical" GC leak
13247 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13249 * LaTeX.C (scanAuxFile):
13250 (deplog): remove trailing \r when reading stream (useful under
13253 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13255 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13256 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13257 and BufferView::theLockingInset(Inset*), so should use them and not
13258 access bv_->text->the_locking_inset directly.
13260 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13262 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13265 * tex-defs.h: remove old unused file
13267 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13269 * BufferView_pimpl.C: fix typo, remove minibuffer message
13270 when buffer has loaded
13272 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * lyxfunc.C (Dispatch): use stringstream
13275 (MenuNew): use stringstream
13276 (Open): use stringstream
13278 * importer.C (Import): use stringstream
13280 * bufferview_funcs.C (CurrentState): use stringstream
13282 * LaTeX.C (run): use stringstream
13284 * BufferView_pimpl.C (savePosition): use stringstream
13285 (restorePosition): use stringstream
13286 (MenuInsertLyXFile): use stringstream
13288 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13301 * vspace.C: removed // -*- C++ -*- as first line.
13304 * version.h: added // -*- C++ -*- as first line.
13306 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13308 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13310 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13313 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13315 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13318 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * gettext.C: include LString.h even when --disable-nls is on.
13322 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13324 * converter.h (Get): changed argument type from int to
13325 FormatList::size_type to avoid unnecessary conversion.
13327 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13330 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13332 * gettext.h: include LString.h even when --disable-nls is on.
13334 2001-06-07 Juergen Vigna <jug@sad.it>
13336 * text.C (BreakAgain): subst spaces with tabs.
13338 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13339 (resizeInsetsLyXText): set force on resizeLyXText.
13341 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * gettext.h (gettext_init):
13344 (locale_init): use a real definition instead of a macro
13346 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13348 * Bufferview_pimpl.C:
13350 * LColor.C: further lcolor tidies
13352 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * BufferView_pimpl.C (updateScrollbar): simplify.
13356 * BufferView2.C: don't include insets/insetinfo.h, change
13357 prototype for insertInset and call the Pimpl version. let
13358 updateInset call Pimpl version.
13360 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13361 gotoInset to BufferView::Pimpl
13363 2001-06-01 Juergen Vigna <jug@sad.it>
13365 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13366 inside a LockingInset (is the update needed at all?).
13368 2001-05-31 Juergen Vigna <jug@sad.it>
13370 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13371 here not the old one otherwise how should we compare it afterwards
13374 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13379 * FontInfo.C: bring C functions into global namespace when
13382 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13384 * LString.h: make sure config.h has been loaded before LString.h.
13386 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13387 (one for each char read by EatLine!).
13389 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13392 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13395 to the same as the par we break from
13397 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13401 * MenuBackend.C (expand): also create menu entries for wide
13402 versions of the floats.
13404 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13406 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13408 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13409 frontends/Makefile.am
13415 * tabular.C (getTokenValue): add std::
13417 * tabular-old.C (getTokenValue): add std::
13418 (getTokenValue): ditto
13419 (getTokenValue): ditto
13421 * screen.C (ToggleSelection): adjust
13423 * lyxtext.h: put selection cursors inside a Selection struct.
13425 * lyxfunc.C (moveCursorUpdate): adjust
13427 * lyxfont.C (latexWriteStartChanges): add std::
13429 * lyxfind.C: adjust
13431 * font.h: delete with(char const *, LyXFont const &)
13433 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13435 * FontInfo.C (getFontname): add std::
13437 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13438 (workAreaButtonPress): adjust
13439 (tripleClick): adjust
13441 (moveCursorUpdate): adjust
13444 * BufferView2.C (gotoInset): adjust
13446 2001-05-30 Juergen Vigna <jug@sad.it>
13448 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13449 to check pspell I add this as default as I now have new pspell
13450 libraries and they seem to use this.
13452 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * text2.C (CutSelection): make the cursor valid before the call to
13457 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13460 relied on 0 terminated strings and other horrors. Bug found due to
13461 the new assert in lyxstring!
13463 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13466 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13468 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13471 * lyxfunc.C (processKeySym): change method of getting to the
13474 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13475 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13476 * BufferView_pimpl.[Ch]: here as private methods.
13478 2001-05-28 Juergen Vigna <jug@sad.it>
13480 * text.C (SetHeightOfRow): added the update() call again as it is
13481 needed to initialize inset dimensions!
13483 2001-05-16 Juergen Vigna <jug@sad.it>
13485 * text2.C (SetCharFont): Add new function with BufferView * and
13486 bool toggleall parameters for setting insets internal fonts.
13487 (SetFont): Freeze the undo as we may change fonts in Insets and
13488 all this change should be inside only one Undo!
13490 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13491 setting font's in insets as for them we have the SetFont function!
13493 2001-05-15 Juergen Vigna <jug@sad.it>
13495 * text2.C (ClearSelection): to be sure we REALLY don't have any
13498 * tabular.C (TeXCellPreamble): fixed the left border problem for
13501 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13503 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13506 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13509 LFUN_BREAKPARAGRAPH.
13511 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13512 help test to "internal only", similar for LFUN_INSERT_URL
13514 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13515 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13516 auto_region_delete and deadkeys.
13518 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13521 * LColor.C: remove some dead entries, tidy a little
13523 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13527 (Dispatch): implement LFUN_ESCAPE
13529 * commandtags.h: add LFUN_ESCAPE
13531 * LyXAction.C (init): add entry for LFUN_ESCAPE
13533 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13534 Remove commented code.
13535 (insertNote): moved here
13536 (open_new_inset): moved here
13538 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13541 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * kbmap.C (findbinding): clean it up and make it work correctly.
13545 * lyx_main.C (init): do not pass argc and argv as parameters
13547 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13549 * buffer.C: fix path for OS/2 & Win32
13553 * lyx_main.C: Added os:: class.
13555 * os2_defines.h: update
13557 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13559 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13560 better by trying again with reduced state.
13562 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13564 * lyxrc.C (read): print error about invalid key sequence only when
13565 debugging (because not all latinX keysyms are known to some X
13568 * kbsequence.C (getiso): add a few std:: qualifiers
13569 (getiso): comment out extra return statement.
13571 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13575 (Dispatch): enhance the accent inset a bit. (not perfect)
13577 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13579 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13581 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * bufferlist.C (emergencyWrite): fix assert() call
13585 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13587 * text.C (InsertChar): Added trivial patch to only send the "you
13588 can not do multiple spaces this way" message once during a
13591 2001-05-08 Baruch Even <baruch@lyx.org>
13593 * Makefile.am: Changed order of libraries to get LyX to link properly
13594 with the gnome frontend.
13596 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * LaTeXFeatures.h: add a std:: qualifier
13600 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * paragraph.C (String): use stringstream
13604 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * paragraph.C (writeFile): remove footflag arg
13608 * buffer.C (makeLaTeXFile): use stringstream
13609 (latexParagraphs): remove footnot gurba
13611 * LaTeXFeatures.C (getPackages): use stringstream
13612 (getMacros): likewise
13613 (getTClassPreamble): likewise
13614 (getFloatDefinitions): new method
13616 * paragraph.C (writeFile): reindent
13619 * WorkArea.h: revert the xpos + etc changes.
13621 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13623 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13625 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13626 (pasteSelection): likewise
13627 * text2.C (CreateUndo): likewise
13629 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13631 * minibuffer.C (peek_event): temporarily reduce the functionality
13632 of the minibuffer (to allow args on lfuns)
13634 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13635 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13637 * buffer.C (readInset): add compability reading of old float
13638 lists, add reading of new style float list.
13639 (readInset): avoid reevaluation of inscmd.getCmdName()
13640 (getLists): reindent
13642 * MenuBackend.C (MenuItem): implement parsing of
13643 md_floatlistinsert and md_floatinsert.
13644 (expand::LastFiles): move initalizaton of iterators out of loop,
13645 avoid reevaluation.
13646 (expand::Documents): introduce typdedef vector<string> Strings,
13648 (expand::ExportFormats): introduce typedef vector<Format const *>
13649 Formats, and use it.
13650 (expand): implement FloatListInsert and FloatInsert.
13652 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13653 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13654 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13656 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13658 (Dispatch::LFUN_FLOAT_LIST): implement
13660 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13662 * LaTeX.C (run): Fix problem with --export code.
13664 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13666 * BufferView.[Ch] (workarea): removed.
13667 (getClipboard) new method; wrapper for workarea()->getClipboard()
13669 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13672 * WorkArea.h (width, height, xpos, ypos): These methods all
13673 returned the dimensions of the work_area sub-area of WorkArea,
13674 resulting in a position error if the WorkArea were resized. Now
13675 return the dimensions of the entire WorkArea.
13677 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13679 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * LaTeX.C (deplog): correct the syntax of regex reg1
13683 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * undo.C: remove !NEW_INSETS cruft
13687 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * text2.C: remove !NEW_INSETS cruft
13691 * text.C: remove !NEW_INSETS cruft
13693 * tabular.C: remove !NEW_INSETS cruft
13695 * spellchecker.C: remove !NEW_INSETS cruft
13697 * lyxtext.h: remove !NEW_INSETS cruft
13699 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13701 * lyxfunc.C: remove !NEW_INSETS cruft
13703 * lyxfind.C: remove !NEW_INSETS cruft
13705 * lyx_cb.C: remove !NEW_INSETS cruft
13707 * figureForm.C: remove !NEW_INSETS cruft
13709 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13711 * buffer.[Ch]: remove !NEW_INSETS cruft
13713 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13715 * CutAndPaste.C: remove !NEW_INSETS cruft
13717 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13719 * BufferView2.C: remove !NEW_INSETS cruft
13721 * BufferView.h: remove !NEW_INSETS cruft
13723 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13725 * Lsstream.h: include LString.h before the sstream headers to
13726 fix problem with gcc 2.95.3 and lyxstring
13728 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13730 * lyx_main.C: add using directives when needed for C functions
13731 declared in std:: namespace.
13733 2001-04-27 Juergen Vigna <jug@sad.it>
13735 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13736 (SetHeightOfRow): comment out the update call should not be needed!
13738 2001-04-13 Juergen Vigna <jug@sad.it>
13740 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13741 (LyXTabular): tried to minimize operator= operations (and realized
13742 hopfully Lars wish).
13744 2001-04-27 Juergen Vigna <jug@sad.it>
13746 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13748 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13752 * buffer.C (readInset): hack to make listof algorithm work
13754 * BufferView_pimpl.C: hack to make listof algorithm work
13756 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * LyXAction.C: removed all !NEW_INSETS cruft
13759 (init): moved lfun_item in method
13761 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13763 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13765 * BufferView2.C (theLockingInset): white space.
13767 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13769 * minibuffer.C: include <iostream>
13771 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13773 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13775 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13777 * text.[Ch] (TransposeChars): new method
13779 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * call message directly through LyXView instead of through LyXFunc
13782 * BufferView2.C: adjust
13783 * BufferView_pimpl.C: adjust
13784 * FontLoader.C: adjust
13786 * bufferview_funcs.C: adjust
13787 * converter.C: adjust
13788 * figureForm.C: adjust
13789 * importer.C: adjust
13791 * lyx_gui_misc.C: adjust
13792 * lyxfunc.C: adjust
13795 + more files in subdirs
13797 * lyxparagraph.h (size): move up int file
13800 * adjust all uses of Assert to lyx::Assert.
13802 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13803 lyxfunctional in namespace lyx
13804 * layout.C (hasLayout): ditto
13807 (delete_layout): ditto
13808 (NumberOfClass): ditto
13809 * converter.C (GetFormat): ditto
13814 * bufferlist.C (getFileNames): ditto
13815 (emergencyWriteAll): ditto
13818 * MenuBackend.C (hasSubmenu): ditto
13821 * BufferView_pimpl.C (getInsetByCode): ditto
13823 2001-04-18 Juergen Vigna <jug@sad.it>
13825 * vspace.C (asLatexString): fixed the 100% problem.
13827 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13829 * lyxfunc.C (Dispatch):
13831 * minibuffer.h: add a few std:: qualifiers
13833 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13835 * minibuffer.[Ch]: reimplement so that commands is initiated and
13836 run from lyxfunc, simplified som handling, and made the completion
13837 and history code for complete. wip.
13839 * lyxfunc.C (processKeySym): call message
13840 (miniDispatch): new temporary method
13841 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13842 (LFUN_MESSAGE): implement
13843 (LFUN_MESSAGE_PUSH): implement
13844 (LFUN_MESSAGE_POP): implement
13845 (initMiniBuffer): the initial/defualt minibuffer message.
13847 * lyxfont.[Ch]: inline some more getters
13849 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13851 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13853 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13854 (AutoSave): use LFUN_MESSAGE
13855 (Reconfigure): ditto
13857 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13859 * figureForm.C: use LFUN_MESSAGE
13861 * converter.C (runLaTeX): use LFUN_MESSAGE
13863 * bufferview_funcs.C: use LFUN_MESSAGE
13865 (changeDepth): ditto
13867 * bufferparams.h: use boost::
13869 * bufferlist.h: inherit privately from noncopyable
13871 * bufferlist.C (loadLyXFile): remove some commented code.
13873 * buffer.C (runChktex): use LFUN_MESSAGE
13875 * ShareContainer.h: inherit privately from noncopyable
13877 * ParagraphParameters.[hC] (depth): inline it.
13879 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13881 (message): new method
13882 (messagePush): ditto
13883 (messagePop): ditto
13884 (show): init minibuffer
13885 (showState): direct call
13887 * LaTeX.[Ch]: inherit privately from noncopyable
13888 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13889 instead of WriteStatus.
13891 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13893 * BufferView_pimpl.C (buffer): don't init minibuffer
13894 (workAreaButtonPress): use LFUN_MESSAGE
13895 (workAreaButtonRelease): ditto
13896 (savePosition): ditto
13897 (restorePosition): ditto
13898 (MenuInsertLyXFile): ditto
13899 (workAreaExpose): don't init minibuffer
13900 (update): remove commented code, simplify
13902 * BufferView2.C (openStuff): use LFUN_MESSAGE
13903 (toggleFloat): ditto
13906 (copyEnvironment): ditto
13907 (pasteEnvironment): ditto
13912 (updateInset): remove some commented code
13914 * lastfiles.h: inherit privately from noncopyable
13917 * lyx_main.h: ditto
13919 * lyxlex_pimpl.h: ditto
13921 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13922 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13923 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13925 * LyXAction.h: inherit privately from noncopyable, add methods
13926 func_begin, func_end, returning iterators to the func map.
13928 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13929 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13930 (func_begin): new method
13931 (func_end): new method
13933 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13935 (copySelection): ditto
13936 (pasteSelection): ditto
13938 * BufferView.C: whitespace change
13939 * BufferView.h: inherit privately from noncopyable
13941 2001-04-16 Allan Rae <rae@lyx.org>
13943 * tabular-old.C (l_getline):
13944 * spellchecker.C (sc_check_word):
13945 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13946 an unrecognised preprocessor directive. So ensure they're wrapped.
13948 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13950 * src/exporter.C (Export): Give an error message when path to file
13953 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13955 * LaTeX.C (deplog): Always check that foundfile exists.
13957 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13962 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * tabular.[Ch] (getLabelList): implement new method
13966 * minibuffer.h: comment ouf setTiimer
13968 * minibuffer.C (ExecutingCB): constify res
13969 (peek_event): constify s
13970 (Set): constify ntext
13971 (Init): constify nicename
13973 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13975 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13976 (savePosition): use two params to Minibuffer::Set
13977 (restorePosition): ditto
13979 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * lyx_main.C: include language.h
13983 * Makefile.am (lyx_main.o): add language.h
13985 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13991 * CutAndPaste.C: include gettext.h
13993 * lyxfont.h: remove old hack with ON and OFF.
13996 * lyxfont.h: do not include language.h...
14001 * bufferview_funcs.C:
14007 * paragraph.C: ... but do it here instead
14009 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14013 * tabular.C: small reformat
14015 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14018 (BreakParagraph): ditto
14019 (SetOnlyLayout): ditto
14022 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14025 * lastfiles.C: removed most using decl, add std:: where needed
14027 * buffer.C: ws changes
14029 * MenuBackend.C (class compare_format): put into anon namespace
14030 (expand): constify label, names, action, action2
14033 * text.C (SingleWidth): constify font
14034 (IsBoundary): constify rtl2
14035 (GetVisibleRow): constify ww
14037 * LaTeX.C (deplog): constify logfile
14039 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14041 (workAreaExpose): constify widthChange, heightChange
14043 * lyxrow.C (par): moved
14046 * lyxrow.h: as inlines here
14048 * lyxfont.h (shape): moved from lyxfont.C
14049 (emph): moved from lyxfont.C
14051 * lyxfont.C (LyXFont): use initialization list for all
14053 (shape): move to lyxfont.h as inline
14054 (emph): move to lyxfont.h as inline
14057 2001-04-04 Juergen Vigna <jug@sad.it>
14059 * vspace.C: had to include stdio.h for use of sscanf
14061 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14064 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14065 independent of xforms.
14067 2001-04-02 Juergen Vigna <jug@sad.it>
14069 * spellchecker.C: fixed namespace placing!
14071 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14073 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14074 the LyXParagraph * is 0.
14076 2001-03-29 Juergen Vigna <jug@sad.it>
14078 * vspace.C: added support for %, c%, p%, l%.
14079 (stringFromUnit): added helper function.
14080 (asLatexString): changed to give right results for the %-values.
14082 * buffer.C: convert the widthp in a width%.
14084 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14086 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14089 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14090 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14092 * lyx_cb.[Ch]: see above.
14094 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14098 * lyx.[Ch]: replaced by figure_form.[Ch].
14102 * lyxfunc.C: changed headers associated with above changes.
14104 2001-03-27 Juergen Vigna <jug@sad.it>
14106 * BufferView_pimpl.C: set the temporary cursor right!
14108 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14110 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14112 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14114 * LString.h: removed "using std::getline"!
14116 * BufferView_pimpl.C (Dispatch): changes due to changes in
14117 InsetInclude::Params.
14119 * buffer.C (tag_name): removed redundant break statements as they were
14120 producing lots of warnings with my compiler.
14122 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * LString.h: add "using std::getline" when using the real <string>.
14126 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14128 * buffer.C: removed bitset usage.
14129 PAR_TAG moved to an anonymous name space.
14130 (tag_name): new funtion, also in the anonymous namespace.
14131 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14132 (makeDocBookFile): clean code. Completed transition from string arrays
14134 (SimpleDocBookOnePar): code clean.
14136 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14138 * tabular.C: add some comments.
14140 2001-03-22 Juergen Vigna <jug@sad.it>
14142 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14143 compatibility read a bit and fixed bug with minipage in different
14146 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14148 * buffer.C (pop_tag): removed.
14149 (push_tag): removed.
14150 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14151 array replaced with vector. Added support for CDATA sections.
14152 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14154 (makeDocBookFile): XML conformant declaration of CDATA section,
14155 fixed bug related to <emphasis> in the first paragraph char.
14156 (sgmlOpenTag): exclude empty tags.
14157 (sgmlCloseTag): ditto.
14159 * buffer.h (pop_tag): removed.
14160 (push_tag): removed.
14162 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14164 * language.h (Languages): added size_type and size().
14166 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14168 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14169 response on compability reading of minipages. One probliem is that
14170 the old usage of minipages was «flertydig»
14172 * several files here and in subdirs: don't use static at file
14173 scope use anon namespaces instead.
14175 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14177 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14178 LaTeX output. This is necessary for Literate document
14181 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14183 * buffer.C: insert hfill when needed.
14185 * tabular.C (l_getline): use string::erase, small whitespace change.
14187 * BufferView_pimpl.C: try the anon namespace.
14188 * WorkArea.C: ditto
14190 2001-03-16 Juergen Vigna <jug@sad.it>
14192 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14193 otherwise it won't open options-dialogs.
14195 * buffer.C: honor pextraWidth(p) on converting minipages.
14197 * tabular.C (l_getline): changed the functions to strip trailing \r.
14199 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14201 * BufferView_pimpl.C:
14202 * minibuffer..C: added "using SigC::slot" declaration.
14204 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14206 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14212 * paragraph.C: ditto
14214 * lyxtext.h: NO_PEXTRA
14216 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14218 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14219 * ParameterStruct.h: ditto
14220 * ParagraphParameters.h: ditto
14221 * lyxparagraph.h: ditto
14223 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14225 * buffer.C: add compability for minipage alignment.
14226 (latexParagraphs): remove unwanted pextra check.
14228 * several files: remove CXX_WORKING_NAMESPACES
14230 * buffer.C (pop_tag): tie is in namespace boost
14232 * BufferView.h: noncopyable is in namespace boost
14234 * lyx_main.h: ditto
14237 * lastfiles.h: ditto
14238 * bufferlist.h: ditto
14239 * ShareContainer.h: ditto
14241 * LyXAction.h: ditto
14244 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14246 * Merging changes from BRANCH_MVC back into HEAD.
14248 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14250 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14252 * BufferView_pimpl.C: change from intl.C
14256 * Makefile.am: move combox.*
14262 * intl.C: remove dialog (covered by prefs)
14264 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14266 * lyxfunc.C (Dispatch): removed redundant break statement.
14268 2001-03-14 Juergen Vigna <jug@sad.it>
14270 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14272 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14274 * buffer.C: add hack to fix compability reading of minipages.
14276 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14278 * buffer.C (getLists): Cleanup.
14280 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14282 * lyxfont.C (update): don't honor toggleall on font size.
14284 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14288 * Makefile.am: moved to frontends/xforms/
14292 * BufferView_pimpl.C: changes for moved mathpanel
14294 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14296 * gettext.h: fix gettext_init() in --disable-nls
14298 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14300 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14302 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14305 * lyx.h: strip external form
14307 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14309 * BufferView_pimpl.C: add comment, destroySplash()
14311 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14313 * BufferView_pimpl.C:
14317 * lyxfunc.C: use re-worked insetinclude
14319 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14321 * buffer.C: add using std::stringstream.
14323 * lyx_cb.C: readd using std::ios.
14325 * buffer.C: add using std::map.
14327 * BufferView_pimpl.C: add using std::vector.
14329 * ShareContainer.h: add std:: to swap.
14331 * buffer.h: add some typedefs
14332 * buffer.C (getLists): use them
14333 (getLists): renamed from getTocList.
14334 add a counter for the different float types and use it in the
14336 (getLists): use the same counter for the NEW_INSETS and the "non"
14339 * lyx_cb.h: remove unused items, includes, using etc.
14341 * ShareContainer.h: remove some commented code, add more comments
14342 and "documentation".
14344 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14346 * buffer.C (getTocList): make the list also when NEW_INSETS is
14349 * buffer.h: remove TocType
14351 * buffer.C (getTocList): change to return a map<string,
14352 vector<TocItem> >, implement for dynamic number of list.
14354 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14355 * text2.C (PasteSelection): adjust
14356 * CutAndPaste.C (pasteSelection): adjust
14358 * FloatList.C (FloatList): update from the new_insets branch.
14359 * Floating.[Ch]: ditto
14360 * LaTeXFeatures.C: ditto
14362 * lyxlex_pimpl.C: ditto
14364 * paragraph.C (Last): remove when NEW_INSETS is defined.
14366 * other file: changes because of the above.
14368 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14370 * lyxparagraph.h: rename next to next_, previous to previous_,
14371 make them private for NEW_INSETS. Rename Next() to next(),
14372 Previous() to previous().
14374 * other files: changes because of the above.
14376 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14379 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14382 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * main.C (main): pass lyx_localedir to gettext_init().
14386 * gettext.h: remove locale_init and gettext_init macros
14388 * gettext.C (locale_init): new function
14389 (gettext_init): new function
14391 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14394 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14396 * Moved credits to frontends:
14397 * credits.[Ch]: removed
14398 * credits_form.[Ch]: removed
14399 * lyx_gui_misc.C: remove credits stuff
14402 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14404 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14406 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14407 unneeded destructor.
14409 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14410 a standalone pointer again.
14412 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14414 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14420 * ToolbarDefaults.C:
14429 * BufferView_pimpl.C: use new file dialog in GUII
14432 * lyx_cb.C: remove LayoutsCB to Toolbar
14434 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14436 * ShareContainer.h (get): add std:: qualifier
14438 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14440 * ShareContainer.h: define a proper ShareContainer::value_type
14441 type (and use typename to please compaq cxx)
14443 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14445 * lyxparagraph.h: move serveral local vars to
14446 ParameterStruct/ParagraphParameters., use ShareContainer in
14447 FontTable., make vars in FontTable private and add getter and
14450 * paragraph.C: changes because of the above.
14452 * lyxfont.h: remove copy constructor and copy assignment. (the
14453 default ones is ok), move number inside FontBits. move inlines to
14456 * lyxfont.C: add number to initializaton of statics, move several
14457 inlines here. constify several local vars. some whitespace
14458 cleanup. Dont hide outerscope variables.
14460 * Spacing.h: add two new constructors to match the set methods.
14462 * ShareContainer.h: new file, will perhaps be moved to support
14464 * ParameterStruct.h: new file
14466 * ParagraphParameters.h: new file
14468 * ParagraphParameters.C: new file
14470 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14471 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14473 * BufferView_pimpl.C: ParagraphParameter changes.
14474 * buffer.C: Likewise.
14475 * bufferview_funcs.C: Likewise.
14476 * text.C: Likewise.
14477 * text2.C: Likewise.
14479 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14481 * lyxfind.C (LyXReplace): do not redefine default argument in
14483 (IsStringInText): ditto
14484 (SearchForward): ditto
14485 (SearchBackward): ditto
14487 2001-03-06 Juergen Vigna <jug@sad.it>
14489 * lyxfind.C (IsStringInText): put parentes around expressions.
14491 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14493 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14495 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14497 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14499 * stl_string_fwd.h: add comment
14501 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14504 * tabular.C: remove unused DocBook methods
14510 killed DO_USE_DEFAULT_LANGUAGE
14512 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * lyx_gui.C: do not include language.h.
14516 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14517 arguments in function implementation.
14519 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14521 * BufferView_pimpl.C: add <ctime>
14523 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14525 * BufferView_pimpl.C: add using std::find_if
14527 2001-02-27 José Matos <jamatos@fep.up.pt>
14529 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14532 2001-02-11 José Matos <jamatos@fep.up.pt>
14534 * buffer.C (makeDocBookFile): command styles now have a parameter as
14535 "title" by default.
14537 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14539 * layout_forms.[Ch]: removed
14540 * lyx_cb.[Ch]: out character
14541 * lyx_gui.C: out character
14542 * lyx_gui_misc.C: out character
14543 * bufferview_funcs.C: : out character,
14544 added toggleall as parameter in ToggleAndShow
14546 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14548 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14550 * text2.C (SetCurrentFont): Disable number property at boundary.
14552 2001-02-26 Juergen Vigna <jug@sad.it>
14554 * lyxfunc.C (getStatus): added a string argument override function so
14555 that this is correctly called from LyXFunc::Dispatch if it contains a
14556 do_not_use_argument which is used!
14557 (Dispatch): added check for "custom" export and call appropriate func.
14559 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14561 * lyxrc.C: Add language_command_local, language_use_babel and
14562 language_global_options.
14564 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14566 * buffer.C (makeLaTeXFile): Use language_use_babel and
14567 language_global_options.
14569 2001-02-23 Juergen Vigna <jug@sad.it>
14571 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14572 which works with LyXText and putted it inside BufferView. Here now we
14573 only call for that part the BufferView::Dispatch() function.
14575 * BufferView.C (Dispatch): added.
14577 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14578 functions which needs to use a LyXText over from LyXFunc.
14579 (MenuInsertLyXFile): added
14580 (getInsetByCode): added
14581 (moveCursorUpdate): added
14582 (static TEXT): added
14584 2001-02-22 Juergen Vigna <jug@sad.it>
14586 * BufferView_pimpl.C (update): call a status update to see if LyXText
14589 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14591 * vc-backend.C (revert): implement for CVS
14592 (getLog): implement for CVS
14594 2001-02-20 Juergen Vigna <jug@sad.it>
14596 * text2.C (ClearSelection): added BufferView param for inset_owner call
14598 * lyxfunc.C (TEXT): added this function and use it instead of
14599 directly owner->view()-text of getLyXText().
14601 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14603 * src/layout_forms.C: out preamble
14604 * src/layout_forms.h: out preamble
14605 * src/lyx_cb.C: out preamble
14606 * src/lyx_cb.h: out preamble
14607 * src/lyx_gui.C: out preamble
14608 * src/lyx_gui_misc.C: out preamble
14609 * src/lyxfunc.C: connect with guii preamble
14611 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14613 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14615 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14617 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14618 whether to run bibtex.
14620 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14622 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14624 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14626 * Makefile.am (lyx_SOURCES): removed bibforms.h
14628 * vspace.h: doxygen
14630 * text.C (GetVisibleRow): make several local vars const
14632 * tabular.C: small cleanup.
14634 * lyxserver.C (callback): use compare instead of strncmp
14636 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14637 inlines to after class or to paragraph.C
14639 * lyxfont.h: remove friend operator!=
14641 * converter.h: move friend bool operator< to non friend and after
14644 * combox.h: small cleanup
14646 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14647 to inlines after class def.
14649 * buffer.C (pop_tag): use string operations instead of strcmp
14651 * bmtable.c: doxygen, small cleanup
14653 * LaTeX.h: remove friend operator==
14655 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14667 * BufferView_pimpl.C:
14668 * BufferView.[Ch]: remove cruft
14670 2001-02-14 Juergen Vigna <jug@sad.it>
14672 * lyxfunc.C: removed #if 0 unused code
14674 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14676 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14678 * text2.C (SetSelection): added a BufferView * parameter
14680 2001-02-13 Juergen Vigna <jug@sad.it>
14682 * lyxfunc.C (Dispatch): fixed protected blank problem.
14683 * BufferView2.C (protectedBlank): added LyxText * parameter.
14685 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14686 (AppendColumn): same as above for column_info.
14688 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14689 (moveCursorUpdate): use a LyXText param for support of InsetText.
14691 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14692 (tripleClick): ditto
14694 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14696 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14698 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14700 * text2.C (SetSelection): set correct update status if inset_owner
14701 (ToggleFree): ditto
14703 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14705 * tabular.C: remove some commented code.
14707 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14709 * BufferView_pimpl.C: call hideSplash()
14711 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14714 * bibforms.h: remove
14717 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14718 add LFUN_CHILD_CREATE
14720 * counters.h: fix tiny typo
14725 * lyx.C: move splash to frontends/xforms/
14727 * lyx_gui_misc.C: move Include and Bibform to frontends
14729 * lyxvc.h: clarify comment
14731 * vspace.C: tiny housekeeping
14733 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14735 * text.C (PrepareToPrint): RTL Fix.
14737 * paragraph.C (GetUChar): New method.
14738 (String): Use GetUChar.
14740 * buffer.C (asciiParagraph): Use GetUChar.
14742 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14744 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14746 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14749 * buffer.C: rename to getLogName(), handle
14750 build log / latex log nicely
14752 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * MenuBackend.h: remove support for reference menuitem type.
14757 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14759 * BufferView_pimpl.C: housekeeping
14760 * BufferView_pimpl.h:
14765 * minibuffer.h: move Timeout GUI-I
14767 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14769 * lyxrc.C (read): Update converters data-structures.
14771 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14773 * LaTeX.h (operator!=): add operator != for Aux_Info
14775 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14777 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14779 * LaTeXLog.C: deleted, useful code moved to Buffer
14782 * buffer.C: new function getLatexLogName()
14788 * lyxfunc.C: use frontends for LaTeX and VC logs
14790 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * LaTeX.h: yet another std:: that Allan forgot.
14794 * Variables.C (set): renamed from isset(), because this clashes
14795 with some HP-UX macros (grr).
14797 2001-02-06 Allan Rae <rae@lyx.org>
14799 * LaTeX.h: Another bug fix. Missing std:: this time.
14801 2001-02-04 Allan Rae <rae@lyx.org>
14803 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14804 floats problem. I've left it commented out because it's not quite
14805 correct. It should also test that the current object is a table or
14806 figure inset. But I haven't gotten around to figuring out how to do
14807 that. I *think* it'll be something like: "table" == inset.type()
14809 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14812 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14814 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14815 all the citation/databases/styles in the auxilary file.
14816 (run): Rerun latex if there was a babel language error.
14818 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14820 * text.C (Backspace): Preserve the font when changing newline char
14822 (BreakParagraph): If the cursor is before a space, delete the space.
14824 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14826 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14828 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14829 new argument (code).
14830 (ChangeCitationsIfUnique): New method.
14832 * paragraph.C (GetPositionOfInset): Handle bibkey.
14834 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * BufferView_pimpl.h: change type of Position::par_pos to
14837 LyXParagraph::size_type.
14839 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14841 * BufferView_pimpl.C (savePosition, restorePosition): Write
14842 messages to minibuffer.
14844 2001-01-28 José Matos <jamatos@fep.up.pt>
14846 * buffer.C (makeDocBookFile): adds support for document language.
14847 A silly restriction on the name of LatexCommand types where removed.
14848 Added support for CDATA sections, allows to chars unescaped, used
14849 among others in code, to avoid escape < and >.
14851 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14853 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14854 saved positions instrad of a stack. Furthermore, a position is
14855 stored using paragraph id/paragraph position.
14857 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14858 Remove LFUN_REF_BACK.
14860 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14862 * converter.C (dvipdfm_options): New method.
14864 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14866 * vspace.C (isValidLength): Fix for empty input string.
14868 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14870 * LyXAction.C (init): change description of LFUN_FIGURE to
14873 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * LaTeX.C: add using directive
14877 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14879 * MenuBackend.C (expand): Fix the sorting of the formats.
14881 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14883 * lyx_main.C: tiny error message fix
14885 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14888 calling fl_initialize(). This fixes the problem with ',' as
14889 decimal separator in text files.
14891 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14893 * trans.C (process): Fix the keymap bug.
14895 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14897 * LaTeX.C (scanAuxFiles): New method. Provides support for
14898 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14899 (scanLogFile) Scan for "run BibTeX" messages.
14901 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14902 OT1 font encoding. Also, load the aecompl package if the ae
14905 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14907 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * texrow.C (increasePos): turn two error messages into debug
14912 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14914 * LaTeX.C (scanAux): Handle the \@input macro.
14915 (runBibTeX): Use scanAux().
14917 * language.C (latex_options_): New field.
14919 * LaTeXFeatures.C (getMacros): Add language macros.
14921 * buffer.C (makeLaTeXFile): Small fix.
14923 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14925 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14927 * text2.C: add a using directive.
14929 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14934 * lyxfunc.C: kill LyXBell.
14936 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14938 * text.C (IsBoundary): Remove the error message
14940 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14942 * lyxrc.C (setDefaults): Correct initialization value for
14945 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14947 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14950 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14951 and GotoNextNote().
14953 * src/LyXAction.C: Added reference-next.
14955 * text.C (InsertChar): Use contains instead of strchr.
14957 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14959 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14961 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14962 alignment commands (when needed).
14964 * text.C (InsertChar): Add ':' to number separator chars.