1 2004-03-23 Angus Leeming <leeming@lyx.org>
3 * ispell.C (LaunchIspell):
4 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
5 a boost::shred_ptr rather than a std::auto_ptr.
7 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * lyxfunc.C (getStatus): handle read-only buffers correctly;
10 handle LFUN_FILE_INSERT_*
12 * lyxrc.C (setDefaults, getDescription, output, read):
13 * lyxrc.h: remove ps_command
15 2004-03-22 Angus Leeming <leeming@lyx.org>
17 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
18 Ensure that error_handler is processed once only and that all data
19 is saved before attempting to output any warning messages.
21 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
23 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
25 * tabular.C (TeXRow): crash fix (from Kayvan and André)
27 2004-03-19 André Pönitz <poenitz@gmx.net>
29 * cursor.[Ch] (reset): take main text inset as argument
32 * BufferView_pimpl.C: adjust
34 * paragraph.[Ch]: fix completely broken operator=()
36 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * LColor.C (getFromLyXName): make sure that the color name is used
41 2004-03-17 Angus Leeming <leeming@lyx.org>
44 * LyXAction.C (init): remove LFUN_FORKS_KILL.
46 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
47 dialog and to kill a forked process.
49 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
51 * text2.C (setCursorFromCoordinates): fix font problem
53 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
55 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
56 bogus "rebuild cursor" code
58 2004-03-11 André Pönitz <poenitz@gmx.net>
60 * buffer.[Ch]: use InsetText instead of LyXText as container for
63 * dociterator.[Ch]: drop the BufferView * member which is not needed
64 anymore after the change to buffer.C
70 * BufferView_pimpl.[Ch]:
72 * cursor_slice.[Ch]: adjust
74 * text3.C: fix bug in mathDispatch
76 2004-03-08 André Pönitz <poenitz@gmx.net>
78 * undo.[Ch]: use 'StableDocumentIterator' as base for
81 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
84 * bufferparams.[Ch]: add jurabib support and param.
86 * LaTeX.C: add FIXME/comment.
88 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * buffer.C: increment file format to 230.
92 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
94 * cursor.C (dispatch): avoid infinite loops
96 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
98 * rowpainter.C (paintSelection): fix x coordinates
100 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
102 * text.C (rowBreakPoint): fix breaking before displayed insets
104 2004-03-01 André Pönitz <poenitz@gmx.net>
106 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
108 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
112 * BufferView_pimpl.C:
120 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
126 * BufferView_pimpl.C: rename textwidth -> maxwidth,
127 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
131 * Bidi.[Ch] (computeTables): const correctness
132 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
133 fill_hfill, fill_label_hfill and x from Row
134 * lyxtext.h: prepareToPrint returns a RowMetrics
135 * rowPainter.C: adjust
136 * text.C (prepareToPrint): use width, not textWidth. adjust
137 (redoParagraphInternal, cursorX): adjust
138 * text2.C (getColumnNearX): adjust
139 (init): put a default value to the top LyXText::width
141 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
143 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
145 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
147 * lyxtext.h: add FontIterator class
149 * text.C (FontIterator, operator*, operator->, operator++): add
150 (rowBreakPoint, setRowWidth): adjust (fixing a
153 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * BufferView_pimpl.C (workAreaDispatch): allow also
156 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
158 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
160 * text.C (rowBreakPoint): fix a bug showing with very large insets
162 2004-02-25 André Pönitz <poenitz@gmx.net>
165 * cursor.[Ch]: move some mathed specific code to mathed
167 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
170 use_tempdir in preferences
171 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
173 * lyx_main.C: ensure that tempdir is valid
174 * lyxlex.h: correct typo
175 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
176 * paragraph.[Ch] (isMultiLingual): make const
177 * cursor.[Ch] (openable): make const
179 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
181 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
183 2004-02-20 André Pönitz <poenitz@gmx.net>
185 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
187 * cursor.[Ch]: prepare for localized getStatus()
193 * text3.C: streamlines the LyXText cursor movement handlers a bit.
195 2004-02-20 André Pönitz <poenitz@gmx.net>
197 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
199 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
201 * text2.C (setCursorFromCoordinates): switch to absolute coords
204 * text3.C (dispatch): adjust
206 2004-02-16 André Pönitz <poenitz@gmx.net>
208 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
211 * cursor_slice.[Ch]: remove unneeded acessor function
213 * lyxtext.h: rename rtl() to isRTL()
221 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
223 * rowpainter.C (paintSelection): coord fix
225 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
227 * Spacing.C: compile fix
229 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
231 * cursor.C (dispatch): restore current_ before returning
233 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
235 * text2.C (cursorUp, cursorDown): fix coords
238 2004-02-12 André Pönitz <poenitz@gmx.net>
243 * text3.C: add LCursor & parameter to most cursor movement functions
244 remove usage of LyXText::cursorRow() and cursorPar()
246 * cursor.[Ch]: add textRow() needed members
249 * BufferView_pimpl.C:
252 * BufferView_pimpl.C: adjust
254 2004-02-11 André Pönitz <poenitz@gmx.net>
258 * BufferView_pimpl.C: shift undo/redo handling
260 * cursor.[Ch]: fix mathed crash
263 * lyxtext.h: move selectionAsText to LCursor
271 * rowpainter.C: fix excessive drawing
273 2004-02-06 André Pönitz <poenitz@gmx.net>
276 * BufferView_pimpl.[Ch]:
277 * text3.C: move some text specific LFUN handling
279 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
281 * text3.C (checkInsetHit): adjust coords
282 * text2.C (getColumnNearX): adjust coords
283 (edit): adjust coords
284 * text.C (getRowNearY): add two asserts
286 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
289 * format.C: add using std::distance to compile on gcc 2.95/stlport
291 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
293 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
295 2004-02-04 André Pönitz <poenitz@gmx.net>
297 * BufferView.[Ch] (insertInset):
298 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
303 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
305 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
306 on the default clause of the switch
307 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
308 wasn't catched by LCursor::dispatch
310 2004-02-03 André Pönitz <poenitz@gmx.net>
313 * cursor.[Ch]: some additional asserts
315 * undo.[Ch]: remove LyXText dependency in interface
319 * lyxtext.h (firstPar, lastPar): remove dead functions
324 * paragraph.[Ch]: adjust
326 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
328 * lyxfind.C (find): fix argument order in call to ::find
330 2004-02-02 André Pönitz <poenitz@gmx.net>
332 * cursor.[Ch]: remove direct access to anchor
334 * text.C: remove findText() hack
336 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
338 * iterators.[Ch] (lockPath): remove in favour of...
339 * BufferView.[Ch] (setCursor): this addition
340 * BufferView.C (putSelectionAt): adjust
341 * undo.C (performUndoOrRedo): adjust
342 * lyxfunc.C (dispatch): adjust
344 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
346 * iterators.C (lockPath): add a missing slice
347 * undo.C (performUndoOrRedo): remove redundant positioning code
349 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
351 * vc-backend.C (scanMaster): ";" -> ';'
353 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
355 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
358 * lyxtextclass.C (compare_name): rename to...
359 (LayoutNamesEqual): ...this
361 * lyxlex_pimpl.C (compare_tags): inherit from
362 std::binary_function, put back into anon namespace
364 * lyxfind.C (MatchString): inherig from std::binary_function
365 (findChange): use empty() istead of !size()
367 * format.C (FormatNamesEqual): new functor
374 * converter.C (compare_Converter): rename to...
375 (ConverterEqual): ...this, and fixup a bit.
376 (getConverter): use it, and make function const
377 (getNumber): use it, and make function const
381 * bufferlist.C: add using boost::bind
383 * MenuBackend.C (MenuNamesEqual): new functor
384 (hasMenu): use it, and make function const
385 (hasSubmenu): use nested bind to get rid of compare_memfun.
387 2004-01-30 André Pönitz <poenitz@gmx.net>
389 * BufferView_pimpl.C:
400 * text3.C: move some of the edit(x,y) handling to the insets
401 some coordinate changes.
403 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
405 * text.C: add using statements for std::advance and std::distance
407 * paragraph.C: add using statement for std::distance
409 * lyxfind.C: add using statement for std::advance
411 * cursor.C (region): remove std:: from swap
412 (openable): use nucleus in stead of operator->
414 * BufferView.C: add using statements for std::distance and std::swap
416 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
418 * iterators.C: Remove the pimple, move the needed structures to
419 the header file. Create accessor for the positions stack.
420 (asPosIterator): remove function
422 * PosIterator.C (PosIterator): move constructors to top of file
423 (PosIterator): reimplement the constructor taking a ParIterator in
425 (setFrom): new function
426 (operator!=): inline it
428 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
430 * lyxfind.C (replaceAll): use std::advance
432 * iterators.h: inherit from std::iterator.
434 * PosIterator.C (advance, distance): remove
435 * PosIterator.h: interit from std::iterator.
437 2004-01-26 André Pönitz <poenitz@gmx.net>
440 * BufferView_pimpl.[Ch]:
444 * bufferview_funcs.C:
455 * output_plaintext.C:
457 * paragraph_funcs.[Ch]:
458 * paragraph_pimpl.[Ch]:
464 * text3.C: more IU: dumps most of the rest of the mathcursor
465 implementation into cursor.[Ch]; "globalize" a bit of it.
467 2004-01-25 Angus Leeming <leeming@lyx.org>
469 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
471 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * LaTeXFeatures.h: add nice_ and nice() const
474 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
476 2004-01-20 André Pönitz <poenitz@gmx.net>
479 * BufferView_pimpl.C:
481 * bufferview_funcs.C:
494 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
495 LCursor and mathcursor parts to LCursor and InsetBase.
497 2004-01-15 André Pönitz <poenitz@gmx.net>
499 * cursor_slice.[Ch]: add a few covienience functions
501 * funcrequest.[Ch]: remove BufferView * member
503 * BufferView_pimpl.C:
510 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
512 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
514 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
515 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
517 2004-01-13 André Pönitz <poenitz@gmx.net>
520 * lyxtext.h: hide cursor and selection anchor behind accessor function
523 * BufferView_pimpl.[Ch]:
525 * bufferview_funcs.C:
535 * cursor_slice.[Ch]: some integer type changes for inset unification
537 * lyxcursor.[hC]: remove, it's CursorSlice now.
540 * BufferView_pimpl.[Ch]:
541 * bufferview_funcs.C:
547 * textcursor.[Ch]: adjust
549 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
551 * text2.C (undoSpan): add and use
552 * text.C (breakParagraph): use undoSpan (fix bug 578)
555 2004-01-08 Angus Leeming <leeming@lyx.org>
557 * BufferView_pimpl.C (MenuInsertLyXFile):
558 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
559 * lyxfunc.C (menuNew, open, doImport):
560 FileFilterList change to the FileDialog open and save functions.
562 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
564 * ShareContainer.h: make isEqual and isUnique adaptable
566 * CutAndPaste.C: make resetOwnerAndChanges adaptable
568 2004-01-07 Angus Leeming <leeming@lyx.org>
571 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
573 * BufferView_pimpl.C (dispatch): act on these LFUNs.
575 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
576 functions replacing find, replace and replaceAll.
578 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
579 LFUN_WORDFIND(FORWARD|BACKWARD).
581 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
583 * text.C (breakParagraph): remove an outdated #warning
585 2004-01-07 André Pönitz <poenitz@gmx.net>
587 * lyxfind.C: somewhat clearer logic
589 * text.C: prevent crash in cursorX on unitialized row cache
591 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
593 * lyxcursor.[Ch] (operator>): add
594 * textcursor.C (selStart, selEnd): use std::min and std::max
596 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
598 * Chktex.C: include boost/format.hpp
600 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
602 * InsetList.C: replace functor MathcIt with adaptable functor
604 (insetIterator): modify accordingly
606 * BranchList.h: move the BranchNamesEqual functor here from...
607 * BranchList.C: ... to here
609 * BranchList.C: new BranchListEqual fuctor, use it. Remove
611 (add): replace a finding loop with std::find_if.
613 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
615 * output_docbook.C: moving LatexParam functionality into
618 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
620 * buffer.C: increment format to 229.
622 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
625 * lyx_sty.[Ch]: remove minipageindent_def
631 * text3.C: remove LFUN_INSET_MINIPAGE
633 2003-12-28 Angus Leeming <leeming@lyx.org>
635 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
637 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
639 * text2.C (setParagraph): fix off-by-one crash
641 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
643 * output_docbook.C: header stuff for AGU
645 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
647 * text2.C (redoCursor): remove
650 * BufferView_pimpl.C: remove calls to redoCursor and
651 setCursor(cursor.par(), cursor.pos()) all around
653 2003-12-15 Angus Leeming <leeming@lyx.org>
655 * buffer.C: up the format to 228.
657 2003-12-15 André Pönitz <poenitz@gmx.net>
659 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
664 * BufferView_pimpl.C:
673 2003-12-15 Angus Leeming <leeming@lyx.org>
675 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
676 than getFromGUIName to manipulate the color.
678 2003-12-14 Angus Leeming <leeming@lyx.org>
680 * BranchList.[Ch]: minimize the API.
681 (Branch::getBranch, getColor): now return a 'const &'.
682 (Branch::setSelected) now returns a bool set to true if the
683 selection status changes.
684 (BranchList::clear, size, getColor, setColor, setSelected,
685 allBranches, allSelected, separator): removed.
686 (BranchList::find): new functions, returning the Branch with
688 (BranchList::add, remove): return a bool indicating that
689 the operation was successful.
691 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
692 new InsetBranch::isBranchSlected member function.
694 * LColor.[Ch]: mimimize the API.
695 (fill): renamed as addColor and made private.
696 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
697 versions of these functions taking a string arg have been removed.
699 * bufferparams.C (readToken):
700 * lyxfunc.C (dispatch):
701 * lyxrc.C (read): changes due to the altered BranchList and
704 * factory.C (createInset, readInset): changes due to altered
707 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
710 * lyxfunc.C: remove insetminipage. "minipage-insert"
711 now produces a frameless minipage box inset.
713 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
715 * textcursor.[Ch] (selStart,selEnd): add new methods
716 remove selection::start, end, use LyXCursor::operator<
717 * lyxcursor.[Ch] (operator<): add
718 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
719 * BufferView.[Ch] (unsetXSel): add
720 * text2.C (clearSelection): use unsetXSel,adjust
723 * rowpainter.C: adjust
724 * bufferview_funcs.C (put_selection_at): adjust
726 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
728 * BufferView_pimpl.C: small coord. correction
730 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
732 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
733 dragging over the splash screen.
735 2003-12-11 Angus Leeming <leeming@lyx.org>
737 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
738 as it is now handled in LyXText::dispatch.
740 * text3.C (doInsertInset): remove a level of nesting.
742 2003-12-11 Angus Leeming <leeming@lyx.org>
744 * factory.C (createInset): changes due to the changed interface to
745 InsetCommandMailer::string2params.
747 2003-12-10 Angus Leeming <leeming@lyx.org>
749 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
750 'dialog-show-new-inset <inset name>'
752 2003-12-10 Angus Leeming <leeming@lyx.org>
754 * buffer.C: up the format to 227.
756 * factory.C: the box inset is now identified simply by 'Box'.
758 2003-12-10 Angus Leeming <leeming@lyx.org>
760 * buffer.C: up the format to 226.
762 * factory.C: the note inset is now identified simply by 'Note'.
764 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
766 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
767 when a pit is enough. Standarize a couple of loops.
769 2003-12-05 Angus Leeming <leeming@lyx.org>
771 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
772 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
773 data to the re-worked "log" dialog.
775 2003-12-03 André Pönitz <poenitz@gmx.net>
783 * text2.C: use Inset::getText instead of Inset::getParagraph
785 2003-12-03 André Pönitz <poenitz@gmx.net>
789 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
790 InsetText::read() as LyXText::read()
792 2003-12-02 Angus Leeming <leeming@lyx.org>
794 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
795 type. Add a comment in the implementation that the function uses
796 the stream's bad() function rather than fail() as the std::streams
799 2003-12-02 André Pönitz <poenitz@gmx.net>
801 * lyxlex.[Ch]: make interface more similar to std::stream
803 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
805 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
807 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
809 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
811 * vspace.[Ch]: remove VSpace::NONE
813 2003-12-01 André Pönitz <poenitz@gmx.net>
816 * lyxtext.h: move ParagraphList member to LyXText
817 rename LyXText::ownerParagraphs to LyXText::paragraph
820 * bufferview_funcs.C:
830 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
832 * undo.C: fix cursor positioning
834 2003-12-01 John Levon <levon@movementarian.org>
836 * BufferView_pimpl.C: fix a crash on exit with
839 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
841 * BranchList.C: fix setSelected() method.
843 2003-11-28 André Pönitz <poenitz@gmx.net>
845 * ParagraphParameters.[Ch]:
846 * ParameterStruct.h: remove space above/below from Paragraph to
849 * BufferView_pimpl.C:
861 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
863 * factory.C: Syntax change for CharStyles
865 2003-11-28 André Pönitz <poenitz@gmx.net>
870 * buffer.[Ch]: move LyXText member
872 2003-11-28 André Pönitz <poenitz@gmx.net>
874 * BufferView.[Ch]: make LyXText * text a private member
876 * BufferView_pimpl.C:
887 * output_plaintext.C: cleanup
889 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
892 * lyxtextclass.[Ch]: parametrize SGML document header
894 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
897 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
900 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
902 * text2.C (setFont): rework using PosIterator (no more recursive)
903 (setCharFont): no more needed
904 (setLayout): no more selection cursors fiddling (done by redoCursor)
905 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
906 destroy remaining ones)
908 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
910 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
912 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
915 * text3.C: adjust + re-allow multi par depth changes
916 * textcursor.C: simplify a bit
918 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
924 * src/output_docbook.C:
925 * src/output_latex.C:
930 * src/text2.C: Introducing a number of tags parametrizing various
931 XML formats that we may want to support
933 2003-11-25 André Pönitz <poenitz@gmx.net>
935 * InsetList.[Ch] (begein, end): inline as suggested by profiler
937 * lyxtext.h (leftMargin/rightMargin): simplify interface
944 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
946 * lyxfunc.C (dispatch): propogate the bibtex databases from the
947 master file to any child files. Fixes bug 546.
949 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
951 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
953 2003-11-24 André Pönitz <poenitz@gmx.net>
955 * rowpainter.C: simplification
957 * text2.C (updateCounters): remove call to redoParagraph on
958 changed labels as this is far too expensive.
960 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
962 * converter.C (convert): fix a crash: this function gets
963 called with buffer == 0 from importer code.
965 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
967 * text3.C (cursorPrevious): make sure that we do not compare
968 iterators form different containers.
971 * rowpainter.C (paintSelection): make sure that we do not compare
972 iterators from different containers.
974 * text3.C (dispatch): [PRIOR] make sure that we do not compare
975 iterators from different ParagraphList containers.
978 * text2.C (LyXText): change order of initialization slightly
979 (operator=): new function. copy all variables except cache_par_
980 (moveUp): make sure that we do not compare iterators from
981 different ParagraphList constainers.
984 * text.C (firstPar): new function
985 (lastPar): new function
986 (endPar): new function
988 * lyxtext.h: move things around and group public functions, public
989 variables, private functions, private variables
991 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
993 * factory.C: change call to InsetERT constructor to avoid
994 additional invocation of method status
995 * text2.C (toggleInset): remove redundant update() call
996 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
997 instead of a Bufferview pointer
999 2003-11-21 André Pönitz <poenitz@gmx.net>
1001 * rowpainter.C: simplification
1003 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1005 * text3.C (dispatch): make possible to extend a word/row selection
1008 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1010 * lyxtext.h: x0_,y0_ -> xo_,yo_
1011 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1012 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1013 * rowpainter.C (paintRows): paint full paragraphs
1015 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1017 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1020 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1022 * lyxtext.h: add x0_, y0_
1023 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1024 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1026 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1028 * text2.C (setCursorIntern): move the x_target update here *
1029 * text3.C: change some bv() to true/false in calls to
1030 cursorUp/Down/Right/Left
1031 * cursor.C: use helper function.
1033 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1035 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1036 * paragraph_funcs.[Ch]: correct comment
1037 * rowpainter.C: do not paint selections away from bv->cursor()
1038 Fix a long standing selection painting bug.
1039 * text3.C: generalize mouse-selection code to LyXTexts other that
1041 * textcursor.C: do not use y coords if we can use par offsets
1043 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1045 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1046 cursor position after e.g. inset insert)
1048 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1050 * lyxfind.C (replace): adjust to locking removal + some
1053 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1055 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1058 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1061 * output_docbook.C: XML sanitation: new layout
1062 parameters InnerTag and CommandDepth
1064 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1066 * BufferView_pimpl.C:
1068 * text3.C: Fix the insertion and modification of button-style
1071 2003-11-13 André Pönitz <poenitz@gmx.net>
1073 * InsetList.[Ch]: remove deleteLyXText
1075 * paragraph.[Ch]: cache beginOfBody position
1080 * text3.C: remove superfluous update() calls
1084 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1086 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1087 * BufferView.C (fitLockedInsetCursor): remove
1088 * cursor.[Ch] (getDim): add
1089 * text.C (getRowNearY): add faster version
1090 * text3.C: remove some update calls
1092 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1104 * text3.C: The Character Style /XML short element patch.
1106 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1109 * factory.C: Small step to solving 'unable to insert some insets'
1112 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1114 * cursor.[Ch] (updatePos): new function for updating the y
1115 position of the tip inset
1116 * bufferview_funcs.C (put_selection_at):
1117 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1119 2003-11-11 André Pönitz <poenitz@gmx.net>
1121 * text.C: remove big comment on invalid Paragraph pointers as it is
1124 2003-11-11 André Pönitz <poenitz@gmx.net>
1126 * text_funcs.[Ch]: merge with ...
1134 * Makefile.am: remove text_funcs.[Ch]
1136 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1138 * cursor.C (getPos): return absolute cached y coord
1140 * BufferView_pimpl.C (fitCursor): new simplistic code
1141 (workAreaDispatch): add a fitCursor call
1143 2003-11-10 André Pönitz <poenitz@gmx.net>
1146 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1148 2003-11-10 André Pönitz <poenitz@gmx.net>
1150 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1151 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1152 indicate that the cursor needs to leave an inset
1154 * lyxtext.h: remove inset locking
1156 * cursor.[Ch]: re-implement functionality provided by inset locking
1159 * BufferView_pimpl.[Ch]:
1161 * bufferview_funcs.[Ch]:
1173 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1175 * PosIterator.[Ch]: replace the stack with a vector, add inset
1177 * iterators.[C]: adjust
1179 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1181 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1183 * paragraph_funcs.C (readParToken): put the correct id in the
1184 error item, not the id of the top paragraph
1186 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1188 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1189 * bufferview_funcs.C (put_selection_at): use the above
1191 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1193 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1195 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1197 * output_linuxdoc.h:
1198 * output_plaintext.h:
1200 * output_docbook.h: add #include statements
1202 2003-11-05 José Matos <jamatos@lyx.org>
1204 * output_docbook.[Ch]:
1205 * output_latex.[Ch]:
1206 * output_linuxdoc.[Ch]:
1207 * output_plaintext.[Ch]: New files for output formats.
1208 * output.[Ch]: New file for helper functions.
1211 * paragraph_funcs.[Ch]: output functions moved to new files.
1213 * outputparams.h: rename of latexrunparams.h
1221 * paragraph_funcs.[Ch]:
1222 * paragraph_pimpl.[Ch]:
1223 * tabular.[Ch]: rename ascii to plaintext
1224 and LatexRunParams to OutputParams.
1226 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1228 * iterators.[Ch] (text): require bv argument
1229 * undo.C (recordUndo):
1230 * lyxfunc.C (dispatch):
1231 * bufferview_funcs.C (put_selection_at): adjust
1233 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1235 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1237 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1239 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1242 2003-11-04 André Pönitz <poenitz@gmx.net>
1244 * cursor.[Ch]: restructure
1247 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1249 * iterators.[Ch] (asCursor): remove
1251 * lfuns.h: remove LFUN_INSET_EDIT
1257 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1259 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1261 * lyxfind.[Ch]: complete overhaul
1262 * BufferView_pimpl.C:
1264 * paragraph.[Ch] (insert): add
1266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1270 * text.C: remove dead spellcheck code
1272 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * dispatchresult.h: add a val setter
1276 * cursor.C (dispatch): use a tempvar for data_[i]
1278 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1280 * PosIterator.[Ch]: compile fix
1282 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1284 * text.C (cursorPar): deactivate the cursor cache
1286 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1288 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1290 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1292 * text3.C (dispatch): adjust for new DisptchResult semantics.
1294 * lyxfunc.C (dispatch): handle update when return from
1295 Cursor::dispatch, adjust for new DispatchResult semantics.
1297 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1298 DispatchResult(true) mean to not update. Add class functions for
1299 setting dispatched and update, as well as reading.
1301 * cursor.C (dispatch): don't handle update here
1303 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1306 * trans_mgr.C: adjust
1308 * paragraph_funcs.C (readParToken): exception safety
1310 * lyxvc.h: store the vcs pointer in a scoped_ptr
1313 * lyxsocket.C (serverCallback): exception safety
1315 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1317 * ispell.C (clone): make it return a auto_ptr
1319 * factory.C (createInset): exception safety
1320 (readInset): exception safety
1322 * bufferlist.C (newBuffer): exception safety
1324 * Thesaurus.C (Thesaurus): use initialization for aik_
1326 * MenuBackend.C (expandToc): exception safety.
1328 2003-11-03 André Pönitz <poenitz@gmx.net>
1332 * bufferview_funcs.C: remove getInsetFromId()
1335 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1341 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1343 * PosIterator.C (distance, advance): new
1344 * bufferview_funcs.[Ch] (put_selection_at): new
1345 * iterators.[Ch] (lockPath): new
1347 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1349 * iterators.[Ch] (asPosIterator): added
1350 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1351 * PosIterator.[Ch]: added
1353 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * cursor.C (dispatch):
1358 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1360 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1361 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1362 contructor, add a class function dispatched. Remove operator>=
1364 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * debug.C: only use the default constructor for debugstream
1369 * main.C (main): include debug.h and setup the lyxerr streambuf
1372 2003-10-31 José Matos <jamatos@lyx.org>
1374 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1376 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1377 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1378 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1379 * paragraph_pimpl.C (simpleTeXSpecialC):
1380 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1381 add LatexRunParams argument.
1383 * exporter.C (Export): change call accordingly.
1385 * latexrunparams.h: add new member to take care of the other backends.
1386 2003-10-30 José Matos <jamatos@lyx.org>
1388 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1389 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1390 factorise code for paragraph output.
1392 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1395 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * text3.C (dispatch):
1398 * lyxfunc.C (dispatch):
1399 * cursor.C (dispatch):
1400 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1402 * dispatchresult.h: make the dispatch_result_t ctor explicit
1404 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1407 * buffer.C: small refactoring of docbook stuff
1409 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1414 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1417 operator dispatch_result_t, and operators for == != and >=
1419 * cursor.C (dispatch): adjust for operator dispatch_result_t
1420 removal. comment out call to update
1422 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1424 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1432 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1435 * dispatchresult.h: new file, DispatchResult broken out of
1438 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1440 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1442 * text.C (rowBreakPoint): put a hack inside #if 0
1444 2003-10-28 André Pönitz <poenitz@gmx.net>
1448 * paragraph_funcs.C:
1451 * text2.C: general cleanup (lots of small stuff)
1453 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1455 * text2.C (cursorEnd): simple fix to the "end key goes to one
1456 before the end on last row" bug
1458 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1460 * text.C (backspace): fix the "zombie characters"
1462 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1464 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1466 2003-10-27 André Pönitz <poenitz@gmx.net>
1468 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1470 * factory.C: handle new InsetPagebreak, InsetLine
1472 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1473 and move handling into new InsetPagebreak, InsetLine
1475 * BufferView_pimpl.C:
1477 * ParagraphParameters.C:
1478 * ParameterStruct.h:
1483 * paragraph_funcs.C:
1484 * paragraph_pimpl.C:
1490 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1493 * lyxrow_funcs.[Ch]:
1499 * text3.C: remove lastPos uses in favour of Row::endpos
1501 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1503 * undo.C (performUndoOrRedo): fix two crashes by setting a
1504 cursor by hand and reordering some calls. Use bv->lockInset instead
1505 of inset->edit because the latter loses cursor information
1507 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1509 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1511 (rowBreakPoint): fix width. change point to point + 1.
1512 Add a missing check.
1514 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1517 * lyxfunc.C: fix (at least partly) the problems
1518 with the Nav menu and headers inside branch insets
1521 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1523 * paragraph.C (getChar): add strong asserts
1525 * lyxrow_funcs.C (lastPos): remove hideous hack
1527 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1528 (fill): adjust to that (avoid an infinite loop)
1530 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1532 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1534 2003-10-23 André Pönitz <poenitz@gmx.net>
1536 * RowList_fwd.h: change list<> to vector<> to gain speed
1537 after suggestion from Alfredo
1539 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1541 * lyxtext.h: move the bidi stuff from here...
1544 * Bidi.[Ch]: ... to here
1546 2003-10-23 André Pönitz <poenitz@gmx.net>
1549 * text.C (isLastRow, isFirstRow): new functions
1551 * paragraph.h: new width cache member
1553 * rowpainter.C: replace RowList::iterator with Row & where possible
1555 * lyxfunc.C: replace several view()->text with a single call
1557 * toc.C: fix 'unused' warning
1559 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1562 when woring with stream::pos_type
1563 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1565 2003-10-22 André Pönitz <poenitz@gmx.net>
1568 * text.C: use Row & instead of RowList::iterator
1570 * lyxrow.h: rename end() to endpos()
1576 2003-10-22 Angus Leeming <leeming@lyx.org>
1578 * buffer.[Ch] (fully_loaded): new member function, returning true
1579 only when the file has been loaded fully.
1580 Used to prevent the premature generation of previews and by the
1581 citation inset to prevent computation of the natbib-style label.
1583 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1584 templates are all set up.
1586 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1588 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1590 * text.C: fixed an "oops" in the "is a bit silly"
1593 2003-10-21 André Pönitz <poenitz@gmx.net>
1595 * FuncStatus.[Ch]: small stuff, whitespace
1597 * lyxfont.[Ch]: operator<<() for debug reasons
1601 * lyxtext.h: whitespace, spelling
1603 * paragraph.C: naming of variables
1606 * text2.C: small stuff
1609 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1611 * text.C: (1) finish off the inset display() work;
1612 (2) fix the "is a bit silly" bug (accessing char
1615 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1617 * text.C: re-introduce display() for insets, fixing the
1618 various bugs (stretch of line above, math inset
1621 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1623 * text.C (rightMargin): remove spurious semicolon
1625 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1628 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1630 * text3.C: fix one crash due to wrong cursor def
1632 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * vc-backend.C (scanMaster): make the regex static
1636 * LaTeX.C (scanAuxFile): make the regexs static
1638 * text3.C (doInsertInset, dispatch, dispatch):
1639 * text2.C (cursorUp, cursorDown):
1640 * text.C (selectNextWordToSpellcheck):
1641 * BufferView_pimpl.C (dispatch):
1642 * lyxfunc.C (dispatch): localDispatch -> dispatch
1644 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * lyxsocket.C: include <cerrno>
1648 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * lyxfunc.C (dispatch): remove textcache stuff
1652 * bufferlist.C (release): remove textcache stuff
1655 * TextCache.C: delete file
1656 * TextCache.h: delete file
1658 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1660 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1661 delete of the bv_->text.
1662 (resizeCurrentBuffer): remove texcache stuff
1663 (workAreaResize): ditto
1665 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1670 2003-10-16 André Pönitz <poenitz@gmx.net>
1677 * text3.C: speed up by storing y positions per paragraph plus per-row
1678 offset instead of having a 'full' y position in the row.
1680 2003-10-15 André Pönitz <poenitz@gmx.net>
1684 * undo.[Ch]: make undo aware of inner insets
1686 2003-10-14 Angus Leeming <leeming@lyx.org>
1688 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1689 static member functions LyX::ref() and LyX::cref.
1690 (lastfiles): new accessor functions for the new lastfiles_ member var.
1691 (addLyXView, views_): add a new LyXView to the list of views_.
1692 (updateInset): loop over all LyXViews to call their own updateInset
1693 member function, returning a pointer to the Buffer owning the inset.
1695 * BufferView_pimpl.C (loadLyXFile):
1696 * MenuBackend.C (expandLastfiles):
1697 * bufferlist.C (MenuWrite, QuitLyX):
1698 lastfiles is no longer a global variable.
1699 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1701 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1702 static function. Access through LyX::cref().emergencyCleanup().
1704 2003-10-14 André Pönitz <poenitz@gmx.net>
1706 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1708 * undo.[Ch]: restoring part of 'undo in insets'
1711 * undo_funcs.[Ch]: merge with undo.[Ch]
1713 * tabular.C: small cleansing stuff
1715 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1717 * paragraph_funcs.C (readParToken): report unknown insets as error
1718 boxes. Use the outer paragraph as location (also for unknown
1721 * factory.C (readInset): do not abort on reading an unknown inset.
1722 Eat it and return 0.
1724 2003-10-13 Angus Leeming <leeming@lyx.org>
1726 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1728 * lyxrc.C: displayTranslator is now a function,
1729 declared in GraphicsTypes.h.
1731 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1733 * format.C: new placeholder $$a to pass the socket address.
1735 * bufferlist.[Ch]: new function getBufferFromTmp.
1737 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1738 files in the temporary dir.
1740 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1742 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1744 * Makefile.am: add lyxsocket.[Ch].
1746 * lyx_main.C (error_handler): handle SIGPIPE.
1748 2003-10-13 André Pönitz <poenitz@gmx.net>
1750 * BufferView_pimpl.C:
1755 * undo_funcs.[Ch]: use paroffset_type instead of
1756 ParagraphList::iterators to prevent multiple conversion
1757 (and get a more robust interface)
1759 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1763 * text3.C (dispatch): ditto
1765 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1767 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1768 move the onlyfile, use onlyfile instead of foundfile in a couple
1771 * DepTable.C (update): flush the error stream a bit more
1773 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * lyxserver.C (callback): adjust
1777 * lyxfunc.C (getStatus): add a missing brace in commented code
1778 (ensureBufferClean): reindent
1779 (dispatch): delete version taking a string
1781 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * LaTeX.C (deplog): move found file handlig from here...
1784 (handleFoundFile): .. to new function here.
1785 (deplog): make sure to discover several files mentioned on the
1788 2003-10-10 André Pönitz <poenitz@gmx.net>
1795 * text3.C: fix some of the tabular crashes
1797 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1799 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1801 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1803 2003-10-09 André Pönitz <poenitz@gmx.net>
1805 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1808 * BufferView_pimpl.C:
1809 * bufferview_funcs.C:
1820 * undo_funcs.C: adjust
1822 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * text2.C (incrementItemDepth): new function, use a backtracking
1825 algorithm to discover the correct item depth.
1826 (resetEnumCounterIfNeeded): new function, use a backtracking
1827 algorithm to discover if counter reset is needed.
1828 (setCounter): use them. Simplify a bit. Add different labels for
1829 different item depths for itemize.
1831 * paragraph.C (Paragraph): remove initialization of enumdepth
1834 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1835 enumerate and itemize. Change the type of itemdepth to signed char.
1837 2003-10-08 André Pönitz <poenitz@gmx.net>
1839 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1844 * tabular.[Ch]: fix crash after 'row-insert'
1846 2003-10-08 Angus Leeming <leeming@lyx.org>
1848 Fix doxygen warnings.
1850 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1851 Remove CutAndPaste:: prefix from header file declaration.
1853 * LColor.h (fill): remove LColor:: prefix from declaration.
1855 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1856 use lyx::depth_type rather than Paragraph::depth_type so that
1857 header file and .C file match.
1859 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1861 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1862 * aspell.C: \file aspell_local.C -> \file aspell.C
1863 * gettext.C: \file gettext.C -> \file src/gettext.C
1864 * gettext.h: \file gettext.h -> \file src/gettext.h
1865 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1866 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1867 * text.C: \file text.C -> \file src/text.C
1869 * toc.C: move comment so that doxygen is not confused.
1871 2003-10-07 Angus Leeming <leeming@lyx.org>
1873 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1875 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1878 * aspell_local.h: add forgotten std::string's.
1880 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1887 * text3.C: The Box patch. Fancybox support, minipage, parbox
1889 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1895 * ParagraphParameters.h:
1905 * lyxtextclasslist.h:
1908 * paragraph_pimpl.C:
1909 * textcursor.h: add <string> and other small fixes to make Lars'
1910 std::string patch compile with STLport.
1912 2003-10-06 Angus Leeming <leeming@lyx.org>
1914 * LColor.h: Add missing #include <string>.
1916 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * All most all file in all subdirs: Make <string> be the prefered
1919 way of getting to std::string, add using declarations.
1921 2003-10-06 André Pönitz <poenitz@gmx.net>
1923 * metricsinfo.C: initialize LyXFont before changing attribute.
1924 (fixes the 'math in \emph is upright' bug)
1926 2003-10-06 André Pönitz <poenitz@gmx.net>
1928 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1930 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1933 * paragraph_pimpl.C: Small fixes to build using STLport
1935 2003-10-02 André Pönitz <poenitz@gmx.net>
1938 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1940 2003-10-01 André Pönitz <poenitz@gmx.net>
1942 * factory.C: assert early
1944 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * lyx_main.C: remove the global debug object
1948 * debug.h: adjust for new debugstream
1950 * debug.C: adjust for new debugstream and keep the global debug
1953 2003-09-22 Angus Leeming <leeming@lyx.org>
1955 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1956 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1957 an incomplete class LyXFont.
1959 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1961 * factory.C: bug fix in branches
1963 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * lyxfunc.C (processKeySym): adjust
1967 (dispatch): change arg name from ev to func, adjust
1968 (sendDispatchMessage): ditto
1970 * lyx_main.C (defaultKeyBindings): adjust keybindings
1971 (deadKeyBindings): ditto
1973 * kbsequence.C (addkey): return a FuncRequest
1975 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1977 * kbmap.C (bind): take a FuncRequest as arg, adjust
1980 (defkey): change to take a FuncRequest as arg, adjust
1981 (findbinding): take a FuncRequest as arg, adjust.
1983 * funcrequest.h (operator=): added
1985 * funcrequest.C (FuncRequest): default kb_action changed from
1986 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1988 * buffer.C (dispatch): simplify
1989 (dispatch): adjust to take a FuncRequest as arg, adjust
1991 * boost.C (assertion_failed): change assertion message slightly
1993 * ToolbarBackend.C (read): simplify
1995 * MenuBackend.C (binding): adjust call to findbinding, add a
1996 message if no binding is found.
1998 (expandToc): correct by adding a empty FuncRequest
2000 * LyXAction.C: include <boost/assert.hpp>
2001 (isPseudoAction): delete function
2002 (LookupFunc): change name to...
2003 (lookupFunc): this. change return type to FuncRequest.
2004 (getActionName): take kb_action as arg, simplify
2005 (funcHasFlag): add an assert, simplify.
2007 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * toc.C (action): return a FuncRequest, simplify
2011 * lyxfunc.C (processKeySym): adjust
2012 (getStatus): delete version that takes an int.
2014 (dispatch): delete version that takes action as int
2016 (sendDispatchMessage): simplify and adjust
2018 * funcrequest.C (getArg): take unsigned int as arg
2020 * ToolbarBackend.C (read): adjust
2021 (add): delete version that takes func as a string.
2022 (getIton): take a FuncRequest as arg
2024 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2027 * MenuBackend.C (MenuItem): add a new construct that only takes a
2028 Kind, simplify the constructor use for submenus.
2030 (expandLastfiles): adjust
2031 (expandDocuments): adjust
2032 (expandFormats): adjust
2033 (expandFloatListInsert): adjust
2034 (expandFloatInsert): adjust
2035 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2037 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2038 Remove class variables lyx_pseudo_map and lyx_arg_map
2040 * LyXAction.C (searchActionArg): delete function
2041 (getPseudoAction): delete function
2042 (retrieveActionArg): delete function
2043 (LookupFunc): make it return kb_action, simplify.
2044 (getActionName): simplify
2046 * factory.C (createInset): fix new bug
2048 2003-09-19 Angus Leeming <leeming@lyx.org>
2050 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2051 masterFilename_ parameter in the include inset.
2053 * factory.C (createInset): changes due to the changes to InsetInclude.
2055 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2057 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2059 2003-09-18 Angus Leeming <leeming@lyx.org>
2062 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2063 Inset::fillWithBibKeys.
2064 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2066 2003-09-18 Angus Leeming <leeming@lyx.org>
2068 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2070 (ctor): pass and store a 'Buffer const &'
2071 (buffer): new member function.
2073 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2074 '*this' to the LaTeXFeatures ctor.
2076 2003-09-18 Angus Leeming <leeming@lyx.org>
2082 * text.C: rename EnumLColor as LColor_color.
2084 2003-09-18 Angus Leeming <leeming@lyx.org>
2086 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2087 remove #include "insets/insetbase.h" from cursor.h.
2089 2003-09-18 Angus Leeming <leeming@lyx.org>
2091 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2092 InsetOld_code to remove #include "inset.h".
2094 * iterators.C: add #include "insets/inset.h"
2096 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2098 * BufferView.C: remove more locking stuff that apparently doesn't
2099 do anything sensible.
2101 2003-09-16 André Pönitz <poenitz@gmx.net>
2104 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2107 2003-09-16 Angus Leeming <leeming@lyx.org>
2109 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2111 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2114 * paragraph.h: remove #include "lyxfont.h". Forward declare
2117 2003-09-16 Angus Leeming <leeming@lyx.org>
2119 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2120 of support/textutils.h.
2121 (isWord): move the contents of support/textutils.h's IsWordChar here.
2127 * text2.C: add #include "paragraph.h".
2130 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2132 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * LaTeX.C: use namespace alias for lyx::support::os
2140 2003-09-16 Angus Leeming <leeming@lyx.org>
2143 * bufferview_funcs.C:
2146 * paragraph_pimpl.C:
2148 * text.C: add #include "LColor.h".
2150 2003-09-16 Angus Leeming <leeming@lyx.org>
2152 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2153 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2155 Store the FontBits::color variable as an int rather than as an
2156 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2159 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2160 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2161 string calls together.
2163 * lyxrc.C: add #include "LColor.h".
2165 2003-09-15 Angus Leeming <leeming@lyx.org>
2167 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2170 2003-09-15 Angus Leeming <leeming@lyx.org>
2172 * LColor.h: add an EnumLColor wrapper for LColor::color.
2174 * lyxfont.[Ch] (color, setColor, realColor):
2175 * lyxtext.h, text.C (backgroundColor):
2176 pass EnumLColor args to/from the functions, rather than LColor::color
2180 * lyxtext.h: forward declare EnumLColor.
2182 * lyx_main.C: add #include "LColor.h".
2184 2003-09-15 Angus Leeming <leeming@lyx.org>
2186 * .cvsignore: add lyx-gtk.
2188 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2193 * ParagraphParameters.C
2197 * bufferview_funcs.C
2207 * vc-backend.C: remove usage of STRCONV
2209 2003-09-15 Angus Leeming <leeming@lyx.org>
2211 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2212 explicitly define the color passed to the painter.
2214 2003-09-15 Angus Leeming <leeming@lyx.org>
2216 * bufferparams.C (BufferParams): reorder member initializers to avoid
2219 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2221 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2222 * text.C (updateRowPositions): remove an unusual nop
2224 2003-09-12 André Pönitz <poenitz@gmx.net>
2226 * BufferView_pimpl.C:
2235 * Counters.[Ch]: finish the 'automatic counters' job
2237 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2239 * aspell.C: include <boost/assert.cpp> (compile fix)
2241 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2243 * boost.C (assertion_failed): use lyx::support::abort instead of
2246 2003-09-10 Angus Leeming <leeming@lyx.org>
2248 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2249 with their _fwd progeny.
2251 2003-09-09 Angus Leeming <leeming@lyx.org>
2253 134 files throughtout the source tree: replace 'using namespace abc;'
2254 directives with the appropriate 'using abc::xyz;' declarations.
2256 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2258 * boost.C (emergencyCleanup): moved here from LAssert.c
2259 (assertion_failed): new function, called by BOOST_ASSERT
2261 * several files: change Assert to BOOST_ASSERT
2263 2003-09-09 Angus Leeming <leeming@lyx.org>
2265 * buffer.[Ch]: Add an Impl class and move Buffer's member
2266 variables into it. As a result move several header files out of
2269 Add header files to lots of .C files all over the tree as a result.
2271 2003-09-09 Angus Leeming <leeming@lyx.org>
2273 * buffer.[Ch]: make Buffer's member variables private. Add
2276 Lots of changes all over the tree as a result.
2278 2003-09-08 Angus Leeming <leeming@lyx.org>
2280 * graph.C: #include <config.h>.
2282 2003-09-08 Angus Leeming <leeming@lyx.org>
2286 * BufferView_pimpl.C:
2315 * toc.C: remove redundant using directives.
2317 2003-09-07 Angus Leeming <leeming@lyx.org>
2319 * LaTeXFeatures.h: remove #include "support/types.h".
2320 * ToolbarBackend.h: remove #include <algorithm>.
2321 * changes.h: remove #include <ctime>.
2322 * debug.h: remove #include <iosfwd>.
2323 * graph.h: remove #include "support/std_string.h".
2324 * lyx_main.h: remove #include <csignal>.
2325 * lyxlex_pimpl.h: remove #include <fstream>.
2326 * sgml.h: remove #include <algorithm>, <utility>.
2327 * toc.h: remove #include "support/std_ostream.h".
2328 Add #include <iosfwd>.
2330 2003-09-07 Angus Leeming <leeming@lyx.org>
2332 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2334 * converter.h: forward declare LatexRunParams.
2335 * encoding.h: remove #include "lyxrc.h".
2336 * lyxtext.h: remove #include "LColor.h".
2337 * lyxtextclass.h: remove #include "support/types.h".
2338 * trans.h: remove #include "tex-accent.h".
2339 * trans_mgr.h: remove #include "tex-accent.h".
2340 * insets/inset.h: remove #include "support/types.h", <vector>.
2341 * insets/insetcollapsable.h: remove #include "LColor.h".
2342 * insets/insetinclude.h: remove #include "dimension.h".
2343 * insets/insetlatexaccent.h: remove #include "dimension.h".
2344 * insets/insetoptarg.h:: remove #include "insettext.h".
2345 * insets/insettext.h: remove #include "dimension.h",
2346 <boost/shared_ptr.hpp>
2348 * insets/renderers.h: add #include "dimension.h".
2349 * insets/updatableinset.h: add #include "support/types.h".
2351 * many .C files: Associated changes.
2353 2003-09-06 Angus Leeming <leeming@lyx.org>
2355 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2356 one, inside testInvariant.
2358 * PrinterParams.C: new file.
2359 * PrinterParams.[Ch]: move the function bodies out of line.
2361 2003-09-06 Angus Leeming <leeming@lyx.org>
2363 * ParagraphParameters.h: forward declare ParameterStruct rather than
2364 including its header file.
2365 (depth): moved out-of-line.
2367 2003-09-06 Angus Leeming <leeming@lyx.org>
2369 * BufferView_pimpl.h:
2372 * lyxfunc.h: forward declare LyXKeySym rather than
2373 #include "frontends/LyXKeySym.h".
2375 * BufferView_pimpl.C:
2378 * lyxfunc.C: associated changes.
2380 2003-09-06 Angus Leeming <leeming@lyx.org>
2382 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2383 As a result, can remove the #include "insets/inset.h" from BufferView.h
2385 2003-09-06 Angus Leeming <leeming@lyx.org>
2387 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2388 As a result, can remove the #include "insets/inset.h" from BufferView.h
2390 2003-09-06 Angus Leeming <leeming@lyx.org>
2396 * bufferview_funcs.C:
2397 * BufferView_pimpl.C:
2402 * ParagraphParameters.C:
2407 * frontends/controllers/ControlDocument.C:
2408 * insets/insetcaption.C: rearrange the #includes into some sort of
2411 * buffer.h: remove #includes ErrorList.h, undo.h
2413 2003-09-06 Angus Leeming <leeming@lyx.org>
2415 * support/types.h: add a 'depth_type' typedef, used to store the
2416 nesting depth of a paragraph.
2419 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2420 defining explicitly.
2423 * paragraph_funcs.h:
2424 * ParagraphParameters.h:
2425 * sgml.h: use lyx::depth_type rather than Paragraph or
2426 ParameterStruct's depth_type.
2429 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2432 * BufferView_pimpl.C:
2434 * ParagraphParameters.C:
2437 * bufferview_funcs.C:
2444 * frontends/LyXView.C:
2445 * frontends/controllers/ControlDocument.C:
2446 * frontends/controllers/ControlErrorList.C:
2447 * insets/insetbibitem.C:
2448 * insets/insetbranch.C:
2449 * insets/insetcaption.C:
2450 * insets/insetcollapsable.C:
2451 * insets/insetenv.C:
2452 * insets/insetert.C:
2453 * insets/insetfloat.C:
2454 * insets/insetfoot.C:
2455 * insets/insetfootlike.C:
2456 * insets/insetnewline.C:
2457 * insets/insetquotes.C:
2458 * insets/insettabular.C:
2459 * insets/insettext.C:
2460 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2462 * frontends/controllers/ControlChanges.C: #include "changes.h".
2464 2003-09-06 Angus Leeming <leeming@lyx.org>
2466 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2467 than #including paragraph.h.
2470 * RowList.h: deleted. Superfluous.
2480 * insets/insettext.h: use ParagraphList_fwd.h rather than
2483 * paragraph.h: don't forward declare ParagraphList.
2486 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2487 rather than ParagraphList.h. paragraph.h is still needed for the
2488 Paragraph::depth_type parameters.
2490 * textcursor.h: enable it to compile stand-alone in light of the
2493 * bufferview_funcs.C:
2505 * frontends/controllers/ControlParagraph.C:
2506 * frontends/controllers/ControlTabular.C:
2507 * insets/insetmarginal.C:
2508 * insets/insetminipage.C:
2509 * insets/insetnote.C:
2510 * insets/insetoptarg.C: add header files needed to compile again.
2512 2003-09-06 Angus Leeming <leeming@lyx.org>
2514 * RowList_fwd.h: new file, forward-declaring Row rather than
2515 #including lyxrow.h.
2520 * insets/insettext.h: use it instead of RowList.h
2522 * bufferview_funcs.C:
2529 * text3.C: #include "RowList.h".
2531 2003-09-05 Angus Leeming <leeming@lyx.org>
2533 * factory.C (createInset):
2534 * vspace.C (c-tor): replace sscanf call with an istringstream.
2535 * ispell.C: re-add missing HP/UX headers.
2536 * lyxserver.C: re-add missing os2 headers.
2538 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2547 * text3.C: re-add missing system headers, needed for 2.95.2.
2549 2003-09-05 Angus Leeming <leeming@lyx.org>
2551 Changes most place everywhere due to the removal of using directives
2552 from support/std_sstream.h.
2554 2003-09-05 Angus Leeming <leeming@lyx.org>
2556 Replace LString.h with support/std_string.h,
2557 Lsstream.h with support/std_sstream.h,
2558 support/LIstream.h with support/std_istream.h,
2559 support/LOstream.h with support/std_ostream.h.
2561 Changes resulting throughout the tree.
2563 2003-09-05 Angus Leeming <leeming@lyx.org>
2565 * sgml.h: ensure that the header file can be compiled stand-alone.
2566 * *.C: strip out redundant #includes. (320 in total.)
2568 2003-09-04 Angus Leeming <leeming@lyx.org>
2570 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2571 here (from getPackages).
2573 * debug.[Ch]: add a new EXTERNAL tag.
2575 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2577 * text2.C (cursorEnd): simplify
2579 (getColumnNearX): adjust
2581 * text.C (computeBidiTables): adjust
2584 * rowpainter.C (paintChars): adjust
2585 (paintSelection): adjust
2586 (paintChangeBar): adjust
2589 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2591 (numberOfSeparators): adjust
2593 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2599 * text3.C: Restricts the mouse click functionality
2600 of insets like bibtex, include, toc and floatlist to the visible
2601 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2602 up the dialogs. Cursor has to be in front of the inset (i.e.
2603 start of row) for this to function.
2605 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2607 * bufferview_funcs.C (currentState): output row information
2609 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2611 * bufferview_funcs.C (currentState): output paragraph position
2613 2003-09-04 Angus Leeming <leeming@lyx.org>
2615 * FloatList.h: move out #include "Floating.h".
2616 * LaTeX.h: move out #include "DepTable.h".
2617 * LyXAction.h: move out #include "funcrequest.h".
2618 * buffer.h: move out #include "author.h", "iterators.h".
2619 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2620 * lyx_main.h: move out #include "errorlist.h".
2621 * lyxfunc.h: move out #include "FuncStatus.h".
2622 * lyxtext: move out #include "lyxcursor.h".
2623 * paragraph_pimpl.h: move out #include "counters.h".
2625 2003-09-03 Angus Leeming <leeming@lyx.org>
2627 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2628 preamble_snippets list, enabling us to add snippets to the preamble
2629 only if the snippet was not there already.
2631 2003-09-04 Angus Leeming <leeming@lyx.org>
2633 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2635 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2640 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2642 * BranchList.C: point fix, earlier forgotten
2644 2003-09-02 Angus Leeming <leeming@lyx.org>
2646 * box.C (contains): renamed from 'contained' after a fantastic
2649 2003-09-02 John Levon <levon@movementarian.org>
2655 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2657 2003-09-02 John Levon <levon@movementarian.org>
2659 * text2.C: simplification of cursorEnd(), including partial
2662 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * buffer.C (readFile): add a space
2666 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2668 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2670 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * buffer.C (readFile): new function, take a filename and a
2673 ParagraphList::iterator
2675 (readFile): adjust, make it private. don't use setStream, make
2676 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2677 always contain the filename.
2679 * BufferView.C (insertLyXFile): simplify and make it work for
2682 2003-08-30 John Levon <levon@movementarian.org>
2684 * Makefile.am: fix dist (from Kayvan)
2686 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * most files: change to use const Buffer refs
2690 2003-08-27 André Pönitz <poenitz@gmx.net>
2692 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2693 on top of ownerPar().
2695 2003-08-27 John Levon <levon@movementarian.org>
2697 * funcrequest.C: properly initialise POD members
2699 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2701 * lyxtext.h (top_y): move top_y from here
2706 * BufferView_pimpl.[Ch]: to here
2707 * frontends/screen.C:
2708 * insets/insettabular.C:
2709 * insets/insettext.C: adjust
2710 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2712 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2715 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2717 2003-08-26 André Pönitz <poenitz@gmx.net>
2719 * paragraph_func.[Ch] (outerPar): new function
2722 * paragraph_funcs.C:
2723 * paragraph_funcs.h:
2724 * paragraph_pimpl.C:
2725 * text2.C: remove Inset::par_owner
2727 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2732 * text2.C: eliminates the needFullRow/display() stuff
2733 altogether, putting the logic in metrics/draw in the insets.
2735 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2737 * text2.C (redoParagraphInternal, redoParagraphs):
2738 * text.C (redoParagraph): add a call to updateRowPositions at the
2739 end of each 'metrics-like' call. Remove all others.
2740 (getRow): remove the 'y-computing' version.
2741 (getRowNearY): do not compute nor return the real y. Solve the
2742 'y < 0' problem and simplify.
2744 2003-08-22 Angus Leeming <leeming@lyx.org>
2746 * *.[Ch]: clean-up of licence and author blurbs.
2747 Also move config.h out of a few .h files and into a few .C files.
2749 2003-08-22 André Pönitz <poenitz@gmx.net>
2751 * lyxrow.[Ch]: add x_ and *fill_ members
2756 * text2.C: adjust/remove prepareToPrint() calls
2758 2003-08-22 André Pönitz <poenitz@gmx.net>
2760 * lyxrow.[Ch]: add end_ member
2762 * lyxrow_funcs.C: use LyXRow::end_
2764 * lyxtext.h (singleWidth): add LyXFont parameter
2767 * text2.C: adjust LyXText::singleWidth() calls
2769 * text.C (redoParagraph): simplify row breaking logic
2772 2003-08-19 André Pönitz <poenitz@gmx.net>
2774 * funcrequest.C: initialize button_ member
2777 * rowpainter.[Ch]: interface consolidation
2779 2003-08-18 André Pönitz <poenitz@gmx.net>
2782 * BufferView_pimpl.C:
2784 * paragraph_funcs.C:
2786 * text3.C: remove LyXScreen::draw() and fitCursor calls
2788 * BranchList.h: remove spurious semicolons
2790 * MenuBackend.C: fix branchlist related crash
2792 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2800 * bufferparams.[Ch]:
2804 * text3.C: implements the 'branch inset'
2805 idea. This allows the output of various versions of a document
2806 from a single source version, selectively outputing or suppressing
2807 output of parts of the text.
2808 This implementation contains a 'branch list editor' in a separate
2809 tab of the document settings dialog. Branches are user definable
2810 and have a "display colour" to distinguish them on-screen.
2812 ColorHandler was somewhat cleaned up.
2813 (1) make possible a dynamically growing LColor list by allowing
2814 the graphic context cache to grow along (vector);
2815 (2) eliminate an IMHO unnecessary step in colour allocation.
2817 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2819 * BufferView_pimpl.C: compile fix
2821 2003-08-15 André Pönitz <poenitz@gmx.net>
2823 * rowpainter.C: remove extra metrics calls
2825 * lyxtext.h: merge the two constructors into a single one,
2826 pass reference to owner's par list
2828 * BufferView_pimpl.C:
2832 2003-08-15 André Pönitz <poenitz@gmx.net>
2834 * lyxrow_funcs.[Ch]:
2837 * paragraph_funcs.C:
2842 * text_funcs.C: split LyXText::rowlist_ into individual
2843 Paragraph::rows_ chunks
2846 * BufferView_pimpl.[Ch]:
2849 * text3.C: remove toggleSelection()
2851 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2853 * bufferlist.C: beautify two alerts (shorter text of buttons)
2854 * buffer.C: Remove redundant ' ' from message
2856 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2857 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2858 rename VALIGN_CENTER to VALIGN_MIDDLE
2860 2003-08-11 André Pönitz <poenitz@gmx.net>
2862 * lyxtext.h (getPar):
2863 * text.C: new function
2865 2003-08-11 André Pönitz <poenitz@gmx.net>
2868 * tracer.[Ch]: remove unneeded files
2870 * InsetList.[Ch]: remove resizeInsetsLyXText()
2875 * text3.C: merge insertParagraphs() and appendParagraph()
2876 remove breakAgain(), update()
2878 * BufferView_pimpl.[Ch]:
2879 * bufferview_funcs.[Ch]:
2883 * tabular.C: adjust after text & InsetList changes.
2885 2003-08-08 André Pönitz <poenitz@gmx.net>
2887 * text.C (insertChar, backspace): replace rowlist fiddling
2888 with rebreak of full par
2891 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2892 checkParagraph, updateInset): removed
2894 2003-08-07 André Pönitz <poenitz@gmx.net>
2897 * text3.C: merge some LFUN handlers, remove dead code
2899 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2903 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2905 * text2.C (DEPM): fix part of bug 1255 and 1256
2907 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2909 * BufferView_pimpl.C (workAreaDispatch): change to use
2910 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2911 that are no mouse related.
2913 2003-08-05 André Pönitz <poenitz@gmx.net>
2916 * BufferView_pimpl.[Ch]:
2917 * bufferview_funcs.C:
2919 * text3.C: rip out "deep update"
2921 * textcursor.[Ch] (last_sel_cursor): remove unused member
2923 2003-08-04 André Pönitz <poenitz@gmx.net>
2926 * BufferView_pimpl.[Ch]:
2927 * ParagraphParameters.C:
2928 * bufferview_funcs.C:
2934 * text3.C: replace "complicated" BufferView::update(...) calls with
2937 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2939 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2941 * Makefile.am (lyx_SOURCES): add paper.h
2943 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2945 * Makefile.am: move things around so that both lyx-qt and
2946 lyx-xforms can be built (according to --with-frontend). Then lyx
2947 is a symbolic link to lyx-[firstfrontend]
2949 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2951 * Always use std::endl with lyxerr
2953 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2955 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2957 2003-08-01 André Pönitz <poenitz@gmx.net>
2960 * BufferView_pimpl.[Ch]:
2962 * text3.C: merge BufferView::repaint() and BufferView::update()
2964 2003-08-01 José Matos <jamatos@lyx.org>
2966 * buffer.[Ch]: file_format is no longer a buffer data element.
2968 2003-08-01 André Pönitz <poenitz@gmx.net>
2973 * text2.C: make redoParagraph more independent of current cursor
2975 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2977 * text2.C: remove unneeded members
2979 2003-07-30 André Pönitz <poenitz@gmx.net>
2981 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2983 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2984 create a single function...
2986 * paragraph_funcs.C (moveItem): ... here.
2989 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2991 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2993 * LColor.[Ch]: Add comment and greyedout logical colors.
2995 2003-07-30 André Pönitz <poenitz@gmx.net>
2997 * tabular.C: don't use Assert too heavily. This crashes where it
3000 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3002 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3003 is disabled (bug 1232)
3005 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3007 * factory.C: limited 'arg' scope
3009 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3011 * factory.C: fixed Note submenu issues
3013 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3015 * factory.C: submenu for Note/Comment/Greyedout
3017 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3020 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3022 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3025 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3026 greyedout. Patch provided by Jürgen Spitzmüller.
3028 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3030 * kbmap.C (read): fix error message when reading bind files
3032 2003-07-29 Angus Leeming <leeming@lyx.org>
3034 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3035 certainly does not do what it purports to do. I am doing it, and
3036 us, a favour by killing it.
3038 2003-07-28 José Matos <jamatos@lyx.org>
3040 * buffer.C (readBody, do_writeFile):
3041 * paragraph.C(readParagraph): \end_document replaces \the_end.
3043 2003-07-29 André Pönitz <poenitz@gmx.net>
3046 * BufferView_pimpl.[Ch]:
3050 * textcursor.[Ch]: remove toggleToggle & Co
3052 2003-07-28 José Matos <jamatos@fep.up.pt>
3054 * buffer.C (readParagraph):
3055 * params_func (readParToken, readParagraph):
3056 * paragraph.C (write): \layout -> \begin_layout.
3058 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * lyxlex_pimpl.C (setFile): clean up slightly.
3062 * bufferparams.h: add compressed var
3064 * buffer_funcs.C (readFile): adjust for LyXLex change
3065 (newFile): ditto + simplify
3067 * buffer.C (writeFile): handle writing of compressed files
3069 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3070 Check if the file is compressed and set a bufferparm if so.
3072 * Makefile.am (lyx_LDADD): remove explicit -lz
3074 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3077 makeDocBookFile): put the real LyX version in the first line of
3081 * version.C.in: remove lyx_docversion
3083 * tabular.C (write_attribute): add a template-based version to
3084 write enums properly
3086 2003-07-28 André Pönitz <poenitz@gmx.net>
3091 * text3.C: use doubles again for x-coordinates. They are needed.
3093 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * messages.C (getLocaleDir): use lyx_localedir()
3097 * lyxlex_pimpl.C (setFile): compress stuff
3099 * buffer.C (writeFile): add some compression stuff
3100 (do_writeFile): new func, dont call expliti close... will this
3103 * Makefile.am (lyx_LDADD): add -lz
3105 2003-07-28 José Matos <jamatos@fep.up.pt>
3107 * buffer.C: increment file format.
3108 * paragraph_funcs (readParagraph, readParToken):
3109 * paragraph.C (readParagraph): add \end_layout.
3111 2003-07-27 Angus Leeming <leeming@lyx.org>
3113 * Makefile.am: remove special casing for configure-time setting of
3114 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3116 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3117 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3119 2003-07-26 André Pönitz <poenitz@gmx.net>
3121 * paragraph_func.[Ch]:
3122 * paragraph.C (realizeFont): inline it whereever it is used
3127 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3130 2003-07-26 André Pönitz <poenitz@gmx.net>
3134 * text2.C: get rid of LyXText::need_break_row
3136 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * toc.[Ch]: put namespace toc inside namespace lyx
3140 * MenuBackend.C (expandToc2): adjust for lyx::toc
3143 * lyxfunc.C (dispatch): adjust for lyx::find
3145 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3146 lyx::find instead. Reorganize a bit.
3147 (LyXReplace): rename to replace
3148 (LyXFind): rename to find
3150 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3153 2003-07-26 André Pönitz <poenitz@gmx.net>
3155 * text.C (setHeightOfRow): restrict scope of temporary variable
3157 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3158 code (never has been used?)
3160 2003-07-27 Asger Alstrup <alstrup@local>
3162 * text.C (fill): Optimise algorithm to exploit that we can reuse
3163 the LyXFont for many characters.
3164 (setHeightOfRow): Same thing.
3165 (rowBreakPoint): Same thing.
3167 2003-07-26 Asger Alstrup <alstrup@local>
3169 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3171 * text.C (singleWidth): Spurious font copying in hot-spot
3172 singleWidth avoided. Reorder tests for arabic for efficiency.
3174 * text.C (fill): handle empty paragraphs better.
3176 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * encoding.h: add includes
3181 * lyxrc.C: remove reading of bind files
3183 * lyx_main.C (init): setup bindings and menus only if we have a
3186 * kbmap.C (read): new method. Do the actual reading of bind
3189 * converter.C (dvipdfm_options):
3192 (output): adapt PAPER_* enums.
3194 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3196 * bufferparams.h: remove paper-related enums from there
3198 * paper.h: New file. A trivial header file to hold paper-related
3199 enums. It should later expand to contain many paper-related
3202 * lyxrc.C: declare extern displayTranslator
3204 2003-07-27 José Matos <jamatos@fep.up.pt>
3206 * tabular.[Ch] (linuxdoc): add support for tables and figures
3209 2003-07-27 José Matos <jamatos@fep.up.pt>
3211 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3212 consistency in both functions.
3213 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3215 2003-07-26 Asger Alstrup <alstrup@local>
3217 * rowpainter.C (paintRows): Change algorithm to work directly on
3218 the insets rather than asking every character in the document
3219 whether its an inset.
3221 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3223 * buffer.C (openFileWrite): factorize some code
3225 2003-07-26 Angus Leeming <leeming@lyx.org>
3228 * lyx_main.[Ch]: replace occurances of system_tempdir with
3231 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * rename Inset to InsetOld
3235 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3237 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3238 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3239 which I think is a bit clearer. EDIT is gone, since it was
3240 premature optimisation, and broken for mathed anyway.
3241 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3242 with cursor positioning in insets as well (math insets still do not
3243 work, but that's a different story anyway.) It mysteriously
3244 crashes sometimes with undo in the first paragraph, but I'm fairly
3245 confident that this is a compiler bug.
3247 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * paragraph.C (Paragraph): adjust for new clone return type
3251 (copyIntoMinibuffer): ditto
3253 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3255 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3256 by not having a special case, and always doing a full rebreak of
3257 the document after undo.
3259 2003-07-23 Angus Leeming <leeming@lyx.org>
3261 * factory.C (createInset): InsetExternal::setParams now takes a
3264 2003-07-23 Angus Leeming <leeming@lyx.org>
3266 * factory.C (createInset): changed interface to the external and
3267 graphics mailers' string2params functions.
3269 2003-07-23 Angus Leeming <leeming@lyx.org>
3271 * factory.C (createInset): pass a
3272 Buffer const * parameter to InsetExternalMailer's string2params.
3274 2003-07-22 John Levon <levon@movementarian.org>
3276 * Thesaurus.h: include the right aiksaurus header
3278 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3280 * MenuBackend.C (expand): check menu shortcuts unconditionally
3282 2003-07-21 Angus Leeming <leeming@lyx.org>
3284 * factory.C (createInset): pass a
3285 buffer_path parameter to InsetGraphicsMailer's string2params.
3287 2003-07-21 Angus Leeming <leeming@lyx.org>
3289 * BufferView_pimpl.C (buffer):
3292 * lyxfunc.C (dispatch):
3293 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3294 rather than the grfx shortcut.
3296 2003-07-21 André Pönitz <poenitz@gmx.net>
3298 * rowpainter.C: remove unused variables
3301 * tabular_funcs.h: move to tabular.C
3302 * Makefile.am: adjust
3304 * tabular.[Ch]: basic optical cleaning
3306 * author.h: pass references, not values
3308 2003-07-18 André Pönitz <poenitz@gmx.net>
3316 * text3.C: two-phase drawing for InsetText and InsetTabular
3317 some float -> int changes.
3319 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3321 * lyx_main.C: fix the fix
3323 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3325 * lyx_main.C: fix a crash in batch mode if no files specified
3328 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3330 * format.[Ch] (papersize): moved to BufferParams
3331 * converter.[Ch] (dvips_options): moved to BufferParams
3332 (dvipdfm_options): moved to anon namespace
3333 * bufferparams.[Ch]: added above functions.
3335 2003-07-17 André Pönitz <poenitz@gmx.net>
3339 * text2.C: don't call inset->update() anymore
3341 * metricsinfo.[Ch]: add convenience constructor
3343 2003-07-16 André Pönitz <poenitz@gmx.net>
3348 * text2.C: replace the LyXCursor::irow_ member with
3349 on-demand computation of the value
3351 2003-07-16 John Levon <levon@movementarian.org>
3353 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3355 2003-07-15 André Pönitz <poenitz@gmx.net>
3358 * text2.C: remove no more needed refresh_row
3360 2003-07-15 André Pönitz <poenitz@gmx.net>
3365 * text3.C: refresh_status tristate -> need_update bool
3367 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3369 * lyxtext.h (init): remove reinit argument (act as if always true)
3370 * text2.C: adjust to that
3372 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3374 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3375 * text3.C: use it to delete selections in some cases
3376 (bugs 441, 673, 702, 954).
3378 2003-07-14 André Pönitz <poenitz@gmx.net>
3380 * rowpainter.[Ch]: reduce interface
3382 2003-07-14 André Pönitz <poenitz@gmx.net>
3384 * BufferView_pimpl.C:
3385 * text2.C: adjust after removing unused BufferView * argument
3387 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3389 * text2.C (init): fix a crash fired on resize
3391 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3393 * buffer.[Ch]: added new closing signal
3394 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3395 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3396 BufferView::Pimpl via the closing the signal
3398 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3400 * buffer.[Ch]: take out all bv-related from buffer
3402 * BufferView_pimpl.[Ch]: connect to new signals
3403 * CutAndPaste.C: removed useless asserts
3404 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3407 * lyxfunc.C: moved view-related funciontality from vc here
3408 * paragraph.C: removed outdated comments
3411 2003-07-10 André Pönitz <poenitz@gmx.net>
3413 * BufferView_pimpl.C:
3417 * text2.C: remove InsetText::InnerCache, clean up consequences
3419 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3421 * ispell.C: fix two typos in error messages
3423 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3425 * Extend Note inset to other forms of annotation like Comment
3426 and Greyedout. Right button click gives dialog.
3428 Files modified or added (+):
3432 * ControlNote.[Ch] +
3434 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3435 frontends/controllers
3439 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3441 * aspell.C: add missing namespace lyx::support
3443 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3445 * BufferView.[Ch] (newFile): Add
3446 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3447 * LaTeX.[Ch] (message): added this signal and use it
3448 * buffer.[Ch] (busy, message): added these signals and use them
3449 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3453 * importer.C: use buffer signals instead of direct bv calling
3454 * lyx_cb.[Ch] (ShowMessage): removed
3457 * paragraph_funcs.C:
3458 * text2.C: use buffer signals
3460 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * introduce namespace lyx::graphics
3464 2003-07-02 André Pönitz <poenitz@gmx.net>
3466 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3468 2003-07-01 André Pönitz <poenitz@gmx.net>
3475 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3476 text*.C to text_func.C
3478 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * introduce namespace lyx::support
3482 2003-06-30 André Pönitz <poenitz@gmx.net>
3487 * text.C: re-enable --with-included-string
3489 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * textcursor.C: add <config.h>
3493 * text.C (getWord): remove const from word_location arg
3495 * lyxvc.C (getLogFile): fix const type order
3497 * lyxtext.h: remove const from word_location arg, add arg name
3499 * lyxlayout.h: currect type on labeltype.
3501 * importer.C: correct \file
3503 * converter.C (intToFormat): use std:: on ret val, ws changes
3505 * bufferlist.h: correct \file
3507 * buffer.C (makeLinuxDocFile): fix const type order
3508 (makeDocBookFile): ditto
3509 (fillWithBibKeys): use std:: on stdlib args.
3511 * CutAndPaste.C: fix authors.
3512 (availableSelections): use std:: on return vector
3514 2003-06-27 André Pönitz <poenitz@gmx.net>
3516 * BufferView_pimpl.C:
3517 * bufferview_funcs.C:
3525 * text3.C: remove LyXCursor::row_ member
3528 * text.C: rename fullRebreak() to partialRebreak() and implement
3529 a fullRebreak() that really bereks fully
3531 * textcursor.h: new struct for cursor-related data
3533 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3535 * lyx_main.C (LyX): get full path of document loaded on the
3538 2003-06-26 André Pönitz <poenitz@gmx.net>
3540 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3541 remove unused/broken operator>,<,>=.
3543 * text.C: remove only use of broken operator<= in an Assert().
3545 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3547 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3548 moved errorlist_.clear to showErrorList
3550 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3552 * converter.C (scanLog, runLaTeX):
3553 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3554 move the bv->showErrorList call to the callers
3555 * lyxfunc.C: i.e. here...
3557 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3558 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3559 namespace, the second to...
3560 * buffer_funcs (BufferFormat, parseErrors): added
3561 * errorlist.C (ErrorList(TeXErrors const &)): removed
3563 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3565 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3567 2003-06-24 "Garst R. Reese" <reese@isn.net>
3571 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3573 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3575 * version.C.in: change docversion to 1.4
3577 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3579 * buffer.C: fix a bug just introduced
3581 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3583 * buffer.[Ch]: added the parseError signal and use it, removed
3585 * BufferView.[Ch] (addError): moved to ...
3586 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3587 to the Buffer::parseError signal to catch (guess what) parse errors
3588 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3590 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3592 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3593 ability to create a buffer and to return an existing one from
3594 the list. Moved these functions to...
3595 * buffer_funcs.[Ch]: added
3596 * BufferView.[Ch] (loadLyXFile): added
3597 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3598 job removed from bufferlist::loadLyXFile.
3599 * buffer.C (setReadOnly): make it work without view
3600 (i.e added an if (users))
3602 2003-06-19 Angus Leeming <leeming@lyx.org>
3605 * LyXAction.C (init):
3606 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3607 with LFUN_DIALOG_SHOW <name> <data>.
3609 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3611 * CutAndPaste.C (availableSelections): small compilation fix for
3612 ancient (gcc 2.9x) compilers
3614 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3616 * text3.C (cursorNext): add tmp var
3618 * text2.C (updateCounters): for function calling out of for clause
3619 (replaceSelectionWithString): ditto
3620 (insertStringAsParagraphs): ditto
3621 (getColumnNearX): add tmp var
3622 (setCursorFromCoordinates): add tmp var
3623 (cursorDownParagraph): add tmp var
3624 (deleteEmptyParagraphMechanism): add tmp var
3626 * text.C (insertChar): add tmp var
3628 * rowpainter.C (paintDepthBar): add tmp var
3630 * CutAndPaste.C (availableSelections): potentially check all
3631 paragraphs in a cut to fill the shown strings.
3633 2003-06-18 André Pönitz <poenitz@gmx.net>
3635 * kbmap.[Ch]: use vector<> instead of list<>
3637 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3639 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3640 pasteSelection with index
3642 * text2.C (pasteSelection): modify, call pasteSelection with index
3644 * paragraph.C (asString): reimplement version with no interval to
3645 call the one with interval.
3647 * lyxtext.h: add index arg to pasteSelection
3649 * MenuBackend.C (MenuItem): handle PasteRecent
3650 (Menu::read::Menutags): add md_pasterecent
3652 (expandPasteRecent): new function
3655 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3657 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3659 (availableSelections): new function
3661 2003-06-17 Angus Leeming <leeming@lyx.org>
3663 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3665 2003-06-17 Angus Leeming <leeming@lyx.org>
3668 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3670 * lyxfunc.C (dispatch): invoke it.
3672 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3674 * iterators.C (operator++, ParPosition): reintroduce some
3675 const_cast for the benefit of older compilers.
3677 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3679 * text3.C (dispatch): do not modify clipboard when doing
3680 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3681 LFUN_DELETE_SKIP on a selection selection
3683 2003-06-16 André Pönitz <poenitz@gmx.net>
3689 * tabular.[Ch]: IU of clone() and getLabelList();
3691 2003-06-13 André Pönitz <poenitz@gmx.net>
3693 * tabular.h: compactification
3695 2003-06-12 André Pönitz <poenitz@gmx.net>
3699 * tabular_funcs.h: some renaming plus whitespace
3701 2003-06-12 André Pönitz <poenitz@gmx.net>
3704 * BufferView_pimpl.C:
3710 * toc.C: Return a Paragraph & for ParIterator::operator*()
3712 2003-06-11 John Levon <levon@movementarian.org>
3716 * ToolbarBackend.C: add "Toolbars" section and
3719 2003-06-10 Angus Leeming <leeming@lyx.org>
3722 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3724 * lyxfunc.C (dispatch): invoke it.
3726 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * main.C: protect <ios> with HAVE_IOS
3729 (main): protect sync_with_stdio with HAVE_IOS
3731 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3733 * text2.C (cutSelection): adjust
3734 (pasteSelection): adjust
3736 * messages.C: handle get of empty string
3738 * main.C (main): use sync_with_stdio(false)
3740 * lyxfunc.C (dispatch): adjust
3742 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3743 (WriteAs): remove unneeded BufferView arg.
3745 * bufferparams.h: use correct types on papersize, papersize2 and
3748 * bufferparams.C (readToken): adjust for type
3749 (writeLaTeX): add missing cases to switch.
3751 * bufferlist.C (quitWriteBuffer): adjust
3754 * buffer.C (asciiParagraph): remove some commented code.
3756 * CutAndPaste.C: remove current_view extern variable.
3757 (cutSelection): add BufferParams arg.
3758 (eraseSelection): add BufferParams arg.
3759 (pasteSelection): add Buffer const & arg
3761 2003-06-07 John Levon <levon@movementarian.org>
3764 * paragraph_funcs.C:
3765 * paragraph_pimpl.C:
3769 * paragraph.C: allow InsetERT to freely space lines,
3770 and some consolidation of code
3772 2003-06-06 José Matos <jamatos@fep.up.pt>
3774 * buffer.C (makeDocBookFile): fix bug #821
3776 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3778 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3780 2003-06-04 Angus Leeming <leeming@lyx.org>
3782 * buffer.C: bump format to 224.
3784 2003-06-05 André Pönitz <poenitz@gmx.net>
3786 * text2.C (redoParagraphs): remove two const_cast<>
3788 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3790 * ParagraphList.h: remove last remnants of NO_STD_LIST
3792 2003-06-03 Angus Leeming <leeming@lyx.org>
3794 * factory.C (createInset): small change to the way InsetExternal's params
3797 2003-06-04 André Pönitz <poenitz@gmx.net>
3799 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3801 * paragraph_pimpl.h:
3802 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3804 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3806 * undo_funcs.C: make some simple cases of undo work again
3808 2003-06-03 John Levon <levon@movementarian.org>
3810 * ispell.C: HPUX doesn't have sys/select.h
3813 2003-06-03 John Levon <levon@movementarian.org>
3815 * CutAndPaste.C: update tabular and include inset
3820 * paragraph.C: remove owningBuffer(), don't pass Buffer
3823 * factory.C: insetGraphicsParams changed
3825 2003-06-02 John Levon <levon@movementarian.org>
3831 * text3.C: remove insetparent
3833 2003-06-02 John Levon <levon@movementarian.org>
3836 * buffer.C: fix inset_iterator.end(), move out of line
3839 2003-06-01 John Levon <levon@movementarian.org>
3841 * text3.C: use a proper cut/paste when doing inset
3842 insert (from Jürgen Spitzmüller)
3844 2003-06-01 John Levon <levon@movementarian.org>
3846 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3848 2003-05-30 André Pönitz <poenitz@gmx.net>
3850 * rowpainter.C: unify second drawing phase
3852 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * trans_mgr.C: remove one case of current_view
3856 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3858 * paragraph_funcs.h: remove paragraph.h include
3860 * paragraph.h: delete NO_STD_LIST stuff
3862 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3864 * buffer.h: remove paragraph.h include
3866 * ParagraphList.C: delete file
3868 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3870 * toc.C (getTocList): adjust
3872 * paragraph_pimpl.C (validate): adjust
3874 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3876 * paragraph.C (Paragraph): adjust
3877 (getPositionOfInset): use const_iterator, adjust
3878 (bibitem): use const_iterator, adjust
3879 (setInsetOwner): adjust
3881 * iterators.C (operator++): adjust
3883 * InsetList.[Ch]: Replace selfmade iterator with standard
3884 vector::iterator also introduce const_iterator. Remove getPos,
3885 getInset and setInset from InsetTable. Adjust accordingly.
3887 * BufferView.C (lockInset): adjust
3888 (ChangeInsets): adjust
3890 * tabular.[Ch]: delete commented same_id functions
3892 2003-05-28 John Levon <levon@movementarian.org>
3894 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3896 2003-05-28 André Pönitz <poenitz@gmx.net>
3898 * metricsinfo.[Ch]: remove 'fullredraw' member
3900 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3902 * lyxtextclass.C (operator): remove caching.
3904 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * text2.C (cursorBottom): adjust
3909 (setCounter): use ParagraphList::find, adjust
3911 * text.C (workWidth): use ParagraphList::find, adjust
3913 * lyxcursor.C (LyXCursor): adjust
3915 * buffer.C (inset_iterator): adjust
3917 * ParagraphList.h: make iterator(value_type) private, make
3918 ParagraphList a friend of iterator.
3920 * ParagraphList.C (find): new function
3922 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3924 2003-05-27 André Pönitz <poenitz@gmx.net>
3926 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3928 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3930 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3932 2003-05-26 John Levon <levon@movementarian.org>
3934 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3936 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * remove same_id from function signatures, adjust.
3940 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3942 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3944 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3946 * paragraph.C (Paragraph): get rid of same_ids parameter
3948 * ParagraphList.C (insert): adjust
3951 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * paragraph_funcs.C (breakParagraph): adjust
3954 (breakParagraphConservative): adjust
3956 * buffer.C (readParagraph): adjust
3958 * ParagraphList.C (insert): take a reference instead of a pointer
3961 * paragraph.[Ch] (id): new function
3963 * bufferlist.C (newFile): adjust
3965 * ParagraphList.C (ParagraphList): adjust
3967 (push_back): take a reference instead of a pointer.
3969 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3971 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3974 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3975 set else use old code.
3977 * ParagraphList.C: remove all NO_NEXT code and only compile this
3978 code of NO_STD_LIST is set.
3980 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3982 * BufferView_pimpl.C:
3992 * graphics/GraphicsConverter.C:
3993 * graphics/PreviewLoader.C: header adjustment
3995 2003-05-23 Angus Leeming <leeming@lyx.org>
3997 * LaTeXFeatures.[Ch] (useBabel): new method.
3998 * bufferparams.C (writeLaTeX): use it.
4000 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * ParagraphList.h (set): remove unused function.
4004 2003-05-23 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C:
4011 * undo_funcs.C: setUndo reworked
4013 * iterators.[Ch]: add access to topmost ParagraphList
4015 * lyxtext.[Ch] (workWidth): add a const
4017 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4019 * texrow.[Ch] (increasePos): remove function
4020 * exporter.C (export): removed unused var and outdated comment
4022 2003-05-23 Angus Leeming <leeming@lyx.org>
4024 * latexrunparams.h: rename fragile as moving_arg.
4025 * paragraph.C (simpleTeXOnePar): ditto.
4026 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4028 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4032 (textUndoOrRedo): comment out a currently unused var.
4034 * paragraph.h (NO_NEXT): enable NO_NEXT
4036 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4038 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4040 * exporter.C (Export): adjust for removeAutoInsets removal.
4042 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4044 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4046 * BufferView.[Ch] (removeAutoInsets): delete function
4048 2003-05-22 Angus Leeming <leeming@lyx.org>
4050 * latexrunparams.h: add a free_spacing variable.
4052 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4053 to pass moving_arg, as the data is stored in runparams.fragile.
4055 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4056 to Inset::latexOptional or to simpleTeXOnePar.
4058 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4059 free_spacing arg to Inset::latexOptional.
4061 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4064 2003-05-22 Angus Leeming <leeming@lyx.org>
4066 * latexrunparams.h: add fragile and use_babel variables.
4068 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4069 * buffer.C (makeLaTeXFile): store this returned value in
4070 runparams.use_babel, thus passing it to the inset::latex methods.
4072 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4073 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4075 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4076 longer has a fragile arg, as it is stored in runparams.fragile.
4078 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4079 moving_arg parameter as the data is stored in runparams.fragile.
4081 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4082 a fragile parameter as the data is stored in runparams.fragile.
4084 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4088 2003-05-22 Angus Leeming <leeming@lyx.org>
4090 * latexrunparams.h: add a 'bool nice' which defaults to false.
4092 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4093 now encapsulated within runparams.
4095 * bufferlist.C (updateIncludedTeXfiles):
4096 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4098 2003-05-22 Angus Leeming <leeming@lyx.org>
4100 * latexrunparams.h: new file containing struct LatexRunParams.
4101 * Makefile.am: add new file.
4103 * LaTeX.[Ch] (c-tor, run):
4104 * buffer.[Ch] (makeLaTeXFile):
4105 * bufferlist.[Ch] (updateIncludedTeXfiles):
4106 * converter.C (convert, scanLog):
4107 * converter.[Ch] (runLaTeX):
4108 * exporter.C (Export):
4109 * paragraph.[Ch] (simpleTeXOnePar):
4110 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4111 * paragraph_funcs.[Ch] (latexParagraphs):
4112 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4113 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4114 pass around a LatexRunParams parameter.
4116 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * paragraph.[Ch]: remove unused constructor
4120 * ParagraphList.C (erase): new function, taking two iterators
4122 2003-05-22 André Pönitz <poenitz@gmx.net>
4124 * undo_funcs.C: remove duplicated code
4126 * iterator.[Ch]: operator=
4128 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * tabular.C (SetMultiColumn): ws changes
4132 * rowpainter.C (paintFirst): get rid of a ->previous
4134 * lyx_cb.C (getPossibleLabel): parlist simplification
4136 * BufferView.C (ChangeInsets): simplify slightly.
4138 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4140 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4141 * lfuns.h: new LFUN_SPACE
4142 * lyxfunc.C: protected space has a new lfun
4143 * paragraph_funcs.C: read new space insets
4145 * factory.C: handle new space insets
4147 2003-05-22 André Pönitz <poenitz@gmx.net>
4150 * BufferView_pimpl.C:
4153 * undo_funcs.C: return a ParIterator from getParFromID.
4155 * iterators.[Ch]: add two const's
4157 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * toc.C (getTocList): adjust
4161 * iterators.[Ch]: rework for parlist
4163 * buffer.C (par_iterator_begin): adjust
4164 (par_iterator_end): adjust
4166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4168 * BufferView.C (removeAutoInsets): adjust
4169 (ChangeInsets): adjust
4171 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4173 * text.C (top_y): fix bug 1110
4175 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4177 * errorlist.[Ch]: added
4180 * BufferView_pimpl.C:
4181 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4184 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * Makefile.am: ensure that lyx is relinked upon changes to the
4187 various "convenience" libs.
4189 2003-05-20 Angus Leeming <leeming@lyx.org>
4191 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4192 files are compiled in alphabetical order again.
4194 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4196 2003-05-19 Angus Leeming <leeming@lyx.org>
4198 * gettext.[Ch]: remove "char const * _(char const *)".
4200 2003-05-19 André Pönitz <poenitz@gmx.net>
4202 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4211 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4213 2003-05-19 André Pönitz <poenitz@gmx.net>
4217 * lyxtextclass.[Ch]:
4219 * paragraph_funcs.[Ch]:
4221 * text3.C: more insetenv work
4223 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4225 * ParagraphParameters.C (params2string): small bug fixed
4227 2003-05-16 André Pönitz <poenitz@gmx.net>
4230 * bufferview_funcs.C: patch from Kornel Benko to prevent
4231 crash when _(...) is called twice in a statement
4233 2003-05-16 André Pönitz <poenitz@gmx.net>
4240 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4242 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4244 * lyx_main.C (init): remove spurious static_cast
4246 2003-05-14 André Pönitz <poenitz@gmx.net>
4248 * BufferView.C: fix format string
4250 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4252 * BufferView.[Ch] (insertErrors): removed
4253 * BufferView.[Ch] (showErrorList): added
4254 * buffer.C (runChkTeX):
4255 * converter.C (scanLog): call showErrorList instead of inserterrors
4257 2003-05-13 André Pönitz <poenitz@gmx.net>
4259 * BufferView_pimpl.C:
4261 * bufferview_func.C:
4268 * tabular_funcs.h: tostr() from its own header
4270 * ParagraphParameters.C:
4275 * text3.C: STRCONV()
4277 2003-05-12 André Pönitz <poenitz@gmx.net>
4280 * BufferView_pimpl.C:
4284 * ParagraphParameters.C:
4288 * bufferview_funcs.C:
4301 * paragraph_funcs.C:
4305 * text3.C: boost::format -> bformat all over the place
4308 2003-05-09 André Pönitz <poenitz@gmx.net>
4310 * LColor.[Ch]: Pimpl the #include <map> away
4312 2003-05-09 John Levon <levon@movementarian.org>
4314 * bufferlist.C: never remove emergency saves
4316 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * Makefile.am: better lib building
4320 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4324 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4325 (simpleTeXSpecialChars): adjust
4326 (simpleTeXSpecialChars): adjust
4327 * paragraph.C (simpleTeXOnePar): adjust
4328 * buffer.C (makeLaTeXFile): adjust
4330 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4332 * text2.C (changeDepth): parlist cleanup
4333 (getColumnNearX): ditto
4335 * rowpainter.C (getLabelFont): parlist cleanup
4337 * bufferlist.C (newFile): parlist cleanup
4339 * CutAndPaste.C (eraseSelection): parlist cleanup
4341 * BufferView_pimpl.C (trackChanges): parlist cleanup
4344 * BufferView.C (lockInset): parlist cleanup.
4345 (ChangeInsets): ditto
4347 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * CutAndPaste.h: Update file header.
4351 * CutAndPaste.C: Update file header.
4352 Store the parts cut out of the Document in a limited_stack.
4353 (copySelection): adjust
4354 (pasteSelection): new function, takes the index in the limited stack.
4355 (nrOfParagraphs): adjust
4356 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4357 simplify error inset insertion.
4358 (checkPastePossible): adjust
4360 2003-05-06 John Levon <levon@movementarian.org>
4362 * text2.C: don't cast wrap inset to float
4364 2003-05-05 André Pönitz <poenitz@gmx.net>
4367 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4369 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4370 few naked Paragraph *.
4372 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4374 * bufferparams.C: Output warning if a document with missing
4375 TeX document class is loaded
4376 * exporter.C: Disable TeX exports if the document class is missing
4379 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4380 isTeXClassAvailable()
4382 2003-05-03 John Levon <levon@movementarian.org>
4385 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4386 explicit cursor show/hide
4388 * BufferView_pimpl.h:
4389 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4390 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4392 * lyxfunc.C: hide cursor before dispatching.
4397 * text3.C: remove explicit cursor hides
4399 2003-05-02 André Pönitz <poenitz@gmx.net>
4401 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4404 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4407 * text2.C: tiny whitespace
4409 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * undo_funcs.C: almost only ws changes.
4413 * ParagraphList.C (splice): just return if pl is empty.
4415 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * ParagraphList.C (splice): new function.
4419 * CutAndPaste.C (pasteSelection): use it
4421 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * CutAndPaste.C (pasteSelection): remove the last next and
4424 previous from this file.
4426 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * CutAndPaste.C (pasteSelection): more clean up, user proper
4429 ParagraphList functions for pasteing.
4431 * ParagraphList.C (insert): new function, three arg insert
4433 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * ParagraphList.C (insert): new function, three arg insert
4437 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4440 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4442 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4444 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4446 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4448 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4451 (copySelection): clean up a bit.
4452 (pasteSelection): use make_pair
4454 * ParagraphList.C (ParagraphList): implement copy constructor
4455 (operator=): implement, base on copy constructor.
4458 * paragraph.C (erase): return a bool
4460 * paragraph_pimpl.C (erasePos): remove function, move contents...
4461 (erase): ... here. Return a bool.
4462 (erase): call erase instead of erasePos.
4464 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4466 * ParagraphList.h: define PitPosPair
4467 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4468 ParagraphList, fix a bug on pasting multiple pars
4469 * text2.C: change interface to C&P
4471 2003-04-30 André Pönitz <poenitz@gmx.net>
4473 * undo_func.C: revert part of yesterday's patch 2
4475 2003-04-30 John Levon <levon@movementarian.org>
4477 * LColor.C: s/tabular/table/
4479 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * text3.C (dispatch): do not convert iterator -> pointer
4482 * undo_funcs.C (setCursorParUndo): ditto
4483 * text_funcs.C (transposeChars): ditto
4485 * text2.C (setLayout): ws changes only
4487 * text.C (breakParagraph): do not convert iterator -> pointer
4489 (acceptChange): ditto
4490 (rejectChange): ditto
4495 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4498 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4500 * text3.C (gotoInset): YABG (yet another bad getChar)
4502 2003-04-29 André Pönitz <poenitz@gmx.net>
4504 * paragraph.h: make operator= private unimplemented as long as
4507 * ParagraphList.C: whitespace
4510 * paragraph_pimpl.[Ch]:
4511 * paragraph_funcs.C:
4513 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4516 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4518 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4520 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4521 * paragraph.[Ch] (erase):
4522 * paragraph_pimpl.[Ch] (erase): change return type and value
4523 * text2.C (cutSelection): some rework
4525 2003-04-28 John Levon <levon@movementarian.org>
4527 * bufferlist.C: changes for unsaved changes dialog
4529 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * bufferlist.C (newFile): set language (messages_) for new
4534 * buffer.C (readFile): ws changes only.
4536 2003-04-28 André Pönitz <poenitz@gmx.net>
4541 * BufferView_pimpl.C:
4542 * BufferView.C: getParFromID related ParagraphList::iterator changes
4544 2003-04-28 André Pönitz <poenitz@gmx.net>
4546 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4549 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * messages.C: remove one more localedir class variable.
4553 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * messages.C (getLocaleDir): singleton generation function
4557 (Messages): add a default constructor.
4559 * main.C (main): do not setup localedir here, do not call
4562 * gettext.C (_): use it.
4563 (gettext_init): delete funciton
4565 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * gettext.C (getLyXMessages): new singleton generating function.
4569 * buffer.C (updateDocLang): adjust
4571 * Makefile.am (messages.o): add target
4572 (main.o): remove target
4574 2003-04-27 John Levon <levon@movementarian.org>
4579 * lyxvc.C: specify cancel button in Alert::prompt
4581 2003-04-26 John Levon <levon@movementarian.org>
4586 * LyXAction.C: add LFUN_INSET_SETTINGS
4588 * lyxfunc.C: don't enable tabular-feature when there's
4589 just any locking inset
4591 2003-04-26 John Levon <levon@movementarian.org>
4593 * bufferlist.C: re-add Cancel to buffer close question
4595 * lyxfunc.C: fix import UI a bit
4597 2003-04-25 John Levon <levon@movementarian.org>
4599 * gettext.C: remove the broken asserts for now
4601 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * messages.C: make case where setlocale cannot comply work better.
4605 * buffer.C (updateDocLang): new function
4606 (changeLanguage): use it
4609 * text2.C (setCounter): use B_ a bit.
4611 * lyxlayout.C (Read): be sure to trim the label strings.
4613 * messages.C (Messages): fix typo in comment
4615 * buffer.C (readFile): set message_ after file is loaded.
4616 (makeDocBookFile): remove double return
4617 (changeLanguage): reset message_ upon language change.
4618 (B_): new func, use this to get translated buffer strings.
4620 * main.C: add myself and Jean Marc as authors.
4622 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * messages.[hC]: pimplify Messages, and three different pimpls to be
4625 used in different circumstances.
4627 * gettext.[Ch]: change for use with new message code.
4629 2003-04-24 André Pönitz <poenitz@gmx.net>
4631 * factory.C: support for eqref
4633 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * messages.[Ch]: add missing char
4637 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4639 * messages.[Ch]: New files
4641 2003-04-18 John Levon <levon@movementarian.org>
4645 * BufferView_pimpl.C:
4649 * text2.C: remove layout-copy/paste (bug 778)
4651 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4653 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4655 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4657 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4658 if they succeed. Act accordingly.
4660 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * text2.C (setCharFont): adjust
4663 (setCounter): adjust
4664 (insertStringAsLines): adjust
4666 * text.C (leftMargin): adjust
4667 (setHeightOfRow): adjust
4669 * rowpainter.C (paintFirst): adjust
4672 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4674 (isFirstInSequence): ditto
4675 (getEndLabel): ditto
4678 * paragraph.C (getParLanguage): comment out some hard stuff.
4680 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4682 (simpleDocBookOnePar): ditto
4683 (makeDocBookFile): use ParagraphList::iterator
4685 * CutAndPaste.C (pasteSelection): adjust
4687 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * text2.C (getFont): adjust
4690 (getLayoutFont): adjust
4691 (getLabelFont): adjust
4693 * paragraph_funcs.C (TeXOnePar): adjust
4695 * buffer.C (simpleLinuxDocOnePar): adjust
4696 (simpleDocBookOnePar): adjust
4698 * CutAndPaste.C (pasteSelection): adjust
4700 * BufferView.C (getEncoding): adjust
4702 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4704 2003-04-16 John Levon <levon@movementarian.org>
4706 * lyxfind.C: use parlist stuff for search/changes
4708 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4712 * text2.C (deleteEmptyParagraphMechanism): adjust
4714 * text2.[Ch] (ownerParagraph): delete func (both of them
4716 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4720 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * ParagraphList.C: prepare for NO_NEXT
4724 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * text2.C (getFont): adjust
4727 (getLayoutFont): adjust
4728 (getLabelFont): adjust
4730 * paragraph.C (getFont): adjust
4731 (getLabelFont): adjust
4732 (getLayoutFont): adjust
4734 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4736 2003-04-15 John Levon <levon@movementarian.org>
4740 * lyx_main.C: handle Include in .ui files
4742 2003-04-15 John Levon <levon@movementarian.org>
4744 * MenuBackend.C: make the doc files length shorter
4747 * ToolbarBackend.C: handle toolbar placement flags,
4750 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4755 * paragraph_funcs.C (TeXOnePar): adjust
4757 * paragraph.C (getLabelFont): add outerfont arg, adjust
4758 (getLayoutFont): ditto
4759 (simpleTeXOnePar): adjust
4761 * paragraph_pimpl.C (realizeFont): delete func
4763 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4765 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4766 row argument, constify cur argument.
4768 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * text2.C (getFont): adjust
4771 (getLayoutFont): adjust
4772 (getLabelFont): adjust
4774 * paragraph_funcs.C (TeXOnePar): adjust
4775 (outerFont): new func...
4776 (realizeFont): ...moved out from here, changed this to facilitate
4779 * paragraph.C (getFont): take outerfont as arg, adjust
4780 (simpleTeXOnePar): add outerfont arg, adjust
4782 * buffer.C (simpleLinuxDocOnePar): adjust
4783 (simpleDocBookOnePar): adjust
4785 * CutAndPaste.C (pasteSelection): adjust
4787 * BufferView.C (getEncoding): adjust
4789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * text2.C (setCharFont): adjust
4792 (setCounter): adjust
4794 * text.C (leftMargin): adjust
4795 (setHeightOfRow): adjust
4797 * rowpainter.C (paintFirst): adjust
4800 * paragraph_pimpl.C (realizeFont): adjust
4802 * paragraph.C (isFirstInSequence): move from here...
4803 * paragraph_funcs.C (isFirstInSequence): ...to here
4805 * paragraph.C (outerHook): move from here...
4806 * paragraph_funcs.C (outerHook): ...to here
4808 * paragraph.C (depthHook): move from here...
4809 * paragraph_funcs.C (depthHook): ...to here
4811 * paragraph.C (getEndLabel): move from here...
4812 * paragraph_funcs.C (getEndLabel): ...to here
4814 * text2.C (realizeFont): move from here...
4815 * paragraph_funcs.C (realizeFont): ...to here
4817 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4821 2003-04-14 Angus Leeming <leeming@lyx.org>
4823 * LColor.[Ch]: scrap LColor mathcursor.
4825 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * lyxlex.[Ch] (text): delete function
4828 * trans.C (Load): adjust
4829 * paragraph_funcs.C (readParToken): adjust
4831 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4834 vector<char> instead of a char[].
4836 * lyxlex_pimpl.C (getString): adjust
4838 (lex): use getString
4842 * lyxlex.C (text): use pimpl_->getString()
4846 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4849 (makeFontEntriesLayoutSpecific): temp var for par.size()
4850 (setLayout): temp var for ownerParagraphs().end()
4851 (fullRebreak): temp var for rows().end()
4852 (selectionAsString): temp var for boost::next(startpit), realize
4853 that the while really is a regular for loop.
4854 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4855 setCursor in one place.
4856 (setParagraph): temp vr for ownerParagraphs().end()
4857 (updateCounters): make the while loop a for loop
4858 (cutSelection): temp var for ownerParagraphs().end()
4859 (updateInset): make the do {} while() a regular for loop
4860 (getCursorX): use temp vars
4861 (setCurrentFont): use temp vars
4862 (getColumnNearX): use temp vars
4864 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * text.C (transformChar): use temp var for getChar
4867 (computeBidiTables): use temp var for row->par()
4868 (fill): move temp vars for row->par() and pit->layout() earlier in
4870 (labelFill): use temp var for row->par()
4871 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4872 asc and desc, realize that pit never changes and that firstpit is
4873 just a duplicate and not needed. Exchange rit->par() with pit in a
4875 (breakAgain): use a temp var for boost::next(rit)
4876 (breakAgainOneRow): ditto
4877 (breakParagraph): use a temp var for rows().begin()
4878 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4879 (cursorRightOneWord): use temp var for cursor.par() and
4880 cursor.pos(), remove usage of tmpcursor.
4881 (cursorLeftOneWord): use temp var for cursor.par() and
4882 cursor.pos() only set cur at end of function.
4884 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * text.C, text2.C: exchange all usage of Paragraph::next with
4887 boost::next(ParagraphList::iterator)
4889 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4891 * text2.C (cursorTop): simplify implementation
4892 (cursorBottom): ditto
4893 (setParagraph): use ParagraphList::iterator
4894 (setCurrentFont): adjust
4895 (getColumnNearX): adjust
4896 (cursorRight): adjust
4897 (cursorLeft): remove usage of Paragraph::previous
4898 (cursorUpParagraph): ditto
4899 (deleteEmptyParagraphMechanism): slight cleanup
4901 * text.C (isBoundary): take a Paragraph const & instead of a
4903 (addressBreakPoint): ditto
4904 (leftMargin): remove usage of Paragraph::previous.
4905 (setHeightOfRow): ditto
4906 (cursorLeftOneWord): ditto
4907 (selectNextWordToSpellcheck): ditto
4910 (breakParagraph): remove one usage of Paragraph::next
4911 (redoParagraph): ditto
4912 (acceptChange): ditto
4913 (insertChar): adjust
4914 (rowBreakPoint): adjust
4916 * bufferview_funcs.C (toggleAndShow): adjust
4918 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4920 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4921 methods to access it.
4923 * text.C: Added updateRowPositions to compute all row positions.
4924 Make top_y and getRowNearY() to use the cached y position
4926 2003-04-11 John Levon <levon@movementarian.org>
4928 * text.C (rowBreakPoint): reintroduce the labelEnd
4929 checks, code copied from the row fill stuff. Deep voodoo.
4931 * text.C (fill): add a comment and debugging for the
4934 2003-04-11 John Levon <levon@movementarian.org>
4936 * text.C: make sure fullrow insets get wrapped to the next line,
4937 even when they're in a manual label
4939 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * text2.C (insertParagraph): make it take ParagraphList::iterator
4943 (setLayout): make it return ParagraphList::iterator
4944 (redoParagraphs): ditto
4946 (checkParagraph): ditto
4948 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4950 * text2.C: adjust several funcs.
4951 (realizeFont): take a ParagraphList::iterator as arg.
4952 (getLayoutFont): ditto
4953 (getLabelFont): ditto
4954 (setCharFont): ditto
4956 * text.C: adjust several funcs.
4958 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4960 * text.C (selectNextWordToSpellcheck): don't accidentally
4963 2003-04-10 John Levon <levon@movementarian.org>
4965 * ToolbarBackend.C (getIcon): special handling for
4968 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4970 * text2.C (cursorRight): a getChar assert fixed
4972 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * text2.C (getFont): change to take a ParagraphList::iterator
4975 instead of Paragraph*
4976 Adjust several functions.
4978 * text.C (transformChar): change to take a ParagraphList::iterator
4979 instead of Paragraph*
4980 (singleWidth): ditto
4981 Adjust several functions.
4983 * rowpainter.C: adjust several functions
4984 * rowpainter.h:store a ParagraphList::iterator and not a
4988 2003-04-09 John Levon <levon@movementarian.org>
4993 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4994 and the "help" bits as well
4996 2003-04-09 John Levon <levon@movementarian.org>
4999 * ToolbarBackend.C: allow multiple toolbars
5001 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * undo_funcs.C (setCursorParUndo): adjust
5005 * text_funcs.C (transposeChars): adjust
5007 * text3.C (gotoNextInset): adjust
5010 * text2.C (setLayout): adjust
5011 (changeDepth): adjust
5013 (redoParagraphs): adjust
5014 (selectionAsString): adjust
5015 (setParagraph): adjust
5016 (insertInset): adjust
5017 (cutSelection): adjust
5018 (copySelection): adjust
5019 (pasteSelection): adjust
5020 (insertStringAsLines): adjust
5021 (updateInset): adjust
5022 (setCursor): change to take a ParagraphList::iterator parameter
5023 (setCursorIntern): change to take a ParagraphList::iterator parameter
5024 (setCurrentFont): adjust
5025 (cursorLeft): adjust
5026 (cursorRight): adjust
5027 (deleteEmptyParagraphMechanism): adjust
5029 * text.C (breakParagraph): adjust
5030 (insertChar): adjust
5031 (acceptChange): adjust
5032 (rejectChange): adjust
5033 (selectNextWordToSpellcheck): adjust
5034 (changeCase): adjust
5038 * lyxfind.C (SearchForward): adjust
5039 (SearchBackward): adjust
5040 (nextChange): adjust
5042 * lyxcursor.C (par): adjust
5044 * lyxcursor.h: store a ParagraphList::iterator instead of a
5047 * lyx_cb.C (getPossibleLabel): adjust
5049 * bufferview_funcs.C (toggleAndShow): adjust
5051 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5054 * BufferView.C (removeAutoInsets): adjust
5055 (lockedInsetStoreUndo): adjust
5057 2003-04-09 John Levon <levon@movementarian.org>
5059 * ToolbarBackend.C: try icon without argument
5060 if with argument fails
5062 2003-04-08 John Levon <levon@movementarian.org>
5065 * ToolbarBackend.C: add getIcon(), handle tooltip,
5066 and change from "Icon" to "Item".
5068 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5070 * BufferView.C (lockInset): another bad getchar crunched
5072 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5074 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5077 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5079 * lyxfind.C (searchForward, searchBackwards): bug 782
5081 2003-04-07 John Levon <levon@movementarian.org>
5083 * paragraph.C: remove dead comment
5085 * text.C: remove troublesome depth-fiddling code
5086 in leftMargin() and rightMargin() (bug 1017)
5088 * text.C: fix breaking of rows in nested lists
5091 * text2.C (updateCounters): fix up depth values
5094 2003-04-07 John Levon <levon@movementarian.org>
5096 * BufferView_pimpl.C: clear message when doc finishes resizing,
5097 and after a mouse event
5099 * lyxfunc.C: clear message after exiting inset
5101 2003-04-07 John Levon <levon@movementarian.org>
5103 * bufferview_funcs.C: show math status not outside
5104 status in the statusbar
5106 2003-04-07 John Levon <levon@movementarian.org>
5108 * lyxfunc.C: note status changed after a depth change
5110 2003-04-04 Angus Leeming <leeming@lyx.org>
5112 * LaTeX.h: move AuxInfo operator==, != out of line.
5113 Remove LaTeX virtual destructor; nothing derives from it.
5114 Move operator()() out of public area and rename it startscript().
5115 Change protected for private.
5117 2003-04-04 Angus Leeming <leeming@lyx.org>
5120 * text2.C: remove unneeded #includes.
5122 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5124 * text2.C (dEPM): fix the heigth of the next row
5126 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5128 * text.C: squashed an invalid getChar requester + some ws changes
5130 2003-04-03 John Levon <levon@movementarian.org>
5132 * bufferview_funcs.h:
5133 * bufferview_funcs.C:
5136 * text2.C: make getStatus work for the env depth lfuns
5138 2003-04-03 John Levon <levon@movementarian.org>
5140 * bufferview_funcs.h:
5141 * bufferview_funcs.C:
5144 * text2.C: parlistize decDepth(), by merging it with incDepth()
5146 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * lyxrow.h: store a ParagraphList::iterator instead of a
5149 Paragraph* and adjust other class functions to suit.
5151 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5154 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5156 * text2.C (setCursor): do not anchor to cursor row for the time being
5158 2003-04-02 John Levon <levon@movementarian.org>
5165 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5167 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * paragraph.h: make ParagraphList and ParagraphList::iterator
5170 friends of Paragraph.
5172 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5174 * ParagraphList.C: Use the private next_ and previous_ from
5177 2003-04-01 John Levon <levon@movementarian.org>
5181 * Makefile.am: rename, remove defaults gunk
5184 * MenuBackend.C: remove defaults gunk
5187 * Languages.C: remove defaults gunk
5190 * lyx_main.C: error out if files couldn't be found.
5192 2003-04-02 John Levon <levon@movementarian.org>
5194 * text2.C: make incDepth() use parlist
5196 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * undo_funcs.C (firstUndoParagraph): adjust
5200 * text3.C (gotoInset): adjust
5201 (dispatch): adjust, and rewrite loop.
5203 * text2.C (init): adjust, and rewrite loop.
5204 (redoParagraphs): adjust
5205 (updateInset): adjust, and rewrite loop.
5206 (deleteEmptyParagraphMechanism): adjust
5208 * tabular.C (LyXTabular): adjust
5209 (SetMultiColumn): adjust
5212 * lyxtext.[Ch] (ownerParagraph): delete function
5213 (ownerParagraphs): new function returns a ParagraphList.
5215 * BufferView.C (removeAutoInsets): adjust
5216 (insertErrors): adjust
5217 (setCursorFromRow): adjust
5219 2003-04-01 Angus Leeming <leeming@lyx.org>
5221 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5224 2003-04-02 John Levon <levon@movementarian.org>
5230 * text_funcs.C: make transposeChars a free function
5232 * lyxrow_funcs.C: remove wrong comment
5234 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * rowpainter.C: adjust
5242 * lyxrow_funcs. [Ch]: new files
5244 * lyxrow.[Ch]: remove next and previous pointers
5245 (next,previous): remove accessor functions
5246 (isParEnd): move to lyxrow_funcs
5247 (lastPos): move to lyxrow_funcs
5248 (nextRowIsAllInset): move to lyxrow_funcs
5249 (lastPrintablePos): move to lyxrow_funcs
5250 (numberOfSeparators): move to lyxrow_funcs
5251 (numberOfHfills): move to lyxrow_funcs
5252 (numberOfLabelHfills): move to lyxrow_funcs
5253 (hfillExpansion): move to lyxrow_funcs
5257 * bufferview_funcs.C (toggleAndShow): adjust
5259 * RowList.h: Remove class RowList from file leave just a
5262 * RowList.C: delete file
5264 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * text3.C (cursorPrevious): adjust
5270 (cursorNext): adjust
5273 * text2.C (redoHeightOfParagraph): adjust
5274 (redoDrawingOfParagraph): adjust
5277 * text.C (breakParagraph): adjust
5278 (insertChar): adjust
5281 * rowpainter.C (RowPainter): adjust
5282 (leftMargin): simplify and adjust
5283 (most rowpainter functions): adjust.
5285 * rowpainter.h: store the row as RowList::iterator not as Row*
5287 * lyxcursor.C (row): taka RowList::iterator as arg
5290 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5293 2003-04-01 Angus Leeming <leeming@lyx.org>
5295 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5296 stuff like bool Bool.
5298 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5300 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5308 * lyxtext.h (rows): drop one version and leve a const variant that
5309 returns a RowList::iterator.
5311 2003-03-31 Angus Leeming <leeming@lyx.org>
5313 * text.C (fill): ensure that the signature is the same as that in the
5316 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * text2.C (redoParagraphs): adjust
5319 (updateCounters): adjust
5320 (checkParagraph): adjust
5321 (getColumnNearX): adjust and reformat a bit.
5323 * text.C (top_y): adjust
5325 (leftMargin): adjust
5326 (prepareToPrint): adjust
5328 (getRowNearY): adjust
5330 * lyxtext.h: make rowlist_ mutable.
5332 * RowList.h: add const_iterator
5333 * RowList.C: adjust for RowList::const_iterator.
5335 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5338 2003-03-31 John Levon <levon@movementarian.org>
5341 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5343 * lyx_main.C: set default fonts from using lyx_gui funcs
5345 * exporter.C: pdf_mode moved from lyxrc
5348 * lyxfunc.C: changes from above
5350 2003-03-31 John Levon <levon@movementarian.org>
5352 * lyx_main.C: fix to the last fix
5354 2003-03-31 John Levon <levon@movementarian.org>
5356 * bufferlist.C: "Load original" -> "Load Original"
5362 * format.C: more Alert cleanups
5364 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * text2.C (removeParagraph): make it take a RowList::iterator as
5368 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5369 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5371 * text.C (anchor_row): make it take a RowList::iterator as arg,
5373 (computeBidiTables): make it take a const reference to Row instead
5374 of Row pointer, adjust.
5375 (leftMargin): make it take a RowList::iterator as arg, adjust.
5376 (rowBreakPoint): adjust
5377 (breakAgainOneRow): make it take a RowList::iterator as arg,
5379 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5381 * bufferview_funcs.C (toggleAndShow): adjust
5383 2003-03-30 John Levon <levon@movementarian.org>
5387 * boost-inst.C: moved to support
5389 * several files: changes as a result
5391 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * text2.C (LyXText): adjust.
5395 (removeRow): make it take a RowList::iterator as arg, adjust.
5396 (fullRebreak): adjust
5397 (deleteEmptyParagraphMechanism): adjust
5398 (clearPaint): adjust
5401 * text.C (top_y): adjust
5402 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5403 (breakAgain): make it take a RowList::iterator as arg, adjust.
5404 (breakParagraph): adjust
5405 (insertChar): adjust
5408 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5409 need_break_row, and refresh_row.
5411 * text3.C (dispatch): adjust
5413 * text2.C (checkParagraph): adjust
5415 (setCursorFromCoordinates): adjust
5417 * text.C (top_y): adjust
5419 (getRow): make it return a RowList::iterator, adjust
5420 (getRowNearY): make it return a RowList::iterator, adjust
5422 * text2.C (init): adjust
5423 (insertRow): remove function
5424 (insertParagraph): adjust
5425 (redoParagraphs): adjust
5426 (fullRebreak): adjust
5427 (updateCounters): adjust
5429 * text.C (top_y): rewrite to use RowList iterators.
5431 (setHeightOfRow): rewrite to sue RowList iterators.
5432 (appendParagraph): adjust
5433 (breakAgain): adjust
5434 (breakAgainOneRow): adjust
5435 (breakParagraph): adjust
5437 (getRowNearY): adjust, and remove commented code.
5439 * lyxtext.h (firstRow): delete function
5440 (lastRow): delete function
5441 (rows): new function (const and non-const versions.)
5442 (insertRow): delete function
5444 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5446 2003-03-29 John Levon <levon@movementarian.org>
5448 * BufferView_pimpl.C: always update scrollbar top
5449 because pasting text when we're anchored could mean we
5450 miss an update altogether
5452 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * text2.C (init): use rowlist_.end() and not 0.
5455 (insertRow): change to take a RowList::iterator as arg, adjust
5457 (insertParagraph): change to take a RowList::iterator as arg,
5459 (redoParagraphs): remove some debug msgs.
5461 * text.C (appendParagraph): change to take a RowList::iterator
5462 arg, adjust for this.
5463 (breakAgain): add an assert
5464 (breakAgainOneRow): ditto
5466 2003-03-29 John Levon <levon@movementarian.org>
5468 * text2.C: do not clear selection after inc/decDepth
5471 2003-03-29 John Levon <levon@movementarian.org>
5474 * buffer.C: fix broken strerrors according to Lars
5476 2003-03-29 John Levon <levon@movementarian.org>
5478 * converters.C: more Alert cleanups
5480 2003-03-29 John Levon <levon@movementarian.org>
5482 * bufferview_funcs.C: remove pointless Alert
5484 * buffer.C: fix confusing error message when
5485 a template is chmoded 000
5487 2003-03-29 John Levon <levon@movementarian.org>
5491 * BufferView_pimpl.C: Alert fixes
5495 * tabular-old.C: remove unused table compat reading
5497 2003-03-29 John Levon <levon@movementarian.org>
5502 * lyx_cb.C: more Alert cleanups
5504 * lyxfunc.C: don't allow chktex if not latex document
5506 2003-03-29 John Levon <levon@movementarian.org>
5510 * buffer.C: warnings pushed down from support/,
5513 2003-03-29 John Levon <levon@movementarian.org>
5515 * lyxfunc.C: safety check for C-r (revert)
5517 2003-03-29 John Levon <levon@movementarian.org>
5520 * bufferlist.C: several UI fixes using Alert::prompt.
5521 Fix the pointless looping quit code. Fix stupid revert
5526 * lyx_cb.C: use Alert::prompt
5528 * lyx_main.C: remove a silly question
5530 * lyxfunc.C: remove a couple of silly questions,
5533 2003-03-28 John Levon <levon@movementarian.org>
5535 * text2.C: fix bug 974 (End on empty par)
5537 2003-03-28 John Levon <levon@movementarian.org>
5539 * BufferView_pimpl.C:
5541 * lfuns.h: remove do-nothing math greek lfuns
5543 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * lyxgluelength.h (isValidGlueLength): add default arg on
5546 parameter 2. Remove default arg from friend in class.
5548 * lyxlength.h (isValidLength): add default arg on parameter 2.
5549 Remove default arg from friend in class.
5551 * text2.C (LyXText): adjust, initialize refresh_row.
5555 (insertParagraph): adjst
5556 (redoParagraphs): adjust
5557 (fullRebreak): adjust
5558 (updateCounters): adjust
5559 (deleteEmptyParagraphMechanism): first attempt at fixing a
5562 * text.C (top_y): adjust
5563 (setHeightOfRow): adjust
5565 (getRowNearY): adjust
5567 * lyxtext.h: include RowList.h
5568 (~LyXText): not needed anymore, deleted.
5569 (firstRow): modify for RowList
5570 (lastRow): new function
5571 Delete firstrow and lastrow class variables, add a Rowlist
5572 rowlist_ class variable.
5574 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5577 * RowList.C (insert): fix case where it == begin().
5579 2003-03-26 Angus Leeming <leeming@lyx.org>
5581 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5582 the thesaurus dialog.
5584 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5588 * RowList.[Ch]: new files
5590 * ParagraphList.C (erase): handle the case where it == begin
5593 2003-03-25 John Levon <levon@movementarian.org>
5597 * aspell.C: add new aspell support
5600 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5603 2003-03-25 Angus Leeming <leeming@lyx.org>
5606 * LyXAction.C (init): new LFUN_INSET_INSERT.
5608 * BufferView_pimpl.C (dispatch): split out part of the
5609 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5611 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5614 2003-03-25 Angus Leeming <leeming@lyx.org>
5616 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5618 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5621 * text3.C: remove useless row->height(0)
5623 2003-03-25 John Levon <levon@movementarian.org>
5627 * text3.C: rename the refreshing stuff to better names
5629 2003-03-24 John Levon <levon@movementarian.org>
5631 * BufferView_pimpl.h:
5632 * BufferView_pimpl.C: update layout choice on a mouse
5635 2003-03-23 John Levon <levon@movementarian.org>
5637 * Makefile.am: fix commandtags.h reference
5639 2003-03-22 John Levon <levon@movementarian.org>
5641 * BufferView_pimpl.C:
5646 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5648 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5651 * text.C: take the rtl methods out of line
5653 2003-03-21 André Pönitz <poenitz@gmx.net>
5655 * metricsinfo.[Ch]: new files containing structures to be passed around
5656 during the two-phase-drawing...
5658 2003-03-21 André Pönitz <poenitz@gmx.net>
5660 * lyxtextclass.C: read 'environment' tag.
5662 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5664 * text2.C (removeRow): fix bug 964
5666 2003-03-20 John Levon <levon@movementarian.org>
5670 * text2.C: paint cleanups. Inset::update() dropped font
5673 2003-03-19 John Levon <levon@movementarian.org>
5675 * lyxfunc.C: only fitcursor/markDirty if available()
5677 2003-03-19 John Levon <levon@movementarian.org>
5679 * commandtags.h: rename to ...
5681 * lfuns.h: ... this, and renumber / cleanup
5683 2003-03-19 John Levon <levon@movementarian.org>
5685 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5686 fit the cursor after an lfun
5690 * BufferView_pimpl.h:
5691 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5693 * LyXAction.C: layout-character should have ReadOnly
5695 * ParagraphParameters.C:
5697 * bufferview_funcs.C:
5704 * undo_funcs.C: changes from above
5706 2003-03-18 John Levon <levon@movementarian.org>
5708 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5709 remove it from update()
5711 * lyxfunc.C: update layout choice after an lfun
5713 * text3.C: remove extra updateLayoutChoice()s
5715 2003-03-18 John Levon <levon@movementarian.org>
5717 * text.C: top_y change means full repaint, fix
5718 a drawing bug with cursor movement
5720 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5724 * text2.C: anchor row on setCursor
5726 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5728 * lyxtext.h: remove almost all mutable keywords
5731 * text3.C: remove const keywords accordingly
5733 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5737 (TeXEnvironment): ditto
5740 2003-03-17 John Levon <levon@movementarian.org>
5742 * text.C (rowBreakPoint): remove attempt to fix displayed
5743 math insets inside a manual label
5745 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * lyxtext.h: remove BufferView* as first arg from almost all class
5749 * other files: adjust.
5751 2003-03-17 John Levon <levon@movementarian.org>
5755 * text2.C: more paint cleanups
5757 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5760 * rowpainter.C: remove "smart" background painting code
5762 2003-03-16 John Levon <levon@movementarian.org>
5767 * text3.C: add helper functions for setting refresh_row/y
5769 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5771 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5772 newline inset which *can* get inserted in the pass_thru layouts.
5773 This is primarily for literate documents.
5775 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5777 * buffer.C: increment LYX_FORMAT to 223
5779 2003-03-14 André Pönitz <poenitz@gmx.net>
5781 * textclass.h: prepare for environment handling, ws changes
5782 * lyxlayout.C: read latexheader and latexfooter tags
5784 2003-03-14 John Levon <levon@movementarian.org>
5786 * text2.C: rewrite ::status() a bit
5788 2003-03-13 John Levon <levon@movementarian.org>
5790 * lyxtext.h: add some docs
5792 2003-03-13 John Levon <levon@movementarian.org>
5797 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5799 2003-03-13 John Levon <levon@movementarian.org>
5801 * text3.C: fix appendix redrawing
5803 2003-03-13 John Levon <levon@movementarian.org>
5805 * text.C (setHeightOfRow):
5807 * rowpainter.C: make appendix mark have the text
5808 "Appendix" so the user knows what it is
5811 * LColor.C: s/appendixline/appendix/ from above
5813 2003-03-13 John Levon <levon@movementarian.org>
5815 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5817 * text.C: fix a getChar(pos) bug properly
5819 2003-03-13 Angus Leeming <leeming@lyx.org>
5822 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5823 Probably only temporary. Let's see how things pan out.
5825 * BufferView.C (unlockInset):
5826 * BufferView_pimpl.C (fitCursor):
5827 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5829 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5830 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5832 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5833 new functions that convert ParagraphParameters to and from a string.
5835 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5836 BufferView::Pimpl's dispatch.
5837 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5839 2003-03-13 André Pönitz <poenitz@gmx.net>
5843 * factory.C: make it aware of InsetEnv
5845 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * text2.C (setCursor): never ask for one past last
5848 (setCursor): add some debugging messages.
5850 * text.C (singleWidth): never ask for one past last
5851 (singleWidth): ditto
5853 (rightMargin): ditto
5854 (rowBreakPoint): ditto
5855 (setHeightOfRow): ditto
5856 (prepareToPrint): ditto
5858 * rowpainter.C (paintBackground): never ask for one past last
5859 (paintText): never ask for one past last
5861 * paragraph_pimpl.C (getChar): make the assert stricter, never
5862 allow the one past last pos to be taken
5864 * paragraph.C (getChar): ws changes only
5866 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5867 (numberOfSeparators): ditto
5868 (numberOfHfills): ditto
5870 2003-03-12 John Levon <levon@movementarian.org>
5876 * paragraph_funcs.C: fix per-buffer authorlists
5878 2003-03-12 John Levon <levon@movementarian.org>
5880 * text.C: fix newline in right address
5882 2003-03-12 Angus Leeming <leeming@lyx.org>
5884 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5885 duplicate those in LyXFunc::dispatch.
5889 * ToolbarDefaults.C:
5890 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5891 Add LFUN_FONTFREE_UPDATE.
5893 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5894 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5896 * bufferview_func.[Ch]: several new functions to facilliate
5897 transfer of data to and from the character dialog.
5899 2003-03-12 John Levon <levon@movementarian.org>
5904 * paragraph_funcs.C:
5905 * paragraph_pimpl.C:
5909 * text3.C: remove META_NEWLINE in favour of an inset
5912 * rowpainter.C: remove paintNewline (done by inset)
5914 2003-03-12 John Levon <levon@movementarian.org>
5916 * paragraph_pimpl.C: complain about bad getChar()s
5917 for a while at least
5919 2003-03-12 John Levon <levon@movementarian.org>
5922 * buffer.C: move paragraph read into a separate function,
5923 a little renaming to reflect that.
5926 * bufferparams.C: remove the author_ids map, not necessary now
5929 * factory.C: moved Buffer::readInset to here
5931 * paragraph_funcs.h:
5932 * paragraph_funcs.C: readParagraph free function moved from
5935 * tabular.C: name change
5937 2003-03-12 John Levon <levon@movementarian.org>
5940 * ParagraphParameters.C: move par params input to
5943 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5944 behave like a normal read from the stream wrt reading
5945 a line vs. a \\token
5947 2003-03-12 John Levon <levon@movementarian.org>
5950 * ParagraphParameters.h:
5951 * ParagraphParameters.C: move output code to a
5954 2003-03-12 John Levon <levon@movementarian.org>
5956 * BufferView.C (insertLyXFile):
5959 * tabular.C: use a parlist iterator for creating the
5962 2003-03-12 John Levon <levon@movementarian.org>
5964 * buffer.C: make current_change static local not
5967 2003-03-12 John Levon <levon@movementarian.org>
5969 * buffer.C: fix insertStringAsLines for change tracking
5971 2003-03-12 John Levon <levon@movementarian.org>
5978 * bufferparams.C: move author list into params. Rename some
5979 functions. Move the header reading into a separate token
5980 loop. Move the header token reading into BufferParams.
5982 2003-03-12 John Levon <levon@movementarian.org>
5984 * changes.C: put debug inside lyxerr.debugging() checks
5986 2003-03-11 André Pönitz <poenitz@gmx.net>
5988 * factory.C: make it aware of InsetHFill
5990 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * buffer.C (latexParagraphs): move function from here...
5993 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5996 2003-03-10 Angus Leeming <leeming@lyx.org>
5998 * LyXAction.C (init): fix bug in poplating array with multiple entries
5999 with the same LFUN (spotted by JMarc).
6001 2003-03-10 John Levon <levon@movementarian.org>
6004 * text2.C: move getColumnNearX() near its
6007 2003-03-10 John Levon <levon@movementarian.org>
6009 * text.C: fix break before a minipage
6011 2003-03-10 John Levon <levon@movementarian.org>
6013 * text.C: fix the last commit
6015 2003-03-09 John Levon <levon@movementarian.org>
6019 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6020 bug 365 (don't break before insets unless needed). Don't
6021 return a value > last under any circumstances.
6023 2003-03-09 Angus Leeming <leeming@lyx.org>
6025 * BufferView_pimpl.C (trackChanges, dispatch): call
6026 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6028 2003-03-09 Angus Leeming <leeming@lyx.org>
6030 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6031 than Dialogs::showAboutlyx().
6033 2003-03-09 Angus Leeming <leeming@lyx.org>
6035 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6036 than Dialogs::showTabularCreate().
6038 2003-03-09 John Levon <levon@movementarian.org>
6042 * text2.C: 3rd arg to nextBreakPoint was always the same.
6045 2003-03-08 John Levon <levon@movementarian.org>
6052 * text2.C: Remove the "main" bit from the "main body"
6055 2003-03-08 John Levon <levon@movementarian.org>
6057 * text.C (leftMargin): The left margin of an empty
6058 manual label paragraph should not include the label width
6061 * text.C (prepareToPrint): don't attempt to measure hfills
6062 for empty manual label paragraphs - the answer should be 0
6064 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * CutAndPaste.C: remove commented code and reindent.
6068 2003-03-08 John Levon <levon@movementarian.org>
6071 * lyxfunc.C: move reloadBuffer()
6074 * BufferView.C: to here
6076 * lyxvc.C: add comment
6079 * vc-backend.C: call bv->reload() to avoid
6080 getStatus() check on MENURELOAD
6082 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6084 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6085 to an old format .dep file.
6087 2003-03-07 Angus Leeming <leeming@lyx.org>
6089 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6090 when the LFUN_MOUSE_RELEASE should have been handled by
6091 inset->localDispatch.
6093 2003-03-07 Angus Leeming <leeming@lyx.org>
6095 * BufferView_pimpl.C (dispatch):
6096 * LyXAction.C (init):
6097 * ToolbarDefaults.C (init):
6099 * lyxfunc.C (getStatus):
6100 remove LFUN_INSET_GRAPHICS.
6102 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6104 2003-03-07 Angus Leeming <leeming@lyx.org>
6107 * LyXAction.C (init):
6108 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6110 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6113 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6115 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6116 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6118 2003-03-07 Angus Leeming <leeming@lyx.org>
6120 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6123 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * ParagraphList.C (front): new function
6128 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6130 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6131 and top_row_offset_. removed var first_y.
6133 * text2.C (LyXText, removeRow):
6135 * BufferView_pimpl.C:
6136 use these methods instead of using first_y
6138 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * text2.C (pasteSelection): adjust for checkPastePossible
6142 * CutAndPaste.C: remove Paragraph * buf and replace with
6143 ParagraphList paragraphs.
6144 (DeleteBuffer): delete
6145 (cutSelection): change the tc type to textclass_type
6146 (copySelection): change the tc type to textclass_type
6147 (copySelection): adjust for ParagraphList
6148 (pasteSelection): change the tc type to textclass_type
6149 (pasteSelection): adjust for Paragraphlist
6150 (nrOfParagraphs): simplify for ParagraphList
6151 (checkPastePossible): simplify for ParagraphList
6152 (checkPastePossible): remove unused arg
6154 * ParagraphList.C (insert): handle the case where there are no
6157 * CutAndPaste.h: make CutAndPaste a namespace.
6159 * text3.C (dispatch): adjust
6161 * text.C (breakParagraph): add a ParagraphList as arg
6163 * paragraph_funcs.C (breakParagraph): change to take a
6164 BufferParams and a ParagraphList as args.
6165 (breakParagraphConservative): ditto
6166 (mergeParagraph): ditto
6167 (TeXDeeper): add a ParagraphList arg
6168 (TeXEnvironment): ditto
6171 * buffer.C (readLyXformat2): adjust
6172 (insertStringAsLines): adjust
6173 (latexParagraphs): adjust
6175 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6176 (cutSelection): adjust
6177 (pasteSelection): adjust
6179 * BufferView_pimpl.C (insertInset): adjust
6181 2003-03-05 Angus Leeming <leeming@lyx.org>
6184 * LyXAction.C (init):
6185 * BufferView_pimpl.C (dispatch):
6186 * lyxfunc.C (getStatus):
6187 remove LFUN_CHILD_INSERT.
6189 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6191 2003-03-05 Angus Leeming <leeming@lyx.org>
6194 * LyXAction.C (init):
6195 * src/factory.C (createInset):
6196 * lyxfunc.C (getStatus):
6197 * text3.C (dispatch):
6198 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6200 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6202 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * ParagraphList.C (insert): handle insert right before end()
6205 (erase): fix cases where it can be first or last paragraph.
6207 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6210 Paragraph::next and Paragraph::previous
6213 * text.C (breakParagraph): adjust
6215 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6216 BufferParams& as arg.
6217 (breakParagraph): use ParagraphList::insert
6218 (breakParagraphConservative): take a Buffer* instead of a
6219 BufferParams& as arg.
6220 (breakParagraphConservative): use ParagraphList::insert.
6222 * buffer.C (insertStringAsLines): un-const it
6223 (insertStringAsLines): adjust
6225 * ParagraphList.C (insert): new function
6227 * CutAndPaste.C (pasteSelection): adjust
6229 * text.C (backspace): adjust
6231 * tabular.C (SetMultiColumn): adjust
6233 * CutAndPaste.C (cutSelection): adjust
6234 (pasteSelection): adjust
6236 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6237 Buffer const * as arg
6239 * ParagraphList.C (erase): new function
6240 * paragraph_funcs.C (mergeParagraph): use it
6241 (mergeParagraph): make it take a Buffer* instead of a
6242 BufferParams* as arg
6244 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6246 (breakParagraphConservative): ditto
6248 * paragraph.h: remove the breakParagraph friend
6250 * paragraph.C (eraseIntern): new function
6251 (setChange): new function
6253 * paragraph_funcs.C (mergeParagraph): make it take a
6254 ParagraphList::iterator instead of a Paragraph *, adjust
6257 * paragraph.h: move an #endif so that the change tracking stuff
6258 also works in the NO_NEXT case.
6260 2003-03-04 Angus Leeming <leeming@lyx.org>
6263 * LyXAction.C: new LFUN_INSET_MODIFY.
6265 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6266 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6268 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * several files: ws changes only
6272 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6273 (TeXEnvironment): ditto
6276 * buffer.C (makeLaTeXFile): adjust
6277 (latexParagraphs): make it take ParagraphList::iterator as args
6279 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * buffer.C (latexParagraphs): adjust
6283 * paragraph.C (TeXOnePar): move function...
6284 (optArgInset): move function...
6285 (TeXEnvironment): move function...
6286 * paragraph_pimpl.C (TeXDeeper): move function...
6287 * paragraph_funcs.C: ...here
6289 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6291 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * buffer.C (readInset): remove compability code for old Figure and
6296 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * buffer.C: ws changes
6301 * BufferView_pimpl.C: ditto
6304 * bufferlist.h: ditto
6308 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6310 * converter.[Ch]: split into itself +
6313 * Makefile.am: += graph.[Ch] + format.[Ch]
6320 * lyxrc.C: added #include "format.h"
6322 2003-02-27 Angus Leeming <leeming@lyx.org>
6324 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6327 * factory.C (createInset): add "label" to the factory.
6329 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6330 string and do no more.
6332 2003-02-27 Angus Leeming <leeming@lyx.org>
6335 * LyXAction.C (init):
6336 * factory.C (createInset):
6337 * BufferView_pimpl.C (dispatch):
6338 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6340 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6342 * lyxfunc.C (dispatch):
6343 * text3.C (dispatch): pass name to params2string.
6345 2003-02-26 Angus Leeming <leeming@lyx.org>
6347 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6349 Rearrange the ~includes. Strip out the unnecessary ones.
6351 * factory.C (createInset): reformat.
6352 create new insets for the various LFUN_XYZ_APPLY lfuns.
6354 2003-02-26 John Levon <levon@movementarian.org>
6357 * lyxrow.C: add isParStart,isParEnd helpers
6359 * paragraph.h: make isInserted/DeletedText take refs
6361 * paragraph_funcs.h:
6362 * paragraph_funcs.C: remove #if 0'd code
6367 * text.C: use lyxrow helpers above.
6368 Move draw and paint routines to RowPainter.
6369 Make several methods use refs not pointers.
6370 Make backgroundColor() const.
6371 Add markChangeInDraw(), isInInset().
6372 Merge changeRegionCase into changeCase.
6373 Make workWidth() shouldn't-happen code into an Assert.
6376 * rowpainter.C: new class for painting a row.
6379 * vspace.C: make inPixels take a ref
6381 2003-02-26 Angus Leeming <leeming@lyx.org>
6383 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6386 2003-02-25 John Levon <levon@movementarian.org>
6388 * ispell.C: give the forked command a more accurate name
6390 2003-02-22 John Levon <levon@movementarian.org>
6393 * toc.C: make TocItem store an id not a Paragraph *
6396 2003-02-21 Angus Leeming <leeming@lyx.org>
6398 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6399 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6400 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6401 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6402 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6403 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6405 * BufferView_pimpl.C (dispatch):
6406 * LyXAction.C (init):
6407 * factory.C (createInset):
6408 * lyxfunc.C (getStatus, dispatch):
6409 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6411 2003-02-21 Angus Leeming <leeming@lyx.org>
6413 * BufferView_pimpl.C (MenuInsertLyXFile):
6414 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6415 * lyxfunc.C (menuNew, open, doImport):
6416 no longer pass a LyXView & to fileDlg.
6418 2003-02-21 Angus Leeming <leeming@lyx.org>
6420 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6421 * LyXAction.C: change, BIBKEY to BIBITEM.
6422 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6423 Change InsetBibKey to InsetBibitem.
6424 Change BIBKEY_CODE to BIBITEM_CODE.
6425 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6426 * factory.C: replace insetbib.h with insetbibitem.h.
6427 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6428 * paragraph.C: replace insetbib.h with insetbibitem.h.
6429 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6430 Change bibkey() to bibitem().
6431 * text.C: remove insetbib.h.
6432 * text2.C: replace insetbib.h with insetbibitem.h.
6433 change bibkey() to bibitem().
6434 * text3.C: remove insetbib.h.
6435 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6437 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6439 * lyxrc.C (output): enclose user email in quotes (in case there are
6442 2003-02-18 John Levon <levon@movementarian.org>
6444 * buffer.h: add std::
6446 2003-02-17 John Levon <levon@movementarian.org>
6452 * pspell.C: reworking. Especially in ispell, a large
6453 number of clean ups and bug fixes.
6455 * lyxfunc.C: fix revert to behave sensibly
6457 2003-02-17 André Pönitz <poenitz@gmx.net>
6460 * commandtags.h: new LFUN_INSERT_BIBKEY
6470 * paragraph_func.C: remove special bibkey handling
6472 2003-02-17 John Levon <levon@movementarian.org>
6474 * text.C (Delete): fix case where delete at the end of
6475 the very first paragraph would not merge the pars
6477 2003-02-17 John Levon <levon@movementarian.org>
6479 * lyxrow.C: fix lastPrintablePos()
6481 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6483 * bufferparams.C (writeLaTeX): add a std:here
6485 * buffer.C: and remove a using directive there
6487 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6489 * buffer.C (makeLaTeXFile): move the code that generates the
6492 * bufferparams.C (writeLaTeX): ... in this new method
6494 * LaTeXFeatures.C (getEncodingSet): make const
6495 (getLanguages): make const
6497 * MenuBackend.C (binding): returns the binding associated to this
6499 (add): sets the status of each item by calling getStatus. Adds
6501 (read): add support for OptSubMenu
6502 (expand): remove extra separator at the end of expanded menu
6504 2003-02-15 John Levon <levon@movementarian.org>
6507 * BufferView_pimpl.C:
6509 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6510 inset code that had no actual effect. Remove unneeded status
6513 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6515 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6518 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6520 * text.C (drawLengthMarker): also draw an arrow marker for
6521 symbolic lengths (medskip...)
6523 2003-02-14 John Levon <levon@movementarian.org>
6526 * tabular.C: better method names
6528 2003-02-14 John Levon <levon@movementarian.org>
6530 * BufferView_pimpl.C:
6535 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6536 it's a more accurate name. Remove some pointless uses.
6538 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6540 * text2.C (LyXText): change order of initilizers to shut off
6543 2003-02-14 John Levon <levon@movementarian.org>
6545 * buffer.C: use ParIterator for getParFromID()
6549 * paragraph_pimpl.h:
6550 * paragraph_pimpl.C: remove unused getParFromID()
6552 2003-02-14 John Levon <levon@movementarian.org>
6554 * buffer.C: remove some very old #if 0'd parse code
6556 2003-02-13 John Levon <levon@movementarian.org>
6560 * text2.C: move hfillExpansion(), numberOfSeparators(),
6561 rowLast(), rowLastPrintable(), numberofHfills(),
6562 numberOfLabelHfills() ...
6565 * lyxrow.C: ... to member functions here.
6570 * text.C: remove LyXText::beginningOfMainBody(), and call
6571 p->beginningOfMainBody() directly. Move the check for
6572 LABEL_MANUAL into the latter.
6579 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6585 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6586 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6588 2003-02-13 John Levon <levon@movementarian.org>
6590 * CutAndPaste.C: remove debug
6592 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6594 * paragraph.C (asString): remove two unused variables
6596 * lyxtextclass.C (readTitleType):
6598 (LyXTextClass): handle new members titletype_ and titlename_
6600 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6602 2003-02-09 John Levon <levon@movementarian.org>
6605 * buffer.C: replace hand-coded list with a map for the dep clean
6607 2003-02-08 John Levon <levon@movementarian.org>
6609 * LaTeX.C: consolidate code into showRunMessage() helper
6611 2003-02-08 John Levon <levon@movementarian.org>
6616 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6617 and pass the size in explicitly
6619 * BufferView_pimpl.h:
6620 * BufferView_pimpl.C:
6622 * BufferView.C: add getCurrentChange()
6624 * BufferView_pimpl.h:
6625 * BufferView_pimpl.C: handle change lfuns
6627 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6628 for changes. Mark pasted paragraphs as new.
6630 * support/lyxtime.h:
6631 * support/lyxtime.C:
6632 * DepTable.C: abstract time_t as lyx::time_type
6635 * LColor.C: add colours for new text, deleted text, changebars
6637 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6638 package use "usenames" option.
6642 * LyXAction.C: add change lfuns
6646 * author.C: author handling
6649 * buffer.C: add a per-buffer author list, with first entry as
6650 current author. Handle new .lyx tokens for change tracking. Output
6651 author list to .lyx file. Output dvipost stuff to .tex preamble.
6652 Bump lyx format to 222.
6655 * bufferlist.C: add setCurrentAuthor() to reset current author details
6659 * bufferparams.C: add param for tracking
6661 * bufferview_funcs.C: output change info in minibuffer
6665 * changes.C: add change-tracking structure
6668 * debug.C: add CHANGES debug flag
6671 * lyxfind.C: add code for finding the next change piece
6674 * lyxrc.C: add user_name and user_email
6677 * lyxrow.C: add a metric for the top of the text line
6680 * text.C: implement accept/rejectChange()
6683 * text.C: paint changebars. Paint new/deleted text in the chosen
6684 colours. Strike through deleted text.
6688 * paragraph_pimpl.h:
6689 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6690 in the current change to the insert functions. Rework erase to
6691 mark text as deleted, adding an eraseIntern() and a range-based
6692 erase(). Implement per-paragraph change lookup and
6695 * paragraph_funcs.C: Fixup paste for change tracking.
6697 * tabular.C: mark added row/columns as new.
6699 * text.C: fix rowLast() to never return -1. Don't allow
6700 spellchecking of deleted text. Track transpose changes. Don't
6701 allow paragraph break or merge where appropriate.
6703 * text2.C: leave cursor at end of selection after a cut.
6705 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6707 * text.C (getLengthMarkerHeight):
6708 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6709 visible on screen too.
6711 2003-02-07 John Levon <levon@movementarian.org>
6713 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6715 2003-02-05 Angus Leeming <leeming@lyx.org>
6717 * lyxserver.C (read_ready): revert my patch of 11 September last year
6718 as it sends PC cpu through the roof. Presumably this means that
6719 the lyxserver will no longer run on an Alpha...
6721 2003-01-30 Angus Leeming <leeming@lyx.org>
6723 * factory.C (createInset): create an InsetCommandParam of type "index"
6724 and use it to 'do the right thing'.
6726 * text2.C (getStringToIndex): ensure that cursor position is always
6727 reset to the reset_cursor position.
6729 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6731 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6734 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6738 * lyxfunc.C: Output messages with identical spelling, punctuation,
6741 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6743 * MenuBackend.C (expandFormats): List only viewable export formats
6746 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6749 * lyxfunc.C (getStatus): Make sure that formats other than
6750 "fax" can also be disabled
6752 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6754 * text3.C (dispatch): put the lfuns that insert insets in 3
6755 groups, and call doInsertInset with appropriate arguments.
6756 (doInsertInset): new function, that creates an inset and inserts
6757 it according to some boolean parameters.
6759 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * buffer.C (readFile): remember to pass on 'par' when calling
6762 readFile recursively.
6764 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * MenuBackend.C (expandFormats): add "..." to import formats.
6768 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6770 * paragraph.C (asString): Remove XForms RTL hacks.
6772 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6773 * buffer.C: fix typo
6775 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * Makefile.am (LIBS): delete var
6778 (lyx_LDADD): add @LIBS@ here instead.
6780 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6782 * Clarify the meaning of "wheel mouse jump"
6784 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6786 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6789 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6791 * importer.C (Loaders): do not preallocate 3 elements in the
6792 vector, since one ends up with 6 elements otherwise
6794 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * DepTable.C (write): write the file name as last element of the
6797 .dep file (because it may contain spaces)
6798 (read): read info in the right order
6800 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6802 * paragraph_pimpl.C (simpleTeXBlanks):
6803 (simpleTeXSpecialChars):
6804 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6806 * tabular.C (latex): add some missing case statements. Reindent.
6808 * MenuBackend.C (expandToc): remove unused variable.
6810 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6819 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6822 2003-01-05 John Levon <levon@movementarian.org>
6825 * BufferView.C: add getEncoding()
6828 * kbsequence.C: do not store last keypress
6831 * lyxfunc.C: store last keypress here instead. Pass encoding
6834 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6836 * lyx_main.C (init): remove annoying error message when following
6837 symbolic links (bug #780)
6839 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6841 * text.C (insertChar):
6842 * lyxrc.C (getDescription): remove extra spaces
6844 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6846 * lyxrc.C (getDescription): remove extra spaces
6848 2002-12-20 John Levon <levon@movementarian.org>
6850 * text3.C: hack fix for page up/down across tall rows
6852 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6854 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6857 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6860 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6861 thesaurus is not compiled in
6863 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6865 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6867 2002-12-16 Angus Leeming <leeming@lyx.org>
6870 * lyx_main.C (init): remove override_x_deadkeys stuff.
6872 2002-12-12 John Levon <levon@movementarian.org>
6874 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6875 insert. Only remove shift modifier under strict
6878 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * MenuBackend.C (expandToc): fix crash.
6882 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * MenuBackend.C (expandToc): gettext on float names.
6886 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6888 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6889 implement bool empty() [bug 490]
6891 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6893 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6895 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * several files: ws changes
6899 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * text2.C (setCounter): clean up a bit, use boost.format.
6902 (updateCounters): initialize par upon declaration.
6904 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6905 if the layout exists. We do not just store the layout any more.
6906 (SwitchLayoutsBetweenClasses): use boost.format
6908 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6910 * converter.C (convert): if from and to files are the same, use a
6911 temporary files as intermediary
6913 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6916 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6918 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6920 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6922 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6924 * tabular.C (asciiPrintCell): use string(size, char) instead of
6927 * sgml.C (openTag): fix order of arguments to string constructor
6930 * lyxfunc.C (dispatch): use boost.format
6932 * lots of files: change "c" -> 'c'
6934 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6936 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6938 2002-11-25 Angus Leeming <leeming@lyx.org>
6940 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6942 * lyx_main.C (init): compile fix.
6944 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * lyx_cb.C (start): boost.formatify
6947 do not include <iostream>
6949 * lengthcommon.C: ws only
6951 * boost-inst.C,BoostFormat.h: add more explict instantations
6953 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * lots of files: handle USE_BOOST_FORMAT
6957 2002-11-21 John Levon <levon@movementarian.org>
6959 * pspell.C: fix compile
6961 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6963 * lyxfunc.C (dispatch): use boost::format
6967 * lyxfont.C (stateText): use boost::format
6969 * lyx_main.C (LyX): use boost::format
6971 (queryUserLyXDir): ditto
6974 (typedef boost::function): use the recommened syntax.
6976 * importer.C (Import): use boost::format
6978 * debug.C (showLevel): use boost::format
6980 * converter.C (view): use boost::format
6985 * bufferview_funcs.C (currentState): use boost::format
6987 * bufferlist.C (emergencyWrite): use boost::format
6989 * buffer.C (readLyXformat2): use boost::format
6990 (parseSingleLyXformat2Token): ditto
6992 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6994 * LaTeX.C (run): use boost::format
6996 * Chktex.C (scanLogFile): use boost::format
6998 * BufferView_pimpl.C (savePosition): use boost::format
6999 (restorePosition): ditto
7000 (MenuInsertLyXFile): ditto
7002 * BoostFormat.h: help file for explicit instation.
7004 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7006 * tabular.C (latex): Support for block alignment in fixed width
7009 2002-11-17 John Levon <levon@movementarian.org>
7011 * BufferView_pimpl.C:
7013 * lyxfunc.C: split filedialog into open/save
7015 2002-11-08 Juergen Vigna <jug@sad.it>
7017 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7018 by my last patch (hopefully).
7020 2002-11-08 John Levon <levon@movementarian.org>
7029 * toc.C: ParConstIterator, and use it (from Lars)
7031 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7033 * lyxtextclass.[Ch]: revise and add doxygen comments
7035 2002-11-07 John Levon <levon@movementarian.org>
7037 * text.C: fix progress value for spellchecker
7039 * toc.C: fix navigate menu for insetwrap inside minipage
7041 * paragraph_funcs.C: added FIXME for suspect code
7043 2002-11-07 John Levon <levon@movementarian.org>
7045 * BufferView_pimpl.C: fix redrawing of insets
7048 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * text2.C (updateCounters): fix bug 668
7052 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7054 * text3.C (dispatch): Do not make the buffer dirty when moving the
7057 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * vc-backend.C: STRCONV
7062 * text2.C (setCounter): STRCONV
7064 * paragraph.C (asString): STRCONV
7066 * lyxlength.C (asString): STRCONV
7067 (asLatexString): ditto
7069 * lyxgluelength.C (asString): STRCONV
7070 (asLatexString): ditto
7072 * lyxfunc.C (dispatch): STRCONV
7075 * lyxfont.C (stateText): STRCONV
7077 * importer.C (Import): STRCONV
7079 * counters.C (labelItem): STRCONV
7080 (numberLabel): ditto
7081 (numberLabel): remove unused ostringstream o
7086 * bufferview_funcs.C (currentState): STRCONV
7088 * buffer.C (readFile): STRCONV
7089 (asciiParagraph): ditto
7090 (makeLaTeXFile): ditto
7092 * Spacing.C (writeEnvirBegin): STRCONV
7094 * LaTeXFeatures.C (getLanguages): STRCONV
7095 (getPackages): ditto
7097 (getBabelOptions): ditto
7098 (getTClassPreamble): ditto
7099 (getLyXSGMLEntities): ditto
7100 (getIncludedFiles): ditto
7104 (scanAuxFile): ditto
7107 * LString.h: add the STRCONV macros
7109 * BufferView_pimpl.C (savePosition): STRCONV
7110 (restorePosition): ditto
7111 (MenuInsertLyXFile): ditto
7113 * vc-backend.C (scanMaster): change from submatch[...] to
7116 * funcrequest.C: include config.h
7118 * factory.C: include config.h
7120 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7122 * box.C: include config.h
7124 * LaTeX.C (scanAuxFile): change from submatch[...] to
7128 2002-10-25 Angus Leeming <leeming@lyx.org>
7130 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7132 * ispell.[Ch] (setError): new method.
7133 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7134 Use setError() insetead of goto END.
7136 * lyx_cb.C (AutoSave): move out child process into new class
7139 2002-10-30 John Levon <levon@movementarian.org>
7141 * text3.C: make start appendix undoable
7143 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7145 * lyxlength.C (inPixels): Fix returned value.
7147 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7150 2002-10-24 Angus Leeming <leeming@lyx.org>
7152 * lyxgluelength.h: no need to forward declare BufferParams
7153 or BufferView, so don't.
7155 2002-10-21 John Levon <levon@movementarian.org>
7157 * BufferView.C: menuUndo ->undo, redo
7159 * BufferView.h: document, remove dead, make some methods private
7161 * paragraph_funcs.h:
7162 * paragraph_funcs.C:
7163 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7168 * sgml.C: move sgml open/close tag into sgml.C
7170 * bufferview_funcs.h: unused prototype
7173 * lyxfunc.C: remove unused
7176 * text.C: remove unused
7178 2002-10-21 John Levon <levon@movementarian.org>
7182 * BufferView_pimpl.h:
7183 * BufferView_pimpl.C: fix mouse wheel handling based on
7184 patch from Darren Freeman
7186 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7188 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7190 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7192 * lyxlength.C (inPixels): Fix hanfling of negative length.
7193 Fix LyXLength::MU case.
7195 2002-10-16 John Levon <levon@movementarian.org>
7197 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7199 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7201 * converter.C (view): add support for $$i (file name) and $$p
7202 (file path) for the viewer command. If $$i is not specified, then
7203 it is appended to the command (for compatibility with old syntax)
7205 2002-10-14 Juergen Vigna <jug@sad.it>
7207 * undo_funcs.C (textHandleUndo): alter the order in which the
7208 new undopar is added to the LyXText, as we have to set first
7209 the right prev/next and then add it as otherwise the rebuild of
7210 LyXText is not correct. Also reset the cursor to the right paragraph,
7211 with this IMO we could remove the hack in "redoParagraphs()".
7213 2002-10-09 Angus Leeming <leeming@lyx.org>
7215 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7216 to turn off an optimisation if a new inset is to be inserted.
7218 2002-10-11 André Pönitz <poenitz@gmx.net>
7220 * lyxtext.h: make some functions public to allow access
7221 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7223 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7225 * text3.C (dispatch): when changing layout, avoid an infinite loop
7228 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7230 * lyxrc.C (read): treat a viewer or converter command of "none" as
7233 * MenuBackend.C (expandFormats): for an update, also allow the
7234 formats that are not viewable
7236 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7237 script if it is newer than the lyxrc.defaults in user directory
7239 2002-10-07 André Pönitz <poenitz@gmx.net>
7241 * text.C: Vitaly Lipatov's small i18n fix
7243 2002-09-25 Angus Leeming <leeming@lyx.org>
7245 * ispell.h: doxygen fix.
7247 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7249 * buffer.h (readFile): Add a new argument to the method, to allow
7250 reading of old-format templates.
7252 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7254 * toc.C (getTocList): Get TOC from InsetWrap.
7256 2002-09-16 John Levon <levon@movementarian.org>
7258 * lyxfunc.C: check tabular for cut/copy too
7260 2002-09-12 John Levon <levon@movementarian.org>
7265 * factory.C: add header
7267 * paragraph_funcs.h:
7268 * paragraph_funcs.C: cleanup
7270 2002-09-11 John Levon <levon@movementarian.org>
7272 * PrinterParams.h: odd/even default to true
7274 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7276 * PrinterParams.h: update printer parameters for new xforms dialog
7278 2002-09-11 Angus Leeming <leeming@lyx.org>
7280 * lyxserver.C (read_ready): re-write to make it more transparent
7281 and to make it work in coherent fashion under Tru64 Unix.
7283 2002-09-11 André Pönitz <poenitz@gmx.net>
7287 * text3.C: implement LFUN_WORDSEL
7289 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7291 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7292 make floatlist_ a boost::shared_ptr<FloatList>
7294 * lyxtextclass.C: include FloatList.h
7295 (LyXTextClass): initialize floatlist_
7296 (TextClassTags): add TC_NOFLOAT
7297 (Read): match "nofloat" to TC_NOFLOAT and use it.
7298 (readFloat): modify call to floatlist_
7302 * FloatList.[Ch] (FloatList): remove commented out float
7304 (erase): new function
7306 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7308 * MenuBackend.C (expandToc): fix crash when there is no document
7311 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7313 * many files: Add insetwrap.
7315 2002-09-09 John Levon <levon@movementarian.org>
7317 * text2.C: remove confusing and awkward depth wraparound
7319 2002-09-09 John Levon <levon@movementarian.org>
7321 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7324 * buffer.C: remove getIncludeonlyList()
7327 * lyxfunc.C: remove headers
7329 2002-09-09 Juergen Vigna <jug@sad.it>
7331 * text.C (getColumnNearX): fix form Michael this is most
7332 probably a cut&paste bug.
7334 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7338 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7339 references, ws changes.
7341 * text2.C (init): update counters after init
7342 (insertParagraph): no need to set counter on idividual paragraphs.
7343 (setCounter): access the counters object in the textclass object
7344 on in the buffer object.
7345 (updateCounters): ditto
7347 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7348 shared_ptr<Counters> to avoid loading counters.h in all
7350 (LyXTextClass): initialize ctrs_
7351 (TextClassTags): add TC_COUNTER, and ...
7352 (Read): use it here.
7353 (CounterTags): new tags
7354 (readCounter): new function
7355 (counters): new funtion
7356 (defaultLayoutName): return a const reference
7358 * counters.C (Counters): remove contructor
7359 (newCounter): remove a couple of unneeded statements.
7360 (newCounter): simplify a bit.
7361 (numberLabel): some small formatting changes.
7363 * buffer.[Ch]: remove all traces of counters, move the Counters
7364 object to the LyXTextClass.
7366 2002-09-06 Alain Castera <castera@in2p3.fr>
7368 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7369 package to set the horizontal alignment on fixed width columns.
7372 * lyx_sty.h: added tabularnewline macro def.
7374 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7376 2002-09-06 John Levon <levon@movementarian.org>
7378 * LyXAction.C: tooltips for sub/superscript
7380 * MenuBackend.C: a bit more verbose
7382 * lyxfunc.C: tiny clean
7384 * undo_funcs.C: document undo_frozen
7386 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * counters.C (Counters): add missing algorithm counter.
7390 * text2.C (setCounter): lookup the counter with layouts latexname
7391 instead of by section number.
7392 (setCounter): use a hackish way to lookup the correct enum
7394 a float name->type change
7395 reset enum couners with counter name directly instead of depth value.
7397 * counters.C (Counters): remove the push_backs, change to use the
7398 float type not the float name.
7399 (labelItem): remove unused string, float name->type change
7401 * counters.h: don't include vector, loose the enums and sects vectors
7403 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7406 (Read): add float->TC_FLOAT to textclassTags
7407 (Read): and handle it in the switch
7408 (readFloat): new function
7410 * FloatList.C (FloatList): comment out the hardcoded float
7413 * lyxlayout.h: ws change.
7415 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7417 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7419 2002-09-03 Angus Leeming <leeming@lyx.org>
7421 * BufferView_pimpl.h: qualified name is not allowed in member
7422 declaration: WorkArea & Pimpl::workarea() const;
7424 * factory.C: added using std::endl directive.
7426 * text3.C: added using std::find and std::vector directives.
7428 2002-08-29 André Pönitz <poenitz@gmx.net>
7431 * text2.C: remove unused member number_of_rows
7434 * BufferView2.C: remove file, move contents to...
7435 * BufferView.C: ... here
7437 * BufferView_pimpl.C:
7438 * factory.C: move more inset creation to factory
7440 * vspace.C: avoid direct usage of LyXText, ws changes
7443 don't provide direct access to WorkArea, use two simple
7444 acessors haveSelction() and workHeight() instead
7447 2002-08-29 John Levon <levon@movementarian.org>
7449 * BufferView_pimpl.C (dispatch): do not continue when
7452 2002-08-28 André Pönitz <poenitz@gmx.net>
7454 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7457 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7459 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7461 * buffer.C: increment LYX_FORMAT to 221
7463 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7464 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7466 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7468 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7470 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7472 * factory.C (createInset): use LyXTextClass::floats
7474 * MenuBackend.C (expandFloatListInsert):
7475 (expandFloatInsert):
7478 * text2.C (setCounter):
7480 * LaTeXFeatures.C (useFloat):
7481 (getFloatDefinitions):
7483 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7485 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7486 floatlist_, with accessor floats().
7488 * FloatList.h: remove global FloatList
7490 2002-08-26 André Pönitz <poenitz@gmx.net>
7492 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7496 * BufferView_pimpl.C:
7497 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7499 2002-08-25 John Levon <levon@movementarian.org>
7501 * LyXAction.C: fix margin note description
7503 2002-08-24 John Levon <levon@movementarian.org>
7507 * bufferview_funcs.C:
7509 * undo_funcs.C: cleanups
7511 * lyxfunc.C: disable CUT/COPY when no selection
7513 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7515 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7516 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7518 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7519 Add backward compatibility to "mono", "gray" and "no".
7521 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7523 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7524 (and file_format >= 200).
7526 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7528 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7530 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7532 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7534 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7536 * BufferView_pimpl.C:
7543 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7544 inset and code to make it work with the paragraph code. The inset
7545 can be anywhere in the paragraph, but will only do the expected
7546 thing in LaTeX if the layout file contains the parameter line
7548 (or more generally, a nonzero value) for that layout.
7550 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * paragraph.h: remove the declaration of undefined counters class
7555 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7557 * text2.C (setCounter): fixed enumeration mis-count as reported by
7558 Dr. Richard Hawkins.
7560 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7562 * paragraph_funcs.h: remove some unneeded includes
7564 * text.C (backspace): pasteParagraph now in global scipe
7566 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7567 (pasteSelection): ditto
7569 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7570 * paragraph_funcs.C (pasteParagraph): ... here
7572 2002-08-20 André Pönitz <poenitz@gmx.net>
7574 * commandtags.h: new LFUNs for swapping/copying table row/colums
7577 * lyxfunc.C: support for new lfuns
7579 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * buffer.[Ch]: remove NO_COMPABILITY stuff
7584 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * boost.C (throw_exception): new file, with helper function for
7587 boost compiled without exceptions.
7592 * ParameterStruct.h:
7593 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7595 * bufferlist.C (emergencyWriteAll): use boost bind
7597 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7599 * text.C: include paragraph_funcs.h
7600 (breakParagraph): breakParagraph is now in global scope
7602 * paragraph_funcs.[Ch]: new files
7604 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7607 * buffer.C: include paragraph_funcs.h
7608 (insertStringAsLines): breakParagraph is now in global scope
7610 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7613 * CutAndPaste.C: include paragraph_funcs.h
7614 (cutSelection): breakParagraphConservative is now in global scope
7615 (pasteSelection): ditto
7617 * buffer.h: declare oprator== and operator!= for
7618 Buffer::inset_iterator
7620 * bufferlist.C (emergencyWrite): don't use fmt(...)
7622 * text3.C: add using std::endl
7624 * BufferView.C (moveCursorUpdate): remove default arg
7626 2002-08-20 André Pönitz <poenitz@gmx.net>
7628 * buffer.[Ch]: move inline functions to .C
7631 * BufferView_pimpl.C:
7633 * buffer.[Ch]: use improved inset_iterator
7636 * paragraph.[Ch]: write one paragraph at a time
7638 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7640 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7641 style if style is not specified.
7643 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7645 * text2.C (setCounter): when searching for right label for a
7646 caption, make sure to recurse to parent insets (so that a caption
7647 in a minipage in a figure float works) (bug #568)
7649 2002-08-20 André Pönitz <poenitz@gmx.net>
7651 * text3.C: new file for LyXText::dispatch() and helpers
7653 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7655 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7657 2002-08-19 André Pönitz <poenitz@gmx.net>
7660 * text.C: new LyXText::dispatch()
7662 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7664 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7666 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7668 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7671 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7673 * Makefile.am: use $(variables) instead of @substitutions@
7675 2002-08-15 André Pönitz <poenitz@gmx.net>
7678 * BufferView_pimpl.C: streamlining mathed <-> outer world
7682 * LyXAction.C: remove unused LFUN_MATH
7684 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7688 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * paragraph.C (Paragraph): reformat a bit
7691 (cutIntoMinibuffer): use builtin InsetList function instad of
7695 * buffer.C: include boost/bind.hpp, add using std::for_each
7696 (writeFileAscii): use ParagraphList iterators
7697 (validate): use for_each for validate traversal of paragraphs
7698 (getBibkeyList): use ParagraphList iterators
7699 (resizeInsets): use for_each to resizeInsetsLyXText for all
7701 (getParFromID): use ParagraphList iterators
7703 * BufferView2.C (lockInset): use paragraph list and iterators
7705 2002-08-14 John Levon <levon@movementarian.org>
7707 * lyxserver.C: remove spurious xforms include
7709 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7713 2002-08-13 André Pönitz <poenitz@gmx.net>
7716 * lyxfunc.C: further cleaning
7718 2002-08-13 André Pönitz <poenitz@gmx.net>
7720 * funcrequest.h: new constructor
7722 * funcrequest.C: move stuff here from .h
7725 * BufferView_pimpl.C:
7728 * lyxfunc.C: subsequent changes
7730 * lyxfunc.h: new view() member function
7732 * lyxfunc.C: subsequent changes
7734 2002-08-13 Angus Leeming <leeming@lyx.org>
7737 * BufferView_pimpl.C:
7745 changes due to the changed LyXView interface that now returns references
7746 to member variables not pointers.
7748 2002-08-13 Angus Leeming <leeming@lyx.org>
7750 * WordLangTuple (word, lang_code): return references to strings,
7755 * lyxtext.h: forward-declare WordLangTuple.
7760 * text.C: #include "WordLangTuple.h".
7763 * text.C: (selectNextWordToSpellcheck): constify return type.
7765 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7771 * paragraph_pimpl.h:
7774 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7776 Made updateCounter always count from start of buffer, and removed
7777 second argument (par).
7778 Reverted floats number display to '#'. Perhaps I'll try again when the
7779 code base is sanitized a bit.
7781 2002-08-12 Angus Leeming <leeming@lyx.org>
7783 * buffer.[Ch] (getLabelList): constify.
7785 2002-08-07 André Pönitz <poenitz@gmx.net>
7787 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7789 * funcrequest.h: extension to keep mouse (x,y) position
7791 2002-08-12 Juergen Vigna <jug@sad.it>
7793 * BufferView2.C (insertErrors): forbid undo when inserting error
7796 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7798 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * ParagraphList.[Ch]: new files
7802 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7804 * BufferView2.C (lockInset): ParagraphList changes
7807 * bufferlist.C: ditto
7811 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7814 unused class variable counter_,
7816 * paragraph.[Ch] (getFirstCounter): delete unused function
7818 * counters.C: include LAssert.h
7819 (reset): add a new function with no arg, change other version to
7820 not have def. arg and to not allow empty arg.
7822 * text2.C (setCounter): remove empty arg from call to Counters::reset
7824 2002-08-11 John Levon <levon@movementarian.org>
7826 * Makefile.am: add WordLangTuple.h
7828 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7831 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7833 * insets/insettext.C: InsetList changes
7835 * graphics/GraphicsSupport.C (operator()): InsetList changes
7837 * toc.C (getTocList): InsetList changes
7839 * paragraph_pimpl.[Ch]: InsetList changes
7841 * paragraph.[Ch]: InsetList changes
7843 * buffer.C (inset_iterator): InsetList changes
7844 (setParagraph): ditto
7845 * buffer.h (inset_iterator): ditto
7846 * iterators.C (operator++): ditto
7847 * iterators.h: ditto
7849 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7851 * InsetList.[Ch]: new files, most InsetList handling moved out of
7854 * BufferView2.C (removeAutoInsets): InsetList changes
7856 (ChangeInsets): ditto
7858 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * paragraph_pimpl.h (empty): new function
7862 * paragraph.[Ch] (empty): new function
7864 * other files: use the new Paragraph::empty function
7866 2002-08-09 John Levon <levon@movementarian.org>
7868 * lyxtext.h: remove unused refresh_height
7870 2002-08-09 John Levon <levon@movementarian.org>
7877 * paragraph.C: move sgml char escaping out of paragraph
7880 * paragraph.C: remove id setter
7884 * paragraph_pimpl.C: remove dead tex_code_break_column
7886 * bufferview_funcs.C: small cleanup
7888 * lyxfunc.C: remove dead proto
7890 * lyxtext.h: make some stuff private. Remove some dead stuff.
7892 * lyxgluelength.C: make as[LyX]String() readable
7894 2002-08-08 John Levon <levon@movementarian.org>
7899 * ToolbarDefaults.C:
7902 * toc.C: lyxaction cleanup
7904 2002-08-08 John Levon <levon@movementarian.org>
7906 * BufferView2.C: small cleanup
7909 * lyxfind.C: move unnecessary header into the .C
7911 2002-08-08 John Levon <levon@movementarian.org>
7913 * funcrequest.h: just tedious nonsense
7916 * lyx_main.C: cleanups
7919 * vspace.C: remove dead header lyx_main.h
7921 2002-08-07 Angus Leeming <leeming@lyx.org>
7924 * paragraph_pimpl.h:
7925 Forward declare class Counters in paragraph.h by moving the ctrs member
7926 variable into Paragraph::Pimpl.
7927 (counters): new method, returning a reference to pimpl_->ctrs.
7929 * text2.C: ensuing changes.
7931 2002-08-07 John Levon <levon@movementarian.org>
7933 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7935 * BufferView_pimpl.C: announce X selection on double/triple
7938 * lyx_main.C: use correct bool in batch dispatch
7940 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7942 2002-08-07 André Pönitz <poenitz@gmx.net>
7944 * funcrequest.h: new class to wrap a kb_action and its argument
7947 * BufferView_pimpl[Ch]:
7951 * lyxrc.C: subsequent changes
7954 2002-08-07 John Levon <levon@movementarian.org>
7956 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7957 document options change.
7959 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7964 * makefile.am: move counters functionality over from
7965 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7967 2002-08-06 John Levon <levon@movementarian.org>
7969 * WordLangTuple.h: new file for word + language code tuple
7980 * BufferView2.C: use WordLangTuple
7983 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7985 2002-08-06 John Levon <levon@movementarian.org>
7987 * lyx_main.C: fix cmdline batch handling
7989 2002-08-06 André Pönitz <poenitz@gmx.net>
7991 * lyxrc.C: set default for show_banner to true
7993 2002-08-06 John Levon <levon@movementarian.org>
7995 * pspell.C: fix a crash, and allow new aspell to work
7997 2002-08-06 John Levon <levon@movementarian.org>
8000 * kbmap.C: small cleanup
8003 * vspace.C: add const
8005 2002-08-05 John Levon <levon@movementarian.org>
8007 * LyXAction.C: back to tabular-insert
8009 2002-08-04 John Levon <levon@movementarian.org>
8012 * BufferView.C: cosmetic change
8014 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8024 * BufferView2.C: purge all "Lyx" not "LyX" strings
8027 * lyxcursor.C: attempt to add some documentation
8032 * ToolbarDefaults.C:
8033 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8034 merge with LFUN_TABULAR_INSERT
8041 * pspell.C: split up i/pspell implementations into separate
8042 files, many cleanups
8044 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8046 * text2.C: some cleanup
8048 * lyxfunc.C: don't check for isp_command == "none" any more, it
8049 didn't make any sense
8051 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8056 * makefile.am: move counters functionality over
8057 from text2.C/paragraph.[Ch] to counters.[Ch], and
8059 2002-08-02 John Levon <levon@movementarian.org>
8061 * buffer.C: s/lyxconvert/lyx2lyx/
8063 2002-08-02 Angus Leeming <leeming@lyx.org>
8065 * lyxlex.C: revert John's change as it breaks reading of the user
8068 2002-08-02 Angus Leeming <leeming@lyx.org>
8070 * importer.C (Import):
8071 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8072 changes due to LyXView::view() now returning a boost::shared_ptr.
8074 2002-08-02 John Levon <levon@movementarian.org>
8076 * lyxlex.C: small cleanup
8078 2002-08-02 John Levon <levon@movementarian.org>
8080 * text2.C (status): small cleanup, no logic change
8082 2002-08-01 John Levon <levon@movementarian.org>
8085 * buffer.C (writeFile): don't output alerts, caller
8089 * lyx_cb.C: from above
8091 * lyxfunc.C: allow to open non-existent files
8093 2002-07-31 John Levon <levon@movementarian.org>
8095 * lyxserver.C: don't let incidental errors get
8098 2002-07-30 John Levon <levon@movementarian.org>
8100 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8102 2002-07-30 John Levon <levon@movementarian.org>
8105 * lyxserver.C: remove I/O callback too
8107 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8109 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8112 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * many files: strip,frontStrip -> trim,ltrim,rtrim
8116 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * PrinterParams.h: remove extern containsOnly, and include
8119 support/lstrings.h instead.
8121 * LaTeX.C (scanAuxFile): modify because of strip changes
8123 * buffer.C (makeLaTeXFile): ditto
8124 * bufferparams.C (writeFile): ditt
8125 * lyxfont.C (stateText): ditto
8126 * lyxserver.C (read_ready): ditto
8127 * vc-backend.C (scanMaster): ditto
8129 * BufferView_pimpl.h: ws changes
8131 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8133 2002-07-26 André Pönitz <poenitz@gmx.net>
8135 * kb_sequence.C: remove unnedred usings
8137 2002-07-26 Juergen Vigna <jug@sad.it>
8139 * lyxfind.C (LyXReplace): we have to check better if the returned
8140 text is not of theLockingInset()->getLockingInset().
8142 2002-07-25 Juergen Vigna <jug@sad.it>
8144 * lyxfind.C (LyXReplace): don't replace if we don't get the
8147 * undo_funcs.C (createUndo): remove debugging code.
8149 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8151 * buffer.C (parseSingleLyXformat2Token): Use default placement
8152 when reading old floats.
8154 * FloatList.C (FloatList): Change the default placement of figure
8155 and tables to "tbp".
8157 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8159 * MenuBackend.C: using std::max
8161 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8163 * MenuBackend.C (expandToc):
8164 (expandToc2): code moved from xforms menu frontend. It is now
8165 generic and TOCs are transparent to menu frontends.
8167 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8169 * toc.C (getTocList): protect against buf=0
8171 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8172 Menu as first parameter. Now, this calls itself recursively to
8173 expand a whole tree (this will be useful for TOC handling)
8174 (expandFloatInsert): remove 'wide' version of floats
8176 * MenuBackend.h (submenuname): returns the name of the submenu.
8177 (submenu): returns the submenu itself, provided it has been
8178 created by MenuBackend::expand
8180 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8182 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8183 insets which have noFontChange == true. (bug #172)
8185 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8187 * BufferView_pimpl.C: add connection objects and use them...
8190 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8192 * MenuBackend.C (expandLastfiles):
8195 (expandFloatListInsert):
8196 (expandFloatInsert):
8197 (expand): split expand in parts
8199 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8201 * lyx_gui.C: use lyx_gui::exit()
8203 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8205 * LyXAction.C: show the failing pseudo action
8207 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8209 * buffer.C (readFile): Run the lyxconvert script in order to read
8212 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8216 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8218 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8222 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8224 2002-07-22 Herbert Voss <voss@lyx.org>
8227 * lyxlength.[Ch]: add support for the vertical lengths
8229 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8231 * toc.[Ch]: std:: fixes
8233 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8235 * lyxrc.C: do not include lyx_main.h
8237 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8243 * BufferView2.C: include "lyxlex.h"
8246 * bufferparams.h: do not #include "lyxlex.h"
8248 * lyxtextclasslist.C (Add): remove method
8249 (classlist): renamed to classlist_
8251 * paragraph_pimpl.C:
8255 * bufferview_funcs.C:
8260 * toc.C (getTocList): use BufferParams::getLyXTextClass
8262 * toc.C (getTocList): use InsetFloat::addToToc
8264 * toc.[Ch]: new files, containing helper functions to handle table
8267 * lyxfunc.C (dispatch): no need to remove spaces around command
8269 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8270 first command of the sequence; it is not very clever, but I do not
8271 have a better idea, actually
8273 * LyXAction.C (LookupFunc): make sure to remove space at the
8274 beginning and end of the command
8276 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8278 * MenuBackend.C (getMenubar): new method: return the menubar of
8280 (read): treat differently reading of menu and menubar (in
8281 particular, the menubar has no name now)
8282 (Menu::menubar): remove
8284 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8287 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8289 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8290 a bibitem inset in a RTL paragraph.
8292 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8294 * paragraph_pimpl.C: constify
8296 * BufferView_pimpl.C:
8298 * lyxfunc.C: fix dispatch in a nicer way
8300 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8302 * lyxfunc.C (dispatch):
8303 * BufferView_pimpl.C:
8304 * BufferView_pimpl.h:
8306 * BufferView.h: rename Dispatch() to dispatch()
8308 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8310 * lyxlayout.C (Read): honor DependsOn tag
8312 * lyxlayout.[Ch] (depends_on): new method
8314 * version.C.in: update lyx_docversion
8316 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8318 * paragraph.C (validate): remove from here...
8319 * paragraph_pimpl.C (validate): ... and move here
8320 (isTextAt): make it const
8322 * buffer.C (getLists): ws cleanup
8324 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8326 * language.C (read): Use iso8859-1 encoding in latex_lang
8327 (this prevents LyX from crashing when using iso10646-1 encoding).
8329 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * text2.C (toggleInset): if cursor is inside an inset, close the
8332 inset and leave cursor _after_ it
8334 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxfunc.C: move minibuffer completion handling out of here
8338 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8340 * BufferView_pimpl.C:
8341 * LaTeX.C: fix dispatch calls
8343 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8345 * text.C (drawChars): Fix Arabic text rendering.
8347 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8351 * lyxfunc.C: remove message-push/pop
8355 * lyxfunc.C: rationalise some code by removing verboseDispatch
8356 in favour of a bool argument to dispatch()
8358 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8360 * lyx_main.C (init): make sure to read symlinks as absolute paths
8362 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8365 * lyxfunc.C: no need for commandshortcut to be a member
8367 2002-07-15 André Pönitz <poenitz@gmx.net>
8369 * converter.C: add support for $$s (scripts from lib/scripts dir)
8370 * lyx_main.C: white space
8372 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8376 * lyxrc.C: remove second exit confirmation
8378 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8383 * BufferView_pimpl.h:
8384 * BufferView_pimpl.C:
8385 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8387 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8389 * MenuBackend.C (expand): add numeric shortcuts to document menu
8391 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8393 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8395 * lyxfont.C (setLyXFamily):
8402 * buffer.C (asciiParagraph): use ascii_lowercase
8404 2002-07-15 Mike Fabian <mfabian@suse.de>
8406 * lyxlex_pimpl.C (search_kw):
8407 * lyxlex.C (getLongString):
8408 * converter.h (operator<):
8409 * converter.C (operator<):
8410 * buffer.C (parseSingleLyXformat2Token):
8412 * ToolbarDefaults.C (read):
8413 * MenuBackend.C (checkShortcuts):
8415 * LColor.C (getFromGUIName):
8416 (getFromLyXName): use the compare_ascii_no_case instead of
8417 compare_no_case, because in turkish, 'i' is not the lowercase
8418 version of 'I', and thus turkish locale breaks parsing of tags.
8420 2002-07-16 Angus Leeming <leeming@lyx.org>
8422 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8423 now takes a Buffer const & argument.
8425 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8427 * BufferView.C (resize): check there's a buffer to resize
8429 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8431 * lyxfunc.C: remove dead code
8434 * lyxserver.C: use lyx_guii::set_read_callback
8436 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8438 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8439 an inset in a RTL paragraph.
8441 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8443 * lyxfunc.C: repaint after a font size update
8445 2002-07-15 André Pönitz <poenitz@gmx.net>
8447 * lyxlength.C: inBP should be able to return negative values
8449 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8451 * lyxfunc.C: use lyx_gui::update_fonts()
8453 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8455 * lyxfunc.C: use lyx_gui::update_color()
8457 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8463 * lyxrc.C: remove file->new asks for name option, and let
8464 buffer-new take an argument
8466 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8468 * BufferView_pimpl.C: remove unneeded extra repaint()
8470 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8472 * LyXAction.C: allow command-sequence with NoBuffer
8474 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8476 2002-07-10 Angus Leeming <leeming@lyx.org>
8478 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8480 2002-07-09 Angus Leeming <leeming@lyx.org>
8482 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8484 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8486 * lengthcommon.h: whitespace
8488 * lyxfunc.C: update scrollbar after goto paragraph
8490 * lyxtext.h: factor out page break drawing, and fix it so
8491 page break/added space paints as selected nicely
8493 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8495 * BufferView_pimpl.C: add FIXMEs, clean up a little
8497 2002-07-09 André Pönitz <poenitz@gmx.net>
8499 * lyxfont.[Ch]: support for wasy symbols
8501 2002-07-08 André Pönitz <poenitz@gmx.net>
8503 * BufferView_pimpl.C: apply John's patch for #93.
8505 2002-07-05 Angus Leeming <leeming@lyx.org>
8507 * BufferView_pimpl.C (buffer): generate previews if desired.
8509 * LColor.h: add "preview" to the color enum.
8511 * LColor.C (LColor): add a corresponding entry to the items array.
8513 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8516 2002-07-05 Angus Leeming <leeming@lyx.org>
8518 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8519 The body of the code is now in the method that is passed an ostream &
8520 rather than a file name.
8521 Pass an additional only_preamble parameter, useful for the forthcoming
8524 2002-07-03 André Pönitz <poenitz@gmx.net>
8526 * lyxfunc.C: simplify getStatus() a bit for math stuff
8528 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8530 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8532 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8534 * text.C (changeRegionCase): do not change case of all the
8535 document when region ends at paragraph end (bug #461)
8537 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8539 * paragraph.C (startTeXParParams):
8540 (endTeXParParams): add \protect when necessary
8542 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8544 * BufferView_pimpl.C (workAreaExpose): remove warning
8546 2002-06-27 Angus Leeming <leeming@lyx.org>
8548 * Makefile.am: add lyxlayout_ptr_fwd.h.
8550 2002-06-26 André Pönitz <poenitz@gmx.net>
8552 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8554 2002-06-25 Angus Leeming <leeming@lyx.org>
8556 * lyxfunc.C (dispatch): Comment out the call to
8557 grfx::GCache::changeDisplay. The method no longer exists now that the
8558 pixmap generation part of the graphics loader has been moved into
8561 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8563 * text2.C: layout as layout
8565 * text.C: layout as layout
8567 * tabular.C (OldFormatRead): layout as layout
8569 * paragraph_pimpl.C (TeXDeeper): layout as layout
8570 (realizeFont): layout as layout
8572 * paragraph.C (writeFile): layout as layout
8573 (validate): layout as layout
8574 (getFont): layout as layout
8575 (getLabelFont): layout as layout
8576 (getLayoutFont): layout as layout
8577 (breakParagraph): layout as layout
8578 (stripLeadingSpaces): layout as layout
8579 (getEndLabel): layout as layout
8580 (getMaxDepthAfter): layout as layout
8581 (applyLayout): layout as layout
8582 (TeXOnePar): layout as layout
8583 (simpleTeXOnePar): layout as layout
8584 (TeXEnvironment): layout as layout
8585 (layout): layout as layout
8586 (layout): layout as layout
8588 * lyxtextclass.C (compare_name): new functor to work with
8589 shared_ptr, layout as layout
8590 (Read): layout as layout
8591 (hasLayout): layout as layout
8592 (operator): layout as layout
8593 (delete_layout): layout as layout
8594 (defaultLayout): layout as layout
8596 * lyxlayout_ptr_fwd.h: new file
8598 * lyxlayout.C (Read): layout as layout
8600 * lyx_cb.C (MenuInsertLabel): layout as layout
8602 * bufferlist.C (newFile): layout as layout
8604 * buffer.C (readLyXformat2): layout as layout
8605 (parseSingleLyXformat2Token): layout as layout
8606 (insertStringAsLines): layout as layout
8607 (asciiParagraph): layout as layout
8608 (latexParagraphs): layout as layout
8609 (makeLinuxDocFile): layout as layout
8610 (simpleLinuxDocOnePar): layout as layout
8611 (makeDocBookFile): layout as layout
8612 (simpleDocBookOnePar): layout as layout
8613 (getLists): layout as layout
8615 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8617 * CutAndPaste.C (cutSelection): layout as layout
8618 (pasteSelection): layout as layout
8619 (SwitchLayoutsBetweenClasses): layout as layout
8621 * BufferView_pimpl.C (Dispatch): layout as layout
8622 (smartQuote): layout as layout
8624 * BufferView2.C (unlockInset): layout as layout
8626 2002-06-24 André Pönitz <poenitz@gmx.net>
8628 * lyxfunc.C: fix #487
8630 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8634 * lyxfunc.C: remove display_shortcuts, show_banner
8636 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8638 * Buffer_pimpl.C: oops, update on resize
8640 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8647 * BufferView.C: use repaint()
8649 * BufferView_pimpl.h:
8650 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8651 as it's a clearer description. Remove superfluous
8654 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8656 * text.C: fix bug 488. Not ideal, but getting
8657 getWord() to work properly for the insets that
8658 matter is more difficult ...
8660 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8662 * BufferView_pimpl.C:
8665 * lyxfunc.C: remove the six million index lyxfuncs to just
8666 one, and DTRT (bug 458)
8668 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8672 * BufferView_pimpl.h:
8673 * BufferView_pimpl.C: clean up resize() stuff,
8674 and unnecessary updateScreen()s
8676 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.h:
8681 * BufferView_pimpl.C:
8684 * minibuffer.C: remove focus management of workarea,
8685 not needed. Use screen's greyOut()
8687 2002-06-17 Herbert Voss <voss@lyx.org>
8689 * converter.C: (convert) do not post a message, when converting
8690 fails, let the calling function decide what to do in this case
8692 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8694 * lyxfunc.C: tidy up a little
8696 2002-06-16 <alstrup@diku.dk>
8698 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8699 Got rid of FORMS_H_LOCATION include. Now we are
8702 2002-06-15 LyX Development team <lyx@rilke>
8704 * buffer.[Ch] (sgmlOpenTag):
8705 (sgmlCloseTag): Added support for avoiding pernicious mixed
8706 content. Return number of lines written.
8709 (makeDocBookFile): Fixed calls to sgml*Tag.
8710 Simple white space clean.
8712 (simpleDocBookOnePar): Simple white space clean.
8714 * tabular.[Ch] (docBook): Renamed to docbook and got another
8715 argument to related with the pernicious mixed content.
8717 (docbookRow): Fixed calls for docbook inset method.
8719 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8721 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8722 so it's X11 independent.
8726 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8728 2002-06-15 Lyx Development team <lyx@electronia>
8730 * intl.h: Renamed getTrans to getTransManager.
8732 2002-06-14 Angus Leeming <leeming@lyx.org>
8734 * Makefile.am: nuke forgotten stl_string_fwd.h.
8736 2002-06-12 Angus Leeming <leeming@lyx.org>
8738 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8740 2002-06-13 Angus Leeming <leeming@lyx.org>
8743 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8745 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8747 * kbmap.C (getiso): add support for cyrillic and greek
8749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8753 * BufferView_pimpl.h:
8754 * BufferView_pimpl.C: move bogus scrolling logic
8757 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8760 * BufferView_pimpl.C: view->resize() change
8762 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8764 * BufferView_pimpl.C: topCursorVisible
8767 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8771 * lyx_gui.C: move to frontends/
8775 * lyx_main.C: changes from above
8777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8784 * lyx_main.C: minor tidy
8786 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8788 * BufferView_pimpl.h:
8789 * BufferView_pimpl.C:
8791 * BufferView.C: make painter() const,
8794 * BufferView2.C: use screen() accessor
8797 * lyx_main.C: some minor cleanup
8799 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.h:
8802 * BufferView_pimpl.C: remove enter/leaveView,
8805 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8810 * BufferView_pimpl.h:
8811 * BufferView_pimpl.C: only construct screen once,
8814 * lyxrc.C: remove pointless comment
8816 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8819 * BufferView.C: remove active() and belowMouse()
8821 * BufferView_pimpl.h:
8822 * BufferView_pimpl.C: use workarea() not workarea_,
8823 and make it use a scoped_ptr instead
8825 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8827 * lyx_gui.C: add debug message on BadWindow
8829 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * sp_spell.C: fdopen is not part of the C++ standard.
8833 * paragraph.C (InsetIterator): use >= instead of ==
8835 2002-06-07 Angus Leeming <leeming@lyx.org>
8837 Fixes needed to compile with Compaq cxx 6.5.
8838 * BufferView_pimpl.C:
8845 * lyxtextclasslist.C:
8850 all c-library variables have been moved into namespace std. Wrap
8851 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8856 Add a using std::abs declaration.
8858 * kbmap.h (modifier_pair):
8859 * paragraph.h (InsetTable, InsetList):
8860 * lyxfont.h (FontBits):
8861 type definition made public.
8863 * bufferlist.C (emergencyWriteAll): the compiler complains that
8864 there is more than one possible lyx::class_fun template to choose from.
8865 I re-named the void specialisation as lyx::void_class_fun.
8867 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8869 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8870 the compiler is is unable to find tostr in write_attribute.
8872 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8874 * buffer.C (sgmlError): hide #warning
8876 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8878 * xtl/*: get rid of xtl, which is not in use anyway
8880 * LyXAction.C (init):
8881 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8882 were unimplemented xtl experimentation
8884 2002-06-04 André Pönitz <poenitz@gmx.net>
8886 * lyxfunc.C: disable array operation on simple formulae
8888 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8890 * converter.C: constify a bit
8892 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8894 * lyx_gui.C: check xforms version correctly
8896 2002-04-30 Herbert Voss <voss@lyx.org>
8898 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8901 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8903 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8904 attempt to register it with a VCS)
8906 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * lyx_main.C (init): honor variables LYX_DIR_13x and
8911 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8915 * lyx_main.C: fix a crash on bad command line,
8916 and give a useful exit status on error
8918 * lyxfunc.C (doImport): allow -i lyx to work
8920 2002-03-30 André Pönitz <poenitz@gmx.net>
8922 * lyxfunc.C: mathed font changes
8924 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8939 * trans_mgr.h: srcdocs, and some minor cleanups
8941 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8943 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8944 call getFont all the time)
8946 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * switch from SigC signals to boost::signals
8950 2002-05-29 André Pönitz <poenitz@gmx.net>
8952 * paragraph_pimpl.C (getChar): don't call size() too often...
8954 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * paragraph_pimpl.C (insertChar): do not try to update tables when
8957 appending (pos == size())
8959 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8960 in order to reduce drastically the number of comparisons needed to
8961 parse a large document
8963 2002-05-29 André Pönitz <poenitz@gmx.net>
8969 * textclasslist.[Ch]:
8970 * sp_ispell.h: whitespace change
8972 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8974 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8975 lyxaction directly now.
8977 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8981 * lyxvc.C: remove unused headers
8983 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8990 * undo_funcs.C: some cleanups. Use shared_ptr
8991 and a template for the undo stacks.
8993 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8995 * BufferView_pimpl.h:
8996 * BufferView_pimpl.C:
9003 * text2.C: use key_state/mouse_state
9005 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9010 * chset.C: change include order
9011 (loadFile): use boost regex and get rid of LRegex and LSubstring
9013 * Makefile.am (BOOST_LIBS): new variable
9016 * LaTeX.C: change include order.
9017 (scanAuxFile): use boost regex and get rid of LRegex and
9021 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9026 * FontInfo.C: moved to frontends/xforms/
9029 * FontLoader.C: moved into frontends for GUIIzation
9034 * lyxfunc.C: changes from above
9036 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9038 * LColor.C: remove spurious X include
9040 * BufferView_pimpl.C:
9045 * text2.C: move font metrics to frontends/
9047 2002-05-24 Juergen Vigna <jug@sad.it>
9049 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9050 setting the undo_cursor.
9052 * ParagraphParameters.h: include local includes first.
9054 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9056 * BufferView_pimpl.C:
9057 * BufferView_pimpl.h:
9061 * screen.C: move WorkArea into frontends/
9067 * BufferView2.C: move LyXScreen into frontends/
9071 * lyx_gui.C: move lyxlookup into frontends/xforms/
9073 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9076 * BufferView_pimpl.C:
9086 * bufferview_funcs.C:
9099 * vc-backend.C: move LyX/XFormsView into frontends/
9101 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9113 * text2.C: move Painter to frontends/
9115 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * buffer.C: comment out some some code that depend upon lyx_format
9120 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9121 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9123 * buffer.h (NO_COMPABILITY): turn off compability
9125 * ColorHandler.C: include scoped_array.hpp
9127 * font.C: Use more specific smart_ptr header.
9130 * ShareContainer.h: ditto
9134 * BufferView_pimpl.h: ditto
9135 * ColorHandler.h: ditto
9137 * kbmap.C (defkey): change call to shared_ptr::reset
9139 2002-05-21 Juergen Vigna <jug@sad.it>
9141 * buffer.C (insertErtContents): fix to insert ert asis if it is
9142 non empty. Skip it completely if it contains only whitespaces.
9144 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9146 * BufferView_pimpl.C:
9147 * BufferView2.C: clear selection on paste (bug 393)
9149 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9151 * DepTable.C: include ctime
9153 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9155 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9157 2002-05-14 Juergen Vigna <jug@sad.it>
9159 * text.C (breakParagraph): fixed function to honor the keepempty
9160 layout in the right maner and also to permit the right breaking
9161 algorithm on empty or non empyt keepempty paragraphs.
9163 * paragraph.C (breakParagraph): we have to check also if the par
9164 is really empty (!size()) for isempty otherwise we do the wrong
9167 2002-05-10 Juergen Vigna <jug@sad.it>
9169 * buffer.[Ch] : The following are only changes to the ert
9170 compatibility read reading old LaTeX layout and font stuff and
9171 convert it to ERTInsets.
9173 * buffer.h: added isErtInset().
9175 * buffer.C (struct ErtComp): add a fromlayout bool to check
9176 if we're inside a LaTeX layout.
9177 (isErtInset): new helper function.
9178 (insertErtContents): look for other ert insets before this one
9179 and insert the contents there, so that we don't have subsequent
9180 ERT insets with nothing between them. This way we create only one
9181 inset with multiple paragraphs. Also check if we don't insert only
9182 spaces ' ' as they are ignored anyway afterwards in the .tex file
9183 so if we have only spaces we will ignore this latex part in the
9185 (parseSingleLyXformat2Token \\layout): better compatibility when
9186 reading layout-latex stuff.
9187 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9189 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9190 stuff after reading the inset only get the information back from
9193 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9195 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9197 * LaTeXFeatures.C (getBabelOptions): New method.
9199 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9201 * BufferView_pimpl.C (Dispatch): work around missing argument for
9204 2002-05-08 Juergen Vigna <jug@sad.it>
9206 * text.C (leftMargin): handle paragraph leftindent.
9208 * paragraph.C (writeFile): write the new \\leftindent tag.
9209 (validate): handle leftindent code.
9210 (TeXEnvironment): handle paragraphleftindent code again.
9212 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9214 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9215 for paragrap_extra indent code and new token \\leftindent.
9216 (latexParagraphs): handle the leftindent as environment.
9218 * ParameterStruct.h: added leftindent support.
9220 * ParagraphParameters.C (leftIndent): added support functions for
9221 the paragraph left indent.
9223 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9226 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9228 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9231 * text.C (computeBidiTables): No bidi in insetERT.
9233 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9236 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * version.C.in: pre 5
9240 2002-05-02 José Matos <jamatos@fep.up.pt>
9241 * buffer.C (makeDocBookFile): white space changes, add newline to
9243 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9245 * tabular.C (docBook): fix typo.
9247 2002-05-03 Juergen Vigna <jug@sad.it>
9249 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9250 change in LyXText as we can not be sure it was not freed.
9251 (drawOneRow): remove unused code.
9253 * text.C (drawInset): redo the calculation of the need_break_row as
9254 it could have a row which was already freed.
9255 (draw): look at the return value of drawInset and return false if
9256 it also returned false.
9257 (paintRowText): look at the return value of draw and return false if
9258 it also returned false.
9260 * lyxtext.h: added bool return type to drawInset() and draw() so that
9261 if we have a change in the row so that the rowbreak has to be redone
9262 we abort drawing as it will be called again.
9264 2002-05-02 Juergen Vigna <jug@sad.it>
9266 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9267 a change in the maintext also if we're inside an inset.
9268 (Dispatch): set the cursor again after a break line and after the
9269 screen has been updated as it could be we're in a different row.
9271 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9272 to set the cursor behind the pargraph with > size().
9273 (setCursor): check also for the same paragraph when checking where
9274 to put the cursor if we have a NFR inset.
9276 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9277 parts of layout read further up as it still was in the wrong
9280 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * screen.C (drawFromTo): change sine fullRebreak always return
9285 * buffer.C (parseSingleLyXformat2Token): reindent some
9287 * BufferView_pimpl.C (update): change since fullRebreak always
9289 (Dispatch): git rid of the last hardcoded "Standard"s.
9291 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9293 * text2.[Ch] (fullRebreak): make it return void now that we always
9296 2002-04-30 Juergen Vigna <jug@sad.it>
9298 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9299 ert compatibility check for "latex" layout.
9301 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9303 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9304 minipages: use col% instead of p%, and also use the current font.
9305 (makeLaTeXFile): Fix use babel condition.
9306 (parseSingleLyXformat2Token): Correct font when reading old floats.
9308 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9310 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9311 inserting list of floats.
9313 2002-04-25 Herbert Voss <voss@lyx.org>
9315 * MenuBackend.C (expand): don't add the graphics extensions to the
9318 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9321 non-existing layout, do not complain if it was the default layout
9322 of the original class (bug #342)
9324 2002-04-24 Juergen Vigna <jug@sad.it>
9326 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9327 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9329 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9331 * buffer.C (getBibkeyList): If using \bibliography, return the
9332 option field with the reference itself. Enables us to provide natbib
9333 support when using \bibliography.
9335 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9337 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9339 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9340 natbib is provided by the LaTeX class.
9342 2002-04-23 Juergen Vigna <jug@sad.it>
9344 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9347 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9349 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9353 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9354 ensuremath around textordmasculine, textordfeminine and
9357 2002-04-19 Juergen Vigna <jug@sad.it>
9359 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9360 reinitializing the buffer otherwise row-dimensions may be wrong.
9361 (update): reset also the selection cursors if they do exits otherwise
9362 their x/y positions may be wrong.
9364 * text2.C (cursorDown): don't enter the inset if we came from a row
9365 above and are one row over the inset.
9367 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9368 really leaving an inset.
9370 2002-04-18 Juergen Vigna <jug@sad.it>
9372 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9373 of the selected paragraph does not have the selected layout also if
9376 * text2.C (setLayout): fixed bug which did not change last selected
9379 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9380 changed the read and substituted \\end_float with \\end_inset!
9382 * BufferView_pimpl.C (cursorPrevious):
9383 (cursorNext): fixed to make it work with rows heigher than the work
9384 area without moving the cursor only the draw of the row.
9385 (workAreaMotionNotify): fix jumping over high rows.
9387 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9392 2002-04-16 Juergen Vigna <jug@sad.it>
9394 * text2.C (setCursor): set also the irow().
9395 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9397 (cursorDown): support for locking an inset if the x_fix value goes
9398 inside it. That way I can transverse insets too with cursor up/down.
9400 * lyxrow.h: added irow helper function same as other (i) functions.
9402 * BufferView_pimpl.C (cursorPrevious):
9403 (cursorNext): fixed for insets!
9405 2002-04-15 Juergen Vigna <jug@sad.it>
9407 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9408 position otherwise it is wrong in some cases.
9410 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9411 inside the inset before the call.
9413 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9415 * buffer.[Ch] (getBibkeyList): make it const.
9417 2002-04-12 Juergen Vigna <jug@sad.it>
9419 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9421 * text2.C (getCursorX): new helper function
9422 (setCursor): compute also ix_
9423 (setCursorFromCoordinates): set also ix.
9425 * lyxcursor.h: added ix_ and helper functions.
9427 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9429 * buffer.C (insertStringAsLines): dont break paragraph if the this
9430 paragraph is inside an inset which does not permit it!
9432 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9433 also with no chars on this paragraph.
9434 (paintRowText): only paint stuff if it's inside the workarea!
9436 * paragraph.C (breakParagraph): honor keepempty flag and break the
9437 paragraph always below not above.
9439 * BufferView2.C (unlockInset): update the paragraph layout on inset
9440 unlock as we changed paragraph in such a case.
9442 * lyxfind.C (LyXFind): clear the former selection if not found!
9444 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9445 again called in insertChar().
9447 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9448 an inset which uses the whole row!
9449 (rightMargin): ditto.
9450 (insertChar): force a rebreak if we inserted an inset!
9452 2002-03-28 Herbert Voss <voss@lyx.org>
9454 * lyxlength.[Ch]: add inBP() to get the right PS-point
9455 units (BigPoint). With inPixels we have rounding errors
9457 2002-04-11 Juergen Vigna <jug@sad.it>
9459 * text2.C (setCursorFromCoordinates): set iy to the right value.
9460 (setCursor): add check if row->previous exists!
9462 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9463 an old float_type as this was the case in the old code!
9465 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9467 * BufferView2.C (showLockedInsetCursor): use iy
9468 (fitLockedInsetCursor): ditto
9470 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9471 locked insets as there we have the right value now.
9473 * lyxcursor.C: added iy_ variable and iy functions to set to the
9474 baseline of cursor-y of the locked inset.
9476 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9477 (setCursor): fixed for insets which need a full row.
9479 * text.C (rowLastPrintable): don't ignore the last space when before
9480 an inset which needs a full row.
9481 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9482 as last character of a row when before a inset which needs a full row.
9484 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9486 * version.C.in: update date
9488 * text2.C (fullRebreak): try to always return true and see what
9491 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9493 * MenuBackend.C (expand): use Floating::listName
9495 * FloatList.C (FloatList): add listName argument to the built-in
9498 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9499 text associated with the float.
9501 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9505 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * ShareContainer.h: add a couple of missing typenames.
9509 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9511 * lyxrc.C (getDescription): use _() correctly rather than N_().
9513 2002-03-28 Herbert Voss <voss@lyx.org>
9515 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9516 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9518 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9521 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9523 2002-03-29 Juergen Vigna <jug@sad.it>
9525 * lyxfunc.C (dispatch): add a missing fitCursor call.
9527 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9528 it was scrolled by a cursor move, so return the bool status.
9530 * BufferView.C (fitCursor): return the bool flag also to the outside
9531 world as this is needed.
9533 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9535 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9536 call the edit() as it is not needed (and wrong) IMO.
9537 (workAreaButtonPress): set the screen_first variable before evt.
9538 unlock the inset as this may change screen_first and then we have
9539 a wrong y position for the click!
9541 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * MenuBackend.C (expand): another translation that I missed
9545 2002-03-28 Juergen Vigna <jug@sad.it>
9547 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9549 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9551 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9555 * MenuBackend.C (expand): fix export/view/update when there is no
9558 2002-03-27 Herbert Voss <voss@lyx.org>
9560 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9563 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * bufferview_funcs.C (currentState): only show paragraph number
9566 for is DEVEL_VERSION is set.
9568 * lyxfunc.C (dispatch): put warning in INFO channel
9570 * MenuBackend.C (expand): translate the name of floats
9572 * FloatList.C (FloatList): mark the float names for translation
9574 * converter.C (convert): use LibScriptSearch
9576 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9578 * MenuBackend.C (defaults): fix default menu (we might as well get
9581 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9583 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9586 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * lyxvc.C: reorder includes.
9590 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9592 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9595 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9597 * CutAndPaste.C: change layouts earlier on paste
9598 to avoid crashing when calling getFont()
9600 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9602 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9605 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * WorkArea.C: remove 'Pending' debug message.
9609 * most files: ws cleanup
9611 * buffer.[Ch]: ws changes
9613 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9615 2002-03-21 Juergen Vigna <jug@sad.it>
9617 * tabular.C (SetMultiColumn): collapse also the contents of the
9618 cells and set the last border right. Added a Buffer const * param.
9620 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9622 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9625 2002-03-19 Juergen Vigna <jug@sad.it>
9627 * text2.C (clearSelection): reset also xsel_cache.
9629 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9630 where it needs to be called (John tells us to do so too :)
9631 (selectionLost): reset sel_cache.
9633 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9635 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * text2.C (setCursorIntern): put debuging code in INSETS channel
9639 2002-03-19 André Pönitz <poenitz@gmx.net>
9641 * lyxfunc.C: tiny whitespace change
9643 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9645 * ToolbarDefaults.C (init):
9646 * LyXAction.C (init):
9648 * BufferView_pimpl.C (Dispatch):
9649 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9651 2002-03-19 Allan Rae <rae@lyx.org>
9653 * exporter.C (Export): removeAutoInsets before doing anything else.
9654 While I've just introduced a dependency on BufferView this really is
9655 the best place to clean the buffer otherwise you need to cleanup in
9656 a dozen places before calling export or cleanup in a dozen functions
9659 * converter.C (runLaTeX):
9660 (scanLog): Better handling of removeAutoInsets and screen updates.
9662 * lyxfunc.C (dispatch): small whitespace changes
9664 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9666 * WorkArea.C (C_WorkAreaEvent): return a value.
9667 (event_cb): return 1 if we handled the event, 0 otherwise.
9669 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9671 2002-03-18 Juergen Vigna <jug@sad.it>
9673 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9674 (GetAdditionalWidth): ditto.
9678 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9679 inset if we're there actually (probably not used right now but this
9680 is the direction to go for unifying code).
9681 (paste): disable code to clear the selection.
9683 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9684 inside an InsetText and move the check further up as it is in the
9687 * text2.C (pasteSelection): set a selection over the pasted text.
9689 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9691 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9692 and libgraphics to build on Cygwin.
9694 2002-03-15 Juergen Vigna <jug@sad.it>
9696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9697 inserting an Inset into the paragraph. I know this is not the best
9698 fix but we already use current_view in CutAndPaste so we will remove
9699 all of it's using at the same time.
9701 * buffer.C (sgmlError): deactivated function till it is rewritten in
9702 the right mode, now it can create problems.
9704 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9705 before accessing it.
9707 2002-03-14 Juergen Vigna <jug@sad.it>
9709 * undo_funcs.C (textHandleUndo): do the right thing when updating
9710 the inset after the undo/redo.
9712 * text2.C (setCursor): just some testcode for #44 not ready yet.
9714 * undo_funcs.C (textHandleUndo): set the next() and previous()
9715 pointers of the paragraph to 0 before deleting otherwise we have
9716 problems with the Paragraph::[destructor].
9718 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9719 on a paragraph insertion.
9721 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * buffer.C (asciiParagraph): use += operator for char append to
9726 * paragraph.C (getFontSettings): compare >= not just >
9727 (highestFontInRange): ditto
9730 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9732 * paragraph.C: change several algorithm to be more appripriate for
9733 the problem domain. This is lookip in FontList and in the InsetList.
9735 2002-03-13 André Pönitz <poenitz@gmx.net>
9738 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9740 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9745 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9747 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * Painter.C (display): anon helper function, adjust code for this
9751 (pixmap): remove function.
9753 * Painter.h: remove private display variable.
9755 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9757 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9759 * WorkArea.[Ch]: remove figinset_canvas cruft.
9761 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * lyxtextclass.C (operator): add one item cache optimization.
9765 * bufferlist.h: doxy changes
9767 * bufferlist.C: ws changes
9769 * DepTable.[Ch] (ext_exist): place const in the right spot.
9771 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9773 (workAreaExpose): call resizeInsets when the with BufferView changes.
9774 (Dispatch): adjust for protectedBlank removal
9775 (specialChar): call updateInset if the insert went ok.
9777 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9778 specialChar instead.
9780 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9782 * BufferView.h: doxy change
9784 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9786 * lyxtextclass.C (operator[]): remove non-const version
9787 (defaultLayout): remove non-const version
9789 2002-03-12 Juergen Vigna <jug@sad.it>
9791 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9792 did resize the LyXText too.
9794 * buffer.C (readLyXformat2): set layout information on newly allocated
9797 * tabular.C (OldFormatRead): set layout information on the paragraph.
9799 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9801 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9803 2002-03-11 Juergen Vigna <jug@sad.it>
9805 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9807 (resizeCurrentBuffer): force also the insets to resize themselfes.
9808 (moveCursorUpdate): fixed up for InsetText.
9810 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9813 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9814 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9815 value of Dialogs::tooltipsEnabled().
9816 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9818 2002-03-08 Juergen Vigna <jug@sad.it>
9820 * BufferView_pimpl.C (updateInset): update inset inside inset also
9821 if it isn't inside theLockingInset().
9823 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * buffer.C (asciiParagraph): redo some of the word and line length
9827 (getLists): look for Caption instead of caption.
9829 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * buffer.C (Buffer): initialize niceFile to true
9834 (makeDocBookFile): make sure niceFile is true on exit
9836 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9838 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9840 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9842 * LyXSendto.C: remove.
9843 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9844 * lyx_gui.C: remove now-redundant comment.
9845 * ColorHandler.h: remove forward declaration of class WorkArea.
9846 * lyxfunc.C: remove #include "WorkArea.h".
9848 2002-03-07 Juergen Vigna <jug@sad.it>
9850 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9851 got moved away with the DEPM and also set the inset_owner always
9852 right which before could have been omitted.
9854 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9857 wanted layout is not found.
9859 2002-03-07 Juergen Vigna <jug@sad.it>
9861 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9863 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * paragraph.C (breakParagraph): use default layout not layout of
9867 (Paragraph): clear ParagraphParameters.
9869 2002-03-06 Juergen Vigna <jug@sad.it>
9871 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9872 otherwise it would not be a valid lenght. Fixed a special case in
9873 the minipage compatibility read where we end the document with a
9876 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9877 was set as it could be 0 for InsetTexts first entry.
9879 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * paragraph.C (writeFile): if layout is empty write out
9882 defaultLayoutName().
9884 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9885 file without named layout we set layout to defaultLayoutName().
9887 2002-03-06 Juergen Vigna <jug@sad.it>
9889 * CutAndPaste.C (copySelection): set layout for new paragraph.
9891 * text.C (prepareToPrint): leave ERT inset left aligned
9892 (leftMargin): don't indent paragraphs inside ERT insets
9894 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * paragraph.C (breakParagraph): dont call clear do the work manually
9898 * paragraph.[Ch] (clear): remove function
9900 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * paragraph.C (Paragraph): dont call clear, the work has already
9905 * lyxtextclass.C (operator): assert if n is empty
9907 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9908 work manually instead.
9910 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9912 * BufferView_pimpl.C: protect selectionLost against text == 0
9914 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9916 * text.C (breakParagraph): fix a setting layout to '0' problem.
9918 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9920 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9921 final location of file, for the included files, and graphics.
9923 2002-03-05 Juergen Vigna <jug@sad.it>
9925 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9927 2002-03-04 Juergen Vigna <jug@sad.it>
9929 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9931 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9932 last column of multicolumn cells.
9933 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9935 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9937 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9938 file if it doesn't go to a temporary file.
9940 * buffer.C (sgmlOpenTag):
9941 (sgmlCloseTag): remove extra newline insertion.
9943 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9945 * text.C (getRowNearY): comment out debug msg
9947 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * text2.C: first -> first_y
9951 * text.C (getRowNearY): add some attemts at a possible
9952 optimization, not working.
9954 * tabular.[Ch]: add BufferParams to several function so that newly
9955 created paragraph can be initialized to he default layotu for the
9958 * tabular-old.C (ReadOld): add buf->params to call of Init
9960 * screen.C: rename text->first to text->first_y
9962 * paragraph.C (breakParagraph): always set layout in the broken
9965 * lyxtextclass.C (Read): remove lowercase
9968 (delete_layout): ditto
9970 * lyxtext.h: rename first -> first_y
9972 * lyxlayout.C (Read): remove lowercase
9975 (obsoleted_by): ditto
9977 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9979 * buffer.C (insertErtContents): add params are to InsetERT
9980 (parseSingleLyXformat2Token): add code to check if a paragraphs
9981 layout really exist.
9982 (parseSingleLyXformat2Token): add params to several inset
9984 (asciiParagraph): remove lowercase, do the layout comparisons with
9987 * BufferView_pimpl.C (cursorNext): first -> first_y
9988 (resizeCurrentBuffer): first -> first_y
9989 (updateScrollbar): first -> first_y
9990 (scrollCB): first -> first_y
9991 (workAreaMotionNotify): first -> first_y
9992 (workAreaButtonPress): first -> first_y
9993 (checkInsetHit): first -> first_y
9994 (cursorPrevious): first -> first_y
9995 (cursorNext): first -> first_y
9996 (Dispatch): add buffer_->params to severl inset contructors
9998 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10000 * lyxlayout.C (Read): remove some debug info that I forgot.
10002 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10003 clean up the code slightly.
10004 (makeLinuxDocFile): ditto
10005 (makeDocBookFile): ditto
10007 * text2.C: layout as string
10009 * text.C: layout as string
10011 * paragraph_pimpl.C: layout as string
10013 * paragraph.[Ch]: layout as string
10015 * lyxtextclasslist.[Ch]: layout as string
10017 * lyxtextclass.[Ch]: layout as string
10019 * lyxtext.h: layout as string
10021 * lyxlayout.[Ch]: layout as string
10023 * lyx_cb.C: layout as string
10025 * bufferview_funcs.C: layout as string
10027 * bufferparams.C: layout as string
10029 * buffer.C: layout as string
10031 * LyXView.[Ch]: layout as string
10033 * LaTeXFeatures.[Ch]: layout as string
10035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10037 * BufferView_pimpl.C: change current_layout to string, remove
10042 (workAreaButtonRelease): layout as string
10044 * BufferView2.C (unlockInset): adjust
10046 * vspace.C (asLatexCommand): use an explict temp variable.
10048 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10050 * Makefile.am: use FRONTEND_*
10052 2002-03-01 Juergen Vigna <jug@sad.it>
10054 * tabular.C (SetWidthOfMulticolCell): changed to something better
10055 I hope but still work in progress.
10056 (recalculateMulticolumnsOfColumn): renamed function from
10057 recalculateMulticolCells as it is more appropriate now.
10058 (SetWidthOfCell): calculate multicols better.
10060 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10062 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10064 * lyxfunc.C (processKeySym): print sequence also if it is
10065 `deleted' (complete)
10067 * kbsequence.C (print): print sequence even if it is deleted
10068 (complete would be a better word, actually).
10070 * lyxfunc.C (dispatch): print complete options after a prefix key
10072 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10074 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10076 * text2.C (setCharFont): eliminate setCharFont code duplication.
10078 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10080 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10081 LFUN_TABULAR_FEATURE (bug #177)
10083 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10085 * Makefile.am: remove figure.h
10087 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10089 * Bufferview_pimpl.C:
10101 * text2.C: remove #include "lyx_gui_misc.h".
10103 * LaTeX.C: added #include <cstdio>
10105 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10107 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10108 that the paragraph following this one can have.
10110 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10112 * vspace.C (asLatexCommand): fix bogus gcc warning
10114 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10116 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10118 * text2.C (setLayout): get rid of redundant code
10120 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10122 * text2.C (incDepth): make sure depth cannot be increased beyond
10125 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10127 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10128 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10130 * PainterBase.h (image):
10131 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10132 a LyXImage const *.
10134 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10138 * BufferView_pimpl.C:
10139 * BufferView_pimpl.h:
10159 * sp_spell.C: remove fig inset, and the crap house of
10160 cards that follows it
10162 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10167 * os2_errortable.h:
10168 * nt_defines.h: move .h into support/
10170 * vms_defines.h: remove
10172 * WorkArea.C: add space in debug output
10176 * buffer.C: add WITH_WARNINGS
10180 * bufferlist.C: s/retrive/retrieve/, add docs
10189 * chset.C: add docs
10191 * lyxgui.C: add ID to X error handler
10193 * lyxtestclass.c: fix typo
10195 2002-02-26 Juergen Vigna <jug@sad.it>
10197 * tabular_funcs.C (write_attribute): changed so that some default
10198 attributes are not written at all.
10199 (getTokenValue): set default values before trying to read the
10200 value so we have the return value always set as default if we don't
10201 find the token we search for.
10203 * tabular.C (Write): write bools as bools not as strings!
10205 2002-02-22 Juergen Vigna <jug@sad.it>
10207 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10208 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10210 * text.C (leftMargin): don't add an indent for paragraphs inside
10211 tabular cells (fix #208).
10213 2002-02-21 José Matos <jamatos@fep.up.pt>
10215 * tabular.C (docBook): fixed support for long tables.
10217 2002-02-20 Juergen Vigna <jug@sad.it>
10219 * text2.C (getFont): get the drawing font of the Inset if this
10220 paragraph is inside an inset (only important for InsetERT for now).
10222 * buffer.C (insertErtContents): use new lanugage params in ERT
10225 * CutAndPaste.C: commenting out seemingly uneeded code.
10227 2002-02-19 Allan Rae <rae@lyx.org>
10229 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10230 Iterators might be simple to use but they also get invalidated.
10231 (removeAutoInsets): renamed saved cursor tracking variables and added
10232 some comments to clarify what everything does.
10234 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10241 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10242 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10245 * vc-backend.h: remove #include "support/syscall.h"
10249 * converter.C: rearrange #includes in Lars' approved fashion.
10251 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10252 forward declare class Timeout in the header file.
10254 * XFormsView.C: changes due to the above.
10256 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10257 similar to LyXView.
10259 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10260 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10262 2002-02-18 José Matos <jamatos@fep.up.pt>
10264 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10267 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10269 * a lot of small ws changes
10270 * add a lot of using std::XXX
10271 * use std construcs some places where approp.
10272 * use some exisint stuff from lyxfunctional where approp.
10273 * Make file changes to use partial linking (lets test this now...)
10275 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10279 remove #include "support/syscontr.h" as it's redundant. Always has been.
10287 change Systemcalls::System to Systemcalls::Wait and
10288 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10289 No change of functionality, just reflects the stripped down Systemcalls
10292 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10294 * debug.[Ch]: add a GRAPHICS type to the enum.
10296 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10300 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10303 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10306 match the changes below.
10308 * text2.C (toggleInset): if there is not editable inset at cursor
10309 position, try to see if cursor is _inside_ a collapsable inset
10312 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10314 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10315 document menu has a nice checkbox
10317 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * lyxlength.C (asLatexString): change PW to output as percent of
10322 * lengthcommon.C: change '%' to 't%'
10324 * lyxfunc.C (dispatch): a few comments from Martin
10326 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.h:
10331 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10334 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * vspace.C (inPixels): fix compiler warning
10338 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * lyxfunc.C (getStatus): fix status message for disabled commands.
10342 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10344 * BufferView_pimpl.C: fix crash on close buffer
10345 during selection (#227)
10347 2002-01-27 Herbert Voss <voss@lyx.org>
10349 * buffer.C: link old Figure to new graphic inset
10351 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10353 * FontLoader.C (getFontinfo): Change the latex font names in order
10354 to match the names of type1inst.
10356 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10358 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10360 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10361 (extchanged): ditto
10363 (remove_files_with_extension): ditto
10364 (remove_file): ditto
10367 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10368 document is smaller than the work area height. Do not initialize
10369 static variables to 0.
10371 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10375 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10376 LFUN_LAYOUT_PARAGRAPHS.
10378 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10379 tabular. It is possible to provide a possible cell, which will
10380 typically be the actcell from the corresponding insettabular
10382 * lyxfunc.C (getStatus): small cleanup; disable
10383 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10386 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10390 * paragraph.C (startTeXParParams):
10391 (endTeXParParams): new methods. The LaTeX code to
10392 start/end paragraph formatting
10393 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10394 empty (fixes bug #200)
10396 * vspace.C (inPixels): adapt to the change below
10397 (inPixels): [later] more cleanups (remove unused variables)
10399 * lyxlength.C (inPixels): change to use a width and a height as
10402 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10404 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10405 Replaced with \paperwidth
10407 * DepTable.C (insert): add std:: qualifier
10409 2002-01-18 Allan Rae <rae@lyx.org>
10411 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10414 * text.C (drawInset): Turned out I didn't know enough about how
10415 rebreaking worked. This fixes most of the redraw problems. I see
10416 an occasional cursor trail when a line is broken now and the cursor
10417 placement can seem out by a few pixels also after a rebreak.
10419 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * buffer.C (parseSingleLyXformat2Token): update because minipage
10422 width is now a LyXLength
10424 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10426 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10429 2002-01-17 Juergen Vigna <jug@sad.it>
10431 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10433 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10434 is set correctly and the inset is updated correctly.
10436 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10438 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10439 the beginning of the loop.
10441 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10443 * lyxrc.C: improve help for use_scalable_fonts
10445 2002-01-17 Allan Rae <rae@lyx.org>
10447 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10449 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10451 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10452 make sure to set their inset_owner to the right value (bug #171)
10454 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10457 * DepTable.C: Implement mtime checking to reduce time spent doing
10460 2002-01-16 Juergen Vigna <jug@sad.it>
10462 * tabular.C (GetAdditionalHeight): one of error fixed.
10464 * lyxrc.C (output): small fix in writing use_pspell.
10466 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10468 * sp_base.h: #include LString.h
10470 2002-01-16 Allan Rae <rae@lyx.org>
10472 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10473 Can someone check this please?
10475 * text.C (drawInset): It was possible that p.row would be removed by
10476 breakAgainOneRow upsetting a few other settings. There may be another
10477 small tweak possible by setting need_break_row = 0 when p.row has been
10478 removed but I don't know enough about the logic here.
10480 2002-01-15 Allan Rae <rae@lyx.org>
10482 * text.C (insertChar): removed conditional truism.
10484 * BufferView2.C (removeAutoInsets): More tweaks.
10485 cur_par_prev could be a stray pointer. Check for trailing empty line
10486 in case last line was cur_par and only had an error inset on it.
10488 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10493 * vc-backend.C (most methods):
10494 * exporter.C (Export):
10495 * converter.C (convert):
10497 * LyXSendto.C (SendtoApplyCB):
10498 * lyxfunc.C (dispatch):
10502 * lyx_cb.C (AutoSave):
10504 * BufferView_pimpl.C (MenuInsertLyXFile):
10505 * buffer.C (runChktex): use Buffer::filePath().
10507 * buffer.h: rename filename to filename_; rename filepath to
10508 filepath_ and make it private
10509 (filePath): new method
10511 * buffer.C (writeFile): use fileName()
10514 * lyx_main.C (init): fix starting of LyX when the binary is a
10515 link from so,ewhere else.
10517 * minibuffer.C: include <cctype> for isprint
10519 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10521 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10522 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10523 name clash with InsetCollapsable's width function.
10525 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * lastfiles.C: include <iterator>
10529 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10531 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10534 * buffer.C (makeLaTeXFile): ditto.
10535 Also make loop operation more transparent.
10537 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10539 * ToolbarDefaults.C: remove trailing comma closing namespace.
10541 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10543 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10546 * trans.C (Load): comment out unused variable, allowed.
10548 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10550 * minibuffer.[Ch] (append_char): new method to recieve input from the
10551 drop-down completion browser. If a key was pressed, then recieve this
10552 char and append it to the existing string.
10553 (peek_event): modify the positioning data passed to the completion
10554 browser so that it can be placed above the minibuffer rather than below.
10555 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * LyXAction.C (init): alloe error-next for readonly documents.
10559 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10562 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10564 * bufferlist.C (readFile): create the buffer _after_ checking that
10567 * lyxfunc.C (verboseDispatch): fix handling of arguments
10569 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10571 * lyxrc.C: use string::erase() instead of initializing to "".
10574 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10576 * BufferView_pimpl.h:
10577 * BufferView_pimpl.C:
10580 * text2.C: tell X when we have made a selection for copying
10582 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10584 * BufferView_pimpl.C (MenuInsertLyXFile):
10585 * lyxfunc.C (menuNew):
10587 (doImport): add shortcuts to directory buttons
10589 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10592 * lyxfunc.C (setStatusMessage):
10593 (getStatusMessage): new methods
10594 (getStatus):use setStatusMessage instead of setErrorMessage
10595 (dispatch): when function is disabled, set error message here
10596 [instead of in getStatus previously]
10598 * BufferView_pimpl.C (workAreaButtonRelease): update
10599 toolbar/menubar here too.
10601 2002-01-13 Allan Rae <rae@lyx.org>
10603 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10604 Now seems indestructible. Remaining task is to audit all other
10605 code affected by deleteEmptyParagraphMechanism. One small quirk
10606 left is that an empty document with an error in the preamble can
10607 be made to report an error but no error box appears. I don't know
10609 (removeAutoInsets): Improved comments.
10611 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10614 * Thesaurus.C: update for Aiksaurus 0.14
10616 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * text2.C (firstParagraph): removed member function, all uses
10619 replaces with ownerParagraph
10620 (redoParagraphs): here
10621 (updateInset): here
10622 (toggleAppendix): here
10623 * BufferView2.C (insertErrors): here
10624 (setCursorFromRow): here
10626 2002-01-13 Allan Rae <rae@lyx.org>
10628 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10629 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10630 There is still a way to segfault this although you may have to do this
10631 multiple times: Have an InsetERT with an unknown command in it.
10632 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10633 <down-arrow>, <Enter> again, View->DVI, BANG!
10635 * text2.C (setCursor):
10636 (deleteEmptyParagraphMechanism):
10637 * lyxtext.h (setCursor):
10638 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10639 Making use of the return value may help fix other bugs.
10641 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10645 * LyXView.C (updateMenubar): call MenuBar::update here
10646 (updateToolbar): but not here
10647 (showState): do not update toolbar/menubar
10649 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10650 should need to care about that.
10652 * lyxfunc.C (verboseDispatch): simplify a bit
10653 (getStatus): have a version which takes a pseudoaction, and
10654 another which requires a (kb_action,string).
10656 * LyXAction.C (retrieveActionArg): make it work also when action
10657 is not a pseudo-action.
10658 (getActionName): simplify a bit
10661 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * lyxfunc.C (verboseDispatch): new families of methods with
10664 several ways to specify a command and a bool to indicate whether
10665 the command name and shortcut should be displayed in minibuffer
10666 (eventually, we could extend that to a finer bitmask like
10667 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10668 (dispatch): the pristine dispatch command which just, well,
10669 dispatchs! Note it still sets its result to minibuffer; I'm not
10672 * lyxfunc.h: remove setHintMessage
10674 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10676 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10678 * BufferView_pimpl.C (specialChar): delete new inset if we have
10679 not been able to insert it.
10681 * kbmap.C: revert to using int instead of kb_action, since all we
10682 are dealing with is pseudo-actions.
10684 * LyXAction.C (searchActionArg): change to return int instead of
10685 kb_action, since the result is a pseudoaction.
10687 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10689 * buffer.C (insertErtContents): Fix (partially) the font bug.
10691 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10693 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10694 as the other one is broken on my machine!
10696 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10699 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10701 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10703 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10704 reflect their actual use. Provide compatibility code for older lyxrc
10707 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10709 change names of popup font variables in line with the changes to lyxrc.C
10711 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10713 * buffer.C (asciiParagraph): avoid outputing a word twice after
10716 * lyxrc.C (getDescription): document that document_path and
10717 template_path can be empty.
10719 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * LaTeXFeatures.C (getMacros):
10722 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10724 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10726 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10728 (getPackages): rename feature "floats" to "float". Use an array to
10729 iterate over 'simple' features (i.e. just a \usepackage). Add
10730 handling of "amsmath" (renamed from "amsstyle").
10732 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10734 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10737 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10739 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10740 FuncStaus::FuncStatus & FuncStaus::some_method().
10742 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10744 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10745 of the func_satus stuff. Edited and massaged in various ways by
10748 * lyxfunc.C (getStatus): use FuncStatus
10750 2002-01-08 Juergen Vigna <jug@sad.it>
10752 * text.C (nextBreakPoint): use function Inset::isChar().
10754 * paragraph.C (TeXOnePar): use function
10755 Inset::forceDefaultParagraphs.
10757 * buffer.C (latexParagraphs): use function
10758 Inset::forceDefaultParagraphs.
10760 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10762 * lyx_gui.C (init): set the style of the menu popups to
10763 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10765 2002-01-07 Juergen Vigna <jug@sad.it>
10767 * text.C (setHeightOfRow): small fix
10768 (prepareToPrint): don't look at alignment if we don't have the place
10771 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10773 * box.C: New file. Move the Box methods and functions out of box.h,
10774 following Lars' suggestion.
10776 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10778 * box.h: #include "support/LOstream.h", needed for inlined function.
10781 * lyxtextclasslist.C: added some using std declarations.
10783 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10785 * box.h: make signed dimensions to allow insets wider than
10786 the screen (bug #162)
10788 * BufferView_pimpl.C: add some insetHit debug
10790 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10792 * vc-backend.C: add FIXME
10794 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * lyxfunc.C (getStatus): enable code for showing math font status
10799 2002-01-07 Juergen Vigna <jug@sad.it>
10801 * text.C (nextBreakPoint): removed debug output not needed anymore.
10803 2002-01-06 Juergen Vigna <jug@sad.it>
10805 * text.C (nextBreakPoint): fixed up this function we had this bug
10806 since ever but now hopefully we break row better.
10807 (insertChar): we have to check if an inset is the next char as it
10808 could now happen that a large inset is causing a break.
10810 2002-01-05 Juergen Vigna <jug@sad.it>
10812 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10813 if it doesn't like to be drawed.
10815 2002-01-04 Juergen Vigna <jug@sad.it>
10817 * BufferView2.C (lockInset): forgot to set a cursor.
10819 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10821 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10823 * FormMathsPanel.C:
10826 * form_maths_panel.C:
10827 * form_maths_panel.h:
10828 * form_maths_panel.fd: implemented sub- and super- buttons in math
10831 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10832 (or ^ space) to be used as in TeX (req'd by André).
10834 * lyxfunc.C: Allow ^ and _ again to be used both as
10835 super/subscript (mathed) and as themselves (in text).
10837 2002-01-03 Allan Rae <rae@lyx.org>
10839 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10840 "LyX" or the filename of the current buffer if it has one. This is a
10841 modified form of John Levon's patch.
10843 * XFormsView.C (setWindowTitle): also set icon title.
10845 * LyXView.h (setWindowTitle): signature changed.
10846 * XFormsView.h (setWindowTitle): ditto.
10848 2002-01-02 Juergen Vigna <jug@sad.it>
10850 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10852 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * screen.C (topCursorVisible): introduce a temp var for
10855 text->cursor.row(), handle the case where this row is null. (kindo
10858 * text2.C (setCursor): add a couple of asserts.
10860 * paragraph.h (inset_iterator): add -> operator
10862 * paragraph.[Ch] (autoDeleteInsets): remove member function
10864 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10865 cursor pos correctly and handle inset deletion by itself.
10866 (insertErrors): move iterator declaration out of for expression
10868 * lyxtextclass.C: add <algorithm>
10870 * Makefile.am: added the new files to sources, removed layout.C
10872 * layout.C: removed file
10874 * layout.h: remove LYX_DUMMY_LAYOUT
10876 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10880 * lyxtextclass.[Ch]:
10881 * lyxtextclasslist.[Ch]: new files
10883 * include order changes to a lot of files, also changes because of
10886 2001-12-27 Juergen Vigna <jug@sad.it>
10888 * buffer.C (asciiParagraph): more fixes.
10890 * tabular.C (ascii): make ascii export support export of only the
10891 data separated by a column-delimiter.
10892 (ascii): better support for ascii export.
10894 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10896 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * tabular_funcs.C: use a "using std::getline" instead of the
10899 previous fix from Angus (necessary for cxx + lyxstring)
10901 2001-12-24 Juergen Vigna <jug@sad.it>
10903 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10905 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10906 problems. First check a minipage also if we have some ert-contents
10907 (not only on par->size(), second set the right depth of the paragraph
10908 on the relink to the root-paragraph-list!
10910 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10911 which then did not anymore update the main paragraphs on undo/redo!
10913 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10915 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10916 code. Support all font-changing funcs (even those which are not in
10917 menu currently). Support for reporting font settings in
10918 mathed (disabled until Andre provides a function on mathed's side).
10920 * func_status.h (toggle): small helper function to set toggle
10923 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10925 * tabular_funcs.C: getline -> std::getline
10927 2001-12-21 Juergen Vigna <jug@sad.it>
10929 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10930 accessed and could be 0 (I couldn't generate this but it seems
10933 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10935 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10936 * tabular_funcs.h: here and include iosfwd
10938 2001-12-20 Juergen Vigna <jug@sad.it>
10940 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10941 inside inset but undo_par was.
10943 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * Thesaurus.C: always include <config.h> in sources.
10949 * box.h: do not include <config.h> in header files
10951 * text.C (paintLastRow): remove unused variable
10953 * text.C (transformChar):
10955 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10957 * Painter.C (text):
10958 * font.C (width): rewrite to use uppercase() instead of
10961 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10963 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10965 * lyxfind.C: clean up of find failure position change
10967 2001-12-20 Juergen Vigna <jug@sad.it>
10969 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10971 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10972 (TeXRow): added to LaTeX a single tabular row.
10973 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10974 (Latex): simplified and finally good LT-h/f support.
10975 (various_functions): just small adaptions for LT-h/f support.
10977 * tabular_funcs.[hC]: added and moved here all not classfunctions
10980 2001-12-19 Juergen Vigna <jug@sad.it>
10982 * tabular.[Ch]: better support for longtabular options (not finished
10985 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * text.C (paintLastRow): use the label font instead of the font of
10988 the last character to compute the size of *_BOX. This makes more
10989 sense and avoids a crash with empty paragraphs.
10990 Use Painter::rectangle to draw EMPTY_BOX.
10992 2001-12-19 Juergen Vigna <jug@sad.it>
10994 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10995 the paragraphs if the replaced paragraph is not the first one!
10996 Tried to delete not used paragraphs but does not work yet so for
10997 now it's inside #ifdef's and by default off!
10999 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11001 * MenuBackend.C: include "lyx_main.h" instead of declaring
11002 lastfiles (actually was declared as LastFiles* instead of a
11005 2001-12-17 Juergen Vigna <jug@sad.it>
11007 * tabular.C (AppendColumn): applied John's fix
11009 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11013 * BufferView_pimpl.h:
11014 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11017 * box.h: new start of class for above
11019 * lyxfunc.C: ignore space-only minibuffer dispatches.
11020 Show the command name when it doesn't exist
11022 * minibuffer.C: don't add empty lines to the history
11024 * minibuffer.C: add a space on dropdown completion
11026 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11028 * text.C: fix line above/below drawing in insets
11030 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * lyxlength.C (LyXLength): Initialize private variables.
11034 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11036 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11037 when inserting error insets.
11039 2001-12-13 Juergen Vigna <jug@sad.it>
11041 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11042 actually sometimes the before-paragraph.
11043 (setUndo): don't clear the redostack if we're not actually undoing!
11045 2001-12-06 Juergen Vigna <jug@sad.it>
11047 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11048 and fixed redoing of main paragraph, so we can use it now ;)
11050 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11052 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11054 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11057 2001-12-13 André Pönitz <poenitz@gmx.net>
11060 * undo_func.C: minor cleanup
11062 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11064 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11065 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11066 font in urw-fonts package which is marked as -urw-fontspecific and
11067 does not work (incidentally, changing the encoding in the
11068 fonts.dir of this package to -adobe-fontspecific fixes the
11071 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11072 is a crash when undoing first paragraph (Juergen, please take a
11073 look). THis does not mean the undo fix is wrong, just that it
11076 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11077 the (Paragraph*) version when needed instead of duplicating the
11080 * text.C (workWidth): use Inset::parOwner to find out where the
11081 inset has been inserted. This is a huge performance gain for large
11082 documents with lots of insets. If Inset::parOwner is not set, fall
11083 back on the brute force method
11085 * paragraph_pimpl.C (insertInset):
11086 * paragraph.C (Paragraph):
11087 (cutIntoMinibuffer): set parOwner of insets when
11088 inserting/removing them
11090 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11092 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11098 * mathed/formulabase.C:
11099 * mathed/math_cursor.[Ch]:
11100 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11103 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * lyxlength.[Ch] (operator!=): new function
11107 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * text.C (workWidth): use Inset::parOwner to find out where the
11110 inset has been inserted. This is a huge performance gain for large
11111 documents with lots of insets. If Inset::parOwner is not set, fall
11112 back on the brute force method
11114 * paragraph_pimpl.C (insertInset):
11115 * paragraph.C (Paragraph):
11116 (cutIntoMinibuffer): set parOwner of insets when
11117 inserting/removing them
11119 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11121 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * tabular-old.C (getTokenValue):
11124 * tabular.C (getTokenValue):
11125 (write_attribute): new versions for LyXLength
11126 (everywhere): adjust the use of widths
11128 * tabular.h: change the type of widths from string to LyXLength
11130 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11132 * paragraph.C: fixed missing line number count when exporting
11133 Environments to LaTeX file
11135 * buffer.C: added informational message for checking line numbers.
11137 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11140 paragraph, do the 'double space' part, but not the 'empty
11143 * text.C (workWidth): small optimization
11144 (getLengthMarkerHeight): use minimal size for negative lengths.
11146 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11148 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11150 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11152 2001-12-11 André Pönitz <poenitz@gmx.net>
11155 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11157 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11159 * text2.C: keep selection on a setFont()
11161 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11163 * lyx_cb.C: another bv->text misuse, from insert label
11165 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11168 * kbsequence.C: re-instate nmodifier mask
11170 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11172 * lyx_main.h: make lyxGUI private.
11174 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11176 * lyxfind.C: place the cursor correctly on failed search
11178 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * text.C (getLengthMarkerHeight): for small heights, the arrows
11181 are not always on top/bottom of the text
11182 (drawLengthMarker): smaller arrows; take the left margin in
11183 account; draw also vfills.
11185 (paintLastRow): remove special code for vfill and standard spaces,
11186 since everything is handled in drawLengthMarker now.
11188 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * buffer.C (insertErtContents): try to handle font and language
11191 interaction a bit better.g
11193 * ColorHandler.C (updateColor): change the hash to cover the whole
11194 LColor enum, ws cleanup
11195 (getGCLinepars): ditto
11196 (getGCLinepars): only lookup in the linecache once.
11198 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11200 * iterators.C (operator++): Make the iterator more robust
11202 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11209 * text.C: better added space drawing
11211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11214 * BufferView2.C: fix layout combo update on inset unlock
11216 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11218 * Makefile.am: don't compile unused files
11220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11224 * LyXAction.C: remove old LFUN_LAYOUTNO
11226 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11228 * paragraph_pimpl.h:
11229 * paragraph_pimpl.C: isTextAt() doesn't need font param
11231 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11234 * lyxlex.C: little cleanup
11236 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11238 * BufferView_pimpl.C: fix insertAscii for insets
11240 2001-12-05 Juergen Vigna <jug@sad.it>
11242 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11243 set the right font on the "multi" paragraph paste!
11245 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * lyxlength.C: remove out-commented code.
11253 * BufferView_pimpl:
11267 * vc-backend.C: change "while(" to "while ("
11269 * lyxlength.[Ch]: add zero function to check if length is zero or
11271 * lyxgluelength.C: use it
11273 2001-12-05 Allan Rae <rae@lyx.org>
11275 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11276 Works for 2.95.3, from what I understand of Garst's reports this should
11277 work for other g++ versions. We're screwed if the abs(int) definition
11278 changed between bugfix releases of gcc.
11280 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11282 * text.C: fix chapter label offset !
11284 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11287 * text.C: fix hfill at end of line, clean up
11289 2001-12-04 Juergen Vigna <jug@sad.it>
11291 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11292 that we force an update of the inset and it's owners if neccessary.
11294 2001-12-03 Juergen Vigna <jug@sad.it>
11296 * text.C (rowLast): simplified code
11298 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11300 * lyxfunc.C: fix show options on timeout
11302 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * screen.C (topCursorVisible): scroll half a page when the cursor
11305 reached top of bottom of screen
11307 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11309 * minibuffer.C: deactivate on loss of focus
11311 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11313 * vspace.[Ch] (operator!=): add operator.
11315 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11317 * BufferView_pimpl.C: refuse to open an inset when
11318 there's a selection.
11320 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11322 * BufferView_pimpl.C: allow to click on RHS of full row insets
11324 2001-11-30 Juergen Vigna <jug@sad.it>
11326 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11327 insets for undo reasons.
11329 2001-11-28 André Pönitz <poenitz@gmx.net>
11331 * vspace.[Ch]: cosmetical changes
11333 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11343 * kbsequence.C: part re-write of old kb code
11346 * WorkArea.C: remove Lgb_bug_find_hack
11348 2001-11-30 José Matos <jamatos@fep.up.pt>
11350 * buffer.C (makeDocBookFile): add a comment to point a hack.
11351 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11352 Fixed a double write of labels.
11354 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11357 * LaTeX.h Fixed bug in LaTeX class where it would not
11358 re-run latex if no depfiles were changed, but the .dvi was removed.
11360 2001-11-28 André Pönitz <poenitz@gmx.net>
11362 * all the files from the change on 2001/11/26:
11363 use lyx::layout_type instead of LyXTextClass::size_type
11364 use lyx::textclass_type instead of LyXTextClassList::size_type
11366 2001-11-29 Juergen Vigna <jug@sad.it>
11368 * text.C: added support for paragraph::isFreeSpacing()
11370 * buffer.C: same as above
11372 * paragraph.h: inserted isFreeSpacing() function to enable
11373 FreeSpacing inside InsetERT.
11375 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11376 of the paragraph's in the cut/copy buffer to 0!
11378 * text2.C (removeRow): remove the assert as it can!
11380 * lyxtext.h: added helper function firstRow returning firstrow and
11381 made firstrow private again.
11383 * BufferView2.C (lockInset): don't relock if we're already locked!
11385 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11386 the only paragraph.
11387 (removeRow): added Assert::(firstrow)
11389 * debug.C: forgot to add INSETTEXT here.
11391 2001-11-28 Juergen Vigna <jug@sad.it>
11393 * sp_spell.C (initialize): changed error text to more general
11394 spellchecker command use (not only ispell!)
11396 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11398 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11400 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11402 * vspace.C: initialise lyxgluelength on failure
11404 2001-11-28 Allan Rae <rae@lyx.org>
11406 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11407 declaration & definition that looks like a function declaration.
11409 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * BufferView2.C (copy):
11412 (copyEnvironment): do not clear the selection when doing a copy.
11414 * text.C (paintFirstRow): compilation fix
11416 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11418 * tabular.C (Latex): correct line count when writing latex.
11420 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11422 * paragraph_pimpl.h:
11423 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11426 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11430 * LColor.C: change vfillline->added_space
11432 * text.C: add markers and text for added space
11434 * vspace.C: fix comment
11436 2001-11-28 André Pönitz <poenitz@gmx.net>
11438 * paragraph.C: whitespace changes
11439 * all the other files from the change on 2001/11/26:
11440 change *::pos_type into lyx::pos_type
11442 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11444 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11445 language of the document when inserting error insets.
11447 2001-11-26 André Pönitz <poenitz@gmx.net>
11449 * BufferView_pimpl.[Ch]:
11457 * paragraph_pimpl.[Ch]:
11460 * text2.C: reduce header dependencies, introduce type for positions
11462 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11464 * <various>: change to use Alert.h
11466 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11468 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11469 when encountering an unknown token.
11470 (readLyXformat2): Show an error message if there were unknown tokens.
11472 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView_pimpl.C:
11479 * text2.C: use par->isInset()
11481 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11483 * paragraph_pimpl.h:
11484 * paragraph_pimpl.C: cleanup
11486 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11488 * text2.C (removeRow):
11489 * text.C (setHeightOfRow): remove useless (and costly) call to
11492 2001-11-20 Allan Rae <rae@lyx.org>
11494 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11495 Now need Inset*::checkInsertChar() to return true for appropriate
11496 cases so that the characters in the minibuffer will actually be
11499 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11501 * text.C: change the order of the includes.
11502 (workWidth): initialize it at once.
11503 (workWidth): make maxw unsigned
11504 (setHeightOfRow): remove unused variable (inset)
11505 (selectSelectedWord): remove unused variable (inset)
11506 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11508 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11510 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11511 server is not running.
11513 (closeConnection): add debug info when server is disabled.
11515 * ColorHandler.C (getGCForeground): send debug message to GUI
11518 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11520 * kbmap.C (bind): modify because return conventions of
11521 kb_sequence::parse have changed.
11523 * kbsequence.C (parse): only ignore spaces and not any stupid
11524 control character. This avoids tests like s[i] <= ' ', which are
11525 guaranteed to fail with 8bit characters and signed chars.
11526 Change return code to string::npos when there have been no error
11527 (0 was a bad idea when error is at first character)
11529 2001-11-14 José Matos <jamatos@fep.up.pt>
11532 * buffer.C (simpleDocBookOnePar): removed unused argument.
11534 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11536 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11537 insets which are part of a word. Paragraph::isLetter takes care of
11538 that now. Use Paragraph::isInset to identify insets.
11539 (selectSelectedWord): do not test for hyphenation break.
11541 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11542 that protected spaces are considered as spaces.
11544 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11547 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11550 * lyxserver.C: fix it. and small cleanup.
11552 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11554 * BufferView_pimpl.C: use inline helpers
11557 * LaTeXFeatures.C: fix typos
11560 * Spacing.C: move spacing_string into class
11562 * ToolbarDefaults.C: move stuff into namespace anon
11564 * layout.h: update enum
11566 * lyxfunc.C: use better debug
11568 * minibuffer.h: fix typo
11572 * WorkArea.C: add and use Debug::WORKAREA
11576 * text2.C: code re-organisation, inline helpers
11578 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11580 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11581 std::vector.empty().
11583 2001-11-09 Allan Rae <rae@lyx.org>
11585 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11586 '\n's after tables. Tabular and ERT inset work now makes this no
11589 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11592 * minibuffer.C: fix crash, improve drop-down completion
11594 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11597 * lyxserver.C: invalidate fd's when doing endPipe()
11599 2001-11-08 José Matos <jamatos@fep.up.pt>
11601 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11602 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11605 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11607 2001-11-07 José Matos <jamatos@fep.up.pt>
11610 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11613 * buffer.C (sgmlOpenTag):
11614 * buffer.C (sgmlCloseTag): removed debug info.
11616 * buffer.h (sgmlOpenTag):
11617 * buffer.h (sgmlCloseTag): made public.
11619 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * buffer.C (saveParamsAsDefaults):
11622 * lyx_cb.C (MenuLayoutSave): remove
11624 * LyXAction.C (init):
11626 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11628 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * buffer.C (setPaperStuff): removed from here...
11632 * bufferparams.C (setPaperStuff): ... and moved there.
11634 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11638 * XFormsView.C: add support for drop-down completion
11640 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11642 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11645 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11647 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11650 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11652 * lyx_main.C: change ref to known bugs
11654 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11656 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11657 to work around older babel problems.
11659 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11661 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11663 2001-10-24 Juergen Vigna <jug@sad.it>
11665 * tabular-old.C (ReadOld): below variable changes reflected.
11667 * tabular.[Ch]: added ltType struct for longtable header/footer
11668 defines and changed all instances where they are used. Added
11669 future support for double top/bottom rows.
11671 2001-10-24 José Matos <jamatos@fep.up.pt>
11673 * buffer.h (docbookHandleCaption):
11674 * buffer.C (docbookHandleCaption): removed unused function.
11675 (makeDocBookFile): moved docbook supported version to v4.1.
11677 2001-10-24 José Matos <jamatos@fep.up.pt>
11680 * tabular.C (docbookRow): new function to export docbook code of a row.
11681 (DocBook): now honors the longtable flags.
11683 2001-10-23 José Matos <jamatos@fep.up.pt>
11686 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11687 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11689 * buffer.C (makeLinuxDocFile):
11690 (makeDocBookFile): reworked the preamble, more clean, and with
11691 support for lyx defined entities. Changed the document declaration
11692 to be more XML friendly.
11694 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11695 if we need to output XML that should be done with a filter.
11697 2001-10-22 Juergen Vigna <jug@sad.it>
11699 * sp_pspell.h (class PSpell): add alive function needed in the
11700 controller to see if the spellchecker could be started.
11702 2001-10-22 Juergen Vigna <jug@sad.it>
11704 * buffer.C (insertStringAsLines): modify the font for inserting
11705 chars in certain conditions by calling checkInsertChar(font).
11707 2001-10-19 Juergen Vigna <jug@sad.it>
11709 * text.C (workWidth): use getRow instead of wrong algorithm.
11710 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11712 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11717 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11719 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * text.C (workWidth): do not search for the exact row when
11722 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11723 optimization for big documents.
11725 2001-10-18 Juergen Vigna <jug@sad.it>
11727 * text.C (workWidth): new function with added Inset * parameter.
11729 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11731 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11733 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11734 change return type of getColumnNearX.
11737 * text.C (changeRegionCase): use uppercase/lowercase instead of
11740 (rightMargin): simplify code by factoring out the uses of
11745 (appendParagraph): use Paragraph::size_type
11747 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11749 * vspace.C (asLatexString): add a missing break
11751 2001-10-15 Herbert Voss <voss@perce.de>
11753 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11755 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11760 2001-10-10 André Pönitz <poenitz@gmx.net>
11762 * lyxfunc.C: removed greek_kb_flag.
11764 2001-10-10 Herbert Voss <voss@perce.de>
11766 * lyx_main.C: delete global string help_lyxdir.
11768 2001-10-09 Herbert Voss <voss@perce.de>
11770 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11772 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11774 * lyx_main.C: added global string help_lyxdir.
11776 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11778 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11780 * lyxrc.C (set_font_norm_type): support iso8859-4
11782 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11784 * LaTeX.C (deplog): add another regex for MikTeX
11786 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11788 * lyxrc.C (set_font_norm_type): support iso8859-3
11790 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11794 * LaTeXFeatures.C: remove special case of french and index
11796 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11797 before \begin{document}). This solves several incompatibilities.
11799 2001-10-03 Garst Reese <reese@isn.net>
11801 * lyx_cb.C: change CheckTex error msg.
11803 2001-10-03 José Matos <jamatos@fep.up.pt>
11805 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11807 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11809 * .cvsignore: update
11811 * lyx_main.C (commandLineVersionInfo): use new style version info.
11813 * buffer.C (writeFile):
11815 (makeLinuxDocFile):
11816 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11818 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11820 * version.h: update to use stuff in version.C
11822 * version.C.in: new file. Contains version information determined
11823 at compile time. This is a merging of version.h and
11826 2001-10-03 Juergen Vigna <jug@sad.it>
11828 * BufferView_pimpl.C (update): don't change "dirty" status in
11831 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11833 * WorkArea.C (c-tor): re-position version string slightly.
11835 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11837 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11838 revert to previous code.
11840 WorkArea.[Ch]: (show, destroySplash): methods removed.
11842 WorkArea.C: rework code so that it's an amalgam of the codes before and
11843 after the splash screen was moved to WorkArea.
11845 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11848 * vspace.C (inPixels):
11851 * buffer.C (insertStringAsLines):
11852 (asciiParagraph): fix types to be large enough
11854 * lyxlex_pimpl.h: change member status from short to int
11856 * layout.h: fix type of endlabeltype
11859 * kbsequence.C (parse): change return type to string::size_type
11861 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11864 * Bullet.C (bulletSize):
11865 (bulletEntry): do not use short ints as parameters
11867 * BufferView2.C (insertLyXFile): change a char to an int.
11869 * WorkArea.C (WorkArea): remove unneeded floats in computation
11871 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11873 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11875 * paragraph.C (asString): Do not ignore newline/hfill chars when
11876 copying to the clipboard.
11878 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11880 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11881 after a multi-line inset.
11883 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11885 * paragraph.C (validate): Set NeedLyXFootnoteCode
11887 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11889 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11890 and decrease-error to decrease.
11892 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11895 it more readable (should be equivalent)
11897 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11899 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11901 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11904 of a cursor (row, etc.) after a character has been deleted
11905 (deleteEmptyParagraphMechanism): call the method above on _all_
11906 cursors held by the LyXText when a double space has been
11909 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11911 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11913 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11915 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11916 background. Use greyOut() and the new show() methods to toggle between
11917 the foreground and background. Add code to remove the splash after
11918 its initial showing.
11920 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11921 (create_forms): no longer call Dialogs::showSplash.
11923 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11925 * .cvsignore: add version_info.h
11927 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11929 * version_info.h.in: new file
11931 * Makefile.am: add version_info.h.in
11933 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11934 version_info.h instead of VERSION_INFO
11936 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11938 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11939 The ERT inset now returns string().
11941 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11943 * lyxtext.h, text.C (selectNextWord): renamed as
11944 selectNextWordToSpellcheck.
11946 * text.C (selectNextWordToSpellcheck): Modified to not select
11947 words inside an ERT inset.
11949 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11951 * lyx_cb.C (MenuLayoutSave): change a bit the question
11953 * sp_base.h: include <sys/types.h>
11955 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11957 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11959 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11961 * several files: fix typos in user-visible strings
11963 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11965 * text2.C (pasteSelection): do not set the selection, since it
11966 will be cleared later. Actually, the intent was to fix the way the
11967 selection was set, but I figured rmoving the code was just as good.
11969 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11971 * FontLoader.C (available): Check if font is available without
11974 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11976 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11978 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11980 * lyxrc.[Ch]: added display_graphics variable and associated code.
11982 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * bufferparams.C (hasClassDefaults): new method. Returns true if
11985 the buffer parameters correspond to known class defaults
11987 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11989 * XFormsView.C (show): set minimum size to the main window.
11991 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * text2.C (copySelection):
11995 * lyxfind.C (LyXReplace):
11996 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11997 LyXText::selectionAsString.
11999 * paragraph.C (asString): add "label" argument to the second form
12001 * text2.C (selectionAsString): add "label" argument and pass it to
12002 Paragraph::asString.
12004 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * lyx_main.C (commandLineHelp): remove version information
12008 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12010 * lyx_main.C: add -version commandline option
12012 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * paragraph.h: make the optional constructor arg required instead.
12015 some modifications to other files because of this.
12017 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12019 * lyxserver.C (C_LyXComm_callback): make it static
12021 * lyx_main.C (error_handler): make it static
12023 * lyx_gui.C (LyX_XErrHandler): make it static
12025 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12027 * WorkArea.C: make the extern "C" methods static.
12029 * Makefile.am (lyx_LDADD): simplify
12031 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12033 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12034 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12036 * LyXAction.C (init):
12037 * lyxfunc.C (dispatch): associated code removal.
12039 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * lyxfont.h (isSymbolFont): shut off warning
12043 * text.C (setHeightOfRow):
12044 (getVisibleRow): fix crash with empty paragraphs which have a
12047 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12049 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12052 2001-09-04 José Matos <jamatos@fep.up.pt>
12055 * tabular.C (docbook): rename docBook method to docbook.
12057 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12059 * Makefile.am: add dependencies to main.o.
12061 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12063 * FontLoader.C (available): Return false if !lyxrc.use_gui
12065 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12067 * FontInfo.C (query):
12068 * converter.C (view):
12069 * importer.C (Import):
12070 * exporter.C (Export): Can not -> cannot.
12072 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12074 * BufferView_pimpl.C: allow to create index inset even if
12077 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12079 * buffer.C (getLists): replace boost::tie code with an explicit pair
12080 as boost::tie can break some compilers.
12082 * iterators.h: Added a std:: declaration to the return type of
12085 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12087 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12090 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12092 * iterators.[Ch]: New files. Provide paragraph iterators.
12094 * buffer.C (changeLanguage): Use paragraph iterators.
12095 (isMultiLingual): ditto
12097 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12099 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12101 * FontLoader.C: Support for cmr font.
12103 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12105 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12106 (available): New method.
12108 * FontInfo.C (getFontname): Use scalable fonts even when
12109 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12112 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12114 * converter.C (Formats::view): reverted! Incorrect fix.
12116 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12118 * converter.C (Formats::view): only output the -paper option
12119 if the dvi viewer is xdvi, thereby fixing bug #233429.
12121 2001-08-23 Herbert Voss <voss@perce>
12123 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12125 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12127 * Spacing.h (Spacing): Set space to Default on in the default
12130 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * vc-backend.h (RCS::versionString): add RCS to version
12133 (CVS::versionString): add CVS to version
12135 * vc-backend.C (scanMaster): do not add CVS to version.
12136 (scanMaster): do not add RCS to version
12138 * lyxvc.C (versionString): new method
12140 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12142 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12144 * Spacing.C (set): initialize fval
12146 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12148 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12151 2001-08-16 Juergen Vigna <jug@sad.it>
12153 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12155 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.C:
12160 * text2.C: setParagraph takes linespacing now
12162 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12164 * LyxAction.C: add internal LFUN_CITATION_INSERT
12166 * LyXView.C: actually apply fix
12168 * bufferlist.C: fix open non-existent file
12170 * lyxfind.C: fix indentation
12172 * lyxfunc.C: remove unneeded assert, fix typo
12174 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12176 * MenuBackend.C: use "Floatname List"
12178 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12180 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12181 when converting LaTeX layout to insetERT.
12182 Generate a non-collapsed float when reading old float
12184 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12186 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12189 2001-08-13 Juergen Vigna <jug@sad.it>
12191 * text.C (fill): return 0 instead of 20 as this seems to be the more
12194 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12196 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12199 2001-08-13 Juergen Vigna <jug@sad.it>
12201 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12203 (SearchBackward): comment out the unlocking of the inset_owner this
12204 should not be needed!
12206 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12208 * Many files: Remove inherit_language, and add latex_language
12210 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12211 collapsible insets.
12213 2001-08-10 Juergen Vigna <jug@sad.it>
12215 * text.C (prepareToPrint): fixed hfill-width in draw!
12217 * BufferView2.C (selectLastWord): save the selection cursor as this
12218 now is cleared in the function LyXText::clearSelection!
12220 2001-08-08 Juergen Vigna <jug@sad.it>
12222 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12223 BACKSPACE type functions.
12225 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12226 is only cutted from the document but not put in the cut-buffer, where
12227 still the old stuff should be.
12229 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12231 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12233 * tabular.C (SetWidthOfCell): fixed special case where the width
12235 (LeftLine): handle '|' in align_special.
12237 (LeftAlreadyDrawed): ditto
12238 (SetWidthOfCell): ditto
12240 2001-08-07 Juergen Vigna <jug@sad.it>
12242 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12244 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12247 * lyxlex.[hC]: ditto
12249 2001-08-06 Juergen Vigna <jug@sad.it>
12251 * text.C (getVisibleRow): fix up row clearing a bit.
12253 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * minibuffer.C: make sure the X server sees the changes in the input.
12257 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12259 * paragraph.C (getFont): split into...
12260 (getLabelFont): this
12261 (getLayoutFont): and this
12262 * paragraph_pimpl.C (realizeFont): calling this
12264 * text2.C (getFont): split into...
12265 (getLayoutFont): this
12266 (getLabelFont): and this
12267 (realizeFont): all three calling this
12269 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12272 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12276 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12278 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12279 layouts from the Quote inset insertion.
12281 2001-08-03 Juergen Vigna <jug@sad.it>
12283 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12285 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12286 only if status not is already CHANGED_IN_DRAW (second level).
12288 * text.C (draw): don't set the need_break_row when inside an
12291 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * buffer.C (parseSingleLyXformat2Token): handle more latex
12296 * bufferview_funcs.[hC]: change function names to
12297 begin with small char, adjust other files.
12299 2001-08-02 André Pönitz <poenitz@gmx.net>
12302 BufferView_pimpl.C: remove broken special code for math-greek
12304 2001-08-02 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (update): redone this function so that we
12307 update the text again if there was a CHANGE_IN_DRAW.
12309 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12310 (drawFromTo): added a new internal bool which is used by draw() and
12312 (general): some cursor drawing problems fixed.
12314 2001-08-01 Juergen Vigna <jug@sad.it>
12316 * lyxfind.C (LyXFind): fixed
12317 (SearchForward): ditto
12318 (SearchBackward): ditto
12320 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12321 spurius drawing of the cursor in the main area.
12323 * text2.C (status): small fix which could lead to a segfault!
12324 (clearSelection): remove unneeded BufferView param.
12326 2001-08-01 André Pönitz <poenitz@gmx.net>
12328 * lyxfunc.C: small change due to changed mathed interface
12330 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12332 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12334 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12336 * lyxfunc.c: fail gracefully if file doesn't exist
12341 * BufferView_pimpl.C: IsDirWriteable() proto changed
12343 * LyXView.C: fix updateWindowTitle() to store the last title
12345 2001-07-31 Juergen Vigna <jug@sad.it>
12347 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12348 the font (wrong since using of Paragraph::highestFontInRange).
12350 * paragraph.C (highestFontInRange): added a default_size parameter.
12352 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12353 (setHeightOfRow): reformat
12355 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * converter.[hC] + affected files: move to (inital-char)lowercase
12360 * ParagraphParameters.C (ParagraphParameters): remove commented code
12362 * PainterBase.[Ch]: remove commented code
12364 * LaTeXFeatures.h: add "bool floats" for float.sty
12366 * LaTeXFeatures.C (LaTeXFeatures): init floats
12367 (require): handle float
12368 (getPackages): do it with floats
12370 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12372 * BufferView_pimpl.C (Dispatch): improve handling of
12373 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12375 * commandtags.h: #include lyxfont.h here temporarily to avoid
12378 * bufferlist.h: include LString.h here.
12380 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12382 * text2.C (getStringToIndex): new method.
12384 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12386 * *: Reduced header file dependencies all over.
12388 2001-07-30 Baruch Even <baruch@lyx.org>
12390 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12392 2001-07-29 Baruch Even <baruch@lyx.org>
12394 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12396 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * ParameterStruct.h (endif): add a default constructor to make
12399 sure that all variables is initialized.
12401 * ParagraphParameters.C (ParagraphParameters): adjust
12403 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12405 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12406 index; also, check that there is something to index, and that it
12407 does not span over several paragraphs.
12408 (doubleClick): use WHOLE_WORD_STRICT for double click.
12410 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12412 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12415 2001-07-26 Baruch Even <baruch@lyx.org>
12417 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12418 an InsetFig figure, backwards compatible reading of old figure code.
12420 2001-07-27 Juergen Vigna <jug@sad.it>
12422 * text2.C: font.realize function adaption.
12424 * text.C (draw): add a warnings lyxerr text if needed.
12426 * layout.C: font.realize function adaption.
12428 * language.C: add inherit_language and implement it's handlings
12430 * bufferview_funcs.C (StyleReset): remove language parameter from
12431 font creation (should be language_inherit now).
12433 * bufferparams.C (writeFile): handle ignore_language.
12435 * paragraph.C (getFontSettings): the language has to be resolved
12436 otherwise we have problems in LyXFont!
12438 * lyxfont.C (lyxWriteChanges): added document_language parameter
12439 (update): removed unneeded language parameter
12441 * paragraph.C (validate): fixed wrong output of color-package when
12442 using interface colors for certain fonts in certain environments,
12443 which should not seen as that on the final output.
12445 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12447 * BufferView_pimpl.C:
12452 * LyXAction.C: add thesaurus support
12455 * lyxfind.C: add "once" parameter, for thesaurus, to not
12456 move to the next match
12458 2001-07-26 Juergen Vigna <jug@sad.it>
12460 * lyxfont.C (realize): honor ignore_language too!
12463 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12465 * text.C (draw): one place more for ignore_language to not draw
12468 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12470 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12472 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12475 the minipage conversion problem.
12477 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12482 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * BufferView.h: don't forward declare WorkArea
12486 * BufferView.C: don't include WorkArea.h
12488 2001-07-25 André Pönitz <poenitz@gmx.net>
12492 * lyxfunc.C: new LFUN 'math-space'
12494 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12496 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * text2.C (toggleInset): call open/close
12500 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * lyxfunc.C (dispatch): add debug for the disabled case
12504 * font.C (buttonText): make similar to rectText
12506 * buffer.C (readInset): comment out parsing of insetlist and
12509 * PainterBase.C (rectText): small correction
12511 * BufferView_pimpl.C: comment out insettheorem and insetlist
12512 * LyXAction.C: ditto
12513 * commandtags.h: ditto
12515 2001-07-24 Juergen Vigna <jug@sad.it>
12517 * text.C (draw): honor the ignore_language.
12519 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12521 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12523 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12526 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12528 * lyxtext.h: remove unused (and unimplemented) methods
12530 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12532 * text.C (getVisibleRow): honor background color
12535 * Painter.h: remove default color argument for fillRectangle
12537 * text.C (backgroundColor): new method
12539 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * text.C (getVisibleRow): adjust
12543 * font.[Ch] (rectText): new method, metrics
12544 (buttonText): new method, metrics
12546 * PainterBase.[hC]: make rectText and buttonText always draw and take
12549 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12551 * ToolbarDefaults.C (read):
12552 * MenuBackend.C (read): allow escaping in all strings
12554 * BufferView_pimpl.C (insertAndEditInset): new method.
12555 (Dispatch): use insertAndEditInset whenever appropriate.
12557 * BufferView_pimpl.C (insertNote): removed
12559 * BufferView_pimpl.C (smartQuote): new method, moved from
12560 BufferView; if an insetquote cannot be inserted, insert a '"'
12563 * BufferView2.C: remove insertCorrectQuote();
12565 * lyxfunc.C (getStatus): Add support for all remaingin
12566 inset-insert lfuns.
12568 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12570 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12571 command (necessary to pass " as parameter of self-insert.
12573 * text.C (selectWordWhenUnderCursor):
12574 (selectWord): add word_location parameter
12575 (selectWordWhenUnderCursor): same + remove special code for word
12577 (selectNextWord): use kind() to guess type of insetspecialchar,
12580 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12581 (insertErtContents): create ert insets as collapsed.
12582 (readInset): better compatibility code for Info inset.
12584 2001-07-20 Juergen Vigna <jug@sad.it>
12586 * lyxfunc.C (dispatch): use always LyXFind now!
12588 * text2.C (init): add a reinit flag so that the LyXText can be
12589 reinited instead of deleted and reallocated (used in InsetText).
12591 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12597 2001-07-18 Juergen Vigna <jug@sad.it>
12599 * text.C (selectNextWord): handle insets inside inset by calling
12600 always the bv->text functions so that we can go up the_locking_inset!
12602 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12603 in strange locations when inside an inset!
12605 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12606 handling to include insets.
12608 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12610 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * LyXAction.C (init):
12614 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12615 LIGATURE_BREAK, since the name is so stupid.
12617 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12619 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12622 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12624 * sp_form.[Ch]: remove.
12626 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12628 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12631 * src/buffer.C (readInset): ditto.
12633 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12635 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12636 menuSeparator(), endOfSentenceDot(), ldots() and
12637 hyphenationPoint(), which are therefore removed.
12638 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12640 * LyXAction.C (init):
12641 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12643 * paragraph.C (getWord): removed.
12645 * BufferView_pimpl.C (Dispatch): use last word or selection for
12646 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12648 * lyx_main.C (queryUserLyXDir): do not ask before creating
12649 user_dir, except if it has been named explicitely.
12651 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12653 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12654 a document of zero size.
12656 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12658 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12659 approriately in the c-tor and in require().
12660 (getPackages): output the appropriate LaTeX for natbib support.
12662 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12663 variables "use_natbib" and "use_numerical_citations" when reading the
12665 (readInset): read the various natbib cite commands.
12666 (validate): white-space change.
12668 * bufferparams.[Ch]: new variables "bool use_natbib" and
12669 "bool use_numerical_citations".
12670 (writeFile): output them in the LyX file.
12672 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12674 * lyxfunc.C (getStatus): add support for all the inset insertion
12677 * text2.C (insertInset):
12678 * paragraph.C (insetAllowed):
12679 * BufferView_pimpl.C (insertInset): update to take in account the
12680 renaming of insertInsetAllowed
12682 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12684 * text2.C (getInset): new method. returns inset at cursor position.
12686 * BufferView_pimpl.C (Dispatch): changes because of this.
12688 * LyXAction.C (init): rename open-stuff to inset-toggle.
12690 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12692 * text2.C (toggleInset): renamed from openStuff; use
12695 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12697 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12699 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12701 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12703 * buffer.C (readLyXformat2): Add filename to the error dialog
12705 2001-07-18 Juergen Vigna <jug@sad.it>
12707 * tabular.C (GetCellNumber): put an assert here instead of the check!
12709 2001-07-17 Juergen Vigna <jug@sad.it>
12711 * BufferView_pimpl.C (toggleSelection): adapted too.
12713 * text.C (selectNextWord): adapted for use with insets.
12714 (selectSelectedWord): ditto
12716 2001-07-17 Juergen Vigna <jug@sad.it>
12718 * sp_spell.C (PSpell): fix initialitation order.
12720 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * paragraph.C: spacing
12724 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12726 * sp_spell.C: repair language selection for pspell
12728 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * lyxfunc.h: change more methods to begin with lower char.
12732 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12734 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12735 for unknown layouts.
12737 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12739 * buffer.C (readLyXformat2): Generate an error dialog if there are
12742 2001-07-16 Juergen Vigna <jug@sad.it>
12744 * sp_spell.C: always compile ISpell part.
12746 * lyxrc.C: added use_pspell entry and it's handling.
12748 2001-07-13 Juergen Vigna <jug@sad.it>
12750 * sp_spell.C: removed double includes.
12752 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12754 Consistent use of Lsstream.h:
12755 * Lsstream.h: added using std::stringstream for consistencies sake.
12757 * buffer.C: removed using std::stringstream
12759 * lyxfont.C (stateText):
12760 * paragraph.C (asString):
12761 * text.C (selectNextWord, selectSelectedWord):
12762 * text2.C (setCounter):
12763 * vspace.C (asString, asLatexString):
12764 std::ostringstream -> ostringstream.
12766 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12768 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12769 * commandtags.h: add LFUN_HELP_ABOUTLYX
12770 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12772 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12774 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12776 * lyx_gui_misc.C: remove spellchecker
12777 * lyxfunc.C: showSpellchecker
12779 * sp_ispell.h: added
12780 * sp_pspell.h: added
12781 * sp_spell.C: added
12782 * sp_form.[Ch]: removed
12783 * spellchecker.[Ch]: removed
12785 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12787 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12789 (simpleTeXSpecialChars): Simply print the input character without
12790 any special translation if pass_thru is set.
12792 * layout.h: Added bool pass_thru to layout class for being able to
12793 implement pass through of a paragraph for Literate Programming.
12795 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12796 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12797 * layout.C (Read): add "passthru" to list of layout tags and add
12798 code to set the pass_thru boolean when it is read.
12800 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * trans_decl.h: remove allowed from KmodInfo
12804 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12805 remove allowed code
12808 * paragraph_pimpl.C (erase): use boost::prior
12810 * Painter.C (text): use data() instead of c_str() when length is
12812 * WorkArea.C (putClipboard): ditto
12813 * font.h (width): ditto
12815 * BufferView2.C: use it-> instead of (*it). for iterators
12817 * paragraph_pimpl.C: ditto
12818 * paragraph.C: ditto
12819 * minibuffer.C: ditto
12820 * language.C: ditto
12822 * encoding.C: ditto
12823 * counters.C: ditto
12824 * converter.C: ditto
12826 * Variables.C: ditto
12827 * TextCache.C: ditto
12828 * MenuBackend.C: ditto
12829 * LyXAction.C: ditto
12831 * FloatList.C: ditto
12832 * DepTable.C: ditto
12833 * ColorHandler.C (LyXColorHandler): ditto
12835 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12837 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12839 * text2.C (openStuff): reintroduce this method (which had been
12840 nuked in NEW_INSETS frenzy).
12842 * lyxfunc.C (Dispatch): when an action has not been handled, use
12843 its name in the error message, not its number.
12845 * paragraph.C (inInset): change method name to begin with lowercase.
12848 * text2.C: updates because of this.
12850 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * ToolbarDefaults.C (add): add spaces in error message
12854 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12857 (readLyXformat2): rename return_par to first_par, use lyxlex's
12858 pushToken and remove the manual push handling.
12859 (parseSingleLyXformat2Token): add another ert comp. variable:
12860 in_tabular, rename return_par to first_par. handle newlines better
12862 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12864 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12866 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * text2.C (getParFromID): removed
12870 * buffer.C (getParFromID): new method moved form lyxtext.
12871 * BufferView2.C (insertErrors): adjust
12872 (setCursorFromRow): adjust
12873 * BufferView_pimpl.C (restorePosition): adjust
12874 * lyxfunc.C (Dispatch): adjust
12875 * undo_funcs.C (textUndo): adjust
12877 (textHandleUndo): adjust
12878 (textHandleUndo): adjust
12880 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * buffer.C: up' the LYX_FORMAT
12884 * lyxfont.h: turn NO_LATEX on as default
12886 * buffer.C (insertErtContents): new methods of tex style compability.
12887 (parseSingleLyXformat2Token): use it several places.
12888 * tabular.C (OldFormatRead): and here
12890 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * text2.C: remove some commented code.
12895 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12896 * trans.C: changes because of the above.
12898 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12900 * text2.C (setCounter): Fix counters bug with bibliography layout.
12902 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12904 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12905 own member functions
12906 (simpleTeXSpecialChars): ditto
12908 2001-07-06 Juergen Vigna <jug@sad.it>
12910 * a lot of files: changed the access to LyXText::status and the
12911 call of undo-functions.
12913 * undo.[Ch]: added a inset_id to the undo informations.
12915 * undo_funcs.[Ch]: added and moved here all undo functions.
12917 * lyxtext.h: give the status enum a weight, made status_ a private
12918 variable and made accessor functions for it, removed the whole bunch
12919 of undo-functions as they are now in their own file, make some
12920 functions publically available. Added function ownerParagraph with
12923 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12924 made InInset() a const function, added getParFromID() function.
12926 * buffer.[Ch]: added const version for inset_iterator functions,
12927 added getInsetFromID() function.
12929 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12930 changed undo functions for new version.
12932 2001-07-05 Juergen Vigna <jug@sad.it>
12934 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12935 unknow mechanism does not call the proper constructor but only this
12936 one also if I request the other!?
12938 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12942 * text2.C (LyXText): use initialization lists.
12944 * lyxtext.h (Selection): initialize set_ and mark_
12945 (init): remove method
12947 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12949 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12951 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * screen.[Ch]: change method names to begin with lowercase
12955 * BufferView_pimpl.C (updateScrollbar): simplify further and
12956 hopefully make it a bit faster.
12958 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12961 calling directly xforms functions.
12963 * Painter.C (Painter):
12964 * lyx_cb.C (MenuWrite):
12965 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12968 * lyx_gui.C: remove bogus guiruntime extern declaration.
12970 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12974 (redoDrawingOfParagraph): ditto
12975 (redoParagraphs): ditto
12976 (cutSelection): don't create a object for CutAndPaste use the
12977 static method directly
12978 (pasteSelection): ditto
12980 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12983 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * modifications to some other files because of this.
12987 * Makefile.am (lyx_SOURCES): add XFormsView
12989 * XFormsView.[Ch]: new files
12991 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12992 the main window. Move the gui dependent stuff to XFormsView
12994 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12996 * tabular.C (GetCellInset): update cur_cell also in the row/col
12997 version of this function.
12999 * lyxfunc.C: no need to include figure_form.h here.
13005 * lyxvc.C: no need to include forms.h here.
13007 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13011 * lyxfunc.C (Dispatch):
13013 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13014 constructor argument.
13016 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * paragraph.C (Paragraph): dont't clear, and just set layout.
13019 (makeSameLayout): use params's copy contructor.
13021 * ParagraphParameters.[Ch] (makeSame): delete method
13023 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13025 * Variables.[Ch]: fix indentation, rename set to isSet
13027 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13029 * lyxfunc.C (Dispatch): fix typo
13031 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13033 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13036 * bufferlist.C: include assert.h for emergencyWrite().
13038 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13040 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13041 give up at last (bug #425202) !
13043 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13049 * spellchecker.C: strip spellchecker options and bring up
13050 preferences tab instead
13052 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13055 the istringstream constructor
13057 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * paragraph.C (getLayout): fix return value
13061 * paragraph.h: do not declare getLayout as inline.
13063 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13065 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * lyxcursor.h (operator<): new func
13068 (operator>): new func
13069 (operator>=): new func
13070 (operator<=): new func
13072 * text.C (changeCase): use selection.start and selection.end
13073 (changeRegionCase): require from to be <= to. Require par to be a
13076 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13078 2001-06-27 Juergen Vigna <jug@sad.it>
13080 * text.C (cursorLeftOneWord): changed to return the cursor and added
13081 overlay with BufferView * parameter which calls this one.
13083 (selectWord): use new getWord function.
13084 (changeCase): renamed from changeWordCase as and extended to work
13085 also on selections.
13087 * lyxtext.h: added enum word_location
13089 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13090 changeCase as this operates now also on selections.
13092 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13094 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13096 * many files: send debug output to Debug::INFO instead of
13099 * converter.C (View):
13101 (Move): send debug output to Debug::FILES instead of console.
13103 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13105 * lyxfunc.C (getStatus): use func_status
13107 * func_status.h: new header, describing the results of
13108 LyXFunc::getStatus;
13110 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13113 2001-06-25 The LyX Project <jug@sad.it>
13115 * buffer.C (sgmlOpenTag):
13117 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13119 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * text2.C: remove some dead code
13123 * tabular.C (GetCellInset): store the last cell checked (gotten)
13125 * tabular.h: add the helper for the speedup
13127 * lyxtext.h: remove some dead code
13129 2001-06-26 The LyX Project <Asger>
13131 * paragraph.C: Change export to LaTeX of alignment to
13132 \begin{center} and family for better roundtrip work with reLyX.
13134 * Tune the math drawing a bit.
13136 2001-06-25 The LyX Project <Asger>
13138 * LColor.C (LColor): New color for math background. New color
13141 2001-06-25 The LyX Project <jug@sad.it>
13143 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13145 * lyxfunc.C (Open):
13146 * bufferlist.C (newFile): do not restrict to files ending with
13149 * BufferView_pimpl.C (MenuInsertLyXFile):
13151 2001-06-24 The LyX Project <jug@sad.it>
13153 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13156 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * lyxtext.h: rename most methods to begin with a small char.
13159 Lots of changes because of this.
13161 * paragraph.C (Paragraph): do not call fitToSize
13162 (erase): call Pimpl::erase
13163 (insertChar): call Pimpl::insertChar
13164 (insertInset): call Pipl::insertInset
13165 (breakParagraph): do not call fitToSize
13166 (breakParagraphConservative): do not call fitToSize
13167 (fitToSize): remove method
13169 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13171 2001-06-24 The LyX Project <Asger>
13173 * Fix Qt compilation^2
13175 2001-06-24 The LyX Project <jug@sad.it>
13177 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13178 depthHook(getDepth()-1).
13181 * ParagraphParameters.h:
13182 * ParameterStruct.h: change type of depth to unsigned int ==
13183 depth_type. Many adaptations to other files before of that.
13185 2001-06-24 The LyX Project <Asger>
13187 * Fix Qt compilation.
13189 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13191 * paragraph.h: renamed several methods to begin with small letter.
13192 several changes to many parts of the code because of this.
13194 2001-06-23 The LyX Project <jug@sad.it>
13196 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13197 rewritten to discard all double spaces when KeepEmpty is off
13198 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13199 to only handle newlines but not fiddle with spaces and friends.
13201 * lyxfunc.C (MenuNew): when doing 'new from template', use
13202 template_path as default directory
13204 2001-06-23 The LyX Project <Asger>
13206 * Clean-up of header file includes all over
13207 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13209 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * paragraph.h: renamed from lyxparagraph.h
13213 2001-06-23 Asger <lyx@violet.home.sad.it>
13215 * Buffer.h: Removed Buffer::resize
13216 * BufferList.h: Removed BufferList::resize
13217 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13218 the document lazily when we change the width, or the font settings.
13220 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13222 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13224 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13226 * buffer.h: remove out of date comment
13228 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13231 * screen.C: fix "theoretical" GC leak
13233 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13235 * LaTeX.C (scanAuxFile):
13236 (deplog): remove trailing \r when reading stream (useful under
13239 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13241 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13242 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13243 and BufferView::theLockingInset(Inset*), so should use them and not
13244 access bv_->text->the_locking_inset directly.
13246 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13248 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13251 * tex-defs.h: remove old unused file
13253 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13255 * BufferView_pimpl.C: fix typo, remove minibuffer message
13256 when buffer has loaded
13258 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * lyxfunc.C (Dispatch): use stringstream
13261 (MenuNew): use stringstream
13262 (Open): use stringstream
13264 * importer.C (Import): use stringstream
13266 * bufferview_funcs.C (CurrentState): use stringstream
13268 * LaTeX.C (run): use stringstream
13270 * BufferView_pimpl.C (savePosition): use stringstream
13271 (restorePosition): use stringstream
13272 (MenuInsertLyXFile): use stringstream
13274 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13287 * vspace.C: removed // -*- C++ -*- as first line.
13290 * version.h: added // -*- C++ -*- as first line.
13292 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13294 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13296 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13299 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13301 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13304 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13306 * gettext.C: include LString.h even when --disable-nls is on.
13308 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13310 * converter.h (Get): changed argument type from int to
13311 FormatList::size_type to avoid unnecessary conversion.
13313 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13316 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * gettext.h: include LString.h even when --disable-nls is on.
13320 2001-06-07 Juergen Vigna <jug@sad.it>
13322 * text.C (BreakAgain): subst spaces with tabs.
13324 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13325 (resizeInsetsLyXText): set force on resizeLyXText.
13327 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * gettext.h (gettext_init):
13330 (locale_init): use a real definition instead of a macro
13332 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13334 * Bufferview_pimpl.C:
13336 * LColor.C: further lcolor tidies
13338 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * BufferView_pimpl.C (updateScrollbar): simplify.
13342 * BufferView2.C: don't include insets/insetinfo.h, change
13343 prototype for insertInset and call the Pimpl version. let
13344 updateInset call Pimpl version.
13346 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13347 gotoInset to BufferView::Pimpl
13349 2001-06-01 Juergen Vigna <jug@sad.it>
13351 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13352 inside a LockingInset (is the update needed at all?).
13354 2001-05-31 Juergen Vigna <jug@sad.it>
13356 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13357 here not the old one otherwise how should we compare it afterwards
13360 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * FontInfo.C: bring C functions into global namespace when
13368 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13370 * LString.h: make sure config.h has been loaded before LString.h.
13372 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13373 (one for each char read by EatLine!).
13375 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13378 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13381 to the same as the par we break from
13383 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13387 * MenuBackend.C (expand): also create menu entries for wide
13388 versions of the floats.
13390 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13392 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13394 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13395 frontends/Makefile.am
13401 * tabular.C (getTokenValue): add std::
13403 * tabular-old.C (getTokenValue): add std::
13404 (getTokenValue): ditto
13405 (getTokenValue): ditto
13407 * screen.C (ToggleSelection): adjust
13409 * lyxtext.h: put selection cursors inside a Selection struct.
13411 * lyxfunc.C (moveCursorUpdate): adjust
13413 * lyxfont.C (latexWriteStartChanges): add std::
13415 * lyxfind.C: adjust
13417 * font.h: delete with(char const *, LyXFont const &)
13419 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13421 * FontInfo.C (getFontname): add std::
13423 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13424 (workAreaButtonPress): adjust
13425 (tripleClick): adjust
13427 (moveCursorUpdate): adjust
13430 * BufferView2.C (gotoInset): adjust
13432 2001-05-30 Juergen Vigna <jug@sad.it>
13434 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13435 to check pspell I add this as default as I now have new pspell
13436 libraries and they seem to use this.
13438 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * text2.C (CutSelection): make the cursor valid before the call to
13443 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13446 relied on 0 terminated strings and other horrors. Bug found due to
13447 the new assert in lyxstring!
13449 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13452 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13457 * lyxfunc.C (processKeySym): change method of getting to the
13460 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13461 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13462 * BufferView_pimpl.[Ch]: here as private methods.
13464 2001-05-28 Juergen Vigna <jug@sad.it>
13466 * text.C (SetHeightOfRow): added the update() call again as it is
13467 needed to initialize inset dimensions!
13469 2001-05-16 Juergen Vigna <jug@sad.it>
13471 * text2.C (SetCharFont): Add new function with BufferView * and
13472 bool toggleall parameters for setting insets internal fonts.
13473 (SetFont): Freeze the undo as we may change fonts in Insets and
13474 all this change should be inside only one Undo!
13476 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13477 setting font's in insets as for them we have the SetFont function!
13479 2001-05-15 Juergen Vigna <jug@sad.it>
13481 * text2.C (ClearSelection): to be sure we REALLY don't have any
13484 * tabular.C (TeXCellPreamble): fixed the left border problem for
13487 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13489 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13492 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13494 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13495 LFUN_BREAKPARAGRAPH.
13497 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13498 help test to "internal only", similar for LFUN_INSERT_URL
13500 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13501 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13502 auto_region_delete and deadkeys.
13504 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13507 * LColor.C: remove some dead entries, tidy a little
13509 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13513 (Dispatch): implement LFUN_ESCAPE
13515 * commandtags.h: add LFUN_ESCAPE
13517 * LyXAction.C (init): add entry for LFUN_ESCAPE
13519 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13520 Remove commented code.
13521 (insertNote): moved here
13522 (open_new_inset): moved here
13524 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13527 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * kbmap.C (findbinding): clean it up and make it work correctly.
13531 * lyx_main.C (init): do not pass argc and argv as parameters
13533 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13535 * buffer.C: fix path for OS/2 & Win32
13539 * lyx_main.C: Added os:: class.
13541 * os2_defines.h: update
13543 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13546 better by trying again with reduced state.
13548 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13550 * lyxrc.C (read): print error about invalid key sequence only when
13551 debugging (because not all latinX keysyms are known to some X
13554 * kbsequence.C (getiso): add a few std:: qualifiers
13555 (getiso): comment out extra return statement.
13557 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13559 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13561 (Dispatch): enhance the accent inset a bit. (not perfect)
13563 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13567 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13569 * bufferlist.C (emergencyWrite): fix assert() call
13571 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13573 * text.C (InsertChar): Added trivial patch to only send the "you
13574 can not do multiple spaces this way" message once during a
13577 2001-05-08 Baruch Even <baruch@lyx.org>
13579 * Makefile.am: Changed order of libraries to get LyX to link properly
13580 with the gnome frontend.
13582 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * LaTeXFeatures.h: add a std:: qualifier
13586 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * paragraph.C (String): use stringstream
13590 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * paragraph.C (writeFile): remove footflag arg
13594 * buffer.C (makeLaTeXFile): use stringstream
13595 (latexParagraphs): remove footnot gurba
13597 * LaTeXFeatures.C (getPackages): use stringstream
13598 (getMacros): likewise
13599 (getTClassPreamble): likewise
13600 (getFloatDefinitions): new method
13602 * paragraph.C (writeFile): reindent
13605 * WorkArea.h: revert the xpos + etc changes.
13607 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13609 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13611 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13612 (pasteSelection): likewise
13613 * text2.C (CreateUndo): likewise
13615 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * minibuffer.C (peek_event): temporarily reduce the functionality
13618 of the minibuffer (to allow args on lfuns)
13620 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13621 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13623 * buffer.C (readInset): add compability reading of old float
13624 lists, add reading of new style float list.
13625 (readInset): avoid reevaluation of inscmd.getCmdName()
13626 (getLists): reindent
13628 * MenuBackend.C (MenuItem): implement parsing of
13629 md_floatlistinsert and md_floatinsert.
13630 (expand::LastFiles): move initalizaton of iterators out of loop,
13631 avoid reevaluation.
13632 (expand::Documents): introduce typdedef vector<string> Strings,
13634 (expand::ExportFormats): introduce typedef vector<Format const *>
13635 Formats, and use it.
13636 (expand): implement FloatListInsert and FloatInsert.
13638 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13639 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13640 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13642 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13644 (Dispatch::LFUN_FLOAT_LIST): implement
13646 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13648 * LaTeX.C (run): Fix problem with --export code.
13650 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13652 * BufferView.[Ch] (workarea): removed.
13653 (getClipboard) new method; wrapper for workarea()->getClipboard()
13655 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13658 * WorkArea.h (width, height, xpos, ypos): These methods all
13659 returned the dimensions of the work_area sub-area of WorkArea,
13660 resulting in a position error if the WorkArea were resized. Now
13661 return the dimensions of the entire WorkArea.
13663 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13665 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * LaTeX.C (deplog): correct the syntax of regex reg1
13669 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13671 * undo.C: remove !NEW_INSETS cruft
13673 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * text2.C: remove !NEW_INSETS cruft
13677 * text.C: remove !NEW_INSETS cruft
13679 * tabular.C: remove !NEW_INSETS cruft
13681 * spellchecker.C: remove !NEW_INSETS cruft
13683 * lyxtext.h: remove !NEW_INSETS cruft
13685 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13687 * lyxfunc.C: remove !NEW_INSETS cruft
13689 * lyxfind.C: remove !NEW_INSETS cruft
13691 * lyx_cb.C: remove !NEW_INSETS cruft
13693 * figureForm.C: remove !NEW_INSETS cruft
13695 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13697 * buffer.[Ch]: remove !NEW_INSETS cruft
13699 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13701 * CutAndPaste.C: remove !NEW_INSETS cruft
13703 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13705 * BufferView2.C: remove !NEW_INSETS cruft
13707 * BufferView.h: remove !NEW_INSETS cruft
13709 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13711 * Lsstream.h: include LString.h before the sstream headers to
13712 fix problem with gcc 2.95.3 and lyxstring
13714 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyx_main.C: add using directives when needed for C functions
13717 declared in std:: namespace.
13719 2001-04-27 Juergen Vigna <jug@sad.it>
13721 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13722 (SetHeightOfRow): comment out the update call should not be needed!
13724 2001-04-13 Juergen Vigna <jug@sad.it>
13726 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13727 (LyXTabular): tried to minimize operator= operations (and realized
13728 hopfully Lars wish).
13730 2001-04-27 Juergen Vigna <jug@sad.it>
13732 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13734 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13738 * buffer.C (readInset): hack to make listof algorithm work
13740 * BufferView_pimpl.C: hack to make listof algorithm work
13742 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * LyXAction.C: removed all !NEW_INSETS cruft
13745 (init): moved lfun_item in method
13747 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13749 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13751 * BufferView2.C (theLockingInset): white space.
13753 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13755 * minibuffer.C: include <iostream>
13757 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13759 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13761 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13763 * text.[Ch] (TransposeChars): new method
13765 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * call message directly through LyXView instead of through LyXFunc
13768 * BufferView2.C: adjust
13769 * BufferView_pimpl.C: adjust
13770 * FontLoader.C: adjust
13772 * bufferview_funcs.C: adjust
13773 * converter.C: adjust
13774 * figureForm.C: adjust
13775 * importer.C: adjust
13777 * lyx_gui_misc.C: adjust
13778 * lyxfunc.C: adjust
13781 + more files in subdirs
13783 * lyxparagraph.h (size): move up int file
13786 * adjust all uses of Assert to lyx::Assert.
13788 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13789 lyxfunctional in namespace lyx
13790 * layout.C (hasLayout): ditto
13793 (delete_layout): ditto
13794 (NumberOfClass): ditto
13795 * converter.C (GetFormat): ditto
13800 * bufferlist.C (getFileNames): ditto
13801 (emergencyWriteAll): ditto
13804 * MenuBackend.C (hasSubmenu): ditto
13807 * BufferView_pimpl.C (getInsetByCode): ditto
13809 2001-04-18 Juergen Vigna <jug@sad.it>
13811 * vspace.C (asLatexString): fixed the 100% problem.
13813 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * lyxfunc.C (Dispatch):
13817 * minibuffer.h: add a few std:: qualifiers
13819 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * minibuffer.[Ch]: reimplement so that commands is initiated and
13822 run from lyxfunc, simplified som handling, and made the completion
13823 and history code for complete. wip.
13825 * lyxfunc.C (processKeySym): call message
13826 (miniDispatch): new temporary method
13827 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13828 (LFUN_MESSAGE): implement
13829 (LFUN_MESSAGE_PUSH): implement
13830 (LFUN_MESSAGE_POP): implement
13831 (initMiniBuffer): the initial/defualt minibuffer message.
13833 * lyxfont.[Ch]: inline some more getters
13835 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13837 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13839 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13840 (AutoSave): use LFUN_MESSAGE
13841 (Reconfigure): ditto
13843 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13845 * figureForm.C: use LFUN_MESSAGE
13847 * converter.C (runLaTeX): use LFUN_MESSAGE
13849 * bufferview_funcs.C: use LFUN_MESSAGE
13851 (changeDepth): ditto
13853 * bufferparams.h: use boost::
13855 * bufferlist.h: inherit privately from noncopyable
13857 * bufferlist.C (loadLyXFile): remove some commented code.
13859 * buffer.C (runChktex): use LFUN_MESSAGE
13861 * ShareContainer.h: inherit privately from noncopyable
13863 * ParagraphParameters.[hC] (depth): inline it.
13865 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13867 (message): new method
13868 (messagePush): ditto
13869 (messagePop): ditto
13870 (show): init minibuffer
13871 (showState): direct call
13873 * LaTeX.[Ch]: inherit privately from noncopyable
13874 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13875 instead of WriteStatus.
13877 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13879 * BufferView_pimpl.C (buffer): don't init minibuffer
13880 (workAreaButtonPress): use LFUN_MESSAGE
13881 (workAreaButtonRelease): ditto
13882 (savePosition): ditto
13883 (restorePosition): ditto
13884 (MenuInsertLyXFile): ditto
13885 (workAreaExpose): don't init minibuffer
13886 (update): remove commented code, simplify
13888 * BufferView2.C (openStuff): use LFUN_MESSAGE
13889 (toggleFloat): ditto
13892 (copyEnvironment): ditto
13893 (pasteEnvironment): ditto
13898 (updateInset): remove some commented code
13900 * lastfiles.h: inherit privately from noncopyable
13903 * lyx_main.h: ditto
13905 * lyxlex_pimpl.h: ditto
13907 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13908 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13909 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13911 * LyXAction.h: inherit privately from noncopyable, add methods
13912 func_begin, func_end, returning iterators to the func map.
13914 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13915 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13916 (func_begin): new method
13917 (func_end): new method
13919 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13921 (copySelection): ditto
13922 (pasteSelection): ditto
13924 * BufferView.C: whitespace change
13925 * BufferView.h: inherit privately from noncopyable
13927 2001-04-16 Allan Rae <rae@lyx.org>
13929 * tabular-old.C (l_getline):
13930 * spellchecker.C (sc_check_word):
13931 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13932 an unrecognised preprocessor directive. So ensure they're wrapped.
13934 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13936 * src/exporter.C (Export): Give an error message when path to file
13939 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13941 * LaTeX.C (deplog): Always check that foundfile exists.
13943 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13946 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13948 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13950 * tabular.[Ch] (getLabelList): implement new method
13952 * minibuffer.h: comment ouf setTiimer
13954 * minibuffer.C (ExecutingCB): constify res
13955 (peek_event): constify s
13956 (Set): constify ntext
13957 (Init): constify nicename
13959 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13961 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13962 (savePosition): use two params to Minibuffer::Set
13963 (restorePosition): ditto
13965 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * lyx_main.C: include language.h
13969 * Makefile.am (lyx_main.o): add language.h
13971 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * CutAndPaste.C: include gettext.h
13979 * lyxfont.h: remove old hack with ON and OFF.
13982 * lyxfont.h: do not include language.h...
13987 * bufferview_funcs.C:
13993 * paragraph.C: ... but do it here instead
13995 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13997 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13999 * tabular.C: small reformat
14001 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14004 (BreakParagraph): ditto
14005 (SetOnlyLayout): ditto
14008 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14011 * lastfiles.C: removed most using decl, add std:: where needed
14013 * buffer.C: ws changes
14015 * MenuBackend.C (class compare_format): put into anon namespace
14016 (expand): constify label, names, action, action2
14019 * text.C (SingleWidth): constify font
14020 (IsBoundary): constify rtl2
14021 (GetVisibleRow): constify ww
14023 * LaTeX.C (deplog): constify logfile
14025 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14027 (workAreaExpose): constify widthChange, heightChange
14029 * lyxrow.C (par): moved
14032 * lyxrow.h: as inlines here
14034 * lyxfont.h (shape): moved from lyxfont.C
14035 (emph): moved from lyxfont.C
14037 * lyxfont.C (LyXFont): use initialization list for all
14039 (shape): move to lyxfont.h as inline
14040 (emph): move to lyxfont.h as inline
14043 2001-04-04 Juergen Vigna <jug@sad.it>
14045 * vspace.C: had to include stdio.h for use of sscanf
14047 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14050 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14051 independent of xforms.
14053 2001-04-02 Juergen Vigna <jug@sad.it>
14055 * spellchecker.C: fixed namespace placing!
14057 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14059 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14060 the LyXParagraph * is 0.
14062 2001-03-29 Juergen Vigna <jug@sad.it>
14064 * vspace.C: added support for %, c%, p%, l%.
14065 (stringFromUnit): added helper function.
14066 (asLatexString): changed to give right results for the %-values.
14068 * buffer.C: convert the widthp in a width%.
14070 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14072 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14075 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14076 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14078 * lyx_cb.[Ch]: see above.
14080 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14084 * lyx.[Ch]: replaced by figure_form.[Ch].
14088 * lyxfunc.C: changed headers associated with above changes.
14090 2001-03-27 Juergen Vigna <jug@sad.it>
14092 * BufferView_pimpl.C: set the temporary cursor right!
14094 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14096 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14098 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14100 * LString.h: removed "using std::getline"!
14102 * BufferView_pimpl.C (Dispatch): changes due to changes in
14103 InsetInclude::Params.
14105 * buffer.C (tag_name): removed redundant break statements as they were
14106 producing lots of warnings with my compiler.
14108 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * LString.h: add "using std::getline" when using the real <string>.
14112 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14114 * buffer.C: removed bitset usage.
14115 PAR_TAG moved to an anonymous name space.
14116 (tag_name): new funtion, also in the anonymous namespace.
14117 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14118 (makeDocBookFile): clean code. Completed transition from string arrays
14120 (SimpleDocBookOnePar): code clean.
14122 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14124 * tabular.C: add some comments.
14126 2001-03-22 Juergen Vigna <jug@sad.it>
14128 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14129 compatibility read a bit and fixed bug with minipage in different
14132 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14134 * buffer.C (pop_tag): removed.
14135 (push_tag): removed.
14136 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14137 array replaced with vector. Added support for CDATA sections.
14138 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14140 (makeDocBookFile): XML conformant declaration of CDATA section,
14141 fixed bug related to <emphasis> in the first paragraph char.
14142 (sgmlOpenTag): exclude empty tags.
14143 (sgmlCloseTag): ditto.
14145 * buffer.h (pop_tag): removed.
14146 (push_tag): removed.
14148 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14150 * language.h (Languages): added size_type and size().
14152 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14154 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14155 response on compability reading of minipages. One probliem is that
14156 the old usage of minipages was «flertydig»
14158 * several files here and in subdirs: don't use static at file
14159 scope use anon namespaces instead.
14161 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14163 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14164 LaTeX output. This is necessary for Literate document
14167 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14169 * buffer.C: insert hfill when needed.
14171 * tabular.C (l_getline): use string::erase, small whitespace change.
14173 * BufferView_pimpl.C: try the anon namespace.
14174 * WorkArea.C: ditto
14176 2001-03-16 Juergen Vigna <jug@sad.it>
14178 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14179 otherwise it won't open options-dialogs.
14181 * buffer.C: honor pextraWidth(p) on converting minipages.
14183 * tabular.C (l_getline): changed the functions to strip trailing \r.
14185 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14187 * BufferView_pimpl.C:
14188 * minibuffer..C: added "using SigC::slot" declaration.
14190 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14192 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14198 * paragraph.C: ditto
14200 * lyxtext.h: NO_PEXTRA
14202 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14204 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14205 * ParameterStruct.h: ditto
14206 * ParagraphParameters.h: ditto
14207 * lyxparagraph.h: ditto
14209 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14211 * buffer.C: add compability for minipage alignment.
14212 (latexParagraphs): remove unwanted pextra check.
14214 * several files: remove CXX_WORKING_NAMESPACES
14216 * buffer.C (pop_tag): tie is in namespace boost
14218 * BufferView.h: noncopyable is in namespace boost
14220 * lyx_main.h: ditto
14223 * lastfiles.h: ditto
14224 * bufferlist.h: ditto
14225 * ShareContainer.h: ditto
14227 * LyXAction.h: ditto
14230 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14232 * Merging changes from BRANCH_MVC back into HEAD.
14234 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14236 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14238 * BufferView_pimpl.C: change from intl.C
14242 * Makefile.am: move combox.*
14248 * intl.C: remove dialog (covered by prefs)
14250 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14252 * lyxfunc.C (Dispatch): removed redundant break statement.
14254 2001-03-14 Juergen Vigna <jug@sad.it>
14256 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14258 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14260 * buffer.C: add hack to fix compability reading of minipages.
14262 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14264 * buffer.C (getLists): Cleanup.
14266 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * lyxfont.C (update): don't honor toggleall on font size.
14270 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14274 * Makefile.am: moved to frontends/xforms/
14278 * BufferView_pimpl.C: changes for moved mathpanel
14280 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14282 * gettext.h: fix gettext_init() in --disable-nls
14284 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14288 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14291 * lyx.h: strip external form
14293 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14295 * BufferView_pimpl.C: add comment, destroySplash()
14297 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14299 * BufferView_pimpl.C:
14303 * lyxfunc.C: use re-worked insetinclude
14305 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14307 * buffer.C: add using std::stringstream.
14309 * lyx_cb.C: readd using std::ios.
14311 * buffer.C: add using std::map.
14313 * BufferView_pimpl.C: add using std::vector.
14315 * ShareContainer.h: add std:: to swap.
14317 * buffer.h: add some typedefs
14318 * buffer.C (getLists): use them
14319 (getLists): renamed from getTocList.
14320 add a counter for the different float types and use it in the
14322 (getLists): use the same counter for the NEW_INSETS and the "non"
14325 * lyx_cb.h: remove unused items, includes, using etc.
14327 * ShareContainer.h: remove some commented code, add more comments
14328 and "documentation".
14330 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14332 * buffer.C (getTocList): make the list also when NEW_INSETS is
14335 * buffer.h: remove TocType
14337 * buffer.C (getTocList): change to return a map<string,
14338 vector<TocItem> >, implement for dynamic number of list.
14340 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14341 * text2.C (PasteSelection): adjust
14342 * CutAndPaste.C (pasteSelection): adjust
14344 * FloatList.C (FloatList): update from the new_insets branch.
14345 * Floating.[Ch]: ditto
14346 * LaTeXFeatures.C: ditto
14348 * lyxlex_pimpl.C: ditto
14350 * paragraph.C (Last): remove when NEW_INSETS is defined.
14352 * other file: changes because of the above.
14354 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14356 * lyxparagraph.h: rename next to next_, previous to previous_,
14357 make them private for NEW_INSETS. Rename Next() to next(),
14358 Previous() to previous().
14360 * other files: changes because of the above.
14362 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14365 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14368 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * main.C (main): pass lyx_localedir to gettext_init().
14372 * gettext.h: remove locale_init and gettext_init macros
14374 * gettext.C (locale_init): new function
14375 (gettext_init): new function
14377 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14380 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14382 * Moved credits to frontends:
14383 * credits.[Ch]: removed
14384 * credits_form.[Ch]: removed
14385 * lyx_gui_misc.C: remove credits stuff
14388 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14390 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14392 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14393 unneeded destructor.
14395 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14396 a standalone pointer again.
14398 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14400 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14406 * ToolbarDefaults.C:
14415 * BufferView_pimpl.C: use new file dialog in GUII
14418 * lyx_cb.C: remove LayoutsCB to Toolbar
14420 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14422 * ShareContainer.h (get): add std:: qualifier
14424 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * ShareContainer.h: define a proper ShareContainer::value_type
14427 type (and use typename to please compaq cxx)
14429 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14431 * lyxparagraph.h: move serveral local vars to
14432 ParameterStruct/ParagraphParameters., use ShareContainer in
14433 FontTable., make vars in FontTable private and add getter and
14436 * paragraph.C: changes because of the above.
14438 * lyxfont.h: remove copy constructor and copy assignment. (the
14439 default ones is ok), move number inside FontBits. move inlines to
14442 * lyxfont.C: add number to initializaton of statics, move several
14443 inlines here. constify several local vars. some whitespace
14444 cleanup. Dont hide outerscope variables.
14446 * Spacing.h: add two new constructors to match the set methods.
14448 * ShareContainer.h: new file, will perhaps be moved to support
14450 * ParameterStruct.h: new file
14452 * ParagraphParameters.h: new file
14454 * ParagraphParameters.C: new file
14456 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14457 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14459 * BufferView_pimpl.C: ParagraphParameter changes.
14460 * buffer.C: Likewise.
14461 * bufferview_funcs.C: Likewise.
14462 * text.C: Likewise.
14463 * text2.C: Likewise.
14465 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14467 * lyxfind.C (LyXReplace): do not redefine default argument in
14469 (IsStringInText): ditto
14470 (SearchForward): ditto
14471 (SearchBackward): ditto
14473 2001-03-06 Juergen Vigna <jug@sad.it>
14475 * lyxfind.C (IsStringInText): put parentes around expressions.
14477 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14479 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14481 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14483 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14485 * stl_string_fwd.h: add comment
14487 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14490 * tabular.C: remove unused DocBook methods
14496 killed DO_USE_DEFAULT_LANGUAGE
14498 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * lyx_gui.C: do not include language.h.
14502 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14503 arguments in function implementation.
14505 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14507 * BufferView_pimpl.C: add <ctime>
14509 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14511 * BufferView_pimpl.C: add using std::find_if
14513 2001-02-27 José Matos <jamatos@fep.up.pt>
14515 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14518 2001-02-11 José Matos <jamatos@fep.up.pt>
14520 * buffer.C (makeDocBookFile): command styles now have a parameter as
14521 "title" by default.
14523 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14525 * layout_forms.[Ch]: removed
14526 * lyx_cb.[Ch]: out character
14527 * lyx_gui.C: out character
14528 * lyx_gui_misc.C: out character
14529 * bufferview_funcs.C: : out character,
14530 added toggleall as parameter in ToggleAndShow
14532 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14534 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14536 * text2.C (SetCurrentFont): Disable number property at boundary.
14538 2001-02-26 Juergen Vigna <jug@sad.it>
14540 * lyxfunc.C (getStatus): added a string argument override function so
14541 that this is correctly called from LyXFunc::Dispatch if it contains a
14542 do_not_use_argument which is used!
14543 (Dispatch): added check for "custom" export and call appropriate func.
14545 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14547 * lyxrc.C: Add language_command_local, language_use_babel and
14548 language_global_options.
14550 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14552 * buffer.C (makeLaTeXFile): Use language_use_babel and
14553 language_global_options.
14555 2001-02-23 Juergen Vigna <jug@sad.it>
14557 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14558 which works with LyXText and putted it inside BufferView. Here now we
14559 only call for that part the BufferView::Dispatch() function.
14561 * BufferView.C (Dispatch): added.
14563 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14564 functions which needs to use a LyXText over from LyXFunc.
14565 (MenuInsertLyXFile): added
14566 (getInsetByCode): added
14567 (moveCursorUpdate): added
14568 (static TEXT): added
14570 2001-02-22 Juergen Vigna <jug@sad.it>
14572 * BufferView_pimpl.C (update): call a status update to see if LyXText
14575 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14577 * vc-backend.C (revert): implement for CVS
14578 (getLog): implement for CVS
14580 2001-02-20 Juergen Vigna <jug@sad.it>
14582 * text2.C (ClearSelection): added BufferView param for inset_owner call
14584 * lyxfunc.C (TEXT): added this function and use it instead of
14585 directly owner->view()-text of getLyXText().
14587 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14589 * src/layout_forms.C: out preamble
14590 * src/layout_forms.h: out preamble
14591 * src/lyx_cb.C: out preamble
14592 * src/lyx_cb.h: out preamble
14593 * src/lyx_gui.C: out preamble
14594 * src/lyx_gui_misc.C: out preamble
14595 * src/lyxfunc.C: connect with guii preamble
14597 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14599 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14601 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14603 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14604 whether to run bibtex.
14606 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14608 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14610 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14612 * Makefile.am (lyx_SOURCES): removed bibforms.h
14614 * vspace.h: doxygen
14616 * text.C (GetVisibleRow): make several local vars const
14618 * tabular.C: small cleanup.
14620 * lyxserver.C (callback): use compare instead of strncmp
14622 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14623 inlines to after class or to paragraph.C
14625 * lyxfont.h: remove friend operator!=
14627 * converter.h: move friend bool operator< to non friend and after
14630 * combox.h: small cleanup
14632 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14633 to inlines after class def.
14635 * buffer.C (pop_tag): use string operations instead of strcmp
14637 * bmtable.c: doxygen, small cleanup
14639 * LaTeX.h: remove friend operator==
14641 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14653 * BufferView_pimpl.C:
14654 * BufferView.[Ch]: remove cruft
14656 2001-02-14 Juergen Vigna <jug@sad.it>
14658 * lyxfunc.C: removed #if 0 unused code
14660 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14662 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14664 * text2.C (SetSelection): added a BufferView * parameter
14666 2001-02-13 Juergen Vigna <jug@sad.it>
14668 * lyxfunc.C (Dispatch): fixed protected blank problem.
14669 * BufferView2.C (protectedBlank): added LyxText * parameter.
14671 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14672 (AppendColumn): same as above for column_info.
14674 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14675 (moveCursorUpdate): use a LyXText param for support of InsetText.
14677 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14678 (tripleClick): ditto
14680 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14682 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14684 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14686 * text2.C (SetSelection): set correct update status if inset_owner
14687 (ToggleFree): ditto
14689 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14691 * tabular.C: remove some commented code.
14693 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14695 * BufferView_pimpl.C: call hideSplash()
14697 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14700 * bibforms.h: remove
14703 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14704 add LFUN_CHILD_CREATE
14706 * counters.h: fix tiny typo
14711 * lyx.C: move splash to frontends/xforms/
14713 * lyx_gui_misc.C: move Include and Bibform to frontends
14715 * lyxvc.h: clarify comment
14717 * vspace.C: tiny housekeeping
14719 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14721 * text.C (PrepareToPrint): RTL Fix.
14723 * paragraph.C (GetUChar): New method.
14724 (String): Use GetUChar.
14726 * buffer.C (asciiParagraph): Use GetUChar.
14728 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14730 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14732 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14735 * buffer.C: rename to getLogName(), handle
14736 build log / latex log nicely
14738 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * MenuBackend.h: remove support for reference menuitem type.
14743 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14745 * BufferView_pimpl.C: housekeeping
14746 * BufferView_pimpl.h:
14751 * minibuffer.h: move Timeout GUI-I
14753 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14755 * lyxrc.C (read): Update converters data-structures.
14757 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14759 * LaTeX.h (operator!=): add operator != for Aux_Info
14761 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14763 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14765 * LaTeXLog.C: deleted, useful code moved to Buffer
14768 * buffer.C: new function getLatexLogName()
14774 * lyxfunc.C: use frontends for LaTeX and VC logs
14776 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14778 * LaTeX.h: yet another std:: that Allan forgot.
14780 * Variables.C (set): renamed from isset(), because this clashes
14781 with some HP-UX macros (grr).
14783 2001-02-06 Allan Rae <rae@lyx.org>
14785 * LaTeX.h: Another bug fix. Missing std:: this time.
14787 2001-02-04 Allan Rae <rae@lyx.org>
14789 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14790 floats problem. I've left it commented out because it's not quite
14791 correct. It should also test that the current object is a table or
14792 figure inset. But I haven't gotten around to figuring out how to do
14793 that. I *think* it'll be something like: "table" == inset.type()
14795 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14798 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14800 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14801 all the citation/databases/styles in the auxilary file.
14802 (run): Rerun latex if there was a babel language error.
14804 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14806 * text.C (Backspace): Preserve the font when changing newline char
14808 (BreakParagraph): If the cursor is before a space, delete the space.
14810 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14812 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14814 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14815 new argument (code).
14816 (ChangeCitationsIfUnique): New method.
14818 * paragraph.C (GetPositionOfInset): Handle bibkey.
14820 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * BufferView_pimpl.h: change type of Position::par_pos to
14823 LyXParagraph::size_type.
14825 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14827 * BufferView_pimpl.C (savePosition, restorePosition): Write
14828 messages to minibuffer.
14830 2001-01-28 José Matos <jamatos@fep.up.pt>
14832 * buffer.C (makeDocBookFile): adds support for document language.
14833 A silly restriction on the name of LatexCommand types where removed.
14834 Added support for CDATA sections, allows to chars unescaped, used
14835 among others in code, to avoid escape < and >.
14837 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14839 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14840 saved positions instrad of a stack. Furthermore, a position is
14841 stored using paragraph id/paragraph position.
14843 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14844 Remove LFUN_REF_BACK.
14846 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14848 * converter.C (dvipdfm_options): New method.
14850 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14852 * vspace.C (isValidLength): Fix for empty input string.
14854 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * LyXAction.C (init): change description of LFUN_FIGURE to
14859 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * LaTeX.C: add using directive
14863 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14865 * MenuBackend.C (expand): Fix the sorting of the formats.
14867 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14869 * lyx_main.C: tiny error message fix
14871 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14873 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14874 calling fl_initialize(). This fixes the problem with ',' as
14875 decimal separator in text files.
14877 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14879 * trans.C (process): Fix the keymap bug.
14881 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14883 * LaTeX.C (scanAuxFiles): New method. Provides support for
14884 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14885 (scanLogFile) Scan for "run BibTeX" messages.
14887 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14888 OT1 font encoding. Also, load the aecompl package if the ae
14891 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14893 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * texrow.C (increasePos): turn two error messages into debug
14898 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14900 * LaTeX.C (scanAux): Handle the \@input macro.
14901 (runBibTeX): Use scanAux().
14903 * language.C (latex_options_): New field.
14905 * LaTeXFeatures.C (getMacros): Add language macros.
14907 * buffer.C (makeLaTeXFile): Small fix.
14909 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14913 * text2.C: add a using directive.
14915 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14920 * lyxfunc.C: kill LyXBell.
14922 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14924 * text.C (IsBoundary): Remove the error message
14926 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14928 * lyxrc.C (setDefaults): Correct initialization value for
14931 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14933 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14936 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14937 and GotoNextNote().
14939 * src/LyXAction.C: Added reference-next.
14941 * text.C (InsertChar): Use contains instead of strchr.
14943 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14945 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14947 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14948 alignment commands (when needed).
14950 * text.C (InsertChar): Add ':' to number separator chars.