1 2004-03-27 Angus Leeming <leeming@lyx.org>
3 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
4 insetlist always contains non-null pointers to insets.
6 2004-03-26 Angus Leeming <leeming@lyx.org>
8 * src/BufferView_pimpl.C:
12 * src/output_plaintext.C:
14 * src/paragraph_funcs.C:
18 * src/frontends/controllers/ControlErrorList.C:
19 * src/frontends/gtk/FileDialogPrivate.C:
20 * src/frontends/gtk/GPainter.C:
21 * src/frontends/gtk/GToolbar.C:
22 * src/frontends/qt2/QRef.C:
23 * src/mathed/math_scriptinset.C: squash compiler warnings.
25 2004-03-26 Angus Leeming <leeming@lyx.org>
27 * ispell.C (LaunchIspell::start):
28 * lyx_cb.C (AutoSaveBuffer::start):
29 invoke run(DontWait) rather than runNonBlocking().
31 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
33 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
35 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * kbsequence.C (print): adjust
39 * kbmap.C (printKeySym): rename and change signature
40 (printKey): use LyXKeySym::print()
42 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
44 * undo.C: add using std::advance to compile for stlport
46 2004-03-24 Angus Leeming <leeming@lyx.org>
48 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
49 it leads to a crash when no buffer is present.
51 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 Martin Vermeer <martin.vermeer@hut.fi>
54 * lyxfunc.C (dispatch):
55 * bufferparams.C (readToken): use the new LColor::setColor
57 * LColor.[Ch] (setColor): new version that takes two strings as
58 argument and creates a new color entry if necessary
60 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
62 * buffer.C (makeLaTeXFile): if the main latex file that is
63 processed is usually a subdocument of some master, then pretend
64 for a while that it is actually the master
66 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
68 * buffer.C (getLabelList):
69 (getBibkeyList): use getMasterBuffer()
70 (getMasterBuffer): new method. Returns the main document in the
71 case where one is using included documents.
73 2004-03-25 André Pönitz <poenitz@gmx.net>
77 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
79 * ParagraphList_fwd.h: change ParagraphList to a std::vector
81 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
82 text*.C over here. Rename namespace CutAndPaste to lyx::cap
84 * ParameterStruct.h: merge with ParagraphParameters
86 * lyxtext.h: remove LyXText::parOffset() and getPar()
88 * text3.C: Remove all 'manual' update calls. We do now one per user
89 interaction which is completely sufficient.
96 * ParagraphParameters.[Ch]:
108 * output_docbook.[Ch]:
110 * output_linuxdoc.[Ch]:
111 * output_plaintext.[Ch]:
113 * paragraph_funcs.[Ch]:
114 * paragraph_pimpl.[Ch]:
122 * frontends/controllers/ControlDocument.C:
123 * frontends/controllers/ControlErrorList.C:
124 * frontends/controllers/ControlSpellchecker.C:
127 * insets/insetbase.h:
128 * insets/insetbibitem.C:
130 * insets/insetbranch.C:
131 * insets/insetcaption.C:
132 * insets/insetcharstyle.C:
133 * insets/insetcharstyle.h:
134 * insets/insetcollapsable.C:
135 * insets/insetcollapsable.h:
137 * insets/insetfloat.C:
138 * insets/insetfoot.C:
139 * insets/insetmarginal.C:
140 * insets/insetnote.C:
141 * insets/insetoptarg.C:
142 * insets/insettabular.C:
143 * insets/insettext.C:
144 * insets/insettext.h:
145 * insets/insetwrap.C:
146 * mathed/math_mboxinset.C:
147 * mathed/math_nestinset.C:
148 * mathed/math_scriptinset.C:
149 * mathed/math_scriptinset.h:
152 2004-03-24 Angus Leeming <leeming@lyx.org>
154 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
155 deal with any child processes that have finished but are waiting to
156 communicate this fact to the rest of LyX.
158 2004-03-24 Angus Leeming <leeming@lyx.org>
160 64-bit compile fixes.
162 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
163 (c-tor): pass lyx::pos_types rather than ints.
165 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
168 * text.C (Delete): compile fix.
169 (getPar): ensure that function declaration is the same as that in
172 2004-03-23 Angus Leeming <leeming@lyx.org>
174 * ispell.C (LaunchIspell):
175 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
176 a boost::shred_ptr rather than a std::auto_ptr.
178 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * lyxfunc.C (getStatus): handle read-only buffers correctly;
181 handle LFUN_FILE_INSERT_*
183 * lyxrc.C (setDefaults, getDescription, output, read):
184 * lyxrc.h: remove ps_command
186 2004-03-22 Angus Leeming <leeming@lyx.org>
188 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
189 Ensure that error_handler is processed once only and that all data
190 is saved before attempting to output any warning messages.
192 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
194 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
196 * tabular.C (TeXRow): crash fix (from Kayvan and André)
198 2004-03-19 André Pönitz <poenitz@gmx.net>
200 * cursor.[Ch] (reset): take main text inset as argument
203 * BufferView_pimpl.C: adjust
205 * paragraph.[Ch]: fix completely broken operator=()
207 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * LColor.C (getFromLyXName): make sure that the color name is used
212 2004-03-17 Angus Leeming <leeming@lyx.org>
215 * LyXAction.C (init): remove LFUN_FORKS_KILL.
217 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
218 dialog and to kill a forked process.
220 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
222 * text2.C (setCursorFromCoordinates): fix font problem
224 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
226 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
227 bogus "rebuild cursor" code
229 2004-03-11 André Pönitz <poenitz@gmx.net>
231 * buffer.[Ch]: use InsetText instead of LyXText as container for
234 * dociterator.[Ch]: drop the BufferView * member which is not needed
235 anymore after the change to buffer.C
241 * BufferView_pimpl.[Ch]:
243 * cursor_slice.[Ch]: adjust
245 * text3.C: fix bug in mathDispatch
247 2004-03-08 André Pönitz <poenitz@gmx.net>
249 * undo.[Ch]: use 'StableDocumentIterator' as base for
252 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * bufferparams.[Ch]: add jurabib support and param.
257 * LaTeX.C: add FIXME/comment.
259 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * buffer.C: increment file format to 230.
263 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
265 * cursor.C (dispatch): avoid infinite loops
267 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
269 * rowpainter.C (paintSelection): fix x coordinates
271 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
273 * text.C (rowBreakPoint): fix breaking before displayed insets
275 2004-03-01 André Pönitz <poenitz@gmx.net>
277 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
279 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
283 * BufferView_pimpl.C:
291 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
297 * BufferView_pimpl.C: rename textwidth -> maxwidth,
298 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
300 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
302 * Bidi.[Ch] (computeTables): const correctness
303 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
304 fill_hfill, fill_label_hfill and x from Row
305 * lyxtext.h: prepareToPrint returns a RowMetrics
306 * rowPainter.C: adjust
307 * text.C (prepareToPrint): use width, not textWidth. adjust
308 (redoParagraphInternal, cursorX): adjust
309 * text2.C (getColumnNearX): adjust
310 (init): put a default value to the top LyXText::width
312 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
314 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
316 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
318 * lyxtext.h: add FontIterator class
320 * text.C (FontIterator, operator*, operator->, operator++): add
321 (rowBreakPoint, setRowWidth): adjust (fixing a
324 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * BufferView_pimpl.C (workAreaDispatch): allow also
327 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
329 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
331 * text.C (rowBreakPoint): fix a bug showing with very large insets
333 2004-02-25 André Pönitz <poenitz@gmx.net>
336 * cursor.[Ch]: move some mathed specific code to mathed
338 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
340 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
341 use_tempdir in preferences
342 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
344 * lyx_main.C: ensure that tempdir is valid
345 * lyxlex.h: correct typo
346 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
347 * paragraph.[Ch] (isMultiLingual): make const
348 * cursor.[Ch] (openable): make const
350 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
354 2004-02-20 André Pönitz <poenitz@gmx.net>
356 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
358 * cursor.[Ch]: prepare for localized getStatus()
364 * text3.C: streamlines the LyXText cursor movement handlers a bit.
366 2004-02-20 André Pönitz <poenitz@gmx.net>
368 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
370 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
372 * text2.C (setCursorFromCoordinates): switch to absolute coords
375 * text3.C (dispatch): adjust
377 2004-02-16 André Pönitz <poenitz@gmx.net>
379 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
382 * cursor_slice.[Ch]: remove unneeded acessor function
384 * lyxtext.h: rename rtl() to isRTL()
392 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
394 * rowpainter.C (paintSelection): coord fix
396 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * Spacing.C: compile fix
400 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
402 * cursor.C (dispatch): restore current_ before returning
404 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
406 * text2.C (cursorUp, cursorDown): fix coords
409 2004-02-12 André Pönitz <poenitz@gmx.net>
414 * text3.C: add LCursor & parameter to most cursor movement functions
415 remove usage of LyXText::cursorRow() and cursorPar()
417 * cursor.[Ch]: add textRow() needed members
420 * BufferView_pimpl.C:
423 * BufferView_pimpl.C: adjust
425 2004-02-11 André Pönitz <poenitz@gmx.net>
429 * BufferView_pimpl.C: shift undo/redo handling
431 * cursor.[Ch]: fix mathed crash
434 * lyxtext.h: move selectionAsText to LCursor
442 * rowpainter.C: fix excessive drawing
444 2004-02-06 André Pönitz <poenitz@gmx.net>
447 * BufferView_pimpl.[Ch]:
448 * text3.C: move some text specific LFUN handling
450 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
452 * text3.C (checkInsetHit): adjust coords
453 * text2.C (getColumnNearX): adjust coords
454 (edit): adjust coords
455 * text.C (getRowNearY): add two asserts
457 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
460 * format.C: add using std::distance to compile on gcc 2.95/stlport
462 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
464 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
466 2004-02-04 André Pönitz <poenitz@gmx.net>
468 * BufferView.[Ch] (insertInset):
469 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
474 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
476 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
477 on the default clause of the switch
478 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
479 wasn't catched by LCursor::dispatch
481 2004-02-03 André Pönitz <poenitz@gmx.net>
484 * cursor.[Ch]: some additional asserts
486 * undo.[Ch]: remove LyXText dependency in interface
490 * lyxtext.h (firstPar, lastPar): remove dead functions
495 * paragraph.[Ch]: adjust
497 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
499 * lyxfind.C (find): fix argument order in call to ::find
501 2004-02-02 André Pönitz <poenitz@gmx.net>
503 * cursor.[Ch]: remove direct access to anchor
505 * text.C: remove findText() hack
507 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
509 * iterators.[Ch] (lockPath): remove in favour of...
510 * BufferView.[Ch] (setCursor): this addition
511 * BufferView.C (putSelectionAt): adjust
512 * undo.C (performUndoOrRedo): adjust
513 * lyxfunc.C (dispatch): adjust
515 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
517 * iterators.C (lockPath): add a missing slice
518 * undo.C (performUndoOrRedo): remove redundant positioning code
520 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
522 * vc-backend.C (scanMaster): ";" -> ';'
524 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
529 * lyxtextclass.C (compare_name): rename to...
530 (LayoutNamesEqual): ...this
532 * lyxlex_pimpl.C (compare_tags): inherit from
533 std::binary_function, put back into anon namespace
535 * lyxfind.C (MatchString): inherig from std::binary_function
536 (findChange): use empty() istead of !size()
538 * format.C (FormatNamesEqual): new functor
545 * converter.C (compare_Converter): rename to...
546 (ConverterEqual): ...this, and fixup a bit.
547 (getConverter): use it, and make function const
548 (getNumber): use it, and make function const
552 * bufferlist.C: add using boost::bind
554 * MenuBackend.C (MenuNamesEqual): new functor
555 (hasMenu): use it, and make function const
556 (hasSubmenu): use nested bind to get rid of compare_memfun.
558 2004-01-30 André Pönitz <poenitz@gmx.net>
560 * BufferView_pimpl.C:
571 * text3.C: move some of the edit(x,y) handling to the insets
572 some coordinate changes.
574 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
576 * text.C: add using statements for std::advance and std::distance
578 * paragraph.C: add using statement for std::distance
580 * lyxfind.C: add using statement for std::advance
582 * cursor.C (region): remove std:: from swap
583 (openable): use nucleus in stead of operator->
585 * BufferView.C: add using statements for std::distance and std::swap
587 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
589 * iterators.C: Remove the pimple, move the needed structures to
590 the header file. Create accessor for the positions stack.
591 (asPosIterator): remove function
593 * PosIterator.C (PosIterator): move constructors to top of file
594 (PosIterator): reimplement the constructor taking a ParIterator in
596 (setFrom): new function
597 (operator!=): inline it
599 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
601 * lyxfind.C (replaceAll): use std::advance
603 * iterators.h: inherit from std::iterator.
605 * PosIterator.C (advance, distance): remove
606 * PosIterator.h: interit from std::iterator.
608 2004-01-26 André Pönitz <poenitz@gmx.net>
611 * BufferView_pimpl.[Ch]:
615 * bufferview_funcs.C:
626 * output_plaintext.C:
628 * paragraph_funcs.[Ch]:
629 * paragraph_pimpl.[Ch]:
635 * text3.C: more IU: dumps most of the rest of the mathcursor
636 implementation into cursor.[Ch]; "globalize" a bit of it.
638 2004-01-25 Angus Leeming <leeming@lyx.org>
640 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
642 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
644 * LaTeXFeatures.h: add nice_ and nice() const
645 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
647 2004-01-20 André Pönitz <poenitz@gmx.net>
650 * BufferView_pimpl.C:
652 * bufferview_funcs.C:
665 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
666 LCursor and mathcursor parts to LCursor and InsetBase.
668 2004-01-15 André Pönitz <poenitz@gmx.net>
670 * cursor_slice.[Ch]: add a few covienience functions
672 * funcrequest.[Ch]: remove BufferView * member
674 * BufferView_pimpl.C:
681 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
683 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
685 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
686 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
688 2004-01-13 André Pönitz <poenitz@gmx.net>
691 * lyxtext.h: hide cursor and selection anchor behind accessor function
694 * BufferView_pimpl.[Ch]:
696 * bufferview_funcs.C:
706 * cursor_slice.[Ch]: some integer type changes for inset unification
708 * lyxcursor.[hC]: remove, it's CursorSlice now.
711 * BufferView_pimpl.[Ch]:
712 * bufferview_funcs.C:
718 * textcursor.[Ch]: adjust
720 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
722 * text2.C (undoSpan): add and use
723 * text.C (breakParagraph): use undoSpan (fix bug 578)
726 2004-01-08 Angus Leeming <leeming@lyx.org>
728 * BufferView_pimpl.C (MenuInsertLyXFile):
729 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
730 * lyxfunc.C (menuNew, open, doImport):
731 FileFilterList change to the FileDialog open and save functions.
733 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
735 * ShareContainer.h: make isEqual and isUnique adaptable
737 * CutAndPaste.C: make resetOwnerAndChanges adaptable
739 2004-01-07 Angus Leeming <leeming@lyx.org>
742 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
744 * BufferView_pimpl.C (dispatch): act on these LFUNs.
746 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
747 functions replacing find, replace and replaceAll.
749 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
750 LFUN_WORDFIND(FORWARD|BACKWARD).
752 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
754 * text.C (breakParagraph): remove an outdated #warning
756 2004-01-07 André Pönitz <poenitz@gmx.net>
758 * lyxfind.C: somewhat clearer logic
760 * text.C: prevent crash in cursorX on unitialized row cache
762 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
764 * lyxcursor.[Ch] (operator>): add
765 * textcursor.C (selStart, selEnd): use std::min and std::max
767 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * Chktex.C: include boost/format.hpp
771 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * InsetList.C: replace functor MathcIt with adaptable functor
775 (insetIterator): modify accordingly
777 * BranchList.h: move the BranchNamesEqual functor here from...
778 * BranchList.C: ... to here
780 * BranchList.C: new BranchListEqual fuctor, use it. Remove
782 (add): replace a finding loop with std::find_if.
784 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
786 * output_docbook.C: moving LatexParam functionality into
789 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
791 * buffer.C: increment format to 229.
793 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
796 * lyx_sty.[Ch]: remove minipageindent_def
802 * text3.C: remove LFUN_INSET_MINIPAGE
804 2003-12-28 Angus Leeming <leeming@lyx.org>
806 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
808 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
810 * text2.C (setParagraph): fix off-by-one crash
812 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
814 * output_docbook.C: header stuff for AGU
816 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
818 * text2.C (redoCursor): remove
821 * BufferView_pimpl.C: remove calls to redoCursor and
822 setCursor(cursor.par(), cursor.pos()) all around
824 2003-12-15 Angus Leeming <leeming@lyx.org>
826 * buffer.C: up the format to 228.
828 2003-12-15 André Pönitz <poenitz@gmx.net>
830 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
835 * BufferView_pimpl.C:
844 2003-12-15 Angus Leeming <leeming@lyx.org>
846 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
847 than getFromGUIName to manipulate the color.
849 2003-12-14 Angus Leeming <leeming@lyx.org>
851 * BranchList.[Ch]: minimize the API.
852 (Branch::getBranch, getColor): now return a 'const &'.
853 (Branch::setSelected) now returns a bool set to true if the
854 selection status changes.
855 (BranchList::clear, size, getColor, setColor, setSelected,
856 allBranches, allSelected, separator): removed.
857 (BranchList::find): new functions, returning the Branch with
859 (BranchList::add, remove): return a bool indicating that
860 the operation was successful.
862 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
863 new InsetBranch::isBranchSlected member function.
865 * LColor.[Ch]: mimimize the API.
866 (fill): renamed as addColor and made private.
867 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
868 versions of these functions taking a string arg have been removed.
870 * bufferparams.C (readToken):
871 * lyxfunc.C (dispatch):
872 * lyxrc.C (read): changes due to the altered BranchList and
875 * factory.C (createInset, readInset): changes due to altered
878 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * lyxfunc.C: remove insetminipage. "minipage-insert"
882 now produces a frameless minipage box inset.
884 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
886 * textcursor.[Ch] (selStart,selEnd): add new methods
887 remove selection::start, end, use LyXCursor::operator<
888 * lyxcursor.[Ch] (operator<): add
889 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
890 * BufferView.[Ch] (unsetXSel): add
891 * text2.C (clearSelection): use unsetXSel,adjust
894 * rowpainter.C: adjust
895 * bufferview_funcs.C (put_selection_at): adjust
897 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
899 * BufferView_pimpl.C: small coord. correction
901 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
903 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
904 dragging over the splash screen.
906 2003-12-11 Angus Leeming <leeming@lyx.org>
908 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
909 as it is now handled in LyXText::dispatch.
911 * text3.C (doInsertInset): remove a level of nesting.
913 2003-12-11 Angus Leeming <leeming@lyx.org>
915 * factory.C (createInset): changes due to the changed interface to
916 InsetCommandMailer::string2params.
918 2003-12-10 Angus Leeming <leeming@lyx.org>
920 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
921 'dialog-show-new-inset <inset name>'
923 2003-12-10 Angus Leeming <leeming@lyx.org>
925 * buffer.C: up the format to 227.
927 * factory.C: the box inset is now identified simply by 'Box'.
929 2003-12-10 Angus Leeming <leeming@lyx.org>
931 * buffer.C: up the format to 226.
933 * factory.C: the note inset is now identified simply by 'Note'.
935 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
937 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
938 when a pit is enough. Standarize a couple of loops.
940 2003-12-05 Angus Leeming <leeming@lyx.org>
942 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
943 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
944 data to the re-worked "log" dialog.
946 2003-12-03 André Pönitz <poenitz@gmx.net>
954 * text2.C: use Inset::getText instead of Inset::getParagraph
956 2003-12-03 André Pönitz <poenitz@gmx.net>
960 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
961 InsetText::read() as LyXText::read()
963 2003-12-02 Angus Leeming <leeming@lyx.org>
965 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
966 type. Add a comment in the implementation that the function uses
967 the stream's bad() function rather than fail() as the std::streams
970 2003-12-02 André Pönitz <poenitz@gmx.net>
972 * lyxlex.[Ch]: make interface more similar to std::stream
974 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
976 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
978 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
980 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
982 * vspace.[Ch]: remove VSpace::NONE
984 2003-12-01 André Pönitz <poenitz@gmx.net>
987 * lyxtext.h: move ParagraphList member to LyXText
988 rename LyXText::ownerParagraphs to LyXText::paragraph
991 * bufferview_funcs.C:
1001 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1003 * undo.C: fix cursor positioning
1005 2003-12-01 John Levon <levon@movementarian.org>
1007 * BufferView_pimpl.C: fix a crash on exit with
1010 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1012 * BranchList.C: fix setSelected() method.
1014 2003-11-28 André Pönitz <poenitz@gmx.net>
1016 * ParagraphParameters.[Ch]:
1017 * ParameterStruct.h: remove space above/below from Paragraph to
1020 * BufferView_pimpl.C:
1026 * paragraph_funcs.C:
1032 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1034 * factory.C: Syntax change for CharStyles
1036 2003-11-28 André Pönitz <poenitz@gmx.net>
1041 * buffer.[Ch]: move LyXText member
1043 2003-11-28 André Pönitz <poenitz@gmx.net>
1045 * BufferView.[Ch]: make LyXText * text a private member
1047 * BufferView_pimpl.C:
1058 * output_plaintext.C: cleanup
1060 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1063 * lyxtextclass.[Ch]: parametrize SGML document header
1065 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1068 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1071 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1073 * text2.C (setFont): rework using PosIterator (no more recursive)
1074 (setCharFont): no more needed
1075 (setLayout): no more selection cursors fiddling (done by redoCursor)
1076 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1077 destroy remaining ones)
1079 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1081 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1083 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1086 * text3.C: adjust + re-allow multi par depth changes
1087 * textcursor.C: simplify a bit
1089 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1095 * src/output_docbook.C:
1096 * src/output_latex.C:
1101 * src/text2.C: Introducing a number of tags parametrizing various
1102 XML formats that we may want to support
1104 2003-11-25 André Pönitz <poenitz@gmx.net>
1106 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1108 * lyxtext.h (leftMargin/rightMargin): simplify interface
1115 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1117 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1118 master file to any child files. Fixes bug 546.
1120 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1122 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1124 2003-11-24 André Pönitz <poenitz@gmx.net>
1126 * rowpainter.C: simplification
1128 * text2.C (updateCounters): remove call to redoParagraph on
1129 changed labels as this is far too expensive.
1131 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1133 * converter.C (convert): fix a crash: this function gets
1134 called with buffer == 0 from importer code.
1136 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1138 * text3.C (cursorPrevious): make sure that we do not compare
1139 iterators form different containers.
1142 * rowpainter.C (paintSelection): make sure that we do not compare
1143 iterators from different containers.
1145 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1146 iterators from different ParagraphList containers.
1149 * text2.C (LyXText): change order of initialization slightly
1150 (operator=): new function. copy all variables except cache_par_
1151 (moveUp): make sure that we do not compare iterators from
1152 different ParagraphList constainers.
1155 * text.C (firstPar): new function
1156 (lastPar): new function
1157 (endPar): new function
1159 * lyxtext.h: move things around and group public functions, public
1160 variables, private functions, private variables
1162 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1164 * factory.C: change call to InsetERT constructor to avoid
1165 additional invocation of method status
1166 * text2.C (toggleInset): remove redundant update() call
1167 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1168 instead of a Bufferview pointer
1170 2003-11-21 André Pönitz <poenitz@gmx.net>
1172 * rowpainter.C: simplification
1174 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1176 * text3.C (dispatch): make possible to extend a word/row selection
1179 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1181 * lyxtext.h: x0_,y0_ -> xo_,yo_
1182 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1183 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1184 * rowpainter.C (paintRows): paint full paragraphs
1186 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1188 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1191 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1193 * lyxtext.h: add x0_, y0_
1194 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1195 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1197 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1199 * text2.C (setCursorIntern): move the x_target update here *
1200 * text3.C: change some bv() to true/false in calls to
1201 cursorUp/Down/Right/Left
1202 * cursor.C: use helper function.
1204 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1206 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1207 * paragraph_funcs.[Ch]: correct comment
1208 * rowpainter.C: do not paint selections away from bv->cursor()
1209 Fix a long standing selection painting bug.
1210 * text3.C: generalize mouse-selection code to LyXTexts other that
1212 * textcursor.C: do not use y coords if we can use par offsets
1214 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1216 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1217 cursor position after e.g. inset insert)
1219 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1221 * lyxfind.C (replace): adjust to locking removal + some
1224 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1226 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1229 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1232 * output_docbook.C: XML sanitation: new layout
1233 parameters InnerTag and CommandDepth
1235 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1237 * BufferView_pimpl.C:
1239 * text3.C: Fix the insertion and modification of button-style
1242 2003-11-13 André Pönitz <poenitz@gmx.net>
1244 * InsetList.[Ch]: remove deleteLyXText
1246 * paragraph.[Ch]: cache beginOfBody position
1251 * text3.C: remove superfluous update() calls
1255 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1257 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1258 * BufferView.C (fitLockedInsetCursor): remove
1259 * cursor.[Ch] (getDim): add
1260 * text.C (getRowNearY): add faster version
1261 * text3.C: remove some update calls
1263 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1275 * text3.C: The Character Style /XML short element patch.
1277 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1280 * factory.C: Small step to solving 'unable to insert some insets'
1283 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1285 * cursor.[Ch] (updatePos): new function for updating the y
1286 position of the tip inset
1287 * bufferview_funcs.C (put_selection_at):
1288 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1290 2003-11-11 André Pönitz <poenitz@gmx.net>
1292 * text.C: remove big comment on invalid Paragraph pointers as it is
1295 2003-11-11 André Pönitz <poenitz@gmx.net>
1297 * text_funcs.[Ch]: merge with ...
1305 * Makefile.am: remove text_funcs.[Ch]
1307 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1309 * cursor.C (getPos): return absolute cached y coord
1311 * BufferView_pimpl.C (fitCursor): new simplistic code
1312 (workAreaDispatch): add a fitCursor call
1314 2003-11-10 André Pönitz <poenitz@gmx.net>
1317 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1319 2003-11-10 André Pönitz <poenitz@gmx.net>
1321 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1322 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1323 indicate that the cursor needs to leave an inset
1325 * lyxtext.h: remove inset locking
1327 * cursor.[Ch]: re-implement functionality provided by inset locking
1330 * BufferView_pimpl.[Ch]:
1332 * bufferview_funcs.[Ch]:
1344 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1346 * PosIterator.[Ch]: replace the stack with a vector, add inset
1348 * iterators.[C]: adjust
1350 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1352 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1354 * paragraph_funcs.C (readParToken): put the correct id in the
1355 error item, not the id of the top paragraph
1357 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1359 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1360 * bufferview_funcs.C (put_selection_at): use the above
1362 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1364 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1366 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * output_linuxdoc.h:
1369 * output_plaintext.h:
1371 * output_docbook.h: add #include statements
1373 2003-11-05 José Matos <jamatos@lyx.org>
1375 * output_docbook.[Ch]:
1376 * output_latex.[Ch]:
1377 * output_linuxdoc.[Ch]:
1378 * output_plaintext.[Ch]: New files for output formats.
1379 * output.[Ch]: New file for helper functions.
1382 * paragraph_funcs.[Ch]: output functions moved to new files.
1384 * outputparams.h: rename of latexrunparams.h
1392 * paragraph_funcs.[Ch]:
1393 * paragraph_pimpl.[Ch]:
1394 * tabular.[Ch]: rename ascii to plaintext
1395 and LatexRunParams to OutputParams.
1397 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1399 * iterators.[Ch] (text): require bv argument
1400 * undo.C (recordUndo):
1401 * lyxfunc.C (dispatch):
1402 * bufferview_funcs.C (put_selection_at): adjust
1404 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1406 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1408 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1410 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1413 2003-11-04 André Pönitz <poenitz@gmx.net>
1415 * cursor.[Ch]: restructure
1418 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1420 * iterators.[Ch] (asCursor): remove
1422 * lfuns.h: remove LFUN_INSET_EDIT
1428 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1430 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1432 * lyxfind.[Ch]: complete overhaul
1433 * BufferView_pimpl.C:
1435 * paragraph.[Ch] (insert): add
1437 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1441 * text.C: remove dead spellcheck code
1443 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1445 * dispatchresult.h: add a val setter
1447 * cursor.C (dispatch): use a tempvar for data_[i]
1449 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1451 * PosIterator.[Ch]: compile fix
1453 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1455 * text.C (cursorPar): deactivate the cursor cache
1457 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1459 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1461 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * text3.C (dispatch): adjust for new DisptchResult semantics.
1465 * lyxfunc.C (dispatch): handle update when return from
1466 Cursor::dispatch, adjust for new DispatchResult semantics.
1468 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1469 DispatchResult(true) mean to not update. Add class functions for
1470 setting dispatched and update, as well as reading.
1472 * cursor.C (dispatch): don't handle update here
1474 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1477 * trans_mgr.C: adjust
1479 * paragraph_funcs.C (readParToken): exception safety
1481 * lyxvc.h: store the vcs pointer in a scoped_ptr
1484 * lyxsocket.C (serverCallback): exception safety
1486 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1488 * ispell.C (clone): make it return a auto_ptr
1490 * factory.C (createInset): exception safety
1491 (readInset): exception safety
1493 * bufferlist.C (newBuffer): exception safety
1495 * Thesaurus.C (Thesaurus): use initialization for aik_
1497 * MenuBackend.C (expandToc): exception safety.
1499 2003-11-03 André Pönitz <poenitz@gmx.net>
1503 * bufferview_funcs.C: remove getInsetFromId()
1506 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1512 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1514 * PosIterator.C (distance, advance): new
1515 * bufferview_funcs.[Ch] (put_selection_at): new
1516 * iterators.[Ch] (lockPath): new
1518 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1520 * iterators.[Ch] (asPosIterator): added
1521 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1522 * PosIterator.[Ch]: added
1524 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * cursor.C (dispatch):
1529 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1531 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1532 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1533 contructor, add a class function dispatched. Remove operator>=
1535 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * debug.C: only use the default constructor for debugstream
1540 * main.C (main): include debug.h and setup the lyxerr streambuf
1543 2003-10-31 José Matos <jamatos@lyx.org>
1545 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1547 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1548 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1549 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1550 * paragraph_pimpl.C (simpleTeXSpecialC):
1551 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1552 add LatexRunParams argument.
1554 * exporter.C (Export): change call accordingly.
1556 * latexrunparams.h: add new member to take care of the other backends.
1557 2003-10-30 José Matos <jamatos@lyx.org>
1559 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1560 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1561 factorise code for paragraph output.
1563 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1566 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * text3.C (dispatch):
1569 * lyxfunc.C (dispatch):
1570 * cursor.C (dispatch):
1571 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1573 * dispatchresult.h: make the dispatch_result_t ctor explicit
1575 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1578 * buffer.C: small refactoring of docbook stuff
1580 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1585 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1588 operator dispatch_result_t, and operators for == != and >=
1590 * cursor.C (dispatch): adjust for operator dispatch_result_t
1591 removal. comment out call to update
1593 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1595 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1606 * dispatchresult.h: new file, DispatchResult broken out of
1609 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1611 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1613 * text.C (rowBreakPoint): put a hack inside #if 0
1615 2003-10-28 André Pönitz <poenitz@gmx.net>
1619 * paragraph_funcs.C:
1622 * text2.C: general cleanup (lots of small stuff)
1624 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1626 * text2.C (cursorEnd): simple fix to the "end key goes to one
1627 before the end on last row" bug
1629 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1631 * text.C (backspace): fix the "zombie characters"
1633 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1635 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1637 2003-10-27 André Pönitz <poenitz@gmx.net>
1639 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1641 * factory.C: handle new InsetPagebreak, InsetLine
1643 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1644 and move handling into new InsetPagebreak, InsetLine
1646 * BufferView_pimpl.C:
1648 * ParagraphParameters.C:
1649 * ParameterStruct.h:
1654 * paragraph_funcs.C:
1655 * paragraph_pimpl.C:
1661 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1664 * lyxrow_funcs.[Ch]:
1670 * text3.C: remove lastPos uses in favour of Row::endpos
1672 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1674 * undo.C (performUndoOrRedo): fix two crashes by setting a
1675 cursor by hand and reordering some calls. Use bv->lockInset instead
1676 of inset->edit because the latter loses cursor information
1678 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1680 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1682 (rowBreakPoint): fix width. change point to point + 1.
1683 Add a missing check.
1685 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1688 * lyxfunc.C: fix (at least partly) the problems
1689 with the Nav menu and headers inside branch insets
1692 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1694 * paragraph.C (getChar): add strong asserts
1696 * lyxrow_funcs.C (lastPos): remove hideous hack
1698 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1699 (fill): adjust to that (avoid an infinite loop)
1701 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1703 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1705 2003-10-23 André Pönitz <poenitz@gmx.net>
1707 * RowList_fwd.h: change list<> to vector<> to gain speed
1708 after suggestion from Alfredo
1710 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1712 * lyxtext.h: move the bidi stuff from here...
1715 * Bidi.[Ch]: ... to here
1717 2003-10-23 André Pönitz <poenitz@gmx.net>
1720 * text.C (isLastRow, isFirstRow): new functions
1722 * paragraph.h: new width cache member
1724 * rowpainter.C: replace RowList::iterator with Row & where possible
1726 * lyxfunc.C: replace several view()->text with a single call
1728 * toc.C: fix 'unused' warning
1730 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1733 when woring with stream::pos_type
1734 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1736 2003-10-22 André Pönitz <poenitz@gmx.net>
1739 * text.C: use Row & instead of RowList::iterator
1741 * lyxrow.h: rename end() to endpos()
1747 2003-10-22 Angus Leeming <leeming@lyx.org>
1749 * buffer.[Ch] (fully_loaded): new member function, returning true
1750 only when the file has been loaded fully.
1751 Used to prevent the premature generation of previews and by the
1752 citation inset to prevent computation of the natbib-style label.
1754 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1755 templates are all set up.
1757 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1759 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1761 * text.C: fixed an "oops" in the "is a bit silly"
1764 2003-10-21 André Pönitz <poenitz@gmx.net>
1766 * FuncStatus.[Ch]: small stuff, whitespace
1768 * lyxfont.[Ch]: operator<<() for debug reasons
1772 * lyxtext.h: whitespace, spelling
1774 * paragraph.C: naming of variables
1777 * text2.C: small stuff
1780 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1782 * text.C: (1) finish off the inset display() work;
1783 (2) fix the "is a bit silly" bug (accessing char
1786 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1788 * text.C: re-introduce display() for insets, fixing the
1789 various bugs (stretch of line above, math inset
1792 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * text.C (rightMargin): remove spurious semicolon
1796 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1799 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1801 * text3.C: fix one crash due to wrong cursor def
1803 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * vc-backend.C (scanMaster): make the regex static
1807 * LaTeX.C (scanAuxFile): make the regexs static
1809 * text3.C (doInsertInset, dispatch, dispatch):
1810 * text2.C (cursorUp, cursorDown):
1811 * text.C (selectNextWordToSpellcheck):
1812 * BufferView_pimpl.C (dispatch):
1813 * lyxfunc.C (dispatch): localDispatch -> dispatch
1815 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * lyxsocket.C: include <cerrno>
1819 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1821 * lyxfunc.C (dispatch): remove textcache stuff
1823 * bufferlist.C (release): remove textcache stuff
1826 * TextCache.C: delete file
1827 * TextCache.h: delete file
1829 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1831 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1832 delete of the bv_->text.
1833 (resizeCurrentBuffer): remove texcache stuff
1834 (workAreaResize): ditto
1836 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1841 2003-10-16 André Pönitz <poenitz@gmx.net>
1848 * text3.C: speed up by storing y positions per paragraph plus per-row
1849 offset instead of having a 'full' y position in the row.
1851 2003-10-15 André Pönitz <poenitz@gmx.net>
1855 * undo.[Ch]: make undo aware of inner insets
1857 2003-10-14 Angus Leeming <leeming@lyx.org>
1859 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1860 static member functions LyX::ref() and LyX::cref.
1861 (lastfiles): new accessor functions for the new lastfiles_ member var.
1862 (addLyXView, views_): add a new LyXView to the list of views_.
1863 (updateInset): loop over all LyXViews to call their own updateInset
1864 member function, returning a pointer to the Buffer owning the inset.
1866 * BufferView_pimpl.C (loadLyXFile):
1867 * MenuBackend.C (expandLastfiles):
1868 * bufferlist.C (MenuWrite, QuitLyX):
1869 lastfiles is no longer a global variable.
1870 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1872 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1873 static function. Access through LyX::cref().emergencyCleanup().
1875 2003-10-14 André Pönitz <poenitz@gmx.net>
1877 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1879 * undo.[Ch]: restoring part of 'undo in insets'
1882 * undo_funcs.[Ch]: merge with undo.[Ch]
1884 * tabular.C: small cleansing stuff
1886 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1888 * paragraph_funcs.C (readParToken): report unknown insets as error
1889 boxes. Use the outer paragraph as location (also for unknown
1892 * factory.C (readInset): do not abort on reading an unknown inset.
1893 Eat it and return 0.
1895 2003-10-13 Angus Leeming <leeming@lyx.org>
1897 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1899 * lyxrc.C: displayTranslator is now a function,
1900 declared in GraphicsTypes.h.
1902 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1904 * format.C: new placeholder $$a to pass the socket address.
1906 * bufferlist.[Ch]: new function getBufferFromTmp.
1908 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1909 files in the temporary dir.
1911 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1913 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1915 * Makefile.am: add lyxsocket.[Ch].
1917 * lyx_main.C (error_handler): handle SIGPIPE.
1919 2003-10-13 André Pönitz <poenitz@gmx.net>
1921 * BufferView_pimpl.C:
1926 * undo_funcs.[Ch]: use paroffset_type instead of
1927 ParagraphList::iterators to prevent multiple conversion
1928 (and get a more robust interface)
1930 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1934 * text3.C (dispatch): ditto
1936 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1938 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1939 move the onlyfile, use onlyfile instead of foundfile in a couple
1942 * DepTable.C (update): flush the error stream a bit more
1944 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * lyxserver.C (callback): adjust
1948 * lyxfunc.C (getStatus): add a missing brace in commented code
1949 (ensureBufferClean): reindent
1950 (dispatch): delete version taking a string
1952 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * LaTeX.C (deplog): move found file handlig from here...
1955 (handleFoundFile): .. to new function here.
1956 (deplog): make sure to discover several files mentioned on the
1959 2003-10-10 André Pönitz <poenitz@gmx.net>
1966 * text3.C: fix some of the tabular crashes
1968 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1970 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1972 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1974 2003-10-09 André Pönitz <poenitz@gmx.net>
1976 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1979 * BufferView_pimpl.C:
1980 * bufferview_funcs.C:
1991 * undo_funcs.C: adjust
1993 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * text2.C (incrementItemDepth): new function, use a backtracking
1996 algorithm to discover the correct item depth.
1997 (resetEnumCounterIfNeeded): new function, use a backtracking
1998 algorithm to discover if counter reset is needed.
1999 (setCounter): use them. Simplify a bit. Add different labels for
2000 different item depths for itemize.
2002 * paragraph.C (Paragraph): remove initialization of enumdepth
2005 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2006 enumerate and itemize. Change the type of itemdepth to signed char.
2008 2003-10-08 André Pönitz <poenitz@gmx.net>
2010 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2015 * tabular.[Ch]: fix crash after 'row-insert'
2017 2003-10-08 Angus Leeming <leeming@lyx.org>
2019 Fix doxygen warnings.
2021 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2022 Remove CutAndPaste:: prefix from header file declaration.
2024 * LColor.h (fill): remove LColor:: prefix from declaration.
2026 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2027 use lyx::depth_type rather than Paragraph::depth_type so that
2028 header file and .C file match.
2030 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2032 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2033 * aspell.C: \file aspell_local.C -> \file aspell.C
2034 * gettext.C: \file gettext.C -> \file src/gettext.C
2035 * gettext.h: \file gettext.h -> \file src/gettext.h
2036 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2037 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2038 * text.C: \file text.C -> \file src/text.C
2040 * toc.C: move comment so that doxygen is not confused.
2042 2003-10-07 Angus Leeming <leeming@lyx.org>
2044 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2046 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2049 * aspell_local.h: add forgotten std::string's.
2051 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2058 * text3.C: The Box patch. Fancybox support, minipage, parbox
2060 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2066 * ParagraphParameters.h:
2076 * lyxtextclasslist.h:
2079 * paragraph_pimpl.C:
2080 * textcursor.h: add <string> and other small fixes to make Lars'
2081 std::string patch compile with STLport.
2083 2003-10-06 Angus Leeming <leeming@lyx.org>
2085 * LColor.h: Add missing #include <string>.
2087 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * All most all file in all subdirs: Make <string> be the prefered
2090 way of getting to std::string, add using declarations.
2092 2003-10-06 André Pönitz <poenitz@gmx.net>
2094 * metricsinfo.C: initialize LyXFont before changing attribute.
2095 (fixes the 'math in \emph is upright' bug)
2097 2003-10-06 André Pönitz <poenitz@gmx.net>
2099 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2101 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2104 * paragraph_pimpl.C: Small fixes to build using STLport
2106 2003-10-02 André Pönitz <poenitz@gmx.net>
2109 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2111 2003-10-01 André Pönitz <poenitz@gmx.net>
2113 * factory.C: assert early
2115 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2117 * lyx_main.C: remove the global debug object
2119 * debug.h: adjust for new debugstream
2121 * debug.C: adjust for new debugstream and keep the global debug
2124 2003-09-22 Angus Leeming <leeming@lyx.org>
2126 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2127 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2128 an incomplete class LyXFont.
2130 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2132 * factory.C: bug fix in branches
2134 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * lyxfunc.C (processKeySym): adjust
2138 (dispatch): change arg name from ev to func, adjust
2139 (sendDispatchMessage): ditto
2141 * lyx_main.C (defaultKeyBindings): adjust keybindings
2142 (deadKeyBindings): ditto
2144 * kbsequence.C (addkey): return a FuncRequest
2146 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2148 * kbmap.C (bind): take a FuncRequest as arg, adjust
2151 (defkey): change to take a FuncRequest as arg, adjust
2152 (findbinding): take a FuncRequest as arg, adjust.
2154 * funcrequest.h (operator=): added
2156 * funcrequest.C (FuncRequest): default kb_action changed from
2157 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2159 * buffer.C (dispatch): simplify
2160 (dispatch): adjust to take a FuncRequest as arg, adjust
2162 * boost.C (assertion_failed): change assertion message slightly
2164 * ToolbarBackend.C (read): simplify
2166 * MenuBackend.C (binding): adjust call to findbinding, add a
2167 message if no binding is found.
2169 (expandToc): correct by adding a empty FuncRequest
2171 * LyXAction.C: include <boost/assert.hpp>
2172 (isPseudoAction): delete function
2173 (LookupFunc): change name to...
2174 (lookupFunc): this. change return type to FuncRequest.
2175 (getActionName): take kb_action as arg, simplify
2176 (funcHasFlag): add an assert, simplify.
2178 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * toc.C (action): return a FuncRequest, simplify
2182 * lyxfunc.C (processKeySym): adjust
2183 (getStatus): delete version that takes an int.
2185 (dispatch): delete version that takes action as int
2187 (sendDispatchMessage): simplify and adjust
2189 * funcrequest.C (getArg): take unsigned int as arg
2191 * ToolbarBackend.C (read): adjust
2192 (add): delete version that takes func as a string.
2193 (getIton): take a FuncRequest as arg
2195 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2198 * MenuBackend.C (MenuItem): add a new construct that only takes a
2199 Kind, simplify the constructor use for submenus.
2201 (expandLastfiles): adjust
2202 (expandDocuments): adjust
2203 (expandFormats): adjust
2204 (expandFloatListInsert): adjust
2205 (expandFloatInsert): adjust
2206 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2208 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2209 Remove class variables lyx_pseudo_map and lyx_arg_map
2211 * LyXAction.C (searchActionArg): delete function
2212 (getPseudoAction): delete function
2213 (retrieveActionArg): delete function
2214 (LookupFunc): make it return kb_action, simplify.
2215 (getActionName): simplify
2217 * factory.C (createInset): fix new bug
2219 2003-09-19 Angus Leeming <leeming@lyx.org>
2221 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2222 masterFilename_ parameter in the include inset.
2224 * factory.C (createInset): changes due to the changes to InsetInclude.
2226 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2228 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2230 2003-09-18 Angus Leeming <leeming@lyx.org>
2233 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2234 Inset::fillWithBibKeys.
2235 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2237 2003-09-18 Angus Leeming <leeming@lyx.org>
2239 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2241 (ctor): pass and store a 'Buffer const &'
2242 (buffer): new member function.
2244 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2245 '*this' to the LaTeXFeatures ctor.
2247 2003-09-18 Angus Leeming <leeming@lyx.org>
2253 * text.C: rename EnumLColor as LColor_color.
2255 2003-09-18 Angus Leeming <leeming@lyx.org>
2257 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2258 remove #include "insets/insetbase.h" from cursor.h.
2260 2003-09-18 Angus Leeming <leeming@lyx.org>
2262 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2263 InsetOld_code to remove #include "inset.h".
2265 * iterators.C: add #include "insets/inset.h"
2267 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2269 * BufferView.C: remove more locking stuff that apparently doesn't
2270 do anything sensible.
2272 2003-09-16 André Pönitz <poenitz@gmx.net>
2275 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2278 2003-09-16 Angus Leeming <leeming@lyx.org>
2280 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2282 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2285 * paragraph.h: remove #include "lyxfont.h". Forward declare
2288 2003-09-16 Angus Leeming <leeming@lyx.org>
2290 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2291 of support/textutils.h.
2292 (isWord): move the contents of support/textutils.h's IsWordChar here.
2298 * text2.C: add #include "paragraph.h".
2301 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2303 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * LaTeX.C: use namespace alias for lyx::support::os
2311 2003-09-16 Angus Leeming <leeming@lyx.org>
2314 * bufferview_funcs.C:
2317 * paragraph_pimpl.C:
2319 * text.C: add #include "LColor.h".
2321 2003-09-16 Angus Leeming <leeming@lyx.org>
2323 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2324 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2326 Store the FontBits::color variable as an int rather than as an
2327 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2330 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2331 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2332 string calls together.
2334 * lyxrc.C: add #include "LColor.h".
2336 2003-09-15 Angus Leeming <leeming@lyx.org>
2338 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2341 2003-09-15 Angus Leeming <leeming@lyx.org>
2343 * LColor.h: add an EnumLColor wrapper for LColor::color.
2345 * lyxfont.[Ch] (color, setColor, realColor):
2346 * lyxtext.h, text.C (backgroundColor):
2347 pass EnumLColor args to/from the functions, rather than LColor::color
2351 * lyxtext.h: forward declare EnumLColor.
2353 * lyx_main.C: add #include "LColor.h".
2355 2003-09-15 Angus Leeming <leeming@lyx.org>
2357 * .cvsignore: add lyx-gtk.
2359 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * ParagraphParameters.C
2368 * bufferview_funcs.C
2378 * vc-backend.C: remove usage of STRCONV
2380 2003-09-15 Angus Leeming <leeming@lyx.org>
2382 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2383 explicitly define the color passed to the painter.
2385 2003-09-15 Angus Leeming <leeming@lyx.org>
2387 * bufferparams.C (BufferParams): reorder member initializers to avoid
2390 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2392 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2393 * text.C (updateRowPositions): remove an unusual nop
2395 2003-09-12 André Pönitz <poenitz@gmx.net>
2397 * BufferView_pimpl.C:
2406 * Counters.[Ch]: finish the 'automatic counters' job
2408 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2410 * aspell.C: include <boost/assert.cpp> (compile fix)
2412 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2414 * boost.C (assertion_failed): use lyx::support::abort instead of
2417 2003-09-10 Angus Leeming <leeming@lyx.org>
2419 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2420 with their _fwd progeny.
2422 2003-09-09 Angus Leeming <leeming@lyx.org>
2424 134 files throughtout the source tree: replace 'using namespace abc;'
2425 directives with the appropriate 'using abc::xyz;' declarations.
2427 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2429 * boost.C (emergencyCleanup): moved here from LAssert.c
2430 (assertion_failed): new function, called by BOOST_ASSERT
2432 * several files: change Assert to BOOST_ASSERT
2434 2003-09-09 Angus Leeming <leeming@lyx.org>
2436 * buffer.[Ch]: Add an Impl class and move Buffer's member
2437 variables into it. As a result move several header files out of
2440 Add header files to lots of .C files all over the tree as a result.
2442 2003-09-09 Angus Leeming <leeming@lyx.org>
2444 * buffer.[Ch]: make Buffer's member variables private. Add
2447 Lots of changes all over the tree as a result.
2449 2003-09-08 Angus Leeming <leeming@lyx.org>
2451 * graph.C: #include <config.h>.
2453 2003-09-08 Angus Leeming <leeming@lyx.org>
2457 * BufferView_pimpl.C:
2486 * toc.C: remove redundant using directives.
2488 2003-09-07 Angus Leeming <leeming@lyx.org>
2490 * LaTeXFeatures.h: remove #include "support/types.h".
2491 * ToolbarBackend.h: remove #include <algorithm>.
2492 * changes.h: remove #include <ctime>.
2493 * debug.h: remove #include <iosfwd>.
2494 * graph.h: remove #include "support/std_string.h".
2495 * lyx_main.h: remove #include <csignal>.
2496 * lyxlex_pimpl.h: remove #include <fstream>.
2497 * sgml.h: remove #include <algorithm>, <utility>.
2498 * toc.h: remove #include "support/std_ostream.h".
2499 Add #include <iosfwd>.
2501 2003-09-07 Angus Leeming <leeming@lyx.org>
2503 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2505 * converter.h: forward declare LatexRunParams.
2506 * encoding.h: remove #include "lyxrc.h".
2507 * lyxtext.h: remove #include "LColor.h".
2508 * lyxtextclass.h: remove #include "support/types.h".
2509 * trans.h: remove #include "tex-accent.h".
2510 * trans_mgr.h: remove #include "tex-accent.h".
2511 * insets/inset.h: remove #include "support/types.h", <vector>.
2512 * insets/insetcollapsable.h: remove #include "LColor.h".
2513 * insets/insetinclude.h: remove #include "dimension.h".
2514 * insets/insetlatexaccent.h: remove #include "dimension.h".
2515 * insets/insetoptarg.h:: remove #include "insettext.h".
2516 * insets/insettext.h: remove #include "dimension.h",
2517 <boost/shared_ptr.hpp>
2519 * insets/renderers.h: add #include "dimension.h".
2520 * insets/updatableinset.h: add #include "support/types.h".
2522 * many .C files: Associated changes.
2524 2003-09-06 Angus Leeming <leeming@lyx.org>
2526 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2527 one, inside testInvariant.
2529 * PrinterParams.C: new file.
2530 * PrinterParams.[Ch]: move the function bodies out of line.
2532 2003-09-06 Angus Leeming <leeming@lyx.org>
2534 * ParagraphParameters.h: forward declare ParameterStruct rather than
2535 including its header file.
2536 (depth): moved out-of-line.
2538 2003-09-06 Angus Leeming <leeming@lyx.org>
2540 * BufferView_pimpl.h:
2543 * lyxfunc.h: forward declare LyXKeySym rather than
2544 #include "frontends/LyXKeySym.h".
2546 * BufferView_pimpl.C:
2549 * lyxfunc.C: associated changes.
2551 2003-09-06 Angus Leeming <leeming@lyx.org>
2553 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2554 As a result, can remove the #include "insets/inset.h" from BufferView.h
2556 2003-09-06 Angus Leeming <leeming@lyx.org>
2558 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2559 As a result, can remove the #include "insets/inset.h" from BufferView.h
2561 2003-09-06 Angus Leeming <leeming@lyx.org>
2567 * bufferview_funcs.C:
2568 * BufferView_pimpl.C:
2573 * ParagraphParameters.C:
2578 * frontends/controllers/ControlDocument.C:
2579 * insets/insetcaption.C: rearrange the #includes into some sort of
2582 * buffer.h: remove #includes ErrorList.h, undo.h
2584 2003-09-06 Angus Leeming <leeming@lyx.org>
2586 * support/types.h: add a 'depth_type' typedef, used to store the
2587 nesting depth of a paragraph.
2590 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2591 defining explicitly.
2594 * paragraph_funcs.h:
2595 * ParagraphParameters.h:
2596 * sgml.h: use lyx::depth_type rather than Paragraph or
2597 ParameterStruct's depth_type.
2600 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2603 * BufferView_pimpl.C:
2605 * ParagraphParameters.C:
2608 * bufferview_funcs.C:
2615 * frontends/LyXView.C:
2616 * frontends/controllers/ControlDocument.C:
2617 * frontends/controllers/ControlErrorList.C:
2618 * insets/insetbibitem.C:
2619 * insets/insetbranch.C:
2620 * insets/insetcaption.C:
2621 * insets/insetcollapsable.C:
2622 * insets/insetenv.C:
2623 * insets/insetert.C:
2624 * insets/insetfloat.C:
2625 * insets/insetfoot.C:
2626 * insets/insetfootlike.C:
2627 * insets/insetnewline.C:
2628 * insets/insetquotes.C:
2629 * insets/insettabular.C:
2630 * insets/insettext.C:
2631 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2633 * frontends/controllers/ControlChanges.C: #include "changes.h".
2635 2003-09-06 Angus Leeming <leeming@lyx.org>
2637 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2638 than #including paragraph.h.
2641 * RowList.h: deleted. Superfluous.
2651 * insets/insettext.h: use ParagraphList_fwd.h rather than
2654 * paragraph.h: don't forward declare ParagraphList.
2657 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2658 rather than ParagraphList.h. paragraph.h is still needed for the
2659 Paragraph::depth_type parameters.
2661 * textcursor.h: enable it to compile stand-alone in light of the
2664 * bufferview_funcs.C:
2676 * frontends/controllers/ControlParagraph.C:
2677 * frontends/controllers/ControlTabular.C:
2678 * insets/insetmarginal.C:
2679 * insets/insetminipage.C:
2680 * insets/insetnote.C:
2681 * insets/insetoptarg.C: add header files needed to compile again.
2683 2003-09-06 Angus Leeming <leeming@lyx.org>
2685 * RowList_fwd.h: new file, forward-declaring Row rather than
2686 #including lyxrow.h.
2691 * insets/insettext.h: use it instead of RowList.h
2693 * bufferview_funcs.C:
2700 * text3.C: #include "RowList.h".
2702 2003-09-05 Angus Leeming <leeming@lyx.org>
2704 * factory.C (createInset):
2705 * vspace.C (c-tor): replace sscanf call with an istringstream.
2706 * ispell.C: re-add missing HP/UX headers.
2707 * lyxserver.C: re-add missing os2 headers.
2709 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2718 * text3.C: re-add missing system headers, needed for 2.95.2.
2720 2003-09-05 Angus Leeming <leeming@lyx.org>
2722 Changes most place everywhere due to the removal of using directives
2723 from support/std_sstream.h.
2725 2003-09-05 Angus Leeming <leeming@lyx.org>
2727 Replace LString.h with support/std_string.h,
2728 Lsstream.h with support/std_sstream.h,
2729 support/LIstream.h with support/std_istream.h,
2730 support/LOstream.h with support/std_ostream.h.
2732 Changes resulting throughout the tree.
2734 2003-09-05 Angus Leeming <leeming@lyx.org>
2736 * sgml.h: ensure that the header file can be compiled stand-alone.
2737 * *.C: strip out redundant #includes. (320 in total.)
2739 2003-09-04 Angus Leeming <leeming@lyx.org>
2741 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2742 here (from getPackages).
2744 * debug.[Ch]: add a new EXTERNAL tag.
2746 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2748 * text2.C (cursorEnd): simplify
2750 (getColumnNearX): adjust
2752 * text.C (computeBidiTables): adjust
2755 * rowpainter.C (paintChars): adjust
2756 (paintSelection): adjust
2757 (paintChangeBar): adjust
2760 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2762 (numberOfSeparators): adjust
2764 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2770 * text3.C: Restricts the mouse click functionality
2771 of insets like bibtex, include, toc and floatlist to the visible
2772 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2773 up the dialogs. Cursor has to be in front of the inset (i.e.
2774 start of row) for this to function.
2776 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2778 * bufferview_funcs.C (currentState): output row information
2780 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2782 * bufferview_funcs.C (currentState): output paragraph position
2784 2003-09-04 Angus Leeming <leeming@lyx.org>
2786 * FloatList.h: move out #include "Floating.h".
2787 * LaTeX.h: move out #include "DepTable.h".
2788 * LyXAction.h: move out #include "funcrequest.h".
2789 * buffer.h: move out #include "author.h", "iterators.h".
2790 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2791 * lyx_main.h: move out #include "errorlist.h".
2792 * lyxfunc.h: move out #include "FuncStatus.h".
2793 * lyxtext: move out #include "lyxcursor.h".
2794 * paragraph_pimpl.h: move out #include "counters.h".
2796 2003-09-03 Angus Leeming <leeming@lyx.org>
2798 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2799 preamble_snippets list, enabling us to add snippets to the preamble
2800 only if the snippet was not there already.
2802 2003-09-04 Angus Leeming <leeming@lyx.org>
2804 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2806 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2811 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2813 * BranchList.C: point fix, earlier forgotten
2815 2003-09-02 Angus Leeming <leeming@lyx.org>
2817 * box.C (contains): renamed from 'contained' after a fantastic
2820 2003-09-02 John Levon <levon@movementarian.org>
2826 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2828 2003-09-02 John Levon <levon@movementarian.org>
2830 * text2.C: simplification of cursorEnd(), including partial
2833 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * buffer.C (readFile): add a space
2837 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2839 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2841 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * buffer.C (readFile): new function, take a filename and a
2844 ParagraphList::iterator
2846 (readFile): adjust, make it private. don't use setStream, make
2847 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2848 always contain the filename.
2850 * BufferView.C (insertLyXFile): simplify and make it work for
2853 2003-08-30 John Levon <levon@movementarian.org>
2855 * Makefile.am: fix dist (from Kayvan)
2857 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * most files: change to use const Buffer refs
2861 2003-08-27 André Pönitz <poenitz@gmx.net>
2863 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2864 on top of ownerPar().
2866 2003-08-27 John Levon <levon@movementarian.org>
2868 * funcrequest.C: properly initialise POD members
2870 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2872 * lyxtext.h (top_y): move top_y from here
2877 * BufferView_pimpl.[Ch]: to here
2878 * frontends/screen.C:
2879 * insets/insettabular.C:
2880 * insets/insettext.C: adjust
2881 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2883 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2886 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2888 2003-08-26 André Pönitz <poenitz@gmx.net>
2890 * paragraph_func.[Ch] (outerPar): new function
2893 * paragraph_funcs.C:
2894 * paragraph_funcs.h:
2895 * paragraph_pimpl.C:
2896 * text2.C: remove Inset::par_owner
2898 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2903 * text2.C: eliminates the needFullRow/display() stuff
2904 altogether, putting the logic in metrics/draw in the insets.
2906 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2908 * text2.C (redoParagraphInternal, redoParagraphs):
2909 * text.C (redoParagraph): add a call to updateRowPositions at the
2910 end of each 'metrics-like' call. Remove all others.
2911 (getRow): remove the 'y-computing' version.
2912 (getRowNearY): do not compute nor return the real y. Solve the
2913 'y < 0' problem and simplify.
2915 2003-08-22 Angus Leeming <leeming@lyx.org>
2917 * *.[Ch]: clean-up of licence and author blurbs.
2918 Also move config.h out of a few .h files and into a few .C files.
2920 2003-08-22 André Pönitz <poenitz@gmx.net>
2922 * lyxrow.[Ch]: add x_ and *fill_ members
2927 * text2.C: adjust/remove prepareToPrint() calls
2929 2003-08-22 André Pönitz <poenitz@gmx.net>
2931 * lyxrow.[Ch]: add end_ member
2933 * lyxrow_funcs.C: use LyXRow::end_
2935 * lyxtext.h (singleWidth): add LyXFont parameter
2938 * text2.C: adjust LyXText::singleWidth() calls
2940 * text.C (redoParagraph): simplify row breaking logic
2943 2003-08-19 André Pönitz <poenitz@gmx.net>
2945 * funcrequest.C: initialize button_ member
2948 * rowpainter.[Ch]: interface consolidation
2950 2003-08-18 André Pönitz <poenitz@gmx.net>
2953 * BufferView_pimpl.C:
2955 * paragraph_funcs.C:
2957 * text3.C: remove LyXScreen::draw() and fitCursor calls
2959 * BranchList.h: remove spurious semicolons
2961 * MenuBackend.C: fix branchlist related crash
2963 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2971 * bufferparams.[Ch]:
2975 * text3.C: implements the 'branch inset'
2976 idea. This allows the output of various versions of a document
2977 from a single source version, selectively outputing or suppressing
2978 output of parts of the text.
2979 This implementation contains a 'branch list editor' in a separate
2980 tab of the document settings dialog. Branches are user definable
2981 and have a "display colour" to distinguish them on-screen.
2983 ColorHandler was somewhat cleaned up.
2984 (1) make possible a dynamically growing LColor list by allowing
2985 the graphic context cache to grow along (vector);
2986 (2) eliminate an IMHO unnecessary step in colour allocation.
2988 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2990 * BufferView_pimpl.C: compile fix
2992 2003-08-15 André Pönitz <poenitz@gmx.net>
2994 * rowpainter.C: remove extra metrics calls
2996 * lyxtext.h: merge the two constructors into a single one,
2997 pass reference to owner's par list
2999 * BufferView_pimpl.C:
3003 2003-08-15 André Pönitz <poenitz@gmx.net>
3005 * lyxrow_funcs.[Ch]:
3008 * paragraph_funcs.C:
3013 * text_funcs.C: split LyXText::rowlist_ into individual
3014 Paragraph::rows_ chunks
3017 * BufferView_pimpl.[Ch]:
3020 * text3.C: remove toggleSelection()
3022 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3024 * bufferlist.C: beautify two alerts (shorter text of buttons)
3025 * buffer.C: Remove redundant ' ' from message
3027 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3028 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3029 rename VALIGN_CENTER to VALIGN_MIDDLE
3031 2003-08-11 André Pönitz <poenitz@gmx.net>
3033 * lyxtext.h (getPar):
3034 * text.C: new function
3036 2003-08-11 André Pönitz <poenitz@gmx.net>
3039 * tracer.[Ch]: remove unneeded files
3041 * InsetList.[Ch]: remove resizeInsetsLyXText()
3046 * text3.C: merge insertParagraphs() and appendParagraph()
3047 remove breakAgain(), update()
3049 * BufferView_pimpl.[Ch]:
3050 * bufferview_funcs.[Ch]:
3054 * tabular.C: adjust after text & InsetList changes.
3056 2003-08-08 André Pönitz <poenitz@gmx.net>
3058 * text.C (insertChar, backspace): replace rowlist fiddling
3059 with rebreak of full par
3062 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3063 checkParagraph, updateInset): removed
3065 2003-08-07 André Pönitz <poenitz@gmx.net>
3068 * text3.C: merge some LFUN handlers, remove dead code
3070 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3074 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3076 * text2.C (DEPM): fix part of bug 1255 and 1256
3078 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3080 * BufferView_pimpl.C (workAreaDispatch): change to use
3081 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3082 that are no mouse related.
3084 2003-08-05 André Pönitz <poenitz@gmx.net>
3087 * BufferView_pimpl.[Ch]:
3088 * bufferview_funcs.C:
3090 * text3.C: rip out "deep update"
3092 * textcursor.[Ch] (last_sel_cursor): remove unused member
3094 2003-08-04 André Pönitz <poenitz@gmx.net>
3097 * BufferView_pimpl.[Ch]:
3098 * ParagraphParameters.C:
3099 * bufferview_funcs.C:
3105 * text3.C: replace "complicated" BufferView::update(...) calls with
3108 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3110 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3112 * Makefile.am (lyx_SOURCES): add paper.h
3114 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3116 * Makefile.am: move things around so that both lyx-qt and
3117 lyx-xforms can be built (according to --with-frontend). Then lyx
3118 is a symbolic link to lyx-[firstfrontend]
3120 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3122 * Always use std::endl with lyxerr
3124 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3126 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3128 2003-08-01 André Pönitz <poenitz@gmx.net>
3131 * BufferView_pimpl.[Ch]:
3133 * text3.C: merge BufferView::repaint() and BufferView::update()
3135 2003-08-01 José Matos <jamatos@lyx.org>
3137 * buffer.[Ch]: file_format is no longer a buffer data element.
3139 2003-08-01 André Pönitz <poenitz@gmx.net>
3144 * text2.C: make redoParagraph more independent of current cursor
3146 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3148 * text2.C: remove unneeded members
3150 2003-07-30 André Pönitz <poenitz@gmx.net>
3152 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3154 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3155 create a single function...
3157 * paragraph_funcs.C (moveItem): ... here.
3160 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3162 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3164 * LColor.[Ch]: Add comment and greyedout logical colors.
3166 2003-07-30 André Pönitz <poenitz@gmx.net>
3168 * tabular.C: don't use Assert too heavily. This crashes where it
3171 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3173 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3174 is disabled (bug 1232)
3176 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3178 * factory.C: limited 'arg' scope
3180 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3182 * factory.C: fixed Note submenu issues
3184 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3186 * factory.C: submenu for Note/Comment/Greyedout
3188 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3191 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3193 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3196 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3197 greyedout. Patch provided by Jürgen Spitzmüller.
3199 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3201 * kbmap.C (read): fix error message when reading bind files
3203 2003-07-29 Angus Leeming <leeming@lyx.org>
3205 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3206 certainly does not do what it purports to do. I am doing it, and
3207 us, a favour by killing it.
3209 2003-07-28 José Matos <jamatos@lyx.org>
3211 * buffer.C (readBody, do_writeFile):
3212 * paragraph.C(readParagraph): \end_document replaces \the_end.
3214 2003-07-29 André Pönitz <poenitz@gmx.net>
3217 * BufferView_pimpl.[Ch]:
3221 * textcursor.[Ch]: remove toggleToggle & Co
3223 2003-07-28 José Matos <jamatos@fep.up.pt>
3225 * buffer.C (readParagraph):
3226 * params_func (readParToken, readParagraph):
3227 * paragraph.C (write): \layout -> \begin_layout.
3229 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3231 * lyxlex_pimpl.C (setFile): clean up slightly.
3233 * bufferparams.h: add compressed var
3235 * buffer_funcs.C (readFile): adjust for LyXLex change
3236 (newFile): ditto + simplify
3238 * buffer.C (writeFile): handle writing of compressed files
3240 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3241 Check if the file is compressed and set a bufferparm if so.
3243 * Makefile.am (lyx_LDADD): remove explicit -lz
3245 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3247 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3248 makeDocBookFile): put the real LyX version in the first line of
3252 * version.C.in: remove lyx_docversion
3254 * tabular.C (write_attribute): add a template-based version to
3255 write enums properly
3257 2003-07-28 André Pönitz <poenitz@gmx.net>
3262 * text3.C: use doubles again for x-coordinates. They are needed.
3264 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * messages.C (getLocaleDir): use lyx_localedir()
3268 * lyxlex_pimpl.C (setFile): compress stuff
3270 * buffer.C (writeFile): add some compression stuff
3271 (do_writeFile): new func, dont call expliti close... will this
3274 * Makefile.am (lyx_LDADD): add -lz
3276 2003-07-28 José Matos <jamatos@fep.up.pt>
3278 * buffer.C: increment file format.
3279 * paragraph_funcs (readParagraph, readParToken):
3280 * paragraph.C (readParagraph): add \end_layout.
3282 2003-07-27 Angus Leeming <leeming@lyx.org>
3284 * Makefile.am: remove special casing for configure-time setting of
3285 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3287 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3288 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3290 2003-07-26 André Pönitz <poenitz@gmx.net>
3292 * paragraph_func.[Ch]:
3293 * paragraph.C (realizeFont): inline it whereever it is used
3298 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3301 2003-07-26 André Pönitz <poenitz@gmx.net>
3305 * text2.C: get rid of LyXText::need_break_row
3307 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * toc.[Ch]: put namespace toc inside namespace lyx
3311 * MenuBackend.C (expandToc2): adjust for lyx::toc
3314 * lyxfunc.C (dispatch): adjust for lyx::find
3316 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3317 lyx::find instead. Reorganize a bit.
3318 (LyXReplace): rename to replace
3319 (LyXFind): rename to find
3321 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3324 2003-07-26 André Pönitz <poenitz@gmx.net>
3326 * text.C (setHeightOfRow): restrict scope of temporary variable
3328 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3329 code (never has been used?)
3331 2003-07-27 Asger Alstrup <alstrup@local>
3333 * text.C (fill): Optimise algorithm to exploit that we can reuse
3334 the LyXFont for many characters.
3335 (setHeightOfRow): Same thing.
3336 (rowBreakPoint): Same thing.
3338 2003-07-26 Asger Alstrup <alstrup@local>
3340 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3342 * text.C (singleWidth): Spurious font copying in hot-spot
3343 singleWidth avoided. Reorder tests for arabic for efficiency.
3345 * text.C (fill): handle empty paragraphs better.
3347 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3350 * encoding.h: add includes
3352 * lyxrc.C: remove reading of bind files
3354 * lyx_main.C (init): setup bindings and menus only if we have a
3357 * kbmap.C (read): new method. Do the actual reading of bind
3360 * converter.C (dvipdfm_options):
3363 (output): adapt PAPER_* enums.
3365 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3367 * bufferparams.h: remove paper-related enums from there
3369 * paper.h: New file. A trivial header file to hold paper-related
3370 enums. It should later expand to contain many paper-related
3373 * lyxrc.C: declare extern displayTranslator
3375 2003-07-27 José Matos <jamatos@fep.up.pt>
3377 * tabular.[Ch] (linuxdoc): add support for tables and figures
3380 2003-07-27 José Matos <jamatos@fep.up.pt>
3382 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3383 consistency in both functions.
3384 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3386 2003-07-26 Asger Alstrup <alstrup@local>
3388 * rowpainter.C (paintRows): Change algorithm to work directly on
3389 the insets rather than asking every character in the document
3390 whether its an inset.
3392 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3394 * buffer.C (openFileWrite): factorize some code
3396 2003-07-26 Angus Leeming <leeming@lyx.org>
3399 * lyx_main.[Ch]: replace occurances of system_tempdir with
3402 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * rename Inset to InsetOld
3406 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3408 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3409 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3410 which I think is a bit clearer. EDIT is gone, since it was
3411 premature optimisation, and broken for mathed anyway.
3412 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3413 with cursor positioning in insets as well (math insets still do not
3414 work, but that's a different story anyway.) It mysteriously
3415 crashes sometimes with undo in the first paragraph, but I'm fairly
3416 confident that this is a compiler bug.
3418 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * paragraph.C (Paragraph): adjust for new clone return type
3422 (copyIntoMinibuffer): ditto
3424 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3426 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3427 by not having a special case, and always doing a full rebreak of
3428 the document after undo.
3430 2003-07-23 Angus Leeming <leeming@lyx.org>
3432 * factory.C (createInset): InsetExternal::setParams now takes a
3435 2003-07-23 Angus Leeming <leeming@lyx.org>
3437 * factory.C (createInset): changed interface to the external and
3438 graphics mailers' string2params functions.
3440 2003-07-23 Angus Leeming <leeming@lyx.org>
3442 * factory.C (createInset): pass a
3443 Buffer const * parameter to InsetExternalMailer's string2params.
3445 2003-07-22 John Levon <levon@movementarian.org>
3447 * Thesaurus.h: include the right aiksaurus header
3449 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3451 * MenuBackend.C (expand): check menu shortcuts unconditionally
3453 2003-07-21 Angus Leeming <leeming@lyx.org>
3455 * factory.C (createInset): pass a
3456 buffer_path parameter to InsetGraphicsMailer's string2params.
3458 2003-07-21 Angus Leeming <leeming@lyx.org>
3460 * BufferView_pimpl.C (buffer):
3463 * lyxfunc.C (dispatch):
3464 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3465 rather than the grfx shortcut.
3467 2003-07-21 André Pönitz <poenitz@gmx.net>
3469 * rowpainter.C: remove unused variables
3472 * tabular_funcs.h: move to tabular.C
3473 * Makefile.am: adjust
3475 * tabular.[Ch]: basic optical cleaning
3477 * author.h: pass references, not values
3479 2003-07-18 André Pönitz <poenitz@gmx.net>
3487 * text3.C: two-phase drawing for InsetText and InsetTabular
3488 some float -> int changes.
3490 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3492 * lyx_main.C: fix the fix
3494 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3496 * lyx_main.C: fix a crash in batch mode if no files specified
3499 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3501 * format.[Ch] (papersize): moved to BufferParams
3502 * converter.[Ch] (dvips_options): moved to BufferParams
3503 (dvipdfm_options): moved to anon namespace
3504 * bufferparams.[Ch]: added above functions.
3506 2003-07-17 André Pönitz <poenitz@gmx.net>
3510 * text2.C: don't call inset->update() anymore
3512 * metricsinfo.[Ch]: add convenience constructor
3514 2003-07-16 André Pönitz <poenitz@gmx.net>
3519 * text2.C: replace the LyXCursor::irow_ member with
3520 on-demand computation of the value
3522 2003-07-16 John Levon <levon@movementarian.org>
3524 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3526 2003-07-15 André Pönitz <poenitz@gmx.net>
3529 * text2.C: remove no more needed refresh_row
3531 2003-07-15 André Pönitz <poenitz@gmx.net>
3536 * text3.C: refresh_status tristate -> need_update bool
3538 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3540 * lyxtext.h (init): remove reinit argument (act as if always true)
3541 * text2.C: adjust to that
3543 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3545 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3546 * text3.C: use it to delete selections in some cases
3547 (bugs 441, 673, 702, 954).
3549 2003-07-14 André Pönitz <poenitz@gmx.net>
3551 * rowpainter.[Ch]: reduce interface
3553 2003-07-14 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.C:
3556 * text2.C: adjust after removing unused BufferView * argument
3558 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3560 * text2.C (init): fix a crash fired on resize
3562 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3564 * buffer.[Ch]: added new closing signal
3565 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3566 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3567 BufferView::Pimpl via the closing the signal
3569 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3571 * buffer.[Ch]: take out all bv-related from buffer
3573 * BufferView_pimpl.[Ch]: connect to new signals
3574 * CutAndPaste.C: removed useless asserts
3575 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3578 * lyxfunc.C: moved view-related funciontality from vc here
3579 * paragraph.C: removed outdated comments
3582 2003-07-10 André Pönitz <poenitz@gmx.net>
3584 * BufferView_pimpl.C:
3588 * text2.C: remove InsetText::InnerCache, clean up consequences
3590 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3592 * ispell.C: fix two typos in error messages
3594 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3596 * Extend Note inset to other forms of annotation like Comment
3597 and Greyedout. Right button click gives dialog.
3599 Files modified or added (+):
3603 * ControlNote.[Ch] +
3605 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3606 frontends/controllers
3610 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3612 * aspell.C: add missing namespace lyx::support
3614 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3616 * BufferView.[Ch] (newFile): Add
3617 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3618 * LaTeX.[Ch] (message): added this signal and use it
3619 * buffer.[Ch] (busy, message): added these signals and use them
3620 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3624 * importer.C: use buffer signals instead of direct bv calling
3625 * lyx_cb.[Ch] (ShowMessage): removed
3628 * paragraph_funcs.C:
3629 * text2.C: use buffer signals
3631 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * introduce namespace lyx::graphics
3635 2003-07-02 André Pönitz <poenitz@gmx.net>
3637 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3639 2003-07-01 André Pönitz <poenitz@gmx.net>
3646 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3647 text*.C to text_func.C
3649 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * introduce namespace lyx::support
3653 2003-06-30 André Pönitz <poenitz@gmx.net>
3658 * text.C: re-enable --with-included-string
3660 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * textcursor.C: add <config.h>
3664 * text.C (getWord): remove const from word_location arg
3666 * lyxvc.C (getLogFile): fix const type order
3668 * lyxtext.h: remove const from word_location arg, add arg name
3670 * lyxlayout.h: currect type on labeltype.
3672 * importer.C: correct \file
3674 * converter.C (intToFormat): use std:: on ret val, ws changes
3676 * bufferlist.h: correct \file
3678 * buffer.C (makeLinuxDocFile): fix const type order
3679 (makeDocBookFile): ditto
3680 (fillWithBibKeys): use std:: on stdlib args.
3682 * CutAndPaste.C: fix authors.
3683 (availableSelections): use std:: on return vector
3685 2003-06-27 André Pönitz <poenitz@gmx.net>
3687 * BufferView_pimpl.C:
3688 * bufferview_funcs.C:
3696 * text3.C: remove LyXCursor::row_ member
3699 * text.C: rename fullRebreak() to partialRebreak() and implement
3700 a fullRebreak() that really bereks fully
3702 * textcursor.h: new struct for cursor-related data
3704 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3706 * lyx_main.C (LyX): get full path of document loaded on the
3709 2003-06-26 André Pönitz <poenitz@gmx.net>
3711 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3712 remove unused/broken operator>,<,>=.
3714 * text.C: remove only use of broken operator<= in an Assert().
3716 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3718 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3719 moved errorlist_.clear to showErrorList
3721 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3723 * converter.C (scanLog, runLaTeX):
3724 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3725 move the bv->showErrorList call to the callers
3726 * lyxfunc.C: i.e. here...
3728 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3729 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3730 namespace, the second to...
3731 * buffer_funcs (BufferFormat, parseErrors): added
3732 * errorlist.C (ErrorList(TeXErrors const &)): removed
3734 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3736 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3738 2003-06-24 "Garst R. Reese" <reese@isn.net>
3742 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3744 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3746 * version.C.in: change docversion to 1.4
3748 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3750 * buffer.C: fix a bug just introduced
3752 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3754 * buffer.[Ch]: added the parseError signal and use it, removed
3756 * BufferView.[Ch] (addError): moved to ...
3757 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3758 to the Buffer::parseError signal to catch (guess what) parse errors
3759 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3761 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3763 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3764 ability to create a buffer and to return an existing one from
3765 the list. Moved these functions to...
3766 * buffer_funcs.[Ch]: added
3767 * BufferView.[Ch] (loadLyXFile): added
3768 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3769 job removed from bufferlist::loadLyXFile.
3770 * buffer.C (setReadOnly): make it work without view
3771 (i.e added an if (users))
3773 2003-06-19 Angus Leeming <leeming@lyx.org>
3776 * LyXAction.C (init):
3777 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3778 with LFUN_DIALOG_SHOW <name> <data>.
3780 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3782 * CutAndPaste.C (availableSelections): small compilation fix for
3783 ancient (gcc 2.9x) compilers
3785 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * text3.C (cursorNext): add tmp var
3789 * text2.C (updateCounters): for function calling out of for clause
3790 (replaceSelectionWithString): ditto
3791 (insertStringAsParagraphs): ditto
3792 (getColumnNearX): add tmp var
3793 (setCursorFromCoordinates): add tmp var
3794 (cursorDownParagraph): add tmp var
3795 (deleteEmptyParagraphMechanism): add tmp var
3797 * text.C (insertChar): add tmp var
3799 * rowpainter.C (paintDepthBar): add tmp var
3801 * CutAndPaste.C (availableSelections): potentially check all
3802 paragraphs in a cut to fill the shown strings.
3804 2003-06-18 André Pönitz <poenitz@gmx.net>
3806 * kbmap.[Ch]: use vector<> instead of list<>
3808 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3810 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3811 pasteSelection with index
3813 * text2.C (pasteSelection): modify, call pasteSelection with index
3815 * paragraph.C (asString): reimplement version with no interval to
3816 call the one with interval.
3818 * lyxtext.h: add index arg to pasteSelection
3820 * MenuBackend.C (MenuItem): handle PasteRecent
3821 (Menu::read::Menutags): add md_pasterecent
3823 (expandPasteRecent): new function
3826 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3828 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3830 (availableSelections): new function
3832 2003-06-17 Angus Leeming <leeming@lyx.org>
3834 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3836 2003-06-17 Angus Leeming <leeming@lyx.org>
3839 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3841 * lyxfunc.C (dispatch): invoke it.
3843 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3845 * iterators.C (operator++, ParPosition): reintroduce some
3846 const_cast for the benefit of older compilers.
3848 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3850 * text3.C (dispatch): do not modify clipboard when doing
3851 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3852 LFUN_DELETE_SKIP on a selection selection
3854 2003-06-16 André Pönitz <poenitz@gmx.net>
3860 * tabular.[Ch]: IU of clone() and getLabelList();
3862 2003-06-13 André Pönitz <poenitz@gmx.net>
3864 * tabular.h: compactification
3866 2003-06-12 André Pönitz <poenitz@gmx.net>
3870 * tabular_funcs.h: some renaming plus whitespace
3872 2003-06-12 André Pönitz <poenitz@gmx.net>
3875 * BufferView_pimpl.C:
3881 * toc.C: Return a Paragraph & for ParIterator::operator*()
3883 2003-06-11 John Levon <levon@movementarian.org>
3887 * ToolbarBackend.C: add "Toolbars" section and
3890 2003-06-10 Angus Leeming <leeming@lyx.org>
3893 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3895 * lyxfunc.C (dispatch): invoke it.
3897 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * main.C: protect <ios> with HAVE_IOS
3900 (main): protect sync_with_stdio with HAVE_IOS
3902 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3904 * text2.C (cutSelection): adjust
3905 (pasteSelection): adjust
3907 * messages.C: handle get of empty string
3909 * main.C (main): use sync_with_stdio(false)
3911 * lyxfunc.C (dispatch): adjust
3913 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3914 (WriteAs): remove unneeded BufferView arg.
3916 * bufferparams.h: use correct types on papersize, papersize2 and
3919 * bufferparams.C (readToken): adjust for type
3920 (writeLaTeX): add missing cases to switch.
3922 * bufferlist.C (quitWriteBuffer): adjust
3925 * buffer.C (asciiParagraph): remove some commented code.
3927 * CutAndPaste.C: remove current_view extern variable.
3928 (cutSelection): add BufferParams arg.
3929 (eraseSelection): add BufferParams arg.
3930 (pasteSelection): add Buffer const & arg
3932 2003-06-07 John Levon <levon@movementarian.org>
3935 * paragraph_funcs.C:
3936 * paragraph_pimpl.C:
3940 * paragraph.C: allow InsetERT to freely space lines,
3941 and some consolidation of code
3943 2003-06-06 José Matos <jamatos@fep.up.pt>
3945 * buffer.C (makeDocBookFile): fix bug #821
3947 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3949 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3951 2003-06-04 Angus Leeming <leeming@lyx.org>
3953 * buffer.C: bump format to 224.
3955 2003-06-05 André Pönitz <poenitz@gmx.net>
3957 * text2.C (redoParagraphs): remove two const_cast<>
3959 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3961 * ParagraphList.h: remove last remnants of NO_STD_LIST
3963 2003-06-03 Angus Leeming <leeming@lyx.org>
3965 * factory.C (createInset): small change to the way InsetExternal's params
3968 2003-06-04 André Pönitz <poenitz@gmx.net>
3970 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3972 * paragraph_pimpl.h:
3973 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3975 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3977 * undo_funcs.C: make some simple cases of undo work again
3979 2003-06-03 John Levon <levon@movementarian.org>
3981 * ispell.C: HPUX doesn't have sys/select.h
3984 2003-06-03 John Levon <levon@movementarian.org>
3986 * CutAndPaste.C: update tabular and include inset
3991 * paragraph.C: remove owningBuffer(), don't pass Buffer
3994 * factory.C: insetGraphicsParams changed
3996 2003-06-02 John Levon <levon@movementarian.org>
4002 * text3.C: remove insetparent
4004 2003-06-02 John Levon <levon@movementarian.org>
4007 * buffer.C: fix inset_iterator.end(), move out of line
4010 2003-06-01 John Levon <levon@movementarian.org>
4012 * text3.C: use a proper cut/paste when doing inset
4013 insert (from Jürgen Spitzmüller)
4015 2003-06-01 John Levon <levon@movementarian.org>
4017 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4019 2003-05-30 André Pönitz <poenitz@gmx.net>
4021 * rowpainter.C: unify second drawing phase
4023 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * trans_mgr.C: remove one case of current_view
4027 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4029 * paragraph_funcs.h: remove paragraph.h include
4031 * paragraph.h: delete NO_STD_LIST stuff
4033 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4035 * buffer.h: remove paragraph.h include
4037 * ParagraphList.C: delete file
4039 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4041 * toc.C (getTocList): adjust
4043 * paragraph_pimpl.C (validate): adjust
4045 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4047 * paragraph.C (Paragraph): adjust
4048 (getPositionOfInset): use const_iterator, adjust
4049 (bibitem): use const_iterator, adjust
4050 (setInsetOwner): adjust
4052 * iterators.C (operator++): adjust
4054 * InsetList.[Ch]: Replace selfmade iterator with standard
4055 vector::iterator also introduce const_iterator. Remove getPos,
4056 getInset and setInset from InsetTable. Adjust accordingly.
4058 * BufferView.C (lockInset): adjust
4059 (ChangeInsets): adjust
4061 * tabular.[Ch]: delete commented same_id functions
4063 2003-05-28 John Levon <levon@movementarian.org>
4065 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4067 2003-05-28 André Pönitz <poenitz@gmx.net>
4069 * metricsinfo.[Ch]: remove 'fullredraw' member
4071 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4073 * lyxtextclass.C (operator): remove caching.
4075 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * text2.C (cursorBottom): adjust
4080 (setCounter): use ParagraphList::find, adjust
4082 * text.C (workWidth): use ParagraphList::find, adjust
4084 * lyxcursor.C (LyXCursor): adjust
4086 * buffer.C (inset_iterator): adjust
4088 * ParagraphList.h: make iterator(value_type) private, make
4089 ParagraphList a friend of iterator.
4091 * ParagraphList.C (find): new function
4093 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4095 2003-05-27 André Pönitz <poenitz@gmx.net>
4097 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4099 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4103 2003-05-26 John Levon <levon@movementarian.org>
4105 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4107 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * remove same_id from function signatures, adjust.
4111 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4115 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4117 * paragraph.C (Paragraph): get rid of same_ids parameter
4119 * ParagraphList.C (insert): adjust
4122 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * paragraph_funcs.C (breakParagraph): adjust
4125 (breakParagraphConservative): adjust
4127 * buffer.C (readParagraph): adjust
4129 * ParagraphList.C (insert): take a reference instead of a pointer
4132 * paragraph.[Ch] (id): new function
4134 * bufferlist.C (newFile): adjust
4136 * ParagraphList.C (ParagraphList): adjust
4138 (push_back): take a reference instead of a pointer.
4140 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4142 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4145 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4146 set else use old code.
4148 * ParagraphList.C: remove all NO_NEXT code and only compile this
4149 code of NO_STD_LIST is set.
4151 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4153 * BufferView_pimpl.C:
4163 * graphics/GraphicsConverter.C:
4164 * graphics/PreviewLoader.C: header adjustment
4166 2003-05-23 Angus Leeming <leeming@lyx.org>
4168 * LaTeXFeatures.[Ch] (useBabel): new method.
4169 * bufferparams.C (writeLaTeX): use it.
4171 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * ParagraphList.h (set): remove unused function.
4175 2003-05-23 André Pönitz <poenitz@gmx.net>
4178 * BufferView_pimpl.C:
4182 * undo_funcs.C: setUndo reworked
4184 * iterators.[Ch]: add access to topmost ParagraphList
4186 * lyxtext.[Ch] (workWidth): add a const
4188 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4190 * texrow.[Ch] (increasePos): remove function
4191 * exporter.C (export): removed unused var and outdated comment
4193 2003-05-23 Angus Leeming <leeming@lyx.org>
4195 * latexrunparams.h: rename fragile as moving_arg.
4196 * paragraph.C (simpleTeXOnePar): ditto.
4197 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4199 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4203 (textUndoOrRedo): comment out a currently unused var.
4205 * paragraph.h (NO_NEXT): enable NO_NEXT
4207 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4209 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4211 * exporter.C (Export): adjust for removeAutoInsets removal.
4213 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4215 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4217 * BufferView.[Ch] (removeAutoInsets): delete function
4219 2003-05-22 Angus Leeming <leeming@lyx.org>
4221 * latexrunparams.h: add a free_spacing variable.
4223 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4224 to pass moving_arg, as the data is stored in runparams.fragile.
4226 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4227 to Inset::latexOptional or to simpleTeXOnePar.
4229 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4230 free_spacing arg to Inset::latexOptional.
4232 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4235 2003-05-22 Angus Leeming <leeming@lyx.org>
4237 * latexrunparams.h: add fragile and use_babel variables.
4239 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4240 * buffer.C (makeLaTeXFile): store this returned value in
4241 runparams.use_babel, thus passing it to the inset::latex methods.
4243 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4244 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4246 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4247 longer has a fragile arg, as it is stored in runparams.fragile.
4249 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4250 moving_arg parameter as the data is stored in runparams.fragile.
4252 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4253 a fragile parameter as the data is stored in runparams.fragile.
4255 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4259 2003-05-22 Angus Leeming <leeming@lyx.org>
4261 * latexrunparams.h: add a 'bool nice' which defaults to false.
4263 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4264 now encapsulated within runparams.
4266 * bufferlist.C (updateIncludedTeXfiles):
4267 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4269 2003-05-22 Angus Leeming <leeming@lyx.org>
4271 * latexrunparams.h: new file containing struct LatexRunParams.
4272 * Makefile.am: add new file.
4274 * LaTeX.[Ch] (c-tor, run):
4275 * buffer.[Ch] (makeLaTeXFile):
4276 * bufferlist.[Ch] (updateIncludedTeXfiles):
4277 * converter.C (convert, scanLog):
4278 * converter.[Ch] (runLaTeX):
4279 * exporter.C (Export):
4280 * paragraph.[Ch] (simpleTeXOnePar):
4281 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4282 * paragraph_funcs.[Ch] (latexParagraphs):
4283 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4284 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4285 pass around a LatexRunParams parameter.
4287 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * paragraph.[Ch]: remove unused constructor
4291 * ParagraphList.C (erase): new function, taking two iterators
4293 2003-05-22 André Pönitz <poenitz@gmx.net>
4295 * undo_funcs.C: remove duplicated code
4297 * iterator.[Ch]: operator=
4299 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * tabular.C (SetMultiColumn): ws changes
4303 * rowpainter.C (paintFirst): get rid of a ->previous
4305 * lyx_cb.C (getPossibleLabel): parlist simplification
4307 * BufferView.C (ChangeInsets): simplify slightly.
4309 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4311 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4312 * lfuns.h: new LFUN_SPACE
4313 * lyxfunc.C: protected space has a new lfun
4314 * paragraph_funcs.C: read new space insets
4316 * factory.C: handle new space insets
4318 2003-05-22 André Pönitz <poenitz@gmx.net>
4321 * BufferView_pimpl.C:
4324 * undo_funcs.C: return a ParIterator from getParFromID.
4326 * iterators.[Ch]: add two const's
4328 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * toc.C (getTocList): adjust
4332 * iterators.[Ch]: rework for parlist
4334 * buffer.C (par_iterator_begin): adjust
4335 (par_iterator_end): adjust
4337 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4339 * BufferView.C (removeAutoInsets): adjust
4340 (ChangeInsets): adjust
4342 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4344 * text.C (top_y): fix bug 1110
4346 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4348 * errorlist.[Ch]: added
4351 * BufferView_pimpl.C:
4352 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4355 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * Makefile.am: ensure that lyx is relinked upon changes to the
4358 various "convenience" libs.
4360 2003-05-20 Angus Leeming <leeming@lyx.org>
4362 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4363 files are compiled in alphabetical order again.
4365 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4367 2003-05-19 Angus Leeming <leeming@lyx.org>
4369 * gettext.[Ch]: remove "char const * _(char const *)".
4371 2003-05-19 André Pönitz <poenitz@gmx.net>
4373 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4382 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4384 2003-05-19 André Pönitz <poenitz@gmx.net>
4388 * lyxtextclass.[Ch]:
4390 * paragraph_funcs.[Ch]:
4392 * text3.C: more insetenv work
4394 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4396 * ParagraphParameters.C (params2string): small bug fixed
4398 2003-05-16 André Pönitz <poenitz@gmx.net>
4401 * bufferview_funcs.C: patch from Kornel Benko to prevent
4402 crash when _(...) is called twice in a statement
4404 2003-05-16 André Pönitz <poenitz@gmx.net>
4411 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4413 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4415 * lyx_main.C (init): remove spurious static_cast
4417 2003-05-14 André Pönitz <poenitz@gmx.net>
4419 * BufferView.C: fix format string
4421 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4423 * BufferView.[Ch] (insertErrors): removed
4424 * BufferView.[Ch] (showErrorList): added
4425 * buffer.C (runChkTeX):
4426 * converter.C (scanLog): call showErrorList instead of inserterrors
4428 2003-05-13 André Pönitz <poenitz@gmx.net>
4430 * BufferView_pimpl.C:
4432 * bufferview_func.C:
4439 * tabular_funcs.h: tostr() from its own header
4441 * ParagraphParameters.C:
4446 * text3.C: STRCONV()
4448 2003-05-12 André Pönitz <poenitz@gmx.net>
4451 * BufferView_pimpl.C:
4455 * ParagraphParameters.C:
4459 * bufferview_funcs.C:
4472 * paragraph_funcs.C:
4476 * text3.C: boost::format -> bformat all over the place
4479 2003-05-09 André Pönitz <poenitz@gmx.net>
4481 * LColor.[Ch]: Pimpl the #include <map> away
4483 2003-05-09 John Levon <levon@movementarian.org>
4485 * bufferlist.C: never remove emergency saves
4487 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4489 * Makefile.am: better lib building
4491 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4495 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4496 (simpleTeXSpecialChars): adjust
4497 (simpleTeXSpecialChars): adjust
4498 * paragraph.C (simpleTeXOnePar): adjust
4499 * buffer.C (makeLaTeXFile): adjust
4501 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4503 * text2.C (changeDepth): parlist cleanup
4504 (getColumnNearX): ditto
4506 * rowpainter.C (getLabelFont): parlist cleanup
4508 * bufferlist.C (newFile): parlist cleanup
4510 * CutAndPaste.C (eraseSelection): parlist cleanup
4512 * BufferView_pimpl.C (trackChanges): parlist cleanup
4515 * BufferView.C (lockInset): parlist cleanup.
4516 (ChangeInsets): ditto
4518 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4520 * CutAndPaste.h: Update file header.
4522 * CutAndPaste.C: Update file header.
4523 Store the parts cut out of the Document in a limited_stack.
4524 (copySelection): adjust
4525 (pasteSelection): new function, takes the index in the limited stack.
4526 (nrOfParagraphs): adjust
4527 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4528 simplify error inset insertion.
4529 (checkPastePossible): adjust
4531 2003-05-06 John Levon <levon@movementarian.org>
4533 * text2.C: don't cast wrap inset to float
4535 2003-05-05 André Pönitz <poenitz@gmx.net>
4538 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4540 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4541 few naked Paragraph *.
4543 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4545 * bufferparams.C: Output warning if a document with missing
4546 TeX document class is loaded
4547 * exporter.C: Disable TeX exports if the document class is missing
4550 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4551 isTeXClassAvailable()
4553 2003-05-03 John Levon <levon@movementarian.org>
4556 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4557 explicit cursor show/hide
4559 * BufferView_pimpl.h:
4560 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4561 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4563 * lyxfunc.C: hide cursor before dispatching.
4568 * text3.C: remove explicit cursor hides
4570 2003-05-02 André Pönitz <poenitz@gmx.net>
4572 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4575 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4578 * text2.C: tiny whitespace
4580 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * undo_funcs.C: almost only ws changes.
4584 * ParagraphList.C (splice): just return if pl is empty.
4586 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * ParagraphList.C (splice): new function.
4590 * CutAndPaste.C (pasteSelection): use it
4592 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * CutAndPaste.C (pasteSelection): remove the last next and
4595 previous from this file.
4597 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * CutAndPaste.C (pasteSelection): more clean up, user proper
4600 ParagraphList functions for pasteing.
4602 * ParagraphList.C (insert): new function, three arg insert
4604 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * ParagraphList.C (insert): new function, three arg insert
4608 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4615 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4617 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4619 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4622 (copySelection): clean up a bit.
4623 (pasteSelection): use make_pair
4625 * ParagraphList.C (ParagraphList): implement copy constructor
4626 (operator=): implement, base on copy constructor.
4629 * paragraph.C (erase): return a bool
4631 * paragraph_pimpl.C (erasePos): remove function, move contents...
4632 (erase): ... here. Return a bool.
4633 (erase): call erase instead of erasePos.
4635 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4637 * ParagraphList.h: define PitPosPair
4638 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4639 ParagraphList, fix a bug on pasting multiple pars
4640 * text2.C: change interface to C&P
4642 2003-04-30 André Pönitz <poenitz@gmx.net>
4644 * undo_func.C: revert part of yesterday's patch 2
4646 2003-04-30 John Levon <levon@movementarian.org>
4648 * LColor.C: s/tabular/table/
4650 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * text3.C (dispatch): do not convert iterator -> pointer
4653 * undo_funcs.C (setCursorParUndo): ditto
4654 * text_funcs.C (transposeChars): ditto
4656 * text2.C (setLayout): ws changes only
4658 * text.C (breakParagraph): do not convert iterator -> pointer
4660 (acceptChange): ditto
4661 (rejectChange): ditto
4666 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4669 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4671 * text3.C (gotoInset): YABG (yet another bad getChar)
4673 2003-04-29 André Pönitz <poenitz@gmx.net>
4675 * paragraph.h: make operator= private unimplemented as long as
4678 * ParagraphList.C: whitespace
4681 * paragraph_pimpl.[Ch]:
4682 * paragraph_funcs.C:
4684 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4687 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4689 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4691 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4692 * paragraph.[Ch] (erase):
4693 * paragraph_pimpl.[Ch] (erase): change return type and value
4694 * text2.C (cutSelection): some rework
4696 2003-04-28 John Levon <levon@movementarian.org>
4698 * bufferlist.C: changes for unsaved changes dialog
4700 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * bufferlist.C (newFile): set language (messages_) for new
4705 * buffer.C (readFile): ws changes only.
4707 2003-04-28 André Pönitz <poenitz@gmx.net>
4712 * BufferView_pimpl.C:
4713 * BufferView.C: getParFromID related ParagraphList::iterator changes
4715 2003-04-28 André Pönitz <poenitz@gmx.net>
4717 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4720 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * messages.C: remove one more localedir class variable.
4724 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * messages.C (getLocaleDir): singleton generation function
4728 (Messages): add a default constructor.
4730 * main.C (main): do not setup localedir here, do not call
4733 * gettext.C (_): use it.
4734 (gettext_init): delete funciton
4736 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * gettext.C (getLyXMessages): new singleton generating function.
4740 * buffer.C (updateDocLang): adjust
4742 * Makefile.am (messages.o): add target
4743 (main.o): remove target
4745 2003-04-27 John Levon <levon@movementarian.org>
4750 * lyxvc.C: specify cancel button in Alert::prompt
4752 2003-04-26 John Levon <levon@movementarian.org>
4757 * LyXAction.C: add LFUN_INSET_SETTINGS
4759 * lyxfunc.C: don't enable tabular-feature when there's
4760 just any locking inset
4762 2003-04-26 John Levon <levon@movementarian.org>
4764 * bufferlist.C: re-add Cancel to buffer close question
4766 * lyxfunc.C: fix import UI a bit
4768 2003-04-25 John Levon <levon@movementarian.org>
4770 * gettext.C: remove the broken asserts for now
4772 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * messages.C: make case where setlocale cannot comply work better.
4776 * buffer.C (updateDocLang): new function
4777 (changeLanguage): use it
4780 * text2.C (setCounter): use B_ a bit.
4782 * lyxlayout.C (Read): be sure to trim the label strings.
4784 * messages.C (Messages): fix typo in comment
4786 * buffer.C (readFile): set message_ after file is loaded.
4787 (makeDocBookFile): remove double return
4788 (changeLanguage): reset message_ upon language change.
4789 (B_): new func, use this to get translated buffer strings.
4791 * main.C: add myself and Jean Marc as authors.
4793 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * messages.[hC]: pimplify Messages, and three different pimpls to be
4796 used in different circumstances.
4798 * gettext.[Ch]: change for use with new message code.
4800 2003-04-24 André Pönitz <poenitz@gmx.net>
4802 * factory.C: support for eqref
4804 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * messages.[Ch]: add missing char
4808 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4810 * messages.[Ch]: New files
4812 2003-04-18 John Levon <levon@movementarian.org>
4816 * BufferView_pimpl.C:
4820 * text2.C: remove layout-copy/paste (bug 778)
4822 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4824 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4826 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4828 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4829 if they succeed. Act accordingly.
4831 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * text2.C (setCharFont): adjust
4834 (setCounter): adjust
4835 (insertStringAsLines): adjust
4837 * text.C (leftMargin): adjust
4838 (setHeightOfRow): adjust
4840 * rowpainter.C (paintFirst): adjust
4843 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4845 (isFirstInSequence): ditto
4846 (getEndLabel): ditto
4849 * paragraph.C (getParLanguage): comment out some hard stuff.
4851 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4853 (simpleDocBookOnePar): ditto
4854 (makeDocBookFile): use ParagraphList::iterator
4856 * CutAndPaste.C (pasteSelection): adjust
4858 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * text2.C (getFont): adjust
4861 (getLayoutFont): adjust
4862 (getLabelFont): adjust
4864 * paragraph_funcs.C (TeXOnePar): adjust
4866 * buffer.C (simpleLinuxDocOnePar): adjust
4867 (simpleDocBookOnePar): adjust
4869 * CutAndPaste.C (pasteSelection): adjust
4871 * BufferView.C (getEncoding): adjust
4873 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4875 2003-04-16 John Levon <levon@movementarian.org>
4877 * lyxfind.C: use parlist stuff for search/changes
4879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4883 * text2.C (deleteEmptyParagraphMechanism): adjust
4885 * text2.[Ch] (ownerParagraph): delete func (both of them
4887 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4889 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4891 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * ParagraphList.C: prepare for NO_NEXT
4895 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * text2.C (getFont): adjust
4898 (getLayoutFont): adjust
4899 (getLabelFont): adjust
4901 * paragraph.C (getFont): adjust
4902 (getLabelFont): adjust
4903 (getLayoutFont): adjust
4905 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4907 2003-04-15 John Levon <levon@movementarian.org>
4911 * lyx_main.C: handle Include in .ui files
4913 2003-04-15 John Levon <levon@movementarian.org>
4915 * MenuBackend.C: make the doc files length shorter
4918 * ToolbarBackend.C: handle toolbar placement flags,
4921 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4926 * paragraph_funcs.C (TeXOnePar): adjust
4928 * paragraph.C (getLabelFont): add outerfont arg, adjust
4929 (getLayoutFont): ditto
4930 (simpleTeXOnePar): adjust
4932 * paragraph_pimpl.C (realizeFont): delete func
4934 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4936 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4937 row argument, constify cur argument.
4939 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * text2.C (getFont): adjust
4942 (getLayoutFont): adjust
4943 (getLabelFont): adjust
4945 * paragraph_funcs.C (TeXOnePar): adjust
4946 (outerFont): new func...
4947 (realizeFont): ...moved out from here, changed this to facilitate
4950 * paragraph.C (getFont): take outerfont as arg, adjust
4951 (simpleTeXOnePar): add outerfont arg, adjust
4953 * buffer.C (simpleLinuxDocOnePar): adjust
4954 (simpleDocBookOnePar): adjust
4956 * CutAndPaste.C (pasteSelection): adjust
4958 * BufferView.C (getEncoding): adjust
4960 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * text2.C (setCharFont): adjust
4963 (setCounter): adjust
4965 * text.C (leftMargin): adjust
4966 (setHeightOfRow): adjust
4968 * rowpainter.C (paintFirst): adjust
4971 * paragraph_pimpl.C (realizeFont): adjust
4973 * paragraph.C (isFirstInSequence): move from here...
4974 * paragraph_funcs.C (isFirstInSequence): ...to here
4976 * paragraph.C (outerHook): move from here...
4977 * paragraph_funcs.C (outerHook): ...to here
4979 * paragraph.C (depthHook): move from here...
4980 * paragraph_funcs.C (depthHook): ...to here
4982 * paragraph.C (getEndLabel): move from here...
4983 * paragraph_funcs.C (getEndLabel): ...to here
4985 * text2.C (realizeFont): move from here...
4986 * paragraph_funcs.C (realizeFont): ...to here
4988 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4992 2003-04-14 Angus Leeming <leeming@lyx.org>
4994 * LColor.[Ch]: scrap LColor mathcursor.
4996 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * lyxlex.[Ch] (text): delete function
4999 * trans.C (Load): adjust
5000 * paragraph_funcs.C (readParToken): adjust
5002 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5005 vector<char> instead of a char[].
5007 * lyxlex_pimpl.C (getString): adjust
5009 (lex): use getString
5013 * lyxlex.C (text): use pimpl_->getString()
5017 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5020 (makeFontEntriesLayoutSpecific): temp var for par.size()
5021 (setLayout): temp var for ownerParagraphs().end()
5022 (fullRebreak): temp var for rows().end()
5023 (selectionAsString): temp var for boost::next(startpit), realize
5024 that the while really is a regular for loop.
5025 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5026 setCursor in one place.
5027 (setParagraph): temp vr for ownerParagraphs().end()
5028 (updateCounters): make the while loop a for loop
5029 (cutSelection): temp var for ownerParagraphs().end()
5030 (updateInset): make the do {} while() a regular for loop
5031 (getCursorX): use temp vars
5032 (setCurrentFont): use temp vars
5033 (getColumnNearX): use temp vars
5035 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * text.C (transformChar): use temp var for getChar
5038 (computeBidiTables): use temp var for row->par()
5039 (fill): move temp vars for row->par() and pit->layout() earlier in
5041 (labelFill): use temp var for row->par()
5042 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5043 asc and desc, realize that pit never changes and that firstpit is
5044 just a duplicate and not needed. Exchange rit->par() with pit in a
5046 (breakAgain): use a temp var for boost::next(rit)
5047 (breakAgainOneRow): ditto
5048 (breakParagraph): use a temp var for rows().begin()
5049 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5050 (cursorRightOneWord): use temp var for cursor.par() and
5051 cursor.pos(), remove usage of tmpcursor.
5052 (cursorLeftOneWord): use temp var for cursor.par() and
5053 cursor.pos() only set cur at end of function.
5055 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * text.C, text2.C: exchange all usage of Paragraph::next with
5058 boost::next(ParagraphList::iterator)
5060 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5062 * text2.C (cursorTop): simplify implementation
5063 (cursorBottom): ditto
5064 (setParagraph): use ParagraphList::iterator
5065 (setCurrentFont): adjust
5066 (getColumnNearX): adjust
5067 (cursorRight): adjust
5068 (cursorLeft): remove usage of Paragraph::previous
5069 (cursorUpParagraph): ditto
5070 (deleteEmptyParagraphMechanism): slight cleanup
5072 * text.C (isBoundary): take a Paragraph const & instead of a
5074 (addressBreakPoint): ditto
5075 (leftMargin): remove usage of Paragraph::previous.
5076 (setHeightOfRow): ditto
5077 (cursorLeftOneWord): ditto
5078 (selectNextWordToSpellcheck): ditto
5081 (breakParagraph): remove one usage of Paragraph::next
5082 (redoParagraph): ditto
5083 (acceptChange): ditto
5084 (insertChar): adjust
5085 (rowBreakPoint): adjust
5087 * bufferview_funcs.C (toggleAndShow): adjust
5089 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5091 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5092 methods to access it.
5094 * text.C: Added updateRowPositions to compute all row positions.
5095 Make top_y and getRowNearY() to use the cached y position
5097 2003-04-11 John Levon <levon@movementarian.org>
5099 * text.C (rowBreakPoint): reintroduce the labelEnd
5100 checks, code copied from the row fill stuff. Deep voodoo.
5102 * text.C (fill): add a comment and debugging for the
5105 2003-04-11 John Levon <levon@movementarian.org>
5107 * text.C: make sure fullrow insets get wrapped to the next line,
5108 even when they're in a manual label
5110 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * text2.C (insertParagraph): make it take ParagraphList::iterator
5114 (setLayout): make it return ParagraphList::iterator
5115 (redoParagraphs): ditto
5117 (checkParagraph): ditto
5119 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5121 * text2.C: adjust several funcs.
5122 (realizeFont): take a ParagraphList::iterator as arg.
5123 (getLayoutFont): ditto
5124 (getLabelFont): ditto
5125 (setCharFont): ditto
5127 * text.C: adjust several funcs.
5129 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5131 * text.C (selectNextWordToSpellcheck): don't accidentally
5134 2003-04-10 John Levon <levon@movementarian.org>
5136 * ToolbarBackend.C (getIcon): special handling for
5139 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5141 * text2.C (cursorRight): a getChar assert fixed
5143 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * text2.C (getFont): change to take a ParagraphList::iterator
5146 instead of Paragraph*
5147 Adjust several functions.
5149 * text.C (transformChar): change to take a ParagraphList::iterator
5150 instead of Paragraph*
5151 (singleWidth): ditto
5152 Adjust several functions.
5154 * rowpainter.C: adjust several functions
5155 * rowpainter.h:store a ParagraphList::iterator and not a
5159 2003-04-09 John Levon <levon@movementarian.org>
5164 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5165 and the "help" bits as well
5167 2003-04-09 John Levon <levon@movementarian.org>
5170 * ToolbarBackend.C: allow multiple toolbars
5172 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * undo_funcs.C (setCursorParUndo): adjust
5176 * text_funcs.C (transposeChars): adjust
5178 * text3.C (gotoNextInset): adjust
5181 * text2.C (setLayout): adjust
5182 (changeDepth): adjust
5184 (redoParagraphs): adjust
5185 (selectionAsString): adjust
5186 (setParagraph): adjust
5187 (insertInset): adjust
5188 (cutSelection): adjust
5189 (copySelection): adjust
5190 (pasteSelection): adjust
5191 (insertStringAsLines): adjust
5192 (updateInset): adjust
5193 (setCursor): change to take a ParagraphList::iterator parameter
5194 (setCursorIntern): change to take a ParagraphList::iterator parameter
5195 (setCurrentFont): adjust
5196 (cursorLeft): adjust
5197 (cursorRight): adjust
5198 (deleteEmptyParagraphMechanism): adjust
5200 * text.C (breakParagraph): adjust
5201 (insertChar): adjust
5202 (acceptChange): adjust
5203 (rejectChange): adjust
5204 (selectNextWordToSpellcheck): adjust
5205 (changeCase): adjust
5209 * lyxfind.C (SearchForward): adjust
5210 (SearchBackward): adjust
5211 (nextChange): adjust
5213 * lyxcursor.C (par): adjust
5215 * lyxcursor.h: store a ParagraphList::iterator instead of a
5218 * lyx_cb.C (getPossibleLabel): adjust
5220 * bufferview_funcs.C (toggleAndShow): adjust
5222 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5225 * BufferView.C (removeAutoInsets): adjust
5226 (lockedInsetStoreUndo): adjust
5228 2003-04-09 John Levon <levon@movementarian.org>
5230 * ToolbarBackend.C: try icon without argument
5231 if with argument fails
5233 2003-04-08 John Levon <levon@movementarian.org>
5236 * ToolbarBackend.C: add getIcon(), handle tooltip,
5237 and change from "Icon" to "Item".
5239 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5241 * BufferView.C (lockInset): another bad getchar crunched
5243 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5245 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5248 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5250 * lyxfind.C (searchForward, searchBackwards): bug 782
5252 2003-04-07 John Levon <levon@movementarian.org>
5254 * paragraph.C: remove dead comment
5256 * text.C: remove troublesome depth-fiddling code
5257 in leftMargin() and rightMargin() (bug 1017)
5259 * text.C: fix breaking of rows in nested lists
5262 * text2.C (updateCounters): fix up depth values
5265 2003-04-07 John Levon <levon@movementarian.org>
5267 * BufferView_pimpl.C: clear message when doc finishes resizing,
5268 and after a mouse event
5270 * lyxfunc.C: clear message after exiting inset
5272 2003-04-07 John Levon <levon@movementarian.org>
5274 * bufferview_funcs.C: show math status not outside
5275 status in the statusbar
5277 2003-04-07 John Levon <levon@movementarian.org>
5279 * lyxfunc.C: note status changed after a depth change
5281 2003-04-04 Angus Leeming <leeming@lyx.org>
5283 * LaTeX.h: move AuxInfo operator==, != out of line.
5284 Remove LaTeX virtual destructor; nothing derives from it.
5285 Move operator()() out of public area and rename it startscript().
5286 Change protected for private.
5288 2003-04-04 Angus Leeming <leeming@lyx.org>
5291 * text2.C: remove unneeded #includes.
5293 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5295 * text2.C (dEPM): fix the heigth of the next row
5297 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5299 * text.C: squashed an invalid getChar requester + some ws changes
5301 2003-04-03 John Levon <levon@movementarian.org>
5303 * bufferview_funcs.h:
5304 * bufferview_funcs.C:
5307 * text2.C: make getStatus work for the env depth lfuns
5309 2003-04-03 John Levon <levon@movementarian.org>
5311 * bufferview_funcs.h:
5312 * bufferview_funcs.C:
5315 * text2.C: parlistize decDepth(), by merging it with incDepth()
5317 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * lyxrow.h: store a ParagraphList::iterator instead of a
5320 Paragraph* and adjust other class functions to suit.
5322 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5325 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5327 * text2.C (setCursor): do not anchor to cursor row for the time being
5329 2003-04-02 John Levon <levon@movementarian.org>
5336 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5338 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * paragraph.h: make ParagraphList and ParagraphList::iterator
5341 friends of Paragraph.
5343 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5345 * ParagraphList.C: Use the private next_ and previous_ from
5348 2003-04-01 John Levon <levon@movementarian.org>
5352 * Makefile.am: rename, remove defaults gunk
5355 * MenuBackend.C: remove defaults gunk
5358 * Languages.C: remove defaults gunk
5361 * lyx_main.C: error out if files couldn't be found.
5363 2003-04-02 John Levon <levon@movementarian.org>
5365 * text2.C: make incDepth() use parlist
5367 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * undo_funcs.C (firstUndoParagraph): adjust
5371 * text3.C (gotoInset): adjust
5372 (dispatch): adjust, and rewrite loop.
5374 * text2.C (init): adjust, and rewrite loop.
5375 (redoParagraphs): adjust
5376 (updateInset): adjust, and rewrite loop.
5377 (deleteEmptyParagraphMechanism): adjust
5379 * tabular.C (LyXTabular): adjust
5380 (SetMultiColumn): adjust
5383 * lyxtext.[Ch] (ownerParagraph): delete function
5384 (ownerParagraphs): new function returns a ParagraphList.
5386 * BufferView.C (removeAutoInsets): adjust
5387 (insertErrors): adjust
5388 (setCursorFromRow): adjust
5390 2003-04-01 Angus Leeming <leeming@lyx.org>
5392 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5395 2003-04-02 John Levon <levon@movementarian.org>
5401 * text_funcs.C: make transposeChars a free function
5403 * lyxrow_funcs.C: remove wrong comment
5405 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5408 * rowpainter.C: adjust
5413 * lyxrow_funcs. [Ch]: new files
5415 * lyxrow.[Ch]: remove next and previous pointers
5416 (next,previous): remove accessor functions
5417 (isParEnd): move to lyxrow_funcs
5418 (lastPos): move to lyxrow_funcs
5419 (nextRowIsAllInset): move to lyxrow_funcs
5420 (lastPrintablePos): move to lyxrow_funcs
5421 (numberOfSeparators): move to lyxrow_funcs
5422 (numberOfHfills): move to lyxrow_funcs
5423 (numberOfLabelHfills): move to lyxrow_funcs
5424 (hfillExpansion): move to lyxrow_funcs
5428 * bufferview_funcs.C (toggleAndShow): adjust
5430 * RowList.h: Remove class RowList from file leave just a
5433 * RowList.C: delete file
5435 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5438 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * text3.C (cursorPrevious): adjust
5441 (cursorNext): adjust
5444 * text2.C (redoHeightOfParagraph): adjust
5445 (redoDrawingOfParagraph): adjust
5448 * text.C (breakParagraph): adjust
5449 (insertChar): adjust
5452 * rowpainter.C (RowPainter): adjust
5453 (leftMargin): simplify and adjust
5454 (most rowpainter functions): adjust.
5456 * rowpainter.h: store the row as RowList::iterator not as Row*
5458 * lyxcursor.C (row): taka RowList::iterator as arg
5461 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5464 2003-04-01 Angus Leeming <leeming@lyx.org>
5466 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5467 stuff like bool Bool.
5469 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5471 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5474 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5479 * lyxtext.h (rows): drop one version and leve a const variant that
5480 returns a RowList::iterator.
5482 2003-03-31 Angus Leeming <leeming@lyx.org>
5484 * text.C (fill): ensure that the signature is the same as that in the
5487 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * text2.C (redoParagraphs): adjust
5490 (updateCounters): adjust
5491 (checkParagraph): adjust
5492 (getColumnNearX): adjust and reformat a bit.
5494 * text.C (top_y): adjust
5496 (leftMargin): adjust
5497 (prepareToPrint): adjust
5499 (getRowNearY): adjust
5501 * lyxtext.h: make rowlist_ mutable.
5503 * RowList.h: add const_iterator
5504 * RowList.C: adjust for RowList::const_iterator.
5506 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5509 2003-03-31 John Levon <levon@movementarian.org>
5512 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5514 * lyx_main.C: set default fonts from using lyx_gui funcs
5516 * exporter.C: pdf_mode moved from lyxrc
5519 * lyxfunc.C: changes from above
5521 2003-03-31 John Levon <levon@movementarian.org>
5523 * lyx_main.C: fix to the last fix
5525 2003-03-31 John Levon <levon@movementarian.org>
5527 * bufferlist.C: "Load original" -> "Load Original"
5533 * format.C: more Alert cleanups
5535 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * text2.C (removeParagraph): make it take a RowList::iterator as
5539 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5540 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5542 * text.C (anchor_row): make it take a RowList::iterator as arg,
5544 (computeBidiTables): make it take a const reference to Row instead
5545 of Row pointer, adjust.
5546 (leftMargin): make it take a RowList::iterator as arg, adjust.
5547 (rowBreakPoint): adjust
5548 (breakAgainOneRow): make it take a RowList::iterator as arg,
5550 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5552 * bufferview_funcs.C (toggleAndShow): adjust
5554 2003-03-30 John Levon <levon@movementarian.org>
5558 * boost-inst.C: moved to support
5560 * several files: changes as a result
5562 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * text2.C (LyXText): adjust.
5566 (removeRow): make it take a RowList::iterator as arg, adjust.
5567 (fullRebreak): adjust
5568 (deleteEmptyParagraphMechanism): adjust
5569 (clearPaint): adjust
5572 * text.C (top_y): adjust
5573 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5574 (breakAgain): make it take a RowList::iterator as arg, adjust.
5575 (breakParagraph): adjust
5576 (insertChar): adjust
5579 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5580 need_break_row, and refresh_row.
5582 * text3.C (dispatch): adjust
5584 * text2.C (checkParagraph): adjust
5586 (setCursorFromCoordinates): adjust
5588 * text.C (top_y): adjust
5590 (getRow): make it return a RowList::iterator, adjust
5591 (getRowNearY): make it return a RowList::iterator, adjust
5593 * text2.C (init): adjust
5594 (insertRow): remove function
5595 (insertParagraph): adjust
5596 (redoParagraphs): adjust
5597 (fullRebreak): adjust
5598 (updateCounters): adjust
5600 * text.C (top_y): rewrite to use RowList iterators.
5602 (setHeightOfRow): rewrite to sue RowList iterators.
5603 (appendParagraph): adjust
5604 (breakAgain): adjust
5605 (breakAgainOneRow): adjust
5606 (breakParagraph): adjust
5608 (getRowNearY): adjust, and remove commented code.
5610 * lyxtext.h (firstRow): delete function
5611 (lastRow): delete function
5612 (rows): new function (const and non-const versions.)
5613 (insertRow): delete function
5615 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5617 2003-03-29 John Levon <levon@movementarian.org>
5619 * BufferView_pimpl.C: always update scrollbar top
5620 because pasting text when we're anchored could mean we
5621 miss an update altogether
5623 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * text2.C (init): use rowlist_.end() and not 0.
5626 (insertRow): change to take a RowList::iterator as arg, adjust
5628 (insertParagraph): change to take a RowList::iterator as arg,
5630 (redoParagraphs): remove some debug msgs.
5632 * text.C (appendParagraph): change to take a RowList::iterator
5633 arg, adjust for this.
5634 (breakAgain): add an assert
5635 (breakAgainOneRow): ditto
5637 2003-03-29 John Levon <levon@movementarian.org>
5639 * text2.C: do not clear selection after inc/decDepth
5642 2003-03-29 John Levon <levon@movementarian.org>
5645 * buffer.C: fix broken strerrors according to Lars
5647 2003-03-29 John Levon <levon@movementarian.org>
5649 * converters.C: more Alert cleanups
5651 2003-03-29 John Levon <levon@movementarian.org>
5653 * bufferview_funcs.C: remove pointless Alert
5655 * buffer.C: fix confusing error message when
5656 a template is chmoded 000
5658 2003-03-29 John Levon <levon@movementarian.org>
5662 * BufferView_pimpl.C: Alert fixes
5666 * tabular-old.C: remove unused table compat reading
5668 2003-03-29 John Levon <levon@movementarian.org>
5673 * lyx_cb.C: more Alert cleanups
5675 * lyxfunc.C: don't allow chktex if not latex document
5677 2003-03-29 John Levon <levon@movementarian.org>
5681 * buffer.C: warnings pushed down from support/,
5684 2003-03-29 John Levon <levon@movementarian.org>
5686 * lyxfunc.C: safety check for C-r (revert)
5688 2003-03-29 John Levon <levon@movementarian.org>
5691 * bufferlist.C: several UI fixes using Alert::prompt.
5692 Fix the pointless looping quit code. Fix stupid revert
5697 * lyx_cb.C: use Alert::prompt
5699 * lyx_main.C: remove a silly question
5701 * lyxfunc.C: remove a couple of silly questions,
5704 2003-03-28 John Levon <levon@movementarian.org>
5706 * text2.C: fix bug 974 (End on empty par)
5708 2003-03-28 John Levon <levon@movementarian.org>
5710 * BufferView_pimpl.C:
5712 * lfuns.h: remove do-nothing math greek lfuns
5714 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * lyxgluelength.h (isValidGlueLength): add default arg on
5717 parameter 2. Remove default arg from friend in class.
5719 * lyxlength.h (isValidLength): add default arg on parameter 2.
5720 Remove default arg from friend in class.
5722 * text2.C (LyXText): adjust, initialize refresh_row.
5726 (insertParagraph): adjst
5727 (redoParagraphs): adjust
5728 (fullRebreak): adjust
5729 (updateCounters): adjust
5730 (deleteEmptyParagraphMechanism): first attempt at fixing a
5733 * text.C (top_y): adjust
5734 (setHeightOfRow): adjust
5736 (getRowNearY): adjust
5738 * lyxtext.h: include RowList.h
5739 (~LyXText): not needed anymore, deleted.
5740 (firstRow): modify for RowList
5741 (lastRow): new function
5742 Delete firstrow and lastrow class variables, add a Rowlist
5743 rowlist_ class variable.
5745 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5748 * RowList.C (insert): fix case where it == begin().
5750 2003-03-26 Angus Leeming <leeming@lyx.org>
5752 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5753 the thesaurus dialog.
5755 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5759 * RowList.[Ch]: new files
5761 * ParagraphList.C (erase): handle the case where it == begin
5764 2003-03-25 John Levon <levon@movementarian.org>
5768 * aspell.C: add new aspell support
5771 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5774 2003-03-25 Angus Leeming <leeming@lyx.org>
5777 * LyXAction.C (init): new LFUN_INSET_INSERT.
5779 * BufferView_pimpl.C (dispatch): split out part of the
5780 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5782 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5785 2003-03-25 Angus Leeming <leeming@lyx.org>
5787 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5789 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5792 * text3.C: remove useless row->height(0)
5794 2003-03-25 John Levon <levon@movementarian.org>
5798 * text3.C: rename the refreshing stuff to better names
5800 2003-03-24 John Levon <levon@movementarian.org>
5802 * BufferView_pimpl.h:
5803 * BufferView_pimpl.C: update layout choice on a mouse
5806 2003-03-23 John Levon <levon@movementarian.org>
5808 * Makefile.am: fix commandtags.h reference
5810 2003-03-22 John Levon <levon@movementarian.org>
5812 * BufferView_pimpl.C:
5817 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5819 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5822 * text.C: take the rtl methods out of line
5824 2003-03-21 André Pönitz <poenitz@gmx.net>
5826 * metricsinfo.[Ch]: new files containing structures to be passed around
5827 during the two-phase-drawing...
5829 2003-03-21 André Pönitz <poenitz@gmx.net>
5831 * lyxtextclass.C: read 'environment' tag.
5833 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5835 * text2.C (removeRow): fix bug 964
5837 2003-03-20 John Levon <levon@movementarian.org>
5841 * text2.C: paint cleanups. Inset::update() dropped font
5844 2003-03-19 John Levon <levon@movementarian.org>
5846 * lyxfunc.C: only fitcursor/markDirty if available()
5848 2003-03-19 John Levon <levon@movementarian.org>
5850 * commandtags.h: rename to ...
5852 * lfuns.h: ... this, and renumber / cleanup
5854 2003-03-19 John Levon <levon@movementarian.org>
5856 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5857 fit the cursor after an lfun
5861 * BufferView_pimpl.h:
5862 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5864 * LyXAction.C: layout-character should have ReadOnly
5866 * ParagraphParameters.C:
5868 * bufferview_funcs.C:
5875 * undo_funcs.C: changes from above
5877 2003-03-18 John Levon <levon@movementarian.org>
5879 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5880 remove it from update()
5882 * lyxfunc.C: update layout choice after an lfun
5884 * text3.C: remove extra updateLayoutChoice()s
5886 2003-03-18 John Levon <levon@movementarian.org>
5888 * text.C: top_y change means full repaint, fix
5889 a drawing bug with cursor movement
5891 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5895 * text2.C: anchor row on setCursor
5897 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5899 * lyxtext.h: remove almost all mutable keywords
5902 * text3.C: remove const keywords accordingly
5904 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5906 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5908 (TeXEnvironment): ditto
5911 2003-03-17 John Levon <levon@movementarian.org>
5913 * text.C (rowBreakPoint): remove attempt to fix displayed
5914 math insets inside a manual label
5916 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * lyxtext.h: remove BufferView* as first arg from almost all class
5920 * other files: adjust.
5922 2003-03-17 John Levon <levon@movementarian.org>
5926 * text2.C: more paint cleanups
5928 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5931 * rowpainter.C: remove "smart" background painting code
5933 2003-03-16 John Levon <levon@movementarian.org>
5938 * text3.C: add helper functions for setting refresh_row/y
5940 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5942 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5943 newline inset which *can* get inserted in the pass_thru layouts.
5944 This is primarily for literate documents.
5946 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5948 * buffer.C: increment LYX_FORMAT to 223
5950 2003-03-14 André Pönitz <poenitz@gmx.net>
5952 * textclass.h: prepare for environment handling, ws changes
5953 * lyxlayout.C: read latexheader and latexfooter tags
5955 2003-03-14 John Levon <levon@movementarian.org>
5957 * text2.C: rewrite ::status() a bit
5959 2003-03-13 John Levon <levon@movementarian.org>
5961 * lyxtext.h: add some docs
5963 2003-03-13 John Levon <levon@movementarian.org>
5968 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5970 2003-03-13 John Levon <levon@movementarian.org>
5972 * text3.C: fix appendix redrawing
5974 2003-03-13 John Levon <levon@movementarian.org>
5976 * text.C (setHeightOfRow):
5978 * rowpainter.C: make appendix mark have the text
5979 "Appendix" so the user knows what it is
5982 * LColor.C: s/appendixline/appendix/ from above
5984 2003-03-13 John Levon <levon@movementarian.org>
5986 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5988 * text.C: fix a getChar(pos) bug properly
5990 2003-03-13 Angus Leeming <leeming@lyx.org>
5993 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5994 Probably only temporary. Let's see how things pan out.
5996 * BufferView.C (unlockInset):
5997 * BufferView_pimpl.C (fitCursor):
5998 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6000 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6001 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6003 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6004 new functions that convert ParagraphParameters to and from a string.
6006 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6007 BufferView::Pimpl's dispatch.
6008 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6010 2003-03-13 André Pönitz <poenitz@gmx.net>
6014 * factory.C: make it aware of InsetEnv
6016 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * text2.C (setCursor): never ask for one past last
6019 (setCursor): add some debugging messages.
6021 * text.C (singleWidth): never ask for one past last
6022 (singleWidth): ditto
6024 (rightMargin): ditto
6025 (rowBreakPoint): ditto
6026 (setHeightOfRow): ditto
6027 (prepareToPrint): ditto
6029 * rowpainter.C (paintBackground): never ask for one past last
6030 (paintText): never ask for one past last
6032 * paragraph_pimpl.C (getChar): make the assert stricter, never
6033 allow the one past last pos to be taken
6035 * paragraph.C (getChar): ws changes only
6037 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6038 (numberOfSeparators): ditto
6039 (numberOfHfills): ditto
6041 2003-03-12 John Levon <levon@movementarian.org>
6047 * paragraph_funcs.C: fix per-buffer authorlists
6049 2003-03-12 John Levon <levon@movementarian.org>
6051 * text.C: fix newline in right address
6053 2003-03-12 Angus Leeming <leeming@lyx.org>
6055 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6056 duplicate those in LyXFunc::dispatch.
6060 * ToolbarDefaults.C:
6061 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6062 Add LFUN_FONTFREE_UPDATE.
6064 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6065 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6067 * bufferview_func.[Ch]: several new functions to facilliate
6068 transfer of data to and from the character dialog.
6070 2003-03-12 John Levon <levon@movementarian.org>
6075 * paragraph_funcs.C:
6076 * paragraph_pimpl.C:
6080 * text3.C: remove META_NEWLINE in favour of an inset
6083 * rowpainter.C: remove paintNewline (done by inset)
6085 2003-03-12 John Levon <levon@movementarian.org>
6087 * paragraph_pimpl.C: complain about bad getChar()s
6088 for a while at least
6090 2003-03-12 John Levon <levon@movementarian.org>
6093 * buffer.C: move paragraph read into a separate function,
6094 a little renaming to reflect that.
6097 * bufferparams.C: remove the author_ids map, not necessary now
6100 * factory.C: moved Buffer::readInset to here
6102 * paragraph_funcs.h:
6103 * paragraph_funcs.C: readParagraph free function moved from
6106 * tabular.C: name change
6108 2003-03-12 John Levon <levon@movementarian.org>
6111 * ParagraphParameters.C: move par params input to
6114 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6115 behave like a normal read from the stream wrt reading
6116 a line vs. a \\token
6118 2003-03-12 John Levon <levon@movementarian.org>
6121 * ParagraphParameters.h:
6122 * ParagraphParameters.C: move output code to a
6125 2003-03-12 John Levon <levon@movementarian.org>
6127 * BufferView.C (insertLyXFile):
6130 * tabular.C: use a parlist iterator for creating the
6133 2003-03-12 John Levon <levon@movementarian.org>
6135 * buffer.C: make current_change static local not
6138 2003-03-12 John Levon <levon@movementarian.org>
6140 * buffer.C: fix insertStringAsLines for change tracking
6142 2003-03-12 John Levon <levon@movementarian.org>
6149 * bufferparams.C: move author list into params. Rename some
6150 functions. Move the header reading into a separate token
6151 loop. Move the header token reading into BufferParams.
6153 2003-03-12 John Levon <levon@movementarian.org>
6155 * changes.C: put debug inside lyxerr.debugging() checks
6157 2003-03-11 André Pönitz <poenitz@gmx.net>
6159 * factory.C: make it aware of InsetHFill
6161 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6163 * buffer.C (latexParagraphs): move function from here...
6164 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6167 2003-03-10 Angus Leeming <leeming@lyx.org>
6169 * LyXAction.C (init): fix bug in poplating array with multiple entries
6170 with the same LFUN (spotted by JMarc).
6172 2003-03-10 John Levon <levon@movementarian.org>
6175 * text2.C: move getColumnNearX() near its
6178 2003-03-10 John Levon <levon@movementarian.org>
6180 * text.C: fix break before a minipage
6182 2003-03-10 John Levon <levon@movementarian.org>
6184 * text.C: fix the last commit
6186 2003-03-09 John Levon <levon@movementarian.org>
6190 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6191 bug 365 (don't break before insets unless needed). Don't
6192 return a value > last under any circumstances.
6194 2003-03-09 Angus Leeming <leeming@lyx.org>
6196 * BufferView_pimpl.C (trackChanges, dispatch): call
6197 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6199 2003-03-09 Angus Leeming <leeming@lyx.org>
6201 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6202 than Dialogs::showAboutlyx().
6204 2003-03-09 Angus Leeming <leeming@lyx.org>
6206 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6207 than Dialogs::showTabularCreate().
6209 2003-03-09 John Levon <levon@movementarian.org>
6213 * text2.C: 3rd arg to nextBreakPoint was always the same.
6216 2003-03-08 John Levon <levon@movementarian.org>
6223 * text2.C: Remove the "main" bit from the "main body"
6226 2003-03-08 John Levon <levon@movementarian.org>
6228 * text.C (leftMargin): The left margin of an empty
6229 manual label paragraph should not include the label width
6232 * text.C (prepareToPrint): don't attempt to measure hfills
6233 for empty manual label paragraphs - the answer should be 0
6235 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * CutAndPaste.C: remove commented code and reindent.
6239 2003-03-08 John Levon <levon@movementarian.org>
6242 * lyxfunc.C: move reloadBuffer()
6245 * BufferView.C: to here
6247 * lyxvc.C: add comment
6250 * vc-backend.C: call bv->reload() to avoid
6251 getStatus() check on MENURELOAD
6253 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6255 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6256 to an old format .dep file.
6258 2003-03-07 Angus Leeming <leeming@lyx.org>
6260 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6261 when the LFUN_MOUSE_RELEASE should have been handled by
6262 inset->localDispatch.
6264 2003-03-07 Angus Leeming <leeming@lyx.org>
6266 * BufferView_pimpl.C (dispatch):
6267 * LyXAction.C (init):
6268 * ToolbarDefaults.C (init):
6270 * lyxfunc.C (getStatus):
6271 remove LFUN_INSET_GRAPHICS.
6273 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6275 2003-03-07 Angus Leeming <leeming@lyx.org>
6278 * LyXAction.C (init):
6279 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6281 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6284 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6286 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6287 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6289 2003-03-07 Angus Leeming <leeming@lyx.org>
6291 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6294 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * ParagraphList.C (front): new function
6299 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6301 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6302 and top_row_offset_. removed var first_y.
6304 * text2.C (LyXText, removeRow):
6306 * BufferView_pimpl.C:
6307 use these methods instead of using first_y
6309 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * text2.C (pasteSelection): adjust for checkPastePossible
6313 * CutAndPaste.C: remove Paragraph * buf and replace with
6314 ParagraphList paragraphs.
6315 (DeleteBuffer): delete
6316 (cutSelection): change the tc type to textclass_type
6317 (copySelection): change the tc type to textclass_type
6318 (copySelection): adjust for ParagraphList
6319 (pasteSelection): change the tc type to textclass_type
6320 (pasteSelection): adjust for Paragraphlist
6321 (nrOfParagraphs): simplify for ParagraphList
6322 (checkPastePossible): simplify for ParagraphList
6323 (checkPastePossible): remove unused arg
6325 * ParagraphList.C (insert): handle the case where there are no
6328 * CutAndPaste.h: make CutAndPaste a namespace.
6330 * text3.C (dispatch): adjust
6332 * text.C (breakParagraph): add a ParagraphList as arg
6334 * paragraph_funcs.C (breakParagraph): change to take a
6335 BufferParams and a ParagraphList as args.
6336 (breakParagraphConservative): ditto
6337 (mergeParagraph): ditto
6338 (TeXDeeper): add a ParagraphList arg
6339 (TeXEnvironment): ditto
6342 * buffer.C (readLyXformat2): adjust
6343 (insertStringAsLines): adjust
6344 (latexParagraphs): adjust
6346 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6347 (cutSelection): adjust
6348 (pasteSelection): adjust
6350 * BufferView_pimpl.C (insertInset): adjust
6352 2003-03-05 Angus Leeming <leeming@lyx.org>
6355 * LyXAction.C (init):
6356 * BufferView_pimpl.C (dispatch):
6357 * lyxfunc.C (getStatus):
6358 remove LFUN_CHILD_INSERT.
6360 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6362 2003-03-05 Angus Leeming <leeming@lyx.org>
6365 * LyXAction.C (init):
6366 * src/factory.C (createInset):
6367 * lyxfunc.C (getStatus):
6368 * text3.C (dispatch):
6369 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6371 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6373 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * ParagraphList.C (insert): handle insert right before end()
6376 (erase): fix cases where it can be first or last paragraph.
6378 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6381 Paragraph::next and Paragraph::previous
6384 * text.C (breakParagraph): adjust
6386 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6387 BufferParams& as arg.
6388 (breakParagraph): use ParagraphList::insert
6389 (breakParagraphConservative): take a Buffer* instead of a
6390 BufferParams& as arg.
6391 (breakParagraphConservative): use ParagraphList::insert.
6393 * buffer.C (insertStringAsLines): un-const it
6394 (insertStringAsLines): adjust
6396 * ParagraphList.C (insert): new function
6398 * CutAndPaste.C (pasteSelection): adjust
6400 * text.C (backspace): adjust
6402 * tabular.C (SetMultiColumn): adjust
6404 * CutAndPaste.C (cutSelection): adjust
6405 (pasteSelection): adjust
6407 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6408 Buffer const * as arg
6410 * ParagraphList.C (erase): new function
6411 * paragraph_funcs.C (mergeParagraph): use it
6412 (mergeParagraph): make it take a Buffer* instead of a
6413 BufferParams* as arg
6415 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6417 (breakParagraphConservative): ditto
6419 * paragraph.h: remove the breakParagraph friend
6421 * paragraph.C (eraseIntern): new function
6422 (setChange): new function
6424 * paragraph_funcs.C (mergeParagraph): make it take a
6425 ParagraphList::iterator instead of a Paragraph *, adjust
6428 * paragraph.h: move an #endif so that the change tracking stuff
6429 also works in the NO_NEXT case.
6431 2003-03-04 Angus Leeming <leeming@lyx.org>
6434 * LyXAction.C: new LFUN_INSET_MODIFY.
6436 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6437 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6439 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * several files: ws changes only
6443 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6444 (TeXEnvironment): ditto
6447 * buffer.C (makeLaTeXFile): adjust
6448 (latexParagraphs): make it take ParagraphList::iterator as args
6450 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * buffer.C (latexParagraphs): adjust
6454 * paragraph.C (TeXOnePar): move function...
6455 (optArgInset): move function...
6456 (TeXEnvironment): move function...
6457 * paragraph_pimpl.C (TeXDeeper): move function...
6458 * paragraph_funcs.C: ...here
6460 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6462 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * buffer.C (readInset): remove compability code for old Figure and
6467 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * buffer.C: ws changes
6472 * BufferView_pimpl.C: ditto
6475 * bufferlist.h: ditto
6479 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6481 * converter.[Ch]: split into itself +
6484 * Makefile.am: += graph.[Ch] + format.[Ch]
6491 * lyxrc.C: added #include "format.h"
6493 2003-02-27 Angus Leeming <leeming@lyx.org>
6495 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6498 * factory.C (createInset): add "label" to the factory.
6500 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6501 string and do no more.
6503 2003-02-27 Angus Leeming <leeming@lyx.org>
6506 * LyXAction.C (init):
6507 * factory.C (createInset):
6508 * BufferView_pimpl.C (dispatch):
6509 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6511 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6513 * lyxfunc.C (dispatch):
6514 * text3.C (dispatch): pass name to params2string.
6516 2003-02-26 Angus Leeming <leeming@lyx.org>
6518 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6520 Rearrange the ~includes. Strip out the unnecessary ones.
6522 * factory.C (createInset): reformat.
6523 create new insets for the various LFUN_XYZ_APPLY lfuns.
6525 2003-02-26 John Levon <levon@movementarian.org>
6528 * lyxrow.C: add isParStart,isParEnd helpers
6530 * paragraph.h: make isInserted/DeletedText take refs
6532 * paragraph_funcs.h:
6533 * paragraph_funcs.C: remove #if 0'd code
6538 * text.C: use lyxrow helpers above.
6539 Move draw and paint routines to RowPainter.
6540 Make several methods use refs not pointers.
6541 Make backgroundColor() const.
6542 Add markChangeInDraw(), isInInset().
6543 Merge changeRegionCase into changeCase.
6544 Make workWidth() shouldn't-happen code into an Assert.
6547 * rowpainter.C: new class for painting a row.
6550 * vspace.C: make inPixels take a ref
6552 2003-02-26 Angus Leeming <leeming@lyx.org>
6554 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6557 2003-02-25 John Levon <levon@movementarian.org>
6559 * ispell.C: give the forked command a more accurate name
6561 2003-02-22 John Levon <levon@movementarian.org>
6564 * toc.C: make TocItem store an id not a Paragraph *
6567 2003-02-21 Angus Leeming <leeming@lyx.org>
6569 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6570 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6571 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6572 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6573 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6574 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6576 * BufferView_pimpl.C (dispatch):
6577 * LyXAction.C (init):
6578 * factory.C (createInset):
6579 * lyxfunc.C (getStatus, dispatch):
6580 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6582 2003-02-21 Angus Leeming <leeming@lyx.org>
6584 * BufferView_pimpl.C (MenuInsertLyXFile):
6585 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6586 * lyxfunc.C (menuNew, open, doImport):
6587 no longer pass a LyXView & to fileDlg.
6589 2003-02-21 Angus Leeming <leeming@lyx.org>
6591 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6592 * LyXAction.C: change, BIBKEY to BIBITEM.
6593 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6594 Change InsetBibKey to InsetBibitem.
6595 Change BIBKEY_CODE to BIBITEM_CODE.
6596 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6597 * factory.C: replace insetbib.h with insetbibitem.h.
6598 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6599 * paragraph.C: replace insetbib.h with insetbibitem.h.
6600 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6601 Change bibkey() to bibitem().
6602 * text.C: remove insetbib.h.
6603 * text2.C: replace insetbib.h with insetbibitem.h.
6604 change bibkey() to bibitem().
6605 * text3.C: remove insetbib.h.
6606 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6608 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6610 * lyxrc.C (output): enclose user email in quotes (in case there are
6613 2003-02-18 John Levon <levon@movementarian.org>
6615 * buffer.h: add std::
6617 2003-02-17 John Levon <levon@movementarian.org>
6623 * pspell.C: reworking. Especially in ispell, a large
6624 number of clean ups and bug fixes.
6626 * lyxfunc.C: fix revert to behave sensibly
6628 2003-02-17 André Pönitz <poenitz@gmx.net>
6631 * commandtags.h: new LFUN_INSERT_BIBKEY
6641 * paragraph_func.C: remove special bibkey handling
6643 2003-02-17 John Levon <levon@movementarian.org>
6645 * text.C (Delete): fix case where delete at the end of
6646 the very first paragraph would not merge the pars
6648 2003-02-17 John Levon <levon@movementarian.org>
6650 * lyxrow.C: fix lastPrintablePos()
6652 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6654 * bufferparams.C (writeLaTeX): add a std:here
6656 * buffer.C: and remove a using directive there
6658 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6660 * buffer.C (makeLaTeXFile): move the code that generates the
6663 * bufferparams.C (writeLaTeX): ... in this new method
6665 * LaTeXFeatures.C (getEncodingSet): make const
6666 (getLanguages): make const
6668 * MenuBackend.C (binding): returns the binding associated to this
6670 (add): sets the status of each item by calling getStatus. Adds
6672 (read): add support for OptSubMenu
6673 (expand): remove extra separator at the end of expanded menu
6675 2003-02-15 John Levon <levon@movementarian.org>
6678 * BufferView_pimpl.C:
6680 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6681 inset code that had no actual effect. Remove unneeded status
6684 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6686 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6689 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6691 * text.C (drawLengthMarker): also draw an arrow marker for
6692 symbolic lengths (medskip...)
6694 2003-02-14 John Levon <levon@movementarian.org>
6697 * tabular.C: better method names
6699 2003-02-14 John Levon <levon@movementarian.org>
6701 * BufferView_pimpl.C:
6706 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6707 it's a more accurate name. Remove some pointless uses.
6709 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * text2.C (LyXText): change order of initilizers to shut off
6714 2003-02-14 John Levon <levon@movementarian.org>
6716 * buffer.C: use ParIterator for getParFromID()
6720 * paragraph_pimpl.h:
6721 * paragraph_pimpl.C: remove unused getParFromID()
6723 2003-02-14 John Levon <levon@movementarian.org>
6725 * buffer.C: remove some very old #if 0'd parse code
6727 2003-02-13 John Levon <levon@movementarian.org>
6731 * text2.C: move hfillExpansion(), numberOfSeparators(),
6732 rowLast(), rowLastPrintable(), numberofHfills(),
6733 numberOfLabelHfills() ...
6736 * lyxrow.C: ... to member functions here.
6741 * text.C: remove LyXText::beginningOfMainBody(), and call
6742 p->beginningOfMainBody() directly. Move the check for
6743 LABEL_MANUAL into the latter.
6750 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6756 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6757 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6759 2003-02-13 John Levon <levon@movementarian.org>
6761 * CutAndPaste.C: remove debug
6763 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6765 * paragraph.C (asString): remove two unused variables
6767 * lyxtextclass.C (readTitleType):
6769 (LyXTextClass): handle new members titletype_ and titlename_
6771 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6773 2003-02-09 John Levon <levon@movementarian.org>
6776 * buffer.C: replace hand-coded list with a map for the dep clean
6778 2003-02-08 John Levon <levon@movementarian.org>
6780 * LaTeX.C: consolidate code into showRunMessage() helper
6782 2003-02-08 John Levon <levon@movementarian.org>
6787 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6788 and pass the size in explicitly
6790 * BufferView_pimpl.h:
6791 * BufferView_pimpl.C:
6793 * BufferView.C: add getCurrentChange()
6795 * BufferView_pimpl.h:
6796 * BufferView_pimpl.C: handle change lfuns
6798 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6799 for changes. Mark pasted paragraphs as new.
6801 * support/lyxtime.h:
6802 * support/lyxtime.C:
6803 * DepTable.C: abstract time_t as lyx::time_type
6806 * LColor.C: add colours for new text, deleted text, changebars
6808 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6809 package use "usenames" option.
6813 * LyXAction.C: add change lfuns
6817 * author.C: author handling
6820 * buffer.C: add a per-buffer author list, with first entry as
6821 current author. Handle new .lyx tokens for change tracking. Output
6822 author list to .lyx file. Output dvipost stuff to .tex preamble.
6823 Bump lyx format to 222.
6826 * bufferlist.C: add setCurrentAuthor() to reset current author details
6830 * bufferparams.C: add param for tracking
6832 * bufferview_funcs.C: output change info in minibuffer
6836 * changes.C: add change-tracking structure
6839 * debug.C: add CHANGES debug flag
6842 * lyxfind.C: add code for finding the next change piece
6845 * lyxrc.C: add user_name and user_email
6848 * lyxrow.C: add a metric for the top of the text line
6851 * text.C: implement accept/rejectChange()
6854 * text.C: paint changebars. Paint new/deleted text in the chosen
6855 colours. Strike through deleted text.
6859 * paragraph_pimpl.h:
6860 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6861 in the current change to the insert functions. Rework erase to
6862 mark text as deleted, adding an eraseIntern() and a range-based
6863 erase(). Implement per-paragraph change lookup and
6866 * paragraph_funcs.C: Fixup paste for change tracking.
6868 * tabular.C: mark added row/columns as new.
6870 * text.C: fix rowLast() to never return -1. Don't allow
6871 spellchecking of deleted text. Track transpose changes. Don't
6872 allow paragraph break or merge where appropriate.
6874 * text2.C: leave cursor at end of selection after a cut.
6876 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * text.C (getLengthMarkerHeight):
6879 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6880 visible on screen too.
6882 2003-02-07 John Levon <levon@movementarian.org>
6884 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6886 2003-02-05 Angus Leeming <leeming@lyx.org>
6888 * lyxserver.C (read_ready): revert my patch of 11 September last year
6889 as it sends PC cpu through the roof. Presumably this means that
6890 the lyxserver will no longer run on an Alpha...
6892 2003-01-30 Angus Leeming <leeming@lyx.org>
6894 * factory.C (createInset): create an InsetCommandParam of type "index"
6895 and use it to 'do the right thing'.
6897 * text2.C (getStringToIndex): ensure that cursor position is always
6898 reset to the reset_cursor position.
6900 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6905 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6909 * lyxfunc.C: Output messages with identical spelling, punctuation,
6912 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6914 * MenuBackend.C (expandFormats): List only viewable export formats
6917 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6920 * lyxfunc.C (getStatus): Make sure that formats other than
6921 "fax" can also be disabled
6923 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6925 * text3.C (dispatch): put the lfuns that insert insets in 3
6926 groups, and call doInsertInset with appropriate arguments.
6927 (doInsertInset): new function, that creates an inset and inserts
6928 it according to some boolean parameters.
6930 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6932 * buffer.C (readFile): remember to pass on 'par' when calling
6933 readFile recursively.
6935 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6937 * MenuBackend.C (expandFormats): add "..." to import formats.
6939 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6941 * paragraph.C (asString): Remove XForms RTL hacks.
6943 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6944 * buffer.C: fix typo
6946 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6948 * Makefile.am (LIBS): delete var
6949 (lyx_LDADD): add @LIBS@ here instead.
6951 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6953 * Clarify the meaning of "wheel mouse jump"
6955 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6957 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6960 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * importer.C (Loaders): do not preallocate 3 elements in the
6963 vector, since one ends up with 6 elements otherwise
6965 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6967 * DepTable.C (write): write the file name as last element of the
6968 .dep file (because it may contain spaces)
6969 (read): read info in the right order
6971 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * paragraph_pimpl.C (simpleTeXBlanks):
6974 (simpleTeXSpecialChars):
6975 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6977 * tabular.C (latex): add some missing case statements. Reindent.
6979 * MenuBackend.C (expandToc): remove unused variable.
6981 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6990 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6993 2003-01-05 John Levon <levon@movementarian.org>
6996 * BufferView.C: add getEncoding()
6999 * kbsequence.C: do not store last keypress
7002 * lyxfunc.C: store last keypress here instead. Pass encoding
7005 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7007 * lyx_main.C (init): remove annoying error message when following
7008 symbolic links (bug #780)
7010 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7012 * text.C (insertChar):
7013 * lyxrc.C (getDescription): remove extra spaces
7015 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7017 * lyxrc.C (getDescription): remove extra spaces
7019 2002-12-20 John Levon <levon@movementarian.org>
7021 * text3.C: hack fix for page up/down across tall rows
7023 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7028 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7031 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7032 thesaurus is not compiled in
7034 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7036 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7038 2002-12-16 Angus Leeming <leeming@lyx.org>
7041 * lyx_main.C (init): remove override_x_deadkeys stuff.
7043 2002-12-12 John Levon <levon@movementarian.org>
7045 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7046 insert. Only remove shift modifier under strict
7049 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * MenuBackend.C (expandToc): fix crash.
7053 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * MenuBackend.C (expandToc): gettext on float names.
7057 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7059 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7060 implement bool empty() [bug 490]
7062 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7064 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7066 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * several files: ws changes
7070 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * text2.C (setCounter): clean up a bit, use boost.format.
7073 (updateCounters): initialize par upon declaration.
7075 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7076 if the layout exists. We do not just store the layout any more.
7077 (SwitchLayoutsBetweenClasses): use boost.format
7079 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * converter.C (convert): if from and to files are the same, use a
7082 temporary files as intermediary
7084 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7087 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7089 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7091 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7093 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7095 * tabular.C (asciiPrintCell): use string(size, char) instead of
7098 * sgml.C (openTag): fix order of arguments to string constructor
7101 * lyxfunc.C (dispatch): use boost.format
7103 * lots of files: change "c" -> 'c'
7105 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7107 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7109 2002-11-25 Angus Leeming <leeming@lyx.org>
7111 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7113 * lyx_main.C (init): compile fix.
7115 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * lyx_cb.C (start): boost.formatify
7118 do not include <iostream>
7120 * lengthcommon.C: ws only
7122 * boost-inst.C,BoostFormat.h: add more explict instantations
7124 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7126 * lots of files: handle USE_BOOST_FORMAT
7128 2002-11-21 John Levon <levon@movementarian.org>
7130 * pspell.C: fix compile
7132 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7134 * lyxfunc.C (dispatch): use boost::format
7138 * lyxfont.C (stateText): use boost::format
7140 * lyx_main.C (LyX): use boost::format
7142 (queryUserLyXDir): ditto
7145 (typedef boost::function): use the recommened syntax.
7147 * importer.C (Import): use boost::format
7149 * debug.C (showLevel): use boost::format
7151 * converter.C (view): use boost::format
7156 * bufferview_funcs.C (currentState): use boost::format
7158 * bufferlist.C (emergencyWrite): use boost::format
7160 * buffer.C (readLyXformat2): use boost::format
7161 (parseSingleLyXformat2Token): ditto
7163 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7165 * LaTeX.C (run): use boost::format
7167 * Chktex.C (scanLogFile): use boost::format
7169 * BufferView_pimpl.C (savePosition): use boost::format
7170 (restorePosition): ditto
7171 (MenuInsertLyXFile): ditto
7173 * BoostFormat.h: help file for explicit instation.
7175 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7177 * tabular.C (latex): Support for block alignment in fixed width
7180 2002-11-17 John Levon <levon@movementarian.org>
7182 * BufferView_pimpl.C:
7184 * lyxfunc.C: split filedialog into open/save
7186 2002-11-08 Juergen Vigna <jug@sad.it>
7188 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7189 by my last patch (hopefully).
7191 2002-11-08 John Levon <levon@movementarian.org>
7200 * toc.C: ParConstIterator, and use it (from Lars)
7202 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7204 * lyxtextclass.[Ch]: revise and add doxygen comments
7206 2002-11-07 John Levon <levon@movementarian.org>
7208 * text.C: fix progress value for spellchecker
7210 * toc.C: fix navigate menu for insetwrap inside minipage
7212 * paragraph_funcs.C: added FIXME for suspect code
7214 2002-11-07 John Levon <levon@movementarian.org>
7216 * BufferView_pimpl.C: fix redrawing of insets
7219 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7221 * text2.C (updateCounters): fix bug 668
7223 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7225 * text3.C (dispatch): Do not make the buffer dirty when moving the
7228 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * vc-backend.C: STRCONV
7233 * text2.C (setCounter): STRCONV
7235 * paragraph.C (asString): STRCONV
7237 * lyxlength.C (asString): STRCONV
7238 (asLatexString): ditto
7240 * lyxgluelength.C (asString): STRCONV
7241 (asLatexString): ditto
7243 * lyxfunc.C (dispatch): STRCONV
7246 * lyxfont.C (stateText): STRCONV
7248 * importer.C (Import): STRCONV
7250 * counters.C (labelItem): STRCONV
7251 (numberLabel): ditto
7252 (numberLabel): remove unused ostringstream o
7257 * bufferview_funcs.C (currentState): STRCONV
7259 * buffer.C (readFile): STRCONV
7260 (asciiParagraph): ditto
7261 (makeLaTeXFile): ditto
7263 * Spacing.C (writeEnvirBegin): STRCONV
7265 * LaTeXFeatures.C (getLanguages): STRCONV
7266 (getPackages): ditto
7268 (getBabelOptions): ditto
7269 (getTClassPreamble): ditto
7270 (getLyXSGMLEntities): ditto
7271 (getIncludedFiles): ditto
7275 (scanAuxFile): ditto
7278 * LString.h: add the STRCONV macros
7280 * BufferView_pimpl.C (savePosition): STRCONV
7281 (restorePosition): ditto
7282 (MenuInsertLyXFile): ditto
7284 * vc-backend.C (scanMaster): change from submatch[...] to
7287 * funcrequest.C: include config.h
7289 * factory.C: include config.h
7291 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7293 * box.C: include config.h
7295 * LaTeX.C (scanAuxFile): change from submatch[...] to
7299 2002-10-25 Angus Leeming <leeming@lyx.org>
7301 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7303 * ispell.[Ch] (setError): new method.
7304 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7305 Use setError() insetead of goto END.
7307 * lyx_cb.C (AutoSave): move out child process into new class
7310 2002-10-30 John Levon <levon@movementarian.org>
7312 * text3.C: make start appendix undoable
7314 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7316 * lyxlength.C (inPixels): Fix returned value.
7318 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7321 2002-10-24 Angus Leeming <leeming@lyx.org>
7323 * lyxgluelength.h: no need to forward declare BufferParams
7324 or BufferView, so don't.
7326 2002-10-21 John Levon <levon@movementarian.org>
7328 * BufferView.C: menuUndo ->undo, redo
7330 * BufferView.h: document, remove dead, make some methods private
7332 * paragraph_funcs.h:
7333 * paragraph_funcs.C:
7334 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7339 * sgml.C: move sgml open/close tag into sgml.C
7341 * bufferview_funcs.h: unused prototype
7344 * lyxfunc.C: remove unused
7347 * text.C: remove unused
7349 2002-10-21 John Levon <levon@movementarian.org>
7353 * BufferView_pimpl.h:
7354 * BufferView_pimpl.C: fix mouse wheel handling based on
7355 patch from Darren Freeman
7357 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7359 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7361 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7363 * lyxlength.C (inPixels): Fix hanfling of negative length.
7364 Fix LyXLength::MU case.
7366 2002-10-16 John Levon <levon@movementarian.org>
7368 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7370 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7372 * converter.C (view): add support for $$i (file name) and $$p
7373 (file path) for the viewer command. If $$i is not specified, then
7374 it is appended to the command (for compatibility with old syntax)
7376 2002-10-14 Juergen Vigna <jug@sad.it>
7378 * undo_funcs.C (textHandleUndo): alter the order in which the
7379 new undopar is added to the LyXText, as we have to set first
7380 the right prev/next and then add it as otherwise the rebuild of
7381 LyXText is not correct. Also reset the cursor to the right paragraph,
7382 with this IMO we could remove the hack in "redoParagraphs()".
7384 2002-10-09 Angus Leeming <leeming@lyx.org>
7386 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7387 to turn off an optimisation if a new inset is to be inserted.
7389 2002-10-11 André Pönitz <poenitz@gmx.net>
7391 * lyxtext.h: make some functions public to allow access
7392 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7394 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7396 * text3.C (dispatch): when changing layout, avoid an infinite loop
7399 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7401 * lyxrc.C (read): treat a viewer or converter command of "none" as
7404 * MenuBackend.C (expandFormats): for an update, also allow the
7405 formats that are not viewable
7407 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7408 script if it is newer than the lyxrc.defaults in user directory
7410 2002-10-07 André Pönitz <poenitz@gmx.net>
7412 * text.C: Vitaly Lipatov's small i18n fix
7414 2002-09-25 Angus Leeming <leeming@lyx.org>
7416 * ispell.h: doxygen fix.
7418 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7420 * buffer.h (readFile): Add a new argument to the method, to allow
7421 reading of old-format templates.
7423 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7425 * toc.C (getTocList): Get TOC from InsetWrap.
7427 2002-09-16 John Levon <levon@movementarian.org>
7429 * lyxfunc.C: check tabular for cut/copy too
7431 2002-09-12 John Levon <levon@movementarian.org>
7436 * factory.C: add header
7438 * paragraph_funcs.h:
7439 * paragraph_funcs.C: cleanup
7441 2002-09-11 John Levon <levon@movementarian.org>
7443 * PrinterParams.h: odd/even default to true
7445 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7447 * PrinterParams.h: update printer parameters for new xforms dialog
7449 2002-09-11 Angus Leeming <leeming@lyx.org>
7451 * lyxserver.C (read_ready): re-write to make it more transparent
7452 and to make it work in coherent fashion under Tru64 Unix.
7454 2002-09-11 André Pönitz <poenitz@gmx.net>
7458 * text3.C: implement LFUN_WORDSEL
7460 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7463 make floatlist_ a boost::shared_ptr<FloatList>
7465 * lyxtextclass.C: include FloatList.h
7466 (LyXTextClass): initialize floatlist_
7467 (TextClassTags): add TC_NOFLOAT
7468 (Read): match "nofloat" to TC_NOFLOAT and use it.
7469 (readFloat): modify call to floatlist_
7473 * FloatList.[Ch] (FloatList): remove commented out float
7475 (erase): new function
7477 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7479 * MenuBackend.C (expandToc): fix crash when there is no document
7482 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7484 * many files: Add insetwrap.
7486 2002-09-09 John Levon <levon@movementarian.org>
7488 * text2.C: remove confusing and awkward depth wraparound
7490 2002-09-09 John Levon <levon@movementarian.org>
7492 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7495 * buffer.C: remove getIncludeonlyList()
7498 * lyxfunc.C: remove headers
7500 2002-09-09 Juergen Vigna <jug@sad.it>
7502 * text.C (getColumnNearX): fix form Michael this is most
7503 probably a cut&paste bug.
7505 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7509 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7510 references, ws changes.
7512 * text2.C (init): update counters after init
7513 (insertParagraph): no need to set counter on idividual paragraphs.
7514 (setCounter): access the counters object in the textclass object
7515 on in the buffer object.
7516 (updateCounters): ditto
7518 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7519 shared_ptr<Counters> to avoid loading counters.h in all
7521 (LyXTextClass): initialize ctrs_
7522 (TextClassTags): add TC_COUNTER, and ...
7523 (Read): use it here.
7524 (CounterTags): new tags
7525 (readCounter): new function
7526 (counters): new funtion
7527 (defaultLayoutName): return a const reference
7529 * counters.C (Counters): remove contructor
7530 (newCounter): remove a couple of unneeded statements.
7531 (newCounter): simplify a bit.
7532 (numberLabel): some small formatting changes.
7534 * buffer.[Ch]: remove all traces of counters, move the Counters
7535 object to the LyXTextClass.
7537 2002-09-06 Alain Castera <castera@in2p3.fr>
7539 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7540 package to set the horizontal alignment on fixed width columns.
7543 * lyx_sty.h: added tabularnewline macro def.
7545 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7547 2002-09-06 John Levon <levon@movementarian.org>
7549 * LyXAction.C: tooltips for sub/superscript
7551 * MenuBackend.C: a bit more verbose
7553 * lyxfunc.C: tiny clean
7555 * undo_funcs.C: document undo_frozen
7557 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7559 * counters.C (Counters): add missing algorithm counter.
7561 * text2.C (setCounter): lookup the counter with layouts latexname
7562 instead of by section number.
7563 (setCounter): use a hackish way to lookup the correct enum
7565 a float name->type change
7566 reset enum couners with counter name directly instead of depth value.
7568 * counters.C (Counters): remove the push_backs, change to use the
7569 float type not the float name.
7570 (labelItem): remove unused string, float name->type change
7572 * counters.h: don't include vector, loose the enums and sects vectors
7574 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7577 (Read): add float->TC_FLOAT to textclassTags
7578 (Read): and handle it in the switch
7579 (readFloat): new function
7581 * FloatList.C (FloatList): comment out the hardcoded float
7584 * lyxlayout.h: ws change.
7586 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7588 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7590 2002-09-03 Angus Leeming <leeming@lyx.org>
7592 * BufferView_pimpl.h: qualified name is not allowed in member
7593 declaration: WorkArea & Pimpl::workarea() const;
7595 * factory.C: added using std::endl directive.
7597 * text3.C: added using std::find and std::vector directives.
7599 2002-08-29 André Pönitz <poenitz@gmx.net>
7602 * text2.C: remove unused member number_of_rows
7605 * BufferView2.C: remove file, move contents to...
7606 * BufferView.C: ... here
7608 * BufferView_pimpl.C:
7609 * factory.C: move more inset creation to factory
7611 * vspace.C: avoid direct usage of LyXText, ws changes
7614 don't provide direct access to WorkArea, use two simple
7615 acessors haveSelction() and workHeight() instead
7618 2002-08-29 John Levon <levon@movementarian.org>
7620 * BufferView_pimpl.C (dispatch): do not continue when
7623 2002-08-28 André Pönitz <poenitz@gmx.net>
7625 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7628 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7630 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7632 * buffer.C: increment LYX_FORMAT to 221
7634 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7635 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7637 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7639 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7641 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7643 * factory.C (createInset): use LyXTextClass::floats
7645 * MenuBackend.C (expandFloatListInsert):
7646 (expandFloatInsert):
7649 * text2.C (setCounter):
7651 * LaTeXFeatures.C (useFloat):
7652 (getFloatDefinitions):
7654 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7656 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7657 floatlist_, with accessor floats().
7659 * FloatList.h: remove global FloatList
7661 2002-08-26 André Pönitz <poenitz@gmx.net>
7663 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7667 * BufferView_pimpl.C:
7668 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7670 2002-08-25 John Levon <levon@movementarian.org>
7672 * LyXAction.C: fix margin note description
7674 2002-08-24 John Levon <levon@movementarian.org>
7678 * bufferview_funcs.C:
7680 * undo_funcs.C: cleanups
7682 * lyxfunc.C: disable CUT/COPY when no selection
7684 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7686 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7687 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7689 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7690 Add backward compatibility to "mono", "gray" and "no".
7692 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7694 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7695 (and file_format >= 200).
7697 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7699 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7701 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7705 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7707 * BufferView_pimpl.C:
7714 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7715 inset and code to make it work with the paragraph code. The inset
7716 can be anywhere in the paragraph, but will only do the expected
7717 thing in LaTeX if the layout file contains the parameter line
7719 (or more generally, a nonzero value) for that layout.
7721 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * paragraph.h: remove the declaration of undefined counters class
7726 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7728 * text2.C (setCounter): fixed enumeration mis-count as reported by
7729 Dr. Richard Hawkins.
7731 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7733 * paragraph_funcs.h: remove some unneeded includes
7735 * text.C (backspace): pasteParagraph now in global scipe
7737 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7738 (pasteSelection): ditto
7740 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7741 * paragraph_funcs.C (pasteParagraph): ... here
7743 2002-08-20 André Pönitz <poenitz@gmx.net>
7745 * commandtags.h: new LFUNs for swapping/copying table row/colums
7748 * lyxfunc.C: support for new lfuns
7750 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * buffer.[Ch]: remove NO_COMPABILITY stuff
7755 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * boost.C (throw_exception): new file, with helper function for
7758 boost compiled without exceptions.
7763 * ParameterStruct.h:
7764 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7766 * bufferlist.C (emergencyWriteAll): use boost bind
7768 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7770 * text.C: include paragraph_funcs.h
7771 (breakParagraph): breakParagraph is now in global scope
7773 * paragraph_funcs.[Ch]: new files
7775 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7778 * buffer.C: include paragraph_funcs.h
7779 (insertStringAsLines): breakParagraph is now in global scope
7781 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7784 * CutAndPaste.C: include paragraph_funcs.h
7785 (cutSelection): breakParagraphConservative is now in global scope
7786 (pasteSelection): ditto
7788 * buffer.h: declare oprator== and operator!= for
7789 Buffer::inset_iterator
7791 * bufferlist.C (emergencyWrite): don't use fmt(...)
7793 * text3.C: add using std::endl
7795 * BufferView.C (moveCursorUpdate): remove default arg
7797 2002-08-20 André Pönitz <poenitz@gmx.net>
7799 * buffer.[Ch]: move inline functions to .C
7802 * BufferView_pimpl.C:
7804 * buffer.[Ch]: use improved inset_iterator
7807 * paragraph.[Ch]: write one paragraph at a time
7809 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7811 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7812 style if style is not specified.
7814 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7816 * text2.C (setCounter): when searching for right label for a
7817 caption, make sure to recurse to parent insets (so that a caption
7818 in a minipage in a figure float works) (bug #568)
7820 2002-08-20 André Pönitz <poenitz@gmx.net>
7822 * text3.C: new file for LyXText::dispatch() and helpers
7824 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7826 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7828 2002-08-19 André Pönitz <poenitz@gmx.net>
7831 * text.C: new LyXText::dispatch()
7833 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7835 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7837 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7839 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7842 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * Makefile.am: use $(variables) instead of @substitutions@
7846 2002-08-15 André Pönitz <poenitz@gmx.net>
7849 * BufferView_pimpl.C: streamlining mathed <-> outer world
7853 * LyXAction.C: remove unused LFUN_MATH
7855 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7859 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * paragraph.C (Paragraph): reformat a bit
7862 (cutIntoMinibuffer): use builtin InsetList function instad of
7866 * buffer.C: include boost/bind.hpp, add using std::for_each
7867 (writeFileAscii): use ParagraphList iterators
7868 (validate): use for_each for validate traversal of paragraphs
7869 (getBibkeyList): use ParagraphList iterators
7870 (resizeInsets): use for_each to resizeInsetsLyXText for all
7872 (getParFromID): use ParagraphList iterators
7874 * BufferView2.C (lockInset): use paragraph list and iterators
7876 2002-08-14 John Levon <levon@movementarian.org>
7878 * lyxserver.C: remove spurious xforms include
7880 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7882 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7884 2002-08-13 André Pönitz <poenitz@gmx.net>
7887 * lyxfunc.C: further cleaning
7889 2002-08-13 André Pönitz <poenitz@gmx.net>
7891 * funcrequest.h: new constructor
7893 * funcrequest.C: move stuff here from .h
7896 * BufferView_pimpl.C:
7899 * lyxfunc.C: subsequent changes
7901 * lyxfunc.h: new view() member function
7903 * lyxfunc.C: subsequent changes
7905 2002-08-13 Angus Leeming <leeming@lyx.org>
7908 * BufferView_pimpl.C:
7916 changes due to the changed LyXView interface that now returns references
7917 to member variables not pointers.
7919 2002-08-13 Angus Leeming <leeming@lyx.org>
7921 * WordLangTuple (word, lang_code): return references to strings,
7926 * lyxtext.h: forward-declare WordLangTuple.
7931 * text.C: #include "WordLangTuple.h".
7934 * text.C: (selectNextWordToSpellcheck): constify return type.
7936 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7942 * paragraph_pimpl.h:
7945 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7947 Made updateCounter always count from start of buffer, and removed
7948 second argument (par).
7949 Reverted floats number display to '#'. Perhaps I'll try again when the
7950 code base is sanitized a bit.
7952 2002-08-12 Angus Leeming <leeming@lyx.org>
7954 * buffer.[Ch] (getLabelList): constify.
7956 2002-08-07 André Pönitz <poenitz@gmx.net>
7958 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7960 * funcrequest.h: extension to keep mouse (x,y) position
7962 2002-08-12 Juergen Vigna <jug@sad.it>
7964 * BufferView2.C (insertErrors): forbid undo when inserting error
7967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7969 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * ParagraphList.[Ch]: new files
7973 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7975 * BufferView2.C (lockInset): ParagraphList changes
7978 * bufferlist.C: ditto
7982 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7984 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7985 unused class variable counter_,
7987 * paragraph.[Ch] (getFirstCounter): delete unused function
7989 * counters.C: include LAssert.h
7990 (reset): add a new function with no arg, change other version to
7991 not have def. arg and to not allow empty arg.
7993 * text2.C (setCounter): remove empty arg from call to Counters::reset
7995 2002-08-11 John Levon <levon@movementarian.org>
7997 * Makefile.am: add WordLangTuple.h
7999 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8001 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8002 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8004 * insets/insettext.C: InsetList changes
8006 * graphics/GraphicsSupport.C (operator()): InsetList changes
8008 * toc.C (getTocList): InsetList changes
8010 * paragraph_pimpl.[Ch]: InsetList changes
8012 * paragraph.[Ch]: InsetList changes
8014 * buffer.C (inset_iterator): InsetList changes
8015 (setParagraph): ditto
8016 * buffer.h (inset_iterator): ditto
8017 * iterators.C (operator++): ditto
8018 * iterators.h: ditto
8020 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8022 * InsetList.[Ch]: new files, most InsetList handling moved out of
8025 * BufferView2.C (removeAutoInsets): InsetList changes
8027 (ChangeInsets): ditto
8029 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8031 * paragraph_pimpl.h (empty): new function
8033 * paragraph.[Ch] (empty): new function
8035 * other files: use the new Paragraph::empty function
8037 2002-08-09 John Levon <levon@movementarian.org>
8039 * lyxtext.h: remove unused refresh_height
8041 2002-08-09 John Levon <levon@movementarian.org>
8048 * paragraph.C: move sgml char escaping out of paragraph
8051 * paragraph.C: remove id setter
8055 * paragraph_pimpl.C: remove dead tex_code_break_column
8057 * bufferview_funcs.C: small cleanup
8059 * lyxfunc.C: remove dead proto
8061 * lyxtext.h: make some stuff private. Remove some dead stuff.
8063 * lyxgluelength.C: make as[LyX]String() readable
8065 2002-08-08 John Levon <levon@movementarian.org>
8070 * ToolbarDefaults.C:
8073 * toc.C: lyxaction cleanup
8075 2002-08-08 John Levon <levon@movementarian.org>
8077 * BufferView2.C: small cleanup
8080 * lyxfind.C: move unnecessary header into the .C
8082 2002-08-08 John Levon <levon@movementarian.org>
8084 * funcrequest.h: just tedious nonsense
8087 * lyx_main.C: cleanups
8090 * vspace.C: remove dead header lyx_main.h
8092 2002-08-07 Angus Leeming <leeming@lyx.org>
8095 * paragraph_pimpl.h:
8096 Forward declare class Counters in paragraph.h by moving the ctrs member
8097 variable into Paragraph::Pimpl.
8098 (counters): new method, returning a reference to pimpl_->ctrs.
8100 * text2.C: ensuing changes.
8102 2002-08-07 John Levon <levon@movementarian.org>
8104 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8106 * BufferView_pimpl.C: announce X selection on double/triple
8109 * lyx_main.C: use correct bool in batch dispatch
8111 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8113 2002-08-07 André Pönitz <poenitz@gmx.net>
8115 * funcrequest.h: new class to wrap a kb_action and its argument
8118 * BufferView_pimpl[Ch]:
8122 * lyxrc.C: subsequent changes
8125 2002-08-07 John Levon <levon@movementarian.org>
8127 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8128 document options change.
8130 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8135 * makefile.am: move counters functionality over from
8136 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8138 2002-08-06 John Levon <levon@movementarian.org>
8140 * WordLangTuple.h: new file for word + language code tuple
8151 * BufferView2.C: use WordLangTuple
8154 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8156 2002-08-06 John Levon <levon@movementarian.org>
8158 * lyx_main.C: fix cmdline batch handling
8160 2002-08-06 André Pönitz <poenitz@gmx.net>
8162 * lyxrc.C: set default for show_banner to true
8164 2002-08-06 John Levon <levon@movementarian.org>
8166 * pspell.C: fix a crash, and allow new aspell to work
8168 2002-08-06 John Levon <levon@movementarian.org>
8171 * kbmap.C: small cleanup
8174 * vspace.C: add const
8176 2002-08-05 John Levon <levon@movementarian.org>
8178 * LyXAction.C: back to tabular-insert
8180 2002-08-04 John Levon <levon@movementarian.org>
8183 * BufferView.C: cosmetic change
8185 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8195 * BufferView2.C: purge all "Lyx" not "LyX" strings
8198 * lyxcursor.C: attempt to add some documentation
8203 * ToolbarDefaults.C:
8204 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8205 merge with LFUN_TABULAR_INSERT
8212 * pspell.C: split up i/pspell implementations into separate
8213 files, many cleanups
8215 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8217 * text2.C: some cleanup
8219 * lyxfunc.C: don't check for isp_command == "none" any more, it
8220 didn't make any sense
8222 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8227 * makefile.am: move counters functionality over
8228 from text2.C/paragraph.[Ch] to counters.[Ch], and
8230 2002-08-02 John Levon <levon@movementarian.org>
8232 * buffer.C: s/lyxconvert/lyx2lyx/
8234 2002-08-02 Angus Leeming <leeming@lyx.org>
8236 * lyxlex.C: revert John's change as it breaks reading of the user
8239 2002-08-02 Angus Leeming <leeming@lyx.org>
8241 * importer.C (Import):
8242 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8243 changes due to LyXView::view() now returning a boost::shared_ptr.
8245 2002-08-02 John Levon <levon@movementarian.org>
8247 * lyxlex.C: small cleanup
8249 2002-08-02 John Levon <levon@movementarian.org>
8251 * text2.C (status): small cleanup, no logic change
8253 2002-08-01 John Levon <levon@movementarian.org>
8256 * buffer.C (writeFile): don't output alerts, caller
8260 * lyx_cb.C: from above
8262 * lyxfunc.C: allow to open non-existent files
8264 2002-07-31 John Levon <levon@movementarian.org>
8266 * lyxserver.C: don't let incidental errors get
8269 2002-07-30 John Levon <levon@movementarian.org>
8271 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8273 2002-07-30 John Levon <levon@movementarian.org>
8276 * lyxserver.C: remove I/O callback too
8278 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8280 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8283 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * many files: strip,frontStrip -> trim,ltrim,rtrim
8287 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * PrinterParams.h: remove extern containsOnly, and include
8290 support/lstrings.h instead.
8292 * LaTeX.C (scanAuxFile): modify because of strip changes
8294 * buffer.C (makeLaTeXFile): ditto
8295 * bufferparams.C (writeFile): ditt
8296 * lyxfont.C (stateText): ditto
8297 * lyxserver.C (read_ready): ditto
8298 * vc-backend.C (scanMaster): ditto
8300 * BufferView_pimpl.h: ws changes
8302 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8304 2002-07-26 André Pönitz <poenitz@gmx.net>
8306 * kb_sequence.C: remove unnedred usings
8308 2002-07-26 Juergen Vigna <jug@sad.it>
8310 * lyxfind.C (LyXReplace): we have to check better if the returned
8311 text is not of theLockingInset()->getLockingInset().
8313 2002-07-25 Juergen Vigna <jug@sad.it>
8315 * lyxfind.C (LyXReplace): don't replace if we don't get the
8318 * undo_funcs.C (createUndo): remove debugging code.
8320 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8322 * buffer.C (parseSingleLyXformat2Token): Use default placement
8323 when reading old floats.
8325 * FloatList.C (FloatList): Change the default placement of figure
8326 and tables to "tbp".
8328 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8330 * MenuBackend.C: using std::max
8332 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8334 * MenuBackend.C (expandToc):
8335 (expandToc2): code moved from xforms menu frontend. It is now
8336 generic and TOCs are transparent to menu frontends.
8338 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8340 * toc.C (getTocList): protect against buf=0
8342 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8343 Menu as first parameter. Now, this calls itself recursively to
8344 expand a whole tree (this will be useful for TOC handling)
8345 (expandFloatInsert): remove 'wide' version of floats
8347 * MenuBackend.h (submenuname): returns the name of the submenu.
8348 (submenu): returns the submenu itself, provided it has been
8349 created by MenuBackend::expand
8351 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8354 insets which have noFontChange == true. (bug #172)
8356 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * BufferView_pimpl.C: add connection objects and use them...
8361 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * MenuBackend.C (expandLastfiles):
8366 (expandFloatListInsert):
8367 (expandFloatInsert):
8368 (expand): split expand in parts
8370 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8372 * lyx_gui.C: use lyx_gui::exit()
8374 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8376 * LyXAction.C: show the failing pseudo action
8378 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8380 * buffer.C (readFile): Run the lyxconvert script in order to read
8383 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8387 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8389 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8393 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8395 2002-07-22 Herbert Voss <voss@lyx.org>
8398 * lyxlength.[Ch]: add support for the vertical lengths
8400 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8402 * toc.[Ch]: std:: fixes
8404 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8406 * lyxrc.C: do not include lyx_main.h
8408 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8414 * BufferView2.C: include "lyxlex.h"
8417 * bufferparams.h: do not #include "lyxlex.h"
8419 * lyxtextclasslist.C (Add): remove method
8420 (classlist): renamed to classlist_
8422 * paragraph_pimpl.C:
8426 * bufferview_funcs.C:
8431 * toc.C (getTocList): use BufferParams::getLyXTextClass
8433 * toc.C (getTocList): use InsetFloat::addToToc
8435 * toc.[Ch]: new files, containing helper functions to handle table
8438 * lyxfunc.C (dispatch): no need to remove spaces around command
8440 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8441 first command of the sequence; it is not very clever, but I do not
8442 have a better idea, actually
8444 * LyXAction.C (LookupFunc): make sure to remove space at the
8445 beginning and end of the command
8447 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8449 * MenuBackend.C (getMenubar): new method: return the menubar of
8451 (read): treat differently reading of menu and menubar (in
8452 particular, the menubar has no name now)
8453 (Menu::menubar): remove
8455 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8458 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8460 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8461 a bibitem inset in a RTL paragraph.
8463 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8465 * paragraph_pimpl.C: constify
8467 * BufferView_pimpl.C:
8469 * lyxfunc.C: fix dispatch in a nicer way
8471 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8473 * lyxfunc.C (dispatch):
8474 * BufferView_pimpl.C:
8475 * BufferView_pimpl.h:
8477 * BufferView.h: rename Dispatch() to dispatch()
8479 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8481 * lyxlayout.C (Read): honor DependsOn tag
8483 * lyxlayout.[Ch] (depends_on): new method
8485 * version.C.in: update lyx_docversion
8487 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8489 * paragraph.C (validate): remove from here...
8490 * paragraph_pimpl.C (validate): ... and move here
8491 (isTextAt): make it const
8493 * buffer.C (getLists): ws cleanup
8495 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8497 * language.C (read): Use iso8859-1 encoding in latex_lang
8498 (this prevents LyX from crashing when using iso10646-1 encoding).
8500 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8502 * text2.C (toggleInset): if cursor is inside an inset, close the
8503 inset and leave cursor _after_ it
8505 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8507 * lyxfunc.C: move minibuffer completion handling out of here
8509 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8511 * BufferView_pimpl.C:
8512 * LaTeX.C: fix dispatch calls
8514 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8516 * text.C (drawChars): Fix Arabic text rendering.
8518 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8522 * lyxfunc.C: remove message-push/pop
8526 * lyxfunc.C: rationalise some code by removing verboseDispatch
8527 in favour of a bool argument to dispatch()
8529 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * lyx_main.C (init): make sure to read symlinks as absolute paths
8533 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8536 * lyxfunc.C: no need for commandshortcut to be a member
8538 2002-07-15 André Pönitz <poenitz@gmx.net>
8540 * converter.C: add support for $$s (scripts from lib/scripts dir)
8541 * lyx_main.C: white space
8543 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8547 * lyxrc.C: remove second exit confirmation
8549 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8554 * BufferView_pimpl.h:
8555 * BufferView_pimpl.C:
8556 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8558 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * MenuBackend.C (expand): add numeric shortcuts to document menu
8562 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8564 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8566 * lyxfont.C (setLyXFamily):
8573 * buffer.C (asciiParagraph): use ascii_lowercase
8575 2002-07-15 Mike Fabian <mfabian@suse.de>
8577 * lyxlex_pimpl.C (search_kw):
8578 * lyxlex.C (getLongString):
8579 * converter.h (operator<):
8580 * converter.C (operator<):
8581 * buffer.C (parseSingleLyXformat2Token):
8583 * ToolbarDefaults.C (read):
8584 * MenuBackend.C (checkShortcuts):
8586 * LColor.C (getFromGUIName):
8587 (getFromLyXName): use the compare_ascii_no_case instead of
8588 compare_no_case, because in turkish, 'i' is not the lowercase
8589 version of 'I', and thus turkish locale breaks parsing of tags.
8591 2002-07-16 Angus Leeming <leeming@lyx.org>
8593 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8594 now takes a Buffer const & argument.
8596 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8598 * BufferView.C (resize): check there's a buffer to resize
8600 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8602 * lyxfunc.C: remove dead code
8605 * lyxserver.C: use lyx_guii::set_read_callback
8607 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8609 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8610 an inset in a RTL paragraph.
8612 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8614 * lyxfunc.C: repaint after a font size update
8616 2002-07-15 André Pönitz <poenitz@gmx.net>
8618 * lyxlength.C: inBP should be able to return negative values
8620 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8622 * lyxfunc.C: use lyx_gui::update_fonts()
8624 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8626 * lyxfunc.C: use lyx_gui::update_color()
8628 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8634 * lyxrc.C: remove file->new asks for name option, and let
8635 buffer-new take an argument
8637 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8639 * BufferView_pimpl.C: remove unneeded extra repaint()
8641 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8643 * LyXAction.C: allow command-sequence with NoBuffer
8645 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8647 2002-07-10 Angus Leeming <leeming@lyx.org>
8649 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8651 2002-07-09 Angus Leeming <leeming@lyx.org>
8653 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8655 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8657 * lengthcommon.h: whitespace
8659 * lyxfunc.C: update scrollbar after goto paragraph
8661 * lyxtext.h: factor out page break drawing, and fix it so
8662 page break/added space paints as selected nicely
8664 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView_pimpl.C: add FIXMEs, clean up a little
8668 2002-07-09 André Pönitz <poenitz@gmx.net>
8670 * lyxfont.[Ch]: support for wasy symbols
8672 2002-07-08 André Pönitz <poenitz@gmx.net>
8674 * BufferView_pimpl.C: apply John's patch for #93.
8676 2002-07-05 Angus Leeming <leeming@lyx.org>
8678 * BufferView_pimpl.C (buffer): generate previews if desired.
8680 * LColor.h: add "preview" to the color enum.
8682 * LColor.C (LColor): add a corresponding entry to the items array.
8684 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8687 2002-07-05 Angus Leeming <leeming@lyx.org>
8689 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8690 The body of the code is now in the method that is passed an ostream &
8691 rather than a file name.
8692 Pass an additional only_preamble parameter, useful for the forthcoming
8695 2002-07-03 André Pönitz <poenitz@gmx.net>
8697 * lyxfunc.C: simplify getStatus() a bit for math stuff
8699 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8701 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8703 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * text.C (changeRegionCase): do not change case of all the
8706 document when region ends at paragraph end (bug #461)
8708 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * paragraph.C (startTeXParParams):
8711 (endTeXParParams): add \protect when necessary
8713 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8715 * BufferView_pimpl.C (workAreaExpose): remove warning
8717 2002-06-27 Angus Leeming <leeming@lyx.org>
8719 * Makefile.am: add lyxlayout_ptr_fwd.h.
8721 2002-06-26 André Pönitz <poenitz@gmx.net>
8723 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8725 2002-06-25 Angus Leeming <leeming@lyx.org>
8727 * lyxfunc.C (dispatch): Comment out the call to
8728 grfx::GCache::changeDisplay. The method no longer exists now that the
8729 pixmap generation part of the graphics loader has been moved into
8732 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8734 * text2.C: layout as layout
8736 * text.C: layout as layout
8738 * tabular.C (OldFormatRead): layout as layout
8740 * paragraph_pimpl.C (TeXDeeper): layout as layout
8741 (realizeFont): layout as layout
8743 * paragraph.C (writeFile): layout as layout
8744 (validate): layout as layout
8745 (getFont): layout as layout
8746 (getLabelFont): layout as layout
8747 (getLayoutFont): layout as layout
8748 (breakParagraph): layout as layout
8749 (stripLeadingSpaces): layout as layout
8750 (getEndLabel): layout as layout
8751 (getMaxDepthAfter): layout as layout
8752 (applyLayout): layout as layout
8753 (TeXOnePar): layout as layout
8754 (simpleTeXOnePar): layout as layout
8755 (TeXEnvironment): layout as layout
8756 (layout): layout as layout
8757 (layout): layout as layout
8759 * lyxtextclass.C (compare_name): new functor to work with
8760 shared_ptr, layout as layout
8761 (Read): layout as layout
8762 (hasLayout): layout as layout
8763 (operator): layout as layout
8764 (delete_layout): layout as layout
8765 (defaultLayout): layout as layout
8767 * lyxlayout_ptr_fwd.h: new file
8769 * lyxlayout.C (Read): layout as layout
8771 * lyx_cb.C (MenuInsertLabel): layout as layout
8773 * bufferlist.C (newFile): layout as layout
8775 * buffer.C (readLyXformat2): layout as layout
8776 (parseSingleLyXformat2Token): layout as layout
8777 (insertStringAsLines): layout as layout
8778 (asciiParagraph): layout as layout
8779 (latexParagraphs): layout as layout
8780 (makeLinuxDocFile): layout as layout
8781 (simpleLinuxDocOnePar): layout as layout
8782 (makeDocBookFile): layout as layout
8783 (simpleDocBookOnePar): layout as layout
8784 (getLists): layout as layout
8786 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8788 * CutAndPaste.C (cutSelection): layout as layout
8789 (pasteSelection): layout as layout
8790 (SwitchLayoutsBetweenClasses): layout as layout
8792 * BufferView_pimpl.C (Dispatch): layout as layout
8793 (smartQuote): layout as layout
8795 * BufferView2.C (unlockInset): layout as layout
8797 2002-06-24 André Pönitz <poenitz@gmx.net>
8799 * lyxfunc.C: fix #487
8801 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8805 * lyxfunc.C: remove display_shortcuts, show_banner
8807 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8809 * Buffer_pimpl.C: oops, update on resize
8811 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8818 * BufferView.C: use repaint()
8820 * BufferView_pimpl.h:
8821 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8822 as it's a clearer description. Remove superfluous
8825 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8827 * text.C: fix bug 488. Not ideal, but getting
8828 getWord() to work properly for the insets that
8829 matter is more difficult ...
8831 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8833 * BufferView_pimpl.C:
8836 * lyxfunc.C: remove the six million index lyxfuncs to just
8837 one, and DTRT (bug 458)
8839 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8843 * BufferView_pimpl.h:
8844 * BufferView_pimpl.C: clean up resize() stuff,
8845 and unnecessary updateScreen()s
8847 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8851 * BufferView_pimpl.h:
8852 * BufferView_pimpl.C:
8855 * minibuffer.C: remove focus management of workarea,
8856 not needed. Use screen's greyOut()
8858 2002-06-17 Herbert Voss <voss@lyx.org>
8860 * converter.C: (convert) do not post a message, when converting
8861 fails, let the calling function decide what to do in this case
8863 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8865 * lyxfunc.C: tidy up a little
8867 2002-06-16 <alstrup@diku.dk>
8869 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8870 Got rid of FORMS_H_LOCATION include. Now we are
8873 2002-06-15 LyX Development team <lyx@rilke>
8875 * buffer.[Ch] (sgmlOpenTag):
8876 (sgmlCloseTag): Added support for avoiding pernicious mixed
8877 content. Return number of lines written.
8880 (makeDocBookFile): Fixed calls to sgml*Tag.
8881 Simple white space clean.
8883 (simpleDocBookOnePar): Simple white space clean.
8885 * tabular.[Ch] (docBook): Renamed to docbook and got another
8886 argument to related with the pernicious mixed content.
8888 (docbookRow): Fixed calls for docbook inset method.
8890 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8892 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8893 so it's X11 independent.
8897 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8899 2002-06-15 Lyx Development team <lyx@electronia>
8901 * intl.h: Renamed getTrans to getTransManager.
8903 2002-06-14 Angus Leeming <leeming@lyx.org>
8905 * Makefile.am: nuke forgotten stl_string_fwd.h.
8907 2002-06-12 Angus Leeming <leeming@lyx.org>
8909 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8911 2002-06-13 Angus Leeming <leeming@lyx.org>
8914 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8916 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8918 * kbmap.C (getiso): add support for cyrillic and greek
8920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8924 * BufferView_pimpl.h:
8925 * BufferView_pimpl.C: move bogus scrolling logic
8928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.C: view->resize() change
8933 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8935 * BufferView_pimpl.C: topCursorVisible
8938 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8942 * lyx_gui.C: move to frontends/
8946 * lyx_main.C: changes from above
8948 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8955 * lyx_main.C: minor tidy
8957 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.h:
8960 * BufferView_pimpl.C:
8962 * BufferView.C: make painter() const,
8965 * BufferView2.C: use screen() accessor
8968 * lyx_main.C: some minor cleanup
8970 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8972 * BufferView_pimpl.h:
8973 * BufferView_pimpl.C: remove enter/leaveView,
8976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.h:
8982 * BufferView_pimpl.C: only construct screen once,
8985 * lyxrc.C: remove pointless comment
8987 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8990 * BufferView.C: remove active() and belowMouse()
8992 * BufferView_pimpl.h:
8993 * BufferView_pimpl.C: use workarea() not workarea_,
8994 and make it use a scoped_ptr instead
8996 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8998 * lyx_gui.C: add debug message on BadWindow
9000 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9002 * sp_spell.C: fdopen is not part of the C++ standard.
9004 * paragraph.C (InsetIterator): use >= instead of ==
9006 2002-06-07 Angus Leeming <leeming@lyx.org>
9008 Fixes needed to compile with Compaq cxx 6.5.
9009 * BufferView_pimpl.C:
9016 * lyxtextclasslist.C:
9021 all c-library variables have been moved into namespace std. Wrap
9022 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9027 Add a using std::abs declaration.
9029 * kbmap.h (modifier_pair):
9030 * paragraph.h (InsetTable, InsetList):
9031 * lyxfont.h (FontBits):
9032 type definition made public.
9034 * bufferlist.C (emergencyWriteAll): the compiler complains that
9035 there is more than one possible lyx::class_fun template to choose from.
9036 I re-named the void specialisation as lyx::void_class_fun.
9038 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9040 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9041 the compiler is is unable to find tostr in write_attribute.
9043 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9045 * buffer.C (sgmlError): hide #warning
9047 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9049 * xtl/*: get rid of xtl, which is not in use anyway
9051 * LyXAction.C (init):
9052 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9053 were unimplemented xtl experimentation
9055 2002-06-04 André Pönitz <poenitz@gmx.net>
9057 * lyxfunc.C: disable array operation on simple formulae
9059 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9061 * converter.C: constify a bit
9063 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9065 * lyx_gui.C: check xforms version correctly
9067 2002-04-30 Herbert Voss <voss@lyx.org>
9069 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9072 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9074 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9075 attempt to register it with a VCS)
9077 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9079 * lyx_main.C (init): honor variables LYX_DIR_13x and
9082 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9086 * lyx_main.C: fix a crash on bad command line,
9087 and give a useful exit status on error
9089 * lyxfunc.C (doImport): allow -i lyx to work
9091 2002-03-30 André Pönitz <poenitz@gmx.net>
9093 * lyxfunc.C: mathed font changes
9095 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9110 * trans_mgr.h: srcdocs, and some minor cleanups
9112 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9114 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9115 call getFont all the time)
9117 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * switch from SigC signals to boost::signals
9121 2002-05-29 André Pönitz <poenitz@gmx.net>
9123 * paragraph_pimpl.C (getChar): don't call size() too often...
9125 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * paragraph_pimpl.C (insertChar): do not try to update tables when
9128 appending (pos == size())
9130 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9131 in order to reduce drastically the number of comparisons needed to
9132 parse a large document
9134 2002-05-29 André Pönitz <poenitz@gmx.net>
9140 * textclasslist.[Ch]:
9141 * sp_ispell.h: whitespace change
9143 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9145 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9146 lyxaction directly now.
9148 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9152 * lyxvc.C: remove unused headers
9154 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9161 * undo_funcs.C: some cleanups. Use shared_ptr
9162 and a template for the undo stacks.
9164 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9166 * BufferView_pimpl.h:
9167 * BufferView_pimpl.C:
9174 * text2.C: use key_state/mouse_state
9176 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9181 * chset.C: change include order
9182 (loadFile): use boost regex and get rid of LRegex and LSubstring
9184 * Makefile.am (BOOST_LIBS): new variable
9187 * LaTeX.C: change include order.
9188 (scanAuxFile): use boost regex and get rid of LRegex and
9192 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9197 * FontInfo.C: moved to frontends/xforms/
9200 * FontLoader.C: moved into frontends for GUIIzation
9205 * lyxfunc.C: changes from above
9207 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9209 * LColor.C: remove spurious X include
9211 * BufferView_pimpl.C:
9216 * text2.C: move font metrics to frontends/
9218 2002-05-24 Juergen Vigna <jug@sad.it>
9220 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9221 setting the undo_cursor.
9223 * ParagraphParameters.h: include local includes first.
9225 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView_pimpl.C:
9228 * BufferView_pimpl.h:
9232 * screen.C: move WorkArea into frontends/
9238 * BufferView2.C: move LyXScreen into frontends/
9242 * lyx_gui.C: move lyxlookup into frontends/xforms/
9244 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9247 * BufferView_pimpl.C:
9257 * bufferview_funcs.C:
9270 * vc-backend.C: move LyX/XFormsView into frontends/
9272 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9284 * text2.C: move Painter to frontends/
9286 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * buffer.C: comment out some some code that depend upon lyx_format
9291 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9292 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9294 * buffer.h (NO_COMPABILITY): turn off compability
9296 * ColorHandler.C: include scoped_array.hpp
9298 * font.C: Use more specific smart_ptr header.
9301 * ShareContainer.h: ditto
9305 * BufferView_pimpl.h: ditto
9306 * ColorHandler.h: ditto
9308 * kbmap.C (defkey): change call to shared_ptr::reset
9310 2002-05-21 Juergen Vigna <jug@sad.it>
9312 * buffer.C (insertErtContents): fix to insert ert asis if it is
9313 non empty. Skip it completely if it contains only whitespaces.
9315 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9317 * BufferView_pimpl.C:
9318 * BufferView2.C: clear selection on paste (bug 393)
9320 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * DepTable.C: include ctime
9324 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9326 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9328 2002-05-14 Juergen Vigna <jug@sad.it>
9330 * text.C (breakParagraph): fixed function to honor the keepempty
9331 layout in the right maner and also to permit the right breaking
9332 algorithm on empty or non empyt keepempty paragraphs.
9334 * paragraph.C (breakParagraph): we have to check also if the par
9335 is really empty (!size()) for isempty otherwise we do the wrong
9338 2002-05-10 Juergen Vigna <jug@sad.it>
9340 * buffer.[Ch] : The following are only changes to the ert
9341 compatibility read reading old LaTeX layout and font stuff and
9342 convert it to ERTInsets.
9344 * buffer.h: added isErtInset().
9346 * buffer.C (struct ErtComp): add a fromlayout bool to check
9347 if we're inside a LaTeX layout.
9348 (isErtInset): new helper function.
9349 (insertErtContents): look for other ert insets before this one
9350 and insert the contents there, so that we don't have subsequent
9351 ERT insets with nothing between them. This way we create only one
9352 inset with multiple paragraphs. Also check if we don't insert only
9353 spaces ' ' as they are ignored anyway afterwards in the .tex file
9354 so if we have only spaces we will ignore this latex part in the
9356 (parseSingleLyXformat2Token \\layout): better compatibility when
9357 reading layout-latex stuff.
9358 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9360 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9361 stuff after reading the inset only get the information back from
9364 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9366 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9368 * LaTeXFeatures.C (getBabelOptions): New method.
9370 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * BufferView_pimpl.C (Dispatch): work around missing argument for
9375 2002-05-08 Juergen Vigna <jug@sad.it>
9377 * text.C (leftMargin): handle paragraph leftindent.
9379 * paragraph.C (writeFile): write the new \\leftindent tag.
9380 (validate): handle leftindent code.
9381 (TeXEnvironment): handle paragraphleftindent code again.
9383 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9385 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9386 for paragrap_extra indent code and new token \\leftindent.
9387 (latexParagraphs): handle the leftindent as environment.
9389 * ParameterStruct.h: added leftindent support.
9391 * ParagraphParameters.C (leftIndent): added support functions for
9392 the paragraph left indent.
9394 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9397 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9399 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9402 * text.C (computeBidiTables): No bidi in insetERT.
9404 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9407 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * version.C.in: pre 5
9411 2002-05-02 José Matos <jamatos@fep.up.pt>
9412 * buffer.C (makeDocBookFile): white space changes, add newline to
9414 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9416 * tabular.C (docBook): fix typo.
9418 2002-05-03 Juergen Vigna <jug@sad.it>
9420 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9421 change in LyXText as we can not be sure it was not freed.
9422 (drawOneRow): remove unused code.
9424 * text.C (drawInset): redo the calculation of the need_break_row as
9425 it could have a row which was already freed.
9426 (draw): look at the return value of drawInset and return false if
9427 it also returned false.
9428 (paintRowText): look at the return value of draw and return false if
9429 it also returned false.
9431 * lyxtext.h: added bool return type to drawInset() and draw() so that
9432 if we have a change in the row so that the rowbreak has to be redone
9433 we abort drawing as it will be called again.
9435 2002-05-02 Juergen Vigna <jug@sad.it>
9437 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9438 a change in the maintext also if we're inside an inset.
9439 (Dispatch): set the cursor again after a break line and after the
9440 screen has been updated as it could be we're in a different row.
9442 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9443 to set the cursor behind the pargraph with > size().
9444 (setCursor): check also for the same paragraph when checking where
9445 to put the cursor if we have a NFR inset.
9447 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9448 parts of layout read further up as it still was in the wrong
9451 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9453 * screen.C (drawFromTo): change sine fullRebreak always return
9456 * buffer.C (parseSingleLyXformat2Token): reindent some
9458 * BufferView_pimpl.C (update): change since fullRebreak always
9460 (Dispatch): git rid of the last hardcoded "Standard"s.
9462 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * text2.[Ch] (fullRebreak): make it return void now that we always
9467 2002-04-30 Juergen Vigna <jug@sad.it>
9469 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9470 ert compatibility check for "latex" layout.
9472 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9474 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9475 minipages: use col% instead of p%, and also use the current font.
9476 (makeLaTeXFile): Fix use babel condition.
9477 (parseSingleLyXformat2Token): Correct font when reading old floats.
9479 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9481 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9482 inserting list of floats.
9484 2002-04-25 Herbert Voss <voss@lyx.org>
9486 * MenuBackend.C (expand): don't add the graphics extensions to the
9489 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9492 non-existing layout, do not complain if it was the default layout
9493 of the original class (bug #342)
9495 2002-04-24 Juergen Vigna <jug@sad.it>
9497 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9498 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9500 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9502 * buffer.C (getBibkeyList): If using \bibliography, return the
9503 option field with the reference itself. Enables us to provide natbib
9504 support when using \bibliography.
9506 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9508 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9510 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9511 natbib is provided by the LaTeX class.
9513 2002-04-23 Juergen Vigna <jug@sad.it>
9515 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9518 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9520 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9524 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9525 ensuremath around textordmasculine, textordfeminine and
9528 2002-04-19 Juergen Vigna <jug@sad.it>
9530 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9531 reinitializing the buffer otherwise row-dimensions may be wrong.
9532 (update): reset also the selection cursors if they do exits otherwise
9533 their x/y positions may be wrong.
9535 * text2.C (cursorDown): don't enter the inset if we came from a row
9536 above and are one row over the inset.
9538 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9539 really leaving an inset.
9541 2002-04-18 Juergen Vigna <jug@sad.it>
9543 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9544 of the selected paragraph does not have the selected layout also if
9547 * text2.C (setLayout): fixed bug which did not change last selected
9550 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9551 changed the read and substituted \\end_float with \\end_inset!
9553 * BufferView_pimpl.C (cursorPrevious):
9554 (cursorNext): fixed to make it work with rows heigher than the work
9555 area without moving the cursor only the draw of the row.
9556 (workAreaMotionNotify): fix jumping over high rows.
9558 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9560 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9563 2002-04-16 Juergen Vigna <jug@sad.it>
9565 * text2.C (setCursor): set also the irow().
9566 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9568 (cursorDown): support for locking an inset if the x_fix value goes
9569 inside it. That way I can transverse insets too with cursor up/down.
9571 * lyxrow.h: added irow helper function same as other (i) functions.
9573 * BufferView_pimpl.C (cursorPrevious):
9574 (cursorNext): fixed for insets!
9576 2002-04-15 Juergen Vigna <jug@sad.it>
9578 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9579 position otherwise it is wrong in some cases.
9581 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9582 inside the inset before the call.
9584 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9586 * buffer.[Ch] (getBibkeyList): make it const.
9588 2002-04-12 Juergen Vigna <jug@sad.it>
9590 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9592 * text2.C (getCursorX): new helper function
9593 (setCursor): compute also ix_
9594 (setCursorFromCoordinates): set also ix.
9596 * lyxcursor.h: added ix_ and helper functions.
9598 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9600 * buffer.C (insertStringAsLines): dont break paragraph if the this
9601 paragraph is inside an inset which does not permit it!
9603 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9604 also with no chars on this paragraph.
9605 (paintRowText): only paint stuff if it's inside the workarea!
9607 * paragraph.C (breakParagraph): honor keepempty flag and break the
9608 paragraph always below not above.
9610 * BufferView2.C (unlockInset): update the paragraph layout on inset
9611 unlock as we changed paragraph in such a case.
9613 * lyxfind.C (LyXFind): clear the former selection if not found!
9615 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9616 again called in insertChar().
9618 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9619 an inset which uses the whole row!
9620 (rightMargin): ditto.
9621 (insertChar): force a rebreak if we inserted an inset!
9623 2002-03-28 Herbert Voss <voss@lyx.org>
9625 * lyxlength.[Ch]: add inBP() to get the right PS-point
9626 units (BigPoint). With inPixels we have rounding errors
9628 2002-04-11 Juergen Vigna <jug@sad.it>
9630 * text2.C (setCursorFromCoordinates): set iy to the right value.
9631 (setCursor): add check if row->previous exists!
9633 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9634 an old float_type as this was the case in the old code!
9636 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9638 * BufferView2.C (showLockedInsetCursor): use iy
9639 (fitLockedInsetCursor): ditto
9641 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9642 locked insets as there we have the right value now.
9644 * lyxcursor.C: added iy_ variable and iy functions to set to the
9645 baseline of cursor-y of the locked inset.
9647 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9648 (setCursor): fixed for insets which need a full row.
9650 * text.C (rowLastPrintable): don't ignore the last space when before
9651 an inset which needs a full row.
9652 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9653 as last character of a row when before a inset which needs a full row.
9655 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * version.C.in: update date
9659 * text2.C (fullRebreak): try to always return true and see what
9662 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * MenuBackend.C (expand): use Floating::listName
9666 * FloatList.C (FloatList): add listName argument to the built-in
9669 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9670 text associated with the float.
9672 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9674 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9676 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * ShareContainer.h: add a couple of missing typenames.
9680 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9682 * lyxrc.C (getDescription): use _() correctly rather than N_().
9684 2002-03-28 Herbert Voss <voss@lyx.org>
9686 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9687 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9689 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9692 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9694 2002-03-29 Juergen Vigna <jug@sad.it>
9696 * lyxfunc.C (dispatch): add a missing fitCursor call.
9698 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9699 it was scrolled by a cursor move, so return the bool status.
9701 * BufferView.C (fitCursor): return the bool flag also to the outside
9702 world as this is needed.
9704 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9706 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9707 call the edit() as it is not needed (and wrong) IMO.
9708 (workAreaButtonPress): set the screen_first variable before evt.
9709 unlock the inset as this may change screen_first and then we have
9710 a wrong y position for the click!
9712 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9714 * MenuBackend.C (expand): another translation that I missed
9716 2002-03-28 Juergen Vigna <jug@sad.it>
9718 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9720 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9722 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9726 * MenuBackend.C (expand): fix export/view/update when there is no
9729 2002-03-27 Herbert Voss <voss@lyx.org>
9731 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9734 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * bufferview_funcs.C (currentState): only show paragraph number
9737 for is DEVEL_VERSION is set.
9739 * lyxfunc.C (dispatch): put warning in INFO channel
9741 * MenuBackend.C (expand): translate the name of floats
9743 * FloatList.C (FloatList): mark the float names for translation
9745 * converter.C (convert): use LibScriptSearch
9747 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9749 * MenuBackend.C (defaults): fix default menu (we might as well get
9752 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9757 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * lyxvc.C: reorder includes.
9761 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9763 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9766 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9768 * CutAndPaste.C: change layouts earlier on paste
9769 to avoid crashing when calling getFont()
9771 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9773 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9776 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * WorkArea.C: remove 'Pending' debug message.
9780 * most files: ws cleanup
9782 * buffer.[Ch]: ws changes
9784 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9786 2002-03-21 Juergen Vigna <jug@sad.it>
9788 * tabular.C (SetMultiColumn): collapse also the contents of the
9789 cells and set the last border right. Added a Buffer const * param.
9791 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9796 2002-03-19 Juergen Vigna <jug@sad.it>
9798 * text2.C (clearSelection): reset also xsel_cache.
9800 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9801 where it needs to be called (John tells us to do so too :)
9802 (selectionLost): reset sel_cache.
9804 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9806 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9808 * text2.C (setCursorIntern): put debuging code in INSETS channel
9810 2002-03-19 André Pönitz <poenitz@gmx.net>
9812 * lyxfunc.C: tiny whitespace change
9814 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9816 * ToolbarDefaults.C (init):
9817 * LyXAction.C (init):
9819 * BufferView_pimpl.C (Dispatch):
9820 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9822 2002-03-19 Allan Rae <rae@lyx.org>
9824 * exporter.C (Export): removeAutoInsets before doing anything else.
9825 While I've just introduced a dependency on BufferView this really is
9826 the best place to clean the buffer otherwise you need to cleanup in
9827 a dozen places before calling export or cleanup in a dozen functions
9830 * converter.C (runLaTeX):
9831 (scanLog): Better handling of removeAutoInsets and screen updates.
9833 * lyxfunc.C (dispatch): small whitespace changes
9835 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9837 * WorkArea.C (C_WorkAreaEvent): return a value.
9838 (event_cb): return 1 if we handled the event, 0 otherwise.
9840 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9842 2002-03-18 Juergen Vigna <jug@sad.it>
9844 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9845 (GetAdditionalWidth): ditto.
9849 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9850 inset if we're there actually (probably not used right now but this
9851 is the direction to go for unifying code).
9852 (paste): disable code to clear the selection.
9854 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9855 inside an InsetText and move the check further up as it is in the
9858 * text2.C (pasteSelection): set a selection over the pasted text.
9860 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9862 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9863 and libgraphics to build on Cygwin.
9865 2002-03-15 Juergen Vigna <jug@sad.it>
9867 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9868 inserting an Inset into the paragraph. I know this is not the best
9869 fix but we already use current_view in CutAndPaste so we will remove
9870 all of it's using at the same time.
9872 * buffer.C (sgmlError): deactivated function till it is rewritten in
9873 the right mode, now it can create problems.
9875 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9876 before accessing it.
9878 2002-03-14 Juergen Vigna <jug@sad.it>
9880 * undo_funcs.C (textHandleUndo): do the right thing when updating
9881 the inset after the undo/redo.
9883 * text2.C (setCursor): just some testcode for #44 not ready yet.
9885 * undo_funcs.C (textHandleUndo): set the next() and previous()
9886 pointers of the paragraph to 0 before deleting otherwise we have
9887 problems with the Paragraph::[destructor].
9889 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9890 on a paragraph insertion.
9892 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * buffer.C (asciiParagraph): use += operator for char append to
9897 * paragraph.C (getFontSettings): compare >= not just >
9898 (highestFontInRange): ditto
9901 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * paragraph.C: change several algorithm to be more appripriate for
9904 the problem domain. This is lookip in FontList and in the InsetList.
9906 2002-03-13 André Pönitz <poenitz@gmx.net>
9909 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9911 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9916 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9918 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * Painter.C (display): anon helper function, adjust code for this
9922 (pixmap): remove function.
9924 * Painter.h: remove private display variable.
9926 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9928 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9930 * WorkArea.[Ch]: remove figinset_canvas cruft.
9932 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * lyxtextclass.C (operator): add one item cache optimization.
9936 * bufferlist.h: doxy changes
9938 * bufferlist.C: ws changes
9940 * DepTable.[Ch] (ext_exist): place const in the right spot.
9942 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9944 (workAreaExpose): call resizeInsets when the with BufferView changes.
9945 (Dispatch): adjust for protectedBlank removal
9946 (specialChar): call updateInset if the insert went ok.
9948 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9949 specialChar instead.
9951 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9953 * BufferView.h: doxy change
9955 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9957 * lyxtextclass.C (operator[]): remove non-const version
9958 (defaultLayout): remove non-const version
9960 2002-03-12 Juergen Vigna <jug@sad.it>
9962 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9963 did resize the LyXText too.
9965 * buffer.C (readLyXformat2): set layout information on newly allocated
9968 * tabular.C (OldFormatRead): set layout information on the paragraph.
9970 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9972 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9974 2002-03-11 Juergen Vigna <jug@sad.it>
9976 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9978 (resizeCurrentBuffer): force also the insets to resize themselfes.
9979 (moveCursorUpdate): fixed up for InsetText.
9981 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9984 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9985 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9986 value of Dialogs::tooltipsEnabled().
9987 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9989 2002-03-08 Juergen Vigna <jug@sad.it>
9991 * BufferView_pimpl.C (updateInset): update inset inside inset also
9992 if it isn't inside theLockingInset().
9994 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9996 * buffer.C (asciiParagraph): redo some of the word and line length
9998 (getLists): look for Caption instead of caption.
10000 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10002 * buffer.C (Buffer): initialize niceFile to true
10004 (makeLinuxDocFile):
10005 (makeDocBookFile): make sure niceFile is true on exit
10007 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10011 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10013 * LyXSendto.C: remove.
10014 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10015 * lyx_gui.C: remove now-redundant comment.
10016 * ColorHandler.h: remove forward declaration of class WorkArea.
10017 * lyxfunc.C: remove #include "WorkArea.h".
10019 2002-03-07 Juergen Vigna <jug@sad.it>
10021 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10022 got moved away with the DEPM and also set the inset_owner always
10023 right which before could have been omitted.
10025 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10027 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10028 wanted layout is not found.
10030 2002-03-07 Juergen Vigna <jug@sad.it>
10032 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10034 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * paragraph.C (breakParagraph): use default layout not layout of
10038 (Paragraph): clear ParagraphParameters.
10040 2002-03-06 Juergen Vigna <jug@sad.it>
10042 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10043 otherwise it would not be a valid lenght. Fixed a special case in
10044 the minipage compatibility read where we end the document with a
10047 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10048 was set as it could be 0 for InsetTexts first entry.
10050 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * paragraph.C (writeFile): if layout is empty write out
10053 defaultLayoutName().
10055 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10056 file without named layout we set layout to defaultLayoutName().
10058 2002-03-06 Juergen Vigna <jug@sad.it>
10060 * CutAndPaste.C (copySelection): set layout for new paragraph.
10062 * text.C (prepareToPrint): leave ERT inset left aligned
10063 (leftMargin): don't indent paragraphs inside ERT insets
10065 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10067 * paragraph.C (breakParagraph): dont call clear do the work manually
10069 * paragraph.[Ch] (clear): remove function
10071 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * paragraph.C (Paragraph): dont call clear, the work has already
10076 * lyxtextclass.C (operator): assert if n is empty
10078 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10079 work manually instead.
10081 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10083 * BufferView_pimpl.C: protect selectionLost against text == 0
10085 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10087 * text.C (breakParagraph): fix a setting layout to '0' problem.
10089 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10091 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10092 final location of file, for the included files, and graphics.
10094 2002-03-05 Juergen Vigna <jug@sad.it>
10096 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10098 2002-03-04 Juergen Vigna <jug@sad.it>
10100 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10102 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10103 last column of multicolumn cells.
10104 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10106 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10108 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10109 file if it doesn't go to a temporary file.
10111 * buffer.C (sgmlOpenTag):
10112 (sgmlCloseTag): remove extra newline insertion.
10114 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10116 * text.C (getRowNearY): comment out debug msg
10118 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * text2.C: first -> first_y
10122 * text.C (getRowNearY): add some attemts at a possible
10123 optimization, not working.
10125 * tabular.[Ch]: add BufferParams to several function so that newly
10126 created paragraph can be initialized to he default layotu for the
10129 * tabular-old.C (ReadOld): add buf->params to call of Init
10131 * screen.C: rename text->first to text->first_y
10133 * paragraph.C (breakParagraph): always set layout in the broken
10136 * lyxtextclass.C (Read): remove lowercase
10139 (delete_layout): ditto
10141 * lyxtext.h: rename first -> first_y
10143 * lyxlayout.C (Read): remove lowercase
10146 (obsoleted_by): ditto
10148 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10150 * buffer.C (insertErtContents): add params are to InsetERT
10151 (parseSingleLyXformat2Token): add code to check if a paragraphs
10152 layout really exist.
10153 (parseSingleLyXformat2Token): add params to several inset
10155 (asciiParagraph): remove lowercase, do the layout comparisons with
10158 * BufferView_pimpl.C (cursorNext): first -> first_y
10159 (resizeCurrentBuffer): first -> first_y
10160 (updateScrollbar): first -> first_y
10161 (scrollCB): first -> first_y
10162 (workAreaMotionNotify): first -> first_y
10163 (workAreaButtonPress): first -> first_y
10164 (checkInsetHit): first -> first_y
10165 (cursorPrevious): first -> first_y
10166 (cursorNext): first -> first_y
10167 (Dispatch): add buffer_->params to severl inset contructors
10169 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10171 * lyxlayout.C (Read): remove some debug info that I forgot.
10173 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10174 clean up the code slightly.
10175 (makeLinuxDocFile): ditto
10176 (makeDocBookFile): ditto
10178 * text2.C: layout as string
10180 * text.C: layout as string
10182 * paragraph_pimpl.C: layout as string
10184 * paragraph.[Ch]: layout as string
10186 * lyxtextclasslist.[Ch]: layout as string
10188 * lyxtextclass.[Ch]: layout as string
10190 * lyxtext.h: layout as string
10192 * lyxlayout.[Ch]: layout as string
10194 * lyx_cb.C: layout as string
10196 * bufferview_funcs.C: layout as string
10198 * bufferparams.C: layout as string
10200 * buffer.C: layout as string
10202 * LyXView.[Ch]: layout as string
10204 * LaTeXFeatures.[Ch]: layout as string
10206 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10208 * BufferView_pimpl.C: change current_layout to string, remove
10213 (workAreaButtonRelease): layout as string
10215 * BufferView2.C (unlockInset): adjust
10217 * vspace.C (asLatexCommand): use an explict temp variable.
10219 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10221 * Makefile.am: use FRONTEND_*
10223 2002-03-01 Juergen Vigna <jug@sad.it>
10225 * tabular.C (SetWidthOfMulticolCell): changed to something better
10226 I hope but still work in progress.
10227 (recalculateMulticolumnsOfColumn): renamed function from
10228 recalculateMulticolCells as it is more appropriate now.
10229 (SetWidthOfCell): calculate multicols better.
10231 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10235 * lyxfunc.C (processKeySym): print sequence also if it is
10236 `deleted' (complete)
10238 * kbsequence.C (print): print sequence even if it is deleted
10239 (complete would be a better word, actually).
10241 * lyxfunc.C (dispatch): print complete options after a prefix key
10243 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10245 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10247 * text2.C (setCharFont): eliminate setCharFont code duplication.
10249 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10251 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10252 LFUN_TABULAR_FEATURE (bug #177)
10254 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10256 * Makefile.am: remove figure.h
10258 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10260 * Bufferview_pimpl.C:
10272 * text2.C: remove #include "lyx_gui_misc.h".
10274 * LaTeX.C: added #include <cstdio>
10276 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10279 that the paragraph following this one can have.
10281 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10283 * vspace.C (asLatexCommand): fix bogus gcc warning
10285 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10287 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10289 * text2.C (setLayout): get rid of redundant code
10291 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10293 * text2.C (incDepth): make sure depth cannot be increased beyond
10296 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10298 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10299 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10301 * PainterBase.h (image):
10302 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10303 a LyXImage const *.
10305 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10309 * BufferView_pimpl.C:
10310 * BufferView_pimpl.h:
10330 * sp_spell.C: remove fig inset, and the crap house of
10331 cards that follows it
10333 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10338 * os2_errortable.h:
10339 * nt_defines.h: move .h into support/
10341 * vms_defines.h: remove
10343 * WorkArea.C: add space in debug output
10347 * buffer.C: add WITH_WARNINGS
10351 * bufferlist.C: s/retrive/retrieve/, add docs
10360 * chset.C: add docs
10362 * lyxgui.C: add ID to X error handler
10364 * lyxtestclass.c: fix typo
10366 2002-02-26 Juergen Vigna <jug@sad.it>
10368 * tabular_funcs.C (write_attribute): changed so that some default
10369 attributes are not written at all.
10370 (getTokenValue): set default values before trying to read the
10371 value so we have the return value always set as default if we don't
10372 find the token we search for.
10374 * tabular.C (Write): write bools as bools not as strings!
10376 2002-02-22 Juergen Vigna <jug@sad.it>
10378 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10379 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10381 * text.C (leftMargin): don't add an indent for paragraphs inside
10382 tabular cells (fix #208).
10384 2002-02-21 José Matos <jamatos@fep.up.pt>
10386 * tabular.C (docBook): fixed support for long tables.
10388 2002-02-20 Juergen Vigna <jug@sad.it>
10390 * text2.C (getFont): get the drawing font of the Inset if this
10391 paragraph is inside an inset (only important for InsetERT for now).
10393 * buffer.C (insertErtContents): use new lanugage params in ERT
10396 * CutAndPaste.C: commenting out seemingly uneeded code.
10398 2002-02-19 Allan Rae <rae@lyx.org>
10400 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10401 Iterators might be simple to use but they also get invalidated.
10402 (removeAutoInsets): renamed saved cursor tracking variables and added
10403 some comments to clarify what everything does.
10405 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10412 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10413 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10416 * vc-backend.h: remove #include "support/syscall.h"
10420 * converter.C: rearrange #includes in Lars' approved fashion.
10422 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10423 forward declare class Timeout in the header file.
10425 * XFormsView.C: changes due to the above.
10427 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10428 similar to LyXView.
10430 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10431 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10433 2002-02-18 José Matos <jamatos@fep.up.pt>
10435 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10438 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10440 * a lot of small ws changes
10441 * add a lot of using std::XXX
10442 * use std construcs some places where approp.
10443 * use some exisint stuff from lyxfunctional where approp.
10444 * Make file changes to use partial linking (lets test this now...)
10446 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10450 remove #include "support/syscontr.h" as it's redundant. Always has been.
10458 change Systemcalls::System to Systemcalls::Wait and
10459 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10460 No change of functionality, just reflects the stripped down Systemcalls
10463 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10465 * debug.[Ch]: add a GRAPHICS type to the enum.
10467 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10471 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10474 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10477 match the changes below.
10479 * text2.C (toggleInset): if there is not editable inset at cursor
10480 position, try to see if cursor is _inside_ a collapsable inset
10483 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10486 document menu has a nice checkbox
10488 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * lyxlength.C (asLatexString): change PW to output as percent of
10493 * lengthcommon.C: change '%' to 't%'
10495 * lyxfunc.C (dispatch): a few comments from Martin
10497 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10501 * BufferView_pimpl.h:
10502 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10505 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * vspace.C (inPixels): fix compiler warning
10509 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * lyxfunc.C (getStatus): fix status message for disabled commands.
10513 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10515 * BufferView_pimpl.C: fix crash on close buffer
10516 during selection (#227)
10518 2002-01-27 Herbert Voss <voss@lyx.org>
10520 * buffer.C: link old Figure to new graphic inset
10522 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10524 * FontLoader.C (getFontinfo): Change the latex font names in order
10525 to match the names of type1inst.
10527 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10531 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10532 (extchanged): ditto
10534 (remove_files_with_extension): ditto
10535 (remove_file): ditto
10538 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10539 document is smaller than the work area height. Do not initialize
10540 static variables to 0.
10542 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10546 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10547 LFUN_LAYOUT_PARAGRAPHS.
10549 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10550 tabular. It is possible to provide a possible cell, which will
10551 typically be the actcell from the corresponding insettabular
10553 * lyxfunc.C (getStatus): small cleanup; disable
10554 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10557 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10561 * paragraph.C (startTeXParParams):
10562 (endTeXParParams): new methods. The LaTeX code to
10563 start/end paragraph formatting
10564 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10565 empty (fixes bug #200)
10567 * vspace.C (inPixels): adapt to the change below
10568 (inPixels): [later] more cleanups (remove unused variables)
10570 * lyxlength.C (inPixels): change to use a width and a height as
10573 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10576 Replaced with \paperwidth
10578 * DepTable.C (insert): add std:: qualifier
10580 2002-01-18 Allan Rae <rae@lyx.org>
10582 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10585 * text.C (drawInset): Turned out I didn't know enough about how
10586 rebreaking worked. This fixes most of the redraw problems. I see
10587 an occasional cursor trail when a line is broken now and the cursor
10588 placement can seem out by a few pixels also after a rebreak.
10590 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * buffer.C (parseSingleLyXformat2Token): update because minipage
10593 width is now a LyXLength
10595 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10597 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10600 2002-01-17 Juergen Vigna <jug@sad.it>
10602 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10604 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10605 is set correctly and the inset is updated correctly.
10607 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10610 the beginning of the loop.
10612 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10614 * lyxrc.C: improve help for use_scalable_fonts
10616 2002-01-17 Allan Rae <rae@lyx.org>
10618 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10620 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10623 make sure to set their inset_owner to the right value (bug #171)
10625 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10628 * DepTable.C: Implement mtime checking to reduce time spent doing
10631 2002-01-16 Juergen Vigna <jug@sad.it>
10633 * tabular.C (GetAdditionalHeight): one of error fixed.
10635 * lyxrc.C (output): small fix in writing use_pspell.
10637 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10639 * sp_base.h: #include LString.h
10641 2002-01-16 Allan Rae <rae@lyx.org>
10643 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10644 Can someone check this please?
10646 * text.C (drawInset): It was possible that p.row would be removed by
10647 breakAgainOneRow upsetting a few other settings. There may be another
10648 small tweak possible by setting need_break_row = 0 when p.row has been
10649 removed but I don't know enough about the logic here.
10651 2002-01-15 Allan Rae <rae@lyx.org>
10653 * text.C (insertChar): removed conditional truism.
10655 * BufferView2.C (removeAutoInsets): More tweaks.
10656 cur_par_prev could be a stray pointer. Check for trailing empty line
10657 in case last line was cur_par and only had an error inset on it.
10659 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10664 * vc-backend.C (most methods):
10665 * exporter.C (Export):
10666 * converter.C (convert):
10668 * LyXSendto.C (SendtoApplyCB):
10669 * lyxfunc.C (dispatch):
10673 * lyx_cb.C (AutoSave):
10675 * BufferView_pimpl.C (MenuInsertLyXFile):
10676 * buffer.C (runChktex): use Buffer::filePath().
10678 * buffer.h: rename filename to filename_; rename filepath to
10679 filepath_ and make it private
10680 (filePath): new method
10682 * buffer.C (writeFile): use fileName()
10685 * lyx_main.C (init): fix starting of LyX when the binary is a
10686 link from so,ewhere else.
10688 * minibuffer.C: include <cctype> for isprint
10690 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10692 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10693 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10694 name clash with InsetCollapsable's width function.
10696 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * lastfiles.C: include <iterator>
10700 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10702 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10705 * buffer.C (makeLaTeXFile): ditto.
10706 Also make loop operation more transparent.
10708 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10710 * ToolbarDefaults.C: remove trailing comma closing namespace.
10712 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10714 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10717 * trans.C (Load): comment out unused variable, allowed.
10719 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10721 * minibuffer.[Ch] (append_char): new method to recieve input from the
10722 drop-down completion browser. If a key was pressed, then recieve this
10723 char and append it to the existing string.
10724 (peek_event): modify the positioning data passed to the completion
10725 browser so that it can be placed above the minibuffer rather than below.
10726 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * LyXAction.C (init): alloe error-next for readonly documents.
10730 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10733 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10735 * bufferlist.C (readFile): create the buffer _after_ checking that
10738 * lyxfunc.C (verboseDispatch): fix handling of arguments
10740 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10742 * lyxrc.C: use string::erase() instead of initializing to "".
10745 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10747 * BufferView_pimpl.h:
10748 * BufferView_pimpl.C:
10751 * text2.C: tell X when we have made a selection for copying
10753 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * BufferView_pimpl.C (MenuInsertLyXFile):
10756 * lyxfunc.C (menuNew):
10758 (doImport): add shortcuts to directory buttons
10760 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10763 * lyxfunc.C (setStatusMessage):
10764 (getStatusMessage): new methods
10765 (getStatus):use setStatusMessage instead of setErrorMessage
10766 (dispatch): when function is disabled, set error message here
10767 [instead of in getStatus previously]
10769 * BufferView_pimpl.C (workAreaButtonRelease): update
10770 toolbar/menubar here too.
10772 2002-01-13 Allan Rae <rae@lyx.org>
10774 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10775 Now seems indestructible. Remaining task is to audit all other
10776 code affected by deleteEmptyParagraphMechanism. One small quirk
10777 left is that an empty document with an error in the preamble can
10778 be made to report an error but no error box appears. I don't know
10780 (removeAutoInsets): Improved comments.
10782 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10785 * Thesaurus.C: update for Aiksaurus 0.14
10787 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10789 * text2.C (firstParagraph): removed member function, all uses
10790 replaces with ownerParagraph
10791 (redoParagraphs): here
10792 (updateInset): here
10793 (toggleAppendix): here
10794 * BufferView2.C (insertErrors): here
10795 (setCursorFromRow): here
10797 2002-01-13 Allan Rae <rae@lyx.org>
10799 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10800 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10801 There is still a way to segfault this although you may have to do this
10802 multiple times: Have an InsetERT with an unknown command in it.
10803 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10804 <down-arrow>, <Enter> again, View->DVI, BANG!
10806 * text2.C (setCursor):
10807 (deleteEmptyParagraphMechanism):
10808 * lyxtext.h (setCursor):
10809 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10810 Making use of the return value may help fix other bugs.
10812 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10816 * LyXView.C (updateMenubar): call MenuBar::update here
10817 (updateToolbar): but not here
10818 (showState): do not update toolbar/menubar
10820 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10821 should need to care about that.
10823 * lyxfunc.C (verboseDispatch): simplify a bit
10824 (getStatus): have a version which takes a pseudoaction, and
10825 another which requires a (kb_action,string).
10827 * LyXAction.C (retrieveActionArg): make it work also when action
10828 is not a pseudo-action.
10829 (getActionName): simplify a bit
10832 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * lyxfunc.C (verboseDispatch): new families of methods with
10835 several ways to specify a command and a bool to indicate whether
10836 the command name and shortcut should be displayed in minibuffer
10837 (eventually, we could extend that to a finer bitmask like
10838 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10839 (dispatch): the pristine dispatch command which just, well,
10840 dispatchs! Note it still sets its result to minibuffer; I'm not
10843 * lyxfunc.h: remove setHintMessage
10845 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10847 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10849 * BufferView_pimpl.C (specialChar): delete new inset if we have
10850 not been able to insert it.
10852 * kbmap.C: revert to using int instead of kb_action, since all we
10853 are dealing with is pseudo-actions.
10855 * LyXAction.C (searchActionArg): change to return int instead of
10856 kb_action, since the result is a pseudoaction.
10858 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10860 * buffer.C (insertErtContents): Fix (partially) the font bug.
10862 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10864 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10865 as the other one is broken on my machine!
10867 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10870 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10872 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10874 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10875 reflect their actual use. Provide compatibility code for older lyxrc
10878 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10880 change names of popup font variables in line with the changes to lyxrc.C
10882 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10884 * buffer.C (asciiParagraph): avoid outputing a word twice after
10887 * lyxrc.C (getDescription): document that document_path and
10888 template_path can be empty.
10890 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * LaTeXFeatures.C (getMacros):
10893 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10895 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10897 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10899 (getPackages): rename feature "floats" to "float". Use an array to
10900 iterate over 'simple' features (i.e. just a \usepackage). Add
10901 handling of "amsmath" (renamed from "amsstyle").
10903 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10905 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10908 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10910 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10911 FuncStaus::FuncStatus & FuncStaus::some_method().
10913 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10915 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10916 of the func_satus stuff. Edited and massaged in various ways by
10919 * lyxfunc.C (getStatus): use FuncStatus
10921 2002-01-08 Juergen Vigna <jug@sad.it>
10923 * text.C (nextBreakPoint): use function Inset::isChar().
10925 * paragraph.C (TeXOnePar): use function
10926 Inset::forceDefaultParagraphs.
10928 * buffer.C (latexParagraphs): use function
10929 Inset::forceDefaultParagraphs.
10931 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10933 * lyx_gui.C (init): set the style of the menu popups to
10934 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10936 2002-01-07 Juergen Vigna <jug@sad.it>
10938 * text.C (setHeightOfRow): small fix
10939 (prepareToPrint): don't look at alignment if we don't have the place
10942 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10944 * box.C: New file. Move the Box methods and functions out of box.h,
10945 following Lars' suggestion.
10947 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10949 * box.h: #include "support/LOstream.h", needed for inlined function.
10952 * lyxtextclasslist.C: added some using std declarations.
10954 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10956 * box.h: make signed dimensions to allow insets wider than
10957 the screen (bug #162)
10959 * BufferView_pimpl.C: add some insetHit debug
10961 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10963 * vc-backend.C: add FIXME
10965 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * lyxfunc.C (getStatus): enable code for showing math font status
10970 2002-01-07 Juergen Vigna <jug@sad.it>
10972 * text.C (nextBreakPoint): removed debug output not needed anymore.
10974 2002-01-06 Juergen Vigna <jug@sad.it>
10976 * text.C (nextBreakPoint): fixed up this function we had this bug
10977 since ever but now hopefully we break row better.
10978 (insertChar): we have to check if an inset is the next char as it
10979 could now happen that a large inset is causing a break.
10981 2002-01-05 Juergen Vigna <jug@sad.it>
10983 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10984 if it doesn't like to be drawed.
10986 2002-01-04 Juergen Vigna <jug@sad.it>
10988 * BufferView2.C (lockInset): forgot to set a cursor.
10990 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10992 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10994 * FormMathsPanel.C:
10997 * form_maths_panel.C:
10998 * form_maths_panel.h:
10999 * form_maths_panel.fd: implemented sub- and super- buttons in math
11002 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11003 (or ^ space) to be used as in TeX (req'd by André).
11005 * lyxfunc.C: Allow ^ and _ again to be used both as
11006 super/subscript (mathed) and as themselves (in text).
11008 2002-01-03 Allan Rae <rae@lyx.org>
11010 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11011 "LyX" or the filename of the current buffer if it has one. This is a
11012 modified form of John Levon's patch.
11014 * XFormsView.C (setWindowTitle): also set icon title.
11016 * LyXView.h (setWindowTitle): signature changed.
11017 * XFormsView.h (setWindowTitle): ditto.
11019 2002-01-02 Juergen Vigna <jug@sad.it>
11021 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11023 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11025 * screen.C (topCursorVisible): introduce a temp var for
11026 text->cursor.row(), handle the case where this row is null. (kindo
11029 * text2.C (setCursor): add a couple of asserts.
11031 * paragraph.h (inset_iterator): add -> operator
11033 * paragraph.[Ch] (autoDeleteInsets): remove member function
11035 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11036 cursor pos correctly and handle inset deletion by itself.
11037 (insertErrors): move iterator declaration out of for expression
11039 * lyxtextclass.C: add <algorithm>
11041 * Makefile.am: added the new files to sources, removed layout.C
11043 * layout.C: removed file
11045 * layout.h: remove LYX_DUMMY_LAYOUT
11047 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11051 * lyxtextclass.[Ch]:
11052 * lyxtextclasslist.[Ch]: new files
11054 * include order changes to a lot of files, also changes because of
11057 2001-12-27 Juergen Vigna <jug@sad.it>
11059 * buffer.C (asciiParagraph): more fixes.
11061 * tabular.C (ascii): make ascii export support export of only the
11062 data separated by a column-delimiter.
11063 (ascii): better support for ascii export.
11065 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11067 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11069 * tabular_funcs.C: use a "using std::getline" instead of the
11070 previous fix from Angus (necessary for cxx + lyxstring)
11072 2001-12-24 Juergen Vigna <jug@sad.it>
11074 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11076 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11077 problems. First check a minipage also if we have some ert-contents
11078 (not only on par->size(), second set the right depth of the paragraph
11079 on the relink to the root-paragraph-list!
11081 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11082 which then did not anymore update the main paragraphs on undo/redo!
11084 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11086 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11087 code. Support all font-changing funcs (even those which are not in
11088 menu currently). Support for reporting font settings in
11089 mathed (disabled until Andre provides a function on mathed's side).
11091 * func_status.h (toggle): small helper function to set toggle
11094 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11096 * tabular_funcs.C: getline -> std::getline
11098 2001-12-21 Juergen Vigna <jug@sad.it>
11100 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11101 accessed and could be 0 (I couldn't generate this but it seems
11104 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11106 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11107 * tabular_funcs.h: here and include iosfwd
11109 2001-12-20 Juergen Vigna <jug@sad.it>
11111 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11112 inside inset but undo_par was.
11114 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * Thesaurus.C: always include <config.h> in sources.
11120 * box.h: do not include <config.h> in header files
11122 * text.C (paintLastRow): remove unused variable
11124 * text.C (transformChar):
11126 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11128 * Painter.C (text):
11129 * font.C (width): rewrite to use uppercase() instead of
11132 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11134 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11136 * lyxfind.C: clean up of find failure position change
11138 2001-12-20 Juergen Vigna <jug@sad.it>
11140 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11142 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11143 (TeXRow): added to LaTeX a single tabular row.
11144 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11145 (Latex): simplified and finally good LT-h/f support.
11146 (various_functions): just small adaptions for LT-h/f support.
11148 * tabular_funcs.[hC]: added and moved here all not classfunctions
11151 2001-12-19 Juergen Vigna <jug@sad.it>
11153 * tabular.[Ch]: better support for longtabular options (not finished
11156 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11158 * text.C (paintLastRow): use the label font instead of the font of
11159 the last character to compute the size of *_BOX. This makes more
11160 sense and avoids a crash with empty paragraphs.
11161 Use Painter::rectangle to draw EMPTY_BOX.
11163 2001-12-19 Juergen Vigna <jug@sad.it>
11165 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11166 the paragraphs if the replaced paragraph is not the first one!
11167 Tried to delete not used paragraphs but does not work yet so for
11168 now it's inside #ifdef's and by default off!
11170 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11172 * MenuBackend.C: include "lyx_main.h" instead of declaring
11173 lastfiles (actually was declared as LastFiles* instead of a
11176 2001-12-17 Juergen Vigna <jug@sad.it>
11178 * tabular.C (AppendColumn): applied John's fix
11180 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11184 * BufferView_pimpl.h:
11185 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11188 * box.h: new start of class for above
11190 * lyxfunc.C: ignore space-only minibuffer dispatches.
11191 Show the command name when it doesn't exist
11193 * minibuffer.C: don't add empty lines to the history
11195 * minibuffer.C: add a space on dropdown completion
11197 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11199 * text.C: fix line above/below drawing in insets
11201 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * lyxlength.C (LyXLength): Initialize private variables.
11205 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11208 when inserting error insets.
11210 2001-12-13 Juergen Vigna <jug@sad.it>
11212 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11213 actually sometimes the before-paragraph.
11214 (setUndo): don't clear the redostack if we're not actually undoing!
11216 2001-12-06 Juergen Vigna <jug@sad.it>
11218 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11219 and fixed redoing of main paragraph, so we can use it now ;)
11221 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11223 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11228 2001-12-13 André Pönitz <poenitz@gmx.net>
11231 * undo_func.C: minor cleanup
11233 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11236 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11237 font in urw-fonts package which is marked as -urw-fontspecific and
11238 does not work (incidentally, changing the encoding in the
11239 fonts.dir of this package to -adobe-fontspecific fixes the
11242 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11243 is a crash when undoing first paragraph (Juergen, please take a
11244 look). THis does not mean the undo fix is wrong, just that it
11247 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11248 the (Paragraph*) version when needed instead of duplicating the
11251 * text.C (workWidth): use Inset::parOwner to find out where the
11252 inset has been inserted. This is a huge performance gain for large
11253 documents with lots of insets. If Inset::parOwner is not set, fall
11254 back on the brute force method
11256 * paragraph_pimpl.C (insertInset):
11257 * paragraph.C (Paragraph):
11258 (cutIntoMinibuffer): set parOwner of insets when
11259 inserting/removing them
11261 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11263 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11269 * mathed/formulabase.C:
11270 * mathed/math_cursor.[Ch]:
11271 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11274 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * lyxlength.[Ch] (operator!=): new function
11278 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11280 * text.C (workWidth): use Inset::parOwner to find out where the
11281 inset has been inserted. This is a huge performance gain for large
11282 documents with lots of insets. If Inset::parOwner is not set, fall
11283 back on the brute force method
11285 * paragraph_pimpl.C (insertInset):
11286 * paragraph.C (Paragraph):
11287 (cutIntoMinibuffer): set parOwner of insets when
11288 inserting/removing them
11290 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11292 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11294 * tabular-old.C (getTokenValue):
11295 * tabular.C (getTokenValue):
11296 (write_attribute): new versions for LyXLength
11297 (everywhere): adjust the use of widths
11299 * tabular.h: change the type of widths from string to LyXLength
11301 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11303 * paragraph.C: fixed missing line number count when exporting
11304 Environments to LaTeX file
11306 * buffer.C: added informational message for checking line numbers.
11308 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11311 paragraph, do the 'double space' part, but not the 'empty
11314 * text.C (workWidth): small optimization
11315 (getLengthMarkerHeight): use minimal size for negative lengths.
11317 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11319 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11321 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11323 2001-12-11 André Pönitz <poenitz@gmx.net>
11326 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11328 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11330 * text2.C: keep selection on a setFont()
11332 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11334 * lyx_cb.C: another bv->text misuse, from insert label
11336 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11339 * kbsequence.C: re-instate nmodifier mask
11341 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11343 * lyx_main.h: make lyxGUI private.
11345 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11347 * lyxfind.C: place the cursor correctly on failed search
11349 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * text.C (getLengthMarkerHeight): for small heights, the arrows
11352 are not always on top/bottom of the text
11353 (drawLengthMarker): smaller arrows; take the left margin in
11354 account; draw also vfills.
11356 (paintLastRow): remove special code for vfill and standard spaces,
11357 since everything is handled in drawLengthMarker now.
11359 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * buffer.C (insertErtContents): try to handle font and language
11362 interaction a bit better.g
11364 * ColorHandler.C (updateColor): change the hash to cover the whole
11365 LColor enum, ws cleanup
11366 (getGCLinepars): ditto
11367 (getGCLinepars): only lookup in the linecache once.
11369 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11371 * iterators.C (operator++): Make the iterator more robust
11373 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11377 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11380 * text.C: better added space drawing
11382 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11385 * BufferView2.C: fix layout combo update on inset unlock
11387 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11389 * Makefile.am: don't compile unused files
11391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11395 * LyXAction.C: remove old LFUN_LAYOUTNO
11397 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11399 * paragraph_pimpl.h:
11400 * paragraph_pimpl.C: isTextAt() doesn't need font param
11402 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxlex.C: little cleanup
11407 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11409 * BufferView_pimpl.C: fix insertAscii for insets
11411 2001-12-05 Juergen Vigna <jug@sad.it>
11413 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11414 set the right font on the "multi" paragraph paste!
11416 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * lyxlength.C: remove out-commented code.
11424 * BufferView_pimpl:
11438 * vc-backend.C: change "while(" to "while ("
11440 * lyxlength.[Ch]: add zero function to check if length is zero or
11442 * lyxgluelength.C: use it
11444 2001-12-05 Allan Rae <rae@lyx.org>
11446 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11447 Works for 2.95.3, from what I understand of Garst's reports this should
11448 work for other g++ versions. We're screwed if the abs(int) definition
11449 changed between bugfix releases of gcc.
11451 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11453 * text.C: fix chapter label offset !
11455 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11458 * text.C: fix hfill at end of line, clean up
11460 2001-12-04 Juergen Vigna <jug@sad.it>
11462 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11463 that we force an update of the inset and it's owners if neccessary.
11465 2001-12-03 Juergen Vigna <jug@sad.it>
11467 * text.C (rowLast): simplified code
11469 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11471 * lyxfunc.C: fix show options on timeout
11473 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11475 * screen.C (topCursorVisible): scroll half a page when the cursor
11476 reached top of bottom of screen
11478 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11480 * minibuffer.C: deactivate on loss of focus
11482 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11484 * vspace.[Ch] (operator!=): add operator.
11486 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11488 * BufferView_pimpl.C: refuse to open an inset when
11489 there's a selection.
11491 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11493 * BufferView_pimpl.C: allow to click on RHS of full row insets
11495 2001-11-30 Juergen Vigna <jug@sad.it>
11497 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11498 insets for undo reasons.
11500 2001-11-28 André Pönitz <poenitz@gmx.net>
11502 * vspace.[Ch]: cosmetical changes
11504 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11514 * kbsequence.C: part re-write of old kb code
11517 * WorkArea.C: remove Lgb_bug_find_hack
11519 2001-11-30 José Matos <jamatos@fep.up.pt>
11521 * buffer.C (makeDocBookFile): add a comment to point a hack.
11522 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11523 Fixed a double write of labels.
11525 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11528 * LaTeX.h Fixed bug in LaTeX class where it would not
11529 re-run latex if no depfiles were changed, but the .dvi was removed.
11531 2001-11-28 André Pönitz <poenitz@gmx.net>
11533 * all the files from the change on 2001/11/26:
11534 use lyx::layout_type instead of LyXTextClass::size_type
11535 use lyx::textclass_type instead of LyXTextClassList::size_type
11537 2001-11-29 Juergen Vigna <jug@sad.it>
11539 * text.C: added support for paragraph::isFreeSpacing()
11541 * buffer.C: same as above
11543 * paragraph.h: inserted isFreeSpacing() function to enable
11544 FreeSpacing inside InsetERT.
11546 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11547 of the paragraph's in the cut/copy buffer to 0!
11549 * text2.C (removeRow): remove the assert as it can!
11551 * lyxtext.h: added helper function firstRow returning firstrow and
11552 made firstrow private again.
11554 * BufferView2.C (lockInset): don't relock if we're already locked!
11556 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11557 the only paragraph.
11558 (removeRow): added Assert::(firstrow)
11560 * debug.C: forgot to add INSETTEXT here.
11562 2001-11-28 Juergen Vigna <jug@sad.it>
11564 * sp_spell.C (initialize): changed error text to more general
11565 spellchecker command use (not only ispell!)
11567 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11569 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11571 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11573 * vspace.C: initialise lyxgluelength on failure
11575 2001-11-28 Allan Rae <rae@lyx.org>
11577 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11578 declaration & definition that looks like a function declaration.
11580 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11582 * BufferView2.C (copy):
11583 (copyEnvironment): do not clear the selection when doing a copy.
11585 * text.C (paintFirstRow): compilation fix
11587 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11589 * tabular.C (Latex): correct line count when writing latex.
11591 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11593 * paragraph_pimpl.h:
11594 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11597 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11601 * LColor.C: change vfillline->added_space
11603 * text.C: add markers and text for added space
11605 * vspace.C: fix comment
11607 2001-11-28 André Pönitz <poenitz@gmx.net>
11609 * paragraph.C: whitespace changes
11610 * all the other files from the change on 2001/11/26:
11611 change *::pos_type into lyx::pos_type
11613 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11615 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11616 language of the document when inserting error insets.
11618 2001-11-26 André Pönitz <poenitz@gmx.net>
11620 * BufferView_pimpl.[Ch]:
11628 * paragraph_pimpl.[Ch]:
11631 * text2.C: reduce header dependencies, introduce type for positions
11633 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11635 * <various>: change to use Alert.h
11637 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11639 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11640 when encountering an unknown token.
11641 (readLyXformat2): Show an error message if there were unknown tokens.
11643 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11646 * BufferView_pimpl.C:
11650 * text2.C: use par->isInset()
11652 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11654 * paragraph_pimpl.h:
11655 * paragraph_pimpl.C: cleanup
11657 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * text2.C (removeRow):
11660 * text.C (setHeightOfRow): remove useless (and costly) call to
11663 2001-11-20 Allan Rae <rae@lyx.org>
11665 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11666 Now need Inset*::checkInsertChar() to return true for appropriate
11667 cases so that the characters in the minibuffer will actually be
11670 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11672 * text.C: change the order of the includes.
11673 (workWidth): initialize it at once.
11674 (workWidth): make maxw unsigned
11675 (setHeightOfRow): remove unused variable (inset)
11676 (selectSelectedWord): remove unused variable (inset)
11677 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11679 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11681 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11682 server is not running.
11684 (closeConnection): add debug info when server is disabled.
11686 * ColorHandler.C (getGCForeground): send debug message to GUI
11689 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11691 * kbmap.C (bind): modify because return conventions of
11692 kb_sequence::parse have changed.
11694 * kbsequence.C (parse): only ignore spaces and not any stupid
11695 control character. This avoids tests like s[i] <= ' ', which are
11696 guaranteed to fail with 8bit characters and signed chars.
11697 Change return code to string::npos when there have been no error
11698 (0 was a bad idea when error is at first character)
11700 2001-11-14 José Matos <jamatos@fep.up.pt>
11703 * buffer.C (simpleDocBookOnePar): removed unused argument.
11705 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11708 insets which are part of a word. Paragraph::isLetter takes care of
11709 that now. Use Paragraph::isInset to identify insets.
11710 (selectSelectedWord): do not test for hyphenation break.
11712 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11713 that protected spaces are considered as spaces.
11715 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11718 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11721 * lyxserver.C: fix it. and small cleanup.
11723 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.C: use inline helpers
11728 * LaTeXFeatures.C: fix typos
11731 * Spacing.C: move spacing_string into class
11733 * ToolbarDefaults.C: move stuff into namespace anon
11735 * layout.h: update enum
11737 * lyxfunc.C: use better debug
11739 * minibuffer.h: fix typo
11743 * WorkArea.C: add and use Debug::WORKAREA
11747 * text2.C: code re-organisation, inline helpers
11749 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11751 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11752 std::vector.empty().
11754 2001-11-09 Allan Rae <rae@lyx.org>
11756 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11757 '\n's after tables. Tabular and ERT inset work now makes this no
11760 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11763 * minibuffer.C: fix crash, improve drop-down completion
11765 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11768 * lyxserver.C: invalidate fd's when doing endPipe()
11770 2001-11-08 José Matos <jamatos@fep.up.pt>
11772 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11773 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11776 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11778 2001-11-07 José Matos <jamatos@fep.up.pt>
11781 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11784 * buffer.C (sgmlOpenTag):
11785 * buffer.C (sgmlCloseTag): removed debug info.
11787 * buffer.h (sgmlOpenTag):
11788 * buffer.h (sgmlCloseTag): made public.
11790 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * buffer.C (saveParamsAsDefaults):
11793 * lyx_cb.C (MenuLayoutSave): remove
11795 * LyXAction.C (init):
11797 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11799 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * buffer.C (setPaperStuff): removed from here...
11803 * bufferparams.C (setPaperStuff): ... and moved there.
11805 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11809 * XFormsView.C: add support for drop-down completion
11811 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11813 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11816 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11821 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11823 * lyx_main.C: change ref to known bugs
11825 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11827 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11828 to work around older babel problems.
11830 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11832 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11834 2001-10-24 Juergen Vigna <jug@sad.it>
11836 * tabular-old.C (ReadOld): below variable changes reflected.
11838 * tabular.[Ch]: added ltType struct for longtable header/footer
11839 defines and changed all instances where they are used. Added
11840 future support for double top/bottom rows.
11842 2001-10-24 José Matos <jamatos@fep.up.pt>
11844 * buffer.h (docbookHandleCaption):
11845 * buffer.C (docbookHandleCaption): removed unused function.
11846 (makeDocBookFile): moved docbook supported version to v4.1.
11848 2001-10-24 José Matos <jamatos@fep.up.pt>
11851 * tabular.C (docbookRow): new function to export docbook code of a row.
11852 (DocBook): now honors the longtable flags.
11854 2001-10-23 José Matos <jamatos@fep.up.pt>
11857 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11858 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11860 * buffer.C (makeLinuxDocFile):
11861 (makeDocBookFile): reworked the preamble, more clean, and with
11862 support for lyx defined entities. Changed the document declaration
11863 to be more XML friendly.
11865 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11866 if we need to output XML that should be done with a filter.
11868 2001-10-22 Juergen Vigna <jug@sad.it>
11870 * sp_pspell.h (class PSpell): add alive function needed in the
11871 controller to see if the spellchecker could be started.
11873 2001-10-22 Juergen Vigna <jug@sad.it>
11875 * buffer.C (insertStringAsLines): modify the font for inserting
11876 chars in certain conditions by calling checkInsertChar(font).
11878 2001-10-19 Juergen Vigna <jug@sad.it>
11880 * text.C (workWidth): use getRow instead of wrong algorithm.
11881 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11883 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11888 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11890 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11892 * text.C (workWidth): do not search for the exact row when
11893 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11894 optimization for big documents.
11896 2001-10-18 Juergen Vigna <jug@sad.it>
11898 * text.C (workWidth): new function with added Inset * parameter.
11900 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11904 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11905 change return type of getColumnNearX.
11908 * text.C (changeRegionCase): use uppercase/lowercase instead of
11911 (rightMargin): simplify code by factoring out the uses of
11916 (appendParagraph): use Paragraph::size_type
11918 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11920 * vspace.C (asLatexString): add a missing break
11922 2001-10-15 Herbert Voss <voss@perce.de>
11924 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11926 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11931 2001-10-10 André Pönitz <poenitz@gmx.net>
11933 * lyxfunc.C: removed greek_kb_flag.
11935 2001-10-10 Herbert Voss <voss@perce.de>
11937 * lyx_main.C: delete global string help_lyxdir.
11939 2001-10-09 Herbert Voss <voss@perce.de>
11941 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11943 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11945 * lyx_main.C: added global string help_lyxdir.
11947 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11949 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11951 * lyxrc.C (set_font_norm_type): support iso8859-4
11953 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11955 * LaTeX.C (deplog): add another regex for MikTeX
11957 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11959 * lyxrc.C (set_font_norm_type): support iso8859-3
11961 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11963 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11965 * LaTeXFeatures.C: remove special case of french and index
11967 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11968 before \begin{document}). This solves several incompatibilities.
11970 2001-10-03 Garst Reese <reese@isn.net>
11972 * lyx_cb.C: change CheckTex error msg.
11974 2001-10-03 José Matos <jamatos@fep.up.pt>
11976 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11978 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11980 * .cvsignore: update
11982 * lyx_main.C (commandLineVersionInfo): use new style version info.
11984 * buffer.C (writeFile):
11986 (makeLinuxDocFile):
11987 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11989 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11991 * version.h: update to use stuff in version.C
11993 * version.C.in: new file. Contains version information determined
11994 at compile time. This is a merging of version.h and
11997 2001-10-03 Juergen Vigna <jug@sad.it>
11999 * BufferView_pimpl.C (update): don't change "dirty" status in
12002 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12004 * WorkArea.C (c-tor): re-position version string slightly.
12006 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12008 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12009 revert to previous code.
12011 WorkArea.[Ch]: (show, destroySplash): methods removed.
12013 WorkArea.C: rework code so that it's an amalgam of the codes before and
12014 after the splash screen was moved to WorkArea.
12016 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12019 * vspace.C (inPixels):
12022 * buffer.C (insertStringAsLines):
12023 (asciiParagraph): fix types to be large enough
12025 * lyxlex_pimpl.h: change member status from short to int
12027 * layout.h: fix type of endlabeltype
12030 * kbsequence.C (parse): change return type to string::size_type
12032 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12035 * Bullet.C (bulletSize):
12036 (bulletEntry): do not use short ints as parameters
12038 * BufferView2.C (insertLyXFile): change a char to an int.
12040 * WorkArea.C (WorkArea): remove unneeded floats in computation
12042 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12044 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12046 * paragraph.C (asString): Do not ignore newline/hfill chars when
12047 copying to the clipboard.
12049 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12051 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12052 after a multi-line inset.
12054 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12056 * paragraph.C (validate): Set NeedLyXFootnoteCode
12058 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12060 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12061 and decrease-error to decrease.
12063 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12065 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12066 it more readable (should be equivalent)
12068 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12070 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12072 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12075 of a cursor (row, etc.) after a character has been deleted
12076 (deleteEmptyParagraphMechanism): call the method above on _all_
12077 cursors held by the LyXText when a double space has been
12080 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12082 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12084 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12086 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12087 background. Use greyOut() and the new show() methods to toggle between
12088 the foreground and background. Add code to remove the splash after
12089 its initial showing.
12091 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12092 (create_forms): no longer call Dialogs::showSplash.
12094 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12096 * .cvsignore: add version_info.h
12098 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12100 * version_info.h.in: new file
12102 * Makefile.am: add version_info.h.in
12104 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12105 version_info.h instead of VERSION_INFO
12107 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12109 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12110 The ERT inset now returns string().
12112 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12114 * lyxtext.h, text.C (selectNextWord): renamed as
12115 selectNextWordToSpellcheck.
12117 * text.C (selectNextWordToSpellcheck): Modified to not select
12118 words inside an ERT inset.
12120 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12122 * lyx_cb.C (MenuLayoutSave): change a bit the question
12124 * sp_base.h: include <sys/types.h>
12126 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12128 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12130 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12132 * several files: fix typos in user-visible strings
12134 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12136 * text2.C (pasteSelection): do not set the selection, since it
12137 will be cleared later. Actually, the intent was to fix the way the
12138 selection was set, but I figured rmoving the code was just as good.
12140 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12142 * FontLoader.C (available): Check if font is available without
12145 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12147 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12149 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12151 * lyxrc.[Ch]: added display_graphics variable and associated code.
12153 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12155 * bufferparams.C (hasClassDefaults): new method. Returns true if
12156 the buffer parameters correspond to known class defaults
12158 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12160 * XFormsView.C (show): set minimum size to the main window.
12162 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12164 * text2.C (copySelection):
12166 * lyxfind.C (LyXReplace):
12167 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12168 LyXText::selectionAsString.
12170 * paragraph.C (asString): add "label" argument to the second form
12172 * text2.C (selectionAsString): add "label" argument and pass it to
12173 Paragraph::asString.
12175 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * lyx_main.C (commandLineHelp): remove version information
12179 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12181 * lyx_main.C: add -version commandline option
12183 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * paragraph.h: make the optional constructor arg required instead.
12186 some modifications to other files because of this.
12188 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12190 * lyxserver.C (C_LyXComm_callback): make it static
12192 * lyx_main.C (error_handler): make it static
12194 * lyx_gui.C (LyX_XErrHandler): make it static
12196 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12198 * WorkArea.C: make the extern "C" methods static.
12200 * Makefile.am (lyx_LDADD): simplify
12202 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12204 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12205 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12207 * LyXAction.C (init):
12208 * lyxfunc.C (dispatch): associated code removal.
12210 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * lyxfont.h (isSymbolFont): shut off warning
12214 * text.C (setHeightOfRow):
12215 (getVisibleRow): fix crash with empty paragraphs which have a
12218 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12220 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12223 2001-09-04 José Matos <jamatos@fep.up.pt>
12226 * tabular.C (docbook): rename docBook method to docbook.
12228 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12230 * Makefile.am: add dependencies to main.o.
12232 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12234 * FontLoader.C (available): Return false if !lyxrc.use_gui
12236 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12238 * FontInfo.C (query):
12239 * converter.C (view):
12240 * importer.C (Import):
12241 * exporter.C (Export): Can not -> cannot.
12243 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12245 * BufferView_pimpl.C: allow to create index inset even if
12248 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12250 * buffer.C (getLists): replace boost::tie code with an explicit pair
12251 as boost::tie can break some compilers.
12253 * iterators.h: Added a std:: declaration to the return type of
12256 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12258 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12261 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12263 * iterators.[Ch]: New files. Provide paragraph iterators.
12265 * buffer.C (changeLanguage): Use paragraph iterators.
12266 (isMultiLingual): ditto
12268 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12270 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12272 * FontLoader.C: Support for cmr font.
12274 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12276 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12277 (available): New method.
12279 * FontInfo.C (getFontname): Use scalable fonts even when
12280 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12283 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12285 * converter.C (Formats::view): reverted! Incorrect fix.
12287 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12289 * converter.C (Formats::view): only output the -paper option
12290 if the dvi viewer is xdvi, thereby fixing bug #233429.
12292 2001-08-23 Herbert Voss <voss@perce>
12294 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12296 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12298 * Spacing.h (Spacing): Set space to Default on in the default
12301 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12303 * vc-backend.h (RCS::versionString): add RCS to version
12304 (CVS::versionString): add CVS to version
12306 * vc-backend.C (scanMaster): do not add CVS to version.
12307 (scanMaster): do not add RCS to version
12309 * lyxvc.C (versionString): new method
12311 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12313 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * Spacing.C (set): initialize fval
12317 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12319 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12322 2001-08-16 Juergen Vigna <jug@sad.it>
12324 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12326 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.C:
12331 * text2.C: setParagraph takes linespacing now
12333 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12335 * LyxAction.C: add internal LFUN_CITATION_INSERT
12337 * LyXView.C: actually apply fix
12339 * bufferlist.C: fix open non-existent file
12341 * lyxfind.C: fix indentation
12343 * lyxfunc.C: remove unneeded assert, fix typo
12345 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12347 * MenuBackend.C: use "Floatname List"
12349 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12351 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12352 when converting LaTeX layout to insetERT.
12353 Generate a non-collapsed float when reading old float
12355 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12357 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12360 2001-08-13 Juergen Vigna <jug@sad.it>
12362 * text.C (fill): return 0 instead of 20 as this seems to be the more
12365 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12367 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12370 2001-08-13 Juergen Vigna <jug@sad.it>
12372 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12374 (SearchBackward): comment out the unlocking of the inset_owner this
12375 should not be needed!
12377 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12379 * Many files: Remove inherit_language, and add latex_language
12381 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12382 collapsible insets.
12384 2001-08-10 Juergen Vigna <jug@sad.it>
12386 * text.C (prepareToPrint): fixed hfill-width in draw!
12388 * BufferView2.C (selectLastWord): save the selection cursor as this
12389 now is cleared in the function LyXText::clearSelection!
12391 2001-08-08 Juergen Vigna <jug@sad.it>
12393 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12394 BACKSPACE type functions.
12396 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12397 is only cutted from the document but not put in the cut-buffer, where
12398 still the old stuff should be.
12400 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12402 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12404 * tabular.C (SetWidthOfCell): fixed special case where the width
12406 (LeftLine): handle '|' in align_special.
12408 (LeftAlreadyDrawed): ditto
12409 (SetWidthOfCell): ditto
12411 2001-08-07 Juergen Vigna <jug@sad.it>
12413 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12415 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12417 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12418 * lyxlex.[hC]: ditto
12420 2001-08-06 Juergen Vigna <jug@sad.it>
12422 * text.C (getVisibleRow): fix up row clearing a bit.
12424 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * minibuffer.C: make sure the X server sees the changes in the input.
12428 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12430 * paragraph.C (getFont): split into...
12431 (getLabelFont): this
12432 (getLayoutFont): and this
12433 * paragraph_pimpl.C (realizeFont): calling this
12435 * text2.C (getFont): split into...
12436 (getLayoutFont): this
12437 (getLabelFont): and this
12438 (realizeFont): all three calling this
12440 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12443 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12445 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12447 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12449 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12450 layouts from the Quote inset insertion.
12452 2001-08-03 Juergen Vigna <jug@sad.it>
12454 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12456 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12457 only if status not is already CHANGED_IN_DRAW (second level).
12459 * text.C (draw): don't set the need_break_row when inside an
12462 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * buffer.C (parseSingleLyXformat2Token): handle more latex
12467 * bufferview_funcs.[hC]: change function names to
12468 begin with small char, adjust other files.
12470 2001-08-02 André Pönitz <poenitz@gmx.net>
12473 BufferView_pimpl.C: remove broken special code for math-greek
12475 2001-08-02 Juergen Vigna <jug@sad.it>
12477 * BufferView_pimpl.C (update): redone this function so that we
12478 update the text again if there was a CHANGE_IN_DRAW.
12480 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12481 (drawFromTo): added a new internal bool which is used by draw() and
12483 (general): some cursor drawing problems fixed.
12485 2001-08-01 Juergen Vigna <jug@sad.it>
12487 * lyxfind.C (LyXFind): fixed
12488 (SearchForward): ditto
12489 (SearchBackward): ditto
12491 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12492 spurius drawing of the cursor in the main area.
12494 * text2.C (status): small fix which could lead to a segfault!
12495 (clearSelection): remove unneeded BufferView param.
12497 2001-08-01 André Pönitz <poenitz@gmx.net>
12499 * lyxfunc.C: small change due to changed mathed interface
12501 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12505 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12507 * lyxfunc.c: fail gracefully if file doesn't exist
12512 * BufferView_pimpl.C: IsDirWriteable() proto changed
12514 * LyXView.C: fix updateWindowTitle() to store the last title
12516 2001-07-31 Juergen Vigna <jug@sad.it>
12518 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12519 the font (wrong since using of Paragraph::highestFontInRange).
12521 * paragraph.C (highestFontInRange): added a default_size parameter.
12523 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12524 (setHeightOfRow): reformat
12526 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * converter.[hC] + affected files: move to (inital-char)lowercase
12531 * ParagraphParameters.C (ParagraphParameters): remove commented code
12533 * PainterBase.[Ch]: remove commented code
12535 * LaTeXFeatures.h: add "bool floats" for float.sty
12537 * LaTeXFeatures.C (LaTeXFeatures): init floats
12538 (require): handle float
12539 (getPackages): do it with floats
12541 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * BufferView_pimpl.C (Dispatch): improve handling of
12544 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12546 * commandtags.h: #include lyxfont.h here temporarily to avoid
12549 * bufferlist.h: include LString.h here.
12551 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12553 * text2.C (getStringToIndex): new method.
12555 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12557 * *: Reduced header file dependencies all over.
12559 2001-07-30 Baruch Even <baruch@lyx.org>
12561 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12563 2001-07-29 Baruch Even <baruch@lyx.org>
12565 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12567 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * ParameterStruct.h (endif): add a default constructor to make
12570 sure that all variables is initialized.
12572 * ParagraphParameters.C (ParagraphParameters): adjust
12574 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12577 index; also, check that there is something to index, and that it
12578 does not span over several paragraphs.
12579 (doubleClick): use WHOLE_WORD_STRICT for double click.
12581 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12583 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12586 2001-07-26 Baruch Even <baruch@lyx.org>
12588 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12589 an InsetFig figure, backwards compatible reading of old figure code.
12591 2001-07-27 Juergen Vigna <jug@sad.it>
12593 * text2.C: font.realize function adaption.
12595 * text.C (draw): add a warnings lyxerr text if needed.
12597 * layout.C: font.realize function adaption.
12599 * language.C: add inherit_language and implement it's handlings
12601 * bufferview_funcs.C (StyleReset): remove language parameter from
12602 font creation (should be language_inherit now).
12604 * bufferparams.C (writeFile): handle ignore_language.
12606 * paragraph.C (getFontSettings): the language has to be resolved
12607 otherwise we have problems in LyXFont!
12609 * lyxfont.C (lyxWriteChanges): added document_language parameter
12610 (update): removed unneeded language parameter
12612 * paragraph.C (validate): fixed wrong output of color-package when
12613 using interface colors for certain fonts in certain environments,
12614 which should not seen as that on the final output.
12616 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12618 * BufferView_pimpl.C:
12623 * LyXAction.C: add thesaurus support
12626 * lyxfind.C: add "once" parameter, for thesaurus, to not
12627 move to the next match
12629 2001-07-26 Juergen Vigna <jug@sad.it>
12631 * lyxfont.C (realize): honor ignore_language too!
12634 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12636 * text.C (draw): one place more for ignore_language to not draw
12639 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12641 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12643 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12646 the minipage conversion problem.
12648 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12653 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * BufferView.h: don't forward declare WorkArea
12657 * BufferView.C: don't include WorkArea.h
12659 2001-07-25 André Pönitz <poenitz@gmx.net>
12663 * lyxfunc.C: new LFUN 'math-space'
12665 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12667 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * text2.C (toggleInset): call open/close
12671 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * lyxfunc.C (dispatch): add debug for the disabled case
12675 * font.C (buttonText): make similar to rectText
12677 * buffer.C (readInset): comment out parsing of insetlist and
12680 * PainterBase.C (rectText): small correction
12682 * BufferView_pimpl.C: comment out insettheorem and insetlist
12683 * LyXAction.C: ditto
12684 * commandtags.h: ditto
12686 2001-07-24 Juergen Vigna <jug@sad.it>
12688 * text.C (draw): honor the ignore_language.
12690 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12692 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12697 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12699 * lyxtext.h: remove unused (and unimplemented) methods
12701 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12703 * text.C (getVisibleRow): honor background color
12706 * Painter.h: remove default color argument for fillRectangle
12708 * text.C (backgroundColor): new method
12710 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * text.C (getVisibleRow): adjust
12714 * font.[Ch] (rectText): new method, metrics
12715 (buttonText): new method, metrics
12717 * PainterBase.[hC]: make rectText and buttonText always draw and take
12720 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12722 * ToolbarDefaults.C (read):
12723 * MenuBackend.C (read): allow escaping in all strings
12725 * BufferView_pimpl.C (insertAndEditInset): new method.
12726 (Dispatch): use insertAndEditInset whenever appropriate.
12728 * BufferView_pimpl.C (insertNote): removed
12730 * BufferView_pimpl.C (smartQuote): new method, moved from
12731 BufferView; if an insetquote cannot be inserted, insert a '"'
12734 * BufferView2.C: remove insertCorrectQuote();
12736 * lyxfunc.C (getStatus): Add support for all remaingin
12737 inset-insert lfuns.
12739 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12741 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12742 command (necessary to pass " as parameter of self-insert.
12744 * text.C (selectWordWhenUnderCursor):
12745 (selectWord): add word_location parameter
12746 (selectWordWhenUnderCursor): same + remove special code for word
12748 (selectNextWord): use kind() to guess type of insetspecialchar,
12751 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12752 (insertErtContents): create ert insets as collapsed.
12753 (readInset): better compatibility code for Info inset.
12755 2001-07-20 Juergen Vigna <jug@sad.it>
12757 * lyxfunc.C (dispatch): use always LyXFind now!
12759 * text2.C (init): add a reinit flag so that the LyXText can be
12760 reinited instead of deleted and reallocated (used in InsetText).
12762 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12768 2001-07-18 Juergen Vigna <jug@sad.it>
12770 * text.C (selectNextWord): handle insets inside inset by calling
12771 always the bv->text functions so that we can go up the_locking_inset!
12773 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12774 in strange locations when inside an inset!
12776 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12777 handling to include insets.
12779 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12781 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * LyXAction.C (init):
12785 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12786 LIGATURE_BREAK, since the name is so stupid.
12788 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12790 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12793 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12795 * sp_form.[Ch]: remove.
12797 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12799 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12802 * src/buffer.C (readInset): ditto.
12804 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12806 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12807 menuSeparator(), endOfSentenceDot(), ldots() and
12808 hyphenationPoint(), which are therefore removed.
12809 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12811 * LyXAction.C (init):
12812 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12814 * paragraph.C (getWord): removed.
12816 * BufferView_pimpl.C (Dispatch): use last word or selection for
12817 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12819 * lyx_main.C (queryUserLyXDir): do not ask before creating
12820 user_dir, except if it has been named explicitely.
12822 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12824 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12825 a document of zero size.
12827 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12829 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12830 approriately in the c-tor and in require().
12831 (getPackages): output the appropriate LaTeX for natbib support.
12833 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12834 variables "use_natbib" and "use_numerical_citations" when reading the
12836 (readInset): read the various natbib cite commands.
12837 (validate): white-space change.
12839 * bufferparams.[Ch]: new variables "bool use_natbib" and
12840 "bool use_numerical_citations".
12841 (writeFile): output them in the LyX file.
12843 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12845 * lyxfunc.C (getStatus): add support for all the inset insertion
12848 * text2.C (insertInset):
12849 * paragraph.C (insetAllowed):
12850 * BufferView_pimpl.C (insertInset): update to take in account the
12851 renaming of insertInsetAllowed
12853 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12855 * text2.C (getInset): new method. returns inset at cursor position.
12857 * BufferView_pimpl.C (Dispatch): changes because of this.
12859 * LyXAction.C (init): rename open-stuff to inset-toggle.
12861 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12863 * text2.C (toggleInset): renamed from openStuff; use
12866 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12868 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12870 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12872 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12874 * buffer.C (readLyXformat2): Add filename to the error dialog
12876 2001-07-18 Juergen Vigna <jug@sad.it>
12878 * tabular.C (GetCellNumber): put an assert here instead of the check!
12880 2001-07-17 Juergen Vigna <jug@sad.it>
12882 * BufferView_pimpl.C (toggleSelection): adapted too.
12884 * text.C (selectNextWord): adapted for use with insets.
12885 (selectSelectedWord): ditto
12887 2001-07-17 Juergen Vigna <jug@sad.it>
12889 * sp_spell.C (PSpell): fix initialitation order.
12891 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * paragraph.C: spacing
12895 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12897 * sp_spell.C: repair language selection for pspell
12899 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * lyxfunc.h: change more methods to begin with lower char.
12903 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12905 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12906 for unknown layouts.
12908 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12910 * buffer.C (readLyXformat2): Generate an error dialog if there are
12913 2001-07-16 Juergen Vigna <jug@sad.it>
12915 * sp_spell.C: always compile ISpell part.
12917 * lyxrc.C: added use_pspell entry and it's handling.
12919 2001-07-13 Juergen Vigna <jug@sad.it>
12921 * sp_spell.C: removed double includes.
12923 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12925 Consistent use of Lsstream.h:
12926 * Lsstream.h: added using std::stringstream for consistencies sake.
12928 * buffer.C: removed using std::stringstream
12930 * lyxfont.C (stateText):
12931 * paragraph.C (asString):
12932 * text.C (selectNextWord, selectSelectedWord):
12933 * text2.C (setCounter):
12934 * vspace.C (asString, asLatexString):
12935 std::ostringstream -> ostringstream.
12937 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12939 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12940 * commandtags.h: add LFUN_HELP_ABOUTLYX
12941 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12943 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12945 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12947 * lyx_gui_misc.C: remove spellchecker
12948 * lyxfunc.C: showSpellchecker
12950 * sp_ispell.h: added
12951 * sp_pspell.h: added
12952 * sp_spell.C: added
12953 * sp_form.[Ch]: removed
12954 * spellchecker.[Ch]: removed
12956 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12958 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12960 (simpleTeXSpecialChars): Simply print the input character without
12961 any special translation if pass_thru is set.
12963 * layout.h: Added bool pass_thru to layout class for being able to
12964 implement pass through of a paragraph for Literate Programming.
12966 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12967 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12968 * layout.C (Read): add "passthru" to list of layout tags and add
12969 code to set the pass_thru boolean when it is read.
12971 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * trans_decl.h: remove allowed from KmodInfo
12975 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12976 remove allowed code
12979 * paragraph_pimpl.C (erase): use boost::prior
12981 * Painter.C (text): use data() instead of c_str() when length is
12983 * WorkArea.C (putClipboard): ditto
12984 * font.h (width): ditto
12986 * BufferView2.C: use it-> instead of (*it). for iterators
12988 * paragraph_pimpl.C: ditto
12989 * paragraph.C: ditto
12990 * minibuffer.C: ditto
12991 * language.C: ditto
12993 * encoding.C: ditto
12994 * counters.C: ditto
12995 * converter.C: ditto
12997 * Variables.C: ditto
12998 * TextCache.C: ditto
12999 * MenuBackend.C: ditto
13000 * LyXAction.C: ditto
13002 * FloatList.C: ditto
13003 * DepTable.C: ditto
13004 * ColorHandler.C (LyXColorHandler): ditto
13006 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13008 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13010 * text2.C (openStuff): reintroduce this method (which had been
13011 nuked in NEW_INSETS frenzy).
13013 * lyxfunc.C (Dispatch): when an action has not been handled, use
13014 its name in the error message, not its number.
13016 * paragraph.C (inInset): change method name to begin with lowercase.
13019 * text2.C: updates because of this.
13021 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * ToolbarDefaults.C (add): add spaces in error message
13025 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13028 (readLyXformat2): rename return_par to first_par, use lyxlex's
13029 pushToken and remove the manual push handling.
13030 (parseSingleLyXformat2Token): add another ert comp. variable:
13031 in_tabular, rename return_par to first_par. handle newlines better
13033 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13035 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13037 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * text2.C (getParFromID): removed
13041 * buffer.C (getParFromID): new method moved form lyxtext.
13042 * BufferView2.C (insertErrors): adjust
13043 (setCursorFromRow): adjust
13044 * BufferView_pimpl.C (restorePosition): adjust
13045 * lyxfunc.C (Dispatch): adjust
13046 * undo_funcs.C (textUndo): adjust
13048 (textHandleUndo): adjust
13049 (textHandleUndo): adjust
13051 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13053 * buffer.C: up' the LYX_FORMAT
13055 * lyxfont.h: turn NO_LATEX on as default
13057 * buffer.C (insertErtContents): new methods of tex style compability.
13058 (parseSingleLyXformat2Token): use it several places.
13059 * tabular.C (OldFormatRead): and here
13061 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * text2.C: remove some commented code.
13066 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13067 * trans.C: changes because of the above.
13069 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13071 * text2.C (setCounter): Fix counters bug with bibliography layout.
13073 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13076 own member functions
13077 (simpleTeXSpecialChars): ditto
13079 2001-07-06 Juergen Vigna <jug@sad.it>
13081 * a lot of files: changed the access to LyXText::status and the
13082 call of undo-functions.
13084 * undo.[Ch]: added a inset_id to the undo informations.
13086 * undo_funcs.[Ch]: added and moved here all undo functions.
13088 * lyxtext.h: give the status enum a weight, made status_ a private
13089 variable and made accessor functions for it, removed the whole bunch
13090 of undo-functions as they are now in their own file, make some
13091 functions publically available. Added function ownerParagraph with
13094 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13095 made InInset() a const function, added getParFromID() function.
13097 * buffer.[Ch]: added const version for inset_iterator functions,
13098 added getInsetFromID() function.
13100 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13101 changed undo functions for new version.
13103 2001-07-05 Juergen Vigna <jug@sad.it>
13105 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13106 unknow mechanism does not call the proper constructor but only this
13107 one also if I request the other!?
13109 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13113 * text2.C (LyXText): use initialization lists.
13115 * lyxtext.h (Selection): initialize set_ and mark_
13116 (init): remove method
13118 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13120 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13122 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * screen.[Ch]: change method names to begin with lowercase
13126 * BufferView_pimpl.C (updateScrollbar): simplify further and
13127 hopefully make it a bit faster.
13129 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13131 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13132 calling directly xforms functions.
13134 * Painter.C (Painter):
13135 * lyx_cb.C (MenuWrite):
13136 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13139 * lyx_gui.C: remove bogus guiruntime extern declaration.
13141 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13145 (redoDrawingOfParagraph): ditto
13146 (redoParagraphs): ditto
13147 (cutSelection): don't create a object for CutAndPaste use the
13148 static method directly
13149 (pasteSelection): ditto
13151 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13154 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * modifications to some other files because of this.
13158 * Makefile.am (lyx_SOURCES): add XFormsView
13160 * XFormsView.[Ch]: new files
13162 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13163 the main window. Move the gui dependent stuff to XFormsView
13165 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13167 * tabular.C (GetCellInset): update cur_cell also in the row/col
13168 version of this function.
13170 * lyxfunc.C: no need to include figure_form.h here.
13176 * lyxvc.C: no need to include forms.h here.
13178 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13180 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13182 * lyxfunc.C (Dispatch):
13184 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13185 constructor argument.
13187 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * paragraph.C (Paragraph): dont't clear, and just set layout.
13190 (makeSameLayout): use params's copy contructor.
13192 * ParagraphParameters.[Ch] (makeSame): delete method
13194 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13196 * Variables.[Ch]: fix indentation, rename set to isSet
13198 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * lyxfunc.C (Dispatch): fix typo
13202 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13207 * bufferlist.C: include assert.h for emergencyWrite().
13209 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13211 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13212 give up at last (bug #425202) !
13214 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13220 * spellchecker.C: strip spellchecker options and bring up
13221 preferences tab instead
13223 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13226 the istringstream constructor
13228 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * paragraph.C (getLayout): fix return value
13232 * paragraph.h: do not declare getLayout as inline.
13234 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13236 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * lyxcursor.h (operator<): new func
13239 (operator>): new func
13240 (operator>=): new func
13241 (operator<=): new func
13243 * text.C (changeCase): use selection.start and selection.end
13244 (changeRegionCase): require from to be <= to. Require par to be a
13247 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13249 2001-06-27 Juergen Vigna <jug@sad.it>
13251 * text.C (cursorLeftOneWord): changed to return the cursor and added
13252 overlay with BufferView * parameter which calls this one.
13254 (selectWord): use new getWord function.
13255 (changeCase): renamed from changeWordCase as and extended to work
13256 also on selections.
13258 * lyxtext.h: added enum word_location
13260 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13261 changeCase as this operates now also on selections.
13263 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13265 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13267 * many files: send debug output to Debug::INFO instead of
13270 * converter.C (View):
13272 (Move): send debug output to Debug::FILES instead of console.
13274 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13276 * lyxfunc.C (getStatus): use func_status
13278 * func_status.h: new header, describing the results of
13279 LyXFunc::getStatus;
13281 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13284 2001-06-25 The LyX Project <jug@sad.it>
13286 * buffer.C (sgmlOpenTag):
13288 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13290 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * text2.C: remove some dead code
13294 * tabular.C (GetCellInset): store the last cell checked (gotten)
13296 * tabular.h: add the helper for the speedup
13298 * lyxtext.h: remove some dead code
13300 2001-06-26 The LyX Project <Asger>
13302 * paragraph.C: Change export to LaTeX of alignment to
13303 \begin{center} and family for better roundtrip work with reLyX.
13305 * Tune the math drawing a bit.
13307 2001-06-25 The LyX Project <Asger>
13309 * LColor.C (LColor): New color for math background. New color
13312 2001-06-25 The LyX Project <jug@sad.it>
13314 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13316 * lyxfunc.C (Open):
13317 * bufferlist.C (newFile): do not restrict to files ending with
13320 * BufferView_pimpl.C (MenuInsertLyXFile):
13322 2001-06-24 The LyX Project <jug@sad.it>
13324 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13327 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * lyxtext.h: rename most methods to begin with a small char.
13330 Lots of changes because of this.
13332 * paragraph.C (Paragraph): do not call fitToSize
13333 (erase): call Pimpl::erase
13334 (insertChar): call Pimpl::insertChar
13335 (insertInset): call Pipl::insertInset
13336 (breakParagraph): do not call fitToSize
13337 (breakParagraphConservative): do not call fitToSize
13338 (fitToSize): remove method
13340 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13342 2001-06-24 The LyX Project <Asger>
13344 * Fix Qt compilation^2
13346 2001-06-24 The LyX Project <jug@sad.it>
13348 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13349 depthHook(getDepth()-1).
13352 * ParagraphParameters.h:
13353 * ParameterStruct.h: change type of depth to unsigned int ==
13354 depth_type. Many adaptations to other files before of that.
13356 2001-06-24 The LyX Project <Asger>
13358 * Fix Qt compilation.
13360 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13362 * paragraph.h: renamed several methods to begin with small letter.
13363 several changes to many parts of the code because of this.
13365 2001-06-23 The LyX Project <jug@sad.it>
13367 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13368 rewritten to discard all double spaces when KeepEmpty is off
13369 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13370 to only handle newlines but not fiddle with spaces and friends.
13372 * lyxfunc.C (MenuNew): when doing 'new from template', use
13373 template_path as default directory
13375 2001-06-23 The LyX Project <Asger>
13377 * Clean-up of header file includes all over
13378 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13380 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * paragraph.h: renamed from lyxparagraph.h
13384 2001-06-23 Asger <lyx@violet.home.sad.it>
13386 * Buffer.h: Removed Buffer::resize
13387 * BufferList.h: Removed BufferList::resize
13388 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13389 the document lazily when we change the width, or the font settings.
13391 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13393 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13395 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13397 * buffer.h: remove out of date comment
13399 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13402 * screen.C: fix "theoretical" GC leak
13404 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * LaTeX.C (scanAuxFile):
13407 (deplog): remove trailing \r when reading stream (useful under
13410 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13412 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13413 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13414 and BufferView::theLockingInset(Inset*), so should use them and not
13415 access bv_->text->the_locking_inset directly.
13417 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13419 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13422 * tex-defs.h: remove old unused file
13424 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13426 * BufferView_pimpl.C: fix typo, remove minibuffer message
13427 when buffer has loaded
13429 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * lyxfunc.C (Dispatch): use stringstream
13432 (MenuNew): use stringstream
13433 (Open): use stringstream
13435 * importer.C (Import): use stringstream
13437 * bufferview_funcs.C (CurrentState): use stringstream
13439 * LaTeX.C (run): use stringstream
13441 * BufferView_pimpl.C (savePosition): use stringstream
13442 (restorePosition): use stringstream
13443 (MenuInsertLyXFile): use stringstream
13445 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13458 * vspace.C: removed // -*- C++ -*- as first line.
13461 * version.h: added // -*- C++ -*- as first line.
13463 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13467 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13470 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13475 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * gettext.C: include LString.h even when --disable-nls is on.
13479 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13481 * converter.h (Get): changed argument type from int to
13482 FormatList::size_type to avoid unnecessary conversion.
13484 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13487 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * gettext.h: include LString.h even when --disable-nls is on.
13491 2001-06-07 Juergen Vigna <jug@sad.it>
13493 * text.C (BreakAgain): subst spaces with tabs.
13495 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13496 (resizeInsetsLyXText): set force on resizeLyXText.
13498 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13500 * gettext.h (gettext_init):
13501 (locale_init): use a real definition instead of a macro
13503 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13505 * Bufferview_pimpl.C:
13507 * LColor.C: further lcolor tidies
13509 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * BufferView_pimpl.C (updateScrollbar): simplify.
13513 * BufferView2.C: don't include insets/insetinfo.h, change
13514 prototype for insertInset and call the Pimpl version. let
13515 updateInset call Pimpl version.
13517 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13518 gotoInset to BufferView::Pimpl
13520 2001-06-01 Juergen Vigna <jug@sad.it>
13522 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13523 inside a LockingInset (is the update needed at all?).
13525 2001-05-31 Juergen Vigna <jug@sad.it>
13527 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13528 here not the old one otherwise how should we compare it afterwards
13531 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * FontInfo.C: bring C functions into global namespace when
13539 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * LString.h: make sure config.h has been loaded before LString.h.
13543 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13544 (one for each char read by EatLine!).
13546 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13549 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13551 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13552 to the same as the par we break from
13554 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13558 * MenuBackend.C (expand): also create menu entries for wide
13559 versions of the floats.
13561 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13563 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13565 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13566 frontends/Makefile.am
13572 * tabular.C (getTokenValue): add std::
13574 * tabular-old.C (getTokenValue): add std::
13575 (getTokenValue): ditto
13576 (getTokenValue): ditto
13578 * screen.C (ToggleSelection): adjust
13580 * lyxtext.h: put selection cursors inside a Selection struct.
13582 * lyxfunc.C (moveCursorUpdate): adjust
13584 * lyxfont.C (latexWriteStartChanges): add std::
13586 * lyxfind.C: adjust
13588 * font.h: delete with(char const *, LyXFont const &)
13590 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13592 * FontInfo.C (getFontname): add std::
13594 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13595 (workAreaButtonPress): adjust
13596 (tripleClick): adjust
13598 (moveCursorUpdate): adjust
13601 * BufferView2.C (gotoInset): adjust
13603 2001-05-30 Juergen Vigna <jug@sad.it>
13605 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13606 to check pspell I add this as default as I now have new pspell
13607 libraries and they seem to use this.
13609 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * text2.C (CutSelection): make the cursor valid before the call to
13614 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13617 relied on 0 terminated strings and other horrors. Bug found due to
13618 the new assert in lyxstring!
13620 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13623 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13628 * lyxfunc.C (processKeySym): change method of getting to the
13631 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13632 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13633 * BufferView_pimpl.[Ch]: here as private methods.
13635 2001-05-28 Juergen Vigna <jug@sad.it>
13637 * text.C (SetHeightOfRow): added the update() call again as it is
13638 needed to initialize inset dimensions!
13640 2001-05-16 Juergen Vigna <jug@sad.it>
13642 * text2.C (SetCharFont): Add new function with BufferView * and
13643 bool toggleall parameters for setting insets internal fonts.
13644 (SetFont): Freeze the undo as we may change fonts in Insets and
13645 all this change should be inside only one Undo!
13647 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13648 setting font's in insets as for them we have the SetFont function!
13650 2001-05-15 Juergen Vigna <jug@sad.it>
13652 * text2.C (ClearSelection): to be sure we REALLY don't have any
13655 * tabular.C (TeXCellPreamble): fixed the left border problem for
13658 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13660 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13663 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13665 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13666 LFUN_BREAKPARAGRAPH.
13668 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13669 help test to "internal only", similar for LFUN_INSERT_URL
13671 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13672 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13673 auto_region_delete and deadkeys.
13675 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13678 * LColor.C: remove some dead entries, tidy a little
13680 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13684 (Dispatch): implement LFUN_ESCAPE
13686 * commandtags.h: add LFUN_ESCAPE
13688 * LyXAction.C (init): add entry for LFUN_ESCAPE
13690 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13691 Remove commented code.
13692 (insertNote): moved here
13693 (open_new_inset): moved here
13695 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13698 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * kbmap.C (findbinding): clean it up and make it work correctly.
13702 * lyx_main.C (init): do not pass argc and argv as parameters
13704 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13706 * buffer.C: fix path for OS/2 & Win32
13710 * lyx_main.C: Added os:: class.
13712 * os2_defines.h: update
13714 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13717 better by trying again with reduced state.
13719 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * lyxrc.C (read): print error about invalid key sequence only when
13722 debugging (because not all latinX keysyms are known to some X
13725 * kbsequence.C (getiso): add a few std:: qualifiers
13726 (getiso): comment out extra return statement.
13728 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13732 (Dispatch): enhance the accent inset a bit. (not perfect)
13734 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13738 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * bufferlist.C (emergencyWrite): fix assert() call
13742 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13744 * text.C (InsertChar): Added trivial patch to only send the "you
13745 can not do multiple spaces this way" message once during a
13748 2001-05-08 Baruch Even <baruch@lyx.org>
13750 * Makefile.am: Changed order of libraries to get LyX to link properly
13751 with the gnome frontend.
13753 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13755 * LaTeXFeatures.h: add a std:: qualifier
13757 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * paragraph.C (String): use stringstream
13761 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13763 * paragraph.C (writeFile): remove footflag arg
13765 * buffer.C (makeLaTeXFile): use stringstream
13766 (latexParagraphs): remove footnot gurba
13768 * LaTeXFeatures.C (getPackages): use stringstream
13769 (getMacros): likewise
13770 (getTClassPreamble): likewise
13771 (getFloatDefinitions): new method
13773 * paragraph.C (writeFile): reindent
13776 * WorkArea.h: revert the xpos + etc changes.
13778 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13780 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13782 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13783 (pasteSelection): likewise
13784 * text2.C (CreateUndo): likewise
13786 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * minibuffer.C (peek_event): temporarily reduce the functionality
13789 of the minibuffer (to allow args on lfuns)
13791 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13792 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13794 * buffer.C (readInset): add compability reading of old float
13795 lists, add reading of new style float list.
13796 (readInset): avoid reevaluation of inscmd.getCmdName()
13797 (getLists): reindent
13799 * MenuBackend.C (MenuItem): implement parsing of
13800 md_floatlistinsert and md_floatinsert.
13801 (expand::LastFiles): move initalizaton of iterators out of loop,
13802 avoid reevaluation.
13803 (expand::Documents): introduce typdedef vector<string> Strings,
13805 (expand::ExportFormats): introduce typedef vector<Format const *>
13806 Formats, and use it.
13807 (expand): implement FloatListInsert and FloatInsert.
13809 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13810 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13811 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13813 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13815 (Dispatch::LFUN_FLOAT_LIST): implement
13817 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13819 * LaTeX.C (run): Fix problem with --export code.
13821 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13823 * BufferView.[Ch] (workarea): removed.
13824 (getClipboard) new method; wrapper for workarea()->getClipboard()
13826 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13829 * WorkArea.h (width, height, xpos, ypos): These methods all
13830 returned the dimensions of the work_area sub-area of WorkArea,
13831 resulting in a position error if the WorkArea were resized. Now
13832 return the dimensions of the entire WorkArea.
13834 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13836 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * LaTeX.C (deplog): correct the syntax of regex reg1
13840 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * undo.C: remove !NEW_INSETS cruft
13844 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13846 * text2.C: remove !NEW_INSETS cruft
13848 * text.C: remove !NEW_INSETS cruft
13850 * tabular.C: remove !NEW_INSETS cruft
13852 * spellchecker.C: remove !NEW_INSETS cruft
13854 * lyxtext.h: remove !NEW_INSETS cruft
13856 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13858 * lyxfunc.C: remove !NEW_INSETS cruft
13860 * lyxfind.C: remove !NEW_INSETS cruft
13862 * lyx_cb.C: remove !NEW_INSETS cruft
13864 * figureForm.C: remove !NEW_INSETS cruft
13866 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13868 * buffer.[Ch]: remove !NEW_INSETS cruft
13870 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13872 * CutAndPaste.C: remove !NEW_INSETS cruft
13874 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13876 * BufferView2.C: remove !NEW_INSETS cruft
13878 * BufferView.h: remove !NEW_INSETS cruft
13880 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * Lsstream.h: include LString.h before the sstream headers to
13883 fix problem with gcc 2.95.3 and lyxstring
13885 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * lyx_main.C: add using directives when needed for C functions
13888 declared in std:: namespace.
13890 2001-04-27 Juergen Vigna <jug@sad.it>
13892 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13893 (SetHeightOfRow): comment out the update call should not be needed!
13895 2001-04-13 Juergen Vigna <jug@sad.it>
13897 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13898 (LyXTabular): tried to minimize operator= operations (and realized
13899 hopfully Lars wish).
13901 2001-04-27 Juergen Vigna <jug@sad.it>
13903 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13905 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13909 * buffer.C (readInset): hack to make listof algorithm work
13911 * BufferView_pimpl.C: hack to make listof algorithm work
13913 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * LyXAction.C: removed all !NEW_INSETS cruft
13916 (init): moved lfun_item in method
13918 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13920 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13922 * BufferView2.C (theLockingInset): white space.
13924 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13926 * minibuffer.C: include <iostream>
13928 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13930 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13932 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13934 * text.[Ch] (TransposeChars): new method
13936 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * call message directly through LyXView instead of through LyXFunc
13939 * BufferView2.C: adjust
13940 * BufferView_pimpl.C: adjust
13941 * FontLoader.C: adjust
13943 * bufferview_funcs.C: adjust
13944 * converter.C: adjust
13945 * figureForm.C: adjust
13946 * importer.C: adjust
13948 * lyx_gui_misc.C: adjust
13949 * lyxfunc.C: adjust
13952 + more files in subdirs
13954 * lyxparagraph.h (size): move up int file
13957 * adjust all uses of Assert to lyx::Assert.
13959 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13960 lyxfunctional in namespace lyx
13961 * layout.C (hasLayout): ditto
13964 (delete_layout): ditto
13965 (NumberOfClass): ditto
13966 * converter.C (GetFormat): ditto
13971 * bufferlist.C (getFileNames): ditto
13972 (emergencyWriteAll): ditto
13975 * MenuBackend.C (hasSubmenu): ditto
13978 * BufferView_pimpl.C (getInsetByCode): ditto
13980 2001-04-18 Juergen Vigna <jug@sad.it>
13982 * vspace.C (asLatexString): fixed the 100% problem.
13984 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13986 * lyxfunc.C (Dispatch):
13988 * minibuffer.h: add a few std:: qualifiers
13990 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13992 * minibuffer.[Ch]: reimplement so that commands is initiated and
13993 run from lyxfunc, simplified som handling, and made the completion
13994 and history code for complete. wip.
13996 * lyxfunc.C (processKeySym): call message
13997 (miniDispatch): new temporary method
13998 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13999 (LFUN_MESSAGE): implement
14000 (LFUN_MESSAGE_PUSH): implement
14001 (LFUN_MESSAGE_POP): implement
14002 (initMiniBuffer): the initial/defualt minibuffer message.
14004 * lyxfont.[Ch]: inline some more getters
14006 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14008 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14010 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14011 (AutoSave): use LFUN_MESSAGE
14012 (Reconfigure): ditto
14014 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14016 * figureForm.C: use LFUN_MESSAGE
14018 * converter.C (runLaTeX): use LFUN_MESSAGE
14020 * bufferview_funcs.C: use LFUN_MESSAGE
14022 (changeDepth): ditto
14024 * bufferparams.h: use boost::
14026 * bufferlist.h: inherit privately from noncopyable
14028 * bufferlist.C (loadLyXFile): remove some commented code.
14030 * buffer.C (runChktex): use LFUN_MESSAGE
14032 * ShareContainer.h: inherit privately from noncopyable
14034 * ParagraphParameters.[hC] (depth): inline it.
14036 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14038 (message): new method
14039 (messagePush): ditto
14040 (messagePop): ditto
14041 (show): init minibuffer
14042 (showState): direct call
14044 * LaTeX.[Ch]: inherit privately from noncopyable
14045 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14046 instead of WriteStatus.
14048 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14050 * BufferView_pimpl.C (buffer): don't init minibuffer
14051 (workAreaButtonPress): use LFUN_MESSAGE
14052 (workAreaButtonRelease): ditto
14053 (savePosition): ditto
14054 (restorePosition): ditto
14055 (MenuInsertLyXFile): ditto
14056 (workAreaExpose): don't init minibuffer
14057 (update): remove commented code, simplify
14059 * BufferView2.C (openStuff): use LFUN_MESSAGE
14060 (toggleFloat): ditto
14063 (copyEnvironment): ditto
14064 (pasteEnvironment): ditto
14069 (updateInset): remove some commented code
14071 * lastfiles.h: inherit privately from noncopyable
14074 * lyx_main.h: ditto
14076 * lyxlex_pimpl.h: ditto
14078 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14079 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14080 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14082 * LyXAction.h: inherit privately from noncopyable, add methods
14083 func_begin, func_end, returning iterators to the func map.
14085 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14086 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14087 (func_begin): new method
14088 (func_end): new method
14090 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14092 (copySelection): ditto
14093 (pasteSelection): ditto
14095 * BufferView.C: whitespace change
14096 * BufferView.h: inherit privately from noncopyable
14098 2001-04-16 Allan Rae <rae@lyx.org>
14100 * tabular-old.C (l_getline):
14101 * spellchecker.C (sc_check_word):
14102 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14103 an unrecognised preprocessor directive. So ensure they're wrapped.
14105 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14107 * src/exporter.C (Export): Give an error message when path to file
14110 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14112 * LaTeX.C (deplog): Always check that foundfile exists.
14114 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14119 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * tabular.[Ch] (getLabelList): implement new method
14123 * minibuffer.h: comment ouf setTiimer
14125 * minibuffer.C (ExecutingCB): constify res
14126 (peek_event): constify s
14127 (Set): constify ntext
14128 (Init): constify nicename
14130 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14132 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14133 (savePosition): use two params to Minibuffer::Set
14134 (restorePosition): ditto
14136 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * lyx_main.C: include language.h
14140 * Makefile.am (lyx_main.o): add language.h
14142 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * CutAndPaste.C: include gettext.h
14150 * lyxfont.h: remove old hack with ON and OFF.
14153 * lyxfont.h: do not include language.h...
14158 * bufferview_funcs.C:
14164 * paragraph.C: ... but do it here instead
14166 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14170 * tabular.C: small reformat
14172 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14175 (BreakParagraph): ditto
14176 (SetOnlyLayout): ditto
14179 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14182 * lastfiles.C: removed most using decl, add std:: where needed
14184 * buffer.C: ws changes
14186 * MenuBackend.C (class compare_format): put into anon namespace
14187 (expand): constify label, names, action, action2
14190 * text.C (SingleWidth): constify font
14191 (IsBoundary): constify rtl2
14192 (GetVisibleRow): constify ww
14194 * LaTeX.C (deplog): constify logfile
14196 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14198 (workAreaExpose): constify widthChange, heightChange
14200 * lyxrow.C (par): moved
14203 * lyxrow.h: as inlines here
14205 * lyxfont.h (shape): moved from lyxfont.C
14206 (emph): moved from lyxfont.C
14208 * lyxfont.C (LyXFont): use initialization list for all
14210 (shape): move to lyxfont.h as inline
14211 (emph): move to lyxfont.h as inline
14214 2001-04-04 Juergen Vigna <jug@sad.it>
14216 * vspace.C: had to include stdio.h for use of sscanf
14218 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14221 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14222 independent of xforms.
14224 2001-04-02 Juergen Vigna <jug@sad.it>
14226 * spellchecker.C: fixed namespace placing!
14228 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14230 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14231 the LyXParagraph * is 0.
14233 2001-03-29 Juergen Vigna <jug@sad.it>
14235 * vspace.C: added support for %, c%, p%, l%.
14236 (stringFromUnit): added helper function.
14237 (asLatexString): changed to give right results for the %-values.
14239 * buffer.C: convert the widthp in a width%.
14241 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14243 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14246 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14247 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14249 * lyx_cb.[Ch]: see above.
14251 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14255 * lyx.[Ch]: replaced by figure_form.[Ch].
14259 * lyxfunc.C: changed headers associated with above changes.
14261 2001-03-27 Juergen Vigna <jug@sad.it>
14263 * BufferView_pimpl.C: set the temporary cursor right!
14265 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14267 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14269 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14271 * LString.h: removed "using std::getline"!
14273 * BufferView_pimpl.C (Dispatch): changes due to changes in
14274 InsetInclude::Params.
14276 * buffer.C (tag_name): removed redundant break statements as they were
14277 producing lots of warnings with my compiler.
14279 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * LString.h: add "using std::getline" when using the real <string>.
14283 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14285 * buffer.C: removed bitset usage.
14286 PAR_TAG moved to an anonymous name space.
14287 (tag_name): new funtion, also in the anonymous namespace.
14288 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14289 (makeDocBookFile): clean code. Completed transition from string arrays
14291 (SimpleDocBookOnePar): code clean.
14293 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14295 * tabular.C: add some comments.
14297 2001-03-22 Juergen Vigna <jug@sad.it>
14299 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14300 compatibility read a bit and fixed bug with minipage in different
14303 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14305 * buffer.C (pop_tag): removed.
14306 (push_tag): removed.
14307 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14308 array replaced with vector. Added support for CDATA sections.
14309 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14311 (makeDocBookFile): XML conformant declaration of CDATA section,
14312 fixed bug related to <emphasis> in the first paragraph char.
14313 (sgmlOpenTag): exclude empty tags.
14314 (sgmlCloseTag): ditto.
14316 * buffer.h (pop_tag): removed.
14317 (push_tag): removed.
14319 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14321 * language.h (Languages): added size_type and size().
14323 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14325 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14326 response on compability reading of minipages. One probliem is that
14327 the old usage of minipages was «flertydig»
14329 * several files here and in subdirs: don't use static at file
14330 scope use anon namespaces instead.
14332 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14334 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14335 LaTeX output. This is necessary for Literate document
14338 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14340 * buffer.C: insert hfill when needed.
14342 * tabular.C (l_getline): use string::erase, small whitespace change.
14344 * BufferView_pimpl.C: try the anon namespace.
14345 * WorkArea.C: ditto
14347 2001-03-16 Juergen Vigna <jug@sad.it>
14349 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14350 otherwise it won't open options-dialogs.
14352 * buffer.C: honor pextraWidth(p) on converting minipages.
14354 * tabular.C (l_getline): changed the functions to strip trailing \r.
14356 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14358 * BufferView_pimpl.C:
14359 * minibuffer..C: added "using SigC::slot" declaration.
14361 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14363 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14369 * paragraph.C: ditto
14371 * lyxtext.h: NO_PEXTRA
14373 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14375 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14376 * ParameterStruct.h: ditto
14377 * ParagraphParameters.h: ditto
14378 * lyxparagraph.h: ditto
14380 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14382 * buffer.C: add compability for minipage alignment.
14383 (latexParagraphs): remove unwanted pextra check.
14385 * several files: remove CXX_WORKING_NAMESPACES
14387 * buffer.C (pop_tag): tie is in namespace boost
14389 * BufferView.h: noncopyable is in namespace boost
14391 * lyx_main.h: ditto
14394 * lastfiles.h: ditto
14395 * bufferlist.h: ditto
14396 * ShareContainer.h: ditto
14398 * LyXAction.h: ditto
14401 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14403 * Merging changes from BRANCH_MVC back into HEAD.
14405 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14407 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14409 * BufferView_pimpl.C: change from intl.C
14413 * Makefile.am: move combox.*
14419 * intl.C: remove dialog (covered by prefs)
14421 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14423 * lyxfunc.C (Dispatch): removed redundant break statement.
14425 2001-03-14 Juergen Vigna <jug@sad.it>
14427 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14429 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14431 * buffer.C: add hack to fix compability reading of minipages.
14433 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14435 * buffer.C (getLists): Cleanup.
14437 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14439 * lyxfont.C (update): don't honor toggleall on font size.
14441 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14445 * Makefile.am: moved to frontends/xforms/
14449 * BufferView_pimpl.C: changes for moved mathpanel
14451 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14453 * gettext.h: fix gettext_init() in --disable-nls
14455 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14457 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14459 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14462 * lyx.h: strip external form
14464 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14466 * BufferView_pimpl.C: add comment, destroySplash()
14468 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14470 * BufferView_pimpl.C:
14474 * lyxfunc.C: use re-worked insetinclude
14476 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14478 * buffer.C: add using std::stringstream.
14480 * lyx_cb.C: readd using std::ios.
14482 * buffer.C: add using std::map.
14484 * BufferView_pimpl.C: add using std::vector.
14486 * ShareContainer.h: add std:: to swap.
14488 * buffer.h: add some typedefs
14489 * buffer.C (getLists): use them
14490 (getLists): renamed from getTocList.
14491 add a counter for the different float types and use it in the
14493 (getLists): use the same counter for the NEW_INSETS and the "non"
14496 * lyx_cb.h: remove unused items, includes, using etc.
14498 * ShareContainer.h: remove some commented code, add more comments
14499 and "documentation".
14501 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14503 * buffer.C (getTocList): make the list also when NEW_INSETS is
14506 * buffer.h: remove TocType
14508 * buffer.C (getTocList): change to return a map<string,
14509 vector<TocItem> >, implement for dynamic number of list.
14511 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14512 * text2.C (PasteSelection): adjust
14513 * CutAndPaste.C (pasteSelection): adjust
14515 * FloatList.C (FloatList): update from the new_insets branch.
14516 * Floating.[Ch]: ditto
14517 * LaTeXFeatures.C: ditto
14519 * lyxlex_pimpl.C: ditto
14521 * paragraph.C (Last): remove when NEW_INSETS is defined.
14523 * other file: changes because of the above.
14525 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14527 * lyxparagraph.h: rename next to next_, previous to previous_,
14528 make them private for NEW_INSETS. Rename Next() to next(),
14529 Previous() to previous().
14531 * other files: changes because of the above.
14533 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14536 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14539 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * main.C (main): pass lyx_localedir to gettext_init().
14543 * gettext.h: remove locale_init and gettext_init macros
14545 * gettext.C (locale_init): new function
14546 (gettext_init): new function
14548 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14551 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14553 * Moved credits to frontends:
14554 * credits.[Ch]: removed
14555 * credits_form.[Ch]: removed
14556 * lyx_gui_misc.C: remove credits stuff
14559 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14561 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14563 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14564 unneeded destructor.
14566 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14567 a standalone pointer again.
14569 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14571 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14577 * ToolbarDefaults.C:
14586 * BufferView_pimpl.C: use new file dialog in GUII
14589 * lyx_cb.C: remove LayoutsCB to Toolbar
14591 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14593 * ShareContainer.h (get): add std:: qualifier
14595 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * ShareContainer.h: define a proper ShareContainer::value_type
14598 type (and use typename to please compaq cxx)
14600 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14602 * lyxparagraph.h: move serveral local vars to
14603 ParameterStruct/ParagraphParameters., use ShareContainer in
14604 FontTable., make vars in FontTable private and add getter and
14607 * paragraph.C: changes because of the above.
14609 * lyxfont.h: remove copy constructor and copy assignment. (the
14610 default ones is ok), move number inside FontBits. move inlines to
14613 * lyxfont.C: add number to initializaton of statics, move several
14614 inlines here. constify several local vars. some whitespace
14615 cleanup. Dont hide outerscope variables.
14617 * Spacing.h: add two new constructors to match the set methods.
14619 * ShareContainer.h: new file, will perhaps be moved to support
14621 * ParameterStruct.h: new file
14623 * ParagraphParameters.h: new file
14625 * ParagraphParameters.C: new file
14627 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14628 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14630 * BufferView_pimpl.C: ParagraphParameter changes.
14631 * buffer.C: Likewise.
14632 * bufferview_funcs.C: Likewise.
14633 * text.C: Likewise.
14634 * text2.C: Likewise.
14636 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14638 * lyxfind.C (LyXReplace): do not redefine default argument in
14640 (IsStringInText): ditto
14641 (SearchForward): ditto
14642 (SearchBackward): ditto
14644 2001-03-06 Juergen Vigna <jug@sad.it>
14646 * lyxfind.C (IsStringInText): put parentes around expressions.
14648 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14650 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14652 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14654 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14656 * stl_string_fwd.h: add comment
14658 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14661 * tabular.C: remove unused DocBook methods
14667 killed DO_USE_DEFAULT_LANGUAGE
14669 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * lyx_gui.C: do not include language.h.
14673 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14674 arguments in function implementation.
14676 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14678 * BufferView_pimpl.C: add <ctime>
14680 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14682 * BufferView_pimpl.C: add using std::find_if
14684 2001-02-27 José Matos <jamatos@fep.up.pt>
14686 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14689 2001-02-11 José Matos <jamatos@fep.up.pt>
14691 * buffer.C (makeDocBookFile): command styles now have a parameter as
14692 "title" by default.
14694 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14696 * layout_forms.[Ch]: removed
14697 * lyx_cb.[Ch]: out character
14698 * lyx_gui.C: out character
14699 * lyx_gui_misc.C: out character
14700 * bufferview_funcs.C: : out character,
14701 added toggleall as parameter in ToggleAndShow
14703 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14705 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14707 * text2.C (SetCurrentFont): Disable number property at boundary.
14709 2001-02-26 Juergen Vigna <jug@sad.it>
14711 * lyxfunc.C (getStatus): added a string argument override function so
14712 that this is correctly called from LyXFunc::Dispatch if it contains a
14713 do_not_use_argument which is used!
14714 (Dispatch): added check for "custom" export and call appropriate func.
14716 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14718 * lyxrc.C: Add language_command_local, language_use_babel and
14719 language_global_options.
14721 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14723 * buffer.C (makeLaTeXFile): Use language_use_babel and
14724 language_global_options.
14726 2001-02-23 Juergen Vigna <jug@sad.it>
14728 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14729 which works with LyXText and putted it inside BufferView. Here now we
14730 only call for that part the BufferView::Dispatch() function.
14732 * BufferView.C (Dispatch): added.
14734 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14735 functions which needs to use a LyXText over from LyXFunc.
14736 (MenuInsertLyXFile): added
14737 (getInsetByCode): added
14738 (moveCursorUpdate): added
14739 (static TEXT): added
14741 2001-02-22 Juergen Vigna <jug@sad.it>
14743 * BufferView_pimpl.C (update): call a status update to see if LyXText
14746 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14748 * vc-backend.C (revert): implement for CVS
14749 (getLog): implement for CVS
14751 2001-02-20 Juergen Vigna <jug@sad.it>
14753 * text2.C (ClearSelection): added BufferView param for inset_owner call
14755 * lyxfunc.C (TEXT): added this function and use it instead of
14756 directly owner->view()-text of getLyXText().
14758 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14760 * src/layout_forms.C: out preamble
14761 * src/layout_forms.h: out preamble
14762 * src/lyx_cb.C: out preamble
14763 * src/lyx_cb.h: out preamble
14764 * src/lyx_gui.C: out preamble
14765 * src/lyx_gui_misc.C: out preamble
14766 * src/lyxfunc.C: connect with guii preamble
14768 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14770 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14772 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14774 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14775 whether to run bibtex.
14777 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14779 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14781 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14783 * Makefile.am (lyx_SOURCES): removed bibforms.h
14785 * vspace.h: doxygen
14787 * text.C (GetVisibleRow): make several local vars const
14789 * tabular.C: small cleanup.
14791 * lyxserver.C (callback): use compare instead of strncmp
14793 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14794 inlines to after class or to paragraph.C
14796 * lyxfont.h: remove friend operator!=
14798 * converter.h: move friend bool operator< to non friend and after
14801 * combox.h: small cleanup
14803 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14804 to inlines after class def.
14806 * buffer.C (pop_tag): use string operations instead of strcmp
14808 * bmtable.c: doxygen, small cleanup
14810 * LaTeX.h: remove friend operator==
14812 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14824 * BufferView_pimpl.C:
14825 * BufferView.[Ch]: remove cruft
14827 2001-02-14 Juergen Vigna <jug@sad.it>
14829 * lyxfunc.C: removed #if 0 unused code
14831 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14833 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14835 * text2.C (SetSelection): added a BufferView * parameter
14837 2001-02-13 Juergen Vigna <jug@sad.it>
14839 * lyxfunc.C (Dispatch): fixed protected blank problem.
14840 * BufferView2.C (protectedBlank): added LyxText * parameter.
14842 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14843 (AppendColumn): same as above for column_info.
14845 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14846 (moveCursorUpdate): use a LyXText param for support of InsetText.
14848 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14849 (tripleClick): ditto
14851 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14853 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14855 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14857 * text2.C (SetSelection): set correct update status if inset_owner
14858 (ToggleFree): ditto
14860 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14862 * tabular.C: remove some commented code.
14864 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14866 * BufferView_pimpl.C: call hideSplash()
14868 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14871 * bibforms.h: remove
14874 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14875 add LFUN_CHILD_CREATE
14877 * counters.h: fix tiny typo
14882 * lyx.C: move splash to frontends/xforms/
14884 * lyx_gui_misc.C: move Include and Bibform to frontends
14886 * lyxvc.h: clarify comment
14888 * vspace.C: tiny housekeeping
14890 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14892 * text.C (PrepareToPrint): RTL Fix.
14894 * paragraph.C (GetUChar): New method.
14895 (String): Use GetUChar.
14897 * buffer.C (asciiParagraph): Use GetUChar.
14899 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14901 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14903 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14906 * buffer.C: rename to getLogName(), handle
14907 build log / latex log nicely
14909 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * MenuBackend.h: remove support for reference menuitem type.
14914 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14916 * BufferView_pimpl.C: housekeeping
14917 * BufferView_pimpl.h:
14922 * minibuffer.h: move Timeout GUI-I
14924 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14926 * lyxrc.C (read): Update converters data-structures.
14928 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14930 * LaTeX.h (operator!=): add operator != for Aux_Info
14932 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14934 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14936 * LaTeXLog.C: deleted, useful code moved to Buffer
14939 * buffer.C: new function getLatexLogName()
14945 * lyxfunc.C: use frontends for LaTeX and VC logs
14947 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * LaTeX.h: yet another std:: that Allan forgot.
14951 * Variables.C (set): renamed from isset(), because this clashes
14952 with some HP-UX macros (grr).
14954 2001-02-06 Allan Rae <rae@lyx.org>
14956 * LaTeX.h: Another bug fix. Missing std:: this time.
14958 2001-02-04 Allan Rae <rae@lyx.org>
14960 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14961 floats problem. I've left it commented out because it's not quite
14962 correct. It should also test that the current object is a table or
14963 figure inset. But I haven't gotten around to figuring out how to do
14964 that. I *think* it'll be something like: "table" == inset.type()
14966 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14969 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14971 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14972 all the citation/databases/styles in the auxilary file.
14973 (run): Rerun latex if there was a babel language error.
14975 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14977 * text.C (Backspace): Preserve the font when changing newline char
14979 (BreakParagraph): If the cursor is before a space, delete the space.
14981 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14983 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14985 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14986 new argument (code).
14987 (ChangeCitationsIfUnique): New method.
14989 * paragraph.C (GetPositionOfInset): Handle bibkey.
14991 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * BufferView_pimpl.h: change type of Position::par_pos to
14994 LyXParagraph::size_type.
14996 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14998 * BufferView_pimpl.C (savePosition, restorePosition): Write
14999 messages to minibuffer.
15001 2001-01-28 José Matos <jamatos@fep.up.pt>
15003 * buffer.C (makeDocBookFile): adds support for document language.
15004 A silly restriction on the name of LatexCommand types where removed.
15005 Added support for CDATA sections, allows to chars unescaped, used
15006 among others in code, to avoid escape < and >.
15008 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15010 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15011 saved positions instrad of a stack. Furthermore, a position is
15012 stored using paragraph id/paragraph position.
15014 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15015 Remove LFUN_REF_BACK.
15017 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15019 * converter.C (dvipdfm_options): New method.
15021 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15023 * vspace.C (isValidLength): Fix for empty input string.
15025 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15027 * LyXAction.C (init): change description of LFUN_FIGURE to
15030 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * LaTeX.C: add using directive
15034 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15036 * MenuBackend.C (expand): Fix the sorting of the formats.
15038 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15040 * lyx_main.C: tiny error message fix
15042 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15044 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15045 calling fl_initialize(). This fixes the problem with ',' as
15046 decimal separator in text files.
15048 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15050 * trans.C (process): Fix the keymap bug.
15052 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15054 * LaTeX.C (scanAuxFiles): New method. Provides support for
15055 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15056 (scanLogFile) Scan for "run BibTeX" messages.
15058 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15059 OT1 font encoding. Also, load the aecompl package if the ae
15062 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15064 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * texrow.C (increasePos): turn two error messages into debug
15069 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15071 * LaTeX.C (scanAux): Handle the \@input macro.
15072 (runBibTeX): Use scanAux().
15074 * language.C (latex_options_): New field.
15076 * LaTeXFeatures.C (getMacros): Add language macros.
15078 * buffer.C (makeLaTeXFile): Small fix.
15080 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15084 * text2.C: add a using directive.
15086 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15091 * lyxfunc.C: kill LyXBell.
15093 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15095 * text.C (IsBoundary): Remove the error message
15097 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15099 * lyxrc.C (setDefaults): Correct initialization value for
15102 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15104 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15107 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15108 and GotoNextNote().
15110 * src/LyXAction.C: Added reference-next.
15112 * text.C (InsertChar): Use contains instead of strchr.
15114 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15116 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15118 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15119 alignment commands (when needed).
15121 * text.C (InsertChar): Add ':' to number separator chars.