2 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
4 * dociterator.C: implement forwardPar
5 * iterators.[Ch]: remove, replaced by
6 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
19 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
21 * CutAndPaste.C (pasteSelection): fix 2 crashes
22 (eraseSelection): fix a crash
23 * paragraph_funcs.C: remove a warning
25 2004-03-28 Angus Leeming <leeming@lyx.org>
28 * LyXAction.C (init): new LFUN_PRINT.
30 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
32 2004-03-27 Angus Leeming <leeming@lyx.org>
35 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
37 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
39 2004-03-27 Angus Leeming <leeming@lyx.org>
41 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
42 insetlist always contains non-null pointers to insets.
44 2004-03-26 Angus Leeming <leeming@lyx.org>
46 * src/BufferView_pimpl.C:
50 * src/output_plaintext.C:
52 * src/paragraph_funcs.C:
56 * src/frontends/controllers/ControlErrorList.C:
57 * src/frontends/gtk/FileDialogPrivate.C:
58 * src/frontends/gtk/GPainter.C:
59 * src/frontends/gtk/GToolbar.C:
60 * src/frontends/qt2/QRef.C:
61 * src/mathed/math_scriptinset.C: squash compiler warnings.
63 2004-03-26 Angus Leeming <leeming@lyx.org>
65 * ispell.C (LaunchIspell::start):
66 * lyx_cb.C (AutoSaveBuffer::start):
67 invoke run(DontWait) rather than runNonBlocking().
69 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
71 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
73 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * kbsequence.C (print): adjust
77 * kbmap.C (printKeySym): rename and change signature
78 (printKey): use LyXKeySym::print()
80 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
82 * undo.C: add using std::advance to compile for stlport
84 2004-03-24 Angus Leeming <leeming@lyx.org>
86 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
87 it leads to a crash when no buffer is present.
89 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 Martin Vermeer <martin.vermeer@hut.fi>
92 * lyxfunc.C (dispatch):
93 * bufferparams.C (readToken): use the new LColor::setColor
95 * LColor.[Ch] (setColor): new version that takes two strings as
96 argument and creates a new color entry if necessary
98 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
100 * buffer.C (makeLaTeXFile): if the main latex file that is
101 processed is usually a subdocument of some master, then pretend
102 for a while that it is actually the master
104 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * buffer.C (getLabelList):
107 (getBibkeyList): use getMasterBuffer()
108 (getMasterBuffer): new method. Returns the main document in the
109 case where one is using included documents.
111 2004-03-25 André Pönitz <poenitz@gmx.net>
115 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
117 * ParagraphList_fwd.h: change ParagraphList to a std::vector
119 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
120 text*.C over here. Rename namespace CutAndPaste to lyx::cap
122 * ParameterStruct.h: merge with ParagraphParameters
124 * lyxtext.h: remove LyXText::parOffset() and getPar()
126 * text3.C: Remove all 'manual' update calls. We do now one per user
127 interaction which is completely sufficient.
131 * BufferView_pimpl.C:
134 * ParagraphParameters.[Ch]:
146 * output_docbook.[Ch]:
148 * output_linuxdoc.[Ch]:
149 * output_plaintext.[Ch]:
151 * paragraph_funcs.[Ch]:
152 * paragraph_pimpl.[Ch]:
160 * frontends/controllers/ControlDocument.C:
161 * frontends/controllers/ControlErrorList.C:
162 * frontends/controllers/ControlSpellchecker.C:
165 * insets/insetbase.h:
166 * insets/insetbibitem.C:
168 * insets/insetbranch.C:
169 * insets/insetcaption.C:
170 * insets/insetcharstyle.C:
171 * insets/insetcharstyle.h:
172 * insets/insetcollapsable.C:
173 * insets/insetcollapsable.h:
175 * insets/insetfloat.C:
176 * insets/insetfoot.C:
177 * insets/insetmarginal.C:
178 * insets/insetnote.C:
179 * insets/insetoptarg.C:
180 * insets/insettabular.C:
181 * insets/insettext.C:
182 * insets/insettext.h:
183 * insets/insetwrap.C:
184 * mathed/math_mboxinset.C:
185 * mathed/math_nestinset.C:
186 * mathed/math_scriptinset.C:
187 * mathed/math_scriptinset.h:
190 2004-03-24 Angus Leeming <leeming@lyx.org>
192 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
193 deal with any child processes that have finished but are waiting to
194 communicate this fact to the rest of LyX.
196 2004-03-24 Angus Leeming <leeming@lyx.org>
198 64-bit compile fixes.
200 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
201 (c-tor): pass lyx::pos_types rather than ints.
203 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
206 * text.C (Delete): compile fix.
207 (getPar): ensure that function declaration is the same as that in
210 2004-03-23 Angus Leeming <leeming@lyx.org>
212 * ispell.C (LaunchIspell):
213 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
214 a boost::shred_ptr rather than a std::auto_ptr.
216 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * lyxfunc.C (getStatus): handle read-only buffers correctly;
219 handle LFUN_FILE_INSERT_*
221 * lyxrc.C (setDefaults, getDescription, output, read):
222 * lyxrc.h: remove ps_command
224 2004-03-22 Angus Leeming <leeming@lyx.org>
226 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
227 Ensure that error_handler is processed once only and that all data
228 is saved before attempting to output any warning messages.
230 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
232 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
234 * tabular.C (TeXRow): crash fix (from Kayvan and André)
236 2004-03-19 André Pönitz <poenitz@gmx.net>
238 * cursor.[Ch] (reset): take main text inset as argument
241 * BufferView_pimpl.C: adjust
243 * paragraph.[Ch]: fix completely broken operator=()
245 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * LColor.C (getFromLyXName): make sure that the color name is used
250 2004-03-17 Angus Leeming <leeming@lyx.org>
253 * LyXAction.C (init): remove LFUN_FORKS_KILL.
255 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
256 dialog and to kill a forked process.
258 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
260 * text2.C (setCursorFromCoordinates): fix font problem
262 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
264 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
265 bogus "rebuild cursor" code
267 2004-03-11 André Pönitz <poenitz@gmx.net>
269 * buffer.[Ch]: use InsetText instead of LyXText as container for
272 * dociterator.[Ch]: drop the BufferView * member which is not needed
273 anymore after the change to buffer.C
279 * BufferView_pimpl.[Ch]:
281 * cursor_slice.[Ch]: adjust
283 * text3.C: fix bug in mathDispatch
285 2004-03-08 André Pönitz <poenitz@gmx.net>
287 * undo.[Ch]: use 'StableDocumentIterator' as base for
290 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
293 * bufferparams.[Ch]: add jurabib support and param.
295 * LaTeX.C: add FIXME/comment.
297 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
299 * buffer.C: increment file format to 230.
301 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
303 * cursor.C (dispatch): avoid infinite loops
305 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
307 * rowpainter.C (paintSelection): fix x coordinates
309 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
311 * text.C (rowBreakPoint): fix breaking before displayed insets
313 2004-03-01 André Pönitz <poenitz@gmx.net>
315 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
317 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
321 * BufferView_pimpl.C:
329 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
335 * BufferView_pimpl.C: rename textwidth -> maxwidth,
336 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
338 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
340 * Bidi.[Ch] (computeTables): const correctness
341 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
342 fill_hfill, fill_label_hfill and x from Row
343 * lyxtext.h: prepareToPrint returns a RowMetrics
344 * rowPainter.C: adjust
345 * text.C (prepareToPrint): use width, not textWidth. adjust
346 (redoParagraphInternal, cursorX): adjust
347 * text2.C (getColumnNearX): adjust
348 (init): put a default value to the top LyXText::width
350 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
352 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
354 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
356 * lyxtext.h: add FontIterator class
358 * text.C (FontIterator, operator*, operator->, operator++): add
359 (rowBreakPoint, setRowWidth): adjust (fixing a
362 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * BufferView_pimpl.C (workAreaDispatch): allow also
365 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
367 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
369 * text.C (rowBreakPoint): fix a bug showing with very large insets
371 2004-02-25 André Pönitz <poenitz@gmx.net>
374 * cursor.[Ch]: move some mathed specific code to mathed
376 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
379 use_tempdir in preferences
380 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
382 * lyx_main.C: ensure that tempdir is valid
383 * lyxlex.h: correct typo
384 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
385 * paragraph.[Ch] (isMultiLingual): make const
386 * cursor.[Ch] (openable): make const
388 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
390 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
392 2004-02-20 André Pönitz <poenitz@gmx.net>
394 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
396 * cursor.[Ch]: prepare for localized getStatus()
402 * text3.C: streamlines the LyXText cursor movement handlers a bit.
404 2004-02-20 André Pönitz <poenitz@gmx.net>
406 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
408 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
410 * text2.C (setCursorFromCoordinates): switch to absolute coords
413 * text3.C (dispatch): adjust
415 2004-02-16 André Pönitz <poenitz@gmx.net>
417 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
420 * cursor_slice.[Ch]: remove unneeded acessor function
422 * lyxtext.h: rename rtl() to isRTL()
430 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
432 * rowpainter.C (paintSelection): coord fix
434 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * Spacing.C: compile fix
438 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
440 * cursor.C (dispatch): restore current_ before returning
442 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
444 * text2.C (cursorUp, cursorDown): fix coords
447 2004-02-12 André Pönitz <poenitz@gmx.net>
452 * text3.C: add LCursor & parameter to most cursor movement functions
453 remove usage of LyXText::cursorRow() and cursorPar()
455 * cursor.[Ch]: add textRow() needed members
458 * BufferView_pimpl.C:
461 * BufferView_pimpl.C: adjust
463 2004-02-11 André Pönitz <poenitz@gmx.net>
467 * BufferView_pimpl.C: shift undo/redo handling
469 * cursor.[Ch]: fix mathed crash
472 * lyxtext.h: move selectionAsText to LCursor
480 * rowpainter.C: fix excessive drawing
482 2004-02-06 André Pönitz <poenitz@gmx.net>
485 * BufferView_pimpl.[Ch]:
486 * text3.C: move some text specific LFUN handling
488 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
490 * text3.C (checkInsetHit): adjust coords
491 * text2.C (getColumnNearX): adjust coords
492 (edit): adjust coords
493 * text.C (getRowNearY): add two asserts
495 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
498 * format.C: add using std::distance to compile on gcc 2.95/stlport
500 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
502 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
504 2004-02-04 André Pönitz <poenitz@gmx.net>
506 * BufferView.[Ch] (insertInset):
507 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
512 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
514 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
515 on the default clause of the switch
516 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
517 wasn't catched by LCursor::dispatch
519 2004-02-03 André Pönitz <poenitz@gmx.net>
522 * cursor.[Ch]: some additional asserts
524 * undo.[Ch]: remove LyXText dependency in interface
528 * lyxtext.h (firstPar, lastPar): remove dead functions
533 * paragraph.[Ch]: adjust
535 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
537 * lyxfind.C (find): fix argument order in call to ::find
539 2004-02-02 André Pönitz <poenitz@gmx.net>
541 * cursor.[Ch]: remove direct access to anchor
543 * text.C: remove findText() hack
545 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
547 * iterators.[Ch] (lockPath): remove in favour of...
548 * BufferView.[Ch] (setCursor): this addition
549 * BufferView.C (putSelectionAt): adjust
550 * undo.C (performUndoOrRedo): adjust
551 * lyxfunc.C (dispatch): adjust
553 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
555 * iterators.C (lockPath): add a missing slice
556 * undo.C (performUndoOrRedo): remove redundant positioning code
558 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
560 * vc-backend.C (scanMaster): ";" -> ';'
562 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
564 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
567 * lyxtextclass.C (compare_name): rename to...
568 (LayoutNamesEqual): ...this
570 * lyxlex_pimpl.C (compare_tags): inherit from
571 std::binary_function, put back into anon namespace
573 * lyxfind.C (MatchString): inherig from std::binary_function
574 (findChange): use empty() istead of !size()
576 * format.C (FormatNamesEqual): new functor
583 * converter.C (compare_Converter): rename to...
584 (ConverterEqual): ...this, and fixup a bit.
585 (getConverter): use it, and make function const
586 (getNumber): use it, and make function const
590 * bufferlist.C: add using boost::bind
592 * MenuBackend.C (MenuNamesEqual): new functor
593 (hasMenu): use it, and make function const
594 (hasSubmenu): use nested bind to get rid of compare_memfun.
596 2004-01-30 André Pönitz <poenitz@gmx.net>
598 * BufferView_pimpl.C:
609 * text3.C: move some of the edit(x,y) handling to the insets
610 some coordinate changes.
612 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
614 * text.C: add using statements for std::advance and std::distance
616 * paragraph.C: add using statement for std::distance
618 * lyxfind.C: add using statement for std::advance
620 * cursor.C (region): remove std:: from swap
621 (openable): use nucleus in stead of operator->
623 * BufferView.C: add using statements for std::distance and std::swap
625 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
627 * iterators.C: Remove the pimple, move the needed structures to
628 the header file. Create accessor for the positions stack.
629 (asPosIterator): remove function
631 * PosIterator.C (PosIterator): move constructors to top of file
632 (PosIterator): reimplement the constructor taking a ParIterator in
634 (setFrom): new function
635 (operator!=): inline it
637 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
639 * lyxfind.C (replaceAll): use std::advance
641 * iterators.h: inherit from std::iterator.
643 * PosIterator.C (advance, distance): remove
644 * PosIterator.h: interit from std::iterator.
646 2004-01-26 André Pönitz <poenitz@gmx.net>
649 * BufferView_pimpl.[Ch]:
653 * bufferview_funcs.C:
664 * output_plaintext.C:
666 * paragraph_funcs.[Ch]:
667 * paragraph_pimpl.[Ch]:
673 * text3.C: more IU: dumps most of the rest of the mathcursor
674 implementation into cursor.[Ch]; "globalize" a bit of it.
676 2004-01-25 Angus Leeming <leeming@lyx.org>
678 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
680 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
682 * LaTeXFeatures.h: add nice_ and nice() const
683 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
685 2004-01-20 André Pönitz <poenitz@gmx.net>
688 * BufferView_pimpl.C:
690 * bufferview_funcs.C:
703 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
704 LCursor and mathcursor parts to LCursor and InsetBase.
706 2004-01-15 André Pönitz <poenitz@gmx.net>
708 * cursor_slice.[Ch]: add a few covienience functions
710 * funcrequest.[Ch]: remove BufferView * member
712 * BufferView_pimpl.C:
719 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
721 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
723 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
724 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
726 2004-01-13 André Pönitz <poenitz@gmx.net>
729 * lyxtext.h: hide cursor and selection anchor behind accessor function
732 * BufferView_pimpl.[Ch]:
734 * bufferview_funcs.C:
744 * cursor_slice.[Ch]: some integer type changes for inset unification
746 * lyxcursor.[hC]: remove, it's CursorSlice now.
749 * BufferView_pimpl.[Ch]:
750 * bufferview_funcs.C:
756 * textcursor.[Ch]: adjust
758 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
760 * text2.C (undoSpan): add and use
761 * text.C (breakParagraph): use undoSpan (fix bug 578)
764 2004-01-08 Angus Leeming <leeming@lyx.org>
766 * BufferView_pimpl.C (MenuInsertLyXFile):
767 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
768 * lyxfunc.C (menuNew, open, doImport):
769 FileFilterList change to the FileDialog open and save functions.
771 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * ShareContainer.h: make isEqual and isUnique adaptable
775 * CutAndPaste.C: make resetOwnerAndChanges adaptable
777 2004-01-07 Angus Leeming <leeming@lyx.org>
780 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
782 * BufferView_pimpl.C (dispatch): act on these LFUNs.
784 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
785 functions replacing find, replace and replaceAll.
787 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
788 LFUN_WORDFIND(FORWARD|BACKWARD).
790 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
792 * text.C (breakParagraph): remove an outdated #warning
794 2004-01-07 André Pönitz <poenitz@gmx.net>
796 * lyxfind.C: somewhat clearer logic
798 * text.C: prevent crash in cursorX on unitialized row cache
800 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
802 * lyxcursor.[Ch] (operator>): add
803 * textcursor.C (selStart, selEnd): use std::min and std::max
805 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * Chktex.C: include boost/format.hpp
809 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
811 * InsetList.C: replace functor MathcIt with adaptable functor
813 (insetIterator): modify accordingly
815 * BranchList.h: move the BranchNamesEqual functor here from...
816 * BranchList.C: ... to here
818 * BranchList.C: new BranchListEqual fuctor, use it. Remove
820 (add): replace a finding loop with std::find_if.
822 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
824 * output_docbook.C: moving LatexParam functionality into
827 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * buffer.C: increment format to 229.
831 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
834 * lyx_sty.[Ch]: remove minipageindent_def
840 * text3.C: remove LFUN_INSET_MINIPAGE
842 2003-12-28 Angus Leeming <leeming@lyx.org>
844 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
846 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
848 * text2.C (setParagraph): fix off-by-one crash
850 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
852 * output_docbook.C: header stuff for AGU
854 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
856 * text2.C (redoCursor): remove
859 * BufferView_pimpl.C: remove calls to redoCursor and
860 setCursor(cursor.par(), cursor.pos()) all around
862 2003-12-15 Angus Leeming <leeming@lyx.org>
864 * buffer.C: up the format to 228.
866 2003-12-15 André Pönitz <poenitz@gmx.net>
868 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
873 * BufferView_pimpl.C:
882 2003-12-15 Angus Leeming <leeming@lyx.org>
884 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
885 than getFromGUIName to manipulate the color.
887 2003-12-14 Angus Leeming <leeming@lyx.org>
889 * BranchList.[Ch]: minimize the API.
890 (Branch::getBranch, getColor): now return a 'const &'.
891 (Branch::setSelected) now returns a bool set to true if the
892 selection status changes.
893 (BranchList::clear, size, getColor, setColor, setSelected,
894 allBranches, allSelected, separator): removed.
895 (BranchList::find): new functions, returning the Branch with
897 (BranchList::add, remove): return a bool indicating that
898 the operation was successful.
900 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
901 new InsetBranch::isBranchSlected member function.
903 * LColor.[Ch]: mimimize the API.
904 (fill): renamed as addColor and made private.
905 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
906 versions of these functions taking a string arg have been removed.
908 * bufferparams.C (readToken):
909 * lyxfunc.C (dispatch):
910 * lyxrc.C (read): changes due to the altered BranchList and
913 * factory.C (createInset, readInset): changes due to altered
916 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
919 * lyxfunc.C: remove insetminipage. "minipage-insert"
920 now produces a frameless minipage box inset.
922 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
924 * textcursor.[Ch] (selStart,selEnd): add new methods
925 remove selection::start, end, use LyXCursor::operator<
926 * lyxcursor.[Ch] (operator<): add
927 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
928 * BufferView.[Ch] (unsetXSel): add
929 * text2.C (clearSelection): use unsetXSel,adjust
932 * rowpainter.C: adjust
933 * bufferview_funcs.C (put_selection_at): adjust
935 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
937 * BufferView_pimpl.C: small coord. correction
939 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
941 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
942 dragging over the splash screen.
944 2003-12-11 Angus Leeming <leeming@lyx.org>
946 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
947 as it is now handled in LyXText::dispatch.
949 * text3.C (doInsertInset): remove a level of nesting.
951 2003-12-11 Angus Leeming <leeming@lyx.org>
953 * factory.C (createInset): changes due to the changed interface to
954 InsetCommandMailer::string2params.
956 2003-12-10 Angus Leeming <leeming@lyx.org>
958 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
959 'dialog-show-new-inset <inset name>'
961 2003-12-10 Angus Leeming <leeming@lyx.org>
963 * buffer.C: up the format to 227.
965 * factory.C: the box inset is now identified simply by 'Box'.
967 2003-12-10 Angus Leeming <leeming@lyx.org>
969 * buffer.C: up the format to 226.
971 * factory.C: the note inset is now identified simply by 'Note'.
973 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
975 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
976 when a pit is enough. Standarize a couple of loops.
978 2003-12-05 Angus Leeming <leeming@lyx.org>
980 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
981 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
982 data to the re-worked "log" dialog.
984 2003-12-03 André Pönitz <poenitz@gmx.net>
992 * text2.C: use Inset::getText instead of Inset::getParagraph
994 2003-12-03 André Pönitz <poenitz@gmx.net>
998 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
999 InsetText::read() as LyXText::read()
1001 2003-12-02 Angus Leeming <leeming@lyx.org>
1003 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1004 type. Add a comment in the implementation that the function uses
1005 the stream's bad() function rather than fail() as the std::streams
1008 2003-12-02 André Pönitz <poenitz@gmx.net>
1010 * lyxlex.[Ch]: make interface more similar to std::stream
1012 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1014 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1016 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1018 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1020 * vspace.[Ch]: remove VSpace::NONE
1022 2003-12-01 André Pönitz <poenitz@gmx.net>
1025 * lyxtext.h: move ParagraphList member to LyXText
1026 rename LyXText::ownerParagraphs to LyXText::paragraph
1029 * bufferview_funcs.C:
1039 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1041 * undo.C: fix cursor positioning
1043 2003-12-01 John Levon <levon@movementarian.org>
1045 * BufferView_pimpl.C: fix a crash on exit with
1048 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1050 * BranchList.C: fix setSelected() method.
1052 2003-11-28 André Pönitz <poenitz@gmx.net>
1054 * ParagraphParameters.[Ch]:
1055 * ParameterStruct.h: remove space above/below from Paragraph to
1058 * BufferView_pimpl.C:
1064 * paragraph_funcs.C:
1070 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1072 * factory.C: Syntax change for CharStyles
1074 2003-11-28 André Pönitz <poenitz@gmx.net>
1079 * buffer.[Ch]: move LyXText member
1081 2003-11-28 André Pönitz <poenitz@gmx.net>
1083 * BufferView.[Ch]: make LyXText * text a private member
1085 * BufferView_pimpl.C:
1096 * output_plaintext.C: cleanup
1098 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1101 * lyxtextclass.[Ch]: parametrize SGML document header
1103 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1106 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1109 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1111 * text2.C (setFont): rework using PosIterator (no more recursive)
1112 (setCharFont): no more needed
1113 (setLayout): no more selection cursors fiddling (done by redoCursor)
1114 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1115 destroy remaining ones)
1117 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1119 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1121 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1124 * text3.C: adjust + re-allow multi par depth changes
1125 * textcursor.C: simplify a bit
1127 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1133 * src/output_docbook.C:
1134 * src/output_latex.C:
1139 * src/text2.C: Introducing a number of tags parametrizing various
1140 XML formats that we may want to support
1142 2003-11-25 André Pönitz <poenitz@gmx.net>
1144 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1146 * lyxtext.h (leftMargin/rightMargin): simplify interface
1153 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1155 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1156 master file to any child files. Fixes bug 546.
1158 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1160 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1162 2003-11-24 André Pönitz <poenitz@gmx.net>
1164 * rowpainter.C: simplification
1166 * text2.C (updateCounters): remove call to redoParagraph on
1167 changed labels as this is far too expensive.
1169 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1171 * converter.C (convert): fix a crash: this function gets
1172 called with buffer == 0 from importer code.
1174 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1176 * text3.C (cursorPrevious): make sure that we do not compare
1177 iterators form different containers.
1180 * rowpainter.C (paintSelection): make sure that we do not compare
1181 iterators from different containers.
1183 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1184 iterators from different ParagraphList containers.
1187 * text2.C (LyXText): change order of initialization slightly
1188 (operator=): new function. copy all variables except cache_par_
1189 (moveUp): make sure that we do not compare iterators from
1190 different ParagraphList constainers.
1193 * text.C (firstPar): new function
1194 (lastPar): new function
1195 (endPar): new function
1197 * lyxtext.h: move things around and group public functions, public
1198 variables, private functions, private variables
1200 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1202 * factory.C: change call to InsetERT constructor to avoid
1203 additional invocation of method status
1204 * text2.C (toggleInset): remove redundant update() call
1205 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1206 instead of a Bufferview pointer
1208 2003-11-21 André Pönitz <poenitz@gmx.net>
1210 * rowpainter.C: simplification
1212 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1214 * text3.C (dispatch): make possible to extend a word/row selection
1217 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1219 * lyxtext.h: x0_,y0_ -> xo_,yo_
1220 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1221 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1222 * rowpainter.C (paintRows): paint full paragraphs
1224 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1226 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1229 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1231 * lyxtext.h: add x0_, y0_
1232 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1233 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1235 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1237 * text2.C (setCursorIntern): move the x_target update here *
1238 * text3.C: change some bv() to true/false in calls to
1239 cursorUp/Down/Right/Left
1240 * cursor.C: use helper function.
1242 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1244 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1245 * paragraph_funcs.[Ch]: correct comment
1246 * rowpainter.C: do not paint selections away from bv->cursor()
1247 Fix a long standing selection painting bug.
1248 * text3.C: generalize mouse-selection code to LyXTexts other that
1250 * textcursor.C: do not use y coords if we can use par offsets
1252 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1254 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1255 cursor position after e.g. inset insert)
1257 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1259 * lyxfind.C (replace): adjust to locking removal + some
1262 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1264 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1267 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1270 * output_docbook.C: XML sanitation: new layout
1271 parameters InnerTag and CommandDepth
1273 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1275 * BufferView_pimpl.C:
1277 * text3.C: Fix the insertion and modification of button-style
1280 2003-11-13 André Pönitz <poenitz@gmx.net>
1282 * InsetList.[Ch]: remove deleteLyXText
1284 * paragraph.[Ch]: cache beginOfBody position
1289 * text3.C: remove superfluous update() calls
1293 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1295 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1296 * BufferView.C (fitLockedInsetCursor): remove
1297 * cursor.[Ch] (getDim): add
1298 * text.C (getRowNearY): add faster version
1299 * text3.C: remove some update calls
1301 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1313 * text3.C: The Character Style /XML short element patch.
1315 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1318 * factory.C: Small step to solving 'unable to insert some insets'
1321 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1323 * cursor.[Ch] (updatePos): new function for updating the y
1324 position of the tip inset
1325 * bufferview_funcs.C (put_selection_at):
1326 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1328 2003-11-11 André Pönitz <poenitz@gmx.net>
1330 * text.C: remove big comment on invalid Paragraph pointers as it is
1333 2003-11-11 André Pönitz <poenitz@gmx.net>
1335 * text_funcs.[Ch]: merge with ...
1343 * Makefile.am: remove text_funcs.[Ch]
1345 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1347 * cursor.C (getPos): return absolute cached y coord
1349 * BufferView_pimpl.C (fitCursor): new simplistic code
1350 (workAreaDispatch): add a fitCursor call
1352 2003-11-10 André Pönitz <poenitz@gmx.net>
1355 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1357 2003-11-10 André Pönitz <poenitz@gmx.net>
1359 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1360 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1361 indicate that the cursor needs to leave an inset
1363 * lyxtext.h: remove inset locking
1365 * cursor.[Ch]: re-implement functionality provided by inset locking
1368 * BufferView_pimpl.[Ch]:
1370 * bufferview_funcs.[Ch]:
1382 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1384 * PosIterator.[Ch]: replace the stack with a vector, add inset
1386 * iterators.[C]: adjust
1388 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1390 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1392 * paragraph_funcs.C (readParToken): put the correct id in the
1393 error item, not the id of the top paragraph
1395 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1397 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1398 * bufferview_funcs.C (put_selection_at): use the above
1400 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1402 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1404 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1406 * output_linuxdoc.h:
1407 * output_plaintext.h:
1409 * output_docbook.h: add #include statements
1411 2003-11-05 José Matos <jamatos@lyx.org>
1413 * output_docbook.[Ch]:
1414 * output_latex.[Ch]:
1415 * output_linuxdoc.[Ch]:
1416 * output_plaintext.[Ch]: New files for output formats.
1417 * output.[Ch]: New file for helper functions.
1420 * paragraph_funcs.[Ch]: output functions moved to new files.
1422 * outputparams.h: rename of latexrunparams.h
1430 * paragraph_funcs.[Ch]:
1431 * paragraph_pimpl.[Ch]:
1432 * tabular.[Ch]: rename ascii to plaintext
1433 and LatexRunParams to OutputParams.
1435 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1437 * iterators.[Ch] (text): require bv argument
1438 * undo.C (recordUndo):
1439 * lyxfunc.C (dispatch):
1440 * bufferview_funcs.C (put_selection_at): adjust
1442 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1444 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1446 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1448 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1451 2003-11-04 André Pönitz <poenitz@gmx.net>
1453 * cursor.[Ch]: restructure
1456 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1458 * iterators.[Ch] (asCursor): remove
1460 * lfuns.h: remove LFUN_INSET_EDIT
1466 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1468 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1470 * lyxfind.[Ch]: complete overhaul
1471 * BufferView_pimpl.C:
1473 * paragraph.[Ch] (insert): add
1475 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1479 * text.C: remove dead spellcheck code
1481 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * dispatchresult.h: add a val setter
1485 * cursor.C (dispatch): use a tempvar for data_[i]
1487 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1489 * PosIterator.[Ch]: compile fix
1491 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1493 * text.C (cursorPar): deactivate the cursor cache
1495 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1497 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1499 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1501 * text3.C (dispatch): adjust for new DisptchResult semantics.
1503 * lyxfunc.C (dispatch): handle update when return from
1504 Cursor::dispatch, adjust for new DispatchResult semantics.
1506 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1507 DispatchResult(true) mean to not update. Add class functions for
1508 setting dispatched and update, as well as reading.
1510 * cursor.C (dispatch): don't handle update here
1512 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1515 * trans_mgr.C: adjust
1517 * paragraph_funcs.C (readParToken): exception safety
1519 * lyxvc.h: store the vcs pointer in a scoped_ptr
1522 * lyxsocket.C (serverCallback): exception safety
1524 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1526 * ispell.C (clone): make it return a auto_ptr
1528 * factory.C (createInset): exception safety
1529 (readInset): exception safety
1531 * bufferlist.C (newBuffer): exception safety
1533 * Thesaurus.C (Thesaurus): use initialization for aik_
1535 * MenuBackend.C (expandToc): exception safety.
1537 2003-11-03 André Pönitz <poenitz@gmx.net>
1541 * bufferview_funcs.C: remove getInsetFromId()
1544 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1550 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1552 * PosIterator.C (distance, advance): new
1553 * bufferview_funcs.[Ch] (put_selection_at): new
1554 * iterators.[Ch] (lockPath): new
1556 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1558 * iterators.[Ch] (asPosIterator): added
1559 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1560 * PosIterator.[Ch]: added
1562 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * cursor.C (dispatch):
1567 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1569 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1570 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1571 contructor, add a class function dispatched. Remove operator>=
1573 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * debug.C: only use the default constructor for debugstream
1578 * main.C (main): include debug.h and setup the lyxerr streambuf
1581 2003-10-31 José Matos <jamatos@lyx.org>
1583 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1585 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1586 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1587 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1588 * paragraph_pimpl.C (simpleTeXSpecialC):
1589 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1590 add LatexRunParams argument.
1592 * exporter.C (Export): change call accordingly.
1594 * latexrunparams.h: add new member to take care of the other backends.
1595 2003-10-30 José Matos <jamatos@lyx.org>
1597 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1598 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1599 factorise code for paragraph output.
1601 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1604 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * text3.C (dispatch):
1607 * lyxfunc.C (dispatch):
1608 * cursor.C (dispatch):
1609 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1611 * dispatchresult.h: make the dispatch_result_t ctor explicit
1613 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1616 * buffer.C: small refactoring of docbook stuff
1618 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1623 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1626 operator dispatch_result_t, and operators for == != and >=
1628 * cursor.C (dispatch): adjust for operator dispatch_result_t
1629 removal. comment out call to update
1631 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1633 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1644 * dispatchresult.h: new file, DispatchResult broken out of
1647 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1649 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1651 * text.C (rowBreakPoint): put a hack inside #if 0
1653 2003-10-28 André Pönitz <poenitz@gmx.net>
1657 * paragraph_funcs.C:
1660 * text2.C: general cleanup (lots of small stuff)
1662 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1664 * text2.C (cursorEnd): simple fix to the "end key goes to one
1665 before the end on last row" bug
1667 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1669 * text.C (backspace): fix the "zombie characters"
1671 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1673 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1675 2003-10-27 André Pönitz <poenitz@gmx.net>
1677 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1679 * factory.C: handle new InsetPagebreak, InsetLine
1681 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1682 and move handling into new InsetPagebreak, InsetLine
1684 * BufferView_pimpl.C:
1686 * ParagraphParameters.C:
1687 * ParameterStruct.h:
1692 * paragraph_funcs.C:
1693 * paragraph_pimpl.C:
1699 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1702 * lyxrow_funcs.[Ch]:
1708 * text3.C: remove lastPos uses in favour of Row::endpos
1710 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1712 * undo.C (performUndoOrRedo): fix two crashes by setting a
1713 cursor by hand and reordering some calls. Use bv->lockInset instead
1714 of inset->edit because the latter loses cursor information
1716 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1718 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1720 (rowBreakPoint): fix width. change point to point + 1.
1721 Add a missing check.
1723 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1726 * lyxfunc.C: fix (at least partly) the problems
1727 with the Nav menu and headers inside branch insets
1730 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1732 * paragraph.C (getChar): add strong asserts
1734 * lyxrow_funcs.C (lastPos): remove hideous hack
1736 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1737 (fill): adjust to that (avoid an infinite loop)
1739 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1741 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1743 2003-10-23 André Pönitz <poenitz@gmx.net>
1745 * RowList_fwd.h: change list<> to vector<> to gain speed
1746 after suggestion from Alfredo
1748 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1750 * lyxtext.h: move the bidi stuff from here...
1753 * Bidi.[Ch]: ... to here
1755 2003-10-23 André Pönitz <poenitz@gmx.net>
1758 * text.C (isLastRow, isFirstRow): new functions
1760 * paragraph.h: new width cache member
1762 * rowpainter.C: replace RowList::iterator with Row & where possible
1764 * lyxfunc.C: replace several view()->text with a single call
1766 * toc.C: fix 'unused' warning
1768 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1771 when woring with stream::pos_type
1772 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1774 2003-10-22 André Pönitz <poenitz@gmx.net>
1777 * text.C: use Row & instead of RowList::iterator
1779 * lyxrow.h: rename end() to endpos()
1785 2003-10-22 Angus Leeming <leeming@lyx.org>
1787 * buffer.[Ch] (fully_loaded): new member function, returning true
1788 only when the file has been loaded fully.
1789 Used to prevent the premature generation of previews and by the
1790 citation inset to prevent computation of the natbib-style label.
1792 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1793 templates are all set up.
1795 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1797 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1799 * text.C: fixed an "oops" in the "is a bit silly"
1802 2003-10-21 André Pönitz <poenitz@gmx.net>
1804 * FuncStatus.[Ch]: small stuff, whitespace
1806 * lyxfont.[Ch]: operator<<() for debug reasons
1810 * lyxtext.h: whitespace, spelling
1812 * paragraph.C: naming of variables
1815 * text2.C: small stuff
1818 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1820 * text.C: (1) finish off the inset display() work;
1821 (2) fix the "is a bit silly" bug (accessing char
1824 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1826 * text.C: re-introduce display() for insets, fixing the
1827 various bugs (stretch of line above, math inset
1830 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * text.C (rightMargin): remove spurious semicolon
1834 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1837 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1839 * text3.C: fix one crash due to wrong cursor def
1841 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * vc-backend.C (scanMaster): make the regex static
1845 * LaTeX.C (scanAuxFile): make the regexs static
1847 * text3.C (doInsertInset, dispatch, dispatch):
1848 * text2.C (cursorUp, cursorDown):
1849 * text.C (selectNextWordToSpellcheck):
1850 * BufferView_pimpl.C (dispatch):
1851 * lyxfunc.C (dispatch): localDispatch -> dispatch
1853 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1855 * lyxsocket.C: include <cerrno>
1857 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * lyxfunc.C (dispatch): remove textcache stuff
1861 * bufferlist.C (release): remove textcache stuff
1864 * TextCache.C: delete file
1865 * TextCache.h: delete file
1867 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1869 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1870 delete of the bv_->text.
1871 (resizeCurrentBuffer): remove texcache stuff
1872 (workAreaResize): ditto
1874 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1879 2003-10-16 André Pönitz <poenitz@gmx.net>
1886 * text3.C: speed up by storing y positions per paragraph plus per-row
1887 offset instead of having a 'full' y position in the row.
1889 2003-10-15 André Pönitz <poenitz@gmx.net>
1893 * undo.[Ch]: make undo aware of inner insets
1895 2003-10-14 Angus Leeming <leeming@lyx.org>
1897 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1898 static member functions LyX::ref() and LyX::cref.
1899 (lastfiles): new accessor functions for the new lastfiles_ member var.
1900 (addLyXView, views_): add a new LyXView to the list of views_.
1901 (updateInset): loop over all LyXViews to call their own updateInset
1902 member function, returning a pointer to the Buffer owning the inset.
1904 * BufferView_pimpl.C (loadLyXFile):
1905 * MenuBackend.C (expandLastfiles):
1906 * bufferlist.C (MenuWrite, QuitLyX):
1907 lastfiles is no longer a global variable.
1908 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1910 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1911 static function. Access through LyX::cref().emergencyCleanup().
1913 2003-10-14 André Pönitz <poenitz@gmx.net>
1915 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1917 * undo.[Ch]: restoring part of 'undo in insets'
1920 * undo_funcs.[Ch]: merge with undo.[Ch]
1922 * tabular.C: small cleansing stuff
1924 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1926 * paragraph_funcs.C (readParToken): report unknown insets as error
1927 boxes. Use the outer paragraph as location (also for unknown
1930 * factory.C (readInset): do not abort on reading an unknown inset.
1931 Eat it and return 0.
1933 2003-10-13 Angus Leeming <leeming@lyx.org>
1935 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1937 * lyxrc.C: displayTranslator is now a function,
1938 declared in GraphicsTypes.h.
1940 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1942 * format.C: new placeholder $$a to pass the socket address.
1944 * bufferlist.[Ch]: new function getBufferFromTmp.
1946 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1947 files in the temporary dir.
1949 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1951 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1953 * Makefile.am: add lyxsocket.[Ch].
1955 * lyx_main.C (error_handler): handle SIGPIPE.
1957 2003-10-13 André Pönitz <poenitz@gmx.net>
1959 * BufferView_pimpl.C:
1964 * undo_funcs.[Ch]: use paroffset_type instead of
1965 ParagraphList::iterators to prevent multiple conversion
1966 (and get a more robust interface)
1968 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1972 * text3.C (dispatch): ditto
1974 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1977 move the onlyfile, use onlyfile instead of foundfile in a couple
1980 * DepTable.C (update): flush the error stream a bit more
1982 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * lyxserver.C (callback): adjust
1986 * lyxfunc.C (getStatus): add a missing brace in commented code
1987 (ensureBufferClean): reindent
1988 (dispatch): delete version taking a string
1990 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * LaTeX.C (deplog): move found file handlig from here...
1993 (handleFoundFile): .. to new function here.
1994 (deplog): make sure to discover several files mentioned on the
1997 2003-10-10 André Pönitz <poenitz@gmx.net>
2004 * text3.C: fix some of the tabular crashes
2006 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2008 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2010 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2012 2003-10-09 André Pönitz <poenitz@gmx.net>
2014 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2017 * BufferView_pimpl.C:
2018 * bufferview_funcs.C:
2029 * undo_funcs.C: adjust
2031 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * text2.C (incrementItemDepth): new function, use a backtracking
2034 algorithm to discover the correct item depth.
2035 (resetEnumCounterIfNeeded): new function, use a backtracking
2036 algorithm to discover if counter reset is needed.
2037 (setCounter): use them. Simplify a bit. Add different labels for
2038 different item depths for itemize.
2040 * paragraph.C (Paragraph): remove initialization of enumdepth
2043 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2044 enumerate and itemize. Change the type of itemdepth to signed char.
2046 2003-10-08 André Pönitz <poenitz@gmx.net>
2048 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2053 * tabular.[Ch]: fix crash after 'row-insert'
2055 2003-10-08 Angus Leeming <leeming@lyx.org>
2057 Fix doxygen warnings.
2059 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2060 Remove CutAndPaste:: prefix from header file declaration.
2062 * LColor.h (fill): remove LColor:: prefix from declaration.
2064 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2065 use lyx::depth_type rather than Paragraph::depth_type so that
2066 header file and .C file match.
2068 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2070 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2071 * aspell.C: \file aspell_local.C -> \file aspell.C
2072 * gettext.C: \file gettext.C -> \file src/gettext.C
2073 * gettext.h: \file gettext.h -> \file src/gettext.h
2074 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2075 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2076 * text.C: \file text.C -> \file src/text.C
2078 * toc.C: move comment so that doxygen is not confused.
2080 2003-10-07 Angus Leeming <leeming@lyx.org>
2082 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2084 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2087 * aspell_local.h: add forgotten std::string's.
2089 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2096 * text3.C: The Box patch. Fancybox support, minipage, parbox
2098 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2104 * ParagraphParameters.h:
2114 * lyxtextclasslist.h:
2117 * paragraph_pimpl.C:
2118 * textcursor.h: add <string> and other small fixes to make Lars'
2119 std::string patch compile with STLport.
2121 2003-10-06 Angus Leeming <leeming@lyx.org>
2123 * LColor.h: Add missing #include <string>.
2125 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * All most all file in all subdirs: Make <string> be the prefered
2128 way of getting to std::string, add using declarations.
2130 2003-10-06 André Pönitz <poenitz@gmx.net>
2132 * metricsinfo.C: initialize LyXFont before changing attribute.
2133 (fixes the 'math in \emph is upright' bug)
2135 2003-10-06 André Pönitz <poenitz@gmx.net>
2137 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2139 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2142 * paragraph_pimpl.C: Small fixes to build using STLport
2144 2003-10-02 André Pönitz <poenitz@gmx.net>
2147 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2149 2003-10-01 André Pönitz <poenitz@gmx.net>
2151 * factory.C: assert early
2153 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2155 * lyx_main.C: remove the global debug object
2157 * debug.h: adjust for new debugstream
2159 * debug.C: adjust for new debugstream and keep the global debug
2162 2003-09-22 Angus Leeming <leeming@lyx.org>
2164 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2165 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2166 an incomplete class LyXFont.
2168 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2170 * factory.C: bug fix in branches
2172 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * lyxfunc.C (processKeySym): adjust
2176 (dispatch): change arg name from ev to func, adjust
2177 (sendDispatchMessage): ditto
2179 * lyx_main.C (defaultKeyBindings): adjust keybindings
2180 (deadKeyBindings): ditto
2182 * kbsequence.C (addkey): return a FuncRequest
2184 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2186 * kbmap.C (bind): take a FuncRequest as arg, adjust
2189 (defkey): change to take a FuncRequest as arg, adjust
2190 (findbinding): take a FuncRequest as arg, adjust.
2192 * funcrequest.h (operator=): added
2194 * funcrequest.C (FuncRequest): default kb_action changed from
2195 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2197 * buffer.C (dispatch): simplify
2198 (dispatch): adjust to take a FuncRequest as arg, adjust
2200 * boost.C (assertion_failed): change assertion message slightly
2202 * ToolbarBackend.C (read): simplify
2204 * MenuBackend.C (binding): adjust call to findbinding, add a
2205 message if no binding is found.
2207 (expandToc): correct by adding a empty FuncRequest
2209 * LyXAction.C: include <boost/assert.hpp>
2210 (isPseudoAction): delete function
2211 (LookupFunc): change name to...
2212 (lookupFunc): this. change return type to FuncRequest.
2213 (getActionName): take kb_action as arg, simplify
2214 (funcHasFlag): add an assert, simplify.
2216 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * toc.C (action): return a FuncRequest, simplify
2220 * lyxfunc.C (processKeySym): adjust
2221 (getStatus): delete version that takes an int.
2223 (dispatch): delete version that takes action as int
2225 (sendDispatchMessage): simplify and adjust
2227 * funcrequest.C (getArg): take unsigned int as arg
2229 * ToolbarBackend.C (read): adjust
2230 (add): delete version that takes func as a string.
2231 (getIton): take a FuncRequest as arg
2233 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2236 * MenuBackend.C (MenuItem): add a new construct that only takes a
2237 Kind, simplify the constructor use for submenus.
2239 (expandLastfiles): adjust
2240 (expandDocuments): adjust
2241 (expandFormats): adjust
2242 (expandFloatListInsert): adjust
2243 (expandFloatInsert): adjust
2244 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2246 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2247 Remove class variables lyx_pseudo_map and lyx_arg_map
2249 * LyXAction.C (searchActionArg): delete function
2250 (getPseudoAction): delete function
2251 (retrieveActionArg): delete function
2252 (LookupFunc): make it return kb_action, simplify.
2253 (getActionName): simplify
2255 * factory.C (createInset): fix new bug
2257 2003-09-19 Angus Leeming <leeming@lyx.org>
2259 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2260 masterFilename_ parameter in the include inset.
2262 * factory.C (createInset): changes due to the changes to InsetInclude.
2264 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2266 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2268 2003-09-18 Angus Leeming <leeming@lyx.org>
2271 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2272 Inset::fillWithBibKeys.
2273 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2275 2003-09-18 Angus Leeming <leeming@lyx.org>
2277 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2279 (ctor): pass and store a 'Buffer const &'
2280 (buffer): new member function.
2282 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2283 '*this' to the LaTeXFeatures ctor.
2285 2003-09-18 Angus Leeming <leeming@lyx.org>
2291 * text.C: rename EnumLColor as LColor_color.
2293 2003-09-18 Angus Leeming <leeming@lyx.org>
2295 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2296 remove #include "insets/insetbase.h" from cursor.h.
2298 2003-09-18 Angus Leeming <leeming@lyx.org>
2300 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2301 InsetOld_code to remove #include "inset.h".
2303 * iterators.C: add #include "insets/inset.h"
2305 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2307 * BufferView.C: remove more locking stuff that apparently doesn't
2308 do anything sensible.
2310 2003-09-16 André Pönitz <poenitz@gmx.net>
2313 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2316 2003-09-16 Angus Leeming <leeming@lyx.org>
2318 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2320 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2323 * paragraph.h: remove #include "lyxfont.h". Forward declare
2326 2003-09-16 Angus Leeming <leeming@lyx.org>
2328 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2329 of support/textutils.h.
2330 (isWord): move the contents of support/textutils.h's IsWordChar here.
2336 * text2.C: add #include "paragraph.h".
2339 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2341 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * LaTeX.C: use namespace alias for lyx::support::os
2349 2003-09-16 Angus Leeming <leeming@lyx.org>
2352 * bufferview_funcs.C:
2355 * paragraph_pimpl.C:
2357 * text.C: add #include "LColor.h".
2359 2003-09-16 Angus Leeming <leeming@lyx.org>
2361 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2362 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2364 Store the FontBits::color variable as an int rather than as an
2365 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2368 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2369 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2370 string calls together.
2372 * lyxrc.C: add #include "LColor.h".
2374 2003-09-15 Angus Leeming <leeming@lyx.org>
2376 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2379 2003-09-15 Angus Leeming <leeming@lyx.org>
2381 * LColor.h: add an EnumLColor wrapper for LColor::color.
2383 * lyxfont.[Ch] (color, setColor, realColor):
2384 * lyxtext.h, text.C (backgroundColor):
2385 pass EnumLColor args to/from the functions, rather than LColor::color
2389 * lyxtext.h: forward declare EnumLColor.
2391 * lyx_main.C: add #include "LColor.h".
2393 2003-09-15 Angus Leeming <leeming@lyx.org>
2395 * .cvsignore: add lyx-gtk.
2397 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * ParagraphParameters.C
2406 * bufferview_funcs.C
2416 * vc-backend.C: remove usage of STRCONV
2418 2003-09-15 Angus Leeming <leeming@lyx.org>
2420 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2421 explicitly define the color passed to the painter.
2423 2003-09-15 Angus Leeming <leeming@lyx.org>
2425 * bufferparams.C (BufferParams): reorder member initializers to avoid
2428 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2430 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2431 * text.C (updateRowPositions): remove an unusual nop
2433 2003-09-12 André Pönitz <poenitz@gmx.net>
2435 * BufferView_pimpl.C:
2444 * Counters.[Ch]: finish the 'automatic counters' job
2446 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2448 * aspell.C: include <boost/assert.cpp> (compile fix)
2450 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2452 * boost.C (assertion_failed): use lyx::support::abort instead of
2455 2003-09-10 Angus Leeming <leeming@lyx.org>
2457 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2458 with their _fwd progeny.
2460 2003-09-09 Angus Leeming <leeming@lyx.org>
2462 134 files throughtout the source tree: replace 'using namespace abc;'
2463 directives with the appropriate 'using abc::xyz;' declarations.
2465 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2467 * boost.C (emergencyCleanup): moved here from LAssert.c
2468 (assertion_failed): new function, called by BOOST_ASSERT
2470 * several files: change Assert to BOOST_ASSERT
2472 2003-09-09 Angus Leeming <leeming@lyx.org>
2474 * buffer.[Ch]: Add an Impl class and move Buffer's member
2475 variables into it. As a result move several header files out of
2478 Add header files to lots of .C files all over the tree as a result.
2480 2003-09-09 Angus Leeming <leeming@lyx.org>
2482 * buffer.[Ch]: make Buffer's member variables private. Add
2485 Lots of changes all over the tree as a result.
2487 2003-09-08 Angus Leeming <leeming@lyx.org>
2489 * graph.C: #include <config.h>.
2491 2003-09-08 Angus Leeming <leeming@lyx.org>
2495 * BufferView_pimpl.C:
2524 * toc.C: remove redundant using directives.
2526 2003-09-07 Angus Leeming <leeming@lyx.org>
2528 * LaTeXFeatures.h: remove #include "support/types.h".
2529 * ToolbarBackend.h: remove #include <algorithm>.
2530 * changes.h: remove #include <ctime>.
2531 * debug.h: remove #include <iosfwd>.
2532 * graph.h: remove #include "support/std_string.h".
2533 * lyx_main.h: remove #include <csignal>.
2534 * lyxlex_pimpl.h: remove #include <fstream>.
2535 * sgml.h: remove #include <algorithm>, <utility>.
2536 * toc.h: remove #include "support/std_ostream.h".
2537 Add #include <iosfwd>.
2539 2003-09-07 Angus Leeming <leeming@lyx.org>
2541 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2543 * converter.h: forward declare LatexRunParams.
2544 * encoding.h: remove #include "lyxrc.h".
2545 * lyxtext.h: remove #include "LColor.h".
2546 * lyxtextclass.h: remove #include "support/types.h".
2547 * trans.h: remove #include "tex-accent.h".
2548 * trans_mgr.h: remove #include "tex-accent.h".
2549 * insets/inset.h: remove #include "support/types.h", <vector>.
2550 * insets/insetcollapsable.h: remove #include "LColor.h".
2551 * insets/insetinclude.h: remove #include "dimension.h".
2552 * insets/insetlatexaccent.h: remove #include "dimension.h".
2553 * insets/insetoptarg.h:: remove #include "insettext.h".
2554 * insets/insettext.h: remove #include "dimension.h",
2555 <boost/shared_ptr.hpp>
2557 * insets/renderers.h: add #include "dimension.h".
2558 * insets/updatableinset.h: add #include "support/types.h".
2560 * many .C files: Associated changes.
2562 2003-09-06 Angus Leeming <leeming@lyx.org>
2564 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2565 one, inside testInvariant.
2567 * PrinterParams.C: new file.
2568 * PrinterParams.[Ch]: move the function bodies out of line.
2570 2003-09-06 Angus Leeming <leeming@lyx.org>
2572 * ParagraphParameters.h: forward declare ParameterStruct rather than
2573 including its header file.
2574 (depth): moved out-of-line.
2576 2003-09-06 Angus Leeming <leeming@lyx.org>
2578 * BufferView_pimpl.h:
2581 * lyxfunc.h: forward declare LyXKeySym rather than
2582 #include "frontends/LyXKeySym.h".
2584 * BufferView_pimpl.C:
2587 * lyxfunc.C: associated changes.
2589 2003-09-06 Angus Leeming <leeming@lyx.org>
2591 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2592 As a result, can remove the #include "insets/inset.h" from BufferView.h
2594 2003-09-06 Angus Leeming <leeming@lyx.org>
2596 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2597 As a result, can remove the #include "insets/inset.h" from BufferView.h
2599 2003-09-06 Angus Leeming <leeming@lyx.org>
2605 * bufferview_funcs.C:
2606 * BufferView_pimpl.C:
2611 * ParagraphParameters.C:
2616 * frontends/controllers/ControlDocument.C:
2617 * insets/insetcaption.C: rearrange the #includes into some sort of
2620 * buffer.h: remove #includes ErrorList.h, undo.h
2622 2003-09-06 Angus Leeming <leeming@lyx.org>
2624 * support/types.h: add a 'depth_type' typedef, used to store the
2625 nesting depth of a paragraph.
2628 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2629 defining explicitly.
2632 * paragraph_funcs.h:
2633 * ParagraphParameters.h:
2634 * sgml.h: use lyx::depth_type rather than Paragraph or
2635 ParameterStruct's depth_type.
2638 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2641 * BufferView_pimpl.C:
2643 * ParagraphParameters.C:
2646 * bufferview_funcs.C:
2653 * frontends/LyXView.C:
2654 * frontends/controllers/ControlDocument.C:
2655 * frontends/controllers/ControlErrorList.C:
2656 * insets/insetbibitem.C:
2657 * insets/insetbranch.C:
2658 * insets/insetcaption.C:
2659 * insets/insetcollapsable.C:
2660 * insets/insetenv.C:
2661 * insets/insetert.C:
2662 * insets/insetfloat.C:
2663 * insets/insetfoot.C:
2664 * insets/insetfootlike.C:
2665 * insets/insetnewline.C:
2666 * insets/insetquotes.C:
2667 * insets/insettabular.C:
2668 * insets/insettext.C:
2669 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2671 * frontends/controllers/ControlChanges.C: #include "changes.h".
2673 2003-09-06 Angus Leeming <leeming@lyx.org>
2675 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2676 than #including paragraph.h.
2679 * RowList.h: deleted. Superfluous.
2689 * insets/insettext.h: use ParagraphList_fwd.h rather than
2692 * paragraph.h: don't forward declare ParagraphList.
2695 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2696 rather than ParagraphList.h. paragraph.h is still needed for the
2697 Paragraph::depth_type parameters.
2699 * textcursor.h: enable it to compile stand-alone in light of the
2702 * bufferview_funcs.C:
2714 * frontends/controllers/ControlParagraph.C:
2715 * frontends/controllers/ControlTabular.C:
2716 * insets/insetmarginal.C:
2717 * insets/insetminipage.C:
2718 * insets/insetnote.C:
2719 * insets/insetoptarg.C: add header files needed to compile again.
2721 2003-09-06 Angus Leeming <leeming@lyx.org>
2723 * RowList_fwd.h: new file, forward-declaring Row rather than
2724 #including lyxrow.h.
2729 * insets/insettext.h: use it instead of RowList.h
2731 * bufferview_funcs.C:
2738 * text3.C: #include "RowList.h".
2740 2003-09-05 Angus Leeming <leeming@lyx.org>
2742 * factory.C (createInset):
2743 * vspace.C (c-tor): replace sscanf call with an istringstream.
2744 * ispell.C: re-add missing HP/UX headers.
2745 * lyxserver.C: re-add missing os2 headers.
2747 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2756 * text3.C: re-add missing system headers, needed for 2.95.2.
2758 2003-09-05 Angus Leeming <leeming@lyx.org>
2760 Changes most place everywhere due to the removal of using directives
2761 from support/std_sstream.h.
2763 2003-09-05 Angus Leeming <leeming@lyx.org>
2765 Replace LString.h with support/std_string.h,
2766 Lsstream.h with support/std_sstream.h,
2767 support/LIstream.h with support/std_istream.h,
2768 support/LOstream.h with support/std_ostream.h.
2770 Changes resulting throughout the tree.
2772 2003-09-05 Angus Leeming <leeming@lyx.org>
2774 * sgml.h: ensure that the header file can be compiled stand-alone.
2775 * *.C: strip out redundant #includes. (320 in total.)
2777 2003-09-04 Angus Leeming <leeming@lyx.org>
2779 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2780 here (from getPackages).
2782 * debug.[Ch]: add a new EXTERNAL tag.
2784 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2786 * text2.C (cursorEnd): simplify
2788 (getColumnNearX): adjust
2790 * text.C (computeBidiTables): adjust
2793 * rowpainter.C (paintChars): adjust
2794 (paintSelection): adjust
2795 (paintChangeBar): adjust
2798 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2800 (numberOfSeparators): adjust
2802 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2808 * text3.C: Restricts the mouse click functionality
2809 of insets like bibtex, include, toc and floatlist to the visible
2810 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2811 up the dialogs. Cursor has to be in front of the inset (i.e.
2812 start of row) for this to function.
2814 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2816 * bufferview_funcs.C (currentState): output row information
2818 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2820 * bufferview_funcs.C (currentState): output paragraph position
2822 2003-09-04 Angus Leeming <leeming@lyx.org>
2824 * FloatList.h: move out #include "Floating.h".
2825 * LaTeX.h: move out #include "DepTable.h".
2826 * LyXAction.h: move out #include "funcrequest.h".
2827 * buffer.h: move out #include "author.h", "iterators.h".
2828 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2829 * lyx_main.h: move out #include "errorlist.h".
2830 * lyxfunc.h: move out #include "FuncStatus.h".
2831 * lyxtext: move out #include "lyxcursor.h".
2832 * paragraph_pimpl.h: move out #include "counters.h".
2834 2003-09-03 Angus Leeming <leeming@lyx.org>
2836 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2837 preamble_snippets list, enabling us to add snippets to the preamble
2838 only if the snippet was not there already.
2840 2003-09-04 Angus Leeming <leeming@lyx.org>
2842 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2844 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2846 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2849 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2851 * BranchList.C: point fix, earlier forgotten
2853 2003-09-02 Angus Leeming <leeming@lyx.org>
2855 * box.C (contains): renamed from 'contained' after a fantastic
2858 2003-09-02 John Levon <levon@movementarian.org>
2864 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2866 2003-09-02 John Levon <levon@movementarian.org>
2868 * text2.C: simplification of cursorEnd(), including partial
2871 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * buffer.C (readFile): add a space
2875 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2877 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2879 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * buffer.C (readFile): new function, take a filename and a
2882 ParagraphList::iterator
2884 (readFile): adjust, make it private. don't use setStream, make
2885 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2886 always contain the filename.
2888 * BufferView.C (insertLyXFile): simplify and make it work for
2891 2003-08-30 John Levon <levon@movementarian.org>
2893 * Makefile.am: fix dist (from Kayvan)
2895 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * most files: change to use const Buffer refs
2899 2003-08-27 André Pönitz <poenitz@gmx.net>
2901 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2902 on top of ownerPar().
2904 2003-08-27 John Levon <levon@movementarian.org>
2906 * funcrequest.C: properly initialise POD members
2908 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2910 * lyxtext.h (top_y): move top_y from here
2915 * BufferView_pimpl.[Ch]: to here
2916 * frontends/screen.C:
2917 * insets/insettabular.C:
2918 * insets/insettext.C: adjust
2919 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2921 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2924 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2926 2003-08-26 André Pönitz <poenitz@gmx.net>
2928 * paragraph_func.[Ch] (outerPar): new function
2931 * paragraph_funcs.C:
2932 * paragraph_funcs.h:
2933 * paragraph_pimpl.C:
2934 * text2.C: remove Inset::par_owner
2936 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2941 * text2.C: eliminates the needFullRow/display() stuff
2942 altogether, putting the logic in metrics/draw in the insets.
2944 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2946 * text2.C (redoParagraphInternal, redoParagraphs):
2947 * text.C (redoParagraph): add a call to updateRowPositions at the
2948 end of each 'metrics-like' call. Remove all others.
2949 (getRow): remove the 'y-computing' version.
2950 (getRowNearY): do not compute nor return the real y. Solve the
2951 'y < 0' problem and simplify.
2953 2003-08-22 Angus Leeming <leeming@lyx.org>
2955 * *.[Ch]: clean-up of licence and author blurbs.
2956 Also move config.h out of a few .h files and into a few .C files.
2958 2003-08-22 André Pönitz <poenitz@gmx.net>
2960 * lyxrow.[Ch]: add x_ and *fill_ members
2965 * text2.C: adjust/remove prepareToPrint() calls
2967 2003-08-22 André Pönitz <poenitz@gmx.net>
2969 * lyxrow.[Ch]: add end_ member
2971 * lyxrow_funcs.C: use LyXRow::end_
2973 * lyxtext.h (singleWidth): add LyXFont parameter
2976 * text2.C: adjust LyXText::singleWidth() calls
2978 * text.C (redoParagraph): simplify row breaking logic
2981 2003-08-19 André Pönitz <poenitz@gmx.net>
2983 * funcrequest.C: initialize button_ member
2986 * rowpainter.[Ch]: interface consolidation
2988 2003-08-18 André Pönitz <poenitz@gmx.net>
2991 * BufferView_pimpl.C:
2993 * paragraph_funcs.C:
2995 * text3.C: remove LyXScreen::draw() and fitCursor calls
2997 * BranchList.h: remove spurious semicolons
2999 * MenuBackend.C: fix branchlist related crash
3001 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3009 * bufferparams.[Ch]:
3013 * text3.C: implements the 'branch inset'
3014 idea. This allows the output of various versions of a document
3015 from a single source version, selectively outputing or suppressing
3016 output of parts of the text.
3017 This implementation contains a 'branch list editor' in a separate
3018 tab of the document settings dialog. Branches are user definable
3019 and have a "display colour" to distinguish them on-screen.
3021 ColorHandler was somewhat cleaned up.
3022 (1) make possible a dynamically growing LColor list by allowing
3023 the graphic context cache to grow along (vector);
3024 (2) eliminate an IMHO unnecessary step in colour allocation.
3026 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3028 * BufferView_pimpl.C: compile fix
3030 2003-08-15 André Pönitz <poenitz@gmx.net>
3032 * rowpainter.C: remove extra metrics calls
3034 * lyxtext.h: merge the two constructors into a single one,
3035 pass reference to owner's par list
3037 * BufferView_pimpl.C:
3041 2003-08-15 André Pönitz <poenitz@gmx.net>
3043 * lyxrow_funcs.[Ch]:
3046 * paragraph_funcs.C:
3051 * text_funcs.C: split LyXText::rowlist_ into individual
3052 Paragraph::rows_ chunks
3055 * BufferView_pimpl.[Ch]:
3058 * text3.C: remove toggleSelection()
3060 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3062 * bufferlist.C: beautify two alerts (shorter text of buttons)
3063 * buffer.C: Remove redundant ' ' from message
3065 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3066 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3067 rename VALIGN_CENTER to VALIGN_MIDDLE
3069 2003-08-11 André Pönitz <poenitz@gmx.net>
3071 * lyxtext.h (getPar):
3072 * text.C: new function
3074 2003-08-11 André Pönitz <poenitz@gmx.net>
3077 * tracer.[Ch]: remove unneeded files
3079 * InsetList.[Ch]: remove resizeInsetsLyXText()
3084 * text3.C: merge insertParagraphs() and appendParagraph()
3085 remove breakAgain(), update()
3087 * BufferView_pimpl.[Ch]:
3088 * bufferview_funcs.[Ch]:
3092 * tabular.C: adjust after text & InsetList changes.
3094 2003-08-08 André Pönitz <poenitz@gmx.net>
3096 * text.C (insertChar, backspace): replace rowlist fiddling
3097 with rebreak of full par
3100 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3101 checkParagraph, updateInset): removed
3103 2003-08-07 André Pönitz <poenitz@gmx.net>
3106 * text3.C: merge some LFUN handlers, remove dead code
3108 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3110 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3112 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3114 * text2.C (DEPM): fix part of bug 1255 and 1256
3116 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3118 * BufferView_pimpl.C (workAreaDispatch): change to use
3119 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3120 that are no mouse related.
3122 2003-08-05 André Pönitz <poenitz@gmx.net>
3125 * BufferView_pimpl.[Ch]:
3126 * bufferview_funcs.C:
3128 * text3.C: rip out "deep update"
3130 * textcursor.[Ch] (last_sel_cursor): remove unused member
3132 2003-08-04 André Pönitz <poenitz@gmx.net>
3135 * BufferView_pimpl.[Ch]:
3136 * ParagraphParameters.C:
3137 * bufferview_funcs.C:
3143 * text3.C: replace "complicated" BufferView::update(...) calls with
3146 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3148 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3150 * Makefile.am (lyx_SOURCES): add paper.h
3152 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3154 * Makefile.am: move things around so that both lyx-qt and
3155 lyx-xforms can be built (according to --with-frontend). Then lyx
3156 is a symbolic link to lyx-[firstfrontend]
3158 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3160 * Always use std::endl with lyxerr
3162 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3164 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3166 2003-08-01 André Pönitz <poenitz@gmx.net>
3169 * BufferView_pimpl.[Ch]:
3171 * text3.C: merge BufferView::repaint() and BufferView::update()
3173 2003-08-01 José Matos <jamatos@lyx.org>
3175 * buffer.[Ch]: file_format is no longer a buffer data element.
3177 2003-08-01 André Pönitz <poenitz@gmx.net>
3182 * text2.C: make redoParagraph more independent of current cursor
3184 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3186 * text2.C: remove unneeded members
3188 2003-07-30 André Pönitz <poenitz@gmx.net>
3190 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3192 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3193 create a single function...
3195 * paragraph_funcs.C (moveItem): ... here.
3198 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3200 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3202 * LColor.[Ch]: Add comment and greyedout logical colors.
3204 2003-07-30 André Pönitz <poenitz@gmx.net>
3206 * tabular.C: don't use Assert too heavily. This crashes where it
3209 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3211 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3212 is disabled (bug 1232)
3214 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3216 * factory.C: limited 'arg' scope
3218 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3220 * factory.C: fixed Note submenu issues
3222 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3224 * factory.C: submenu for Note/Comment/Greyedout
3226 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3229 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3231 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3234 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3235 greyedout. Patch provided by Jürgen Spitzmüller.
3237 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3239 * kbmap.C (read): fix error message when reading bind files
3241 2003-07-29 Angus Leeming <leeming@lyx.org>
3243 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3244 certainly does not do what it purports to do. I am doing it, and
3245 us, a favour by killing it.
3247 2003-07-28 José Matos <jamatos@lyx.org>
3249 * buffer.C (readBody, do_writeFile):
3250 * paragraph.C(readParagraph): \end_document replaces \the_end.
3252 2003-07-29 André Pönitz <poenitz@gmx.net>
3255 * BufferView_pimpl.[Ch]:
3259 * textcursor.[Ch]: remove toggleToggle & Co
3261 2003-07-28 José Matos <jamatos@fep.up.pt>
3263 * buffer.C (readParagraph):
3264 * params_func (readParToken, readParagraph):
3265 * paragraph.C (write): \layout -> \begin_layout.
3267 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3269 * lyxlex_pimpl.C (setFile): clean up slightly.
3271 * bufferparams.h: add compressed var
3273 * buffer_funcs.C (readFile): adjust for LyXLex change
3274 (newFile): ditto + simplify
3276 * buffer.C (writeFile): handle writing of compressed files
3278 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3279 Check if the file is compressed and set a bufferparm if so.
3281 * Makefile.am (lyx_LDADD): remove explicit -lz
3283 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3285 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3286 makeDocBookFile): put the real LyX version in the first line of
3290 * version.C.in: remove lyx_docversion
3292 * tabular.C (write_attribute): add a template-based version to
3293 write enums properly
3295 2003-07-28 André Pönitz <poenitz@gmx.net>
3300 * text3.C: use doubles again for x-coordinates. They are needed.
3302 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * messages.C (getLocaleDir): use lyx_localedir()
3306 * lyxlex_pimpl.C (setFile): compress stuff
3308 * buffer.C (writeFile): add some compression stuff
3309 (do_writeFile): new func, dont call expliti close... will this
3312 * Makefile.am (lyx_LDADD): add -lz
3314 2003-07-28 José Matos <jamatos@fep.up.pt>
3316 * buffer.C: increment file format.
3317 * paragraph_funcs (readParagraph, readParToken):
3318 * paragraph.C (readParagraph): add \end_layout.
3320 2003-07-27 Angus Leeming <leeming@lyx.org>
3322 * Makefile.am: remove special casing for configure-time setting of
3323 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3325 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3326 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3328 2003-07-26 André Pönitz <poenitz@gmx.net>
3330 * paragraph_func.[Ch]:
3331 * paragraph.C (realizeFont): inline it whereever it is used
3336 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3339 2003-07-26 André Pönitz <poenitz@gmx.net>
3343 * text2.C: get rid of LyXText::need_break_row
3345 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * toc.[Ch]: put namespace toc inside namespace lyx
3349 * MenuBackend.C (expandToc2): adjust for lyx::toc
3352 * lyxfunc.C (dispatch): adjust for lyx::find
3354 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3355 lyx::find instead. Reorganize a bit.
3356 (LyXReplace): rename to replace
3357 (LyXFind): rename to find
3359 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3362 2003-07-26 André Pönitz <poenitz@gmx.net>
3364 * text.C (setHeightOfRow): restrict scope of temporary variable
3366 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3367 code (never has been used?)
3369 2003-07-27 Asger Alstrup <alstrup@local>
3371 * text.C (fill): Optimise algorithm to exploit that we can reuse
3372 the LyXFont for many characters.
3373 (setHeightOfRow): Same thing.
3374 (rowBreakPoint): Same thing.
3376 2003-07-26 Asger Alstrup <alstrup@local>
3378 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3380 * text.C (singleWidth): Spurious font copying in hot-spot
3381 singleWidth avoided. Reorder tests for arabic for efficiency.
3383 * text.C (fill): handle empty paragraphs better.
3385 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3388 * encoding.h: add includes
3390 * lyxrc.C: remove reading of bind files
3392 * lyx_main.C (init): setup bindings and menus only if we have a
3395 * kbmap.C (read): new method. Do the actual reading of bind
3398 * converter.C (dvipdfm_options):
3401 (output): adapt PAPER_* enums.
3403 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3405 * bufferparams.h: remove paper-related enums from there
3407 * paper.h: New file. A trivial header file to hold paper-related
3408 enums. It should later expand to contain many paper-related
3411 * lyxrc.C: declare extern displayTranslator
3413 2003-07-27 José Matos <jamatos@fep.up.pt>
3415 * tabular.[Ch] (linuxdoc): add support for tables and figures
3418 2003-07-27 José Matos <jamatos@fep.up.pt>
3420 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3421 consistency in both functions.
3422 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3424 2003-07-26 Asger Alstrup <alstrup@local>
3426 * rowpainter.C (paintRows): Change algorithm to work directly on
3427 the insets rather than asking every character in the document
3428 whether its an inset.
3430 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3432 * buffer.C (openFileWrite): factorize some code
3434 2003-07-26 Angus Leeming <leeming@lyx.org>
3437 * lyx_main.[Ch]: replace occurances of system_tempdir with
3440 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * rename Inset to InsetOld
3444 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3446 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3447 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3448 which I think is a bit clearer. EDIT is gone, since it was
3449 premature optimisation, and broken for mathed anyway.
3450 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3451 with cursor positioning in insets as well (math insets still do not
3452 work, but that's a different story anyway.) It mysteriously
3453 crashes sometimes with undo in the first paragraph, but I'm fairly
3454 confident that this is a compiler bug.
3456 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * paragraph.C (Paragraph): adjust for new clone return type
3460 (copyIntoMinibuffer): ditto
3462 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3464 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3465 by not having a special case, and always doing a full rebreak of
3466 the document after undo.
3468 2003-07-23 Angus Leeming <leeming@lyx.org>
3470 * factory.C (createInset): InsetExternal::setParams now takes a
3473 2003-07-23 Angus Leeming <leeming@lyx.org>
3475 * factory.C (createInset): changed interface to the external and
3476 graphics mailers' string2params functions.
3478 2003-07-23 Angus Leeming <leeming@lyx.org>
3480 * factory.C (createInset): pass a
3481 Buffer const * parameter to InsetExternalMailer's string2params.
3483 2003-07-22 John Levon <levon@movementarian.org>
3485 * Thesaurus.h: include the right aiksaurus header
3487 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3489 * MenuBackend.C (expand): check menu shortcuts unconditionally
3491 2003-07-21 Angus Leeming <leeming@lyx.org>
3493 * factory.C (createInset): pass a
3494 buffer_path parameter to InsetGraphicsMailer's string2params.
3496 2003-07-21 Angus Leeming <leeming@lyx.org>
3498 * BufferView_pimpl.C (buffer):
3501 * lyxfunc.C (dispatch):
3502 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3503 rather than the grfx shortcut.
3505 2003-07-21 André Pönitz <poenitz@gmx.net>
3507 * rowpainter.C: remove unused variables
3510 * tabular_funcs.h: move to tabular.C
3511 * Makefile.am: adjust
3513 * tabular.[Ch]: basic optical cleaning
3515 * author.h: pass references, not values
3517 2003-07-18 André Pönitz <poenitz@gmx.net>
3525 * text3.C: two-phase drawing for InsetText and InsetTabular
3526 some float -> int changes.
3528 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3530 * lyx_main.C: fix the fix
3532 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3534 * lyx_main.C: fix a crash in batch mode if no files specified
3537 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3539 * format.[Ch] (papersize): moved to BufferParams
3540 * converter.[Ch] (dvips_options): moved to BufferParams
3541 (dvipdfm_options): moved to anon namespace
3542 * bufferparams.[Ch]: added above functions.
3544 2003-07-17 André Pönitz <poenitz@gmx.net>
3548 * text2.C: don't call inset->update() anymore
3550 * metricsinfo.[Ch]: add convenience constructor
3552 2003-07-16 André Pönitz <poenitz@gmx.net>
3557 * text2.C: replace the LyXCursor::irow_ member with
3558 on-demand computation of the value
3560 2003-07-16 John Levon <levon@movementarian.org>
3562 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3564 2003-07-15 André Pönitz <poenitz@gmx.net>
3567 * text2.C: remove no more needed refresh_row
3569 2003-07-15 André Pönitz <poenitz@gmx.net>
3574 * text3.C: refresh_status tristate -> need_update bool
3576 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3578 * lyxtext.h (init): remove reinit argument (act as if always true)
3579 * text2.C: adjust to that
3581 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3583 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3584 * text3.C: use it to delete selections in some cases
3585 (bugs 441, 673, 702, 954).
3587 2003-07-14 André Pönitz <poenitz@gmx.net>
3589 * rowpainter.[Ch]: reduce interface
3591 2003-07-14 André Pönitz <poenitz@gmx.net>
3593 * BufferView_pimpl.C:
3594 * text2.C: adjust after removing unused BufferView * argument
3596 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3598 * text2.C (init): fix a crash fired on resize
3600 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3602 * buffer.[Ch]: added new closing signal
3603 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3604 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3605 BufferView::Pimpl via the closing the signal
3607 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3609 * buffer.[Ch]: take out all bv-related from buffer
3611 * BufferView_pimpl.[Ch]: connect to new signals
3612 * CutAndPaste.C: removed useless asserts
3613 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3616 * lyxfunc.C: moved view-related funciontality from vc here
3617 * paragraph.C: removed outdated comments
3620 2003-07-10 André Pönitz <poenitz@gmx.net>
3622 * BufferView_pimpl.C:
3626 * text2.C: remove InsetText::InnerCache, clean up consequences
3628 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3630 * ispell.C: fix two typos in error messages
3632 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3634 * Extend Note inset to other forms of annotation like Comment
3635 and Greyedout. Right button click gives dialog.
3637 Files modified or added (+):
3641 * ControlNote.[Ch] +
3643 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3644 frontends/controllers
3648 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3650 * aspell.C: add missing namespace lyx::support
3652 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3654 * BufferView.[Ch] (newFile): Add
3655 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3656 * LaTeX.[Ch] (message): added this signal and use it
3657 * buffer.[Ch] (busy, message): added these signals and use them
3658 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3662 * importer.C: use buffer signals instead of direct bv calling
3663 * lyx_cb.[Ch] (ShowMessage): removed
3666 * paragraph_funcs.C:
3667 * text2.C: use buffer signals
3669 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * introduce namespace lyx::graphics
3673 2003-07-02 André Pönitz <poenitz@gmx.net>
3675 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3677 2003-07-01 André Pönitz <poenitz@gmx.net>
3684 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3685 text*.C to text_func.C
3687 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * introduce namespace lyx::support
3691 2003-06-30 André Pönitz <poenitz@gmx.net>
3696 * text.C: re-enable --with-included-string
3698 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * textcursor.C: add <config.h>
3702 * text.C (getWord): remove const from word_location arg
3704 * lyxvc.C (getLogFile): fix const type order
3706 * lyxtext.h: remove const from word_location arg, add arg name
3708 * lyxlayout.h: currect type on labeltype.
3710 * importer.C: correct \file
3712 * converter.C (intToFormat): use std:: on ret val, ws changes
3714 * bufferlist.h: correct \file
3716 * buffer.C (makeLinuxDocFile): fix const type order
3717 (makeDocBookFile): ditto
3718 (fillWithBibKeys): use std:: on stdlib args.
3720 * CutAndPaste.C: fix authors.
3721 (availableSelections): use std:: on return vector
3723 2003-06-27 André Pönitz <poenitz@gmx.net>
3725 * BufferView_pimpl.C:
3726 * bufferview_funcs.C:
3734 * text3.C: remove LyXCursor::row_ member
3737 * text.C: rename fullRebreak() to partialRebreak() and implement
3738 a fullRebreak() that really bereks fully
3740 * textcursor.h: new struct for cursor-related data
3742 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3744 * lyx_main.C (LyX): get full path of document loaded on the
3747 2003-06-26 André Pönitz <poenitz@gmx.net>
3749 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3750 remove unused/broken operator>,<,>=.
3752 * text.C: remove only use of broken operator<= in an Assert().
3754 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3756 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3757 moved errorlist_.clear to showErrorList
3759 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3761 * converter.C (scanLog, runLaTeX):
3762 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3763 move the bv->showErrorList call to the callers
3764 * lyxfunc.C: i.e. here...
3766 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3767 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3768 namespace, the second to...
3769 * buffer_funcs (BufferFormat, parseErrors): added
3770 * errorlist.C (ErrorList(TeXErrors const &)): removed
3772 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3774 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3776 2003-06-24 "Garst R. Reese" <reese@isn.net>
3780 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3782 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3784 * version.C.in: change docversion to 1.4
3786 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3788 * buffer.C: fix a bug just introduced
3790 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3792 * buffer.[Ch]: added the parseError signal and use it, removed
3794 * BufferView.[Ch] (addError): moved to ...
3795 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3796 to the Buffer::parseError signal to catch (guess what) parse errors
3797 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3799 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3801 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3802 ability to create a buffer and to return an existing one from
3803 the list. Moved these functions to...
3804 * buffer_funcs.[Ch]: added
3805 * BufferView.[Ch] (loadLyXFile): added
3806 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3807 job removed from bufferlist::loadLyXFile.
3808 * buffer.C (setReadOnly): make it work without view
3809 (i.e added an if (users))
3811 2003-06-19 Angus Leeming <leeming@lyx.org>
3814 * LyXAction.C (init):
3815 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3816 with LFUN_DIALOG_SHOW <name> <data>.
3818 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3820 * CutAndPaste.C (availableSelections): small compilation fix for
3821 ancient (gcc 2.9x) compilers
3823 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * text3.C (cursorNext): add tmp var
3827 * text2.C (updateCounters): for function calling out of for clause
3828 (replaceSelectionWithString): ditto
3829 (insertStringAsParagraphs): ditto
3830 (getColumnNearX): add tmp var
3831 (setCursorFromCoordinates): add tmp var
3832 (cursorDownParagraph): add tmp var
3833 (deleteEmptyParagraphMechanism): add tmp var
3835 * text.C (insertChar): add tmp var
3837 * rowpainter.C (paintDepthBar): add tmp var
3839 * CutAndPaste.C (availableSelections): potentially check all
3840 paragraphs in a cut to fill the shown strings.
3842 2003-06-18 André Pönitz <poenitz@gmx.net>
3844 * kbmap.[Ch]: use vector<> instead of list<>
3846 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3848 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3849 pasteSelection with index
3851 * text2.C (pasteSelection): modify, call pasteSelection with index
3853 * paragraph.C (asString): reimplement version with no interval to
3854 call the one with interval.
3856 * lyxtext.h: add index arg to pasteSelection
3858 * MenuBackend.C (MenuItem): handle PasteRecent
3859 (Menu::read::Menutags): add md_pasterecent
3861 (expandPasteRecent): new function
3864 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3866 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3868 (availableSelections): new function
3870 2003-06-17 Angus Leeming <leeming@lyx.org>
3872 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3874 2003-06-17 Angus Leeming <leeming@lyx.org>
3877 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3879 * lyxfunc.C (dispatch): invoke it.
3881 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3883 * iterators.C (operator++, ParPosition): reintroduce some
3884 const_cast for the benefit of older compilers.
3886 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3888 * text3.C (dispatch): do not modify clipboard when doing
3889 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3890 LFUN_DELETE_SKIP on a selection selection
3892 2003-06-16 André Pönitz <poenitz@gmx.net>
3898 * tabular.[Ch]: IU of clone() and getLabelList();
3900 2003-06-13 André Pönitz <poenitz@gmx.net>
3902 * tabular.h: compactification
3904 2003-06-12 André Pönitz <poenitz@gmx.net>
3908 * tabular_funcs.h: some renaming plus whitespace
3910 2003-06-12 André Pönitz <poenitz@gmx.net>
3913 * BufferView_pimpl.C:
3919 * toc.C: Return a Paragraph & for ParIterator::operator*()
3921 2003-06-11 John Levon <levon@movementarian.org>
3925 * ToolbarBackend.C: add "Toolbars" section and
3928 2003-06-10 Angus Leeming <leeming@lyx.org>
3931 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3933 * lyxfunc.C (dispatch): invoke it.
3935 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * main.C: protect <ios> with HAVE_IOS
3938 (main): protect sync_with_stdio with HAVE_IOS
3940 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3942 * text2.C (cutSelection): adjust
3943 (pasteSelection): adjust
3945 * messages.C: handle get of empty string
3947 * main.C (main): use sync_with_stdio(false)
3949 * lyxfunc.C (dispatch): adjust
3951 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3952 (WriteAs): remove unneeded BufferView arg.
3954 * bufferparams.h: use correct types on papersize, papersize2 and
3957 * bufferparams.C (readToken): adjust for type
3958 (writeLaTeX): add missing cases to switch.
3960 * bufferlist.C (quitWriteBuffer): adjust
3963 * buffer.C (asciiParagraph): remove some commented code.
3965 * CutAndPaste.C: remove current_view extern variable.
3966 (cutSelection): add BufferParams arg.
3967 (eraseSelection): add BufferParams arg.
3968 (pasteSelection): add Buffer const & arg
3970 2003-06-07 John Levon <levon@movementarian.org>
3973 * paragraph_funcs.C:
3974 * paragraph_pimpl.C:
3978 * paragraph.C: allow InsetERT to freely space lines,
3979 and some consolidation of code
3981 2003-06-06 José Matos <jamatos@fep.up.pt>
3983 * buffer.C (makeDocBookFile): fix bug #821
3985 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3987 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3989 2003-06-04 Angus Leeming <leeming@lyx.org>
3991 * buffer.C: bump format to 224.
3993 2003-06-05 André Pönitz <poenitz@gmx.net>
3995 * text2.C (redoParagraphs): remove two const_cast<>
3997 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3999 * ParagraphList.h: remove last remnants of NO_STD_LIST
4001 2003-06-03 Angus Leeming <leeming@lyx.org>
4003 * factory.C (createInset): small change to the way InsetExternal's params
4006 2003-06-04 André Pönitz <poenitz@gmx.net>
4008 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4010 * paragraph_pimpl.h:
4011 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4013 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4015 * undo_funcs.C: make some simple cases of undo work again
4017 2003-06-03 John Levon <levon@movementarian.org>
4019 * ispell.C: HPUX doesn't have sys/select.h
4022 2003-06-03 John Levon <levon@movementarian.org>
4024 * CutAndPaste.C: update tabular and include inset
4029 * paragraph.C: remove owningBuffer(), don't pass Buffer
4032 * factory.C: insetGraphicsParams changed
4034 2003-06-02 John Levon <levon@movementarian.org>
4040 * text3.C: remove insetparent
4042 2003-06-02 John Levon <levon@movementarian.org>
4045 * buffer.C: fix inset_iterator.end(), move out of line
4048 2003-06-01 John Levon <levon@movementarian.org>
4050 * text3.C: use a proper cut/paste when doing inset
4051 insert (from Jürgen Spitzmüller)
4053 2003-06-01 John Levon <levon@movementarian.org>
4055 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4057 2003-05-30 André Pönitz <poenitz@gmx.net>
4059 * rowpainter.C: unify second drawing phase
4061 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * trans_mgr.C: remove one case of current_view
4065 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4067 * paragraph_funcs.h: remove paragraph.h include
4069 * paragraph.h: delete NO_STD_LIST stuff
4071 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4073 * buffer.h: remove paragraph.h include
4075 * ParagraphList.C: delete file
4077 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4079 * toc.C (getTocList): adjust
4081 * paragraph_pimpl.C (validate): adjust
4083 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4085 * paragraph.C (Paragraph): adjust
4086 (getPositionOfInset): use const_iterator, adjust
4087 (bibitem): use const_iterator, adjust
4088 (setInsetOwner): adjust
4090 * iterators.C (operator++): adjust
4092 * InsetList.[Ch]: Replace selfmade iterator with standard
4093 vector::iterator also introduce const_iterator. Remove getPos,
4094 getInset and setInset from InsetTable. Adjust accordingly.
4096 * BufferView.C (lockInset): adjust
4097 (ChangeInsets): adjust
4099 * tabular.[Ch]: delete commented same_id functions
4101 2003-05-28 John Levon <levon@movementarian.org>
4103 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4105 2003-05-28 André Pönitz <poenitz@gmx.net>
4107 * metricsinfo.[Ch]: remove 'fullredraw' member
4109 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4111 * lyxtextclass.C (operator): remove caching.
4113 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * text2.C (cursorBottom): adjust
4118 (setCounter): use ParagraphList::find, adjust
4120 * text.C (workWidth): use ParagraphList::find, adjust
4122 * lyxcursor.C (LyXCursor): adjust
4124 * buffer.C (inset_iterator): adjust
4126 * ParagraphList.h: make iterator(value_type) private, make
4127 ParagraphList a friend of iterator.
4129 * ParagraphList.C (find): new function
4131 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4133 2003-05-27 André Pönitz <poenitz@gmx.net>
4135 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4137 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4139 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4141 2003-05-26 John Levon <levon@movementarian.org>
4143 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4145 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * remove same_id from function signatures, adjust.
4149 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4153 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4155 * paragraph.C (Paragraph): get rid of same_ids parameter
4157 * ParagraphList.C (insert): adjust
4160 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * paragraph_funcs.C (breakParagraph): adjust
4163 (breakParagraphConservative): adjust
4165 * buffer.C (readParagraph): adjust
4167 * ParagraphList.C (insert): take a reference instead of a pointer
4170 * paragraph.[Ch] (id): new function
4172 * bufferlist.C (newFile): adjust
4174 * ParagraphList.C (ParagraphList): adjust
4176 (push_back): take a reference instead of a pointer.
4178 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4180 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4183 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4184 set else use old code.
4186 * ParagraphList.C: remove all NO_NEXT code and only compile this
4187 code of NO_STD_LIST is set.
4189 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4191 * BufferView_pimpl.C:
4201 * graphics/GraphicsConverter.C:
4202 * graphics/PreviewLoader.C: header adjustment
4204 2003-05-23 Angus Leeming <leeming@lyx.org>
4206 * LaTeXFeatures.[Ch] (useBabel): new method.
4207 * bufferparams.C (writeLaTeX): use it.
4209 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * ParagraphList.h (set): remove unused function.
4213 2003-05-23 André Pönitz <poenitz@gmx.net>
4216 * BufferView_pimpl.C:
4220 * undo_funcs.C: setUndo reworked
4222 * iterators.[Ch]: add access to topmost ParagraphList
4224 * lyxtext.[Ch] (workWidth): add a const
4226 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4228 * texrow.[Ch] (increasePos): remove function
4229 * exporter.C (export): removed unused var and outdated comment
4231 2003-05-23 Angus Leeming <leeming@lyx.org>
4233 * latexrunparams.h: rename fragile as moving_arg.
4234 * paragraph.C (simpleTeXOnePar): ditto.
4235 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4237 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4241 (textUndoOrRedo): comment out a currently unused var.
4243 * paragraph.h (NO_NEXT): enable NO_NEXT
4245 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4247 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4249 * exporter.C (Export): adjust for removeAutoInsets removal.
4251 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4253 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4255 * BufferView.[Ch] (removeAutoInsets): delete function
4257 2003-05-22 Angus Leeming <leeming@lyx.org>
4259 * latexrunparams.h: add a free_spacing variable.
4261 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4262 to pass moving_arg, as the data is stored in runparams.fragile.
4264 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4265 to Inset::latexOptional or to simpleTeXOnePar.
4267 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4268 free_spacing arg to Inset::latexOptional.
4270 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4273 2003-05-22 Angus Leeming <leeming@lyx.org>
4275 * latexrunparams.h: add fragile and use_babel variables.
4277 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4278 * buffer.C (makeLaTeXFile): store this returned value in
4279 runparams.use_babel, thus passing it to the inset::latex methods.
4281 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4282 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4284 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4285 longer has a fragile arg, as it is stored in runparams.fragile.
4287 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4288 moving_arg parameter as the data is stored in runparams.fragile.
4290 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4291 a fragile parameter as the data is stored in runparams.fragile.
4293 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4297 2003-05-22 Angus Leeming <leeming@lyx.org>
4299 * latexrunparams.h: add a 'bool nice' which defaults to false.
4301 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4302 now encapsulated within runparams.
4304 * bufferlist.C (updateIncludedTeXfiles):
4305 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4307 2003-05-22 Angus Leeming <leeming@lyx.org>
4309 * latexrunparams.h: new file containing struct LatexRunParams.
4310 * Makefile.am: add new file.
4312 * LaTeX.[Ch] (c-tor, run):
4313 * buffer.[Ch] (makeLaTeXFile):
4314 * bufferlist.[Ch] (updateIncludedTeXfiles):
4315 * converter.C (convert, scanLog):
4316 * converter.[Ch] (runLaTeX):
4317 * exporter.C (Export):
4318 * paragraph.[Ch] (simpleTeXOnePar):
4319 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4320 * paragraph_funcs.[Ch] (latexParagraphs):
4321 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4322 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4323 pass around a LatexRunParams parameter.
4325 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * paragraph.[Ch]: remove unused constructor
4329 * ParagraphList.C (erase): new function, taking two iterators
4331 2003-05-22 André Pönitz <poenitz@gmx.net>
4333 * undo_funcs.C: remove duplicated code
4335 * iterator.[Ch]: operator=
4337 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * tabular.C (SetMultiColumn): ws changes
4341 * rowpainter.C (paintFirst): get rid of a ->previous
4343 * lyx_cb.C (getPossibleLabel): parlist simplification
4345 * BufferView.C (ChangeInsets): simplify slightly.
4347 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4349 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4350 * lfuns.h: new LFUN_SPACE
4351 * lyxfunc.C: protected space has a new lfun
4352 * paragraph_funcs.C: read new space insets
4354 * factory.C: handle new space insets
4356 2003-05-22 André Pönitz <poenitz@gmx.net>
4359 * BufferView_pimpl.C:
4362 * undo_funcs.C: return a ParIterator from getParFromID.
4364 * iterators.[Ch]: add two const's
4366 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * toc.C (getTocList): adjust
4370 * iterators.[Ch]: rework for parlist
4372 * buffer.C (par_iterator_begin): adjust
4373 (par_iterator_end): adjust
4375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4377 * BufferView.C (removeAutoInsets): adjust
4378 (ChangeInsets): adjust
4380 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4382 * text.C (top_y): fix bug 1110
4384 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4386 * errorlist.[Ch]: added
4389 * BufferView_pimpl.C:
4390 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4393 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * Makefile.am: ensure that lyx is relinked upon changes to the
4396 various "convenience" libs.
4398 2003-05-20 Angus Leeming <leeming@lyx.org>
4400 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4401 files are compiled in alphabetical order again.
4403 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4405 2003-05-19 Angus Leeming <leeming@lyx.org>
4407 * gettext.[Ch]: remove "char const * _(char const *)".
4409 2003-05-19 André Pönitz <poenitz@gmx.net>
4411 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4420 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4422 2003-05-19 André Pönitz <poenitz@gmx.net>
4426 * lyxtextclass.[Ch]:
4428 * paragraph_funcs.[Ch]:
4430 * text3.C: more insetenv work
4432 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4434 * ParagraphParameters.C (params2string): small bug fixed
4436 2003-05-16 André Pönitz <poenitz@gmx.net>
4439 * bufferview_funcs.C: patch from Kornel Benko to prevent
4440 crash when _(...) is called twice in a statement
4442 2003-05-16 André Pönitz <poenitz@gmx.net>
4449 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4451 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4453 * lyx_main.C (init): remove spurious static_cast
4455 2003-05-14 André Pönitz <poenitz@gmx.net>
4457 * BufferView.C: fix format string
4459 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4461 * BufferView.[Ch] (insertErrors): removed
4462 * BufferView.[Ch] (showErrorList): added
4463 * buffer.C (runChkTeX):
4464 * converter.C (scanLog): call showErrorList instead of inserterrors
4466 2003-05-13 André Pönitz <poenitz@gmx.net>
4468 * BufferView_pimpl.C:
4470 * bufferview_func.C:
4477 * tabular_funcs.h: tostr() from its own header
4479 * ParagraphParameters.C:
4484 * text3.C: STRCONV()
4486 2003-05-12 André Pönitz <poenitz@gmx.net>
4489 * BufferView_pimpl.C:
4493 * ParagraphParameters.C:
4497 * bufferview_funcs.C:
4510 * paragraph_funcs.C:
4514 * text3.C: boost::format -> bformat all over the place
4517 2003-05-09 André Pönitz <poenitz@gmx.net>
4519 * LColor.[Ch]: Pimpl the #include <map> away
4521 2003-05-09 John Levon <levon@movementarian.org>
4523 * bufferlist.C: never remove emergency saves
4525 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * Makefile.am: better lib building
4529 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4533 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4534 (simpleTeXSpecialChars): adjust
4535 (simpleTeXSpecialChars): adjust
4536 * paragraph.C (simpleTeXOnePar): adjust
4537 * buffer.C (makeLaTeXFile): adjust
4539 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4541 * text2.C (changeDepth): parlist cleanup
4542 (getColumnNearX): ditto
4544 * rowpainter.C (getLabelFont): parlist cleanup
4546 * bufferlist.C (newFile): parlist cleanup
4548 * CutAndPaste.C (eraseSelection): parlist cleanup
4550 * BufferView_pimpl.C (trackChanges): parlist cleanup
4553 * BufferView.C (lockInset): parlist cleanup.
4554 (ChangeInsets): ditto
4556 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * CutAndPaste.h: Update file header.
4560 * CutAndPaste.C: Update file header.
4561 Store the parts cut out of the Document in a limited_stack.
4562 (copySelection): adjust
4563 (pasteSelection): new function, takes the index in the limited stack.
4564 (nrOfParagraphs): adjust
4565 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4566 simplify error inset insertion.
4567 (checkPastePossible): adjust
4569 2003-05-06 John Levon <levon@movementarian.org>
4571 * text2.C: don't cast wrap inset to float
4573 2003-05-05 André Pönitz <poenitz@gmx.net>
4576 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4578 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4579 few naked Paragraph *.
4581 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4583 * bufferparams.C: Output warning if a document with missing
4584 TeX document class is loaded
4585 * exporter.C: Disable TeX exports if the document class is missing
4588 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4589 isTeXClassAvailable()
4591 2003-05-03 John Levon <levon@movementarian.org>
4594 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4595 explicit cursor show/hide
4597 * BufferView_pimpl.h:
4598 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4599 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4601 * lyxfunc.C: hide cursor before dispatching.
4606 * text3.C: remove explicit cursor hides
4608 2003-05-02 André Pönitz <poenitz@gmx.net>
4610 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4613 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4616 * text2.C: tiny whitespace
4618 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * undo_funcs.C: almost only ws changes.
4622 * ParagraphList.C (splice): just return if pl is empty.
4624 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * ParagraphList.C (splice): new function.
4628 * CutAndPaste.C (pasteSelection): use it
4630 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4632 * CutAndPaste.C (pasteSelection): remove the last next and
4633 previous from this file.
4635 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * CutAndPaste.C (pasteSelection): more clean up, user proper
4638 ParagraphList functions for pasteing.
4640 * ParagraphList.C (insert): new function, three arg insert
4642 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * ParagraphList.C (insert): new function, three arg insert
4646 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4649 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4653 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4657 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4660 (copySelection): clean up a bit.
4661 (pasteSelection): use make_pair
4663 * ParagraphList.C (ParagraphList): implement copy constructor
4664 (operator=): implement, base on copy constructor.
4667 * paragraph.C (erase): return a bool
4669 * paragraph_pimpl.C (erasePos): remove function, move contents...
4670 (erase): ... here. Return a bool.
4671 (erase): call erase instead of erasePos.
4673 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4675 * ParagraphList.h: define PitPosPair
4676 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4677 ParagraphList, fix a bug on pasting multiple pars
4678 * text2.C: change interface to C&P
4680 2003-04-30 André Pönitz <poenitz@gmx.net>
4682 * undo_func.C: revert part of yesterday's patch 2
4684 2003-04-30 John Levon <levon@movementarian.org>
4686 * LColor.C: s/tabular/table/
4688 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * text3.C (dispatch): do not convert iterator -> pointer
4691 * undo_funcs.C (setCursorParUndo): ditto
4692 * text_funcs.C (transposeChars): ditto
4694 * text2.C (setLayout): ws changes only
4696 * text.C (breakParagraph): do not convert iterator -> pointer
4698 (acceptChange): ditto
4699 (rejectChange): ditto
4704 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4707 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4709 * text3.C (gotoInset): YABG (yet another bad getChar)
4711 2003-04-29 André Pönitz <poenitz@gmx.net>
4713 * paragraph.h: make operator= private unimplemented as long as
4716 * ParagraphList.C: whitespace
4719 * paragraph_pimpl.[Ch]:
4720 * paragraph_funcs.C:
4722 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4725 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4727 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4729 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4730 * paragraph.[Ch] (erase):
4731 * paragraph_pimpl.[Ch] (erase): change return type and value
4732 * text2.C (cutSelection): some rework
4734 2003-04-28 John Levon <levon@movementarian.org>
4736 * bufferlist.C: changes for unsaved changes dialog
4738 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * bufferlist.C (newFile): set language (messages_) for new
4743 * buffer.C (readFile): ws changes only.
4745 2003-04-28 André Pönitz <poenitz@gmx.net>
4750 * BufferView_pimpl.C:
4751 * BufferView.C: getParFromID related ParagraphList::iterator changes
4753 2003-04-28 André Pönitz <poenitz@gmx.net>
4755 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4758 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * messages.C: remove one more localedir class variable.
4762 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * messages.C (getLocaleDir): singleton generation function
4766 (Messages): add a default constructor.
4768 * main.C (main): do not setup localedir here, do not call
4771 * gettext.C (_): use it.
4772 (gettext_init): delete funciton
4774 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * gettext.C (getLyXMessages): new singleton generating function.
4778 * buffer.C (updateDocLang): adjust
4780 * Makefile.am (messages.o): add target
4781 (main.o): remove target
4783 2003-04-27 John Levon <levon@movementarian.org>
4788 * lyxvc.C: specify cancel button in Alert::prompt
4790 2003-04-26 John Levon <levon@movementarian.org>
4795 * LyXAction.C: add LFUN_INSET_SETTINGS
4797 * lyxfunc.C: don't enable tabular-feature when there's
4798 just any locking inset
4800 2003-04-26 John Levon <levon@movementarian.org>
4802 * bufferlist.C: re-add Cancel to buffer close question
4804 * lyxfunc.C: fix import UI a bit
4806 2003-04-25 John Levon <levon@movementarian.org>
4808 * gettext.C: remove the broken asserts for now
4810 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * messages.C: make case where setlocale cannot comply work better.
4814 * buffer.C (updateDocLang): new function
4815 (changeLanguage): use it
4818 * text2.C (setCounter): use B_ a bit.
4820 * lyxlayout.C (Read): be sure to trim the label strings.
4822 * messages.C (Messages): fix typo in comment
4824 * buffer.C (readFile): set message_ after file is loaded.
4825 (makeDocBookFile): remove double return
4826 (changeLanguage): reset message_ upon language change.
4827 (B_): new func, use this to get translated buffer strings.
4829 * main.C: add myself and Jean Marc as authors.
4831 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * messages.[hC]: pimplify Messages, and three different pimpls to be
4834 used in different circumstances.
4836 * gettext.[Ch]: change for use with new message code.
4838 2003-04-24 André Pönitz <poenitz@gmx.net>
4840 * factory.C: support for eqref
4842 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * messages.[Ch]: add missing char
4846 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4848 * messages.[Ch]: New files
4850 2003-04-18 John Levon <levon@movementarian.org>
4854 * BufferView_pimpl.C:
4858 * text2.C: remove layout-copy/paste (bug 778)
4860 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4862 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4864 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4866 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4867 if they succeed. Act accordingly.
4869 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * text2.C (setCharFont): adjust
4872 (setCounter): adjust
4873 (insertStringAsLines): adjust
4875 * text.C (leftMargin): adjust
4876 (setHeightOfRow): adjust
4878 * rowpainter.C (paintFirst): adjust
4881 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4883 (isFirstInSequence): ditto
4884 (getEndLabel): ditto
4887 * paragraph.C (getParLanguage): comment out some hard stuff.
4889 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4891 (simpleDocBookOnePar): ditto
4892 (makeDocBookFile): use ParagraphList::iterator
4894 * CutAndPaste.C (pasteSelection): adjust
4896 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * text2.C (getFont): adjust
4899 (getLayoutFont): adjust
4900 (getLabelFont): adjust
4902 * paragraph_funcs.C (TeXOnePar): adjust
4904 * buffer.C (simpleLinuxDocOnePar): adjust
4905 (simpleDocBookOnePar): adjust
4907 * CutAndPaste.C (pasteSelection): adjust
4909 * BufferView.C (getEncoding): adjust
4911 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4913 2003-04-16 John Levon <levon@movementarian.org>
4915 * lyxfind.C: use parlist stuff for search/changes
4917 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4921 * text2.C (deleteEmptyParagraphMechanism): adjust
4923 * text2.[Ch] (ownerParagraph): delete func (both of them
4925 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4929 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * ParagraphList.C: prepare for NO_NEXT
4933 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * text2.C (getFont): adjust
4936 (getLayoutFont): adjust
4937 (getLabelFont): adjust
4939 * paragraph.C (getFont): adjust
4940 (getLabelFont): adjust
4941 (getLayoutFont): adjust
4943 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4945 2003-04-15 John Levon <levon@movementarian.org>
4949 * lyx_main.C: handle Include in .ui files
4951 2003-04-15 John Levon <levon@movementarian.org>
4953 * MenuBackend.C: make the doc files length shorter
4956 * ToolbarBackend.C: handle toolbar placement flags,
4959 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4964 * paragraph_funcs.C (TeXOnePar): adjust
4966 * paragraph.C (getLabelFont): add outerfont arg, adjust
4967 (getLayoutFont): ditto
4968 (simpleTeXOnePar): adjust
4970 * paragraph_pimpl.C (realizeFont): delete func
4972 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4974 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4975 row argument, constify cur argument.
4977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * text2.C (getFont): adjust
4980 (getLayoutFont): adjust
4981 (getLabelFont): adjust
4983 * paragraph_funcs.C (TeXOnePar): adjust
4984 (outerFont): new func...
4985 (realizeFont): ...moved out from here, changed this to facilitate
4988 * paragraph.C (getFont): take outerfont as arg, adjust
4989 (simpleTeXOnePar): add outerfont arg, adjust
4991 * buffer.C (simpleLinuxDocOnePar): adjust
4992 (simpleDocBookOnePar): adjust
4994 * CutAndPaste.C (pasteSelection): adjust
4996 * BufferView.C (getEncoding): adjust
4998 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * text2.C (setCharFont): adjust
5001 (setCounter): adjust
5003 * text.C (leftMargin): adjust
5004 (setHeightOfRow): adjust
5006 * rowpainter.C (paintFirst): adjust
5009 * paragraph_pimpl.C (realizeFont): adjust
5011 * paragraph.C (isFirstInSequence): move from here...
5012 * paragraph_funcs.C (isFirstInSequence): ...to here
5014 * paragraph.C (outerHook): move from here...
5015 * paragraph_funcs.C (outerHook): ...to here
5017 * paragraph.C (depthHook): move from here...
5018 * paragraph_funcs.C (depthHook): ...to here
5020 * paragraph.C (getEndLabel): move from here...
5021 * paragraph_funcs.C (getEndLabel): ...to here
5023 * text2.C (realizeFont): move from here...
5024 * paragraph_funcs.C (realizeFont): ...to here
5026 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5030 2003-04-14 Angus Leeming <leeming@lyx.org>
5032 * LColor.[Ch]: scrap LColor mathcursor.
5034 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * lyxlex.[Ch] (text): delete function
5037 * trans.C (Load): adjust
5038 * paragraph_funcs.C (readParToken): adjust
5040 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5043 vector<char> instead of a char[].
5045 * lyxlex_pimpl.C (getString): adjust
5047 (lex): use getString
5051 * lyxlex.C (text): use pimpl_->getString()
5055 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5058 (makeFontEntriesLayoutSpecific): temp var for par.size()
5059 (setLayout): temp var for ownerParagraphs().end()
5060 (fullRebreak): temp var for rows().end()
5061 (selectionAsString): temp var for boost::next(startpit), realize
5062 that the while really is a regular for loop.
5063 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5064 setCursor in one place.
5065 (setParagraph): temp vr for ownerParagraphs().end()
5066 (updateCounters): make the while loop a for loop
5067 (cutSelection): temp var for ownerParagraphs().end()
5068 (updateInset): make the do {} while() a regular for loop
5069 (getCursorX): use temp vars
5070 (setCurrentFont): use temp vars
5071 (getColumnNearX): use temp vars
5073 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * text.C (transformChar): use temp var for getChar
5076 (computeBidiTables): use temp var for row->par()
5077 (fill): move temp vars for row->par() and pit->layout() earlier in
5079 (labelFill): use temp var for row->par()
5080 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5081 asc and desc, realize that pit never changes and that firstpit is
5082 just a duplicate and not needed. Exchange rit->par() with pit in a
5084 (breakAgain): use a temp var for boost::next(rit)
5085 (breakAgainOneRow): ditto
5086 (breakParagraph): use a temp var for rows().begin()
5087 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5088 (cursorRightOneWord): use temp var for cursor.par() and
5089 cursor.pos(), remove usage of tmpcursor.
5090 (cursorLeftOneWord): use temp var for cursor.par() and
5091 cursor.pos() only set cur at end of function.
5093 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * text.C, text2.C: exchange all usage of Paragraph::next with
5096 boost::next(ParagraphList::iterator)
5098 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5100 * text2.C (cursorTop): simplify implementation
5101 (cursorBottom): ditto
5102 (setParagraph): use ParagraphList::iterator
5103 (setCurrentFont): adjust
5104 (getColumnNearX): adjust
5105 (cursorRight): adjust
5106 (cursorLeft): remove usage of Paragraph::previous
5107 (cursorUpParagraph): ditto
5108 (deleteEmptyParagraphMechanism): slight cleanup
5110 * text.C (isBoundary): take a Paragraph const & instead of a
5112 (addressBreakPoint): ditto
5113 (leftMargin): remove usage of Paragraph::previous.
5114 (setHeightOfRow): ditto
5115 (cursorLeftOneWord): ditto
5116 (selectNextWordToSpellcheck): ditto
5119 (breakParagraph): remove one usage of Paragraph::next
5120 (redoParagraph): ditto
5121 (acceptChange): ditto
5122 (insertChar): adjust
5123 (rowBreakPoint): adjust
5125 * bufferview_funcs.C (toggleAndShow): adjust
5127 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5129 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5130 methods to access it.
5132 * text.C: Added updateRowPositions to compute all row positions.
5133 Make top_y and getRowNearY() to use the cached y position
5135 2003-04-11 John Levon <levon@movementarian.org>
5137 * text.C (rowBreakPoint): reintroduce the labelEnd
5138 checks, code copied from the row fill stuff. Deep voodoo.
5140 * text.C (fill): add a comment and debugging for the
5143 2003-04-11 John Levon <levon@movementarian.org>
5145 * text.C: make sure fullrow insets get wrapped to the next line,
5146 even when they're in a manual label
5148 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * text2.C (insertParagraph): make it take ParagraphList::iterator
5152 (setLayout): make it return ParagraphList::iterator
5153 (redoParagraphs): ditto
5155 (checkParagraph): ditto
5157 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5159 * text2.C: adjust several funcs.
5160 (realizeFont): take a ParagraphList::iterator as arg.
5161 (getLayoutFont): ditto
5162 (getLabelFont): ditto
5163 (setCharFont): ditto
5165 * text.C: adjust several funcs.
5167 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5169 * text.C (selectNextWordToSpellcheck): don't accidentally
5172 2003-04-10 John Levon <levon@movementarian.org>
5174 * ToolbarBackend.C (getIcon): special handling for
5177 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5179 * text2.C (cursorRight): a getChar assert fixed
5181 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * text2.C (getFont): change to take a ParagraphList::iterator
5184 instead of Paragraph*
5185 Adjust several functions.
5187 * text.C (transformChar): change to take a ParagraphList::iterator
5188 instead of Paragraph*
5189 (singleWidth): ditto
5190 Adjust several functions.
5192 * rowpainter.C: adjust several functions
5193 * rowpainter.h:store a ParagraphList::iterator and not a
5197 2003-04-09 John Levon <levon@movementarian.org>
5202 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5203 and the "help" bits as well
5205 2003-04-09 John Levon <levon@movementarian.org>
5208 * ToolbarBackend.C: allow multiple toolbars
5210 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * undo_funcs.C (setCursorParUndo): adjust
5214 * text_funcs.C (transposeChars): adjust
5216 * text3.C (gotoNextInset): adjust
5219 * text2.C (setLayout): adjust
5220 (changeDepth): adjust
5222 (redoParagraphs): adjust
5223 (selectionAsString): adjust
5224 (setParagraph): adjust
5225 (insertInset): adjust
5226 (cutSelection): adjust
5227 (copySelection): adjust
5228 (pasteSelection): adjust
5229 (insertStringAsLines): adjust
5230 (updateInset): adjust
5231 (setCursor): change to take a ParagraphList::iterator parameter
5232 (setCursorIntern): change to take a ParagraphList::iterator parameter
5233 (setCurrentFont): adjust
5234 (cursorLeft): adjust
5235 (cursorRight): adjust
5236 (deleteEmptyParagraphMechanism): adjust
5238 * text.C (breakParagraph): adjust
5239 (insertChar): adjust
5240 (acceptChange): adjust
5241 (rejectChange): adjust
5242 (selectNextWordToSpellcheck): adjust
5243 (changeCase): adjust
5247 * lyxfind.C (SearchForward): adjust
5248 (SearchBackward): adjust
5249 (nextChange): adjust
5251 * lyxcursor.C (par): adjust
5253 * lyxcursor.h: store a ParagraphList::iterator instead of a
5256 * lyx_cb.C (getPossibleLabel): adjust
5258 * bufferview_funcs.C (toggleAndShow): adjust
5260 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5263 * BufferView.C (removeAutoInsets): adjust
5264 (lockedInsetStoreUndo): adjust
5266 2003-04-09 John Levon <levon@movementarian.org>
5268 * ToolbarBackend.C: try icon without argument
5269 if with argument fails
5271 2003-04-08 John Levon <levon@movementarian.org>
5274 * ToolbarBackend.C: add getIcon(), handle tooltip,
5275 and change from "Icon" to "Item".
5277 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5279 * BufferView.C (lockInset): another bad getchar crunched
5281 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5283 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5286 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5288 * lyxfind.C (searchForward, searchBackwards): bug 782
5290 2003-04-07 John Levon <levon@movementarian.org>
5292 * paragraph.C: remove dead comment
5294 * text.C: remove troublesome depth-fiddling code
5295 in leftMargin() and rightMargin() (bug 1017)
5297 * text.C: fix breaking of rows in nested lists
5300 * text2.C (updateCounters): fix up depth values
5303 2003-04-07 John Levon <levon@movementarian.org>
5305 * BufferView_pimpl.C: clear message when doc finishes resizing,
5306 and after a mouse event
5308 * lyxfunc.C: clear message after exiting inset
5310 2003-04-07 John Levon <levon@movementarian.org>
5312 * bufferview_funcs.C: show math status not outside
5313 status in the statusbar
5315 2003-04-07 John Levon <levon@movementarian.org>
5317 * lyxfunc.C: note status changed after a depth change
5319 2003-04-04 Angus Leeming <leeming@lyx.org>
5321 * LaTeX.h: move AuxInfo operator==, != out of line.
5322 Remove LaTeX virtual destructor; nothing derives from it.
5323 Move operator()() out of public area and rename it startscript().
5324 Change protected for private.
5326 2003-04-04 Angus Leeming <leeming@lyx.org>
5329 * text2.C: remove unneeded #includes.
5331 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5333 * text2.C (dEPM): fix the heigth of the next row
5335 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5337 * text.C: squashed an invalid getChar requester + some ws changes
5339 2003-04-03 John Levon <levon@movementarian.org>
5341 * bufferview_funcs.h:
5342 * bufferview_funcs.C:
5345 * text2.C: make getStatus work for the env depth lfuns
5347 2003-04-03 John Levon <levon@movementarian.org>
5349 * bufferview_funcs.h:
5350 * bufferview_funcs.C:
5353 * text2.C: parlistize decDepth(), by merging it with incDepth()
5355 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * lyxrow.h: store a ParagraphList::iterator instead of a
5358 Paragraph* and adjust other class functions to suit.
5360 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5363 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5365 * text2.C (setCursor): do not anchor to cursor row for the time being
5367 2003-04-02 John Levon <levon@movementarian.org>
5374 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5376 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5378 * paragraph.h: make ParagraphList and ParagraphList::iterator
5379 friends of Paragraph.
5381 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5383 * ParagraphList.C: Use the private next_ and previous_ from
5386 2003-04-01 John Levon <levon@movementarian.org>
5390 * Makefile.am: rename, remove defaults gunk
5393 * MenuBackend.C: remove defaults gunk
5396 * Languages.C: remove defaults gunk
5399 * lyx_main.C: error out if files couldn't be found.
5401 2003-04-02 John Levon <levon@movementarian.org>
5403 * text2.C: make incDepth() use parlist
5405 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * undo_funcs.C (firstUndoParagraph): adjust
5409 * text3.C (gotoInset): adjust
5410 (dispatch): adjust, and rewrite loop.
5412 * text2.C (init): adjust, and rewrite loop.
5413 (redoParagraphs): adjust
5414 (updateInset): adjust, and rewrite loop.
5415 (deleteEmptyParagraphMechanism): adjust
5417 * tabular.C (LyXTabular): adjust
5418 (SetMultiColumn): adjust
5421 * lyxtext.[Ch] (ownerParagraph): delete function
5422 (ownerParagraphs): new function returns a ParagraphList.
5424 * BufferView.C (removeAutoInsets): adjust
5425 (insertErrors): adjust
5426 (setCursorFromRow): adjust
5428 2003-04-01 Angus Leeming <leeming@lyx.org>
5430 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5433 2003-04-02 John Levon <levon@movementarian.org>
5439 * text_funcs.C: make transposeChars a free function
5441 * lyxrow_funcs.C: remove wrong comment
5443 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * rowpainter.C: adjust
5451 * lyxrow_funcs. [Ch]: new files
5453 * lyxrow.[Ch]: remove next and previous pointers
5454 (next,previous): remove accessor functions
5455 (isParEnd): move to lyxrow_funcs
5456 (lastPos): move to lyxrow_funcs
5457 (nextRowIsAllInset): move to lyxrow_funcs
5458 (lastPrintablePos): move to lyxrow_funcs
5459 (numberOfSeparators): move to lyxrow_funcs
5460 (numberOfHfills): move to lyxrow_funcs
5461 (numberOfLabelHfills): move to lyxrow_funcs
5462 (hfillExpansion): move to lyxrow_funcs
5466 * bufferview_funcs.C (toggleAndShow): adjust
5468 * RowList.h: Remove class RowList from file leave just a
5471 * RowList.C: delete file
5473 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5476 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5478 * text3.C (cursorPrevious): adjust
5479 (cursorNext): adjust
5482 * text2.C (redoHeightOfParagraph): adjust
5483 (redoDrawingOfParagraph): adjust
5486 * text.C (breakParagraph): adjust
5487 (insertChar): adjust
5490 * rowpainter.C (RowPainter): adjust
5491 (leftMargin): simplify and adjust
5492 (most rowpainter functions): adjust.
5494 * rowpainter.h: store the row as RowList::iterator not as Row*
5496 * lyxcursor.C (row): taka RowList::iterator as arg
5499 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5502 2003-04-01 Angus Leeming <leeming@lyx.org>
5504 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5505 stuff like bool Bool.
5507 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5509 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5512 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5517 * lyxtext.h (rows): drop one version and leve a const variant that
5518 returns a RowList::iterator.
5520 2003-03-31 Angus Leeming <leeming@lyx.org>
5522 * text.C (fill): ensure that the signature is the same as that in the
5525 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * text2.C (redoParagraphs): adjust
5528 (updateCounters): adjust
5529 (checkParagraph): adjust
5530 (getColumnNearX): adjust and reformat a bit.
5532 * text.C (top_y): adjust
5534 (leftMargin): adjust
5535 (prepareToPrint): adjust
5537 (getRowNearY): adjust
5539 * lyxtext.h: make rowlist_ mutable.
5541 * RowList.h: add const_iterator
5542 * RowList.C: adjust for RowList::const_iterator.
5544 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5547 2003-03-31 John Levon <levon@movementarian.org>
5550 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5552 * lyx_main.C: set default fonts from using lyx_gui funcs
5554 * exporter.C: pdf_mode moved from lyxrc
5557 * lyxfunc.C: changes from above
5559 2003-03-31 John Levon <levon@movementarian.org>
5561 * lyx_main.C: fix to the last fix
5563 2003-03-31 John Levon <levon@movementarian.org>
5565 * bufferlist.C: "Load original" -> "Load Original"
5571 * format.C: more Alert cleanups
5573 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * text2.C (removeParagraph): make it take a RowList::iterator as
5577 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5578 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5580 * text.C (anchor_row): make it take a RowList::iterator as arg,
5582 (computeBidiTables): make it take a const reference to Row instead
5583 of Row pointer, adjust.
5584 (leftMargin): make it take a RowList::iterator as arg, adjust.
5585 (rowBreakPoint): adjust
5586 (breakAgainOneRow): make it take a RowList::iterator as arg,
5588 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5590 * bufferview_funcs.C (toggleAndShow): adjust
5592 2003-03-30 John Levon <levon@movementarian.org>
5596 * boost-inst.C: moved to support
5598 * several files: changes as a result
5600 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * text2.C (LyXText): adjust.
5604 (removeRow): make it take a RowList::iterator as arg, adjust.
5605 (fullRebreak): adjust
5606 (deleteEmptyParagraphMechanism): adjust
5607 (clearPaint): adjust
5610 * text.C (top_y): adjust
5611 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5612 (breakAgain): make it take a RowList::iterator as arg, adjust.
5613 (breakParagraph): adjust
5614 (insertChar): adjust
5617 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5618 need_break_row, and refresh_row.
5620 * text3.C (dispatch): adjust
5622 * text2.C (checkParagraph): adjust
5624 (setCursorFromCoordinates): adjust
5626 * text.C (top_y): adjust
5628 (getRow): make it return a RowList::iterator, adjust
5629 (getRowNearY): make it return a RowList::iterator, adjust
5631 * text2.C (init): adjust
5632 (insertRow): remove function
5633 (insertParagraph): adjust
5634 (redoParagraphs): adjust
5635 (fullRebreak): adjust
5636 (updateCounters): adjust
5638 * text.C (top_y): rewrite to use RowList iterators.
5640 (setHeightOfRow): rewrite to sue RowList iterators.
5641 (appendParagraph): adjust
5642 (breakAgain): adjust
5643 (breakAgainOneRow): adjust
5644 (breakParagraph): adjust
5646 (getRowNearY): adjust, and remove commented code.
5648 * lyxtext.h (firstRow): delete function
5649 (lastRow): delete function
5650 (rows): new function (const and non-const versions.)
5651 (insertRow): delete function
5653 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5655 2003-03-29 John Levon <levon@movementarian.org>
5657 * BufferView_pimpl.C: always update scrollbar top
5658 because pasting text when we're anchored could mean we
5659 miss an update altogether
5661 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5663 * text2.C (init): use rowlist_.end() and not 0.
5664 (insertRow): change to take a RowList::iterator as arg, adjust
5666 (insertParagraph): change to take a RowList::iterator as arg,
5668 (redoParagraphs): remove some debug msgs.
5670 * text.C (appendParagraph): change to take a RowList::iterator
5671 arg, adjust for this.
5672 (breakAgain): add an assert
5673 (breakAgainOneRow): ditto
5675 2003-03-29 John Levon <levon@movementarian.org>
5677 * text2.C: do not clear selection after inc/decDepth
5680 2003-03-29 John Levon <levon@movementarian.org>
5683 * buffer.C: fix broken strerrors according to Lars
5685 2003-03-29 John Levon <levon@movementarian.org>
5687 * converters.C: more Alert cleanups
5689 2003-03-29 John Levon <levon@movementarian.org>
5691 * bufferview_funcs.C: remove pointless Alert
5693 * buffer.C: fix confusing error message when
5694 a template is chmoded 000
5696 2003-03-29 John Levon <levon@movementarian.org>
5700 * BufferView_pimpl.C: Alert fixes
5704 * tabular-old.C: remove unused table compat reading
5706 2003-03-29 John Levon <levon@movementarian.org>
5711 * lyx_cb.C: more Alert cleanups
5713 * lyxfunc.C: don't allow chktex if not latex document
5715 2003-03-29 John Levon <levon@movementarian.org>
5719 * buffer.C: warnings pushed down from support/,
5722 2003-03-29 John Levon <levon@movementarian.org>
5724 * lyxfunc.C: safety check for C-r (revert)
5726 2003-03-29 John Levon <levon@movementarian.org>
5729 * bufferlist.C: several UI fixes using Alert::prompt.
5730 Fix the pointless looping quit code. Fix stupid revert
5735 * lyx_cb.C: use Alert::prompt
5737 * lyx_main.C: remove a silly question
5739 * lyxfunc.C: remove a couple of silly questions,
5742 2003-03-28 John Levon <levon@movementarian.org>
5744 * text2.C: fix bug 974 (End on empty par)
5746 2003-03-28 John Levon <levon@movementarian.org>
5748 * BufferView_pimpl.C:
5750 * lfuns.h: remove do-nothing math greek lfuns
5752 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * lyxgluelength.h (isValidGlueLength): add default arg on
5755 parameter 2. Remove default arg from friend in class.
5757 * lyxlength.h (isValidLength): add default arg on parameter 2.
5758 Remove default arg from friend in class.
5760 * text2.C (LyXText): adjust, initialize refresh_row.
5764 (insertParagraph): adjst
5765 (redoParagraphs): adjust
5766 (fullRebreak): adjust
5767 (updateCounters): adjust
5768 (deleteEmptyParagraphMechanism): first attempt at fixing a
5771 * text.C (top_y): adjust
5772 (setHeightOfRow): adjust
5774 (getRowNearY): adjust
5776 * lyxtext.h: include RowList.h
5777 (~LyXText): not needed anymore, deleted.
5778 (firstRow): modify for RowList
5779 (lastRow): new function
5780 Delete firstrow and lastrow class variables, add a Rowlist
5781 rowlist_ class variable.
5783 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5786 * RowList.C (insert): fix case where it == begin().
5788 2003-03-26 Angus Leeming <leeming@lyx.org>
5790 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5791 the thesaurus dialog.
5793 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5797 * RowList.[Ch]: new files
5799 * ParagraphList.C (erase): handle the case where it == begin
5802 2003-03-25 John Levon <levon@movementarian.org>
5806 * aspell.C: add new aspell support
5809 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5812 2003-03-25 Angus Leeming <leeming@lyx.org>
5815 * LyXAction.C (init): new LFUN_INSET_INSERT.
5817 * BufferView_pimpl.C (dispatch): split out part of the
5818 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5820 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5823 2003-03-25 Angus Leeming <leeming@lyx.org>
5825 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5827 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5830 * text3.C: remove useless row->height(0)
5832 2003-03-25 John Levon <levon@movementarian.org>
5836 * text3.C: rename the refreshing stuff to better names
5838 2003-03-24 John Levon <levon@movementarian.org>
5840 * BufferView_pimpl.h:
5841 * BufferView_pimpl.C: update layout choice on a mouse
5844 2003-03-23 John Levon <levon@movementarian.org>
5846 * Makefile.am: fix commandtags.h reference
5848 2003-03-22 John Levon <levon@movementarian.org>
5850 * BufferView_pimpl.C:
5855 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5857 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5860 * text.C: take the rtl methods out of line
5862 2003-03-21 André Pönitz <poenitz@gmx.net>
5864 * metricsinfo.[Ch]: new files containing structures to be passed around
5865 during the two-phase-drawing...
5867 2003-03-21 André Pönitz <poenitz@gmx.net>
5869 * lyxtextclass.C: read 'environment' tag.
5871 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5873 * text2.C (removeRow): fix bug 964
5875 2003-03-20 John Levon <levon@movementarian.org>
5879 * text2.C: paint cleanups. Inset::update() dropped font
5882 2003-03-19 John Levon <levon@movementarian.org>
5884 * lyxfunc.C: only fitcursor/markDirty if available()
5886 2003-03-19 John Levon <levon@movementarian.org>
5888 * commandtags.h: rename to ...
5890 * lfuns.h: ... this, and renumber / cleanup
5892 2003-03-19 John Levon <levon@movementarian.org>
5894 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5895 fit the cursor after an lfun
5899 * BufferView_pimpl.h:
5900 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5902 * LyXAction.C: layout-character should have ReadOnly
5904 * ParagraphParameters.C:
5906 * bufferview_funcs.C:
5913 * undo_funcs.C: changes from above
5915 2003-03-18 John Levon <levon@movementarian.org>
5917 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5918 remove it from update()
5920 * lyxfunc.C: update layout choice after an lfun
5922 * text3.C: remove extra updateLayoutChoice()s
5924 2003-03-18 John Levon <levon@movementarian.org>
5926 * text.C: top_y change means full repaint, fix
5927 a drawing bug with cursor movement
5929 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5933 * text2.C: anchor row on setCursor
5935 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5937 * lyxtext.h: remove almost all mutable keywords
5940 * text3.C: remove const keywords accordingly
5942 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5946 (TeXEnvironment): ditto
5949 2003-03-17 John Levon <levon@movementarian.org>
5951 * text.C (rowBreakPoint): remove attempt to fix displayed
5952 math insets inside a manual label
5954 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * lyxtext.h: remove BufferView* as first arg from almost all class
5958 * other files: adjust.
5960 2003-03-17 John Levon <levon@movementarian.org>
5964 * text2.C: more paint cleanups
5966 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5969 * rowpainter.C: remove "smart" background painting code
5971 2003-03-16 John Levon <levon@movementarian.org>
5976 * text3.C: add helper functions for setting refresh_row/y
5978 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5980 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5981 newline inset which *can* get inserted in the pass_thru layouts.
5982 This is primarily for literate documents.
5984 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5986 * buffer.C: increment LYX_FORMAT to 223
5988 2003-03-14 André Pönitz <poenitz@gmx.net>
5990 * textclass.h: prepare for environment handling, ws changes
5991 * lyxlayout.C: read latexheader and latexfooter tags
5993 2003-03-14 John Levon <levon@movementarian.org>
5995 * text2.C: rewrite ::status() a bit
5997 2003-03-13 John Levon <levon@movementarian.org>
5999 * lyxtext.h: add some docs
6001 2003-03-13 John Levon <levon@movementarian.org>
6006 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6008 2003-03-13 John Levon <levon@movementarian.org>
6010 * text3.C: fix appendix redrawing
6012 2003-03-13 John Levon <levon@movementarian.org>
6014 * text.C (setHeightOfRow):
6016 * rowpainter.C: make appendix mark have the text
6017 "Appendix" so the user knows what it is
6020 * LColor.C: s/appendixline/appendix/ from above
6022 2003-03-13 John Levon <levon@movementarian.org>
6024 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6026 * text.C: fix a getChar(pos) bug properly
6028 2003-03-13 Angus Leeming <leeming@lyx.org>
6031 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6032 Probably only temporary. Let's see how things pan out.
6034 * BufferView.C (unlockInset):
6035 * BufferView_pimpl.C (fitCursor):
6036 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6038 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6039 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6041 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6042 new functions that convert ParagraphParameters to and from a string.
6044 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6045 BufferView::Pimpl's dispatch.
6046 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6048 2003-03-13 André Pönitz <poenitz@gmx.net>
6052 * factory.C: make it aware of InsetEnv
6054 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * text2.C (setCursor): never ask for one past last
6057 (setCursor): add some debugging messages.
6059 * text.C (singleWidth): never ask for one past last
6060 (singleWidth): ditto
6062 (rightMargin): ditto
6063 (rowBreakPoint): ditto
6064 (setHeightOfRow): ditto
6065 (prepareToPrint): ditto
6067 * rowpainter.C (paintBackground): never ask for one past last
6068 (paintText): never ask for one past last
6070 * paragraph_pimpl.C (getChar): make the assert stricter, never
6071 allow the one past last pos to be taken
6073 * paragraph.C (getChar): ws changes only
6075 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6076 (numberOfSeparators): ditto
6077 (numberOfHfills): ditto
6079 2003-03-12 John Levon <levon@movementarian.org>
6085 * paragraph_funcs.C: fix per-buffer authorlists
6087 2003-03-12 John Levon <levon@movementarian.org>
6089 * text.C: fix newline in right address
6091 2003-03-12 Angus Leeming <leeming@lyx.org>
6093 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6094 duplicate those in LyXFunc::dispatch.
6098 * ToolbarDefaults.C:
6099 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6100 Add LFUN_FONTFREE_UPDATE.
6102 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6103 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6105 * bufferview_func.[Ch]: several new functions to facilliate
6106 transfer of data to and from the character dialog.
6108 2003-03-12 John Levon <levon@movementarian.org>
6113 * paragraph_funcs.C:
6114 * paragraph_pimpl.C:
6118 * text3.C: remove META_NEWLINE in favour of an inset
6121 * rowpainter.C: remove paintNewline (done by inset)
6123 2003-03-12 John Levon <levon@movementarian.org>
6125 * paragraph_pimpl.C: complain about bad getChar()s
6126 for a while at least
6128 2003-03-12 John Levon <levon@movementarian.org>
6131 * buffer.C: move paragraph read into a separate function,
6132 a little renaming to reflect that.
6135 * bufferparams.C: remove the author_ids map, not necessary now
6138 * factory.C: moved Buffer::readInset to here
6140 * paragraph_funcs.h:
6141 * paragraph_funcs.C: readParagraph free function moved from
6144 * tabular.C: name change
6146 2003-03-12 John Levon <levon@movementarian.org>
6149 * ParagraphParameters.C: move par params input to
6152 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6153 behave like a normal read from the stream wrt reading
6154 a line vs. a \\token
6156 2003-03-12 John Levon <levon@movementarian.org>
6159 * ParagraphParameters.h:
6160 * ParagraphParameters.C: move output code to a
6163 2003-03-12 John Levon <levon@movementarian.org>
6165 * BufferView.C (insertLyXFile):
6168 * tabular.C: use a parlist iterator for creating the
6171 2003-03-12 John Levon <levon@movementarian.org>
6173 * buffer.C: make current_change static local not
6176 2003-03-12 John Levon <levon@movementarian.org>
6178 * buffer.C: fix insertStringAsLines for change tracking
6180 2003-03-12 John Levon <levon@movementarian.org>
6187 * bufferparams.C: move author list into params. Rename some
6188 functions. Move the header reading into a separate token
6189 loop. Move the header token reading into BufferParams.
6191 2003-03-12 John Levon <levon@movementarian.org>
6193 * changes.C: put debug inside lyxerr.debugging() checks
6195 2003-03-11 André Pönitz <poenitz@gmx.net>
6197 * factory.C: make it aware of InsetHFill
6199 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * buffer.C (latexParagraphs): move function from here...
6202 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6205 2003-03-10 Angus Leeming <leeming@lyx.org>
6207 * LyXAction.C (init): fix bug in poplating array with multiple entries
6208 with the same LFUN (spotted by JMarc).
6210 2003-03-10 John Levon <levon@movementarian.org>
6213 * text2.C: move getColumnNearX() near its
6216 2003-03-10 John Levon <levon@movementarian.org>
6218 * text.C: fix break before a minipage
6220 2003-03-10 John Levon <levon@movementarian.org>
6222 * text.C: fix the last commit
6224 2003-03-09 John Levon <levon@movementarian.org>
6228 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6229 bug 365 (don't break before insets unless needed). Don't
6230 return a value > last under any circumstances.
6232 2003-03-09 Angus Leeming <leeming@lyx.org>
6234 * BufferView_pimpl.C (trackChanges, dispatch): call
6235 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6237 2003-03-09 Angus Leeming <leeming@lyx.org>
6239 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6240 than Dialogs::showAboutlyx().
6242 2003-03-09 Angus Leeming <leeming@lyx.org>
6244 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6245 than Dialogs::showTabularCreate().
6247 2003-03-09 John Levon <levon@movementarian.org>
6251 * text2.C: 3rd arg to nextBreakPoint was always the same.
6254 2003-03-08 John Levon <levon@movementarian.org>
6261 * text2.C: Remove the "main" bit from the "main body"
6264 2003-03-08 John Levon <levon@movementarian.org>
6266 * text.C (leftMargin): The left margin of an empty
6267 manual label paragraph should not include the label width
6270 * text.C (prepareToPrint): don't attempt to measure hfills
6271 for empty manual label paragraphs - the answer should be 0
6273 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * CutAndPaste.C: remove commented code and reindent.
6277 2003-03-08 John Levon <levon@movementarian.org>
6280 * lyxfunc.C: move reloadBuffer()
6283 * BufferView.C: to here
6285 * lyxvc.C: add comment
6288 * vc-backend.C: call bv->reload() to avoid
6289 getStatus() check on MENURELOAD
6291 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6293 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6294 to an old format .dep file.
6296 2003-03-07 Angus Leeming <leeming@lyx.org>
6298 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6299 when the LFUN_MOUSE_RELEASE should have been handled by
6300 inset->localDispatch.
6302 2003-03-07 Angus Leeming <leeming@lyx.org>
6304 * BufferView_pimpl.C (dispatch):
6305 * LyXAction.C (init):
6306 * ToolbarDefaults.C (init):
6308 * lyxfunc.C (getStatus):
6309 remove LFUN_INSET_GRAPHICS.
6311 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6313 2003-03-07 Angus Leeming <leeming@lyx.org>
6316 * LyXAction.C (init):
6317 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6319 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6322 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6324 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6325 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6327 2003-03-07 Angus Leeming <leeming@lyx.org>
6329 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6332 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * ParagraphList.C (front): new function
6337 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6339 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6340 and top_row_offset_. removed var first_y.
6342 * text2.C (LyXText, removeRow):
6344 * BufferView_pimpl.C:
6345 use these methods instead of using first_y
6347 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * text2.C (pasteSelection): adjust for checkPastePossible
6351 * CutAndPaste.C: remove Paragraph * buf and replace with
6352 ParagraphList paragraphs.
6353 (DeleteBuffer): delete
6354 (cutSelection): change the tc type to textclass_type
6355 (copySelection): change the tc type to textclass_type
6356 (copySelection): adjust for ParagraphList
6357 (pasteSelection): change the tc type to textclass_type
6358 (pasteSelection): adjust for Paragraphlist
6359 (nrOfParagraphs): simplify for ParagraphList
6360 (checkPastePossible): simplify for ParagraphList
6361 (checkPastePossible): remove unused arg
6363 * ParagraphList.C (insert): handle the case where there are no
6366 * CutAndPaste.h: make CutAndPaste a namespace.
6368 * text3.C (dispatch): adjust
6370 * text.C (breakParagraph): add a ParagraphList as arg
6372 * paragraph_funcs.C (breakParagraph): change to take a
6373 BufferParams and a ParagraphList as args.
6374 (breakParagraphConservative): ditto
6375 (mergeParagraph): ditto
6376 (TeXDeeper): add a ParagraphList arg
6377 (TeXEnvironment): ditto
6380 * buffer.C (readLyXformat2): adjust
6381 (insertStringAsLines): adjust
6382 (latexParagraphs): adjust
6384 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6385 (cutSelection): adjust
6386 (pasteSelection): adjust
6388 * BufferView_pimpl.C (insertInset): adjust
6390 2003-03-05 Angus Leeming <leeming@lyx.org>
6393 * LyXAction.C (init):
6394 * BufferView_pimpl.C (dispatch):
6395 * lyxfunc.C (getStatus):
6396 remove LFUN_CHILD_INSERT.
6398 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6400 2003-03-05 Angus Leeming <leeming@lyx.org>
6403 * LyXAction.C (init):
6404 * src/factory.C (createInset):
6405 * lyxfunc.C (getStatus):
6406 * text3.C (dispatch):
6407 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6409 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6411 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * ParagraphList.C (insert): handle insert right before end()
6414 (erase): fix cases where it can be first or last paragraph.
6416 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6419 Paragraph::next and Paragraph::previous
6422 * text.C (breakParagraph): adjust
6424 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6425 BufferParams& as arg.
6426 (breakParagraph): use ParagraphList::insert
6427 (breakParagraphConservative): take a Buffer* instead of a
6428 BufferParams& as arg.
6429 (breakParagraphConservative): use ParagraphList::insert.
6431 * buffer.C (insertStringAsLines): un-const it
6432 (insertStringAsLines): adjust
6434 * ParagraphList.C (insert): new function
6436 * CutAndPaste.C (pasteSelection): adjust
6438 * text.C (backspace): adjust
6440 * tabular.C (SetMultiColumn): adjust
6442 * CutAndPaste.C (cutSelection): adjust
6443 (pasteSelection): adjust
6445 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6446 Buffer const * as arg
6448 * ParagraphList.C (erase): new function
6449 * paragraph_funcs.C (mergeParagraph): use it
6450 (mergeParagraph): make it take a Buffer* instead of a
6451 BufferParams* as arg
6453 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6455 (breakParagraphConservative): ditto
6457 * paragraph.h: remove the breakParagraph friend
6459 * paragraph.C (eraseIntern): new function
6460 (setChange): new function
6462 * paragraph_funcs.C (mergeParagraph): make it take a
6463 ParagraphList::iterator instead of a Paragraph *, adjust
6466 * paragraph.h: move an #endif so that the change tracking stuff
6467 also works in the NO_NEXT case.
6469 2003-03-04 Angus Leeming <leeming@lyx.org>
6472 * LyXAction.C: new LFUN_INSET_MODIFY.
6474 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6475 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6477 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * several files: ws changes only
6481 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6482 (TeXEnvironment): ditto
6485 * buffer.C (makeLaTeXFile): adjust
6486 (latexParagraphs): make it take ParagraphList::iterator as args
6488 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * buffer.C (latexParagraphs): adjust
6492 * paragraph.C (TeXOnePar): move function...
6493 (optArgInset): move function...
6494 (TeXEnvironment): move function...
6495 * paragraph_pimpl.C (TeXDeeper): move function...
6496 * paragraph_funcs.C: ...here
6498 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6500 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * buffer.C (readInset): remove compability code for old Figure and
6505 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * buffer.C: ws changes
6510 * BufferView_pimpl.C: ditto
6513 * bufferlist.h: ditto
6517 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6519 * converter.[Ch]: split into itself +
6522 * Makefile.am: += graph.[Ch] + format.[Ch]
6529 * lyxrc.C: added #include "format.h"
6531 2003-02-27 Angus Leeming <leeming@lyx.org>
6533 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6536 * factory.C (createInset): add "label" to the factory.
6538 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6539 string and do no more.
6541 2003-02-27 Angus Leeming <leeming@lyx.org>
6544 * LyXAction.C (init):
6545 * factory.C (createInset):
6546 * BufferView_pimpl.C (dispatch):
6547 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6549 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6551 * lyxfunc.C (dispatch):
6552 * text3.C (dispatch): pass name to params2string.
6554 2003-02-26 Angus Leeming <leeming@lyx.org>
6556 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6558 Rearrange the ~includes. Strip out the unnecessary ones.
6560 * factory.C (createInset): reformat.
6561 create new insets for the various LFUN_XYZ_APPLY lfuns.
6563 2003-02-26 John Levon <levon@movementarian.org>
6566 * lyxrow.C: add isParStart,isParEnd helpers
6568 * paragraph.h: make isInserted/DeletedText take refs
6570 * paragraph_funcs.h:
6571 * paragraph_funcs.C: remove #if 0'd code
6576 * text.C: use lyxrow helpers above.
6577 Move draw and paint routines to RowPainter.
6578 Make several methods use refs not pointers.
6579 Make backgroundColor() const.
6580 Add markChangeInDraw(), isInInset().
6581 Merge changeRegionCase into changeCase.
6582 Make workWidth() shouldn't-happen code into an Assert.
6585 * rowpainter.C: new class for painting a row.
6588 * vspace.C: make inPixels take a ref
6590 2003-02-26 Angus Leeming <leeming@lyx.org>
6592 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6595 2003-02-25 John Levon <levon@movementarian.org>
6597 * ispell.C: give the forked command a more accurate name
6599 2003-02-22 John Levon <levon@movementarian.org>
6602 * toc.C: make TocItem store an id not a Paragraph *
6605 2003-02-21 Angus Leeming <leeming@lyx.org>
6607 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6608 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6609 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6610 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6611 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6612 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6614 * BufferView_pimpl.C (dispatch):
6615 * LyXAction.C (init):
6616 * factory.C (createInset):
6617 * lyxfunc.C (getStatus, dispatch):
6618 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6620 2003-02-21 Angus Leeming <leeming@lyx.org>
6622 * BufferView_pimpl.C (MenuInsertLyXFile):
6623 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6624 * lyxfunc.C (menuNew, open, doImport):
6625 no longer pass a LyXView & to fileDlg.
6627 2003-02-21 Angus Leeming <leeming@lyx.org>
6629 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6630 * LyXAction.C: change, BIBKEY to BIBITEM.
6631 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6632 Change InsetBibKey to InsetBibitem.
6633 Change BIBKEY_CODE to BIBITEM_CODE.
6634 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6635 * factory.C: replace insetbib.h with insetbibitem.h.
6636 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6637 * paragraph.C: replace insetbib.h with insetbibitem.h.
6638 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6639 Change bibkey() to bibitem().
6640 * text.C: remove insetbib.h.
6641 * text2.C: replace insetbib.h with insetbibitem.h.
6642 change bibkey() to bibitem().
6643 * text3.C: remove insetbib.h.
6644 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6646 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6648 * lyxrc.C (output): enclose user email in quotes (in case there are
6651 2003-02-18 John Levon <levon@movementarian.org>
6653 * buffer.h: add std::
6655 2003-02-17 John Levon <levon@movementarian.org>
6661 * pspell.C: reworking. Especially in ispell, a large
6662 number of clean ups and bug fixes.
6664 * lyxfunc.C: fix revert to behave sensibly
6666 2003-02-17 André Pönitz <poenitz@gmx.net>
6669 * commandtags.h: new LFUN_INSERT_BIBKEY
6679 * paragraph_func.C: remove special bibkey handling
6681 2003-02-17 John Levon <levon@movementarian.org>
6683 * text.C (Delete): fix case where delete at the end of
6684 the very first paragraph would not merge the pars
6686 2003-02-17 John Levon <levon@movementarian.org>
6688 * lyxrow.C: fix lastPrintablePos()
6690 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6692 * bufferparams.C (writeLaTeX): add a std:here
6694 * buffer.C: and remove a using directive there
6696 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6698 * buffer.C (makeLaTeXFile): move the code that generates the
6701 * bufferparams.C (writeLaTeX): ... in this new method
6703 * LaTeXFeatures.C (getEncodingSet): make const
6704 (getLanguages): make const
6706 * MenuBackend.C (binding): returns the binding associated to this
6708 (add): sets the status of each item by calling getStatus. Adds
6710 (read): add support for OptSubMenu
6711 (expand): remove extra separator at the end of expanded menu
6713 2003-02-15 John Levon <levon@movementarian.org>
6716 * BufferView_pimpl.C:
6718 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6719 inset code that had no actual effect. Remove unneeded status
6722 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6727 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6729 * text.C (drawLengthMarker): also draw an arrow marker for
6730 symbolic lengths (medskip...)
6732 2003-02-14 John Levon <levon@movementarian.org>
6735 * tabular.C: better method names
6737 2003-02-14 John Levon <levon@movementarian.org>
6739 * BufferView_pimpl.C:
6744 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6745 it's a more accurate name. Remove some pointless uses.
6747 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6749 * text2.C (LyXText): change order of initilizers to shut off
6752 2003-02-14 John Levon <levon@movementarian.org>
6754 * buffer.C: use ParIterator for getParFromID()
6758 * paragraph_pimpl.h:
6759 * paragraph_pimpl.C: remove unused getParFromID()
6761 2003-02-14 John Levon <levon@movementarian.org>
6763 * buffer.C: remove some very old #if 0'd parse code
6765 2003-02-13 John Levon <levon@movementarian.org>
6769 * text2.C: move hfillExpansion(), numberOfSeparators(),
6770 rowLast(), rowLastPrintable(), numberofHfills(),
6771 numberOfLabelHfills() ...
6774 * lyxrow.C: ... to member functions here.
6779 * text.C: remove LyXText::beginningOfMainBody(), and call
6780 p->beginningOfMainBody() directly. Move the check for
6781 LABEL_MANUAL into the latter.
6788 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6794 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6795 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6797 2003-02-13 John Levon <levon@movementarian.org>
6799 * CutAndPaste.C: remove debug
6801 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * paragraph.C (asString): remove two unused variables
6805 * lyxtextclass.C (readTitleType):
6807 (LyXTextClass): handle new members titletype_ and titlename_
6809 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6811 2003-02-09 John Levon <levon@movementarian.org>
6814 * buffer.C: replace hand-coded list with a map for the dep clean
6816 2003-02-08 John Levon <levon@movementarian.org>
6818 * LaTeX.C: consolidate code into showRunMessage() helper
6820 2003-02-08 John Levon <levon@movementarian.org>
6825 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6826 and pass the size in explicitly
6828 * BufferView_pimpl.h:
6829 * BufferView_pimpl.C:
6831 * BufferView.C: add getCurrentChange()
6833 * BufferView_pimpl.h:
6834 * BufferView_pimpl.C: handle change lfuns
6836 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6837 for changes. Mark pasted paragraphs as new.
6839 * support/lyxtime.h:
6840 * support/lyxtime.C:
6841 * DepTable.C: abstract time_t as lyx::time_type
6844 * LColor.C: add colours for new text, deleted text, changebars
6846 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6847 package use "usenames" option.
6851 * LyXAction.C: add change lfuns
6855 * author.C: author handling
6858 * buffer.C: add a per-buffer author list, with first entry as
6859 current author. Handle new .lyx tokens for change tracking. Output
6860 author list to .lyx file. Output dvipost stuff to .tex preamble.
6861 Bump lyx format to 222.
6864 * bufferlist.C: add setCurrentAuthor() to reset current author details
6868 * bufferparams.C: add param for tracking
6870 * bufferview_funcs.C: output change info in minibuffer
6874 * changes.C: add change-tracking structure
6877 * debug.C: add CHANGES debug flag
6880 * lyxfind.C: add code for finding the next change piece
6883 * lyxrc.C: add user_name and user_email
6886 * lyxrow.C: add a metric for the top of the text line
6889 * text.C: implement accept/rejectChange()
6892 * text.C: paint changebars. Paint new/deleted text in the chosen
6893 colours. Strike through deleted text.
6897 * paragraph_pimpl.h:
6898 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6899 in the current change to the insert functions. Rework erase to
6900 mark text as deleted, adding an eraseIntern() and a range-based
6901 erase(). Implement per-paragraph change lookup and
6904 * paragraph_funcs.C: Fixup paste for change tracking.
6906 * tabular.C: mark added row/columns as new.
6908 * text.C: fix rowLast() to never return -1. Don't allow
6909 spellchecking of deleted text. Track transpose changes. Don't
6910 allow paragraph break or merge where appropriate.
6912 * text2.C: leave cursor at end of selection after a cut.
6914 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6916 * text.C (getLengthMarkerHeight):
6917 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6918 visible on screen too.
6920 2003-02-07 John Levon <levon@movementarian.org>
6922 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6924 2003-02-05 Angus Leeming <leeming@lyx.org>
6926 * lyxserver.C (read_ready): revert my patch of 11 September last year
6927 as it sends PC cpu through the roof. Presumably this means that
6928 the lyxserver will no longer run on an Alpha...
6930 2003-01-30 Angus Leeming <leeming@lyx.org>
6932 * factory.C (createInset): create an InsetCommandParam of type "index"
6933 and use it to 'do the right thing'.
6935 * text2.C (getStringToIndex): ensure that cursor position is always
6936 reset to the reset_cursor position.
6938 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6940 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6943 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6947 * lyxfunc.C: Output messages with identical spelling, punctuation,
6950 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6952 * MenuBackend.C (expandFormats): List only viewable export formats
6955 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6958 * lyxfunc.C (getStatus): Make sure that formats other than
6959 "fax" can also be disabled
6961 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6963 * text3.C (dispatch): put the lfuns that insert insets in 3
6964 groups, and call doInsertInset with appropriate arguments.
6965 (doInsertInset): new function, that creates an inset and inserts
6966 it according to some boolean parameters.
6968 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * buffer.C (readFile): remember to pass on 'par' when calling
6971 readFile recursively.
6973 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6975 * MenuBackend.C (expandFormats): add "..." to import formats.
6977 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6979 * paragraph.C (asString): Remove XForms RTL hacks.
6981 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6982 * buffer.C: fix typo
6984 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * Makefile.am (LIBS): delete var
6987 (lyx_LDADD): add @LIBS@ here instead.
6989 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6991 * Clarify the meaning of "wheel mouse jump"
6993 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6995 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6998 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7000 * importer.C (Loaders): do not preallocate 3 elements in the
7001 vector, since one ends up with 6 elements otherwise
7003 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7005 * DepTable.C (write): write the file name as last element of the
7006 .dep file (because it may contain spaces)
7007 (read): read info in the right order
7009 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7011 * paragraph_pimpl.C (simpleTeXBlanks):
7012 (simpleTeXSpecialChars):
7013 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7015 * tabular.C (latex): add some missing case statements. Reindent.
7017 * MenuBackend.C (expandToc): remove unused variable.
7019 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7028 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7031 2003-01-05 John Levon <levon@movementarian.org>
7034 * BufferView.C: add getEncoding()
7037 * kbsequence.C: do not store last keypress
7040 * lyxfunc.C: store last keypress here instead. Pass encoding
7043 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7045 * lyx_main.C (init): remove annoying error message when following
7046 symbolic links (bug #780)
7048 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7050 * text.C (insertChar):
7051 * lyxrc.C (getDescription): remove extra spaces
7053 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7055 * lyxrc.C (getDescription): remove extra spaces
7057 2002-12-20 John Levon <levon@movementarian.org>
7059 * text3.C: hack fix for page up/down across tall rows
7061 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7066 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7069 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7070 thesaurus is not compiled in
7072 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7074 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7076 2002-12-16 Angus Leeming <leeming@lyx.org>
7079 * lyx_main.C (init): remove override_x_deadkeys stuff.
7081 2002-12-12 John Levon <levon@movementarian.org>
7083 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7084 insert. Only remove shift modifier under strict
7087 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * MenuBackend.C (expandToc): fix crash.
7091 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * MenuBackend.C (expandToc): gettext on float names.
7095 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7097 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7098 implement bool empty() [bug 490]
7100 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7104 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * several files: ws changes
7108 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * text2.C (setCounter): clean up a bit, use boost.format.
7111 (updateCounters): initialize par upon declaration.
7113 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7114 if the layout exists. We do not just store the layout any more.
7115 (SwitchLayoutsBetweenClasses): use boost.format
7117 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7119 * converter.C (convert): if from and to files are the same, use a
7120 temporary files as intermediary
7122 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7125 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7127 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7129 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7131 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * tabular.C (asciiPrintCell): use string(size, char) instead of
7136 * sgml.C (openTag): fix order of arguments to string constructor
7139 * lyxfunc.C (dispatch): use boost.format
7141 * lots of files: change "c" -> 'c'
7143 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7145 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7147 2002-11-25 Angus Leeming <leeming@lyx.org>
7149 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7151 * lyx_main.C (init): compile fix.
7153 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * lyx_cb.C (start): boost.formatify
7156 do not include <iostream>
7158 * lengthcommon.C: ws only
7160 * boost-inst.C,BoostFormat.h: add more explict instantations
7162 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * lots of files: handle USE_BOOST_FORMAT
7166 2002-11-21 John Levon <levon@movementarian.org>
7168 * pspell.C: fix compile
7170 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * lyxfunc.C (dispatch): use boost::format
7176 * lyxfont.C (stateText): use boost::format
7178 * lyx_main.C (LyX): use boost::format
7180 (queryUserLyXDir): ditto
7183 (typedef boost::function): use the recommened syntax.
7185 * importer.C (Import): use boost::format
7187 * debug.C (showLevel): use boost::format
7189 * converter.C (view): use boost::format
7194 * bufferview_funcs.C (currentState): use boost::format
7196 * bufferlist.C (emergencyWrite): use boost::format
7198 * buffer.C (readLyXformat2): use boost::format
7199 (parseSingleLyXformat2Token): ditto
7201 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7203 * LaTeX.C (run): use boost::format
7205 * Chktex.C (scanLogFile): use boost::format
7207 * BufferView_pimpl.C (savePosition): use boost::format
7208 (restorePosition): ditto
7209 (MenuInsertLyXFile): ditto
7211 * BoostFormat.h: help file for explicit instation.
7213 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7215 * tabular.C (latex): Support for block alignment in fixed width
7218 2002-11-17 John Levon <levon@movementarian.org>
7220 * BufferView_pimpl.C:
7222 * lyxfunc.C: split filedialog into open/save
7224 2002-11-08 Juergen Vigna <jug@sad.it>
7226 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7227 by my last patch (hopefully).
7229 2002-11-08 John Levon <levon@movementarian.org>
7238 * toc.C: ParConstIterator, and use it (from Lars)
7240 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7242 * lyxtextclass.[Ch]: revise and add doxygen comments
7244 2002-11-07 John Levon <levon@movementarian.org>
7246 * text.C: fix progress value for spellchecker
7248 * toc.C: fix navigate menu for insetwrap inside minipage
7250 * paragraph_funcs.C: added FIXME for suspect code
7252 2002-11-07 John Levon <levon@movementarian.org>
7254 * BufferView_pimpl.C: fix redrawing of insets
7257 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * text2.C (updateCounters): fix bug 668
7261 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7263 * text3.C (dispatch): Do not make the buffer dirty when moving the
7266 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * vc-backend.C: STRCONV
7271 * text2.C (setCounter): STRCONV
7273 * paragraph.C (asString): STRCONV
7275 * lyxlength.C (asString): STRCONV
7276 (asLatexString): ditto
7278 * lyxgluelength.C (asString): STRCONV
7279 (asLatexString): ditto
7281 * lyxfunc.C (dispatch): STRCONV
7284 * lyxfont.C (stateText): STRCONV
7286 * importer.C (Import): STRCONV
7288 * counters.C (labelItem): STRCONV
7289 (numberLabel): ditto
7290 (numberLabel): remove unused ostringstream o
7295 * bufferview_funcs.C (currentState): STRCONV
7297 * buffer.C (readFile): STRCONV
7298 (asciiParagraph): ditto
7299 (makeLaTeXFile): ditto
7301 * Spacing.C (writeEnvirBegin): STRCONV
7303 * LaTeXFeatures.C (getLanguages): STRCONV
7304 (getPackages): ditto
7306 (getBabelOptions): ditto
7307 (getTClassPreamble): ditto
7308 (getLyXSGMLEntities): ditto
7309 (getIncludedFiles): ditto
7313 (scanAuxFile): ditto
7316 * LString.h: add the STRCONV macros
7318 * BufferView_pimpl.C (savePosition): STRCONV
7319 (restorePosition): ditto
7320 (MenuInsertLyXFile): ditto
7322 * vc-backend.C (scanMaster): change from submatch[...] to
7325 * funcrequest.C: include config.h
7327 * factory.C: include config.h
7329 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7331 * box.C: include config.h
7333 * LaTeX.C (scanAuxFile): change from submatch[...] to
7337 2002-10-25 Angus Leeming <leeming@lyx.org>
7339 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7341 * ispell.[Ch] (setError): new method.
7342 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7343 Use setError() insetead of goto END.
7345 * lyx_cb.C (AutoSave): move out child process into new class
7348 2002-10-30 John Levon <levon@movementarian.org>
7350 * text3.C: make start appendix undoable
7352 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7354 * lyxlength.C (inPixels): Fix returned value.
7356 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7359 2002-10-24 Angus Leeming <leeming@lyx.org>
7361 * lyxgluelength.h: no need to forward declare BufferParams
7362 or BufferView, so don't.
7364 2002-10-21 John Levon <levon@movementarian.org>
7366 * BufferView.C: menuUndo ->undo, redo
7368 * BufferView.h: document, remove dead, make some methods private
7370 * paragraph_funcs.h:
7371 * paragraph_funcs.C:
7372 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7377 * sgml.C: move sgml open/close tag into sgml.C
7379 * bufferview_funcs.h: unused prototype
7382 * lyxfunc.C: remove unused
7385 * text.C: remove unused
7387 2002-10-21 John Levon <levon@movementarian.org>
7391 * BufferView_pimpl.h:
7392 * BufferView_pimpl.C: fix mouse wheel handling based on
7393 patch from Darren Freeman
7395 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7397 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7399 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7401 * lyxlength.C (inPixels): Fix hanfling of negative length.
7402 Fix LyXLength::MU case.
7404 2002-10-16 John Levon <levon@movementarian.org>
7406 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7408 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7410 * converter.C (view): add support for $$i (file name) and $$p
7411 (file path) for the viewer command. If $$i is not specified, then
7412 it is appended to the command (for compatibility with old syntax)
7414 2002-10-14 Juergen Vigna <jug@sad.it>
7416 * undo_funcs.C (textHandleUndo): alter the order in which the
7417 new undopar is added to the LyXText, as we have to set first
7418 the right prev/next and then add it as otherwise the rebuild of
7419 LyXText is not correct. Also reset the cursor to the right paragraph,
7420 with this IMO we could remove the hack in "redoParagraphs()".
7422 2002-10-09 Angus Leeming <leeming@lyx.org>
7424 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7425 to turn off an optimisation if a new inset is to be inserted.
7427 2002-10-11 André Pönitz <poenitz@gmx.net>
7429 * lyxtext.h: make some functions public to allow access
7430 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7432 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7434 * text3.C (dispatch): when changing layout, avoid an infinite loop
7437 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7439 * lyxrc.C (read): treat a viewer or converter command of "none" as
7442 * MenuBackend.C (expandFormats): for an update, also allow the
7443 formats that are not viewable
7445 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7446 script if it is newer than the lyxrc.defaults in user directory
7448 2002-10-07 André Pönitz <poenitz@gmx.net>
7450 * text.C: Vitaly Lipatov's small i18n fix
7452 2002-09-25 Angus Leeming <leeming@lyx.org>
7454 * ispell.h: doxygen fix.
7456 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7458 * buffer.h (readFile): Add a new argument to the method, to allow
7459 reading of old-format templates.
7461 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7463 * toc.C (getTocList): Get TOC from InsetWrap.
7465 2002-09-16 John Levon <levon@movementarian.org>
7467 * lyxfunc.C: check tabular for cut/copy too
7469 2002-09-12 John Levon <levon@movementarian.org>
7474 * factory.C: add header
7476 * paragraph_funcs.h:
7477 * paragraph_funcs.C: cleanup
7479 2002-09-11 John Levon <levon@movementarian.org>
7481 * PrinterParams.h: odd/even default to true
7483 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7485 * PrinterParams.h: update printer parameters for new xforms dialog
7487 2002-09-11 Angus Leeming <leeming@lyx.org>
7489 * lyxserver.C (read_ready): re-write to make it more transparent
7490 and to make it work in coherent fashion under Tru64 Unix.
7492 2002-09-11 André Pönitz <poenitz@gmx.net>
7496 * text3.C: implement LFUN_WORDSEL
7498 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7501 make floatlist_ a boost::shared_ptr<FloatList>
7503 * lyxtextclass.C: include FloatList.h
7504 (LyXTextClass): initialize floatlist_
7505 (TextClassTags): add TC_NOFLOAT
7506 (Read): match "nofloat" to TC_NOFLOAT and use it.
7507 (readFloat): modify call to floatlist_
7511 * FloatList.[Ch] (FloatList): remove commented out float
7513 (erase): new function
7515 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7517 * MenuBackend.C (expandToc): fix crash when there is no document
7520 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7522 * many files: Add insetwrap.
7524 2002-09-09 John Levon <levon@movementarian.org>
7526 * text2.C: remove confusing and awkward depth wraparound
7528 2002-09-09 John Levon <levon@movementarian.org>
7530 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7533 * buffer.C: remove getIncludeonlyList()
7536 * lyxfunc.C: remove headers
7538 2002-09-09 Juergen Vigna <jug@sad.it>
7540 * text.C (getColumnNearX): fix form Michael this is most
7541 probably a cut&paste bug.
7543 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7547 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7548 references, ws changes.
7550 * text2.C (init): update counters after init
7551 (insertParagraph): no need to set counter on idividual paragraphs.
7552 (setCounter): access the counters object in the textclass object
7553 on in the buffer object.
7554 (updateCounters): ditto
7556 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7557 shared_ptr<Counters> to avoid loading counters.h in all
7559 (LyXTextClass): initialize ctrs_
7560 (TextClassTags): add TC_COUNTER, and ...
7561 (Read): use it here.
7562 (CounterTags): new tags
7563 (readCounter): new function
7564 (counters): new funtion
7565 (defaultLayoutName): return a const reference
7567 * counters.C (Counters): remove contructor
7568 (newCounter): remove a couple of unneeded statements.
7569 (newCounter): simplify a bit.
7570 (numberLabel): some small formatting changes.
7572 * buffer.[Ch]: remove all traces of counters, move the Counters
7573 object to the LyXTextClass.
7575 2002-09-06 Alain Castera <castera@in2p3.fr>
7577 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7578 package to set the horizontal alignment on fixed width columns.
7581 * lyx_sty.h: added tabularnewline macro def.
7583 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7585 2002-09-06 John Levon <levon@movementarian.org>
7587 * LyXAction.C: tooltips for sub/superscript
7589 * MenuBackend.C: a bit more verbose
7591 * lyxfunc.C: tiny clean
7593 * undo_funcs.C: document undo_frozen
7595 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * counters.C (Counters): add missing algorithm counter.
7599 * text2.C (setCounter): lookup the counter with layouts latexname
7600 instead of by section number.
7601 (setCounter): use a hackish way to lookup the correct enum
7603 a float name->type change
7604 reset enum couners with counter name directly instead of depth value.
7606 * counters.C (Counters): remove the push_backs, change to use the
7607 float type not the float name.
7608 (labelItem): remove unused string, float name->type change
7610 * counters.h: don't include vector, loose the enums and sects vectors
7612 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7615 (Read): add float->TC_FLOAT to textclassTags
7616 (Read): and handle it in the switch
7617 (readFloat): new function
7619 * FloatList.C (FloatList): comment out the hardcoded float
7622 * lyxlayout.h: ws change.
7624 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7626 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7628 2002-09-03 Angus Leeming <leeming@lyx.org>
7630 * BufferView_pimpl.h: qualified name is not allowed in member
7631 declaration: WorkArea & Pimpl::workarea() const;
7633 * factory.C: added using std::endl directive.
7635 * text3.C: added using std::find and std::vector directives.
7637 2002-08-29 André Pönitz <poenitz@gmx.net>
7640 * text2.C: remove unused member number_of_rows
7643 * BufferView2.C: remove file, move contents to...
7644 * BufferView.C: ... here
7646 * BufferView_pimpl.C:
7647 * factory.C: move more inset creation to factory
7649 * vspace.C: avoid direct usage of LyXText, ws changes
7652 don't provide direct access to WorkArea, use two simple
7653 acessors haveSelction() and workHeight() instead
7656 2002-08-29 John Levon <levon@movementarian.org>
7658 * BufferView_pimpl.C (dispatch): do not continue when
7661 2002-08-28 André Pönitz <poenitz@gmx.net>
7663 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7666 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7668 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7670 * buffer.C: increment LYX_FORMAT to 221
7672 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7673 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7675 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7677 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7679 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7681 * factory.C (createInset): use LyXTextClass::floats
7683 * MenuBackend.C (expandFloatListInsert):
7684 (expandFloatInsert):
7687 * text2.C (setCounter):
7689 * LaTeXFeatures.C (useFloat):
7690 (getFloatDefinitions):
7692 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7694 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7695 floatlist_, with accessor floats().
7697 * FloatList.h: remove global FloatList
7699 2002-08-26 André Pönitz <poenitz@gmx.net>
7701 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7705 * BufferView_pimpl.C:
7706 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7708 2002-08-25 John Levon <levon@movementarian.org>
7710 * LyXAction.C: fix margin note description
7712 2002-08-24 John Levon <levon@movementarian.org>
7716 * bufferview_funcs.C:
7718 * undo_funcs.C: cleanups
7720 * lyxfunc.C: disable CUT/COPY when no selection
7722 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7724 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7725 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7727 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7728 Add backward compatibility to "mono", "gray" and "no".
7730 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7732 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7733 (and file_format >= 200).
7735 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7737 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7739 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7741 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7743 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7745 * BufferView_pimpl.C:
7752 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7753 inset and code to make it work with the paragraph code. The inset
7754 can be anywhere in the paragraph, but will only do the expected
7755 thing in LaTeX if the layout file contains the parameter line
7757 (or more generally, a nonzero value) for that layout.
7759 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * paragraph.h: remove the declaration of undefined counters class
7764 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7766 * text2.C (setCounter): fixed enumeration mis-count as reported by
7767 Dr. Richard Hawkins.
7769 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7771 * paragraph_funcs.h: remove some unneeded includes
7773 * text.C (backspace): pasteParagraph now in global scipe
7775 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7776 (pasteSelection): ditto
7778 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7779 * paragraph_funcs.C (pasteParagraph): ... here
7781 2002-08-20 André Pönitz <poenitz@gmx.net>
7783 * commandtags.h: new LFUNs for swapping/copying table row/colums
7786 * lyxfunc.C: support for new lfuns
7788 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * buffer.[Ch]: remove NO_COMPABILITY stuff
7793 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * boost.C (throw_exception): new file, with helper function for
7796 boost compiled without exceptions.
7801 * ParameterStruct.h:
7802 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7804 * bufferlist.C (emergencyWriteAll): use boost bind
7806 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7808 * text.C: include paragraph_funcs.h
7809 (breakParagraph): breakParagraph is now in global scope
7811 * paragraph_funcs.[Ch]: new files
7813 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7816 * buffer.C: include paragraph_funcs.h
7817 (insertStringAsLines): breakParagraph is now in global scope
7819 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7822 * CutAndPaste.C: include paragraph_funcs.h
7823 (cutSelection): breakParagraphConservative is now in global scope
7824 (pasteSelection): ditto
7826 * buffer.h: declare oprator== and operator!= for
7827 Buffer::inset_iterator
7829 * bufferlist.C (emergencyWrite): don't use fmt(...)
7831 * text3.C: add using std::endl
7833 * BufferView.C (moveCursorUpdate): remove default arg
7835 2002-08-20 André Pönitz <poenitz@gmx.net>
7837 * buffer.[Ch]: move inline functions to .C
7840 * BufferView_pimpl.C:
7842 * buffer.[Ch]: use improved inset_iterator
7845 * paragraph.[Ch]: write one paragraph at a time
7847 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7849 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7850 style if style is not specified.
7852 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7854 * text2.C (setCounter): when searching for right label for a
7855 caption, make sure to recurse to parent insets (so that a caption
7856 in a minipage in a figure float works) (bug #568)
7858 2002-08-20 André Pönitz <poenitz@gmx.net>
7860 * text3.C: new file for LyXText::dispatch() and helpers
7862 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7864 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7866 2002-08-19 André Pönitz <poenitz@gmx.net>
7869 * text.C: new LyXText::dispatch()
7871 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7873 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7875 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7877 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7880 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7882 * Makefile.am: use $(variables) instead of @substitutions@
7884 2002-08-15 André Pönitz <poenitz@gmx.net>
7887 * BufferView_pimpl.C: streamlining mathed <-> outer world
7891 * LyXAction.C: remove unused LFUN_MATH
7893 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7897 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * paragraph.C (Paragraph): reformat a bit
7900 (cutIntoMinibuffer): use builtin InsetList function instad of
7904 * buffer.C: include boost/bind.hpp, add using std::for_each
7905 (writeFileAscii): use ParagraphList iterators
7906 (validate): use for_each for validate traversal of paragraphs
7907 (getBibkeyList): use ParagraphList iterators
7908 (resizeInsets): use for_each to resizeInsetsLyXText for all
7910 (getParFromID): use ParagraphList iterators
7912 * BufferView2.C (lockInset): use paragraph list and iterators
7914 2002-08-14 John Levon <levon@movementarian.org>
7916 * lyxserver.C: remove spurious xforms include
7918 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7920 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7922 2002-08-13 André Pönitz <poenitz@gmx.net>
7925 * lyxfunc.C: further cleaning
7927 2002-08-13 André Pönitz <poenitz@gmx.net>
7929 * funcrequest.h: new constructor
7931 * funcrequest.C: move stuff here from .h
7934 * BufferView_pimpl.C:
7937 * lyxfunc.C: subsequent changes
7939 * lyxfunc.h: new view() member function
7941 * lyxfunc.C: subsequent changes
7943 2002-08-13 Angus Leeming <leeming@lyx.org>
7946 * BufferView_pimpl.C:
7954 changes due to the changed LyXView interface that now returns references
7955 to member variables not pointers.
7957 2002-08-13 Angus Leeming <leeming@lyx.org>
7959 * WordLangTuple (word, lang_code): return references to strings,
7964 * lyxtext.h: forward-declare WordLangTuple.
7969 * text.C: #include "WordLangTuple.h".
7972 * text.C: (selectNextWordToSpellcheck): constify return type.
7974 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7980 * paragraph_pimpl.h:
7983 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7985 Made updateCounter always count from start of buffer, and removed
7986 second argument (par).
7987 Reverted floats number display to '#'. Perhaps I'll try again when the
7988 code base is sanitized a bit.
7990 2002-08-12 Angus Leeming <leeming@lyx.org>
7992 * buffer.[Ch] (getLabelList): constify.
7994 2002-08-07 André Pönitz <poenitz@gmx.net>
7996 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7998 * funcrequest.h: extension to keep mouse (x,y) position
8000 2002-08-12 Juergen Vigna <jug@sad.it>
8002 * BufferView2.C (insertErrors): forbid undo when inserting error
8005 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8007 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * ParagraphList.[Ch]: new files
8011 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8013 * BufferView2.C (lockInset): ParagraphList changes
8016 * bufferlist.C: ditto
8020 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8023 unused class variable counter_,
8025 * paragraph.[Ch] (getFirstCounter): delete unused function
8027 * counters.C: include LAssert.h
8028 (reset): add a new function with no arg, change other version to
8029 not have def. arg and to not allow empty arg.
8031 * text2.C (setCounter): remove empty arg from call to Counters::reset
8033 2002-08-11 John Levon <levon@movementarian.org>
8035 * Makefile.am: add WordLangTuple.h
8037 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8040 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8042 * insets/insettext.C: InsetList changes
8044 * graphics/GraphicsSupport.C (operator()): InsetList changes
8046 * toc.C (getTocList): InsetList changes
8048 * paragraph_pimpl.[Ch]: InsetList changes
8050 * paragraph.[Ch]: InsetList changes
8052 * buffer.C (inset_iterator): InsetList changes
8053 (setParagraph): ditto
8054 * buffer.h (inset_iterator): ditto
8055 * iterators.C (operator++): ditto
8056 * iterators.h: ditto
8058 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8060 * InsetList.[Ch]: new files, most InsetList handling moved out of
8063 * BufferView2.C (removeAutoInsets): InsetList changes
8065 (ChangeInsets): ditto
8067 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * paragraph_pimpl.h (empty): new function
8071 * paragraph.[Ch] (empty): new function
8073 * other files: use the new Paragraph::empty function
8075 2002-08-09 John Levon <levon@movementarian.org>
8077 * lyxtext.h: remove unused refresh_height
8079 2002-08-09 John Levon <levon@movementarian.org>
8086 * paragraph.C: move sgml char escaping out of paragraph
8089 * paragraph.C: remove id setter
8093 * paragraph_pimpl.C: remove dead tex_code_break_column
8095 * bufferview_funcs.C: small cleanup
8097 * lyxfunc.C: remove dead proto
8099 * lyxtext.h: make some stuff private. Remove some dead stuff.
8101 * lyxgluelength.C: make as[LyX]String() readable
8103 2002-08-08 John Levon <levon@movementarian.org>
8108 * ToolbarDefaults.C:
8111 * toc.C: lyxaction cleanup
8113 2002-08-08 John Levon <levon@movementarian.org>
8115 * BufferView2.C: small cleanup
8118 * lyxfind.C: move unnecessary header into the .C
8120 2002-08-08 John Levon <levon@movementarian.org>
8122 * funcrequest.h: just tedious nonsense
8125 * lyx_main.C: cleanups
8128 * vspace.C: remove dead header lyx_main.h
8130 2002-08-07 Angus Leeming <leeming@lyx.org>
8133 * paragraph_pimpl.h:
8134 Forward declare class Counters in paragraph.h by moving the ctrs member
8135 variable into Paragraph::Pimpl.
8136 (counters): new method, returning a reference to pimpl_->ctrs.
8138 * text2.C: ensuing changes.
8140 2002-08-07 John Levon <levon@movementarian.org>
8142 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8144 * BufferView_pimpl.C: announce X selection on double/triple
8147 * lyx_main.C: use correct bool in batch dispatch
8149 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8151 2002-08-07 André Pönitz <poenitz@gmx.net>
8153 * funcrequest.h: new class to wrap a kb_action and its argument
8156 * BufferView_pimpl[Ch]:
8160 * lyxrc.C: subsequent changes
8163 2002-08-07 John Levon <levon@movementarian.org>
8165 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8166 document options change.
8168 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8173 * makefile.am: move counters functionality over from
8174 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8176 2002-08-06 John Levon <levon@movementarian.org>
8178 * WordLangTuple.h: new file for word + language code tuple
8189 * BufferView2.C: use WordLangTuple
8192 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8194 2002-08-06 John Levon <levon@movementarian.org>
8196 * lyx_main.C: fix cmdline batch handling
8198 2002-08-06 André Pönitz <poenitz@gmx.net>
8200 * lyxrc.C: set default for show_banner to true
8202 2002-08-06 John Levon <levon@movementarian.org>
8204 * pspell.C: fix a crash, and allow new aspell to work
8206 2002-08-06 John Levon <levon@movementarian.org>
8209 * kbmap.C: small cleanup
8212 * vspace.C: add const
8214 2002-08-05 John Levon <levon@movementarian.org>
8216 * LyXAction.C: back to tabular-insert
8218 2002-08-04 John Levon <levon@movementarian.org>
8221 * BufferView.C: cosmetic change
8223 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8233 * BufferView2.C: purge all "Lyx" not "LyX" strings
8236 * lyxcursor.C: attempt to add some documentation
8241 * ToolbarDefaults.C:
8242 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8243 merge with LFUN_TABULAR_INSERT
8250 * pspell.C: split up i/pspell implementations into separate
8251 files, many cleanups
8253 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8255 * text2.C: some cleanup
8257 * lyxfunc.C: don't check for isp_command == "none" any more, it
8258 didn't make any sense
8260 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8265 * makefile.am: move counters functionality over
8266 from text2.C/paragraph.[Ch] to counters.[Ch], and
8268 2002-08-02 John Levon <levon@movementarian.org>
8270 * buffer.C: s/lyxconvert/lyx2lyx/
8272 2002-08-02 Angus Leeming <leeming@lyx.org>
8274 * lyxlex.C: revert John's change as it breaks reading of the user
8277 2002-08-02 Angus Leeming <leeming@lyx.org>
8279 * importer.C (Import):
8280 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8281 changes due to LyXView::view() now returning a boost::shared_ptr.
8283 2002-08-02 John Levon <levon@movementarian.org>
8285 * lyxlex.C: small cleanup
8287 2002-08-02 John Levon <levon@movementarian.org>
8289 * text2.C (status): small cleanup, no logic change
8291 2002-08-01 John Levon <levon@movementarian.org>
8294 * buffer.C (writeFile): don't output alerts, caller
8298 * lyx_cb.C: from above
8300 * lyxfunc.C: allow to open non-existent files
8302 2002-07-31 John Levon <levon@movementarian.org>
8304 * lyxserver.C: don't let incidental errors get
8307 2002-07-30 John Levon <levon@movementarian.org>
8309 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8311 2002-07-30 John Levon <levon@movementarian.org>
8314 * lyxserver.C: remove I/O callback too
8316 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8318 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8321 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * many files: strip,frontStrip -> trim,ltrim,rtrim
8325 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * PrinterParams.h: remove extern containsOnly, and include
8328 support/lstrings.h instead.
8330 * LaTeX.C (scanAuxFile): modify because of strip changes
8332 * buffer.C (makeLaTeXFile): ditto
8333 * bufferparams.C (writeFile): ditt
8334 * lyxfont.C (stateText): ditto
8335 * lyxserver.C (read_ready): ditto
8336 * vc-backend.C (scanMaster): ditto
8338 * BufferView_pimpl.h: ws changes
8340 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8342 2002-07-26 André Pönitz <poenitz@gmx.net>
8344 * kb_sequence.C: remove unnedred usings
8346 2002-07-26 Juergen Vigna <jug@sad.it>
8348 * lyxfind.C (LyXReplace): we have to check better if the returned
8349 text is not of theLockingInset()->getLockingInset().
8351 2002-07-25 Juergen Vigna <jug@sad.it>
8353 * lyxfind.C (LyXReplace): don't replace if we don't get the
8356 * undo_funcs.C (createUndo): remove debugging code.
8358 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8360 * buffer.C (parseSingleLyXformat2Token): Use default placement
8361 when reading old floats.
8363 * FloatList.C (FloatList): Change the default placement of figure
8364 and tables to "tbp".
8366 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8368 * MenuBackend.C: using std::max
8370 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8372 * MenuBackend.C (expandToc):
8373 (expandToc2): code moved from xforms menu frontend. It is now
8374 generic and TOCs are transparent to menu frontends.
8376 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8378 * toc.C (getTocList): protect against buf=0
8380 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8381 Menu as first parameter. Now, this calls itself recursively to
8382 expand a whole tree (this will be useful for TOC handling)
8383 (expandFloatInsert): remove 'wide' version of floats
8385 * MenuBackend.h (submenuname): returns the name of the submenu.
8386 (submenu): returns the submenu itself, provided it has been
8387 created by MenuBackend::expand
8389 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8392 insets which have noFontChange == true. (bug #172)
8394 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * BufferView_pimpl.C: add connection objects and use them...
8399 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8401 * MenuBackend.C (expandLastfiles):
8404 (expandFloatListInsert):
8405 (expandFloatInsert):
8406 (expand): split expand in parts
8408 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8410 * lyx_gui.C: use lyx_gui::exit()
8412 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8414 * LyXAction.C: show the failing pseudo action
8416 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8418 * buffer.C (readFile): Run the lyxconvert script in order to read
8421 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8425 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8427 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8431 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8433 2002-07-22 Herbert Voss <voss@lyx.org>
8436 * lyxlength.[Ch]: add support for the vertical lengths
8438 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8440 * toc.[Ch]: std:: fixes
8442 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * lyxrc.C: do not include lyx_main.h
8446 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8452 * BufferView2.C: include "lyxlex.h"
8455 * bufferparams.h: do not #include "lyxlex.h"
8457 * lyxtextclasslist.C (Add): remove method
8458 (classlist): renamed to classlist_
8460 * paragraph_pimpl.C:
8464 * bufferview_funcs.C:
8469 * toc.C (getTocList): use BufferParams::getLyXTextClass
8471 * toc.C (getTocList): use InsetFloat::addToToc
8473 * toc.[Ch]: new files, containing helper functions to handle table
8476 * lyxfunc.C (dispatch): no need to remove spaces around command
8478 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8479 first command of the sequence; it is not very clever, but I do not
8480 have a better idea, actually
8482 * LyXAction.C (LookupFunc): make sure to remove space at the
8483 beginning and end of the command
8485 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8487 * MenuBackend.C (getMenubar): new method: return the menubar of
8489 (read): treat differently reading of menu and menubar (in
8490 particular, the menubar has no name now)
8491 (Menu::menubar): remove
8493 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8496 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8498 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8499 a bibitem inset in a RTL paragraph.
8501 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8503 * paragraph_pimpl.C: constify
8505 * BufferView_pimpl.C:
8507 * lyxfunc.C: fix dispatch in a nicer way
8509 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8511 * lyxfunc.C (dispatch):
8512 * BufferView_pimpl.C:
8513 * BufferView_pimpl.h:
8515 * BufferView.h: rename Dispatch() to dispatch()
8517 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8519 * lyxlayout.C (Read): honor DependsOn tag
8521 * lyxlayout.[Ch] (depends_on): new method
8523 * version.C.in: update lyx_docversion
8525 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8527 * paragraph.C (validate): remove from here...
8528 * paragraph_pimpl.C (validate): ... and move here
8529 (isTextAt): make it const
8531 * buffer.C (getLists): ws cleanup
8533 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8535 * language.C (read): Use iso8859-1 encoding in latex_lang
8536 (this prevents LyX from crashing when using iso10646-1 encoding).
8538 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * text2.C (toggleInset): if cursor is inside an inset, close the
8541 inset and leave cursor _after_ it
8543 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8545 * lyxfunc.C: move minibuffer completion handling out of here
8547 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.C:
8550 * LaTeX.C: fix dispatch calls
8552 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8554 * text.C (drawChars): Fix Arabic text rendering.
8556 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8560 * lyxfunc.C: remove message-push/pop
8564 * lyxfunc.C: rationalise some code by removing verboseDispatch
8565 in favour of a bool argument to dispatch()
8567 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8569 * lyx_main.C (init): make sure to read symlinks as absolute paths
8571 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8574 * lyxfunc.C: no need for commandshortcut to be a member
8576 2002-07-15 André Pönitz <poenitz@gmx.net>
8578 * converter.C: add support for $$s (scripts from lib/scripts dir)
8579 * lyx_main.C: white space
8581 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8585 * lyxrc.C: remove second exit confirmation
8587 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8592 * BufferView_pimpl.h:
8593 * BufferView_pimpl.C:
8594 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8596 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8598 * MenuBackend.C (expand): add numeric shortcuts to document menu
8600 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8602 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8604 * lyxfont.C (setLyXFamily):
8611 * buffer.C (asciiParagraph): use ascii_lowercase
8613 2002-07-15 Mike Fabian <mfabian@suse.de>
8615 * lyxlex_pimpl.C (search_kw):
8616 * lyxlex.C (getLongString):
8617 * converter.h (operator<):
8618 * converter.C (operator<):
8619 * buffer.C (parseSingleLyXformat2Token):
8621 * ToolbarDefaults.C (read):
8622 * MenuBackend.C (checkShortcuts):
8624 * LColor.C (getFromGUIName):
8625 (getFromLyXName): use the compare_ascii_no_case instead of
8626 compare_no_case, because in turkish, 'i' is not the lowercase
8627 version of 'I', and thus turkish locale breaks parsing of tags.
8629 2002-07-16 Angus Leeming <leeming@lyx.org>
8631 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8632 now takes a Buffer const & argument.
8634 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8636 * BufferView.C (resize): check there's a buffer to resize
8638 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8640 * lyxfunc.C: remove dead code
8643 * lyxserver.C: use lyx_guii::set_read_callback
8645 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8647 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8648 an inset in a RTL paragraph.
8650 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8652 * lyxfunc.C: repaint after a font size update
8654 2002-07-15 André Pönitz <poenitz@gmx.net>
8656 * lyxlength.C: inBP should be able to return negative values
8658 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8660 * lyxfunc.C: use lyx_gui::update_fonts()
8662 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8664 * lyxfunc.C: use lyx_gui::update_color()
8666 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8672 * lyxrc.C: remove file->new asks for name option, and let
8673 buffer-new take an argument
8675 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8677 * BufferView_pimpl.C: remove unneeded extra repaint()
8679 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8681 * LyXAction.C: allow command-sequence with NoBuffer
8683 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8685 2002-07-10 Angus Leeming <leeming@lyx.org>
8687 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8689 2002-07-09 Angus Leeming <leeming@lyx.org>
8691 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8693 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8695 * lengthcommon.h: whitespace
8697 * lyxfunc.C: update scrollbar after goto paragraph
8699 * lyxtext.h: factor out page break drawing, and fix it so
8700 page break/added space paints as selected nicely
8702 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C: add FIXMEs, clean up a little
8706 2002-07-09 André Pönitz <poenitz@gmx.net>
8708 * lyxfont.[Ch]: support for wasy symbols
8710 2002-07-08 André Pönitz <poenitz@gmx.net>
8712 * BufferView_pimpl.C: apply John's patch for #93.
8714 2002-07-05 Angus Leeming <leeming@lyx.org>
8716 * BufferView_pimpl.C (buffer): generate previews if desired.
8718 * LColor.h: add "preview" to the color enum.
8720 * LColor.C (LColor): add a corresponding entry to the items array.
8722 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8725 2002-07-05 Angus Leeming <leeming@lyx.org>
8727 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8728 The body of the code is now in the method that is passed an ostream &
8729 rather than a file name.
8730 Pass an additional only_preamble parameter, useful for the forthcoming
8733 2002-07-03 André Pönitz <poenitz@gmx.net>
8735 * lyxfunc.C: simplify getStatus() a bit for math stuff
8737 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8739 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8741 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8743 * text.C (changeRegionCase): do not change case of all the
8744 document when region ends at paragraph end (bug #461)
8746 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8748 * paragraph.C (startTeXParParams):
8749 (endTeXParParams): add \protect when necessary
8751 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * BufferView_pimpl.C (workAreaExpose): remove warning
8755 2002-06-27 Angus Leeming <leeming@lyx.org>
8757 * Makefile.am: add lyxlayout_ptr_fwd.h.
8759 2002-06-26 André Pönitz <poenitz@gmx.net>
8761 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8763 2002-06-25 Angus Leeming <leeming@lyx.org>
8765 * lyxfunc.C (dispatch): Comment out the call to
8766 grfx::GCache::changeDisplay. The method no longer exists now that the
8767 pixmap generation part of the graphics loader has been moved into
8770 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * text2.C: layout as layout
8774 * text.C: layout as layout
8776 * tabular.C (OldFormatRead): layout as layout
8778 * paragraph_pimpl.C (TeXDeeper): layout as layout
8779 (realizeFont): layout as layout
8781 * paragraph.C (writeFile): layout as layout
8782 (validate): layout as layout
8783 (getFont): layout as layout
8784 (getLabelFont): layout as layout
8785 (getLayoutFont): layout as layout
8786 (breakParagraph): layout as layout
8787 (stripLeadingSpaces): layout as layout
8788 (getEndLabel): layout as layout
8789 (getMaxDepthAfter): layout as layout
8790 (applyLayout): layout as layout
8791 (TeXOnePar): layout as layout
8792 (simpleTeXOnePar): layout as layout
8793 (TeXEnvironment): layout as layout
8794 (layout): layout as layout
8795 (layout): layout as layout
8797 * lyxtextclass.C (compare_name): new functor to work with
8798 shared_ptr, layout as layout
8799 (Read): layout as layout
8800 (hasLayout): layout as layout
8801 (operator): layout as layout
8802 (delete_layout): layout as layout
8803 (defaultLayout): layout as layout
8805 * lyxlayout_ptr_fwd.h: new file
8807 * lyxlayout.C (Read): layout as layout
8809 * lyx_cb.C (MenuInsertLabel): layout as layout
8811 * bufferlist.C (newFile): layout as layout
8813 * buffer.C (readLyXformat2): layout as layout
8814 (parseSingleLyXformat2Token): layout as layout
8815 (insertStringAsLines): layout as layout
8816 (asciiParagraph): layout as layout
8817 (latexParagraphs): layout as layout
8818 (makeLinuxDocFile): layout as layout
8819 (simpleLinuxDocOnePar): layout as layout
8820 (makeDocBookFile): layout as layout
8821 (simpleDocBookOnePar): layout as layout
8822 (getLists): layout as layout
8824 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8826 * CutAndPaste.C (cutSelection): layout as layout
8827 (pasteSelection): layout as layout
8828 (SwitchLayoutsBetweenClasses): layout as layout
8830 * BufferView_pimpl.C (Dispatch): layout as layout
8831 (smartQuote): layout as layout
8833 * BufferView2.C (unlockInset): layout as layout
8835 2002-06-24 André Pönitz <poenitz@gmx.net>
8837 * lyxfunc.C: fix #487
8839 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8843 * lyxfunc.C: remove display_shortcuts, show_banner
8845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8847 * Buffer_pimpl.C: oops, update on resize
8849 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8856 * BufferView.C: use repaint()
8858 * BufferView_pimpl.h:
8859 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8860 as it's a clearer description. Remove superfluous
8863 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8865 * text.C: fix bug 488. Not ideal, but getting
8866 getWord() to work properly for the insets that
8867 matter is more difficult ...
8869 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8871 * BufferView_pimpl.C:
8874 * lyxfunc.C: remove the six million index lyxfuncs to just
8875 one, and DTRT (bug 458)
8877 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8881 * BufferView_pimpl.h:
8882 * BufferView_pimpl.C: clean up resize() stuff,
8883 and unnecessary updateScreen()s
8885 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8889 * BufferView_pimpl.h:
8890 * BufferView_pimpl.C:
8893 * minibuffer.C: remove focus management of workarea,
8894 not needed. Use screen's greyOut()
8896 2002-06-17 Herbert Voss <voss@lyx.org>
8898 * converter.C: (convert) do not post a message, when converting
8899 fails, let the calling function decide what to do in this case
8901 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8903 * lyxfunc.C: tidy up a little
8905 2002-06-16 <alstrup@diku.dk>
8907 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8908 Got rid of FORMS_H_LOCATION include. Now we are
8911 2002-06-15 LyX Development team <lyx@rilke>
8913 * buffer.[Ch] (sgmlOpenTag):
8914 (sgmlCloseTag): Added support for avoiding pernicious mixed
8915 content. Return number of lines written.
8918 (makeDocBookFile): Fixed calls to sgml*Tag.
8919 Simple white space clean.
8921 (simpleDocBookOnePar): Simple white space clean.
8923 * tabular.[Ch] (docBook): Renamed to docbook and got another
8924 argument to related with the pernicious mixed content.
8926 (docbookRow): Fixed calls for docbook inset method.
8928 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8930 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8931 so it's X11 independent.
8935 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8937 2002-06-15 Lyx Development team <lyx@electronia>
8939 * intl.h: Renamed getTrans to getTransManager.
8941 2002-06-14 Angus Leeming <leeming@lyx.org>
8943 * Makefile.am: nuke forgotten stl_string_fwd.h.
8945 2002-06-12 Angus Leeming <leeming@lyx.org>
8947 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8949 2002-06-13 Angus Leeming <leeming@lyx.org>
8952 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8954 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8956 * kbmap.C (getiso): add support for cyrillic and greek
8958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8962 * BufferView_pimpl.h:
8963 * BufferView_pimpl.C: move bogus scrolling logic
8966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8969 * BufferView_pimpl.C: view->resize() change
8971 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8973 * BufferView_pimpl.C: topCursorVisible
8976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8980 * lyx_gui.C: move to frontends/
8984 * lyx_main.C: changes from above
8986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8993 * lyx_main.C: minor tidy
8995 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8997 * BufferView_pimpl.h:
8998 * BufferView_pimpl.C:
9000 * BufferView.C: make painter() const,
9003 * BufferView2.C: use screen() accessor
9006 * lyx_main.C: some minor cleanup
9008 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9010 * BufferView_pimpl.h:
9011 * BufferView_pimpl.C: remove enter/leaveView,
9014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9019 * BufferView_pimpl.h:
9020 * BufferView_pimpl.C: only construct screen once,
9023 * lyxrc.C: remove pointless comment
9025 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9028 * BufferView.C: remove active() and belowMouse()
9030 * BufferView_pimpl.h:
9031 * BufferView_pimpl.C: use workarea() not workarea_,
9032 and make it use a scoped_ptr instead
9034 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9036 * lyx_gui.C: add debug message on BadWindow
9038 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * sp_spell.C: fdopen is not part of the C++ standard.
9042 * paragraph.C (InsetIterator): use >= instead of ==
9044 2002-06-07 Angus Leeming <leeming@lyx.org>
9046 Fixes needed to compile with Compaq cxx 6.5.
9047 * BufferView_pimpl.C:
9054 * lyxtextclasslist.C:
9059 all c-library variables have been moved into namespace std. Wrap
9060 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9065 Add a using std::abs declaration.
9067 * kbmap.h (modifier_pair):
9068 * paragraph.h (InsetTable, InsetList):
9069 * lyxfont.h (FontBits):
9070 type definition made public.
9072 * bufferlist.C (emergencyWriteAll): the compiler complains that
9073 there is more than one possible lyx::class_fun template to choose from.
9074 I re-named the void specialisation as lyx::void_class_fun.
9076 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9078 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9079 the compiler is is unable to find tostr in write_attribute.
9081 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * buffer.C (sgmlError): hide #warning
9085 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * xtl/*: get rid of xtl, which is not in use anyway
9089 * LyXAction.C (init):
9090 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9091 were unimplemented xtl experimentation
9093 2002-06-04 André Pönitz <poenitz@gmx.net>
9095 * lyxfunc.C: disable array operation on simple formulae
9097 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9099 * converter.C: constify a bit
9101 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9103 * lyx_gui.C: check xforms version correctly
9105 2002-04-30 Herbert Voss <voss@lyx.org>
9107 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9110 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9112 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9113 attempt to register it with a VCS)
9115 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9117 * lyx_main.C (init): honor variables LYX_DIR_13x and
9120 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9124 * lyx_main.C: fix a crash on bad command line,
9125 and give a useful exit status on error
9127 * lyxfunc.C (doImport): allow -i lyx to work
9129 2002-03-30 André Pönitz <poenitz@gmx.net>
9131 * lyxfunc.C: mathed font changes
9133 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9148 * trans_mgr.h: srcdocs, and some minor cleanups
9150 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9152 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9153 call getFont all the time)
9155 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9157 * switch from SigC signals to boost::signals
9159 2002-05-29 André Pönitz <poenitz@gmx.net>
9161 * paragraph_pimpl.C (getChar): don't call size() too often...
9163 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9165 * paragraph_pimpl.C (insertChar): do not try to update tables when
9166 appending (pos == size())
9168 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9169 in order to reduce drastically the number of comparisons needed to
9170 parse a large document
9172 2002-05-29 André Pönitz <poenitz@gmx.net>
9178 * textclasslist.[Ch]:
9179 * sp_ispell.h: whitespace change
9181 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9183 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9184 lyxaction directly now.
9186 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9190 * lyxvc.C: remove unused headers
9192 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9199 * undo_funcs.C: some cleanups. Use shared_ptr
9200 and a template for the undo stacks.
9202 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9204 * BufferView_pimpl.h:
9205 * BufferView_pimpl.C:
9212 * text2.C: use key_state/mouse_state
9214 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9216 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9219 * chset.C: change include order
9220 (loadFile): use boost regex and get rid of LRegex and LSubstring
9222 * Makefile.am (BOOST_LIBS): new variable
9225 * LaTeX.C: change include order.
9226 (scanAuxFile): use boost regex and get rid of LRegex and
9230 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9235 * FontInfo.C: moved to frontends/xforms/
9238 * FontLoader.C: moved into frontends for GUIIzation
9243 * lyxfunc.C: changes from above
9245 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9247 * LColor.C: remove spurious X include
9249 * BufferView_pimpl.C:
9254 * text2.C: move font metrics to frontends/
9256 2002-05-24 Juergen Vigna <jug@sad.it>
9258 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9259 setting the undo_cursor.
9261 * ParagraphParameters.h: include local includes first.
9263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9265 * BufferView_pimpl.C:
9266 * BufferView_pimpl.h:
9270 * screen.C: move WorkArea into frontends/
9276 * BufferView2.C: move LyXScreen into frontends/
9280 * lyx_gui.C: move lyxlookup into frontends/xforms/
9282 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9285 * BufferView_pimpl.C:
9295 * bufferview_funcs.C:
9308 * vc-backend.C: move LyX/XFormsView into frontends/
9310 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9322 * text2.C: move Painter to frontends/
9324 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * buffer.C: comment out some some code that depend upon lyx_format
9329 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9330 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9332 * buffer.h (NO_COMPABILITY): turn off compability
9334 * ColorHandler.C: include scoped_array.hpp
9336 * font.C: Use more specific smart_ptr header.
9339 * ShareContainer.h: ditto
9343 * BufferView_pimpl.h: ditto
9344 * ColorHandler.h: ditto
9346 * kbmap.C (defkey): change call to shared_ptr::reset
9348 2002-05-21 Juergen Vigna <jug@sad.it>
9350 * buffer.C (insertErtContents): fix to insert ert asis if it is
9351 non empty. Skip it completely if it contains only whitespaces.
9353 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView_pimpl.C:
9356 * BufferView2.C: clear selection on paste (bug 393)
9358 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * DepTable.C: include ctime
9362 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9364 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9366 2002-05-14 Juergen Vigna <jug@sad.it>
9368 * text.C (breakParagraph): fixed function to honor the keepempty
9369 layout in the right maner and also to permit the right breaking
9370 algorithm on empty or non empyt keepempty paragraphs.
9372 * paragraph.C (breakParagraph): we have to check also if the par
9373 is really empty (!size()) for isempty otherwise we do the wrong
9376 2002-05-10 Juergen Vigna <jug@sad.it>
9378 * buffer.[Ch] : The following are only changes to the ert
9379 compatibility read reading old LaTeX layout and font stuff and
9380 convert it to ERTInsets.
9382 * buffer.h: added isErtInset().
9384 * buffer.C (struct ErtComp): add a fromlayout bool to check
9385 if we're inside a LaTeX layout.
9386 (isErtInset): new helper function.
9387 (insertErtContents): look for other ert insets before this one
9388 and insert the contents there, so that we don't have subsequent
9389 ERT insets with nothing between them. This way we create only one
9390 inset with multiple paragraphs. Also check if we don't insert only
9391 spaces ' ' as they are ignored anyway afterwards in the .tex file
9392 so if we have only spaces we will ignore this latex part in the
9394 (parseSingleLyXformat2Token \\layout): better compatibility when
9395 reading layout-latex stuff.
9396 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9398 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9399 stuff after reading the inset only get the information back from
9402 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9404 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9406 * LaTeXFeatures.C (getBabelOptions): New method.
9408 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * BufferView_pimpl.C (Dispatch): work around missing argument for
9413 2002-05-08 Juergen Vigna <jug@sad.it>
9415 * text.C (leftMargin): handle paragraph leftindent.
9417 * paragraph.C (writeFile): write the new \\leftindent tag.
9418 (validate): handle leftindent code.
9419 (TeXEnvironment): handle paragraphleftindent code again.
9421 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9423 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9424 for paragrap_extra indent code and new token \\leftindent.
9425 (latexParagraphs): handle the leftindent as environment.
9427 * ParameterStruct.h: added leftindent support.
9429 * ParagraphParameters.C (leftIndent): added support functions for
9430 the paragraph left indent.
9432 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9435 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9437 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9440 * text.C (computeBidiTables): No bidi in insetERT.
9442 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9445 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9447 * version.C.in: pre 5
9449 2002-05-02 José Matos <jamatos@fep.up.pt>
9450 * buffer.C (makeDocBookFile): white space changes, add newline to
9452 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9454 * tabular.C (docBook): fix typo.
9456 2002-05-03 Juergen Vigna <jug@sad.it>
9458 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9459 change in LyXText as we can not be sure it was not freed.
9460 (drawOneRow): remove unused code.
9462 * text.C (drawInset): redo the calculation of the need_break_row as
9463 it could have a row which was already freed.
9464 (draw): look at the return value of drawInset and return false if
9465 it also returned false.
9466 (paintRowText): look at the return value of draw and return false if
9467 it also returned false.
9469 * lyxtext.h: added bool return type to drawInset() and draw() so that
9470 if we have a change in the row so that the rowbreak has to be redone
9471 we abort drawing as it will be called again.
9473 2002-05-02 Juergen Vigna <jug@sad.it>
9475 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9476 a change in the maintext also if we're inside an inset.
9477 (Dispatch): set the cursor again after a break line and after the
9478 screen has been updated as it could be we're in a different row.
9480 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9481 to set the cursor behind the pargraph with > size().
9482 (setCursor): check also for the same paragraph when checking where
9483 to put the cursor if we have a NFR inset.
9485 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9486 parts of layout read further up as it still was in the wrong
9489 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * screen.C (drawFromTo): change sine fullRebreak always return
9494 * buffer.C (parseSingleLyXformat2Token): reindent some
9496 * BufferView_pimpl.C (update): change since fullRebreak always
9498 (Dispatch): git rid of the last hardcoded "Standard"s.
9500 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * text2.[Ch] (fullRebreak): make it return void now that we always
9505 2002-04-30 Juergen Vigna <jug@sad.it>
9507 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9508 ert compatibility check for "latex" layout.
9510 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9512 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9513 minipages: use col% instead of p%, and also use the current font.
9514 (makeLaTeXFile): Fix use babel condition.
9515 (parseSingleLyXformat2Token): Correct font when reading old floats.
9517 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9519 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9520 inserting list of floats.
9522 2002-04-25 Herbert Voss <voss@lyx.org>
9524 * MenuBackend.C (expand): don't add the graphics extensions to the
9527 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9530 non-existing layout, do not complain if it was the default layout
9531 of the original class (bug #342)
9533 2002-04-24 Juergen Vigna <jug@sad.it>
9535 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9536 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9538 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9540 * buffer.C (getBibkeyList): If using \bibliography, return the
9541 option field with the reference itself. Enables us to provide natbib
9542 support when using \bibliography.
9544 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9546 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9548 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9549 natbib is provided by the LaTeX class.
9551 2002-04-23 Juergen Vigna <jug@sad.it>
9553 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9556 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9558 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9560 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9562 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9563 ensuremath around textordmasculine, textordfeminine and
9566 2002-04-19 Juergen Vigna <jug@sad.it>
9568 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9569 reinitializing the buffer otherwise row-dimensions may be wrong.
9570 (update): reset also the selection cursors if they do exits otherwise
9571 their x/y positions may be wrong.
9573 * text2.C (cursorDown): don't enter the inset if we came from a row
9574 above and are one row over the inset.
9576 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9577 really leaving an inset.
9579 2002-04-18 Juergen Vigna <jug@sad.it>
9581 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9582 of the selected paragraph does not have the selected layout also if
9585 * text2.C (setLayout): fixed bug which did not change last selected
9588 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9589 changed the read and substituted \\end_float with \\end_inset!
9591 * BufferView_pimpl.C (cursorPrevious):
9592 (cursorNext): fixed to make it work with rows heigher than the work
9593 area without moving the cursor only the draw of the row.
9594 (workAreaMotionNotify): fix jumping over high rows.
9596 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9601 2002-04-16 Juergen Vigna <jug@sad.it>
9603 * text2.C (setCursor): set also the irow().
9604 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9606 (cursorDown): support for locking an inset if the x_fix value goes
9607 inside it. That way I can transverse insets too with cursor up/down.
9609 * lyxrow.h: added irow helper function same as other (i) functions.
9611 * BufferView_pimpl.C (cursorPrevious):
9612 (cursorNext): fixed for insets!
9614 2002-04-15 Juergen Vigna <jug@sad.it>
9616 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9617 position otherwise it is wrong in some cases.
9619 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9620 inside the inset before the call.
9622 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9624 * buffer.[Ch] (getBibkeyList): make it const.
9626 2002-04-12 Juergen Vigna <jug@sad.it>
9628 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9630 * text2.C (getCursorX): new helper function
9631 (setCursor): compute also ix_
9632 (setCursorFromCoordinates): set also ix.
9634 * lyxcursor.h: added ix_ and helper functions.
9636 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9638 * buffer.C (insertStringAsLines): dont break paragraph if the this
9639 paragraph is inside an inset which does not permit it!
9641 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9642 also with no chars on this paragraph.
9643 (paintRowText): only paint stuff if it's inside the workarea!
9645 * paragraph.C (breakParagraph): honor keepempty flag and break the
9646 paragraph always below not above.
9648 * BufferView2.C (unlockInset): update the paragraph layout on inset
9649 unlock as we changed paragraph in such a case.
9651 * lyxfind.C (LyXFind): clear the former selection if not found!
9653 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9654 again called in insertChar().
9656 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9657 an inset which uses the whole row!
9658 (rightMargin): ditto.
9659 (insertChar): force a rebreak if we inserted an inset!
9661 2002-03-28 Herbert Voss <voss@lyx.org>
9663 * lyxlength.[Ch]: add inBP() to get the right PS-point
9664 units (BigPoint). With inPixels we have rounding errors
9666 2002-04-11 Juergen Vigna <jug@sad.it>
9668 * text2.C (setCursorFromCoordinates): set iy to the right value.
9669 (setCursor): add check if row->previous exists!
9671 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9672 an old float_type as this was the case in the old code!
9674 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9676 * BufferView2.C (showLockedInsetCursor): use iy
9677 (fitLockedInsetCursor): ditto
9679 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9680 locked insets as there we have the right value now.
9682 * lyxcursor.C: added iy_ variable and iy functions to set to the
9683 baseline of cursor-y of the locked inset.
9685 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9686 (setCursor): fixed for insets which need a full row.
9688 * text.C (rowLastPrintable): don't ignore the last space when before
9689 an inset which needs a full row.
9690 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9691 as last character of a row when before a inset which needs a full row.
9693 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9695 * version.C.in: update date
9697 * text2.C (fullRebreak): try to always return true and see what
9700 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9702 * MenuBackend.C (expand): use Floating::listName
9704 * FloatList.C (FloatList): add listName argument to the built-in
9707 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9708 text associated with the float.
9710 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9714 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * ShareContainer.h: add a couple of missing typenames.
9718 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9720 * lyxrc.C (getDescription): use _() correctly rather than N_().
9722 2002-03-28 Herbert Voss <voss@lyx.org>
9724 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9725 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9727 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9729 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9730 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9732 2002-03-29 Juergen Vigna <jug@sad.it>
9734 * lyxfunc.C (dispatch): add a missing fitCursor call.
9736 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9737 it was scrolled by a cursor move, so return the bool status.
9739 * BufferView.C (fitCursor): return the bool flag also to the outside
9740 world as this is needed.
9742 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9744 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9745 call the edit() as it is not needed (and wrong) IMO.
9746 (workAreaButtonPress): set the screen_first variable before evt.
9747 unlock the inset as this may change screen_first and then we have
9748 a wrong y position for the click!
9750 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * MenuBackend.C (expand): another translation that I missed
9754 2002-03-28 Juergen Vigna <jug@sad.it>
9756 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9758 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9760 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9762 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9764 * MenuBackend.C (expand): fix export/view/update when there is no
9767 2002-03-27 Herbert Voss <voss@lyx.org>
9769 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9772 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * bufferview_funcs.C (currentState): only show paragraph number
9775 for is DEVEL_VERSION is set.
9777 * lyxfunc.C (dispatch): put warning in INFO channel
9779 * MenuBackend.C (expand): translate the name of floats
9781 * FloatList.C (FloatList): mark the float names for translation
9783 * converter.C (convert): use LibScriptSearch
9785 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * MenuBackend.C (defaults): fix default menu (we might as well get
9790 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9792 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9795 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * lyxvc.C: reorder includes.
9799 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9801 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9804 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9806 * CutAndPaste.C: change layouts earlier on paste
9807 to avoid crashing when calling getFont()
9809 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9811 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9814 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * WorkArea.C: remove 'Pending' debug message.
9818 * most files: ws cleanup
9820 * buffer.[Ch]: ws changes
9822 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9824 2002-03-21 Juergen Vigna <jug@sad.it>
9826 * tabular.C (SetMultiColumn): collapse also the contents of the
9827 cells and set the last border right. Added a Buffer const * param.
9829 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9834 2002-03-19 Juergen Vigna <jug@sad.it>
9836 * text2.C (clearSelection): reset also xsel_cache.
9838 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9839 where it needs to be called (John tells us to do so too :)
9840 (selectionLost): reset sel_cache.
9842 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9844 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * text2.C (setCursorIntern): put debuging code in INSETS channel
9848 2002-03-19 André Pönitz <poenitz@gmx.net>
9850 * lyxfunc.C: tiny whitespace change
9852 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9854 * ToolbarDefaults.C (init):
9855 * LyXAction.C (init):
9857 * BufferView_pimpl.C (Dispatch):
9858 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9860 2002-03-19 Allan Rae <rae@lyx.org>
9862 * exporter.C (Export): removeAutoInsets before doing anything else.
9863 While I've just introduced a dependency on BufferView this really is
9864 the best place to clean the buffer otherwise you need to cleanup in
9865 a dozen places before calling export or cleanup in a dozen functions
9868 * converter.C (runLaTeX):
9869 (scanLog): Better handling of removeAutoInsets and screen updates.
9871 * lyxfunc.C (dispatch): small whitespace changes
9873 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * WorkArea.C (C_WorkAreaEvent): return a value.
9876 (event_cb): return 1 if we handled the event, 0 otherwise.
9878 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9880 2002-03-18 Juergen Vigna <jug@sad.it>
9882 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9883 (GetAdditionalWidth): ditto.
9887 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9888 inset if we're there actually (probably not used right now but this
9889 is the direction to go for unifying code).
9890 (paste): disable code to clear the selection.
9892 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9893 inside an InsetText and move the check further up as it is in the
9896 * text2.C (pasteSelection): set a selection over the pasted text.
9898 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9900 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9901 and libgraphics to build on Cygwin.
9903 2002-03-15 Juergen Vigna <jug@sad.it>
9905 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9906 inserting an Inset into the paragraph. I know this is not the best
9907 fix but we already use current_view in CutAndPaste so we will remove
9908 all of it's using at the same time.
9910 * buffer.C (sgmlError): deactivated function till it is rewritten in
9911 the right mode, now it can create problems.
9913 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9914 before accessing it.
9916 2002-03-14 Juergen Vigna <jug@sad.it>
9918 * undo_funcs.C (textHandleUndo): do the right thing when updating
9919 the inset after the undo/redo.
9921 * text2.C (setCursor): just some testcode for #44 not ready yet.
9923 * undo_funcs.C (textHandleUndo): set the next() and previous()
9924 pointers of the paragraph to 0 before deleting otherwise we have
9925 problems with the Paragraph::[destructor].
9927 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9928 on a paragraph insertion.
9930 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * buffer.C (asciiParagraph): use += operator for char append to
9935 * paragraph.C (getFontSettings): compare >= not just >
9936 (highestFontInRange): ditto
9939 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * paragraph.C: change several algorithm to be more appripriate for
9942 the problem domain. This is lookip in FontList and in the InsetList.
9944 2002-03-13 André Pönitz <poenitz@gmx.net>
9947 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9949 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9954 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9956 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * Painter.C (display): anon helper function, adjust code for this
9960 (pixmap): remove function.
9962 * Painter.h: remove private display variable.
9964 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9966 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9968 * WorkArea.[Ch]: remove figinset_canvas cruft.
9970 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * lyxtextclass.C (operator): add one item cache optimization.
9974 * bufferlist.h: doxy changes
9976 * bufferlist.C: ws changes
9978 * DepTable.[Ch] (ext_exist): place const in the right spot.
9980 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9982 (workAreaExpose): call resizeInsets when the with BufferView changes.
9983 (Dispatch): adjust for protectedBlank removal
9984 (specialChar): call updateInset if the insert went ok.
9986 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9987 specialChar instead.
9989 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9991 * BufferView.h: doxy change
9993 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9995 * lyxtextclass.C (operator[]): remove non-const version
9996 (defaultLayout): remove non-const version
9998 2002-03-12 Juergen Vigna <jug@sad.it>
10000 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10001 did resize the LyXText too.
10003 * buffer.C (readLyXformat2): set layout information on newly allocated
10006 * tabular.C (OldFormatRead): set layout information on the paragraph.
10008 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10010 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10012 2002-03-11 Juergen Vigna <jug@sad.it>
10014 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10016 (resizeCurrentBuffer): force also the insets to resize themselfes.
10017 (moveCursorUpdate): fixed up for InsetText.
10019 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10022 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10023 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10024 value of Dialogs::tooltipsEnabled().
10025 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10027 2002-03-08 Juergen Vigna <jug@sad.it>
10029 * BufferView_pimpl.C (updateInset): update inset inside inset also
10030 if it isn't inside theLockingInset().
10032 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * buffer.C (asciiParagraph): redo some of the word and line length
10036 (getLists): look for Caption instead of caption.
10038 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * buffer.C (Buffer): initialize niceFile to true
10042 (makeLinuxDocFile):
10043 (makeDocBookFile): make sure niceFile is true on exit
10045 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10047 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10049 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10051 * LyXSendto.C: remove.
10052 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10053 * lyx_gui.C: remove now-redundant comment.
10054 * ColorHandler.h: remove forward declaration of class WorkArea.
10055 * lyxfunc.C: remove #include "WorkArea.h".
10057 2002-03-07 Juergen Vigna <jug@sad.it>
10059 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10060 got moved away with the DEPM and also set the inset_owner always
10061 right which before could have been omitted.
10063 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10066 wanted layout is not found.
10068 2002-03-07 Juergen Vigna <jug@sad.it>
10070 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10072 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * paragraph.C (breakParagraph): use default layout not layout of
10076 (Paragraph): clear ParagraphParameters.
10078 2002-03-06 Juergen Vigna <jug@sad.it>
10080 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10081 otherwise it would not be a valid lenght. Fixed a special case in
10082 the minipage compatibility read where we end the document with a
10085 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10086 was set as it could be 0 for InsetTexts first entry.
10088 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * paragraph.C (writeFile): if layout is empty write out
10091 defaultLayoutName().
10093 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10094 file without named layout we set layout to defaultLayoutName().
10096 2002-03-06 Juergen Vigna <jug@sad.it>
10098 * CutAndPaste.C (copySelection): set layout for new paragraph.
10100 * text.C (prepareToPrint): leave ERT inset left aligned
10101 (leftMargin): don't indent paragraphs inside ERT insets
10103 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * paragraph.C (breakParagraph): dont call clear do the work manually
10107 * paragraph.[Ch] (clear): remove function
10109 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * paragraph.C (Paragraph): dont call clear, the work has already
10114 * lyxtextclass.C (operator): assert if n is empty
10116 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10117 work manually instead.
10119 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10121 * BufferView_pimpl.C: protect selectionLost against text == 0
10123 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * text.C (breakParagraph): fix a setting layout to '0' problem.
10127 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10129 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10130 final location of file, for the included files, and graphics.
10132 2002-03-05 Juergen Vigna <jug@sad.it>
10134 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10136 2002-03-04 Juergen Vigna <jug@sad.it>
10138 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10140 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10141 last column of multicolumn cells.
10142 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10144 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10146 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10147 file if it doesn't go to a temporary file.
10149 * buffer.C (sgmlOpenTag):
10150 (sgmlCloseTag): remove extra newline insertion.
10152 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * text.C (getRowNearY): comment out debug msg
10156 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * text2.C: first -> first_y
10160 * text.C (getRowNearY): add some attemts at a possible
10161 optimization, not working.
10163 * tabular.[Ch]: add BufferParams to several function so that newly
10164 created paragraph can be initialized to he default layotu for the
10167 * tabular-old.C (ReadOld): add buf->params to call of Init
10169 * screen.C: rename text->first to text->first_y
10171 * paragraph.C (breakParagraph): always set layout in the broken
10174 * lyxtextclass.C (Read): remove lowercase
10177 (delete_layout): ditto
10179 * lyxtext.h: rename first -> first_y
10181 * lyxlayout.C (Read): remove lowercase
10184 (obsoleted_by): ditto
10186 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10188 * buffer.C (insertErtContents): add params are to InsetERT
10189 (parseSingleLyXformat2Token): add code to check if a paragraphs
10190 layout really exist.
10191 (parseSingleLyXformat2Token): add params to several inset
10193 (asciiParagraph): remove lowercase, do the layout comparisons with
10196 * BufferView_pimpl.C (cursorNext): first -> first_y
10197 (resizeCurrentBuffer): first -> first_y
10198 (updateScrollbar): first -> first_y
10199 (scrollCB): first -> first_y
10200 (workAreaMotionNotify): first -> first_y
10201 (workAreaButtonPress): first -> first_y
10202 (checkInsetHit): first -> first_y
10203 (cursorPrevious): first -> first_y
10204 (cursorNext): first -> first_y
10205 (Dispatch): add buffer_->params to severl inset contructors
10207 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * lyxlayout.C (Read): remove some debug info that I forgot.
10211 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10212 clean up the code slightly.
10213 (makeLinuxDocFile): ditto
10214 (makeDocBookFile): ditto
10216 * text2.C: layout as string
10218 * text.C: layout as string
10220 * paragraph_pimpl.C: layout as string
10222 * paragraph.[Ch]: layout as string
10224 * lyxtextclasslist.[Ch]: layout as string
10226 * lyxtextclass.[Ch]: layout as string
10228 * lyxtext.h: layout as string
10230 * lyxlayout.[Ch]: layout as string
10232 * lyx_cb.C: layout as string
10234 * bufferview_funcs.C: layout as string
10236 * bufferparams.C: layout as string
10238 * buffer.C: layout as string
10240 * LyXView.[Ch]: layout as string
10242 * LaTeXFeatures.[Ch]: layout as string
10244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10246 * BufferView_pimpl.C: change current_layout to string, remove
10251 (workAreaButtonRelease): layout as string
10253 * BufferView2.C (unlockInset): adjust
10255 * vspace.C (asLatexCommand): use an explict temp variable.
10257 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10259 * Makefile.am: use FRONTEND_*
10261 2002-03-01 Juergen Vigna <jug@sad.it>
10263 * tabular.C (SetWidthOfMulticolCell): changed to something better
10264 I hope but still work in progress.
10265 (recalculateMulticolumnsOfColumn): renamed function from
10266 recalculateMulticolCells as it is more appropriate now.
10267 (SetWidthOfCell): calculate multicols better.
10269 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10273 * lyxfunc.C (processKeySym): print sequence also if it is
10274 `deleted' (complete)
10276 * kbsequence.C (print): print sequence even if it is deleted
10277 (complete would be a better word, actually).
10279 * lyxfunc.C (dispatch): print complete options after a prefix key
10281 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10283 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10285 * text2.C (setCharFont): eliminate setCharFont code duplication.
10287 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10290 LFUN_TABULAR_FEATURE (bug #177)
10292 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10294 * Makefile.am: remove figure.h
10296 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10298 * Bufferview_pimpl.C:
10310 * text2.C: remove #include "lyx_gui_misc.h".
10312 * LaTeX.C: added #include <cstdio>
10314 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10317 that the paragraph following this one can have.
10319 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10321 * vspace.C (asLatexCommand): fix bogus gcc warning
10323 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10325 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10327 * text2.C (setLayout): get rid of redundant code
10329 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10331 * text2.C (incDepth): make sure depth cannot be increased beyond
10334 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10336 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10337 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10339 * PainterBase.h (image):
10340 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10341 a LyXImage const *.
10343 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10347 * BufferView_pimpl.C:
10348 * BufferView_pimpl.h:
10368 * sp_spell.C: remove fig inset, and the crap house of
10369 cards that follows it
10371 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10376 * os2_errortable.h:
10377 * nt_defines.h: move .h into support/
10379 * vms_defines.h: remove
10381 * WorkArea.C: add space in debug output
10385 * buffer.C: add WITH_WARNINGS
10389 * bufferlist.C: s/retrive/retrieve/, add docs
10398 * chset.C: add docs
10400 * lyxgui.C: add ID to X error handler
10402 * lyxtestclass.c: fix typo
10404 2002-02-26 Juergen Vigna <jug@sad.it>
10406 * tabular_funcs.C (write_attribute): changed so that some default
10407 attributes are not written at all.
10408 (getTokenValue): set default values before trying to read the
10409 value so we have the return value always set as default if we don't
10410 find the token we search for.
10412 * tabular.C (Write): write bools as bools not as strings!
10414 2002-02-22 Juergen Vigna <jug@sad.it>
10416 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10417 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10419 * text.C (leftMargin): don't add an indent for paragraphs inside
10420 tabular cells (fix #208).
10422 2002-02-21 José Matos <jamatos@fep.up.pt>
10424 * tabular.C (docBook): fixed support for long tables.
10426 2002-02-20 Juergen Vigna <jug@sad.it>
10428 * text2.C (getFont): get the drawing font of the Inset if this
10429 paragraph is inside an inset (only important for InsetERT for now).
10431 * buffer.C (insertErtContents): use new lanugage params in ERT
10434 * CutAndPaste.C: commenting out seemingly uneeded code.
10436 2002-02-19 Allan Rae <rae@lyx.org>
10438 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10439 Iterators might be simple to use but they also get invalidated.
10440 (removeAutoInsets): renamed saved cursor tracking variables and added
10441 some comments to clarify what everything does.
10443 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10450 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10451 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10454 * vc-backend.h: remove #include "support/syscall.h"
10458 * converter.C: rearrange #includes in Lars' approved fashion.
10460 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10461 forward declare class Timeout in the header file.
10463 * XFormsView.C: changes due to the above.
10465 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10466 similar to LyXView.
10468 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10469 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10471 2002-02-18 José Matos <jamatos@fep.up.pt>
10473 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10476 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10478 * a lot of small ws changes
10479 * add a lot of using std::XXX
10480 * use std construcs some places where approp.
10481 * use some exisint stuff from lyxfunctional where approp.
10482 * Make file changes to use partial linking (lets test this now...)
10484 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10488 remove #include "support/syscontr.h" as it's redundant. Always has been.
10496 change Systemcalls::System to Systemcalls::Wait and
10497 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10498 No change of functionality, just reflects the stripped down Systemcalls
10501 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10503 * debug.[Ch]: add a GRAPHICS type to the enum.
10505 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10509 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10512 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10514 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10515 match the changes below.
10517 * text2.C (toggleInset): if there is not editable inset at cursor
10518 position, try to see if cursor is _inside_ a collapsable inset
10521 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10523 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10524 document menu has a nice checkbox
10526 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * lyxlength.C (asLatexString): change PW to output as percent of
10531 * lengthcommon.C: change '%' to 't%'
10533 * lyxfunc.C (dispatch): a few comments from Martin
10535 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10539 * BufferView_pimpl.h:
10540 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10543 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10545 * vspace.C (inPixels): fix compiler warning
10547 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10549 * lyxfunc.C (getStatus): fix status message for disabled commands.
10551 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10553 * BufferView_pimpl.C: fix crash on close buffer
10554 during selection (#227)
10556 2002-01-27 Herbert Voss <voss@lyx.org>
10558 * buffer.C: link old Figure to new graphic inset
10560 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10562 * FontLoader.C (getFontinfo): Change the latex font names in order
10563 to match the names of type1inst.
10565 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10569 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10570 (extchanged): ditto
10572 (remove_files_with_extension): ditto
10573 (remove_file): ditto
10576 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10577 document is smaller than the work area height. Do not initialize
10578 static variables to 0.
10580 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10584 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10585 LFUN_LAYOUT_PARAGRAPHS.
10587 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10588 tabular. It is possible to provide a possible cell, which will
10589 typically be the actcell from the corresponding insettabular
10591 * lyxfunc.C (getStatus): small cleanup; disable
10592 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10595 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10599 * paragraph.C (startTeXParParams):
10600 (endTeXParParams): new methods. The LaTeX code to
10601 start/end paragraph formatting
10602 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10603 empty (fixes bug #200)
10605 * vspace.C (inPixels): adapt to the change below
10606 (inPixels): [later] more cleanups (remove unused variables)
10608 * lyxlength.C (inPixels): change to use a width and a height as
10611 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10614 Replaced with \paperwidth
10616 * DepTable.C (insert): add std:: qualifier
10618 2002-01-18 Allan Rae <rae@lyx.org>
10620 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10623 * text.C (drawInset): Turned out I didn't know enough about how
10624 rebreaking worked. This fixes most of the redraw problems. I see
10625 an occasional cursor trail when a line is broken now and the cursor
10626 placement can seem out by a few pixels also after a rebreak.
10628 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * buffer.C (parseSingleLyXformat2Token): update because minipage
10631 width is now a LyXLength
10633 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10635 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10638 2002-01-17 Juergen Vigna <jug@sad.it>
10640 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10642 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10643 is set correctly and the inset is updated correctly.
10645 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10647 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10648 the beginning of the loop.
10650 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10652 * lyxrc.C: improve help for use_scalable_fonts
10654 2002-01-17 Allan Rae <rae@lyx.org>
10656 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10658 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10661 make sure to set their inset_owner to the right value (bug #171)
10663 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10666 * DepTable.C: Implement mtime checking to reduce time spent doing
10669 2002-01-16 Juergen Vigna <jug@sad.it>
10671 * tabular.C (GetAdditionalHeight): one of error fixed.
10673 * lyxrc.C (output): small fix in writing use_pspell.
10675 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10677 * sp_base.h: #include LString.h
10679 2002-01-16 Allan Rae <rae@lyx.org>
10681 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10682 Can someone check this please?
10684 * text.C (drawInset): It was possible that p.row would be removed by
10685 breakAgainOneRow upsetting a few other settings. There may be another
10686 small tweak possible by setting need_break_row = 0 when p.row has been
10687 removed but I don't know enough about the logic here.
10689 2002-01-15 Allan Rae <rae@lyx.org>
10691 * text.C (insertChar): removed conditional truism.
10693 * BufferView2.C (removeAutoInsets): More tweaks.
10694 cur_par_prev could be a stray pointer. Check for trailing empty line
10695 in case last line was cur_par and only had an error inset on it.
10697 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10702 * vc-backend.C (most methods):
10703 * exporter.C (Export):
10704 * converter.C (convert):
10706 * LyXSendto.C (SendtoApplyCB):
10707 * lyxfunc.C (dispatch):
10711 * lyx_cb.C (AutoSave):
10713 * BufferView_pimpl.C (MenuInsertLyXFile):
10714 * buffer.C (runChktex): use Buffer::filePath().
10716 * buffer.h: rename filename to filename_; rename filepath to
10717 filepath_ and make it private
10718 (filePath): new method
10720 * buffer.C (writeFile): use fileName()
10723 * lyx_main.C (init): fix starting of LyX when the binary is a
10724 link from so,ewhere else.
10726 * minibuffer.C: include <cctype> for isprint
10728 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10730 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10731 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10732 name clash with InsetCollapsable's width function.
10734 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * lastfiles.C: include <iterator>
10738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10740 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10743 * buffer.C (makeLaTeXFile): ditto.
10744 Also make loop operation more transparent.
10746 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10748 * ToolbarDefaults.C: remove trailing comma closing namespace.
10750 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10752 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10755 * trans.C (Load): comment out unused variable, allowed.
10757 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10759 * minibuffer.[Ch] (append_char): new method to recieve input from the
10760 drop-down completion browser. If a key was pressed, then recieve this
10761 char and append it to the existing string.
10762 (peek_event): modify the positioning data passed to the completion
10763 browser so that it can be placed above the minibuffer rather than below.
10764 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * LyXAction.C (init): alloe error-next for readonly documents.
10768 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10771 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10773 * bufferlist.C (readFile): create the buffer _after_ checking that
10776 * lyxfunc.C (verboseDispatch): fix handling of arguments
10778 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10780 * lyxrc.C: use string::erase() instead of initializing to "".
10783 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10785 * BufferView_pimpl.h:
10786 * BufferView_pimpl.C:
10789 * text2.C: tell X when we have made a selection for copying
10791 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * BufferView_pimpl.C (MenuInsertLyXFile):
10794 * lyxfunc.C (menuNew):
10796 (doImport): add shortcuts to directory buttons
10798 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10801 * lyxfunc.C (setStatusMessage):
10802 (getStatusMessage): new methods
10803 (getStatus):use setStatusMessage instead of setErrorMessage
10804 (dispatch): when function is disabled, set error message here
10805 [instead of in getStatus previously]
10807 * BufferView_pimpl.C (workAreaButtonRelease): update
10808 toolbar/menubar here too.
10810 2002-01-13 Allan Rae <rae@lyx.org>
10812 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10813 Now seems indestructible. Remaining task is to audit all other
10814 code affected by deleteEmptyParagraphMechanism. One small quirk
10815 left is that an empty document with an error in the preamble can
10816 be made to report an error but no error box appears. I don't know
10818 (removeAutoInsets): Improved comments.
10820 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10823 * Thesaurus.C: update for Aiksaurus 0.14
10825 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * text2.C (firstParagraph): removed member function, all uses
10828 replaces with ownerParagraph
10829 (redoParagraphs): here
10830 (updateInset): here
10831 (toggleAppendix): here
10832 * BufferView2.C (insertErrors): here
10833 (setCursorFromRow): here
10835 2002-01-13 Allan Rae <rae@lyx.org>
10837 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10838 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10839 There is still a way to segfault this although you may have to do this
10840 multiple times: Have an InsetERT with an unknown command in it.
10841 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10842 <down-arrow>, <Enter> again, View->DVI, BANG!
10844 * text2.C (setCursor):
10845 (deleteEmptyParagraphMechanism):
10846 * lyxtext.h (setCursor):
10847 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10848 Making use of the return value may help fix other bugs.
10850 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10854 * LyXView.C (updateMenubar): call MenuBar::update here
10855 (updateToolbar): but not here
10856 (showState): do not update toolbar/menubar
10858 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10859 should need to care about that.
10861 * lyxfunc.C (verboseDispatch): simplify a bit
10862 (getStatus): have a version which takes a pseudoaction, and
10863 another which requires a (kb_action,string).
10865 * LyXAction.C (retrieveActionArg): make it work also when action
10866 is not a pseudo-action.
10867 (getActionName): simplify a bit
10870 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * lyxfunc.C (verboseDispatch): new families of methods with
10873 several ways to specify a command and a bool to indicate whether
10874 the command name and shortcut should be displayed in minibuffer
10875 (eventually, we could extend that to a finer bitmask like
10876 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10877 (dispatch): the pristine dispatch command which just, well,
10878 dispatchs! Note it still sets its result to minibuffer; I'm not
10881 * lyxfunc.h: remove setHintMessage
10883 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10885 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * BufferView_pimpl.C (specialChar): delete new inset if we have
10888 not been able to insert it.
10890 * kbmap.C: revert to using int instead of kb_action, since all we
10891 are dealing with is pseudo-actions.
10893 * LyXAction.C (searchActionArg): change to return int instead of
10894 kb_action, since the result is a pseudoaction.
10896 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10898 * buffer.C (insertErtContents): Fix (partially) the font bug.
10900 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10902 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10903 as the other one is broken on my machine!
10905 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10908 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10910 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10912 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10913 reflect their actual use. Provide compatibility code for older lyxrc
10916 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10918 change names of popup font variables in line with the changes to lyxrc.C
10920 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10922 * buffer.C (asciiParagraph): avoid outputing a word twice after
10925 * lyxrc.C (getDescription): document that document_path and
10926 template_path can be empty.
10928 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * LaTeXFeatures.C (getMacros):
10931 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10933 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10935 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10937 (getPackages): rename feature "floats" to "float". Use an array to
10938 iterate over 'simple' features (i.e. just a \usepackage). Add
10939 handling of "amsmath" (renamed from "amsstyle").
10941 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10943 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10946 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10948 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10949 FuncStaus::FuncStatus & FuncStaus::some_method().
10951 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10953 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10954 of the func_satus stuff. Edited and massaged in various ways by
10957 * lyxfunc.C (getStatus): use FuncStatus
10959 2002-01-08 Juergen Vigna <jug@sad.it>
10961 * text.C (nextBreakPoint): use function Inset::isChar().
10963 * paragraph.C (TeXOnePar): use function
10964 Inset::forceDefaultParagraphs.
10966 * buffer.C (latexParagraphs): use function
10967 Inset::forceDefaultParagraphs.
10969 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10971 * lyx_gui.C (init): set the style of the menu popups to
10972 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10974 2002-01-07 Juergen Vigna <jug@sad.it>
10976 * text.C (setHeightOfRow): small fix
10977 (prepareToPrint): don't look at alignment if we don't have the place
10980 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10982 * box.C: New file. Move the Box methods and functions out of box.h,
10983 following Lars' suggestion.
10985 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10987 * box.h: #include "support/LOstream.h", needed for inlined function.
10990 * lyxtextclasslist.C: added some using std declarations.
10992 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10994 * box.h: make signed dimensions to allow insets wider than
10995 the screen (bug #162)
10997 * BufferView_pimpl.C: add some insetHit debug
10999 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11001 * vc-backend.C: add FIXME
11003 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11005 * lyxfunc.C (getStatus): enable code for showing math font status
11008 2002-01-07 Juergen Vigna <jug@sad.it>
11010 * text.C (nextBreakPoint): removed debug output not needed anymore.
11012 2002-01-06 Juergen Vigna <jug@sad.it>
11014 * text.C (nextBreakPoint): fixed up this function we had this bug
11015 since ever but now hopefully we break row better.
11016 (insertChar): we have to check if an inset is the next char as it
11017 could now happen that a large inset is causing a break.
11019 2002-01-05 Juergen Vigna <jug@sad.it>
11021 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11022 if it doesn't like to be drawed.
11024 2002-01-04 Juergen Vigna <jug@sad.it>
11026 * BufferView2.C (lockInset): forgot to set a cursor.
11028 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11030 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11032 * FormMathsPanel.C:
11035 * form_maths_panel.C:
11036 * form_maths_panel.h:
11037 * form_maths_panel.fd: implemented sub- and super- buttons in math
11040 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11041 (or ^ space) to be used as in TeX (req'd by André).
11043 * lyxfunc.C: Allow ^ and _ again to be used both as
11044 super/subscript (mathed) and as themselves (in text).
11046 2002-01-03 Allan Rae <rae@lyx.org>
11048 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11049 "LyX" or the filename of the current buffer if it has one. This is a
11050 modified form of John Levon's patch.
11052 * XFormsView.C (setWindowTitle): also set icon title.
11054 * LyXView.h (setWindowTitle): signature changed.
11055 * XFormsView.h (setWindowTitle): ditto.
11057 2002-01-02 Juergen Vigna <jug@sad.it>
11059 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11061 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * screen.C (topCursorVisible): introduce a temp var for
11064 text->cursor.row(), handle the case where this row is null. (kindo
11067 * text2.C (setCursor): add a couple of asserts.
11069 * paragraph.h (inset_iterator): add -> operator
11071 * paragraph.[Ch] (autoDeleteInsets): remove member function
11073 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11074 cursor pos correctly and handle inset deletion by itself.
11075 (insertErrors): move iterator declaration out of for expression
11077 * lyxtextclass.C: add <algorithm>
11079 * Makefile.am: added the new files to sources, removed layout.C
11081 * layout.C: removed file
11083 * layout.h: remove LYX_DUMMY_LAYOUT
11085 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11089 * lyxtextclass.[Ch]:
11090 * lyxtextclasslist.[Ch]: new files
11092 * include order changes to a lot of files, also changes because of
11095 2001-12-27 Juergen Vigna <jug@sad.it>
11097 * buffer.C (asciiParagraph): more fixes.
11099 * tabular.C (ascii): make ascii export support export of only the
11100 data separated by a column-delimiter.
11101 (ascii): better support for ascii export.
11103 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11105 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11107 * tabular_funcs.C: use a "using std::getline" instead of the
11108 previous fix from Angus (necessary for cxx + lyxstring)
11110 2001-12-24 Juergen Vigna <jug@sad.it>
11112 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11114 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11115 problems. First check a minipage also if we have some ert-contents
11116 (not only on par->size(), second set the right depth of the paragraph
11117 on the relink to the root-paragraph-list!
11119 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11120 which then did not anymore update the main paragraphs on undo/redo!
11122 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11125 code. Support all font-changing funcs (even those which are not in
11126 menu currently). Support for reporting font settings in
11127 mathed (disabled until Andre provides a function on mathed's side).
11129 * func_status.h (toggle): small helper function to set toggle
11132 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11134 * tabular_funcs.C: getline -> std::getline
11136 2001-12-21 Juergen Vigna <jug@sad.it>
11138 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11139 accessed and could be 0 (I couldn't generate this but it seems
11142 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11145 * tabular_funcs.h: here and include iosfwd
11147 2001-12-20 Juergen Vigna <jug@sad.it>
11149 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11150 inside inset but undo_par was.
11152 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * Thesaurus.C: always include <config.h> in sources.
11158 * box.h: do not include <config.h> in header files
11160 * text.C (paintLastRow): remove unused variable
11162 * text.C (transformChar):
11164 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11166 * Painter.C (text):
11167 * font.C (width): rewrite to use uppercase() instead of
11170 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11172 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11174 * lyxfind.C: clean up of find failure position change
11176 2001-12-20 Juergen Vigna <jug@sad.it>
11178 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11180 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11181 (TeXRow): added to LaTeX a single tabular row.
11182 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11183 (Latex): simplified and finally good LT-h/f support.
11184 (various_functions): just small adaptions for LT-h/f support.
11186 * tabular_funcs.[hC]: added and moved here all not classfunctions
11189 2001-12-19 Juergen Vigna <jug@sad.it>
11191 * tabular.[Ch]: better support for longtabular options (not finished
11194 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11196 * text.C (paintLastRow): use the label font instead of the font of
11197 the last character to compute the size of *_BOX. This makes more
11198 sense and avoids a crash with empty paragraphs.
11199 Use Painter::rectangle to draw EMPTY_BOX.
11201 2001-12-19 Juergen Vigna <jug@sad.it>
11203 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11204 the paragraphs if the replaced paragraph is not the first one!
11205 Tried to delete not used paragraphs but does not work yet so for
11206 now it's inside #ifdef's and by default off!
11208 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11210 * MenuBackend.C: include "lyx_main.h" instead of declaring
11211 lastfiles (actually was declared as LastFiles* instead of a
11214 2001-12-17 Juergen Vigna <jug@sad.it>
11216 * tabular.C (AppendColumn): applied John's fix
11218 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11222 * BufferView_pimpl.h:
11223 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11226 * box.h: new start of class for above
11228 * lyxfunc.C: ignore space-only minibuffer dispatches.
11229 Show the command name when it doesn't exist
11231 * minibuffer.C: don't add empty lines to the history
11233 * minibuffer.C: add a space on dropdown completion
11235 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11237 * text.C: fix line above/below drawing in insets
11239 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11241 * lyxlength.C (LyXLength): Initialize private variables.
11243 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11245 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11246 when inserting error insets.
11248 2001-12-13 Juergen Vigna <jug@sad.it>
11250 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11251 actually sometimes the before-paragraph.
11252 (setUndo): don't clear the redostack if we're not actually undoing!
11254 2001-12-06 Juergen Vigna <jug@sad.it>
11256 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11257 and fixed redoing of main paragraph, so we can use it now ;)
11259 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11261 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11266 2001-12-13 André Pönitz <poenitz@gmx.net>
11269 * undo_func.C: minor cleanup
11271 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11274 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11275 font in urw-fonts package which is marked as -urw-fontspecific and
11276 does not work (incidentally, changing the encoding in the
11277 fonts.dir of this package to -adobe-fontspecific fixes the
11280 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11281 is a crash when undoing first paragraph (Juergen, please take a
11282 look). THis does not mean the undo fix is wrong, just that it
11285 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11286 the (Paragraph*) version when needed instead of duplicating the
11289 * text.C (workWidth): use Inset::parOwner to find out where the
11290 inset has been inserted. This is a huge performance gain for large
11291 documents with lots of insets. If Inset::parOwner is not set, fall
11292 back on the brute force method
11294 * paragraph_pimpl.C (insertInset):
11295 * paragraph.C (Paragraph):
11296 (cutIntoMinibuffer): set parOwner of insets when
11297 inserting/removing them
11299 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11301 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11307 * mathed/formulabase.C:
11308 * mathed/math_cursor.[Ch]:
11309 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11312 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * lyxlength.[Ch] (operator!=): new function
11316 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * text.C (workWidth): use Inset::parOwner to find out where the
11319 inset has been inserted. This is a huge performance gain for large
11320 documents with lots of insets. If Inset::parOwner is not set, fall
11321 back on the brute force method
11323 * paragraph_pimpl.C (insertInset):
11324 * paragraph.C (Paragraph):
11325 (cutIntoMinibuffer): set parOwner of insets when
11326 inserting/removing them
11328 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11330 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * tabular-old.C (getTokenValue):
11333 * tabular.C (getTokenValue):
11334 (write_attribute): new versions for LyXLength
11335 (everywhere): adjust the use of widths
11337 * tabular.h: change the type of widths from string to LyXLength
11339 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11341 * paragraph.C: fixed missing line number count when exporting
11342 Environments to LaTeX file
11344 * buffer.C: added informational message for checking line numbers.
11346 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11349 paragraph, do the 'double space' part, but not the 'empty
11352 * text.C (workWidth): small optimization
11353 (getLengthMarkerHeight): use minimal size for negative lengths.
11355 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11357 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11359 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11361 2001-12-11 André Pönitz <poenitz@gmx.net>
11364 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11366 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11368 * text2.C: keep selection on a setFont()
11370 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11372 * lyx_cb.C: another bv->text misuse, from insert label
11374 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11377 * kbsequence.C: re-instate nmodifier mask
11379 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11381 * lyx_main.h: make lyxGUI private.
11383 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11385 * lyxfind.C: place the cursor correctly on failed search
11387 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11389 * text.C (getLengthMarkerHeight): for small heights, the arrows
11390 are not always on top/bottom of the text
11391 (drawLengthMarker): smaller arrows; take the left margin in
11392 account; draw also vfills.
11394 (paintLastRow): remove special code for vfill and standard spaces,
11395 since everything is handled in drawLengthMarker now.
11397 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * buffer.C (insertErtContents): try to handle font and language
11400 interaction a bit better.g
11402 * ColorHandler.C (updateColor): change the hash to cover the whole
11403 LColor enum, ws cleanup
11404 (getGCLinepars): ditto
11405 (getGCLinepars): only lookup in the linecache once.
11407 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11409 * iterators.C (operator++): Make the iterator more robust
11411 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11413 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11415 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11418 * text.C: better added space drawing
11420 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView2.C: fix layout combo update on inset unlock
11425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11427 * Makefile.am: don't compile unused files
11429 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11433 * LyXAction.C: remove old LFUN_LAYOUTNO
11435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11437 * paragraph_pimpl.h:
11438 * paragraph_pimpl.C: isTextAt() doesn't need font param
11440 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11443 * lyxlex.C: little cleanup
11445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11447 * BufferView_pimpl.C: fix insertAscii for insets
11449 2001-12-05 Juergen Vigna <jug@sad.it>
11451 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11452 set the right font on the "multi" paragraph paste!
11454 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * lyxlength.C: remove out-commented code.
11462 * BufferView_pimpl:
11476 * vc-backend.C: change "while(" to "while ("
11478 * lyxlength.[Ch]: add zero function to check if length is zero or
11480 * lyxgluelength.C: use it
11482 2001-12-05 Allan Rae <rae@lyx.org>
11484 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11485 Works for 2.95.3, from what I understand of Garst's reports this should
11486 work for other g++ versions. We're screwed if the abs(int) definition
11487 changed between bugfix releases of gcc.
11489 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11491 * text.C: fix chapter label offset !
11493 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11496 * text.C: fix hfill at end of line, clean up
11498 2001-12-04 Juergen Vigna <jug@sad.it>
11500 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11501 that we force an update of the inset and it's owners if neccessary.
11503 2001-12-03 Juergen Vigna <jug@sad.it>
11505 * text.C (rowLast): simplified code
11507 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11509 * lyxfunc.C: fix show options on timeout
11511 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * screen.C (topCursorVisible): scroll half a page when the cursor
11514 reached top of bottom of screen
11516 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11518 * minibuffer.C: deactivate on loss of focus
11520 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11522 * vspace.[Ch] (operator!=): add operator.
11524 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11526 * BufferView_pimpl.C: refuse to open an inset when
11527 there's a selection.
11529 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11531 * BufferView_pimpl.C: allow to click on RHS of full row insets
11533 2001-11-30 Juergen Vigna <jug@sad.it>
11535 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11536 insets for undo reasons.
11538 2001-11-28 André Pönitz <poenitz@gmx.net>
11540 * vspace.[Ch]: cosmetical changes
11542 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11552 * kbsequence.C: part re-write of old kb code
11555 * WorkArea.C: remove Lgb_bug_find_hack
11557 2001-11-30 José Matos <jamatos@fep.up.pt>
11559 * buffer.C (makeDocBookFile): add a comment to point a hack.
11560 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11561 Fixed a double write of labels.
11563 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11566 * LaTeX.h Fixed bug in LaTeX class where it would not
11567 re-run latex if no depfiles were changed, but the .dvi was removed.
11569 2001-11-28 André Pönitz <poenitz@gmx.net>
11571 * all the files from the change on 2001/11/26:
11572 use lyx::layout_type instead of LyXTextClass::size_type
11573 use lyx::textclass_type instead of LyXTextClassList::size_type
11575 2001-11-29 Juergen Vigna <jug@sad.it>
11577 * text.C: added support for paragraph::isFreeSpacing()
11579 * buffer.C: same as above
11581 * paragraph.h: inserted isFreeSpacing() function to enable
11582 FreeSpacing inside InsetERT.
11584 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11585 of the paragraph's in the cut/copy buffer to 0!
11587 * text2.C (removeRow): remove the assert as it can!
11589 * lyxtext.h: added helper function firstRow returning firstrow and
11590 made firstrow private again.
11592 * BufferView2.C (lockInset): don't relock if we're already locked!
11594 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11595 the only paragraph.
11596 (removeRow): added Assert::(firstrow)
11598 * debug.C: forgot to add INSETTEXT here.
11600 2001-11-28 Juergen Vigna <jug@sad.it>
11602 * sp_spell.C (initialize): changed error text to more general
11603 spellchecker command use (not only ispell!)
11605 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11607 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11609 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11611 * vspace.C: initialise lyxgluelength on failure
11613 2001-11-28 Allan Rae <rae@lyx.org>
11615 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11616 declaration & definition that looks like a function declaration.
11618 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11620 * BufferView2.C (copy):
11621 (copyEnvironment): do not clear the selection when doing a copy.
11623 * text.C (paintFirstRow): compilation fix
11625 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11627 * tabular.C (Latex): correct line count when writing latex.
11629 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11631 * paragraph_pimpl.h:
11632 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11635 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11639 * LColor.C: change vfillline->added_space
11641 * text.C: add markers and text for added space
11643 * vspace.C: fix comment
11645 2001-11-28 André Pönitz <poenitz@gmx.net>
11647 * paragraph.C: whitespace changes
11648 * all the other files from the change on 2001/11/26:
11649 change *::pos_type into lyx::pos_type
11651 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11653 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11654 language of the document when inserting error insets.
11656 2001-11-26 André Pönitz <poenitz@gmx.net>
11658 * BufferView_pimpl.[Ch]:
11666 * paragraph_pimpl.[Ch]:
11669 * text2.C: reduce header dependencies, introduce type for positions
11671 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11673 * <various>: change to use Alert.h
11675 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11677 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11678 when encountering an unknown token.
11679 (readLyXformat2): Show an error message if there were unknown tokens.
11681 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C:
11688 * text2.C: use par->isInset()
11690 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11692 * paragraph_pimpl.h:
11693 * paragraph_pimpl.C: cleanup
11695 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11697 * text2.C (removeRow):
11698 * text.C (setHeightOfRow): remove useless (and costly) call to
11701 2001-11-20 Allan Rae <rae@lyx.org>
11703 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11704 Now need Inset*::checkInsertChar() to return true for appropriate
11705 cases so that the characters in the minibuffer will actually be
11708 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11710 * text.C: change the order of the includes.
11711 (workWidth): initialize it at once.
11712 (workWidth): make maxw unsigned
11713 (setHeightOfRow): remove unused variable (inset)
11714 (selectSelectedWord): remove unused variable (inset)
11715 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11717 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11719 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11720 server is not running.
11722 (closeConnection): add debug info when server is disabled.
11724 * ColorHandler.C (getGCForeground): send debug message to GUI
11727 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11729 * kbmap.C (bind): modify because return conventions of
11730 kb_sequence::parse have changed.
11732 * kbsequence.C (parse): only ignore spaces and not any stupid
11733 control character. This avoids tests like s[i] <= ' ', which are
11734 guaranteed to fail with 8bit characters and signed chars.
11735 Change return code to string::npos when there have been no error
11736 (0 was a bad idea when error is at first character)
11738 2001-11-14 José Matos <jamatos@fep.up.pt>
11741 * buffer.C (simpleDocBookOnePar): removed unused argument.
11743 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11745 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11746 insets which are part of a word. Paragraph::isLetter takes care of
11747 that now. Use Paragraph::isInset to identify insets.
11748 (selectSelectedWord): do not test for hyphenation break.
11750 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11751 that protected spaces are considered as spaces.
11753 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11756 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11759 * lyxserver.C: fix it. and small cleanup.
11761 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11763 * BufferView_pimpl.C: use inline helpers
11766 * LaTeXFeatures.C: fix typos
11769 * Spacing.C: move spacing_string into class
11771 * ToolbarDefaults.C: move stuff into namespace anon
11773 * layout.h: update enum
11775 * lyxfunc.C: use better debug
11777 * minibuffer.h: fix typo
11781 * WorkArea.C: add and use Debug::WORKAREA
11785 * text2.C: code re-organisation, inline helpers
11787 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11789 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11790 std::vector.empty().
11792 2001-11-09 Allan Rae <rae@lyx.org>
11794 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11795 '\n's after tables. Tabular and ERT inset work now makes this no
11798 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11801 * minibuffer.C: fix crash, improve drop-down completion
11803 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11806 * lyxserver.C: invalidate fd's when doing endPipe()
11808 2001-11-08 José Matos <jamatos@fep.up.pt>
11810 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11811 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11814 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11816 2001-11-07 José Matos <jamatos@fep.up.pt>
11819 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11822 * buffer.C (sgmlOpenTag):
11823 * buffer.C (sgmlCloseTag): removed debug info.
11825 * buffer.h (sgmlOpenTag):
11826 * buffer.h (sgmlCloseTag): made public.
11828 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * buffer.C (saveParamsAsDefaults):
11831 * lyx_cb.C (MenuLayoutSave): remove
11833 * LyXAction.C (init):
11835 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11837 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * buffer.C (setPaperStuff): removed from here...
11841 * bufferparams.C (setPaperStuff): ... and moved there.
11843 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11847 * XFormsView.C: add support for drop-down completion
11849 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11851 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11854 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11856 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11859 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11861 * lyx_main.C: change ref to known bugs
11863 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11865 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11866 to work around older babel problems.
11868 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11870 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11872 2001-10-24 Juergen Vigna <jug@sad.it>
11874 * tabular-old.C (ReadOld): below variable changes reflected.
11876 * tabular.[Ch]: added ltType struct for longtable header/footer
11877 defines and changed all instances where they are used. Added
11878 future support for double top/bottom rows.
11880 2001-10-24 José Matos <jamatos@fep.up.pt>
11882 * buffer.h (docbookHandleCaption):
11883 * buffer.C (docbookHandleCaption): removed unused function.
11884 (makeDocBookFile): moved docbook supported version to v4.1.
11886 2001-10-24 José Matos <jamatos@fep.up.pt>
11889 * tabular.C (docbookRow): new function to export docbook code of a row.
11890 (DocBook): now honors the longtable flags.
11892 2001-10-23 José Matos <jamatos@fep.up.pt>
11895 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11896 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11898 * buffer.C (makeLinuxDocFile):
11899 (makeDocBookFile): reworked the preamble, more clean, and with
11900 support for lyx defined entities. Changed the document declaration
11901 to be more XML friendly.
11903 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11904 if we need to output XML that should be done with a filter.
11906 2001-10-22 Juergen Vigna <jug@sad.it>
11908 * sp_pspell.h (class PSpell): add alive function needed in the
11909 controller to see if the spellchecker could be started.
11911 2001-10-22 Juergen Vigna <jug@sad.it>
11913 * buffer.C (insertStringAsLines): modify the font for inserting
11914 chars in certain conditions by calling checkInsertChar(font).
11916 2001-10-19 Juergen Vigna <jug@sad.it>
11918 * text.C (workWidth): use getRow instead of wrong algorithm.
11919 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11921 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11926 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11928 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11930 * text.C (workWidth): do not search for the exact row when
11931 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11932 optimization for big documents.
11934 2001-10-18 Juergen Vigna <jug@sad.it>
11936 * text.C (workWidth): new function with added Inset * parameter.
11938 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11940 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11942 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11943 change return type of getColumnNearX.
11946 * text.C (changeRegionCase): use uppercase/lowercase instead of
11949 (rightMargin): simplify code by factoring out the uses of
11954 (appendParagraph): use Paragraph::size_type
11956 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * vspace.C (asLatexString): add a missing break
11960 2001-10-15 Herbert Voss <voss@perce.de>
11962 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11964 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11966 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11969 2001-10-10 André Pönitz <poenitz@gmx.net>
11971 * lyxfunc.C: removed greek_kb_flag.
11973 2001-10-10 Herbert Voss <voss@perce.de>
11975 * lyx_main.C: delete global string help_lyxdir.
11977 2001-10-09 Herbert Voss <voss@perce.de>
11979 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11981 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11983 * lyx_main.C: added global string help_lyxdir.
11985 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11987 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11989 * lyxrc.C (set_font_norm_type): support iso8859-4
11991 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11993 * LaTeX.C (deplog): add another regex for MikTeX
11995 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11997 * lyxrc.C (set_font_norm_type): support iso8859-3
11999 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12001 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12003 * LaTeXFeatures.C: remove special case of french and index
12005 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12006 before \begin{document}). This solves several incompatibilities.
12008 2001-10-03 Garst Reese <reese@isn.net>
12010 * lyx_cb.C: change CheckTex error msg.
12012 2001-10-03 José Matos <jamatos@fep.up.pt>
12014 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12016 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12018 * .cvsignore: update
12020 * lyx_main.C (commandLineVersionInfo): use new style version info.
12022 * buffer.C (writeFile):
12024 (makeLinuxDocFile):
12025 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12027 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12029 * version.h: update to use stuff in version.C
12031 * version.C.in: new file. Contains version information determined
12032 at compile time. This is a merging of version.h and
12035 2001-10-03 Juergen Vigna <jug@sad.it>
12037 * BufferView_pimpl.C (update): don't change "dirty" status in
12040 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12042 * WorkArea.C (c-tor): re-position version string slightly.
12044 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12046 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12047 revert to previous code.
12049 WorkArea.[Ch]: (show, destroySplash): methods removed.
12051 WorkArea.C: rework code so that it's an amalgam of the codes before and
12052 after the splash screen was moved to WorkArea.
12054 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * vspace.C (inPixels):
12060 * buffer.C (insertStringAsLines):
12061 (asciiParagraph): fix types to be large enough
12063 * lyxlex_pimpl.h: change member status from short to int
12065 * layout.h: fix type of endlabeltype
12068 * kbsequence.C (parse): change return type to string::size_type
12070 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12073 * Bullet.C (bulletSize):
12074 (bulletEntry): do not use short ints as parameters
12076 * BufferView2.C (insertLyXFile): change a char to an int.
12078 * WorkArea.C (WorkArea): remove unneeded floats in computation
12080 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12082 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12084 * paragraph.C (asString): Do not ignore newline/hfill chars when
12085 copying to the clipboard.
12087 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12089 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12090 after a multi-line inset.
12092 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12094 * paragraph.C (validate): Set NeedLyXFootnoteCode
12096 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12098 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12099 and decrease-error to decrease.
12101 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12103 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12104 it more readable (should be equivalent)
12106 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12108 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12110 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12113 of a cursor (row, etc.) after a character has been deleted
12114 (deleteEmptyParagraphMechanism): call the method above on _all_
12115 cursors held by the LyXText when a double space has been
12118 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12120 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12122 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12124 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12125 background. Use greyOut() and the new show() methods to toggle between
12126 the foreground and background. Add code to remove the splash after
12127 its initial showing.
12129 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12130 (create_forms): no longer call Dialogs::showSplash.
12132 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12134 * .cvsignore: add version_info.h
12136 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * version_info.h.in: new file
12140 * Makefile.am: add version_info.h.in
12142 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12143 version_info.h instead of VERSION_INFO
12145 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12147 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12148 The ERT inset now returns string().
12150 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12152 * lyxtext.h, text.C (selectNextWord): renamed as
12153 selectNextWordToSpellcheck.
12155 * text.C (selectNextWordToSpellcheck): Modified to not select
12156 words inside an ERT inset.
12158 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12160 * lyx_cb.C (MenuLayoutSave): change a bit the question
12162 * sp_base.h: include <sys/types.h>
12164 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12166 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12168 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12170 * several files: fix typos in user-visible strings
12172 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * text2.C (pasteSelection): do not set the selection, since it
12175 will be cleared later. Actually, the intent was to fix the way the
12176 selection was set, but I figured rmoving the code was just as good.
12178 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12180 * FontLoader.C (available): Check if font is available without
12183 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12185 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12187 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12189 * lyxrc.[Ch]: added display_graphics variable and associated code.
12191 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12193 * bufferparams.C (hasClassDefaults): new method. Returns true if
12194 the buffer parameters correspond to known class defaults
12196 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12198 * XFormsView.C (show): set minimum size to the main window.
12200 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12202 * text2.C (copySelection):
12204 * lyxfind.C (LyXReplace):
12205 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12206 LyXText::selectionAsString.
12208 * paragraph.C (asString): add "label" argument to the second form
12210 * text2.C (selectionAsString): add "label" argument and pass it to
12211 Paragraph::asString.
12213 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12215 * lyx_main.C (commandLineHelp): remove version information
12217 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12219 * lyx_main.C: add -version commandline option
12221 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * paragraph.h: make the optional constructor arg required instead.
12224 some modifications to other files because of this.
12226 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12228 * lyxserver.C (C_LyXComm_callback): make it static
12230 * lyx_main.C (error_handler): make it static
12232 * lyx_gui.C (LyX_XErrHandler): make it static
12234 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12236 * WorkArea.C: make the extern "C" methods static.
12238 * Makefile.am (lyx_LDADD): simplify
12240 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12242 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12243 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12245 * LyXAction.C (init):
12246 * lyxfunc.C (dispatch): associated code removal.
12248 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12250 * lyxfont.h (isSymbolFont): shut off warning
12252 * text.C (setHeightOfRow):
12253 (getVisibleRow): fix crash with empty paragraphs which have a
12256 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12258 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12261 2001-09-04 José Matos <jamatos@fep.up.pt>
12264 * tabular.C (docbook): rename docBook method to docbook.
12266 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12268 * Makefile.am: add dependencies to main.o.
12270 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12272 * FontLoader.C (available): Return false if !lyxrc.use_gui
12274 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12276 * FontInfo.C (query):
12277 * converter.C (view):
12278 * importer.C (Import):
12279 * exporter.C (Export): Can not -> cannot.
12281 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12283 * BufferView_pimpl.C: allow to create index inset even if
12286 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12288 * buffer.C (getLists): replace boost::tie code with an explicit pair
12289 as boost::tie can break some compilers.
12291 * iterators.h: Added a std:: declaration to the return type of
12294 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12296 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12299 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12301 * iterators.[Ch]: New files. Provide paragraph iterators.
12303 * buffer.C (changeLanguage): Use paragraph iterators.
12304 (isMultiLingual): ditto
12306 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12308 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12310 * FontLoader.C: Support for cmr font.
12312 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12314 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12315 (available): New method.
12317 * FontInfo.C (getFontname): Use scalable fonts even when
12318 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12321 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12323 * converter.C (Formats::view): reverted! Incorrect fix.
12325 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12327 * converter.C (Formats::view): only output the -paper option
12328 if the dvi viewer is xdvi, thereby fixing bug #233429.
12330 2001-08-23 Herbert Voss <voss@perce>
12332 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12334 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12336 * Spacing.h (Spacing): Set space to Default on in the default
12339 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * vc-backend.h (RCS::versionString): add RCS to version
12342 (CVS::versionString): add CVS to version
12344 * vc-backend.C (scanMaster): do not add CVS to version.
12345 (scanMaster): do not add RCS to version
12347 * lyxvc.C (versionString): new method
12349 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12351 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * Spacing.C (set): initialize fval
12355 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12357 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12360 2001-08-16 Juergen Vigna <jug@sad.it>
12362 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12364 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12366 * BufferView_pimpl.C:
12369 * text2.C: setParagraph takes linespacing now
12371 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12373 * LyxAction.C: add internal LFUN_CITATION_INSERT
12375 * LyXView.C: actually apply fix
12377 * bufferlist.C: fix open non-existent file
12379 * lyxfind.C: fix indentation
12381 * lyxfunc.C: remove unneeded assert, fix typo
12383 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12385 * MenuBackend.C: use "Floatname List"
12387 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12389 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12390 when converting LaTeX layout to insetERT.
12391 Generate a non-collapsed float when reading old float
12393 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12395 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12398 2001-08-13 Juergen Vigna <jug@sad.it>
12400 * text.C (fill): return 0 instead of 20 as this seems to be the more
12403 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12405 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12408 2001-08-13 Juergen Vigna <jug@sad.it>
12410 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12412 (SearchBackward): comment out the unlocking of the inset_owner this
12413 should not be needed!
12415 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12417 * Many files: Remove inherit_language, and add latex_language
12419 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12420 collapsible insets.
12422 2001-08-10 Juergen Vigna <jug@sad.it>
12424 * text.C (prepareToPrint): fixed hfill-width in draw!
12426 * BufferView2.C (selectLastWord): save the selection cursor as this
12427 now is cleared in the function LyXText::clearSelection!
12429 2001-08-08 Juergen Vigna <jug@sad.it>
12431 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12432 BACKSPACE type functions.
12434 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12435 is only cutted from the document but not put in the cut-buffer, where
12436 still the old stuff should be.
12438 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12440 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12442 * tabular.C (SetWidthOfCell): fixed special case where the width
12444 (LeftLine): handle '|' in align_special.
12446 (LeftAlreadyDrawed): ditto
12447 (SetWidthOfCell): ditto
12449 2001-08-07 Juergen Vigna <jug@sad.it>
12451 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12453 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12456 * lyxlex.[hC]: ditto
12458 2001-08-06 Juergen Vigna <jug@sad.it>
12460 * text.C (getVisibleRow): fix up row clearing a bit.
12462 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * minibuffer.C: make sure the X server sees the changes in the input.
12466 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * paragraph.C (getFont): split into...
12469 (getLabelFont): this
12470 (getLayoutFont): and this
12471 * paragraph_pimpl.C (realizeFont): calling this
12473 * text2.C (getFont): split into...
12474 (getLayoutFont): this
12475 (getLabelFont): and this
12476 (realizeFont): all three calling this
12478 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12481 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12485 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12487 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12488 layouts from the Quote inset insertion.
12490 2001-08-03 Juergen Vigna <jug@sad.it>
12492 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12494 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12495 only if status not is already CHANGED_IN_DRAW (second level).
12497 * text.C (draw): don't set the need_break_row when inside an
12500 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * buffer.C (parseSingleLyXformat2Token): handle more latex
12505 * bufferview_funcs.[hC]: change function names to
12506 begin with small char, adjust other files.
12508 2001-08-02 André Pönitz <poenitz@gmx.net>
12511 BufferView_pimpl.C: remove broken special code for math-greek
12513 2001-08-02 Juergen Vigna <jug@sad.it>
12515 * BufferView_pimpl.C (update): redone this function so that we
12516 update the text again if there was a CHANGE_IN_DRAW.
12518 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12519 (drawFromTo): added a new internal bool which is used by draw() and
12521 (general): some cursor drawing problems fixed.
12523 2001-08-01 Juergen Vigna <jug@sad.it>
12525 * lyxfind.C (LyXFind): fixed
12526 (SearchForward): ditto
12527 (SearchBackward): ditto
12529 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12530 spurius drawing of the cursor in the main area.
12532 * text2.C (status): small fix which could lead to a segfault!
12533 (clearSelection): remove unneeded BufferView param.
12535 2001-08-01 André Pönitz <poenitz@gmx.net>
12537 * lyxfunc.C: small change due to changed mathed interface
12539 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12541 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12543 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12545 * lyxfunc.c: fail gracefully if file doesn't exist
12550 * BufferView_pimpl.C: IsDirWriteable() proto changed
12552 * LyXView.C: fix updateWindowTitle() to store the last title
12554 2001-07-31 Juergen Vigna <jug@sad.it>
12556 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12557 the font (wrong since using of Paragraph::highestFontInRange).
12559 * paragraph.C (highestFontInRange): added a default_size parameter.
12561 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12562 (setHeightOfRow): reformat
12564 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * converter.[hC] + affected files: move to (inital-char)lowercase
12569 * ParagraphParameters.C (ParagraphParameters): remove commented code
12571 * PainterBase.[Ch]: remove commented code
12573 * LaTeXFeatures.h: add "bool floats" for float.sty
12575 * LaTeXFeatures.C (LaTeXFeatures): init floats
12576 (require): handle float
12577 (getPackages): do it with floats
12579 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * BufferView_pimpl.C (Dispatch): improve handling of
12582 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12584 * commandtags.h: #include lyxfont.h here temporarily to avoid
12587 * bufferlist.h: include LString.h here.
12589 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12591 * text2.C (getStringToIndex): new method.
12593 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12595 * *: Reduced header file dependencies all over.
12597 2001-07-30 Baruch Even <baruch@lyx.org>
12599 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12601 2001-07-29 Baruch Even <baruch@lyx.org>
12603 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12605 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * ParameterStruct.h (endif): add a default constructor to make
12608 sure that all variables is initialized.
12610 * ParagraphParameters.C (ParagraphParameters): adjust
12612 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12614 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12615 index; also, check that there is something to index, and that it
12616 does not span over several paragraphs.
12617 (doubleClick): use WHOLE_WORD_STRICT for double click.
12619 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12621 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12624 2001-07-26 Baruch Even <baruch@lyx.org>
12626 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12627 an InsetFig figure, backwards compatible reading of old figure code.
12629 2001-07-27 Juergen Vigna <jug@sad.it>
12631 * text2.C: font.realize function adaption.
12633 * text.C (draw): add a warnings lyxerr text if needed.
12635 * layout.C: font.realize function adaption.
12637 * language.C: add inherit_language and implement it's handlings
12639 * bufferview_funcs.C (StyleReset): remove language parameter from
12640 font creation (should be language_inherit now).
12642 * bufferparams.C (writeFile): handle ignore_language.
12644 * paragraph.C (getFontSettings): the language has to be resolved
12645 otherwise we have problems in LyXFont!
12647 * lyxfont.C (lyxWriteChanges): added document_language parameter
12648 (update): removed unneeded language parameter
12650 * paragraph.C (validate): fixed wrong output of color-package when
12651 using interface colors for certain fonts in certain environments,
12652 which should not seen as that on the final output.
12654 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12656 * BufferView_pimpl.C:
12661 * LyXAction.C: add thesaurus support
12664 * lyxfind.C: add "once" parameter, for thesaurus, to not
12665 move to the next match
12667 2001-07-26 Juergen Vigna <jug@sad.it>
12669 * lyxfont.C (realize): honor ignore_language too!
12672 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12674 * text.C (draw): one place more for ignore_language to not draw
12677 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12679 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12681 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12684 the minipage conversion problem.
12686 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12691 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * BufferView.h: don't forward declare WorkArea
12695 * BufferView.C: don't include WorkArea.h
12697 2001-07-25 André Pönitz <poenitz@gmx.net>
12701 * lyxfunc.C: new LFUN 'math-space'
12703 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12705 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * text2.C (toggleInset): call open/close
12709 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * lyxfunc.C (dispatch): add debug for the disabled case
12713 * font.C (buttonText): make similar to rectText
12715 * buffer.C (readInset): comment out parsing of insetlist and
12718 * PainterBase.C (rectText): small correction
12720 * BufferView_pimpl.C: comment out insettheorem and insetlist
12721 * LyXAction.C: ditto
12722 * commandtags.h: ditto
12724 2001-07-24 Juergen Vigna <jug@sad.it>
12726 * text.C (draw): honor the ignore_language.
12728 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12730 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12732 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12735 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12737 * lyxtext.h: remove unused (and unimplemented) methods
12739 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12741 * text.C (getVisibleRow): honor background color
12744 * Painter.h: remove default color argument for fillRectangle
12746 * text.C (backgroundColor): new method
12748 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * text.C (getVisibleRow): adjust
12752 * font.[Ch] (rectText): new method, metrics
12753 (buttonText): new method, metrics
12755 * PainterBase.[hC]: make rectText and buttonText always draw and take
12758 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12760 * ToolbarDefaults.C (read):
12761 * MenuBackend.C (read): allow escaping in all strings
12763 * BufferView_pimpl.C (insertAndEditInset): new method.
12764 (Dispatch): use insertAndEditInset whenever appropriate.
12766 * BufferView_pimpl.C (insertNote): removed
12768 * BufferView_pimpl.C (smartQuote): new method, moved from
12769 BufferView; if an insetquote cannot be inserted, insert a '"'
12772 * BufferView2.C: remove insertCorrectQuote();
12774 * lyxfunc.C (getStatus): Add support for all remaingin
12775 inset-insert lfuns.
12777 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12779 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12780 command (necessary to pass " as parameter of self-insert.
12782 * text.C (selectWordWhenUnderCursor):
12783 (selectWord): add word_location parameter
12784 (selectWordWhenUnderCursor): same + remove special code for word
12786 (selectNextWord): use kind() to guess type of insetspecialchar,
12789 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12790 (insertErtContents): create ert insets as collapsed.
12791 (readInset): better compatibility code for Info inset.
12793 2001-07-20 Juergen Vigna <jug@sad.it>
12795 * lyxfunc.C (dispatch): use always LyXFind now!
12797 * text2.C (init): add a reinit flag so that the LyXText can be
12798 reinited instead of deleted and reallocated (used in InsetText).
12800 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12806 2001-07-18 Juergen Vigna <jug@sad.it>
12808 * text.C (selectNextWord): handle insets inside inset by calling
12809 always the bv->text functions so that we can go up the_locking_inset!
12811 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12812 in strange locations when inside an inset!
12814 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12815 handling to include insets.
12817 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12819 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12821 * LyXAction.C (init):
12823 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12824 LIGATURE_BREAK, since the name is so stupid.
12826 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12828 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12831 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12833 * sp_form.[Ch]: remove.
12835 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12837 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12840 * src/buffer.C (readInset): ditto.
12842 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12844 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12845 menuSeparator(), endOfSentenceDot(), ldots() and
12846 hyphenationPoint(), which are therefore removed.
12847 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12849 * LyXAction.C (init):
12850 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12852 * paragraph.C (getWord): removed.
12854 * BufferView_pimpl.C (Dispatch): use last word or selection for
12855 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12857 * lyx_main.C (queryUserLyXDir): do not ask before creating
12858 user_dir, except if it has been named explicitely.
12860 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12862 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12863 a document of zero size.
12865 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12867 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12868 approriately in the c-tor and in require().
12869 (getPackages): output the appropriate LaTeX for natbib support.
12871 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12872 variables "use_natbib" and "use_numerical_citations" when reading the
12874 (readInset): read the various natbib cite commands.
12875 (validate): white-space change.
12877 * bufferparams.[Ch]: new variables "bool use_natbib" and
12878 "bool use_numerical_citations".
12879 (writeFile): output them in the LyX file.
12881 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12883 * lyxfunc.C (getStatus): add support for all the inset insertion
12886 * text2.C (insertInset):
12887 * paragraph.C (insetAllowed):
12888 * BufferView_pimpl.C (insertInset): update to take in account the
12889 renaming of insertInsetAllowed
12891 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12893 * text2.C (getInset): new method. returns inset at cursor position.
12895 * BufferView_pimpl.C (Dispatch): changes because of this.
12897 * LyXAction.C (init): rename open-stuff to inset-toggle.
12899 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12901 * text2.C (toggleInset): renamed from openStuff; use
12904 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12906 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12908 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12910 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12912 * buffer.C (readLyXformat2): Add filename to the error dialog
12914 2001-07-18 Juergen Vigna <jug@sad.it>
12916 * tabular.C (GetCellNumber): put an assert here instead of the check!
12918 2001-07-17 Juergen Vigna <jug@sad.it>
12920 * BufferView_pimpl.C (toggleSelection): adapted too.
12922 * text.C (selectNextWord): adapted for use with insets.
12923 (selectSelectedWord): ditto
12925 2001-07-17 Juergen Vigna <jug@sad.it>
12927 * sp_spell.C (PSpell): fix initialitation order.
12929 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * paragraph.C: spacing
12933 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12935 * sp_spell.C: repair language selection for pspell
12937 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * lyxfunc.h: change more methods to begin with lower char.
12941 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12943 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12944 for unknown layouts.
12946 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12948 * buffer.C (readLyXformat2): Generate an error dialog if there are
12951 2001-07-16 Juergen Vigna <jug@sad.it>
12953 * sp_spell.C: always compile ISpell part.
12955 * lyxrc.C: added use_pspell entry and it's handling.
12957 2001-07-13 Juergen Vigna <jug@sad.it>
12959 * sp_spell.C: removed double includes.
12961 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12963 Consistent use of Lsstream.h:
12964 * Lsstream.h: added using std::stringstream for consistencies sake.
12966 * buffer.C: removed using std::stringstream
12968 * lyxfont.C (stateText):
12969 * paragraph.C (asString):
12970 * text.C (selectNextWord, selectSelectedWord):
12971 * text2.C (setCounter):
12972 * vspace.C (asString, asLatexString):
12973 std::ostringstream -> ostringstream.
12975 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12977 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12978 * commandtags.h: add LFUN_HELP_ABOUTLYX
12979 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12981 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12983 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12985 * lyx_gui_misc.C: remove spellchecker
12986 * lyxfunc.C: showSpellchecker
12988 * sp_ispell.h: added
12989 * sp_pspell.h: added
12990 * sp_spell.C: added
12991 * sp_form.[Ch]: removed
12992 * spellchecker.[Ch]: removed
12994 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12996 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12998 (simpleTeXSpecialChars): Simply print the input character without
12999 any special translation if pass_thru is set.
13001 * layout.h: Added bool pass_thru to layout class for being able to
13002 implement pass through of a paragraph for Literate Programming.
13004 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13005 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13006 * layout.C (Read): add "passthru" to list of layout tags and add
13007 code to set the pass_thru boolean when it is read.
13009 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * trans_decl.h: remove allowed from KmodInfo
13013 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13014 remove allowed code
13017 * paragraph_pimpl.C (erase): use boost::prior
13019 * Painter.C (text): use data() instead of c_str() when length is
13021 * WorkArea.C (putClipboard): ditto
13022 * font.h (width): ditto
13024 * BufferView2.C: use it-> instead of (*it). for iterators
13026 * paragraph_pimpl.C: ditto
13027 * paragraph.C: ditto
13028 * minibuffer.C: ditto
13029 * language.C: ditto
13031 * encoding.C: ditto
13032 * counters.C: ditto
13033 * converter.C: ditto
13035 * Variables.C: ditto
13036 * TextCache.C: ditto
13037 * MenuBackend.C: ditto
13038 * LyXAction.C: ditto
13040 * FloatList.C: ditto
13041 * DepTable.C: ditto
13042 * ColorHandler.C (LyXColorHandler): ditto
13044 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13046 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13048 * text2.C (openStuff): reintroduce this method (which had been
13049 nuked in NEW_INSETS frenzy).
13051 * lyxfunc.C (Dispatch): when an action has not been handled, use
13052 its name in the error message, not its number.
13054 * paragraph.C (inInset): change method name to begin with lowercase.
13057 * text2.C: updates because of this.
13059 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13061 * ToolbarDefaults.C (add): add spaces in error message
13063 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13066 (readLyXformat2): rename return_par to first_par, use lyxlex's
13067 pushToken and remove the manual push handling.
13068 (parseSingleLyXformat2Token): add another ert comp. variable:
13069 in_tabular, rename return_par to first_par. handle newlines better
13071 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13073 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13075 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * text2.C (getParFromID): removed
13079 * buffer.C (getParFromID): new method moved form lyxtext.
13080 * BufferView2.C (insertErrors): adjust
13081 (setCursorFromRow): adjust
13082 * BufferView_pimpl.C (restorePosition): adjust
13083 * lyxfunc.C (Dispatch): adjust
13084 * undo_funcs.C (textUndo): adjust
13086 (textHandleUndo): adjust
13087 (textHandleUndo): adjust
13089 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * buffer.C: up' the LYX_FORMAT
13093 * lyxfont.h: turn NO_LATEX on as default
13095 * buffer.C (insertErtContents): new methods of tex style compability.
13096 (parseSingleLyXformat2Token): use it several places.
13097 * tabular.C (OldFormatRead): and here
13099 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * text2.C: remove some commented code.
13104 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13105 * trans.C: changes because of the above.
13107 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13109 * text2.C (setCounter): Fix counters bug with bibliography layout.
13111 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13113 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13114 own member functions
13115 (simpleTeXSpecialChars): ditto
13117 2001-07-06 Juergen Vigna <jug@sad.it>
13119 * a lot of files: changed the access to LyXText::status and the
13120 call of undo-functions.
13122 * undo.[Ch]: added a inset_id to the undo informations.
13124 * undo_funcs.[Ch]: added and moved here all undo functions.
13126 * lyxtext.h: give the status enum a weight, made status_ a private
13127 variable and made accessor functions for it, removed the whole bunch
13128 of undo-functions as they are now in their own file, make some
13129 functions publically available. Added function ownerParagraph with
13132 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13133 made InInset() a const function, added getParFromID() function.
13135 * buffer.[Ch]: added const version for inset_iterator functions,
13136 added getInsetFromID() function.
13138 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13139 changed undo functions for new version.
13141 2001-07-05 Juergen Vigna <jug@sad.it>
13143 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13144 unknow mechanism does not call the proper constructor but only this
13145 one also if I request the other!?
13147 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13151 * text2.C (LyXText): use initialization lists.
13153 * lyxtext.h (Selection): initialize set_ and mark_
13154 (init): remove method
13156 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13158 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13160 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * screen.[Ch]: change method names to begin with lowercase
13164 * BufferView_pimpl.C (updateScrollbar): simplify further and
13165 hopefully make it a bit faster.
13167 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13170 calling directly xforms functions.
13172 * Painter.C (Painter):
13173 * lyx_cb.C (MenuWrite):
13174 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13177 * lyx_gui.C: remove bogus guiruntime extern declaration.
13179 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13183 (redoDrawingOfParagraph): ditto
13184 (redoParagraphs): ditto
13185 (cutSelection): don't create a object for CutAndPaste use the
13186 static method directly
13187 (pasteSelection): ditto
13189 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13192 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * modifications to some other files because of this.
13196 * Makefile.am (lyx_SOURCES): add XFormsView
13198 * XFormsView.[Ch]: new files
13200 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13201 the main window. Move the gui dependent stuff to XFormsView
13203 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13205 * tabular.C (GetCellInset): update cur_cell also in the row/col
13206 version of this function.
13208 * lyxfunc.C: no need to include figure_form.h here.
13214 * lyxvc.C: no need to include forms.h here.
13216 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13220 * lyxfunc.C (Dispatch):
13222 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13223 constructor argument.
13225 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13227 * paragraph.C (Paragraph): dont't clear, and just set layout.
13228 (makeSameLayout): use params's copy contructor.
13230 * ParagraphParameters.[Ch] (makeSame): delete method
13232 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13234 * Variables.[Ch]: fix indentation, rename set to isSet
13236 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * lyxfunc.C (Dispatch): fix typo
13240 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13245 * bufferlist.C: include assert.h for emergencyWrite().
13247 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13249 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13250 give up at last (bug #425202) !
13252 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13258 * spellchecker.C: strip spellchecker options and bring up
13259 preferences tab instead
13261 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13264 the istringstream constructor
13266 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13268 * paragraph.C (getLayout): fix return value
13270 * paragraph.h: do not declare getLayout as inline.
13272 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13274 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * lyxcursor.h (operator<): new func
13277 (operator>): new func
13278 (operator>=): new func
13279 (operator<=): new func
13281 * text.C (changeCase): use selection.start and selection.end
13282 (changeRegionCase): require from to be <= to. Require par to be a
13285 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13287 2001-06-27 Juergen Vigna <jug@sad.it>
13289 * text.C (cursorLeftOneWord): changed to return the cursor and added
13290 overlay with BufferView * parameter which calls this one.
13292 (selectWord): use new getWord function.
13293 (changeCase): renamed from changeWordCase as and extended to work
13294 also on selections.
13296 * lyxtext.h: added enum word_location
13298 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13299 changeCase as this operates now also on selections.
13301 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13303 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13305 * many files: send debug output to Debug::INFO instead of
13308 * converter.C (View):
13310 (Move): send debug output to Debug::FILES instead of console.
13312 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13314 * lyxfunc.C (getStatus): use func_status
13316 * func_status.h: new header, describing the results of
13317 LyXFunc::getStatus;
13319 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13322 2001-06-25 The LyX Project <jug@sad.it>
13324 * buffer.C (sgmlOpenTag):
13326 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13328 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * text2.C: remove some dead code
13332 * tabular.C (GetCellInset): store the last cell checked (gotten)
13334 * tabular.h: add the helper for the speedup
13336 * lyxtext.h: remove some dead code
13338 2001-06-26 The LyX Project <Asger>
13340 * paragraph.C: Change export to LaTeX of alignment to
13341 \begin{center} and family for better roundtrip work with reLyX.
13343 * Tune the math drawing a bit.
13345 2001-06-25 The LyX Project <Asger>
13347 * LColor.C (LColor): New color for math background. New color
13350 2001-06-25 The LyX Project <jug@sad.it>
13352 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13354 * lyxfunc.C (Open):
13355 * bufferlist.C (newFile): do not restrict to files ending with
13358 * BufferView_pimpl.C (MenuInsertLyXFile):
13360 2001-06-24 The LyX Project <jug@sad.it>
13362 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13365 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * lyxtext.h: rename most methods to begin with a small char.
13368 Lots of changes because of this.
13370 * paragraph.C (Paragraph): do not call fitToSize
13371 (erase): call Pimpl::erase
13372 (insertChar): call Pimpl::insertChar
13373 (insertInset): call Pipl::insertInset
13374 (breakParagraph): do not call fitToSize
13375 (breakParagraphConservative): do not call fitToSize
13376 (fitToSize): remove method
13378 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13380 2001-06-24 The LyX Project <Asger>
13382 * Fix Qt compilation^2
13384 2001-06-24 The LyX Project <jug@sad.it>
13386 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13387 depthHook(getDepth()-1).
13390 * ParagraphParameters.h:
13391 * ParameterStruct.h: change type of depth to unsigned int ==
13392 depth_type. Many adaptations to other files before of that.
13394 2001-06-24 The LyX Project <Asger>
13396 * Fix Qt compilation.
13398 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * paragraph.h: renamed several methods to begin with small letter.
13401 several changes to many parts of the code because of this.
13403 2001-06-23 The LyX Project <jug@sad.it>
13405 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13406 rewritten to discard all double spaces when KeepEmpty is off
13407 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13408 to only handle newlines but not fiddle with spaces and friends.
13410 * lyxfunc.C (MenuNew): when doing 'new from template', use
13411 template_path as default directory
13413 2001-06-23 The LyX Project <Asger>
13415 * Clean-up of header file includes all over
13416 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13418 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * paragraph.h: renamed from lyxparagraph.h
13422 2001-06-23 Asger <lyx@violet.home.sad.it>
13424 * Buffer.h: Removed Buffer::resize
13425 * BufferList.h: Removed BufferList::resize
13426 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13427 the document lazily when we change the width, or the font settings.
13429 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13431 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13433 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13435 * buffer.h: remove out of date comment
13437 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13440 * screen.C: fix "theoretical" GC leak
13442 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * LaTeX.C (scanAuxFile):
13445 (deplog): remove trailing \r when reading stream (useful under
13448 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13450 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13451 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13452 and BufferView::theLockingInset(Inset*), so should use them and not
13453 access bv_->text->the_locking_inset directly.
13455 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13457 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13460 * tex-defs.h: remove old unused file
13462 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13464 * BufferView_pimpl.C: fix typo, remove minibuffer message
13465 when buffer has loaded
13467 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * lyxfunc.C (Dispatch): use stringstream
13470 (MenuNew): use stringstream
13471 (Open): use stringstream
13473 * importer.C (Import): use stringstream
13475 * bufferview_funcs.C (CurrentState): use stringstream
13477 * LaTeX.C (run): use stringstream
13479 * BufferView_pimpl.C (savePosition): use stringstream
13480 (restorePosition): use stringstream
13481 (MenuInsertLyXFile): use stringstream
13483 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13496 * vspace.C: removed // -*- C++ -*- as first line.
13499 * version.h: added // -*- C++ -*- as first line.
13501 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13505 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13508 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13513 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13515 * gettext.C: include LString.h even when --disable-nls is on.
13517 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13519 * converter.h (Get): changed argument type from int to
13520 FormatList::size_type to avoid unnecessary conversion.
13522 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13525 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13527 * gettext.h: include LString.h even when --disable-nls is on.
13529 2001-06-07 Juergen Vigna <jug@sad.it>
13531 * text.C (BreakAgain): subst spaces with tabs.
13533 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13534 (resizeInsetsLyXText): set force on resizeLyXText.
13536 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13538 * gettext.h (gettext_init):
13539 (locale_init): use a real definition instead of a macro
13541 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13543 * Bufferview_pimpl.C:
13545 * LColor.C: further lcolor tidies
13547 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * BufferView_pimpl.C (updateScrollbar): simplify.
13551 * BufferView2.C: don't include insets/insetinfo.h, change
13552 prototype for insertInset and call the Pimpl version. let
13553 updateInset call Pimpl version.
13555 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13556 gotoInset to BufferView::Pimpl
13558 2001-06-01 Juergen Vigna <jug@sad.it>
13560 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13561 inside a LockingInset (is the update needed at all?).
13563 2001-05-31 Juergen Vigna <jug@sad.it>
13565 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13566 here not the old one otherwise how should we compare it afterwards
13569 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13574 * FontInfo.C: bring C functions into global namespace when
13577 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13579 * LString.h: make sure config.h has been loaded before LString.h.
13581 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13582 (one for each char read by EatLine!).
13584 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13587 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13589 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13590 to the same as the par we break from
13592 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13596 * MenuBackend.C (expand): also create menu entries for wide
13597 versions of the floats.
13599 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13601 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13603 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13604 frontends/Makefile.am
13610 * tabular.C (getTokenValue): add std::
13612 * tabular-old.C (getTokenValue): add std::
13613 (getTokenValue): ditto
13614 (getTokenValue): ditto
13616 * screen.C (ToggleSelection): adjust
13618 * lyxtext.h: put selection cursors inside a Selection struct.
13620 * lyxfunc.C (moveCursorUpdate): adjust
13622 * lyxfont.C (latexWriteStartChanges): add std::
13624 * lyxfind.C: adjust
13626 * font.h: delete with(char const *, LyXFont const &)
13628 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13630 * FontInfo.C (getFontname): add std::
13632 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13633 (workAreaButtonPress): adjust
13634 (tripleClick): adjust
13636 (moveCursorUpdate): adjust
13639 * BufferView2.C (gotoInset): adjust
13641 2001-05-30 Juergen Vigna <jug@sad.it>
13643 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13644 to check pspell I add this as default as I now have new pspell
13645 libraries and they seem to use this.
13647 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * text2.C (CutSelection): make the cursor valid before the call to
13652 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13654 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13655 relied on 0 terminated strings and other horrors. Bug found due to
13656 the new assert in lyxstring!
13658 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13661 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13666 * lyxfunc.C (processKeySym): change method of getting to the
13669 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13670 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13671 * BufferView_pimpl.[Ch]: here as private methods.
13673 2001-05-28 Juergen Vigna <jug@sad.it>
13675 * text.C (SetHeightOfRow): added the update() call again as it is
13676 needed to initialize inset dimensions!
13678 2001-05-16 Juergen Vigna <jug@sad.it>
13680 * text2.C (SetCharFont): Add new function with BufferView * and
13681 bool toggleall parameters for setting insets internal fonts.
13682 (SetFont): Freeze the undo as we may change fonts in Insets and
13683 all this change should be inside only one Undo!
13685 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13686 setting font's in insets as for them we have the SetFont function!
13688 2001-05-15 Juergen Vigna <jug@sad.it>
13690 * text2.C (ClearSelection): to be sure we REALLY don't have any
13693 * tabular.C (TeXCellPreamble): fixed the left border problem for
13696 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13698 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13701 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13703 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13704 LFUN_BREAKPARAGRAPH.
13706 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13707 help test to "internal only", similar for LFUN_INSERT_URL
13709 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13710 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13711 auto_region_delete and deadkeys.
13713 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13716 * LColor.C: remove some dead entries, tidy a little
13718 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13722 (Dispatch): implement LFUN_ESCAPE
13724 * commandtags.h: add LFUN_ESCAPE
13726 * LyXAction.C (init): add entry for LFUN_ESCAPE
13728 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13729 Remove commented code.
13730 (insertNote): moved here
13731 (open_new_inset): moved here
13733 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13736 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * kbmap.C (findbinding): clean it up and make it work correctly.
13740 * lyx_main.C (init): do not pass argc and argv as parameters
13742 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13744 * buffer.C: fix path for OS/2 & Win32
13748 * lyx_main.C: Added os:: class.
13750 * os2_defines.h: update
13752 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13755 better by trying again with reduced state.
13757 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * lyxrc.C (read): print error about invalid key sequence only when
13760 debugging (because not all latinX keysyms are known to some X
13763 * kbsequence.C (getiso): add a few std:: qualifiers
13764 (getiso): comment out extra return statement.
13766 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13768 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13770 (Dispatch): enhance the accent inset a bit. (not perfect)
13772 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13776 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13778 * bufferlist.C (emergencyWrite): fix assert() call
13780 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13782 * text.C (InsertChar): Added trivial patch to only send the "you
13783 can not do multiple spaces this way" message once during a
13786 2001-05-08 Baruch Even <baruch@lyx.org>
13788 * Makefile.am: Changed order of libraries to get LyX to link properly
13789 with the gnome frontend.
13791 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * LaTeXFeatures.h: add a std:: qualifier
13795 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * paragraph.C (String): use stringstream
13799 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * paragraph.C (writeFile): remove footflag arg
13803 * buffer.C (makeLaTeXFile): use stringstream
13804 (latexParagraphs): remove footnot gurba
13806 * LaTeXFeatures.C (getPackages): use stringstream
13807 (getMacros): likewise
13808 (getTClassPreamble): likewise
13809 (getFloatDefinitions): new method
13811 * paragraph.C (writeFile): reindent
13814 * WorkArea.h: revert the xpos + etc changes.
13816 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13818 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13820 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13821 (pasteSelection): likewise
13822 * text2.C (CreateUndo): likewise
13824 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * minibuffer.C (peek_event): temporarily reduce the functionality
13827 of the minibuffer (to allow args on lfuns)
13829 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13830 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13832 * buffer.C (readInset): add compability reading of old float
13833 lists, add reading of new style float list.
13834 (readInset): avoid reevaluation of inscmd.getCmdName()
13835 (getLists): reindent
13837 * MenuBackend.C (MenuItem): implement parsing of
13838 md_floatlistinsert and md_floatinsert.
13839 (expand::LastFiles): move initalizaton of iterators out of loop,
13840 avoid reevaluation.
13841 (expand::Documents): introduce typdedef vector<string> Strings,
13843 (expand::ExportFormats): introduce typedef vector<Format const *>
13844 Formats, and use it.
13845 (expand): implement FloatListInsert and FloatInsert.
13847 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13848 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13849 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13851 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13853 (Dispatch::LFUN_FLOAT_LIST): implement
13855 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13857 * LaTeX.C (run): Fix problem with --export code.
13859 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13861 * BufferView.[Ch] (workarea): removed.
13862 (getClipboard) new method; wrapper for workarea()->getClipboard()
13864 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13867 * WorkArea.h (width, height, xpos, ypos): These methods all
13868 returned the dimensions of the work_area sub-area of WorkArea,
13869 resulting in a position error if the WorkArea were resized. Now
13870 return the dimensions of the entire WorkArea.
13872 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13874 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13876 * LaTeX.C (deplog): correct the syntax of regex reg1
13878 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * undo.C: remove !NEW_INSETS cruft
13882 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13884 * text2.C: remove !NEW_INSETS cruft
13886 * text.C: remove !NEW_INSETS cruft
13888 * tabular.C: remove !NEW_INSETS cruft
13890 * spellchecker.C: remove !NEW_INSETS cruft
13892 * lyxtext.h: remove !NEW_INSETS cruft
13894 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13896 * lyxfunc.C: remove !NEW_INSETS cruft
13898 * lyxfind.C: remove !NEW_INSETS cruft
13900 * lyx_cb.C: remove !NEW_INSETS cruft
13902 * figureForm.C: remove !NEW_INSETS cruft
13904 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13906 * buffer.[Ch]: remove !NEW_INSETS cruft
13908 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13910 * CutAndPaste.C: remove !NEW_INSETS cruft
13912 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13914 * BufferView2.C: remove !NEW_INSETS cruft
13916 * BufferView.h: remove !NEW_INSETS cruft
13918 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * Lsstream.h: include LString.h before the sstream headers to
13921 fix problem with gcc 2.95.3 and lyxstring
13923 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13925 * lyx_main.C: add using directives when needed for C functions
13926 declared in std:: namespace.
13928 2001-04-27 Juergen Vigna <jug@sad.it>
13930 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13931 (SetHeightOfRow): comment out the update call should not be needed!
13933 2001-04-13 Juergen Vigna <jug@sad.it>
13935 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13936 (LyXTabular): tried to minimize operator= operations (and realized
13937 hopfully Lars wish).
13939 2001-04-27 Juergen Vigna <jug@sad.it>
13941 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13943 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13947 * buffer.C (readInset): hack to make listof algorithm work
13949 * BufferView_pimpl.C: hack to make listof algorithm work
13951 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13953 * LyXAction.C: removed all !NEW_INSETS cruft
13954 (init): moved lfun_item in method
13956 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13958 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13960 * BufferView2.C (theLockingInset): white space.
13962 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * minibuffer.C: include <iostream>
13966 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13968 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13970 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13972 * text.[Ch] (TransposeChars): new method
13974 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * call message directly through LyXView instead of through LyXFunc
13977 * BufferView2.C: adjust
13978 * BufferView_pimpl.C: adjust
13979 * FontLoader.C: adjust
13981 * bufferview_funcs.C: adjust
13982 * converter.C: adjust
13983 * figureForm.C: adjust
13984 * importer.C: adjust
13986 * lyx_gui_misc.C: adjust
13987 * lyxfunc.C: adjust
13990 + more files in subdirs
13992 * lyxparagraph.h (size): move up int file
13995 * adjust all uses of Assert to lyx::Assert.
13997 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13998 lyxfunctional in namespace lyx
13999 * layout.C (hasLayout): ditto
14002 (delete_layout): ditto
14003 (NumberOfClass): ditto
14004 * converter.C (GetFormat): ditto
14009 * bufferlist.C (getFileNames): ditto
14010 (emergencyWriteAll): ditto
14013 * MenuBackend.C (hasSubmenu): ditto
14016 * BufferView_pimpl.C (getInsetByCode): ditto
14018 2001-04-18 Juergen Vigna <jug@sad.it>
14020 * vspace.C (asLatexString): fixed the 100% problem.
14022 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14024 * lyxfunc.C (Dispatch):
14026 * minibuffer.h: add a few std:: qualifiers
14028 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14030 * minibuffer.[Ch]: reimplement so that commands is initiated and
14031 run from lyxfunc, simplified som handling, and made the completion
14032 and history code for complete. wip.
14034 * lyxfunc.C (processKeySym): call message
14035 (miniDispatch): new temporary method
14036 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14037 (LFUN_MESSAGE): implement
14038 (LFUN_MESSAGE_PUSH): implement
14039 (LFUN_MESSAGE_POP): implement
14040 (initMiniBuffer): the initial/defualt minibuffer message.
14042 * lyxfont.[Ch]: inline some more getters
14044 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14046 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14048 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14049 (AutoSave): use LFUN_MESSAGE
14050 (Reconfigure): ditto
14052 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14054 * figureForm.C: use LFUN_MESSAGE
14056 * converter.C (runLaTeX): use LFUN_MESSAGE
14058 * bufferview_funcs.C: use LFUN_MESSAGE
14060 (changeDepth): ditto
14062 * bufferparams.h: use boost::
14064 * bufferlist.h: inherit privately from noncopyable
14066 * bufferlist.C (loadLyXFile): remove some commented code.
14068 * buffer.C (runChktex): use LFUN_MESSAGE
14070 * ShareContainer.h: inherit privately from noncopyable
14072 * ParagraphParameters.[hC] (depth): inline it.
14074 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14076 (message): new method
14077 (messagePush): ditto
14078 (messagePop): ditto
14079 (show): init minibuffer
14080 (showState): direct call
14082 * LaTeX.[Ch]: inherit privately from noncopyable
14083 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14084 instead of WriteStatus.
14086 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14088 * BufferView_pimpl.C (buffer): don't init minibuffer
14089 (workAreaButtonPress): use LFUN_MESSAGE
14090 (workAreaButtonRelease): ditto
14091 (savePosition): ditto
14092 (restorePosition): ditto
14093 (MenuInsertLyXFile): ditto
14094 (workAreaExpose): don't init minibuffer
14095 (update): remove commented code, simplify
14097 * BufferView2.C (openStuff): use LFUN_MESSAGE
14098 (toggleFloat): ditto
14101 (copyEnvironment): ditto
14102 (pasteEnvironment): ditto
14107 (updateInset): remove some commented code
14109 * lastfiles.h: inherit privately from noncopyable
14112 * lyx_main.h: ditto
14114 * lyxlex_pimpl.h: ditto
14116 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14117 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14118 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14120 * LyXAction.h: inherit privately from noncopyable, add methods
14121 func_begin, func_end, returning iterators to the func map.
14123 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14124 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14125 (func_begin): new method
14126 (func_end): new method
14128 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14130 (copySelection): ditto
14131 (pasteSelection): ditto
14133 * BufferView.C: whitespace change
14134 * BufferView.h: inherit privately from noncopyable
14136 2001-04-16 Allan Rae <rae@lyx.org>
14138 * tabular-old.C (l_getline):
14139 * spellchecker.C (sc_check_word):
14140 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14141 an unrecognised preprocessor directive. So ensure they're wrapped.
14143 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14145 * src/exporter.C (Export): Give an error message when path to file
14148 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14150 * LaTeX.C (deplog): Always check that foundfile exists.
14152 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14157 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * tabular.[Ch] (getLabelList): implement new method
14161 * minibuffer.h: comment ouf setTiimer
14163 * minibuffer.C (ExecutingCB): constify res
14164 (peek_event): constify s
14165 (Set): constify ntext
14166 (Init): constify nicename
14168 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14170 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14171 (savePosition): use two params to Minibuffer::Set
14172 (restorePosition): ditto
14174 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * lyx_main.C: include language.h
14178 * Makefile.am (lyx_main.o): add language.h
14180 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14186 * CutAndPaste.C: include gettext.h
14188 * lyxfont.h: remove old hack with ON and OFF.
14191 * lyxfont.h: do not include language.h...
14196 * bufferview_funcs.C:
14202 * paragraph.C: ... but do it here instead
14204 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14208 * tabular.C: small reformat
14210 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14213 (BreakParagraph): ditto
14214 (SetOnlyLayout): ditto
14217 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14220 * lastfiles.C: removed most using decl, add std:: where needed
14222 * buffer.C: ws changes
14224 * MenuBackend.C (class compare_format): put into anon namespace
14225 (expand): constify label, names, action, action2
14228 * text.C (SingleWidth): constify font
14229 (IsBoundary): constify rtl2
14230 (GetVisibleRow): constify ww
14232 * LaTeX.C (deplog): constify logfile
14234 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14236 (workAreaExpose): constify widthChange, heightChange
14238 * lyxrow.C (par): moved
14241 * lyxrow.h: as inlines here
14243 * lyxfont.h (shape): moved from lyxfont.C
14244 (emph): moved from lyxfont.C
14246 * lyxfont.C (LyXFont): use initialization list for all
14248 (shape): move to lyxfont.h as inline
14249 (emph): move to lyxfont.h as inline
14252 2001-04-04 Juergen Vigna <jug@sad.it>
14254 * vspace.C: had to include stdio.h for use of sscanf
14256 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14259 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14260 independent of xforms.
14262 2001-04-02 Juergen Vigna <jug@sad.it>
14264 * spellchecker.C: fixed namespace placing!
14266 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14268 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14269 the LyXParagraph * is 0.
14271 2001-03-29 Juergen Vigna <jug@sad.it>
14273 * vspace.C: added support for %, c%, p%, l%.
14274 (stringFromUnit): added helper function.
14275 (asLatexString): changed to give right results for the %-values.
14277 * buffer.C: convert the widthp in a width%.
14279 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14281 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14284 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14285 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14287 * lyx_cb.[Ch]: see above.
14289 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14293 * lyx.[Ch]: replaced by figure_form.[Ch].
14297 * lyxfunc.C: changed headers associated with above changes.
14299 2001-03-27 Juergen Vigna <jug@sad.it>
14301 * BufferView_pimpl.C: set the temporary cursor right!
14303 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14305 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14307 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14309 * LString.h: removed "using std::getline"!
14311 * BufferView_pimpl.C (Dispatch): changes due to changes in
14312 InsetInclude::Params.
14314 * buffer.C (tag_name): removed redundant break statements as they were
14315 producing lots of warnings with my compiler.
14317 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14319 * LString.h: add "using std::getline" when using the real <string>.
14321 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14323 * buffer.C: removed bitset usage.
14324 PAR_TAG moved to an anonymous name space.
14325 (tag_name): new funtion, also in the anonymous namespace.
14326 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14327 (makeDocBookFile): clean code. Completed transition from string arrays
14329 (SimpleDocBookOnePar): code clean.
14331 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14333 * tabular.C: add some comments.
14335 2001-03-22 Juergen Vigna <jug@sad.it>
14337 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14338 compatibility read a bit and fixed bug with minipage in different
14341 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14343 * buffer.C (pop_tag): removed.
14344 (push_tag): removed.
14345 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14346 array replaced with vector. Added support for CDATA sections.
14347 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14349 (makeDocBookFile): XML conformant declaration of CDATA section,
14350 fixed bug related to <emphasis> in the first paragraph char.
14351 (sgmlOpenTag): exclude empty tags.
14352 (sgmlCloseTag): ditto.
14354 * buffer.h (pop_tag): removed.
14355 (push_tag): removed.
14357 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14359 * language.h (Languages): added size_type and size().
14361 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14363 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14364 response on compability reading of minipages. One probliem is that
14365 the old usage of minipages was «flertydig»
14367 * several files here and in subdirs: don't use static at file
14368 scope use anon namespaces instead.
14370 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14372 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14373 LaTeX output. This is necessary for Literate document
14376 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14378 * buffer.C: insert hfill when needed.
14380 * tabular.C (l_getline): use string::erase, small whitespace change.
14382 * BufferView_pimpl.C: try the anon namespace.
14383 * WorkArea.C: ditto
14385 2001-03-16 Juergen Vigna <jug@sad.it>
14387 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14388 otherwise it won't open options-dialogs.
14390 * buffer.C: honor pextraWidth(p) on converting minipages.
14392 * tabular.C (l_getline): changed the functions to strip trailing \r.
14394 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14396 * BufferView_pimpl.C:
14397 * minibuffer..C: added "using SigC::slot" declaration.
14399 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14401 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14407 * paragraph.C: ditto
14409 * lyxtext.h: NO_PEXTRA
14411 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14413 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14414 * ParameterStruct.h: ditto
14415 * ParagraphParameters.h: ditto
14416 * lyxparagraph.h: ditto
14418 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14420 * buffer.C: add compability for minipage alignment.
14421 (latexParagraphs): remove unwanted pextra check.
14423 * several files: remove CXX_WORKING_NAMESPACES
14425 * buffer.C (pop_tag): tie is in namespace boost
14427 * BufferView.h: noncopyable is in namespace boost
14429 * lyx_main.h: ditto
14432 * lastfiles.h: ditto
14433 * bufferlist.h: ditto
14434 * ShareContainer.h: ditto
14436 * LyXAction.h: ditto
14439 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14441 * Merging changes from BRANCH_MVC back into HEAD.
14443 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14445 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14447 * BufferView_pimpl.C: change from intl.C
14451 * Makefile.am: move combox.*
14457 * intl.C: remove dialog (covered by prefs)
14459 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14461 * lyxfunc.C (Dispatch): removed redundant break statement.
14463 2001-03-14 Juergen Vigna <jug@sad.it>
14465 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14467 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14469 * buffer.C: add hack to fix compability reading of minipages.
14471 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14473 * buffer.C (getLists): Cleanup.
14475 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14477 * lyxfont.C (update): don't honor toggleall on font size.
14479 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14483 * Makefile.am: moved to frontends/xforms/
14487 * BufferView_pimpl.C: changes for moved mathpanel
14489 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14491 * gettext.h: fix gettext_init() in --disable-nls
14493 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14495 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14497 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14500 * lyx.h: strip external form
14502 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14504 * BufferView_pimpl.C: add comment, destroySplash()
14506 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14508 * BufferView_pimpl.C:
14512 * lyxfunc.C: use re-worked insetinclude
14514 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14516 * buffer.C: add using std::stringstream.
14518 * lyx_cb.C: readd using std::ios.
14520 * buffer.C: add using std::map.
14522 * BufferView_pimpl.C: add using std::vector.
14524 * ShareContainer.h: add std:: to swap.
14526 * buffer.h: add some typedefs
14527 * buffer.C (getLists): use them
14528 (getLists): renamed from getTocList.
14529 add a counter for the different float types and use it in the
14531 (getLists): use the same counter for the NEW_INSETS and the "non"
14534 * lyx_cb.h: remove unused items, includes, using etc.
14536 * ShareContainer.h: remove some commented code, add more comments
14537 and "documentation".
14539 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14541 * buffer.C (getTocList): make the list also when NEW_INSETS is
14544 * buffer.h: remove TocType
14546 * buffer.C (getTocList): change to return a map<string,
14547 vector<TocItem> >, implement for dynamic number of list.
14549 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14550 * text2.C (PasteSelection): adjust
14551 * CutAndPaste.C (pasteSelection): adjust
14553 * FloatList.C (FloatList): update from the new_insets branch.
14554 * Floating.[Ch]: ditto
14555 * LaTeXFeatures.C: ditto
14557 * lyxlex_pimpl.C: ditto
14559 * paragraph.C (Last): remove when NEW_INSETS is defined.
14561 * other file: changes because of the above.
14563 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14565 * lyxparagraph.h: rename next to next_, previous to previous_,
14566 make them private for NEW_INSETS. Rename Next() to next(),
14567 Previous() to previous().
14569 * other files: changes because of the above.
14571 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14574 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14577 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * main.C (main): pass lyx_localedir to gettext_init().
14581 * gettext.h: remove locale_init and gettext_init macros
14583 * gettext.C (locale_init): new function
14584 (gettext_init): new function
14586 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14589 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14591 * Moved credits to frontends:
14592 * credits.[Ch]: removed
14593 * credits_form.[Ch]: removed
14594 * lyx_gui_misc.C: remove credits stuff
14597 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14599 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14601 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14602 unneeded destructor.
14604 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14605 a standalone pointer again.
14607 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14609 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14615 * ToolbarDefaults.C:
14624 * BufferView_pimpl.C: use new file dialog in GUII
14627 * lyx_cb.C: remove LayoutsCB to Toolbar
14629 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * ShareContainer.h (get): add std:: qualifier
14633 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * ShareContainer.h: define a proper ShareContainer::value_type
14636 type (and use typename to please compaq cxx)
14638 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14640 * lyxparagraph.h: move serveral local vars to
14641 ParameterStruct/ParagraphParameters., use ShareContainer in
14642 FontTable., make vars in FontTable private and add getter and
14645 * paragraph.C: changes because of the above.
14647 * lyxfont.h: remove copy constructor and copy assignment. (the
14648 default ones is ok), move number inside FontBits. move inlines to
14651 * lyxfont.C: add number to initializaton of statics, move several
14652 inlines here. constify several local vars. some whitespace
14653 cleanup. Dont hide outerscope variables.
14655 * Spacing.h: add two new constructors to match the set methods.
14657 * ShareContainer.h: new file, will perhaps be moved to support
14659 * ParameterStruct.h: new file
14661 * ParagraphParameters.h: new file
14663 * ParagraphParameters.C: new file
14665 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14666 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14668 * BufferView_pimpl.C: ParagraphParameter changes.
14669 * buffer.C: Likewise.
14670 * bufferview_funcs.C: Likewise.
14671 * text.C: Likewise.
14672 * text2.C: Likewise.
14674 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14676 * lyxfind.C (LyXReplace): do not redefine default argument in
14678 (IsStringInText): ditto
14679 (SearchForward): ditto
14680 (SearchBackward): ditto
14682 2001-03-06 Juergen Vigna <jug@sad.it>
14684 * lyxfind.C (IsStringInText): put parentes around expressions.
14686 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14688 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14690 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14692 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14694 * stl_string_fwd.h: add comment
14696 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14699 * tabular.C: remove unused DocBook methods
14705 killed DO_USE_DEFAULT_LANGUAGE
14707 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * lyx_gui.C: do not include language.h.
14711 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14712 arguments in function implementation.
14714 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14716 * BufferView_pimpl.C: add <ctime>
14718 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14720 * BufferView_pimpl.C: add using std::find_if
14722 2001-02-27 José Matos <jamatos@fep.up.pt>
14724 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14727 2001-02-11 José Matos <jamatos@fep.up.pt>
14729 * buffer.C (makeDocBookFile): command styles now have a parameter as
14730 "title" by default.
14732 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14734 * layout_forms.[Ch]: removed
14735 * lyx_cb.[Ch]: out character
14736 * lyx_gui.C: out character
14737 * lyx_gui_misc.C: out character
14738 * bufferview_funcs.C: : out character,
14739 added toggleall as parameter in ToggleAndShow
14741 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14743 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14745 * text2.C (SetCurrentFont): Disable number property at boundary.
14747 2001-02-26 Juergen Vigna <jug@sad.it>
14749 * lyxfunc.C (getStatus): added a string argument override function so
14750 that this is correctly called from LyXFunc::Dispatch if it contains a
14751 do_not_use_argument which is used!
14752 (Dispatch): added check for "custom" export and call appropriate func.
14754 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14756 * lyxrc.C: Add language_command_local, language_use_babel and
14757 language_global_options.
14759 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14761 * buffer.C (makeLaTeXFile): Use language_use_babel and
14762 language_global_options.
14764 2001-02-23 Juergen Vigna <jug@sad.it>
14766 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14767 which works with LyXText and putted it inside BufferView. Here now we
14768 only call for that part the BufferView::Dispatch() function.
14770 * BufferView.C (Dispatch): added.
14772 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14773 functions which needs to use a LyXText over from LyXFunc.
14774 (MenuInsertLyXFile): added
14775 (getInsetByCode): added
14776 (moveCursorUpdate): added
14777 (static TEXT): added
14779 2001-02-22 Juergen Vigna <jug@sad.it>
14781 * BufferView_pimpl.C (update): call a status update to see if LyXText
14784 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14786 * vc-backend.C (revert): implement for CVS
14787 (getLog): implement for CVS
14789 2001-02-20 Juergen Vigna <jug@sad.it>
14791 * text2.C (ClearSelection): added BufferView param for inset_owner call
14793 * lyxfunc.C (TEXT): added this function and use it instead of
14794 directly owner->view()-text of getLyXText().
14796 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14798 * src/layout_forms.C: out preamble
14799 * src/layout_forms.h: out preamble
14800 * src/lyx_cb.C: out preamble
14801 * src/lyx_cb.h: out preamble
14802 * src/lyx_gui.C: out preamble
14803 * src/lyx_gui_misc.C: out preamble
14804 * src/lyxfunc.C: connect with guii preamble
14806 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14808 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14810 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14812 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14813 whether to run bibtex.
14815 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14817 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14819 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14821 * Makefile.am (lyx_SOURCES): removed bibforms.h
14823 * vspace.h: doxygen
14825 * text.C (GetVisibleRow): make several local vars const
14827 * tabular.C: small cleanup.
14829 * lyxserver.C (callback): use compare instead of strncmp
14831 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14832 inlines to after class or to paragraph.C
14834 * lyxfont.h: remove friend operator!=
14836 * converter.h: move friend bool operator< to non friend and after
14839 * combox.h: small cleanup
14841 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14842 to inlines after class def.
14844 * buffer.C (pop_tag): use string operations instead of strcmp
14846 * bmtable.c: doxygen, small cleanup
14848 * LaTeX.h: remove friend operator==
14850 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14862 * BufferView_pimpl.C:
14863 * BufferView.[Ch]: remove cruft
14865 2001-02-14 Juergen Vigna <jug@sad.it>
14867 * lyxfunc.C: removed #if 0 unused code
14869 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14871 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14873 * text2.C (SetSelection): added a BufferView * parameter
14875 2001-02-13 Juergen Vigna <jug@sad.it>
14877 * lyxfunc.C (Dispatch): fixed protected blank problem.
14878 * BufferView2.C (protectedBlank): added LyxText * parameter.
14880 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14881 (AppendColumn): same as above for column_info.
14883 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14884 (moveCursorUpdate): use a LyXText param for support of InsetText.
14886 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14887 (tripleClick): ditto
14889 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14891 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14893 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14895 * text2.C (SetSelection): set correct update status if inset_owner
14896 (ToggleFree): ditto
14898 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14900 * tabular.C: remove some commented code.
14902 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14904 * BufferView_pimpl.C: call hideSplash()
14906 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14909 * bibforms.h: remove
14912 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14913 add LFUN_CHILD_CREATE
14915 * counters.h: fix tiny typo
14920 * lyx.C: move splash to frontends/xforms/
14922 * lyx_gui_misc.C: move Include and Bibform to frontends
14924 * lyxvc.h: clarify comment
14926 * vspace.C: tiny housekeeping
14928 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14930 * text.C (PrepareToPrint): RTL Fix.
14932 * paragraph.C (GetUChar): New method.
14933 (String): Use GetUChar.
14935 * buffer.C (asciiParagraph): Use GetUChar.
14937 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14939 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14941 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14944 * buffer.C: rename to getLogName(), handle
14945 build log / latex log nicely
14947 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14950 * MenuBackend.h: remove support for reference menuitem type.
14952 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14954 * BufferView_pimpl.C: housekeeping
14955 * BufferView_pimpl.h:
14960 * minibuffer.h: move Timeout GUI-I
14962 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14964 * lyxrc.C (read): Update converters data-structures.
14966 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14968 * LaTeX.h (operator!=): add operator != for Aux_Info
14970 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14972 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14974 * LaTeXLog.C: deleted, useful code moved to Buffer
14977 * buffer.C: new function getLatexLogName()
14983 * lyxfunc.C: use frontends for LaTeX and VC logs
14985 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14987 * LaTeX.h: yet another std:: that Allan forgot.
14989 * Variables.C (set): renamed from isset(), because this clashes
14990 with some HP-UX macros (grr).
14992 2001-02-06 Allan Rae <rae@lyx.org>
14994 * LaTeX.h: Another bug fix. Missing std:: this time.
14996 2001-02-04 Allan Rae <rae@lyx.org>
14998 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14999 floats problem. I've left it commented out because it's not quite
15000 correct. It should also test that the current object is a table or
15001 figure inset. But I haven't gotten around to figuring out how to do
15002 that. I *think* it'll be something like: "table" == inset.type()
15004 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15007 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15009 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15010 all the citation/databases/styles in the auxilary file.
15011 (run): Rerun latex if there was a babel language error.
15013 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15015 * text.C (Backspace): Preserve the font when changing newline char
15017 (BreakParagraph): If the cursor is before a space, delete the space.
15019 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15021 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15023 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15024 new argument (code).
15025 (ChangeCitationsIfUnique): New method.
15027 * paragraph.C (GetPositionOfInset): Handle bibkey.
15029 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15031 * BufferView_pimpl.h: change type of Position::par_pos to
15032 LyXParagraph::size_type.
15034 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15036 * BufferView_pimpl.C (savePosition, restorePosition): Write
15037 messages to minibuffer.
15039 2001-01-28 José Matos <jamatos@fep.up.pt>
15041 * buffer.C (makeDocBookFile): adds support for document language.
15042 A silly restriction on the name of LatexCommand types where removed.
15043 Added support for CDATA sections, allows to chars unescaped, used
15044 among others in code, to avoid escape < and >.
15046 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15048 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15049 saved positions instrad of a stack. Furthermore, a position is
15050 stored using paragraph id/paragraph position.
15052 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15053 Remove LFUN_REF_BACK.
15055 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15057 * converter.C (dvipdfm_options): New method.
15059 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15061 * vspace.C (isValidLength): Fix for empty input string.
15063 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * LyXAction.C (init): change description of LFUN_FIGURE to
15068 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * LaTeX.C: add using directive
15072 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15074 * MenuBackend.C (expand): Fix the sorting of the formats.
15076 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15078 * lyx_main.C: tiny error message fix
15080 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15083 calling fl_initialize(). This fixes the problem with ',' as
15084 decimal separator in text files.
15086 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15088 * trans.C (process): Fix the keymap bug.
15090 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15092 * LaTeX.C (scanAuxFiles): New method. Provides support for
15093 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15094 (scanLogFile) Scan for "run BibTeX" messages.
15096 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15097 OT1 font encoding. Also, load the aecompl package if the ae
15100 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15102 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * texrow.C (increasePos): turn two error messages into debug
15107 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15109 * LaTeX.C (scanAux): Handle the \@input macro.
15110 (runBibTeX): Use scanAux().
15112 * language.C (latex_options_): New field.
15114 * LaTeXFeatures.C (getMacros): Add language macros.
15116 * buffer.C (makeLaTeXFile): Small fix.
15118 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15122 * text2.C: add a using directive.
15124 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15129 * lyxfunc.C: kill LyXBell.
15131 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15133 * text.C (IsBoundary): Remove the error message
15135 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15137 * lyxrc.C (setDefaults): Correct initialization value for
15140 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15142 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15145 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15146 and GotoNextNote().
15148 * src/LyXAction.C: Added reference-next.
15150 * text.C (InsertChar): Use contains instead of strchr.
15152 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15154 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15156 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15157 alignment commands (when needed).
15159 * text.C (InsertChar): Add ':' to number separator chars.