1 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: increment file format to 232.
4 * LaTeXFeatures.C: add bibtopic package.
5 * bufferparams.[Ch]: param \use_bibtopic.
7 * lyxrc.[Ch]: add lyxrc bibtex_command
8 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
10 * buffer.C: increment file format to 231.
12 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
14 * dociterator.C: implement forwardPar
15 * iterators.[Ch]: remove, replaced by
16 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
29 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
31 * CutAndPaste.C (pasteSelection): fix 2 crashes
32 (eraseSelection): fix a crash
33 * paragraph_funcs.C: remove a warning
35 2004-03-28 Angus Leeming <leeming@lyx.org>
38 * LyXAction.C (init): new LFUN_PRINT.
40 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
42 2004-03-27 Angus Leeming <leeming@lyx.org>
45 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
47 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
49 2004-03-27 Angus Leeming <leeming@lyx.org>
51 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
52 insetlist always contains non-null pointers to insets.
54 2004-03-26 Angus Leeming <leeming@lyx.org>
56 * src/BufferView_pimpl.C:
60 * src/output_plaintext.C:
62 * src/paragraph_funcs.C:
66 * src/frontends/controllers/ControlErrorList.C:
67 * src/frontends/gtk/FileDialogPrivate.C:
68 * src/frontends/gtk/GPainter.C:
69 * src/frontends/gtk/GToolbar.C:
70 * src/frontends/qt2/QRef.C:
71 * src/mathed/math_scriptinset.C: squash compiler warnings.
73 2004-03-26 Angus Leeming <leeming@lyx.org>
75 * ispell.C (LaunchIspell::start):
76 * lyx_cb.C (AutoSaveBuffer::start):
77 invoke run(DontWait) rather than runNonBlocking().
79 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
81 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
83 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * kbsequence.C (print): adjust
87 * kbmap.C (printKeySym): rename and change signature
88 (printKey): use LyXKeySym::print()
90 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
92 * undo.C: add using std::advance to compile for stlport
94 2004-03-24 Angus Leeming <leeming@lyx.org>
96 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
97 it leads to a crash when no buffer is present.
99 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 Martin Vermeer <martin.vermeer@hut.fi>
102 * lyxfunc.C (dispatch):
103 * bufferparams.C (readToken): use the new LColor::setColor
105 * LColor.[Ch] (setColor): new version that takes two strings as
106 argument and creates a new color entry if necessary
108 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
110 * buffer.C (makeLaTeXFile): if the main latex file that is
111 processed is usually a subdocument of some master, then pretend
112 for a while that it is actually the master
114 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * buffer.C (getLabelList):
117 (getBibkeyList): use getMasterBuffer()
118 (getMasterBuffer): new method. Returns the main document in the
119 case where one is using included documents.
121 2004-03-25 André Pönitz <poenitz@gmx.net>
125 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
127 * ParagraphList_fwd.h: change ParagraphList to a std::vector
129 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
130 text*.C over here. Rename namespace CutAndPaste to lyx::cap
132 * ParameterStruct.h: merge with ParagraphParameters
134 * lyxtext.h: remove LyXText::parOffset() and getPar()
136 * text3.C: Remove all 'manual' update calls. We do now one per user
137 interaction which is completely sufficient.
141 * BufferView_pimpl.C:
144 * ParagraphParameters.[Ch]:
156 * output_docbook.[Ch]:
158 * output_linuxdoc.[Ch]:
159 * output_plaintext.[Ch]:
161 * paragraph_funcs.[Ch]:
162 * paragraph_pimpl.[Ch]:
170 * frontends/controllers/ControlDocument.C:
171 * frontends/controllers/ControlErrorList.C:
172 * frontends/controllers/ControlSpellchecker.C:
175 * insets/insetbase.h:
176 * insets/insetbibitem.C:
178 * insets/insetbranch.C:
179 * insets/insetcaption.C:
180 * insets/insetcharstyle.C:
181 * insets/insetcharstyle.h:
182 * insets/insetcollapsable.C:
183 * insets/insetcollapsable.h:
185 * insets/insetfloat.C:
186 * insets/insetfoot.C:
187 * insets/insetmarginal.C:
188 * insets/insetnote.C:
189 * insets/insetoptarg.C:
190 * insets/insettabular.C:
191 * insets/insettext.C:
192 * insets/insettext.h:
193 * insets/insetwrap.C:
194 * mathed/math_mboxinset.C:
195 * mathed/math_nestinset.C:
196 * mathed/math_scriptinset.C:
197 * mathed/math_scriptinset.h:
200 2004-03-24 Angus Leeming <leeming@lyx.org>
202 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
203 deal with any child processes that have finished but are waiting to
204 communicate this fact to the rest of LyX.
206 2004-03-24 Angus Leeming <leeming@lyx.org>
208 64-bit compile fixes.
210 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
211 (c-tor): pass lyx::pos_types rather than ints.
213 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
216 * text.C (Delete): compile fix.
217 (getPar): ensure that function declaration is the same as that in
220 2004-03-23 Angus Leeming <leeming@lyx.org>
222 * ispell.C (LaunchIspell):
223 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
224 a boost::shred_ptr rather than a std::auto_ptr.
226 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * lyxfunc.C (getStatus): handle read-only buffers correctly;
229 handle LFUN_FILE_INSERT_*
231 * lyxrc.C (setDefaults, getDescription, output, read):
232 * lyxrc.h: remove ps_command
234 2004-03-22 Angus Leeming <leeming@lyx.org>
236 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
237 Ensure that error_handler is processed once only and that all data
238 is saved before attempting to output any warning messages.
240 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
242 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
244 * tabular.C (TeXRow): crash fix (from Kayvan and André)
246 2004-03-19 André Pönitz <poenitz@gmx.net>
248 * cursor.[Ch] (reset): take main text inset as argument
251 * BufferView_pimpl.C: adjust
253 * paragraph.[Ch]: fix completely broken operator=()
255 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * LColor.C (getFromLyXName): make sure that the color name is used
260 2004-03-17 Angus Leeming <leeming@lyx.org>
263 * LyXAction.C (init): remove LFUN_FORKS_KILL.
265 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
266 dialog and to kill a forked process.
268 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
270 * text2.C (setCursorFromCoordinates): fix font problem
272 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
274 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
275 bogus "rebuild cursor" code
277 2004-03-11 André Pönitz <poenitz@gmx.net>
279 * buffer.[Ch]: use InsetText instead of LyXText as container for
282 * dociterator.[Ch]: drop the BufferView * member which is not needed
283 anymore after the change to buffer.C
289 * BufferView_pimpl.[Ch]:
291 * cursor_slice.[Ch]: adjust
293 * text3.C: fix bug in mathDispatch
295 2004-03-08 André Pönitz <poenitz@gmx.net>
297 * undo.[Ch]: use 'StableDocumentIterator' as base for
300 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * bufferparams.[Ch]: add jurabib support and param.
305 * LaTeX.C: add FIXME/comment.
307 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * buffer.C: increment file format to 230.
311 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
313 * cursor.C (dispatch): avoid infinite loops
315 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
317 * rowpainter.C (paintSelection): fix x coordinates
319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
321 * text.C (rowBreakPoint): fix breaking before displayed insets
323 2004-03-01 André Pönitz <poenitz@gmx.net>
325 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
327 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
331 * BufferView_pimpl.C:
339 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
345 * BufferView_pimpl.C: rename textwidth -> maxwidth,
346 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
348 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
350 * Bidi.[Ch] (computeTables): const correctness
351 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
352 fill_hfill, fill_label_hfill and x from Row
353 * lyxtext.h: prepareToPrint returns a RowMetrics
354 * rowPainter.C: adjust
355 * text.C (prepareToPrint): use width, not textWidth. adjust
356 (redoParagraphInternal, cursorX): adjust
357 * text2.C (getColumnNearX): adjust
358 (init): put a default value to the top LyXText::width
360 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
362 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
364 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
366 * lyxtext.h: add FontIterator class
368 * text.C (FontIterator, operator*, operator->, operator++): add
369 (rowBreakPoint, setRowWidth): adjust (fixing a
372 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * BufferView_pimpl.C (workAreaDispatch): allow also
375 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
377 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
379 * text.C (rowBreakPoint): fix a bug showing with very large insets
381 2004-02-25 André Pönitz <poenitz@gmx.net>
384 * cursor.[Ch]: move some mathed specific code to mathed
386 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
389 use_tempdir in preferences
390 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
392 * lyx_main.C: ensure that tempdir is valid
393 * lyxlex.h: correct typo
394 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
395 * paragraph.[Ch] (isMultiLingual): make const
396 * cursor.[Ch] (openable): make const
398 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
402 2004-02-20 André Pönitz <poenitz@gmx.net>
404 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
406 * cursor.[Ch]: prepare for localized getStatus()
412 * text3.C: streamlines the LyXText cursor movement handlers a bit.
414 2004-02-20 André Pönitz <poenitz@gmx.net>
416 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
418 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
420 * text2.C (setCursorFromCoordinates): switch to absolute coords
423 * text3.C (dispatch): adjust
425 2004-02-16 André Pönitz <poenitz@gmx.net>
427 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
430 * cursor_slice.[Ch]: remove unneeded acessor function
432 * lyxtext.h: rename rtl() to isRTL()
440 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
442 * rowpainter.C (paintSelection): coord fix
444 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
446 * Spacing.C: compile fix
448 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
450 * cursor.C (dispatch): restore current_ before returning
452 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
454 * text2.C (cursorUp, cursorDown): fix coords
457 2004-02-12 André Pönitz <poenitz@gmx.net>
462 * text3.C: add LCursor & parameter to most cursor movement functions
463 remove usage of LyXText::cursorRow() and cursorPar()
465 * cursor.[Ch]: add textRow() needed members
468 * BufferView_pimpl.C:
471 * BufferView_pimpl.C: adjust
473 2004-02-11 André Pönitz <poenitz@gmx.net>
477 * BufferView_pimpl.C: shift undo/redo handling
479 * cursor.[Ch]: fix mathed crash
482 * lyxtext.h: move selectionAsText to LCursor
490 * rowpainter.C: fix excessive drawing
492 2004-02-06 André Pönitz <poenitz@gmx.net>
495 * BufferView_pimpl.[Ch]:
496 * text3.C: move some text specific LFUN handling
498 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
500 * text3.C (checkInsetHit): adjust coords
501 * text2.C (getColumnNearX): adjust coords
502 (edit): adjust coords
503 * text.C (getRowNearY): add two asserts
505 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
508 * format.C: add using std::distance to compile on gcc 2.95/stlport
510 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
512 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
514 2004-02-04 André Pönitz <poenitz@gmx.net>
516 * BufferView.[Ch] (insertInset):
517 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
522 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
524 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
525 on the default clause of the switch
526 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
527 wasn't catched by LCursor::dispatch
529 2004-02-03 André Pönitz <poenitz@gmx.net>
532 * cursor.[Ch]: some additional asserts
534 * undo.[Ch]: remove LyXText dependency in interface
538 * lyxtext.h (firstPar, lastPar): remove dead functions
543 * paragraph.[Ch]: adjust
545 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
547 * lyxfind.C (find): fix argument order in call to ::find
549 2004-02-02 André Pönitz <poenitz@gmx.net>
551 * cursor.[Ch]: remove direct access to anchor
553 * text.C: remove findText() hack
555 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
557 * iterators.[Ch] (lockPath): remove in favour of...
558 * BufferView.[Ch] (setCursor): this addition
559 * BufferView.C (putSelectionAt): adjust
560 * undo.C (performUndoOrRedo): adjust
561 * lyxfunc.C (dispatch): adjust
563 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
565 * iterators.C (lockPath): add a missing slice
566 * undo.C (performUndoOrRedo): remove redundant positioning code
568 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * vc-backend.C (scanMaster): ";" -> ';'
572 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
574 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
577 * lyxtextclass.C (compare_name): rename to...
578 (LayoutNamesEqual): ...this
580 * lyxlex_pimpl.C (compare_tags): inherit from
581 std::binary_function, put back into anon namespace
583 * lyxfind.C (MatchString): inherig from std::binary_function
584 (findChange): use empty() istead of !size()
586 * format.C (FormatNamesEqual): new functor
593 * converter.C (compare_Converter): rename to...
594 (ConverterEqual): ...this, and fixup a bit.
595 (getConverter): use it, and make function const
596 (getNumber): use it, and make function const
600 * bufferlist.C: add using boost::bind
602 * MenuBackend.C (MenuNamesEqual): new functor
603 (hasMenu): use it, and make function const
604 (hasSubmenu): use nested bind to get rid of compare_memfun.
606 2004-01-30 André Pönitz <poenitz@gmx.net>
608 * BufferView_pimpl.C:
619 * text3.C: move some of the edit(x,y) handling to the insets
620 some coordinate changes.
622 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
624 * text.C: add using statements for std::advance and std::distance
626 * paragraph.C: add using statement for std::distance
628 * lyxfind.C: add using statement for std::advance
630 * cursor.C (region): remove std:: from swap
631 (openable): use nucleus in stead of operator->
633 * BufferView.C: add using statements for std::distance and std::swap
635 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
637 * iterators.C: Remove the pimple, move the needed structures to
638 the header file. Create accessor for the positions stack.
639 (asPosIterator): remove function
641 * PosIterator.C (PosIterator): move constructors to top of file
642 (PosIterator): reimplement the constructor taking a ParIterator in
644 (setFrom): new function
645 (operator!=): inline it
647 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
649 * lyxfind.C (replaceAll): use std::advance
651 * iterators.h: inherit from std::iterator.
653 * PosIterator.C (advance, distance): remove
654 * PosIterator.h: interit from std::iterator.
656 2004-01-26 André Pönitz <poenitz@gmx.net>
659 * BufferView_pimpl.[Ch]:
663 * bufferview_funcs.C:
674 * output_plaintext.C:
676 * paragraph_funcs.[Ch]:
677 * paragraph_pimpl.[Ch]:
683 * text3.C: more IU: dumps most of the rest of the mathcursor
684 implementation into cursor.[Ch]; "globalize" a bit of it.
686 2004-01-25 Angus Leeming <leeming@lyx.org>
688 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
690 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
692 * LaTeXFeatures.h: add nice_ and nice() const
693 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
695 2004-01-20 André Pönitz <poenitz@gmx.net>
698 * BufferView_pimpl.C:
700 * bufferview_funcs.C:
713 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
714 LCursor and mathcursor parts to LCursor and InsetBase.
716 2004-01-15 André Pönitz <poenitz@gmx.net>
718 * cursor_slice.[Ch]: add a few covienience functions
720 * funcrequest.[Ch]: remove BufferView * member
722 * BufferView_pimpl.C:
729 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
731 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
733 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
734 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
736 2004-01-13 André Pönitz <poenitz@gmx.net>
739 * lyxtext.h: hide cursor and selection anchor behind accessor function
742 * BufferView_pimpl.[Ch]:
744 * bufferview_funcs.C:
754 * cursor_slice.[Ch]: some integer type changes for inset unification
756 * lyxcursor.[hC]: remove, it's CursorSlice now.
759 * BufferView_pimpl.[Ch]:
760 * bufferview_funcs.C:
766 * textcursor.[Ch]: adjust
768 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
770 * text2.C (undoSpan): add and use
771 * text.C (breakParagraph): use undoSpan (fix bug 578)
774 2004-01-08 Angus Leeming <leeming@lyx.org>
776 * BufferView_pimpl.C (MenuInsertLyXFile):
777 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
778 * lyxfunc.C (menuNew, open, doImport):
779 FileFilterList change to the FileDialog open and save functions.
781 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
783 * ShareContainer.h: make isEqual and isUnique adaptable
785 * CutAndPaste.C: make resetOwnerAndChanges adaptable
787 2004-01-07 Angus Leeming <leeming@lyx.org>
790 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
792 * BufferView_pimpl.C (dispatch): act on these LFUNs.
794 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
795 functions replacing find, replace and replaceAll.
797 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
798 LFUN_WORDFIND(FORWARD|BACKWARD).
800 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
802 * text.C (breakParagraph): remove an outdated #warning
804 2004-01-07 André Pönitz <poenitz@gmx.net>
806 * lyxfind.C: somewhat clearer logic
808 * text.C: prevent crash in cursorX on unitialized row cache
810 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
812 * lyxcursor.[Ch] (operator>): add
813 * textcursor.C (selStart, selEnd): use std::min and std::max
815 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * Chktex.C: include boost/format.hpp
819 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
821 * InsetList.C: replace functor MathcIt with adaptable functor
823 (insetIterator): modify accordingly
825 * BranchList.h: move the BranchNamesEqual functor here from...
826 * BranchList.C: ... to here
828 * BranchList.C: new BranchListEqual fuctor, use it. Remove
830 (add): replace a finding loop with std::find_if.
832 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
834 * output_docbook.C: moving LatexParam functionality into
837 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
839 * buffer.C: increment format to 229.
841 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
844 * lyx_sty.[Ch]: remove minipageindent_def
850 * text3.C: remove LFUN_INSET_MINIPAGE
852 2003-12-28 Angus Leeming <leeming@lyx.org>
854 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
856 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
858 * text2.C (setParagraph): fix off-by-one crash
860 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
862 * output_docbook.C: header stuff for AGU
864 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
866 * text2.C (redoCursor): remove
869 * BufferView_pimpl.C: remove calls to redoCursor and
870 setCursor(cursor.par(), cursor.pos()) all around
872 2003-12-15 Angus Leeming <leeming@lyx.org>
874 * buffer.C: up the format to 228.
876 2003-12-15 André Pönitz <poenitz@gmx.net>
878 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
883 * BufferView_pimpl.C:
892 2003-12-15 Angus Leeming <leeming@lyx.org>
894 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
895 than getFromGUIName to manipulate the color.
897 2003-12-14 Angus Leeming <leeming@lyx.org>
899 * BranchList.[Ch]: minimize the API.
900 (Branch::getBranch, getColor): now return a 'const &'.
901 (Branch::setSelected) now returns a bool set to true if the
902 selection status changes.
903 (BranchList::clear, size, getColor, setColor, setSelected,
904 allBranches, allSelected, separator): removed.
905 (BranchList::find): new functions, returning the Branch with
907 (BranchList::add, remove): return a bool indicating that
908 the operation was successful.
910 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
911 new InsetBranch::isBranchSlected member function.
913 * LColor.[Ch]: mimimize the API.
914 (fill): renamed as addColor and made private.
915 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
916 versions of these functions taking a string arg have been removed.
918 * bufferparams.C (readToken):
919 * lyxfunc.C (dispatch):
920 * lyxrc.C (read): changes due to the altered BranchList and
923 * factory.C (createInset, readInset): changes due to altered
926 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
929 * lyxfunc.C: remove insetminipage. "minipage-insert"
930 now produces a frameless minipage box inset.
932 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
934 * textcursor.[Ch] (selStart,selEnd): add new methods
935 remove selection::start, end, use LyXCursor::operator<
936 * lyxcursor.[Ch] (operator<): add
937 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
938 * BufferView.[Ch] (unsetXSel): add
939 * text2.C (clearSelection): use unsetXSel,adjust
942 * rowpainter.C: adjust
943 * bufferview_funcs.C (put_selection_at): adjust
945 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
947 * BufferView_pimpl.C: small coord. correction
949 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
951 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
952 dragging over the splash screen.
954 2003-12-11 Angus Leeming <leeming@lyx.org>
956 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
957 as it is now handled in LyXText::dispatch.
959 * text3.C (doInsertInset): remove a level of nesting.
961 2003-12-11 Angus Leeming <leeming@lyx.org>
963 * factory.C (createInset): changes due to the changed interface to
964 InsetCommandMailer::string2params.
966 2003-12-10 Angus Leeming <leeming@lyx.org>
968 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
969 'dialog-show-new-inset <inset name>'
971 2003-12-10 Angus Leeming <leeming@lyx.org>
973 * buffer.C: up the format to 227.
975 * factory.C: the box inset is now identified simply by 'Box'.
977 2003-12-10 Angus Leeming <leeming@lyx.org>
979 * buffer.C: up the format to 226.
981 * factory.C: the note inset is now identified simply by 'Note'.
983 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
985 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
986 when a pit is enough. Standarize a couple of loops.
988 2003-12-05 Angus Leeming <leeming@lyx.org>
990 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
991 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
992 data to the re-worked "log" dialog.
994 2003-12-03 André Pönitz <poenitz@gmx.net>
1000 * paragraph_funcs.C:
1002 * text2.C: use Inset::getText instead of Inset::getParagraph
1004 2003-12-03 André Pönitz <poenitz@gmx.net>
1008 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1009 InsetText::read() as LyXText::read()
1011 2003-12-02 Angus Leeming <leeming@lyx.org>
1013 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1014 type. Add a comment in the implementation that the function uses
1015 the stream's bad() function rather than fail() as the std::streams
1018 2003-12-02 André Pönitz <poenitz@gmx.net>
1020 * lyxlex.[Ch]: make interface more similar to std::stream
1022 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1024 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1026 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1028 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1030 * vspace.[Ch]: remove VSpace::NONE
1032 2003-12-01 André Pönitz <poenitz@gmx.net>
1035 * lyxtext.h: move ParagraphList member to LyXText
1036 rename LyXText::ownerParagraphs to LyXText::paragraph
1039 * bufferview_funcs.C:
1049 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1051 * undo.C: fix cursor positioning
1053 2003-12-01 John Levon <levon@movementarian.org>
1055 * BufferView_pimpl.C: fix a crash on exit with
1058 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1060 * BranchList.C: fix setSelected() method.
1062 2003-11-28 André Pönitz <poenitz@gmx.net>
1064 * ParagraphParameters.[Ch]:
1065 * ParameterStruct.h: remove space above/below from Paragraph to
1068 * BufferView_pimpl.C:
1074 * paragraph_funcs.C:
1080 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1082 * factory.C: Syntax change for CharStyles
1084 2003-11-28 André Pönitz <poenitz@gmx.net>
1089 * buffer.[Ch]: move LyXText member
1091 2003-11-28 André Pönitz <poenitz@gmx.net>
1093 * BufferView.[Ch]: make LyXText * text a private member
1095 * BufferView_pimpl.C:
1106 * output_plaintext.C: cleanup
1108 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1111 * lyxtextclass.[Ch]: parametrize SGML document header
1113 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1116 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1119 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1121 * text2.C (setFont): rework using PosIterator (no more recursive)
1122 (setCharFont): no more needed
1123 (setLayout): no more selection cursors fiddling (done by redoCursor)
1124 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1125 destroy remaining ones)
1127 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1129 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1131 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1134 * text3.C: adjust + re-allow multi par depth changes
1135 * textcursor.C: simplify a bit
1137 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1143 * src/output_docbook.C:
1144 * src/output_latex.C:
1149 * src/text2.C: Introducing a number of tags parametrizing various
1150 XML formats that we may want to support
1152 2003-11-25 André Pönitz <poenitz@gmx.net>
1154 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1156 * lyxtext.h (leftMargin/rightMargin): simplify interface
1163 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1166 master file to any child files. Fixes bug 546.
1168 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1170 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1172 2003-11-24 André Pönitz <poenitz@gmx.net>
1174 * rowpainter.C: simplification
1176 * text2.C (updateCounters): remove call to redoParagraph on
1177 changed labels as this is far too expensive.
1179 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1181 * converter.C (convert): fix a crash: this function gets
1182 called with buffer == 0 from importer code.
1184 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1186 * text3.C (cursorPrevious): make sure that we do not compare
1187 iterators form different containers.
1190 * rowpainter.C (paintSelection): make sure that we do not compare
1191 iterators from different containers.
1193 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1194 iterators from different ParagraphList containers.
1197 * text2.C (LyXText): change order of initialization slightly
1198 (operator=): new function. copy all variables except cache_par_
1199 (moveUp): make sure that we do not compare iterators from
1200 different ParagraphList constainers.
1203 * text.C (firstPar): new function
1204 (lastPar): new function
1205 (endPar): new function
1207 * lyxtext.h: move things around and group public functions, public
1208 variables, private functions, private variables
1210 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1212 * factory.C: change call to InsetERT constructor to avoid
1213 additional invocation of method status
1214 * text2.C (toggleInset): remove redundant update() call
1215 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1216 instead of a Bufferview pointer
1218 2003-11-21 André Pönitz <poenitz@gmx.net>
1220 * rowpainter.C: simplification
1222 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1224 * text3.C (dispatch): make possible to extend a word/row selection
1227 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1229 * lyxtext.h: x0_,y0_ -> xo_,yo_
1230 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1231 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1232 * rowpainter.C (paintRows): paint full paragraphs
1234 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1236 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1239 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1241 * lyxtext.h: add x0_, y0_
1242 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1243 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1245 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1247 * text2.C (setCursorIntern): move the x_target update here *
1248 * text3.C: change some bv() to true/false in calls to
1249 cursorUp/Down/Right/Left
1250 * cursor.C: use helper function.
1252 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1254 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1255 * paragraph_funcs.[Ch]: correct comment
1256 * rowpainter.C: do not paint selections away from bv->cursor()
1257 Fix a long standing selection painting bug.
1258 * text3.C: generalize mouse-selection code to LyXTexts other that
1260 * textcursor.C: do not use y coords if we can use par offsets
1262 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1264 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1265 cursor position after e.g. inset insert)
1267 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1269 * lyxfind.C (replace): adjust to locking removal + some
1272 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1274 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1277 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1280 * output_docbook.C: XML sanitation: new layout
1281 parameters InnerTag and CommandDepth
1283 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1285 * BufferView_pimpl.C:
1287 * text3.C: Fix the insertion and modification of button-style
1290 2003-11-13 André Pönitz <poenitz@gmx.net>
1292 * InsetList.[Ch]: remove deleteLyXText
1294 * paragraph.[Ch]: cache beginOfBody position
1299 * text3.C: remove superfluous update() calls
1303 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1305 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1306 * BufferView.C (fitLockedInsetCursor): remove
1307 * cursor.[Ch] (getDim): add
1308 * text.C (getRowNearY): add faster version
1309 * text3.C: remove some update calls
1311 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1323 * text3.C: The Character Style /XML short element patch.
1325 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1328 * factory.C: Small step to solving 'unable to insert some insets'
1331 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1333 * cursor.[Ch] (updatePos): new function for updating the y
1334 position of the tip inset
1335 * bufferview_funcs.C (put_selection_at):
1336 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1338 2003-11-11 André Pönitz <poenitz@gmx.net>
1340 * text.C: remove big comment on invalid Paragraph pointers as it is
1343 2003-11-11 André Pönitz <poenitz@gmx.net>
1345 * text_funcs.[Ch]: merge with ...
1353 * Makefile.am: remove text_funcs.[Ch]
1355 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1357 * cursor.C (getPos): return absolute cached y coord
1359 * BufferView_pimpl.C (fitCursor): new simplistic code
1360 (workAreaDispatch): add a fitCursor call
1362 2003-11-10 André Pönitz <poenitz@gmx.net>
1365 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1367 2003-11-10 André Pönitz <poenitz@gmx.net>
1369 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1370 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1371 indicate that the cursor needs to leave an inset
1373 * lyxtext.h: remove inset locking
1375 * cursor.[Ch]: re-implement functionality provided by inset locking
1378 * BufferView_pimpl.[Ch]:
1380 * bufferview_funcs.[Ch]:
1392 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1394 * PosIterator.[Ch]: replace the stack with a vector, add inset
1396 * iterators.[C]: adjust
1398 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1400 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1402 * paragraph_funcs.C (readParToken): put the correct id in the
1403 error item, not the id of the top paragraph
1405 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1407 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1408 * bufferview_funcs.C (put_selection_at): use the above
1410 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1412 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1414 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * output_linuxdoc.h:
1417 * output_plaintext.h:
1419 * output_docbook.h: add #include statements
1421 2003-11-05 José Matos <jamatos@lyx.org>
1423 * output_docbook.[Ch]:
1424 * output_latex.[Ch]:
1425 * output_linuxdoc.[Ch]:
1426 * output_plaintext.[Ch]: New files for output formats.
1427 * output.[Ch]: New file for helper functions.
1430 * paragraph_funcs.[Ch]: output functions moved to new files.
1432 * outputparams.h: rename of latexrunparams.h
1440 * paragraph_funcs.[Ch]:
1441 * paragraph_pimpl.[Ch]:
1442 * tabular.[Ch]: rename ascii to plaintext
1443 and LatexRunParams to OutputParams.
1445 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1447 * iterators.[Ch] (text): require bv argument
1448 * undo.C (recordUndo):
1449 * lyxfunc.C (dispatch):
1450 * bufferview_funcs.C (put_selection_at): adjust
1452 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1454 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1456 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1458 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1461 2003-11-04 André Pönitz <poenitz@gmx.net>
1463 * cursor.[Ch]: restructure
1466 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1468 * iterators.[Ch] (asCursor): remove
1470 * lfuns.h: remove LFUN_INSET_EDIT
1476 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1478 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1480 * lyxfind.[Ch]: complete overhaul
1481 * BufferView_pimpl.C:
1483 * paragraph.[Ch] (insert): add
1485 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1489 * text.C: remove dead spellcheck code
1491 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1493 * dispatchresult.h: add a val setter
1495 * cursor.C (dispatch): use a tempvar for data_[i]
1497 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1499 * PosIterator.[Ch]: compile fix
1501 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1503 * text.C (cursorPar): deactivate the cursor cache
1505 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1507 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1509 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * text3.C (dispatch): adjust for new DisptchResult semantics.
1513 * lyxfunc.C (dispatch): handle update when return from
1514 Cursor::dispatch, adjust for new DispatchResult semantics.
1516 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1517 DispatchResult(true) mean to not update. Add class functions for
1518 setting dispatched and update, as well as reading.
1520 * cursor.C (dispatch): don't handle update here
1522 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1524 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1525 * trans_mgr.C: adjust
1527 * paragraph_funcs.C (readParToken): exception safety
1529 * lyxvc.h: store the vcs pointer in a scoped_ptr
1532 * lyxsocket.C (serverCallback): exception safety
1534 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1536 * ispell.C (clone): make it return a auto_ptr
1538 * factory.C (createInset): exception safety
1539 (readInset): exception safety
1541 * bufferlist.C (newBuffer): exception safety
1543 * Thesaurus.C (Thesaurus): use initialization for aik_
1545 * MenuBackend.C (expandToc): exception safety.
1547 2003-11-03 André Pönitz <poenitz@gmx.net>
1551 * bufferview_funcs.C: remove getInsetFromId()
1554 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1560 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1562 * PosIterator.C (distance, advance): new
1563 * bufferview_funcs.[Ch] (put_selection_at): new
1564 * iterators.[Ch] (lockPath): new
1566 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1568 * iterators.[Ch] (asPosIterator): added
1569 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1570 * PosIterator.[Ch]: added
1572 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * cursor.C (dispatch):
1577 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1579 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1580 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1581 contructor, add a class function dispatched. Remove operator>=
1583 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * debug.C: only use the default constructor for debugstream
1588 * main.C (main): include debug.h and setup the lyxerr streambuf
1591 2003-10-31 José Matos <jamatos@lyx.org>
1593 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1595 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1596 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1597 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1598 * paragraph_pimpl.C (simpleTeXSpecialC):
1599 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1600 add LatexRunParams argument.
1602 * exporter.C (Export): change call accordingly.
1604 * latexrunparams.h: add new member to take care of the other backends.
1605 2003-10-30 José Matos <jamatos@lyx.org>
1607 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1608 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1609 factorise code for paragraph output.
1611 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1614 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1616 * text3.C (dispatch):
1617 * lyxfunc.C (dispatch):
1618 * cursor.C (dispatch):
1619 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1621 * dispatchresult.h: make the dispatch_result_t ctor explicit
1623 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1626 * buffer.C: small refactoring of docbook stuff
1628 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1630 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1633 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1635 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1636 operator dispatch_result_t, and operators for == != and >=
1638 * cursor.C (dispatch): adjust for operator dispatch_result_t
1639 removal. comment out call to update
1641 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1643 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1654 * dispatchresult.h: new file, DispatchResult broken out of
1657 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1659 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1661 * text.C (rowBreakPoint): put a hack inside #if 0
1663 2003-10-28 André Pönitz <poenitz@gmx.net>
1667 * paragraph_funcs.C:
1670 * text2.C: general cleanup (lots of small stuff)
1672 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1674 * text2.C (cursorEnd): simple fix to the "end key goes to one
1675 before the end on last row" bug
1677 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1679 * text.C (backspace): fix the "zombie characters"
1681 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1683 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1685 2003-10-27 André Pönitz <poenitz@gmx.net>
1687 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1689 * factory.C: handle new InsetPagebreak, InsetLine
1691 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1692 and move handling into new InsetPagebreak, InsetLine
1694 * BufferView_pimpl.C:
1696 * ParagraphParameters.C:
1697 * ParameterStruct.h:
1702 * paragraph_funcs.C:
1703 * paragraph_pimpl.C:
1709 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1712 * lyxrow_funcs.[Ch]:
1718 * text3.C: remove lastPos uses in favour of Row::endpos
1720 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1722 * undo.C (performUndoOrRedo): fix two crashes by setting a
1723 cursor by hand and reordering some calls. Use bv->lockInset instead
1724 of inset->edit because the latter loses cursor information
1726 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1728 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1730 (rowBreakPoint): fix width. change point to point + 1.
1731 Add a missing check.
1733 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1736 * lyxfunc.C: fix (at least partly) the problems
1737 with the Nav menu and headers inside branch insets
1740 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1742 * paragraph.C (getChar): add strong asserts
1744 * lyxrow_funcs.C (lastPos): remove hideous hack
1746 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1747 (fill): adjust to that (avoid an infinite loop)
1749 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1751 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1753 2003-10-23 André Pönitz <poenitz@gmx.net>
1755 * RowList_fwd.h: change list<> to vector<> to gain speed
1756 after suggestion from Alfredo
1758 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1760 * lyxtext.h: move the bidi stuff from here...
1763 * Bidi.[Ch]: ... to here
1765 2003-10-23 André Pönitz <poenitz@gmx.net>
1768 * text.C (isLastRow, isFirstRow): new functions
1770 * paragraph.h: new width cache member
1772 * rowpainter.C: replace RowList::iterator with Row & where possible
1774 * lyxfunc.C: replace several view()->text with a single call
1776 * toc.C: fix 'unused' warning
1778 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1781 when woring with stream::pos_type
1782 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1784 2003-10-22 André Pönitz <poenitz@gmx.net>
1787 * text.C: use Row & instead of RowList::iterator
1789 * lyxrow.h: rename end() to endpos()
1795 2003-10-22 Angus Leeming <leeming@lyx.org>
1797 * buffer.[Ch] (fully_loaded): new member function, returning true
1798 only when the file has been loaded fully.
1799 Used to prevent the premature generation of previews and by the
1800 citation inset to prevent computation of the natbib-style label.
1802 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1803 templates are all set up.
1805 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1807 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1809 * text.C: fixed an "oops" in the "is a bit silly"
1812 2003-10-21 André Pönitz <poenitz@gmx.net>
1814 * FuncStatus.[Ch]: small stuff, whitespace
1816 * lyxfont.[Ch]: operator<<() for debug reasons
1820 * lyxtext.h: whitespace, spelling
1822 * paragraph.C: naming of variables
1825 * text2.C: small stuff
1828 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1830 * text.C: (1) finish off the inset display() work;
1831 (2) fix the "is a bit silly" bug (accessing char
1834 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1836 * text.C: re-introduce display() for insets, fixing the
1837 various bugs (stretch of line above, math inset
1840 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 * text.C (rightMargin): remove spurious semicolon
1844 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1847 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1849 * text3.C: fix one crash due to wrong cursor def
1851 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1853 * vc-backend.C (scanMaster): make the regex static
1855 * LaTeX.C (scanAuxFile): make the regexs static
1857 * text3.C (doInsertInset, dispatch, dispatch):
1858 * text2.C (cursorUp, cursorDown):
1859 * text.C (selectNextWordToSpellcheck):
1860 * BufferView_pimpl.C (dispatch):
1861 * lyxfunc.C (dispatch): localDispatch -> dispatch
1863 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * lyxsocket.C: include <cerrno>
1867 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * lyxfunc.C (dispatch): remove textcache stuff
1871 * bufferlist.C (release): remove textcache stuff
1874 * TextCache.C: delete file
1875 * TextCache.h: delete file
1877 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1879 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1880 delete of the bv_->text.
1881 (resizeCurrentBuffer): remove texcache stuff
1882 (workAreaResize): ditto
1884 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1889 2003-10-16 André Pönitz <poenitz@gmx.net>
1896 * text3.C: speed up by storing y positions per paragraph plus per-row
1897 offset instead of having a 'full' y position in the row.
1899 2003-10-15 André Pönitz <poenitz@gmx.net>
1903 * undo.[Ch]: make undo aware of inner insets
1905 2003-10-14 Angus Leeming <leeming@lyx.org>
1907 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1908 static member functions LyX::ref() and LyX::cref.
1909 (lastfiles): new accessor functions for the new lastfiles_ member var.
1910 (addLyXView, views_): add a new LyXView to the list of views_.
1911 (updateInset): loop over all LyXViews to call their own updateInset
1912 member function, returning a pointer to the Buffer owning the inset.
1914 * BufferView_pimpl.C (loadLyXFile):
1915 * MenuBackend.C (expandLastfiles):
1916 * bufferlist.C (MenuWrite, QuitLyX):
1917 lastfiles is no longer a global variable.
1918 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1920 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1921 static function. Access through LyX::cref().emergencyCleanup().
1923 2003-10-14 André Pönitz <poenitz@gmx.net>
1925 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1927 * undo.[Ch]: restoring part of 'undo in insets'
1930 * undo_funcs.[Ch]: merge with undo.[Ch]
1932 * tabular.C: small cleansing stuff
1934 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1936 * paragraph_funcs.C (readParToken): report unknown insets as error
1937 boxes. Use the outer paragraph as location (also for unknown
1940 * factory.C (readInset): do not abort on reading an unknown inset.
1941 Eat it and return 0.
1943 2003-10-13 Angus Leeming <leeming@lyx.org>
1945 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1947 * lyxrc.C: displayTranslator is now a function,
1948 declared in GraphicsTypes.h.
1950 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1952 * format.C: new placeholder $$a to pass the socket address.
1954 * bufferlist.[Ch]: new function getBufferFromTmp.
1956 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1957 files in the temporary dir.
1959 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1961 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1963 * Makefile.am: add lyxsocket.[Ch].
1965 * lyx_main.C (error_handler): handle SIGPIPE.
1967 2003-10-13 André Pönitz <poenitz@gmx.net>
1969 * BufferView_pimpl.C:
1974 * undo_funcs.[Ch]: use paroffset_type instead of
1975 ParagraphList::iterators to prevent multiple conversion
1976 (and get a more robust interface)
1978 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1982 * text3.C (dispatch): ditto
1984 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1987 move the onlyfile, use onlyfile instead of foundfile in a couple
1990 * DepTable.C (update): flush the error stream a bit more
1992 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * lyxserver.C (callback): adjust
1996 * lyxfunc.C (getStatus): add a missing brace in commented code
1997 (ensureBufferClean): reindent
1998 (dispatch): delete version taking a string
2000 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * LaTeX.C (deplog): move found file handlig from here...
2003 (handleFoundFile): .. to new function here.
2004 (deplog): make sure to discover several files mentioned on the
2007 2003-10-10 André Pönitz <poenitz@gmx.net>
2014 * text3.C: fix some of the tabular crashes
2016 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2018 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2020 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2022 2003-10-09 André Pönitz <poenitz@gmx.net>
2024 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2027 * BufferView_pimpl.C:
2028 * bufferview_funcs.C:
2039 * undo_funcs.C: adjust
2041 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * text2.C (incrementItemDepth): new function, use a backtracking
2044 algorithm to discover the correct item depth.
2045 (resetEnumCounterIfNeeded): new function, use a backtracking
2046 algorithm to discover if counter reset is needed.
2047 (setCounter): use them. Simplify a bit. Add different labels for
2048 different item depths for itemize.
2050 * paragraph.C (Paragraph): remove initialization of enumdepth
2053 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2054 enumerate and itemize. Change the type of itemdepth to signed char.
2056 2003-10-08 André Pönitz <poenitz@gmx.net>
2058 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2063 * tabular.[Ch]: fix crash after 'row-insert'
2065 2003-10-08 Angus Leeming <leeming@lyx.org>
2067 Fix doxygen warnings.
2069 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2070 Remove CutAndPaste:: prefix from header file declaration.
2072 * LColor.h (fill): remove LColor:: prefix from declaration.
2074 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2075 use lyx::depth_type rather than Paragraph::depth_type so that
2076 header file and .C file match.
2078 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2080 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2081 * aspell.C: \file aspell_local.C -> \file aspell.C
2082 * gettext.C: \file gettext.C -> \file src/gettext.C
2083 * gettext.h: \file gettext.h -> \file src/gettext.h
2084 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2085 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2086 * text.C: \file text.C -> \file src/text.C
2088 * toc.C: move comment so that doxygen is not confused.
2090 2003-10-07 Angus Leeming <leeming@lyx.org>
2092 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2094 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2097 * aspell_local.h: add forgotten std::string's.
2099 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2106 * text3.C: The Box patch. Fancybox support, minipage, parbox
2108 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2114 * ParagraphParameters.h:
2124 * lyxtextclasslist.h:
2127 * paragraph_pimpl.C:
2128 * textcursor.h: add <string> and other small fixes to make Lars'
2129 std::string patch compile with STLport.
2131 2003-10-06 Angus Leeming <leeming@lyx.org>
2133 * LColor.h: Add missing #include <string>.
2135 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * All most all file in all subdirs: Make <string> be the prefered
2138 way of getting to std::string, add using declarations.
2140 2003-10-06 André Pönitz <poenitz@gmx.net>
2142 * metricsinfo.C: initialize LyXFont before changing attribute.
2143 (fixes the 'math in \emph is upright' bug)
2145 2003-10-06 André Pönitz <poenitz@gmx.net>
2147 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2149 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2152 * paragraph_pimpl.C: Small fixes to build using STLport
2154 2003-10-02 André Pönitz <poenitz@gmx.net>
2157 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2159 2003-10-01 André Pönitz <poenitz@gmx.net>
2161 * factory.C: assert early
2163 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * lyx_main.C: remove the global debug object
2167 * debug.h: adjust for new debugstream
2169 * debug.C: adjust for new debugstream and keep the global debug
2172 2003-09-22 Angus Leeming <leeming@lyx.org>
2174 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2175 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2176 an incomplete class LyXFont.
2178 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2180 * factory.C: bug fix in branches
2182 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * lyxfunc.C (processKeySym): adjust
2186 (dispatch): change arg name from ev to func, adjust
2187 (sendDispatchMessage): ditto
2189 * lyx_main.C (defaultKeyBindings): adjust keybindings
2190 (deadKeyBindings): ditto
2192 * kbsequence.C (addkey): return a FuncRequest
2194 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2196 * kbmap.C (bind): take a FuncRequest as arg, adjust
2199 (defkey): change to take a FuncRequest as arg, adjust
2200 (findbinding): take a FuncRequest as arg, adjust.
2202 * funcrequest.h (operator=): added
2204 * funcrequest.C (FuncRequest): default kb_action changed from
2205 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2207 * buffer.C (dispatch): simplify
2208 (dispatch): adjust to take a FuncRequest as arg, adjust
2210 * boost.C (assertion_failed): change assertion message slightly
2212 * ToolbarBackend.C (read): simplify
2214 * MenuBackend.C (binding): adjust call to findbinding, add a
2215 message if no binding is found.
2217 (expandToc): correct by adding a empty FuncRequest
2219 * LyXAction.C: include <boost/assert.hpp>
2220 (isPseudoAction): delete function
2221 (LookupFunc): change name to...
2222 (lookupFunc): this. change return type to FuncRequest.
2223 (getActionName): take kb_action as arg, simplify
2224 (funcHasFlag): add an assert, simplify.
2226 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * toc.C (action): return a FuncRequest, simplify
2230 * lyxfunc.C (processKeySym): adjust
2231 (getStatus): delete version that takes an int.
2233 (dispatch): delete version that takes action as int
2235 (sendDispatchMessage): simplify and adjust
2237 * funcrequest.C (getArg): take unsigned int as arg
2239 * ToolbarBackend.C (read): adjust
2240 (add): delete version that takes func as a string.
2241 (getIton): take a FuncRequest as arg
2243 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2246 * MenuBackend.C (MenuItem): add a new construct that only takes a
2247 Kind, simplify the constructor use for submenus.
2249 (expandLastfiles): adjust
2250 (expandDocuments): adjust
2251 (expandFormats): adjust
2252 (expandFloatListInsert): adjust
2253 (expandFloatInsert): adjust
2254 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2256 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2257 Remove class variables lyx_pseudo_map and lyx_arg_map
2259 * LyXAction.C (searchActionArg): delete function
2260 (getPseudoAction): delete function
2261 (retrieveActionArg): delete function
2262 (LookupFunc): make it return kb_action, simplify.
2263 (getActionName): simplify
2265 * factory.C (createInset): fix new bug
2267 2003-09-19 Angus Leeming <leeming@lyx.org>
2269 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2270 masterFilename_ parameter in the include inset.
2272 * factory.C (createInset): changes due to the changes to InsetInclude.
2274 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2276 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2278 2003-09-18 Angus Leeming <leeming@lyx.org>
2281 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2282 Inset::fillWithBibKeys.
2283 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2285 2003-09-18 Angus Leeming <leeming@lyx.org>
2287 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2289 (ctor): pass and store a 'Buffer const &'
2290 (buffer): new member function.
2292 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2293 '*this' to the LaTeXFeatures ctor.
2295 2003-09-18 Angus Leeming <leeming@lyx.org>
2301 * text.C: rename EnumLColor as LColor_color.
2303 2003-09-18 Angus Leeming <leeming@lyx.org>
2305 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2306 remove #include "insets/insetbase.h" from cursor.h.
2308 2003-09-18 Angus Leeming <leeming@lyx.org>
2310 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2311 InsetOld_code to remove #include "inset.h".
2313 * iterators.C: add #include "insets/inset.h"
2315 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2317 * BufferView.C: remove more locking stuff that apparently doesn't
2318 do anything sensible.
2320 2003-09-16 André Pönitz <poenitz@gmx.net>
2323 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2326 2003-09-16 Angus Leeming <leeming@lyx.org>
2328 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2330 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2333 * paragraph.h: remove #include "lyxfont.h". Forward declare
2336 2003-09-16 Angus Leeming <leeming@lyx.org>
2338 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2339 of support/textutils.h.
2340 (isWord): move the contents of support/textutils.h's IsWordChar here.
2346 * text2.C: add #include "paragraph.h".
2349 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2351 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * LaTeX.C: use namespace alias for lyx::support::os
2359 2003-09-16 Angus Leeming <leeming@lyx.org>
2362 * bufferview_funcs.C:
2365 * paragraph_pimpl.C:
2367 * text.C: add #include "LColor.h".
2369 2003-09-16 Angus Leeming <leeming@lyx.org>
2371 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2372 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2374 Store the FontBits::color variable as an int rather than as an
2375 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2378 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2379 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2380 string calls together.
2382 * lyxrc.C: add #include "LColor.h".
2384 2003-09-15 Angus Leeming <leeming@lyx.org>
2386 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2389 2003-09-15 Angus Leeming <leeming@lyx.org>
2391 * LColor.h: add an EnumLColor wrapper for LColor::color.
2393 * lyxfont.[Ch] (color, setColor, realColor):
2394 * lyxtext.h, text.C (backgroundColor):
2395 pass EnumLColor args to/from the functions, rather than LColor::color
2399 * lyxtext.h: forward declare EnumLColor.
2401 * lyx_main.C: add #include "LColor.h".
2403 2003-09-15 Angus Leeming <leeming@lyx.org>
2405 * .cvsignore: add lyx-gtk.
2407 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * ParagraphParameters.C
2416 * bufferview_funcs.C
2426 * vc-backend.C: remove usage of STRCONV
2428 2003-09-15 Angus Leeming <leeming@lyx.org>
2430 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2431 explicitly define the color passed to the painter.
2433 2003-09-15 Angus Leeming <leeming@lyx.org>
2435 * bufferparams.C (BufferParams): reorder member initializers to avoid
2438 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2440 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2441 * text.C (updateRowPositions): remove an unusual nop
2443 2003-09-12 André Pönitz <poenitz@gmx.net>
2445 * BufferView_pimpl.C:
2454 * Counters.[Ch]: finish the 'automatic counters' job
2456 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2458 * aspell.C: include <boost/assert.cpp> (compile fix)
2460 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2462 * boost.C (assertion_failed): use lyx::support::abort instead of
2465 2003-09-10 Angus Leeming <leeming@lyx.org>
2467 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2468 with their _fwd progeny.
2470 2003-09-09 Angus Leeming <leeming@lyx.org>
2472 134 files throughtout the source tree: replace 'using namespace abc;'
2473 directives with the appropriate 'using abc::xyz;' declarations.
2475 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2477 * boost.C (emergencyCleanup): moved here from LAssert.c
2478 (assertion_failed): new function, called by BOOST_ASSERT
2480 * several files: change Assert to BOOST_ASSERT
2482 2003-09-09 Angus Leeming <leeming@lyx.org>
2484 * buffer.[Ch]: Add an Impl class and move Buffer's member
2485 variables into it. As a result move several header files out of
2488 Add header files to lots of .C files all over the tree as a result.
2490 2003-09-09 Angus Leeming <leeming@lyx.org>
2492 * buffer.[Ch]: make Buffer's member variables private. Add
2495 Lots of changes all over the tree as a result.
2497 2003-09-08 Angus Leeming <leeming@lyx.org>
2499 * graph.C: #include <config.h>.
2501 2003-09-08 Angus Leeming <leeming@lyx.org>
2505 * BufferView_pimpl.C:
2534 * toc.C: remove redundant using directives.
2536 2003-09-07 Angus Leeming <leeming@lyx.org>
2538 * LaTeXFeatures.h: remove #include "support/types.h".
2539 * ToolbarBackend.h: remove #include <algorithm>.
2540 * changes.h: remove #include <ctime>.
2541 * debug.h: remove #include <iosfwd>.
2542 * graph.h: remove #include "support/std_string.h".
2543 * lyx_main.h: remove #include <csignal>.
2544 * lyxlex_pimpl.h: remove #include <fstream>.
2545 * sgml.h: remove #include <algorithm>, <utility>.
2546 * toc.h: remove #include "support/std_ostream.h".
2547 Add #include <iosfwd>.
2549 2003-09-07 Angus Leeming <leeming@lyx.org>
2551 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2553 * converter.h: forward declare LatexRunParams.
2554 * encoding.h: remove #include "lyxrc.h".
2555 * lyxtext.h: remove #include "LColor.h".
2556 * lyxtextclass.h: remove #include "support/types.h".
2557 * trans.h: remove #include "tex-accent.h".
2558 * trans_mgr.h: remove #include "tex-accent.h".
2559 * insets/inset.h: remove #include "support/types.h", <vector>.
2560 * insets/insetcollapsable.h: remove #include "LColor.h".
2561 * insets/insetinclude.h: remove #include "dimension.h".
2562 * insets/insetlatexaccent.h: remove #include "dimension.h".
2563 * insets/insetoptarg.h:: remove #include "insettext.h".
2564 * insets/insettext.h: remove #include "dimension.h",
2565 <boost/shared_ptr.hpp>
2567 * insets/renderers.h: add #include "dimension.h".
2568 * insets/updatableinset.h: add #include "support/types.h".
2570 * many .C files: Associated changes.
2572 2003-09-06 Angus Leeming <leeming@lyx.org>
2574 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2575 one, inside testInvariant.
2577 * PrinterParams.C: new file.
2578 * PrinterParams.[Ch]: move the function bodies out of line.
2580 2003-09-06 Angus Leeming <leeming@lyx.org>
2582 * ParagraphParameters.h: forward declare ParameterStruct rather than
2583 including its header file.
2584 (depth): moved out-of-line.
2586 2003-09-06 Angus Leeming <leeming@lyx.org>
2588 * BufferView_pimpl.h:
2591 * lyxfunc.h: forward declare LyXKeySym rather than
2592 #include "frontends/LyXKeySym.h".
2594 * BufferView_pimpl.C:
2597 * lyxfunc.C: associated changes.
2599 2003-09-06 Angus Leeming <leeming@lyx.org>
2601 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2602 As a result, can remove the #include "insets/inset.h" from BufferView.h
2604 2003-09-06 Angus Leeming <leeming@lyx.org>
2606 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2607 As a result, can remove the #include "insets/inset.h" from BufferView.h
2609 2003-09-06 Angus Leeming <leeming@lyx.org>
2615 * bufferview_funcs.C:
2616 * BufferView_pimpl.C:
2621 * ParagraphParameters.C:
2626 * frontends/controllers/ControlDocument.C:
2627 * insets/insetcaption.C: rearrange the #includes into some sort of
2630 * buffer.h: remove #includes ErrorList.h, undo.h
2632 2003-09-06 Angus Leeming <leeming@lyx.org>
2634 * support/types.h: add a 'depth_type' typedef, used to store the
2635 nesting depth of a paragraph.
2638 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2639 defining explicitly.
2642 * paragraph_funcs.h:
2643 * ParagraphParameters.h:
2644 * sgml.h: use lyx::depth_type rather than Paragraph or
2645 ParameterStruct's depth_type.
2648 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2651 * BufferView_pimpl.C:
2653 * ParagraphParameters.C:
2656 * bufferview_funcs.C:
2663 * frontends/LyXView.C:
2664 * frontends/controllers/ControlDocument.C:
2665 * frontends/controllers/ControlErrorList.C:
2666 * insets/insetbibitem.C:
2667 * insets/insetbranch.C:
2668 * insets/insetcaption.C:
2669 * insets/insetcollapsable.C:
2670 * insets/insetenv.C:
2671 * insets/insetert.C:
2672 * insets/insetfloat.C:
2673 * insets/insetfoot.C:
2674 * insets/insetfootlike.C:
2675 * insets/insetnewline.C:
2676 * insets/insetquotes.C:
2677 * insets/insettabular.C:
2678 * insets/insettext.C:
2679 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2681 * frontends/controllers/ControlChanges.C: #include "changes.h".
2683 2003-09-06 Angus Leeming <leeming@lyx.org>
2685 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2686 than #including paragraph.h.
2689 * RowList.h: deleted. Superfluous.
2699 * insets/insettext.h: use ParagraphList_fwd.h rather than
2702 * paragraph.h: don't forward declare ParagraphList.
2705 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2706 rather than ParagraphList.h. paragraph.h is still needed for the
2707 Paragraph::depth_type parameters.
2709 * textcursor.h: enable it to compile stand-alone in light of the
2712 * bufferview_funcs.C:
2724 * frontends/controllers/ControlParagraph.C:
2725 * frontends/controllers/ControlTabular.C:
2726 * insets/insetmarginal.C:
2727 * insets/insetminipage.C:
2728 * insets/insetnote.C:
2729 * insets/insetoptarg.C: add header files needed to compile again.
2731 2003-09-06 Angus Leeming <leeming@lyx.org>
2733 * RowList_fwd.h: new file, forward-declaring Row rather than
2734 #including lyxrow.h.
2739 * insets/insettext.h: use it instead of RowList.h
2741 * bufferview_funcs.C:
2748 * text3.C: #include "RowList.h".
2750 2003-09-05 Angus Leeming <leeming@lyx.org>
2752 * factory.C (createInset):
2753 * vspace.C (c-tor): replace sscanf call with an istringstream.
2754 * ispell.C: re-add missing HP/UX headers.
2755 * lyxserver.C: re-add missing os2 headers.
2757 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2766 * text3.C: re-add missing system headers, needed for 2.95.2.
2768 2003-09-05 Angus Leeming <leeming@lyx.org>
2770 Changes most place everywhere due to the removal of using directives
2771 from support/std_sstream.h.
2773 2003-09-05 Angus Leeming <leeming@lyx.org>
2775 Replace LString.h with support/std_string.h,
2776 Lsstream.h with support/std_sstream.h,
2777 support/LIstream.h with support/std_istream.h,
2778 support/LOstream.h with support/std_ostream.h.
2780 Changes resulting throughout the tree.
2782 2003-09-05 Angus Leeming <leeming@lyx.org>
2784 * sgml.h: ensure that the header file can be compiled stand-alone.
2785 * *.C: strip out redundant #includes. (320 in total.)
2787 2003-09-04 Angus Leeming <leeming@lyx.org>
2789 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2790 here (from getPackages).
2792 * debug.[Ch]: add a new EXTERNAL tag.
2794 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2796 * text2.C (cursorEnd): simplify
2798 (getColumnNearX): adjust
2800 * text.C (computeBidiTables): adjust
2803 * rowpainter.C (paintChars): adjust
2804 (paintSelection): adjust
2805 (paintChangeBar): adjust
2808 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2810 (numberOfSeparators): adjust
2812 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2818 * text3.C: Restricts the mouse click functionality
2819 of insets like bibtex, include, toc and floatlist to the visible
2820 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2821 up the dialogs. Cursor has to be in front of the inset (i.e.
2822 start of row) for this to function.
2824 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2826 * bufferview_funcs.C (currentState): output row information
2828 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2830 * bufferview_funcs.C (currentState): output paragraph position
2832 2003-09-04 Angus Leeming <leeming@lyx.org>
2834 * FloatList.h: move out #include "Floating.h".
2835 * LaTeX.h: move out #include "DepTable.h".
2836 * LyXAction.h: move out #include "funcrequest.h".
2837 * buffer.h: move out #include "author.h", "iterators.h".
2838 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2839 * lyx_main.h: move out #include "errorlist.h".
2840 * lyxfunc.h: move out #include "FuncStatus.h".
2841 * lyxtext: move out #include "lyxcursor.h".
2842 * paragraph_pimpl.h: move out #include "counters.h".
2844 2003-09-03 Angus Leeming <leeming@lyx.org>
2846 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2847 preamble_snippets list, enabling us to add snippets to the preamble
2848 only if the snippet was not there already.
2850 2003-09-04 Angus Leeming <leeming@lyx.org>
2852 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2854 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2859 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2861 * BranchList.C: point fix, earlier forgotten
2863 2003-09-02 Angus Leeming <leeming@lyx.org>
2865 * box.C (contains): renamed from 'contained' after a fantastic
2868 2003-09-02 John Levon <levon@movementarian.org>
2874 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2876 2003-09-02 John Levon <levon@movementarian.org>
2878 * text2.C: simplification of cursorEnd(), including partial
2881 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * buffer.C (readFile): add a space
2885 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2887 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2889 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * buffer.C (readFile): new function, take a filename and a
2892 ParagraphList::iterator
2894 (readFile): adjust, make it private. don't use setStream, make
2895 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2896 always contain the filename.
2898 * BufferView.C (insertLyXFile): simplify and make it work for
2901 2003-08-30 John Levon <levon@movementarian.org>
2903 * Makefile.am: fix dist (from Kayvan)
2905 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * most files: change to use const Buffer refs
2909 2003-08-27 André Pönitz <poenitz@gmx.net>
2911 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2912 on top of ownerPar().
2914 2003-08-27 John Levon <levon@movementarian.org>
2916 * funcrequest.C: properly initialise POD members
2918 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2920 * lyxtext.h (top_y): move top_y from here
2925 * BufferView_pimpl.[Ch]: to here
2926 * frontends/screen.C:
2927 * insets/insettabular.C:
2928 * insets/insettext.C: adjust
2929 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2931 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2934 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2936 2003-08-26 André Pönitz <poenitz@gmx.net>
2938 * paragraph_func.[Ch] (outerPar): new function
2941 * paragraph_funcs.C:
2942 * paragraph_funcs.h:
2943 * paragraph_pimpl.C:
2944 * text2.C: remove Inset::par_owner
2946 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2951 * text2.C: eliminates the needFullRow/display() stuff
2952 altogether, putting the logic in metrics/draw in the insets.
2954 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2956 * text2.C (redoParagraphInternal, redoParagraphs):
2957 * text.C (redoParagraph): add a call to updateRowPositions at the
2958 end of each 'metrics-like' call. Remove all others.
2959 (getRow): remove the 'y-computing' version.
2960 (getRowNearY): do not compute nor return the real y. Solve the
2961 'y < 0' problem and simplify.
2963 2003-08-22 Angus Leeming <leeming@lyx.org>
2965 * *.[Ch]: clean-up of licence and author blurbs.
2966 Also move config.h out of a few .h files and into a few .C files.
2968 2003-08-22 André Pönitz <poenitz@gmx.net>
2970 * lyxrow.[Ch]: add x_ and *fill_ members
2975 * text2.C: adjust/remove prepareToPrint() calls
2977 2003-08-22 André Pönitz <poenitz@gmx.net>
2979 * lyxrow.[Ch]: add end_ member
2981 * lyxrow_funcs.C: use LyXRow::end_
2983 * lyxtext.h (singleWidth): add LyXFont parameter
2986 * text2.C: adjust LyXText::singleWidth() calls
2988 * text.C (redoParagraph): simplify row breaking logic
2991 2003-08-19 André Pönitz <poenitz@gmx.net>
2993 * funcrequest.C: initialize button_ member
2996 * rowpainter.[Ch]: interface consolidation
2998 2003-08-18 André Pönitz <poenitz@gmx.net>
3001 * BufferView_pimpl.C:
3003 * paragraph_funcs.C:
3005 * text3.C: remove LyXScreen::draw() and fitCursor calls
3007 * BranchList.h: remove spurious semicolons
3009 * MenuBackend.C: fix branchlist related crash
3011 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3019 * bufferparams.[Ch]:
3023 * text3.C: implements the 'branch inset'
3024 idea. This allows the output of various versions of a document
3025 from a single source version, selectively outputing or suppressing
3026 output of parts of the text.
3027 This implementation contains a 'branch list editor' in a separate
3028 tab of the document settings dialog. Branches are user definable
3029 and have a "display colour" to distinguish them on-screen.
3031 ColorHandler was somewhat cleaned up.
3032 (1) make possible a dynamically growing LColor list by allowing
3033 the graphic context cache to grow along (vector);
3034 (2) eliminate an IMHO unnecessary step in colour allocation.
3036 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3038 * BufferView_pimpl.C: compile fix
3040 2003-08-15 André Pönitz <poenitz@gmx.net>
3042 * rowpainter.C: remove extra metrics calls
3044 * lyxtext.h: merge the two constructors into a single one,
3045 pass reference to owner's par list
3047 * BufferView_pimpl.C:
3051 2003-08-15 André Pönitz <poenitz@gmx.net>
3053 * lyxrow_funcs.[Ch]:
3056 * paragraph_funcs.C:
3061 * text_funcs.C: split LyXText::rowlist_ into individual
3062 Paragraph::rows_ chunks
3065 * BufferView_pimpl.[Ch]:
3068 * text3.C: remove toggleSelection()
3070 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3072 * bufferlist.C: beautify two alerts (shorter text of buttons)
3073 * buffer.C: Remove redundant ' ' from message
3075 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3076 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3077 rename VALIGN_CENTER to VALIGN_MIDDLE
3079 2003-08-11 André Pönitz <poenitz@gmx.net>
3081 * lyxtext.h (getPar):
3082 * text.C: new function
3084 2003-08-11 André Pönitz <poenitz@gmx.net>
3087 * tracer.[Ch]: remove unneeded files
3089 * InsetList.[Ch]: remove resizeInsetsLyXText()
3094 * text3.C: merge insertParagraphs() and appendParagraph()
3095 remove breakAgain(), update()
3097 * BufferView_pimpl.[Ch]:
3098 * bufferview_funcs.[Ch]:
3102 * tabular.C: adjust after text & InsetList changes.
3104 2003-08-08 André Pönitz <poenitz@gmx.net>
3106 * text.C (insertChar, backspace): replace rowlist fiddling
3107 with rebreak of full par
3110 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3111 checkParagraph, updateInset): removed
3113 2003-08-07 André Pönitz <poenitz@gmx.net>
3116 * text3.C: merge some LFUN handlers, remove dead code
3118 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3120 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3122 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3124 * text2.C (DEPM): fix part of bug 1255 and 1256
3126 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * BufferView_pimpl.C (workAreaDispatch): change to use
3129 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3130 that are no mouse related.
3132 2003-08-05 André Pönitz <poenitz@gmx.net>
3135 * BufferView_pimpl.[Ch]:
3136 * bufferview_funcs.C:
3138 * text3.C: rip out "deep update"
3140 * textcursor.[Ch] (last_sel_cursor): remove unused member
3142 2003-08-04 André Pönitz <poenitz@gmx.net>
3145 * BufferView_pimpl.[Ch]:
3146 * ParagraphParameters.C:
3147 * bufferview_funcs.C:
3153 * text3.C: replace "complicated" BufferView::update(...) calls with
3156 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3158 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3160 * Makefile.am (lyx_SOURCES): add paper.h
3162 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3164 * Makefile.am: move things around so that both lyx-qt and
3165 lyx-xforms can be built (according to --with-frontend). Then lyx
3166 is a symbolic link to lyx-[firstfrontend]
3168 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3170 * Always use std::endl with lyxerr
3172 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3174 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3176 2003-08-01 André Pönitz <poenitz@gmx.net>
3179 * BufferView_pimpl.[Ch]:
3181 * text3.C: merge BufferView::repaint() and BufferView::update()
3183 2003-08-01 José Matos <jamatos@lyx.org>
3185 * buffer.[Ch]: file_format is no longer a buffer data element.
3187 2003-08-01 André Pönitz <poenitz@gmx.net>
3192 * text2.C: make redoParagraph more independent of current cursor
3194 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3196 * text2.C: remove unneeded members
3198 2003-07-30 André Pönitz <poenitz@gmx.net>
3200 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3202 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3203 create a single function...
3205 * paragraph_funcs.C (moveItem): ... here.
3208 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3210 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3212 * LColor.[Ch]: Add comment and greyedout logical colors.
3214 2003-07-30 André Pönitz <poenitz@gmx.net>
3216 * tabular.C: don't use Assert too heavily. This crashes where it
3219 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3221 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3222 is disabled (bug 1232)
3224 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3226 * factory.C: limited 'arg' scope
3228 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3230 * factory.C: fixed Note submenu issues
3232 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3234 * factory.C: submenu for Note/Comment/Greyedout
3236 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3239 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3241 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3244 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3245 greyedout. Patch provided by Jürgen Spitzmüller.
3247 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3249 * kbmap.C (read): fix error message when reading bind files
3251 2003-07-29 Angus Leeming <leeming@lyx.org>
3253 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3254 certainly does not do what it purports to do. I am doing it, and
3255 us, a favour by killing it.
3257 2003-07-28 José Matos <jamatos@lyx.org>
3259 * buffer.C (readBody, do_writeFile):
3260 * paragraph.C(readParagraph): \end_document replaces \the_end.
3262 2003-07-29 André Pönitz <poenitz@gmx.net>
3265 * BufferView_pimpl.[Ch]:
3269 * textcursor.[Ch]: remove toggleToggle & Co
3271 2003-07-28 José Matos <jamatos@fep.up.pt>
3273 * buffer.C (readParagraph):
3274 * params_func (readParToken, readParagraph):
3275 * paragraph.C (write): \layout -> \begin_layout.
3277 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * lyxlex_pimpl.C (setFile): clean up slightly.
3281 * bufferparams.h: add compressed var
3283 * buffer_funcs.C (readFile): adjust for LyXLex change
3284 (newFile): ditto + simplify
3286 * buffer.C (writeFile): handle writing of compressed files
3288 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3289 Check if the file is compressed and set a bufferparm if so.
3291 * Makefile.am (lyx_LDADD): remove explicit -lz
3293 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3295 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3296 makeDocBookFile): put the real LyX version in the first line of
3300 * version.C.in: remove lyx_docversion
3302 * tabular.C (write_attribute): add a template-based version to
3303 write enums properly
3305 2003-07-28 André Pönitz <poenitz@gmx.net>
3310 * text3.C: use doubles again for x-coordinates. They are needed.
3312 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * messages.C (getLocaleDir): use lyx_localedir()
3316 * lyxlex_pimpl.C (setFile): compress stuff
3318 * buffer.C (writeFile): add some compression stuff
3319 (do_writeFile): new func, dont call expliti close... will this
3322 * Makefile.am (lyx_LDADD): add -lz
3324 2003-07-28 José Matos <jamatos@fep.up.pt>
3326 * buffer.C: increment file format.
3327 * paragraph_funcs (readParagraph, readParToken):
3328 * paragraph.C (readParagraph): add \end_layout.
3330 2003-07-27 Angus Leeming <leeming@lyx.org>
3332 * Makefile.am: remove special casing for configure-time setting of
3333 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3335 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3336 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3338 2003-07-26 André Pönitz <poenitz@gmx.net>
3340 * paragraph_func.[Ch]:
3341 * paragraph.C (realizeFont): inline it whereever it is used
3346 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3349 2003-07-26 André Pönitz <poenitz@gmx.net>
3353 * text2.C: get rid of LyXText::need_break_row
3355 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * toc.[Ch]: put namespace toc inside namespace lyx
3359 * MenuBackend.C (expandToc2): adjust for lyx::toc
3362 * lyxfunc.C (dispatch): adjust for lyx::find
3364 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3365 lyx::find instead. Reorganize a bit.
3366 (LyXReplace): rename to replace
3367 (LyXFind): rename to find
3369 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3372 2003-07-26 André Pönitz <poenitz@gmx.net>
3374 * text.C (setHeightOfRow): restrict scope of temporary variable
3376 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3377 code (never has been used?)
3379 2003-07-27 Asger Alstrup <alstrup@local>
3381 * text.C (fill): Optimise algorithm to exploit that we can reuse
3382 the LyXFont for many characters.
3383 (setHeightOfRow): Same thing.
3384 (rowBreakPoint): Same thing.
3386 2003-07-26 Asger Alstrup <alstrup@local>
3388 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3390 * text.C (singleWidth): Spurious font copying in hot-spot
3391 singleWidth avoided. Reorder tests for arabic for efficiency.
3393 * text.C (fill): handle empty paragraphs better.
3395 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3398 * encoding.h: add includes
3400 * lyxrc.C: remove reading of bind files
3402 * lyx_main.C (init): setup bindings and menus only if we have a
3405 * kbmap.C (read): new method. Do the actual reading of bind
3408 * converter.C (dvipdfm_options):
3411 (output): adapt PAPER_* enums.
3413 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3415 * bufferparams.h: remove paper-related enums from there
3417 * paper.h: New file. A trivial header file to hold paper-related
3418 enums. It should later expand to contain many paper-related
3421 * lyxrc.C: declare extern displayTranslator
3423 2003-07-27 José Matos <jamatos@fep.up.pt>
3425 * tabular.[Ch] (linuxdoc): add support for tables and figures
3428 2003-07-27 José Matos <jamatos@fep.up.pt>
3430 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3431 consistency in both functions.
3432 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3434 2003-07-26 Asger Alstrup <alstrup@local>
3436 * rowpainter.C (paintRows): Change algorithm to work directly on
3437 the insets rather than asking every character in the document
3438 whether its an inset.
3440 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3442 * buffer.C (openFileWrite): factorize some code
3444 2003-07-26 Angus Leeming <leeming@lyx.org>
3447 * lyx_main.[Ch]: replace occurances of system_tempdir with
3450 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * rename Inset to InsetOld
3454 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3456 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3457 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3458 which I think is a bit clearer. EDIT is gone, since it was
3459 premature optimisation, and broken for mathed anyway.
3460 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3461 with cursor positioning in insets as well (math insets still do not
3462 work, but that's a different story anyway.) It mysteriously
3463 crashes sometimes with undo in the first paragraph, but I'm fairly
3464 confident that this is a compiler bug.
3466 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3468 * paragraph.C (Paragraph): adjust for new clone return type
3470 (copyIntoMinibuffer): ditto
3472 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3474 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3475 by not having a special case, and always doing a full rebreak of
3476 the document after undo.
3478 2003-07-23 Angus Leeming <leeming@lyx.org>
3480 * factory.C (createInset): InsetExternal::setParams now takes a
3483 2003-07-23 Angus Leeming <leeming@lyx.org>
3485 * factory.C (createInset): changed interface to the external and
3486 graphics mailers' string2params functions.
3488 2003-07-23 Angus Leeming <leeming@lyx.org>
3490 * factory.C (createInset): pass a
3491 Buffer const * parameter to InsetExternalMailer's string2params.
3493 2003-07-22 John Levon <levon@movementarian.org>
3495 * Thesaurus.h: include the right aiksaurus header
3497 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3499 * MenuBackend.C (expand): check menu shortcuts unconditionally
3501 2003-07-21 Angus Leeming <leeming@lyx.org>
3503 * factory.C (createInset): pass a
3504 buffer_path parameter to InsetGraphicsMailer's string2params.
3506 2003-07-21 Angus Leeming <leeming@lyx.org>
3508 * BufferView_pimpl.C (buffer):
3511 * lyxfunc.C (dispatch):
3512 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3513 rather than the grfx shortcut.
3515 2003-07-21 André Pönitz <poenitz@gmx.net>
3517 * rowpainter.C: remove unused variables
3520 * tabular_funcs.h: move to tabular.C
3521 * Makefile.am: adjust
3523 * tabular.[Ch]: basic optical cleaning
3525 * author.h: pass references, not values
3527 2003-07-18 André Pönitz <poenitz@gmx.net>
3535 * text3.C: two-phase drawing for InsetText and InsetTabular
3536 some float -> int changes.
3538 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3540 * lyx_main.C: fix the fix
3542 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3544 * lyx_main.C: fix a crash in batch mode if no files specified
3547 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3549 * format.[Ch] (papersize): moved to BufferParams
3550 * converter.[Ch] (dvips_options): moved to BufferParams
3551 (dvipdfm_options): moved to anon namespace
3552 * bufferparams.[Ch]: added above functions.
3554 2003-07-17 André Pönitz <poenitz@gmx.net>
3558 * text2.C: don't call inset->update() anymore
3560 * metricsinfo.[Ch]: add convenience constructor
3562 2003-07-16 André Pönitz <poenitz@gmx.net>
3567 * text2.C: replace the LyXCursor::irow_ member with
3568 on-demand computation of the value
3570 2003-07-16 John Levon <levon@movementarian.org>
3572 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3574 2003-07-15 André Pönitz <poenitz@gmx.net>
3577 * text2.C: remove no more needed refresh_row
3579 2003-07-15 André Pönitz <poenitz@gmx.net>
3584 * text3.C: refresh_status tristate -> need_update bool
3586 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3588 * lyxtext.h (init): remove reinit argument (act as if always true)
3589 * text2.C: adjust to that
3591 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3593 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3594 * text3.C: use it to delete selections in some cases
3595 (bugs 441, 673, 702, 954).
3597 2003-07-14 André Pönitz <poenitz@gmx.net>
3599 * rowpainter.[Ch]: reduce interface
3601 2003-07-14 André Pönitz <poenitz@gmx.net>
3603 * BufferView_pimpl.C:
3604 * text2.C: adjust after removing unused BufferView * argument
3606 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3608 * text2.C (init): fix a crash fired on resize
3610 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3612 * buffer.[Ch]: added new closing signal
3613 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3614 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3615 BufferView::Pimpl via the closing the signal
3617 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3619 * buffer.[Ch]: take out all bv-related from buffer
3621 * BufferView_pimpl.[Ch]: connect to new signals
3622 * CutAndPaste.C: removed useless asserts
3623 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3626 * lyxfunc.C: moved view-related funciontality from vc here
3627 * paragraph.C: removed outdated comments
3630 2003-07-10 André Pönitz <poenitz@gmx.net>
3632 * BufferView_pimpl.C:
3636 * text2.C: remove InsetText::InnerCache, clean up consequences
3638 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3640 * ispell.C: fix two typos in error messages
3642 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3644 * Extend Note inset to other forms of annotation like Comment
3645 and Greyedout. Right button click gives dialog.
3647 Files modified or added (+):
3651 * ControlNote.[Ch] +
3653 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3654 frontends/controllers
3658 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3660 * aspell.C: add missing namespace lyx::support
3662 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3664 * BufferView.[Ch] (newFile): Add
3665 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3666 * LaTeX.[Ch] (message): added this signal and use it
3667 * buffer.[Ch] (busy, message): added these signals and use them
3668 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3672 * importer.C: use buffer signals instead of direct bv calling
3673 * lyx_cb.[Ch] (ShowMessage): removed
3676 * paragraph_funcs.C:
3677 * text2.C: use buffer signals
3679 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * introduce namespace lyx::graphics
3683 2003-07-02 André Pönitz <poenitz@gmx.net>
3685 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3687 2003-07-01 André Pönitz <poenitz@gmx.net>
3694 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3695 text*.C to text_func.C
3697 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * introduce namespace lyx::support
3701 2003-06-30 André Pönitz <poenitz@gmx.net>
3706 * text.C: re-enable --with-included-string
3708 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * textcursor.C: add <config.h>
3712 * text.C (getWord): remove const from word_location arg
3714 * lyxvc.C (getLogFile): fix const type order
3716 * lyxtext.h: remove const from word_location arg, add arg name
3718 * lyxlayout.h: currect type on labeltype.
3720 * importer.C: correct \file
3722 * converter.C (intToFormat): use std:: on ret val, ws changes
3724 * bufferlist.h: correct \file
3726 * buffer.C (makeLinuxDocFile): fix const type order
3727 (makeDocBookFile): ditto
3728 (fillWithBibKeys): use std:: on stdlib args.
3730 * CutAndPaste.C: fix authors.
3731 (availableSelections): use std:: on return vector
3733 2003-06-27 André Pönitz <poenitz@gmx.net>
3735 * BufferView_pimpl.C:
3736 * bufferview_funcs.C:
3744 * text3.C: remove LyXCursor::row_ member
3747 * text.C: rename fullRebreak() to partialRebreak() and implement
3748 a fullRebreak() that really bereks fully
3750 * textcursor.h: new struct for cursor-related data
3752 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3754 * lyx_main.C (LyX): get full path of document loaded on the
3757 2003-06-26 André Pönitz <poenitz@gmx.net>
3759 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3760 remove unused/broken operator>,<,>=.
3762 * text.C: remove only use of broken operator<= in an Assert().
3764 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3766 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3767 moved errorlist_.clear to showErrorList
3769 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3771 * converter.C (scanLog, runLaTeX):
3772 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3773 move the bv->showErrorList call to the callers
3774 * lyxfunc.C: i.e. here...
3776 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3777 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3778 namespace, the second to...
3779 * buffer_funcs (BufferFormat, parseErrors): added
3780 * errorlist.C (ErrorList(TeXErrors const &)): removed
3782 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3784 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3786 2003-06-24 "Garst R. Reese" <reese@isn.net>
3790 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3792 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3794 * version.C.in: change docversion to 1.4
3796 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3798 * buffer.C: fix a bug just introduced
3800 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3802 * buffer.[Ch]: added the parseError signal and use it, removed
3804 * BufferView.[Ch] (addError): moved to ...
3805 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3806 to the Buffer::parseError signal to catch (guess what) parse errors
3807 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3809 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3811 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3812 ability to create a buffer and to return an existing one from
3813 the list. Moved these functions to...
3814 * buffer_funcs.[Ch]: added
3815 * BufferView.[Ch] (loadLyXFile): added
3816 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3817 job removed from bufferlist::loadLyXFile.
3818 * buffer.C (setReadOnly): make it work without view
3819 (i.e added an if (users))
3821 2003-06-19 Angus Leeming <leeming@lyx.org>
3824 * LyXAction.C (init):
3825 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3826 with LFUN_DIALOG_SHOW <name> <data>.
3828 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3830 * CutAndPaste.C (availableSelections): small compilation fix for
3831 ancient (gcc 2.9x) compilers
3833 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * text3.C (cursorNext): add tmp var
3837 * text2.C (updateCounters): for function calling out of for clause
3838 (replaceSelectionWithString): ditto
3839 (insertStringAsParagraphs): ditto
3840 (getColumnNearX): add tmp var
3841 (setCursorFromCoordinates): add tmp var
3842 (cursorDownParagraph): add tmp var
3843 (deleteEmptyParagraphMechanism): add tmp var
3845 * text.C (insertChar): add tmp var
3847 * rowpainter.C (paintDepthBar): add tmp var
3849 * CutAndPaste.C (availableSelections): potentially check all
3850 paragraphs in a cut to fill the shown strings.
3852 2003-06-18 André Pönitz <poenitz@gmx.net>
3854 * kbmap.[Ch]: use vector<> instead of list<>
3856 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3858 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3859 pasteSelection with index
3861 * text2.C (pasteSelection): modify, call pasteSelection with index
3863 * paragraph.C (asString): reimplement version with no interval to
3864 call the one with interval.
3866 * lyxtext.h: add index arg to pasteSelection
3868 * MenuBackend.C (MenuItem): handle PasteRecent
3869 (Menu::read::Menutags): add md_pasterecent
3871 (expandPasteRecent): new function
3874 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3876 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3878 (availableSelections): new function
3880 2003-06-17 Angus Leeming <leeming@lyx.org>
3882 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3884 2003-06-17 Angus Leeming <leeming@lyx.org>
3887 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3889 * lyxfunc.C (dispatch): invoke it.
3891 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3893 * iterators.C (operator++, ParPosition): reintroduce some
3894 const_cast for the benefit of older compilers.
3896 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3898 * text3.C (dispatch): do not modify clipboard when doing
3899 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3900 LFUN_DELETE_SKIP on a selection selection
3902 2003-06-16 André Pönitz <poenitz@gmx.net>
3908 * tabular.[Ch]: IU of clone() and getLabelList();
3910 2003-06-13 André Pönitz <poenitz@gmx.net>
3912 * tabular.h: compactification
3914 2003-06-12 André Pönitz <poenitz@gmx.net>
3918 * tabular_funcs.h: some renaming plus whitespace
3920 2003-06-12 André Pönitz <poenitz@gmx.net>
3923 * BufferView_pimpl.C:
3929 * toc.C: Return a Paragraph & for ParIterator::operator*()
3931 2003-06-11 John Levon <levon@movementarian.org>
3935 * ToolbarBackend.C: add "Toolbars" section and
3938 2003-06-10 Angus Leeming <leeming@lyx.org>
3941 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3943 * lyxfunc.C (dispatch): invoke it.
3945 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * main.C: protect <ios> with HAVE_IOS
3948 (main): protect sync_with_stdio with HAVE_IOS
3950 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3952 * text2.C (cutSelection): adjust
3953 (pasteSelection): adjust
3955 * messages.C: handle get of empty string
3957 * main.C (main): use sync_with_stdio(false)
3959 * lyxfunc.C (dispatch): adjust
3961 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3962 (WriteAs): remove unneeded BufferView arg.
3964 * bufferparams.h: use correct types on papersize, papersize2 and
3967 * bufferparams.C (readToken): adjust for type
3968 (writeLaTeX): add missing cases to switch.
3970 * bufferlist.C (quitWriteBuffer): adjust
3973 * buffer.C (asciiParagraph): remove some commented code.
3975 * CutAndPaste.C: remove current_view extern variable.
3976 (cutSelection): add BufferParams arg.
3977 (eraseSelection): add BufferParams arg.
3978 (pasteSelection): add Buffer const & arg
3980 2003-06-07 John Levon <levon@movementarian.org>
3983 * paragraph_funcs.C:
3984 * paragraph_pimpl.C:
3988 * paragraph.C: allow InsetERT to freely space lines,
3989 and some consolidation of code
3991 2003-06-06 José Matos <jamatos@fep.up.pt>
3993 * buffer.C (makeDocBookFile): fix bug #821
3995 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3997 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3999 2003-06-04 Angus Leeming <leeming@lyx.org>
4001 * buffer.C: bump format to 224.
4003 2003-06-05 André Pönitz <poenitz@gmx.net>
4005 * text2.C (redoParagraphs): remove two const_cast<>
4007 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4009 * ParagraphList.h: remove last remnants of NO_STD_LIST
4011 2003-06-03 Angus Leeming <leeming@lyx.org>
4013 * factory.C (createInset): small change to the way InsetExternal's params
4016 2003-06-04 André Pönitz <poenitz@gmx.net>
4018 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4020 * paragraph_pimpl.h:
4021 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4023 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4025 * undo_funcs.C: make some simple cases of undo work again
4027 2003-06-03 John Levon <levon@movementarian.org>
4029 * ispell.C: HPUX doesn't have sys/select.h
4032 2003-06-03 John Levon <levon@movementarian.org>
4034 * CutAndPaste.C: update tabular and include inset
4039 * paragraph.C: remove owningBuffer(), don't pass Buffer
4042 * factory.C: insetGraphicsParams changed
4044 2003-06-02 John Levon <levon@movementarian.org>
4050 * text3.C: remove insetparent
4052 2003-06-02 John Levon <levon@movementarian.org>
4055 * buffer.C: fix inset_iterator.end(), move out of line
4058 2003-06-01 John Levon <levon@movementarian.org>
4060 * text3.C: use a proper cut/paste when doing inset
4061 insert (from Jürgen Spitzmüller)
4063 2003-06-01 John Levon <levon@movementarian.org>
4065 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4067 2003-05-30 André Pönitz <poenitz@gmx.net>
4069 * rowpainter.C: unify second drawing phase
4071 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * trans_mgr.C: remove one case of current_view
4075 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4077 * paragraph_funcs.h: remove paragraph.h include
4079 * paragraph.h: delete NO_STD_LIST stuff
4081 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4083 * buffer.h: remove paragraph.h include
4085 * ParagraphList.C: delete file
4087 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4089 * toc.C (getTocList): adjust
4091 * paragraph_pimpl.C (validate): adjust
4093 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4095 * paragraph.C (Paragraph): adjust
4096 (getPositionOfInset): use const_iterator, adjust
4097 (bibitem): use const_iterator, adjust
4098 (setInsetOwner): adjust
4100 * iterators.C (operator++): adjust
4102 * InsetList.[Ch]: Replace selfmade iterator with standard
4103 vector::iterator also introduce const_iterator. Remove getPos,
4104 getInset and setInset from InsetTable. Adjust accordingly.
4106 * BufferView.C (lockInset): adjust
4107 (ChangeInsets): adjust
4109 * tabular.[Ch]: delete commented same_id functions
4111 2003-05-28 John Levon <levon@movementarian.org>
4113 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4115 2003-05-28 André Pönitz <poenitz@gmx.net>
4117 * metricsinfo.[Ch]: remove 'fullredraw' member
4119 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4121 * lyxtextclass.C (operator): remove caching.
4123 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * text2.C (cursorBottom): adjust
4128 (setCounter): use ParagraphList::find, adjust
4130 * text.C (workWidth): use ParagraphList::find, adjust
4132 * lyxcursor.C (LyXCursor): adjust
4134 * buffer.C (inset_iterator): adjust
4136 * ParagraphList.h: make iterator(value_type) private, make
4137 ParagraphList a friend of iterator.
4139 * ParagraphList.C (find): new function
4141 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4143 2003-05-27 André Pönitz <poenitz@gmx.net>
4145 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4147 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4149 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4151 2003-05-26 John Levon <levon@movementarian.org>
4153 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4155 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * remove same_id from function signatures, adjust.
4159 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4163 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4165 * paragraph.C (Paragraph): get rid of same_ids parameter
4167 * ParagraphList.C (insert): adjust
4170 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * paragraph_funcs.C (breakParagraph): adjust
4173 (breakParagraphConservative): adjust
4175 * buffer.C (readParagraph): adjust
4177 * ParagraphList.C (insert): take a reference instead of a pointer
4180 * paragraph.[Ch] (id): new function
4182 * bufferlist.C (newFile): adjust
4184 * ParagraphList.C (ParagraphList): adjust
4186 (push_back): take a reference instead of a pointer.
4188 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4190 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4193 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4194 set else use old code.
4196 * ParagraphList.C: remove all NO_NEXT code and only compile this
4197 code of NO_STD_LIST is set.
4199 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4201 * BufferView_pimpl.C:
4211 * graphics/GraphicsConverter.C:
4212 * graphics/PreviewLoader.C: header adjustment
4214 2003-05-23 Angus Leeming <leeming@lyx.org>
4216 * LaTeXFeatures.[Ch] (useBabel): new method.
4217 * bufferparams.C (writeLaTeX): use it.
4219 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * ParagraphList.h (set): remove unused function.
4223 2003-05-23 André Pönitz <poenitz@gmx.net>
4226 * BufferView_pimpl.C:
4230 * undo_funcs.C: setUndo reworked
4232 * iterators.[Ch]: add access to topmost ParagraphList
4234 * lyxtext.[Ch] (workWidth): add a const
4236 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4238 * texrow.[Ch] (increasePos): remove function
4239 * exporter.C (export): removed unused var and outdated comment
4241 2003-05-23 Angus Leeming <leeming@lyx.org>
4243 * latexrunparams.h: rename fragile as moving_arg.
4244 * paragraph.C (simpleTeXOnePar): ditto.
4245 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4247 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4251 (textUndoOrRedo): comment out a currently unused var.
4253 * paragraph.h (NO_NEXT): enable NO_NEXT
4255 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4257 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4259 * exporter.C (Export): adjust for removeAutoInsets removal.
4261 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4263 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4265 * BufferView.[Ch] (removeAutoInsets): delete function
4267 2003-05-22 Angus Leeming <leeming@lyx.org>
4269 * latexrunparams.h: add a free_spacing variable.
4271 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4272 to pass moving_arg, as the data is stored in runparams.fragile.
4274 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4275 to Inset::latexOptional or to simpleTeXOnePar.
4277 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4278 free_spacing arg to Inset::latexOptional.
4280 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4283 2003-05-22 Angus Leeming <leeming@lyx.org>
4285 * latexrunparams.h: add fragile and use_babel variables.
4287 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4288 * buffer.C (makeLaTeXFile): store this returned value in
4289 runparams.use_babel, thus passing it to the inset::latex methods.
4291 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4292 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4294 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4295 longer has a fragile arg, as it is stored in runparams.fragile.
4297 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4298 moving_arg parameter as the data is stored in runparams.fragile.
4300 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4301 a fragile parameter as the data is stored in runparams.fragile.
4303 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4307 2003-05-22 Angus Leeming <leeming@lyx.org>
4309 * latexrunparams.h: add a 'bool nice' which defaults to false.
4311 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4312 now encapsulated within runparams.
4314 * bufferlist.C (updateIncludedTeXfiles):
4315 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4317 2003-05-22 Angus Leeming <leeming@lyx.org>
4319 * latexrunparams.h: new file containing struct LatexRunParams.
4320 * Makefile.am: add new file.
4322 * LaTeX.[Ch] (c-tor, run):
4323 * buffer.[Ch] (makeLaTeXFile):
4324 * bufferlist.[Ch] (updateIncludedTeXfiles):
4325 * converter.C (convert, scanLog):
4326 * converter.[Ch] (runLaTeX):
4327 * exporter.C (Export):
4328 * paragraph.[Ch] (simpleTeXOnePar):
4329 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4330 * paragraph_funcs.[Ch] (latexParagraphs):
4331 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4332 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4333 pass around a LatexRunParams parameter.
4335 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * paragraph.[Ch]: remove unused constructor
4339 * ParagraphList.C (erase): new function, taking two iterators
4341 2003-05-22 André Pönitz <poenitz@gmx.net>
4343 * undo_funcs.C: remove duplicated code
4345 * iterator.[Ch]: operator=
4347 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * tabular.C (SetMultiColumn): ws changes
4351 * rowpainter.C (paintFirst): get rid of a ->previous
4353 * lyx_cb.C (getPossibleLabel): parlist simplification
4355 * BufferView.C (ChangeInsets): simplify slightly.
4357 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4359 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4360 * lfuns.h: new LFUN_SPACE
4361 * lyxfunc.C: protected space has a new lfun
4362 * paragraph_funcs.C: read new space insets
4364 * factory.C: handle new space insets
4366 2003-05-22 André Pönitz <poenitz@gmx.net>
4369 * BufferView_pimpl.C:
4372 * undo_funcs.C: return a ParIterator from getParFromID.
4374 * iterators.[Ch]: add two const's
4376 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * toc.C (getTocList): adjust
4380 * iterators.[Ch]: rework for parlist
4382 * buffer.C (par_iterator_begin): adjust
4383 (par_iterator_end): adjust
4385 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4387 * BufferView.C (removeAutoInsets): adjust
4388 (ChangeInsets): adjust
4390 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4392 * text.C (top_y): fix bug 1110
4394 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4396 * errorlist.[Ch]: added
4399 * BufferView_pimpl.C:
4400 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4403 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * Makefile.am: ensure that lyx is relinked upon changes to the
4406 various "convenience" libs.
4408 2003-05-20 Angus Leeming <leeming@lyx.org>
4410 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4411 files are compiled in alphabetical order again.
4413 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4415 2003-05-19 Angus Leeming <leeming@lyx.org>
4417 * gettext.[Ch]: remove "char const * _(char const *)".
4419 2003-05-19 André Pönitz <poenitz@gmx.net>
4421 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4430 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4432 2003-05-19 André Pönitz <poenitz@gmx.net>
4436 * lyxtextclass.[Ch]:
4438 * paragraph_funcs.[Ch]:
4440 * text3.C: more insetenv work
4442 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4444 * ParagraphParameters.C (params2string): small bug fixed
4446 2003-05-16 André Pönitz <poenitz@gmx.net>
4449 * bufferview_funcs.C: patch from Kornel Benko to prevent
4450 crash when _(...) is called twice in a statement
4452 2003-05-16 André Pönitz <poenitz@gmx.net>
4459 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4461 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4463 * lyx_main.C (init): remove spurious static_cast
4465 2003-05-14 André Pönitz <poenitz@gmx.net>
4467 * BufferView.C: fix format string
4469 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4471 * BufferView.[Ch] (insertErrors): removed
4472 * BufferView.[Ch] (showErrorList): added
4473 * buffer.C (runChkTeX):
4474 * converter.C (scanLog): call showErrorList instead of inserterrors
4476 2003-05-13 André Pönitz <poenitz@gmx.net>
4478 * BufferView_pimpl.C:
4480 * bufferview_func.C:
4487 * tabular_funcs.h: tostr() from its own header
4489 * ParagraphParameters.C:
4494 * text3.C: STRCONV()
4496 2003-05-12 André Pönitz <poenitz@gmx.net>
4499 * BufferView_pimpl.C:
4503 * ParagraphParameters.C:
4507 * bufferview_funcs.C:
4520 * paragraph_funcs.C:
4524 * text3.C: boost::format -> bformat all over the place
4527 2003-05-09 André Pönitz <poenitz@gmx.net>
4529 * LColor.[Ch]: Pimpl the #include <map> away
4531 2003-05-09 John Levon <levon@movementarian.org>
4533 * bufferlist.C: never remove emergency saves
4535 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * Makefile.am: better lib building
4539 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4543 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4544 (simpleTeXSpecialChars): adjust
4545 (simpleTeXSpecialChars): adjust
4546 * paragraph.C (simpleTeXOnePar): adjust
4547 * buffer.C (makeLaTeXFile): adjust
4549 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4551 * text2.C (changeDepth): parlist cleanup
4552 (getColumnNearX): ditto
4554 * rowpainter.C (getLabelFont): parlist cleanup
4556 * bufferlist.C (newFile): parlist cleanup
4558 * CutAndPaste.C (eraseSelection): parlist cleanup
4560 * BufferView_pimpl.C (trackChanges): parlist cleanup
4563 * BufferView.C (lockInset): parlist cleanup.
4564 (ChangeInsets): ditto
4566 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * CutAndPaste.h: Update file header.
4570 * CutAndPaste.C: Update file header.
4571 Store the parts cut out of the Document in a limited_stack.
4572 (copySelection): adjust
4573 (pasteSelection): new function, takes the index in the limited stack.
4574 (nrOfParagraphs): adjust
4575 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4576 simplify error inset insertion.
4577 (checkPastePossible): adjust
4579 2003-05-06 John Levon <levon@movementarian.org>
4581 * text2.C: don't cast wrap inset to float
4583 2003-05-05 André Pönitz <poenitz@gmx.net>
4586 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4588 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4589 few naked Paragraph *.
4591 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4593 * bufferparams.C: Output warning if a document with missing
4594 TeX document class is loaded
4595 * exporter.C: Disable TeX exports if the document class is missing
4598 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4599 isTeXClassAvailable()
4601 2003-05-03 John Levon <levon@movementarian.org>
4604 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4605 explicit cursor show/hide
4607 * BufferView_pimpl.h:
4608 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4609 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4611 * lyxfunc.C: hide cursor before dispatching.
4616 * text3.C: remove explicit cursor hides
4618 2003-05-02 André Pönitz <poenitz@gmx.net>
4620 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4623 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4626 * text2.C: tiny whitespace
4628 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * undo_funcs.C: almost only ws changes.
4632 * ParagraphList.C (splice): just return if pl is empty.
4634 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * ParagraphList.C (splice): new function.
4638 * CutAndPaste.C (pasteSelection): use it
4640 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * CutAndPaste.C (pasteSelection): remove the last next and
4643 previous from this file.
4645 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * CutAndPaste.C (pasteSelection): more clean up, user proper
4648 ParagraphList functions for pasteing.
4650 * ParagraphList.C (insert): new function, three arg insert
4652 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * ParagraphList.C (insert): new function, three arg insert
4656 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4659 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4663 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4667 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4670 (copySelection): clean up a bit.
4671 (pasteSelection): use make_pair
4673 * ParagraphList.C (ParagraphList): implement copy constructor
4674 (operator=): implement, base on copy constructor.
4677 * paragraph.C (erase): return a bool
4679 * paragraph_pimpl.C (erasePos): remove function, move contents...
4680 (erase): ... here. Return a bool.
4681 (erase): call erase instead of erasePos.
4683 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4685 * ParagraphList.h: define PitPosPair
4686 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4687 ParagraphList, fix a bug on pasting multiple pars
4688 * text2.C: change interface to C&P
4690 2003-04-30 André Pönitz <poenitz@gmx.net>
4692 * undo_func.C: revert part of yesterday's patch 2
4694 2003-04-30 John Levon <levon@movementarian.org>
4696 * LColor.C: s/tabular/table/
4698 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * text3.C (dispatch): do not convert iterator -> pointer
4701 * undo_funcs.C (setCursorParUndo): ditto
4702 * text_funcs.C (transposeChars): ditto
4704 * text2.C (setLayout): ws changes only
4706 * text.C (breakParagraph): do not convert iterator -> pointer
4708 (acceptChange): ditto
4709 (rejectChange): ditto
4714 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4717 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4719 * text3.C (gotoInset): YABG (yet another bad getChar)
4721 2003-04-29 André Pönitz <poenitz@gmx.net>
4723 * paragraph.h: make operator= private unimplemented as long as
4726 * ParagraphList.C: whitespace
4729 * paragraph_pimpl.[Ch]:
4730 * paragraph_funcs.C:
4732 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4735 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4737 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4739 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4740 * paragraph.[Ch] (erase):
4741 * paragraph_pimpl.[Ch] (erase): change return type and value
4742 * text2.C (cutSelection): some rework
4744 2003-04-28 John Levon <levon@movementarian.org>
4746 * bufferlist.C: changes for unsaved changes dialog
4748 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * bufferlist.C (newFile): set language (messages_) for new
4753 * buffer.C (readFile): ws changes only.
4755 2003-04-28 André Pönitz <poenitz@gmx.net>
4760 * BufferView_pimpl.C:
4761 * BufferView.C: getParFromID related ParagraphList::iterator changes
4763 2003-04-28 André Pönitz <poenitz@gmx.net>
4765 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4768 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * messages.C: remove one more localedir class variable.
4772 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * messages.C (getLocaleDir): singleton generation function
4776 (Messages): add a default constructor.
4778 * main.C (main): do not setup localedir here, do not call
4781 * gettext.C (_): use it.
4782 (gettext_init): delete funciton
4784 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * gettext.C (getLyXMessages): new singleton generating function.
4788 * buffer.C (updateDocLang): adjust
4790 * Makefile.am (messages.o): add target
4791 (main.o): remove target
4793 2003-04-27 John Levon <levon@movementarian.org>
4798 * lyxvc.C: specify cancel button in Alert::prompt
4800 2003-04-26 John Levon <levon@movementarian.org>
4805 * LyXAction.C: add LFUN_INSET_SETTINGS
4807 * lyxfunc.C: don't enable tabular-feature when there's
4808 just any locking inset
4810 2003-04-26 John Levon <levon@movementarian.org>
4812 * bufferlist.C: re-add Cancel to buffer close question
4814 * lyxfunc.C: fix import UI a bit
4816 2003-04-25 John Levon <levon@movementarian.org>
4818 * gettext.C: remove the broken asserts for now
4820 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * messages.C: make case where setlocale cannot comply work better.
4824 * buffer.C (updateDocLang): new function
4825 (changeLanguage): use it
4828 * text2.C (setCounter): use B_ a bit.
4830 * lyxlayout.C (Read): be sure to trim the label strings.
4832 * messages.C (Messages): fix typo in comment
4834 * buffer.C (readFile): set message_ after file is loaded.
4835 (makeDocBookFile): remove double return
4836 (changeLanguage): reset message_ upon language change.
4837 (B_): new func, use this to get translated buffer strings.
4839 * main.C: add myself and Jean Marc as authors.
4841 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * messages.[hC]: pimplify Messages, and three different pimpls to be
4844 used in different circumstances.
4846 * gettext.[Ch]: change for use with new message code.
4848 2003-04-24 André Pönitz <poenitz@gmx.net>
4850 * factory.C: support for eqref
4852 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * messages.[Ch]: add missing char
4856 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4858 * messages.[Ch]: New files
4860 2003-04-18 John Levon <levon@movementarian.org>
4864 * BufferView_pimpl.C:
4868 * text2.C: remove layout-copy/paste (bug 778)
4870 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4872 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4874 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4876 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4877 if they succeed. Act accordingly.
4879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * text2.C (setCharFont): adjust
4882 (setCounter): adjust
4883 (insertStringAsLines): adjust
4885 * text.C (leftMargin): adjust
4886 (setHeightOfRow): adjust
4888 * rowpainter.C (paintFirst): adjust
4891 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4893 (isFirstInSequence): ditto
4894 (getEndLabel): ditto
4897 * paragraph.C (getParLanguage): comment out some hard stuff.
4899 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4901 (simpleDocBookOnePar): ditto
4902 (makeDocBookFile): use ParagraphList::iterator
4904 * CutAndPaste.C (pasteSelection): adjust
4906 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * text2.C (getFont): adjust
4909 (getLayoutFont): adjust
4910 (getLabelFont): adjust
4912 * paragraph_funcs.C (TeXOnePar): adjust
4914 * buffer.C (simpleLinuxDocOnePar): adjust
4915 (simpleDocBookOnePar): adjust
4917 * CutAndPaste.C (pasteSelection): adjust
4919 * BufferView.C (getEncoding): adjust
4921 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4923 2003-04-16 John Levon <levon@movementarian.org>
4925 * lyxfind.C: use parlist stuff for search/changes
4927 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4931 * text2.C (deleteEmptyParagraphMechanism): adjust
4933 * text2.[Ch] (ownerParagraph): delete func (both of them
4935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4939 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * ParagraphList.C: prepare for NO_NEXT
4943 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * text2.C (getFont): adjust
4946 (getLayoutFont): adjust
4947 (getLabelFont): adjust
4949 * paragraph.C (getFont): adjust
4950 (getLabelFont): adjust
4951 (getLayoutFont): adjust
4953 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4955 2003-04-15 John Levon <levon@movementarian.org>
4959 * lyx_main.C: handle Include in .ui files
4961 2003-04-15 John Levon <levon@movementarian.org>
4963 * MenuBackend.C: make the doc files length shorter
4966 * ToolbarBackend.C: handle toolbar placement flags,
4969 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4974 * paragraph_funcs.C (TeXOnePar): adjust
4976 * paragraph.C (getLabelFont): add outerfont arg, adjust
4977 (getLayoutFont): ditto
4978 (simpleTeXOnePar): adjust
4980 * paragraph_pimpl.C (realizeFont): delete func
4982 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4984 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4985 row argument, constify cur argument.
4987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * text2.C (getFont): adjust
4990 (getLayoutFont): adjust
4991 (getLabelFont): adjust
4993 * paragraph_funcs.C (TeXOnePar): adjust
4994 (outerFont): new func...
4995 (realizeFont): ...moved out from here, changed this to facilitate
4998 * paragraph.C (getFont): take outerfont as arg, adjust
4999 (simpleTeXOnePar): add outerfont arg, adjust
5001 * buffer.C (simpleLinuxDocOnePar): adjust
5002 (simpleDocBookOnePar): adjust
5004 * CutAndPaste.C (pasteSelection): adjust
5006 * BufferView.C (getEncoding): adjust
5008 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * text2.C (setCharFont): adjust
5011 (setCounter): adjust
5013 * text.C (leftMargin): adjust
5014 (setHeightOfRow): adjust
5016 * rowpainter.C (paintFirst): adjust
5019 * paragraph_pimpl.C (realizeFont): adjust
5021 * paragraph.C (isFirstInSequence): move from here...
5022 * paragraph_funcs.C (isFirstInSequence): ...to here
5024 * paragraph.C (outerHook): move from here...
5025 * paragraph_funcs.C (outerHook): ...to here
5027 * paragraph.C (depthHook): move from here...
5028 * paragraph_funcs.C (depthHook): ...to here
5030 * paragraph.C (getEndLabel): move from here...
5031 * paragraph_funcs.C (getEndLabel): ...to here
5033 * text2.C (realizeFont): move from here...
5034 * paragraph_funcs.C (realizeFont): ...to here
5036 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5040 2003-04-14 Angus Leeming <leeming@lyx.org>
5042 * LColor.[Ch]: scrap LColor mathcursor.
5044 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * lyxlex.[Ch] (text): delete function
5047 * trans.C (Load): adjust
5048 * paragraph_funcs.C (readParToken): adjust
5050 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5053 vector<char> instead of a char[].
5055 * lyxlex_pimpl.C (getString): adjust
5057 (lex): use getString
5061 * lyxlex.C (text): use pimpl_->getString()
5065 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5067 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5068 (makeFontEntriesLayoutSpecific): temp var for par.size()
5069 (setLayout): temp var for ownerParagraphs().end()
5070 (fullRebreak): temp var for rows().end()
5071 (selectionAsString): temp var for boost::next(startpit), realize
5072 that the while really is a regular for loop.
5073 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5074 setCursor in one place.
5075 (setParagraph): temp vr for ownerParagraphs().end()
5076 (updateCounters): make the while loop a for loop
5077 (cutSelection): temp var for ownerParagraphs().end()
5078 (updateInset): make the do {} while() a regular for loop
5079 (getCursorX): use temp vars
5080 (setCurrentFont): use temp vars
5081 (getColumnNearX): use temp vars
5083 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * text.C (transformChar): use temp var for getChar
5086 (computeBidiTables): use temp var for row->par()
5087 (fill): move temp vars for row->par() and pit->layout() earlier in
5089 (labelFill): use temp var for row->par()
5090 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5091 asc and desc, realize that pit never changes and that firstpit is
5092 just a duplicate and not needed. Exchange rit->par() with pit in a
5094 (breakAgain): use a temp var for boost::next(rit)
5095 (breakAgainOneRow): ditto
5096 (breakParagraph): use a temp var for rows().begin()
5097 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5098 (cursorRightOneWord): use temp var for cursor.par() and
5099 cursor.pos(), remove usage of tmpcursor.
5100 (cursorLeftOneWord): use temp var for cursor.par() and
5101 cursor.pos() only set cur at end of function.
5103 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * text.C, text2.C: exchange all usage of Paragraph::next with
5106 boost::next(ParagraphList::iterator)
5108 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5110 * text2.C (cursorTop): simplify implementation
5111 (cursorBottom): ditto
5112 (setParagraph): use ParagraphList::iterator
5113 (setCurrentFont): adjust
5114 (getColumnNearX): adjust
5115 (cursorRight): adjust
5116 (cursorLeft): remove usage of Paragraph::previous
5117 (cursorUpParagraph): ditto
5118 (deleteEmptyParagraphMechanism): slight cleanup
5120 * text.C (isBoundary): take a Paragraph const & instead of a
5122 (addressBreakPoint): ditto
5123 (leftMargin): remove usage of Paragraph::previous.
5124 (setHeightOfRow): ditto
5125 (cursorLeftOneWord): ditto
5126 (selectNextWordToSpellcheck): ditto
5129 (breakParagraph): remove one usage of Paragraph::next
5130 (redoParagraph): ditto
5131 (acceptChange): ditto
5132 (insertChar): adjust
5133 (rowBreakPoint): adjust
5135 * bufferview_funcs.C (toggleAndShow): adjust
5137 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5139 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5140 methods to access it.
5142 * text.C: Added updateRowPositions to compute all row positions.
5143 Make top_y and getRowNearY() to use the cached y position
5145 2003-04-11 John Levon <levon@movementarian.org>
5147 * text.C (rowBreakPoint): reintroduce the labelEnd
5148 checks, code copied from the row fill stuff. Deep voodoo.
5150 * text.C (fill): add a comment and debugging for the
5153 2003-04-11 John Levon <levon@movementarian.org>
5155 * text.C: make sure fullrow insets get wrapped to the next line,
5156 even when they're in a manual label
5158 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * text2.C (insertParagraph): make it take ParagraphList::iterator
5162 (setLayout): make it return ParagraphList::iterator
5163 (redoParagraphs): ditto
5165 (checkParagraph): ditto
5167 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5169 * text2.C: adjust several funcs.
5170 (realizeFont): take a ParagraphList::iterator as arg.
5171 (getLayoutFont): ditto
5172 (getLabelFont): ditto
5173 (setCharFont): ditto
5175 * text.C: adjust several funcs.
5177 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5179 * text.C (selectNextWordToSpellcheck): don't accidentally
5182 2003-04-10 John Levon <levon@movementarian.org>
5184 * ToolbarBackend.C (getIcon): special handling for
5187 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5189 * text2.C (cursorRight): a getChar assert fixed
5191 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * text2.C (getFont): change to take a ParagraphList::iterator
5194 instead of Paragraph*
5195 Adjust several functions.
5197 * text.C (transformChar): change to take a ParagraphList::iterator
5198 instead of Paragraph*
5199 (singleWidth): ditto
5200 Adjust several functions.
5202 * rowpainter.C: adjust several functions
5203 * rowpainter.h:store a ParagraphList::iterator and not a
5207 2003-04-09 John Levon <levon@movementarian.org>
5212 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5213 and the "help" bits as well
5215 2003-04-09 John Levon <levon@movementarian.org>
5218 * ToolbarBackend.C: allow multiple toolbars
5220 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * undo_funcs.C (setCursorParUndo): adjust
5224 * text_funcs.C (transposeChars): adjust
5226 * text3.C (gotoNextInset): adjust
5229 * text2.C (setLayout): adjust
5230 (changeDepth): adjust
5232 (redoParagraphs): adjust
5233 (selectionAsString): adjust
5234 (setParagraph): adjust
5235 (insertInset): adjust
5236 (cutSelection): adjust
5237 (copySelection): adjust
5238 (pasteSelection): adjust
5239 (insertStringAsLines): adjust
5240 (updateInset): adjust
5241 (setCursor): change to take a ParagraphList::iterator parameter
5242 (setCursorIntern): change to take a ParagraphList::iterator parameter
5243 (setCurrentFont): adjust
5244 (cursorLeft): adjust
5245 (cursorRight): adjust
5246 (deleteEmptyParagraphMechanism): adjust
5248 * text.C (breakParagraph): adjust
5249 (insertChar): adjust
5250 (acceptChange): adjust
5251 (rejectChange): adjust
5252 (selectNextWordToSpellcheck): adjust
5253 (changeCase): adjust
5257 * lyxfind.C (SearchForward): adjust
5258 (SearchBackward): adjust
5259 (nextChange): adjust
5261 * lyxcursor.C (par): adjust
5263 * lyxcursor.h: store a ParagraphList::iterator instead of a
5266 * lyx_cb.C (getPossibleLabel): adjust
5268 * bufferview_funcs.C (toggleAndShow): adjust
5270 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5273 * BufferView.C (removeAutoInsets): adjust
5274 (lockedInsetStoreUndo): adjust
5276 2003-04-09 John Levon <levon@movementarian.org>
5278 * ToolbarBackend.C: try icon without argument
5279 if with argument fails
5281 2003-04-08 John Levon <levon@movementarian.org>
5284 * ToolbarBackend.C: add getIcon(), handle tooltip,
5285 and change from "Icon" to "Item".
5287 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5289 * BufferView.C (lockInset): another bad getchar crunched
5291 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5293 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5296 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5298 * lyxfind.C (searchForward, searchBackwards): bug 782
5300 2003-04-07 John Levon <levon@movementarian.org>
5302 * paragraph.C: remove dead comment
5304 * text.C: remove troublesome depth-fiddling code
5305 in leftMargin() and rightMargin() (bug 1017)
5307 * text.C: fix breaking of rows in nested lists
5310 * text2.C (updateCounters): fix up depth values
5313 2003-04-07 John Levon <levon@movementarian.org>
5315 * BufferView_pimpl.C: clear message when doc finishes resizing,
5316 and after a mouse event
5318 * lyxfunc.C: clear message after exiting inset
5320 2003-04-07 John Levon <levon@movementarian.org>
5322 * bufferview_funcs.C: show math status not outside
5323 status in the statusbar
5325 2003-04-07 John Levon <levon@movementarian.org>
5327 * lyxfunc.C: note status changed after a depth change
5329 2003-04-04 Angus Leeming <leeming@lyx.org>
5331 * LaTeX.h: move AuxInfo operator==, != out of line.
5332 Remove LaTeX virtual destructor; nothing derives from it.
5333 Move operator()() out of public area and rename it startscript().
5334 Change protected for private.
5336 2003-04-04 Angus Leeming <leeming@lyx.org>
5339 * text2.C: remove unneeded #includes.
5341 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5343 * text2.C (dEPM): fix the heigth of the next row
5345 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5347 * text.C: squashed an invalid getChar requester + some ws changes
5349 2003-04-03 John Levon <levon@movementarian.org>
5351 * bufferview_funcs.h:
5352 * bufferview_funcs.C:
5355 * text2.C: make getStatus work for the env depth lfuns
5357 2003-04-03 John Levon <levon@movementarian.org>
5359 * bufferview_funcs.h:
5360 * bufferview_funcs.C:
5363 * text2.C: parlistize decDepth(), by merging it with incDepth()
5365 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * lyxrow.h: store a ParagraphList::iterator instead of a
5368 Paragraph* and adjust other class functions to suit.
5370 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5373 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5375 * text2.C (setCursor): do not anchor to cursor row for the time being
5377 2003-04-02 John Levon <levon@movementarian.org>
5384 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5386 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * paragraph.h: make ParagraphList and ParagraphList::iterator
5389 friends of Paragraph.
5391 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5393 * ParagraphList.C: Use the private next_ and previous_ from
5396 2003-04-01 John Levon <levon@movementarian.org>
5400 * Makefile.am: rename, remove defaults gunk
5403 * MenuBackend.C: remove defaults gunk
5406 * Languages.C: remove defaults gunk
5409 * lyx_main.C: error out if files couldn't be found.
5411 2003-04-02 John Levon <levon@movementarian.org>
5413 * text2.C: make incDepth() use parlist
5415 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * undo_funcs.C (firstUndoParagraph): adjust
5419 * text3.C (gotoInset): adjust
5420 (dispatch): adjust, and rewrite loop.
5422 * text2.C (init): adjust, and rewrite loop.
5423 (redoParagraphs): adjust
5424 (updateInset): adjust, and rewrite loop.
5425 (deleteEmptyParagraphMechanism): adjust
5427 * tabular.C (LyXTabular): adjust
5428 (SetMultiColumn): adjust
5431 * lyxtext.[Ch] (ownerParagraph): delete function
5432 (ownerParagraphs): new function returns a ParagraphList.
5434 * BufferView.C (removeAutoInsets): adjust
5435 (insertErrors): adjust
5436 (setCursorFromRow): adjust
5438 2003-04-01 Angus Leeming <leeming@lyx.org>
5440 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5443 2003-04-02 John Levon <levon@movementarian.org>
5449 * text_funcs.C: make transposeChars a free function
5451 * lyxrow_funcs.C: remove wrong comment
5453 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * rowpainter.C: adjust
5461 * lyxrow_funcs. [Ch]: new files
5463 * lyxrow.[Ch]: remove next and previous pointers
5464 (next,previous): remove accessor functions
5465 (isParEnd): move to lyxrow_funcs
5466 (lastPos): move to lyxrow_funcs
5467 (nextRowIsAllInset): move to lyxrow_funcs
5468 (lastPrintablePos): move to lyxrow_funcs
5469 (numberOfSeparators): move to lyxrow_funcs
5470 (numberOfHfills): move to lyxrow_funcs
5471 (numberOfLabelHfills): move to lyxrow_funcs
5472 (hfillExpansion): move to lyxrow_funcs
5476 * bufferview_funcs.C (toggleAndShow): adjust
5478 * RowList.h: Remove class RowList from file leave just a
5481 * RowList.C: delete file
5483 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5486 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * text3.C (cursorPrevious): adjust
5489 (cursorNext): adjust
5492 * text2.C (redoHeightOfParagraph): adjust
5493 (redoDrawingOfParagraph): adjust
5496 * text.C (breakParagraph): adjust
5497 (insertChar): adjust
5500 * rowpainter.C (RowPainter): adjust
5501 (leftMargin): simplify and adjust
5502 (most rowpainter functions): adjust.
5504 * rowpainter.h: store the row as RowList::iterator not as Row*
5506 * lyxcursor.C (row): taka RowList::iterator as arg
5509 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5512 2003-04-01 Angus Leeming <leeming@lyx.org>
5514 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5515 stuff like bool Bool.
5517 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5519 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5522 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5527 * lyxtext.h (rows): drop one version and leve a const variant that
5528 returns a RowList::iterator.
5530 2003-03-31 Angus Leeming <leeming@lyx.org>
5532 * text.C (fill): ensure that the signature is the same as that in the
5535 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * text2.C (redoParagraphs): adjust
5538 (updateCounters): adjust
5539 (checkParagraph): adjust
5540 (getColumnNearX): adjust and reformat a bit.
5542 * text.C (top_y): adjust
5544 (leftMargin): adjust
5545 (prepareToPrint): adjust
5547 (getRowNearY): adjust
5549 * lyxtext.h: make rowlist_ mutable.
5551 * RowList.h: add const_iterator
5552 * RowList.C: adjust for RowList::const_iterator.
5554 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5557 2003-03-31 John Levon <levon@movementarian.org>
5560 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5562 * lyx_main.C: set default fonts from using lyx_gui funcs
5564 * exporter.C: pdf_mode moved from lyxrc
5567 * lyxfunc.C: changes from above
5569 2003-03-31 John Levon <levon@movementarian.org>
5571 * lyx_main.C: fix to the last fix
5573 2003-03-31 John Levon <levon@movementarian.org>
5575 * bufferlist.C: "Load original" -> "Load Original"
5581 * format.C: more Alert cleanups
5583 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * text2.C (removeParagraph): make it take a RowList::iterator as
5587 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5588 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5590 * text.C (anchor_row): make it take a RowList::iterator as arg,
5592 (computeBidiTables): make it take a const reference to Row instead
5593 of Row pointer, adjust.
5594 (leftMargin): make it take a RowList::iterator as arg, adjust.
5595 (rowBreakPoint): adjust
5596 (breakAgainOneRow): make it take a RowList::iterator as arg,
5598 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5600 * bufferview_funcs.C (toggleAndShow): adjust
5602 2003-03-30 John Levon <levon@movementarian.org>
5606 * boost-inst.C: moved to support
5608 * several files: changes as a result
5610 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * text2.C (LyXText): adjust.
5614 (removeRow): make it take a RowList::iterator as arg, adjust.
5615 (fullRebreak): adjust
5616 (deleteEmptyParagraphMechanism): adjust
5617 (clearPaint): adjust
5620 * text.C (top_y): adjust
5621 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5622 (breakAgain): make it take a RowList::iterator as arg, adjust.
5623 (breakParagraph): adjust
5624 (insertChar): adjust
5627 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5628 need_break_row, and refresh_row.
5630 * text3.C (dispatch): adjust
5632 * text2.C (checkParagraph): adjust
5634 (setCursorFromCoordinates): adjust
5636 * text.C (top_y): adjust
5638 (getRow): make it return a RowList::iterator, adjust
5639 (getRowNearY): make it return a RowList::iterator, adjust
5641 * text2.C (init): adjust
5642 (insertRow): remove function
5643 (insertParagraph): adjust
5644 (redoParagraphs): adjust
5645 (fullRebreak): adjust
5646 (updateCounters): adjust
5648 * text.C (top_y): rewrite to use RowList iterators.
5650 (setHeightOfRow): rewrite to sue RowList iterators.
5651 (appendParagraph): adjust
5652 (breakAgain): adjust
5653 (breakAgainOneRow): adjust
5654 (breakParagraph): adjust
5656 (getRowNearY): adjust, and remove commented code.
5658 * lyxtext.h (firstRow): delete function
5659 (lastRow): delete function
5660 (rows): new function (const and non-const versions.)
5661 (insertRow): delete function
5663 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5665 2003-03-29 John Levon <levon@movementarian.org>
5667 * BufferView_pimpl.C: always update scrollbar top
5668 because pasting text when we're anchored could mean we
5669 miss an update altogether
5671 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * text2.C (init): use rowlist_.end() and not 0.
5674 (insertRow): change to take a RowList::iterator as arg, adjust
5676 (insertParagraph): change to take a RowList::iterator as arg,
5678 (redoParagraphs): remove some debug msgs.
5680 * text.C (appendParagraph): change to take a RowList::iterator
5681 arg, adjust for this.
5682 (breakAgain): add an assert
5683 (breakAgainOneRow): ditto
5685 2003-03-29 John Levon <levon@movementarian.org>
5687 * text2.C: do not clear selection after inc/decDepth
5690 2003-03-29 John Levon <levon@movementarian.org>
5693 * buffer.C: fix broken strerrors according to Lars
5695 2003-03-29 John Levon <levon@movementarian.org>
5697 * converters.C: more Alert cleanups
5699 2003-03-29 John Levon <levon@movementarian.org>
5701 * bufferview_funcs.C: remove pointless Alert
5703 * buffer.C: fix confusing error message when
5704 a template is chmoded 000
5706 2003-03-29 John Levon <levon@movementarian.org>
5710 * BufferView_pimpl.C: Alert fixes
5714 * tabular-old.C: remove unused table compat reading
5716 2003-03-29 John Levon <levon@movementarian.org>
5721 * lyx_cb.C: more Alert cleanups
5723 * lyxfunc.C: don't allow chktex if not latex document
5725 2003-03-29 John Levon <levon@movementarian.org>
5729 * buffer.C: warnings pushed down from support/,
5732 2003-03-29 John Levon <levon@movementarian.org>
5734 * lyxfunc.C: safety check for C-r (revert)
5736 2003-03-29 John Levon <levon@movementarian.org>
5739 * bufferlist.C: several UI fixes using Alert::prompt.
5740 Fix the pointless looping quit code. Fix stupid revert
5745 * lyx_cb.C: use Alert::prompt
5747 * lyx_main.C: remove a silly question
5749 * lyxfunc.C: remove a couple of silly questions,
5752 2003-03-28 John Levon <levon@movementarian.org>
5754 * text2.C: fix bug 974 (End on empty par)
5756 2003-03-28 John Levon <levon@movementarian.org>
5758 * BufferView_pimpl.C:
5760 * lfuns.h: remove do-nothing math greek lfuns
5762 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * lyxgluelength.h (isValidGlueLength): add default arg on
5765 parameter 2. Remove default arg from friend in class.
5767 * lyxlength.h (isValidLength): add default arg on parameter 2.
5768 Remove default arg from friend in class.
5770 * text2.C (LyXText): adjust, initialize refresh_row.
5774 (insertParagraph): adjst
5775 (redoParagraphs): adjust
5776 (fullRebreak): adjust
5777 (updateCounters): adjust
5778 (deleteEmptyParagraphMechanism): first attempt at fixing a
5781 * text.C (top_y): adjust
5782 (setHeightOfRow): adjust
5784 (getRowNearY): adjust
5786 * lyxtext.h: include RowList.h
5787 (~LyXText): not needed anymore, deleted.
5788 (firstRow): modify for RowList
5789 (lastRow): new function
5790 Delete firstrow and lastrow class variables, add a Rowlist
5791 rowlist_ class variable.
5793 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5796 * RowList.C (insert): fix case where it == begin().
5798 2003-03-26 Angus Leeming <leeming@lyx.org>
5800 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5801 the thesaurus dialog.
5803 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5807 * RowList.[Ch]: new files
5809 * ParagraphList.C (erase): handle the case where it == begin
5812 2003-03-25 John Levon <levon@movementarian.org>
5816 * aspell.C: add new aspell support
5819 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5822 2003-03-25 Angus Leeming <leeming@lyx.org>
5825 * LyXAction.C (init): new LFUN_INSET_INSERT.
5827 * BufferView_pimpl.C (dispatch): split out part of the
5828 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5830 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5833 2003-03-25 Angus Leeming <leeming@lyx.org>
5835 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5837 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5840 * text3.C: remove useless row->height(0)
5842 2003-03-25 John Levon <levon@movementarian.org>
5846 * text3.C: rename the refreshing stuff to better names
5848 2003-03-24 John Levon <levon@movementarian.org>
5850 * BufferView_pimpl.h:
5851 * BufferView_pimpl.C: update layout choice on a mouse
5854 2003-03-23 John Levon <levon@movementarian.org>
5856 * Makefile.am: fix commandtags.h reference
5858 2003-03-22 John Levon <levon@movementarian.org>
5860 * BufferView_pimpl.C:
5865 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5867 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5870 * text.C: take the rtl methods out of line
5872 2003-03-21 André Pönitz <poenitz@gmx.net>
5874 * metricsinfo.[Ch]: new files containing structures to be passed around
5875 during the two-phase-drawing...
5877 2003-03-21 André Pönitz <poenitz@gmx.net>
5879 * lyxtextclass.C: read 'environment' tag.
5881 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5883 * text2.C (removeRow): fix bug 964
5885 2003-03-20 John Levon <levon@movementarian.org>
5889 * text2.C: paint cleanups. Inset::update() dropped font
5892 2003-03-19 John Levon <levon@movementarian.org>
5894 * lyxfunc.C: only fitcursor/markDirty if available()
5896 2003-03-19 John Levon <levon@movementarian.org>
5898 * commandtags.h: rename to ...
5900 * lfuns.h: ... this, and renumber / cleanup
5902 2003-03-19 John Levon <levon@movementarian.org>
5904 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5905 fit the cursor after an lfun
5909 * BufferView_pimpl.h:
5910 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5912 * LyXAction.C: layout-character should have ReadOnly
5914 * ParagraphParameters.C:
5916 * bufferview_funcs.C:
5923 * undo_funcs.C: changes from above
5925 2003-03-18 John Levon <levon@movementarian.org>
5927 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5928 remove it from update()
5930 * lyxfunc.C: update layout choice after an lfun
5932 * text3.C: remove extra updateLayoutChoice()s
5934 2003-03-18 John Levon <levon@movementarian.org>
5936 * text.C: top_y change means full repaint, fix
5937 a drawing bug with cursor movement
5939 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5943 * text2.C: anchor row on setCursor
5945 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5947 * lyxtext.h: remove almost all mutable keywords
5950 * text3.C: remove const keywords accordingly
5952 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5956 (TeXEnvironment): ditto
5959 2003-03-17 John Levon <levon@movementarian.org>
5961 * text.C (rowBreakPoint): remove attempt to fix displayed
5962 math insets inside a manual label
5964 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5966 * lyxtext.h: remove BufferView* as first arg from almost all class
5968 * other files: adjust.
5970 2003-03-17 John Levon <levon@movementarian.org>
5974 * text2.C: more paint cleanups
5976 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5979 * rowpainter.C: remove "smart" background painting code
5981 2003-03-16 John Levon <levon@movementarian.org>
5986 * text3.C: add helper functions for setting refresh_row/y
5988 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5990 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5991 newline inset which *can* get inserted in the pass_thru layouts.
5992 This is primarily for literate documents.
5994 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5996 * buffer.C: increment LYX_FORMAT to 223
5998 2003-03-14 André Pönitz <poenitz@gmx.net>
6000 * textclass.h: prepare for environment handling, ws changes
6001 * lyxlayout.C: read latexheader and latexfooter tags
6003 2003-03-14 John Levon <levon@movementarian.org>
6005 * text2.C: rewrite ::status() a bit
6007 2003-03-13 John Levon <levon@movementarian.org>
6009 * lyxtext.h: add some docs
6011 2003-03-13 John Levon <levon@movementarian.org>
6016 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6018 2003-03-13 John Levon <levon@movementarian.org>
6020 * text3.C: fix appendix redrawing
6022 2003-03-13 John Levon <levon@movementarian.org>
6024 * text.C (setHeightOfRow):
6026 * rowpainter.C: make appendix mark have the text
6027 "Appendix" so the user knows what it is
6030 * LColor.C: s/appendixline/appendix/ from above
6032 2003-03-13 John Levon <levon@movementarian.org>
6034 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6036 * text.C: fix a getChar(pos) bug properly
6038 2003-03-13 Angus Leeming <leeming@lyx.org>
6041 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6042 Probably only temporary. Let's see how things pan out.
6044 * BufferView.C (unlockInset):
6045 * BufferView_pimpl.C (fitCursor):
6046 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6048 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6049 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6051 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6052 new functions that convert ParagraphParameters to and from a string.
6054 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6055 BufferView::Pimpl's dispatch.
6056 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6058 2003-03-13 André Pönitz <poenitz@gmx.net>
6062 * factory.C: make it aware of InsetEnv
6064 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * text2.C (setCursor): never ask for one past last
6067 (setCursor): add some debugging messages.
6069 * text.C (singleWidth): never ask for one past last
6070 (singleWidth): ditto
6072 (rightMargin): ditto
6073 (rowBreakPoint): ditto
6074 (setHeightOfRow): ditto
6075 (prepareToPrint): ditto
6077 * rowpainter.C (paintBackground): never ask for one past last
6078 (paintText): never ask for one past last
6080 * paragraph_pimpl.C (getChar): make the assert stricter, never
6081 allow the one past last pos to be taken
6083 * paragraph.C (getChar): ws changes only
6085 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6086 (numberOfSeparators): ditto
6087 (numberOfHfills): ditto
6089 2003-03-12 John Levon <levon@movementarian.org>
6095 * paragraph_funcs.C: fix per-buffer authorlists
6097 2003-03-12 John Levon <levon@movementarian.org>
6099 * text.C: fix newline in right address
6101 2003-03-12 Angus Leeming <leeming@lyx.org>
6103 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6104 duplicate those in LyXFunc::dispatch.
6108 * ToolbarDefaults.C:
6109 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6110 Add LFUN_FONTFREE_UPDATE.
6112 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6113 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6115 * bufferview_func.[Ch]: several new functions to facilliate
6116 transfer of data to and from the character dialog.
6118 2003-03-12 John Levon <levon@movementarian.org>
6123 * paragraph_funcs.C:
6124 * paragraph_pimpl.C:
6128 * text3.C: remove META_NEWLINE in favour of an inset
6131 * rowpainter.C: remove paintNewline (done by inset)
6133 2003-03-12 John Levon <levon@movementarian.org>
6135 * paragraph_pimpl.C: complain about bad getChar()s
6136 for a while at least
6138 2003-03-12 John Levon <levon@movementarian.org>
6141 * buffer.C: move paragraph read into a separate function,
6142 a little renaming to reflect that.
6145 * bufferparams.C: remove the author_ids map, not necessary now
6148 * factory.C: moved Buffer::readInset to here
6150 * paragraph_funcs.h:
6151 * paragraph_funcs.C: readParagraph free function moved from
6154 * tabular.C: name change
6156 2003-03-12 John Levon <levon@movementarian.org>
6159 * ParagraphParameters.C: move par params input to
6162 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6163 behave like a normal read from the stream wrt reading
6164 a line vs. a \\token
6166 2003-03-12 John Levon <levon@movementarian.org>
6169 * ParagraphParameters.h:
6170 * ParagraphParameters.C: move output code to a
6173 2003-03-12 John Levon <levon@movementarian.org>
6175 * BufferView.C (insertLyXFile):
6178 * tabular.C: use a parlist iterator for creating the
6181 2003-03-12 John Levon <levon@movementarian.org>
6183 * buffer.C: make current_change static local not
6186 2003-03-12 John Levon <levon@movementarian.org>
6188 * buffer.C: fix insertStringAsLines for change tracking
6190 2003-03-12 John Levon <levon@movementarian.org>
6197 * bufferparams.C: move author list into params. Rename some
6198 functions. Move the header reading into a separate token
6199 loop. Move the header token reading into BufferParams.
6201 2003-03-12 John Levon <levon@movementarian.org>
6203 * changes.C: put debug inside lyxerr.debugging() checks
6205 2003-03-11 André Pönitz <poenitz@gmx.net>
6207 * factory.C: make it aware of InsetHFill
6209 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6211 * buffer.C (latexParagraphs): move function from here...
6212 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6215 2003-03-10 Angus Leeming <leeming@lyx.org>
6217 * LyXAction.C (init): fix bug in poplating array with multiple entries
6218 with the same LFUN (spotted by JMarc).
6220 2003-03-10 John Levon <levon@movementarian.org>
6223 * text2.C: move getColumnNearX() near its
6226 2003-03-10 John Levon <levon@movementarian.org>
6228 * text.C: fix break before a minipage
6230 2003-03-10 John Levon <levon@movementarian.org>
6232 * text.C: fix the last commit
6234 2003-03-09 John Levon <levon@movementarian.org>
6238 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6239 bug 365 (don't break before insets unless needed). Don't
6240 return a value > last under any circumstances.
6242 2003-03-09 Angus Leeming <leeming@lyx.org>
6244 * BufferView_pimpl.C (trackChanges, dispatch): call
6245 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6247 2003-03-09 Angus Leeming <leeming@lyx.org>
6249 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6250 than Dialogs::showAboutlyx().
6252 2003-03-09 Angus Leeming <leeming@lyx.org>
6254 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6255 than Dialogs::showTabularCreate().
6257 2003-03-09 John Levon <levon@movementarian.org>
6261 * text2.C: 3rd arg to nextBreakPoint was always the same.
6264 2003-03-08 John Levon <levon@movementarian.org>
6271 * text2.C: Remove the "main" bit from the "main body"
6274 2003-03-08 John Levon <levon@movementarian.org>
6276 * text.C (leftMargin): The left margin of an empty
6277 manual label paragraph should not include the label width
6280 * text.C (prepareToPrint): don't attempt to measure hfills
6281 for empty manual label paragraphs - the answer should be 0
6283 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * CutAndPaste.C: remove commented code and reindent.
6287 2003-03-08 John Levon <levon@movementarian.org>
6290 * lyxfunc.C: move reloadBuffer()
6293 * BufferView.C: to here
6295 * lyxvc.C: add comment
6298 * vc-backend.C: call bv->reload() to avoid
6299 getStatus() check on MENURELOAD
6301 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6303 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6304 to an old format .dep file.
6306 2003-03-07 Angus Leeming <leeming@lyx.org>
6308 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6309 when the LFUN_MOUSE_RELEASE should have been handled by
6310 inset->localDispatch.
6312 2003-03-07 Angus Leeming <leeming@lyx.org>
6314 * BufferView_pimpl.C (dispatch):
6315 * LyXAction.C (init):
6316 * ToolbarDefaults.C (init):
6318 * lyxfunc.C (getStatus):
6319 remove LFUN_INSET_GRAPHICS.
6321 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6323 2003-03-07 Angus Leeming <leeming@lyx.org>
6326 * LyXAction.C (init):
6327 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6329 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6332 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6334 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6335 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6337 2003-03-07 Angus Leeming <leeming@lyx.org>
6339 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6342 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * ParagraphList.C (front): new function
6347 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6349 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6350 and top_row_offset_. removed var first_y.
6352 * text2.C (LyXText, removeRow):
6354 * BufferView_pimpl.C:
6355 use these methods instead of using first_y
6357 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * text2.C (pasteSelection): adjust for checkPastePossible
6361 * CutAndPaste.C: remove Paragraph * buf and replace with
6362 ParagraphList paragraphs.
6363 (DeleteBuffer): delete
6364 (cutSelection): change the tc type to textclass_type
6365 (copySelection): change the tc type to textclass_type
6366 (copySelection): adjust for ParagraphList
6367 (pasteSelection): change the tc type to textclass_type
6368 (pasteSelection): adjust for Paragraphlist
6369 (nrOfParagraphs): simplify for ParagraphList
6370 (checkPastePossible): simplify for ParagraphList
6371 (checkPastePossible): remove unused arg
6373 * ParagraphList.C (insert): handle the case where there are no
6376 * CutAndPaste.h: make CutAndPaste a namespace.
6378 * text3.C (dispatch): adjust
6380 * text.C (breakParagraph): add a ParagraphList as arg
6382 * paragraph_funcs.C (breakParagraph): change to take a
6383 BufferParams and a ParagraphList as args.
6384 (breakParagraphConservative): ditto
6385 (mergeParagraph): ditto
6386 (TeXDeeper): add a ParagraphList arg
6387 (TeXEnvironment): ditto
6390 * buffer.C (readLyXformat2): adjust
6391 (insertStringAsLines): adjust
6392 (latexParagraphs): adjust
6394 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6395 (cutSelection): adjust
6396 (pasteSelection): adjust
6398 * BufferView_pimpl.C (insertInset): adjust
6400 2003-03-05 Angus Leeming <leeming@lyx.org>
6403 * LyXAction.C (init):
6404 * BufferView_pimpl.C (dispatch):
6405 * lyxfunc.C (getStatus):
6406 remove LFUN_CHILD_INSERT.
6408 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6410 2003-03-05 Angus Leeming <leeming@lyx.org>
6413 * LyXAction.C (init):
6414 * src/factory.C (createInset):
6415 * lyxfunc.C (getStatus):
6416 * text3.C (dispatch):
6417 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6419 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6421 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * ParagraphList.C (insert): handle insert right before end()
6424 (erase): fix cases where it can be first or last paragraph.
6426 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6429 Paragraph::next and Paragraph::previous
6432 * text.C (breakParagraph): adjust
6434 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6435 BufferParams& as arg.
6436 (breakParagraph): use ParagraphList::insert
6437 (breakParagraphConservative): take a Buffer* instead of a
6438 BufferParams& as arg.
6439 (breakParagraphConservative): use ParagraphList::insert.
6441 * buffer.C (insertStringAsLines): un-const it
6442 (insertStringAsLines): adjust
6444 * ParagraphList.C (insert): new function
6446 * CutAndPaste.C (pasteSelection): adjust
6448 * text.C (backspace): adjust
6450 * tabular.C (SetMultiColumn): adjust
6452 * CutAndPaste.C (cutSelection): adjust
6453 (pasteSelection): adjust
6455 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6456 Buffer const * as arg
6458 * ParagraphList.C (erase): new function
6459 * paragraph_funcs.C (mergeParagraph): use it
6460 (mergeParagraph): make it take a Buffer* instead of a
6461 BufferParams* as arg
6463 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6465 (breakParagraphConservative): ditto
6467 * paragraph.h: remove the breakParagraph friend
6469 * paragraph.C (eraseIntern): new function
6470 (setChange): new function
6472 * paragraph_funcs.C (mergeParagraph): make it take a
6473 ParagraphList::iterator instead of a Paragraph *, adjust
6476 * paragraph.h: move an #endif so that the change tracking stuff
6477 also works in the NO_NEXT case.
6479 2003-03-04 Angus Leeming <leeming@lyx.org>
6482 * LyXAction.C: new LFUN_INSET_MODIFY.
6484 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6485 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6487 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * several files: ws changes only
6491 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6492 (TeXEnvironment): ditto
6495 * buffer.C (makeLaTeXFile): adjust
6496 (latexParagraphs): make it take ParagraphList::iterator as args
6498 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6500 * buffer.C (latexParagraphs): adjust
6502 * paragraph.C (TeXOnePar): move function...
6503 (optArgInset): move function...
6504 (TeXEnvironment): move function...
6505 * paragraph_pimpl.C (TeXDeeper): move function...
6506 * paragraph_funcs.C: ...here
6508 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6510 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * buffer.C (readInset): remove compability code for old Figure and
6515 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * buffer.C: ws changes
6520 * BufferView_pimpl.C: ditto
6523 * bufferlist.h: ditto
6527 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6529 * converter.[Ch]: split into itself +
6532 * Makefile.am: += graph.[Ch] + format.[Ch]
6539 * lyxrc.C: added #include "format.h"
6541 2003-02-27 Angus Leeming <leeming@lyx.org>
6543 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6546 * factory.C (createInset): add "label" to the factory.
6548 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6549 string and do no more.
6551 2003-02-27 Angus Leeming <leeming@lyx.org>
6554 * LyXAction.C (init):
6555 * factory.C (createInset):
6556 * BufferView_pimpl.C (dispatch):
6557 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6559 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6561 * lyxfunc.C (dispatch):
6562 * text3.C (dispatch): pass name to params2string.
6564 2003-02-26 Angus Leeming <leeming@lyx.org>
6566 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6568 Rearrange the ~includes. Strip out the unnecessary ones.
6570 * factory.C (createInset): reformat.
6571 create new insets for the various LFUN_XYZ_APPLY lfuns.
6573 2003-02-26 John Levon <levon@movementarian.org>
6576 * lyxrow.C: add isParStart,isParEnd helpers
6578 * paragraph.h: make isInserted/DeletedText take refs
6580 * paragraph_funcs.h:
6581 * paragraph_funcs.C: remove #if 0'd code
6586 * text.C: use lyxrow helpers above.
6587 Move draw and paint routines to RowPainter.
6588 Make several methods use refs not pointers.
6589 Make backgroundColor() const.
6590 Add markChangeInDraw(), isInInset().
6591 Merge changeRegionCase into changeCase.
6592 Make workWidth() shouldn't-happen code into an Assert.
6595 * rowpainter.C: new class for painting a row.
6598 * vspace.C: make inPixels take a ref
6600 2003-02-26 Angus Leeming <leeming@lyx.org>
6602 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6605 2003-02-25 John Levon <levon@movementarian.org>
6607 * ispell.C: give the forked command a more accurate name
6609 2003-02-22 John Levon <levon@movementarian.org>
6612 * toc.C: make TocItem store an id not a Paragraph *
6615 2003-02-21 Angus Leeming <leeming@lyx.org>
6617 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6618 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6619 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6620 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6621 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6622 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6624 * BufferView_pimpl.C (dispatch):
6625 * LyXAction.C (init):
6626 * factory.C (createInset):
6627 * lyxfunc.C (getStatus, dispatch):
6628 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6630 2003-02-21 Angus Leeming <leeming@lyx.org>
6632 * BufferView_pimpl.C (MenuInsertLyXFile):
6633 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6634 * lyxfunc.C (menuNew, open, doImport):
6635 no longer pass a LyXView & to fileDlg.
6637 2003-02-21 Angus Leeming <leeming@lyx.org>
6639 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6640 * LyXAction.C: change, BIBKEY to BIBITEM.
6641 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6642 Change InsetBibKey to InsetBibitem.
6643 Change BIBKEY_CODE to BIBITEM_CODE.
6644 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6645 * factory.C: replace insetbib.h with insetbibitem.h.
6646 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6647 * paragraph.C: replace insetbib.h with insetbibitem.h.
6648 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6649 Change bibkey() to bibitem().
6650 * text.C: remove insetbib.h.
6651 * text2.C: replace insetbib.h with insetbibitem.h.
6652 change bibkey() to bibitem().
6653 * text3.C: remove insetbib.h.
6654 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6656 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * lyxrc.C (output): enclose user email in quotes (in case there are
6661 2003-02-18 John Levon <levon@movementarian.org>
6663 * buffer.h: add std::
6665 2003-02-17 John Levon <levon@movementarian.org>
6671 * pspell.C: reworking. Especially in ispell, a large
6672 number of clean ups and bug fixes.
6674 * lyxfunc.C: fix revert to behave sensibly
6676 2003-02-17 André Pönitz <poenitz@gmx.net>
6679 * commandtags.h: new LFUN_INSERT_BIBKEY
6689 * paragraph_func.C: remove special bibkey handling
6691 2003-02-17 John Levon <levon@movementarian.org>
6693 * text.C (Delete): fix case where delete at the end of
6694 the very first paragraph would not merge the pars
6696 2003-02-17 John Levon <levon@movementarian.org>
6698 * lyxrow.C: fix lastPrintablePos()
6700 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6702 * bufferparams.C (writeLaTeX): add a std:here
6704 * buffer.C: and remove a using directive there
6706 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6708 * buffer.C (makeLaTeXFile): move the code that generates the
6711 * bufferparams.C (writeLaTeX): ... in this new method
6713 * LaTeXFeatures.C (getEncodingSet): make const
6714 (getLanguages): make const
6716 * MenuBackend.C (binding): returns the binding associated to this
6718 (add): sets the status of each item by calling getStatus. Adds
6720 (read): add support for OptSubMenu
6721 (expand): remove extra separator at the end of expanded menu
6723 2003-02-15 John Levon <levon@movementarian.org>
6726 * BufferView_pimpl.C:
6728 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6729 inset code that had no actual effect. Remove unneeded status
6732 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6734 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6737 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6739 * text.C (drawLengthMarker): also draw an arrow marker for
6740 symbolic lengths (medskip...)
6742 2003-02-14 John Levon <levon@movementarian.org>
6745 * tabular.C: better method names
6747 2003-02-14 John Levon <levon@movementarian.org>
6749 * BufferView_pimpl.C:
6754 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6755 it's a more accurate name. Remove some pointless uses.
6757 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * text2.C (LyXText): change order of initilizers to shut off
6762 2003-02-14 John Levon <levon@movementarian.org>
6764 * buffer.C: use ParIterator for getParFromID()
6768 * paragraph_pimpl.h:
6769 * paragraph_pimpl.C: remove unused getParFromID()
6771 2003-02-14 John Levon <levon@movementarian.org>
6773 * buffer.C: remove some very old #if 0'd parse code
6775 2003-02-13 John Levon <levon@movementarian.org>
6779 * text2.C: move hfillExpansion(), numberOfSeparators(),
6780 rowLast(), rowLastPrintable(), numberofHfills(),
6781 numberOfLabelHfills() ...
6784 * lyxrow.C: ... to member functions here.
6789 * text.C: remove LyXText::beginningOfMainBody(), and call
6790 p->beginningOfMainBody() directly. Move the check for
6791 LABEL_MANUAL into the latter.
6798 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6804 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6805 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6807 2003-02-13 John Levon <levon@movementarian.org>
6809 * CutAndPaste.C: remove debug
6811 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6813 * paragraph.C (asString): remove two unused variables
6815 * lyxtextclass.C (readTitleType):
6817 (LyXTextClass): handle new members titletype_ and titlename_
6819 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6821 2003-02-09 John Levon <levon@movementarian.org>
6824 * buffer.C: replace hand-coded list with a map for the dep clean
6826 2003-02-08 John Levon <levon@movementarian.org>
6828 * LaTeX.C: consolidate code into showRunMessage() helper
6830 2003-02-08 John Levon <levon@movementarian.org>
6835 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6836 and pass the size in explicitly
6838 * BufferView_pimpl.h:
6839 * BufferView_pimpl.C:
6841 * BufferView.C: add getCurrentChange()
6843 * BufferView_pimpl.h:
6844 * BufferView_pimpl.C: handle change lfuns
6846 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6847 for changes. Mark pasted paragraphs as new.
6849 * support/lyxtime.h:
6850 * support/lyxtime.C:
6851 * DepTable.C: abstract time_t as lyx::time_type
6854 * LColor.C: add colours for new text, deleted text, changebars
6856 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6857 package use "usenames" option.
6861 * LyXAction.C: add change lfuns
6865 * author.C: author handling
6868 * buffer.C: add a per-buffer author list, with first entry as
6869 current author. Handle new .lyx tokens for change tracking. Output
6870 author list to .lyx file. Output dvipost stuff to .tex preamble.
6871 Bump lyx format to 222.
6874 * bufferlist.C: add setCurrentAuthor() to reset current author details
6878 * bufferparams.C: add param for tracking
6880 * bufferview_funcs.C: output change info in minibuffer
6884 * changes.C: add change-tracking structure
6887 * debug.C: add CHANGES debug flag
6890 * lyxfind.C: add code for finding the next change piece
6893 * lyxrc.C: add user_name and user_email
6896 * lyxrow.C: add a metric for the top of the text line
6899 * text.C: implement accept/rejectChange()
6902 * text.C: paint changebars. Paint new/deleted text in the chosen
6903 colours. Strike through deleted text.
6907 * paragraph_pimpl.h:
6908 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6909 in the current change to the insert functions. Rework erase to
6910 mark text as deleted, adding an eraseIntern() and a range-based
6911 erase(). Implement per-paragraph change lookup and
6914 * paragraph_funcs.C: Fixup paste for change tracking.
6916 * tabular.C: mark added row/columns as new.
6918 * text.C: fix rowLast() to never return -1. Don't allow
6919 spellchecking of deleted text. Track transpose changes. Don't
6920 allow paragraph break or merge where appropriate.
6922 * text2.C: leave cursor at end of selection after a cut.
6924 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6926 * text.C (getLengthMarkerHeight):
6927 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6928 visible on screen too.
6930 2003-02-07 John Levon <levon@movementarian.org>
6932 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6934 2003-02-05 Angus Leeming <leeming@lyx.org>
6936 * lyxserver.C (read_ready): revert my patch of 11 September last year
6937 as it sends PC cpu through the roof. Presumably this means that
6938 the lyxserver will no longer run on an Alpha...
6940 2003-01-30 Angus Leeming <leeming@lyx.org>
6942 * factory.C (createInset): create an InsetCommandParam of type "index"
6943 and use it to 'do the right thing'.
6945 * text2.C (getStringToIndex): ensure that cursor position is always
6946 reset to the reset_cursor position.
6948 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6950 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6953 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6957 * lyxfunc.C: Output messages with identical spelling, punctuation,
6960 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6962 * MenuBackend.C (expandFormats): List only viewable export formats
6965 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6968 * lyxfunc.C (getStatus): Make sure that formats other than
6969 "fax" can also be disabled
6971 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * text3.C (dispatch): put the lfuns that insert insets in 3
6974 groups, and call doInsertInset with appropriate arguments.
6975 (doInsertInset): new function, that creates an inset and inserts
6976 it according to some boolean parameters.
6978 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * buffer.C (readFile): remember to pass on 'par' when calling
6981 readFile recursively.
6983 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6985 * MenuBackend.C (expandFormats): add "..." to import formats.
6987 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6989 * paragraph.C (asString): Remove XForms RTL hacks.
6991 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6992 * buffer.C: fix typo
6994 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * Makefile.am (LIBS): delete var
6997 (lyx_LDADD): add @LIBS@ here instead.
6999 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7001 * Clarify the meaning of "wheel mouse jump"
7003 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7005 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7008 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7010 * importer.C (Loaders): do not preallocate 3 elements in the
7011 vector, since one ends up with 6 elements otherwise
7013 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7015 * DepTable.C (write): write the file name as last element of the
7016 .dep file (because it may contain spaces)
7017 (read): read info in the right order
7019 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7021 * paragraph_pimpl.C (simpleTeXBlanks):
7022 (simpleTeXSpecialChars):
7023 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7025 * tabular.C (latex): add some missing case statements. Reindent.
7027 * MenuBackend.C (expandToc): remove unused variable.
7029 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7038 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7041 2003-01-05 John Levon <levon@movementarian.org>
7044 * BufferView.C: add getEncoding()
7047 * kbsequence.C: do not store last keypress
7050 * lyxfunc.C: store last keypress here instead. Pass encoding
7053 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7055 * lyx_main.C (init): remove annoying error message when following
7056 symbolic links (bug #780)
7058 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7060 * text.C (insertChar):
7061 * lyxrc.C (getDescription): remove extra spaces
7063 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7065 * lyxrc.C (getDescription): remove extra spaces
7067 2002-12-20 John Levon <levon@movementarian.org>
7069 * text3.C: hack fix for page up/down across tall rows
7071 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7076 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7078 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7079 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7080 thesaurus is not compiled in
7082 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7084 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7086 2002-12-16 Angus Leeming <leeming@lyx.org>
7089 * lyx_main.C (init): remove override_x_deadkeys stuff.
7091 2002-12-12 John Levon <levon@movementarian.org>
7093 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7094 insert. Only remove shift modifier under strict
7097 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * MenuBackend.C (expandToc): fix crash.
7101 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7103 * MenuBackend.C (expandToc): gettext on float names.
7105 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7107 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7108 implement bool empty() [bug 490]
7110 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7114 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * several files: ws changes
7118 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * text2.C (setCounter): clean up a bit, use boost.format.
7121 (updateCounters): initialize par upon declaration.
7123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7124 if the layout exists. We do not just store the layout any more.
7125 (SwitchLayoutsBetweenClasses): use boost.format
7127 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7129 * converter.C (convert): if from and to files are the same, use a
7130 temporary files as intermediary
7132 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7135 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7137 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7139 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7141 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * tabular.C (asciiPrintCell): use string(size, char) instead of
7146 * sgml.C (openTag): fix order of arguments to string constructor
7149 * lyxfunc.C (dispatch): use boost.format
7151 * lots of files: change "c" -> 'c'
7153 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7155 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7157 2002-11-25 Angus Leeming <leeming@lyx.org>
7159 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7161 * lyx_main.C (init): compile fix.
7163 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * lyx_cb.C (start): boost.formatify
7166 do not include <iostream>
7168 * lengthcommon.C: ws only
7170 * boost-inst.C,BoostFormat.h: add more explict instantations
7172 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * lots of files: handle USE_BOOST_FORMAT
7176 2002-11-21 John Levon <levon@movementarian.org>
7178 * pspell.C: fix compile
7180 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7182 * lyxfunc.C (dispatch): use boost::format
7186 * lyxfont.C (stateText): use boost::format
7188 * lyx_main.C (LyX): use boost::format
7190 (queryUserLyXDir): ditto
7193 (typedef boost::function): use the recommened syntax.
7195 * importer.C (Import): use boost::format
7197 * debug.C (showLevel): use boost::format
7199 * converter.C (view): use boost::format
7204 * bufferview_funcs.C (currentState): use boost::format
7206 * bufferlist.C (emergencyWrite): use boost::format
7208 * buffer.C (readLyXformat2): use boost::format
7209 (parseSingleLyXformat2Token): ditto
7211 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7213 * LaTeX.C (run): use boost::format
7215 * Chktex.C (scanLogFile): use boost::format
7217 * BufferView_pimpl.C (savePosition): use boost::format
7218 (restorePosition): ditto
7219 (MenuInsertLyXFile): ditto
7221 * BoostFormat.h: help file for explicit instation.
7223 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7225 * tabular.C (latex): Support for block alignment in fixed width
7228 2002-11-17 John Levon <levon@movementarian.org>
7230 * BufferView_pimpl.C:
7232 * lyxfunc.C: split filedialog into open/save
7234 2002-11-08 Juergen Vigna <jug@sad.it>
7236 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7237 by my last patch (hopefully).
7239 2002-11-08 John Levon <levon@movementarian.org>
7248 * toc.C: ParConstIterator, and use it (from Lars)
7250 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7252 * lyxtextclass.[Ch]: revise and add doxygen comments
7254 2002-11-07 John Levon <levon@movementarian.org>
7256 * text.C: fix progress value for spellchecker
7258 * toc.C: fix navigate menu for insetwrap inside minipage
7260 * paragraph_funcs.C: added FIXME for suspect code
7262 2002-11-07 John Levon <levon@movementarian.org>
7264 * BufferView_pimpl.C: fix redrawing of insets
7267 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7269 * text2.C (updateCounters): fix bug 668
7271 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7273 * text3.C (dispatch): Do not make the buffer dirty when moving the
7276 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * vc-backend.C: STRCONV
7281 * text2.C (setCounter): STRCONV
7283 * paragraph.C (asString): STRCONV
7285 * lyxlength.C (asString): STRCONV
7286 (asLatexString): ditto
7288 * lyxgluelength.C (asString): STRCONV
7289 (asLatexString): ditto
7291 * lyxfunc.C (dispatch): STRCONV
7294 * lyxfont.C (stateText): STRCONV
7296 * importer.C (Import): STRCONV
7298 * counters.C (labelItem): STRCONV
7299 (numberLabel): ditto
7300 (numberLabel): remove unused ostringstream o
7305 * bufferview_funcs.C (currentState): STRCONV
7307 * buffer.C (readFile): STRCONV
7308 (asciiParagraph): ditto
7309 (makeLaTeXFile): ditto
7311 * Spacing.C (writeEnvirBegin): STRCONV
7313 * LaTeXFeatures.C (getLanguages): STRCONV
7314 (getPackages): ditto
7316 (getBabelOptions): ditto
7317 (getTClassPreamble): ditto
7318 (getLyXSGMLEntities): ditto
7319 (getIncludedFiles): ditto
7323 (scanAuxFile): ditto
7326 * LString.h: add the STRCONV macros
7328 * BufferView_pimpl.C (savePosition): STRCONV
7329 (restorePosition): ditto
7330 (MenuInsertLyXFile): ditto
7332 * vc-backend.C (scanMaster): change from submatch[...] to
7335 * funcrequest.C: include config.h
7337 * factory.C: include config.h
7339 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7341 * box.C: include config.h
7343 * LaTeX.C (scanAuxFile): change from submatch[...] to
7347 2002-10-25 Angus Leeming <leeming@lyx.org>
7349 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7351 * ispell.[Ch] (setError): new method.
7352 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7353 Use setError() insetead of goto END.
7355 * lyx_cb.C (AutoSave): move out child process into new class
7358 2002-10-30 John Levon <levon@movementarian.org>
7360 * text3.C: make start appendix undoable
7362 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7364 * lyxlength.C (inPixels): Fix returned value.
7366 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7369 2002-10-24 Angus Leeming <leeming@lyx.org>
7371 * lyxgluelength.h: no need to forward declare BufferParams
7372 or BufferView, so don't.
7374 2002-10-21 John Levon <levon@movementarian.org>
7376 * BufferView.C: menuUndo ->undo, redo
7378 * BufferView.h: document, remove dead, make some methods private
7380 * paragraph_funcs.h:
7381 * paragraph_funcs.C:
7382 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7387 * sgml.C: move sgml open/close tag into sgml.C
7389 * bufferview_funcs.h: unused prototype
7392 * lyxfunc.C: remove unused
7395 * text.C: remove unused
7397 2002-10-21 John Levon <levon@movementarian.org>
7401 * BufferView_pimpl.h:
7402 * BufferView_pimpl.C: fix mouse wheel handling based on
7403 patch from Darren Freeman
7405 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7407 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7409 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7411 * lyxlength.C (inPixels): Fix hanfling of negative length.
7412 Fix LyXLength::MU case.
7414 2002-10-16 John Levon <levon@movementarian.org>
7416 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7418 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7420 * converter.C (view): add support for $$i (file name) and $$p
7421 (file path) for the viewer command. If $$i is not specified, then
7422 it is appended to the command (for compatibility with old syntax)
7424 2002-10-14 Juergen Vigna <jug@sad.it>
7426 * undo_funcs.C (textHandleUndo): alter the order in which the
7427 new undopar is added to the LyXText, as we have to set first
7428 the right prev/next and then add it as otherwise the rebuild of
7429 LyXText is not correct. Also reset the cursor to the right paragraph,
7430 with this IMO we could remove the hack in "redoParagraphs()".
7432 2002-10-09 Angus Leeming <leeming@lyx.org>
7434 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7435 to turn off an optimisation if a new inset is to be inserted.
7437 2002-10-11 André Pönitz <poenitz@gmx.net>
7439 * lyxtext.h: make some functions public to allow access
7440 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7442 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7444 * text3.C (dispatch): when changing layout, avoid an infinite loop
7447 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7449 * lyxrc.C (read): treat a viewer or converter command of "none" as
7452 * MenuBackend.C (expandFormats): for an update, also allow the
7453 formats that are not viewable
7455 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7456 script if it is newer than the lyxrc.defaults in user directory
7458 2002-10-07 André Pönitz <poenitz@gmx.net>
7460 * text.C: Vitaly Lipatov's small i18n fix
7462 2002-09-25 Angus Leeming <leeming@lyx.org>
7464 * ispell.h: doxygen fix.
7466 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7468 * buffer.h (readFile): Add a new argument to the method, to allow
7469 reading of old-format templates.
7471 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7473 * toc.C (getTocList): Get TOC from InsetWrap.
7475 2002-09-16 John Levon <levon@movementarian.org>
7477 * lyxfunc.C: check tabular for cut/copy too
7479 2002-09-12 John Levon <levon@movementarian.org>
7484 * factory.C: add header
7486 * paragraph_funcs.h:
7487 * paragraph_funcs.C: cleanup
7489 2002-09-11 John Levon <levon@movementarian.org>
7491 * PrinterParams.h: odd/even default to true
7493 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7495 * PrinterParams.h: update printer parameters for new xforms dialog
7497 2002-09-11 Angus Leeming <leeming@lyx.org>
7499 * lyxserver.C (read_ready): re-write to make it more transparent
7500 and to make it work in coherent fashion under Tru64 Unix.
7502 2002-09-11 André Pönitz <poenitz@gmx.net>
7506 * text3.C: implement LFUN_WORDSEL
7508 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7511 make floatlist_ a boost::shared_ptr<FloatList>
7513 * lyxtextclass.C: include FloatList.h
7514 (LyXTextClass): initialize floatlist_
7515 (TextClassTags): add TC_NOFLOAT
7516 (Read): match "nofloat" to TC_NOFLOAT and use it.
7517 (readFloat): modify call to floatlist_
7521 * FloatList.[Ch] (FloatList): remove commented out float
7523 (erase): new function
7525 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7527 * MenuBackend.C (expandToc): fix crash when there is no document
7530 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7532 * many files: Add insetwrap.
7534 2002-09-09 John Levon <levon@movementarian.org>
7536 * text2.C: remove confusing and awkward depth wraparound
7538 2002-09-09 John Levon <levon@movementarian.org>
7540 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7543 * buffer.C: remove getIncludeonlyList()
7546 * lyxfunc.C: remove headers
7548 2002-09-09 Juergen Vigna <jug@sad.it>
7550 * text.C (getColumnNearX): fix form Michael this is most
7551 probably a cut&paste bug.
7553 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7555 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7557 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7558 references, ws changes.
7560 * text2.C (init): update counters after init
7561 (insertParagraph): no need to set counter on idividual paragraphs.
7562 (setCounter): access the counters object in the textclass object
7563 on in the buffer object.
7564 (updateCounters): ditto
7566 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7567 shared_ptr<Counters> to avoid loading counters.h in all
7569 (LyXTextClass): initialize ctrs_
7570 (TextClassTags): add TC_COUNTER, and ...
7571 (Read): use it here.
7572 (CounterTags): new tags
7573 (readCounter): new function
7574 (counters): new funtion
7575 (defaultLayoutName): return a const reference
7577 * counters.C (Counters): remove contructor
7578 (newCounter): remove a couple of unneeded statements.
7579 (newCounter): simplify a bit.
7580 (numberLabel): some small formatting changes.
7582 * buffer.[Ch]: remove all traces of counters, move the Counters
7583 object to the LyXTextClass.
7585 2002-09-06 Alain Castera <castera@in2p3.fr>
7587 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7588 package to set the horizontal alignment on fixed width columns.
7591 * lyx_sty.h: added tabularnewline macro def.
7593 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7595 2002-09-06 John Levon <levon@movementarian.org>
7597 * LyXAction.C: tooltips for sub/superscript
7599 * MenuBackend.C: a bit more verbose
7601 * lyxfunc.C: tiny clean
7603 * undo_funcs.C: document undo_frozen
7605 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * counters.C (Counters): add missing algorithm counter.
7609 * text2.C (setCounter): lookup the counter with layouts latexname
7610 instead of by section number.
7611 (setCounter): use a hackish way to lookup the correct enum
7613 a float name->type change
7614 reset enum couners with counter name directly instead of depth value.
7616 * counters.C (Counters): remove the push_backs, change to use the
7617 float type not the float name.
7618 (labelItem): remove unused string, float name->type change
7620 * counters.h: don't include vector, loose the enums and sects vectors
7622 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7625 (Read): add float->TC_FLOAT to textclassTags
7626 (Read): and handle it in the switch
7627 (readFloat): new function
7629 * FloatList.C (FloatList): comment out the hardcoded float
7632 * lyxlayout.h: ws change.
7634 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7636 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7638 2002-09-03 Angus Leeming <leeming@lyx.org>
7640 * BufferView_pimpl.h: qualified name is not allowed in member
7641 declaration: WorkArea & Pimpl::workarea() const;
7643 * factory.C: added using std::endl directive.
7645 * text3.C: added using std::find and std::vector directives.
7647 2002-08-29 André Pönitz <poenitz@gmx.net>
7650 * text2.C: remove unused member number_of_rows
7653 * BufferView2.C: remove file, move contents to...
7654 * BufferView.C: ... here
7656 * BufferView_pimpl.C:
7657 * factory.C: move more inset creation to factory
7659 * vspace.C: avoid direct usage of LyXText, ws changes
7662 don't provide direct access to WorkArea, use two simple
7663 acessors haveSelction() and workHeight() instead
7666 2002-08-29 John Levon <levon@movementarian.org>
7668 * BufferView_pimpl.C (dispatch): do not continue when
7671 2002-08-28 André Pönitz <poenitz@gmx.net>
7673 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7676 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7678 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7680 * buffer.C: increment LYX_FORMAT to 221
7682 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7683 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7685 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7687 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7689 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7691 * factory.C (createInset): use LyXTextClass::floats
7693 * MenuBackend.C (expandFloatListInsert):
7694 (expandFloatInsert):
7697 * text2.C (setCounter):
7699 * LaTeXFeatures.C (useFloat):
7700 (getFloatDefinitions):
7702 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7704 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7705 floatlist_, with accessor floats().
7707 * FloatList.h: remove global FloatList
7709 2002-08-26 André Pönitz <poenitz@gmx.net>
7711 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7715 * BufferView_pimpl.C:
7716 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7718 2002-08-25 John Levon <levon@movementarian.org>
7720 * LyXAction.C: fix margin note description
7722 2002-08-24 John Levon <levon@movementarian.org>
7726 * bufferview_funcs.C:
7728 * undo_funcs.C: cleanups
7730 * lyxfunc.C: disable CUT/COPY when no selection
7732 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7734 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7735 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7737 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7738 Add backward compatibility to "mono", "gray" and "no".
7740 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7742 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7743 (and file_format >= 200).
7745 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7747 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7749 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7751 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7753 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7755 * BufferView_pimpl.C:
7762 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7763 inset and code to make it work with the paragraph code. The inset
7764 can be anywhere in the paragraph, but will only do the expected
7765 thing in LaTeX if the layout file contains the parameter line
7767 (or more generally, a nonzero value) for that layout.
7769 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * paragraph.h: remove the declaration of undefined counters class
7774 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7776 * text2.C (setCounter): fixed enumeration mis-count as reported by
7777 Dr. Richard Hawkins.
7779 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7781 * paragraph_funcs.h: remove some unneeded includes
7783 * text.C (backspace): pasteParagraph now in global scipe
7785 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7786 (pasteSelection): ditto
7788 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7789 * paragraph_funcs.C (pasteParagraph): ... here
7791 2002-08-20 André Pönitz <poenitz@gmx.net>
7793 * commandtags.h: new LFUNs for swapping/copying table row/colums
7796 * lyxfunc.C: support for new lfuns
7798 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * buffer.[Ch]: remove NO_COMPABILITY stuff
7803 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * boost.C (throw_exception): new file, with helper function for
7806 boost compiled without exceptions.
7811 * ParameterStruct.h:
7812 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7814 * bufferlist.C (emergencyWriteAll): use boost bind
7816 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7818 * text.C: include paragraph_funcs.h
7819 (breakParagraph): breakParagraph is now in global scope
7821 * paragraph_funcs.[Ch]: new files
7823 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7826 * buffer.C: include paragraph_funcs.h
7827 (insertStringAsLines): breakParagraph is now in global scope
7829 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7832 * CutAndPaste.C: include paragraph_funcs.h
7833 (cutSelection): breakParagraphConservative is now in global scope
7834 (pasteSelection): ditto
7836 * buffer.h: declare oprator== and operator!= for
7837 Buffer::inset_iterator
7839 * bufferlist.C (emergencyWrite): don't use fmt(...)
7841 * text3.C: add using std::endl
7843 * BufferView.C (moveCursorUpdate): remove default arg
7845 2002-08-20 André Pönitz <poenitz@gmx.net>
7847 * buffer.[Ch]: move inline functions to .C
7850 * BufferView_pimpl.C:
7852 * buffer.[Ch]: use improved inset_iterator
7855 * paragraph.[Ch]: write one paragraph at a time
7857 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7859 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7860 style if style is not specified.
7862 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7864 * text2.C (setCounter): when searching for right label for a
7865 caption, make sure to recurse to parent insets (so that a caption
7866 in a minipage in a figure float works) (bug #568)
7868 2002-08-20 André Pönitz <poenitz@gmx.net>
7870 * text3.C: new file for LyXText::dispatch() and helpers
7872 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7874 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7876 2002-08-19 André Pönitz <poenitz@gmx.net>
7879 * text.C: new LyXText::dispatch()
7881 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7883 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7885 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7887 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7890 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7892 * Makefile.am: use $(variables) instead of @substitutions@
7894 2002-08-15 André Pönitz <poenitz@gmx.net>
7897 * BufferView_pimpl.C: streamlining mathed <-> outer world
7901 * LyXAction.C: remove unused LFUN_MATH
7903 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7905 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7907 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * paragraph.C (Paragraph): reformat a bit
7910 (cutIntoMinibuffer): use builtin InsetList function instad of
7914 * buffer.C: include boost/bind.hpp, add using std::for_each
7915 (writeFileAscii): use ParagraphList iterators
7916 (validate): use for_each for validate traversal of paragraphs
7917 (getBibkeyList): use ParagraphList iterators
7918 (resizeInsets): use for_each to resizeInsetsLyXText for all
7920 (getParFromID): use ParagraphList iterators
7922 * BufferView2.C (lockInset): use paragraph list and iterators
7924 2002-08-14 John Levon <levon@movementarian.org>
7926 * lyxserver.C: remove spurious xforms include
7928 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7930 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7932 2002-08-13 André Pönitz <poenitz@gmx.net>
7935 * lyxfunc.C: further cleaning
7937 2002-08-13 André Pönitz <poenitz@gmx.net>
7939 * funcrequest.h: new constructor
7941 * funcrequest.C: move stuff here from .h
7944 * BufferView_pimpl.C:
7947 * lyxfunc.C: subsequent changes
7949 * lyxfunc.h: new view() member function
7951 * lyxfunc.C: subsequent changes
7953 2002-08-13 Angus Leeming <leeming@lyx.org>
7956 * BufferView_pimpl.C:
7964 changes due to the changed LyXView interface that now returns references
7965 to member variables not pointers.
7967 2002-08-13 Angus Leeming <leeming@lyx.org>
7969 * WordLangTuple (word, lang_code): return references to strings,
7974 * lyxtext.h: forward-declare WordLangTuple.
7979 * text.C: #include "WordLangTuple.h".
7982 * text.C: (selectNextWordToSpellcheck): constify return type.
7984 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7990 * paragraph_pimpl.h:
7993 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7995 Made updateCounter always count from start of buffer, and removed
7996 second argument (par).
7997 Reverted floats number display to '#'. Perhaps I'll try again when the
7998 code base is sanitized a bit.
8000 2002-08-12 Angus Leeming <leeming@lyx.org>
8002 * buffer.[Ch] (getLabelList): constify.
8004 2002-08-07 André Pönitz <poenitz@gmx.net>
8006 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8008 * funcrequest.h: extension to keep mouse (x,y) position
8010 2002-08-12 Juergen Vigna <jug@sad.it>
8012 * BufferView2.C (insertErrors): forbid undo when inserting error
8015 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8017 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8019 * ParagraphList.[Ch]: new files
8021 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8023 * BufferView2.C (lockInset): ParagraphList changes
8026 * bufferlist.C: ditto
8030 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8033 unused class variable counter_,
8035 * paragraph.[Ch] (getFirstCounter): delete unused function
8037 * counters.C: include LAssert.h
8038 (reset): add a new function with no arg, change other version to
8039 not have def. arg and to not allow empty arg.
8041 * text2.C (setCounter): remove empty arg from call to Counters::reset
8043 2002-08-11 John Levon <levon@movementarian.org>
8045 * Makefile.am: add WordLangTuple.h
8047 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8050 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8052 * insets/insettext.C: InsetList changes
8054 * graphics/GraphicsSupport.C (operator()): InsetList changes
8056 * toc.C (getTocList): InsetList changes
8058 * paragraph_pimpl.[Ch]: InsetList changes
8060 * paragraph.[Ch]: InsetList changes
8062 * buffer.C (inset_iterator): InsetList changes
8063 (setParagraph): ditto
8064 * buffer.h (inset_iterator): ditto
8065 * iterators.C (operator++): ditto
8066 * iterators.h: ditto
8068 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8070 * InsetList.[Ch]: new files, most InsetList handling moved out of
8073 * BufferView2.C (removeAutoInsets): InsetList changes
8075 (ChangeInsets): ditto
8077 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8079 * paragraph_pimpl.h (empty): new function
8081 * paragraph.[Ch] (empty): new function
8083 * other files: use the new Paragraph::empty function
8085 2002-08-09 John Levon <levon@movementarian.org>
8087 * lyxtext.h: remove unused refresh_height
8089 2002-08-09 John Levon <levon@movementarian.org>
8096 * paragraph.C: move sgml char escaping out of paragraph
8099 * paragraph.C: remove id setter
8103 * paragraph_pimpl.C: remove dead tex_code_break_column
8105 * bufferview_funcs.C: small cleanup
8107 * lyxfunc.C: remove dead proto
8109 * lyxtext.h: make some stuff private. Remove some dead stuff.
8111 * lyxgluelength.C: make as[LyX]String() readable
8113 2002-08-08 John Levon <levon@movementarian.org>
8118 * ToolbarDefaults.C:
8121 * toc.C: lyxaction cleanup
8123 2002-08-08 John Levon <levon@movementarian.org>
8125 * BufferView2.C: small cleanup
8128 * lyxfind.C: move unnecessary header into the .C
8130 2002-08-08 John Levon <levon@movementarian.org>
8132 * funcrequest.h: just tedious nonsense
8135 * lyx_main.C: cleanups
8138 * vspace.C: remove dead header lyx_main.h
8140 2002-08-07 Angus Leeming <leeming@lyx.org>
8143 * paragraph_pimpl.h:
8144 Forward declare class Counters in paragraph.h by moving the ctrs member
8145 variable into Paragraph::Pimpl.
8146 (counters): new method, returning a reference to pimpl_->ctrs.
8148 * text2.C: ensuing changes.
8150 2002-08-07 John Levon <levon@movementarian.org>
8152 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8154 * BufferView_pimpl.C: announce X selection on double/triple
8157 * lyx_main.C: use correct bool in batch dispatch
8159 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8161 2002-08-07 André Pönitz <poenitz@gmx.net>
8163 * funcrequest.h: new class to wrap a kb_action and its argument
8166 * BufferView_pimpl[Ch]:
8170 * lyxrc.C: subsequent changes
8173 2002-08-07 John Levon <levon@movementarian.org>
8175 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8176 document options change.
8178 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8183 * makefile.am: move counters functionality over from
8184 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8186 2002-08-06 John Levon <levon@movementarian.org>
8188 * WordLangTuple.h: new file for word + language code tuple
8199 * BufferView2.C: use WordLangTuple
8202 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8204 2002-08-06 John Levon <levon@movementarian.org>
8206 * lyx_main.C: fix cmdline batch handling
8208 2002-08-06 André Pönitz <poenitz@gmx.net>
8210 * lyxrc.C: set default for show_banner to true
8212 2002-08-06 John Levon <levon@movementarian.org>
8214 * pspell.C: fix a crash, and allow new aspell to work
8216 2002-08-06 John Levon <levon@movementarian.org>
8219 * kbmap.C: small cleanup
8222 * vspace.C: add const
8224 2002-08-05 John Levon <levon@movementarian.org>
8226 * LyXAction.C: back to tabular-insert
8228 2002-08-04 John Levon <levon@movementarian.org>
8231 * BufferView.C: cosmetic change
8233 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8243 * BufferView2.C: purge all "Lyx" not "LyX" strings
8246 * lyxcursor.C: attempt to add some documentation
8251 * ToolbarDefaults.C:
8252 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8253 merge with LFUN_TABULAR_INSERT
8260 * pspell.C: split up i/pspell implementations into separate
8261 files, many cleanups
8263 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8265 * text2.C: some cleanup
8267 * lyxfunc.C: don't check for isp_command == "none" any more, it
8268 didn't make any sense
8270 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8275 * makefile.am: move counters functionality over
8276 from text2.C/paragraph.[Ch] to counters.[Ch], and
8278 2002-08-02 John Levon <levon@movementarian.org>
8280 * buffer.C: s/lyxconvert/lyx2lyx/
8282 2002-08-02 Angus Leeming <leeming@lyx.org>
8284 * lyxlex.C: revert John's change as it breaks reading of the user
8287 2002-08-02 Angus Leeming <leeming@lyx.org>
8289 * importer.C (Import):
8290 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8291 changes due to LyXView::view() now returning a boost::shared_ptr.
8293 2002-08-02 John Levon <levon@movementarian.org>
8295 * lyxlex.C: small cleanup
8297 2002-08-02 John Levon <levon@movementarian.org>
8299 * text2.C (status): small cleanup, no logic change
8301 2002-08-01 John Levon <levon@movementarian.org>
8304 * buffer.C (writeFile): don't output alerts, caller
8308 * lyx_cb.C: from above
8310 * lyxfunc.C: allow to open non-existent files
8312 2002-07-31 John Levon <levon@movementarian.org>
8314 * lyxserver.C: don't let incidental errors get
8317 2002-07-30 John Levon <levon@movementarian.org>
8319 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8321 2002-07-30 John Levon <levon@movementarian.org>
8324 * lyxserver.C: remove I/O callback too
8326 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8328 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8331 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * many files: strip,frontStrip -> trim,ltrim,rtrim
8335 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8337 * PrinterParams.h: remove extern containsOnly, and include
8338 support/lstrings.h instead.
8340 * LaTeX.C (scanAuxFile): modify because of strip changes
8342 * buffer.C (makeLaTeXFile): ditto
8343 * bufferparams.C (writeFile): ditt
8344 * lyxfont.C (stateText): ditto
8345 * lyxserver.C (read_ready): ditto
8346 * vc-backend.C (scanMaster): ditto
8348 * BufferView_pimpl.h: ws changes
8350 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8352 2002-07-26 André Pönitz <poenitz@gmx.net>
8354 * kb_sequence.C: remove unnedred usings
8356 2002-07-26 Juergen Vigna <jug@sad.it>
8358 * lyxfind.C (LyXReplace): we have to check better if the returned
8359 text is not of theLockingInset()->getLockingInset().
8361 2002-07-25 Juergen Vigna <jug@sad.it>
8363 * lyxfind.C (LyXReplace): don't replace if we don't get the
8366 * undo_funcs.C (createUndo): remove debugging code.
8368 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8370 * buffer.C (parseSingleLyXformat2Token): Use default placement
8371 when reading old floats.
8373 * FloatList.C (FloatList): Change the default placement of figure
8374 and tables to "tbp".
8376 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8378 * MenuBackend.C: using std::max
8380 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8382 * MenuBackend.C (expandToc):
8383 (expandToc2): code moved from xforms menu frontend. It is now
8384 generic and TOCs are transparent to menu frontends.
8386 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8388 * toc.C (getTocList): protect against buf=0
8390 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8391 Menu as first parameter. Now, this calls itself recursively to
8392 expand a whole tree (this will be useful for TOC handling)
8393 (expandFloatInsert): remove 'wide' version of floats
8395 * MenuBackend.h (submenuname): returns the name of the submenu.
8396 (submenu): returns the submenu itself, provided it has been
8397 created by MenuBackend::expand
8399 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8401 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8402 insets which have noFontChange == true. (bug #172)
8404 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * BufferView_pimpl.C: add connection objects and use them...
8409 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8411 * MenuBackend.C (expandLastfiles):
8414 (expandFloatListInsert):
8415 (expandFloatInsert):
8416 (expand): split expand in parts
8418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8420 * lyx_gui.C: use lyx_gui::exit()
8422 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8424 * LyXAction.C: show the failing pseudo action
8426 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8428 * buffer.C (readFile): Run the lyxconvert script in order to read
8431 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8435 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8437 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8441 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8443 2002-07-22 Herbert Voss <voss@lyx.org>
8446 * lyxlength.[Ch]: add support for the vertical lengths
8448 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8450 * toc.[Ch]: std:: fixes
8452 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * lyxrc.C: do not include lyx_main.h
8456 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8462 * BufferView2.C: include "lyxlex.h"
8465 * bufferparams.h: do not #include "lyxlex.h"
8467 * lyxtextclasslist.C (Add): remove method
8468 (classlist): renamed to classlist_
8470 * paragraph_pimpl.C:
8474 * bufferview_funcs.C:
8479 * toc.C (getTocList): use BufferParams::getLyXTextClass
8481 * toc.C (getTocList): use InsetFloat::addToToc
8483 * toc.[Ch]: new files, containing helper functions to handle table
8486 * lyxfunc.C (dispatch): no need to remove spaces around command
8488 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8489 first command of the sequence; it is not very clever, but I do not
8490 have a better idea, actually
8492 * LyXAction.C (LookupFunc): make sure to remove space at the
8493 beginning and end of the command
8495 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * MenuBackend.C (getMenubar): new method: return the menubar of
8499 (read): treat differently reading of menu and menubar (in
8500 particular, the menubar has no name now)
8501 (Menu::menubar): remove
8503 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8506 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8508 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8509 a bibitem inset in a RTL paragraph.
8511 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8513 * paragraph_pimpl.C: constify
8515 * BufferView_pimpl.C:
8517 * lyxfunc.C: fix dispatch in a nicer way
8519 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8521 * lyxfunc.C (dispatch):
8522 * BufferView_pimpl.C:
8523 * BufferView_pimpl.h:
8525 * BufferView.h: rename Dispatch() to dispatch()
8527 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8529 * lyxlayout.C (Read): honor DependsOn tag
8531 * lyxlayout.[Ch] (depends_on): new method
8533 * version.C.in: update lyx_docversion
8535 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8537 * paragraph.C (validate): remove from here...
8538 * paragraph_pimpl.C (validate): ... and move here
8539 (isTextAt): make it const
8541 * buffer.C (getLists): ws cleanup
8543 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8545 * language.C (read): Use iso8859-1 encoding in latex_lang
8546 (this prevents LyX from crashing when using iso10646-1 encoding).
8548 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8550 * text2.C (toggleInset): if cursor is inside an inset, close the
8551 inset and leave cursor _after_ it
8553 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8555 * lyxfunc.C: move minibuffer completion handling out of here
8557 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8559 * BufferView_pimpl.C:
8560 * LaTeX.C: fix dispatch calls
8562 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8564 * text.C (drawChars): Fix Arabic text rendering.
8566 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8570 * lyxfunc.C: remove message-push/pop
8574 * lyxfunc.C: rationalise some code by removing verboseDispatch
8575 in favour of a bool argument to dispatch()
8577 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8579 * lyx_main.C (init): make sure to read symlinks as absolute paths
8581 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8584 * lyxfunc.C: no need for commandshortcut to be a member
8586 2002-07-15 André Pönitz <poenitz@gmx.net>
8588 * converter.C: add support for $$s (scripts from lib/scripts dir)
8589 * lyx_main.C: white space
8591 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8595 * lyxrc.C: remove second exit confirmation
8597 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8602 * BufferView_pimpl.h:
8603 * BufferView_pimpl.C:
8604 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8606 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8608 * MenuBackend.C (expand): add numeric shortcuts to document menu
8610 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8612 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8614 * lyxfont.C (setLyXFamily):
8621 * buffer.C (asciiParagraph): use ascii_lowercase
8623 2002-07-15 Mike Fabian <mfabian@suse.de>
8625 * lyxlex_pimpl.C (search_kw):
8626 * lyxlex.C (getLongString):
8627 * converter.h (operator<):
8628 * converter.C (operator<):
8629 * buffer.C (parseSingleLyXformat2Token):
8631 * ToolbarDefaults.C (read):
8632 * MenuBackend.C (checkShortcuts):
8634 * LColor.C (getFromGUIName):
8635 (getFromLyXName): use the compare_ascii_no_case instead of
8636 compare_no_case, because in turkish, 'i' is not the lowercase
8637 version of 'I', and thus turkish locale breaks parsing of tags.
8639 2002-07-16 Angus Leeming <leeming@lyx.org>
8641 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8642 now takes a Buffer const & argument.
8644 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8646 * BufferView.C (resize): check there's a buffer to resize
8648 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8650 * lyxfunc.C: remove dead code
8653 * lyxserver.C: use lyx_guii::set_read_callback
8655 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8657 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8658 an inset in a RTL paragraph.
8660 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8662 * lyxfunc.C: repaint after a font size update
8664 2002-07-15 André Pönitz <poenitz@gmx.net>
8666 * lyxlength.C: inBP should be able to return negative values
8668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8670 * lyxfunc.C: use lyx_gui::update_fonts()
8672 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8674 * lyxfunc.C: use lyx_gui::update_color()
8676 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8682 * lyxrc.C: remove file->new asks for name option, and let
8683 buffer-new take an argument
8685 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8687 * BufferView_pimpl.C: remove unneeded extra repaint()
8689 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8691 * LyXAction.C: allow command-sequence with NoBuffer
8693 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8695 2002-07-10 Angus Leeming <leeming@lyx.org>
8697 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8699 2002-07-09 Angus Leeming <leeming@lyx.org>
8701 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8703 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8705 * lengthcommon.h: whitespace
8707 * lyxfunc.C: update scrollbar after goto paragraph
8709 * lyxtext.h: factor out page break drawing, and fix it so
8710 page break/added space paints as selected nicely
8712 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8714 * BufferView_pimpl.C: add FIXMEs, clean up a little
8716 2002-07-09 André Pönitz <poenitz@gmx.net>
8718 * lyxfont.[Ch]: support for wasy symbols
8720 2002-07-08 André Pönitz <poenitz@gmx.net>
8722 * BufferView_pimpl.C: apply John's patch for #93.
8724 2002-07-05 Angus Leeming <leeming@lyx.org>
8726 * BufferView_pimpl.C (buffer): generate previews if desired.
8728 * LColor.h: add "preview" to the color enum.
8730 * LColor.C (LColor): add a corresponding entry to the items array.
8732 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8735 2002-07-05 Angus Leeming <leeming@lyx.org>
8737 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8738 The body of the code is now in the method that is passed an ostream &
8739 rather than a file name.
8740 Pass an additional only_preamble parameter, useful for the forthcoming
8743 2002-07-03 André Pönitz <poenitz@gmx.net>
8745 * lyxfunc.C: simplify getStatus() a bit for math stuff
8747 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8749 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8751 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * text.C (changeRegionCase): do not change case of all the
8754 document when region ends at paragraph end (bug #461)
8756 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * paragraph.C (startTeXParParams):
8759 (endTeXParParams): add \protect when necessary
8761 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8763 * BufferView_pimpl.C (workAreaExpose): remove warning
8765 2002-06-27 Angus Leeming <leeming@lyx.org>
8767 * Makefile.am: add lyxlayout_ptr_fwd.h.
8769 2002-06-26 André Pönitz <poenitz@gmx.net>
8771 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8773 2002-06-25 Angus Leeming <leeming@lyx.org>
8775 * lyxfunc.C (dispatch): Comment out the call to
8776 grfx::GCache::changeDisplay. The method no longer exists now that the
8777 pixmap generation part of the graphics loader has been moved into
8780 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8782 * text2.C: layout as layout
8784 * text.C: layout as layout
8786 * tabular.C (OldFormatRead): layout as layout
8788 * paragraph_pimpl.C (TeXDeeper): layout as layout
8789 (realizeFont): layout as layout
8791 * paragraph.C (writeFile): layout as layout
8792 (validate): layout as layout
8793 (getFont): layout as layout
8794 (getLabelFont): layout as layout
8795 (getLayoutFont): layout as layout
8796 (breakParagraph): layout as layout
8797 (stripLeadingSpaces): layout as layout
8798 (getEndLabel): layout as layout
8799 (getMaxDepthAfter): layout as layout
8800 (applyLayout): layout as layout
8801 (TeXOnePar): layout as layout
8802 (simpleTeXOnePar): layout as layout
8803 (TeXEnvironment): layout as layout
8804 (layout): layout as layout
8805 (layout): layout as layout
8807 * lyxtextclass.C (compare_name): new functor to work with
8808 shared_ptr, layout as layout
8809 (Read): layout as layout
8810 (hasLayout): layout as layout
8811 (operator): layout as layout
8812 (delete_layout): layout as layout
8813 (defaultLayout): layout as layout
8815 * lyxlayout_ptr_fwd.h: new file
8817 * lyxlayout.C (Read): layout as layout
8819 * lyx_cb.C (MenuInsertLabel): layout as layout
8821 * bufferlist.C (newFile): layout as layout
8823 * buffer.C (readLyXformat2): layout as layout
8824 (parseSingleLyXformat2Token): layout as layout
8825 (insertStringAsLines): layout as layout
8826 (asciiParagraph): layout as layout
8827 (latexParagraphs): layout as layout
8828 (makeLinuxDocFile): layout as layout
8829 (simpleLinuxDocOnePar): layout as layout
8830 (makeDocBookFile): layout as layout
8831 (simpleDocBookOnePar): layout as layout
8832 (getLists): layout as layout
8834 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8836 * CutAndPaste.C (cutSelection): layout as layout
8837 (pasteSelection): layout as layout
8838 (SwitchLayoutsBetweenClasses): layout as layout
8840 * BufferView_pimpl.C (Dispatch): layout as layout
8841 (smartQuote): layout as layout
8843 * BufferView2.C (unlockInset): layout as layout
8845 2002-06-24 André Pönitz <poenitz@gmx.net>
8847 * lyxfunc.C: fix #487
8849 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8853 * lyxfunc.C: remove display_shortcuts, show_banner
8855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8857 * Buffer_pimpl.C: oops, update on resize
8859 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8866 * BufferView.C: use repaint()
8868 * BufferView_pimpl.h:
8869 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8870 as it's a clearer description. Remove superfluous
8873 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8875 * text.C: fix bug 488. Not ideal, but getting
8876 getWord() to work properly for the insets that
8877 matter is more difficult ...
8879 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8881 * BufferView_pimpl.C:
8884 * lyxfunc.C: remove the six million index lyxfuncs to just
8885 one, and DTRT (bug 458)
8887 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8891 * BufferView_pimpl.h:
8892 * BufferView_pimpl.C: clean up resize() stuff,
8893 and unnecessary updateScreen()s
8895 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8899 * BufferView_pimpl.h:
8900 * BufferView_pimpl.C:
8903 * minibuffer.C: remove focus management of workarea,
8904 not needed. Use screen's greyOut()
8906 2002-06-17 Herbert Voss <voss@lyx.org>
8908 * converter.C: (convert) do not post a message, when converting
8909 fails, let the calling function decide what to do in this case
8911 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8913 * lyxfunc.C: tidy up a little
8915 2002-06-16 <alstrup@diku.dk>
8917 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8918 Got rid of FORMS_H_LOCATION include. Now we are
8921 2002-06-15 LyX Development team <lyx@rilke>
8923 * buffer.[Ch] (sgmlOpenTag):
8924 (sgmlCloseTag): Added support for avoiding pernicious mixed
8925 content. Return number of lines written.
8928 (makeDocBookFile): Fixed calls to sgml*Tag.
8929 Simple white space clean.
8931 (simpleDocBookOnePar): Simple white space clean.
8933 * tabular.[Ch] (docBook): Renamed to docbook and got another
8934 argument to related with the pernicious mixed content.
8936 (docbookRow): Fixed calls for docbook inset method.
8938 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8940 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8941 so it's X11 independent.
8945 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8947 2002-06-15 Lyx Development team <lyx@electronia>
8949 * intl.h: Renamed getTrans to getTransManager.
8951 2002-06-14 Angus Leeming <leeming@lyx.org>
8953 * Makefile.am: nuke forgotten stl_string_fwd.h.
8955 2002-06-12 Angus Leeming <leeming@lyx.org>
8957 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8959 2002-06-13 Angus Leeming <leeming@lyx.org>
8962 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8964 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8966 * kbmap.C (getiso): add support for cyrillic and greek
8968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8972 * BufferView_pimpl.h:
8973 * BufferView_pimpl.C: move bogus scrolling logic
8976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView_pimpl.C: view->resize() change
8981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8983 * BufferView_pimpl.C: topCursorVisible
8986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8990 * lyx_gui.C: move to frontends/
8994 * lyx_main.C: changes from above
8996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9003 * lyx_main.C: minor tidy
9005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9007 * BufferView_pimpl.h:
9008 * BufferView_pimpl.C:
9010 * BufferView.C: make painter() const,
9013 * BufferView2.C: use screen() accessor
9016 * lyx_main.C: some minor cleanup
9018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9020 * BufferView_pimpl.h:
9021 * BufferView_pimpl.C: remove enter/leaveView,
9024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9029 * BufferView_pimpl.h:
9030 * BufferView_pimpl.C: only construct screen once,
9033 * lyxrc.C: remove pointless comment
9035 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9038 * BufferView.C: remove active() and belowMouse()
9040 * BufferView_pimpl.h:
9041 * BufferView_pimpl.C: use workarea() not workarea_,
9042 and make it use a scoped_ptr instead
9044 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9046 * lyx_gui.C: add debug message on BadWindow
9048 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9050 * sp_spell.C: fdopen is not part of the C++ standard.
9052 * paragraph.C (InsetIterator): use >= instead of ==
9054 2002-06-07 Angus Leeming <leeming@lyx.org>
9056 Fixes needed to compile with Compaq cxx 6.5.
9057 * BufferView_pimpl.C:
9064 * lyxtextclasslist.C:
9069 all c-library variables have been moved into namespace std. Wrap
9070 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9075 Add a using std::abs declaration.
9077 * kbmap.h (modifier_pair):
9078 * paragraph.h (InsetTable, InsetList):
9079 * lyxfont.h (FontBits):
9080 type definition made public.
9082 * bufferlist.C (emergencyWriteAll): the compiler complains that
9083 there is more than one possible lyx::class_fun template to choose from.
9084 I re-named the void specialisation as lyx::void_class_fun.
9086 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9088 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9089 the compiler is is unable to find tostr in write_attribute.
9091 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9093 * buffer.C (sgmlError): hide #warning
9095 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9097 * xtl/*: get rid of xtl, which is not in use anyway
9099 * LyXAction.C (init):
9100 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9101 were unimplemented xtl experimentation
9103 2002-06-04 André Pönitz <poenitz@gmx.net>
9105 * lyxfunc.C: disable array operation on simple formulae
9107 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9109 * converter.C: constify a bit
9111 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9113 * lyx_gui.C: check xforms version correctly
9115 2002-04-30 Herbert Voss <voss@lyx.org>
9117 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9120 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9122 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9123 attempt to register it with a VCS)
9125 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyx_main.C (init): honor variables LYX_DIR_13x and
9130 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9134 * lyx_main.C: fix a crash on bad command line,
9135 and give a useful exit status on error
9137 * lyxfunc.C (doImport): allow -i lyx to work
9139 2002-03-30 André Pönitz <poenitz@gmx.net>
9141 * lyxfunc.C: mathed font changes
9143 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9158 * trans_mgr.h: srcdocs, and some minor cleanups
9160 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9162 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9163 call getFont all the time)
9165 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * switch from SigC signals to boost::signals
9169 2002-05-29 André Pönitz <poenitz@gmx.net>
9171 * paragraph_pimpl.C (getChar): don't call size() too often...
9173 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9175 * paragraph_pimpl.C (insertChar): do not try to update tables when
9176 appending (pos == size())
9178 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9179 in order to reduce drastically the number of comparisons needed to
9180 parse a large document
9182 2002-05-29 André Pönitz <poenitz@gmx.net>
9188 * textclasslist.[Ch]:
9189 * sp_ispell.h: whitespace change
9191 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9194 lyxaction directly now.
9196 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9200 * lyxvc.C: remove unused headers
9202 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9209 * undo_funcs.C: some cleanups. Use shared_ptr
9210 and a template for the undo stacks.
9212 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9214 * BufferView_pimpl.h:
9215 * BufferView_pimpl.C:
9222 * text2.C: use key_state/mouse_state
9224 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9226 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9229 * chset.C: change include order
9230 (loadFile): use boost regex and get rid of LRegex and LSubstring
9232 * Makefile.am (BOOST_LIBS): new variable
9235 * LaTeX.C: change include order.
9236 (scanAuxFile): use boost regex and get rid of LRegex and
9240 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9245 * FontInfo.C: moved to frontends/xforms/
9248 * FontLoader.C: moved into frontends for GUIIzation
9253 * lyxfunc.C: changes from above
9255 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9257 * LColor.C: remove spurious X include
9259 * BufferView_pimpl.C:
9264 * text2.C: move font metrics to frontends/
9266 2002-05-24 Juergen Vigna <jug@sad.it>
9268 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9269 setting the undo_cursor.
9271 * ParagraphParameters.h: include local includes first.
9273 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9275 * BufferView_pimpl.C:
9276 * BufferView_pimpl.h:
9280 * screen.C: move WorkArea into frontends/
9286 * BufferView2.C: move LyXScreen into frontends/
9290 * lyx_gui.C: move lyxlookup into frontends/xforms/
9292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.C:
9305 * bufferview_funcs.C:
9318 * vc-backend.C: move LyX/XFormsView into frontends/
9320 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9332 * text2.C: move Painter to frontends/
9334 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * buffer.C: comment out some some code that depend upon lyx_format
9339 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9340 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9342 * buffer.h (NO_COMPABILITY): turn off compability
9344 * ColorHandler.C: include scoped_array.hpp
9346 * font.C: Use more specific smart_ptr header.
9349 * ShareContainer.h: ditto
9353 * BufferView_pimpl.h: ditto
9354 * ColorHandler.h: ditto
9356 * kbmap.C (defkey): change call to shared_ptr::reset
9358 2002-05-21 Juergen Vigna <jug@sad.it>
9360 * buffer.C (insertErtContents): fix to insert ert asis if it is
9361 non empty. Skip it completely if it contains only whitespaces.
9363 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9365 * BufferView_pimpl.C:
9366 * BufferView2.C: clear selection on paste (bug 393)
9368 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * DepTable.C: include ctime
9372 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9374 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9376 2002-05-14 Juergen Vigna <jug@sad.it>
9378 * text.C (breakParagraph): fixed function to honor the keepempty
9379 layout in the right maner and also to permit the right breaking
9380 algorithm on empty or non empyt keepempty paragraphs.
9382 * paragraph.C (breakParagraph): we have to check also if the par
9383 is really empty (!size()) for isempty otherwise we do the wrong
9386 2002-05-10 Juergen Vigna <jug@sad.it>
9388 * buffer.[Ch] : The following are only changes to the ert
9389 compatibility read reading old LaTeX layout and font stuff and
9390 convert it to ERTInsets.
9392 * buffer.h: added isErtInset().
9394 * buffer.C (struct ErtComp): add a fromlayout bool to check
9395 if we're inside a LaTeX layout.
9396 (isErtInset): new helper function.
9397 (insertErtContents): look for other ert insets before this one
9398 and insert the contents there, so that we don't have subsequent
9399 ERT insets with nothing between them. This way we create only one
9400 inset with multiple paragraphs. Also check if we don't insert only
9401 spaces ' ' as they are ignored anyway afterwards in the .tex file
9402 so if we have only spaces we will ignore this latex part in the
9404 (parseSingleLyXformat2Token \\layout): better compatibility when
9405 reading layout-latex stuff.
9406 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9408 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9409 stuff after reading the inset only get the information back from
9412 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9414 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9416 * LaTeXFeatures.C (getBabelOptions): New method.
9418 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * BufferView_pimpl.C (Dispatch): work around missing argument for
9423 2002-05-08 Juergen Vigna <jug@sad.it>
9425 * text.C (leftMargin): handle paragraph leftindent.
9427 * paragraph.C (writeFile): write the new \\leftindent tag.
9428 (validate): handle leftindent code.
9429 (TeXEnvironment): handle paragraphleftindent code again.
9431 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9433 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9434 for paragrap_extra indent code and new token \\leftindent.
9435 (latexParagraphs): handle the leftindent as environment.
9437 * ParameterStruct.h: added leftindent support.
9439 * ParagraphParameters.C (leftIndent): added support functions for
9440 the paragraph left indent.
9442 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9445 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9447 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9450 * text.C (computeBidiTables): No bidi in insetERT.
9452 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9455 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9457 * version.C.in: pre 5
9459 2002-05-02 José Matos <jamatos@fep.up.pt>
9460 * buffer.C (makeDocBookFile): white space changes, add newline to
9462 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9464 * tabular.C (docBook): fix typo.
9466 2002-05-03 Juergen Vigna <jug@sad.it>
9468 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9469 change in LyXText as we can not be sure it was not freed.
9470 (drawOneRow): remove unused code.
9472 * text.C (drawInset): redo the calculation of the need_break_row as
9473 it could have a row which was already freed.
9474 (draw): look at the return value of drawInset and return false if
9475 it also returned false.
9476 (paintRowText): look at the return value of draw and return false if
9477 it also returned false.
9479 * lyxtext.h: added bool return type to drawInset() and draw() so that
9480 if we have a change in the row so that the rowbreak has to be redone
9481 we abort drawing as it will be called again.
9483 2002-05-02 Juergen Vigna <jug@sad.it>
9485 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9486 a change in the maintext also if we're inside an inset.
9487 (Dispatch): set the cursor again after a break line and after the
9488 screen has been updated as it could be we're in a different row.
9490 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9491 to set the cursor behind the pargraph with > size().
9492 (setCursor): check also for the same paragraph when checking where
9493 to put the cursor if we have a NFR inset.
9495 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9496 parts of layout read further up as it still was in the wrong
9499 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * screen.C (drawFromTo): change sine fullRebreak always return
9504 * buffer.C (parseSingleLyXformat2Token): reindent some
9506 * BufferView_pimpl.C (update): change since fullRebreak always
9508 (Dispatch): git rid of the last hardcoded "Standard"s.
9510 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * text2.[Ch] (fullRebreak): make it return void now that we always
9515 2002-04-30 Juergen Vigna <jug@sad.it>
9517 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9518 ert compatibility check for "latex" layout.
9520 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9522 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9523 minipages: use col% instead of p%, and also use the current font.
9524 (makeLaTeXFile): Fix use babel condition.
9525 (parseSingleLyXformat2Token): Correct font when reading old floats.
9527 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9529 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9530 inserting list of floats.
9532 2002-04-25 Herbert Voss <voss@lyx.org>
9534 * MenuBackend.C (expand): don't add the graphics extensions to the
9537 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9540 non-existing layout, do not complain if it was the default layout
9541 of the original class (bug #342)
9543 2002-04-24 Juergen Vigna <jug@sad.it>
9545 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9546 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9548 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9550 * buffer.C (getBibkeyList): If using \bibliography, return the
9551 option field with the reference itself. Enables us to provide natbib
9552 support when using \bibliography.
9554 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9556 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9558 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9559 natbib is provided by the LaTeX class.
9561 2002-04-23 Juergen Vigna <jug@sad.it>
9563 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9566 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9568 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9572 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9573 ensuremath around textordmasculine, textordfeminine and
9576 2002-04-19 Juergen Vigna <jug@sad.it>
9578 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9579 reinitializing the buffer otherwise row-dimensions may be wrong.
9580 (update): reset also the selection cursors if they do exits otherwise
9581 their x/y positions may be wrong.
9583 * text2.C (cursorDown): don't enter the inset if we came from a row
9584 above and are one row over the inset.
9586 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9587 really leaving an inset.
9589 2002-04-18 Juergen Vigna <jug@sad.it>
9591 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9592 of the selected paragraph does not have the selected layout also if
9595 * text2.C (setLayout): fixed bug which did not change last selected
9598 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9599 changed the read and substituted \\end_float with \\end_inset!
9601 * BufferView_pimpl.C (cursorPrevious):
9602 (cursorNext): fixed to make it work with rows heigher than the work
9603 area without moving the cursor only the draw of the row.
9604 (workAreaMotionNotify): fix jumping over high rows.
9606 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9611 2002-04-16 Juergen Vigna <jug@sad.it>
9613 * text2.C (setCursor): set also the irow().
9614 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9616 (cursorDown): support for locking an inset if the x_fix value goes
9617 inside it. That way I can transverse insets too with cursor up/down.
9619 * lyxrow.h: added irow helper function same as other (i) functions.
9621 * BufferView_pimpl.C (cursorPrevious):
9622 (cursorNext): fixed for insets!
9624 2002-04-15 Juergen Vigna <jug@sad.it>
9626 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9627 position otherwise it is wrong in some cases.
9629 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9630 inside the inset before the call.
9632 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9634 * buffer.[Ch] (getBibkeyList): make it const.
9636 2002-04-12 Juergen Vigna <jug@sad.it>
9638 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9640 * text2.C (getCursorX): new helper function
9641 (setCursor): compute also ix_
9642 (setCursorFromCoordinates): set also ix.
9644 * lyxcursor.h: added ix_ and helper functions.
9646 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9648 * buffer.C (insertStringAsLines): dont break paragraph if the this
9649 paragraph is inside an inset which does not permit it!
9651 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9652 also with no chars on this paragraph.
9653 (paintRowText): only paint stuff if it's inside the workarea!
9655 * paragraph.C (breakParagraph): honor keepempty flag and break the
9656 paragraph always below not above.
9658 * BufferView2.C (unlockInset): update the paragraph layout on inset
9659 unlock as we changed paragraph in such a case.
9661 * lyxfind.C (LyXFind): clear the former selection if not found!
9663 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9664 again called in insertChar().
9666 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9667 an inset which uses the whole row!
9668 (rightMargin): ditto.
9669 (insertChar): force a rebreak if we inserted an inset!
9671 2002-03-28 Herbert Voss <voss@lyx.org>
9673 * lyxlength.[Ch]: add inBP() to get the right PS-point
9674 units (BigPoint). With inPixels we have rounding errors
9676 2002-04-11 Juergen Vigna <jug@sad.it>
9678 * text2.C (setCursorFromCoordinates): set iy to the right value.
9679 (setCursor): add check if row->previous exists!
9681 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9682 an old float_type as this was the case in the old code!
9684 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9686 * BufferView2.C (showLockedInsetCursor): use iy
9687 (fitLockedInsetCursor): ditto
9689 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9690 locked insets as there we have the right value now.
9692 * lyxcursor.C: added iy_ variable and iy functions to set to the
9693 baseline of cursor-y of the locked inset.
9695 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9696 (setCursor): fixed for insets which need a full row.
9698 * text.C (rowLastPrintable): don't ignore the last space when before
9699 an inset which needs a full row.
9700 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9701 as last character of a row when before a inset which needs a full row.
9703 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9705 * version.C.in: update date
9707 * text2.C (fullRebreak): try to always return true and see what
9710 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * MenuBackend.C (expand): use Floating::listName
9714 * FloatList.C (FloatList): add listName argument to the built-in
9717 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9718 text associated with the float.
9720 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9722 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9724 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * ShareContainer.h: add a couple of missing typenames.
9728 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9730 * lyxrc.C (getDescription): use _() correctly rather than N_().
9732 2002-03-28 Herbert Voss <voss@lyx.org>
9734 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9735 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9737 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9740 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9742 2002-03-29 Juergen Vigna <jug@sad.it>
9744 * lyxfunc.C (dispatch): add a missing fitCursor call.
9746 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9747 it was scrolled by a cursor move, so return the bool status.
9749 * BufferView.C (fitCursor): return the bool flag also to the outside
9750 world as this is needed.
9752 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9754 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9755 call the edit() as it is not needed (and wrong) IMO.
9756 (workAreaButtonPress): set the screen_first variable before evt.
9757 unlock the inset as this may change screen_first and then we have
9758 a wrong y position for the click!
9760 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9762 * MenuBackend.C (expand): another translation that I missed
9764 2002-03-28 Juergen Vigna <jug@sad.it>
9766 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9768 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9770 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9772 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9774 * MenuBackend.C (expand): fix export/view/update when there is no
9777 2002-03-27 Herbert Voss <voss@lyx.org>
9779 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9782 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * bufferview_funcs.C (currentState): only show paragraph number
9785 for is DEVEL_VERSION is set.
9787 * lyxfunc.C (dispatch): put warning in INFO channel
9789 * MenuBackend.C (expand): translate the name of floats
9791 * FloatList.C (FloatList): mark the float names for translation
9793 * converter.C (convert): use LibScriptSearch
9795 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * MenuBackend.C (defaults): fix default menu (we might as well get
9800 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9802 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9805 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * lyxvc.C: reorder includes.
9809 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9811 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9814 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9816 * CutAndPaste.C: change layouts earlier on paste
9817 to avoid crashing when calling getFont()
9819 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9821 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9824 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * WorkArea.C: remove 'Pending' debug message.
9828 * most files: ws cleanup
9830 * buffer.[Ch]: ws changes
9832 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9834 2002-03-21 Juergen Vigna <jug@sad.it>
9836 * tabular.C (SetMultiColumn): collapse also the contents of the
9837 cells and set the last border right. Added a Buffer const * param.
9839 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9844 2002-03-19 Juergen Vigna <jug@sad.it>
9846 * text2.C (clearSelection): reset also xsel_cache.
9848 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9849 where it needs to be called (John tells us to do so too :)
9850 (selectionLost): reset sel_cache.
9852 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9854 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * text2.C (setCursorIntern): put debuging code in INSETS channel
9858 2002-03-19 André Pönitz <poenitz@gmx.net>
9860 * lyxfunc.C: tiny whitespace change
9862 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9864 * ToolbarDefaults.C (init):
9865 * LyXAction.C (init):
9867 * BufferView_pimpl.C (Dispatch):
9868 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9870 2002-03-19 Allan Rae <rae@lyx.org>
9872 * exporter.C (Export): removeAutoInsets before doing anything else.
9873 While I've just introduced a dependency on BufferView this really is
9874 the best place to clean the buffer otherwise you need to cleanup in
9875 a dozen places before calling export or cleanup in a dozen functions
9878 * converter.C (runLaTeX):
9879 (scanLog): Better handling of removeAutoInsets and screen updates.
9881 * lyxfunc.C (dispatch): small whitespace changes
9883 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9885 * WorkArea.C (C_WorkAreaEvent): return a value.
9886 (event_cb): return 1 if we handled the event, 0 otherwise.
9888 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9890 2002-03-18 Juergen Vigna <jug@sad.it>
9892 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9893 (GetAdditionalWidth): ditto.
9897 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9898 inset if we're there actually (probably not used right now but this
9899 is the direction to go for unifying code).
9900 (paste): disable code to clear the selection.
9902 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9903 inside an InsetText and move the check further up as it is in the
9906 * text2.C (pasteSelection): set a selection over the pasted text.
9908 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9910 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9911 and libgraphics to build on Cygwin.
9913 2002-03-15 Juergen Vigna <jug@sad.it>
9915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9916 inserting an Inset into the paragraph. I know this is not the best
9917 fix but we already use current_view in CutAndPaste so we will remove
9918 all of it's using at the same time.
9920 * buffer.C (sgmlError): deactivated function till it is rewritten in
9921 the right mode, now it can create problems.
9923 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9924 before accessing it.
9926 2002-03-14 Juergen Vigna <jug@sad.it>
9928 * undo_funcs.C (textHandleUndo): do the right thing when updating
9929 the inset after the undo/redo.
9931 * text2.C (setCursor): just some testcode for #44 not ready yet.
9933 * undo_funcs.C (textHandleUndo): set the next() and previous()
9934 pointers of the paragraph to 0 before deleting otherwise we have
9935 problems with the Paragraph::[destructor].
9937 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9938 on a paragraph insertion.
9940 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9942 * buffer.C (asciiParagraph): use += operator for char append to
9945 * paragraph.C (getFontSettings): compare >= not just >
9946 (highestFontInRange): ditto
9949 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * paragraph.C: change several algorithm to be more appripriate for
9952 the problem domain. This is lookip in FontList and in the InsetList.
9954 2002-03-13 André Pönitz <poenitz@gmx.net>
9957 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9959 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9964 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9966 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * Painter.C (display): anon helper function, adjust code for this
9970 (pixmap): remove function.
9972 * Painter.h: remove private display variable.
9974 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9976 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9978 * WorkArea.[Ch]: remove figinset_canvas cruft.
9980 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9982 * lyxtextclass.C (operator): add one item cache optimization.
9984 * bufferlist.h: doxy changes
9986 * bufferlist.C: ws changes
9988 * DepTable.[Ch] (ext_exist): place const in the right spot.
9990 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9992 (workAreaExpose): call resizeInsets when the with BufferView changes.
9993 (Dispatch): adjust for protectedBlank removal
9994 (specialChar): call updateInset if the insert went ok.
9996 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9997 specialChar instead.
9999 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10001 * BufferView.h: doxy change
10003 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10005 * lyxtextclass.C (operator[]): remove non-const version
10006 (defaultLayout): remove non-const version
10008 2002-03-12 Juergen Vigna <jug@sad.it>
10010 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10011 did resize the LyXText too.
10013 * buffer.C (readLyXformat2): set layout information on newly allocated
10016 * tabular.C (OldFormatRead): set layout information on the paragraph.
10018 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10020 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10022 2002-03-11 Juergen Vigna <jug@sad.it>
10024 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10026 (resizeCurrentBuffer): force also the insets to resize themselfes.
10027 (moveCursorUpdate): fixed up for InsetText.
10029 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10032 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10033 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10034 value of Dialogs::tooltipsEnabled().
10035 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10037 2002-03-08 Juergen Vigna <jug@sad.it>
10039 * BufferView_pimpl.C (updateInset): update inset inside inset also
10040 if it isn't inside theLockingInset().
10042 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * buffer.C (asciiParagraph): redo some of the word and line length
10046 (getLists): look for Caption instead of caption.
10048 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10050 * buffer.C (Buffer): initialize niceFile to true
10052 (makeLinuxDocFile):
10053 (makeDocBookFile): make sure niceFile is true on exit
10055 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10057 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10059 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10061 * LyXSendto.C: remove.
10062 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10063 * lyx_gui.C: remove now-redundant comment.
10064 * ColorHandler.h: remove forward declaration of class WorkArea.
10065 * lyxfunc.C: remove #include "WorkArea.h".
10067 2002-03-07 Juergen Vigna <jug@sad.it>
10069 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10070 got moved away with the DEPM and also set the inset_owner always
10071 right which before could have been omitted.
10073 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10075 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10076 wanted layout is not found.
10078 2002-03-07 Juergen Vigna <jug@sad.it>
10080 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10082 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10084 * paragraph.C (breakParagraph): use default layout not layout of
10086 (Paragraph): clear ParagraphParameters.
10088 2002-03-06 Juergen Vigna <jug@sad.it>
10090 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10091 otherwise it would not be a valid lenght. Fixed a special case in
10092 the minipage compatibility read where we end the document with a
10095 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10096 was set as it could be 0 for InsetTexts first entry.
10098 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * paragraph.C (writeFile): if layout is empty write out
10101 defaultLayoutName().
10103 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10104 file without named layout we set layout to defaultLayoutName().
10106 2002-03-06 Juergen Vigna <jug@sad.it>
10108 * CutAndPaste.C (copySelection): set layout for new paragraph.
10110 * text.C (prepareToPrint): leave ERT inset left aligned
10111 (leftMargin): don't indent paragraphs inside ERT insets
10113 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10115 * paragraph.C (breakParagraph): dont call clear do the work manually
10117 * paragraph.[Ch] (clear): remove function
10119 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * paragraph.C (Paragraph): dont call clear, the work has already
10124 * lyxtextclass.C (operator): assert if n is empty
10126 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10127 work manually instead.
10129 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10131 * BufferView_pimpl.C: protect selectionLost against text == 0
10133 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * text.C (breakParagraph): fix a setting layout to '0' problem.
10137 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10139 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10140 final location of file, for the included files, and graphics.
10142 2002-03-05 Juergen Vigna <jug@sad.it>
10144 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10146 2002-03-04 Juergen Vigna <jug@sad.it>
10148 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10150 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10151 last column of multicolumn cells.
10152 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10154 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10156 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10157 file if it doesn't go to a temporary file.
10159 * buffer.C (sgmlOpenTag):
10160 (sgmlCloseTag): remove extra newline insertion.
10162 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * text.C (getRowNearY): comment out debug msg
10166 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10168 * text2.C: first -> first_y
10170 * text.C (getRowNearY): add some attemts at a possible
10171 optimization, not working.
10173 * tabular.[Ch]: add BufferParams to several function so that newly
10174 created paragraph can be initialized to he default layotu for the
10177 * tabular-old.C (ReadOld): add buf->params to call of Init
10179 * screen.C: rename text->first to text->first_y
10181 * paragraph.C (breakParagraph): always set layout in the broken
10184 * lyxtextclass.C (Read): remove lowercase
10187 (delete_layout): ditto
10189 * lyxtext.h: rename first -> first_y
10191 * lyxlayout.C (Read): remove lowercase
10194 (obsoleted_by): ditto
10196 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10198 * buffer.C (insertErtContents): add params are to InsetERT
10199 (parseSingleLyXformat2Token): add code to check if a paragraphs
10200 layout really exist.
10201 (parseSingleLyXformat2Token): add params to several inset
10203 (asciiParagraph): remove lowercase, do the layout comparisons with
10206 * BufferView_pimpl.C (cursorNext): first -> first_y
10207 (resizeCurrentBuffer): first -> first_y
10208 (updateScrollbar): first -> first_y
10209 (scrollCB): first -> first_y
10210 (workAreaMotionNotify): first -> first_y
10211 (workAreaButtonPress): first -> first_y
10212 (checkInsetHit): first -> first_y
10213 (cursorPrevious): first -> first_y
10214 (cursorNext): first -> first_y
10215 (Dispatch): add buffer_->params to severl inset contructors
10217 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * lyxlayout.C (Read): remove some debug info that I forgot.
10221 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10222 clean up the code slightly.
10223 (makeLinuxDocFile): ditto
10224 (makeDocBookFile): ditto
10226 * text2.C: layout as string
10228 * text.C: layout as string
10230 * paragraph_pimpl.C: layout as string
10232 * paragraph.[Ch]: layout as string
10234 * lyxtextclasslist.[Ch]: layout as string
10236 * lyxtextclass.[Ch]: layout as string
10238 * lyxtext.h: layout as string
10240 * lyxlayout.[Ch]: layout as string
10242 * lyx_cb.C: layout as string
10244 * bufferview_funcs.C: layout as string
10246 * bufferparams.C: layout as string
10248 * buffer.C: layout as string
10250 * LyXView.[Ch]: layout as string
10252 * LaTeXFeatures.[Ch]: layout as string
10254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10256 * BufferView_pimpl.C: change current_layout to string, remove
10261 (workAreaButtonRelease): layout as string
10263 * BufferView2.C (unlockInset): adjust
10265 * vspace.C (asLatexCommand): use an explict temp variable.
10267 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10269 * Makefile.am: use FRONTEND_*
10271 2002-03-01 Juergen Vigna <jug@sad.it>
10273 * tabular.C (SetWidthOfMulticolCell): changed to something better
10274 I hope but still work in progress.
10275 (recalculateMulticolumnsOfColumn): renamed function from
10276 recalculateMulticolCells as it is more appropriate now.
10277 (SetWidthOfCell): calculate multicols better.
10279 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10283 * lyxfunc.C (processKeySym): print sequence also if it is
10284 `deleted' (complete)
10286 * kbsequence.C (print): print sequence even if it is deleted
10287 (complete would be a better word, actually).
10289 * lyxfunc.C (dispatch): print complete options after a prefix key
10291 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10293 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10295 * text2.C (setCharFont): eliminate setCharFont code duplication.
10297 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10300 LFUN_TABULAR_FEATURE (bug #177)
10302 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10304 * Makefile.am: remove figure.h
10306 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10308 * Bufferview_pimpl.C:
10320 * text2.C: remove #include "lyx_gui_misc.h".
10322 * LaTeX.C: added #include <cstdio>
10324 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10327 that the paragraph following this one can have.
10329 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10331 * vspace.C (asLatexCommand): fix bogus gcc warning
10333 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10335 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10337 * text2.C (setLayout): get rid of redundant code
10339 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10341 * text2.C (incDepth): make sure depth cannot be increased beyond
10344 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10346 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10347 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10349 * PainterBase.h (image):
10350 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10351 a LyXImage const *.
10353 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10357 * BufferView_pimpl.C:
10358 * BufferView_pimpl.h:
10378 * sp_spell.C: remove fig inset, and the crap house of
10379 cards that follows it
10381 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10386 * os2_errortable.h:
10387 * nt_defines.h: move .h into support/
10389 * vms_defines.h: remove
10391 * WorkArea.C: add space in debug output
10395 * buffer.C: add WITH_WARNINGS
10399 * bufferlist.C: s/retrive/retrieve/, add docs
10408 * chset.C: add docs
10410 * lyxgui.C: add ID to X error handler
10412 * lyxtestclass.c: fix typo
10414 2002-02-26 Juergen Vigna <jug@sad.it>
10416 * tabular_funcs.C (write_attribute): changed so that some default
10417 attributes are not written at all.
10418 (getTokenValue): set default values before trying to read the
10419 value so we have the return value always set as default if we don't
10420 find the token we search for.
10422 * tabular.C (Write): write bools as bools not as strings!
10424 2002-02-22 Juergen Vigna <jug@sad.it>
10426 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10427 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10429 * text.C (leftMargin): don't add an indent for paragraphs inside
10430 tabular cells (fix #208).
10432 2002-02-21 José Matos <jamatos@fep.up.pt>
10434 * tabular.C (docBook): fixed support for long tables.
10436 2002-02-20 Juergen Vigna <jug@sad.it>
10438 * text2.C (getFont): get the drawing font of the Inset if this
10439 paragraph is inside an inset (only important for InsetERT for now).
10441 * buffer.C (insertErtContents): use new lanugage params in ERT
10444 * CutAndPaste.C: commenting out seemingly uneeded code.
10446 2002-02-19 Allan Rae <rae@lyx.org>
10448 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10449 Iterators might be simple to use but they also get invalidated.
10450 (removeAutoInsets): renamed saved cursor tracking variables and added
10451 some comments to clarify what everything does.
10453 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10460 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10461 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10464 * vc-backend.h: remove #include "support/syscall.h"
10468 * converter.C: rearrange #includes in Lars' approved fashion.
10470 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10471 forward declare class Timeout in the header file.
10473 * XFormsView.C: changes due to the above.
10475 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10476 similar to LyXView.
10478 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10479 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10481 2002-02-18 José Matos <jamatos@fep.up.pt>
10483 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10486 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10488 * a lot of small ws changes
10489 * add a lot of using std::XXX
10490 * use std construcs some places where approp.
10491 * use some exisint stuff from lyxfunctional where approp.
10492 * Make file changes to use partial linking (lets test this now...)
10494 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10498 remove #include "support/syscontr.h" as it's redundant. Always has been.
10506 change Systemcalls::System to Systemcalls::Wait and
10507 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10508 No change of functionality, just reflects the stripped down Systemcalls
10511 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10513 * debug.[Ch]: add a GRAPHICS type to the enum.
10515 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10519 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10522 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10525 match the changes below.
10527 * text2.C (toggleInset): if there is not editable inset at cursor
10528 position, try to see if cursor is _inside_ a collapsable inset
10531 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10534 document menu has a nice checkbox
10536 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10538 * lyxlength.C (asLatexString): change PW to output as percent of
10541 * lengthcommon.C: change '%' to 't%'
10543 * lyxfunc.C (dispatch): a few comments from Martin
10545 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.h:
10550 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10553 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * vspace.C (inPixels): fix compiler warning
10557 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * lyxfunc.C (getStatus): fix status message for disabled commands.
10561 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10563 * BufferView_pimpl.C: fix crash on close buffer
10564 during selection (#227)
10566 2002-01-27 Herbert Voss <voss@lyx.org>
10568 * buffer.C: link old Figure to new graphic inset
10570 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10572 * FontLoader.C (getFontinfo): Change the latex font names in order
10573 to match the names of type1inst.
10575 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10579 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10580 (extchanged): ditto
10582 (remove_files_with_extension): ditto
10583 (remove_file): ditto
10586 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10587 document is smaller than the work area height. Do not initialize
10588 static variables to 0.
10590 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10594 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10595 LFUN_LAYOUT_PARAGRAPHS.
10597 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10598 tabular. It is possible to provide a possible cell, which will
10599 typically be the actcell from the corresponding insettabular
10601 * lyxfunc.C (getStatus): small cleanup; disable
10602 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10605 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10607 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10609 * paragraph.C (startTeXParParams):
10610 (endTeXParParams): new methods. The LaTeX code to
10611 start/end paragraph formatting
10612 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10613 empty (fixes bug #200)
10615 * vspace.C (inPixels): adapt to the change below
10616 (inPixels): [later] more cleanups (remove unused variables)
10618 * lyxlength.C (inPixels): change to use a width and a height as
10621 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10623 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10624 Replaced with \paperwidth
10626 * DepTable.C (insert): add std:: qualifier
10628 2002-01-18 Allan Rae <rae@lyx.org>
10630 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10633 * text.C (drawInset): Turned out I didn't know enough about how
10634 rebreaking worked. This fixes most of the redraw problems. I see
10635 an occasional cursor trail when a line is broken now and the cursor
10636 placement can seem out by a few pixels also after a rebreak.
10638 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * buffer.C (parseSingleLyXformat2Token): update because minipage
10641 width is now a LyXLength
10643 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10645 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10648 2002-01-17 Juergen Vigna <jug@sad.it>
10650 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10652 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10653 is set correctly and the inset is updated correctly.
10655 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10658 the beginning of the loop.
10660 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10662 * lyxrc.C: improve help for use_scalable_fonts
10664 2002-01-17 Allan Rae <rae@lyx.org>
10666 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10671 make sure to set their inset_owner to the right value (bug #171)
10673 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10676 * DepTable.C: Implement mtime checking to reduce time spent doing
10679 2002-01-16 Juergen Vigna <jug@sad.it>
10681 * tabular.C (GetAdditionalHeight): one of error fixed.
10683 * lyxrc.C (output): small fix in writing use_pspell.
10685 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10687 * sp_base.h: #include LString.h
10689 2002-01-16 Allan Rae <rae@lyx.org>
10691 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10692 Can someone check this please?
10694 * text.C (drawInset): It was possible that p.row would be removed by
10695 breakAgainOneRow upsetting a few other settings. There may be another
10696 small tweak possible by setting need_break_row = 0 when p.row has been
10697 removed but I don't know enough about the logic here.
10699 2002-01-15 Allan Rae <rae@lyx.org>
10701 * text.C (insertChar): removed conditional truism.
10703 * BufferView2.C (removeAutoInsets): More tweaks.
10704 cur_par_prev could be a stray pointer. Check for trailing empty line
10705 in case last line was cur_par and only had an error inset on it.
10707 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10712 * vc-backend.C (most methods):
10713 * exporter.C (Export):
10714 * converter.C (convert):
10716 * LyXSendto.C (SendtoApplyCB):
10717 * lyxfunc.C (dispatch):
10721 * lyx_cb.C (AutoSave):
10723 * BufferView_pimpl.C (MenuInsertLyXFile):
10724 * buffer.C (runChktex): use Buffer::filePath().
10726 * buffer.h: rename filename to filename_; rename filepath to
10727 filepath_ and make it private
10728 (filePath): new method
10730 * buffer.C (writeFile): use fileName()
10733 * lyx_main.C (init): fix starting of LyX when the binary is a
10734 link from so,ewhere else.
10736 * minibuffer.C: include <cctype> for isprint
10738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10740 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10741 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10742 name clash with InsetCollapsable's width function.
10744 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * lastfiles.C: include <iterator>
10748 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10750 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10753 * buffer.C (makeLaTeXFile): ditto.
10754 Also make loop operation more transparent.
10756 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10758 * ToolbarDefaults.C: remove trailing comma closing namespace.
10760 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10762 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10765 * trans.C (Load): comment out unused variable, allowed.
10767 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10769 * minibuffer.[Ch] (append_char): new method to recieve input from the
10770 drop-down completion browser. If a key was pressed, then recieve this
10771 char and append it to the existing string.
10772 (peek_event): modify the positioning data passed to the completion
10773 browser so that it can be placed above the minibuffer rather than below.
10774 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10776 * LyXAction.C (init): alloe error-next for readonly documents.
10778 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10781 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * bufferlist.C (readFile): create the buffer _after_ checking that
10786 * lyxfunc.C (verboseDispatch): fix handling of arguments
10788 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10790 * lyxrc.C: use string::erase() instead of initializing to "".
10793 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10795 * BufferView_pimpl.h:
10796 * BufferView_pimpl.C:
10799 * text2.C: tell X when we have made a selection for copying
10801 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * BufferView_pimpl.C (MenuInsertLyXFile):
10804 * lyxfunc.C (menuNew):
10806 (doImport): add shortcuts to directory buttons
10808 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10811 * lyxfunc.C (setStatusMessage):
10812 (getStatusMessage): new methods
10813 (getStatus):use setStatusMessage instead of setErrorMessage
10814 (dispatch): when function is disabled, set error message here
10815 [instead of in getStatus previously]
10817 * BufferView_pimpl.C (workAreaButtonRelease): update
10818 toolbar/menubar here too.
10820 2002-01-13 Allan Rae <rae@lyx.org>
10822 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10823 Now seems indestructible. Remaining task is to audit all other
10824 code affected by deleteEmptyParagraphMechanism. One small quirk
10825 left is that an empty document with an error in the preamble can
10826 be made to report an error but no error box appears. I don't know
10828 (removeAutoInsets): Improved comments.
10830 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10833 * Thesaurus.C: update for Aiksaurus 0.14
10835 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10837 * text2.C (firstParagraph): removed member function, all uses
10838 replaces with ownerParagraph
10839 (redoParagraphs): here
10840 (updateInset): here
10841 (toggleAppendix): here
10842 * BufferView2.C (insertErrors): here
10843 (setCursorFromRow): here
10845 2002-01-13 Allan Rae <rae@lyx.org>
10847 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10848 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10849 There is still a way to segfault this although you may have to do this
10850 multiple times: Have an InsetERT with an unknown command in it.
10851 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10852 <down-arrow>, <Enter> again, View->DVI, BANG!
10854 * text2.C (setCursor):
10855 (deleteEmptyParagraphMechanism):
10856 * lyxtext.h (setCursor):
10857 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10858 Making use of the return value may help fix other bugs.
10860 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10864 * LyXView.C (updateMenubar): call MenuBar::update here
10865 (updateToolbar): but not here
10866 (showState): do not update toolbar/menubar
10868 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10869 should need to care about that.
10871 * lyxfunc.C (verboseDispatch): simplify a bit
10872 (getStatus): have a version which takes a pseudoaction, and
10873 another which requires a (kb_action,string).
10875 * LyXAction.C (retrieveActionArg): make it work also when action
10876 is not a pseudo-action.
10877 (getActionName): simplify a bit
10880 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * lyxfunc.C (verboseDispatch): new families of methods with
10883 several ways to specify a command and a bool to indicate whether
10884 the command name and shortcut should be displayed in minibuffer
10885 (eventually, we could extend that to a finer bitmask like
10886 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10887 (dispatch): the pristine dispatch command which just, well,
10888 dispatchs! Note it still sets its result to minibuffer; I'm not
10891 * lyxfunc.h: remove setHintMessage
10893 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10895 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10897 * BufferView_pimpl.C (specialChar): delete new inset if we have
10898 not been able to insert it.
10900 * kbmap.C: revert to using int instead of kb_action, since all we
10901 are dealing with is pseudo-actions.
10903 * LyXAction.C (searchActionArg): change to return int instead of
10904 kb_action, since the result is a pseudoaction.
10906 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10908 * buffer.C (insertErtContents): Fix (partially) the font bug.
10910 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10912 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10913 as the other one is broken on my machine!
10915 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10918 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10920 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10922 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10923 reflect their actual use. Provide compatibility code for older lyxrc
10926 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10928 change names of popup font variables in line with the changes to lyxrc.C
10930 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * buffer.C (asciiParagraph): avoid outputing a word twice after
10935 * lyxrc.C (getDescription): document that document_path and
10936 template_path can be empty.
10938 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * LaTeXFeatures.C (getMacros):
10941 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10943 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10945 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10947 (getPackages): rename feature "floats" to "float". Use an array to
10948 iterate over 'simple' features (i.e. just a \usepackage). Add
10949 handling of "amsmath" (renamed from "amsstyle").
10951 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10953 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10956 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10958 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10959 FuncStaus::FuncStatus & FuncStaus::some_method().
10961 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10963 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10964 of the func_satus stuff. Edited and massaged in various ways by
10967 * lyxfunc.C (getStatus): use FuncStatus
10969 2002-01-08 Juergen Vigna <jug@sad.it>
10971 * text.C (nextBreakPoint): use function Inset::isChar().
10973 * paragraph.C (TeXOnePar): use function
10974 Inset::forceDefaultParagraphs.
10976 * buffer.C (latexParagraphs): use function
10977 Inset::forceDefaultParagraphs.
10979 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10981 * lyx_gui.C (init): set the style of the menu popups to
10982 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10984 2002-01-07 Juergen Vigna <jug@sad.it>
10986 * text.C (setHeightOfRow): small fix
10987 (prepareToPrint): don't look at alignment if we don't have the place
10990 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10992 * box.C: New file. Move the Box methods and functions out of box.h,
10993 following Lars' suggestion.
10995 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10997 * box.h: #include "support/LOstream.h", needed for inlined function.
11000 * lyxtextclasslist.C: added some using std declarations.
11002 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11004 * box.h: make signed dimensions to allow insets wider than
11005 the screen (bug #162)
11007 * BufferView_pimpl.C: add some insetHit debug
11009 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11011 * vc-backend.C: add FIXME
11013 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * lyxfunc.C (getStatus): enable code for showing math font status
11018 2002-01-07 Juergen Vigna <jug@sad.it>
11020 * text.C (nextBreakPoint): removed debug output not needed anymore.
11022 2002-01-06 Juergen Vigna <jug@sad.it>
11024 * text.C (nextBreakPoint): fixed up this function we had this bug
11025 since ever but now hopefully we break row better.
11026 (insertChar): we have to check if an inset is the next char as it
11027 could now happen that a large inset is causing a break.
11029 2002-01-05 Juergen Vigna <jug@sad.it>
11031 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11032 if it doesn't like to be drawed.
11034 2002-01-04 Juergen Vigna <jug@sad.it>
11036 * BufferView2.C (lockInset): forgot to set a cursor.
11038 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11040 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11042 * FormMathsPanel.C:
11045 * form_maths_panel.C:
11046 * form_maths_panel.h:
11047 * form_maths_panel.fd: implemented sub- and super- buttons in math
11050 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11051 (or ^ space) to be used as in TeX (req'd by André).
11053 * lyxfunc.C: Allow ^ and _ again to be used both as
11054 super/subscript (mathed) and as themselves (in text).
11056 2002-01-03 Allan Rae <rae@lyx.org>
11058 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11059 "LyX" or the filename of the current buffer if it has one. This is a
11060 modified form of John Levon's patch.
11062 * XFormsView.C (setWindowTitle): also set icon title.
11064 * LyXView.h (setWindowTitle): signature changed.
11065 * XFormsView.h (setWindowTitle): ditto.
11067 2002-01-02 Juergen Vigna <jug@sad.it>
11069 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11071 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * screen.C (topCursorVisible): introduce a temp var for
11074 text->cursor.row(), handle the case where this row is null. (kindo
11077 * text2.C (setCursor): add a couple of asserts.
11079 * paragraph.h (inset_iterator): add -> operator
11081 * paragraph.[Ch] (autoDeleteInsets): remove member function
11083 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11084 cursor pos correctly and handle inset deletion by itself.
11085 (insertErrors): move iterator declaration out of for expression
11087 * lyxtextclass.C: add <algorithm>
11089 * Makefile.am: added the new files to sources, removed layout.C
11091 * layout.C: removed file
11093 * layout.h: remove LYX_DUMMY_LAYOUT
11095 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11099 * lyxtextclass.[Ch]:
11100 * lyxtextclasslist.[Ch]: new files
11102 * include order changes to a lot of files, also changes because of
11105 2001-12-27 Juergen Vigna <jug@sad.it>
11107 * buffer.C (asciiParagraph): more fixes.
11109 * tabular.C (ascii): make ascii export support export of only the
11110 data separated by a column-delimiter.
11111 (ascii): better support for ascii export.
11113 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11115 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * tabular_funcs.C: use a "using std::getline" instead of the
11118 previous fix from Angus (necessary for cxx + lyxstring)
11120 2001-12-24 Juergen Vigna <jug@sad.it>
11122 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11124 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11125 problems. First check a minipage also if we have some ert-contents
11126 (not only on par->size(), second set the right depth of the paragraph
11127 on the relink to the root-paragraph-list!
11129 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11130 which then did not anymore update the main paragraphs on undo/redo!
11132 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11135 code. Support all font-changing funcs (even those which are not in
11136 menu currently). Support for reporting font settings in
11137 mathed (disabled until Andre provides a function on mathed's side).
11139 * func_status.h (toggle): small helper function to set toggle
11142 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11144 * tabular_funcs.C: getline -> std::getline
11146 2001-12-21 Juergen Vigna <jug@sad.it>
11148 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11149 accessed and could be 0 (I couldn't generate this but it seems
11152 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11155 * tabular_funcs.h: here and include iosfwd
11157 2001-12-20 Juergen Vigna <jug@sad.it>
11159 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11160 inside inset but undo_par was.
11162 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * Thesaurus.C: always include <config.h> in sources.
11168 * box.h: do not include <config.h> in header files
11170 * text.C (paintLastRow): remove unused variable
11172 * text.C (transformChar):
11174 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11176 * Painter.C (text):
11177 * font.C (width): rewrite to use uppercase() instead of
11180 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11182 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11184 * lyxfind.C: clean up of find failure position change
11186 2001-12-20 Juergen Vigna <jug@sad.it>
11188 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11190 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11191 (TeXRow): added to LaTeX a single tabular row.
11192 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11193 (Latex): simplified and finally good LT-h/f support.
11194 (various_functions): just small adaptions for LT-h/f support.
11196 * tabular_funcs.[hC]: added and moved here all not classfunctions
11199 2001-12-19 Juergen Vigna <jug@sad.it>
11201 * tabular.[Ch]: better support for longtabular options (not finished
11204 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * text.C (paintLastRow): use the label font instead of the font of
11207 the last character to compute the size of *_BOX. This makes more
11208 sense and avoids a crash with empty paragraphs.
11209 Use Painter::rectangle to draw EMPTY_BOX.
11211 2001-12-19 Juergen Vigna <jug@sad.it>
11213 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11214 the paragraphs if the replaced paragraph is not the first one!
11215 Tried to delete not used paragraphs but does not work yet so for
11216 now it's inside #ifdef's and by default off!
11218 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * MenuBackend.C: include "lyx_main.h" instead of declaring
11221 lastfiles (actually was declared as LastFiles* instead of a
11224 2001-12-17 Juergen Vigna <jug@sad.it>
11226 * tabular.C (AppendColumn): applied John's fix
11228 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11232 * BufferView_pimpl.h:
11233 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11236 * box.h: new start of class for above
11238 * lyxfunc.C: ignore space-only minibuffer dispatches.
11239 Show the command name when it doesn't exist
11241 * minibuffer.C: don't add empty lines to the history
11243 * minibuffer.C: add a space on dropdown completion
11245 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11247 * text.C: fix line above/below drawing in insets
11249 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * lyxlength.C (LyXLength): Initialize private variables.
11253 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11256 when inserting error insets.
11258 2001-12-13 Juergen Vigna <jug@sad.it>
11260 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11261 actually sometimes the before-paragraph.
11262 (setUndo): don't clear the redostack if we're not actually undoing!
11264 2001-12-06 Juergen Vigna <jug@sad.it>
11266 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11267 and fixed redoing of main paragraph, so we can use it now ;)
11269 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11271 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11276 2001-12-13 André Pönitz <poenitz@gmx.net>
11279 * undo_func.C: minor cleanup
11281 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11284 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11285 font in urw-fonts package which is marked as -urw-fontspecific and
11286 does not work (incidentally, changing the encoding in the
11287 fonts.dir of this package to -adobe-fontspecific fixes the
11290 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11291 is a crash when undoing first paragraph (Juergen, please take a
11292 look). THis does not mean the undo fix is wrong, just that it
11295 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11296 the (Paragraph*) version when needed instead of duplicating the
11299 * text.C (workWidth): use Inset::parOwner to find out where the
11300 inset has been inserted. This is a huge performance gain for large
11301 documents with lots of insets. If Inset::parOwner is not set, fall
11302 back on the brute force method
11304 * paragraph_pimpl.C (insertInset):
11305 * paragraph.C (Paragraph):
11306 (cutIntoMinibuffer): set parOwner of insets when
11307 inserting/removing them
11309 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11311 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11317 * mathed/formulabase.C:
11318 * mathed/math_cursor.[Ch]:
11319 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11322 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * lyxlength.[Ch] (operator!=): new function
11326 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * text.C (workWidth): use Inset::parOwner to find out where the
11329 inset has been inserted. This is a huge performance gain for large
11330 documents with lots of insets. If Inset::parOwner is not set, fall
11331 back on the brute force method
11333 * paragraph_pimpl.C (insertInset):
11334 * paragraph.C (Paragraph):
11335 (cutIntoMinibuffer): set parOwner of insets when
11336 inserting/removing them
11338 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11340 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * tabular-old.C (getTokenValue):
11343 * tabular.C (getTokenValue):
11344 (write_attribute): new versions for LyXLength
11345 (everywhere): adjust the use of widths
11347 * tabular.h: change the type of widths from string to LyXLength
11349 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11351 * paragraph.C: fixed missing line number count when exporting
11352 Environments to LaTeX file
11354 * buffer.C: added informational message for checking line numbers.
11356 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11358 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11359 paragraph, do the 'double space' part, but not the 'empty
11362 * text.C (workWidth): small optimization
11363 (getLengthMarkerHeight): use minimal size for negative lengths.
11365 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11367 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11369 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11371 2001-12-11 André Pönitz <poenitz@gmx.net>
11374 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11376 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11378 * text2.C: keep selection on a setFont()
11380 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11382 * lyx_cb.C: another bv->text misuse, from insert label
11384 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11387 * kbsequence.C: re-instate nmodifier mask
11389 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11391 * lyx_main.h: make lyxGUI private.
11393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11395 * lyxfind.C: place the cursor correctly on failed search
11397 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * text.C (getLengthMarkerHeight): for small heights, the arrows
11400 are not always on top/bottom of the text
11401 (drawLengthMarker): smaller arrows; take the left margin in
11402 account; draw also vfills.
11404 (paintLastRow): remove special code for vfill and standard spaces,
11405 since everything is handled in drawLengthMarker now.
11407 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * buffer.C (insertErtContents): try to handle font and language
11410 interaction a bit better.g
11412 * ColorHandler.C (updateColor): change the hash to cover the whole
11413 LColor enum, ws cleanup
11414 (getGCLinepars): ditto
11415 (getGCLinepars): only lookup in the linecache once.
11417 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11419 * iterators.C (operator++): Make the iterator more robust
11421 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11428 * text.C: better added space drawing
11430 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11433 * BufferView2.C: fix layout combo update on inset unlock
11435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11437 * Makefile.am: don't compile unused files
11439 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11443 * LyXAction.C: remove old LFUN_LAYOUTNO
11445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11447 * paragraph_pimpl.h:
11448 * paragraph_pimpl.C: isTextAt() doesn't need font param
11450 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11453 * lyxlex.C: little cleanup
11455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11457 * BufferView_pimpl.C: fix insertAscii for insets
11459 2001-12-05 Juergen Vigna <jug@sad.it>
11461 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11462 set the right font on the "multi" paragraph paste!
11464 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * lyxlength.C: remove out-commented code.
11472 * BufferView_pimpl:
11486 * vc-backend.C: change "while(" to "while ("
11488 * lyxlength.[Ch]: add zero function to check if length is zero or
11490 * lyxgluelength.C: use it
11492 2001-12-05 Allan Rae <rae@lyx.org>
11494 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11495 Works for 2.95.3, from what I understand of Garst's reports this should
11496 work for other g++ versions. We're screwed if the abs(int) definition
11497 changed between bugfix releases of gcc.
11499 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11501 * text.C: fix chapter label offset !
11503 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11506 * text.C: fix hfill at end of line, clean up
11508 2001-12-04 Juergen Vigna <jug@sad.it>
11510 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11511 that we force an update of the inset and it's owners if neccessary.
11513 2001-12-03 Juergen Vigna <jug@sad.it>
11515 * text.C (rowLast): simplified code
11517 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11519 * lyxfunc.C: fix show options on timeout
11521 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * screen.C (topCursorVisible): scroll half a page when the cursor
11524 reached top of bottom of screen
11526 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11528 * minibuffer.C: deactivate on loss of focus
11530 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * vspace.[Ch] (operator!=): add operator.
11534 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11536 * BufferView_pimpl.C: refuse to open an inset when
11537 there's a selection.
11539 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11541 * BufferView_pimpl.C: allow to click on RHS of full row insets
11543 2001-11-30 Juergen Vigna <jug@sad.it>
11545 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11546 insets for undo reasons.
11548 2001-11-28 André Pönitz <poenitz@gmx.net>
11550 * vspace.[Ch]: cosmetical changes
11552 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11562 * kbsequence.C: part re-write of old kb code
11565 * WorkArea.C: remove Lgb_bug_find_hack
11567 2001-11-30 José Matos <jamatos@fep.up.pt>
11569 * buffer.C (makeDocBookFile): add a comment to point a hack.
11570 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11571 Fixed a double write of labels.
11573 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11576 * LaTeX.h Fixed bug in LaTeX class where it would not
11577 re-run latex if no depfiles were changed, but the .dvi was removed.
11579 2001-11-28 André Pönitz <poenitz@gmx.net>
11581 * all the files from the change on 2001/11/26:
11582 use lyx::layout_type instead of LyXTextClass::size_type
11583 use lyx::textclass_type instead of LyXTextClassList::size_type
11585 2001-11-29 Juergen Vigna <jug@sad.it>
11587 * text.C: added support for paragraph::isFreeSpacing()
11589 * buffer.C: same as above
11591 * paragraph.h: inserted isFreeSpacing() function to enable
11592 FreeSpacing inside InsetERT.
11594 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11595 of the paragraph's in the cut/copy buffer to 0!
11597 * text2.C (removeRow): remove the assert as it can!
11599 * lyxtext.h: added helper function firstRow returning firstrow and
11600 made firstrow private again.
11602 * BufferView2.C (lockInset): don't relock if we're already locked!
11604 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11605 the only paragraph.
11606 (removeRow): added Assert::(firstrow)
11608 * debug.C: forgot to add INSETTEXT here.
11610 2001-11-28 Juergen Vigna <jug@sad.it>
11612 * sp_spell.C (initialize): changed error text to more general
11613 spellchecker command use (not only ispell!)
11615 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11617 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11619 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11621 * vspace.C: initialise lyxgluelength on failure
11623 2001-11-28 Allan Rae <rae@lyx.org>
11625 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11626 declaration & definition that looks like a function declaration.
11628 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * BufferView2.C (copy):
11631 (copyEnvironment): do not clear the selection when doing a copy.
11633 * text.C (paintFirstRow): compilation fix
11635 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11637 * tabular.C (Latex): correct line count when writing latex.
11639 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11641 * paragraph_pimpl.h:
11642 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11645 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11649 * LColor.C: change vfillline->added_space
11651 * text.C: add markers and text for added space
11653 * vspace.C: fix comment
11655 2001-11-28 André Pönitz <poenitz@gmx.net>
11657 * paragraph.C: whitespace changes
11658 * all the other files from the change on 2001/11/26:
11659 change *::pos_type into lyx::pos_type
11661 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11663 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11664 language of the document when inserting error insets.
11666 2001-11-26 André Pönitz <poenitz@gmx.net>
11668 * BufferView_pimpl.[Ch]:
11676 * paragraph_pimpl.[Ch]:
11679 * text2.C: reduce header dependencies, introduce type for positions
11681 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11683 * <various>: change to use Alert.h
11685 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11687 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11688 when encountering an unknown token.
11689 (readLyXformat2): Show an error message if there were unknown tokens.
11691 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11694 * BufferView_pimpl.C:
11698 * text2.C: use par->isInset()
11700 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11702 * paragraph_pimpl.h:
11703 * paragraph_pimpl.C: cleanup
11705 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * text2.C (removeRow):
11708 * text.C (setHeightOfRow): remove useless (and costly) call to
11711 2001-11-20 Allan Rae <rae@lyx.org>
11713 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11714 Now need Inset*::checkInsertChar() to return true for appropriate
11715 cases so that the characters in the minibuffer will actually be
11718 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * text.C: change the order of the includes.
11721 (workWidth): initialize it at once.
11722 (workWidth): make maxw unsigned
11723 (setHeightOfRow): remove unused variable (inset)
11724 (selectSelectedWord): remove unused variable (inset)
11725 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11727 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11730 server is not running.
11732 (closeConnection): add debug info when server is disabled.
11734 * ColorHandler.C (getGCForeground): send debug message to GUI
11737 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11739 * kbmap.C (bind): modify because return conventions of
11740 kb_sequence::parse have changed.
11742 * kbsequence.C (parse): only ignore spaces and not any stupid
11743 control character. This avoids tests like s[i] <= ' ', which are
11744 guaranteed to fail with 8bit characters and signed chars.
11745 Change return code to string::npos when there have been no error
11746 (0 was a bad idea when error is at first character)
11748 2001-11-14 José Matos <jamatos@fep.up.pt>
11751 * buffer.C (simpleDocBookOnePar): removed unused argument.
11753 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11755 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11756 insets which are part of a word. Paragraph::isLetter takes care of
11757 that now. Use Paragraph::isInset to identify insets.
11758 (selectSelectedWord): do not test for hyphenation break.
11760 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11761 that protected spaces are considered as spaces.
11763 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11766 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11769 * lyxserver.C: fix it. and small cleanup.
11771 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.C: use inline helpers
11776 * LaTeXFeatures.C: fix typos
11779 * Spacing.C: move spacing_string into class
11781 * ToolbarDefaults.C: move stuff into namespace anon
11783 * layout.h: update enum
11785 * lyxfunc.C: use better debug
11787 * minibuffer.h: fix typo
11791 * WorkArea.C: add and use Debug::WORKAREA
11795 * text2.C: code re-organisation, inline helpers
11797 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11799 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11800 std::vector.empty().
11802 2001-11-09 Allan Rae <rae@lyx.org>
11804 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11805 '\n's after tables. Tabular and ERT inset work now makes this no
11808 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11811 * minibuffer.C: fix crash, improve drop-down completion
11813 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11816 * lyxserver.C: invalidate fd's when doing endPipe()
11818 2001-11-08 José Matos <jamatos@fep.up.pt>
11820 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11821 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11824 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11826 2001-11-07 José Matos <jamatos@fep.up.pt>
11829 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11832 * buffer.C (sgmlOpenTag):
11833 * buffer.C (sgmlCloseTag): removed debug info.
11835 * buffer.h (sgmlOpenTag):
11836 * buffer.h (sgmlCloseTag): made public.
11838 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11840 * buffer.C (saveParamsAsDefaults):
11841 * lyx_cb.C (MenuLayoutSave): remove
11843 * LyXAction.C (init):
11845 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11847 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * buffer.C (setPaperStuff): removed from here...
11851 * bufferparams.C (setPaperStuff): ... and moved there.
11853 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11857 * XFormsView.C: add support for drop-down completion
11859 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11861 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11864 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11866 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11869 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11871 * lyx_main.C: change ref to known bugs
11873 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11875 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11876 to work around older babel problems.
11878 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11880 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11882 2001-10-24 Juergen Vigna <jug@sad.it>
11884 * tabular-old.C (ReadOld): below variable changes reflected.
11886 * tabular.[Ch]: added ltType struct for longtable header/footer
11887 defines and changed all instances where they are used. Added
11888 future support for double top/bottom rows.
11890 2001-10-24 José Matos <jamatos@fep.up.pt>
11892 * buffer.h (docbookHandleCaption):
11893 * buffer.C (docbookHandleCaption): removed unused function.
11894 (makeDocBookFile): moved docbook supported version to v4.1.
11896 2001-10-24 José Matos <jamatos@fep.up.pt>
11899 * tabular.C (docbookRow): new function to export docbook code of a row.
11900 (DocBook): now honors the longtable flags.
11902 2001-10-23 José Matos <jamatos@fep.up.pt>
11905 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11906 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11908 * buffer.C (makeLinuxDocFile):
11909 (makeDocBookFile): reworked the preamble, more clean, and with
11910 support for lyx defined entities. Changed the document declaration
11911 to be more XML friendly.
11913 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11914 if we need to output XML that should be done with a filter.
11916 2001-10-22 Juergen Vigna <jug@sad.it>
11918 * sp_pspell.h (class PSpell): add alive function needed in the
11919 controller to see if the spellchecker could be started.
11921 2001-10-22 Juergen Vigna <jug@sad.it>
11923 * buffer.C (insertStringAsLines): modify the font for inserting
11924 chars in certain conditions by calling checkInsertChar(font).
11926 2001-10-19 Juergen Vigna <jug@sad.it>
11928 * text.C (workWidth): use getRow instead of wrong algorithm.
11929 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11931 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11936 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11938 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11940 * text.C (workWidth): do not search for the exact row when
11941 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11942 optimization for big documents.
11944 2001-10-18 Juergen Vigna <jug@sad.it>
11946 * text.C (workWidth): new function with added Inset * parameter.
11948 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11950 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11952 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11953 change return type of getColumnNearX.
11956 * text.C (changeRegionCase): use uppercase/lowercase instead of
11959 (rightMargin): simplify code by factoring out the uses of
11964 (appendParagraph): use Paragraph::size_type
11966 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11968 * vspace.C (asLatexString): add a missing break
11970 2001-10-15 Herbert Voss <voss@perce.de>
11972 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11974 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11976 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11979 2001-10-10 André Pönitz <poenitz@gmx.net>
11981 * lyxfunc.C: removed greek_kb_flag.
11983 2001-10-10 Herbert Voss <voss@perce.de>
11985 * lyx_main.C: delete global string help_lyxdir.
11987 2001-10-09 Herbert Voss <voss@perce.de>
11989 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11991 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11993 * lyx_main.C: added global string help_lyxdir.
11995 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11997 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11999 * lyxrc.C (set_font_norm_type): support iso8859-4
12001 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12003 * LaTeX.C (deplog): add another regex for MikTeX
12005 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12007 * lyxrc.C (set_font_norm_type): support iso8859-3
12009 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12013 * LaTeXFeatures.C: remove special case of french and index
12015 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12016 before \begin{document}). This solves several incompatibilities.
12018 2001-10-03 Garst Reese <reese@isn.net>
12020 * lyx_cb.C: change CheckTex error msg.
12022 2001-10-03 José Matos <jamatos@fep.up.pt>
12024 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12026 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12028 * .cvsignore: update
12030 * lyx_main.C (commandLineVersionInfo): use new style version info.
12032 * buffer.C (writeFile):
12034 (makeLinuxDocFile):
12035 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12037 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12039 * version.h: update to use stuff in version.C
12041 * version.C.in: new file. Contains version information determined
12042 at compile time. This is a merging of version.h and
12045 2001-10-03 Juergen Vigna <jug@sad.it>
12047 * BufferView_pimpl.C (update): don't change "dirty" status in
12050 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12052 * WorkArea.C (c-tor): re-position version string slightly.
12054 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12056 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12057 revert to previous code.
12059 WorkArea.[Ch]: (show, destroySplash): methods removed.
12061 WorkArea.C: rework code so that it's an amalgam of the codes before and
12062 after the splash screen was moved to WorkArea.
12064 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12067 * vspace.C (inPixels):
12070 * buffer.C (insertStringAsLines):
12071 (asciiParagraph): fix types to be large enough
12073 * lyxlex_pimpl.h: change member status from short to int
12075 * layout.h: fix type of endlabeltype
12078 * kbsequence.C (parse): change return type to string::size_type
12080 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12083 * Bullet.C (bulletSize):
12084 (bulletEntry): do not use short ints as parameters
12086 * BufferView2.C (insertLyXFile): change a char to an int.
12088 * WorkArea.C (WorkArea): remove unneeded floats in computation
12090 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12092 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12094 * paragraph.C (asString): Do not ignore newline/hfill chars when
12095 copying to the clipboard.
12097 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12099 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12100 after a multi-line inset.
12102 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12104 * paragraph.C (validate): Set NeedLyXFootnoteCode
12106 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12108 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12109 and decrease-error to decrease.
12111 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12113 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12114 it more readable (should be equivalent)
12116 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12118 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12120 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12123 of a cursor (row, etc.) after a character has been deleted
12124 (deleteEmptyParagraphMechanism): call the method above on _all_
12125 cursors held by the LyXText when a double space has been
12128 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12130 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12132 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12134 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12135 background. Use greyOut() and the new show() methods to toggle between
12136 the foreground and background. Add code to remove the splash after
12137 its initial showing.
12139 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12140 (create_forms): no longer call Dialogs::showSplash.
12142 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12144 * .cvsignore: add version_info.h
12146 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * version_info.h.in: new file
12150 * Makefile.am: add version_info.h.in
12152 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12153 version_info.h instead of VERSION_INFO
12155 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12157 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12158 The ERT inset now returns string().
12160 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12162 * lyxtext.h, text.C (selectNextWord): renamed as
12163 selectNextWordToSpellcheck.
12165 * text.C (selectNextWordToSpellcheck): Modified to not select
12166 words inside an ERT inset.
12168 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12170 * lyx_cb.C (MenuLayoutSave): change a bit the question
12172 * sp_base.h: include <sys/types.h>
12174 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12176 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12178 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12180 * several files: fix typos in user-visible strings
12182 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * text2.C (pasteSelection): do not set the selection, since it
12185 will be cleared later. Actually, the intent was to fix the way the
12186 selection was set, but I figured rmoving the code was just as good.
12188 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12190 * FontLoader.C (available): Check if font is available without
12193 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12195 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12197 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12199 * lyxrc.[Ch]: added display_graphics variable and associated code.
12201 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12203 * bufferparams.C (hasClassDefaults): new method. Returns true if
12204 the buffer parameters correspond to known class defaults
12206 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12208 * XFormsView.C (show): set minimum size to the main window.
12210 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * text2.C (copySelection):
12214 * lyxfind.C (LyXReplace):
12215 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12216 LyXText::selectionAsString.
12218 * paragraph.C (asString): add "label" argument to the second form
12220 * text2.C (selectionAsString): add "label" argument and pass it to
12221 Paragraph::asString.
12223 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * lyx_main.C (commandLineHelp): remove version information
12227 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12229 * lyx_main.C: add -version commandline option
12231 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * paragraph.h: make the optional constructor arg required instead.
12234 some modifications to other files because of this.
12236 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12238 * lyxserver.C (C_LyXComm_callback): make it static
12240 * lyx_main.C (error_handler): make it static
12242 * lyx_gui.C (LyX_XErrHandler): make it static
12244 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12246 * WorkArea.C: make the extern "C" methods static.
12248 * Makefile.am (lyx_LDADD): simplify
12250 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12252 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12253 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12255 * LyXAction.C (init):
12256 * lyxfunc.C (dispatch): associated code removal.
12258 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * lyxfont.h (isSymbolFont): shut off warning
12262 * text.C (setHeightOfRow):
12263 (getVisibleRow): fix crash with empty paragraphs which have a
12266 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12268 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12271 2001-09-04 José Matos <jamatos@fep.up.pt>
12274 * tabular.C (docbook): rename docBook method to docbook.
12276 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12278 * Makefile.am: add dependencies to main.o.
12280 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12282 * FontLoader.C (available): Return false if !lyxrc.use_gui
12284 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12286 * FontInfo.C (query):
12287 * converter.C (view):
12288 * importer.C (Import):
12289 * exporter.C (Export): Can not -> cannot.
12291 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.C: allow to create index inset even if
12296 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12298 * buffer.C (getLists): replace boost::tie code with an explicit pair
12299 as boost::tie can break some compilers.
12301 * iterators.h: Added a std:: declaration to the return type of
12304 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12306 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12309 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12311 * iterators.[Ch]: New files. Provide paragraph iterators.
12313 * buffer.C (changeLanguage): Use paragraph iterators.
12314 (isMultiLingual): ditto
12316 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12318 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12320 * FontLoader.C: Support for cmr font.
12322 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12324 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12325 (available): New method.
12327 * FontInfo.C (getFontname): Use scalable fonts even when
12328 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12331 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12333 * converter.C (Formats::view): reverted! Incorrect fix.
12335 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12337 * converter.C (Formats::view): only output the -paper option
12338 if the dvi viewer is xdvi, thereby fixing bug #233429.
12340 2001-08-23 Herbert Voss <voss@perce>
12342 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12344 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12346 * Spacing.h (Spacing): Set space to Default on in the default
12349 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * vc-backend.h (RCS::versionString): add RCS to version
12352 (CVS::versionString): add CVS to version
12354 * vc-backend.C (scanMaster): do not add CVS to version.
12355 (scanMaster): do not add RCS to version
12357 * lyxvc.C (versionString): new method
12359 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12361 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * Spacing.C (set): initialize fval
12365 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12367 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12370 2001-08-16 Juergen Vigna <jug@sad.it>
12372 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12374 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12376 * BufferView_pimpl.C:
12379 * text2.C: setParagraph takes linespacing now
12381 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12383 * LyxAction.C: add internal LFUN_CITATION_INSERT
12385 * LyXView.C: actually apply fix
12387 * bufferlist.C: fix open non-existent file
12389 * lyxfind.C: fix indentation
12391 * lyxfunc.C: remove unneeded assert, fix typo
12393 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12395 * MenuBackend.C: use "Floatname List"
12397 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12399 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12400 when converting LaTeX layout to insetERT.
12401 Generate a non-collapsed float when reading old float
12403 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12405 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12408 2001-08-13 Juergen Vigna <jug@sad.it>
12410 * text.C (fill): return 0 instead of 20 as this seems to be the more
12413 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12415 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12418 2001-08-13 Juergen Vigna <jug@sad.it>
12420 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12422 (SearchBackward): comment out the unlocking of the inset_owner this
12423 should not be needed!
12425 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12427 * Many files: Remove inherit_language, and add latex_language
12429 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12430 collapsible insets.
12432 2001-08-10 Juergen Vigna <jug@sad.it>
12434 * text.C (prepareToPrint): fixed hfill-width in draw!
12436 * BufferView2.C (selectLastWord): save the selection cursor as this
12437 now is cleared in the function LyXText::clearSelection!
12439 2001-08-08 Juergen Vigna <jug@sad.it>
12441 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12442 BACKSPACE type functions.
12444 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12445 is only cutted from the document but not put in the cut-buffer, where
12446 still the old stuff should be.
12448 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12450 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12452 * tabular.C (SetWidthOfCell): fixed special case where the width
12454 (LeftLine): handle '|' in align_special.
12456 (LeftAlreadyDrawed): ditto
12457 (SetWidthOfCell): ditto
12459 2001-08-07 Juergen Vigna <jug@sad.it>
12461 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12463 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12466 * lyxlex.[hC]: ditto
12468 2001-08-06 Juergen Vigna <jug@sad.it>
12470 * text.C (getVisibleRow): fix up row clearing a bit.
12472 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * minibuffer.C: make sure the X server sees the changes in the input.
12476 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * paragraph.C (getFont): split into...
12479 (getLabelFont): this
12480 (getLayoutFont): and this
12481 * paragraph_pimpl.C (realizeFont): calling this
12483 * text2.C (getFont): split into...
12484 (getLayoutFont): this
12485 (getLabelFont): and this
12486 (realizeFont): all three calling this
12488 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12491 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12495 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12497 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12498 layouts from the Quote inset insertion.
12500 2001-08-03 Juergen Vigna <jug@sad.it>
12502 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12504 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12505 only if status not is already CHANGED_IN_DRAW (second level).
12507 * text.C (draw): don't set the need_break_row when inside an
12510 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * buffer.C (parseSingleLyXformat2Token): handle more latex
12515 * bufferview_funcs.[hC]: change function names to
12516 begin with small char, adjust other files.
12518 2001-08-02 André Pönitz <poenitz@gmx.net>
12521 BufferView_pimpl.C: remove broken special code for math-greek
12523 2001-08-02 Juergen Vigna <jug@sad.it>
12525 * BufferView_pimpl.C (update): redone this function so that we
12526 update the text again if there was a CHANGE_IN_DRAW.
12528 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12529 (drawFromTo): added a new internal bool which is used by draw() and
12531 (general): some cursor drawing problems fixed.
12533 2001-08-01 Juergen Vigna <jug@sad.it>
12535 * lyxfind.C (LyXFind): fixed
12536 (SearchForward): ditto
12537 (SearchBackward): ditto
12539 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12540 spurius drawing of the cursor in the main area.
12542 * text2.C (status): small fix which could lead to a segfault!
12543 (clearSelection): remove unneeded BufferView param.
12545 2001-08-01 André Pönitz <poenitz@gmx.net>
12547 * lyxfunc.C: small change due to changed mathed interface
12549 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12551 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12553 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12555 * lyxfunc.c: fail gracefully if file doesn't exist
12560 * BufferView_pimpl.C: IsDirWriteable() proto changed
12562 * LyXView.C: fix updateWindowTitle() to store the last title
12564 2001-07-31 Juergen Vigna <jug@sad.it>
12566 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12567 the font (wrong since using of Paragraph::highestFontInRange).
12569 * paragraph.C (highestFontInRange): added a default_size parameter.
12571 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12572 (setHeightOfRow): reformat
12574 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * converter.[hC] + affected files: move to (inital-char)lowercase
12579 * ParagraphParameters.C (ParagraphParameters): remove commented code
12581 * PainterBase.[Ch]: remove commented code
12583 * LaTeXFeatures.h: add "bool floats" for float.sty
12585 * LaTeXFeatures.C (LaTeXFeatures): init floats
12586 (require): handle float
12587 (getPackages): do it with floats
12589 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12591 * BufferView_pimpl.C (Dispatch): improve handling of
12592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12594 * commandtags.h: #include lyxfont.h here temporarily to avoid
12597 * bufferlist.h: include LString.h here.
12599 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12601 * text2.C (getStringToIndex): new method.
12603 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12605 * *: Reduced header file dependencies all over.
12607 2001-07-30 Baruch Even <baruch@lyx.org>
12609 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12611 2001-07-29 Baruch Even <baruch@lyx.org>
12613 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12615 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * ParameterStruct.h (endif): add a default constructor to make
12618 sure that all variables is initialized.
12620 * ParagraphParameters.C (ParagraphParameters): adjust
12622 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12624 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12625 index; also, check that there is something to index, and that it
12626 does not span over several paragraphs.
12627 (doubleClick): use WHOLE_WORD_STRICT for double click.
12629 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12631 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12634 2001-07-26 Baruch Even <baruch@lyx.org>
12636 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12637 an InsetFig figure, backwards compatible reading of old figure code.
12639 2001-07-27 Juergen Vigna <jug@sad.it>
12641 * text2.C: font.realize function adaption.
12643 * text.C (draw): add a warnings lyxerr text if needed.
12645 * layout.C: font.realize function adaption.
12647 * language.C: add inherit_language and implement it's handlings
12649 * bufferview_funcs.C (StyleReset): remove language parameter from
12650 font creation (should be language_inherit now).
12652 * bufferparams.C (writeFile): handle ignore_language.
12654 * paragraph.C (getFontSettings): the language has to be resolved
12655 otherwise we have problems in LyXFont!
12657 * lyxfont.C (lyxWriteChanges): added document_language parameter
12658 (update): removed unneeded language parameter
12660 * paragraph.C (validate): fixed wrong output of color-package when
12661 using interface colors for certain fonts in certain environments,
12662 which should not seen as that on the final output.
12664 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12666 * BufferView_pimpl.C:
12671 * LyXAction.C: add thesaurus support
12674 * lyxfind.C: add "once" parameter, for thesaurus, to not
12675 move to the next match
12677 2001-07-26 Juergen Vigna <jug@sad.it>
12679 * lyxfont.C (realize): honor ignore_language too!
12682 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12684 * text.C (draw): one place more for ignore_language to not draw
12687 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12689 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12691 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12694 the minipage conversion problem.
12696 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12701 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * BufferView.h: don't forward declare WorkArea
12705 * BufferView.C: don't include WorkArea.h
12707 2001-07-25 André Pönitz <poenitz@gmx.net>
12711 * lyxfunc.C: new LFUN 'math-space'
12713 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12715 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * text2.C (toggleInset): call open/close
12719 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * lyxfunc.C (dispatch): add debug for the disabled case
12723 * font.C (buttonText): make similar to rectText
12725 * buffer.C (readInset): comment out parsing of insetlist and
12728 * PainterBase.C (rectText): small correction
12730 * BufferView_pimpl.C: comment out insettheorem and insetlist
12731 * LyXAction.C: ditto
12732 * commandtags.h: ditto
12734 2001-07-24 Juergen Vigna <jug@sad.it>
12736 * text.C (draw): honor the ignore_language.
12738 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12740 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12745 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12747 * lyxtext.h: remove unused (and unimplemented) methods
12749 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12751 * text.C (getVisibleRow): honor background color
12754 * Painter.h: remove default color argument for fillRectangle
12756 * text.C (backgroundColor): new method
12758 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * text.C (getVisibleRow): adjust
12762 * font.[Ch] (rectText): new method, metrics
12763 (buttonText): new method, metrics
12765 * PainterBase.[hC]: make rectText and buttonText always draw and take
12768 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12770 * ToolbarDefaults.C (read):
12771 * MenuBackend.C (read): allow escaping in all strings
12773 * BufferView_pimpl.C (insertAndEditInset): new method.
12774 (Dispatch): use insertAndEditInset whenever appropriate.
12776 * BufferView_pimpl.C (insertNote): removed
12778 * BufferView_pimpl.C (smartQuote): new method, moved from
12779 BufferView; if an insetquote cannot be inserted, insert a '"'
12782 * BufferView2.C: remove insertCorrectQuote();
12784 * lyxfunc.C (getStatus): Add support for all remaingin
12785 inset-insert lfuns.
12787 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12789 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12790 command (necessary to pass " as parameter of self-insert.
12792 * text.C (selectWordWhenUnderCursor):
12793 (selectWord): add word_location parameter
12794 (selectWordWhenUnderCursor): same + remove special code for word
12796 (selectNextWord): use kind() to guess type of insetspecialchar,
12799 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12800 (insertErtContents): create ert insets as collapsed.
12801 (readInset): better compatibility code for Info inset.
12803 2001-07-20 Juergen Vigna <jug@sad.it>
12805 * lyxfunc.C (dispatch): use always LyXFind now!
12807 * text2.C (init): add a reinit flag so that the LyXText can be
12808 reinited instead of deleted and reallocated (used in InsetText).
12810 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12816 2001-07-18 Juergen Vigna <jug@sad.it>
12818 * text.C (selectNextWord): handle insets inside inset by calling
12819 always the bv->text functions so that we can go up the_locking_inset!
12821 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12822 in strange locations when inside an inset!
12824 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12825 handling to include insets.
12827 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12829 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12831 * LyXAction.C (init):
12833 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12834 LIGATURE_BREAK, since the name is so stupid.
12836 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12838 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12841 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12843 * sp_form.[Ch]: remove.
12845 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12847 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12850 * src/buffer.C (readInset): ditto.
12852 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12854 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12855 menuSeparator(), endOfSentenceDot(), ldots() and
12856 hyphenationPoint(), which are therefore removed.
12857 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12859 * LyXAction.C (init):
12860 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12862 * paragraph.C (getWord): removed.
12864 * BufferView_pimpl.C (Dispatch): use last word or selection for
12865 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12867 * lyx_main.C (queryUserLyXDir): do not ask before creating
12868 user_dir, except if it has been named explicitely.
12870 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12872 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12873 a document of zero size.
12875 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12877 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12878 approriately in the c-tor and in require().
12879 (getPackages): output the appropriate LaTeX for natbib support.
12881 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12882 variables "use_natbib" and "use_numerical_citations" when reading the
12884 (readInset): read the various natbib cite commands.
12885 (validate): white-space change.
12887 * bufferparams.[Ch]: new variables "bool use_natbib" and
12888 "bool use_numerical_citations".
12889 (writeFile): output them in the LyX file.
12891 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12893 * lyxfunc.C (getStatus): add support for all the inset insertion
12896 * text2.C (insertInset):
12897 * paragraph.C (insetAllowed):
12898 * BufferView_pimpl.C (insertInset): update to take in account the
12899 renaming of insertInsetAllowed
12901 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12903 * text2.C (getInset): new method. returns inset at cursor position.
12905 * BufferView_pimpl.C (Dispatch): changes because of this.
12907 * LyXAction.C (init): rename open-stuff to inset-toggle.
12909 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12911 * text2.C (toggleInset): renamed from openStuff; use
12914 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12916 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12918 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12920 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12922 * buffer.C (readLyXformat2): Add filename to the error dialog
12924 2001-07-18 Juergen Vigna <jug@sad.it>
12926 * tabular.C (GetCellNumber): put an assert here instead of the check!
12928 2001-07-17 Juergen Vigna <jug@sad.it>
12930 * BufferView_pimpl.C (toggleSelection): adapted too.
12932 * text.C (selectNextWord): adapted for use with insets.
12933 (selectSelectedWord): ditto
12935 2001-07-17 Juergen Vigna <jug@sad.it>
12937 * sp_spell.C (PSpell): fix initialitation order.
12939 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * paragraph.C: spacing
12943 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12945 * sp_spell.C: repair language selection for pspell
12947 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * lyxfunc.h: change more methods to begin with lower char.
12951 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12953 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12954 for unknown layouts.
12956 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12958 * buffer.C (readLyXformat2): Generate an error dialog if there are
12961 2001-07-16 Juergen Vigna <jug@sad.it>
12963 * sp_spell.C: always compile ISpell part.
12965 * lyxrc.C: added use_pspell entry and it's handling.
12967 2001-07-13 Juergen Vigna <jug@sad.it>
12969 * sp_spell.C: removed double includes.
12971 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12973 Consistent use of Lsstream.h:
12974 * Lsstream.h: added using std::stringstream for consistencies sake.
12976 * buffer.C: removed using std::stringstream
12978 * lyxfont.C (stateText):
12979 * paragraph.C (asString):
12980 * text.C (selectNextWord, selectSelectedWord):
12981 * text2.C (setCounter):
12982 * vspace.C (asString, asLatexString):
12983 std::ostringstream -> ostringstream.
12985 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12987 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12988 * commandtags.h: add LFUN_HELP_ABOUTLYX
12989 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12991 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12993 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12995 * lyx_gui_misc.C: remove spellchecker
12996 * lyxfunc.C: showSpellchecker
12998 * sp_ispell.h: added
12999 * sp_pspell.h: added
13000 * sp_spell.C: added
13001 * sp_form.[Ch]: removed
13002 * spellchecker.[Ch]: removed
13004 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13006 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13008 (simpleTeXSpecialChars): Simply print the input character without
13009 any special translation if pass_thru is set.
13011 * layout.h: Added bool pass_thru to layout class for being able to
13012 implement pass through of a paragraph for Literate Programming.
13014 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13015 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13016 * layout.C (Read): add "passthru" to list of layout tags and add
13017 code to set the pass_thru boolean when it is read.
13019 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13021 * trans_decl.h: remove allowed from KmodInfo
13023 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13024 remove allowed code
13027 * paragraph_pimpl.C (erase): use boost::prior
13029 * Painter.C (text): use data() instead of c_str() when length is
13031 * WorkArea.C (putClipboard): ditto
13032 * font.h (width): ditto
13034 * BufferView2.C: use it-> instead of (*it). for iterators
13036 * paragraph_pimpl.C: ditto
13037 * paragraph.C: ditto
13038 * minibuffer.C: ditto
13039 * language.C: ditto
13041 * encoding.C: ditto
13042 * counters.C: ditto
13043 * converter.C: ditto
13045 * Variables.C: ditto
13046 * TextCache.C: ditto
13047 * MenuBackend.C: ditto
13048 * LyXAction.C: ditto
13050 * FloatList.C: ditto
13051 * DepTable.C: ditto
13052 * ColorHandler.C (LyXColorHandler): ditto
13054 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13056 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13058 * text2.C (openStuff): reintroduce this method (which had been
13059 nuked in NEW_INSETS frenzy).
13061 * lyxfunc.C (Dispatch): when an action has not been handled, use
13062 its name in the error message, not its number.
13064 * paragraph.C (inInset): change method name to begin with lowercase.
13067 * text2.C: updates because of this.
13069 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13071 * ToolbarDefaults.C (add): add spaces in error message
13073 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13076 (readLyXformat2): rename return_par to first_par, use lyxlex's
13077 pushToken and remove the manual push handling.
13078 (parseSingleLyXformat2Token): add another ert comp. variable:
13079 in_tabular, rename return_par to first_par. handle newlines better
13081 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13085 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * text2.C (getParFromID): removed
13089 * buffer.C (getParFromID): new method moved form lyxtext.
13090 * BufferView2.C (insertErrors): adjust
13091 (setCursorFromRow): adjust
13092 * BufferView_pimpl.C (restorePosition): adjust
13093 * lyxfunc.C (Dispatch): adjust
13094 * undo_funcs.C (textUndo): adjust
13096 (textHandleUndo): adjust
13097 (textHandleUndo): adjust
13099 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * buffer.C: up' the LYX_FORMAT
13103 * lyxfont.h: turn NO_LATEX on as default
13105 * buffer.C (insertErtContents): new methods of tex style compability.
13106 (parseSingleLyXformat2Token): use it several places.
13107 * tabular.C (OldFormatRead): and here
13109 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * text2.C: remove some commented code.
13114 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13115 * trans.C: changes because of the above.
13117 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13119 * text2.C (setCounter): Fix counters bug with bibliography layout.
13121 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13124 own member functions
13125 (simpleTeXSpecialChars): ditto
13127 2001-07-06 Juergen Vigna <jug@sad.it>
13129 * a lot of files: changed the access to LyXText::status and the
13130 call of undo-functions.
13132 * undo.[Ch]: added a inset_id to the undo informations.
13134 * undo_funcs.[Ch]: added and moved here all undo functions.
13136 * lyxtext.h: give the status enum a weight, made status_ a private
13137 variable and made accessor functions for it, removed the whole bunch
13138 of undo-functions as they are now in their own file, make some
13139 functions publically available. Added function ownerParagraph with
13142 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13143 made InInset() a const function, added getParFromID() function.
13145 * buffer.[Ch]: added const version for inset_iterator functions,
13146 added getInsetFromID() function.
13148 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13149 changed undo functions for new version.
13151 2001-07-05 Juergen Vigna <jug@sad.it>
13153 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13154 unknow mechanism does not call the proper constructor but only this
13155 one also if I request the other!?
13157 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13161 * text2.C (LyXText): use initialization lists.
13163 * lyxtext.h (Selection): initialize set_ and mark_
13164 (init): remove method
13166 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13168 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13170 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * screen.[Ch]: change method names to begin with lowercase
13174 * BufferView_pimpl.C (updateScrollbar): simplify further and
13175 hopefully make it a bit faster.
13177 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13180 calling directly xforms functions.
13182 * Painter.C (Painter):
13183 * lyx_cb.C (MenuWrite):
13184 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13187 * lyx_gui.C: remove bogus guiruntime extern declaration.
13189 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13191 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13193 (redoDrawingOfParagraph): ditto
13194 (redoParagraphs): ditto
13195 (cutSelection): don't create a object for CutAndPaste use the
13196 static method directly
13197 (pasteSelection): ditto
13199 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * modifications to some other files because of this.
13206 * Makefile.am (lyx_SOURCES): add XFormsView
13208 * XFormsView.[Ch]: new files
13210 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13211 the main window. Move the gui dependent stuff to XFormsView
13213 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13215 * tabular.C (GetCellInset): update cur_cell also in the row/col
13216 version of this function.
13218 * lyxfunc.C: no need to include figure_form.h here.
13224 * lyxvc.C: no need to include forms.h here.
13226 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13228 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13230 * lyxfunc.C (Dispatch):
13232 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13233 constructor argument.
13235 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * paragraph.C (Paragraph): dont't clear, and just set layout.
13238 (makeSameLayout): use params's copy contructor.
13240 * ParagraphParameters.[Ch] (makeSame): delete method
13242 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13244 * Variables.[Ch]: fix indentation, rename set to isSet
13246 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * lyxfunc.C (Dispatch): fix typo
13250 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13255 * bufferlist.C: include assert.h for emergencyWrite().
13257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13259 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13260 give up at last (bug #425202) !
13262 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13268 * spellchecker.C: strip spellchecker options and bring up
13269 preferences tab instead
13271 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13274 the istringstream constructor
13276 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * paragraph.C (getLayout): fix return value
13280 * paragraph.h: do not declare getLayout as inline.
13282 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13284 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * lyxcursor.h (operator<): new func
13287 (operator>): new func
13288 (operator>=): new func
13289 (operator<=): new func
13291 * text.C (changeCase): use selection.start and selection.end
13292 (changeRegionCase): require from to be <= to. Require par to be a
13295 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13297 2001-06-27 Juergen Vigna <jug@sad.it>
13299 * text.C (cursorLeftOneWord): changed to return the cursor and added
13300 overlay with BufferView * parameter which calls this one.
13302 (selectWord): use new getWord function.
13303 (changeCase): renamed from changeWordCase as and extended to work
13304 also on selections.
13306 * lyxtext.h: added enum word_location
13308 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13309 changeCase as this operates now also on selections.
13311 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13313 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13315 * many files: send debug output to Debug::INFO instead of
13318 * converter.C (View):
13320 (Move): send debug output to Debug::FILES instead of console.
13322 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13324 * lyxfunc.C (getStatus): use func_status
13326 * func_status.h: new header, describing the results of
13327 LyXFunc::getStatus;
13329 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13332 2001-06-25 The LyX Project <jug@sad.it>
13334 * buffer.C (sgmlOpenTag):
13336 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13338 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * text2.C: remove some dead code
13342 * tabular.C (GetCellInset): store the last cell checked (gotten)
13344 * tabular.h: add the helper for the speedup
13346 * lyxtext.h: remove some dead code
13348 2001-06-26 The LyX Project <Asger>
13350 * paragraph.C: Change export to LaTeX of alignment to
13351 \begin{center} and family for better roundtrip work with reLyX.
13353 * Tune the math drawing a bit.
13355 2001-06-25 The LyX Project <Asger>
13357 * LColor.C (LColor): New color for math background. New color
13360 2001-06-25 The LyX Project <jug@sad.it>
13362 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13364 * lyxfunc.C (Open):
13365 * bufferlist.C (newFile): do not restrict to files ending with
13368 * BufferView_pimpl.C (MenuInsertLyXFile):
13370 2001-06-24 The LyX Project <jug@sad.it>
13372 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13375 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13377 * lyxtext.h: rename most methods to begin with a small char.
13378 Lots of changes because of this.
13380 * paragraph.C (Paragraph): do not call fitToSize
13381 (erase): call Pimpl::erase
13382 (insertChar): call Pimpl::insertChar
13383 (insertInset): call Pipl::insertInset
13384 (breakParagraph): do not call fitToSize
13385 (breakParagraphConservative): do not call fitToSize
13386 (fitToSize): remove method
13388 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13390 2001-06-24 The LyX Project <Asger>
13392 * Fix Qt compilation^2
13394 2001-06-24 The LyX Project <jug@sad.it>
13396 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13397 depthHook(getDepth()-1).
13400 * ParagraphParameters.h:
13401 * ParameterStruct.h: change type of depth to unsigned int ==
13402 depth_type. Many adaptations to other files before of that.
13404 2001-06-24 The LyX Project <Asger>
13406 * Fix Qt compilation.
13408 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * paragraph.h: renamed several methods to begin with small letter.
13411 several changes to many parts of the code because of this.
13413 2001-06-23 The LyX Project <jug@sad.it>
13415 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13416 rewritten to discard all double spaces when KeepEmpty is off
13417 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13418 to only handle newlines but not fiddle with spaces and friends.
13420 * lyxfunc.C (MenuNew): when doing 'new from template', use
13421 template_path as default directory
13423 2001-06-23 The LyX Project <Asger>
13425 * Clean-up of header file includes all over
13426 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13428 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * paragraph.h: renamed from lyxparagraph.h
13432 2001-06-23 Asger <lyx@violet.home.sad.it>
13434 * Buffer.h: Removed Buffer::resize
13435 * BufferList.h: Removed BufferList::resize
13436 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13437 the document lazily when we change the width, or the font settings.
13439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13441 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13445 * buffer.h: remove out of date comment
13447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13450 * screen.C: fix "theoretical" GC leak
13452 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13454 * LaTeX.C (scanAuxFile):
13455 (deplog): remove trailing \r when reading stream (useful under
13458 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13460 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13461 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13462 and BufferView::theLockingInset(Inset*), so should use them and not
13463 access bv_->text->the_locking_inset directly.
13465 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13467 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13470 * tex-defs.h: remove old unused file
13472 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13474 * BufferView_pimpl.C: fix typo, remove minibuffer message
13475 when buffer has loaded
13477 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13479 * lyxfunc.C (Dispatch): use stringstream
13480 (MenuNew): use stringstream
13481 (Open): use stringstream
13483 * importer.C (Import): use stringstream
13485 * bufferview_funcs.C (CurrentState): use stringstream
13487 * LaTeX.C (run): use stringstream
13489 * BufferView_pimpl.C (savePosition): use stringstream
13490 (restorePosition): use stringstream
13491 (MenuInsertLyXFile): use stringstream
13493 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13506 * vspace.C: removed // -*- C++ -*- as first line.
13509 * version.h: added // -*- C++ -*- as first line.
13511 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13515 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13518 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13523 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * gettext.C: include LString.h even when --disable-nls is on.
13527 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13529 * converter.h (Get): changed argument type from int to
13530 FormatList::size_type to avoid unnecessary conversion.
13532 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13535 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13537 * gettext.h: include LString.h even when --disable-nls is on.
13539 2001-06-07 Juergen Vigna <jug@sad.it>
13541 * text.C (BreakAgain): subst spaces with tabs.
13543 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13544 (resizeInsetsLyXText): set force on resizeLyXText.
13546 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * gettext.h (gettext_init):
13549 (locale_init): use a real definition instead of a macro
13551 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13553 * Bufferview_pimpl.C:
13555 * LColor.C: further lcolor tidies
13557 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13559 * BufferView_pimpl.C (updateScrollbar): simplify.
13561 * BufferView2.C: don't include insets/insetinfo.h, change
13562 prototype for insertInset and call the Pimpl version. let
13563 updateInset call Pimpl version.
13565 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13566 gotoInset to BufferView::Pimpl
13568 2001-06-01 Juergen Vigna <jug@sad.it>
13570 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13571 inside a LockingInset (is the update needed at all?).
13573 2001-05-31 Juergen Vigna <jug@sad.it>
13575 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13576 here not the old one otherwise how should we compare it afterwards
13579 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * FontInfo.C: bring C functions into global namespace when
13587 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13589 * LString.h: make sure config.h has been loaded before LString.h.
13591 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13592 (one for each char read by EatLine!).
13594 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13597 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13599 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13600 to the same as the par we break from
13602 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13606 * MenuBackend.C (expand): also create menu entries for wide
13607 versions of the floats.
13609 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13611 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13613 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13614 frontends/Makefile.am
13620 * tabular.C (getTokenValue): add std::
13622 * tabular-old.C (getTokenValue): add std::
13623 (getTokenValue): ditto
13624 (getTokenValue): ditto
13626 * screen.C (ToggleSelection): adjust
13628 * lyxtext.h: put selection cursors inside a Selection struct.
13630 * lyxfunc.C (moveCursorUpdate): adjust
13632 * lyxfont.C (latexWriteStartChanges): add std::
13634 * lyxfind.C: adjust
13636 * font.h: delete with(char const *, LyXFont const &)
13638 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13640 * FontInfo.C (getFontname): add std::
13642 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13643 (workAreaButtonPress): adjust
13644 (tripleClick): adjust
13646 (moveCursorUpdate): adjust
13649 * BufferView2.C (gotoInset): adjust
13651 2001-05-30 Juergen Vigna <jug@sad.it>
13653 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13654 to check pspell I add this as default as I now have new pspell
13655 libraries and they seem to use this.
13657 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * text2.C (CutSelection): make the cursor valid before the call to
13662 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13664 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13665 relied on 0 terminated strings and other horrors. Bug found due to
13666 the new assert in lyxstring!
13668 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13671 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13676 * lyxfunc.C (processKeySym): change method of getting to the
13679 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13680 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13681 * BufferView_pimpl.[Ch]: here as private methods.
13683 2001-05-28 Juergen Vigna <jug@sad.it>
13685 * text.C (SetHeightOfRow): added the update() call again as it is
13686 needed to initialize inset dimensions!
13688 2001-05-16 Juergen Vigna <jug@sad.it>
13690 * text2.C (SetCharFont): Add new function with BufferView * and
13691 bool toggleall parameters for setting insets internal fonts.
13692 (SetFont): Freeze the undo as we may change fonts in Insets and
13693 all this change should be inside only one Undo!
13695 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13696 setting font's in insets as for them we have the SetFont function!
13698 2001-05-15 Juergen Vigna <jug@sad.it>
13700 * text2.C (ClearSelection): to be sure we REALLY don't have any
13703 * tabular.C (TeXCellPreamble): fixed the left border problem for
13706 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13708 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13711 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13714 LFUN_BREAKPARAGRAPH.
13716 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13717 help test to "internal only", similar for LFUN_INSERT_URL
13719 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13720 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13721 auto_region_delete and deadkeys.
13723 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13726 * LColor.C: remove some dead entries, tidy a little
13728 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13732 (Dispatch): implement LFUN_ESCAPE
13734 * commandtags.h: add LFUN_ESCAPE
13736 * LyXAction.C (init): add entry for LFUN_ESCAPE
13738 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13739 Remove commented code.
13740 (insertNote): moved here
13741 (open_new_inset): moved here
13743 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13746 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * kbmap.C (findbinding): clean it up and make it work correctly.
13750 * lyx_main.C (init): do not pass argc and argv as parameters
13752 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13754 * buffer.C: fix path for OS/2 & Win32
13758 * lyx_main.C: Added os:: class.
13760 * os2_defines.h: update
13762 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13765 better by trying again with reduced state.
13767 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * lyxrc.C (read): print error about invalid key sequence only when
13770 debugging (because not all latinX keysyms are known to some X
13773 * kbsequence.C (getiso): add a few std:: qualifiers
13774 (getiso): comment out extra return statement.
13776 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13780 (Dispatch): enhance the accent inset a bit. (not perfect)
13782 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13786 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13788 * bufferlist.C (emergencyWrite): fix assert() call
13790 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13792 * text.C (InsertChar): Added trivial patch to only send the "you
13793 can not do multiple spaces this way" message once during a
13796 2001-05-08 Baruch Even <baruch@lyx.org>
13798 * Makefile.am: Changed order of libraries to get LyX to link properly
13799 with the gnome frontend.
13801 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * LaTeXFeatures.h: add a std:: qualifier
13805 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * paragraph.C (String): use stringstream
13809 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * paragraph.C (writeFile): remove footflag arg
13813 * buffer.C (makeLaTeXFile): use stringstream
13814 (latexParagraphs): remove footnot gurba
13816 * LaTeXFeatures.C (getPackages): use stringstream
13817 (getMacros): likewise
13818 (getTClassPreamble): likewise
13819 (getFloatDefinitions): new method
13821 * paragraph.C (writeFile): reindent
13824 * WorkArea.h: revert the xpos + etc changes.
13826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13828 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13830 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13831 (pasteSelection): likewise
13832 * text2.C (CreateUndo): likewise
13834 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * minibuffer.C (peek_event): temporarily reduce the functionality
13837 of the minibuffer (to allow args on lfuns)
13839 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13840 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13842 * buffer.C (readInset): add compability reading of old float
13843 lists, add reading of new style float list.
13844 (readInset): avoid reevaluation of inscmd.getCmdName()
13845 (getLists): reindent
13847 * MenuBackend.C (MenuItem): implement parsing of
13848 md_floatlistinsert and md_floatinsert.
13849 (expand::LastFiles): move initalizaton of iterators out of loop,
13850 avoid reevaluation.
13851 (expand::Documents): introduce typdedef vector<string> Strings,
13853 (expand::ExportFormats): introduce typedef vector<Format const *>
13854 Formats, and use it.
13855 (expand): implement FloatListInsert and FloatInsert.
13857 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13858 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13859 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13861 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13863 (Dispatch::LFUN_FLOAT_LIST): implement
13865 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13867 * LaTeX.C (run): Fix problem with --export code.
13869 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13871 * BufferView.[Ch] (workarea): removed.
13872 (getClipboard) new method; wrapper for workarea()->getClipboard()
13874 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13877 * WorkArea.h (width, height, xpos, ypos): These methods all
13878 returned the dimensions of the work_area sub-area of WorkArea,
13879 resulting in a position error if the WorkArea were resized. Now
13880 return the dimensions of the entire WorkArea.
13882 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13884 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * LaTeX.C (deplog): correct the syntax of regex reg1
13888 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * undo.C: remove !NEW_INSETS cruft
13892 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * text2.C: remove !NEW_INSETS cruft
13896 * text.C: remove !NEW_INSETS cruft
13898 * tabular.C: remove !NEW_INSETS cruft
13900 * spellchecker.C: remove !NEW_INSETS cruft
13902 * lyxtext.h: remove !NEW_INSETS cruft
13904 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13906 * lyxfunc.C: remove !NEW_INSETS cruft
13908 * lyxfind.C: remove !NEW_INSETS cruft
13910 * lyx_cb.C: remove !NEW_INSETS cruft
13912 * figureForm.C: remove !NEW_INSETS cruft
13914 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13916 * buffer.[Ch]: remove !NEW_INSETS cruft
13918 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13920 * CutAndPaste.C: remove !NEW_INSETS cruft
13922 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13924 * BufferView2.C: remove !NEW_INSETS cruft
13926 * BufferView.h: remove !NEW_INSETS cruft
13928 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * Lsstream.h: include LString.h before the sstream headers to
13931 fix problem with gcc 2.95.3 and lyxstring
13933 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * lyx_main.C: add using directives when needed for C functions
13936 declared in std:: namespace.
13938 2001-04-27 Juergen Vigna <jug@sad.it>
13940 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13941 (SetHeightOfRow): comment out the update call should not be needed!
13943 2001-04-13 Juergen Vigna <jug@sad.it>
13945 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13946 (LyXTabular): tried to minimize operator= operations (and realized
13947 hopfully Lars wish).
13949 2001-04-27 Juergen Vigna <jug@sad.it>
13951 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13953 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13957 * buffer.C (readInset): hack to make listof algorithm work
13959 * BufferView_pimpl.C: hack to make listof algorithm work
13961 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * LyXAction.C: removed all !NEW_INSETS cruft
13964 (init): moved lfun_item in method
13966 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13968 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13970 * BufferView2.C (theLockingInset): white space.
13972 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * minibuffer.C: include <iostream>
13976 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13978 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13980 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13982 * text.[Ch] (TransposeChars): new method
13984 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13986 * call message directly through LyXView instead of through LyXFunc
13987 * BufferView2.C: adjust
13988 * BufferView_pimpl.C: adjust
13989 * FontLoader.C: adjust
13991 * bufferview_funcs.C: adjust
13992 * converter.C: adjust
13993 * figureForm.C: adjust
13994 * importer.C: adjust
13996 * lyx_gui_misc.C: adjust
13997 * lyxfunc.C: adjust
14000 + more files in subdirs
14002 * lyxparagraph.h (size): move up int file
14005 * adjust all uses of Assert to lyx::Assert.
14007 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14008 lyxfunctional in namespace lyx
14009 * layout.C (hasLayout): ditto
14012 (delete_layout): ditto
14013 (NumberOfClass): ditto
14014 * converter.C (GetFormat): ditto
14019 * bufferlist.C (getFileNames): ditto
14020 (emergencyWriteAll): ditto
14023 * MenuBackend.C (hasSubmenu): ditto
14026 * BufferView_pimpl.C (getInsetByCode): ditto
14028 2001-04-18 Juergen Vigna <jug@sad.it>
14030 * vspace.C (asLatexString): fixed the 100% problem.
14032 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * lyxfunc.C (Dispatch):
14036 * minibuffer.h: add a few std:: qualifiers
14038 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * minibuffer.[Ch]: reimplement so that commands is initiated and
14041 run from lyxfunc, simplified som handling, and made the completion
14042 and history code for complete. wip.
14044 * lyxfunc.C (processKeySym): call message
14045 (miniDispatch): new temporary method
14046 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14047 (LFUN_MESSAGE): implement
14048 (LFUN_MESSAGE_PUSH): implement
14049 (LFUN_MESSAGE_POP): implement
14050 (initMiniBuffer): the initial/defualt minibuffer message.
14052 * lyxfont.[Ch]: inline some more getters
14054 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14056 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14058 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14059 (AutoSave): use LFUN_MESSAGE
14060 (Reconfigure): ditto
14062 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14064 * figureForm.C: use LFUN_MESSAGE
14066 * converter.C (runLaTeX): use LFUN_MESSAGE
14068 * bufferview_funcs.C: use LFUN_MESSAGE
14070 (changeDepth): ditto
14072 * bufferparams.h: use boost::
14074 * bufferlist.h: inherit privately from noncopyable
14076 * bufferlist.C (loadLyXFile): remove some commented code.
14078 * buffer.C (runChktex): use LFUN_MESSAGE
14080 * ShareContainer.h: inherit privately from noncopyable
14082 * ParagraphParameters.[hC] (depth): inline it.
14084 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14086 (message): new method
14087 (messagePush): ditto
14088 (messagePop): ditto
14089 (show): init minibuffer
14090 (showState): direct call
14092 * LaTeX.[Ch]: inherit privately from noncopyable
14093 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14094 instead of WriteStatus.
14096 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14098 * BufferView_pimpl.C (buffer): don't init minibuffer
14099 (workAreaButtonPress): use LFUN_MESSAGE
14100 (workAreaButtonRelease): ditto
14101 (savePosition): ditto
14102 (restorePosition): ditto
14103 (MenuInsertLyXFile): ditto
14104 (workAreaExpose): don't init minibuffer
14105 (update): remove commented code, simplify
14107 * BufferView2.C (openStuff): use LFUN_MESSAGE
14108 (toggleFloat): ditto
14111 (copyEnvironment): ditto
14112 (pasteEnvironment): ditto
14117 (updateInset): remove some commented code
14119 * lastfiles.h: inherit privately from noncopyable
14122 * lyx_main.h: ditto
14124 * lyxlex_pimpl.h: ditto
14126 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14127 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14128 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14130 * LyXAction.h: inherit privately from noncopyable, add methods
14131 func_begin, func_end, returning iterators to the func map.
14133 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14134 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14135 (func_begin): new method
14136 (func_end): new method
14138 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14140 (copySelection): ditto
14141 (pasteSelection): ditto
14143 * BufferView.C: whitespace change
14144 * BufferView.h: inherit privately from noncopyable
14146 2001-04-16 Allan Rae <rae@lyx.org>
14148 * tabular-old.C (l_getline):
14149 * spellchecker.C (sc_check_word):
14150 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14151 an unrecognised preprocessor directive. So ensure they're wrapped.
14153 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14155 * src/exporter.C (Export): Give an error message when path to file
14158 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14160 * LaTeX.C (deplog): Always check that foundfile exists.
14162 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14165 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14167 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14169 * tabular.[Ch] (getLabelList): implement new method
14171 * minibuffer.h: comment ouf setTiimer
14173 * minibuffer.C (ExecutingCB): constify res
14174 (peek_event): constify s
14175 (Set): constify ntext
14176 (Init): constify nicename
14178 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14180 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14181 (savePosition): use two params to Minibuffer::Set
14182 (restorePosition): ditto
14184 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14186 * lyx_main.C: include language.h
14188 * Makefile.am (lyx_main.o): add language.h
14190 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * CutAndPaste.C: include gettext.h
14198 * lyxfont.h: remove old hack with ON and OFF.
14201 * lyxfont.h: do not include language.h...
14206 * bufferview_funcs.C:
14212 * paragraph.C: ... but do it here instead
14214 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14218 * tabular.C: small reformat
14220 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14223 (BreakParagraph): ditto
14224 (SetOnlyLayout): ditto
14227 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14230 * lastfiles.C: removed most using decl, add std:: where needed
14232 * buffer.C: ws changes
14234 * MenuBackend.C (class compare_format): put into anon namespace
14235 (expand): constify label, names, action, action2
14238 * text.C (SingleWidth): constify font
14239 (IsBoundary): constify rtl2
14240 (GetVisibleRow): constify ww
14242 * LaTeX.C (deplog): constify logfile
14244 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14246 (workAreaExpose): constify widthChange, heightChange
14248 * lyxrow.C (par): moved
14251 * lyxrow.h: as inlines here
14253 * lyxfont.h (shape): moved from lyxfont.C
14254 (emph): moved from lyxfont.C
14256 * lyxfont.C (LyXFont): use initialization list for all
14258 (shape): move to lyxfont.h as inline
14259 (emph): move to lyxfont.h as inline
14262 2001-04-04 Juergen Vigna <jug@sad.it>
14264 * vspace.C: had to include stdio.h for use of sscanf
14266 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14269 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14270 independent of xforms.
14272 2001-04-02 Juergen Vigna <jug@sad.it>
14274 * spellchecker.C: fixed namespace placing!
14276 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14278 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14279 the LyXParagraph * is 0.
14281 2001-03-29 Juergen Vigna <jug@sad.it>
14283 * vspace.C: added support for %, c%, p%, l%.
14284 (stringFromUnit): added helper function.
14285 (asLatexString): changed to give right results for the %-values.
14287 * buffer.C: convert the widthp in a width%.
14289 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14291 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14294 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14295 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14297 * lyx_cb.[Ch]: see above.
14299 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14303 * lyx.[Ch]: replaced by figure_form.[Ch].
14307 * lyxfunc.C: changed headers associated with above changes.
14309 2001-03-27 Juergen Vigna <jug@sad.it>
14311 * BufferView_pimpl.C: set the temporary cursor right!
14313 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14315 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14317 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14319 * LString.h: removed "using std::getline"!
14321 * BufferView_pimpl.C (Dispatch): changes due to changes in
14322 InsetInclude::Params.
14324 * buffer.C (tag_name): removed redundant break statements as they were
14325 producing lots of warnings with my compiler.
14327 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * LString.h: add "using std::getline" when using the real <string>.
14331 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14333 * buffer.C: removed bitset usage.
14334 PAR_TAG moved to an anonymous name space.
14335 (tag_name): new funtion, also in the anonymous namespace.
14336 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14337 (makeDocBookFile): clean code. Completed transition from string arrays
14339 (SimpleDocBookOnePar): code clean.
14341 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14343 * tabular.C: add some comments.
14345 2001-03-22 Juergen Vigna <jug@sad.it>
14347 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14348 compatibility read a bit and fixed bug with minipage in different
14351 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14353 * buffer.C (pop_tag): removed.
14354 (push_tag): removed.
14355 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14356 array replaced with vector. Added support for CDATA sections.
14357 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14359 (makeDocBookFile): XML conformant declaration of CDATA section,
14360 fixed bug related to <emphasis> in the first paragraph char.
14361 (sgmlOpenTag): exclude empty tags.
14362 (sgmlCloseTag): ditto.
14364 * buffer.h (pop_tag): removed.
14365 (push_tag): removed.
14367 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14369 * language.h (Languages): added size_type and size().
14371 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14373 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14374 response on compability reading of minipages. One probliem is that
14375 the old usage of minipages was «flertydig»
14377 * several files here and in subdirs: don't use static at file
14378 scope use anon namespaces instead.
14380 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14382 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14383 LaTeX output. This is necessary for Literate document
14386 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14388 * buffer.C: insert hfill when needed.
14390 * tabular.C (l_getline): use string::erase, small whitespace change.
14392 * BufferView_pimpl.C: try the anon namespace.
14393 * WorkArea.C: ditto
14395 2001-03-16 Juergen Vigna <jug@sad.it>
14397 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14398 otherwise it won't open options-dialogs.
14400 * buffer.C: honor pextraWidth(p) on converting minipages.
14402 * tabular.C (l_getline): changed the functions to strip trailing \r.
14404 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14406 * BufferView_pimpl.C:
14407 * minibuffer..C: added "using SigC::slot" declaration.
14409 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14411 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14417 * paragraph.C: ditto
14419 * lyxtext.h: NO_PEXTRA
14421 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14423 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14424 * ParameterStruct.h: ditto
14425 * ParagraphParameters.h: ditto
14426 * lyxparagraph.h: ditto
14428 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14430 * buffer.C: add compability for minipage alignment.
14431 (latexParagraphs): remove unwanted pextra check.
14433 * several files: remove CXX_WORKING_NAMESPACES
14435 * buffer.C (pop_tag): tie is in namespace boost
14437 * BufferView.h: noncopyable is in namespace boost
14439 * lyx_main.h: ditto
14442 * lastfiles.h: ditto
14443 * bufferlist.h: ditto
14444 * ShareContainer.h: ditto
14446 * LyXAction.h: ditto
14449 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14451 * Merging changes from BRANCH_MVC back into HEAD.
14453 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14455 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14457 * BufferView_pimpl.C: change from intl.C
14461 * Makefile.am: move combox.*
14467 * intl.C: remove dialog (covered by prefs)
14469 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14471 * lyxfunc.C (Dispatch): removed redundant break statement.
14473 2001-03-14 Juergen Vigna <jug@sad.it>
14475 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14477 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14479 * buffer.C: add hack to fix compability reading of minipages.
14481 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14483 * buffer.C (getLists): Cleanup.
14485 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * lyxfont.C (update): don't honor toggleall on font size.
14489 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14493 * Makefile.am: moved to frontends/xforms/
14497 * BufferView_pimpl.C: changes for moved mathpanel
14499 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14501 * gettext.h: fix gettext_init() in --disable-nls
14503 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14505 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14507 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14510 * lyx.h: strip external form
14512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14514 * BufferView_pimpl.C: add comment, destroySplash()
14516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14518 * BufferView_pimpl.C:
14522 * lyxfunc.C: use re-worked insetinclude
14524 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14526 * buffer.C: add using std::stringstream.
14528 * lyx_cb.C: readd using std::ios.
14530 * buffer.C: add using std::map.
14532 * BufferView_pimpl.C: add using std::vector.
14534 * ShareContainer.h: add std:: to swap.
14536 * buffer.h: add some typedefs
14537 * buffer.C (getLists): use them
14538 (getLists): renamed from getTocList.
14539 add a counter for the different float types and use it in the
14541 (getLists): use the same counter for the NEW_INSETS and the "non"
14544 * lyx_cb.h: remove unused items, includes, using etc.
14546 * ShareContainer.h: remove some commented code, add more comments
14547 and "documentation".
14549 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14551 * buffer.C (getTocList): make the list also when NEW_INSETS is
14554 * buffer.h: remove TocType
14556 * buffer.C (getTocList): change to return a map<string,
14557 vector<TocItem> >, implement for dynamic number of list.
14559 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14560 * text2.C (PasteSelection): adjust
14561 * CutAndPaste.C (pasteSelection): adjust
14563 * FloatList.C (FloatList): update from the new_insets branch.
14564 * Floating.[Ch]: ditto
14565 * LaTeXFeatures.C: ditto
14567 * lyxlex_pimpl.C: ditto
14569 * paragraph.C (Last): remove when NEW_INSETS is defined.
14571 * other file: changes because of the above.
14573 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14575 * lyxparagraph.h: rename next to next_, previous to previous_,
14576 make them private for NEW_INSETS. Rename Next() to next(),
14577 Previous() to previous().
14579 * other files: changes because of the above.
14581 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14584 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14587 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14589 * main.C (main): pass lyx_localedir to gettext_init().
14591 * gettext.h: remove locale_init and gettext_init macros
14593 * gettext.C (locale_init): new function
14594 (gettext_init): new function
14596 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14599 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14601 * Moved credits to frontends:
14602 * credits.[Ch]: removed
14603 * credits_form.[Ch]: removed
14604 * lyx_gui_misc.C: remove credits stuff
14607 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14609 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14611 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14612 unneeded destructor.
14614 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14615 a standalone pointer again.
14617 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14619 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14625 * ToolbarDefaults.C:
14634 * BufferView_pimpl.C: use new file dialog in GUII
14637 * lyx_cb.C: remove LayoutsCB to Toolbar
14639 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * ShareContainer.h (get): add std:: qualifier
14643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * ShareContainer.h: define a proper ShareContainer::value_type
14646 type (and use typename to please compaq cxx)
14648 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14650 * lyxparagraph.h: move serveral local vars to
14651 ParameterStruct/ParagraphParameters., use ShareContainer in
14652 FontTable., make vars in FontTable private and add getter and
14655 * paragraph.C: changes because of the above.
14657 * lyxfont.h: remove copy constructor and copy assignment. (the
14658 default ones is ok), move number inside FontBits. move inlines to
14661 * lyxfont.C: add number to initializaton of statics, move several
14662 inlines here. constify several local vars. some whitespace
14663 cleanup. Dont hide outerscope variables.
14665 * Spacing.h: add two new constructors to match the set methods.
14667 * ShareContainer.h: new file, will perhaps be moved to support
14669 * ParameterStruct.h: new file
14671 * ParagraphParameters.h: new file
14673 * ParagraphParameters.C: new file
14675 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14676 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14678 * BufferView_pimpl.C: ParagraphParameter changes.
14679 * buffer.C: Likewise.
14680 * bufferview_funcs.C: Likewise.
14681 * text.C: Likewise.
14682 * text2.C: Likewise.
14684 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14686 * lyxfind.C (LyXReplace): do not redefine default argument in
14688 (IsStringInText): ditto
14689 (SearchForward): ditto
14690 (SearchBackward): ditto
14692 2001-03-06 Juergen Vigna <jug@sad.it>
14694 * lyxfind.C (IsStringInText): put parentes around expressions.
14696 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14698 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14700 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14702 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14704 * stl_string_fwd.h: add comment
14706 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14709 * tabular.C: remove unused DocBook methods
14715 killed DO_USE_DEFAULT_LANGUAGE
14717 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * lyx_gui.C: do not include language.h.
14721 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14722 arguments in function implementation.
14724 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14726 * BufferView_pimpl.C: add <ctime>
14728 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14730 * BufferView_pimpl.C: add using std::find_if
14732 2001-02-27 José Matos <jamatos@fep.up.pt>
14734 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14737 2001-02-11 José Matos <jamatos@fep.up.pt>
14739 * buffer.C (makeDocBookFile): command styles now have a parameter as
14740 "title" by default.
14742 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14744 * layout_forms.[Ch]: removed
14745 * lyx_cb.[Ch]: out character
14746 * lyx_gui.C: out character
14747 * lyx_gui_misc.C: out character
14748 * bufferview_funcs.C: : out character,
14749 added toggleall as parameter in ToggleAndShow
14751 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14753 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14755 * text2.C (SetCurrentFont): Disable number property at boundary.
14757 2001-02-26 Juergen Vigna <jug@sad.it>
14759 * lyxfunc.C (getStatus): added a string argument override function so
14760 that this is correctly called from LyXFunc::Dispatch if it contains a
14761 do_not_use_argument which is used!
14762 (Dispatch): added check for "custom" export and call appropriate func.
14764 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14766 * lyxrc.C: Add language_command_local, language_use_babel and
14767 language_global_options.
14769 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14771 * buffer.C (makeLaTeXFile): Use language_use_babel and
14772 language_global_options.
14774 2001-02-23 Juergen Vigna <jug@sad.it>
14776 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14777 which works with LyXText and putted it inside BufferView. Here now we
14778 only call for that part the BufferView::Dispatch() function.
14780 * BufferView.C (Dispatch): added.
14782 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14783 functions which needs to use a LyXText over from LyXFunc.
14784 (MenuInsertLyXFile): added
14785 (getInsetByCode): added
14786 (moveCursorUpdate): added
14787 (static TEXT): added
14789 2001-02-22 Juergen Vigna <jug@sad.it>
14791 * BufferView_pimpl.C (update): call a status update to see if LyXText
14794 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14796 * vc-backend.C (revert): implement for CVS
14797 (getLog): implement for CVS
14799 2001-02-20 Juergen Vigna <jug@sad.it>
14801 * text2.C (ClearSelection): added BufferView param for inset_owner call
14803 * lyxfunc.C (TEXT): added this function and use it instead of
14804 directly owner->view()-text of getLyXText().
14806 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14808 * src/layout_forms.C: out preamble
14809 * src/layout_forms.h: out preamble
14810 * src/lyx_cb.C: out preamble
14811 * src/lyx_cb.h: out preamble
14812 * src/lyx_gui.C: out preamble
14813 * src/lyx_gui_misc.C: out preamble
14814 * src/lyxfunc.C: connect with guii preamble
14816 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14818 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14820 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14822 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14823 whether to run bibtex.
14825 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14827 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14829 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14831 * Makefile.am (lyx_SOURCES): removed bibforms.h
14833 * vspace.h: doxygen
14835 * text.C (GetVisibleRow): make several local vars const
14837 * tabular.C: small cleanup.
14839 * lyxserver.C (callback): use compare instead of strncmp
14841 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14842 inlines to after class or to paragraph.C
14844 * lyxfont.h: remove friend operator!=
14846 * converter.h: move friend bool operator< to non friend and after
14849 * combox.h: small cleanup
14851 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14852 to inlines after class def.
14854 * buffer.C (pop_tag): use string operations instead of strcmp
14856 * bmtable.c: doxygen, small cleanup
14858 * LaTeX.h: remove friend operator==
14860 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14872 * BufferView_pimpl.C:
14873 * BufferView.[Ch]: remove cruft
14875 2001-02-14 Juergen Vigna <jug@sad.it>
14877 * lyxfunc.C: removed #if 0 unused code
14879 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14881 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14883 * text2.C (SetSelection): added a BufferView * parameter
14885 2001-02-13 Juergen Vigna <jug@sad.it>
14887 * lyxfunc.C (Dispatch): fixed protected blank problem.
14888 * BufferView2.C (protectedBlank): added LyxText * parameter.
14890 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14891 (AppendColumn): same as above for column_info.
14893 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14894 (moveCursorUpdate): use a LyXText param for support of InsetText.
14896 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14897 (tripleClick): ditto
14899 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14901 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14903 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14905 * text2.C (SetSelection): set correct update status if inset_owner
14906 (ToggleFree): ditto
14908 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14910 * tabular.C: remove some commented code.
14912 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14914 * BufferView_pimpl.C: call hideSplash()
14916 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14919 * bibforms.h: remove
14922 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14923 add LFUN_CHILD_CREATE
14925 * counters.h: fix tiny typo
14930 * lyx.C: move splash to frontends/xforms/
14932 * lyx_gui_misc.C: move Include and Bibform to frontends
14934 * lyxvc.h: clarify comment
14936 * vspace.C: tiny housekeeping
14938 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14940 * text.C (PrepareToPrint): RTL Fix.
14942 * paragraph.C (GetUChar): New method.
14943 (String): Use GetUChar.
14945 * buffer.C (asciiParagraph): Use GetUChar.
14947 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14949 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14951 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14954 * buffer.C: rename to getLogName(), handle
14955 build log / latex log nicely
14957 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14960 * MenuBackend.h: remove support for reference menuitem type.
14962 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14964 * BufferView_pimpl.C: housekeeping
14965 * BufferView_pimpl.h:
14970 * minibuffer.h: move Timeout GUI-I
14972 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14974 * lyxrc.C (read): Update converters data-structures.
14976 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14978 * LaTeX.h (operator!=): add operator != for Aux_Info
14980 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14982 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14984 * LaTeXLog.C: deleted, useful code moved to Buffer
14987 * buffer.C: new function getLatexLogName()
14993 * lyxfunc.C: use frontends for LaTeX and VC logs
14995 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14997 * LaTeX.h: yet another std:: that Allan forgot.
14999 * Variables.C (set): renamed from isset(), because this clashes
15000 with some HP-UX macros (grr).
15002 2001-02-06 Allan Rae <rae@lyx.org>
15004 * LaTeX.h: Another bug fix. Missing std:: this time.
15006 2001-02-04 Allan Rae <rae@lyx.org>
15008 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15009 floats problem. I've left it commented out because it's not quite
15010 correct. It should also test that the current object is a table or
15011 figure inset. But I haven't gotten around to figuring out how to do
15012 that. I *think* it'll be something like: "table" == inset.type()
15014 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15017 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15019 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15020 all the citation/databases/styles in the auxilary file.
15021 (run): Rerun latex if there was a babel language error.
15023 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15025 * text.C (Backspace): Preserve the font when changing newline char
15027 (BreakParagraph): If the cursor is before a space, delete the space.
15029 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15031 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15033 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15034 new argument (code).
15035 (ChangeCitationsIfUnique): New method.
15037 * paragraph.C (GetPositionOfInset): Handle bibkey.
15039 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * BufferView_pimpl.h: change type of Position::par_pos to
15042 LyXParagraph::size_type.
15044 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15046 * BufferView_pimpl.C (savePosition, restorePosition): Write
15047 messages to minibuffer.
15049 2001-01-28 José Matos <jamatos@fep.up.pt>
15051 * buffer.C (makeDocBookFile): adds support for document language.
15052 A silly restriction on the name of LatexCommand types where removed.
15053 Added support for CDATA sections, allows to chars unescaped, used
15054 among others in code, to avoid escape < and >.
15056 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15058 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15059 saved positions instrad of a stack. Furthermore, a position is
15060 stored using paragraph id/paragraph position.
15062 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15063 Remove LFUN_REF_BACK.
15065 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15067 * converter.C (dvipdfm_options): New method.
15069 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15071 * vspace.C (isValidLength): Fix for empty input string.
15073 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * LyXAction.C (init): change description of LFUN_FIGURE to
15078 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * LaTeX.C: add using directive
15082 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15084 * MenuBackend.C (expand): Fix the sorting of the formats.
15086 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15088 * lyx_main.C: tiny error message fix
15090 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15092 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15093 calling fl_initialize(). This fixes the problem with ',' as
15094 decimal separator in text files.
15096 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15098 * trans.C (process): Fix the keymap bug.
15100 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15102 * LaTeX.C (scanAuxFiles): New method. Provides support for
15103 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15104 (scanLogFile) Scan for "run BibTeX" messages.
15106 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15107 OT1 font encoding. Also, load the aecompl package if the ae
15110 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15112 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * texrow.C (increasePos): turn two error messages into debug
15117 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15119 * LaTeX.C (scanAux): Handle the \@input macro.
15120 (runBibTeX): Use scanAux().
15122 * language.C (latex_options_): New field.
15124 * LaTeXFeatures.C (getMacros): Add language macros.
15126 * buffer.C (makeLaTeXFile): Small fix.
15128 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15130 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15132 * text2.C: add a using directive.
15134 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15139 * lyxfunc.C: kill LyXBell.
15141 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15143 * text.C (IsBoundary): Remove the error message
15145 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15147 * lyxrc.C (setDefaults): Correct initialization value for
15150 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15152 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15155 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15156 and GotoNextNote().
15158 * src/LyXAction.C: Added reference-next.
15160 * text.C (InsertChar): Use contains instead of strchr.
15162 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15164 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15166 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15167 alignment commands (when needed).
15169 * text.C (InsertChar): Add ':' to number separator chars.