1 2004-03-27 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM
6 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
8 2004-03-27 Angus Leeming <leeming@lyx.org>
10 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
11 insetlist always contains non-null pointers to insets.
13 2004-03-26 Angus Leeming <leeming@lyx.org>
15 * src/BufferView_pimpl.C:
19 * src/output_plaintext.C:
21 * src/paragraph_funcs.C:
25 * src/frontends/controllers/ControlErrorList.C:
26 * src/frontends/gtk/FileDialogPrivate.C:
27 * src/frontends/gtk/GPainter.C:
28 * src/frontends/gtk/GToolbar.C:
29 * src/frontends/qt2/QRef.C:
30 * src/mathed/math_scriptinset.C: squash compiler warnings.
32 2004-03-26 Angus Leeming <leeming@lyx.org>
34 * ispell.C (LaunchIspell::start):
35 * lyx_cb.C (AutoSaveBuffer::start):
36 invoke run(DontWait) rather than runNonBlocking().
38 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
40 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
42 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * kbsequence.C (print): adjust
46 * kbmap.C (printKeySym): rename and change signature
47 (printKey): use LyXKeySym::print()
49 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
51 * undo.C: add using std::advance to compile for stlport
53 2004-03-24 Angus Leeming <leeming@lyx.org>
55 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
56 it leads to a crash when no buffer is present.
58 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 Martin Vermeer <martin.vermeer@hut.fi>
61 * lyxfunc.C (dispatch):
62 * bufferparams.C (readToken): use the new LColor::setColor
64 * LColor.[Ch] (setColor): new version that takes two strings as
65 argument and creates a new color entry if necessary
67 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
69 * buffer.C (makeLaTeXFile): if the main latex file that is
70 processed is usually a subdocument of some master, then pretend
71 for a while that it is actually the master
73 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
75 * buffer.C (getLabelList):
76 (getBibkeyList): use getMasterBuffer()
77 (getMasterBuffer): new method. Returns the main document in the
78 case where one is using included documents.
80 2004-03-25 André Pönitz <poenitz@gmx.net>
84 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
86 * ParagraphList_fwd.h: change ParagraphList to a std::vector
88 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
89 text*.C over here. Rename namespace CutAndPaste to lyx::cap
91 * ParameterStruct.h: merge with ParagraphParameters
93 * lyxtext.h: remove LyXText::parOffset() and getPar()
95 * text3.C: Remove all 'manual' update calls. We do now one per user
96 interaction which is completely sufficient.
100 * BufferView_pimpl.C:
103 * ParagraphParameters.[Ch]:
115 * output_docbook.[Ch]:
117 * output_linuxdoc.[Ch]:
118 * output_plaintext.[Ch]:
120 * paragraph_funcs.[Ch]:
121 * paragraph_pimpl.[Ch]:
129 * frontends/controllers/ControlDocument.C:
130 * frontends/controllers/ControlErrorList.C:
131 * frontends/controllers/ControlSpellchecker.C:
134 * insets/insetbase.h:
135 * insets/insetbibitem.C:
137 * insets/insetbranch.C:
138 * insets/insetcaption.C:
139 * insets/insetcharstyle.C:
140 * insets/insetcharstyle.h:
141 * insets/insetcollapsable.C:
142 * insets/insetcollapsable.h:
144 * insets/insetfloat.C:
145 * insets/insetfoot.C:
146 * insets/insetmarginal.C:
147 * insets/insetnote.C:
148 * insets/insetoptarg.C:
149 * insets/insettabular.C:
150 * insets/insettext.C:
151 * insets/insettext.h:
152 * insets/insetwrap.C:
153 * mathed/math_mboxinset.C:
154 * mathed/math_nestinset.C:
155 * mathed/math_scriptinset.C:
156 * mathed/math_scriptinset.h:
159 2004-03-24 Angus Leeming <leeming@lyx.org>
161 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
162 deal with any child processes that have finished but are waiting to
163 communicate this fact to the rest of LyX.
165 2004-03-24 Angus Leeming <leeming@lyx.org>
167 64-bit compile fixes.
169 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
170 (c-tor): pass lyx::pos_types rather than ints.
172 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
175 * text.C (Delete): compile fix.
176 (getPar): ensure that function declaration is the same as that in
179 2004-03-23 Angus Leeming <leeming@lyx.org>
181 * ispell.C (LaunchIspell):
182 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
183 a boost::shred_ptr rather than a std::auto_ptr.
185 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * lyxfunc.C (getStatus): handle read-only buffers correctly;
188 handle LFUN_FILE_INSERT_*
190 * lyxrc.C (setDefaults, getDescription, output, read):
191 * lyxrc.h: remove ps_command
193 2004-03-22 Angus Leeming <leeming@lyx.org>
195 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
196 Ensure that error_handler is processed once only and that all data
197 is saved before attempting to output any warning messages.
199 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
201 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
203 * tabular.C (TeXRow): crash fix (from Kayvan and André)
205 2004-03-19 André Pönitz <poenitz@gmx.net>
207 * cursor.[Ch] (reset): take main text inset as argument
210 * BufferView_pimpl.C: adjust
212 * paragraph.[Ch]: fix completely broken operator=()
214 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * LColor.C (getFromLyXName): make sure that the color name is used
219 2004-03-17 Angus Leeming <leeming@lyx.org>
222 * LyXAction.C (init): remove LFUN_FORKS_KILL.
224 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
225 dialog and to kill a forked process.
227 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
229 * text2.C (setCursorFromCoordinates): fix font problem
231 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
233 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
234 bogus "rebuild cursor" code
236 2004-03-11 André Pönitz <poenitz@gmx.net>
238 * buffer.[Ch]: use InsetText instead of LyXText as container for
241 * dociterator.[Ch]: drop the BufferView * member which is not needed
242 anymore after the change to buffer.C
248 * BufferView_pimpl.[Ch]:
250 * cursor_slice.[Ch]: adjust
252 * text3.C: fix bug in mathDispatch
254 2004-03-08 André Pönitz <poenitz@gmx.net>
256 * undo.[Ch]: use 'StableDocumentIterator' as base for
259 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
262 * bufferparams.[Ch]: add jurabib support and param.
264 * LaTeX.C: add FIXME/comment.
266 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * buffer.C: increment file format to 230.
270 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
272 * cursor.C (dispatch): avoid infinite loops
274 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
276 * rowpainter.C (paintSelection): fix x coordinates
278 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
280 * text.C (rowBreakPoint): fix breaking before displayed insets
282 2004-03-01 André Pönitz <poenitz@gmx.net>
284 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
286 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
290 * BufferView_pimpl.C:
298 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
304 * BufferView_pimpl.C: rename textwidth -> maxwidth,
305 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
309 * Bidi.[Ch] (computeTables): const correctness
310 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
311 fill_hfill, fill_label_hfill and x from Row
312 * lyxtext.h: prepareToPrint returns a RowMetrics
313 * rowPainter.C: adjust
314 * text.C (prepareToPrint): use width, not textWidth. adjust
315 (redoParagraphInternal, cursorX): adjust
316 * text2.C (getColumnNearX): adjust
317 (init): put a default value to the top LyXText::width
319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
321 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
323 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
325 * lyxtext.h: add FontIterator class
327 * text.C (FontIterator, operator*, operator->, operator++): add
328 (rowBreakPoint, setRowWidth): adjust (fixing a
331 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * BufferView_pimpl.C (workAreaDispatch): allow also
334 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
336 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
338 * text.C (rowBreakPoint): fix a bug showing with very large insets
340 2004-02-25 André Pönitz <poenitz@gmx.net>
343 * cursor.[Ch]: move some mathed specific code to mathed
345 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
348 use_tempdir in preferences
349 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
351 * lyx_main.C: ensure that tempdir is valid
352 * lyxlex.h: correct typo
353 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
354 * paragraph.[Ch] (isMultiLingual): make const
355 * cursor.[Ch] (openable): make const
357 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
361 2004-02-20 André Pönitz <poenitz@gmx.net>
363 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
365 * cursor.[Ch]: prepare for localized getStatus()
371 * text3.C: streamlines the LyXText cursor movement handlers a bit.
373 2004-02-20 André Pönitz <poenitz@gmx.net>
375 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
377 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
379 * text2.C (setCursorFromCoordinates): switch to absolute coords
382 * text3.C (dispatch): adjust
384 2004-02-16 André Pönitz <poenitz@gmx.net>
386 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
389 * cursor_slice.[Ch]: remove unneeded acessor function
391 * lyxtext.h: rename rtl() to isRTL()
399 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
401 * rowpainter.C (paintSelection): coord fix
403 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * Spacing.C: compile fix
407 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
409 * cursor.C (dispatch): restore current_ before returning
411 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
413 * text2.C (cursorUp, cursorDown): fix coords
416 2004-02-12 André Pönitz <poenitz@gmx.net>
421 * text3.C: add LCursor & parameter to most cursor movement functions
422 remove usage of LyXText::cursorRow() and cursorPar()
424 * cursor.[Ch]: add textRow() needed members
427 * BufferView_pimpl.C:
430 * BufferView_pimpl.C: adjust
432 2004-02-11 André Pönitz <poenitz@gmx.net>
436 * BufferView_pimpl.C: shift undo/redo handling
438 * cursor.[Ch]: fix mathed crash
441 * lyxtext.h: move selectionAsText to LCursor
449 * rowpainter.C: fix excessive drawing
451 2004-02-06 André Pönitz <poenitz@gmx.net>
454 * BufferView_pimpl.[Ch]:
455 * text3.C: move some text specific LFUN handling
457 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
459 * text3.C (checkInsetHit): adjust coords
460 * text2.C (getColumnNearX): adjust coords
461 (edit): adjust coords
462 * text.C (getRowNearY): add two asserts
464 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
467 * format.C: add using std::distance to compile on gcc 2.95/stlport
469 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
471 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
473 2004-02-04 André Pönitz <poenitz@gmx.net>
475 * BufferView.[Ch] (insertInset):
476 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
481 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
483 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
484 on the default clause of the switch
485 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
486 wasn't catched by LCursor::dispatch
488 2004-02-03 André Pönitz <poenitz@gmx.net>
491 * cursor.[Ch]: some additional asserts
493 * undo.[Ch]: remove LyXText dependency in interface
497 * lyxtext.h (firstPar, lastPar): remove dead functions
502 * paragraph.[Ch]: adjust
504 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
506 * lyxfind.C (find): fix argument order in call to ::find
508 2004-02-02 André Pönitz <poenitz@gmx.net>
510 * cursor.[Ch]: remove direct access to anchor
512 * text.C: remove findText() hack
514 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
516 * iterators.[Ch] (lockPath): remove in favour of...
517 * BufferView.[Ch] (setCursor): this addition
518 * BufferView.C (putSelectionAt): adjust
519 * undo.C (performUndoOrRedo): adjust
520 * lyxfunc.C (dispatch): adjust
522 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
524 * iterators.C (lockPath): add a missing slice
525 * undo.C (performUndoOrRedo): remove redundant positioning code
527 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
529 * vc-backend.C (scanMaster): ";" -> ';'
531 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
533 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
536 * lyxtextclass.C (compare_name): rename to...
537 (LayoutNamesEqual): ...this
539 * lyxlex_pimpl.C (compare_tags): inherit from
540 std::binary_function, put back into anon namespace
542 * lyxfind.C (MatchString): inherig from std::binary_function
543 (findChange): use empty() istead of !size()
545 * format.C (FormatNamesEqual): new functor
552 * converter.C (compare_Converter): rename to...
553 (ConverterEqual): ...this, and fixup a bit.
554 (getConverter): use it, and make function const
555 (getNumber): use it, and make function const
559 * bufferlist.C: add using boost::bind
561 * MenuBackend.C (MenuNamesEqual): new functor
562 (hasMenu): use it, and make function const
563 (hasSubmenu): use nested bind to get rid of compare_memfun.
565 2004-01-30 André Pönitz <poenitz@gmx.net>
567 * BufferView_pimpl.C:
578 * text3.C: move some of the edit(x,y) handling to the insets
579 some coordinate changes.
581 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
583 * text.C: add using statements for std::advance and std::distance
585 * paragraph.C: add using statement for std::distance
587 * lyxfind.C: add using statement for std::advance
589 * cursor.C (region): remove std:: from swap
590 (openable): use nucleus in stead of operator->
592 * BufferView.C: add using statements for std::distance and std::swap
594 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * iterators.C: Remove the pimple, move the needed structures to
597 the header file. Create accessor for the positions stack.
598 (asPosIterator): remove function
600 * PosIterator.C (PosIterator): move constructors to top of file
601 (PosIterator): reimplement the constructor taking a ParIterator in
603 (setFrom): new function
604 (operator!=): inline it
606 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
608 * lyxfind.C (replaceAll): use std::advance
610 * iterators.h: inherit from std::iterator.
612 * PosIterator.C (advance, distance): remove
613 * PosIterator.h: interit from std::iterator.
615 2004-01-26 André Pönitz <poenitz@gmx.net>
618 * BufferView_pimpl.[Ch]:
622 * bufferview_funcs.C:
633 * output_plaintext.C:
635 * paragraph_funcs.[Ch]:
636 * paragraph_pimpl.[Ch]:
642 * text3.C: more IU: dumps most of the rest of the mathcursor
643 implementation into cursor.[Ch]; "globalize" a bit of it.
645 2004-01-25 Angus Leeming <leeming@lyx.org>
647 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
649 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
651 * LaTeXFeatures.h: add nice_ and nice() const
652 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
654 2004-01-20 André Pönitz <poenitz@gmx.net>
657 * BufferView_pimpl.C:
659 * bufferview_funcs.C:
672 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
673 LCursor and mathcursor parts to LCursor and InsetBase.
675 2004-01-15 André Pönitz <poenitz@gmx.net>
677 * cursor_slice.[Ch]: add a few covienience functions
679 * funcrequest.[Ch]: remove BufferView * member
681 * BufferView_pimpl.C:
688 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
690 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
692 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
693 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
695 2004-01-13 André Pönitz <poenitz@gmx.net>
698 * lyxtext.h: hide cursor and selection anchor behind accessor function
701 * BufferView_pimpl.[Ch]:
703 * bufferview_funcs.C:
713 * cursor_slice.[Ch]: some integer type changes for inset unification
715 * lyxcursor.[hC]: remove, it's CursorSlice now.
718 * BufferView_pimpl.[Ch]:
719 * bufferview_funcs.C:
725 * textcursor.[Ch]: adjust
727 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
729 * text2.C (undoSpan): add and use
730 * text.C (breakParagraph): use undoSpan (fix bug 578)
733 2004-01-08 Angus Leeming <leeming@lyx.org>
735 * BufferView_pimpl.C (MenuInsertLyXFile):
736 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
737 * lyxfunc.C (menuNew, open, doImport):
738 FileFilterList change to the FileDialog open and save functions.
740 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * ShareContainer.h: make isEqual and isUnique adaptable
744 * CutAndPaste.C: make resetOwnerAndChanges adaptable
746 2004-01-07 Angus Leeming <leeming@lyx.org>
749 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
751 * BufferView_pimpl.C (dispatch): act on these LFUNs.
753 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
754 functions replacing find, replace and replaceAll.
756 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
757 LFUN_WORDFIND(FORWARD|BACKWARD).
759 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
761 * text.C (breakParagraph): remove an outdated #warning
763 2004-01-07 André Pönitz <poenitz@gmx.net>
765 * lyxfind.C: somewhat clearer logic
767 * text.C: prevent crash in cursorX on unitialized row cache
769 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
771 * lyxcursor.[Ch] (operator>): add
772 * textcursor.C (selStart, selEnd): use std::min and std::max
774 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * Chktex.C: include boost/format.hpp
778 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
780 * InsetList.C: replace functor MathcIt with adaptable functor
782 (insetIterator): modify accordingly
784 * BranchList.h: move the BranchNamesEqual functor here from...
785 * BranchList.C: ... to here
787 * BranchList.C: new BranchListEqual fuctor, use it. Remove
789 (add): replace a finding loop with std::find_if.
791 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
793 * output_docbook.C: moving LatexParam functionality into
796 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
798 * buffer.C: increment format to 229.
800 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
803 * lyx_sty.[Ch]: remove minipageindent_def
809 * text3.C: remove LFUN_INSET_MINIPAGE
811 2003-12-28 Angus Leeming <leeming@lyx.org>
813 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
815 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
817 * text2.C (setParagraph): fix off-by-one crash
819 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
821 * output_docbook.C: header stuff for AGU
823 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
825 * text2.C (redoCursor): remove
828 * BufferView_pimpl.C: remove calls to redoCursor and
829 setCursor(cursor.par(), cursor.pos()) all around
831 2003-12-15 Angus Leeming <leeming@lyx.org>
833 * buffer.C: up the format to 228.
835 2003-12-15 André Pönitz <poenitz@gmx.net>
837 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
842 * BufferView_pimpl.C:
851 2003-12-15 Angus Leeming <leeming@lyx.org>
853 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
854 than getFromGUIName to manipulate the color.
856 2003-12-14 Angus Leeming <leeming@lyx.org>
858 * BranchList.[Ch]: minimize the API.
859 (Branch::getBranch, getColor): now return a 'const &'.
860 (Branch::setSelected) now returns a bool set to true if the
861 selection status changes.
862 (BranchList::clear, size, getColor, setColor, setSelected,
863 allBranches, allSelected, separator): removed.
864 (BranchList::find): new functions, returning the Branch with
866 (BranchList::add, remove): return a bool indicating that
867 the operation was successful.
869 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
870 new InsetBranch::isBranchSlected member function.
872 * LColor.[Ch]: mimimize the API.
873 (fill): renamed as addColor and made private.
874 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
875 versions of these functions taking a string arg have been removed.
877 * bufferparams.C (readToken):
878 * lyxfunc.C (dispatch):
879 * lyxrc.C (read): changes due to the altered BranchList and
882 * factory.C (createInset, readInset): changes due to altered
885 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
888 * lyxfunc.C: remove insetminipage. "minipage-insert"
889 now produces a frameless minipage box inset.
891 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
893 * textcursor.[Ch] (selStart,selEnd): add new methods
894 remove selection::start, end, use LyXCursor::operator<
895 * lyxcursor.[Ch] (operator<): add
896 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
897 * BufferView.[Ch] (unsetXSel): add
898 * text2.C (clearSelection): use unsetXSel,adjust
901 * rowpainter.C: adjust
902 * bufferview_funcs.C (put_selection_at): adjust
904 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
906 * BufferView_pimpl.C: small coord. correction
908 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
910 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
911 dragging over the splash screen.
913 2003-12-11 Angus Leeming <leeming@lyx.org>
915 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
916 as it is now handled in LyXText::dispatch.
918 * text3.C (doInsertInset): remove a level of nesting.
920 2003-12-11 Angus Leeming <leeming@lyx.org>
922 * factory.C (createInset): changes due to the changed interface to
923 InsetCommandMailer::string2params.
925 2003-12-10 Angus Leeming <leeming@lyx.org>
927 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
928 'dialog-show-new-inset <inset name>'
930 2003-12-10 Angus Leeming <leeming@lyx.org>
932 * buffer.C: up the format to 227.
934 * factory.C: the box inset is now identified simply by 'Box'.
936 2003-12-10 Angus Leeming <leeming@lyx.org>
938 * buffer.C: up the format to 226.
940 * factory.C: the note inset is now identified simply by 'Note'.
942 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
944 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
945 when a pit is enough. Standarize a couple of loops.
947 2003-12-05 Angus Leeming <leeming@lyx.org>
949 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
950 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
951 data to the re-worked "log" dialog.
953 2003-12-03 André Pönitz <poenitz@gmx.net>
961 * text2.C: use Inset::getText instead of Inset::getParagraph
963 2003-12-03 André Pönitz <poenitz@gmx.net>
967 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
968 InsetText::read() as LyXText::read()
970 2003-12-02 Angus Leeming <leeming@lyx.org>
972 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
973 type. Add a comment in the implementation that the function uses
974 the stream's bad() function rather than fail() as the std::streams
977 2003-12-02 André Pönitz <poenitz@gmx.net>
979 * lyxlex.[Ch]: make interface more similar to std::stream
981 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
983 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
985 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
987 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
989 * vspace.[Ch]: remove VSpace::NONE
991 2003-12-01 André Pönitz <poenitz@gmx.net>
994 * lyxtext.h: move ParagraphList member to LyXText
995 rename LyXText::ownerParagraphs to LyXText::paragraph
998 * bufferview_funcs.C:
1008 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1010 * undo.C: fix cursor positioning
1012 2003-12-01 John Levon <levon@movementarian.org>
1014 * BufferView_pimpl.C: fix a crash on exit with
1017 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1019 * BranchList.C: fix setSelected() method.
1021 2003-11-28 André Pönitz <poenitz@gmx.net>
1023 * ParagraphParameters.[Ch]:
1024 * ParameterStruct.h: remove space above/below from Paragraph to
1027 * BufferView_pimpl.C:
1033 * paragraph_funcs.C:
1039 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1041 * factory.C: Syntax change for CharStyles
1043 2003-11-28 André Pönitz <poenitz@gmx.net>
1048 * buffer.[Ch]: move LyXText member
1050 2003-11-28 André Pönitz <poenitz@gmx.net>
1052 * BufferView.[Ch]: make LyXText * text a private member
1054 * BufferView_pimpl.C:
1065 * output_plaintext.C: cleanup
1067 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1070 * lyxtextclass.[Ch]: parametrize SGML document header
1072 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1075 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1078 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1080 * text2.C (setFont): rework using PosIterator (no more recursive)
1081 (setCharFont): no more needed
1082 (setLayout): no more selection cursors fiddling (done by redoCursor)
1083 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1084 destroy remaining ones)
1086 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1088 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1090 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1093 * text3.C: adjust + re-allow multi par depth changes
1094 * textcursor.C: simplify a bit
1096 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1102 * src/output_docbook.C:
1103 * src/output_latex.C:
1108 * src/text2.C: Introducing a number of tags parametrizing various
1109 XML formats that we may want to support
1111 2003-11-25 André Pönitz <poenitz@gmx.net>
1113 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1115 * lyxtext.h (leftMargin/rightMargin): simplify interface
1122 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1124 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1125 master file to any child files. Fixes bug 546.
1127 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1129 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1131 2003-11-24 André Pönitz <poenitz@gmx.net>
1133 * rowpainter.C: simplification
1135 * text2.C (updateCounters): remove call to redoParagraph on
1136 changed labels as this is far too expensive.
1138 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1140 * converter.C (convert): fix a crash: this function gets
1141 called with buffer == 0 from importer code.
1143 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1145 * text3.C (cursorPrevious): make sure that we do not compare
1146 iterators form different containers.
1149 * rowpainter.C (paintSelection): make sure that we do not compare
1150 iterators from different containers.
1152 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1153 iterators from different ParagraphList containers.
1156 * text2.C (LyXText): change order of initialization slightly
1157 (operator=): new function. copy all variables except cache_par_
1158 (moveUp): make sure that we do not compare iterators from
1159 different ParagraphList constainers.
1162 * text.C (firstPar): new function
1163 (lastPar): new function
1164 (endPar): new function
1166 * lyxtext.h: move things around and group public functions, public
1167 variables, private functions, private variables
1169 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1171 * factory.C: change call to InsetERT constructor to avoid
1172 additional invocation of method status
1173 * text2.C (toggleInset): remove redundant update() call
1174 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1175 instead of a Bufferview pointer
1177 2003-11-21 André Pönitz <poenitz@gmx.net>
1179 * rowpainter.C: simplification
1181 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1183 * text3.C (dispatch): make possible to extend a word/row selection
1186 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1188 * lyxtext.h: x0_,y0_ -> xo_,yo_
1189 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1190 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1191 * rowpainter.C (paintRows): paint full paragraphs
1193 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1195 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1198 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1200 * lyxtext.h: add x0_, y0_
1201 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1202 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1204 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1206 * text2.C (setCursorIntern): move the x_target update here *
1207 * text3.C: change some bv() to true/false in calls to
1208 cursorUp/Down/Right/Left
1209 * cursor.C: use helper function.
1211 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1213 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1214 * paragraph_funcs.[Ch]: correct comment
1215 * rowpainter.C: do not paint selections away from bv->cursor()
1216 Fix a long standing selection painting bug.
1217 * text3.C: generalize mouse-selection code to LyXTexts other that
1219 * textcursor.C: do not use y coords if we can use par offsets
1221 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1223 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1224 cursor position after e.g. inset insert)
1226 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1228 * lyxfind.C (replace): adjust to locking removal + some
1231 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1233 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1236 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1239 * output_docbook.C: XML sanitation: new layout
1240 parameters InnerTag and CommandDepth
1242 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1244 * BufferView_pimpl.C:
1246 * text3.C: Fix the insertion and modification of button-style
1249 2003-11-13 André Pönitz <poenitz@gmx.net>
1251 * InsetList.[Ch]: remove deleteLyXText
1253 * paragraph.[Ch]: cache beginOfBody position
1258 * text3.C: remove superfluous update() calls
1262 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1264 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1265 * BufferView.C (fitLockedInsetCursor): remove
1266 * cursor.[Ch] (getDim): add
1267 * text.C (getRowNearY): add faster version
1268 * text3.C: remove some update calls
1270 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1282 * text3.C: The Character Style /XML short element patch.
1284 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1287 * factory.C: Small step to solving 'unable to insert some insets'
1290 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1292 * cursor.[Ch] (updatePos): new function for updating the y
1293 position of the tip inset
1294 * bufferview_funcs.C (put_selection_at):
1295 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1297 2003-11-11 André Pönitz <poenitz@gmx.net>
1299 * text.C: remove big comment on invalid Paragraph pointers as it is
1302 2003-11-11 André Pönitz <poenitz@gmx.net>
1304 * text_funcs.[Ch]: merge with ...
1312 * Makefile.am: remove text_funcs.[Ch]
1314 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1316 * cursor.C (getPos): return absolute cached y coord
1318 * BufferView_pimpl.C (fitCursor): new simplistic code
1319 (workAreaDispatch): add a fitCursor call
1321 2003-11-10 André Pönitz <poenitz@gmx.net>
1324 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1326 2003-11-10 André Pönitz <poenitz@gmx.net>
1328 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1329 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1330 indicate that the cursor needs to leave an inset
1332 * lyxtext.h: remove inset locking
1334 * cursor.[Ch]: re-implement functionality provided by inset locking
1337 * BufferView_pimpl.[Ch]:
1339 * bufferview_funcs.[Ch]:
1351 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1353 * PosIterator.[Ch]: replace the stack with a vector, add inset
1355 * iterators.[C]: adjust
1357 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1359 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1361 * paragraph_funcs.C (readParToken): put the correct id in the
1362 error item, not the id of the top paragraph
1364 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1366 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1367 * bufferview_funcs.C (put_selection_at): use the above
1369 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1371 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1373 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * output_linuxdoc.h:
1376 * output_plaintext.h:
1378 * output_docbook.h: add #include statements
1380 2003-11-05 José Matos <jamatos@lyx.org>
1382 * output_docbook.[Ch]:
1383 * output_latex.[Ch]:
1384 * output_linuxdoc.[Ch]:
1385 * output_plaintext.[Ch]: New files for output formats.
1386 * output.[Ch]: New file for helper functions.
1389 * paragraph_funcs.[Ch]: output functions moved to new files.
1391 * outputparams.h: rename of latexrunparams.h
1399 * paragraph_funcs.[Ch]:
1400 * paragraph_pimpl.[Ch]:
1401 * tabular.[Ch]: rename ascii to plaintext
1402 and LatexRunParams to OutputParams.
1404 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1406 * iterators.[Ch] (text): require bv argument
1407 * undo.C (recordUndo):
1408 * lyxfunc.C (dispatch):
1409 * bufferview_funcs.C (put_selection_at): adjust
1411 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1413 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1415 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1417 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1420 2003-11-04 André Pönitz <poenitz@gmx.net>
1422 * cursor.[Ch]: restructure
1425 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1427 * iterators.[Ch] (asCursor): remove
1429 * lfuns.h: remove LFUN_INSET_EDIT
1435 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1437 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1439 * lyxfind.[Ch]: complete overhaul
1440 * BufferView_pimpl.C:
1442 * paragraph.[Ch] (insert): add
1444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1448 * text.C: remove dead spellcheck code
1450 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * dispatchresult.h: add a val setter
1454 * cursor.C (dispatch): use a tempvar for data_[i]
1456 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1458 * PosIterator.[Ch]: compile fix
1460 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1462 * text.C (cursorPar): deactivate the cursor cache
1464 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1466 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1468 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * text3.C (dispatch): adjust for new DisptchResult semantics.
1472 * lyxfunc.C (dispatch): handle update when return from
1473 Cursor::dispatch, adjust for new DispatchResult semantics.
1475 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1476 DispatchResult(true) mean to not update. Add class functions for
1477 setting dispatched and update, as well as reading.
1479 * cursor.C (dispatch): don't handle update here
1481 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1484 * trans_mgr.C: adjust
1486 * paragraph_funcs.C (readParToken): exception safety
1488 * lyxvc.h: store the vcs pointer in a scoped_ptr
1491 * lyxsocket.C (serverCallback): exception safety
1493 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1495 * ispell.C (clone): make it return a auto_ptr
1497 * factory.C (createInset): exception safety
1498 (readInset): exception safety
1500 * bufferlist.C (newBuffer): exception safety
1502 * Thesaurus.C (Thesaurus): use initialization for aik_
1504 * MenuBackend.C (expandToc): exception safety.
1506 2003-11-03 André Pönitz <poenitz@gmx.net>
1510 * bufferview_funcs.C: remove getInsetFromId()
1513 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1519 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1521 * PosIterator.C (distance, advance): new
1522 * bufferview_funcs.[Ch] (put_selection_at): new
1523 * iterators.[Ch] (lockPath): new
1525 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1527 * iterators.[Ch] (asPosIterator): added
1528 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1529 * PosIterator.[Ch]: added
1531 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * cursor.C (dispatch):
1536 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1538 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1539 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1540 contructor, add a class function dispatched. Remove operator>=
1542 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * debug.C: only use the default constructor for debugstream
1547 * main.C (main): include debug.h and setup the lyxerr streambuf
1550 2003-10-31 José Matos <jamatos@lyx.org>
1552 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1554 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1555 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1556 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1557 * paragraph_pimpl.C (simpleTeXSpecialC):
1558 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1559 add LatexRunParams argument.
1561 * exporter.C (Export): change call accordingly.
1563 * latexrunparams.h: add new member to take care of the other backends.
1564 2003-10-30 José Matos <jamatos@lyx.org>
1566 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1567 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1568 factorise code for paragraph output.
1570 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1573 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * text3.C (dispatch):
1576 * lyxfunc.C (dispatch):
1577 * cursor.C (dispatch):
1578 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1580 * dispatchresult.h: make the dispatch_result_t ctor explicit
1582 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1585 * buffer.C: small refactoring of docbook stuff
1587 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1589 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1592 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1595 operator dispatch_result_t, and operators for == != and >=
1597 * cursor.C (dispatch): adjust for operator dispatch_result_t
1598 removal. comment out call to update
1600 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1602 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1613 * dispatchresult.h: new file, DispatchResult broken out of
1616 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1618 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1620 * text.C (rowBreakPoint): put a hack inside #if 0
1622 2003-10-28 André Pönitz <poenitz@gmx.net>
1626 * paragraph_funcs.C:
1629 * text2.C: general cleanup (lots of small stuff)
1631 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1633 * text2.C (cursorEnd): simple fix to the "end key goes to one
1634 before the end on last row" bug
1636 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1638 * text.C (backspace): fix the "zombie characters"
1640 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1642 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1644 2003-10-27 André Pönitz <poenitz@gmx.net>
1646 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1648 * factory.C: handle new InsetPagebreak, InsetLine
1650 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1651 and move handling into new InsetPagebreak, InsetLine
1653 * BufferView_pimpl.C:
1655 * ParagraphParameters.C:
1656 * ParameterStruct.h:
1661 * paragraph_funcs.C:
1662 * paragraph_pimpl.C:
1668 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1671 * lyxrow_funcs.[Ch]:
1677 * text3.C: remove lastPos uses in favour of Row::endpos
1679 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1681 * undo.C (performUndoOrRedo): fix two crashes by setting a
1682 cursor by hand and reordering some calls. Use bv->lockInset instead
1683 of inset->edit because the latter loses cursor information
1685 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1687 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1689 (rowBreakPoint): fix width. change point to point + 1.
1690 Add a missing check.
1692 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1695 * lyxfunc.C: fix (at least partly) the problems
1696 with the Nav menu and headers inside branch insets
1699 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1701 * paragraph.C (getChar): add strong asserts
1703 * lyxrow_funcs.C (lastPos): remove hideous hack
1705 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1706 (fill): adjust to that (avoid an infinite loop)
1708 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1710 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1712 2003-10-23 André Pönitz <poenitz@gmx.net>
1714 * RowList_fwd.h: change list<> to vector<> to gain speed
1715 after suggestion from Alfredo
1717 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1719 * lyxtext.h: move the bidi stuff from here...
1722 * Bidi.[Ch]: ... to here
1724 2003-10-23 André Pönitz <poenitz@gmx.net>
1727 * text.C (isLastRow, isFirstRow): new functions
1729 * paragraph.h: new width cache member
1731 * rowpainter.C: replace RowList::iterator with Row & where possible
1733 * lyxfunc.C: replace several view()->text with a single call
1735 * toc.C: fix 'unused' warning
1737 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1740 when woring with stream::pos_type
1741 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1743 2003-10-22 André Pönitz <poenitz@gmx.net>
1746 * text.C: use Row & instead of RowList::iterator
1748 * lyxrow.h: rename end() to endpos()
1754 2003-10-22 Angus Leeming <leeming@lyx.org>
1756 * buffer.[Ch] (fully_loaded): new member function, returning true
1757 only when the file has been loaded fully.
1758 Used to prevent the premature generation of previews and by the
1759 citation inset to prevent computation of the natbib-style label.
1761 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1762 templates are all set up.
1764 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1766 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1768 * text.C: fixed an "oops" in the "is a bit silly"
1771 2003-10-21 André Pönitz <poenitz@gmx.net>
1773 * FuncStatus.[Ch]: small stuff, whitespace
1775 * lyxfont.[Ch]: operator<<() for debug reasons
1779 * lyxtext.h: whitespace, spelling
1781 * paragraph.C: naming of variables
1784 * text2.C: small stuff
1787 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1789 * text.C: (1) finish off the inset display() work;
1790 (2) fix the "is a bit silly" bug (accessing char
1793 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1795 * text.C: re-introduce display() for insets, fixing the
1796 various bugs (stretch of line above, math inset
1799 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 * text.C (rightMargin): remove spurious semicolon
1803 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1806 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1808 * text3.C: fix one crash due to wrong cursor def
1810 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1812 * vc-backend.C (scanMaster): make the regex static
1814 * LaTeX.C (scanAuxFile): make the regexs static
1816 * text3.C (doInsertInset, dispatch, dispatch):
1817 * text2.C (cursorUp, cursorDown):
1818 * text.C (selectNextWordToSpellcheck):
1819 * BufferView_pimpl.C (dispatch):
1820 * lyxfunc.C (dispatch): localDispatch -> dispatch
1822 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1824 * lyxsocket.C: include <cerrno>
1826 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * lyxfunc.C (dispatch): remove textcache stuff
1830 * bufferlist.C (release): remove textcache stuff
1833 * TextCache.C: delete file
1834 * TextCache.h: delete file
1836 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1838 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1839 delete of the bv_->text.
1840 (resizeCurrentBuffer): remove texcache stuff
1841 (workAreaResize): ditto
1843 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1848 2003-10-16 André Pönitz <poenitz@gmx.net>
1855 * text3.C: speed up by storing y positions per paragraph plus per-row
1856 offset instead of having a 'full' y position in the row.
1858 2003-10-15 André Pönitz <poenitz@gmx.net>
1862 * undo.[Ch]: make undo aware of inner insets
1864 2003-10-14 Angus Leeming <leeming@lyx.org>
1866 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1867 static member functions LyX::ref() and LyX::cref.
1868 (lastfiles): new accessor functions for the new lastfiles_ member var.
1869 (addLyXView, views_): add a new LyXView to the list of views_.
1870 (updateInset): loop over all LyXViews to call their own updateInset
1871 member function, returning a pointer to the Buffer owning the inset.
1873 * BufferView_pimpl.C (loadLyXFile):
1874 * MenuBackend.C (expandLastfiles):
1875 * bufferlist.C (MenuWrite, QuitLyX):
1876 lastfiles is no longer a global variable.
1877 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1879 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1880 static function. Access through LyX::cref().emergencyCleanup().
1882 2003-10-14 André Pönitz <poenitz@gmx.net>
1884 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1886 * undo.[Ch]: restoring part of 'undo in insets'
1889 * undo_funcs.[Ch]: merge with undo.[Ch]
1891 * tabular.C: small cleansing stuff
1893 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1895 * paragraph_funcs.C (readParToken): report unknown insets as error
1896 boxes. Use the outer paragraph as location (also for unknown
1899 * factory.C (readInset): do not abort on reading an unknown inset.
1900 Eat it and return 0.
1902 2003-10-13 Angus Leeming <leeming@lyx.org>
1904 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1906 * lyxrc.C: displayTranslator is now a function,
1907 declared in GraphicsTypes.h.
1909 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1911 * format.C: new placeholder $$a to pass the socket address.
1913 * bufferlist.[Ch]: new function getBufferFromTmp.
1915 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1916 files in the temporary dir.
1918 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1920 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1922 * Makefile.am: add lyxsocket.[Ch].
1924 * lyx_main.C (error_handler): handle SIGPIPE.
1926 2003-10-13 André Pönitz <poenitz@gmx.net>
1928 * BufferView_pimpl.C:
1933 * undo_funcs.[Ch]: use paroffset_type instead of
1934 ParagraphList::iterators to prevent multiple conversion
1935 (and get a more robust interface)
1937 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1941 * text3.C (dispatch): ditto
1943 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1946 move the onlyfile, use onlyfile instead of foundfile in a couple
1949 * DepTable.C (update): flush the error stream a bit more
1951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * lyxserver.C (callback): adjust
1955 * lyxfunc.C (getStatus): add a missing brace in commented code
1956 (ensureBufferClean): reindent
1957 (dispatch): delete version taking a string
1959 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * LaTeX.C (deplog): move found file handlig from here...
1962 (handleFoundFile): .. to new function here.
1963 (deplog): make sure to discover several files mentioned on the
1966 2003-10-10 André Pönitz <poenitz@gmx.net>
1973 * text3.C: fix some of the tabular crashes
1975 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1977 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1979 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1981 2003-10-09 André Pönitz <poenitz@gmx.net>
1983 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1986 * BufferView_pimpl.C:
1987 * bufferview_funcs.C:
1998 * undo_funcs.C: adjust
2000 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * text2.C (incrementItemDepth): new function, use a backtracking
2003 algorithm to discover the correct item depth.
2004 (resetEnumCounterIfNeeded): new function, use a backtracking
2005 algorithm to discover if counter reset is needed.
2006 (setCounter): use them. Simplify a bit. Add different labels for
2007 different item depths for itemize.
2009 * paragraph.C (Paragraph): remove initialization of enumdepth
2012 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2013 enumerate and itemize. Change the type of itemdepth to signed char.
2015 2003-10-08 André Pönitz <poenitz@gmx.net>
2017 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2022 * tabular.[Ch]: fix crash after 'row-insert'
2024 2003-10-08 Angus Leeming <leeming@lyx.org>
2026 Fix doxygen warnings.
2028 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2029 Remove CutAndPaste:: prefix from header file declaration.
2031 * LColor.h (fill): remove LColor:: prefix from declaration.
2033 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2034 use lyx::depth_type rather than Paragraph::depth_type so that
2035 header file and .C file match.
2037 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2039 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2040 * aspell.C: \file aspell_local.C -> \file aspell.C
2041 * gettext.C: \file gettext.C -> \file src/gettext.C
2042 * gettext.h: \file gettext.h -> \file src/gettext.h
2043 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2044 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2045 * text.C: \file text.C -> \file src/text.C
2047 * toc.C: move comment so that doxygen is not confused.
2049 2003-10-07 Angus Leeming <leeming@lyx.org>
2051 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2053 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2056 * aspell_local.h: add forgotten std::string's.
2058 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2065 * text3.C: The Box patch. Fancybox support, minipage, parbox
2067 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2073 * ParagraphParameters.h:
2083 * lyxtextclasslist.h:
2086 * paragraph_pimpl.C:
2087 * textcursor.h: add <string> and other small fixes to make Lars'
2088 std::string patch compile with STLport.
2090 2003-10-06 Angus Leeming <leeming@lyx.org>
2092 * LColor.h: Add missing #include <string>.
2094 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * All most all file in all subdirs: Make <string> be the prefered
2097 way of getting to std::string, add using declarations.
2099 2003-10-06 André Pönitz <poenitz@gmx.net>
2101 * metricsinfo.C: initialize LyXFont before changing attribute.
2102 (fixes the 'math in \emph is upright' bug)
2104 2003-10-06 André Pönitz <poenitz@gmx.net>
2106 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2108 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2111 * paragraph_pimpl.C: Small fixes to build using STLport
2113 2003-10-02 André Pönitz <poenitz@gmx.net>
2116 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2118 2003-10-01 André Pönitz <poenitz@gmx.net>
2120 * factory.C: assert early
2122 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * lyx_main.C: remove the global debug object
2126 * debug.h: adjust for new debugstream
2128 * debug.C: adjust for new debugstream and keep the global debug
2131 2003-09-22 Angus Leeming <leeming@lyx.org>
2133 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2134 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2135 an incomplete class LyXFont.
2137 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2139 * factory.C: bug fix in branches
2141 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * lyxfunc.C (processKeySym): adjust
2145 (dispatch): change arg name from ev to func, adjust
2146 (sendDispatchMessage): ditto
2148 * lyx_main.C (defaultKeyBindings): adjust keybindings
2149 (deadKeyBindings): ditto
2151 * kbsequence.C (addkey): return a FuncRequest
2153 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2155 * kbmap.C (bind): take a FuncRequest as arg, adjust
2158 (defkey): change to take a FuncRequest as arg, adjust
2159 (findbinding): take a FuncRequest as arg, adjust.
2161 * funcrequest.h (operator=): added
2163 * funcrequest.C (FuncRequest): default kb_action changed from
2164 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2166 * buffer.C (dispatch): simplify
2167 (dispatch): adjust to take a FuncRequest as arg, adjust
2169 * boost.C (assertion_failed): change assertion message slightly
2171 * ToolbarBackend.C (read): simplify
2173 * MenuBackend.C (binding): adjust call to findbinding, add a
2174 message if no binding is found.
2176 (expandToc): correct by adding a empty FuncRequest
2178 * LyXAction.C: include <boost/assert.hpp>
2179 (isPseudoAction): delete function
2180 (LookupFunc): change name to...
2181 (lookupFunc): this. change return type to FuncRequest.
2182 (getActionName): take kb_action as arg, simplify
2183 (funcHasFlag): add an assert, simplify.
2185 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * toc.C (action): return a FuncRequest, simplify
2189 * lyxfunc.C (processKeySym): adjust
2190 (getStatus): delete version that takes an int.
2192 (dispatch): delete version that takes action as int
2194 (sendDispatchMessage): simplify and adjust
2196 * funcrequest.C (getArg): take unsigned int as arg
2198 * ToolbarBackend.C (read): adjust
2199 (add): delete version that takes func as a string.
2200 (getIton): take a FuncRequest as arg
2202 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2205 * MenuBackend.C (MenuItem): add a new construct that only takes a
2206 Kind, simplify the constructor use for submenus.
2208 (expandLastfiles): adjust
2209 (expandDocuments): adjust
2210 (expandFormats): adjust
2211 (expandFloatListInsert): adjust
2212 (expandFloatInsert): adjust
2213 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2215 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2216 Remove class variables lyx_pseudo_map and lyx_arg_map
2218 * LyXAction.C (searchActionArg): delete function
2219 (getPseudoAction): delete function
2220 (retrieveActionArg): delete function
2221 (LookupFunc): make it return kb_action, simplify.
2222 (getActionName): simplify
2224 * factory.C (createInset): fix new bug
2226 2003-09-19 Angus Leeming <leeming@lyx.org>
2228 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2229 masterFilename_ parameter in the include inset.
2231 * factory.C (createInset): changes due to the changes to InsetInclude.
2233 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2235 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2237 2003-09-18 Angus Leeming <leeming@lyx.org>
2240 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2241 Inset::fillWithBibKeys.
2242 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2244 2003-09-18 Angus Leeming <leeming@lyx.org>
2246 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2248 (ctor): pass and store a 'Buffer const &'
2249 (buffer): new member function.
2251 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2252 '*this' to the LaTeXFeatures ctor.
2254 2003-09-18 Angus Leeming <leeming@lyx.org>
2260 * text.C: rename EnumLColor as LColor_color.
2262 2003-09-18 Angus Leeming <leeming@lyx.org>
2264 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2265 remove #include "insets/insetbase.h" from cursor.h.
2267 2003-09-18 Angus Leeming <leeming@lyx.org>
2269 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2270 InsetOld_code to remove #include "inset.h".
2272 * iterators.C: add #include "insets/inset.h"
2274 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2276 * BufferView.C: remove more locking stuff that apparently doesn't
2277 do anything sensible.
2279 2003-09-16 André Pönitz <poenitz@gmx.net>
2282 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2285 2003-09-16 Angus Leeming <leeming@lyx.org>
2287 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2289 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2292 * paragraph.h: remove #include "lyxfont.h". Forward declare
2295 2003-09-16 Angus Leeming <leeming@lyx.org>
2297 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2298 of support/textutils.h.
2299 (isWord): move the contents of support/textutils.h's IsWordChar here.
2305 * text2.C: add #include "paragraph.h".
2308 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2310 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * LaTeX.C: use namespace alias for lyx::support::os
2318 2003-09-16 Angus Leeming <leeming@lyx.org>
2321 * bufferview_funcs.C:
2324 * paragraph_pimpl.C:
2326 * text.C: add #include "LColor.h".
2328 2003-09-16 Angus Leeming <leeming@lyx.org>
2330 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2331 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2333 Store the FontBits::color variable as an int rather than as an
2334 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2337 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2338 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2339 string calls together.
2341 * lyxrc.C: add #include "LColor.h".
2343 2003-09-15 Angus Leeming <leeming@lyx.org>
2345 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2348 2003-09-15 Angus Leeming <leeming@lyx.org>
2350 * LColor.h: add an EnumLColor wrapper for LColor::color.
2352 * lyxfont.[Ch] (color, setColor, realColor):
2353 * lyxtext.h, text.C (backgroundColor):
2354 pass EnumLColor args to/from the functions, rather than LColor::color
2358 * lyxtext.h: forward declare EnumLColor.
2360 * lyx_main.C: add #include "LColor.h".
2362 2003-09-15 Angus Leeming <leeming@lyx.org>
2364 * .cvsignore: add lyx-gtk.
2366 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * ParagraphParameters.C
2375 * bufferview_funcs.C
2385 * vc-backend.C: remove usage of STRCONV
2387 2003-09-15 Angus Leeming <leeming@lyx.org>
2389 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2390 explicitly define the color passed to the painter.
2392 2003-09-15 Angus Leeming <leeming@lyx.org>
2394 * bufferparams.C (BufferParams): reorder member initializers to avoid
2397 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2399 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2400 * text.C (updateRowPositions): remove an unusual nop
2402 2003-09-12 André Pönitz <poenitz@gmx.net>
2404 * BufferView_pimpl.C:
2413 * Counters.[Ch]: finish the 'automatic counters' job
2415 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2417 * aspell.C: include <boost/assert.cpp> (compile fix)
2419 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2421 * boost.C (assertion_failed): use lyx::support::abort instead of
2424 2003-09-10 Angus Leeming <leeming@lyx.org>
2426 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2427 with their _fwd progeny.
2429 2003-09-09 Angus Leeming <leeming@lyx.org>
2431 134 files throughtout the source tree: replace 'using namespace abc;'
2432 directives with the appropriate 'using abc::xyz;' declarations.
2434 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2436 * boost.C (emergencyCleanup): moved here from LAssert.c
2437 (assertion_failed): new function, called by BOOST_ASSERT
2439 * several files: change Assert to BOOST_ASSERT
2441 2003-09-09 Angus Leeming <leeming@lyx.org>
2443 * buffer.[Ch]: Add an Impl class and move Buffer's member
2444 variables into it. As a result move several header files out of
2447 Add header files to lots of .C files all over the tree as a result.
2449 2003-09-09 Angus Leeming <leeming@lyx.org>
2451 * buffer.[Ch]: make Buffer's member variables private. Add
2454 Lots of changes all over the tree as a result.
2456 2003-09-08 Angus Leeming <leeming@lyx.org>
2458 * graph.C: #include <config.h>.
2460 2003-09-08 Angus Leeming <leeming@lyx.org>
2464 * BufferView_pimpl.C:
2493 * toc.C: remove redundant using directives.
2495 2003-09-07 Angus Leeming <leeming@lyx.org>
2497 * LaTeXFeatures.h: remove #include "support/types.h".
2498 * ToolbarBackend.h: remove #include <algorithm>.
2499 * changes.h: remove #include <ctime>.
2500 * debug.h: remove #include <iosfwd>.
2501 * graph.h: remove #include "support/std_string.h".
2502 * lyx_main.h: remove #include <csignal>.
2503 * lyxlex_pimpl.h: remove #include <fstream>.
2504 * sgml.h: remove #include <algorithm>, <utility>.
2505 * toc.h: remove #include "support/std_ostream.h".
2506 Add #include <iosfwd>.
2508 2003-09-07 Angus Leeming <leeming@lyx.org>
2510 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2512 * converter.h: forward declare LatexRunParams.
2513 * encoding.h: remove #include "lyxrc.h".
2514 * lyxtext.h: remove #include "LColor.h".
2515 * lyxtextclass.h: remove #include "support/types.h".
2516 * trans.h: remove #include "tex-accent.h".
2517 * trans_mgr.h: remove #include "tex-accent.h".
2518 * insets/inset.h: remove #include "support/types.h", <vector>.
2519 * insets/insetcollapsable.h: remove #include "LColor.h".
2520 * insets/insetinclude.h: remove #include "dimension.h".
2521 * insets/insetlatexaccent.h: remove #include "dimension.h".
2522 * insets/insetoptarg.h:: remove #include "insettext.h".
2523 * insets/insettext.h: remove #include "dimension.h",
2524 <boost/shared_ptr.hpp>
2526 * insets/renderers.h: add #include "dimension.h".
2527 * insets/updatableinset.h: add #include "support/types.h".
2529 * many .C files: Associated changes.
2531 2003-09-06 Angus Leeming <leeming@lyx.org>
2533 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2534 one, inside testInvariant.
2536 * PrinterParams.C: new file.
2537 * PrinterParams.[Ch]: move the function bodies out of line.
2539 2003-09-06 Angus Leeming <leeming@lyx.org>
2541 * ParagraphParameters.h: forward declare ParameterStruct rather than
2542 including its header file.
2543 (depth): moved out-of-line.
2545 2003-09-06 Angus Leeming <leeming@lyx.org>
2547 * BufferView_pimpl.h:
2550 * lyxfunc.h: forward declare LyXKeySym rather than
2551 #include "frontends/LyXKeySym.h".
2553 * BufferView_pimpl.C:
2556 * lyxfunc.C: associated changes.
2558 2003-09-06 Angus Leeming <leeming@lyx.org>
2560 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2561 As a result, can remove the #include "insets/inset.h" from BufferView.h
2563 2003-09-06 Angus Leeming <leeming@lyx.org>
2565 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2566 As a result, can remove the #include "insets/inset.h" from BufferView.h
2568 2003-09-06 Angus Leeming <leeming@lyx.org>
2574 * bufferview_funcs.C:
2575 * BufferView_pimpl.C:
2580 * ParagraphParameters.C:
2585 * frontends/controllers/ControlDocument.C:
2586 * insets/insetcaption.C: rearrange the #includes into some sort of
2589 * buffer.h: remove #includes ErrorList.h, undo.h
2591 2003-09-06 Angus Leeming <leeming@lyx.org>
2593 * support/types.h: add a 'depth_type' typedef, used to store the
2594 nesting depth of a paragraph.
2597 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2598 defining explicitly.
2601 * paragraph_funcs.h:
2602 * ParagraphParameters.h:
2603 * sgml.h: use lyx::depth_type rather than Paragraph or
2604 ParameterStruct's depth_type.
2607 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2610 * BufferView_pimpl.C:
2612 * ParagraphParameters.C:
2615 * bufferview_funcs.C:
2622 * frontends/LyXView.C:
2623 * frontends/controllers/ControlDocument.C:
2624 * frontends/controllers/ControlErrorList.C:
2625 * insets/insetbibitem.C:
2626 * insets/insetbranch.C:
2627 * insets/insetcaption.C:
2628 * insets/insetcollapsable.C:
2629 * insets/insetenv.C:
2630 * insets/insetert.C:
2631 * insets/insetfloat.C:
2632 * insets/insetfoot.C:
2633 * insets/insetfootlike.C:
2634 * insets/insetnewline.C:
2635 * insets/insetquotes.C:
2636 * insets/insettabular.C:
2637 * insets/insettext.C:
2638 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2640 * frontends/controllers/ControlChanges.C: #include "changes.h".
2642 2003-09-06 Angus Leeming <leeming@lyx.org>
2644 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2645 than #including paragraph.h.
2648 * RowList.h: deleted. Superfluous.
2658 * insets/insettext.h: use ParagraphList_fwd.h rather than
2661 * paragraph.h: don't forward declare ParagraphList.
2664 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2665 rather than ParagraphList.h. paragraph.h is still needed for the
2666 Paragraph::depth_type parameters.
2668 * textcursor.h: enable it to compile stand-alone in light of the
2671 * bufferview_funcs.C:
2683 * frontends/controllers/ControlParagraph.C:
2684 * frontends/controllers/ControlTabular.C:
2685 * insets/insetmarginal.C:
2686 * insets/insetminipage.C:
2687 * insets/insetnote.C:
2688 * insets/insetoptarg.C: add header files needed to compile again.
2690 2003-09-06 Angus Leeming <leeming@lyx.org>
2692 * RowList_fwd.h: new file, forward-declaring Row rather than
2693 #including lyxrow.h.
2698 * insets/insettext.h: use it instead of RowList.h
2700 * bufferview_funcs.C:
2707 * text3.C: #include "RowList.h".
2709 2003-09-05 Angus Leeming <leeming@lyx.org>
2711 * factory.C (createInset):
2712 * vspace.C (c-tor): replace sscanf call with an istringstream.
2713 * ispell.C: re-add missing HP/UX headers.
2714 * lyxserver.C: re-add missing os2 headers.
2716 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2725 * text3.C: re-add missing system headers, needed for 2.95.2.
2727 2003-09-05 Angus Leeming <leeming@lyx.org>
2729 Changes most place everywhere due to the removal of using directives
2730 from support/std_sstream.h.
2732 2003-09-05 Angus Leeming <leeming@lyx.org>
2734 Replace LString.h with support/std_string.h,
2735 Lsstream.h with support/std_sstream.h,
2736 support/LIstream.h with support/std_istream.h,
2737 support/LOstream.h with support/std_ostream.h.
2739 Changes resulting throughout the tree.
2741 2003-09-05 Angus Leeming <leeming@lyx.org>
2743 * sgml.h: ensure that the header file can be compiled stand-alone.
2744 * *.C: strip out redundant #includes. (320 in total.)
2746 2003-09-04 Angus Leeming <leeming@lyx.org>
2748 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2749 here (from getPackages).
2751 * debug.[Ch]: add a new EXTERNAL tag.
2753 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2755 * text2.C (cursorEnd): simplify
2757 (getColumnNearX): adjust
2759 * text.C (computeBidiTables): adjust
2762 * rowpainter.C (paintChars): adjust
2763 (paintSelection): adjust
2764 (paintChangeBar): adjust
2767 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2769 (numberOfSeparators): adjust
2771 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2777 * text3.C: Restricts the mouse click functionality
2778 of insets like bibtex, include, toc and floatlist to the visible
2779 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2780 up the dialogs. Cursor has to be in front of the inset (i.e.
2781 start of row) for this to function.
2783 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2785 * bufferview_funcs.C (currentState): output row information
2787 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2789 * bufferview_funcs.C (currentState): output paragraph position
2791 2003-09-04 Angus Leeming <leeming@lyx.org>
2793 * FloatList.h: move out #include "Floating.h".
2794 * LaTeX.h: move out #include "DepTable.h".
2795 * LyXAction.h: move out #include "funcrequest.h".
2796 * buffer.h: move out #include "author.h", "iterators.h".
2797 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2798 * lyx_main.h: move out #include "errorlist.h".
2799 * lyxfunc.h: move out #include "FuncStatus.h".
2800 * lyxtext: move out #include "lyxcursor.h".
2801 * paragraph_pimpl.h: move out #include "counters.h".
2803 2003-09-03 Angus Leeming <leeming@lyx.org>
2805 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2806 preamble_snippets list, enabling us to add snippets to the preamble
2807 only if the snippet was not there already.
2809 2003-09-04 Angus Leeming <leeming@lyx.org>
2811 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2813 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2818 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2820 * BranchList.C: point fix, earlier forgotten
2822 2003-09-02 Angus Leeming <leeming@lyx.org>
2824 * box.C (contains): renamed from 'contained' after a fantastic
2827 2003-09-02 John Levon <levon@movementarian.org>
2833 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2835 2003-09-02 John Levon <levon@movementarian.org>
2837 * text2.C: simplification of cursorEnd(), including partial
2840 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * buffer.C (readFile): add a space
2844 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2846 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2848 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * buffer.C (readFile): new function, take a filename and a
2851 ParagraphList::iterator
2853 (readFile): adjust, make it private. don't use setStream, make
2854 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2855 always contain the filename.
2857 * BufferView.C (insertLyXFile): simplify and make it work for
2860 2003-08-30 John Levon <levon@movementarian.org>
2862 * Makefile.am: fix dist (from Kayvan)
2864 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * most files: change to use const Buffer refs
2868 2003-08-27 André Pönitz <poenitz@gmx.net>
2870 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2871 on top of ownerPar().
2873 2003-08-27 John Levon <levon@movementarian.org>
2875 * funcrequest.C: properly initialise POD members
2877 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2879 * lyxtext.h (top_y): move top_y from here
2884 * BufferView_pimpl.[Ch]: to here
2885 * frontends/screen.C:
2886 * insets/insettabular.C:
2887 * insets/insettext.C: adjust
2888 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2890 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2893 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2895 2003-08-26 André Pönitz <poenitz@gmx.net>
2897 * paragraph_func.[Ch] (outerPar): new function
2900 * paragraph_funcs.C:
2901 * paragraph_funcs.h:
2902 * paragraph_pimpl.C:
2903 * text2.C: remove Inset::par_owner
2905 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2910 * text2.C: eliminates the needFullRow/display() stuff
2911 altogether, putting the logic in metrics/draw in the insets.
2913 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2915 * text2.C (redoParagraphInternal, redoParagraphs):
2916 * text.C (redoParagraph): add a call to updateRowPositions at the
2917 end of each 'metrics-like' call. Remove all others.
2918 (getRow): remove the 'y-computing' version.
2919 (getRowNearY): do not compute nor return the real y. Solve the
2920 'y < 0' problem and simplify.
2922 2003-08-22 Angus Leeming <leeming@lyx.org>
2924 * *.[Ch]: clean-up of licence and author blurbs.
2925 Also move config.h out of a few .h files and into a few .C files.
2927 2003-08-22 André Pönitz <poenitz@gmx.net>
2929 * lyxrow.[Ch]: add x_ and *fill_ members
2934 * text2.C: adjust/remove prepareToPrint() calls
2936 2003-08-22 André Pönitz <poenitz@gmx.net>
2938 * lyxrow.[Ch]: add end_ member
2940 * lyxrow_funcs.C: use LyXRow::end_
2942 * lyxtext.h (singleWidth): add LyXFont parameter
2945 * text2.C: adjust LyXText::singleWidth() calls
2947 * text.C (redoParagraph): simplify row breaking logic
2950 2003-08-19 André Pönitz <poenitz@gmx.net>
2952 * funcrequest.C: initialize button_ member
2955 * rowpainter.[Ch]: interface consolidation
2957 2003-08-18 André Pönitz <poenitz@gmx.net>
2960 * BufferView_pimpl.C:
2962 * paragraph_funcs.C:
2964 * text3.C: remove LyXScreen::draw() and fitCursor calls
2966 * BranchList.h: remove spurious semicolons
2968 * MenuBackend.C: fix branchlist related crash
2970 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2978 * bufferparams.[Ch]:
2982 * text3.C: implements the 'branch inset'
2983 idea. This allows the output of various versions of a document
2984 from a single source version, selectively outputing or suppressing
2985 output of parts of the text.
2986 This implementation contains a 'branch list editor' in a separate
2987 tab of the document settings dialog. Branches are user definable
2988 and have a "display colour" to distinguish them on-screen.
2990 ColorHandler was somewhat cleaned up.
2991 (1) make possible a dynamically growing LColor list by allowing
2992 the graphic context cache to grow along (vector);
2993 (2) eliminate an IMHO unnecessary step in colour allocation.
2995 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2997 * BufferView_pimpl.C: compile fix
2999 2003-08-15 André Pönitz <poenitz@gmx.net>
3001 * rowpainter.C: remove extra metrics calls
3003 * lyxtext.h: merge the two constructors into a single one,
3004 pass reference to owner's par list
3006 * BufferView_pimpl.C:
3010 2003-08-15 André Pönitz <poenitz@gmx.net>
3012 * lyxrow_funcs.[Ch]:
3015 * paragraph_funcs.C:
3020 * text_funcs.C: split LyXText::rowlist_ into individual
3021 Paragraph::rows_ chunks
3024 * BufferView_pimpl.[Ch]:
3027 * text3.C: remove toggleSelection()
3029 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3031 * bufferlist.C: beautify two alerts (shorter text of buttons)
3032 * buffer.C: Remove redundant ' ' from message
3034 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3035 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3036 rename VALIGN_CENTER to VALIGN_MIDDLE
3038 2003-08-11 André Pönitz <poenitz@gmx.net>
3040 * lyxtext.h (getPar):
3041 * text.C: new function
3043 2003-08-11 André Pönitz <poenitz@gmx.net>
3046 * tracer.[Ch]: remove unneeded files
3048 * InsetList.[Ch]: remove resizeInsetsLyXText()
3053 * text3.C: merge insertParagraphs() and appendParagraph()
3054 remove breakAgain(), update()
3056 * BufferView_pimpl.[Ch]:
3057 * bufferview_funcs.[Ch]:
3061 * tabular.C: adjust after text & InsetList changes.
3063 2003-08-08 André Pönitz <poenitz@gmx.net>
3065 * text.C (insertChar, backspace): replace rowlist fiddling
3066 with rebreak of full par
3069 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3070 checkParagraph, updateInset): removed
3072 2003-08-07 André Pönitz <poenitz@gmx.net>
3075 * text3.C: merge some LFUN handlers, remove dead code
3077 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3079 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3081 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3083 * text2.C (DEPM): fix part of bug 1255 and 1256
3085 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3087 * BufferView_pimpl.C (workAreaDispatch): change to use
3088 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3089 that are no mouse related.
3091 2003-08-05 André Pönitz <poenitz@gmx.net>
3094 * BufferView_pimpl.[Ch]:
3095 * bufferview_funcs.C:
3097 * text3.C: rip out "deep update"
3099 * textcursor.[Ch] (last_sel_cursor): remove unused member
3101 2003-08-04 André Pönitz <poenitz@gmx.net>
3104 * BufferView_pimpl.[Ch]:
3105 * ParagraphParameters.C:
3106 * bufferview_funcs.C:
3112 * text3.C: replace "complicated" BufferView::update(...) calls with
3115 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3117 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3119 * Makefile.am (lyx_SOURCES): add paper.h
3121 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3123 * Makefile.am: move things around so that both lyx-qt and
3124 lyx-xforms can be built (according to --with-frontend). Then lyx
3125 is a symbolic link to lyx-[firstfrontend]
3127 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3129 * Always use std::endl with lyxerr
3131 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3133 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3135 2003-08-01 André Pönitz <poenitz@gmx.net>
3138 * BufferView_pimpl.[Ch]:
3140 * text3.C: merge BufferView::repaint() and BufferView::update()
3142 2003-08-01 José Matos <jamatos@lyx.org>
3144 * buffer.[Ch]: file_format is no longer a buffer data element.
3146 2003-08-01 André Pönitz <poenitz@gmx.net>
3151 * text2.C: make redoParagraph more independent of current cursor
3153 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3155 * text2.C: remove unneeded members
3157 2003-07-30 André Pönitz <poenitz@gmx.net>
3159 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3161 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3162 create a single function...
3164 * paragraph_funcs.C (moveItem): ... here.
3167 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3169 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3171 * LColor.[Ch]: Add comment and greyedout logical colors.
3173 2003-07-30 André Pönitz <poenitz@gmx.net>
3175 * tabular.C: don't use Assert too heavily. This crashes where it
3178 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3180 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3181 is disabled (bug 1232)
3183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3185 * factory.C: limited 'arg' scope
3187 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3189 * factory.C: fixed Note submenu issues
3191 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3193 * factory.C: submenu for Note/Comment/Greyedout
3195 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3198 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3200 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3203 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3204 greyedout. Patch provided by Jürgen Spitzmüller.
3206 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * kbmap.C (read): fix error message when reading bind files
3210 2003-07-29 Angus Leeming <leeming@lyx.org>
3212 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3213 certainly does not do what it purports to do. I am doing it, and
3214 us, a favour by killing it.
3216 2003-07-28 José Matos <jamatos@lyx.org>
3218 * buffer.C (readBody, do_writeFile):
3219 * paragraph.C(readParagraph): \end_document replaces \the_end.
3221 2003-07-29 André Pönitz <poenitz@gmx.net>
3224 * BufferView_pimpl.[Ch]:
3228 * textcursor.[Ch]: remove toggleToggle & Co
3230 2003-07-28 José Matos <jamatos@fep.up.pt>
3232 * buffer.C (readParagraph):
3233 * params_func (readParToken, readParagraph):
3234 * paragraph.C (write): \layout -> \begin_layout.
3236 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * lyxlex_pimpl.C (setFile): clean up slightly.
3240 * bufferparams.h: add compressed var
3242 * buffer_funcs.C (readFile): adjust for LyXLex change
3243 (newFile): ditto + simplify
3245 * buffer.C (writeFile): handle writing of compressed files
3247 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3248 Check if the file is compressed and set a bufferparm if so.
3250 * Makefile.am (lyx_LDADD): remove explicit -lz
3252 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3254 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3255 makeDocBookFile): put the real LyX version in the first line of
3259 * version.C.in: remove lyx_docversion
3261 * tabular.C (write_attribute): add a template-based version to
3262 write enums properly
3264 2003-07-28 André Pönitz <poenitz@gmx.net>
3269 * text3.C: use doubles again for x-coordinates. They are needed.
3271 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * messages.C (getLocaleDir): use lyx_localedir()
3275 * lyxlex_pimpl.C (setFile): compress stuff
3277 * buffer.C (writeFile): add some compression stuff
3278 (do_writeFile): new func, dont call expliti close... will this
3281 * Makefile.am (lyx_LDADD): add -lz
3283 2003-07-28 José Matos <jamatos@fep.up.pt>
3285 * buffer.C: increment file format.
3286 * paragraph_funcs (readParagraph, readParToken):
3287 * paragraph.C (readParagraph): add \end_layout.
3289 2003-07-27 Angus Leeming <leeming@lyx.org>
3291 * Makefile.am: remove special casing for configure-time setting of
3292 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3294 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3295 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3297 2003-07-26 André Pönitz <poenitz@gmx.net>
3299 * paragraph_func.[Ch]:
3300 * paragraph.C (realizeFont): inline it whereever it is used
3305 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3308 2003-07-26 André Pönitz <poenitz@gmx.net>
3312 * text2.C: get rid of LyXText::need_break_row
3314 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * toc.[Ch]: put namespace toc inside namespace lyx
3318 * MenuBackend.C (expandToc2): adjust for lyx::toc
3321 * lyxfunc.C (dispatch): adjust for lyx::find
3323 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3324 lyx::find instead. Reorganize a bit.
3325 (LyXReplace): rename to replace
3326 (LyXFind): rename to find
3328 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3331 2003-07-26 André Pönitz <poenitz@gmx.net>
3333 * text.C (setHeightOfRow): restrict scope of temporary variable
3335 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3336 code (never has been used?)
3338 2003-07-27 Asger Alstrup <alstrup@local>
3340 * text.C (fill): Optimise algorithm to exploit that we can reuse
3341 the LyXFont for many characters.
3342 (setHeightOfRow): Same thing.
3343 (rowBreakPoint): Same thing.
3345 2003-07-26 Asger Alstrup <alstrup@local>
3347 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3349 * text.C (singleWidth): Spurious font copying in hot-spot
3350 singleWidth avoided. Reorder tests for arabic for efficiency.
3352 * text.C (fill): handle empty paragraphs better.
3354 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3357 * encoding.h: add includes
3359 * lyxrc.C: remove reading of bind files
3361 * lyx_main.C (init): setup bindings and menus only if we have a
3364 * kbmap.C (read): new method. Do the actual reading of bind
3367 * converter.C (dvipdfm_options):
3370 (output): adapt PAPER_* enums.
3372 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3374 * bufferparams.h: remove paper-related enums from there
3376 * paper.h: New file. A trivial header file to hold paper-related
3377 enums. It should later expand to contain many paper-related
3380 * lyxrc.C: declare extern displayTranslator
3382 2003-07-27 José Matos <jamatos@fep.up.pt>
3384 * tabular.[Ch] (linuxdoc): add support for tables and figures
3387 2003-07-27 José Matos <jamatos@fep.up.pt>
3389 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3390 consistency in both functions.
3391 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3393 2003-07-26 Asger Alstrup <alstrup@local>
3395 * rowpainter.C (paintRows): Change algorithm to work directly on
3396 the insets rather than asking every character in the document
3397 whether its an inset.
3399 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3401 * buffer.C (openFileWrite): factorize some code
3403 2003-07-26 Angus Leeming <leeming@lyx.org>
3406 * lyx_main.[Ch]: replace occurances of system_tempdir with
3409 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * rename Inset to InsetOld
3413 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3415 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3416 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3417 which I think is a bit clearer. EDIT is gone, since it was
3418 premature optimisation, and broken for mathed anyway.
3419 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3420 with cursor positioning in insets as well (math insets still do not
3421 work, but that's a different story anyway.) It mysteriously
3422 crashes sometimes with undo in the first paragraph, but I'm fairly
3423 confident that this is a compiler bug.
3425 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * paragraph.C (Paragraph): adjust for new clone return type
3429 (copyIntoMinibuffer): ditto
3431 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3433 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3434 by not having a special case, and always doing a full rebreak of
3435 the document after undo.
3437 2003-07-23 Angus Leeming <leeming@lyx.org>
3439 * factory.C (createInset): InsetExternal::setParams now takes a
3442 2003-07-23 Angus Leeming <leeming@lyx.org>
3444 * factory.C (createInset): changed interface to the external and
3445 graphics mailers' string2params functions.
3447 2003-07-23 Angus Leeming <leeming@lyx.org>
3449 * factory.C (createInset): pass a
3450 Buffer const * parameter to InsetExternalMailer's string2params.
3452 2003-07-22 John Levon <levon@movementarian.org>
3454 * Thesaurus.h: include the right aiksaurus header
3456 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3458 * MenuBackend.C (expand): check menu shortcuts unconditionally
3460 2003-07-21 Angus Leeming <leeming@lyx.org>
3462 * factory.C (createInset): pass a
3463 buffer_path parameter to InsetGraphicsMailer's string2params.
3465 2003-07-21 Angus Leeming <leeming@lyx.org>
3467 * BufferView_pimpl.C (buffer):
3470 * lyxfunc.C (dispatch):
3471 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3472 rather than the grfx shortcut.
3474 2003-07-21 André Pönitz <poenitz@gmx.net>
3476 * rowpainter.C: remove unused variables
3479 * tabular_funcs.h: move to tabular.C
3480 * Makefile.am: adjust
3482 * tabular.[Ch]: basic optical cleaning
3484 * author.h: pass references, not values
3486 2003-07-18 André Pönitz <poenitz@gmx.net>
3494 * text3.C: two-phase drawing for InsetText and InsetTabular
3495 some float -> int changes.
3497 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3499 * lyx_main.C: fix the fix
3501 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3503 * lyx_main.C: fix a crash in batch mode if no files specified
3506 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3508 * format.[Ch] (papersize): moved to BufferParams
3509 * converter.[Ch] (dvips_options): moved to BufferParams
3510 (dvipdfm_options): moved to anon namespace
3511 * bufferparams.[Ch]: added above functions.
3513 2003-07-17 André Pönitz <poenitz@gmx.net>
3517 * text2.C: don't call inset->update() anymore
3519 * metricsinfo.[Ch]: add convenience constructor
3521 2003-07-16 André Pönitz <poenitz@gmx.net>
3526 * text2.C: replace the LyXCursor::irow_ member with
3527 on-demand computation of the value
3529 2003-07-16 John Levon <levon@movementarian.org>
3531 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3533 2003-07-15 André Pönitz <poenitz@gmx.net>
3536 * text2.C: remove no more needed refresh_row
3538 2003-07-15 André Pönitz <poenitz@gmx.net>
3543 * text3.C: refresh_status tristate -> need_update bool
3545 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3547 * lyxtext.h (init): remove reinit argument (act as if always true)
3548 * text2.C: adjust to that
3550 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3552 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3553 * text3.C: use it to delete selections in some cases
3554 (bugs 441, 673, 702, 954).
3556 2003-07-14 André Pönitz <poenitz@gmx.net>
3558 * rowpainter.[Ch]: reduce interface
3560 2003-07-14 André Pönitz <poenitz@gmx.net>
3562 * BufferView_pimpl.C:
3563 * text2.C: adjust after removing unused BufferView * argument
3565 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3567 * text2.C (init): fix a crash fired on resize
3569 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3571 * buffer.[Ch]: added new closing signal
3572 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3573 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3574 BufferView::Pimpl via the closing the signal
3576 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3578 * buffer.[Ch]: take out all bv-related from buffer
3580 * BufferView_pimpl.[Ch]: connect to new signals
3581 * CutAndPaste.C: removed useless asserts
3582 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3585 * lyxfunc.C: moved view-related funciontality from vc here
3586 * paragraph.C: removed outdated comments
3589 2003-07-10 André Pönitz <poenitz@gmx.net>
3591 * BufferView_pimpl.C:
3595 * text2.C: remove InsetText::InnerCache, clean up consequences
3597 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3599 * ispell.C: fix two typos in error messages
3601 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3603 * Extend Note inset to other forms of annotation like Comment
3604 and Greyedout. Right button click gives dialog.
3606 Files modified or added (+):
3610 * ControlNote.[Ch] +
3612 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3613 frontends/controllers
3617 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3619 * aspell.C: add missing namespace lyx::support
3621 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3623 * BufferView.[Ch] (newFile): Add
3624 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3625 * LaTeX.[Ch] (message): added this signal and use it
3626 * buffer.[Ch] (busy, message): added these signals and use them
3627 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3631 * importer.C: use buffer signals instead of direct bv calling
3632 * lyx_cb.[Ch] (ShowMessage): removed
3635 * paragraph_funcs.C:
3636 * text2.C: use buffer signals
3638 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * introduce namespace lyx::graphics
3642 2003-07-02 André Pönitz <poenitz@gmx.net>
3644 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3646 2003-07-01 André Pönitz <poenitz@gmx.net>
3653 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3654 text*.C to text_func.C
3656 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3658 * introduce namespace lyx::support
3660 2003-06-30 André Pönitz <poenitz@gmx.net>
3665 * text.C: re-enable --with-included-string
3667 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * textcursor.C: add <config.h>
3671 * text.C (getWord): remove const from word_location arg
3673 * lyxvc.C (getLogFile): fix const type order
3675 * lyxtext.h: remove const from word_location arg, add arg name
3677 * lyxlayout.h: currect type on labeltype.
3679 * importer.C: correct \file
3681 * converter.C (intToFormat): use std:: on ret val, ws changes
3683 * bufferlist.h: correct \file
3685 * buffer.C (makeLinuxDocFile): fix const type order
3686 (makeDocBookFile): ditto
3687 (fillWithBibKeys): use std:: on stdlib args.
3689 * CutAndPaste.C: fix authors.
3690 (availableSelections): use std:: on return vector
3692 2003-06-27 André Pönitz <poenitz@gmx.net>
3694 * BufferView_pimpl.C:
3695 * bufferview_funcs.C:
3703 * text3.C: remove LyXCursor::row_ member
3706 * text.C: rename fullRebreak() to partialRebreak() and implement
3707 a fullRebreak() that really bereks fully
3709 * textcursor.h: new struct for cursor-related data
3711 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3713 * lyx_main.C (LyX): get full path of document loaded on the
3716 2003-06-26 André Pönitz <poenitz@gmx.net>
3718 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3719 remove unused/broken operator>,<,>=.
3721 * text.C: remove only use of broken operator<= in an Assert().
3723 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3725 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3726 moved errorlist_.clear to showErrorList
3728 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3730 * converter.C (scanLog, runLaTeX):
3731 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3732 move the bv->showErrorList call to the callers
3733 * lyxfunc.C: i.e. here...
3735 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3736 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3737 namespace, the second to...
3738 * buffer_funcs (BufferFormat, parseErrors): added
3739 * errorlist.C (ErrorList(TeXErrors const &)): removed
3741 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3743 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3745 2003-06-24 "Garst R. Reese" <reese@isn.net>
3749 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3751 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3753 * version.C.in: change docversion to 1.4
3755 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3757 * buffer.C: fix a bug just introduced
3759 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3761 * buffer.[Ch]: added the parseError signal and use it, removed
3763 * BufferView.[Ch] (addError): moved to ...
3764 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3765 to the Buffer::parseError signal to catch (guess what) parse errors
3766 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3768 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3770 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3771 ability to create a buffer and to return an existing one from
3772 the list. Moved these functions to...
3773 * buffer_funcs.[Ch]: added
3774 * BufferView.[Ch] (loadLyXFile): added
3775 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3776 job removed from bufferlist::loadLyXFile.
3777 * buffer.C (setReadOnly): make it work without view
3778 (i.e added an if (users))
3780 2003-06-19 Angus Leeming <leeming@lyx.org>
3783 * LyXAction.C (init):
3784 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3785 with LFUN_DIALOG_SHOW <name> <data>.
3787 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3789 * CutAndPaste.C (availableSelections): small compilation fix for
3790 ancient (gcc 2.9x) compilers
3792 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * text3.C (cursorNext): add tmp var
3796 * text2.C (updateCounters): for function calling out of for clause
3797 (replaceSelectionWithString): ditto
3798 (insertStringAsParagraphs): ditto
3799 (getColumnNearX): add tmp var
3800 (setCursorFromCoordinates): add tmp var
3801 (cursorDownParagraph): add tmp var
3802 (deleteEmptyParagraphMechanism): add tmp var
3804 * text.C (insertChar): add tmp var
3806 * rowpainter.C (paintDepthBar): add tmp var
3808 * CutAndPaste.C (availableSelections): potentially check all
3809 paragraphs in a cut to fill the shown strings.
3811 2003-06-18 André Pönitz <poenitz@gmx.net>
3813 * kbmap.[Ch]: use vector<> instead of list<>
3815 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3817 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3818 pasteSelection with index
3820 * text2.C (pasteSelection): modify, call pasteSelection with index
3822 * paragraph.C (asString): reimplement version with no interval to
3823 call the one with interval.
3825 * lyxtext.h: add index arg to pasteSelection
3827 * MenuBackend.C (MenuItem): handle PasteRecent
3828 (Menu::read::Menutags): add md_pasterecent
3830 (expandPasteRecent): new function
3833 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3835 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3837 (availableSelections): new function
3839 2003-06-17 Angus Leeming <leeming@lyx.org>
3841 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3843 2003-06-17 Angus Leeming <leeming@lyx.org>
3846 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3848 * lyxfunc.C (dispatch): invoke it.
3850 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3852 * iterators.C (operator++, ParPosition): reintroduce some
3853 const_cast for the benefit of older compilers.
3855 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3857 * text3.C (dispatch): do not modify clipboard when doing
3858 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3859 LFUN_DELETE_SKIP on a selection selection
3861 2003-06-16 André Pönitz <poenitz@gmx.net>
3867 * tabular.[Ch]: IU of clone() and getLabelList();
3869 2003-06-13 André Pönitz <poenitz@gmx.net>
3871 * tabular.h: compactification
3873 2003-06-12 André Pönitz <poenitz@gmx.net>
3877 * tabular_funcs.h: some renaming plus whitespace
3879 2003-06-12 André Pönitz <poenitz@gmx.net>
3882 * BufferView_pimpl.C:
3888 * toc.C: Return a Paragraph & for ParIterator::operator*()
3890 2003-06-11 John Levon <levon@movementarian.org>
3894 * ToolbarBackend.C: add "Toolbars" section and
3897 2003-06-10 Angus Leeming <leeming@lyx.org>
3900 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3902 * lyxfunc.C (dispatch): invoke it.
3904 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * main.C: protect <ios> with HAVE_IOS
3907 (main): protect sync_with_stdio with HAVE_IOS
3909 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3911 * text2.C (cutSelection): adjust
3912 (pasteSelection): adjust
3914 * messages.C: handle get of empty string
3916 * main.C (main): use sync_with_stdio(false)
3918 * lyxfunc.C (dispatch): adjust
3920 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3921 (WriteAs): remove unneeded BufferView arg.
3923 * bufferparams.h: use correct types on papersize, papersize2 and
3926 * bufferparams.C (readToken): adjust for type
3927 (writeLaTeX): add missing cases to switch.
3929 * bufferlist.C (quitWriteBuffer): adjust
3932 * buffer.C (asciiParagraph): remove some commented code.
3934 * CutAndPaste.C: remove current_view extern variable.
3935 (cutSelection): add BufferParams arg.
3936 (eraseSelection): add BufferParams arg.
3937 (pasteSelection): add Buffer const & arg
3939 2003-06-07 John Levon <levon@movementarian.org>
3942 * paragraph_funcs.C:
3943 * paragraph_pimpl.C:
3947 * paragraph.C: allow InsetERT to freely space lines,
3948 and some consolidation of code
3950 2003-06-06 José Matos <jamatos@fep.up.pt>
3952 * buffer.C (makeDocBookFile): fix bug #821
3954 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3956 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3958 2003-06-04 Angus Leeming <leeming@lyx.org>
3960 * buffer.C: bump format to 224.
3962 2003-06-05 André Pönitz <poenitz@gmx.net>
3964 * text2.C (redoParagraphs): remove two const_cast<>
3966 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3968 * ParagraphList.h: remove last remnants of NO_STD_LIST
3970 2003-06-03 Angus Leeming <leeming@lyx.org>
3972 * factory.C (createInset): small change to the way InsetExternal's params
3975 2003-06-04 André Pönitz <poenitz@gmx.net>
3977 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3979 * paragraph_pimpl.h:
3980 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3982 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3984 * undo_funcs.C: make some simple cases of undo work again
3986 2003-06-03 John Levon <levon@movementarian.org>
3988 * ispell.C: HPUX doesn't have sys/select.h
3991 2003-06-03 John Levon <levon@movementarian.org>
3993 * CutAndPaste.C: update tabular and include inset
3998 * paragraph.C: remove owningBuffer(), don't pass Buffer
4001 * factory.C: insetGraphicsParams changed
4003 2003-06-02 John Levon <levon@movementarian.org>
4009 * text3.C: remove insetparent
4011 2003-06-02 John Levon <levon@movementarian.org>
4014 * buffer.C: fix inset_iterator.end(), move out of line
4017 2003-06-01 John Levon <levon@movementarian.org>
4019 * text3.C: use a proper cut/paste when doing inset
4020 insert (from Jürgen Spitzmüller)
4022 2003-06-01 John Levon <levon@movementarian.org>
4024 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4026 2003-05-30 André Pönitz <poenitz@gmx.net>
4028 * rowpainter.C: unify second drawing phase
4030 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * trans_mgr.C: remove one case of current_view
4034 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4036 * paragraph_funcs.h: remove paragraph.h include
4038 * paragraph.h: delete NO_STD_LIST stuff
4040 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4042 * buffer.h: remove paragraph.h include
4044 * ParagraphList.C: delete file
4046 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4048 * toc.C (getTocList): adjust
4050 * paragraph_pimpl.C (validate): adjust
4052 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4054 * paragraph.C (Paragraph): adjust
4055 (getPositionOfInset): use const_iterator, adjust
4056 (bibitem): use const_iterator, adjust
4057 (setInsetOwner): adjust
4059 * iterators.C (operator++): adjust
4061 * InsetList.[Ch]: Replace selfmade iterator with standard
4062 vector::iterator also introduce const_iterator. Remove getPos,
4063 getInset and setInset from InsetTable. Adjust accordingly.
4065 * BufferView.C (lockInset): adjust
4066 (ChangeInsets): adjust
4068 * tabular.[Ch]: delete commented same_id functions
4070 2003-05-28 John Levon <levon@movementarian.org>
4072 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4074 2003-05-28 André Pönitz <poenitz@gmx.net>
4076 * metricsinfo.[Ch]: remove 'fullredraw' member
4078 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4080 * lyxtextclass.C (operator): remove caching.
4082 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * text2.C (cursorBottom): adjust
4087 (setCounter): use ParagraphList::find, adjust
4089 * text.C (workWidth): use ParagraphList::find, adjust
4091 * lyxcursor.C (LyXCursor): adjust
4093 * buffer.C (inset_iterator): adjust
4095 * ParagraphList.h: make iterator(value_type) private, make
4096 ParagraphList a friend of iterator.
4098 * ParagraphList.C (find): new function
4100 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4102 2003-05-27 André Pönitz <poenitz@gmx.net>
4104 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4106 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4108 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4110 2003-05-26 John Levon <levon@movementarian.org>
4112 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4114 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * remove same_id from function signatures, adjust.
4118 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4122 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4124 * paragraph.C (Paragraph): get rid of same_ids parameter
4126 * ParagraphList.C (insert): adjust
4129 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * paragraph_funcs.C (breakParagraph): adjust
4132 (breakParagraphConservative): adjust
4134 * buffer.C (readParagraph): adjust
4136 * ParagraphList.C (insert): take a reference instead of a pointer
4139 * paragraph.[Ch] (id): new function
4141 * bufferlist.C (newFile): adjust
4143 * ParagraphList.C (ParagraphList): adjust
4145 (push_back): take a reference instead of a pointer.
4147 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4149 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4152 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4153 set else use old code.
4155 * ParagraphList.C: remove all NO_NEXT code and only compile this
4156 code of NO_STD_LIST is set.
4158 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4160 * BufferView_pimpl.C:
4170 * graphics/GraphicsConverter.C:
4171 * graphics/PreviewLoader.C: header adjustment
4173 2003-05-23 Angus Leeming <leeming@lyx.org>
4175 * LaTeXFeatures.[Ch] (useBabel): new method.
4176 * bufferparams.C (writeLaTeX): use it.
4178 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * ParagraphList.h (set): remove unused function.
4182 2003-05-23 André Pönitz <poenitz@gmx.net>
4185 * BufferView_pimpl.C:
4189 * undo_funcs.C: setUndo reworked
4191 * iterators.[Ch]: add access to topmost ParagraphList
4193 * lyxtext.[Ch] (workWidth): add a const
4195 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4197 * texrow.[Ch] (increasePos): remove function
4198 * exporter.C (export): removed unused var and outdated comment
4200 2003-05-23 Angus Leeming <leeming@lyx.org>
4202 * latexrunparams.h: rename fragile as moving_arg.
4203 * paragraph.C (simpleTeXOnePar): ditto.
4204 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4206 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4210 (textUndoOrRedo): comment out a currently unused var.
4212 * paragraph.h (NO_NEXT): enable NO_NEXT
4214 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4216 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4218 * exporter.C (Export): adjust for removeAutoInsets removal.
4220 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4222 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4224 * BufferView.[Ch] (removeAutoInsets): delete function
4226 2003-05-22 Angus Leeming <leeming@lyx.org>
4228 * latexrunparams.h: add a free_spacing variable.
4230 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4231 to pass moving_arg, as the data is stored in runparams.fragile.
4233 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4234 to Inset::latexOptional or to simpleTeXOnePar.
4236 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4237 free_spacing arg to Inset::latexOptional.
4239 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4242 2003-05-22 Angus Leeming <leeming@lyx.org>
4244 * latexrunparams.h: add fragile and use_babel variables.
4246 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4247 * buffer.C (makeLaTeXFile): store this returned value in
4248 runparams.use_babel, thus passing it to the inset::latex methods.
4250 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4251 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4253 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4254 longer has a fragile arg, as it is stored in runparams.fragile.
4256 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4257 moving_arg parameter as the data is stored in runparams.fragile.
4259 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4260 a fragile parameter as the data is stored in runparams.fragile.
4262 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4266 2003-05-22 Angus Leeming <leeming@lyx.org>
4268 * latexrunparams.h: add a 'bool nice' which defaults to false.
4270 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4271 now encapsulated within runparams.
4273 * bufferlist.C (updateIncludedTeXfiles):
4274 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4276 2003-05-22 Angus Leeming <leeming@lyx.org>
4278 * latexrunparams.h: new file containing struct LatexRunParams.
4279 * Makefile.am: add new file.
4281 * LaTeX.[Ch] (c-tor, run):
4282 * buffer.[Ch] (makeLaTeXFile):
4283 * bufferlist.[Ch] (updateIncludedTeXfiles):
4284 * converter.C (convert, scanLog):
4285 * converter.[Ch] (runLaTeX):
4286 * exporter.C (Export):
4287 * paragraph.[Ch] (simpleTeXOnePar):
4288 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4289 * paragraph_funcs.[Ch] (latexParagraphs):
4290 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4291 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4292 pass around a LatexRunParams parameter.
4294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * paragraph.[Ch]: remove unused constructor
4298 * ParagraphList.C (erase): new function, taking two iterators
4300 2003-05-22 André Pönitz <poenitz@gmx.net>
4302 * undo_funcs.C: remove duplicated code
4304 * iterator.[Ch]: operator=
4306 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * tabular.C (SetMultiColumn): ws changes
4310 * rowpainter.C (paintFirst): get rid of a ->previous
4312 * lyx_cb.C (getPossibleLabel): parlist simplification
4314 * BufferView.C (ChangeInsets): simplify slightly.
4316 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4318 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4319 * lfuns.h: new LFUN_SPACE
4320 * lyxfunc.C: protected space has a new lfun
4321 * paragraph_funcs.C: read new space insets
4323 * factory.C: handle new space insets
4325 2003-05-22 André Pönitz <poenitz@gmx.net>
4328 * BufferView_pimpl.C:
4331 * undo_funcs.C: return a ParIterator from getParFromID.
4333 * iterators.[Ch]: add two const's
4335 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * toc.C (getTocList): adjust
4339 * iterators.[Ch]: rework for parlist
4341 * buffer.C (par_iterator_begin): adjust
4342 (par_iterator_end): adjust
4344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4346 * BufferView.C (removeAutoInsets): adjust
4347 (ChangeInsets): adjust
4349 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4351 * text.C (top_y): fix bug 1110
4353 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4355 * errorlist.[Ch]: added
4358 * BufferView_pimpl.C:
4359 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4362 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * Makefile.am: ensure that lyx is relinked upon changes to the
4365 various "convenience" libs.
4367 2003-05-20 Angus Leeming <leeming@lyx.org>
4369 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4370 files are compiled in alphabetical order again.
4372 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4374 2003-05-19 Angus Leeming <leeming@lyx.org>
4376 * gettext.[Ch]: remove "char const * _(char const *)".
4378 2003-05-19 André Pönitz <poenitz@gmx.net>
4380 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4389 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4391 2003-05-19 André Pönitz <poenitz@gmx.net>
4395 * lyxtextclass.[Ch]:
4397 * paragraph_funcs.[Ch]:
4399 * text3.C: more insetenv work
4401 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4403 * ParagraphParameters.C (params2string): small bug fixed
4405 2003-05-16 André Pönitz <poenitz@gmx.net>
4408 * bufferview_funcs.C: patch from Kornel Benko to prevent
4409 crash when _(...) is called twice in a statement
4411 2003-05-16 André Pönitz <poenitz@gmx.net>
4418 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4420 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4422 * lyx_main.C (init): remove spurious static_cast
4424 2003-05-14 André Pönitz <poenitz@gmx.net>
4426 * BufferView.C: fix format string
4428 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4430 * BufferView.[Ch] (insertErrors): removed
4431 * BufferView.[Ch] (showErrorList): added
4432 * buffer.C (runChkTeX):
4433 * converter.C (scanLog): call showErrorList instead of inserterrors
4435 2003-05-13 André Pönitz <poenitz@gmx.net>
4437 * BufferView_pimpl.C:
4439 * bufferview_func.C:
4446 * tabular_funcs.h: tostr() from its own header
4448 * ParagraphParameters.C:
4453 * text3.C: STRCONV()
4455 2003-05-12 André Pönitz <poenitz@gmx.net>
4458 * BufferView_pimpl.C:
4462 * ParagraphParameters.C:
4466 * bufferview_funcs.C:
4479 * paragraph_funcs.C:
4483 * text3.C: boost::format -> bformat all over the place
4486 2003-05-09 André Pönitz <poenitz@gmx.net>
4488 * LColor.[Ch]: Pimpl the #include <map> away
4490 2003-05-09 John Levon <levon@movementarian.org>
4492 * bufferlist.C: never remove emergency saves
4494 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * Makefile.am: better lib building
4498 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4502 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4503 (simpleTeXSpecialChars): adjust
4504 (simpleTeXSpecialChars): adjust
4505 * paragraph.C (simpleTeXOnePar): adjust
4506 * buffer.C (makeLaTeXFile): adjust
4508 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4510 * text2.C (changeDepth): parlist cleanup
4511 (getColumnNearX): ditto
4513 * rowpainter.C (getLabelFont): parlist cleanup
4515 * bufferlist.C (newFile): parlist cleanup
4517 * CutAndPaste.C (eraseSelection): parlist cleanup
4519 * BufferView_pimpl.C (trackChanges): parlist cleanup
4522 * BufferView.C (lockInset): parlist cleanup.
4523 (ChangeInsets): ditto
4525 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * CutAndPaste.h: Update file header.
4529 * CutAndPaste.C: Update file header.
4530 Store the parts cut out of the Document in a limited_stack.
4531 (copySelection): adjust
4532 (pasteSelection): new function, takes the index in the limited stack.
4533 (nrOfParagraphs): adjust
4534 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4535 simplify error inset insertion.
4536 (checkPastePossible): adjust
4538 2003-05-06 John Levon <levon@movementarian.org>
4540 * text2.C: don't cast wrap inset to float
4542 2003-05-05 André Pönitz <poenitz@gmx.net>
4545 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4547 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4548 few naked Paragraph *.
4550 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4552 * bufferparams.C: Output warning if a document with missing
4553 TeX document class is loaded
4554 * exporter.C: Disable TeX exports if the document class is missing
4557 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4558 isTeXClassAvailable()
4560 2003-05-03 John Levon <levon@movementarian.org>
4563 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4564 explicit cursor show/hide
4566 * BufferView_pimpl.h:
4567 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4568 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4570 * lyxfunc.C: hide cursor before dispatching.
4575 * text3.C: remove explicit cursor hides
4577 2003-05-02 André Pönitz <poenitz@gmx.net>
4579 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4582 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4585 * text2.C: tiny whitespace
4587 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * undo_funcs.C: almost only ws changes.
4591 * ParagraphList.C (splice): just return if pl is empty.
4593 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * ParagraphList.C (splice): new function.
4597 * CutAndPaste.C (pasteSelection): use it
4599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * CutAndPaste.C (pasteSelection): remove the last next and
4602 previous from this file.
4604 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * CutAndPaste.C (pasteSelection): more clean up, user proper
4607 ParagraphList functions for pasteing.
4609 * ParagraphList.C (insert): new function, three arg insert
4611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * ParagraphList.C (insert): new function, three arg insert
4615 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4622 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4626 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4629 (copySelection): clean up a bit.
4630 (pasteSelection): use make_pair
4632 * ParagraphList.C (ParagraphList): implement copy constructor
4633 (operator=): implement, base on copy constructor.
4636 * paragraph.C (erase): return a bool
4638 * paragraph_pimpl.C (erasePos): remove function, move contents...
4639 (erase): ... here. Return a bool.
4640 (erase): call erase instead of erasePos.
4642 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4644 * ParagraphList.h: define PitPosPair
4645 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4646 ParagraphList, fix a bug on pasting multiple pars
4647 * text2.C: change interface to C&P
4649 2003-04-30 André Pönitz <poenitz@gmx.net>
4651 * undo_func.C: revert part of yesterday's patch 2
4653 2003-04-30 John Levon <levon@movementarian.org>
4655 * LColor.C: s/tabular/table/
4657 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * text3.C (dispatch): do not convert iterator -> pointer
4660 * undo_funcs.C (setCursorParUndo): ditto
4661 * text_funcs.C (transposeChars): ditto
4663 * text2.C (setLayout): ws changes only
4665 * text.C (breakParagraph): do not convert iterator -> pointer
4667 (acceptChange): ditto
4668 (rejectChange): ditto
4673 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4676 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4678 * text3.C (gotoInset): YABG (yet another bad getChar)
4680 2003-04-29 André Pönitz <poenitz@gmx.net>
4682 * paragraph.h: make operator= private unimplemented as long as
4685 * ParagraphList.C: whitespace
4688 * paragraph_pimpl.[Ch]:
4689 * paragraph_funcs.C:
4691 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4694 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4696 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4698 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4699 * paragraph.[Ch] (erase):
4700 * paragraph_pimpl.[Ch] (erase): change return type and value
4701 * text2.C (cutSelection): some rework
4703 2003-04-28 John Levon <levon@movementarian.org>
4705 * bufferlist.C: changes for unsaved changes dialog
4707 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * bufferlist.C (newFile): set language (messages_) for new
4712 * buffer.C (readFile): ws changes only.
4714 2003-04-28 André Pönitz <poenitz@gmx.net>
4719 * BufferView_pimpl.C:
4720 * BufferView.C: getParFromID related ParagraphList::iterator changes
4722 2003-04-28 André Pönitz <poenitz@gmx.net>
4724 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4727 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * messages.C: remove one more localedir class variable.
4731 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * messages.C (getLocaleDir): singleton generation function
4735 (Messages): add a default constructor.
4737 * main.C (main): do not setup localedir here, do not call
4740 * gettext.C (_): use it.
4741 (gettext_init): delete funciton
4743 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * gettext.C (getLyXMessages): new singleton generating function.
4747 * buffer.C (updateDocLang): adjust
4749 * Makefile.am (messages.o): add target
4750 (main.o): remove target
4752 2003-04-27 John Levon <levon@movementarian.org>
4757 * lyxvc.C: specify cancel button in Alert::prompt
4759 2003-04-26 John Levon <levon@movementarian.org>
4764 * LyXAction.C: add LFUN_INSET_SETTINGS
4766 * lyxfunc.C: don't enable tabular-feature when there's
4767 just any locking inset
4769 2003-04-26 John Levon <levon@movementarian.org>
4771 * bufferlist.C: re-add Cancel to buffer close question
4773 * lyxfunc.C: fix import UI a bit
4775 2003-04-25 John Levon <levon@movementarian.org>
4777 * gettext.C: remove the broken asserts for now
4779 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * messages.C: make case where setlocale cannot comply work better.
4783 * buffer.C (updateDocLang): new function
4784 (changeLanguage): use it
4787 * text2.C (setCounter): use B_ a bit.
4789 * lyxlayout.C (Read): be sure to trim the label strings.
4791 * messages.C (Messages): fix typo in comment
4793 * buffer.C (readFile): set message_ after file is loaded.
4794 (makeDocBookFile): remove double return
4795 (changeLanguage): reset message_ upon language change.
4796 (B_): new func, use this to get translated buffer strings.
4798 * main.C: add myself and Jean Marc as authors.
4800 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * messages.[hC]: pimplify Messages, and three different pimpls to be
4803 used in different circumstances.
4805 * gettext.[Ch]: change for use with new message code.
4807 2003-04-24 André Pönitz <poenitz@gmx.net>
4809 * factory.C: support for eqref
4811 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * messages.[Ch]: add missing char
4815 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4817 * messages.[Ch]: New files
4819 2003-04-18 John Levon <levon@movementarian.org>
4823 * BufferView_pimpl.C:
4827 * text2.C: remove layout-copy/paste (bug 778)
4829 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4831 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4833 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4835 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4836 if they succeed. Act accordingly.
4838 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * text2.C (setCharFont): adjust
4841 (setCounter): adjust
4842 (insertStringAsLines): adjust
4844 * text.C (leftMargin): adjust
4845 (setHeightOfRow): adjust
4847 * rowpainter.C (paintFirst): adjust
4850 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4852 (isFirstInSequence): ditto
4853 (getEndLabel): ditto
4856 * paragraph.C (getParLanguage): comment out some hard stuff.
4858 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4860 (simpleDocBookOnePar): ditto
4861 (makeDocBookFile): use ParagraphList::iterator
4863 * CutAndPaste.C (pasteSelection): adjust
4865 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4867 * text2.C (getFont): adjust
4868 (getLayoutFont): adjust
4869 (getLabelFont): adjust
4871 * paragraph_funcs.C (TeXOnePar): adjust
4873 * buffer.C (simpleLinuxDocOnePar): adjust
4874 (simpleDocBookOnePar): adjust
4876 * CutAndPaste.C (pasteSelection): adjust
4878 * BufferView.C (getEncoding): adjust
4880 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4882 2003-04-16 John Levon <levon@movementarian.org>
4884 * lyxfind.C: use parlist stuff for search/changes
4886 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4890 * text2.C (deleteEmptyParagraphMechanism): adjust
4892 * text2.[Ch] (ownerParagraph): delete func (both of them
4894 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4898 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * ParagraphList.C: prepare for NO_NEXT
4902 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * text2.C (getFont): adjust
4905 (getLayoutFont): adjust
4906 (getLabelFont): adjust
4908 * paragraph.C (getFont): adjust
4909 (getLabelFont): adjust
4910 (getLayoutFont): adjust
4912 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4914 2003-04-15 John Levon <levon@movementarian.org>
4918 * lyx_main.C: handle Include in .ui files
4920 2003-04-15 John Levon <levon@movementarian.org>
4922 * MenuBackend.C: make the doc files length shorter
4925 * ToolbarBackend.C: handle toolbar placement flags,
4928 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4933 * paragraph_funcs.C (TeXOnePar): adjust
4935 * paragraph.C (getLabelFont): add outerfont arg, adjust
4936 (getLayoutFont): ditto
4937 (simpleTeXOnePar): adjust
4939 * paragraph_pimpl.C (realizeFont): delete func
4941 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4943 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4944 row argument, constify cur argument.
4946 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * text2.C (getFont): adjust
4949 (getLayoutFont): adjust
4950 (getLabelFont): adjust
4952 * paragraph_funcs.C (TeXOnePar): adjust
4953 (outerFont): new func...
4954 (realizeFont): ...moved out from here, changed this to facilitate
4957 * paragraph.C (getFont): take outerfont as arg, adjust
4958 (simpleTeXOnePar): add outerfont arg, adjust
4960 * buffer.C (simpleLinuxDocOnePar): adjust
4961 (simpleDocBookOnePar): adjust
4963 * CutAndPaste.C (pasteSelection): adjust
4965 * BufferView.C (getEncoding): adjust
4967 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * text2.C (setCharFont): adjust
4970 (setCounter): adjust
4972 * text.C (leftMargin): adjust
4973 (setHeightOfRow): adjust
4975 * rowpainter.C (paintFirst): adjust
4978 * paragraph_pimpl.C (realizeFont): adjust
4980 * paragraph.C (isFirstInSequence): move from here...
4981 * paragraph_funcs.C (isFirstInSequence): ...to here
4983 * paragraph.C (outerHook): move from here...
4984 * paragraph_funcs.C (outerHook): ...to here
4986 * paragraph.C (depthHook): move from here...
4987 * paragraph_funcs.C (depthHook): ...to here
4989 * paragraph.C (getEndLabel): move from here...
4990 * paragraph_funcs.C (getEndLabel): ...to here
4992 * text2.C (realizeFont): move from here...
4993 * paragraph_funcs.C (realizeFont): ...to here
4995 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4999 2003-04-14 Angus Leeming <leeming@lyx.org>
5001 * LColor.[Ch]: scrap LColor mathcursor.
5003 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * lyxlex.[Ch] (text): delete function
5006 * trans.C (Load): adjust
5007 * paragraph_funcs.C (readParToken): adjust
5009 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5012 vector<char> instead of a char[].
5014 * lyxlex_pimpl.C (getString): adjust
5016 (lex): use getString
5020 * lyxlex.C (text): use pimpl_->getString()
5024 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5027 (makeFontEntriesLayoutSpecific): temp var for par.size()
5028 (setLayout): temp var for ownerParagraphs().end()
5029 (fullRebreak): temp var for rows().end()
5030 (selectionAsString): temp var for boost::next(startpit), realize
5031 that the while really is a regular for loop.
5032 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5033 setCursor in one place.
5034 (setParagraph): temp vr for ownerParagraphs().end()
5035 (updateCounters): make the while loop a for loop
5036 (cutSelection): temp var for ownerParagraphs().end()
5037 (updateInset): make the do {} while() a regular for loop
5038 (getCursorX): use temp vars
5039 (setCurrentFont): use temp vars
5040 (getColumnNearX): use temp vars
5042 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * text.C (transformChar): use temp var for getChar
5045 (computeBidiTables): use temp var for row->par()
5046 (fill): move temp vars for row->par() and pit->layout() earlier in
5048 (labelFill): use temp var for row->par()
5049 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5050 asc and desc, realize that pit never changes and that firstpit is
5051 just a duplicate and not needed. Exchange rit->par() with pit in a
5053 (breakAgain): use a temp var for boost::next(rit)
5054 (breakAgainOneRow): ditto
5055 (breakParagraph): use a temp var for rows().begin()
5056 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5057 (cursorRightOneWord): use temp var for cursor.par() and
5058 cursor.pos(), remove usage of tmpcursor.
5059 (cursorLeftOneWord): use temp var for cursor.par() and
5060 cursor.pos() only set cur at end of function.
5062 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * text.C, text2.C: exchange all usage of Paragraph::next with
5065 boost::next(ParagraphList::iterator)
5067 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5069 * text2.C (cursorTop): simplify implementation
5070 (cursorBottom): ditto
5071 (setParagraph): use ParagraphList::iterator
5072 (setCurrentFont): adjust
5073 (getColumnNearX): adjust
5074 (cursorRight): adjust
5075 (cursorLeft): remove usage of Paragraph::previous
5076 (cursorUpParagraph): ditto
5077 (deleteEmptyParagraphMechanism): slight cleanup
5079 * text.C (isBoundary): take a Paragraph const & instead of a
5081 (addressBreakPoint): ditto
5082 (leftMargin): remove usage of Paragraph::previous.
5083 (setHeightOfRow): ditto
5084 (cursorLeftOneWord): ditto
5085 (selectNextWordToSpellcheck): ditto
5088 (breakParagraph): remove one usage of Paragraph::next
5089 (redoParagraph): ditto
5090 (acceptChange): ditto
5091 (insertChar): adjust
5092 (rowBreakPoint): adjust
5094 * bufferview_funcs.C (toggleAndShow): adjust
5096 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5098 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5099 methods to access it.
5101 * text.C: Added updateRowPositions to compute all row positions.
5102 Make top_y and getRowNearY() to use the cached y position
5104 2003-04-11 John Levon <levon@movementarian.org>
5106 * text.C (rowBreakPoint): reintroduce the labelEnd
5107 checks, code copied from the row fill stuff. Deep voodoo.
5109 * text.C (fill): add a comment and debugging for the
5112 2003-04-11 John Levon <levon@movementarian.org>
5114 * text.C: make sure fullrow insets get wrapped to the next line,
5115 even when they're in a manual label
5117 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * text2.C (insertParagraph): make it take ParagraphList::iterator
5121 (setLayout): make it return ParagraphList::iterator
5122 (redoParagraphs): ditto
5124 (checkParagraph): ditto
5126 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5128 * text2.C: adjust several funcs.
5129 (realizeFont): take a ParagraphList::iterator as arg.
5130 (getLayoutFont): ditto
5131 (getLabelFont): ditto
5132 (setCharFont): ditto
5134 * text.C: adjust several funcs.
5136 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5138 * text.C (selectNextWordToSpellcheck): don't accidentally
5141 2003-04-10 John Levon <levon@movementarian.org>
5143 * ToolbarBackend.C (getIcon): special handling for
5146 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5148 * text2.C (cursorRight): a getChar assert fixed
5150 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * text2.C (getFont): change to take a ParagraphList::iterator
5153 instead of Paragraph*
5154 Adjust several functions.
5156 * text.C (transformChar): change to take a ParagraphList::iterator
5157 instead of Paragraph*
5158 (singleWidth): ditto
5159 Adjust several functions.
5161 * rowpainter.C: adjust several functions
5162 * rowpainter.h:store a ParagraphList::iterator and not a
5166 2003-04-09 John Levon <levon@movementarian.org>
5171 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5172 and the "help" bits as well
5174 2003-04-09 John Levon <levon@movementarian.org>
5177 * ToolbarBackend.C: allow multiple toolbars
5179 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * undo_funcs.C (setCursorParUndo): adjust
5183 * text_funcs.C (transposeChars): adjust
5185 * text3.C (gotoNextInset): adjust
5188 * text2.C (setLayout): adjust
5189 (changeDepth): adjust
5191 (redoParagraphs): adjust
5192 (selectionAsString): adjust
5193 (setParagraph): adjust
5194 (insertInset): adjust
5195 (cutSelection): adjust
5196 (copySelection): adjust
5197 (pasteSelection): adjust
5198 (insertStringAsLines): adjust
5199 (updateInset): adjust
5200 (setCursor): change to take a ParagraphList::iterator parameter
5201 (setCursorIntern): change to take a ParagraphList::iterator parameter
5202 (setCurrentFont): adjust
5203 (cursorLeft): adjust
5204 (cursorRight): adjust
5205 (deleteEmptyParagraphMechanism): adjust
5207 * text.C (breakParagraph): adjust
5208 (insertChar): adjust
5209 (acceptChange): adjust
5210 (rejectChange): adjust
5211 (selectNextWordToSpellcheck): adjust
5212 (changeCase): adjust
5216 * lyxfind.C (SearchForward): adjust
5217 (SearchBackward): adjust
5218 (nextChange): adjust
5220 * lyxcursor.C (par): adjust
5222 * lyxcursor.h: store a ParagraphList::iterator instead of a
5225 * lyx_cb.C (getPossibleLabel): adjust
5227 * bufferview_funcs.C (toggleAndShow): adjust
5229 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5232 * BufferView.C (removeAutoInsets): adjust
5233 (lockedInsetStoreUndo): adjust
5235 2003-04-09 John Levon <levon@movementarian.org>
5237 * ToolbarBackend.C: try icon without argument
5238 if with argument fails
5240 2003-04-08 John Levon <levon@movementarian.org>
5243 * ToolbarBackend.C: add getIcon(), handle tooltip,
5244 and change from "Icon" to "Item".
5246 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5248 * BufferView.C (lockInset): another bad getchar crunched
5250 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5252 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5255 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5257 * lyxfind.C (searchForward, searchBackwards): bug 782
5259 2003-04-07 John Levon <levon@movementarian.org>
5261 * paragraph.C: remove dead comment
5263 * text.C: remove troublesome depth-fiddling code
5264 in leftMargin() and rightMargin() (bug 1017)
5266 * text.C: fix breaking of rows in nested lists
5269 * text2.C (updateCounters): fix up depth values
5272 2003-04-07 John Levon <levon@movementarian.org>
5274 * BufferView_pimpl.C: clear message when doc finishes resizing,
5275 and after a mouse event
5277 * lyxfunc.C: clear message after exiting inset
5279 2003-04-07 John Levon <levon@movementarian.org>
5281 * bufferview_funcs.C: show math status not outside
5282 status in the statusbar
5284 2003-04-07 John Levon <levon@movementarian.org>
5286 * lyxfunc.C: note status changed after a depth change
5288 2003-04-04 Angus Leeming <leeming@lyx.org>
5290 * LaTeX.h: move AuxInfo operator==, != out of line.
5291 Remove LaTeX virtual destructor; nothing derives from it.
5292 Move operator()() out of public area and rename it startscript().
5293 Change protected for private.
5295 2003-04-04 Angus Leeming <leeming@lyx.org>
5298 * text2.C: remove unneeded #includes.
5300 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5302 * text2.C (dEPM): fix the heigth of the next row
5304 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5306 * text.C: squashed an invalid getChar requester + some ws changes
5308 2003-04-03 John Levon <levon@movementarian.org>
5310 * bufferview_funcs.h:
5311 * bufferview_funcs.C:
5314 * text2.C: make getStatus work for the env depth lfuns
5316 2003-04-03 John Levon <levon@movementarian.org>
5318 * bufferview_funcs.h:
5319 * bufferview_funcs.C:
5322 * text2.C: parlistize decDepth(), by merging it with incDepth()
5324 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5326 * lyxrow.h: store a ParagraphList::iterator instead of a
5327 Paragraph* and adjust other class functions to suit.
5329 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5332 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5334 * text2.C (setCursor): do not anchor to cursor row for the time being
5336 2003-04-02 John Levon <levon@movementarian.org>
5343 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5345 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * paragraph.h: make ParagraphList and ParagraphList::iterator
5348 friends of Paragraph.
5350 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5352 * ParagraphList.C: Use the private next_ and previous_ from
5355 2003-04-01 John Levon <levon@movementarian.org>
5359 * Makefile.am: rename, remove defaults gunk
5362 * MenuBackend.C: remove defaults gunk
5365 * Languages.C: remove defaults gunk
5368 * lyx_main.C: error out if files couldn't be found.
5370 2003-04-02 John Levon <levon@movementarian.org>
5372 * text2.C: make incDepth() use parlist
5374 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * undo_funcs.C (firstUndoParagraph): adjust
5378 * text3.C (gotoInset): adjust
5379 (dispatch): adjust, and rewrite loop.
5381 * text2.C (init): adjust, and rewrite loop.
5382 (redoParagraphs): adjust
5383 (updateInset): adjust, and rewrite loop.
5384 (deleteEmptyParagraphMechanism): adjust
5386 * tabular.C (LyXTabular): adjust
5387 (SetMultiColumn): adjust
5390 * lyxtext.[Ch] (ownerParagraph): delete function
5391 (ownerParagraphs): new function returns a ParagraphList.
5393 * BufferView.C (removeAutoInsets): adjust
5394 (insertErrors): adjust
5395 (setCursorFromRow): adjust
5397 2003-04-01 Angus Leeming <leeming@lyx.org>
5399 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5402 2003-04-02 John Levon <levon@movementarian.org>
5408 * text_funcs.C: make transposeChars a free function
5410 * lyxrow_funcs.C: remove wrong comment
5412 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * rowpainter.C: adjust
5420 * lyxrow_funcs. [Ch]: new files
5422 * lyxrow.[Ch]: remove next and previous pointers
5423 (next,previous): remove accessor functions
5424 (isParEnd): move to lyxrow_funcs
5425 (lastPos): move to lyxrow_funcs
5426 (nextRowIsAllInset): move to lyxrow_funcs
5427 (lastPrintablePos): move to lyxrow_funcs
5428 (numberOfSeparators): move to lyxrow_funcs
5429 (numberOfHfills): move to lyxrow_funcs
5430 (numberOfLabelHfills): move to lyxrow_funcs
5431 (hfillExpansion): move to lyxrow_funcs
5435 * bufferview_funcs.C (toggleAndShow): adjust
5437 * RowList.h: Remove class RowList from file leave just a
5440 * RowList.C: delete file
5442 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5445 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * text3.C (cursorPrevious): adjust
5448 (cursorNext): adjust
5451 * text2.C (redoHeightOfParagraph): adjust
5452 (redoDrawingOfParagraph): adjust
5455 * text.C (breakParagraph): adjust
5456 (insertChar): adjust
5459 * rowpainter.C (RowPainter): adjust
5460 (leftMargin): simplify and adjust
5461 (most rowpainter functions): adjust.
5463 * rowpainter.h: store the row as RowList::iterator not as Row*
5465 * lyxcursor.C (row): taka RowList::iterator as arg
5468 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5471 2003-04-01 Angus Leeming <leeming@lyx.org>
5473 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5474 stuff like bool Bool.
5476 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5478 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5481 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5486 * lyxtext.h (rows): drop one version and leve a const variant that
5487 returns a RowList::iterator.
5489 2003-03-31 Angus Leeming <leeming@lyx.org>
5491 * text.C (fill): ensure that the signature is the same as that in the
5494 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * text2.C (redoParagraphs): adjust
5497 (updateCounters): adjust
5498 (checkParagraph): adjust
5499 (getColumnNearX): adjust and reformat a bit.
5501 * text.C (top_y): adjust
5503 (leftMargin): adjust
5504 (prepareToPrint): adjust
5506 (getRowNearY): adjust
5508 * lyxtext.h: make rowlist_ mutable.
5510 * RowList.h: add const_iterator
5511 * RowList.C: adjust for RowList::const_iterator.
5513 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5516 2003-03-31 John Levon <levon@movementarian.org>
5519 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5521 * lyx_main.C: set default fonts from using lyx_gui funcs
5523 * exporter.C: pdf_mode moved from lyxrc
5526 * lyxfunc.C: changes from above
5528 2003-03-31 John Levon <levon@movementarian.org>
5530 * lyx_main.C: fix to the last fix
5532 2003-03-31 John Levon <levon@movementarian.org>
5534 * bufferlist.C: "Load original" -> "Load Original"
5540 * format.C: more Alert cleanups
5542 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * text2.C (removeParagraph): make it take a RowList::iterator as
5546 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5547 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5549 * text.C (anchor_row): make it take a RowList::iterator as arg,
5551 (computeBidiTables): make it take a const reference to Row instead
5552 of Row pointer, adjust.
5553 (leftMargin): make it take a RowList::iterator as arg, adjust.
5554 (rowBreakPoint): adjust
5555 (breakAgainOneRow): make it take a RowList::iterator as arg,
5557 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5559 * bufferview_funcs.C (toggleAndShow): adjust
5561 2003-03-30 John Levon <levon@movementarian.org>
5565 * boost-inst.C: moved to support
5567 * several files: changes as a result
5569 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5571 * text2.C (LyXText): adjust.
5573 (removeRow): make it take a RowList::iterator as arg, adjust.
5574 (fullRebreak): adjust
5575 (deleteEmptyParagraphMechanism): adjust
5576 (clearPaint): adjust
5579 * text.C (top_y): adjust
5580 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5581 (breakAgain): make it take a RowList::iterator as arg, adjust.
5582 (breakParagraph): adjust
5583 (insertChar): adjust
5586 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5587 need_break_row, and refresh_row.
5589 * text3.C (dispatch): adjust
5591 * text2.C (checkParagraph): adjust
5593 (setCursorFromCoordinates): adjust
5595 * text.C (top_y): adjust
5597 (getRow): make it return a RowList::iterator, adjust
5598 (getRowNearY): make it return a RowList::iterator, adjust
5600 * text2.C (init): adjust
5601 (insertRow): remove function
5602 (insertParagraph): adjust
5603 (redoParagraphs): adjust
5604 (fullRebreak): adjust
5605 (updateCounters): adjust
5607 * text.C (top_y): rewrite to use RowList iterators.
5609 (setHeightOfRow): rewrite to sue RowList iterators.
5610 (appendParagraph): adjust
5611 (breakAgain): adjust
5612 (breakAgainOneRow): adjust
5613 (breakParagraph): adjust
5615 (getRowNearY): adjust, and remove commented code.
5617 * lyxtext.h (firstRow): delete function
5618 (lastRow): delete function
5619 (rows): new function (const and non-const versions.)
5620 (insertRow): delete function
5622 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5624 2003-03-29 John Levon <levon@movementarian.org>
5626 * BufferView_pimpl.C: always update scrollbar top
5627 because pasting text when we're anchored could mean we
5628 miss an update altogether
5630 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * text2.C (init): use rowlist_.end() and not 0.
5633 (insertRow): change to take a RowList::iterator as arg, adjust
5635 (insertParagraph): change to take a RowList::iterator as arg,
5637 (redoParagraphs): remove some debug msgs.
5639 * text.C (appendParagraph): change to take a RowList::iterator
5640 arg, adjust for this.
5641 (breakAgain): add an assert
5642 (breakAgainOneRow): ditto
5644 2003-03-29 John Levon <levon@movementarian.org>
5646 * text2.C: do not clear selection after inc/decDepth
5649 2003-03-29 John Levon <levon@movementarian.org>
5652 * buffer.C: fix broken strerrors according to Lars
5654 2003-03-29 John Levon <levon@movementarian.org>
5656 * converters.C: more Alert cleanups
5658 2003-03-29 John Levon <levon@movementarian.org>
5660 * bufferview_funcs.C: remove pointless Alert
5662 * buffer.C: fix confusing error message when
5663 a template is chmoded 000
5665 2003-03-29 John Levon <levon@movementarian.org>
5669 * BufferView_pimpl.C: Alert fixes
5673 * tabular-old.C: remove unused table compat reading
5675 2003-03-29 John Levon <levon@movementarian.org>
5680 * lyx_cb.C: more Alert cleanups
5682 * lyxfunc.C: don't allow chktex if not latex document
5684 2003-03-29 John Levon <levon@movementarian.org>
5688 * buffer.C: warnings pushed down from support/,
5691 2003-03-29 John Levon <levon@movementarian.org>
5693 * lyxfunc.C: safety check for C-r (revert)
5695 2003-03-29 John Levon <levon@movementarian.org>
5698 * bufferlist.C: several UI fixes using Alert::prompt.
5699 Fix the pointless looping quit code. Fix stupid revert
5704 * lyx_cb.C: use Alert::prompt
5706 * lyx_main.C: remove a silly question
5708 * lyxfunc.C: remove a couple of silly questions,
5711 2003-03-28 John Levon <levon@movementarian.org>
5713 * text2.C: fix bug 974 (End on empty par)
5715 2003-03-28 John Levon <levon@movementarian.org>
5717 * BufferView_pimpl.C:
5719 * lfuns.h: remove do-nothing math greek lfuns
5721 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * lyxgluelength.h (isValidGlueLength): add default arg on
5724 parameter 2. Remove default arg from friend in class.
5726 * lyxlength.h (isValidLength): add default arg on parameter 2.
5727 Remove default arg from friend in class.
5729 * text2.C (LyXText): adjust, initialize refresh_row.
5733 (insertParagraph): adjst
5734 (redoParagraphs): adjust
5735 (fullRebreak): adjust
5736 (updateCounters): adjust
5737 (deleteEmptyParagraphMechanism): first attempt at fixing a
5740 * text.C (top_y): adjust
5741 (setHeightOfRow): adjust
5743 (getRowNearY): adjust
5745 * lyxtext.h: include RowList.h
5746 (~LyXText): not needed anymore, deleted.
5747 (firstRow): modify for RowList
5748 (lastRow): new function
5749 Delete firstrow and lastrow class variables, add a Rowlist
5750 rowlist_ class variable.
5752 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5755 * RowList.C (insert): fix case where it == begin().
5757 2003-03-26 Angus Leeming <leeming@lyx.org>
5759 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5760 the thesaurus dialog.
5762 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5766 * RowList.[Ch]: new files
5768 * ParagraphList.C (erase): handle the case where it == begin
5771 2003-03-25 John Levon <levon@movementarian.org>
5775 * aspell.C: add new aspell support
5778 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5781 2003-03-25 Angus Leeming <leeming@lyx.org>
5784 * LyXAction.C (init): new LFUN_INSET_INSERT.
5786 * BufferView_pimpl.C (dispatch): split out part of the
5787 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5789 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5792 2003-03-25 Angus Leeming <leeming@lyx.org>
5794 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5796 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5799 * text3.C: remove useless row->height(0)
5801 2003-03-25 John Levon <levon@movementarian.org>
5805 * text3.C: rename the refreshing stuff to better names
5807 2003-03-24 John Levon <levon@movementarian.org>
5809 * BufferView_pimpl.h:
5810 * BufferView_pimpl.C: update layout choice on a mouse
5813 2003-03-23 John Levon <levon@movementarian.org>
5815 * Makefile.am: fix commandtags.h reference
5817 2003-03-22 John Levon <levon@movementarian.org>
5819 * BufferView_pimpl.C:
5824 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5826 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5829 * text.C: take the rtl methods out of line
5831 2003-03-21 André Pönitz <poenitz@gmx.net>
5833 * metricsinfo.[Ch]: new files containing structures to be passed around
5834 during the two-phase-drawing...
5836 2003-03-21 André Pönitz <poenitz@gmx.net>
5838 * lyxtextclass.C: read 'environment' tag.
5840 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5842 * text2.C (removeRow): fix bug 964
5844 2003-03-20 John Levon <levon@movementarian.org>
5848 * text2.C: paint cleanups. Inset::update() dropped font
5851 2003-03-19 John Levon <levon@movementarian.org>
5853 * lyxfunc.C: only fitcursor/markDirty if available()
5855 2003-03-19 John Levon <levon@movementarian.org>
5857 * commandtags.h: rename to ...
5859 * lfuns.h: ... this, and renumber / cleanup
5861 2003-03-19 John Levon <levon@movementarian.org>
5863 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5864 fit the cursor after an lfun
5868 * BufferView_pimpl.h:
5869 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5871 * LyXAction.C: layout-character should have ReadOnly
5873 * ParagraphParameters.C:
5875 * bufferview_funcs.C:
5882 * undo_funcs.C: changes from above
5884 2003-03-18 John Levon <levon@movementarian.org>
5886 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5887 remove it from update()
5889 * lyxfunc.C: update layout choice after an lfun
5891 * text3.C: remove extra updateLayoutChoice()s
5893 2003-03-18 John Levon <levon@movementarian.org>
5895 * text.C: top_y change means full repaint, fix
5896 a drawing bug with cursor movement
5898 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5902 * text2.C: anchor row on setCursor
5904 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5906 * lyxtext.h: remove almost all mutable keywords
5909 * text3.C: remove const keywords accordingly
5911 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5913 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5915 (TeXEnvironment): ditto
5918 2003-03-17 John Levon <levon@movementarian.org>
5920 * text.C (rowBreakPoint): remove attempt to fix displayed
5921 math insets inside a manual label
5923 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * lyxtext.h: remove BufferView* as first arg from almost all class
5927 * other files: adjust.
5929 2003-03-17 John Levon <levon@movementarian.org>
5933 * text2.C: more paint cleanups
5935 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5938 * rowpainter.C: remove "smart" background painting code
5940 2003-03-16 John Levon <levon@movementarian.org>
5945 * text3.C: add helper functions for setting refresh_row/y
5947 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5949 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5950 newline inset which *can* get inserted in the pass_thru layouts.
5951 This is primarily for literate documents.
5953 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5955 * buffer.C: increment LYX_FORMAT to 223
5957 2003-03-14 André Pönitz <poenitz@gmx.net>
5959 * textclass.h: prepare for environment handling, ws changes
5960 * lyxlayout.C: read latexheader and latexfooter tags
5962 2003-03-14 John Levon <levon@movementarian.org>
5964 * text2.C: rewrite ::status() a bit
5966 2003-03-13 John Levon <levon@movementarian.org>
5968 * lyxtext.h: add some docs
5970 2003-03-13 John Levon <levon@movementarian.org>
5975 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5977 2003-03-13 John Levon <levon@movementarian.org>
5979 * text3.C: fix appendix redrawing
5981 2003-03-13 John Levon <levon@movementarian.org>
5983 * text.C (setHeightOfRow):
5985 * rowpainter.C: make appendix mark have the text
5986 "Appendix" so the user knows what it is
5989 * LColor.C: s/appendixline/appendix/ from above
5991 2003-03-13 John Levon <levon@movementarian.org>
5993 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5995 * text.C: fix a getChar(pos) bug properly
5997 2003-03-13 Angus Leeming <leeming@lyx.org>
6000 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6001 Probably only temporary. Let's see how things pan out.
6003 * BufferView.C (unlockInset):
6004 * BufferView_pimpl.C (fitCursor):
6005 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6007 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6008 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6010 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6011 new functions that convert ParagraphParameters to and from a string.
6013 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6014 BufferView::Pimpl's dispatch.
6015 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6017 2003-03-13 André Pönitz <poenitz@gmx.net>
6021 * factory.C: make it aware of InsetEnv
6023 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * text2.C (setCursor): never ask for one past last
6026 (setCursor): add some debugging messages.
6028 * text.C (singleWidth): never ask for one past last
6029 (singleWidth): ditto
6031 (rightMargin): ditto
6032 (rowBreakPoint): ditto
6033 (setHeightOfRow): ditto
6034 (prepareToPrint): ditto
6036 * rowpainter.C (paintBackground): never ask for one past last
6037 (paintText): never ask for one past last
6039 * paragraph_pimpl.C (getChar): make the assert stricter, never
6040 allow the one past last pos to be taken
6042 * paragraph.C (getChar): ws changes only
6044 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6045 (numberOfSeparators): ditto
6046 (numberOfHfills): ditto
6048 2003-03-12 John Levon <levon@movementarian.org>
6054 * paragraph_funcs.C: fix per-buffer authorlists
6056 2003-03-12 John Levon <levon@movementarian.org>
6058 * text.C: fix newline in right address
6060 2003-03-12 Angus Leeming <leeming@lyx.org>
6062 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6063 duplicate those in LyXFunc::dispatch.
6067 * ToolbarDefaults.C:
6068 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6069 Add LFUN_FONTFREE_UPDATE.
6071 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6072 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6074 * bufferview_func.[Ch]: several new functions to facilliate
6075 transfer of data to and from the character dialog.
6077 2003-03-12 John Levon <levon@movementarian.org>
6082 * paragraph_funcs.C:
6083 * paragraph_pimpl.C:
6087 * text3.C: remove META_NEWLINE in favour of an inset
6090 * rowpainter.C: remove paintNewline (done by inset)
6092 2003-03-12 John Levon <levon@movementarian.org>
6094 * paragraph_pimpl.C: complain about bad getChar()s
6095 for a while at least
6097 2003-03-12 John Levon <levon@movementarian.org>
6100 * buffer.C: move paragraph read into a separate function,
6101 a little renaming to reflect that.
6104 * bufferparams.C: remove the author_ids map, not necessary now
6107 * factory.C: moved Buffer::readInset to here
6109 * paragraph_funcs.h:
6110 * paragraph_funcs.C: readParagraph free function moved from
6113 * tabular.C: name change
6115 2003-03-12 John Levon <levon@movementarian.org>
6118 * ParagraphParameters.C: move par params input to
6121 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6122 behave like a normal read from the stream wrt reading
6123 a line vs. a \\token
6125 2003-03-12 John Levon <levon@movementarian.org>
6128 * ParagraphParameters.h:
6129 * ParagraphParameters.C: move output code to a
6132 2003-03-12 John Levon <levon@movementarian.org>
6134 * BufferView.C (insertLyXFile):
6137 * tabular.C: use a parlist iterator for creating the
6140 2003-03-12 John Levon <levon@movementarian.org>
6142 * buffer.C: make current_change static local not
6145 2003-03-12 John Levon <levon@movementarian.org>
6147 * buffer.C: fix insertStringAsLines for change tracking
6149 2003-03-12 John Levon <levon@movementarian.org>
6156 * bufferparams.C: move author list into params. Rename some
6157 functions. Move the header reading into a separate token
6158 loop. Move the header token reading into BufferParams.
6160 2003-03-12 John Levon <levon@movementarian.org>
6162 * changes.C: put debug inside lyxerr.debugging() checks
6164 2003-03-11 André Pönitz <poenitz@gmx.net>
6166 * factory.C: make it aware of InsetHFill
6168 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6170 * buffer.C (latexParagraphs): move function from here...
6171 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6174 2003-03-10 Angus Leeming <leeming@lyx.org>
6176 * LyXAction.C (init): fix bug in poplating array with multiple entries
6177 with the same LFUN (spotted by JMarc).
6179 2003-03-10 John Levon <levon@movementarian.org>
6182 * text2.C: move getColumnNearX() near its
6185 2003-03-10 John Levon <levon@movementarian.org>
6187 * text.C: fix break before a minipage
6189 2003-03-10 John Levon <levon@movementarian.org>
6191 * text.C: fix the last commit
6193 2003-03-09 John Levon <levon@movementarian.org>
6197 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6198 bug 365 (don't break before insets unless needed). Don't
6199 return a value > last under any circumstances.
6201 2003-03-09 Angus Leeming <leeming@lyx.org>
6203 * BufferView_pimpl.C (trackChanges, dispatch): call
6204 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6206 2003-03-09 Angus Leeming <leeming@lyx.org>
6208 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6209 than Dialogs::showAboutlyx().
6211 2003-03-09 Angus Leeming <leeming@lyx.org>
6213 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6214 than Dialogs::showTabularCreate().
6216 2003-03-09 John Levon <levon@movementarian.org>
6220 * text2.C: 3rd arg to nextBreakPoint was always the same.
6223 2003-03-08 John Levon <levon@movementarian.org>
6230 * text2.C: Remove the "main" bit from the "main body"
6233 2003-03-08 John Levon <levon@movementarian.org>
6235 * text.C (leftMargin): The left margin of an empty
6236 manual label paragraph should not include the label width
6239 * text.C (prepareToPrint): don't attempt to measure hfills
6240 for empty manual label paragraphs - the answer should be 0
6242 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * CutAndPaste.C: remove commented code and reindent.
6246 2003-03-08 John Levon <levon@movementarian.org>
6249 * lyxfunc.C: move reloadBuffer()
6252 * BufferView.C: to here
6254 * lyxvc.C: add comment
6257 * vc-backend.C: call bv->reload() to avoid
6258 getStatus() check on MENURELOAD
6260 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6262 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6263 to an old format .dep file.
6265 2003-03-07 Angus Leeming <leeming@lyx.org>
6267 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6268 when the LFUN_MOUSE_RELEASE should have been handled by
6269 inset->localDispatch.
6271 2003-03-07 Angus Leeming <leeming@lyx.org>
6273 * BufferView_pimpl.C (dispatch):
6274 * LyXAction.C (init):
6275 * ToolbarDefaults.C (init):
6277 * lyxfunc.C (getStatus):
6278 remove LFUN_INSET_GRAPHICS.
6280 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6282 2003-03-07 Angus Leeming <leeming@lyx.org>
6285 * LyXAction.C (init):
6286 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6288 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6291 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6293 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6294 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6296 2003-03-07 Angus Leeming <leeming@lyx.org>
6298 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6301 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * ParagraphList.C (front): new function
6306 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6308 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6309 and top_row_offset_. removed var first_y.
6311 * text2.C (LyXText, removeRow):
6313 * BufferView_pimpl.C:
6314 use these methods instead of using first_y
6316 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * text2.C (pasteSelection): adjust for checkPastePossible
6320 * CutAndPaste.C: remove Paragraph * buf and replace with
6321 ParagraphList paragraphs.
6322 (DeleteBuffer): delete
6323 (cutSelection): change the tc type to textclass_type
6324 (copySelection): change the tc type to textclass_type
6325 (copySelection): adjust for ParagraphList
6326 (pasteSelection): change the tc type to textclass_type
6327 (pasteSelection): adjust for Paragraphlist
6328 (nrOfParagraphs): simplify for ParagraphList
6329 (checkPastePossible): simplify for ParagraphList
6330 (checkPastePossible): remove unused arg
6332 * ParagraphList.C (insert): handle the case where there are no
6335 * CutAndPaste.h: make CutAndPaste a namespace.
6337 * text3.C (dispatch): adjust
6339 * text.C (breakParagraph): add a ParagraphList as arg
6341 * paragraph_funcs.C (breakParagraph): change to take a
6342 BufferParams and a ParagraphList as args.
6343 (breakParagraphConservative): ditto
6344 (mergeParagraph): ditto
6345 (TeXDeeper): add a ParagraphList arg
6346 (TeXEnvironment): ditto
6349 * buffer.C (readLyXformat2): adjust
6350 (insertStringAsLines): adjust
6351 (latexParagraphs): adjust
6353 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6354 (cutSelection): adjust
6355 (pasteSelection): adjust
6357 * BufferView_pimpl.C (insertInset): adjust
6359 2003-03-05 Angus Leeming <leeming@lyx.org>
6362 * LyXAction.C (init):
6363 * BufferView_pimpl.C (dispatch):
6364 * lyxfunc.C (getStatus):
6365 remove LFUN_CHILD_INSERT.
6367 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6369 2003-03-05 Angus Leeming <leeming@lyx.org>
6372 * LyXAction.C (init):
6373 * src/factory.C (createInset):
6374 * lyxfunc.C (getStatus):
6375 * text3.C (dispatch):
6376 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6378 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6380 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * ParagraphList.C (insert): handle insert right before end()
6383 (erase): fix cases where it can be first or last paragraph.
6385 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6388 Paragraph::next and Paragraph::previous
6391 * text.C (breakParagraph): adjust
6393 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6394 BufferParams& as arg.
6395 (breakParagraph): use ParagraphList::insert
6396 (breakParagraphConservative): take a Buffer* instead of a
6397 BufferParams& as arg.
6398 (breakParagraphConservative): use ParagraphList::insert.
6400 * buffer.C (insertStringAsLines): un-const it
6401 (insertStringAsLines): adjust
6403 * ParagraphList.C (insert): new function
6405 * CutAndPaste.C (pasteSelection): adjust
6407 * text.C (backspace): adjust
6409 * tabular.C (SetMultiColumn): adjust
6411 * CutAndPaste.C (cutSelection): adjust
6412 (pasteSelection): adjust
6414 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6415 Buffer const * as arg
6417 * ParagraphList.C (erase): new function
6418 * paragraph_funcs.C (mergeParagraph): use it
6419 (mergeParagraph): make it take a Buffer* instead of a
6420 BufferParams* as arg
6422 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6424 (breakParagraphConservative): ditto
6426 * paragraph.h: remove the breakParagraph friend
6428 * paragraph.C (eraseIntern): new function
6429 (setChange): new function
6431 * paragraph_funcs.C (mergeParagraph): make it take a
6432 ParagraphList::iterator instead of a Paragraph *, adjust
6435 * paragraph.h: move an #endif so that the change tracking stuff
6436 also works in the NO_NEXT case.
6438 2003-03-04 Angus Leeming <leeming@lyx.org>
6441 * LyXAction.C: new LFUN_INSET_MODIFY.
6443 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6444 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6446 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * several files: ws changes only
6450 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6451 (TeXEnvironment): ditto
6454 * buffer.C (makeLaTeXFile): adjust
6455 (latexParagraphs): make it take ParagraphList::iterator as args
6457 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * buffer.C (latexParagraphs): adjust
6461 * paragraph.C (TeXOnePar): move function...
6462 (optArgInset): move function...
6463 (TeXEnvironment): move function...
6464 * paragraph_pimpl.C (TeXDeeper): move function...
6465 * paragraph_funcs.C: ...here
6467 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6469 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * buffer.C (readInset): remove compability code for old Figure and
6474 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6476 * buffer.C: ws changes
6479 * BufferView_pimpl.C: ditto
6482 * bufferlist.h: ditto
6486 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6488 * converter.[Ch]: split into itself +
6491 * Makefile.am: += graph.[Ch] + format.[Ch]
6498 * lyxrc.C: added #include "format.h"
6500 2003-02-27 Angus Leeming <leeming@lyx.org>
6502 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6505 * factory.C (createInset): add "label" to the factory.
6507 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6508 string and do no more.
6510 2003-02-27 Angus Leeming <leeming@lyx.org>
6513 * LyXAction.C (init):
6514 * factory.C (createInset):
6515 * BufferView_pimpl.C (dispatch):
6516 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6518 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6520 * lyxfunc.C (dispatch):
6521 * text3.C (dispatch): pass name to params2string.
6523 2003-02-26 Angus Leeming <leeming@lyx.org>
6525 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6527 Rearrange the ~includes. Strip out the unnecessary ones.
6529 * factory.C (createInset): reformat.
6530 create new insets for the various LFUN_XYZ_APPLY lfuns.
6532 2003-02-26 John Levon <levon@movementarian.org>
6535 * lyxrow.C: add isParStart,isParEnd helpers
6537 * paragraph.h: make isInserted/DeletedText take refs
6539 * paragraph_funcs.h:
6540 * paragraph_funcs.C: remove #if 0'd code
6545 * text.C: use lyxrow helpers above.
6546 Move draw and paint routines to RowPainter.
6547 Make several methods use refs not pointers.
6548 Make backgroundColor() const.
6549 Add markChangeInDraw(), isInInset().
6550 Merge changeRegionCase into changeCase.
6551 Make workWidth() shouldn't-happen code into an Assert.
6554 * rowpainter.C: new class for painting a row.
6557 * vspace.C: make inPixels take a ref
6559 2003-02-26 Angus Leeming <leeming@lyx.org>
6561 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6564 2003-02-25 John Levon <levon@movementarian.org>
6566 * ispell.C: give the forked command a more accurate name
6568 2003-02-22 John Levon <levon@movementarian.org>
6571 * toc.C: make TocItem store an id not a Paragraph *
6574 2003-02-21 Angus Leeming <leeming@lyx.org>
6576 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6577 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6578 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6579 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6580 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6581 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6583 * BufferView_pimpl.C (dispatch):
6584 * LyXAction.C (init):
6585 * factory.C (createInset):
6586 * lyxfunc.C (getStatus, dispatch):
6587 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6589 2003-02-21 Angus Leeming <leeming@lyx.org>
6591 * BufferView_pimpl.C (MenuInsertLyXFile):
6592 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6593 * lyxfunc.C (menuNew, open, doImport):
6594 no longer pass a LyXView & to fileDlg.
6596 2003-02-21 Angus Leeming <leeming@lyx.org>
6598 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6599 * LyXAction.C: change, BIBKEY to BIBITEM.
6600 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6601 Change InsetBibKey to InsetBibitem.
6602 Change BIBKEY_CODE to BIBITEM_CODE.
6603 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6604 * factory.C: replace insetbib.h with insetbibitem.h.
6605 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6606 * paragraph.C: replace insetbib.h with insetbibitem.h.
6607 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6608 Change bibkey() to bibitem().
6609 * text.C: remove insetbib.h.
6610 * text2.C: replace insetbib.h with insetbibitem.h.
6611 change bibkey() to bibitem().
6612 * text3.C: remove insetbib.h.
6613 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6615 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * lyxrc.C (output): enclose user email in quotes (in case there are
6620 2003-02-18 John Levon <levon@movementarian.org>
6622 * buffer.h: add std::
6624 2003-02-17 John Levon <levon@movementarian.org>
6630 * pspell.C: reworking. Especially in ispell, a large
6631 number of clean ups and bug fixes.
6633 * lyxfunc.C: fix revert to behave sensibly
6635 2003-02-17 André Pönitz <poenitz@gmx.net>
6638 * commandtags.h: new LFUN_INSERT_BIBKEY
6648 * paragraph_func.C: remove special bibkey handling
6650 2003-02-17 John Levon <levon@movementarian.org>
6652 * text.C (Delete): fix case where delete at the end of
6653 the very first paragraph would not merge the pars
6655 2003-02-17 John Levon <levon@movementarian.org>
6657 * lyxrow.C: fix lastPrintablePos()
6659 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6661 * bufferparams.C (writeLaTeX): add a std:here
6663 * buffer.C: and remove a using directive there
6665 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6667 * buffer.C (makeLaTeXFile): move the code that generates the
6670 * bufferparams.C (writeLaTeX): ... in this new method
6672 * LaTeXFeatures.C (getEncodingSet): make const
6673 (getLanguages): make const
6675 * MenuBackend.C (binding): returns the binding associated to this
6677 (add): sets the status of each item by calling getStatus. Adds
6679 (read): add support for OptSubMenu
6680 (expand): remove extra separator at the end of expanded menu
6682 2003-02-15 John Levon <levon@movementarian.org>
6685 * BufferView_pimpl.C:
6687 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6688 inset code that had no actual effect. Remove unneeded status
6691 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6693 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6696 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6698 * text.C (drawLengthMarker): also draw an arrow marker for
6699 symbolic lengths (medskip...)
6701 2003-02-14 John Levon <levon@movementarian.org>
6704 * tabular.C: better method names
6706 2003-02-14 John Levon <levon@movementarian.org>
6708 * BufferView_pimpl.C:
6713 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6714 it's a more accurate name. Remove some pointless uses.
6716 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6718 * text2.C (LyXText): change order of initilizers to shut off
6721 2003-02-14 John Levon <levon@movementarian.org>
6723 * buffer.C: use ParIterator for getParFromID()
6727 * paragraph_pimpl.h:
6728 * paragraph_pimpl.C: remove unused getParFromID()
6730 2003-02-14 John Levon <levon@movementarian.org>
6732 * buffer.C: remove some very old #if 0'd parse code
6734 2003-02-13 John Levon <levon@movementarian.org>
6738 * text2.C: move hfillExpansion(), numberOfSeparators(),
6739 rowLast(), rowLastPrintable(), numberofHfills(),
6740 numberOfLabelHfills() ...
6743 * lyxrow.C: ... to member functions here.
6748 * text.C: remove LyXText::beginningOfMainBody(), and call
6749 p->beginningOfMainBody() directly. Move the check for
6750 LABEL_MANUAL into the latter.
6757 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6763 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6764 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6766 2003-02-13 John Levon <levon@movementarian.org>
6768 * CutAndPaste.C: remove debug
6770 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6772 * paragraph.C (asString): remove two unused variables
6774 * lyxtextclass.C (readTitleType):
6776 (LyXTextClass): handle new members titletype_ and titlename_
6778 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6780 2003-02-09 John Levon <levon@movementarian.org>
6783 * buffer.C: replace hand-coded list with a map for the dep clean
6785 2003-02-08 John Levon <levon@movementarian.org>
6787 * LaTeX.C: consolidate code into showRunMessage() helper
6789 2003-02-08 John Levon <levon@movementarian.org>
6794 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6795 and pass the size in explicitly
6797 * BufferView_pimpl.h:
6798 * BufferView_pimpl.C:
6800 * BufferView.C: add getCurrentChange()
6802 * BufferView_pimpl.h:
6803 * BufferView_pimpl.C: handle change lfuns
6805 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6806 for changes. Mark pasted paragraphs as new.
6808 * support/lyxtime.h:
6809 * support/lyxtime.C:
6810 * DepTable.C: abstract time_t as lyx::time_type
6813 * LColor.C: add colours for new text, deleted text, changebars
6815 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6816 package use "usenames" option.
6820 * LyXAction.C: add change lfuns
6824 * author.C: author handling
6827 * buffer.C: add a per-buffer author list, with first entry as
6828 current author. Handle new .lyx tokens for change tracking. Output
6829 author list to .lyx file. Output dvipost stuff to .tex preamble.
6830 Bump lyx format to 222.
6833 * bufferlist.C: add setCurrentAuthor() to reset current author details
6837 * bufferparams.C: add param for tracking
6839 * bufferview_funcs.C: output change info in minibuffer
6843 * changes.C: add change-tracking structure
6846 * debug.C: add CHANGES debug flag
6849 * lyxfind.C: add code for finding the next change piece
6852 * lyxrc.C: add user_name and user_email
6855 * lyxrow.C: add a metric for the top of the text line
6858 * text.C: implement accept/rejectChange()
6861 * text.C: paint changebars. Paint new/deleted text in the chosen
6862 colours. Strike through deleted text.
6866 * paragraph_pimpl.h:
6867 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6868 in the current change to the insert functions. Rework erase to
6869 mark text as deleted, adding an eraseIntern() and a range-based
6870 erase(). Implement per-paragraph change lookup and
6873 * paragraph_funcs.C: Fixup paste for change tracking.
6875 * tabular.C: mark added row/columns as new.
6877 * text.C: fix rowLast() to never return -1. Don't allow
6878 spellchecking of deleted text. Track transpose changes. Don't
6879 allow paragraph break or merge where appropriate.
6881 * text2.C: leave cursor at end of selection after a cut.
6883 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6885 * text.C (getLengthMarkerHeight):
6886 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6887 visible on screen too.
6889 2003-02-07 John Levon <levon@movementarian.org>
6891 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6893 2003-02-05 Angus Leeming <leeming@lyx.org>
6895 * lyxserver.C (read_ready): revert my patch of 11 September last year
6896 as it sends PC cpu through the roof. Presumably this means that
6897 the lyxserver will no longer run on an Alpha...
6899 2003-01-30 Angus Leeming <leeming@lyx.org>
6901 * factory.C (createInset): create an InsetCommandParam of type "index"
6902 and use it to 'do the right thing'.
6904 * text2.C (getStringToIndex): ensure that cursor position is always
6905 reset to the reset_cursor position.
6907 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6909 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6912 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6916 * lyxfunc.C: Output messages with identical spelling, punctuation,
6919 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6921 * MenuBackend.C (expandFormats): List only viewable export formats
6924 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6927 * lyxfunc.C (getStatus): Make sure that formats other than
6928 "fax" can also be disabled
6930 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6932 * text3.C (dispatch): put the lfuns that insert insets in 3
6933 groups, and call doInsertInset with appropriate arguments.
6934 (doInsertInset): new function, that creates an inset and inserts
6935 it according to some boolean parameters.
6937 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * buffer.C (readFile): remember to pass on 'par' when calling
6940 readFile recursively.
6942 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6944 * MenuBackend.C (expandFormats): add "..." to import formats.
6946 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6948 * paragraph.C (asString): Remove XForms RTL hacks.
6950 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6951 * buffer.C: fix typo
6953 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * Makefile.am (LIBS): delete var
6956 (lyx_LDADD): add @LIBS@ here instead.
6958 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6960 * Clarify the meaning of "wheel mouse jump"
6962 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6964 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6967 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6969 * importer.C (Loaders): do not preallocate 3 elements in the
6970 vector, since one ends up with 6 elements otherwise
6972 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6974 * DepTable.C (write): write the file name as last element of the
6975 .dep file (because it may contain spaces)
6976 (read): read info in the right order
6978 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6980 * paragraph_pimpl.C (simpleTeXBlanks):
6981 (simpleTeXSpecialChars):
6982 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6984 * tabular.C (latex): add some missing case statements. Reindent.
6986 * MenuBackend.C (expandToc): remove unused variable.
6988 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6997 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7000 2003-01-05 John Levon <levon@movementarian.org>
7003 * BufferView.C: add getEncoding()
7006 * kbsequence.C: do not store last keypress
7009 * lyxfunc.C: store last keypress here instead. Pass encoding
7012 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7014 * lyx_main.C (init): remove annoying error message when following
7015 symbolic links (bug #780)
7017 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7019 * text.C (insertChar):
7020 * lyxrc.C (getDescription): remove extra spaces
7022 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7024 * lyxrc.C (getDescription): remove extra spaces
7026 2002-12-20 John Levon <levon@movementarian.org>
7028 * text3.C: hack fix for page up/down across tall rows
7030 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7032 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7035 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7037 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7038 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7039 thesaurus is not compiled in
7041 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7043 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7045 2002-12-16 Angus Leeming <leeming@lyx.org>
7048 * lyx_main.C (init): remove override_x_deadkeys stuff.
7050 2002-12-12 John Levon <levon@movementarian.org>
7052 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7053 insert. Only remove shift modifier under strict
7056 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * MenuBackend.C (expandToc): fix crash.
7060 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * MenuBackend.C (expandToc): gettext on float names.
7064 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7066 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7067 implement bool empty() [bug 490]
7069 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7073 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7075 * several files: ws changes
7077 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * text2.C (setCounter): clean up a bit, use boost.format.
7080 (updateCounters): initialize par upon declaration.
7082 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7083 if the layout exists. We do not just store the layout any more.
7084 (SwitchLayoutsBetweenClasses): use boost.format
7086 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7088 * converter.C (convert): if from and to files are the same, use a
7089 temporary files as intermediary
7091 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7094 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7096 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7098 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7100 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * tabular.C (asciiPrintCell): use string(size, char) instead of
7105 * sgml.C (openTag): fix order of arguments to string constructor
7108 * lyxfunc.C (dispatch): use boost.format
7110 * lots of files: change "c" -> 'c'
7112 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7114 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7116 2002-11-25 Angus Leeming <leeming@lyx.org>
7118 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7120 * lyx_main.C (init): compile fix.
7122 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * lyx_cb.C (start): boost.formatify
7125 do not include <iostream>
7127 * lengthcommon.C: ws only
7129 * boost-inst.C,BoostFormat.h: add more explict instantations
7131 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * lots of files: handle USE_BOOST_FORMAT
7135 2002-11-21 John Levon <levon@movementarian.org>
7137 * pspell.C: fix compile
7139 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7141 * lyxfunc.C (dispatch): use boost::format
7145 * lyxfont.C (stateText): use boost::format
7147 * lyx_main.C (LyX): use boost::format
7149 (queryUserLyXDir): ditto
7152 (typedef boost::function): use the recommened syntax.
7154 * importer.C (Import): use boost::format
7156 * debug.C (showLevel): use boost::format
7158 * converter.C (view): use boost::format
7163 * bufferview_funcs.C (currentState): use boost::format
7165 * bufferlist.C (emergencyWrite): use boost::format
7167 * buffer.C (readLyXformat2): use boost::format
7168 (parseSingleLyXformat2Token): ditto
7170 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7172 * LaTeX.C (run): use boost::format
7174 * Chktex.C (scanLogFile): use boost::format
7176 * BufferView_pimpl.C (savePosition): use boost::format
7177 (restorePosition): ditto
7178 (MenuInsertLyXFile): ditto
7180 * BoostFormat.h: help file for explicit instation.
7182 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7184 * tabular.C (latex): Support for block alignment in fixed width
7187 2002-11-17 John Levon <levon@movementarian.org>
7189 * BufferView_pimpl.C:
7191 * lyxfunc.C: split filedialog into open/save
7193 2002-11-08 Juergen Vigna <jug@sad.it>
7195 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7196 by my last patch (hopefully).
7198 2002-11-08 John Levon <levon@movementarian.org>
7207 * toc.C: ParConstIterator, and use it (from Lars)
7209 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7211 * lyxtextclass.[Ch]: revise and add doxygen comments
7213 2002-11-07 John Levon <levon@movementarian.org>
7215 * text.C: fix progress value for spellchecker
7217 * toc.C: fix navigate menu for insetwrap inside minipage
7219 * paragraph_funcs.C: added FIXME for suspect code
7221 2002-11-07 John Levon <levon@movementarian.org>
7223 * BufferView_pimpl.C: fix redrawing of insets
7226 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7228 * text2.C (updateCounters): fix bug 668
7230 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7232 * text3.C (dispatch): Do not make the buffer dirty when moving the
7235 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * vc-backend.C: STRCONV
7240 * text2.C (setCounter): STRCONV
7242 * paragraph.C (asString): STRCONV
7244 * lyxlength.C (asString): STRCONV
7245 (asLatexString): ditto
7247 * lyxgluelength.C (asString): STRCONV
7248 (asLatexString): ditto
7250 * lyxfunc.C (dispatch): STRCONV
7253 * lyxfont.C (stateText): STRCONV
7255 * importer.C (Import): STRCONV
7257 * counters.C (labelItem): STRCONV
7258 (numberLabel): ditto
7259 (numberLabel): remove unused ostringstream o
7264 * bufferview_funcs.C (currentState): STRCONV
7266 * buffer.C (readFile): STRCONV
7267 (asciiParagraph): ditto
7268 (makeLaTeXFile): ditto
7270 * Spacing.C (writeEnvirBegin): STRCONV
7272 * LaTeXFeatures.C (getLanguages): STRCONV
7273 (getPackages): ditto
7275 (getBabelOptions): ditto
7276 (getTClassPreamble): ditto
7277 (getLyXSGMLEntities): ditto
7278 (getIncludedFiles): ditto
7282 (scanAuxFile): ditto
7285 * LString.h: add the STRCONV macros
7287 * BufferView_pimpl.C (savePosition): STRCONV
7288 (restorePosition): ditto
7289 (MenuInsertLyXFile): ditto
7291 * vc-backend.C (scanMaster): change from submatch[...] to
7294 * funcrequest.C: include config.h
7296 * factory.C: include config.h
7298 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7300 * box.C: include config.h
7302 * LaTeX.C (scanAuxFile): change from submatch[...] to
7306 2002-10-25 Angus Leeming <leeming@lyx.org>
7308 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7310 * ispell.[Ch] (setError): new method.
7311 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7312 Use setError() insetead of goto END.
7314 * lyx_cb.C (AutoSave): move out child process into new class
7317 2002-10-30 John Levon <levon@movementarian.org>
7319 * text3.C: make start appendix undoable
7321 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7323 * lyxlength.C (inPixels): Fix returned value.
7325 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7328 2002-10-24 Angus Leeming <leeming@lyx.org>
7330 * lyxgluelength.h: no need to forward declare BufferParams
7331 or BufferView, so don't.
7333 2002-10-21 John Levon <levon@movementarian.org>
7335 * BufferView.C: menuUndo ->undo, redo
7337 * BufferView.h: document, remove dead, make some methods private
7339 * paragraph_funcs.h:
7340 * paragraph_funcs.C:
7341 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7346 * sgml.C: move sgml open/close tag into sgml.C
7348 * bufferview_funcs.h: unused prototype
7351 * lyxfunc.C: remove unused
7354 * text.C: remove unused
7356 2002-10-21 John Levon <levon@movementarian.org>
7360 * BufferView_pimpl.h:
7361 * BufferView_pimpl.C: fix mouse wheel handling based on
7362 patch from Darren Freeman
7364 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7366 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7368 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7370 * lyxlength.C (inPixels): Fix hanfling of negative length.
7371 Fix LyXLength::MU case.
7373 2002-10-16 John Levon <levon@movementarian.org>
7375 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7377 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * converter.C (view): add support for $$i (file name) and $$p
7380 (file path) for the viewer command. If $$i is not specified, then
7381 it is appended to the command (for compatibility with old syntax)
7383 2002-10-14 Juergen Vigna <jug@sad.it>
7385 * undo_funcs.C (textHandleUndo): alter the order in which the
7386 new undopar is added to the LyXText, as we have to set first
7387 the right prev/next and then add it as otherwise the rebuild of
7388 LyXText is not correct. Also reset the cursor to the right paragraph,
7389 with this IMO we could remove the hack in "redoParagraphs()".
7391 2002-10-09 Angus Leeming <leeming@lyx.org>
7393 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7394 to turn off an optimisation if a new inset is to be inserted.
7396 2002-10-11 André Pönitz <poenitz@gmx.net>
7398 * lyxtext.h: make some functions public to allow access
7399 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7401 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7403 * text3.C (dispatch): when changing layout, avoid an infinite loop
7406 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7408 * lyxrc.C (read): treat a viewer or converter command of "none" as
7411 * MenuBackend.C (expandFormats): for an update, also allow the
7412 formats that are not viewable
7414 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7415 script if it is newer than the lyxrc.defaults in user directory
7417 2002-10-07 André Pönitz <poenitz@gmx.net>
7419 * text.C: Vitaly Lipatov's small i18n fix
7421 2002-09-25 Angus Leeming <leeming@lyx.org>
7423 * ispell.h: doxygen fix.
7425 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7427 * buffer.h (readFile): Add a new argument to the method, to allow
7428 reading of old-format templates.
7430 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7432 * toc.C (getTocList): Get TOC from InsetWrap.
7434 2002-09-16 John Levon <levon@movementarian.org>
7436 * lyxfunc.C: check tabular for cut/copy too
7438 2002-09-12 John Levon <levon@movementarian.org>
7443 * factory.C: add header
7445 * paragraph_funcs.h:
7446 * paragraph_funcs.C: cleanup
7448 2002-09-11 John Levon <levon@movementarian.org>
7450 * PrinterParams.h: odd/even default to true
7452 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7454 * PrinterParams.h: update printer parameters for new xforms dialog
7456 2002-09-11 Angus Leeming <leeming@lyx.org>
7458 * lyxserver.C (read_ready): re-write to make it more transparent
7459 and to make it work in coherent fashion under Tru64 Unix.
7461 2002-09-11 André Pönitz <poenitz@gmx.net>
7465 * text3.C: implement LFUN_WORDSEL
7467 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7470 make floatlist_ a boost::shared_ptr<FloatList>
7472 * lyxtextclass.C: include FloatList.h
7473 (LyXTextClass): initialize floatlist_
7474 (TextClassTags): add TC_NOFLOAT
7475 (Read): match "nofloat" to TC_NOFLOAT and use it.
7476 (readFloat): modify call to floatlist_
7480 * FloatList.[Ch] (FloatList): remove commented out float
7482 (erase): new function
7484 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * MenuBackend.C (expandToc): fix crash when there is no document
7489 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7491 * many files: Add insetwrap.
7493 2002-09-09 John Levon <levon@movementarian.org>
7495 * text2.C: remove confusing and awkward depth wraparound
7497 2002-09-09 John Levon <levon@movementarian.org>
7499 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7502 * buffer.C: remove getIncludeonlyList()
7505 * lyxfunc.C: remove headers
7507 2002-09-09 Juergen Vigna <jug@sad.it>
7509 * text.C (getColumnNearX): fix form Michael this is most
7510 probably a cut&paste bug.
7512 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7516 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7517 references, ws changes.
7519 * text2.C (init): update counters after init
7520 (insertParagraph): no need to set counter on idividual paragraphs.
7521 (setCounter): access the counters object in the textclass object
7522 on in the buffer object.
7523 (updateCounters): ditto
7525 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7526 shared_ptr<Counters> to avoid loading counters.h in all
7528 (LyXTextClass): initialize ctrs_
7529 (TextClassTags): add TC_COUNTER, and ...
7530 (Read): use it here.
7531 (CounterTags): new tags
7532 (readCounter): new function
7533 (counters): new funtion
7534 (defaultLayoutName): return a const reference
7536 * counters.C (Counters): remove contructor
7537 (newCounter): remove a couple of unneeded statements.
7538 (newCounter): simplify a bit.
7539 (numberLabel): some small formatting changes.
7541 * buffer.[Ch]: remove all traces of counters, move the Counters
7542 object to the LyXTextClass.
7544 2002-09-06 Alain Castera <castera@in2p3.fr>
7546 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7547 package to set the horizontal alignment on fixed width columns.
7550 * lyx_sty.h: added tabularnewline macro def.
7552 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7554 2002-09-06 John Levon <levon@movementarian.org>
7556 * LyXAction.C: tooltips for sub/superscript
7558 * MenuBackend.C: a bit more verbose
7560 * lyxfunc.C: tiny clean
7562 * undo_funcs.C: document undo_frozen
7564 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * counters.C (Counters): add missing algorithm counter.
7568 * text2.C (setCounter): lookup the counter with layouts latexname
7569 instead of by section number.
7570 (setCounter): use a hackish way to lookup the correct enum
7572 a float name->type change
7573 reset enum couners with counter name directly instead of depth value.
7575 * counters.C (Counters): remove the push_backs, change to use the
7576 float type not the float name.
7577 (labelItem): remove unused string, float name->type change
7579 * counters.h: don't include vector, loose the enums and sects vectors
7581 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7583 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7584 (Read): add float->TC_FLOAT to textclassTags
7585 (Read): and handle it in the switch
7586 (readFloat): new function
7588 * FloatList.C (FloatList): comment out the hardcoded float
7591 * lyxlayout.h: ws change.
7593 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7595 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7597 2002-09-03 Angus Leeming <leeming@lyx.org>
7599 * BufferView_pimpl.h: qualified name is not allowed in member
7600 declaration: WorkArea & Pimpl::workarea() const;
7602 * factory.C: added using std::endl directive.
7604 * text3.C: added using std::find and std::vector directives.
7606 2002-08-29 André Pönitz <poenitz@gmx.net>
7609 * text2.C: remove unused member number_of_rows
7612 * BufferView2.C: remove file, move contents to...
7613 * BufferView.C: ... here
7615 * BufferView_pimpl.C:
7616 * factory.C: move more inset creation to factory
7618 * vspace.C: avoid direct usage of LyXText, ws changes
7621 don't provide direct access to WorkArea, use two simple
7622 acessors haveSelction() and workHeight() instead
7625 2002-08-29 John Levon <levon@movementarian.org>
7627 * BufferView_pimpl.C (dispatch): do not continue when
7630 2002-08-28 André Pönitz <poenitz@gmx.net>
7632 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7635 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7637 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7639 * buffer.C: increment LYX_FORMAT to 221
7641 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7642 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7644 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7646 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7648 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7650 * factory.C (createInset): use LyXTextClass::floats
7652 * MenuBackend.C (expandFloatListInsert):
7653 (expandFloatInsert):
7656 * text2.C (setCounter):
7658 * LaTeXFeatures.C (useFloat):
7659 (getFloatDefinitions):
7661 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7663 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7664 floatlist_, with accessor floats().
7666 * FloatList.h: remove global FloatList
7668 2002-08-26 André Pönitz <poenitz@gmx.net>
7670 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7674 * BufferView_pimpl.C:
7675 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7677 2002-08-25 John Levon <levon@movementarian.org>
7679 * LyXAction.C: fix margin note description
7681 2002-08-24 John Levon <levon@movementarian.org>
7685 * bufferview_funcs.C:
7687 * undo_funcs.C: cleanups
7689 * lyxfunc.C: disable CUT/COPY when no selection
7691 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7693 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7694 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7696 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7697 Add backward compatibility to "mono", "gray" and "no".
7699 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7701 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7702 (and file_format >= 200).
7704 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7708 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7712 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7714 * BufferView_pimpl.C:
7721 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7722 inset and code to make it work with the paragraph code. The inset
7723 can be anywhere in the paragraph, but will only do the expected
7724 thing in LaTeX if the layout file contains the parameter line
7726 (or more generally, a nonzero value) for that layout.
7728 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * paragraph.h: remove the declaration of undefined counters class
7733 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7735 * text2.C (setCounter): fixed enumeration mis-count as reported by
7736 Dr. Richard Hawkins.
7738 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7740 * paragraph_funcs.h: remove some unneeded includes
7742 * text.C (backspace): pasteParagraph now in global scipe
7744 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7745 (pasteSelection): ditto
7747 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7748 * paragraph_funcs.C (pasteParagraph): ... here
7750 2002-08-20 André Pönitz <poenitz@gmx.net>
7752 * commandtags.h: new LFUNs for swapping/copying table row/colums
7755 * lyxfunc.C: support for new lfuns
7757 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7760 * buffer.[Ch]: remove NO_COMPABILITY stuff
7762 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * boost.C (throw_exception): new file, with helper function for
7765 boost compiled without exceptions.
7770 * ParameterStruct.h:
7771 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7773 * bufferlist.C (emergencyWriteAll): use boost bind
7775 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7777 * text.C: include paragraph_funcs.h
7778 (breakParagraph): breakParagraph is now in global scope
7780 * paragraph_funcs.[Ch]: new files
7782 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7785 * buffer.C: include paragraph_funcs.h
7786 (insertStringAsLines): breakParagraph is now in global scope
7788 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7791 * CutAndPaste.C: include paragraph_funcs.h
7792 (cutSelection): breakParagraphConservative is now in global scope
7793 (pasteSelection): ditto
7795 * buffer.h: declare oprator== and operator!= for
7796 Buffer::inset_iterator
7798 * bufferlist.C (emergencyWrite): don't use fmt(...)
7800 * text3.C: add using std::endl
7802 * BufferView.C (moveCursorUpdate): remove default arg
7804 2002-08-20 André Pönitz <poenitz@gmx.net>
7806 * buffer.[Ch]: move inline functions to .C
7809 * BufferView_pimpl.C:
7811 * buffer.[Ch]: use improved inset_iterator
7814 * paragraph.[Ch]: write one paragraph at a time
7816 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7818 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7819 style if style is not specified.
7821 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7823 * text2.C (setCounter): when searching for right label for a
7824 caption, make sure to recurse to parent insets (so that a caption
7825 in a minipage in a figure float works) (bug #568)
7827 2002-08-20 André Pönitz <poenitz@gmx.net>
7829 * text3.C: new file for LyXText::dispatch() and helpers
7831 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7833 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7835 2002-08-19 André Pönitz <poenitz@gmx.net>
7838 * text.C: new LyXText::dispatch()
7840 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7842 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7844 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7846 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7849 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * Makefile.am: use $(variables) instead of @substitutions@
7853 2002-08-15 André Pönitz <poenitz@gmx.net>
7856 * BufferView_pimpl.C: streamlining mathed <-> outer world
7860 * LyXAction.C: remove unused LFUN_MATH
7862 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7866 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * paragraph.C (Paragraph): reformat a bit
7869 (cutIntoMinibuffer): use builtin InsetList function instad of
7873 * buffer.C: include boost/bind.hpp, add using std::for_each
7874 (writeFileAscii): use ParagraphList iterators
7875 (validate): use for_each for validate traversal of paragraphs
7876 (getBibkeyList): use ParagraphList iterators
7877 (resizeInsets): use for_each to resizeInsetsLyXText for all
7879 (getParFromID): use ParagraphList iterators
7881 * BufferView2.C (lockInset): use paragraph list and iterators
7883 2002-08-14 John Levon <levon@movementarian.org>
7885 * lyxserver.C: remove spurious xforms include
7887 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7889 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7891 2002-08-13 André Pönitz <poenitz@gmx.net>
7894 * lyxfunc.C: further cleaning
7896 2002-08-13 André Pönitz <poenitz@gmx.net>
7898 * funcrequest.h: new constructor
7900 * funcrequest.C: move stuff here from .h
7903 * BufferView_pimpl.C:
7906 * lyxfunc.C: subsequent changes
7908 * lyxfunc.h: new view() member function
7910 * lyxfunc.C: subsequent changes
7912 2002-08-13 Angus Leeming <leeming@lyx.org>
7915 * BufferView_pimpl.C:
7923 changes due to the changed LyXView interface that now returns references
7924 to member variables not pointers.
7926 2002-08-13 Angus Leeming <leeming@lyx.org>
7928 * WordLangTuple (word, lang_code): return references to strings,
7933 * lyxtext.h: forward-declare WordLangTuple.
7938 * text.C: #include "WordLangTuple.h".
7941 * text.C: (selectNextWordToSpellcheck): constify return type.
7943 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7949 * paragraph_pimpl.h:
7952 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7954 Made updateCounter always count from start of buffer, and removed
7955 second argument (par).
7956 Reverted floats number display to '#'. Perhaps I'll try again when the
7957 code base is sanitized a bit.
7959 2002-08-12 Angus Leeming <leeming@lyx.org>
7961 * buffer.[Ch] (getLabelList): constify.
7963 2002-08-07 André Pönitz <poenitz@gmx.net>
7965 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7967 * funcrequest.h: extension to keep mouse (x,y) position
7969 2002-08-12 Juergen Vigna <jug@sad.it>
7971 * BufferView2.C (insertErrors): forbid undo when inserting error
7974 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7976 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * ParagraphList.[Ch]: new files
7980 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7982 * BufferView2.C (lockInset): ParagraphList changes
7985 * bufferlist.C: ditto
7989 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7992 unused class variable counter_,
7994 * paragraph.[Ch] (getFirstCounter): delete unused function
7996 * counters.C: include LAssert.h
7997 (reset): add a new function with no arg, change other version to
7998 not have def. arg and to not allow empty arg.
8000 * text2.C (setCounter): remove empty arg from call to Counters::reset
8002 2002-08-11 John Levon <levon@movementarian.org>
8004 * Makefile.am: add WordLangTuple.h
8006 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8009 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8011 * insets/insettext.C: InsetList changes
8013 * graphics/GraphicsSupport.C (operator()): InsetList changes
8015 * toc.C (getTocList): InsetList changes
8017 * paragraph_pimpl.[Ch]: InsetList changes
8019 * paragraph.[Ch]: InsetList changes
8021 * buffer.C (inset_iterator): InsetList changes
8022 (setParagraph): ditto
8023 * buffer.h (inset_iterator): ditto
8024 * iterators.C (operator++): ditto
8025 * iterators.h: ditto
8027 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8029 * InsetList.[Ch]: new files, most InsetList handling moved out of
8032 * BufferView2.C (removeAutoInsets): InsetList changes
8034 (ChangeInsets): ditto
8036 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * paragraph_pimpl.h (empty): new function
8040 * paragraph.[Ch] (empty): new function
8042 * other files: use the new Paragraph::empty function
8044 2002-08-09 John Levon <levon@movementarian.org>
8046 * lyxtext.h: remove unused refresh_height
8048 2002-08-09 John Levon <levon@movementarian.org>
8055 * paragraph.C: move sgml char escaping out of paragraph
8058 * paragraph.C: remove id setter
8062 * paragraph_pimpl.C: remove dead tex_code_break_column
8064 * bufferview_funcs.C: small cleanup
8066 * lyxfunc.C: remove dead proto
8068 * lyxtext.h: make some stuff private. Remove some dead stuff.
8070 * lyxgluelength.C: make as[LyX]String() readable
8072 2002-08-08 John Levon <levon@movementarian.org>
8077 * ToolbarDefaults.C:
8080 * toc.C: lyxaction cleanup
8082 2002-08-08 John Levon <levon@movementarian.org>
8084 * BufferView2.C: small cleanup
8087 * lyxfind.C: move unnecessary header into the .C
8089 2002-08-08 John Levon <levon@movementarian.org>
8091 * funcrequest.h: just tedious nonsense
8094 * lyx_main.C: cleanups
8097 * vspace.C: remove dead header lyx_main.h
8099 2002-08-07 Angus Leeming <leeming@lyx.org>
8102 * paragraph_pimpl.h:
8103 Forward declare class Counters in paragraph.h by moving the ctrs member
8104 variable into Paragraph::Pimpl.
8105 (counters): new method, returning a reference to pimpl_->ctrs.
8107 * text2.C: ensuing changes.
8109 2002-08-07 John Levon <levon@movementarian.org>
8111 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8113 * BufferView_pimpl.C: announce X selection on double/triple
8116 * lyx_main.C: use correct bool in batch dispatch
8118 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8120 2002-08-07 André Pönitz <poenitz@gmx.net>
8122 * funcrequest.h: new class to wrap a kb_action and its argument
8125 * BufferView_pimpl[Ch]:
8129 * lyxrc.C: subsequent changes
8132 2002-08-07 John Levon <levon@movementarian.org>
8134 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8135 document options change.
8137 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8142 * makefile.am: move counters functionality over from
8143 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8145 2002-08-06 John Levon <levon@movementarian.org>
8147 * WordLangTuple.h: new file for word + language code tuple
8158 * BufferView2.C: use WordLangTuple
8161 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8163 2002-08-06 John Levon <levon@movementarian.org>
8165 * lyx_main.C: fix cmdline batch handling
8167 2002-08-06 André Pönitz <poenitz@gmx.net>
8169 * lyxrc.C: set default for show_banner to true
8171 2002-08-06 John Levon <levon@movementarian.org>
8173 * pspell.C: fix a crash, and allow new aspell to work
8175 2002-08-06 John Levon <levon@movementarian.org>
8178 * kbmap.C: small cleanup
8181 * vspace.C: add const
8183 2002-08-05 John Levon <levon@movementarian.org>
8185 * LyXAction.C: back to tabular-insert
8187 2002-08-04 John Levon <levon@movementarian.org>
8190 * BufferView.C: cosmetic change
8192 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8202 * BufferView2.C: purge all "Lyx" not "LyX" strings
8205 * lyxcursor.C: attempt to add some documentation
8210 * ToolbarDefaults.C:
8211 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8212 merge with LFUN_TABULAR_INSERT
8219 * pspell.C: split up i/pspell implementations into separate
8220 files, many cleanups
8222 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8224 * text2.C: some cleanup
8226 * lyxfunc.C: don't check for isp_command == "none" any more, it
8227 didn't make any sense
8229 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8234 * makefile.am: move counters functionality over
8235 from text2.C/paragraph.[Ch] to counters.[Ch], and
8237 2002-08-02 John Levon <levon@movementarian.org>
8239 * buffer.C: s/lyxconvert/lyx2lyx/
8241 2002-08-02 Angus Leeming <leeming@lyx.org>
8243 * lyxlex.C: revert John's change as it breaks reading of the user
8246 2002-08-02 Angus Leeming <leeming@lyx.org>
8248 * importer.C (Import):
8249 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8250 changes due to LyXView::view() now returning a boost::shared_ptr.
8252 2002-08-02 John Levon <levon@movementarian.org>
8254 * lyxlex.C: small cleanup
8256 2002-08-02 John Levon <levon@movementarian.org>
8258 * text2.C (status): small cleanup, no logic change
8260 2002-08-01 John Levon <levon@movementarian.org>
8263 * buffer.C (writeFile): don't output alerts, caller
8267 * lyx_cb.C: from above
8269 * lyxfunc.C: allow to open non-existent files
8271 2002-07-31 John Levon <levon@movementarian.org>
8273 * lyxserver.C: don't let incidental errors get
8276 2002-07-30 John Levon <levon@movementarian.org>
8278 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8280 2002-07-30 John Levon <levon@movementarian.org>
8283 * lyxserver.C: remove I/O callback too
8285 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8287 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8290 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * many files: strip,frontStrip -> trim,ltrim,rtrim
8294 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8296 * PrinterParams.h: remove extern containsOnly, and include
8297 support/lstrings.h instead.
8299 * LaTeX.C (scanAuxFile): modify because of strip changes
8301 * buffer.C (makeLaTeXFile): ditto
8302 * bufferparams.C (writeFile): ditt
8303 * lyxfont.C (stateText): ditto
8304 * lyxserver.C (read_ready): ditto
8305 * vc-backend.C (scanMaster): ditto
8307 * BufferView_pimpl.h: ws changes
8309 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8311 2002-07-26 André Pönitz <poenitz@gmx.net>
8313 * kb_sequence.C: remove unnedred usings
8315 2002-07-26 Juergen Vigna <jug@sad.it>
8317 * lyxfind.C (LyXReplace): we have to check better if the returned
8318 text is not of theLockingInset()->getLockingInset().
8320 2002-07-25 Juergen Vigna <jug@sad.it>
8322 * lyxfind.C (LyXReplace): don't replace if we don't get the
8325 * undo_funcs.C (createUndo): remove debugging code.
8327 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8329 * buffer.C (parseSingleLyXformat2Token): Use default placement
8330 when reading old floats.
8332 * FloatList.C (FloatList): Change the default placement of figure
8333 and tables to "tbp".
8335 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8337 * MenuBackend.C: using std::max
8339 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * MenuBackend.C (expandToc):
8342 (expandToc2): code moved from xforms menu frontend. It is now
8343 generic and TOCs are transparent to menu frontends.
8345 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * toc.C (getTocList): protect against buf=0
8349 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8350 Menu as first parameter. Now, this calls itself recursively to
8351 expand a whole tree (this will be useful for TOC handling)
8352 (expandFloatInsert): remove 'wide' version of floats
8354 * MenuBackend.h (submenuname): returns the name of the submenu.
8355 (submenu): returns the submenu itself, provided it has been
8356 created by MenuBackend::expand
8358 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8360 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8361 insets which have noFontChange == true. (bug #172)
8363 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8365 * BufferView_pimpl.C: add connection objects and use them...
8368 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8370 * MenuBackend.C (expandLastfiles):
8373 (expandFloatListInsert):
8374 (expandFloatInsert):
8375 (expand): split expand in parts
8377 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8379 * lyx_gui.C: use lyx_gui::exit()
8381 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8383 * LyXAction.C: show the failing pseudo action
8385 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8387 * buffer.C (readFile): Run the lyxconvert script in order to read
8390 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8394 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8396 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8400 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8402 2002-07-22 Herbert Voss <voss@lyx.org>
8405 * lyxlength.[Ch]: add support for the vertical lengths
8407 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8409 * toc.[Ch]: std:: fixes
8411 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8413 * lyxrc.C: do not include lyx_main.h
8415 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8421 * BufferView2.C: include "lyxlex.h"
8424 * bufferparams.h: do not #include "lyxlex.h"
8426 * lyxtextclasslist.C (Add): remove method
8427 (classlist): renamed to classlist_
8429 * paragraph_pimpl.C:
8433 * bufferview_funcs.C:
8438 * toc.C (getTocList): use BufferParams::getLyXTextClass
8440 * toc.C (getTocList): use InsetFloat::addToToc
8442 * toc.[Ch]: new files, containing helper functions to handle table
8445 * lyxfunc.C (dispatch): no need to remove spaces around command
8447 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8448 first command of the sequence; it is not very clever, but I do not
8449 have a better idea, actually
8451 * LyXAction.C (LookupFunc): make sure to remove space at the
8452 beginning and end of the command
8454 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8456 * MenuBackend.C (getMenubar): new method: return the menubar of
8458 (read): treat differently reading of menu and menubar (in
8459 particular, the menubar has no name now)
8460 (Menu::menubar): remove
8462 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8465 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8467 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8468 a bibitem inset in a RTL paragraph.
8470 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8472 * paragraph_pimpl.C: constify
8474 * BufferView_pimpl.C:
8476 * lyxfunc.C: fix dispatch in a nicer way
8478 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8480 * lyxfunc.C (dispatch):
8481 * BufferView_pimpl.C:
8482 * BufferView_pimpl.h:
8484 * BufferView.h: rename Dispatch() to dispatch()
8486 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8488 * lyxlayout.C (Read): honor DependsOn tag
8490 * lyxlayout.[Ch] (depends_on): new method
8492 * version.C.in: update lyx_docversion
8494 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8496 * paragraph.C (validate): remove from here...
8497 * paragraph_pimpl.C (validate): ... and move here
8498 (isTextAt): make it const
8500 * buffer.C (getLists): ws cleanup
8502 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8504 * language.C (read): Use iso8859-1 encoding in latex_lang
8505 (this prevents LyX from crashing when using iso10646-1 encoding).
8507 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * text2.C (toggleInset): if cursor is inside an inset, close the
8510 inset and leave cursor _after_ it
8512 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8514 * lyxfunc.C: move minibuffer completion handling out of here
8516 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8518 * BufferView_pimpl.C:
8519 * LaTeX.C: fix dispatch calls
8521 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8523 * text.C (drawChars): Fix Arabic text rendering.
8525 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8529 * lyxfunc.C: remove message-push/pop
8533 * lyxfunc.C: rationalise some code by removing verboseDispatch
8534 in favour of a bool argument to dispatch()
8536 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8538 * lyx_main.C (init): make sure to read symlinks as absolute paths
8540 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxfunc.C: no need for commandshortcut to be a member
8545 2002-07-15 André Pönitz <poenitz@gmx.net>
8547 * converter.C: add support for $$s (scripts from lib/scripts dir)
8548 * lyx_main.C: white space
8550 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8554 * lyxrc.C: remove second exit confirmation
8556 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8561 * BufferView_pimpl.h:
8562 * BufferView_pimpl.C:
8563 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8565 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8567 * MenuBackend.C (expand): add numeric shortcuts to document menu
8569 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8571 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8573 * lyxfont.C (setLyXFamily):
8580 * buffer.C (asciiParagraph): use ascii_lowercase
8582 2002-07-15 Mike Fabian <mfabian@suse.de>
8584 * lyxlex_pimpl.C (search_kw):
8585 * lyxlex.C (getLongString):
8586 * converter.h (operator<):
8587 * converter.C (operator<):
8588 * buffer.C (parseSingleLyXformat2Token):
8590 * ToolbarDefaults.C (read):
8591 * MenuBackend.C (checkShortcuts):
8593 * LColor.C (getFromGUIName):
8594 (getFromLyXName): use the compare_ascii_no_case instead of
8595 compare_no_case, because in turkish, 'i' is not the lowercase
8596 version of 'I', and thus turkish locale breaks parsing of tags.
8598 2002-07-16 Angus Leeming <leeming@lyx.org>
8600 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8601 now takes a Buffer const & argument.
8603 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8605 * BufferView.C (resize): check there's a buffer to resize
8607 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8609 * lyxfunc.C: remove dead code
8612 * lyxserver.C: use lyx_guii::set_read_callback
8614 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8616 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8617 an inset in a RTL paragraph.
8619 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8621 * lyxfunc.C: repaint after a font size update
8623 2002-07-15 André Pönitz <poenitz@gmx.net>
8625 * lyxlength.C: inBP should be able to return negative values
8627 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8629 * lyxfunc.C: use lyx_gui::update_fonts()
8631 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8633 * lyxfunc.C: use lyx_gui::update_color()
8635 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8641 * lyxrc.C: remove file->new asks for name option, and let
8642 buffer-new take an argument
8644 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8646 * BufferView_pimpl.C: remove unneeded extra repaint()
8648 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8650 * LyXAction.C: allow command-sequence with NoBuffer
8652 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8654 2002-07-10 Angus Leeming <leeming@lyx.org>
8656 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8658 2002-07-09 Angus Leeming <leeming@lyx.org>
8660 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8662 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8664 * lengthcommon.h: whitespace
8666 * lyxfunc.C: update scrollbar after goto paragraph
8668 * lyxtext.h: factor out page break drawing, and fix it so
8669 page break/added space paints as selected nicely
8671 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8673 * BufferView_pimpl.C: add FIXMEs, clean up a little
8675 2002-07-09 André Pönitz <poenitz@gmx.net>
8677 * lyxfont.[Ch]: support for wasy symbols
8679 2002-07-08 André Pönitz <poenitz@gmx.net>
8681 * BufferView_pimpl.C: apply John's patch for #93.
8683 2002-07-05 Angus Leeming <leeming@lyx.org>
8685 * BufferView_pimpl.C (buffer): generate previews if desired.
8687 * LColor.h: add "preview" to the color enum.
8689 * LColor.C (LColor): add a corresponding entry to the items array.
8691 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8694 2002-07-05 Angus Leeming <leeming@lyx.org>
8696 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8697 The body of the code is now in the method that is passed an ostream &
8698 rather than a file name.
8699 Pass an additional only_preamble parameter, useful for the forthcoming
8702 2002-07-03 André Pönitz <poenitz@gmx.net>
8704 * lyxfunc.C: simplify getStatus() a bit for math stuff
8706 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8708 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8710 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8712 * text.C (changeRegionCase): do not change case of all the
8713 document when region ends at paragraph end (bug #461)
8715 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8717 * paragraph.C (startTeXParParams):
8718 (endTeXParParams): add \protect when necessary
8720 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * BufferView_pimpl.C (workAreaExpose): remove warning
8724 2002-06-27 Angus Leeming <leeming@lyx.org>
8726 * Makefile.am: add lyxlayout_ptr_fwd.h.
8728 2002-06-26 André Pönitz <poenitz@gmx.net>
8730 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8732 2002-06-25 Angus Leeming <leeming@lyx.org>
8734 * lyxfunc.C (dispatch): Comment out the call to
8735 grfx::GCache::changeDisplay. The method no longer exists now that the
8736 pixmap generation part of the graphics loader has been moved into
8739 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8741 * text2.C: layout as layout
8743 * text.C: layout as layout
8745 * tabular.C (OldFormatRead): layout as layout
8747 * paragraph_pimpl.C (TeXDeeper): layout as layout
8748 (realizeFont): layout as layout
8750 * paragraph.C (writeFile): layout as layout
8751 (validate): layout as layout
8752 (getFont): layout as layout
8753 (getLabelFont): layout as layout
8754 (getLayoutFont): layout as layout
8755 (breakParagraph): layout as layout
8756 (stripLeadingSpaces): layout as layout
8757 (getEndLabel): layout as layout
8758 (getMaxDepthAfter): layout as layout
8759 (applyLayout): layout as layout
8760 (TeXOnePar): layout as layout
8761 (simpleTeXOnePar): layout as layout
8762 (TeXEnvironment): layout as layout
8763 (layout): layout as layout
8764 (layout): layout as layout
8766 * lyxtextclass.C (compare_name): new functor to work with
8767 shared_ptr, layout as layout
8768 (Read): layout as layout
8769 (hasLayout): layout as layout
8770 (operator): layout as layout
8771 (delete_layout): layout as layout
8772 (defaultLayout): layout as layout
8774 * lyxlayout_ptr_fwd.h: new file
8776 * lyxlayout.C (Read): layout as layout
8778 * lyx_cb.C (MenuInsertLabel): layout as layout
8780 * bufferlist.C (newFile): layout as layout
8782 * buffer.C (readLyXformat2): layout as layout
8783 (parseSingleLyXformat2Token): layout as layout
8784 (insertStringAsLines): layout as layout
8785 (asciiParagraph): layout as layout
8786 (latexParagraphs): layout as layout
8787 (makeLinuxDocFile): layout as layout
8788 (simpleLinuxDocOnePar): layout as layout
8789 (makeDocBookFile): layout as layout
8790 (simpleDocBookOnePar): layout as layout
8791 (getLists): layout as layout
8793 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8795 * CutAndPaste.C (cutSelection): layout as layout
8796 (pasteSelection): layout as layout
8797 (SwitchLayoutsBetweenClasses): layout as layout
8799 * BufferView_pimpl.C (Dispatch): layout as layout
8800 (smartQuote): layout as layout
8802 * BufferView2.C (unlockInset): layout as layout
8804 2002-06-24 André Pönitz <poenitz@gmx.net>
8806 * lyxfunc.C: fix #487
8808 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8812 * lyxfunc.C: remove display_shortcuts, show_banner
8814 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8816 * Buffer_pimpl.C: oops, update on resize
8818 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8825 * BufferView.C: use repaint()
8827 * BufferView_pimpl.h:
8828 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8829 as it's a clearer description. Remove superfluous
8832 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8834 * text.C: fix bug 488. Not ideal, but getting
8835 getWord() to work properly for the insets that
8836 matter is more difficult ...
8838 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8840 * BufferView_pimpl.C:
8843 * lyxfunc.C: remove the six million index lyxfuncs to just
8844 one, and DTRT (bug 458)
8846 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8850 * BufferView_pimpl.h:
8851 * BufferView_pimpl.C: clean up resize() stuff,
8852 and unnecessary updateScreen()s
8854 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8858 * BufferView_pimpl.h:
8859 * BufferView_pimpl.C:
8862 * minibuffer.C: remove focus management of workarea,
8863 not needed. Use screen's greyOut()
8865 2002-06-17 Herbert Voss <voss@lyx.org>
8867 * converter.C: (convert) do not post a message, when converting
8868 fails, let the calling function decide what to do in this case
8870 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8872 * lyxfunc.C: tidy up a little
8874 2002-06-16 <alstrup@diku.dk>
8876 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8877 Got rid of FORMS_H_LOCATION include. Now we are
8880 2002-06-15 LyX Development team <lyx@rilke>
8882 * buffer.[Ch] (sgmlOpenTag):
8883 (sgmlCloseTag): Added support for avoiding pernicious mixed
8884 content. Return number of lines written.
8887 (makeDocBookFile): Fixed calls to sgml*Tag.
8888 Simple white space clean.
8890 (simpleDocBookOnePar): Simple white space clean.
8892 * tabular.[Ch] (docBook): Renamed to docbook and got another
8893 argument to related with the pernicious mixed content.
8895 (docbookRow): Fixed calls for docbook inset method.
8897 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8899 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8900 so it's X11 independent.
8904 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8906 2002-06-15 Lyx Development team <lyx@electronia>
8908 * intl.h: Renamed getTrans to getTransManager.
8910 2002-06-14 Angus Leeming <leeming@lyx.org>
8912 * Makefile.am: nuke forgotten stl_string_fwd.h.
8914 2002-06-12 Angus Leeming <leeming@lyx.org>
8916 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8918 2002-06-13 Angus Leeming <leeming@lyx.org>
8921 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8923 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8925 * kbmap.C (getiso): add support for cyrillic and greek
8927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.h:
8932 * BufferView_pimpl.C: move bogus scrolling logic
8935 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8938 * BufferView_pimpl.C: view->resize() change
8940 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8942 * BufferView_pimpl.C: topCursorVisible
8945 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8949 * lyx_gui.C: move to frontends/
8953 * lyx_main.C: changes from above
8955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8962 * lyx_main.C: minor tidy
8964 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8966 * BufferView_pimpl.h:
8967 * BufferView_pimpl.C:
8969 * BufferView.C: make painter() const,
8972 * BufferView2.C: use screen() accessor
8975 * lyx_main.C: some minor cleanup
8977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView_pimpl.h:
8980 * BufferView_pimpl.C: remove enter/leaveView,
8983 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8988 * BufferView_pimpl.h:
8989 * BufferView_pimpl.C: only construct screen once,
8992 * lyxrc.C: remove pointless comment
8994 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8997 * BufferView.C: remove active() and belowMouse()
8999 * BufferView_pimpl.h:
9000 * BufferView_pimpl.C: use workarea() not workarea_,
9001 and make it use a scoped_ptr instead
9003 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9005 * lyx_gui.C: add debug message on BadWindow
9007 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9009 * sp_spell.C: fdopen is not part of the C++ standard.
9011 * paragraph.C (InsetIterator): use >= instead of ==
9013 2002-06-07 Angus Leeming <leeming@lyx.org>
9015 Fixes needed to compile with Compaq cxx 6.5.
9016 * BufferView_pimpl.C:
9023 * lyxtextclasslist.C:
9028 all c-library variables have been moved into namespace std. Wrap
9029 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9034 Add a using std::abs declaration.
9036 * kbmap.h (modifier_pair):
9037 * paragraph.h (InsetTable, InsetList):
9038 * lyxfont.h (FontBits):
9039 type definition made public.
9041 * bufferlist.C (emergencyWriteAll): the compiler complains that
9042 there is more than one possible lyx::class_fun template to choose from.
9043 I re-named the void specialisation as lyx::void_class_fun.
9045 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9047 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9048 the compiler is is unable to find tostr in write_attribute.
9050 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9052 * buffer.C (sgmlError): hide #warning
9054 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * xtl/*: get rid of xtl, which is not in use anyway
9058 * LyXAction.C (init):
9059 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9060 were unimplemented xtl experimentation
9062 2002-06-04 André Pönitz <poenitz@gmx.net>
9064 * lyxfunc.C: disable array operation on simple formulae
9066 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9068 * converter.C: constify a bit
9070 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9072 * lyx_gui.C: check xforms version correctly
9074 2002-04-30 Herbert Voss <voss@lyx.org>
9076 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9079 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9081 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9082 attempt to register it with a VCS)
9084 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * lyx_main.C (init): honor variables LYX_DIR_13x and
9089 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9093 * lyx_main.C: fix a crash on bad command line,
9094 and give a useful exit status on error
9096 * lyxfunc.C (doImport): allow -i lyx to work
9098 2002-03-30 André Pönitz <poenitz@gmx.net>
9100 * lyxfunc.C: mathed font changes
9102 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9117 * trans_mgr.h: srcdocs, and some minor cleanups
9119 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9121 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9122 call getFont all the time)
9124 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * switch from SigC signals to boost::signals
9128 2002-05-29 André Pönitz <poenitz@gmx.net>
9130 * paragraph_pimpl.C (getChar): don't call size() too often...
9132 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * paragraph_pimpl.C (insertChar): do not try to update tables when
9135 appending (pos == size())
9137 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9138 in order to reduce drastically the number of comparisons needed to
9139 parse a large document
9141 2002-05-29 André Pönitz <poenitz@gmx.net>
9147 * textclasslist.[Ch]:
9148 * sp_ispell.h: whitespace change
9150 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9152 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9153 lyxaction directly now.
9155 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9159 * lyxvc.C: remove unused headers
9161 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9168 * undo_funcs.C: some cleanups. Use shared_ptr
9169 and a template for the undo stacks.
9171 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9173 * BufferView_pimpl.h:
9174 * BufferView_pimpl.C:
9181 * text2.C: use key_state/mouse_state
9183 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9185 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9188 * chset.C: change include order
9189 (loadFile): use boost regex and get rid of LRegex and LSubstring
9191 * Makefile.am (BOOST_LIBS): new variable
9194 * LaTeX.C: change include order.
9195 (scanAuxFile): use boost regex and get rid of LRegex and
9199 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9204 * FontInfo.C: moved to frontends/xforms/
9207 * FontLoader.C: moved into frontends for GUIIzation
9212 * lyxfunc.C: changes from above
9214 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9216 * LColor.C: remove spurious X include
9218 * BufferView_pimpl.C:
9223 * text2.C: move font metrics to frontends/
9225 2002-05-24 Juergen Vigna <jug@sad.it>
9227 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9228 setting the undo_cursor.
9230 * ParagraphParameters.h: include local includes first.
9232 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9234 * BufferView_pimpl.C:
9235 * BufferView_pimpl.h:
9239 * screen.C: move WorkArea into frontends/
9245 * BufferView2.C: move LyXScreen into frontends/
9249 * lyx_gui.C: move lyxlookup into frontends/xforms/
9251 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9254 * BufferView_pimpl.C:
9264 * bufferview_funcs.C:
9277 * vc-backend.C: move LyX/XFormsView into frontends/
9279 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9291 * text2.C: move Painter to frontends/
9293 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9295 * buffer.C: comment out some some code that depend upon lyx_format
9298 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9299 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9301 * buffer.h (NO_COMPABILITY): turn off compability
9303 * ColorHandler.C: include scoped_array.hpp
9305 * font.C: Use more specific smart_ptr header.
9308 * ShareContainer.h: ditto
9312 * BufferView_pimpl.h: ditto
9313 * ColorHandler.h: ditto
9315 * kbmap.C (defkey): change call to shared_ptr::reset
9317 2002-05-21 Juergen Vigna <jug@sad.it>
9319 * buffer.C (insertErtContents): fix to insert ert asis if it is
9320 non empty. Skip it completely if it contains only whitespaces.
9322 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9324 * BufferView_pimpl.C:
9325 * BufferView2.C: clear selection on paste (bug 393)
9327 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * DepTable.C: include ctime
9331 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9333 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9335 2002-05-14 Juergen Vigna <jug@sad.it>
9337 * text.C (breakParagraph): fixed function to honor the keepempty
9338 layout in the right maner and also to permit the right breaking
9339 algorithm on empty or non empyt keepempty paragraphs.
9341 * paragraph.C (breakParagraph): we have to check also if the par
9342 is really empty (!size()) for isempty otherwise we do the wrong
9345 2002-05-10 Juergen Vigna <jug@sad.it>
9347 * buffer.[Ch] : The following are only changes to the ert
9348 compatibility read reading old LaTeX layout and font stuff and
9349 convert it to ERTInsets.
9351 * buffer.h: added isErtInset().
9353 * buffer.C (struct ErtComp): add a fromlayout bool to check
9354 if we're inside a LaTeX layout.
9355 (isErtInset): new helper function.
9356 (insertErtContents): look for other ert insets before this one
9357 and insert the contents there, so that we don't have subsequent
9358 ERT insets with nothing between them. This way we create only one
9359 inset with multiple paragraphs. Also check if we don't insert only
9360 spaces ' ' as they are ignored anyway afterwards in the .tex file
9361 so if we have only spaces we will ignore this latex part in the
9363 (parseSingleLyXformat2Token \\layout): better compatibility when
9364 reading layout-latex stuff.
9365 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9367 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9368 stuff after reading the inset only get the information back from
9371 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9373 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9375 * LaTeXFeatures.C (getBabelOptions): New method.
9377 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * BufferView_pimpl.C (Dispatch): work around missing argument for
9382 2002-05-08 Juergen Vigna <jug@sad.it>
9384 * text.C (leftMargin): handle paragraph leftindent.
9386 * paragraph.C (writeFile): write the new \\leftindent tag.
9387 (validate): handle leftindent code.
9388 (TeXEnvironment): handle paragraphleftindent code again.
9390 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9392 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9393 for paragrap_extra indent code and new token \\leftindent.
9394 (latexParagraphs): handle the leftindent as environment.
9396 * ParameterStruct.h: added leftindent support.
9398 * ParagraphParameters.C (leftIndent): added support functions for
9399 the paragraph left indent.
9401 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9404 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9406 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9409 * text.C (computeBidiTables): No bidi in insetERT.
9411 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9414 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * version.C.in: pre 5
9418 2002-05-02 José Matos <jamatos@fep.up.pt>
9419 * buffer.C (makeDocBookFile): white space changes, add newline to
9421 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9423 * tabular.C (docBook): fix typo.
9425 2002-05-03 Juergen Vigna <jug@sad.it>
9427 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9428 change in LyXText as we can not be sure it was not freed.
9429 (drawOneRow): remove unused code.
9431 * text.C (drawInset): redo the calculation of the need_break_row as
9432 it could have a row which was already freed.
9433 (draw): look at the return value of drawInset and return false if
9434 it also returned false.
9435 (paintRowText): look at the return value of draw and return false if
9436 it also returned false.
9438 * lyxtext.h: added bool return type to drawInset() and draw() so that
9439 if we have a change in the row so that the rowbreak has to be redone
9440 we abort drawing as it will be called again.
9442 2002-05-02 Juergen Vigna <jug@sad.it>
9444 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9445 a change in the maintext also if we're inside an inset.
9446 (Dispatch): set the cursor again after a break line and after the
9447 screen has been updated as it could be we're in a different row.
9449 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9450 to set the cursor behind the pargraph with > size().
9451 (setCursor): check also for the same paragraph when checking where
9452 to put the cursor if we have a NFR inset.
9454 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9455 parts of layout read further up as it still was in the wrong
9458 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9460 * screen.C (drawFromTo): change sine fullRebreak always return
9463 * buffer.C (parseSingleLyXformat2Token): reindent some
9465 * BufferView_pimpl.C (update): change since fullRebreak always
9467 (Dispatch): git rid of the last hardcoded "Standard"s.
9469 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * text2.[Ch] (fullRebreak): make it return void now that we always
9474 2002-04-30 Juergen Vigna <jug@sad.it>
9476 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9477 ert compatibility check for "latex" layout.
9479 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9481 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9482 minipages: use col% instead of p%, and also use the current font.
9483 (makeLaTeXFile): Fix use babel condition.
9484 (parseSingleLyXformat2Token): Correct font when reading old floats.
9486 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9488 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9489 inserting list of floats.
9491 2002-04-25 Herbert Voss <voss@lyx.org>
9493 * MenuBackend.C (expand): don't add the graphics extensions to the
9496 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9499 non-existing layout, do not complain if it was the default layout
9500 of the original class (bug #342)
9502 2002-04-24 Juergen Vigna <jug@sad.it>
9504 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9505 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9507 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9509 * buffer.C (getBibkeyList): If using \bibliography, return the
9510 option field with the reference itself. Enables us to provide natbib
9511 support when using \bibliography.
9513 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9515 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9517 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9518 natbib is provided by the LaTeX class.
9520 2002-04-23 Juergen Vigna <jug@sad.it>
9522 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9525 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9527 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9531 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9532 ensuremath around textordmasculine, textordfeminine and
9535 2002-04-19 Juergen Vigna <jug@sad.it>
9537 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9538 reinitializing the buffer otherwise row-dimensions may be wrong.
9539 (update): reset also the selection cursors if they do exits otherwise
9540 their x/y positions may be wrong.
9542 * text2.C (cursorDown): don't enter the inset if we came from a row
9543 above and are one row over the inset.
9545 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9546 really leaving an inset.
9548 2002-04-18 Juergen Vigna <jug@sad.it>
9550 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9551 of the selected paragraph does not have the selected layout also if
9554 * text2.C (setLayout): fixed bug which did not change last selected
9557 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9558 changed the read and substituted \\end_float with \\end_inset!
9560 * BufferView_pimpl.C (cursorPrevious):
9561 (cursorNext): fixed to make it work with rows heigher than the work
9562 area without moving the cursor only the draw of the row.
9563 (workAreaMotionNotify): fix jumping over high rows.
9565 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9570 2002-04-16 Juergen Vigna <jug@sad.it>
9572 * text2.C (setCursor): set also the irow().
9573 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9575 (cursorDown): support for locking an inset if the x_fix value goes
9576 inside it. That way I can transverse insets too with cursor up/down.
9578 * lyxrow.h: added irow helper function same as other (i) functions.
9580 * BufferView_pimpl.C (cursorPrevious):
9581 (cursorNext): fixed for insets!
9583 2002-04-15 Juergen Vigna <jug@sad.it>
9585 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9586 position otherwise it is wrong in some cases.
9588 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9589 inside the inset before the call.
9591 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9593 * buffer.[Ch] (getBibkeyList): make it const.
9595 2002-04-12 Juergen Vigna <jug@sad.it>
9597 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9599 * text2.C (getCursorX): new helper function
9600 (setCursor): compute also ix_
9601 (setCursorFromCoordinates): set also ix.
9603 * lyxcursor.h: added ix_ and helper functions.
9605 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9607 * buffer.C (insertStringAsLines): dont break paragraph if the this
9608 paragraph is inside an inset which does not permit it!
9610 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9611 also with no chars on this paragraph.
9612 (paintRowText): only paint stuff if it's inside the workarea!
9614 * paragraph.C (breakParagraph): honor keepempty flag and break the
9615 paragraph always below not above.
9617 * BufferView2.C (unlockInset): update the paragraph layout on inset
9618 unlock as we changed paragraph in such a case.
9620 * lyxfind.C (LyXFind): clear the former selection if not found!
9622 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9623 again called in insertChar().
9625 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9626 an inset which uses the whole row!
9627 (rightMargin): ditto.
9628 (insertChar): force a rebreak if we inserted an inset!
9630 2002-03-28 Herbert Voss <voss@lyx.org>
9632 * lyxlength.[Ch]: add inBP() to get the right PS-point
9633 units (BigPoint). With inPixels we have rounding errors
9635 2002-04-11 Juergen Vigna <jug@sad.it>
9637 * text2.C (setCursorFromCoordinates): set iy to the right value.
9638 (setCursor): add check if row->previous exists!
9640 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9641 an old float_type as this was the case in the old code!
9643 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9645 * BufferView2.C (showLockedInsetCursor): use iy
9646 (fitLockedInsetCursor): ditto
9648 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9649 locked insets as there we have the right value now.
9651 * lyxcursor.C: added iy_ variable and iy functions to set to the
9652 baseline of cursor-y of the locked inset.
9654 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9655 (setCursor): fixed for insets which need a full row.
9657 * text.C (rowLastPrintable): don't ignore the last space when before
9658 an inset which needs a full row.
9659 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9660 as last character of a row when before a inset which needs a full row.
9662 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * version.C.in: update date
9666 * text2.C (fullRebreak): try to always return true and see what
9669 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9671 * MenuBackend.C (expand): use Floating::listName
9673 * FloatList.C (FloatList): add listName argument to the built-in
9676 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9677 text associated with the float.
9679 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9683 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9685 * ShareContainer.h: add a couple of missing typenames.
9687 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9689 * lyxrc.C (getDescription): use _() correctly rather than N_().
9691 2002-03-28 Herbert Voss <voss@lyx.org>
9693 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9694 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9696 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9698 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9699 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9701 2002-03-29 Juergen Vigna <jug@sad.it>
9703 * lyxfunc.C (dispatch): add a missing fitCursor call.
9705 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9706 it was scrolled by a cursor move, so return the bool status.
9708 * BufferView.C (fitCursor): return the bool flag also to the outside
9709 world as this is needed.
9711 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9713 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9714 call the edit() as it is not needed (and wrong) IMO.
9715 (workAreaButtonPress): set the screen_first variable before evt.
9716 unlock the inset as this may change screen_first and then we have
9717 a wrong y position for the click!
9719 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9721 * MenuBackend.C (expand): another translation that I missed
9723 2002-03-28 Juergen Vigna <jug@sad.it>
9725 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9727 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9729 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9731 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9733 * MenuBackend.C (expand): fix export/view/update when there is no
9736 2002-03-27 Herbert Voss <voss@lyx.org>
9738 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9741 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * bufferview_funcs.C (currentState): only show paragraph number
9744 for is DEVEL_VERSION is set.
9746 * lyxfunc.C (dispatch): put warning in INFO channel
9748 * MenuBackend.C (expand): translate the name of floats
9750 * FloatList.C (FloatList): mark the float names for translation
9752 * converter.C (convert): use LibScriptSearch
9754 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * MenuBackend.C (defaults): fix default menu (we might as well get
9759 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9764 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * lyxvc.C: reorder includes.
9768 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9770 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9773 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9775 * CutAndPaste.C: change layouts earlier on paste
9776 to avoid crashing when calling getFont()
9778 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9780 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9783 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * WorkArea.C: remove 'Pending' debug message.
9787 * most files: ws cleanup
9789 * buffer.[Ch]: ws changes
9791 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9793 2002-03-21 Juergen Vigna <jug@sad.it>
9795 * tabular.C (SetMultiColumn): collapse also the contents of the
9796 cells and set the last border right. Added a Buffer const * param.
9798 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9803 2002-03-19 Juergen Vigna <jug@sad.it>
9805 * text2.C (clearSelection): reset also xsel_cache.
9807 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9808 where it needs to be called (John tells us to do so too :)
9809 (selectionLost): reset sel_cache.
9811 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9813 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * text2.C (setCursorIntern): put debuging code in INSETS channel
9817 2002-03-19 André Pönitz <poenitz@gmx.net>
9819 * lyxfunc.C: tiny whitespace change
9821 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9823 * ToolbarDefaults.C (init):
9824 * LyXAction.C (init):
9826 * BufferView_pimpl.C (Dispatch):
9827 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9829 2002-03-19 Allan Rae <rae@lyx.org>
9831 * exporter.C (Export): removeAutoInsets before doing anything else.
9832 While I've just introduced a dependency on BufferView this really is
9833 the best place to clean the buffer otherwise you need to cleanup in
9834 a dozen places before calling export or cleanup in a dozen functions
9837 * converter.C (runLaTeX):
9838 (scanLog): Better handling of removeAutoInsets and screen updates.
9840 * lyxfunc.C (dispatch): small whitespace changes
9842 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * WorkArea.C (C_WorkAreaEvent): return a value.
9845 (event_cb): return 1 if we handled the event, 0 otherwise.
9847 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9849 2002-03-18 Juergen Vigna <jug@sad.it>
9851 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9852 (GetAdditionalWidth): ditto.
9856 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9857 inset if we're there actually (probably not used right now but this
9858 is the direction to go for unifying code).
9859 (paste): disable code to clear the selection.
9861 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9862 inside an InsetText and move the check further up as it is in the
9865 * text2.C (pasteSelection): set a selection over the pasted text.
9867 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9869 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9870 and libgraphics to build on Cygwin.
9872 2002-03-15 Juergen Vigna <jug@sad.it>
9874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9875 inserting an Inset into the paragraph. I know this is not the best
9876 fix but we already use current_view in CutAndPaste so we will remove
9877 all of it's using at the same time.
9879 * buffer.C (sgmlError): deactivated function till it is rewritten in
9880 the right mode, now it can create problems.
9882 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9883 before accessing it.
9885 2002-03-14 Juergen Vigna <jug@sad.it>
9887 * undo_funcs.C (textHandleUndo): do the right thing when updating
9888 the inset after the undo/redo.
9890 * text2.C (setCursor): just some testcode for #44 not ready yet.
9892 * undo_funcs.C (textHandleUndo): set the next() and previous()
9893 pointers of the paragraph to 0 before deleting otherwise we have
9894 problems with the Paragraph::[destructor].
9896 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9897 on a paragraph insertion.
9899 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * buffer.C (asciiParagraph): use += operator for char append to
9904 * paragraph.C (getFontSettings): compare >= not just >
9905 (highestFontInRange): ditto
9908 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * paragraph.C: change several algorithm to be more appripriate for
9911 the problem domain. This is lookip in FontList and in the InsetList.
9913 2002-03-13 André Pönitz <poenitz@gmx.net>
9916 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9918 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9923 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9925 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * Painter.C (display): anon helper function, adjust code for this
9929 (pixmap): remove function.
9931 * Painter.h: remove private display variable.
9933 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9935 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9937 * WorkArea.[Ch]: remove figinset_canvas cruft.
9939 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * lyxtextclass.C (operator): add one item cache optimization.
9943 * bufferlist.h: doxy changes
9945 * bufferlist.C: ws changes
9947 * DepTable.[Ch] (ext_exist): place const in the right spot.
9949 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9951 (workAreaExpose): call resizeInsets when the with BufferView changes.
9952 (Dispatch): adjust for protectedBlank removal
9953 (specialChar): call updateInset if the insert went ok.
9955 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9956 specialChar instead.
9958 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9960 * BufferView.h: doxy change
9962 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9964 * lyxtextclass.C (operator[]): remove non-const version
9965 (defaultLayout): remove non-const version
9967 2002-03-12 Juergen Vigna <jug@sad.it>
9969 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9970 did resize the LyXText too.
9972 * buffer.C (readLyXformat2): set layout information on newly allocated
9975 * tabular.C (OldFormatRead): set layout information on the paragraph.
9977 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9979 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9981 2002-03-11 Juergen Vigna <jug@sad.it>
9983 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9985 (resizeCurrentBuffer): force also the insets to resize themselfes.
9986 (moveCursorUpdate): fixed up for InsetText.
9988 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9991 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9992 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9993 value of Dialogs::tooltipsEnabled().
9994 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9996 2002-03-08 Juergen Vigna <jug@sad.it>
9998 * BufferView_pimpl.C (updateInset): update inset inside inset also
9999 if it isn't inside theLockingInset().
10001 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * buffer.C (asciiParagraph): redo some of the word and line length
10005 (getLists): look for Caption instead of caption.
10007 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * buffer.C (Buffer): initialize niceFile to true
10011 (makeLinuxDocFile):
10012 (makeDocBookFile): make sure niceFile is true on exit
10014 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10018 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10020 * LyXSendto.C: remove.
10021 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10022 * lyx_gui.C: remove now-redundant comment.
10023 * ColorHandler.h: remove forward declaration of class WorkArea.
10024 * lyxfunc.C: remove #include "WorkArea.h".
10026 2002-03-07 Juergen Vigna <jug@sad.it>
10028 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10029 got moved away with the DEPM and also set the inset_owner always
10030 right which before could have been omitted.
10032 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10035 wanted layout is not found.
10037 2002-03-07 Juergen Vigna <jug@sad.it>
10039 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10041 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * paragraph.C (breakParagraph): use default layout not layout of
10045 (Paragraph): clear ParagraphParameters.
10047 2002-03-06 Juergen Vigna <jug@sad.it>
10049 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10050 otherwise it would not be a valid lenght. Fixed a special case in
10051 the minipage compatibility read where we end the document with a
10054 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10055 was set as it could be 0 for InsetTexts first entry.
10057 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10059 * paragraph.C (writeFile): if layout is empty write out
10060 defaultLayoutName().
10062 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10063 file without named layout we set layout to defaultLayoutName().
10065 2002-03-06 Juergen Vigna <jug@sad.it>
10067 * CutAndPaste.C (copySelection): set layout for new paragraph.
10069 * text.C (prepareToPrint): leave ERT inset left aligned
10070 (leftMargin): don't indent paragraphs inside ERT insets
10072 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * paragraph.C (breakParagraph): dont call clear do the work manually
10076 * paragraph.[Ch] (clear): remove function
10078 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10080 * paragraph.C (Paragraph): dont call clear, the work has already
10083 * lyxtextclass.C (operator): assert if n is empty
10085 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10086 work manually instead.
10088 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.C: protect selectionLost against text == 0
10092 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * text.C (breakParagraph): fix a setting layout to '0' problem.
10096 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10098 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10099 final location of file, for the included files, and graphics.
10101 2002-03-05 Juergen Vigna <jug@sad.it>
10103 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10105 2002-03-04 Juergen Vigna <jug@sad.it>
10107 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10109 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10110 last column of multicolumn cells.
10111 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10113 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10115 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10116 file if it doesn't go to a temporary file.
10118 * buffer.C (sgmlOpenTag):
10119 (sgmlCloseTag): remove extra newline insertion.
10121 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * text.C (getRowNearY): comment out debug msg
10125 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * text2.C: first -> first_y
10129 * text.C (getRowNearY): add some attemts at a possible
10130 optimization, not working.
10132 * tabular.[Ch]: add BufferParams to several function so that newly
10133 created paragraph can be initialized to he default layotu for the
10136 * tabular-old.C (ReadOld): add buf->params to call of Init
10138 * screen.C: rename text->first to text->first_y
10140 * paragraph.C (breakParagraph): always set layout in the broken
10143 * lyxtextclass.C (Read): remove lowercase
10146 (delete_layout): ditto
10148 * lyxtext.h: rename first -> first_y
10150 * lyxlayout.C (Read): remove lowercase
10153 (obsoleted_by): ditto
10155 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10157 * buffer.C (insertErtContents): add params are to InsetERT
10158 (parseSingleLyXformat2Token): add code to check if a paragraphs
10159 layout really exist.
10160 (parseSingleLyXformat2Token): add params to several inset
10162 (asciiParagraph): remove lowercase, do the layout comparisons with
10165 * BufferView_pimpl.C (cursorNext): first -> first_y
10166 (resizeCurrentBuffer): first -> first_y
10167 (updateScrollbar): first -> first_y
10168 (scrollCB): first -> first_y
10169 (workAreaMotionNotify): first -> first_y
10170 (workAreaButtonPress): first -> first_y
10171 (checkInsetHit): first -> first_y
10172 (cursorPrevious): first -> first_y
10173 (cursorNext): first -> first_y
10174 (Dispatch): add buffer_->params to severl inset contructors
10176 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10178 * lyxlayout.C (Read): remove some debug info that I forgot.
10180 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10181 clean up the code slightly.
10182 (makeLinuxDocFile): ditto
10183 (makeDocBookFile): ditto
10185 * text2.C: layout as string
10187 * text.C: layout as string
10189 * paragraph_pimpl.C: layout as string
10191 * paragraph.[Ch]: layout as string
10193 * lyxtextclasslist.[Ch]: layout as string
10195 * lyxtextclass.[Ch]: layout as string
10197 * lyxtext.h: layout as string
10199 * lyxlayout.[Ch]: layout as string
10201 * lyx_cb.C: layout as string
10203 * bufferview_funcs.C: layout as string
10205 * bufferparams.C: layout as string
10207 * buffer.C: layout as string
10209 * LyXView.[Ch]: layout as string
10211 * LaTeXFeatures.[Ch]: layout as string
10213 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10215 * BufferView_pimpl.C: change current_layout to string, remove
10220 (workAreaButtonRelease): layout as string
10222 * BufferView2.C (unlockInset): adjust
10224 * vspace.C (asLatexCommand): use an explict temp variable.
10226 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10228 * Makefile.am: use FRONTEND_*
10230 2002-03-01 Juergen Vigna <jug@sad.it>
10232 * tabular.C (SetWidthOfMulticolCell): changed to something better
10233 I hope but still work in progress.
10234 (recalculateMulticolumnsOfColumn): renamed function from
10235 recalculateMulticolCells as it is more appropriate now.
10236 (SetWidthOfCell): calculate multicols better.
10238 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10240 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10242 * lyxfunc.C (processKeySym): print sequence also if it is
10243 `deleted' (complete)
10245 * kbsequence.C (print): print sequence even if it is deleted
10246 (complete would be a better word, actually).
10248 * lyxfunc.C (dispatch): print complete options after a prefix key
10250 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10252 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10254 * text2.C (setCharFont): eliminate setCharFont code duplication.
10256 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10259 LFUN_TABULAR_FEATURE (bug #177)
10261 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10263 * Makefile.am: remove figure.h
10265 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10267 * Bufferview_pimpl.C:
10279 * text2.C: remove #include "lyx_gui_misc.h".
10281 * LaTeX.C: added #include <cstdio>
10283 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10286 that the paragraph following this one can have.
10288 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10290 * vspace.C (asLatexCommand): fix bogus gcc warning
10292 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10294 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10296 * text2.C (setLayout): get rid of redundant code
10298 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10300 * text2.C (incDepth): make sure depth cannot be increased beyond
10303 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10305 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10306 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10308 * PainterBase.h (image):
10309 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10310 a LyXImage const *.
10312 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10316 * BufferView_pimpl.C:
10317 * BufferView_pimpl.h:
10337 * sp_spell.C: remove fig inset, and the crap house of
10338 cards that follows it
10340 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10345 * os2_errortable.h:
10346 * nt_defines.h: move .h into support/
10348 * vms_defines.h: remove
10350 * WorkArea.C: add space in debug output
10354 * buffer.C: add WITH_WARNINGS
10358 * bufferlist.C: s/retrive/retrieve/, add docs
10367 * chset.C: add docs
10369 * lyxgui.C: add ID to X error handler
10371 * lyxtestclass.c: fix typo
10373 2002-02-26 Juergen Vigna <jug@sad.it>
10375 * tabular_funcs.C (write_attribute): changed so that some default
10376 attributes are not written at all.
10377 (getTokenValue): set default values before trying to read the
10378 value so we have the return value always set as default if we don't
10379 find the token we search for.
10381 * tabular.C (Write): write bools as bools not as strings!
10383 2002-02-22 Juergen Vigna <jug@sad.it>
10385 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10386 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10388 * text.C (leftMargin): don't add an indent for paragraphs inside
10389 tabular cells (fix #208).
10391 2002-02-21 José Matos <jamatos@fep.up.pt>
10393 * tabular.C (docBook): fixed support for long tables.
10395 2002-02-20 Juergen Vigna <jug@sad.it>
10397 * text2.C (getFont): get the drawing font of the Inset if this
10398 paragraph is inside an inset (only important for InsetERT for now).
10400 * buffer.C (insertErtContents): use new lanugage params in ERT
10403 * CutAndPaste.C: commenting out seemingly uneeded code.
10405 2002-02-19 Allan Rae <rae@lyx.org>
10407 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10408 Iterators might be simple to use but they also get invalidated.
10409 (removeAutoInsets): renamed saved cursor tracking variables and added
10410 some comments to clarify what everything does.
10412 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10419 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10420 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10423 * vc-backend.h: remove #include "support/syscall.h"
10427 * converter.C: rearrange #includes in Lars' approved fashion.
10429 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10430 forward declare class Timeout in the header file.
10432 * XFormsView.C: changes due to the above.
10434 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10435 similar to LyXView.
10437 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10438 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10440 2002-02-18 José Matos <jamatos@fep.up.pt>
10442 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10445 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10447 * a lot of small ws changes
10448 * add a lot of using std::XXX
10449 * use std construcs some places where approp.
10450 * use some exisint stuff from lyxfunctional where approp.
10451 * Make file changes to use partial linking (lets test this now...)
10453 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10457 remove #include "support/syscontr.h" as it's redundant. Always has been.
10465 change Systemcalls::System to Systemcalls::Wait and
10466 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10467 No change of functionality, just reflects the stripped down Systemcalls
10470 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10472 * debug.[Ch]: add a GRAPHICS type to the enum.
10474 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10478 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10481 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10483 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10484 match the changes below.
10486 * text2.C (toggleInset): if there is not editable inset at cursor
10487 position, try to see if cursor is _inside_ a collapsable inset
10490 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10492 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10493 document menu has a nice checkbox
10495 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * lyxlength.C (asLatexString): change PW to output as percent of
10500 * lengthcommon.C: change '%' to 't%'
10502 * lyxfunc.C (dispatch): a few comments from Martin
10504 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10508 * BufferView_pimpl.h:
10509 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10512 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10514 * vspace.C (inPixels): fix compiler warning
10516 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * lyxfunc.C (getStatus): fix status message for disabled commands.
10520 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10522 * BufferView_pimpl.C: fix crash on close buffer
10523 during selection (#227)
10525 2002-01-27 Herbert Voss <voss@lyx.org>
10527 * buffer.C: link old Figure to new graphic inset
10529 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10531 * FontLoader.C (getFontinfo): Change the latex font names in order
10532 to match the names of type1inst.
10534 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10538 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10539 (extchanged): ditto
10541 (remove_files_with_extension): ditto
10542 (remove_file): ditto
10545 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10546 document is smaller than the work area height. Do not initialize
10547 static variables to 0.
10549 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10553 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10554 LFUN_LAYOUT_PARAGRAPHS.
10556 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10557 tabular. It is possible to provide a possible cell, which will
10558 typically be the actcell from the corresponding insettabular
10560 * lyxfunc.C (getStatus): small cleanup; disable
10561 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10564 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10568 * paragraph.C (startTeXParParams):
10569 (endTeXParParams): new methods. The LaTeX code to
10570 start/end paragraph formatting
10571 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10572 empty (fixes bug #200)
10574 * vspace.C (inPixels): adapt to the change below
10575 (inPixels): [later] more cleanups (remove unused variables)
10577 * lyxlength.C (inPixels): change to use a width and a height as
10580 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10583 Replaced with \paperwidth
10585 * DepTable.C (insert): add std:: qualifier
10587 2002-01-18 Allan Rae <rae@lyx.org>
10589 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10592 * text.C (drawInset): Turned out I didn't know enough about how
10593 rebreaking worked. This fixes most of the redraw problems. I see
10594 an occasional cursor trail when a line is broken now and the cursor
10595 placement can seem out by a few pixels also after a rebreak.
10597 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10599 * buffer.C (parseSingleLyXformat2Token): update because minipage
10600 width is now a LyXLength
10602 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10604 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10607 2002-01-17 Juergen Vigna <jug@sad.it>
10609 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10611 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10612 is set correctly and the inset is updated correctly.
10614 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10617 the beginning of the loop.
10619 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10621 * lyxrc.C: improve help for use_scalable_fonts
10623 2002-01-17 Allan Rae <rae@lyx.org>
10625 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10627 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10629 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10630 make sure to set their inset_owner to the right value (bug #171)
10632 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10635 * DepTable.C: Implement mtime checking to reduce time spent doing
10638 2002-01-16 Juergen Vigna <jug@sad.it>
10640 * tabular.C (GetAdditionalHeight): one of error fixed.
10642 * lyxrc.C (output): small fix in writing use_pspell.
10644 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10646 * sp_base.h: #include LString.h
10648 2002-01-16 Allan Rae <rae@lyx.org>
10650 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10651 Can someone check this please?
10653 * text.C (drawInset): It was possible that p.row would be removed by
10654 breakAgainOneRow upsetting a few other settings. There may be another
10655 small tweak possible by setting need_break_row = 0 when p.row has been
10656 removed but I don't know enough about the logic here.
10658 2002-01-15 Allan Rae <rae@lyx.org>
10660 * text.C (insertChar): removed conditional truism.
10662 * BufferView2.C (removeAutoInsets): More tweaks.
10663 cur_par_prev could be a stray pointer. Check for trailing empty line
10664 in case last line was cur_par and only had an error inset on it.
10666 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10668 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10671 * vc-backend.C (most methods):
10672 * exporter.C (Export):
10673 * converter.C (convert):
10675 * LyXSendto.C (SendtoApplyCB):
10676 * lyxfunc.C (dispatch):
10680 * lyx_cb.C (AutoSave):
10682 * BufferView_pimpl.C (MenuInsertLyXFile):
10683 * buffer.C (runChktex): use Buffer::filePath().
10685 * buffer.h: rename filename to filename_; rename filepath to
10686 filepath_ and make it private
10687 (filePath): new method
10689 * buffer.C (writeFile): use fileName()
10692 * lyx_main.C (init): fix starting of LyX when the binary is a
10693 link from so,ewhere else.
10695 * minibuffer.C: include <cctype> for isprint
10697 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10699 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10700 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10701 name clash with InsetCollapsable's width function.
10703 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * lastfiles.C: include <iterator>
10707 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10709 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10712 * buffer.C (makeLaTeXFile): ditto.
10713 Also make loop operation more transparent.
10715 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10717 * ToolbarDefaults.C: remove trailing comma closing namespace.
10719 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10721 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10724 * trans.C (Load): comment out unused variable, allowed.
10726 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10728 * minibuffer.[Ch] (append_char): new method to recieve input from the
10729 drop-down completion browser. If a key was pressed, then recieve this
10730 char and append it to the existing string.
10731 (peek_event): modify the positioning data passed to the completion
10732 browser so that it can be placed above the minibuffer rather than below.
10733 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * LyXAction.C (init): alloe error-next for readonly documents.
10737 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10740 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10742 * bufferlist.C (readFile): create the buffer _after_ checking that
10745 * lyxfunc.C (verboseDispatch): fix handling of arguments
10747 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10749 * lyxrc.C: use string::erase() instead of initializing to "".
10752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10754 * BufferView_pimpl.h:
10755 * BufferView_pimpl.C:
10758 * text2.C: tell X when we have made a selection for copying
10760 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * BufferView_pimpl.C (MenuInsertLyXFile):
10763 * lyxfunc.C (menuNew):
10765 (doImport): add shortcuts to directory buttons
10767 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10770 * lyxfunc.C (setStatusMessage):
10771 (getStatusMessage): new methods
10772 (getStatus):use setStatusMessage instead of setErrorMessage
10773 (dispatch): when function is disabled, set error message here
10774 [instead of in getStatus previously]
10776 * BufferView_pimpl.C (workAreaButtonRelease): update
10777 toolbar/menubar here too.
10779 2002-01-13 Allan Rae <rae@lyx.org>
10781 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10782 Now seems indestructible. Remaining task is to audit all other
10783 code affected by deleteEmptyParagraphMechanism. One small quirk
10784 left is that an empty document with an error in the preamble can
10785 be made to report an error but no error box appears. I don't know
10787 (removeAutoInsets): Improved comments.
10789 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10792 * Thesaurus.C: update for Aiksaurus 0.14
10794 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10796 * text2.C (firstParagraph): removed member function, all uses
10797 replaces with ownerParagraph
10798 (redoParagraphs): here
10799 (updateInset): here
10800 (toggleAppendix): here
10801 * BufferView2.C (insertErrors): here
10802 (setCursorFromRow): here
10804 2002-01-13 Allan Rae <rae@lyx.org>
10806 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10807 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10808 There is still a way to segfault this although you may have to do this
10809 multiple times: Have an InsetERT with an unknown command in it.
10810 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10811 <down-arrow>, <Enter> again, View->DVI, BANG!
10813 * text2.C (setCursor):
10814 (deleteEmptyParagraphMechanism):
10815 * lyxtext.h (setCursor):
10816 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10817 Making use of the return value may help fix other bugs.
10819 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10821 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10823 * LyXView.C (updateMenubar): call MenuBar::update here
10824 (updateToolbar): but not here
10825 (showState): do not update toolbar/menubar
10827 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10828 should need to care about that.
10830 * lyxfunc.C (verboseDispatch): simplify a bit
10831 (getStatus): have a version which takes a pseudoaction, and
10832 another which requires a (kb_action,string).
10834 * LyXAction.C (retrieveActionArg): make it work also when action
10835 is not a pseudo-action.
10836 (getActionName): simplify a bit
10839 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10841 * lyxfunc.C (verboseDispatch): new families of methods with
10842 several ways to specify a command and a bool to indicate whether
10843 the command name and shortcut should be displayed in minibuffer
10844 (eventually, we could extend that to a finer bitmask like
10845 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10846 (dispatch): the pristine dispatch command which just, well,
10847 dispatchs! Note it still sets its result to minibuffer; I'm not
10850 * lyxfunc.h: remove setHintMessage
10852 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10854 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * BufferView_pimpl.C (specialChar): delete new inset if we have
10857 not been able to insert it.
10859 * kbmap.C: revert to using int instead of kb_action, since all we
10860 are dealing with is pseudo-actions.
10862 * LyXAction.C (searchActionArg): change to return int instead of
10863 kb_action, since the result is a pseudoaction.
10865 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10867 * buffer.C (insertErtContents): Fix (partially) the font bug.
10869 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10871 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10872 as the other one is broken on my machine!
10874 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10877 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10879 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10881 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10882 reflect their actual use. Provide compatibility code for older lyxrc
10885 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10887 change names of popup font variables in line with the changes to lyxrc.C
10889 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * buffer.C (asciiParagraph): avoid outputing a word twice after
10894 * lyxrc.C (getDescription): document that document_path and
10895 template_path can be empty.
10897 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * LaTeXFeatures.C (getMacros):
10900 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10902 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10904 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10906 (getPackages): rename feature "floats" to "float". Use an array to
10907 iterate over 'simple' features (i.e. just a \usepackage). Add
10908 handling of "amsmath" (renamed from "amsstyle").
10910 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10912 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10915 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10917 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10918 FuncStaus::FuncStatus & FuncStaus::some_method().
10920 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10922 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10923 of the func_satus stuff. Edited and massaged in various ways by
10926 * lyxfunc.C (getStatus): use FuncStatus
10928 2002-01-08 Juergen Vigna <jug@sad.it>
10930 * text.C (nextBreakPoint): use function Inset::isChar().
10932 * paragraph.C (TeXOnePar): use function
10933 Inset::forceDefaultParagraphs.
10935 * buffer.C (latexParagraphs): use function
10936 Inset::forceDefaultParagraphs.
10938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10940 * lyx_gui.C (init): set the style of the menu popups to
10941 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10943 2002-01-07 Juergen Vigna <jug@sad.it>
10945 * text.C (setHeightOfRow): small fix
10946 (prepareToPrint): don't look at alignment if we don't have the place
10949 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10951 * box.C: New file. Move the Box methods and functions out of box.h,
10952 following Lars' suggestion.
10954 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10956 * box.h: #include "support/LOstream.h", needed for inlined function.
10959 * lyxtextclasslist.C: added some using std declarations.
10961 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10963 * box.h: make signed dimensions to allow insets wider than
10964 the screen (bug #162)
10966 * BufferView_pimpl.C: add some insetHit debug
10968 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10970 * vc-backend.C: add FIXME
10972 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * lyxfunc.C (getStatus): enable code for showing math font status
10977 2002-01-07 Juergen Vigna <jug@sad.it>
10979 * text.C (nextBreakPoint): removed debug output not needed anymore.
10981 2002-01-06 Juergen Vigna <jug@sad.it>
10983 * text.C (nextBreakPoint): fixed up this function we had this bug
10984 since ever but now hopefully we break row better.
10985 (insertChar): we have to check if an inset is the next char as it
10986 could now happen that a large inset is causing a break.
10988 2002-01-05 Juergen Vigna <jug@sad.it>
10990 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10991 if it doesn't like to be drawed.
10993 2002-01-04 Juergen Vigna <jug@sad.it>
10995 * BufferView2.C (lockInset): forgot to set a cursor.
10997 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10999 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11001 * FormMathsPanel.C:
11004 * form_maths_panel.C:
11005 * form_maths_panel.h:
11006 * form_maths_panel.fd: implemented sub- and super- buttons in math
11009 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11010 (or ^ space) to be used as in TeX (req'd by André).
11012 * lyxfunc.C: Allow ^ and _ again to be used both as
11013 super/subscript (mathed) and as themselves (in text).
11015 2002-01-03 Allan Rae <rae@lyx.org>
11017 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11018 "LyX" or the filename of the current buffer if it has one. This is a
11019 modified form of John Levon's patch.
11021 * XFormsView.C (setWindowTitle): also set icon title.
11023 * LyXView.h (setWindowTitle): signature changed.
11024 * XFormsView.h (setWindowTitle): ditto.
11026 2002-01-02 Juergen Vigna <jug@sad.it>
11028 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11030 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * screen.C (topCursorVisible): introduce a temp var for
11033 text->cursor.row(), handle the case where this row is null. (kindo
11036 * text2.C (setCursor): add a couple of asserts.
11038 * paragraph.h (inset_iterator): add -> operator
11040 * paragraph.[Ch] (autoDeleteInsets): remove member function
11042 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11043 cursor pos correctly and handle inset deletion by itself.
11044 (insertErrors): move iterator declaration out of for expression
11046 * lyxtextclass.C: add <algorithm>
11048 * Makefile.am: added the new files to sources, removed layout.C
11050 * layout.C: removed file
11052 * layout.h: remove LYX_DUMMY_LAYOUT
11054 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11058 * lyxtextclass.[Ch]:
11059 * lyxtextclasslist.[Ch]: new files
11061 * include order changes to a lot of files, also changes because of
11064 2001-12-27 Juergen Vigna <jug@sad.it>
11066 * buffer.C (asciiParagraph): more fixes.
11068 * tabular.C (ascii): make ascii export support export of only the
11069 data separated by a column-delimiter.
11070 (ascii): better support for ascii export.
11072 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11074 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11076 * tabular_funcs.C: use a "using std::getline" instead of the
11077 previous fix from Angus (necessary for cxx + lyxstring)
11079 2001-12-24 Juergen Vigna <jug@sad.it>
11081 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11083 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11084 problems. First check a minipage also if we have some ert-contents
11085 (not only on par->size(), second set the right depth of the paragraph
11086 on the relink to the root-paragraph-list!
11088 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11089 which then did not anymore update the main paragraphs on undo/redo!
11091 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11094 code. Support all font-changing funcs (even those which are not in
11095 menu currently). Support for reporting font settings in
11096 mathed (disabled until Andre provides a function on mathed's side).
11098 * func_status.h (toggle): small helper function to set toggle
11101 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11103 * tabular_funcs.C: getline -> std::getline
11105 2001-12-21 Juergen Vigna <jug@sad.it>
11107 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11108 accessed and could be 0 (I couldn't generate this but it seems
11111 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11114 * tabular_funcs.h: here and include iosfwd
11116 2001-12-20 Juergen Vigna <jug@sad.it>
11118 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11119 inside inset but undo_par was.
11121 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * Thesaurus.C: always include <config.h> in sources.
11127 * box.h: do not include <config.h> in header files
11129 * text.C (paintLastRow): remove unused variable
11131 * text.C (transformChar):
11133 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11135 * Painter.C (text):
11136 * font.C (width): rewrite to use uppercase() instead of
11139 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11141 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11143 * lyxfind.C: clean up of find failure position change
11145 2001-12-20 Juergen Vigna <jug@sad.it>
11147 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11149 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11150 (TeXRow): added to LaTeX a single tabular row.
11151 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11152 (Latex): simplified and finally good LT-h/f support.
11153 (various_functions): just small adaptions for LT-h/f support.
11155 * tabular_funcs.[hC]: added and moved here all not classfunctions
11158 2001-12-19 Juergen Vigna <jug@sad.it>
11160 * tabular.[Ch]: better support for longtabular options (not finished
11163 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11165 * text.C (paintLastRow): use the label font instead of the font of
11166 the last character to compute the size of *_BOX. This makes more
11167 sense and avoids a crash with empty paragraphs.
11168 Use Painter::rectangle to draw EMPTY_BOX.
11170 2001-12-19 Juergen Vigna <jug@sad.it>
11172 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11173 the paragraphs if the replaced paragraph is not the first one!
11174 Tried to delete not used paragraphs but does not work yet so for
11175 now it's inside #ifdef's and by default off!
11177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * MenuBackend.C: include "lyx_main.h" instead of declaring
11180 lastfiles (actually was declared as LastFiles* instead of a
11183 2001-12-17 Juergen Vigna <jug@sad.it>
11185 * tabular.C (AppendColumn): applied John's fix
11187 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11191 * BufferView_pimpl.h:
11192 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11195 * box.h: new start of class for above
11197 * lyxfunc.C: ignore space-only minibuffer dispatches.
11198 Show the command name when it doesn't exist
11200 * minibuffer.C: don't add empty lines to the history
11202 * minibuffer.C: add a space on dropdown completion
11204 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11206 * text.C: fix line above/below drawing in insets
11208 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * lyxlength.C (LyXLength): Initialize private variables.
11212 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11215 when inserting error insets.
11217 2001-12-13 Juergen Vigna <jug@sad.it>
11219 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11220 actually sometimes the before-paragraph.
11221 (setUndo): don't clear the redostack if we're not actually undoing!
11223 2001-12-06 Juergen Vigna <jug@sad.it>
11225 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11226 and fixed redoing of main paragraph, so we can use it now ;)
11228 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11230 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11232 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11235 2001-12-13 André Pönitz <poenitz@gmx.net>
11238 * undo_func.C: minor cleanup
11240 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11243 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11244 font in urw-fonts package which is marked as -urw-fontspecific and
11245 does not work (incidentally, changing the encoding in the
11246 fonts.dir of this package to -adobe-fontspecific fixes the
11249 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11250 is a crash when undoing first paragraph (Juergen, please take a
11251 look). THis does not mean the undo fix is wrong, just that it
11254 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11255 the (Paragraph*) version when needed instead of duplicating the
11258 * text.C (workWidth): use Inset::parOwner to find out where the
11259 inset has been inserted. This is a huge performance gain for large
11260 documents with lots of insets. If Inset::parOwner is not set, fall
11261 back on the brute force method
11263 * paragraph_pimpl.C (insertInset):
11264 * paragraph.C (Paragraph):
11265 (cutIntoMinibuffer): set parOwner of insets when
11266 inserting/removing them
11268 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11270 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11276 * mathed/formulabase.C:
11277 * mathed/math_cursor.[Ch]:
11278 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11281 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11283 * lyxlength.[Ch] (operator!=): new function
11285 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * text.C (workWidth): use Inset::parOwner to find out where the
11288 inset has been inserted. This is a huge performance gain for large
11289 documents with lots of insets. If Inset::parOwner is not set, fall
11290 back on the brute force method
11292 * paragraph_pimpl.C (insertInset):
11293 * paragraph.C (Paragraph):
11294 (cutIntoMinibuffer): set parOwner of insets when
11295 inserting/removing them
11297 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11299 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * tabular-old.C (getTokenValue):
11302 * tabular.C (getTokenValue):
11303 (write_attribute): new versions for LyXLength
11304 (everywhere): adjust the use of widths
11306 * tabular.h: change the type of widths from string to LyXLength
11308 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11310 * paragraph.C: fixed missing line number count when exporting
11311 Environments to LaTeX file
11313 * buffer.C: added informational message for checking line numbers.
11315 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11318 paragraph, do the 'double space' part, but not the 'empty
11321 * text.C (workWidth): small optimization
11322 (getLengthMarkerHeight): use minimal size for negative lengths.
11324 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11326 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11328 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11330 2001-12-11 André Pönitz <poenitz@gmx.net>
11333 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11335 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11337 * text2.C: keep selection on a setFont()
11339 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11341 * lyx_cb.C: another bv->text misuse, from insert label
11343 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11346 * kbsequence.C: re-instate nmodifier mask
11348 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11350 * lyx_main.h: make lyxGUI private.
11352 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11354 * lyxfind.C: place the cursor correctly on failed search
11356 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11358 * text.C (getLengthMarkerHeight): for small heights, the arrows
11359 are not always on top/bottom of the text
11360 (drawLengthMarker): smaller arrows; take the left margin in
11361 account; draw also vfills.
11363 (paintLastRow): remove special code for vfill and standard spaces,
11364 since everything is handled in drawLengthMarker now.
11366 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * buffer.C (insertErtContents): try to handle font and language
11369 interaction a bit better.g
11371 * ColorHandler.C (updateColor): change the hash to cover the whole
11372 LColor enum, ws cleanup
11373 (getGCLinepars): ditto
11374 (getGCLinepars): only lookup in the linecache once.
11376 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11378 * iterators.C (operator++): Make the iterator more robust
11380 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11384 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11387 * text.C: better added space drawing
11389 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11392 * BufferView2.C: fix layout combo update on inset unlock
11394 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11396 * Makefile.am: don't compile unused files
11398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11402 * LyXAction.C: remove old LFUN_LAYOUTNO
11404 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11406 * paragraph_pimpl.h:
11407 * paragraph_pimpl.C: isTextAt() doesn't need font param
11409 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11412 * lyxlex.C: little cleanup
11414 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11416 * BufferView_pimpl.C: fix insertAscii for insets
11418 2001-12-05 Juergen Vigna <jug@sad.it>
11420 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11421 set the right font on the "multi" paragraph paste!
11423 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11429 * lyxlength.C: remove out-commented code.
11431 * BufferView_pimpl:
11445 * vc-backend.C: change "while(" to "while ("
11447 * lyxlength.[Ch]: add zero function to check if length is zero or
11449 * lyxgluelength.C: use it
11451 2001-12-05 Allan Rae <rae@lyx.org>
11453 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11454 Works for 2.95.3, from what I understand of Garst's reports this should
11455 work for other g++ versions. We're screwed if the abs(int) definition
11456 changed between bugfix releases of gcc.
11458 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11460 * text.C: fix chapter label offset !
11462 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11465 * text.C: fix hfill at end of line, clean up
11467 2001-12-04 Juergen Vigna <jug@sad.it>
11469 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11470 that we force an update of the inset and it's owners if neccessary.
11472 2001-12-03 Juergen Vigna <jug@sad.it>
11474 * text.C (rowLast): simplified code
11476 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11478 * lyxfunc.C: fix show options on timeout
11480 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * screen.C (topCursorVisible): scroll half a page when the cursor
11483 reached top of bottom of screen
11485 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11487 * minibuffer.C: deactivate on loss of focus
11489 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * vspace.[Ch] (operator!=): add operator.
11493 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11495 * BufferView_pimpl.C: refuse to open an inset when
11496 there's a selection.
11498 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11500 * BufferView_pimpl.C: allow to click on RHS of full row insets
11502 2001-11-30 Juergen Vigna <jug@sad.it>
11504 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11505 insets for undo reasons.
11507 2001-11-28 André Pönitz <poenitz@gmx.net>
11509 * vspace.[Ch]: cosmetical changes
11511 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11521 * kbsequence.C: part re-write of old kb code
11524 * WorkArea.C: remove Lgb_bug_find_hack
11526 2001-11-30 José Matos <jamatos@fep.up.pt>
11528 * buffer.C (makeDocBookFile): add a comment to point a hack.
11529 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11530 Fixed a double write of labels.
11532 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11535 * LaTeX.h Fixed bug in LaTeX class where it would not
11536 re-run latex if no depfiles were changed, but the .dvi was removed.
11538 2001-11-28 André Pönitz <poenitz@gmx.net>
11540 * all the files from the change on 2001/11/26:
11541 use lyx::layout_type instead of LyXTextClass::size_type
11542 use lyx::textclass_type instead of LyXTextClassList::size_type
11544 2001-11-29 Juergen Vigna <jug@sad.it>
11546 * text.C: added support for paragraph::isFreeSpacing()
11548 * buffer.C: same as above
11550 * paragraph.h: inserted isFreeSpacing() function to enable
11551 FreeSpacing inside InsetERT.
11553 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11554 of the paragraph's in the cut/copy buffer to 0!
11556 * text2.C (removeRow): remove the assert as it can!
11558 * lyxtext.h: added helper function firstRow returning firstrow and
11559 made firstrow private again.
11561 * BufferView2.C (lockInset): don't relock if we're already locked!
11563 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11564 the only paragraph.
11565 (removeRow): added Assert::(firstrow)
11567 * debug.C: forgot to add INSETTEXT here.
11569 2001-11-28 Juergen Vigna <jug@sad.it>
11571 * sp_spell.C (initialize): changed error text to more general
11572 spellchecker command use (not only ispell!)
11574 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11576 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11578 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11580 * vspace.C: initialise lyxgluelength on failure
11582 2001-11-28 Allan Rae <rae@lyx.org>
11584 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11585 declaration & definition that looks like a function declaration.
11587 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11589 * BufferView2.C (copy):
11590 (copyEnvironment): do not clear the selection when doing a copy.
11592 * text.C (paintFirstRow): compilation fix
11594 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11596 * tabular.C (Latex): correct line count when writing latex.
11598 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11600 * paragraph_pimpl.h:
11601 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11604 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11608 * LColor.C: change vfillline->added_space
11610 * text.C: add markers and text for added space
11612 * vspace.C: fix comment
11614 2001-11-28 André Pönitz <poenitz@gmx.net>
11616 * paragraph.C: whitespace changes
11617 * all the other files from the change on 2001/11/26:
11618 change *::pos_type into lyx::pos_type
11620 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11622 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11623 language of the document when inserting error insets.
11625 2001-11-26 André Pönitz <poenitz@gmx.net>
11627 * BufferView_pimpl.[Ch]:
11635 * paragraph_pimpl.[Ch]:
11638 * text2.C: reduce header dependencies, introduce type for positions
11640 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11642 * <various>: change to use Alert.h
11644 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11646 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11647 when encountering an unknown token.
11648 (readLyXformat2): Show an error message if there were unknown tokens.
11650 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11653 * BufferView_pimpl.C:
11657 * text2.C: use par->isInset()
11659 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11661 * paragraph_pimpl.h:
11662 * paragraph_pimpl.C: cleanup
11664 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * text2.C (removeRow):
11667 * text.C (setHeightOfRow): remove useless (and costly) call to
11670 2001-11-20 Allan Rae <rae@lyx.org>
11672 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11673 Now need Inset*::checkInsertChar() to return true for appropriate
11674 cases so that the characters in the minibuffer will actually be
11677 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * text.C: change the order of the includes.
11680 (workWidth): initialize it at once.
11681 (workWidth): make maxw unsigned
11682 (setHeightOfRow): remove unused variable (inset)
11683 (selectSelectedWord): remove unused variable (inset)
11684 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11686 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11688 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11689 server is not running.
11691 (closeConnection): add debug info when server is disabled.
11693 * ColorHandler.C (getGCForeground): send debug message to GUI
11696 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11698 * kbmap.C (bind): modify because return conventions of
11699 kb_sequence::parse have changed.
11701 * kbsequence.C (parse): only ignore spaces and not any stupid
11702 control character. This avoids tests like s[i] <= ' ', which are
11703 guaranteed to fail with 8bit characters and signed chars.
11704 Change return code to string::npos when there have been no error
11705 (0 was a bad idea when error is at first character)
11707 2001-11-14 José Matos <jamatos@fep.up.pt>
11710 * buffer.C (simpleDocBookOnePar): removed unused argument.
11712 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11714 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11715 insets which are part of a word. Paragraph::isLetter takes care of
11716 that now. Use Paragraph::isInset to identify insets.
11717 (selectSelectedWord): do not test for hyphenation break.
11719 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11720 that protected spaces are considered as spaces.
11722 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11725 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11728 * lyxserver.C: fix it. and small cleanup.
11730 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11732 * BufferView_pimpl.C: use inline helpers
11735 * LaTeXFeatures.C: fix typos
11738 * Spacing.C: move spacing_string into class
11740 * ToolbarDefaults.C: move stuff into namespace anon
11742 * layout.h: update enum
11744 * lyxfunc.C: use better debug
11746 * minibuffer.h: fix typo
11750 * WorkArea.C: add and use Debug::WORKAREA
11754 * text2.C: code re-organisation, inline helpers
11756 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11758 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11759 std::vector.empty().
11761 2001-11-09 Allan Rae <rae@lyx.org>
11763 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11764 '\n's after tables. Tabular and ERT inset work now makes this no
11767 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11770 * minibuffer.C: fix crash, improve drop-down completion
11772 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11775 * lyxserver.C: invalidate fd's when doing endPipe()
11777 2001-11-08 José Matos <jamatos@fep.up.pt>
11779 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11780 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11783 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11785 2001-11-07 José Matos <jamatos@fep.up.pt>
11788 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11791 * buffer.C (sgmlOpenTag):
11792 * buffer.C (sgmlCloseTag): removed debug info.
11794 * buffer.h (sgmlOpenTag):
11795 * buffer.h (sgmlCloseTag): made public.
11797 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * buffer.C (saveParamsAsDefaults):
11800 * lyx_cb.C (MenuLayoutSave): remove
11802 * LyXAction.C (init):
11804 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11806 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * buffer.C (setPaperStuff): removed from here...
11810 * bufferparams.C (setPaperStuff): ... and moved there.
11812 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11816 * XFormsView.C: add support for drop-down completion
11818 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11820 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11823 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11825 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11828 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11830 * lyx_main.C: change ref to known bugs
11832 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11834 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11835 to work around older babel problems.
11837 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11839 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11841 2001-10-24 Juergen Vigna <jug@sad.it>
11843 * tabular-old.C (ReadOld): below variable changes reflected.
11845 * tabular.[Ch]: added ltType struct for longtable header/footer
11846 defines and changed all instances where they are used. Added
11847 future support for double top/bottom rows.
11849 2001-10-24 José Matos <jamatos@fep.up.pt>
11851 * buffer.h (docbookHandleCaption):
11852 * buffer.C (docbookHandleCaption): removed unused function.
11853 (makeDocBookFile): moved docbook supported version to v4.1.
11855 2001-10-24 José Matos <jamatos@fep.up.pt>
11858 * tabular.C (docbookRow): new function to export docbook code of a row.
11859 (DocBook): now honors the longtable flags.
11861 2001-10-23 José Matos <jamatos@fep.up.pt>
11864 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11865 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11867 * buffer.C (makeLinuxDocFile):
11868 (makeDocBookFile): reworked the preamble, more clean, and with
11869 support for lyx defined entities. Changed the document declaration
11870 to be more XML friendly.
11872 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11873 if we need to output XML that should be done with a filter.
11875 2001-10-22 Juergen Vigna <jug@sad.it>
11877 * sp_pspell.h (class PSpell): add alive function needed in the
11878 controller to see if the spellchecker could be started.
11880 2001-10-22 Juergen Vigna <jug@sad.it>
11882 * buffer.C (insertStringAsLines): modify the font for inserting
11883 chars in certain conditions by calling checkInsertChar(font).
11885 2001-10-19 Juergen Vigna <jug@sad.it>
11887 * text.C (workWidth): use getRow instead of wrong algorithm.
11888 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11890 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11895 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11897 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11899 * text.C (workWidth): do not search for the exact row when
11900 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11901 optimization for big documents.
11903 2001-10-18 Juergen Vigna <jug@sad.it>
11905 * text.C (workWidth): new function with added Inset * parameter.
11907 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11909 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11911 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11912 change return type of getColumnNearX.
11915 * text.C (changeRegionCase): use uppercase/lowercase instead of
11918 (rightMargin): simplify code by factoring out the uses of
11923 (appendParagraph): use Paragraph::size_type
11925 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11927 * vspace.C (asLatexString): add a missing break
11929 2001-10-15 Herbert Voss <voss@perce.de>
11931 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11933 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11935 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11938 2001-10-10 André Pönitz <poenitz@gmx.net>
11940 * lyxfunc.C: removed greek_kb_flag.
11942 2001-10-10 Herbert Voss <voss@perce.de>
11944 * lyx_main.C: delete global string help_lyxdir.
11946 2001-10-09 Herbert Voss <voss@perce.de>
11948 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11950 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11952 * lyx_main.C: added global string help_lyxdir.
11954 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11956 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11958 * lyxrc.C (set_font_norm_type): support iso8859-4
11960 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11962 * LaTeX.C (deplog): add another regex for MikTeX
11964 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11966 * lyxrc.C (set_font_norm_type): support iso8859-3
11968 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11972 * LaTeXFeatures.C: remove special case of french and index
11974 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11975 before \begin{document}). This solves several incompatibilities.
11977 2001-10-03 Garst Reese <reese@isn.net>
11979 * lyx_cb.C: change CheckTex error msg.
11981 2001-10-03 José Matos <jamatos@fep.up.pt>
11983 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11985 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11987 * .cvsignore: update
11989 * lyx_main.C (commandLineVersionInfo): use new style version info.
11991 * buffer.C (writeFile):
11993 (makeLinuxDocFile):
11994 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11996 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11998 * version.h: update to use stuff in version.C
12000 * version.C.in: new file. Contains version information determined
12001 at compile time. This is a merging of version.h and
12004 2001-10-03 Juergen Vigna <jug@sad.it>
12006 * BufferView_pimpl.C (update): don't change "dirty" status in
12009 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12011 * WorkArea.C (c-tor): re-position version string slightly.
12013 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12015 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12016 revert to previous code.
12018 WorkArea.[Ch]: (show, destroySplash): methods removed.
12020 WorkArea.C: rework code so that it's an amalgam of the codes before and
12021 after the splash screen was moved to WorkArea.
12023 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * vspace.C (inPixels):
12029 * buffer.C (insertStringAsLines):
12030 (asciiParagraph): fix types to be large enough
12032 * lyxlex_pimpl.h: change member status from short to int
12034 * layout.h: fix type of endlabeltype
12037 * kbsequence.C (parse): change return type to string::size_type
12039 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12042 * Bullet.C (bulletSize):
12043 (bulletEntry): do not use short ints as parameters
12045 * BufferView2.C (insertLyXFile): change a char to an int.
12047 * WorkArea.C (WorkArea): remove unneeded floats in computation
12049 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12051 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12053 * paragraph.C (asString): Do not ignore newline/hfill chars when
12054 copying to the clipboard.
12056 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12058 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12059 after a multi-line inset.
12061 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12063 * paragraph.C (validate): Set NeedLyXFootnoteCode
12065 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12067 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12068 and decrease-error to decrease.
12070 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12072 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12073 it more readable (should be equivalent)
12075 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12077 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12079 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12082 of a cursor (row, etc.) after a character has been deleted
12083 (deleteEmptyParagraphMechanism): call the method above on _all_
12084 cursors held by the LyXText when a double space has been
12087 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12089 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12091 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12093 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12094 background. Use greyOut() and the new show() methods to toggle between
12095 the foreground and background. Add code to remove the splash after
12096 its initial showing.
12098 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12099 (create_forms): no longer call Dialogs::showSplash.
12101 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12103 * .cvsignore: add version_info.h
12105 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12107 * version_info.h.in: new file
12109 * Makefile.am: add version_info.h.in
12111 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12112 version_info.h instead of VERSION_INFO
12114 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12116 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12117 The ERT inset now returns string().
12119 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12121 * lyxtext.h, text.C (selectNextWord): renamed as
12122 selectNextWordToSpellcheck.
12124 * text.C (selectNextWordToSpellcheck): Modified to not select
12125 words inside an ERT inset.
12127 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12129 * lyx_cb.C (MenuLayoutSave): change a bit the question
12131 * sp_base.h: include <sys/types.h>
12133 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12135 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12137 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12139 * several files: fix typos in user-visible strings
12141 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12143 * text2.C (pasteSelection): do not set the selection, since it
12144 will be cleared later. Actually, the intent was to fix the way the
12145 selection was set, but I figured rmoving the code was just as good.
12147 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12149 * FontLoader.C (available): Check if font is available without
12152 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12154 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12156 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12158 * lyxrc.[Ch]: added display_graphics variable and associated code.
12160 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12162 * bufferparams.C (hasClassDefaults): new method. Returns true if
12163 the buffer parameters correspond to known class defaults
12165 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12167 * XFormsView.C (show): set minimum size to the main window.
12169 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * text2.C (copySelection):
12173 * lyxfind.C (LyXReplace):
12174 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12175 LyXText::selectionAsString.
12177 * paragraph.C (asString): add "label" argument to the second form
12179 * text2.C (selectionAsString): add "label" argument and pass it to
12180 Paragraph::asString.
12182 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * lyx_main.C (commandLineHelp): remove version information
12186 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12188 * lyx_main.C: add -version commandline option
12190 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * paragraph.h: make the optional constructor arg required instead.
12193 some modifications to other files because of this.
12195 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12197 * lyxserver.C (C_LyXComm_callback): make it static
12199 * lyx_main.C (error_handler): make it static
12201 * lyx_gui.C (LyX_XErrHandler): make it static
12203 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12205 * WorkArea.C: make the extern "C" methods static.
12207 * Makefile.am (lyx_LDADD): simplify
12209 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12211 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12212 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12214 * LyXAction.C (init):
12215 * lyxfunc.C (dispatch): associated code removal.
12217 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12219 * lyxfont.h (isSymbolFont): shut off warning
12221 * text.C (setHeightOfRow):
12222 (getVisibleRow): fix crash with empty paragraphs which have a
12225 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12227 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12230 2001-09-04 José Matos <jamatos@fep.up.pt>
12233 * tabular.C (docbook): rename docBook method to docbook.
12235 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12237 * Makefile.am: add dependencies to main.o.
12239 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12241 * FontLoader.C (available): Return false if !lyxrc.use_gui
12243 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12245 * FontInfo.C (query):
12246 * converter.C (view):
12247 * importer.C (Import):
12248 * exporter.C (Export): Can not -> cannot.
12250 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView_pimpl.C: allow to create index inset even if
12255 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12257 * buffer.C (getLists): replace boost::tie code with an explicit pair
12258 as boost::tie can break some compilers.
12260 * iterators.h: Added a std:: declaration to the return type of
12263 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12265 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12268 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12270 * iterators.[Ch]: New files. Provide paragraph iterators.
12272 * buffer.C (changeLanguage): Use paragraph iterators.
12273 (isMultiLingual): ditto
12275 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12277 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12279 * FontLoader.C: Support for cmr font.
12281 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12283 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12284 (available): New method.
12286 * FontInfo.C (getFontname): Use scalable fonts even when
12287 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12290 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12292 * converter.C (Formats::view): reverted! Incorrect fix.
12294 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12296 * converter.C (Formats::view): only output the -paper option
12297 if the dvi viewer is xdvi, thereby fixing bug #233429.
12299 2001-08-23 Herbert Voss <voss@perce>
12301 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12303 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12305 * Spacing.h (Spacing): Set space to Default on in the default
12308 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * vc-backend.h (RCS::versionString): add RCS to version
12311 (CVS::versionString): add CVS to version
12313 * vc-backend.C (scanMaster): do not add CVS to version.
12314 (scanMaster): do not add RCS to version
12316 * lyxvc.C (versionString): new method
12318 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12320 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * Spacing.C (set): initialize fval
12324 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12326 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12329 2001-08-16 Juergen Vigna <jug@sad.it>
12331 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12333 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12335 * BufferView_pimpl.C:
12338 * text2.C: setParagraph takes linespacing now
12340 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12342 * LyxAction.C: add internal LFUN_CITATION_INSERT
12344 * LyXView.C: actually apply fix
12346 * bufferlist.C: fix open non-existent file
12348 * lyxfind.C: fix indentation
12350 * lyxfunc.C: remove unneeded assert, fix typo
12352 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12354 * MenuBackend.C: use "Floatname List"
12356 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12358 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12359 when converting LaTeX layout to insetERT.
12360 Generate a non-collapsed float when reading old float
12362 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12364 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12367 2001-08-13 Juergen Vigna <jug@sad.it>
12369 * text.C (fill): return 0 instead of 20 as this seems to be the more
12372 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12374 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12377 2001-08-13 Juergen Vigna <jug@sad.it>
12379 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12381 (SearchBackward): comment out the unlocking of the inset_owner this
12382 should not be needed!
12384 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12386 * Many files: Remove inherit_language, and add latex_language
12388 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12389 collapsible insets.
12391 2001-08-10 Juergen Vigna <jug@sad.it>
12393 * text.C (prepareToPrint): fixed hfill-width in draw!
12395 * BufferView2.C (selectLastWord): save the selection cursor as this
12396 now is cleared in the function LyXText::clearSelection!
12398 2001-08-08 Juergen Vigna <jug@sad.it>
12400 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12401 BACKSPACE type functions.
12403 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12404 is only cutted from the document but not put in the cut-buffer, where
12405 still the old stuff should be.
12407 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12409 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12411 * tabular.C (SetWidthOfCell): fixed special case where the width
12413 (LeftLine): handle '|' in align_special.
12415 (LeftAlreadyDrawed): ditto
12416 (SetWidthOfCell): ditto
12418 2001-08-07 Juergen Vigna <jug@sad.it>
12420 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12422 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12424 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12425 * lyxlex.[hC]: ditto
12427 2001-08-06 Juergen Vigna <jug@sad.it>
12429 * text.C (getVisibleRow): fix up row clearing a bit.
12431 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * minibuffer.C: make sure the X server sees the changes in the input.
12435 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * paragraph.C (getFont): split into...
12438 (getLabelFont): this
12439 (getLayoutFont): and this
12440 * paragraph_pimpl.C (realizeFont): calling this
12442 * text2.C (getFont): split into...
12443 (getLayoutFont): this
12444 (getLabelFont): and this
12445 (realizeFont): all three calling this
12447 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12450 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12452 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12454 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12456 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12457 layouts from the Quote inset insertion.
12459 2001-08-03 Juergen Vigna <jug@sad.it>
12461 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12463 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12464 only if status not is already CHANGED_IN_DRAW (second level).
12466 * text.C (draw): don't set the need_break_row when inside an
12469 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * buffer.C (parseSingleLyXformat2Token): handle more latex
12474 * bufferview_funcs.[hC]: change function names to
12475 begin with small char, adjust other files.
12477 2001-08-02 André Pönitz <poenitz@gmx.net>
12480 BufferView_pimpl.C: remove broken special code for math-greek
12482 2001-08-02 Juergen Vigna <jug@sad.it>
12484 * BufferView_pimpl.C (update): redone this function so that we
12485 update the text again if there was a CHANGE_IN_DRAW.
12487 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12488 (drawFromTo): added a new internal bool which is used by draw() and
12490 (general): some cursor drawing problems fixed.
12492 2001-08-01 Juergen Vigna <jug@sad.it>
12494 * lyxfind.C (LyXFind): fixed
12495 (SearchForward): ditto
12496 (SearchBackward): ditto
12498 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12499 spurius drawing of the cursor in the main area.
12501 * text2.C (status): small fix which could lead to a segfault!
12502 (clearSelection): remove unneeded BufferView param.
12504 2001-08-01 André Pönitz <poenitz@gmx.net>
12506 * lyxfunc.C: small change due to changed mathed interface
12508 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12510 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12512 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12514 * lyxfunc.c: fail gracefully if file doesn't exist
12519 * BufferView_pimpl.C: IsDirWriteable() proto changed
12521 * LyXView.C: fix updateWindowTitle() to store the last title
12523 2001-07-31 Juergen Vigna <jug@sad.it>
12525 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12526 the font (wrong since using of Paragraph::highestFontInRange).
12528 * paragraph.C (highestFontInRange): added a default_size parameter.
12530 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12531 (setHeightOfRow): reformat
12533 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * converter.[hC] + affected files: move to (inital-char)lowercase
12538 * ParagraphParameters.C (ParagraphParameters): remove commented code
12540 * PainterBase.[Ch]: remove commented code
12542 * LaTeXFeatures.h: add "bool floats" for float.sty
12544 * LaTeXFeatures.C (LaTeXFeatures): init floats
12545 (require): handle float
12546 (getPackages): do it with floats
12548 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12550 * BufferView_pimpl.C (Dispatch): improve handling of
12551 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12553 * commandtags.h: #include lyxfont.h here temporarily to avoid
12556 * bufferlist.h: include LString.h here.
12558 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12560 * text2.C (getStringToIndex): new method.
12562 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12564 * *: Reduced header file dependencies all over.
12566 2001-07-30 Baruch Even <baruch@lyx.org>
12568 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12570 2001-07-29 Baruch Even <baruch@lyx.org>
12572 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12574 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * ParameterStruct.h (endif): add a default constructor to make
12577 sure that all variables is initialized.
12579 * ParagraphParameters.C (ParagraphParameters): adjust
12581 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12583 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12584 index; also, check that there is something to index, and that it
12585 does not span over several paragraphs.
12586 (doubleClick): use WHOLE_WORD_STRICT for double click.
12588 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12590 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12593 2001-07-26 Baruch Even <baruch@lyx.org>
12595 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12596 an InsetFig figure, backwards compatible reading of old figure code.
12598 2001-07-27 Juergen Vigna <jug@sad.it>
12600 * text2.C: font.realize function adaption.
12602 * text.C (draw): add a warnings lyxerr text if needed.
12604 * layout.C: font.realize function adaption.
12606 * language.C: add inherit_language and implement it's handlings
12608 * bufferview_funcs.C (StyleReset): remove language parameter from
12609 font creation (should be language_inherit now).
12611 * bufferparams.C (writeFile): handle ignore_language.
12613 * paragraph.C (getFontSettings): the language has to be resolved
12614 otherwise we have problems in LyXFont!
12616 * lyxfont.C (lyxWriteChanges): added document_language parameter
12617 (update): removed unneeded language parameter
12619 * paragraph.C (validate): fixed wrong output of color-package when
12620 using interface colors for certain fonts in certain environments,
12621 which should not seen as that on the final output.
12623 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12625 * BufferView_pimpl.C:
12630 * LyXAction.C: add thesaurus support
12633 * lyxfind.C: add "once" parameter, for thesaurus, to not
12634 move to the next match
12636 2001-07-26 Juergen Vigna <jug@sad.it>
12638 * lyxfont.C (realize): honor ignore_language too!
12641 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12643 * text.C (draw): one place more for ignore_language to not draw
12646 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12648 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12650 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12653 the minipage conversion problem.
12655 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12660 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12662 * BufferView.h: don't forward declare WorkArea
12664 * BufferView.C: don't include WorkArea.h
12666 2001-07-25 André Pönitz <poenitz@gmx.net>
12670 * lyxfunc.C: new LFUN 'math-space'
12672 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * text2.C (toggleInset): call open/close
12678 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * lyxfunc.C (dispatch): add debug for the disabled case
12682 * font.C (buttonText): make similar to rectText
12684 * buffer.C (readInset): comment out parsing of insetlist and
12687 * PainterBase.C (rectText): small correction
12689 * BufferView_pimpl.C: comment out insettheorem and insetlist
12690 * LyXAction.C: ditto
12691 * commandtags.h: ditto
12693 2001-07-24 Juergen Vigna <jug@sad.it>
12695 * text.C (draw): honor the ignore_language.
12697 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12699 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12704 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12706 * lyxtext.h: remove unused (and unimplemented) methods
12708 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12710 * text.C (getVisibleRow): honor background color
12713 * Painter.h: remove default color argument for fillRectangle
12715 * text.C (backgroundColor): new method
12717 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * text.C (getVisibleRow): adjust
12721 * font.[Ch] (rectText): new method, metrics
12722 (buttonText): new method, metrics
12724 * PainterBase.[hC]: make rectText and buttonText always draw and take
12727 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12729 * ToolbarDefaults.C (read):
12730 * MenuBackend.C (read): allow escaping in all strings
12732 * BufferView_pimpl.C (insertAndEditInset): new method.
12733 (Dispatch): use insertAndEditInset whenever appropriate.
12735 * BufferView_pimpl.C (insertNote): removed
12737 * BufferView_pimpl.C (smartQuote): new method, moved from
12738 BufferView; if an insetquote cannot be inserted, insert a '"'
12741 * BufferView2.C: remove insertCorrectQuote();
12743 * lyxfunc.C (getStatus): Add support for all remaingin
12744 inset-insert lfuns.
12746 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12748 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12749 command (necessary to pass " as parameter of self-insert.
12751 * text.C (selectWordWhenUnderCursor):
12752 (selectWord): add word_location parameter
12753 (selectWordWhenUnderCursor): same + remove special code for word
12755 (selectNextWord): use kind() to guess type of insetspecialchar,
12758 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12759 (insertErtContents): create ert insets as collapsed.
12760 (readInset): better compatibility code for Info inset.
12762 2001-07-20 Juergen Vigna <jug@sad.it>
12764 * lyxfunc.C (dispatch): use always LyXFind now!
12766 * text2.C (init): add a reinit flag so that the LyXText can be
12767 reinited instead of deleted and reallocated (used in InsetText).
12769 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12775 2001-07-18 Juergen Vigna <jug@sad.it>
12777 * text.C (selectNextWord): handle insets inside inset by calling
12778 always the bv->text functions so that we can go up the_locking_inset!
12780 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12781 in strange locations when inside an inset!
12783 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12784 handling to include insets.
12786 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12788 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * LyXAction.C (init):
12792 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12793 LIGATURE_BREAK, since the name is so stupid.
12795 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12797 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12800 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12802 * sp_form.[Ch]: remove.
12804 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12806 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12809 * src/buffer.C (readInset): ditto.
12811 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12813 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12814 menuSeparator(), endOfSentenceDot(), ldots() and
12815 hyphenationPoint(), which are therefore removed.
12816 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12818 * LyXAction.C (init):
12819 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12821 * paragraph.C (getWord): removed.
12823 * BufferView_pimpl.C (Dispatch): use last word or selection for
12824 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12826 * lyx_main.C (queryUserLyXDir): do not ask before creating
12827 user_dir, except if it has been named explicitely.
12829 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12831 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12832 a document of zero size.
12834 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12836 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12837 approriately in the c-tor and in require().
12838 (getPackages): output the appropriate LaTeX for natbib support.
12840 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12841 variables "use_natbib" and "use_numerical_citations" when reading the
12843 (readInset): read the various natbib cite commands.
12844 (validate): white-space change.
12846 * bufferparams.[Ch]: new variables "bool use_natbib" and
12847 "bool use_numerical_citations".
12848 (writeFile): output them in the LyX file.
12850 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12852 * lyxfunc.C (getStatus): add support for all the inset insertion
12855 * text2.C (insertInset):
12856 * paragraph.C (insetAllowed):
12857 * BufferView_pimpl.C (insertInset): update to take in account the
12858 renaming of insertInsetAllowed
12860 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12862 * text2.C (getInset): new method. returns inset at cursor position.
12864 * BufferView_pimpl.C (Dispatch): changes because of this.
12866 * LyXAction.C (init): rename open-stuff to inset-toggle.
12868 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12870 * text2.C (toggleInset): renamed from openStuff; use
12873 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12875 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12877 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12879 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12881 * buffer.C (readLyXformat2): Add filename to the error dialog
12883 2001-07-18 Juergen Vigna <jug@sad.it>
12885 * tabular.C (GetCellNumber): put an assert here instead of the check!
12887 2001-07-17 Juergen Vigna <jug@sad.it>
12889 * BufferView_pimpl.C (toggleSelection): adapted too.
12891 * text.C (selectNextWord): adapted for use with insets.
12892 (selectSelectedWord): ditto
12894 2001-07-17 Juergen Vigna <jug@sad.it>
12896 * sp_spell.C (PSpell): fix initialitation order.
12898 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12900 * paragraph.C: spacing
12902 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12904 * sp_spell.C: repair language selection for pspell
12906 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * lyxfunc.h: change more methods to begin with lower char.
12910 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12912 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12913 for unknown layouts.
12915 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12917 * buffer.C (readLyXformat2): Generate an error dialog if there are
12920 2001-07-16 Juergen Vigna <jug@sad.it>
12922 * sp_spell.C: always compile ISpell part.
12924 * lyxrc.C: added use_pspell entry and it's handling.
12926 2001-07-13 Juergen Vigna <jug@sad.it>
12928 * sp_spell.C: removed double includes.
12930 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12932 Consistent use of Lsstream.h:
12933 * Lsstream.h: added using std::stringstream for consistencies sake.
12935 * buffer.C: removed using std::stringstream
12937 * lyxfont.C (stateText):
12938 * paragraph.C (asString):
12939 * text.C (selectNextWord, selectSelectedWord):
12940 * text2.C (setCounter):
12941 * vspace.C (asString, asLatexString):
12942 std::ostringstream -> ostringstream.
12944 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12946 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12947 * commandtags.h: add LFUN_HELP_ABOUTLYX
12948 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12950 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12952 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12954 * lyx_gui_misc.C: remove spellchecker
12955 * lyxfunc.C: showSpellchecker
12957 * sp_ispell.h: added
12958 * sp_pspell.h: added
12959 * sp_spell.C: added
12960 * sp_form.[Ch]: removed
12961 * spellchecker.[Ch]: removed
12963 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12965 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12967 (simpleTeXSpecialChars): Simply print the input character without
12968 any special translation if pass_thru is set.
12970 * layout.h: Added bool pass_thru to layout class for being able to
12971 implement pass through of a paragraph for Literate Programming.
12973 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12974 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12975 * layout.C (Read): add "passthru" to list of layout tags and add
12976 code to set the pass_thru boolean when it is read.
12978 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * trans_decl.h: remove allowed from KmodInfo
12982 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12983 remove allowed code
12986 * paragraph_pimpl.C (erase): use boost::prior
12988 * Painter.C (text): use data() instead of c_str() when length is
12990 * WorkArea.C (putClipboard): ditto
12991 * font.h (width): ditto
12993 * BufferView2.C: use it-> instead of (*it). for iterators
12995 * paragraph_pimpl.C: ditto
12996 * paragraph.C: ditto
12997 * minibuffer.C: ditto
12998 * language.C: ditto
13000 * encoding.C: ditto
13001 * counters.C: ditto
13002 * converter.C: ditto
13004 * Variables.C: ditto
13005 * TextCache.C: ditto
13006 * MenuBackend.C: ditto
13007 * LyXAction.C: ditto
13009 * FloatList.C: ditto
13010 * DepTable.C: ditto
13011 * ColorHandler.C (LyXColorHandler): ditto
13013 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13015 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13017 * text2.C (openStuff): reintroduce this method (which had been
13018 nuked in NEW_INSETS frenzy).
13020 * lyxfunc.C (Dispatch): when an action has not been handled, use
13021 its name in the error message, not its number.
13023 * paragraph.C (inInset): change method name to begin with lowercase.
13026 * text2.C: updates because of this.
13028 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * ToolbarDefaults.C (add): add spaces in error message
13032 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13035 (readLyXformat2): rename return_par to first_par, use lyxlex's
13036 pushToken and remove the manual push handling.
13037 (parseSingleLyXformat2Token): add another ert comp. variable:
13038 in_tabular, rename return_par to first_par. handle newlines better
13040 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13044 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * text2.C (getParFromID): removed
13048 * buffer.C (getParFromID): new method moved form lyxtext.
13049 * BufferView2.C (insertErrors): adjust
13050 (setCursorFromRow): adjust
13051 * BufferView_pimpl.C (restorePosition): adjust
13052 * lyxfunc.C (Dispatch): adjust
13053 * undo_funcs.C (textUndo): adjust
13055 (textHandleUndo): adjust
13056 (textHandleUndo): adjust
13058 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13060 * buffer.C: up' the LYX_FORMAT
13062 * lyxfont.h: turn NO_LATEX on as default
13064 * buffer.C (insertErtContents): new methods of tex style compability.
13065 (parseSingleLyXformat2Token): use it several places.
13066 * tabular.C (OldFormatRead): and here
13068 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * text2.C: remove some commented code.
13073 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13074 * trans.C: changes because of the above.
13076 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13078 * text2.C (setCounter): Fix counters bug with bibliography layout.
13080 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13083 own member functions
13084 (simpleTeXSpecialChars): ditto
13086 2001-07-06 Juergen Vigna <jug@sad.it>
13088 * a lot of files: changed the access to LyXText::status and the
13089 call of undo-functions.
13091 * undo.[Ch]: added a inset_id to the undo informations.
13093 * undo_funcs.[Ch]: added and moved here all undo functions.
13095 * lyxtext.h: give the status enum a weight, made status_ a private
13096 variable and made accessor functions for it, removed the whole bunch
13097 of undo-functions as they are now in their own file, make some
13098 functions publically available. Added function ownerParagraph with
13101 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13102 made InInset() a const function, added getParFromID() function.
13104 * buffer.[Ch]: added const version for inset_iterator functions,
13105 added getInsetFromID() function.
13107 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13108 changed undo functions for new version.
13110 2001-07-05 Juergen Vigna <jug@sad.it>
13112 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13113 unknow mechanism does not call the proper constructor but only this
13114 one also if I request the other!?
13116 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13120 * text2.C (LyXText): use initialization lists.
13122 * lyxtext.h (Selection): initialize set_ and mark_
13123 (init): remove method
13125 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13127 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13129 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * screen.[Ch]: change method names to begin with lowercase
13133 * BufferView_pimpl.C (updateScrollbar): simplify further and
13134 hopefully make it a bit faster.
13136 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13139 calling directly xforms functions.
13141 * Painter.C (Painter):
13142 * lyx_cb.C (MenuWrite):
13143 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13146 * lyx_gui.C: remove bogus guiruntime extern declaration.
13148 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13152 (redoDrawingOfParagraph): ditto
13153 (redoParagraphs): ditto
13154 (cutSelection): don't create a object for CutAndPaste use the
13155 static method directly
13156 (pasteSelection): ditto
13158 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13161 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13163 * modifications to some other files because of this.
13165 * Makefile.am (lyx_SOURCES): add XFormsView
13167 * XFormsView.[Ch]: new files
13169 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13170 the main window. Move the gui dependent stuff to XFormsView
13172 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13174 * tabular.C (GetCellInset): update cur_cell also in the row/col
13175 version of this function.
13177 * lyxfunc.C: no need to include figure_form.h here.
13183 * lyxvc.C: no need to include forms.h here.
13185 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13189 * lyxfunc.C (Dispatch):
13191 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13192 constructor argument.
13194 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * paragraph.C (Paragraph): dont't clear, and just set layout.
13197 (makeSameLayout): use params's copy contructor.
13199 * ParagraphParameters.[Ch] (makeSame): delete method
13201 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13203 * Variables.[Ch]: fix indentation, rename set to isSet
13205 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * lyxfunc.C (Dispatch): fix typo
13209 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13211 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13214 * bufferlist.C: include assert.h for emergencyWrite().
13216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13218 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13219 give up at last (bug #425202) !
13221 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13227 * spellchecker.C: strip spellchecker options and bring up
13228 preferences tab instead
13230 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13233 the istringstream constructor
13235 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * paragraph.C (getLayout): fix return value
13239 * paragraph.h: do not declare getLayout as inline.
13241 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13243 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * lyxcursor.h (operator<): new func
13246 (operator>): new func
13247 (operator>=): new func
13248 (operator<=): new func
13250 * text.C (changeCase): use selection.start and selection.end
13251 (changeRegionCase): require from to be <= to. Require par to be a
13254 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13256 2001-06-27 Juergen Vigna <jug@sad.it>
13258 * text.C (cursorLeftOneWord): changed to return the cursor and added
13259 overlay with BufferView * parameter which calls this one.
13261 (selectWord): use new getWord function.
13262 (changeCase): renamed from changeWordCase as and extended to work
13263 also on selections.
13265 * lyxtext.h: added enum word_location
13267 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13268 changeCase as this operates now also on selections.
13270 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13272 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13274 * many files: send debug output to Debug::INFO instead of
13277 * converter.C (View):
13279 (Move): send debug output to Debug::FILES instead of console.
13281 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13283 * lyxfunc.C (getStatus): use func_status
13285 * func_status.h: new header, describing the results of
13286 LyXFunc::getStatus;
13288 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13291 2001-06-25 The LyX Project <jug@sad.it>
13293 * buffer.C (sgmlOpenTag):
13295 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13297 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * text2.C: remove some dead code
13301 * tabular.C (GetCellInset): store the last cell checked (gotten)
13303 * tabular.h: add the helper for the speedup
13305 * lyxtext.h: remove some dead code
13307 2001-06-26 The LyX Project <Asger>
13309 * paragraph.C: Change export to LaTeX of alignment to
13310 \begin{center} and family for better roundtrip work with reLyX.
13312 * Tune the math drawing a bit.
13314 2001-06-25 The LyX Project <Asger>
13316 * LColor.C (LColor): New color for math background. New color
13319 2001-06-25 The LyX Project <jug@sad.it>
13321 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13323 * lyxfunc.C (Open):
13324 * bufferlist.C (newFile): do not restrict to files ending with
13327 * BufferView_pimpl.C (MenuInsertLyXFile):
13329 2001-06-24 The LyX Project <jug@sad.it>
13331 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13334 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * lyxtext.h: rename most methods to begin with a small char.
13337 Lots of changes because of this.
13339 * paragraph.C (Paragraph): do not call fitToSize
13340 (erase): call Pimpl::erase
13341 (insertChar): call Pimpl::insertChar
13342 (insertInset): call Pipl::insertInset
13343 (breakParagraph): do not call fitToSize
13344 (breakParagraphConservative): do not call fitToSize
13345 (fitToSize): remove method
13347 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13349 2001-06-24 The LyX Project <Asger>
13351 * Fix Qt compilation^2
13353 2001-06-24 The LyX Project <jug@sad.it>
13355 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13356 depthHook(getDepth()-1).
13359 * ParagraphParameters.h:
13360 * ParameterStruct.h: change type of depth to unsigned int ==
13361 depth_type. Many adaptations to other files before of that.
13363 2001-06-24 The LyX Project <Asger>
13365 * Fix Qt compilation.
13367 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13369 * paragraph.h: renamed several methods to begin with small letter.
13370 several changes to many parts of the code because of this.
13372 2001-06-23 The LyX Project <jug@sad.it>
13374 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13375 rewritten to discard all double spaces when KeepEmpty is off
13376 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13377 to only handle newlines but not fiddle with spaces and friends.
13379 * lyxfunc.C (MenuNew): when doing 'new from template', use
13380 template_path as default directory
13382 2001-06-23 The LyX Project <Asger>
13384 * Clean-up of header file includes all over
13385 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13387 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * paragraph.h: renamed from lyxparagraph.h
13391 2001-06-23 Asger <lyx@violet.home.sad.it>
13393 * Buffer.h: Removed Buffer::resize
13394 * BufferList.h: Removed BufferList::resize
13395 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13396 the document lazily when we change the width, or the font settings.
13398 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13400 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13404 * buffer.h: remove out of date comment
13406 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13409 * screen.C: fix "theoretical" GC leak
13411 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13413 * LaTeX.C (scanAuxFile):
13414 (deplog): remove trailing \r when reading stream (useful under
13417 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13419 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13420 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13421 and BufferView::theLockingInset(Inset*), so should use them and not
13422 access bv_->text->the_locking_inset directly.
13424 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13426 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13429 * tex-defs.h: remove old unused file
13431 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13433 * BufferView_pimpl.C: fix typo, remove minibuffer message
13434 when buffer has loaded
13436 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * lyxfunc.C (Dispatch): use stringstream
13439 (MenuNew): use stringstream
13440 (Open): use stringstream
13442 * importer.C (Import): use stringstream
13444 * bufferview_funcs.C (CurrentState): use stringstream
13446 * LaTeX.C (run): use stringstream
13448 * BufferView_pimpl.C (savePosition): use stringstream
13449 (restorePosition): use stringstream
13450 (MenuInsertLyXFile): use stringstream
13452 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13465 * vspace.C: removed // -*- C++ -*- as first line.
13468 * version.h: added // -*- C++ -*- as first line.
13470 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13474 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13477 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13479 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13482 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * gettext.C: include LString.h even when --disable-nls is on.
13486 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13488 * converter.h (Get): changed argument type from int to
13489 FormatList::size_type to avoid unnecessary conversion.
13491 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13494 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13496 * gettext.h: include LString.h even when --disable-nls is on.
13498 2001-06-07 Juergen Vigna <jug@sad.it>
13500 * text.C (BreakAgain): subst spaces with tabs.
13502 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13503 (resizeInsetsLyXText): set force on resizeLyXText.
13505 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * gettext.h (gettext_init):
13508 (locale_init): use a real definition instead of a macro
13510 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13512 * Bufferview_pimpl.C:
13514 * LColor.C: further lcolor tidies
13516 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * BufferView_pimpl.C (updateScrollbar): simplify.
13520 * BufferView2.C: don't include insets/insetinfo.h, change
13521 prototype for insertInset and call the Pimpl version. let
13522 updateInset call Pimpl version.
13524 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13525 gotoInset to BufferView::Pimpl
13527 2001-06-01 Juergen Vigna <jug@sad.it>
13529 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13530 inside a LockingInset (is the update needed at all?).
13532 2001-05-31 Juergen Vigna <jug@sad.it>
13534 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13535 here not the old one otherwise how should we compare it afterwards
13538 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * FontInfo.C: bring C functions into global namespace when
13546 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * LString.h: make sure config.h has been loaded before LString.h.
13550 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13551 (one for each char read by EatLine!).
13553 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13556 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13559 to the same as the par we break from
13561 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13565 * MenuBackend.C (expand): also create menu entries for wide
13566 versions of the floats.
13568 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13570 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13572 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13573 frontends/Makefile.am
13579 * tabular.C (getTokenValue): add std::
13581 * tabular-old.C (getTokenValue): add std::
13582 (getTokenValue): ditto
13583 (getTokenValue): ditto
13585 * screen.C (ToggleSelection): adjust
13587 * lyxtext.h: put selection cursors inside a Selection struct.
13589 * lyxfunc.C (moveCursorUpdate): adjust
13591 * lyxfont.C (latexWriteStartChanges): add std::
13593 * lyxfind.C: adjust
13595 * font.h: delete with(char const *, LyXFont const &)
13597 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13599 * FontInfo.C (getFontname): add std::
13601 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13602 (workAreaButtonPress): adjust
13603 (tripleClick): adjust
13605 (moveCursorUpdate): adjust
13608 * BufferView2.C (gotoInset): adjust
13610 2001-05-30 Juergen Vigna <jug@sad.it>
13612 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13613 to check pspell I add this as default as I now have new pspell
13614 libraries and they seem to use this.
13616 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * text2.C (CutSelection): make the cursor valid before the call to
13621 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13624 relied on 0 terminated strings and other horrors. Bug found due to
13625 the new assert in lyxstring!
13627 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13630 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13632 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13635 * lyxfunc.C (processKeySym): change method of getting to the
13638 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13639 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13640 * BufferView_pimpl.[Ch]: here as private methods.
13642 2001-05-28 Juergen Vigna <jug@sad.it>
13644 * text.C (SetHeightOfRow): added the update() call again as it is
13645 needed to initialize inset dimensions!
13647 2001-05-16 Juergen Vigna <jug@sad.it>
13649 * text2.C (SetCharFont): Add new function with BufferView * and
13650 bool toggleall parameters for setting insets internal fonts.
13651 (SetFont): Freeze the undo as we may change fonts in Insets and
13652 all this change should be inside only one Undo!
13654 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13655 setting font's in insets as for them we have the SetFont function!
13657 2001-05-15 Juergen Vigna <jug@sad.it>
13659 * text2.C (ClearSelection): to be sure we REALLY don't have any
13662 * tabular.C (TeXCellPreamble): fixed the left border problem for
13665 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13667 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13670 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13673 LFUN_BREAKPARAGRAPH.
13675 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13676 help test to "internal only", similar for LFUN_INSERT_URL
13678 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13679 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13680 auto_region_delete and deadkeys.
13682 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13685 * LColor.C: remove some dead entries, tidy a little
13687 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13691 (Dispatch): implement LFUN_ESCAPE
13693 * commandtags.h: add LFUN_ESCAPE
13695 * LyXAction.C (init): add entry for LFUN_ESCAPE
13697 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13698 Remove commented code.
13699 (insertNote): moved here
13700 (open_new_inset): moved here
13702 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13705 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * kbmap.C (findbinding): clean it up and make it work correctly.
13709 * lyx_main.C (init): do not pass argc and argv as parameters
13711 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13713 * buffer.C: fix path for OS/2 & Win32
13717 * lyx_main.C: Added os:: class.
13719 * os2_defines.h: update
13721 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13724 better by trying again with reduced state.
13726 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * lyxrc.C (read): print error about invalid key sequence only when
13729 debugging (because not all latinX keysyms are known to some X
13732 * kbsequence.C (getiso): add a few std:: qualifiers
13733 (getiso): comment out extra return statement.
13735 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13739 (Dispatch): enhance the accent inset a bit. (not perfect)
13741 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13743 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13745 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * bufferlist.C (emergencyWrite): fix assert() call
13749 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13751 * text.C (InsertChar): Added trivial patch to only send the "you
13752 can not do multiple spaces this way" message once during a
13755 2001-05-08 Baruch Even <baruch@lyx.org>
13757 * Makefile.am: Changed order of libraries to get LyX to link properly
13758 with the gnome frontend.
13760 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * LaTeXFeatures.h: add a std:: qualifier
13764 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * paragraph.C (String): use stringstream
13768 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * paragraph.C (writeFile): remove footflag arg
13772 * buffer.C (makeLaTeXFile): use stringstream
13773 (latexParagraphs): remove footnot gurba
13775 * LaTeXFeatures.C (getPackages): use stringstream
13776 (getMacros): likewise
13777 (getTClassPreamble): likewise
13778 (getFloatDefinitions): new method
13780 * paragraph.C (writeFile): reindent
13783 * WorkArea.h: revert the xpos + etc changes.
13785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13787 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13789 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13790 (pasteSelection): likewise
13791 * text2.C (CreateUndo): likewise
13793 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * minibuffer.C (peek_event): temporarily reduce the functionality
13796 of the minibuffer (to allow args on lfuns)
13798 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13799 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13801 * buffer.C (readInset): add compability reading of old float
13802 lists, add reading of new style float list.
13803 (readInset): avoid reevaluation of inscmd.getCmdName()
13804 (getLists): reindent
13806 * MenuBackend.C (MenuItem): implement parsing of
13807 md_floatlistinsert and md_floatinsert.
13808 (expand::LastFiles): move initalizaton of iterators out of loop,
13809 avoid reevaluation.
13810 (expand::Documents): introduce typdedef vector<string> Strings,
13812 (expand::ExportFormats): introduce typedef vector<Format const *>
13813 Formats, and use it.
13814 (expand): implement FloatListInsert and FloatInsert.
13816 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13817 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13818 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13820 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13822 (Dispatch::LFUN_FLOAT_LIST): implement
13824 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13826 * LaTeX.C (run): Fix problem with --export code.
13828 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13830 * BufferView.[Ch] (workarea): removed.
13831 (getClipboard) new method; wrapper for workarea()->getClipboard()
13833 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13836 * WorkArea.h (width, height, xpos, ypos): These methods all
13837 returned the dimensions of the work_area sub-area of WorkArea,
13838 resulting in a position error if the WorkArea were resized. Now
13839 return the dimensions of the entire WorkArea.
13841 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13843 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * LaTeX.C (deplog): correct the syntax of regex reg1
13847 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * undo.C: remove !NEW_INSETS cruft
13851 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * text2.C: remove !NEW_INSETS cruft
13855 * text.C: remove !NEW_INSETS cruft
13857 * tabular.C: remove !NEW_INSETS cruft
13859 * spellchecker.C: remove !NEW_INSETS cruft
13861 * lyxtext.h: remove !NEW_INSETS cruft
13863 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13865 * lyxfunc.C: remove !NEW_INSETS cruft
13867 * lyxfind.C: remove !NEW_INSETS cruft
13869 * lyx_cb.C: remove !NEW_INSETS cruft
13871 * figureForm.C: remove !NEW_INSETS cruft
13873 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13875 * buffer.[Ch]: remove !NEW_INSETS cruft
13877 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13879 * CutAndPaste.C: remove !NEW_INSETS cruft
13881 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13883 * BufferView2.C: remove !NEW_INSETS cruft
13885 * BufferView.h: remove !NEW_INSETS cruft
13887 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13889 * Lsstream.h: include LString.h before the sstream headers to
13890 fix problem with gcc 2.95.3 and lyxstring
13892 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * lyx_main.C: add using directives when needed for C functions
13895 declared in std:: namespace.
13897 2001-04-27 Juergen Vigna <jug@sad.it>
13899 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13900 (SetHeightOfRow): comment out the update call should not be needed!
13902 2001-04-13 Juergen Vigna <jug@sad.it>
13904 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13905 (LyXTabular): tried to minimize operator= operations (and realized
13906 hopfully Lars wish).
13908 2001-04-27 Juergen Vigna <jug@sad.it>
13910 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13912 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13916 * buffer.C (readInset): hack to make listof algorithm work
13918 * BufferView_pimpl.C: hack to make listof algorithm work
13920 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * LyXAction.C: removed all !NEW_INSETS cruft
13923 (init): moved lfun_item in method
13925 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13927 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13929 * BufferView2.C (theLockingInset): white space.
13931 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * minibuffer.C: include <iostream>
13935 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13937 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13939 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13941 * text.[Ch] (TransposeChars): new method
13943 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * call message directly through LyXView instead of through LyXFunc
13946 * BufferView2.C: adjust
13947 * BufferView_pimpl.C: adjust
13948 * FontLoader.C: adjust
13950 * bufferview_funcs.C: adjust
13951 * converter.C: adjust
13952 * figureForm.C: adjust
13953 * importer.C: adjust
13955 * lyx_gui_misc.C: adjust
13956 * lyxfunc.C: adjust
13959 + more files in subdirs
13961 * lyxparagraph.h (size): move up int file
13964 * adjust all uses of Assert to lyx::Assert.
13966 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13967 lyxfunctional in namespace lyx
13968 * layout.C (hasLayout): ditto
13971 (delete_layout): ditto
13972 (NumberOfClass): ditto
13973 * converter.C (GetFormat): ditto
13978 * bufferlist.C (getFileNames): ditto
13979 (emergencyWriteAll): ditto
13982 * MenuBackend.C (hasSubmenu): ditto
13985 * BufferView_pimpl.C (getInsetByCode): ditto
13987 2001-04-18 Juergen Vigna <jug@sad.it>
13989 * vspace.C (asLatexString): fixed the 100% problem.
13991 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * lyxfunc.C (Dispatch):
13995 * minibuffer.h: add a few std:: qualifiers
13997 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13999 * minibuffer.[Ch]: reimplement so that commands is initiated and
14000 run from lyxfunc, simplified som handling, and made the completion
14001 and history code for complete. wip.
14003 * lyxfunc.C (processKeySym): call message
14004 (miniDispatch): new temporary method
14005 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14006 (LFUN_MESSAGE): implement
14007 (LFUN_MESSAGE_PUSH): implement
14008 (LFUN_MESSAGE_POP): implement
14009 (initMiniBuffer): the initial/defualt minibuffer message.
14011 * lyxfont.[Ch]: inline some more getters
14013 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14015 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14017 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14018 (AutoSave): use LFUN_MESSAGE
14019 (Reconfigure): ditto
14021 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14023 * figureForm.C: use LFUN_MESSAGE
14025 * converter.C (runLaTeX): use LFUN_MESSAGE
14027 * bufferview_funcs.C: use LFUN_MESSAGE
14029 (changeDepth): ditto
14031 * bufferparams.h: use boost::
14033 * bufferlist.h: inherit privately from noncopyable
14035 * bufferlist.C (loadLyXFile): remove some commented code.
14037 * buffer.C (runChktex): use LFUN_MESSAGE
14039 * ShareContainer.h: inherit privately from noncopyable
14041 * ParagraphParameters.[hC] (depth): inline it.
14043 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14045 (message): new method
14046 (messagePush): ditto
14047 (messagePop): ditto
14048 (show): init minibuffer
14049 (showState): direct call
14051 * LaTeX.[Ch]: inherit privately from noncopyable
14052 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14053 instead of WriteStatus.
14055 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14057 * BufferView_pimpl.C (buffer): don't init minibuffer
14058 (workAreaButtonPress): use LFUN_MESSAGE
14059 (workAreaButtonRelease): ditto
14060 (savePosition): ditto
14061 (restorePosition): ditto
14062 (MenuInsertLyXFile): ditto
14063 (workAreaExpose): don't init minibuffer
14064 (update): remove commented code, simplify
14066 * BufferView2.C (openStuff): use LFUN_MESSAGE
14067 (toggleFloat): ditto
14070 (copyEnvironment): ditto
14071 (pasteEnvironment): ditto
14076 (updateInset): remove some commented code
14078 * lastfiles.h: inherit privately from noncopyable
14081 * lyx_main.h: ditto
14083 * lyxlex_pimpl.h: ditto
14085 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14086 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14087 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14089 * LyXAction.h: inherit privately from noncopyable, add methods
14090 func_begin, func_end, returning iterators to the func map.
14092 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14093 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14094 (func_begin): new method
14095 (func_end): new method
14097 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14099 (copySelection): ditto
14100 (pasteSelection): ditto
14102 * BufferView.C: whitespace change
14103 * BufferView.h: inherit privately from noncopyable
14105 2001-04-16 Allan Rae <rae@lyx.org>
14107 * tabular-old.C (l_getline):
14108 * spellchecker.C (sc_check_word):
14109 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14110 an unrecognised preprocessor directive. So ensure they're wrapped.
14112 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14114 * src/exporter.C (Export): Give an error message when path to file
14117 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14119 * LaTeX.C (deplog): Always check that foundfile exists.
14121 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14126 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * tabular.[Ch] (getLabelList): implement new method
14130 * minibuffer.h: comment ouf setTiimer
14132 * minibuffer.C (ExecutingCB): constify res
14133 (peek_event): constify s
14134 (Set): constify ntext
14135 (Init): constify nicename
14137 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14139 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14140 (savePosition): use two params to Minibuffer::Set
14141 (restorePosition): ditto
14143 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14145 * lyx_main.C: include language.h
14147 * Makefile.am (lyx_main.o): add language.h
14149 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * CutAndPaste.C: include gettext.h
14157 * lyxfont.h: remove old hack with ON and OFF.
14160 * lyxfont.h: do not include language.h...
14165 * bufferview_funcs.C:
14171 * paragraph.C: ... but do it here instead
14173 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14177 * tabular.C: small reformat
14179 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14182 (BreakParagraph): ditto
14183 (SetOnlyLayout): ditto
14186 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14189 * lastfiles.C: removed most using decl, add std:: where needed
14191 * buffer.C: ws changes
14193 * MenuBackend.C (class compare_format): put into anon namespace
14194 (expand): constify label, names, action, action2
14197 * text.C (SingleWidth): constify font
14198 (IsBoundary): constify rtl2
14199 (GetVisibleRow): constify ww
14201 * LaTeX.C (deplog): constify logfile
14203 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14205 (workAreaExpose): constify widthChange, heightChange
14207 * lyxrow.C (par): moved
14210 * lyxrow.h: as inlines here
14212 * lyxfont.h (shape): moved from lyxfont.C
14213 (emph): moved from lyxfont.C
14215 * lyxfont.C (LyXFont): use initialization list for all
14217 (shape): move to lyxfont.h as inline
14218 (emph): move to lyxfont.h as inline
14221 2001-04-04 Juergen Vigna <jug@sad.it>
14223 * vspace.C: had to include stdio.h for use of sscanf
14225 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14228 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14229 independent of xforms.
14231 2001-04-02 Juergen Vigna <jug@sad.it>
14233 * spellchecker.C: fixed namespace placing!
14235 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14237 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14238 the LyXParagraph * is 0.
14240 2001-03-29 Juergen Vigna <jug@sad.it>
14242 * vspace.C: added support for %, c%, p%, l%.
14243 (stringFromUnit): added helper function.
14244 (asLatexString): changed to give right results for the %-values.
14246 * buffer.C: convert the widthp in a width%.
14248 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14250 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14253 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14254 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14256 * lyx_cb.[Ch]: see above.
14258 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14262 * lyx.[Ch]: replaced by figure_form.[Ch].
14266 * lyxfunc.C: changed headers associated with above changes.
14268 2001-03-27 Juergen Vigna <jug@sad.it>
14270 * BufferView_pimpl.C: set the temporary cursor right!
14272 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14274 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14276 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14278 * LString.h: removed "using std::getline"!
14280 * BufferView_pimpl.C (Dispatch): changes due to changes in
14281 InsetInclude::Params.
14283 * buffer.C (tag_name): removed redundant break statements as they were
14284 producing lots of warnings with my compiler.
14286 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14288 * LString.h: add "using std::getline" when using the real <string>.
14290 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14292 * buffer.C: removed bitset usage.
14293 PAR_TAG moved to an anonymous name space.
14294 (tag_name): new funtion, also in the anonymous namespace.
14295 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14296 (makeDocBookFile): clean code. Completed transition from string arrays
14298 (SimpleDocBookOnePar): code clean.
14300 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14302 * tabular.C: add some comments.
14304 2001-03-22 Juergen Vigna <jug@sad.it>
14306 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14307 compatibility read a bit and fixed bug with minipage in different
14310 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14312 * buffer.C (pop_tag): removed.
14313 (push_tag): removed.
14314 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14315 array replaced with vector. Added support for CDATA sections.
14316 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14318 (makeDocBookFile): XML conformant declaration of CDATA section,
14319 fixed bug related to <emphasis> in the first paragraph char.
14320 (sgmlOpenTag): exclude empty tags.
14321 (sgmlCloseTag): ditto.
14323 * buffer.h (pop_tag): removed.
14324 (push_tag): removed.
14326 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14328 * language.h (Languages): added size_type and size().
14330 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14332 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14333 response on compability reading of minipages. One probliem is that
14334 the old usage of minipages was «flertydig»
14336 * several files here and in subdirs: don't use static at file
14337 scope use anon namespaces instead.
14339 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14341 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14342 LaTeX output. This is necessary for Literate document
14345 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14347 * buffer.C: insert hfill when needed.
14349 * tabular.C (l_getline): use string::erase, small whitespace change.
14351 * BufferView_pimpl.C: try the anon namespace.
14352 * WorkArea.C: ditto
14354 2001-03-16 Juergen Vigna <jug@sad.it>
14356 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14357 otherwise it won't open options-dialogs.
14359 * buffer.C: honor pextraWidth(p) on converting minipages.
14361 * tabular.C (l_getline): changed the functions to strip trailing \r.
14363 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14365 * BufferView_pimpl.C:
14366 * minibuffer..C: added "using SigC::slot" declaration.
14368 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14370 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14376 * paragraph.C: ditto
14378 * lyxtext.h: NO_PEXTRA
14380 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14382 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14383 * ParameterStruct.h: ditto
14384 * ParagraphParameters.h: ditto
14385 * lyxparagraph.h: ditto
14387 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14389 * buffer.C: add compability for minipage alignment.
14390 (latexParagraphs): remove unwanted pextra check.
14392 * several files: remove CXX_WORKING_NAMESPACES
14394 * buffer.C (pop_tag): tie is in namespace boost
14396 * BufferView.h: noncopyable is in namespace boost
14398 * lyx_main.h: ditto
14401 * lastfiles.h: ditto
14402 * bufferlist.h: ditto
14403 * ShareContainer.h: ditto
14405 * LyXAction.h: ditto
14408 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14410 * Merging changes from BRANCH_MVC back into HEAD.
14412 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14414 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14416 * BufferView_pimpl.C: change from intl.C
14420 * Makefile.am: move combox.*
14426 * intl.C: remove dialog (covered by prefs)
14428 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14430 * lyxfunc.C (Dispatch): removed redundant break statement.
14432 2001-03-14 Juergen Vigna <jug@sad.it>
14434 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14436 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14438 * buffer.C: add hack to fix compability reading of minipages.
14440 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14442 * buffer.C (getLists): Cleanup.
14444 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * lyxfont.C (update): don't honor toggleall on font size.
14448 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14452 * Makefile.am: moved to frontends/xforms/
14456 * BufferView_pimpl.C: changes for moved mathpanel
14458 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14460 * gettext.h: fix gettext_init() in --disable-nls
14462 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14464 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14466 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14469 * lyx.h: strip external form
14471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14473 * BufferView_pimpl.C: add comment, destroySplash()
14475 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14477 * BufferView_pimpl.C:
14481 * lyxfunc.C: use re-worked insetinclude
14483 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14485 * buffer.C: add using std::stringstream.
14487 * lyx_cb.C: readd using std::ios.
14489 * buffer.C: add using std::map.
14491 * BufferView_pimpl.C: add using std::vector.
14493 * ShareContainer.h: add std:: to swap.
14495 * buffer.h: add some typedefs
14496 * buffer.C (getLists): use them
14497 (getLists): renamed from getTocList.
14498 add a counter for the different float types and use it in the
14500 (getLists): use the same counter for the NEW_INSETS and the "non"
14503 * lyx_cb.h: remove unused items, includes, using etc.
14505 * ShareContainer.h: remove some commented code, add more comments
14506 and "documentation".
14508 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14510 * buffer.C (getTocList): make the list also when NEW_INSETS is
14513 * buffer.h: remove TocType
14515 * buffer.C (getTocList): change to return a map<string,
14516 vector<TocItem> >, implement for dynamic number of list.
14518 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14519 * text2.C (PasteSelection): adjust
14520 * CutAndPaste.C (pasteSelection): adjust
14522 * FloatList.C (FloatList): update from the new_insets branch.
14523 * Floating.[Ch]: ditto
14524 * LaTeXFeatures.C: ditto
14526 * lyxlex_pimpl.C: ditto
14528 * paragraph.C (Last): remove when NEW_INSETS is defined.
14530 * other file: changes because of the above.
14532 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14534 * lyxparagraph.h: rename next to next_, previous to previous_,
14535 make them private for NEW_INSETS. Rename Next() to next(),
14536 Previous() to previous().
14538 * other files: changes because of the above.
14540 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14543 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14546 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * main.C (main): pass lyx_localedir to gettext_init().
14550 * gettext.h: remove locale_init and gettext_init macros
14552 * gettext.C (locale_init): new function
14553 (gettext_init): new function
14555 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14558 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14560 * Moved credits to frontends:
14561 * credits.[Ch]: removed
14562 * credits_form.[Ch]: removed
14563 * lyx_gui_misc.C: remove credits stuff
14566 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14568 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14570 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14571 unneeded destructor.
14573 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14574 a standalone pointer again.
14576 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14578 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14584 * ToolbarDefaults.C:
14593 * BufferView_pimpl.C: use new file dialog in GUII
14596 * lyx_cb.C: remove LayoutsCB to Toolbar
14598 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14600 * ShareContainer.h (get): add std:: qualifier
14602 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14604 * ShareContainer.h: define a proper ShareContainer::value_type
14605 type (and use typename to please compaq cxx)
14607 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14609 * lyxparagraph.h: move serveral local vars to
14610 ParameterStruct/ParagraphParameters., use ShareContainer in
14611 FontTable., make vars in FontTable private and add getter and
14614 * paragraph.C: changes because of the above.
14616 * lyxfont.h: remove copy constructor and copy assignment. (the
14617 default ones is ok), move number inside FontBits. move inlines to
14620 * lyxfont.C: add number to initializaton of statics, move several
14621 inlines here. constify several local vars. some whitespace
14622 cleanup. Dont hide outerscope variables.
14624 * Spacing.h: add two new constructors to match the set methods.
14626 * ShareContainer.h: new file, will perhaps be moved to support
14628 * ParameterStruct.h: new file
14630 * ParagraphParameters.h: new file
14632 * ParagraphParameters.C: new file
14634 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14635 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14637 * BufferView_pimpl.C: ParagraphParameter changes.
14638 * buffer.C: Likewise.
14639 * bufferview_funcs.C: Likewise.
14640 * text.C: Likewise.
14641 * text2.C: Likewise.
14643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * lyxfind.C (LyXReplace): do not redefine default argument in
14647 (IsStringInText): ditto
14648 (SearchForward): ditto
14649 (SearchBackward): ditto
14651 2001-03-06 Juergen Vigna <jug@sad.it>
14653 * lyxfind.C (IsStringInText): put parentes around expressions.
14655 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14657 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14659 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14661 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14663 * stl_string_fwd.h: add comment
14665 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14668 * tabular.C: remove unused DocBook methods
14674 killed DO_USE_DEFAULT_LANGUAGE
14676 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * lyx_gui.C: do not include language.h.
14680 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14681 arguments in function implementation.
14683 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14685 * BufferView_pimpl.C: add <ctime>
14687 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14689 * BufferView_pimpl.C: add using std::find_if
14691 2001-02-27 José Matos <jamatos@fep.up.pt>
14693 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14696 2001-02-11 José Matos <jamatos@fep.up.pt>
14698 * buffer.C (makeDocBookFile): command styles now have a parameter as
14699 "title" by default.
14701 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14703 * layout_forms.[Ch]: removed
14704 * lyx_cb.[Ch]: out character
14705 * lyx_gui.C: out character
14706 * lyx_gui_misc.C: out character
14707 * bufferview_funcs.C: : out character,
14708 added toggleall as parameter in ToggleAndShow
14710 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14712 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14714 * text2.C (SetCurrentFont): Disable number property at boundary.
14716 2001-02-26 Juergen Vigna <jug@sad.it>
14718 * lyxfunc.C (getStatus): added a string argument override function so
14719 that this is correctly called from LyXFunc::Dispatch if it contains a
14720 do_not_use_argument which is used!
14721 (Dispatch): added check for "custom" export and call appropriate func.
14723 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14725 * lyxrc.C: Add language_command_local, language_use_babel and
14726 language_global_options.
14728 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14730 * buffer.C (makeLaTeXFile): Use language_use_babel and
14731 language_global_options.
14733 2001-02-23 Juergen Vigna <jug@sad.it>
14735 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14736 which works with LyXText and putted it inside BufferView. Here now we
14737 only call for that part the BufferView::Dispatch() function.
14739 * BufferView.C (Dispatch): added.
14741 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14742 functions which needs to use a LyXText over from LyXFunc.
14743 (MenuInsertLyXFile): added
14744 (getInsetByCode): added
14745 (moveCursorUpdate): added
14746 (static TEXT): added
14748 2001-02-22 Juergen Vigna <jug@sad.it>
14750 * BufferView_pimpl.C (update): call a status update to see if LyXText
14753 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14755 * vc-backend.C (revert): implement for CVS
14756 (getLog): implement for CVS
14758 2001-02-20 Juergen Vigna <jug@sad.it>
14760 * text2.C (ClearSelection): added BufferView param for inset_owner call
14762 * lyxfunc.C (TEXT): added this function and use it instead of
14763 directly owner->view()-text of getLyXText().
14765 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14767 * src/layout_forms.C: out preamble
14768 * src/layout_forms.h: out preamble
14769 * src/lyx_cb.C: out preamble
14770 * src/lyx_cb.h: out preamble
14771 * src/lyx_gui.C: out preamble
14772 * src/lyx_gui_misc.C: out preamble
14773 * src/lyxfunc.C: connect with guii preamble
14775 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14777 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14779 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14781 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14782 whether to run bibtex.
14784 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14786 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14788 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14790 * Makefile.am (lyx_SOURCES): removed bibforms.h
14792 * vspace.h: doxygen
14794 * text.C (GetVisibleRow): make several local vars const
14796 * tabular.C: small cleanup.
14798 * lyxserver.C (callback): use compare instead of strncmp
14800 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14801 inlines to after class or to paragraph.C
14803 * lyxfont.h: remove friend operator!=
14805 * converter.h: move friend bool operator< to non friend and after
14808 * combox.h: small cleanup
14810 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14811 to inlines after class def.
14813 * buffer.C (pop_tag): use string operations instead of strcmp
14815 * bmtable.c: doxygen, small cleanup
14817 * LaTeX.h: remove friend operator==
14819 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14831 * BufferView_pimpl.C:
14832 * BufferView.[Ch]: remove cruft
14834 2001-02-14 Juergen Vigna <jug@sad.it>
14836 * lyxfunc.C: removed #if 0 unused code
14838 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14840 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14842 * text2.C (SetSelection): added a BufferView * parameter
14844 2001-02-13 Juergen Vigna <jug@sad.it>
14846 * lyxfunc.C (Dispatch): fixed protected blank problem.
14847 * BufferView2.C (protectedBlank): added LyxText * parameter.
14849 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14850 (AppendColumn): same as above for column_info.
14852 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14853 (moveCursorUpdate): use a LyXText param for support of InsetText.
14855 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14856 (tripleClick): ditto
14858 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14860 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14862 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14864 * text2.C (SetSelection): set correct update status if inset_owner
14865 (ToggleFree): ditto
14867 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14869 * tabular.C: remove some commented code.
14871 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14873 * BufferView_pimpl.C: call hideSplash()
14875 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14878 * bibforms.h: remove
14881 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14882 add LFUN_CHILD_CREATE
14884 * counters.h: fix tiny typo
14889 * lyx.C: move splash to frontends/xforms/
14891 * lyx_gui_misc.C: move Include and Bibform to frontends
14893 * lyxvc.h: clarify comment
14895 * vspace.C: tiny housekeeping
14897 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14899 * text.C (PrepareToPrint): RTL Fix.
14901 * paragraph.C (GetUChar): New method.
14902 (String): Use GetUChar.
14904 * buffer.C (asciiParagraph): Use GetUChar.
14906 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14908 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14910 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14913 * buffer.C: rename to getLogName(), handle
14914 build log / latex log nicely
14916 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * MenuBackend.h: remove support for reference menuitem type.
14921 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14923 * BufferView_pimpl.C: housekeeping
14924 * BufferView_pimpl.h:
14929 * minibuffer.h: move Timeout GUI-I
14931 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14933 * lyxrc.C (read): Update converters data-structures.
14935 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14937 * LaTeX.h (operator!=): add operator != for Aux_Info
14939 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14941 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14943 * LaTeXLog.C: deleted, useful code moved to Buffer
14946 * buffer.C: new function getLatexLogName()
14952 * lyxfunc.C: use frontends for LaTeX and VC logs
14954 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * LaTeX.h: yet another std:: that Allan forgot.
14958 * Variables.C (set): renamed from isset(), because this clashes
14959 with some HP-UX macros (grr).
14961 2001-02-06 Allan Rae <rae@lyx.org>
14963 * LaTeX.h: Another bug fix. Missing std:: this time.
14965 2001-02-04 Allan Rae <rae@lyx.org>
14967 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14968 floats problem. I've left it commented out because it's not quite
14969 correct. It should also test that the current object is a table or
14970 figure inset. But I haven't gotten around to figuring out how to do
14971 that. I *think* it'll be something like: "table" == inset.type()
14973 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14976 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14978 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14979 all the citation/databases/styles in the auxilary file.
14980 (run): Rerun latex if there was a babel language error.
14982 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14984 * text.C (Backspace): Preserve the font when changing newline char
14986 (BreakParagraph): If the cursor is before a space, delete the space.
14988 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14990 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14992 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14993 new argument (code).
14994 (ChangeCitationsIfUnique): New method.
14996 * paragraph.C (GetPositionOfInset): Handle bibkey.
14998 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15000 * BufferView_pimpl.h: change type of Position::par_pos to
15001 LyXParagraph::size_type.
15003 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15005 * BufferView_pimpl.C (savePosition, restorePosition): Write
15006 messages to minibuffer.
15008 2001-01-28 José Matos <jamatos@fep.up.pt>
15010 * buffer.C (makeDocBookFile): adds support for document language.
15011 A silly restriction on the name of LatexCommand types where removed.
15012 Added support for CDATA sections, allows to chars unescaped, used
15013 among others in code, to avoid escape < and >.
15015 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15017 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15018 saved positions instrad of a stack. Furthermore, a position is
15019 stored using paragraph id/paragraph position.
15021 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15022 Remove LFUN_REF_BACK.
15024 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15026 * converter.C (dvipdfm_options): New method.
15028 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15030 * vspace.C (isValidLength): Fix for empty input string.
15032 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * LyXAction.C (init): change description of LFUN_FIGURE to
15037 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * LaTeX.C: add using directive
15041 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15043 * MenuBackend.C (expand): Fix the sorting of the formats.
15045 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15047 * lyx_main.C: tiny error message fix
15049 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15052 calling fl_initialize(). This fixes the problem with ',' as
15053 decimal separator in text files.
15055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15057 * trans.C (process): Fix the keymap bug.
15059 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15061 * LaTeX.C (scanAuxFiles): New method. Provides support for
15062 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15063 (scanLogFile) Scan for "run BibTeX" messages.
15065 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15066 OT1 font encoding. Also, load the aecompl package if the ae
15069 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15071 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * texrow.C (increasePos): turn two error messages into debug
15076 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15078 * LaTeX.C (scanAux): Handle the \@input macro.
15079 (runBibTeX): Use scanAux().
15081 * language.C (latex_options_): New field.
15083 * LaTeXFeatures.C (getMacros): Add language macros.
15085 * buffer.C (makeLaTeXFile): Small fix.
15087 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15089 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15091 * text2.C: add a using directive.
15093 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15098 * lyxfunc.C: kill LyXBell.
15100 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15102 * text.C (IsBoundary): Remove the error message
15104 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15106 * lyxrc.C (setDefaults): Correct initialization value for
15109 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15111 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15114 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15115 and GotoNextNote().
15117 * src/LyXAction.C: Added reference-next.
15119 * text.C (InsertChar): Use contains instead of strchr.
15121 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15123 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15125 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15126 alignment commands (when needed).
15128 * text.C (InsertChar): Add ':' to number separator chars.