1 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3 * undo.C: add using std::advance to compile for stlport
5 2004-03-24 Angus Leeming <leeming@lyx.org>
7 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
8 it leads to a crash when no buffer is present.
10 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 Martin Vermeer <martin.vermeer@hut.fi>
13 * lyxfunc.C (dispatch):
14 * bufferparams.C (readToken): use the new LColor::setColor
16 * LColor.[Ch] (setColor): new version that takes two strings as
17 argument and creates a new color entry if necessary
19 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
21 * buffer.C (makeLaTeXFile): if the main latex file that is
22 processed is usually a subdocument of some master, then pretend
23 for a while that it is actually the master
25 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * buffer.C (getLabelList):
28 (getBibkeyList): use getMasterBuffer()
29 (getMasterBuffer): new method. Returns the main document in the
30 case where one is using included documents.
32 2004-03-25 André Pönitz <poenitz@gmx.net>
36 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
38 * ParagraphList_fwd.h: change ParagraphList to a std::vector
40 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
41 text*.C over here. Rename namespace CutAndPaste to lyx::cap
43 * ParameterStruct.h: merge with ParagraphParameters
45 * lyxtext.h: remove LyXText::parOffset() and getPar()
47 * text3.C: Remove all 'manual' update calls. We do now one per user
48 interaction which is completely sufficient.
55 * ParagraphParameters.[Ch]:
67 * output_docbook.[Ch]:
69 * output_linuxdoc.[Ch]:
70 * output_plaintext.[Ch]:
72 * paragraph_funcs.[Ch]:
73 * paragraph_pimpl.[Ch]:
81 * frontends/controllers/ControlDocument.C:
82 * frontends/controllers/ControlErrorList.C:
83 * frontends/controllers/ControlSpellchecker.C:
87 * insets/insetbibitem.C:
89 * insets/insetbranch.C:
90 * insets/insetcaption.C:
91 * insets/insetcharstyle.C:
92 * insets/insetcharstyle.h:
93 * insets/insetcollapsable.C:
94 * insets/insetcollapsable.h:
96 * insets/insetfloat.C:
98 * insets/insetmarginal.C:
100 * insets/insetoptarg.C:
101 * insets/insettabular.C:
102 * insets/insettext.C:
103 * insets/insettext.h:
104 * insets/insetwrap.C:
105 * mathed/math_mboxinset.C:
106 * mathed/math_nestinset.C:
107 * mathed/math_scriptinset.C:
108 * mathed/math_scriptinset.h:
111 2004-03-24 Angus Leeming <leeming@lyx.org>
113 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
114 deal with any child processes that have finished but are waiting to
115 communicate this fact to the rest of LyX.
117 2004-03-24 Angus Leeming <leeming@lyx.org>
119 64-bit compile fixes.
121 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
122 (c-tor): pass lyx::pos_types rather than ints.
124 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
127 * text.C (Delete): compile fix.
128 (getPar): ensure that function declaration is the same as that in
131 2004-03-23 Angus Leeming <leeming@lyx.org>
133 * ispell.C (LaunchIspell):
134 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
135 a boost::shred_ptr rather than a std::auto_ptr.
137 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * lyxfunc.C (getStatus): handle read-only buffers correctly;
140 handle LFUN_FILE_INSERT_*
142 * lyxrc.C (setDefaults, getDescription, output, read):
143 * lyxrc.h: remove ps_command
145 2004-03-22 Angus Leeming <leeming@lyx.org>
147 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
148 Ensure that error_handler is processed once only and that all data
149 is saved before attempting to output any warning messages.
151 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
153 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
155 * tabular.C (TeXRow): crash fix (from Kayvan and André)
157 2004-03-19 André Pönitz <poenitz@gmx.net>
159 * cursor.[Ch] (reset): take main text inset as argument
162 * BufferView_pimpl.C: adjust
164 * paragraph.[Ch]: fix completely broken operator=()
166 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * LColor.C (getFromLyXName): make sure that the color name is used
171 2004-03-17 Angus Leeming <leeming@lyx.org>
174 * LyXAction.C (init): remove LFUN_FORKS_KILL.
176 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
177 dialog and to kill a forked process.
179 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
181 * text2.C (setCursorFromCoordinates): fix font problem
183 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
185 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
186 bogus "rebuild cursor" code
188 2004-03-11 André Pönitz <poenitz@gmx.net>
190 * buffer.[Ch]: use InsetText instead of LyXText as container for
193 * dociterator.[Ch]: drop the BufferView * member which is not needed
194 anymore after the change to buffer.C
200 * BufferView_pimpl.[Ch]:
202 * cursor_slice.[Ch]: adjust
204 * text3.C: fix bug in mathDispatch
206 2004-03-08 André Pönitz <poenitz@gmx.net>
208 * undo.[Ch]: use 'StableDocumentIterator' as base for
211 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
214 * bufferparams.[Ch]: add jurabib support and param.
216 * LaTeX.C: add FIXME/comment.
218 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
220 * buffer.C: increment file format to 230.
222 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
224 * cursor.C (dispatch): avoid infinite loops
226 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
228 * rowpainter.C (paintSelection): fix x coordinates
230 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
232 * text.C (rowBreakPoint): fix breaking before displayed insets
234 2004-03-01 André Pönitz <poenitz@gmx.net>
236 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
238 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
242 * BufferView_pimpl.C:
250 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
256 * BufferView_pimpl.C: rename textwidth -> maxwidth,
257 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
259 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
261 * Bidi.[Ch] (computeTables): const correctness
262 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
263 fill_hfill, fill_label_hfill and x from Row
264 * lyxtext.h: prepareToPrint returns a RowMetrics
265 * rowPainter.C: adjust
266 * text.C (prepareToPrint): use width, not textWidth. adjust
267 (redoParagraphInternal, cursorX): adjust
268 * text2.C (getColumnNearX): adjust
269 (init): put a default value to the top LyXText::width
271 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
273 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
275 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
277 * lyxtext.h: add FontIterator class
279 * text.C (FontIterator, operator*, operator->, operator++): add
280 (rowBreakPoint, setRowWidth): adjust (fixing a
283 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * BufferView_pimpl.C (workAreaDispatch): allow also
286 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
288 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
290 * text.C (rowBreakPoint): fix a bug showing with very large insets
292 2004-02-25 André Pönitz <poenitz@gmx.net>
295 * cursor.[Ch]: move some mathed specific code to mathed
297 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
300 use_tempdir in preferences
301 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
303 * lyx_main.C: ensure that tempdir is valid
304 * lyxlex.h: correct typo
305 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
306 * paragraph.[Ch] (isMultiLingual): make const
307 * cursor.[Ch] (openable): make const
309 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
311 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
313 2004-02-20 André Pönitz <poenitz@gmx.net>
315 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
317 * cursor.[Ch]: prepare for localized getStatus()
323 * text3.C: streamlines the LyXText cursor movement handlers a bit.
325 2004-02-20 André Pönitz <poenitz@gmx.net>
327 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
329 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
331 * text2.C (setCursorFromCoordinates): switch to absolute coords
334 * text3.C (dispatch): adjust
336 2004-02-16 André Pönitz <poenitz@gmx.net>
338 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
341 * cursor_slice.[Ch]: remove unneeded acessor function
343 * lyxtext.h: rename rtl() to isRTL()
351 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
353 * rowpainter.C (paintSelection): coord fix
355 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * Spacing.C: compile fix
359 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
361 * cursor.C (dispatch): restore current_ before returning
363 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
365 * text2.C (cursorUp, cursorDown): fix coords
368 2004-02-12 André Pönitz <poenitz@gmx.net>
373 * text3.C: add LCursor & parameter to most cursor movement functions
374 remove usage of LyXText::cursorRow() and cursorPar()
376 * cursor.[Ch]: add textRow() needed members
379 * BufferView_pimpl.C:
382 * BufferView_pimpl.C: adjust
384 2004-02-11 André Pönitz <poenitz@gmx.net>
388 * BufferView_pimpl.C: shift undo/redo handling
390 * cursor.[Ch]: fix mathed crash
393 * lyxtext.h: move selectionAsText to LCursor
401 * rowpainter.C: fix excessive drawing
403 2004-02-06 André Pönitz <poenitz@gmx.net>
406 * BufferView_pimpl.[Ch]:
407 * text3.C: move some text specific LFUN handling
409 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
411 * text3.C (checkInsetHit): adjust coords
412 * text2.C (getColumnNearX): adjust coords
413 (edit): adjust coords
414 * text.C (getRowNearY): add two asserts
416 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
419 * format.C: add using std::distance to compile on gcc 2.95/stlport
421 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
423 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
425 2004-02-04 André Pönitz <poenitz@gmx.net>
427 * BufferView.[Ch] (insertInset):
428 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
433 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
435 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
436 on the default clause of the switch
437 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
438 wasn't catched by LCursor::dispatch
440 2004-02-03 André Pönitz <poenitz@gmx.net>
443 * cursor.[Ch]: some additional asserts
445 * undo.[Ch]: remove LyXText dependency in interface
449 * lyxtext.h (firstPar, lastPar): remove dead functions
454 * paragraph.[Ch]: adjust
456 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
458 * lyxfind.C (find): fix argument order in call to ::find
460 2004-02-02 André Pönitz <poenitz@gmx.net>
462 * cursor.[Ch]: remove direct access to anchor
464 * text.C: remove findText() hack
466 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
468 * iterators.[Ch] (lockPath): remove in favour of...
469 * BufferView.[Ch] (setCursor): this addition
470 * BufferView.C (putSelectionAt): adjust
471 * undo.C (performUndoOrRedo): adjust
472 * lyxfunc.C (dispatch): adjust
474 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
476 * iterators.C (lockPath): add a missing slice
477 * undo.C (performUndoOrRedo): remove redundant positioning code
479 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
481 * vc-backend.C (scanMaster): ";" -> ';'
483 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
485 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
488 * lyxtextclass.C (compare_name): rename to...
489 (LayoutNamesEqual): ...this
491 * lyxlex_pimpl.C (compare_tags): inherit from
492 std::binary_function, put back into anon namespace
494 * lyxfind.C (MatchString): inherig from std::binary_function
495 (findChange): use empty() istead of !size()
497 * format.C (FormatNamesEqual): new functor
504 * converter.C (compare_Converter): rename to...
505 (ConverterEqual): ...this, and fixup a bit.
506 (getConverter): use it, and make function const
507 (getNumber): use it, and make function const
511 * bufferlist.C: add using boost::bind
513 * MenuBackend.C (MenuNamesEqual): new functor
514 (hasMenu): use it, and make function const
515 (hasSubmenu): use nested bind to get rid of compare_memfun.
517 2004-01-30 André Pönitz <poenitz@gmx.net>
519 * BufferView_pimpl.C:
530 * text3.C: move some of the edit(x,y) handling to the insets
531 some coordinate changes.
533 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
535 * text.C: add using statements for std::advance and std::distance
537 * paragraph.C: add using statement for std::distance
539 * lyxfind.C: add using statement for std::advance
541 * cursor.C (region): remove std:: from swap
542 (openable): use nucleus in stead of operator->
544 * BufferView.C: add using statements for std::distance and std::swap
546 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
548 * iterators.C: Remove the pimple, move the needed structures to
549 the header file. Create accessor for the positions stack.
550 (asPosIterator): remove function
552 * PosIterator.C (PosIterator): move constructors to top of file
553 (PosIterator): reimplement the constructor taking a ParIterator in
555 (setFrom): new function
556 (operator!=): inline it
558 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
560 * lyxfind.C (replaceAll): use std::advance
562 * iterators.h: inherit from std::iterator.
564 * PosIterator.C (advance, distance): remove
565 * PosIterator.h: interit from std::iterator.
567 2004-01-26 André Pönitz <poenitz@gmx.net>
570 * BufferView_pimpl.[Ch]:
574 * bufferview_funcs.C:
585 * output_plaintext.C:
587 * paragraph_funcs.[Ch]:
588 * paragraph_pimpl.[Ch]:
594 * text3.C: more IU: dumps most of the rest of the mathcursor
595 implementation into cursor.[Ch]; "globalize" a bit of it.
597 2004-01-25 Angus Leeming <leeming@lyx.org>
599 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
601 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * LaTeXFeatures.h: add nice_ and nice() const
604 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
606 2004-01-20 André Pönitz <poenitz@gmx.net>
609 * BufferView_pimpl.C:
611 * bufferview_funcs.C:
624 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
625 LCursor and mathcursor parts to LCursor and InsetBase.
627 2004-01-15 André Pönitz <poenitz@gmx.net>
629 * cursor_slice.[Ch]: add a few covienience functions
631 * funcrequest.[Ch]: remove BufferView * member
633 * BufferView_pimpl.C:
640 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
642 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
644 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
645 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
647 2004-01-13 André Pönitz <poenitz@gmx.net>
650 * lyxtext.h: hide cursor and selection anchor behind accessor function
653 * BufferView_pimpl.[Ch]:
655 * bufferview_funcs.C:
665 * cursor_slice.[Ch]: some integer type changes for inset unification
667 * lyxcursor.[hC]: remove, it's CursorSlice now.
670 * BufferView_pimpl.[Ch]:
671 * bufferview_funcs.C:
677 * textcursor.[Ch]: adjust
679 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
681 * text2.C (undoSpan): add and use
682 * text.C (breakParagraph): use undoSpan (fix bug 578)
685 2004-01-08 Angus Leeming <leeming@lyx.org>
687 * BufferView_pimpl.C (MenuInsertLyXFile):
688 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
689 * lyxfunc.C (menuNew, open, doImport):
690 FileFilterList change to the FileDialog open and save functions.
692 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * ShareContainer.h: make isEqual and isUnique adaptable
696 * CutAndPaste.C: make resetOwnerAndChanges adaptable
698 2004-01-07 Angus Leeming <leeming@lyx.org>
701 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
703 * BufferView_pimpl.C (dispatch): act on these LFUNs.
705 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
706 functions replacing find, replace and replaceAll.
708 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
709 LFUN_WORDFIND(FORWARD|BACKWARD).
711 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
713 * text.C (breakParagraph): remove an outdated #warning
715 2004-01-07 André Pönitz <poenitz@gmx.net>
717 * lyxfind.C: somewhat clearer logic
719 * text.C: prevent crash in cursorX on unitialized row cache
721 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
723 * lyxcursor.[Ch] (operator>): add
724 * textcursor.C (selStart, selEnd): use std::min and std::max
726 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
728 * Chktex.C: include boost/format.hpp
730 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * InsetList.C: replace functor MathcIt with adaptable functor
734 (insetIterator): modify accordingly
736 * BranchList.h: move the BranchNamesEqual functor here from...
737 * BranchList.C: ... to here
739 * BranchList.C: new BranchListEqual fuctor, use it. Remove
741 (add): replace a finding loop with std::find_if.
743 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
745 * output_docbook.C: moving LatexParam functionality into
748 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
750 * buffer.C: increment format to 229.
752 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
755 * lyx_sty.[Ch]: remove minipageindent_def
761 * text3.C: remove LFUN_INSET_MINIPAGE
763 2003-12-28 Angus Leeming <leeming@lyx.org>
765 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
767 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
769 * text2.C (setParagraph): fix off-by-one crash
771 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
773 * output_docbook.C: header stuff for AGU
775 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
777 * text2.C (redoCursor): remove
780 * BufferView_pimpl.C: remove calls to redoCursor and
781 setCursor(cursor.par(), cursor.pos()) all around
783 2003-12-15 Angus Leeming <leeming@lyx.org>
785 * buffer.C: up the format to 228.
787 2003-12-15 André Pönitz <poenitz@gmx.net>
789 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
794 * BufferView_pimpl.C:
803 2003-12-15 Angus Leeming <leeming@lyx.org>
805 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
806 than getFromGUIName to manipulate the color.
808 2003-12-14 Angus Leeming <leeming@lyx.org>
810 * BranchList.[Ch]: minimize the API.
811 (Branch::getBranch, getColor): now return a 'const &'.
812 (Branch::setSelected) now returns a bool set to true if the
813 selection status changes.
814 (BranchList::clear, size, getColor, setColor, setSelected,
815 allBranches, allSelected, separator): removed.
816 (BranchList::find): new functions, returning the Branch with
818 (BranchList::add, remove): return a bool indicating that
819 the operation was successful.
821 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
822 new InsetBranch::isBranchSlected member function.
824 * LColor.[Ch]: mimimize the API.
825 (fill): renamed as addColor and made private.
826 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
827 versions of these functions taking a string arg have been removed.
829 * bufferparams.C (readToken):
830 * lyxfunc.C (dispatch):
831 * lyxrc.C (read): changes due to the altered BranchList and
834 * factory.C (createInset, readInset): changes due to altered
837 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
840 * lyxfunc.C: remove insetminipage. "minipage-insert"
841 now produces a frameless minipage box inset.
843 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
845 * textcursor.[Ch] (selStart,selEnd): add new methods
846 remove selection::start, end, use LyXCursor::operator<
847 * lyxcursor.[Ch] (operator<): add
848 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
849 * BufferView.[Ch] (unsetXSel): add
850 * text2.C (clearSelection): use unsetXSel,adjust
853 * rowpainter.C: adjust
854 * bufferview_funcs.C (put_selection_at): adjust
856 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
858 * BufferView_pimpl.C: small coord. correction
860 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
862 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
863 dragging over the splash screen.
865 2003-12-11 Angus Leeming <leeming@lyx.org>
867 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
868 as it is now handled in LyXText::dispatch.
870 * text3.C (doInsertInset): remove a level of nesting.
872 2003-12-11 Angus Leeming <leeming@lyx.org>
874 * factory.C (createInset): changes due to the changed interface to
875 InsetCommandMailer::string2params.
877 2003-12-10 Angus Leeming <leeming@lyx.org>
879 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
880 'dialog-show-new-inset <inset name>'
882 2003-12-10 Angus Leeming <leeming@lyx.org>
884 * buffer.C: up the format to 227.
886 * factory.C: the box inset is now identified simply by 'Box'.
888 2003-12-10 Angus Leeming <leeming@lyx.org>
890 * buffer.C: up the format to 226.
892 * factory.C: the note inset is now identified simply by 'Note'.
894 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
896 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
897 when a pit is enough. Standarize a couple of loops.
899 2003-12-05 Angus Leeming <leeming@lyx.org>
901 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
902 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
903 data to the re-worked "log" dialog.
905 2003-12-03 André Pönitz <poenitz@gmx.net>
913 * text2.C: use Inset::getText instead of Inset::getParagraph
915 2003-12-03 André Pönitz <poenitz@gmx.net>
919 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
920 InsetText::read() as LyXText::read()
922 2003-12-02 Angus Leeming <leeming@lyx.org>
924 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
925 type. Add a comment in the implementation that the function uses
926 the stream's bad() function rather than fail() as the std::streams
929 2003-12-02 André Pönitz <poenitz@gmx.net>
931 * lyxlex.[Ch]: make interface more similar to std::stream
933 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
935 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
937 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
939 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
941 * vspace.[Ch]: remove VSpace::NONE
943 2003-12-01 André Pönitz <poenitz@gmx.net>
946 * lyxtext.h: move ParagraphList member to LyXText
947 rename LyXText::ownerParagraphs to LyXText::paragraph
950 * bufferview_funcs.C:
960 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
962 * undo.C: fix cursor positioning
964 2003-12-01 John Levon <levon@movementarian.org>
966 * BufferView_pimpl.C: fix a crash on exit with
969 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
971 * BranchList.C: fix setSelected() method.
973 2003-11-28 André Pönitz <poenitz@gmx.net>
975 * ParagraphParameters.[Ch]:
976 * ParameterStruct.h: remove space above/below from Paragraph to
979 * BufferView_pimpl.C:
991 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
993 * factory.C: Syntax change for CharStyles
995 2003-11-28 André Pönitz <poenitz@gmx.net>
1000 * buffer.[Ch]: move LyXText member
1002 2003-11-28 André Pönitz <poenitz@gmx.net>
1004 * BufferView.[Ch]: make LyXText * text a private member
1006 * BufferView_pimpl.C:
1017 * output_plaintext.C: cleanup
1019 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1022 * lyxtextclass.[Ch]: parametrize SGML document header
1024 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1027 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1030 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1032 * text2.C (setFont): rework using PosIterator (no more recursive)
1033 (setCharFont): no more needed
1034 (setLayout): no more selection cursors fiddling (done by redoCursor)
1035 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1036 destroy remaining ones)
1038 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1040 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1042 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1045 * text3.C: adjust + re-allow multi par depth changes
1046 * textcursor.C: simplify a bit
1048 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1054 * src/output_docbook.C:
1055 * src/output_latex.C:
1060 * src/text2.C: Introducing a number of tags parametrizing various
1061 XML formats that we may want to support
1063 2003-11-25 André Pönitz <poenitz@gmx.net>
1065 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1067 * lyxtext.h (leftMargin/rightMargin): simplify interface
1074 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1076 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1077 master file to any child files. Fixes bug 546.
1079 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1081 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1083 2003-11-24 André Pönitz <poenitz@gmx.net>
1085 * rowpainter.C: simplification
1087 * text2.C (updateCounters): remove call to redoParagraph on
1088 changed labels as this is far too expensive.
1090 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1092 * converter.C (convert): fix a crash: this function gets
1093 called with buffer == 0 from importer code.
1095 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1097 * text3.C (cursorPrevious): make sure that we do not compare
1098 iterators form different containers.
1101 * rowpainter.C (paintSelection): make sure that we do not compare
1102 iterators from different containers.
1104 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1105 iterators from different ParagraphList containers.
1108 * text2.C (LyXText): change order of initialization slightly
1109 (operator=): new function. copy all variables except cache_par_
1110 (moveUp): make sure that we do not compare iterators from
1111 different ParagraphList constainers.
1114 * text.C (firstPar): new function
1115 (lastPar): new function
1116 (endPar): new function
1118 * lyxtext.h: move things around and group public functions, public
1119 variables, private functions, private variables
1121 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1123 * factory.C: change call to InsetERT constructor to avoid
1124 additional invocation of method status
1125 * text2.C (toggleInset): remove redundant update() call
1126 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1127 instead of a Bufferview pointer
1129 2003-11-21 André Pönitz <poenitz@gmx.net>
1131 * rowpainter.C: simplification
1133 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1135 * text3.C (dispatch): make possible to extend a word/row selection
1138 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1140 * lyxtext.h: x0_,y0_ -> xo_,yo_
1141 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1142 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1143 * rowpainter.C (paintRows): paint full paragraphs
1145 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1147 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1150 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1152 * lyxtext.h: add x0_, y0_
1153 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1154 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1156 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1158 * text2.C (setCursorIntern): move the x_target update here *
1159 * text3.C: change some bv() to true/false in calls to
1160 cursorUp/Down/Right/Left
1161 * cursor.C: use helper function.
1163 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1165 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1166 * paragraph_funcs.[Ch]: correct comment
1167 * rowpainter.C: do not paint selections away from bv->cursor()
1168 Fix a long standing selection painting bug.
1169 * text3.C: generalize mouse-selection code to LyXTexts other that
1171 * textcursor.C: do not use y coords if we can use par offsets
1173 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1175 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1176 cursor position after e.g. inset insert)
1178 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1180 * lyxfind.C (replace): adjust to locking removal + some
1183 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1185 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1188 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1191 * output_docbook.C: XML sanitation: new layout
1192 parameters InnerTag and CommandDepth
1194 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1196 * BufferView_pimpl.C:
1198 * text3.C: Fix the insertion and modification of button-style
1201 2003-11-13 André Pönitz <poenitz@gmx.net>
1203 * InsetList.[Ch]: remove deleteLyXText
1205 * paragraph.[Ch]: cache beginOfBody position
1210 * text3.C: remove superfluous update() calls
1214 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1216 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1217 * BufferView.C (fitLockedInsetCursor): remove
1218 * cursor.[Ch] (getDim): add
1219 * text.C (getRowNearY): add faster version
1220 * text3.C: remove some update calls
1222 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1234 * text3.C: The Character Style /XML short element patch.
1236 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1239 * factory.C: Small step to solving 'unable to insert some insets'
1242 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1244 * cursor.[Ch] (updatePos): new function for updating the y
1245 position of the tip inset
1246 * bufferview_funcs.C (put_selection_at):
1247 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1249 2003-11-11 André Pönitz <poenitz@gmx.net>
1251 * text.C: remove big comment on invalid Paragraph pointers as it is
1254 2003-11-11 André Pönitz <poenitz@gmx.net>
1256 * text_funcs.[Ch]: merge with ...
1264 * Makefile.am: remove text_funcs.[Ch]
1266 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1268 * cursor.C (getPos): return absolute cached y coord
1270 * BufferView_pimpl.C (fitCursor): new simplistic code
1271 (workAreaDispatch): add a fitCursor call
1273 2003-11-10 André Pönitz <poenitz@gmx.net>
1276 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1278 2003-11-10 André Pönitz <poenitz@gmx.net>
1280 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1281 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1282 indicate that the cursor needs to leave an inset
1284 * lyxtext.h: remove inset locking
1286 * cursor.[Ch]: re-implement functionality provided by inset locking
1289 * BufferView_pimpl.[Ch]:
1291 * bufferview_funcs.[Ch]:
1303 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1305 * PosIterator.[Ch]: replace the stack with a vector, add inset
1307 * iterators.[C]: adjust
1309 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1311 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1313 * paragraph_funcs.C (readParToken): put the correct id in the
1314 error item, not the id of the top paragraph
1316 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1318 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1319 * bufferview_funcs.C (put_selection_at): use the above
1321 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1323 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1325 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * output_linuxdoc.h:
1328 * output_plaintext.h:
1330 * output_docbook.h: add #include statements
1332 2003-11-05 José Matos <jamatos@lyx.org>
1334 * output_docbook.[Ch]:
1335 * output_latex.[Ch]:
1336 * output_linuxdoc.[Ch]:
1337 * output_plaintext.[Ch]: New files for output formats.
1338 * output.[Ch]: New file for helper functions.
1341 * paragraph_funcs.[Ch]: output functions moved to new files.
1343 * outputparams.h: rename of latexrunparams.h
1351 * paragraph_funcs.[Ch]:
1352 * paragraph_pimpl.[Ch]:
1353 * tabular.[Ch]: rename ascii to plaintext
1354 and LatexRunParams to OutputParams.
1356 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1358 * iterators.[Ch] (text): require bv argument
1359 * undo.C (recordUndo):
1360 * lyxfunc.C (dispatch):
1361 * bufferview_funcs.C (put_selection_at): adjust
1363 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1365 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1367 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1369 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1372 2003-11-04 André Pönitz <poenitz@gmx.net>
1374 * cursor.[Ch]: restructure
1377 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1379 * iterators.[Ch] (asCursor): remove
1381 * lfuns.h: remove LFUN_INSET_EDIT
1387 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1389 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1391 * lyxfind.[Ch]: complete overhaul
1392 * BufferView_pimpl.C:
1394 * paragraph.[Ch] (insert): add
1396 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1400 * text.C: remove dead spellcheck code
1402 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * dispatchresult.h: add a val setter
1406 * cursor.C (dispatch): use a tempvar for data_[i]
1408 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1410 * PosIterator.[Ch]: compile fix
1412 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1414 * text.C (cursorPar): deactivate the cursor cache
1416 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1418 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1420 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1422 * text3.C (dispatch): adjust for new DisptchResult semantics.
1424 * lyxfunc.C (dispatch): handle update when return from
1425 Cursor::dispatch, adjust for new DispatchResult semantics.
1427 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1428 DispatchResult(true) mean to not update. Add class functions for
1429 setting dispatched and update, as well as reading.
1431 * cursor.C (dispatch): don't handle update here
1433 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1436 * trans_mgr.C: adjust
1438 * paragraph_funcs.C (readParToken): exception safety
1440 * lyxvc.h: store the vcs pointer in a scoped_ptr
1443 * lyxsocket.C (serverCallback): exception safety
1445 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1447 * ispell.C (clone): make it return a auto_ptr
1449 * factory.C (createInset): exception safety
1450 (readInset): exception safety
1452 * bufferlist.C (newBuffer): exception safety
1454 * Thesaurus.C (Thesaurus): use initialization for aik_
1456 * MenuBackend.C (expandToc): exception safety.
1458 2003-11-03 André Pönitz <poenitz@gmx.net>
1462 * bufferview_funcs.C: remove getInsetFromId()
1465 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1471 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1473 * PosIterator.C (distance, advance): new
1474 * bufferview_funcs.[Ch] (put_selection_at): new
1475 * iterators.[Ch] (lockPath): new
1477 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1479 * iterators.[Ch] (asPosIterator): added
1480 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1481 * PosIterator.[Ch]: added
1483 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * cursor.C (dispatch):
1488 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1490 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1491 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1492 contructor, add a class function dispatched. Remove operator>=
1494 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1496 * debug.C: only use the default constructor for debugstream
1499 * main.C (main): include debug.h and setup the lyxerr streambuf
1502 2003-10-31 José Matos <jamatos@lyx.org>
1504 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1506 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1507 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1508 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1509 * paragraph_pimpl.C (simpleTeXSpecialC):
1510 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1511 add LatexRunParams argument.
1513 * exporter.C (Export): change call accordingly.
1515 * latexrunparams.h: add new member to take care of the other backends.
1516 2003-10-30 José Matos <jamatos@lyx.org>
1518 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1519 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1520 factorise code for paragraph output.
1522 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1525 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1527 * text3.C (dispatch):
1528 * lyxfunc.C (dispatch):
1529 * cursor.C (dispatch):
1530 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1532 * dispatchresult.h: make the dispatch_result_t ctor explicit
1534 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1537 * buffer.C: small refactoring of docbook stuff
1539 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1544 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1547 operator dispatch_result_t, and operators for == != and >=
1549 * cursor.C (dispatch): adjust for operator dispatch_result_t
1550 removal. comment out call to update
1552 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1554 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1565 * dispatchresult.h: new file, DispatchResult broken out of
1568 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1570 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1572 * text.C (rowBreakPoint): put a hack inside #if 0
1574 2003-10-28 André Pönitz <poenitz@gmx.net>
1578 * paragraph_funcs.C:
1581 * text2.C: general cleanup (lots of small stuff)
1583 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1585 * text2.C (cursorEnd): simple fix to the "end key goes to one
1586 before the end on last row" bug
1588 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1590 * text.C (backspace): fix the "zombie characters"
1592 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1594 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1596 2003-10-27 André Pönitz <poenitz@gmx.net>
1598 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1600 * factory.C: handle new InsetPagebreak, InsetLine
1602 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1603 and move handling into new InsetPagebreak, InsetLine
1605 * BufferView_pimpl.C:
1607 * ParagraphParameters.C:
1608 * ParameterStruct.h:
1613 * paragraph_funcs.C:
1614 * paragraph_pimpl.C:
1620 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1623 * lyxrow_funcs.[Ch]:
1629 * text3.C: remove lastPos uses in favour of Row::endpos
1631 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1633 * undo.C (performUndoOrRedo): fix two crashes by setting a
1634 cursor by hand and reordering some calls. Use bv->lockInset instead
1635 of inset->edit because the latter loses cursor information
1637 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1639 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1641 (rowBreakPoint): fix width. change point to point + 1.
1642 Add a missing check.
1644 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1647 * lyxfunc.C: fix (at least partly) the problems
1648 with the Nav menu and headers inside branch insets
1651 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1653 * paragraph.C (getChar): add strong asserts
1655 * lyxrow_funcs.C (lastPos): remove hideous hack
1657 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1658 (fill): adjust to that (avoid an infinite loop)
1660 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1662 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1664 2003-10-23 André Pönitz <poenitz@gmx.net>
1666 * RowList_fwd.h: change list<> to vector<> to gain speed
1667 after suggestion from Alfredo
1669 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1671 * lyxtext.h: move the bidi stuff from here...
1674 * Bidi.[Ch]: ... to here
1676 2003-10-23 André Pönitz <poenitz@gmx.net>
1679 * text.C (isLastRow, isFirstRow): new functions
1681 * paragraph.h: new width cache member
1683 * rowpainter.C: replace RowList::iterator with Row & where possible
1685 * lyxfunc.C: replace several view()->text with a single call
1687 * toc.C: fix 'unused' warning
1689 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1692 when woring with stream::pos_type
1693 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1695 2003-10-22 André Pönitz <poenitz@gmx.net>
1698 * text.C: use Row & instead of RowList::iterator
1700 * lyxrow.h: rename end() to endpos()
1706 2003-10-22 Angus Leeming <leeming@lyx.org>
1708 * buffer.[Ch] (fully_loaded): new member function, returning true
1709 only when the file has been loaded fully.
1710 Used to prevent the premature generation of previews and by the
1711 citation inset to prevent computation of the natbib-style label.
1713 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1714 templates are all set up.
1716 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1718 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1720 * text.C: fixed an "oops" in the "is a bit silly"
1723 2003-10-21 André Pönitz <poenitz@gmx.net>
1725 * FuncStatus.[Ch]: small stuff, whitespace
1727 * lyxfont.[Ch]: operator<<() for debug reasons
1731 * lyxtext.h: whitespace, spelling
1733 * paragraph.C: naming of variables
1736 * text2.C: small stuff
1739 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1741 * text.C: (1) finish off the inset display() work;
1742 (2) fix the "is a bit silly" bug (accessing char
1745 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1747 * text.C: re-introduce display() for insets, fixing the
1748 various bugs (stretch of line above, math inset
1751 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1753 * text.C (rightMargin): remove spurious semicolon
1755 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1758 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1760 * text3.C: fix one crash due to wrong cursor def
1762 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * vc-backend.C (scanMaster): make the regex static
1766 * LaTeX.C (scanAuxFile): make the regexs static
1768 * text3.C (doInsertInset, dispatch, dispatch):
1769 * text2.C (cursorUp, cursorDown):
1770 * text.C (selectNextWordToSpellcheck):
1771 * BufferView_pimpl.C (dispatch):
1772 * lyxfunc.C (dispatch): localDispatch -> dispatch
1774 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * lyxsocket.C: include <cerrno>
1778 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * lyxfunc.C (dispatch): remove textcache stuff
1782 * bufferlist.C (release): remove textcache stuff
1785 * TextCache.C: delete file
1786 * TextCache.h: delete file
1788 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1790 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1791 delete of the bv_->text.
1792 (resizeCurrentBuffer): remove texcache stuff
1793 (workAreaResize): ditto
1795 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1797 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1800 2003-10-16 André Pönitz <poenitz@gmx.net>
1807 * text3.C: speed up by storing y positions per paragraph plus per-row
1808 offset instead of having a 'full' y position in the row.
1810 2003-10-15 André Pönitz <poenitz@gmx.net>
1814 * undo.[Ch]: make undo aware of inner insets
1816 2003-10-14 Angus Leeming <leeming@lyx.org>
1818 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1819 static member functions LyX::ref() and LyX::cref.
1820 (lastfiles): new accessor functions for the new lastfiles_ member var.
1821 (addLyXView, views_): add a new LyXView to the list of views_.
1822 (updateInset): loop over all LyXViews to call their own updateInset
1823 member function, returning a pointer to the Buffer owning the inset.
1825 * BufferView_pimpl.C (loadLyXFile):
1826 * MenuBackend.C (expandLastfiles):
1827 * bufferlist.C (MenuWrite, QuitLyX):
1828 lastfiles is no longer a global variable.
1829 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1831 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1832 static function. Access through LyX::cref().emergencyCleanup().
1834 2003-10-14 André Pönitz <poenitz@gmx.net>
1836 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1838 * undo.[Ch]: restoring part of 'undo in insets'
1841 * undo_funcs.[Ch]: merge with undo.[Ch]
1843 * tabular.C: small cleansing stuff
1845 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1847 * paragraph_funcs.C (readParToken): report unknown insets as error
1848 boxes. Use the outer paragraph as location (also for unknown
1851 * factory.C (readInset): do not abort on reading an unknown inset.
1852 Eat it and return 0.
1854 2003-10-13 Angus Leeming <leeming@lyx.org>
1856 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1858 * lyxrc.C: displayTranslator is now a function,
1859 declared in GraphicsTypes.h.
1861 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1863 * format.C: new placeholder $$a to pass the socket address.
1865 * bufferlist.[Ch]: new function getBufferFromTmp.
1867 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1868 files in the temporary dir.
1870 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1872 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1874 * Makefile.am: add lyxsocket.[Ch].
1876 * lyx_main.C (error_handler): handle SIGPIPE.
1878 2003-10-13 André Pönitz <poenitz@gmx.net>
1880 * BufferView_pimpl.C:
1885 * undo_funcs.[Ch]: use paroffset_type instead of
1886 ParagraphList::iterators to prevent multiple conversion
1887 (and get a more robust interface)
1889 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1893 * text3.C (dispatch): ditto
1895 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1898 move the onlyfile, use onlyfile instead of foundfile in a couple
1901 * DepTable.C (update): flush the error stream a bit more
1903 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * lyxserver.C (callback): adjust
1907 * lyxfunc.C (getStatus): add a missing brace in commented code
1908 (ensureBufferClean): reindent
1909 (dispatch): delete version taking a string
1911 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * LaTeX.C (deplog): move found file handlig from here...
1914 (handleFoundFile): .. to new function here.
1915 (deplog): make sure to discover several files mentioned on the
1918 2003-10-10 André Pönitz <poenitz@gmx.net>
1925 * text3.C: fix some of the tabular crashes
1927 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1929 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1931 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1933 2003-10-09 André Pönitz <poenitz@gmx.net>
1935 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1938 * BufferView_pimpl.C:
1939 * bufferview_funcs.C:
1950 * undo_funcs.C: adjust
1952 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * text2.C (incrementItemDepth): new function, use a backtracking
1955 algorithm to discover the correct item depth.
1956 (resetEnumCounterIfNeeded): new function, use a backtracking
1957 algorithm to discover if counter reset is needed.
1958 (setCounter): use them. Simplify a bit. Add different labels for
1959 different item depths for itemize.
1961 * paragraph.C (Paragraph): remove initialization of enumdepth
1964 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1965 enumerate and itemize. Change the type of itemdepth to signed char.
1967 2003-10-08 André Pönitz <poenitz@gmx.net>
1969 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1974 * tabular.[Ch]: fix crash after 'row-insert'
1976 2003-10-08 Angus Leeming <leeming@lyx.org>
1978 Fix doxygen warnings.
1980 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1981 Remove CutAndPaste:: prefix from header file declaration.
1983 * LColor.h (fill): remove LColor:: prefix from declaration.
1985 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1986 use lyx::depth_type rather than Paragraph::depth_type so that
1987 header file and .C file match.
1989 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1991 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1992 * aspell.C: \file aspell_local.C -> \file aspell.C
1993 * gettext.C: \file gettext.C -> \file src/gettext.C
1994 * gettext.h: \file gettext.h -> \file src/gettext.h
1995 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1996 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1997 * text.C: \file text.C -> \file src/text.C
1999 * toc.C: move comment so that doxygen is not confused.
2001 2003-10-07 Angus Leeming <leeming@lyx.org>
2003 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2005 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2008 * aspell_local.h: add forgotten std::string's.
2010 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2017 * text3.C: The Box patch. Fancybox support, minipage, parbox
2019 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2025 * ParagraphParameters.h:
2035 * lyxtextclasslist.h:
2038 * paragraph_pimpl.C:
2039 * textcursor.h: add <string> and other small fixes to make Lars'
2040 std::string patch compile with STLport.
2042 2003-10-06 Angus Leeming <leeming@lyx.org>
2044 * LColor.h: Add missing #include <string>.
2046 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * All most all file in all subdirs: Make <string> be the prefered
2049 way of getting to std::string, add using declarations.
2051 2003-10-06 André Pönitz <poenitz@gmx.net>
2053 * metricsinfo.C: initialize LyXFont before changing attribute.
2054 (fixes the 'math in \emph is upright' bug)
2056 2003-10-06 André Pönitz <poenitz@gmx.net>
2058 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2060 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2063 * paragraph_pimpl.C: Small fixes to build using STLport
2065 2003-10-02 André Pönitz <poenitz@gmx.net>
2068 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2070 2003-10-01 André Pönitz <poenitz@gmx.net>
2072 * factory.C: assert early
2074 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * lyx_main.C: remove the global debug object
2078 * debug.h: adjust for new debugstream
2080 * debug.C: adjust for new debugstream and keep the global debug
2083 2003-09-22 Angus Leeming <leeming@lyx.org>
2085 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2086 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2087 an incomplete class LyXFont.
2089 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2091 * factory.C: bug fix in branches
2093 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * lyxfunc.C (processKeySym): adjust
2097 (dispatch): change arg name from ev to func, adjust
2098 (sendDispatchMessage): ditto
2100 * lyx_main.C (defaultKeyBindings): adjust keybindings
2101 (deadKeyBindings): ditto
2103 * kbsequence.C (addkey): return a FuncRequest
2105 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2107 * kbmap.C (bind): take a FuncRequest as arg, adjust
2110 (defkey): change to take a FuncRequest as arg, adjust
2111 (findbinding): take a FuncRequest as arg, adjust.
2113 * funcrequest.h (operator=): added
2115 * funcrequest.C (FuncRequest): default kb_action changed from
2116 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2118 * buffer.C (dispatch): simplify
2119 (dispatch): adjust to take a FuncRequest as arg, adjust
2121 * boost.C (assertion_failed): change assertion message slightly
2123 * ToolbarBackend.C (read): simplify
2125 * MenuBackend.C (binding): adjust call to findbinding, add a
2126 message if no binding is found.
2128 (expandToc): correct by adding a empty FuncRequest
2130 * LyXAction.C: include <boost/assert.hpp>
2131 (isPseudoAction): delete function
2132 (LookupFunc): change name to...
2133 (lookupFunc): this. change return type to FuncRequest.
2134 (getActionName): take kb_action as arg, simplify
2135 (funcHasFlag): add an assert, simplify.
2137 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * toc.C (action): return a FuncRequest, simplify
2141 * lyxfunc.C (processKeySym): adjust
2142 (getStatus): delete version that takes an int.
2144 (dispatch): delete version that takes action as int
2146 (sendDispatchMessage): simplify and adjust
2148 * funcrequest.C (getArg): take unsigned int as arg
2150 * ToolbarBackend.C (read): adjust
2151 (add): delete version that takes func as a string.
2152 (getIton): take a FuncRequest as arg
2154 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2157 * MenuBackend.C (MenuItem): add a new construct that only takes a
2158 Kind, simplify the constructor use for submenus.
2160 (expandLastfiles): adjust
2161 (expandDocuments): adjust
2162 (expandFormats): adjust
2163 (expandFloatListInsert): adjust
2164 (expandFloatInsert): adjust
2165 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2167 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2168 Remove class variables lyx_pseudo_map and lyx_arg_map
2170 * LyXAction.C (searchActionArg): delete function
2171 (getPseudoAction): delete function
2172 (retrieveActionArg): delete function
2173 (LookupFunc): make it return kb_action, simplify.
2174 (getActionName): simplify
2176 * factory.C (createInset): fix new bug
2178 2003-09-19 Angus Leeming <leeming@lyx.org>
2180 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2181 masterFilename_ parameter in the include inset.
2183 * factory.C (createInset): changes due to the changes to InsetInclude.
2185 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2187 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2189 2003-09-18 Angus Leeming <leeming@lyx.org>
2192 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2193 Inset::fillWithBibKeys.
2194 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2196 2003-09-18 Angus Leeming <leeming@lyx.org>
2198 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2200 (ctor): pass and store a 'Buffer const &'
2201 (buffer): new member function.
2203 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2204 '*this' to the LaTeXFeatures ctor.
2206 2003-09-18 Angus Leeming <leeming@lyx.org>
2212 * text.C: rename EnumLColor as LColor_color.
2214 2003-09-18 Angus Leeming <leeming@lyx.org>
2216 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2217 remove #include "insets/insetbase.h" from cursor.h.
2219 2003-09-18 Angus Leeming <leeming@lyx.org>
2221 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2222 InsetOld_code to remove #include "inset.h".
2224 * iterators.C: add #include "insets/inset.h"
2226 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2228 * BufferView.C: remove more locking stuff that apparently doesn't
2229 do anything sensible.
2231 2003-09-16 André Pönitz <poenitz@gmx.net>
2234 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2237 2003-09-16 Angus Leeming <leeming@lyx.org>
2239 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2241 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2244 * paragraph.h: remove #include "lyxfont.h". Forward declare
2247 2003-09-16 Angus Leeming <leeming@lyx.org>
2249 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2250 of support/textutils.h.
2251 (isWord): move the contents of support/textutils.h's IsWordChar here.
2257 * text2.C: add #include "paragraph.h".
2260 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2262 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * LaTeX.C: use namespace alias for lyx::support::os
2270 2003-09-16 Angus Leeming <leeming@lyx.org>
2273 * bufferview_funcs.C:
2276 * paragraph_pimpl.C:
2278 * text.C: add #include "LColor.h".
2280 2003-09-16 Angus Leeming <leeming@lyx.org>
2282 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2283 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2285 Store the FontBits::color variable as an int rather than as an
2286 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2289 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2290 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2291 string calls together.
2293 * lyxrc.C: add #include "LColor.h".
2295 2003-09-15 Angus Leeming <leeming@lyx.org>
2297 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2300 2003-09-15 Angus Leeming <leeming@lyx.org>
2302 * LColor.h: add an EnumLColor wrapper for LColor::color.
2304 * lyxfont.[Ch] (color, setColor, realColor):
2305 * lyxtext.h, text.C (backgroundColor):
2306 pass EnumLColor args to/from the functions, rather than LColor::color
2310 * lyxtext.h: forward declare EnumLColor.
2312 * lyx_main.C: add #include "LColor.h".
2314 2003-09-15 Angus Leeming <leeming@lyx.org>
2316 * .cvsignore: add lyx-gtk.
2318 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * ParagraphParameters.C
2327 * bufferview_funcs.C
2337 * vc-backend.C: remove usage of STRCONV
2339 2003-09-15 Angus Leeming <leeming@lyx.org>
2341 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2342 explicitly define the color passed to the painter.
2344 2003-09-15 Angus Leeming <leeming@lyx.org>
2346 * bufferparams.C (BufferParams): reorder member initializers to avoid
2349 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2351 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2352 * text.C (updateRowPositions): remove an unusual nop
2354 2003-09-12 André Pönitz <poenitz@gmx.net>
2356 * BufferView_pimpl.C:
2365 * Counters.[Ch]: finish the 'automatic counters' job
2367 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2369 * aspell.C: include <boost/assert.cpp> (compile fix)
2371 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2373 * boost.C (assertion_failed): use lyx::support::abort instead of
2376 2003-09-10 Angus Leeming <leeming@lyx.org>
2378 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2379 with their _fwd progeny.
2381 2003-09-09 Angus Leeming <leeming@lyx.org>
2383 134 files throughtout the source tree: replace 'using namespace abc;'
2384 directives with the appropriate 'using abc::xyz;' declarations.
2386 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2388 * boost.C (emergencyCleanup): moved here from LAssert.c
2389 (assertion_failed): new function, called by BOOST_ASSERT
2391 * several files: change Assert to BOOST_ASSERT
2393 2003-09-09 Angus Leeming <leeming@lyx.org>
2395 * buffer.[Ch]: Add an Impl class and move Buffer's member
2396 variables into it. As a result move several header files out of
2399 Add header files to lots of .C files all over the tree as a result.
2401 2003-09-09 Angus Leeming <leeming@lyx.org>
2403 * buffer.[Ch]: make Buffer's member variables private. Add
2406 Lots of changes all over the tree as a result.
2408 2003-09-08 Angus Leeming <leeming@lyx.org>
2410 * graph.C: #include <config.h>.
2412 2003-09-08 Angus Leeming <leeming@lyx.org>
2416 * BufferView_pimpl.C:
2445 * toc.C: remove redundant using directives.
2447 2003-09-07 Angus Leeming <leeming@lyx.org>
2449 * LaTeXFeatures.h: remove #include "support/types.h".
2450 * ToolbarBackend.h: remove #include <algorithm>.
2451 * changes.h: remove #include <ctime>.
2452 * debug.h: remove #include <iosfwd>.
2453 * graph.h: remove #include "support/std_string.h".
2454 * lyx_main.h: remove #include <csignal>.
2455 * lyxlex_pimpl.h: remove #include <fstream>.
2456 * sgml.h: remove #include <algorithm>, <utility>.
2457 * toc.h: remove #include "support/std_ostream.h".
2458 Add #include <iosfwd>.
2460 2003-09-07 Angus Leeming <leeming@lyx.org>
2462 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2464 * converter.h: forward declare LatexRunParams.
2465 * encoding.h: remove #include "lyxrc.h".
2466 * lyxtext.h: remove #include "LColor.h".
2467 * lyxtextclass.h: remove #include "support/types.h".
2468 * trans.h: remove #include "tex-accent.h".
2469 * trans_mgr.h: remove #include "tex-accent.h".
2470 * insets/inset.h: remove #include "support/types.h", <vector>.
2471 * insets/insetcollapsable.h: remove #include "LColor.h".
2472 * insets/insetinclude.h: remove #include "dimension.h".
2473 * insets/insetlatexaccent.h: remove #include "dimension.h".
2474 * insets/insetoptarg.h:: remove #include "insettext.h".
2475 * insets/insettext.h: remove #include "dimension.h",
2476 <boost/shared_ptr.hpp>
2478 * insets/renderers.h: add #include "dimension.h".
2479 * insets/updatableinset.h: add #include "support/types.h".
2481 * many .C files: Associated changes.
2483 2003-09-06 Angus Leeming <leeming@lyx.org>
2485 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2486 one, inside testInvariant.
2488 * PrinterParams.C: new file.
2489 * PrinterParams.[Ch]: move the function bodies out of line.
2491 2003-09-06 Angus Leeming <leeming@lyx.org>
2493 * ParagraphParameters.h: forward declare ParameterStruct rather than
2494 including its header file.
2495 (depth): moved out-of-line.
2497 2003-09-06 Angus Leeming <leeming@lyx.org>
2499 * BufferView_pimpl.h:
2502 * lyxfunc.h: forward declare LyXKeySym rather than
2503 #include "frontends/LyXKeySym.h".
2505 * BufferView_pimpl.C:
2508 * lyxfunc.C: associated changes.
2510 2003-09-06 Angus Leeming <leeming@lyx.org>
2512 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2513 As a result, can remove the #include "insets/inset.h" from BufferView.h
2515 2003-09-06 Angus Leeming <leeming@lyx.org>
2517 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2518 As a result, can remove the #include "insets/inset.h" from BufferView.h
2520 2003-09-06 Angus Leeming <leeming@lyx.org>
2526 * bufferview_funcs.C:
2527 * BufferView_pimpl.C:
2532 * ParagraphParameters.C:
2537 * frontends/controllers/ControlDocument.C:
2538 * insets/insetcaption.C: rearrange the #includes into some sort of
2541 * buffer.h: remove #includes ErrorList.h, undo.h
2543 2003-09-06 Angus Leeming <leeming@lyx.org>
2545 * support/types.h: add a 'depth_type' typedef, used to store the
2546 nesting depth of a paragraph.
2549 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2550 defining explicitly.
2553 * paragraph_funcs.h:
2554 * ParagraphParameters.h:
2555 * sgml.h: use lyx::depth_type rather than Paragraph or
2556 ParameterStruct's depth_type.
2559 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2562 * BufferView_pimpl.C:
2564 * ParagraphParameters.C:
2567 * bufferview_funcs.C:
2574 * frontends/LyXView.C:
2575 * frontends/controllers/ControlDocument.C:
2576 * frontends/controllers/ControlErrorList.C:
2577 * insets/insetbibitem.C:
2578 * insets/insetbranch.C:
2579 * insets/insetcaption.C:
2580 * insets/insetcollapsable.C:
2581 * insets/insetenv.C:
2582 * insets/insetert.C:
2583 * insets/insetfloat.C:
2584 * insets/insetfoot.C:
2585 * insets/insetfootlike.C:
2586 * insets/insetnewline.C:
2587 * insets/insetquotes.C:
2588 * insets/insettabular.C:
2589 * insets/insettext.C:
2590 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2592 * frontends/controllers/ControlChanges.C: #include "changes.h".
2594 2003-09-06 Angus Leeming <leeming@lyx.org>
2596 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2597 than #including paragraph.h.
2600 * RowList.h: deleted. Superfluous.
2610 * insets/insettext.h: use ParagraphList_fwd.h rather than
2613 * paragraph.h: don't forward declare ParagraphList.
2616 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2617 rather than ParagraphList.h. paragraph.h is still needed for the
2618 Paragraph::depth_type parameters.
2620 * textcursor.h: enable it to compile stand-alone in light of the
2623 * bufferview_funcs.C:
2635 * frontends/controllers/ControlParagraph.C:
2636 * frontends/controllers/ControlTabular.C:
2637 * insets/insetmarginal.C:
2638 * insets/insetminipage.C:
2639 * insets/insetnote.C:
2640 * insets/insetoptarg.C: add header files needed to compile again.
2642 2003-09-06 Angus Leeming <leeming@lyx.org>
2644 * RowList_fwd.h: new file, forward-declaring Row rather than
2645 #including lyxrow.h.
2650 * insets/insettext.h: use it instead of RowList.h
2652 * bufferview_funcs.C:
2659 * text3.C: #include "RowList.h".
2661 2003-09-05 Angus Leeming <leeming@lyx.org>
2663 * factory.C (createInset):
2664 * vspace.C (c-tor): replace sscanf call with an istringstream.
2665 * ispell.C: re-add missing HP/UX headers.
2666 * lyxserver.C: re-add missing os2 headers.
2668 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2677 * text3.C: re-add missing system headers, needed for 2.95.2.
2679 2003-09-05 Angus Leeming <leeming@lyx.org>
2681 Changes most place everywhere due to the removal of using directives
2682 from support/std_sstream.h.
2684 2003-09-05 Angus Leeming <leeming@lyx.org>
2686 Replace LString.h with support/std_string.h,
2687 Lsstream.h with support/std_sstream.h,
2688 support/LIstream.h with support/std_istream.h,
2689 support/LOstream.h with support/std_ostream.h.
2691 Changes resulting throughout the tree.
2693 2003-09-05 Angus Leeming <leeming@lyx.org>
2695 * sgml.h: ensure that the header file can be compiled stand-alone.
2696 * *.C: strip out redundant #includes. (320 in total.)
2698 2003-09-04 Angus Leeming <leeming@lyx.org>
2700 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2701 here (from getPackages).
2703 * debug.[Ch]: add a new EXTERNAL tag.
2705 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2707 * text2.C (cursorEnd): simplify
2709 (getColumnNearX): adjust
2711 * text.C (computeBidiTables): adjust
2714 * rowpainter.C (paintChars): adjust
2715 (paintSelection): adjust
2716 (paintChangeBar): adjust
2719 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2721 (numberOfSeparators): adjust
2723 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2729 * text3.C: Restricts the mouse click functionality
2730 of insets like bibtex, include, toc and floatlist to the visible
2731 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2732 up the dialogs. Cursor has to be in front of the inset (i.e.
2733 start of row) for this to function.
2735 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2737 * bufferview_funcs.C (currentState): output row information
2739 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2741 * bufferview_funcs.C (currentState): output paragraph position
2743 2003-09-04 Angus Leeming <leeming@lyx.org>
2745 * FloatList.h: move out #include "Floating.h".
2746 * LaTeX.h: move out #include "DepTable.h".
2747 * LyXAction.h: move out #include "funcrequest.h".
2748 * buffer.h: move out #include "author.h", "iterators.h".
2749 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2750 * lyx_main.h: move out #include "errorlist.h".
2751 * lyxfunc.h: move out #include "FuncStatus.h".
2752 * lyxtext: move out #include "lyxcursor.h".
2753 * paragraph_pimpl.h: move out #include "counters.h".
2755 2003-09-03 Angus Leeming <leeming@lyx.org>
2757 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2758 preamble_snippets list, enabling us to add snippets to the preamble
2759 only if the snippet was not there already.
2761 2003-09-04 Angus Leeming <leeming@lyx.org>
2763 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2765 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2770 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2772 * BranchList.C: point fix, earlier forgotten
2774 2003-09-02 Angus Leeming <leeming@lyx.org>
2776 * box.C (contains): renamed from 'contained' after a fantastic
2779 2003-09-02 John Levon <levon@movementarian.org>
2785 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2787 2003-09-02 John Levon <levon@movementarian.org>
2789 * text2.C: simplification of cursorEnd(), including partial
2792 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * buffer.C (readFile): add a space
2796 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2798 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2800 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * buffer.C (readFile): new function, take a filename and a
2803 ParagraphList::iterator
2805 (readFile): adjust, make it private. don't use setStream, make
2806 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2807 always contain the filename.
2809 * BufferView.C (insertLyXFile): simplify and make it work for
2812 2003-08-30 John Levon <levon@movementarian.org>
2814 * Makefile.am: fix dist (from Kayvan)
2816 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * most files: change to use const Buffer refs
2820 2003-08-27 André Pönitz <poenitz@gmx.net>
2822 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2823 on top of ownerPar().
2825 2003-08-27 John Levon <levon@movementarian.org>
2827 * funcrequest.C: properly initialise POD members
2829 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2831 * lyxtext.h (top_y): move top_y from here
2836 * BufferView_pimpl.[Ch]: to here
2837 * frontends/screen.C:
2838 * insets/insettabular.C:
2839 * insets/insettext.C: adjust
2840 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2842 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2845 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2847 2003-08-26 André Pönitz <poenitz@gmx.net>
2849 * paragraph_func.[Ch] (outerPar): new function
2852 * paragraph_funcs.C:
2853 * paragraph_funcs.h:
2854 * paragraph_pimpl.C:
2855 * text2.C: remove Inset::par_owner
2857 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2862 * text2.C: eliminates the needFullRow/display() stuff
2863 altogether, putting the logic in metrics/draw in the insets.
2865 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2867 * text2.C (redoParagraphInternal, redoParagraphs):
2868 * text.C (redoParagraph): add a call to updateRowPositions at the
2869 end of each 'metrics-like' call. Remove all others.
2870 (getRow): remove the 'y-computing' version.
2871 (getRowNearY): do not compute nor return the real y. Solve the
2872 'y < 0' problem and simplify.
2874 2003-08-22 Angus Leeming <leeming@lyx.org>
2876 * *.[Ch]: clean-up of licence and author blurbs.
2877 Also move config.h out of a few .h files and into a few .C files.
2879 2003-08-22 André Pönitz <poenitz@gmx.net>
2881 * lyxrow.[Ch]: add x_ and *fill_ members
2886 * text2.C: adjust/remove prepareToPrint() calls
2888 2003-08-22 André Pönitz <poenitz@gmx.net>
2890 * lyxrow.[Ch]: add end_ member
2892 * lyxrow_funcs.C: use LyXRow::end_
2894 * lyxtext.h (singleWidth): add LyXFont parameter
2897 * text2.C: adjust LyXText::singleWidth() calls
2899 * text.C (redoParagraph): simplify row breaking logic
2902 2003-08-19 André Pönitz <poenitz@gmx.net>
2904 * funcrequest.C: initialize button_ member
2907 * rowpainter.[Ch]: interface consolidation
2909 2003-08-18 André Pönitz <poenitz@gmx.net>
2912 * BufferView_pimpl.C:
2914 * paragraph_funcs.C:
2916 * text3.C: remove LyXScreen::draw() and fitCursor calls
2918 * BranchList.h: remove spurious semicolons
2920 * MenuBackend.C: fix branchlist related crash
2922 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2930 * bufferparams.[Ch]:
2934 * text3.C: implements the 'branch inset'
2935 idea. This allows the output of various versions of a document
2936 from a single source version, selectively outputing or suppressing
2937 output of parts of the text.
2938 This implementation contains a 'branch list editor' in a separate
2939 tab of the document settings dialog. Branches are user definable
2940 and have a "display colour" to distinguish them on-screen.
2942 ColorHandler was somewhat cleaned up.
2943 (1) make possible a dynamically growing LColor list by allowing
2944 the graphic context cache to grow along (vector);
2945 (2) eliminate an IMHO unnecessary step in colour allocation.
2947 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2949 * BufferView_pimpl.C: compile fix
2951 2003-08-15 André Pönitz <poenitz@gmx.net>
2953 * rowpainter.C: remove extra metrics calls
2955 * lyxtext.h: merge the two constructors into a single one,
2956 pass reference to owner's par list
2958 * BufferView_pimpl.C:
2962 2003-08-15 André Pönitz <poenitz@gmx.net>
2964 * lyxrow_funcs.[Ch]:
2967 * paragraph_funcs.C:
2972 * text_funcs.C: split LyXText::rowlist_ into individual
2973 Paragraph::rows_ chunks
2976 * BufferView_pimpl.[Ch]:
2979 * text3.C: remove toggleSelection()
2981 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2983 * bufferlist.C: beautify two alerts (shorter text of buttons)
2984 * buffer.C: Remove redundant ' ' from message
2986 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2987 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2988 rename VALIGN_CENTER to VALIGN_MIDDLE
2990 2003-08-11 André Pönitz <poenitz@gmx.net>
2992 * lyxtext.h (getPar):
2993 * text.C: new function
2995 2003-08-11 André Pönitz <poenitz@gmx.net>
2998 * tracer.[Ch]: remove unneeded files
3000 * InsetList.[Ch]: remove resizeInsetsLyXText()
3005 * text3.C: merge insertParagraphs() and appendParagraph()
3006 remove breakAgain(), update()
3008 * BufferView_pimpl.[Ch]:
3009 * bufferview_funcs.[Ch]:
3013 * tabular.C: adjust after text & InsetList changes.
3015 2003-08-08 André Pönitz <poenitz@gmx.net>
3017 * text.C (insertChar, backspace): replace rowlist fiddling
3018 with rebreak of full par
3021 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3022 checkParagraph, updateInset): removed
3024 2003-08-07 André Pönitz <poenitz@gmx.net>
3027 * text3.C: merge some LFUN handlers, remove dead code
3029 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3031 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3033 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3035 * text2.C (DEPM): fix part of bug 1255 and 1256
3037 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3039 * BufferView_pimpl.C (workAreaDispatch): change to use
3040 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3041 that are no mouse related.
3043 2003-08-05 André Pönitz <poenitz@gmx.net>
3046 * BufferView_pimpl.[Ch]:
3047 * bufferview_funcs.C:
3049 * text3.C: rip out "deep update"
3051 * textcursor.[Ch] (last_sel_cursor): remove unused member
3053 2003-08-04 André Pönitz <poenitz@gmx.net>
3056 * BufferView_pimpl.[Ch]:
3057 * ParagraphParameters.C:
3058 * bufferview_funcs.C:
3064 * text3.C: replace "complicated" BufferView::update(...) calls with
3067 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3069 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3071 * Makefile.am (lyx_SOURCES): add paper.h
3073 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3075 * Makefile.am: move things around so that both lyx-qt and
3076 lyx-xforms can be built (according to --with-frontend). Then lyx
3077 is a symbolic link to lyx-[firstfrontend]
3079 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3081 * Always use std::endl with lyxerr
3083 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3085 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3087 2003-08-01 André Pönitz <poenitz@gmx.net>
3090 * BufferView_pimpl.[Ch]:
3092 * text3.C: merge BufferView::repaint() and BufferView::update()
3094 2003-08-01 José Matos <jamatos@lyx.org>
3096 * buffer.[Ch]: file_format is no longer a buffer data element.
3098 2003-08-01 André Pönitz <poenitz@gmx.net>
3103 * text2.C: make redoParagraph more independent of current cursor
3105 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3107 * text2.C: remove unneeded members
3109 2003-07-30 André Pönitz <poenitz@gmx.net>
3111 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3113 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3114 create a single function...
3116 * paragraph_funcs.C (moveItem): ... here.
3119 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3121 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3123 * LColor.[Ch]: Add comment and greyedout logical colors.
3125 2003-07-30 André Pönitz <poenitz@gmx.net>
3127 * tabular.C: don't use Assert too heavily. This crashes where it
3130 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3132 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3133 is disabled (bug 1232)
3135 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3137 * factory.C: limited 'arg' scope
3139 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3141 * factory.C: fixed Note submenu issues
3143 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3145 * factory.C: submenu for Note/Comment/Greyedout
3147 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3150 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3152 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3155 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3156 greyedout. Patch provided by Jürgen Spitzmüller.
3158 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3160 * kbmap.C (read): fix error message when reading bind files
3162 2003-07-29 Angus Leeming <leeming@lyx.org>
3164 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3165 certainly does not do what it purports to do. I am doing it, and
3166 us, a favour by killing it.
3168 2003-07-28 José Matos <jamatos@lyx.org>
3170 * buffer.C (readBody, do_writeFile):
3171 * paragraph.C(readParagraph): \end_document replaces \the_end.
3173 2003-07-29 André Pönitz <poenitz@gmx.net>
3176 * BufferView_pimpl.[Ch]:
3180 * textcursor.[Ch]: remove toggleToggle & Co
3182 2003-07-28 José Matos <jamatos@fep.up.pt>
3184 * buffer.C (readParagraph):
3185 * params_func (readParToken, readParagraph):
3186 * paragraph.C (write): \layout -> \begin_layout.
3188 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * lyxlex_pimpl.C (setFile): clean up slightly.
3192 * bufferparams.h: add compressed var
3194 * buffer_funcs.C (readFile): adjust for LyXLex change
3195 (newFile): ditto + simplify
3197 * buffer.C (writeFile): handle writing of compressed files
3199 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3200 Check if the file is compressed and set a bufferparm if so.
3202 * Makefile.am (lyx_LDADD): remove explicit -lz
3204 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3206 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3207 makeDocBookFile): put the real LyX version in the first line of
3211 * version.C.in: remove lyx_docversion
3213 * tabular.C (write_attribute): add a template-based version to
3214 write enums properly
3216 2003-07-28 André Pönitz <poenitz@gmx.net>
3221 * text3.C: use doubles again for x-coordinates. They are needed.
3223 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3225 * messages.C (getLocaleDir): use lyx_localedir()
3227 * lyxlex_pimpl.C (setFile): compress stuff
3229 * buffer.C (writeFile): add some compression stuff
3230 (do_writeFile): new func, dont call expliti close... will this
3233 * Makefile.am (lyx_LDADD): add -lz
3235 2003-07-28 José Matos <jamatos@fep.up.pt>
3237 * buffer.C: increment file format.
3238 * paragraph_funcs (readParagraph, readParToken):
3239 * paragraph.C (readParagraph): add \end_layout.
3241 2003-07-27 Angus Leeming <leeming@lyx.org>
3243 * Makefile.am: remove special casing for configure-time setting of
3244 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3246 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3247 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3249 2003-07-26 André Pönitz <poenitz@gmx.net>
3251 * paragraph_func.[Ch]:
3252 * paragraph.C (realizeFont): inline it whereever it is used
3257 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3260 2003-07-26 André Pönitz <poenitz@gmx.net>
3264 * text2.C: get rid of LyXText::need_break_row
3266 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * toc.[Ch]: put namespace toc inside namespace lyx
3270 * MenuBackend.C (expandToc2): adjust for lyx::toc
3273 * lyxfunc.C (dispatch): adjust for lyx::find
3275 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3276 lyx::find instead. Reorganize a bit.
3277 (LyXReplace): rename to replace
3278 (LyXFind): rename to find
3280 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3283 2003-07-26 André Pönitz <poenitz@gmx.net>
3285 * text.C (setHeightOfRow): restrict scope of temporary variable
3287 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3288 code (never has been used?)
3290 2003-07-27 Asger Alstrup <alstrup@local>
3292 * text.C (fill): Optimise algorithm to exploit that we can reuse
3293 the LyXFont for many characters.
3294 (setHeightOfRow): Same thing.
3295 (rowBreakPoint): Same thing.
3297 2003-07-26 Asger Alstrup <alstrup@local>
3299 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3301 * text.C (singleWidth): Spurious font copying in hot-spot
3302 singleWidth avoided. Reorder tests for arabic for efficiency.
3304 * text.C (fill): handle empty paragraphs better.
3306 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3309 * encoding.h: add includes
3311 * lyxrc.C: remove reading of bind files
3313 * lyx_main.C (init): setup bindings and menus only if we have a
3316 * kbmap.C (read): new method. Do the actual reading of bind
3319 * converter.C (dvipdfm_options):
3322 (output): adapt PAPER_* enums.
3324 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3326 * bufferparams.h: remove paper-related enums from there
3328 * paper.h: New file. A trivial header file to hold paper-related
3329 enums. It should later expand to contain many paper-related
3332 * lyxrc.C: declare extern displayTranslator
3334 2003-07-27 José Matos <jamatos@fep.up.pt>
3336 * tabular.[Ch] (linuxdoc): add support for tables and figures
3339 2003-07-27 José Matos <jamatos@fep.up.pt>
3341 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3342 consistency in both functions.
3343 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3345 2003-07-26 Asger Alstrup <alstrup@local>
3347 * rowpainter.C (paintRows): Change algorithm to work directly on
3348 the insets rather than asking every character in the document
3349 whether its an inset.
3351 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3353 * buffer.C (openFileWrite): factorize some code
3355 2003-07-26 Angus Leeming <leeming@lyx.org>
3358 * lyx_main.[Ch]: replace occurances of system_tempdir with
3361 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * rename Inset to InsetOld
3365 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3367 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3368 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3369 which I think is a bit clearer. EDIT is gone, since it was
3370 premature optimisation, and broken for mathed anyway.
3371 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3372 with cursor positioning in insets as well (math insets still do not
3373 work, but that's a different story anyway.) It mysteriously
3374 crashes sometimes with undo in the first paragraph, but I'm fairly
3375 confident that this is a compiler bug.
3377 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * paragraph.C (Paragraph): adjust for new clone return type
3381 (copyIntoMinibuffer): ditto
3383 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3385 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3386 by not having a special case, and always doing a full rebreak of
3387 the document after undo.
3389 2003-07-23 Angus Leeming <leeming@lyx.org>
3391 * factory.C (createInset): InsetExternal::setParams now takes a
3394 2003-07-23 Angus Leeming <leeming@lyx.org>
3396 * factory.C (createInset): changed interface to the external and
3397 graphics mailers' string2params functions.
3399 2003-07-23 Angus Leeming <leeming@lyx.org>
3401 * factory.C (createInset): pass a
3402 Buffer const * parameter to InsetExternalMailer's string2params.
3404 2003-07-22 John Levon <levon@movementarian.org>
3406 * Thesaurus.h: include the right aiksaurus header
3408 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3410 * MenuBackend.C (expand): check menu shortcuts unconditionally
3412 2003-07-21 Angus Leeming <leeming@lyx.org>
3414 * factory.C (createInset): pass a
3415 buffer_path parameter to InsetGraphicsMailer's string2params.
3417 2003-07-21 Angus Leeming <leeming@lyx.org>
3419 * BufferView_pimpl.C (buffer):
3422 * lyxfunc.C (dispatch):
3423 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3424 rather than the grfx shortcut.
3426 2003-07-21 André Pönitz <poenitz@gmx.net>
3428 * rowpainter.C: remove unused variables
3431 * tabular_funcs.h: move to tabular.C
3432 * Makefile.am: adjust
3434 * tabular.[Ch]: basic optical cleaning
3436 * author.h: pass references, not values
3438 2003-07-18 André Pönitz <poenitz@gmx.net>
3446 * text3.C: two-phase drawing for InsetText and InsetTabular
3447 some float -> int changes.
3449 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3451 * lyx_main.C: fix the fix
3453 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3455 * lyx_main.C: fix a crash in batch mode if no files specified
3458 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3460 * format.[Ch] (papersize): moved to BufferParams
3461 * converter.[Ch] (dvips_options): moved to BufferParams
3462 (dvipdfm_options): moved to anon namespace
3463 * bufferparams.[Ch]: added above functions.
3465 2003-07-17 André Pönitz <poenitz@gmx.net>
3469 * text2.C: don't call inset->update() anymore
3471 * metricsinfo.[Ch]: add convenience constructor
3473 2003-07-16 André Pönitz <poenitz@gmx.net>
3478 * text2.C: replace the LyXCursor::irow_ member with
3479 on-demand computation of the value
3481 2003-07-16 John Levon <levon@movementarian.org>
3483 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3485 2003-07-15 André Pönitz <poenitz@gmx.net>
3488 * text2.C: remove no more needed refresh_row
3490 2003-07-15 André Pönitz <poenitz@gmx.net>
3495 * text3.C: refresh_status tristate -> need_update bool
3497 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3499 * lyxtext.h (init): remove reinit argument (act as if always true)
3500 * text2.C: adjust to that
3502 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3504 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3505 * text3.C: use it to delete selections in some cases
3506 (bugs 441, 673, 702, 954).
3508 2003-07-14 André Pönitz <poenitz@gmx.net>
3510 * rowpainter.[Ch]: reduce interface
3512 2003-07-14 André Pönitz <poenitz@gmx.net>
3514 * BufferView_pimpl.C:
3515 * text2.C: adjust after removing unused BufferView * argument
3517 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3519 * text2.C (init): fix a crash fired on resize
3521 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3523 * buffer.[Ch]: added new closing signal
3524 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3525 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3526 BufferView::Pimpl via the closing the signal
3528 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3530 * buffer.[Ch]: take out all bv-related from buffer
3532 * BufferView_pimpl.[Ch]: connect to new signals
3533 * CutAndPaste.C: removed useless asserts
3534 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3537 * lyxfunc.C: moved view-related funciontality from vc here
3538 * paragraph.C: removed outdated comments
3541 2003-07-10 André Pönitz <poenitz@gmx.net>
3543 * BufferView_pimpl.C:
3547 * text2.C: remove InsetText::InnerCache, clean up consequences
3549 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3551 * ispell.C: fix two typos in error messages
3553 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3555 * Extend Note inset to other forms of annotation like Comment
3556 and Greyedout. Right button click gives dialog.
3558 Files modified or added (+):
3562 * ControlNote.[Ch] +
3564 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3565 frontends/controllers
3569 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3571 * aspell.C: add missing namespace lyx::support
3573 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3575 * BufferView.[Ch] (newFile): Add
3576 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3577 * LaTeX.[Ch] (message): added this signal and use it
3578 * buffer.[Ch] (busy, message): added these signals and use them
3579 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3583 * importer.C: use buffer signals instead of direct bv calling
3584 * lyx_cb.[Ch] (ShowMessage): removed
3587 * paragraph_funcs.C:
3588 * text2.C: use buffer signals
3590 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * introduce namespace lyx::graphics
3594 2003-07-02 André Pönitz <poenitz@gmx.net>
3596 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3598 2003-07-01 André Pönitz <poenitz@gmx.net>
3605 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3606 text*.C to text_func.C
3608 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * introduce namespace lyx::support
3612 2003-06-30 André Pönitz <poenitz@gmx.net>
3617 * text.C: re-enable --with-included-string
3619 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * textcursor.C: add <config.h>
3623 * text.C (getWord): remove const from word_location arg
3625 * lyxvc.C (getLogFile): fix const type order
3627 * lyxtext.h: remove const from word_location arg, add arg name
3629 * lyxlayout.h: currect type on labeltype.
3631 * importer.C: correct \file
3633 * converter.C (intToFormat): use std:: on ret val, ws changes
3635 * bufferlist.h: correct \file
3637 * buffer.C (makeLinuxDocFile): fix const type order
3638 (makeDocBookFile): ditto
3639 (fillWithBibKeys): use std:: on stdlib args.
3641 * CutAndPaste.C: fix authors.
3642 (availableSelections): use std:: on return vector
3644 2003-06-27 André Pönitz <poenitz@gmx.net>
3646 * BufferView_pimpl.C:
3647 * bufferview_funcs.C:
3655 * text3.C: remove LyXCursor::row_ member
3658 * text.C: rename fullRebreak() to partialRebreak() and implement
3659 a fullRebreak() that really bereks fully
3661 * textcursor.h: new struct for cursor-related data
3663 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3665 * lyx_main.C (LyX): get full path of document loaded on the
3668 2003-06-26 André Pönitz <poenitz@gmx.net>
3670 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3671 remove unused/broken operator>,<,>=.
3673 * text.C: remove only use of broken operator<= in an Assert().
3675 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3677 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3678 moved errorlist_.clear to showErrorList
3680 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3682 * converter.C (scanLog, runLaTeX):
3683 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3684 move the bv->showErrorList call to the callers
3685 * lyxfunc.C: i.e. here...
3687 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3688 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3689 namespace, the second to...
3690 * buffer_funcs (BufferFormat, parseErrors): added
3691 * errorlist.C (ErrorList(TeXErrors const &)): removed
3693 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3695 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3697 2003-06-24 "Garst R. Reese" <reese@isn.net>
3701 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3703 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3705 * version.C.in: change docversion to 1.4
3707 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3709 * buffer.C: fix a bug just introduced
3711 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3713 * buffer.[Ch]: added the parseError signal and use it, removed
3715 * BufferView.[Ch] (addError): moved to ...
3716 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3717 to the Buffer::parseError signal to catch (guess what) parse errors
3718 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3720 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3722 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3723 ability to create a buffer and to return an existing one from
3724 the list. Moved these functions to...
3725 * buffer_funcs.[Ch]: added
3726 * BufferView.[Ch] (loadLyXFile): added
3727 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3728 job removed from bufferlist::loadLyXFile.
3729 * buffer.C (setReadOnly): make it work without view
3730 (i.e added an if (users))
3732 2003-06-19 Angus Leeming <leeming@lyx.org>
3735 * LyXAction.C (init):
3736 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3737 with LFUN_DIALOG_SHOW <name> <data>.
3739 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3741 * CutAndPaste.C (availableSelections): small compilation fix for
3742 ancient (gcc 2.9x) compilers
3744 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * text3.C (cursorNext): add tmp var
3748 * text2.C (updateCounters): for function calling out of for clause
3749 (replaceSelectionWithString): ditto
3750 (insertStringAsParagraphs): ditto
3751 (getColumnNearX): add tmp var
3752 (setCursorFromCoordinates): add tmp var
3753 (cursorDownParagraph): add tmp var
3754 (deleteEmptyParagraphMechanism): add tmp var
3756 * text.C (insertChar): add tmp var
3758 * rowpainter.C (paintDepthBar): add tmp var
3760 * CutAndPaste.C (availableSelections): potentially check all
3761 paragraphs in a cut to fill the shown strings.
3763 2003-06-18 André Pönitz <poenitz@gmx.net>
3765 * kbmap.[Ch]: use vector<> instead of list<>
3767 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3769 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3770 pasteSelection with index
3772 * text2.C (pasteSelection): modify, call pasteSelection with index
3774 * paragraph.C (asString): reimplement version with no interval to
3775 call the one with interval.
3777 * lyxtext.h: add index arg to pasteSelection
3779 * MenuBackend.C (MenuItem): handle PasteRecent
3780 (Menu::read::Menutags): add md_pasterecent
3782 (expandPasteRecent): new function
3785 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3787 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3789 (availableSelections): new function
3791 2003-06-17 Angus Leeming <leeming@lyx.org>
3793 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3795 2003-06-17 Angus Leeming <leeming@lyx.org>
3798 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3800 * lyxfunc.C (dispatch): invoke it.
3802 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3804 * iterators.C (operator++, ParPosition): reintroduce some
3805 const_cast for the benefit of older compilers.
3807 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3809 * text3.C (dispatch): do not modify clipboard when doing
3810 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3811 LFUN_DELETE_SKIP on a selection selection
3813 2003-06-16 André Pönitz <poenitz@gmx.net>
3819 * tabular.[Ch]: IU of clone() and getLabelList();
3821 2003-06-13 André Pönitz <poenitz@gmx.net>
3823 * tabular.h: compactification
3825 2003-06-12 André Pönitz <poenitz@gmx.net>
3829 * tabular_funcs.h: some renaming plus whitespace
3831 2003-06-12 André Pönitz <poenitz@gmx.net>
3834 * BufferView_pimpl.C:
3840 * toc.C: Return a Paragraph & for ParIterator::operator*()
3842 2003-06-11 John Levon <levon@movementarian.org>
3846 * ToolbarBackend.C: add "Toolbars" section and
3849 2003-06-10 Angus Leeming <leeming@lyx.org>
3852 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3854 * lyxfunc.C (dispatch): invoke it.
3856 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * main.C: protect <ios> with HAVE_IOS
3859 (main): protect sync_with_stdio with HAVE_IOS
3861 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3863 * text2.C (cutSelection): adjust
3864 (pasteSelection): adjust
3866 * messages.C: handle get of empty string
3868 * main.C (main): use sync_with_stdio(false)
3870 * lyxfunc.C (dispatch): adjust
3872 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3873 (WriteAs): remove unneeded BufferView arg.
3875 * bufferparams.h: use correct types on papersize, papersize2 and
3878 * bufferparams.C (readToken): adjust for type
3879 (writeLaTeX): add missing cases to switch.
3881 * bufferlist.C (quitWriteBuffer): adjust
3884 * buffer.C (asciiParagraph): remove some commented code.
3886 * CutAndPaste.C: remove current_view extern variable.
3887 (cutSelection): add BufferParams arg.
3888 (eraseSelection): add BufferParams arg.
3889 (pasteSelection): add Buffer const & arg
3891 2003-06-07 John Levon <levon@movementarian.org>
3894 * paragraph_funcs.C:
3895 * paragraph_pimpl.C:
3899 * paragraph.C: allow InsetERT to freely space lines,
3900 and some consolidation of code
3902 2003-06-06 José Matos <jamatos@fep.up.pt>
3904 * buffer.C (makeDocBookFile): fix bug #821
3906 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3908 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3910 2003-06-04 Angus Leeming <leeming@lyx.org>
3912 * buffer.C: bump format to 224.
3914 2003-06-05 André Pönitz <poenitz@gmx.net>
3916 * text2.C (redoParagraphs): remove two const_cast<>
3918 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3920 * ParagraphList.h: remove last remnants of NO_STD_LIST
3922 2003-06-03 Angus Leeming <leeming@lyx.org>
3924 * factory.C (createInset): small change to the way InsetExternal's params
3927 2003-06-04 André Pönitz <poenitz@gmx.net>
3929 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3931 * paragraph_pimpl.h:
3932 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3934 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3936 * undo_funcs.C: make some simple cases of undo work again
3938 2003-06-03 John Levon <levon@movementarian.org>
3940 * ispell.C: HPUX doesn't have sys/select.h
3943 2003-06-03 John Levon <levon@movementarian.org>
3945 * CutAndPaste.C: update tabular and include inset
3950 * paragraph.C: remove owningBuffer(), don't pass Buffer
3953 * factory.C: insetGraphicsParams changed
3955 2003-06-02 John Levon <levon@movementarian.org>
3961 * text3.C: remove insetparent
3963 2003-06-02 John Levon <levon@movementarian.org>
3966 * buffer.C: fix inset_iterator.end(), move out of line
3969 2003-06-01 John Levon <levon@movementarian.org>
3971 * text3.C: use a proper cut/paste when doing inset
3972 insert (from Jürgen Spitzmüller)
3974 2003-06-01 John Levon <levon@movementarian.org>
3976 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3978 2003-05-30 André Pönitz <poenitz@gmx.net>
3980 * rowpainter.C: unify second drawing phase
3982 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * trans_mgr.C: remove one case of current_view
3986 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3988 * paragraph_funcs.h: remove paragraph.h include
3990 * paragraph.h: delete NO_STD_LIST stuff
3992 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3994 * buffer.h: remove paragraph.h include
3996 * ParagraphList.C: delete file
3998 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4000 * toc.C (getTocList): adjust
4002 * paragraph_pimpl.C (validate): adjust
4004 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4006 * paragraph.C (Paragraph): adjust
4007 (getPositionOfInset): use const_iterator, adjust
4008 (bibitem): use const_iterator, adjust
4009 (setInsetOwner): adjust
4011 * iterators.C (operator++): adjust
4013 * InsetList.[Ch]: Replace selfmade iterator with standard
4014 vector::iterator also introduce const_iterator. Remove getPos,
4015 getInset and setInset from InsetTable. Adjust accordingly.
4017 * BufferView.C (lockInset): adjust
4018 (ChangeInsets): adjust
4020 * tabular.[Ch]: delete commented same_id functions
4022 2003-05-28 John Levon <levon@movementarian.org>
4024 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4026 2003-05-28 André Pönitz <poenitz@gmx.net>
4028 * metricsinfo.[Ch]: remove 'fullredraw' member
4030 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4032 * lyxtextclass.C (operator): remove caching.
4034 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * text2.C (cursorBottom): adjust
4039 (setCounter): use ParagraphList::find, adjust
4041 * text.C (workWidth): use ParagraphList::find, adjust
4043 * lyxcursor.C (LyXCursor): adjust
4045 * buffer.C (inset_iterator): adjust
4047 * ParagraphList.h: make iterator(value_type) private, make
4048 ParagraphList a friend of iterator.
4050 * ParagraphList.C (find): new function
4052 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4054 2003-05-27 André Pönitz <poenitz@gmx.net>
4056 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4058 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4060 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4062 2003-05-26 John Levon <levon@movementarian.org>
4064 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4066 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * remove same_id from function signatures, adjust.
4070 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4074 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4076 * paragraph.C (Paragraph): get rid of same_ids parameter
4078 * ParagraphList.C (insert): adjust
4081 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * paragraph_funcs.C (breakParagraph): adjust
4084 (breakParagraphConservative): adjust
4086 * buffer.C (readParagraph): adjust
4088 * ParagraphList.C (insert): take a reference instead of a pointer
4091 * paragraph.[Ch] (id): new function
4093 * bufferlist.C (newFile): adjust
4095 * ParagraphList.C (ParagraphList): adjust
4097 (push_back): take a reference instead of a pointer.
4099 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4101 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4104 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4105 set else use old code.
4107 * ParagraphList.C: remove all NO_NEXT code and only compile this
4108 code of NO_STD_LIST is set.
4110 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4112 * BufferView_pimpl.C:
4122 * graphics/GraphicsConverter.C:
4123 * graphics/PreviewLoader.C: header adjustment
4125 2003-05-23 Angus Leeming <leeming@lyx.org>
4127 * LaTeXFeatures.[Ch] (useBabel): new method.
4128 * bufferparams.C (writeLaTeX): use it.
4130 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * ParagraphList.h (set): remove unused function.
4134 2003-05-23 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.C:
4141 * undo_funcs.C: setUndo reworked
4143 * iterators.[Ch]: add access to topmost ParagraphList
4145 * lyxtext.[Ch] (workWidth): add a const
4147 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4149 * texrow.[Ch] (increasePos): remove function
4150 * exporter.C (export): removed unused var and outdated comment
4152 2003-05-23 Angus Leeming <leeming@lyx.org>
4154 * latexrunparams.h: rename fragile as moving_arg.
4155 * paragraph.C (simpleTeXOnePar): ditto.
4156 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4158 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4162 (textUndoOrRedo): comment out a currently unused var.
4164 * paragraph.h (NO_NEXT): enable NO_NEXT
4166 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4168 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4170 * exporter.C (Export): adjust for removeAutoInsets removal.
4172 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4174 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4176 * BufferView.[Ch] (removeAutoInsets): delete function
4178 2003-05-22 Angus Leeming <leeming@lyx.org>
4180 * latexrunparams.h: add a free_spacing variable.
4182 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4183 to pass moving_arg, as the data is stored in runparams.fragile.
4185 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4186 to Inset::latexOptional or to simpleTeXOnePar.
4188 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4189 free_spacing arg to Inset::latexOptional.
4191 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4194 2003-05-22 Angus Leeming <leeming@lyx.org>
4196 * latexrunparams.h: add fragile and use_babel variables.
4198 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4199 * buffer.C (makeLaTeXFile): store this returned value in
4200 runparams.use_babel, thus passing it to the inset::latex methods.
4202 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4203 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4205 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4206 longer has a fragile arg, as it is stored in runparams.fragile.
4208 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4209 moving_arg parameter as the data is stored in runparams.fragile.
4211 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4212 a fragile parameter as the data is stored in runparams.fragile.
4214 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4218 2003-05-22 Angus Leeming <leeming@lyx.org>
4220 * latexrunparams.h: add a 'bool nice' which defaults to false.
4222 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4223 now encapsulated within runparams.
4225 * bufferlist.C (updateIncludedTeXfiles):
4226 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4228 2003-05-22 Angus Leeming <leeming@lyx.org>
4230 * latexrunparams.h: new file containing struct LatexRunParams.
4231 * Makefile.am: add new file.
4233 * LaTeX.[Ch] (c-tor, run):
4234 * buffer.[Ch] (makeLaTeXFile):
4235 * bufferlist.[Ch] (updateIncludedTeXfiles):
4236 * converter.C (convert, scanLog):
4237 * converter.[Ch] (runLaTeX):
4238 * exporter.C (Export):
4239 * paragraph.[Ch] (simpleTeXOnePar):
4240 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4241 * paragraph_funcs.[Ch] (latexParagraphs):
4242 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4243 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4244 pass around a LatexRunParams parameter.
4246 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * paragraph.[Ch]: remove unused constructor
4250 * ParagraphList.C (erase): new function, taking two iterators
4252 2003-05-22 André Pönitz <poenitz@gmx.net>
4254 * undo_funcs.C: remove duplicated code
4256 * iterator.[Ch]: operator=
4258 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * tabular.C (SetMultiColumn): ws changes
4262 * rowpainter.C (paintFirst): get rid of a ->previous
4264 * lyx_cb.C (getPossibleLabel): parlist simplification
4266 * BufferView.C (ChangeInsets): simplify slightly.
4268 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4270 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4271 * lfuns.h: new LFUN_SPACE
4272 * lyxfunc.C: protected space has a new lfun
4273 * paragraph_funcs.C: read new space insets
4275 * factory.C: handle new space insets
4277 2003-05-22 André Pönitz <poenitz@gmx.net>
4280 * BufferView_pimpl.C:
4283 * undo_funcs.C: return a ParIterator from getParFromID.
4285 * iterators.[Ch]: add two const's
4287 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * toc.C (getTocList): adjust
4291 * iterators.[Ch]: rework for parlist
4293 * buffer.C (par_iterator_begin): adjust
4294 (par_iterator_end): adjust
4296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4298 * BufferView.C (removeAutoInsets): adjust
4299 (ChangeInsets): adjust
4301 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4303 * text.C (top_y): fix bug 1110
4305 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4307 * errorlist.[Ch]: added
4310 * BufferView_pimpl.C:
4311 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4314 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * Makefile.am: ensure that lyx is relinked upon changes to the
4317 various "convenience" libs.
4319 2003-05-20 Angus Leeming <leeming@lyx.org>
4321 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4322 files are compiled in alphabetical order again.
4324 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4326 2003-05-19 Angus Leeming <leeming@lyx.org>
4328 * gettext.[Ch]: remove "char const * _(char const *)".
4330 2003-05-19 André Pönitz <poenitz@gmx.net>
4332 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4341 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4343 2003-05-19 André Pönitz <poenitz@gmx.net>
4347 * lyxtextclass.[Ch]:
4349 * paragraph_funcs.[Ch]:
4351 * text3.C: more insetenv work
4353 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4355 * ParagraphParameters.C (params2string): small bug fixed
4357 2003-05-16 André Pönitz <poenitz@gmx.net>
4360 * bufferview_funcs.C: patch from Kornel Benko to prevent
4361 crash when _(...) is called twice in a statement
4363 2003-05-16 André Pönitz <poenitz@gmx.net>
4370 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4372 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4374 * lyx_main.C (init): remove spurious static_cast
4376 2003-05-14 André Pönitz <poenitz@gmx.net>
4378 * BufferView.C: fix format string
4380 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4382 * BufferView.[Ch] (insertErrors): removed
4383 * BufferView.[Ch] (showErrorList): added
4384 * buffer.C (runChkTeX):
4385 * converter.C (scanLog): call showErrorList instead of inserterrors
4387 2003-05-13 André Pönitz <poenitz@gmx.net>
4389 * BufferView_pimpl.C:
4391 * bufferview_func.C:
4398 * tabular_funcs.h: tostr() from its own header
4400 * ParagraphParameters.C:
4405 * text3.C: STRCONV()
4407 2003-05-12 André Pönitz <poenitz@gmx.net>
4410 * BufferView_pimpl.C:
4414 * ParagraphParameters.C:
4418 * bufferview_funcs.C:
4431 * paragraph_funcs.C:
4435 * text3.C: boost::format -> bformat all over the place
4438 2003-05-09 André Pönitz <poenitz@gmx.net>
4440 * LColor.[Ch]: Pimpl the #include <map> away
4442 2003-05-09 John Levon <levon@movementarian.org>
4444 * bufferlist.C: never remove emergency saves
4446 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * Makefile.am: better lib building
4450 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4454 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4455 (simpleTeXSpecialChars): adjust
4456 (simpleTeXSpecialChars): adjust
4457 * paragraph.C (simpleTeXOnePar): adjust
4458 * buffer.C (makeLaTeXFile): adjust
4460 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4462 * text2.C (changeDepth): parlist cleanup
4463 (getColumnNearX): ditto
4465 * rowpainter.C (getLabelFont): parlist cleanup
4467 * bufferlist.C (newFile): parlist cleanup
4469 * CutAndPaste.C (eraseSelection): parlist cleanup
4471 * BufferView_pimpl.C (trackChanges): parlist cleanup
4474 * BufferView.C (lockInset): parlist cleanup.
4475 (ChangeInsets): ditto
4477 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * CutAndPaste.h: Update file header.
4481 * CutAndPaste.C: Update file header.
4482 Store the parts cut out of the Document in a limited_stack.
4483 (copySelection): adjust
4484 (pasteSelection): new function, takes the index in the limited stack.
4485 (nrOfParagraphs): adjust
4486 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4487 simplify error inset insertion.
4488 (checkPastePossible): adjust
4490 2003-05-06 John Levon <levon@movementarian.org>
4492 * text2.C: don't cast wrap inset to float
4494 2003-05-05 André Pönitz <poenitz@gmx.net>
4497 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4499 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4500 few naked Paragraph *.
4502 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4504 * bufferparams.C: Output warning if a document with missing
4505 TeX document class is loaded
4506 * exporter.C: Disable TeX exports if the document class is missing
4509 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4510 isTeXClassAvailable()
4512 2003-05-03 John Levon <levon@movementarian.org>
4515 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4516 explicit cursor show/hide
4518 * BufferView_pimpl.h:
4519 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4520 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4522 * lyxfunc.C: hide cursor before dispatching.
4527 * text3.C: remove explicit cursor hides
4529 2003-05-02 André Pönitz <poenitz@gmx.net>
4531 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4534 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4537 * text2.C: tiny whitespace
4539 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * undo_funcs.C: almost only ws changes.
4543 * ParagraphList.C (splice): just return if pl is empty.
4545 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * ParagraphList.C (splice): new function.
4549 * CutAndPaste.C (pasteSelection): use it
4551 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * CutAndPaste.C (pasteSelection): remove the last next and
4554 previous from this file.
4556 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * CutAndPaste.C (pasteSelection): more clean up, user proper
4559 ParagraphList functions for pasteing.
4561 * ParagraphList.C (insert): new function, three arg insert
4563 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * ParagraphList.C (insert): new function, three arg insert
4567 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4570 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4572 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4574 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4578 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4581 (copySelection): clean up a bit.
4582 (pasteSelection): use make_pair
4584 * ParagraphList.C (ParagraphList): implement copy constructor
4585 (operator=): implement, base on copy constructor.
4588 * paragraph.C (erase): return a bool
4590 * paragraph_pimpl.C (erasePos): remove function, move contents...
4591 (erase): ... here. Return a bool.
4592 (erase): call erase instead of erasePos.
4594 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4596 * ParagraphList.h: define PitPosPair
4597 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4598 ParagraphList, fix a bug on pasting multiple pars
4599 * text2.C: change interface to C&P
4601 2003-04-30 André Pönitz <poenitz@gmx.net>
4603 * undo_func.C: revert part of yesterday's patch 2
4605 2003-04-30 John Levon <levon@movementarian.org>
4607 * LColor.C: s/tabular/table/
4609 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * text3.C (dispatch): do not convert iterator -> pointer
4612 * undo_funcs.C (setCursorParUndo): ditto
4613 * text_funcs.C (transposeChars): ditto
4615 * text2.C (setLayout): ws changes only
4617 * text.C (breakParagraph): do not convert iterator -> pointer
4619 (acceptChange): ditto
4620 (rejectChange): ditto
4625 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4628 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4630 * text3.C (gotoInset): YABG (yet another bad getChar)
4632 2003-04-29 André Pönitz <poenitz@gmx.net>
4634 * paragraph.h: make operator= private unimplemented as long as
4637 * ParagraphList.C: whitespace
4640 * paragraph_pimpl.[Ch]:
4641 * paragraph_funcs.C:
4643 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4646 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4648 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4650 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4651 * paragraph.[Ch] (erase):
4652 * paragraph_pimpl.[Ch] (erase): change return type and value
4653 * text2.C (cutSelection): some rework
4655 2003-04-28 John Levon <levon@movementarian.org>
4657 * bufferlist.C: changes for unsaved changes dialog
4659 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * bufferlist.C (newFile): set language (messages_) for new
4664 * buffer.C (readFile): ws changes only.
4666 2003-04-28 André Pönitz <poenitz@gmx.net>
4671 * BufferView_pimpl.C:
4672 * BufferView.C: getParFromID related ParagraphList::iterator changes
4674 2003-04-28 André Pönitz <poenitz@gmx.net>
4676 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4679 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * messages.C: remove one more localedir class variable.
4683 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * messages.C (getLocaleDir): singleton generation function
4687 (Messages): add a default constructor.
4689 * main.C (main): do not setup localedir here, do not call
4692 * gettext.C (_): use it.
4693 (gettext_init): delete funciton
4695 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * gettext.C (getLyXMessages): new singleton generating function.
4699 * buffer.C (updateDocLang): adjust
4701 * Makefile.am (messages.o): add target
4702 (main.o): remove target
4704 2003-04-27 John Levon <levon@movementarian.org>
4709 * lyxvc.C: specify cancel button in Alert::prompt
4711 2003-04-26 John Levon <levon@movementarian.org>
4716 * LyXAction.C: add LFUN_INSET_SETTINGS
4718 * lyxfunc.C: don't enable tabular-feature when there's
4719 just any locking inset
4721 2003-04-26 John Levon <levon@movementarian.org>
4723 * bufferlist.C: re-add Cancel to buffer close question
4725 * lyxfunc.C: fix import UI a bit
4727 2003-04-25 John Levon <levon@movementarian.org>
4729 * gettext.C: remove the broken asserts for now
4731 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * messages.C: make case where setlocale cannot comply work better.
4735 * buffer.C (updateDocLang): new function
4736 (changeLanguage): use it
4739 * text2.C (setCounter): use B_ a bit.
4741 * lyxlayout.C (Read): be sure to trim the label strings.
4743 * messages.C (Messages): fix typo in comment
4745 * buffer.C (readFile): set message_ after file is loaded.
4746 (makeDocBookFile): remove double return
4747 (changeLanguage): reset message_ upon language change.
4748 (B_): new func, use this to get translated buffer strings.
4750 * main.C: add myself and Jean Marc as authors.
4752 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * messages.[hC]: pimplify Messages, and three different pimpls to be
4755 used in different circumstances.
4757 * gettext.[Ch]: change for use with new message code.
4759 2003-04-24 André Pönitz <poenitz@gmx.net>
4761 * factory.C: support for eqref
4763 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * messages.[Ch]: add missing char
4767 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4769 * messages.[Ch]: New files
4771 2003-04-18 John Levon <levon@movementarian.org>
4775 * BufferView_pimpl.C:
4779 * text2.C: remove layout-copy/paste (bug 778)
4781 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4783 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4785 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4787 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4788 if they succeed. Act accordingly.
4790 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * text2.C (setCharFont): adjust
4793 (setCounter): adjust
4794 (insertStringAsLines): adjust
4796 * text.C (leftMargin): adjust
4797 (setHeightOfRow): adjust
4799 * rowpainter.C (paintFirst): adjust
4802 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4804 (isFirstInSequence): ditto
4805 (getEndLabel): ditto
4808 * paragraph.C (getParLanguage): comment out some hard stuff.
4810 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4812 (simpleDocBookOnePar): ditto
4813 (makeDocBookFile): use ParagraphList::iterator
4815 * CutAndPaste.C (pasteSelection): adjust
4817 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * text2.C (getFont): adjust
4820 (getLayoutFont): adjust
4821 (getLabelFont): adjust
4823 * paragraph_funcs.C (TeXOnePar): adjust
4825 * buffer.C (simpleLinuxDocOnePar): adjust
4826 (simpleDocBookOnePar): adjust
4828 * CutAndPaste.C (pasteSelection): adjust
4830 * BufferView.C (getEncoding): adjust
4832 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4834 2003-04-16 John Levon <levon@movementarian.org>
4836 * lyxfind.C: use parlist stuff for search/changes
4838 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4842 * text2.C (deleteEmptyParagraphMechanism): adjust
4844 * text2.[Ch] (ownerParagraph): delete func (both of them
4846 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4850 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * ParagraphList.C: prepare for NO_NEXT
4854 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * text2.C (getFont): adjust
4857 (getLayoutFont): adjust
4858 (getLabelFont): adjust
4860 * paragraph.C (getFont): adjust
4861 (getLabelFont): adjust
4862 (getLayoutFont): adjust
4864 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4866 2003-04-15 John Levon <levon@movementarian.org>
4870 * lyx_main.C: handle Include in .ui files
4872 2003-04-15 John Levon <levon@movementarian.org>
4874 * MenuBackend.C: make the doc files length shorter
4877 * ToolbarBackend.C: handle toolbar placement flags,
4880 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4885 * paragraph_funcs.C (TeXOnePar): adjust
4887 * paragraph.C (getLabelFont): add outerfont arg, adjust
4888 (getLayoutFont): ditto
4889 (simpleTeXOnePar): adjust
4891 * paragraph_pimpl.C (realizeFont): delete func
4893 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4895 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4896 row argument, constify cur argument.
4898 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * text2.C (getFont): adjust
4901 (getLayoutFont): adjust
4902 (getLabelFont): adjust
4904 * paragraph_funcs.C (TeXOnePar): adjust
4905 (outerFont): new func...
4906 (realizeFont): ...moved out from here, changed this to facilitate
4909 * paragraph.C (getFont): take outerfont as arg, adjust
4910 (simpleTeXOnePar): add outerfont arg, adjust
4912 * buffer.C (simpleLinuxDocOnePar): adjust
4913 (simpleDocBookOnePar): adjust
4915 * CutAndPaste.C (pasteSelection): adjust
4917 * BufferView.C (getEncoding): adjust
4919 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * text2.C (setCharFont): adjust
4922 (setCounter): adjust
4924 * text.C (leftMargin): adjust
4925 (setHeightOfRow): adjust
4927 * rowpainter.C (paintFirst): adjust
4930 * paragraph_pimpl.C (realizeFont): adjust
4932 * paragraph.C (isFirstInSequence): move from here...
4933 * paragraph_funcs.C (isFirstInSequence): ...to here
4935 * paragraph.C (outerHook): move from here...
4936 * paragraph_funcs.C (outerHook): ...to here
4938 * paragraph.C (depthHook): move from here...
4939 * paragraph_funcs.C (depthHook): ...to here
4941 * paragraph.C (getEndLabel): move from here...
4942 * paragraph_funcs.C (getEndLabel): ...to here
4944 * text2.C (realizeFont): move from here...
4945 * paragraph_funcs.C (realizeFont): ...to here
4947 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4951 2003-04-14 Angus Leeming <leeming@lyx.org>
4953 * LColor.[Ch]: scrap LColor mathcursor.
4955 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * lyxlex.[Ch] (text): delete function
4958 * trans.C (Load): adjust
4959 * paragraph_funcs.C (readParToken): adjust
4961 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4963 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4964 vector<char> instead of a char[].
4966 * lyxlex_pimpl.C (getString): adjust
4968 (lex): use getString
4972 * lyxlex.C (text): use pimpl_->getString()
4976 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4979 (makeFontEntriesLayoutSpecific): temp var for par.size()
4980 (setLayout): temp var for ownerParagraphs().end()
4981 (fullRebreak): temp var for rows().end()
4982 (selectionAsString): temp var for boost::next(startpit), realize
4983 that the while really is a regular for loop.
4984 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4985 setCursor in one place.
4986 (setParagraph): temp vr for ownerParagraphs().end()
4987 (updateCounters): make the while loop a for loop
4988 (cutSelection): temp var for ownerParagraphs().end()
4989 (updateInset): make the do {} while() a regular for loop
4990 (getCursorX): use temp vars
4991 (setCurrentFont): use temp vars
4992 (getColumnNearX): use temp vars
4994 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * text.C (transformChar): use temp var for getChar
4997 (computeBidiTables): use temp var for row->par()
4998 (fill): move temp vars for row->par() and pit->layout() earlier in
5000 (labelFill): use temp var for row->par()
5001 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5002 asc and desc, realize that pit never changes and that firstpit is
5003 just a duplicate and not needed. Exchange rit->par() with pit in a
5005 (breakAgain): use a temp var for boost::next(rit)
5006 (breakAgainOneRow): ditto
5007 (breakParagraph): use a temp var for rows().begin()
5008 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5009 (cursorRightOneWord): use temp var for cursor.par() and
5010 cursor.pos(), remove usage of tmpcursor.
5011 (cursorLeftOneWord): use temp var for cursor.par() and
5012 cursor.pos() only set cur at end of function.
5014 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * text.C, text2.C: exchange all usage of Paragraph::next with
5017 boost::next(ParagraphList::iterator)
5019 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5021 * text2.C (cursorTop): simplify implementation
5022 (cursorBottom): ditto
5023 (setParagraph): use ParagraphList::iterator
5024 (setCurrentFont): adjust
5025 (getColumnNearX): adjust
5026 (cursorRight): adjust
5027 (cursorLeft): remove usage of Paragraph::previous
5028 (cursorUpParagraph): ditto
5029 (deleteEmptyParagraphMechanism): slight cleanup
5031 * text.C (isBoundary): take a Paragraph const & instead of a
5033 (addressBreakPoint): ditto
5034 (leftMargin): remove usage of Paragraph::previous.
5035 (setHeightOfRow): ditto
5036 (cursorLeftOneWord): ditto
5037 (selectNextWordToSpellcheck): ditto
5040 (breakParagraph): remove one usage of Paragraph::next
5041 (redoParagraph): ditto
5042 (acceptChange): ditto
5043 (insertChar): adjust
5044 (rowBreakPoint): adjust
5046 * bufferview_funcs.C (toggleAndShow): adjust
5048 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5050 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5051 methods to access it.
5053 * text.C: Added updateRowPositions to compute all row positions.
5054 Make top_y and getRowNearY() to use the cached y position
5056 2003-04-11 John Levon <levon@movementarian.org>
5058 * text.C (rowBreakPoint): reintroduce the labelEnd
5059 checks, code copied from the row fill stuff. Deep voodoo.
5061 * text.C (fill): add a comment and debugging for the
5064 2003-04-11 John Levon <levon@movementarian.org>
5066 * text.C: make sure fullrow insets get wrapped to the next line,
5067 even when they're in a manual label
5069 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * text2.C (insertParagraph): make it take ParagraphList::iterator
5073 (setLayout): make it return ParagraphList::iterator
5074 (redoParagraphs): ditto
5076 (checkParagraph): ditto
5078 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5080 * text2.C: adjust several funcs.
5081 (realizeFont): take a ParagraphList::iterator as arg.
5082 (getLayoutFont): ditto
5083 (getLabelFont): ditto
5084 (setCharFont): ditto
5086 * text.C: adjust several funcs.
5088 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5090 * text.C (selectNextWordToSpellcheck): don't accidentally
5093 2003-04-10 John Levon <levon@movementarian.org>
5095 * ToolbarBackend.C (getIcon): special handling for
5098 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5100 * text2.C (cursorRight): a getChar assert fixed
5102 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * text2.C (getFont): change to take a ParagraphList::iterator
5105 instead of Paragraph*
5106 Adjust several functions.
5108 * text.C (transformChar): change to take a ParagraphList::iterator
5109 instead of Paragraph*
5110 (singleWidth): ditto
5111 Adjust several functions.
5113 * rowpainter.C: adjust several functions
5114 * rowpainter.h:store a ParagraphList::iterator and not a
5118 2003-04-09 John Levon <levon@movementarian.org>
5123 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5124 and the "help" bits as well
5126 2003-04-09 John Levon <levon@movementarian.org>
5129 * ToolbarBackend.C: allow multiple toolbars
5131 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * undo_funcs.C (setCursorParUndo): adjust
5135 * text_funcs.C (transposeChars): adjust
5137 * text3.C (gotoNextInset): adjust
5140 * text2.C (setLayout): adjust
5141 (changeDepth): adjust
5143 (redoParagraphs): adjust
5144 (selectionAsString): adjust
5145 (setParagraph): adjust
5146 (insertInset): adjust
5147 (cutSelection): adjust
5148 (copySelection): adjust
5149 (pasteSelection): adjust
5150 (insertStringAsLines): adjust
5151 (updateInset): adjust
5152 (setCursor): change to take a ParagraphList::iterator parameter
5153 (setCursorIntern): change to take a ParagraphList::iterator parameter
5154 (setCurrentFont): adjust
5155 (cursorLeft): adjust
5156 (cursorRight): adjust
5157 (deleteEmptyParagraphMechanism): adjust
5159 * text.C (breakParagraph): adjust
5160 (insertChar): adjust
5161 (acceptChange): adjust
5162 (rejectChange): adjust
5163 (selectNextWordToSpellcheck): adjust
5164 (changeCase): adjust
5168 * lyxfind.C (SearchForward): adjust
5169 (SearchBackward): adjust
5170 (nextChange): adjust
5172 * lyxcursor.C (par): adjust
5174 * lyxcursor.h: store a ParagraphList::iterator instead of a
5177 * lyx_cb.C (getPossibleLabel): adjust
5179 * bufferview_funcs.C (toggleAndShow): adjust
5181 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5184 * BufferView.C (removeAutoInsets): adjust
5185 (lockedInsetStoreUndo): adjust
5187 2003-04-09 John Levon <levon@movementarian.org>
5189 * ToolbarBackend.C: try icon without argument
5190 if with argument fails
5192 2003-04-08 John Levon <levon@movementarian.org>
5195 * ToolbarBackend.C: add getIcon(), handle tooltip,
5196 and change from "Icon" to "Item".
5198 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5200 * BufferView.C (lockInset): another bad getchar crunched
5202 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5204 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5207 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5209 * lyxfind.C (searchForward, searchBackwards): bug 782
5211 2003-04-07 John Levon <levon@movementarian.org>
5213 * paragraph.C: remove dead comment
5215 * text.C: remove troublesome depth-fiddling code
5216 in leftMargin() and rightMargin() (bug 1017)
5218 * text.C: fix breaking of rows in nested lists
5221 * text2.C (updateCounters): fix up depth values
5224 2003-04-07 John Levon <levon@movementarian.org>
5226 * BufferView_pimpl.C: clear message when doc finishes resizing,
5227 and after a mouse event
5229 * lyxfunc.C: clear message after exiting inset
5231 2003-04-07 John Levon <levon@movementarian.org>
5233 * bufferview_funcs.C: show math status not outside
5234 status in the statusbar
5236 2003-04-07 John Levon <levon@movementarian.org>
5238 * lyxfunc.C: note status changed after a depth change
5240 2003-04-04 Angus Leeming <leeming@lyx.org>
5242 * LaTeX.h: move AuxInfo operator==, != out of line.
5243 Remove LaTeX virtual destructor; nothing derives from it.
5244 Move operator()() out of public area and rename it startscript().
5245 Change protected for private.
5247 2003-04-04 Angus Leeming <leeming@lyx.org>
5250 * text2.C: remove unneeded #includes.
5252 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5254 * text2.C (dEPM): fix the heigth of the next row
5256 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5258 * text.C: squashed an invalid getChar requester + some ws changes
5260 2003-04-03 John Levon <levon@movementarian.org>
5262 * bufferview_funcs.h:
5263 * bufferview_funcs.C:
5266 * text2.C: make getStatus work for the env depth lfuns
5268 2003-04-03 John Levon <levon@movementarian.org>
5270 * bufferview_funcs.h:
5271 * bufferview_funcs.C:
5274 * text2.C: parlistize decDepth(), by merging it with incDepth()
5276 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * lyxrow.h: store a ParagraphList::iterator instead of a
5279 Paragraph* and adjust other class functions to suit.
5281 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5284 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5286 * text2.C (setCursor): do not anchor to cursor row for the time being
5288 2003-04-02 John Levon <levon@movementarian.org>
5295 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5297 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * paragraph.h: make ParagraphList and ParagraphList::iterator
5300 friends of Paragraph.
5302 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5304 * ParagraphList.C: Use the private next_ and previous_ from
5307 2003-04-01 John Levon <levon@movementarian.org>
5311 * Makefile.am: rename, remove defaults gunk
5314 * MenuBackend.C: remove defaults gunk
5317 * Languages.C: remove defaults gunk
5320 * lyx_main.C: error out if files couldn't be found.
5322 2003-04-02 John Levon <levon@movementarian.org>
5324 * text2.C: make incDepth() use parlist
5326 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * undo_funcs.C (firstUndoParagraph): adjust
5330 * text3.C (gotoInset): adjust
5331 (dispatch): adjust, and rewrite loop.
5333 * text2.C (init): adjust, and rewrite loop.
5334 (redoParagraphs): adjust
5335 (updateInset): adjust, and rewrite loop.
5336 (deleteEmptyParagraphMechanism): adjust
5338 * tabular.C (LyXTabular): adjust
5339 (SetMultiColumn): adjust
5342 * lyxtext.[Ch] (ownerParagraph): delete function
5343 (ownerParagraphs): new function returns a ParagraphList.
5345 * BufferView.C (removeAutoInsets): adjust
5346 (insertErrors): adjust
5347 (setCursorFromRow): adjust
5349 2003-04-01 Angus Leeming <leeming@lyx.org>
5351 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5354 2003-04-02 John Levon <levon@movementarian.org>
5360 * text_funcs.C: make transposeChars a free function
5362 * lyxrow_funcs.C: remove wrong comment
5364 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * rowpainter.C: adjust
5372 * lyxrow_funcs. [Ch]: new files
5374 * lyxrow.[Ch]: remove next and previous pointers
5375 (next,previous): remove accessor functions
5376 (isParEnd): move to lyxrow_funcs
5377 (lastPos): move to lyxrow_funcs
5378 (nextRowIsAllInset): move to lyxrow_funcs
5379 (lastPrintablePos): move to lyxrow_funcs
5380 (numberOfSeparators): move to lyxrow_funcs
5381 (numberOfHfills): move to lyxrow_funcs
5382 (numberOfLabelHfills): move to lyxrow_funcs
5383 (hfillExpansion): move to lyxrow_funcs
5387 * bufferview_funcs.C (toggleAndShow): adjust
5389 * RowList.h: Remove class RowList from file leave just a
5392 * RowList.C: delete file
5394 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5397 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * text3.C (cursorPrevious): adjust
5400 (cursorNext): adjust
5403 * text2.C (redoHeightOfParagraph): adjust
5404 (redoDrawingOfParagraph): adjust
5407 * text.C (breakParagraph): adjust
5408 (insertChar): adjust
5411 * rowpainter.C (RowPainter): adjust
5412 (leftMargin): simplify and adjust
5413 (most rowpainter functions): adjust.
5415 * rowpainter.h: store the row as RowList::iterator not as Row*
5417 * lyxcursor.C (row): taka RowList::iterator as arg
5420 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5423 2003-04-01 Angus Leeming <leeming@lyx.org>
5425 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5426 stuff like bool Bool.
5428 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5430 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5433 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5438 * lyxtext.h (rows): drop one version and leve a const variant that
5439 returns a RowList::iterator.
5441 2003-03-31 Angus Leeming <leeming@lyx.org>
5443 * text.C (fill): ensure that the signature is the same as that in the
5446 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * text2.C (redoParagraphs): adjust
5449 (updateCounters): adjust
5450 (checkParagraph): adjust
5451 (getColumnNearX): adjust and reformat a bit.
5453 * text.C (top_y): adjust
5455 (leftMargin): adjust
5456 (prepareToPrint): adjust
5458 (getRowNearY): adjust
5460 * lyxtext.h: make rowlist_ mutable.
5462 * RowList.h: add const_iterator
5463 * RowList.C: adjust for RowList::const_iterator.
5465 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5468 2003-03-31 John Levon <levon@movementarian.org>
5471 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5473 * lyx_main.C: set default fonts from using lyx_gui funcs
5475 * exporter.C: pdf_mode moved from lyxrc
5478 * lyxfunc.C: changes from above
5480 2003-03-31 John Levon <levon@movementarian.org>
5482 * lyx_main.C: fix to the last fix
5484 2003-03-31 John Levon <levon@movementarian.org>
5486 * bufferlist.C: "Load original" -> "Load Original"
5492 * format.C: more Alert cleanups
5494 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * text2.C (removeParagraph): make it take a RowList::iterator as
5498 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5499 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5501 * text.C (anchor_row): make it take a RowList::iterator as arg,
5503 (computeBidiTables): make it take a const reference to Row instead
5504 of Row pointer, adjust.
5505 (leftMargin): make it take a RowList::iterator as arg, adjust.
5506 (rowBreakPoint): adjust
5507 (breakAgainOneRow): make it take a RowList::iterator as arg,
5509 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5511 * bufferview_funcs.C (toggleAndShow): adjust
5513 2003-03-30 John Levon <levon@movementarian.org>
5517 * boost-inst.C: moved to support
5519 * several files: changes as a result
5521 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * text2.C (LyXText): adjust.
5525 (removeRow): make it take a RowList::iterator as arg, adjust.
5526 (fullRebreak): adjust
5527 (deleteEmptyParagraphMechanism): adjust
5528 (clearPaint): adjust
5531 * text.C (top_y): adjust
5532 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5533 (breakAgain): make it take a RowList::iterator as arg, adjust.
5534 (breakParagraph): adjust
5535 (insertChar): adjust
5538 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5539 need_break_row, and refresh_row.
5541 * text3.C (dispatch): adjust
5543 * text2.C (checkParagraph): adjust
5545 (setCursorFromCoordinates): adjust
5547 * text.C (top_y): adjust
5549 (getRow): make it return a RowList::iterator, adjust
5550 (getRowNearY): make it return a RowList::iterator, adjust
5552 * text2.C (init): adjust
5553 (insertRow): remove function
5554 (insertParagraph): adjust
5555 (redoParagraphs): adjust
5556 (fullRebreak): adjust
5557 (updateCounters): adjust
5559 * text.C (top_y): rewrite to use RowList iterators.
5561 (setHeightOfRow): rewrite to sue RowList iterators.
5562 (appendParagraph): adjust
5563 (breakAgain): adjust
5564 (breakAgainOneRow): adjust
5565 (breakParagraph): adjust
5567 (getRowNearY): adjust, and remove commented code.
5569 * lyxtext.h (firstRow): delete function
5570 (lastRow): delete function
5571 (rows): new function (const and non-const versions.)
5572 (insertRow): delete function
5574 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5576 2003-03-29 John Levon <levon@movementarian.org>
5578 * BufferView_pimpl.C: always update scrollbar top
5579 because pasting text when we're anchored could mean we
5580 miss an update altogether
5582 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * text2.C (init): use rowlist_.end() and not 0.
5585 (insertRow): change to take a RowList::iterator as arg, adjust
5587 (insertParagraph): change to take a RowList::iterator as arg,
5589 (redoParagraphs): remove some debug msgs.
5591 * text.C (appendParagraph): change to take a RowList::iterator
5592 arg, adjust for this.
5593 (breakAgain): add an assert
5594 (breakAgainOneRow): ditto
5596 2003-03-29 John Levon <levon@movementarian.org>
5598 * text2.C: do not clear selection after inc/decDepth
5601 2003-03-29 John Levon <levon@movementarian.org>
5604 * buffer.C: fix broken strerrors according to Lars
5606 2003-03-29 John Levon <levon@movementarian.org>
5608 * converters.C: more Alert cleanups
5610 2003-03-29 John Levon <levon@movementarian.org>
5612 * bufferview_funcs.C: remove pointless Alert
5614 * buffer.C: fix confusing error message when
5615 a template is chmoded 000
5617 2003-03-29 John Levon <levon@movementarian.org>
5621 * BufferView_pimpl.C: Alert fixes
5625 * tabular-old.C: remove unused table compat reading
5627 2003-03-29 John Levon <levon@movementarian.org>
5632 * lyx_cb.C: more Alert cleanups
5634 * lyxfunc.C: don't allow chktex if not latex document
5636 2003-03-29 John Levon <levon@movementarian.org>
5640 * buffer.C: warnings pushed down from support/,
5643 2003-03-29 John Levon <levon@movementarian.org>
5645 * lyxfunc.C: safety check for C-r (revert)
5647 2003-03-29 John Levon <levon@movementarian.org>
5650 * bufferlist.C: several UI fixes using Alert::prompt.
5651 Fix the pointless looping quit code. Fix stupid revert
5656 * lyx_cb.C: use Alert::prompt
5658 * lyx_main.C: remove a silly question
5660 * lyxfunc.C: remove a couple of silly questions,
5663 2003-03-28 John Levon <levon@movementarian.org>
5665 * text2.C: fix bug 974 (End on empty par)
5667 2003-03-28 John Levon <levon@movementarian.org>
5669 * BufferView_pimpl.C:
5671 * lfuns.h: remove do-nothing math greek lfuns
5673 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * lyxgluelength.h (isValidGlueLength): add default arg on
5676 parameter 2. Remove default arg from friend in class.
5678 * lyxlength.h (isValidLength): add default arg on parameter 2.
5679 Remove default arg from friend in class.
5681 * text2.C (LyXText): adjust, initialize refresh_row.
5685 (insertParagraph): adjst
5686 (redoParagraphs): adjust
5687 (fullRebreak): adjust
5688 (updateCounters): adjust
5689 (deleteEmptyParagraphMechanism): first attempt at fixing a
5692 * text.C (top_y): adjust
5693 (setHeightOfRow): adjust
5695 (getRowNearY): adjust
5697 * lyxtext.h: include RowList.h
5698 (~LyXText): not needed anymore, deleted.
5699 (firstRow): modify for RowList
5700 (lastRow): new function
5701 Delete firstrow and lastrow class variables, add a Rowlist
5702 rowlist_ class variable.
5704 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5707 * RowList.C (insert): fix case where it == begin().
5709 2003-03-26 Angus Leeming <leeming@lyx.org>
5711 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5712 the thesaurus dialog.
5714 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5718 * RowList.[Ch]: new files
5720 * ParagraphList.C (erase): handle the case where it == begin
5723 2003-03-25 John Levon <levon@movementarian.org>
5727 * aspell.C: add new aspell support
5730 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5733 2003-03-25 Angus Leeming <leeming@lyx.org>
5736 * LyXAction.C (init): new LFUN_INSET_INSERT.
5738 * BufferView_pimpl.C (dispatch): split out part of the
5739 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5741 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5744 2003-03-25 Angus Leeming <leeming@lyx.org>
5746 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5748 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5751 * text3.C: remove useless row->height(0)
5753 2003-03-25 John Levon <levon@movementarian.org>
5757 * text3.C: rename the refreshing stuff to better names
5759 2003-03-24 John Levon <levon@movementarian.org>
5761 * BufferView_pimpl.h:
5762 * BufferView_pimpl.C: update layout choice on a mouse
5765 2003-03-23 John Levon <levon@movementarian.org>
5767 * Makefile.am: fix commandtags.h reference
5769 2003-03-22 John Levon <levon@movementarian.org>
5771 * BufferView_pimpl.C:
5776 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5778 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5781 * text.C: take the rtl methods out of line
5783 2003-03-21 André Pönitz <poenitz@gmx.net>
5785 * metricsinfo.[Ch]: new files containing structures to be passed around
5786 during the two-phase-drawing...
5788 2003-03-21 André Pönitz <poenitz@gmx.net>
5790 * lyxtextclass.C: read 'environment' tag.
5792 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5794 * text2.C (removeRow): fix bug 964
5796 2003-03-20 John Levon <levon@movementarian.org>
5800 * text2.C: paint cleanups. Inset::update() dropped font
5803 2003-03-19 John Levon <levon@movementarian.org>
5805 * lyxfunc.C: only fitcursor/markDirty if available()
5807 2003-03-19 John Levon <levon@movementarian.org>
5809 * commandtags.h: rename to ...
5811 * lfuns.h: ... this, and renumber / cleanup
5813 2003-03-19 John Levon <levon@movementarian.org>
5815 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5816 fit the cursor after an lfun
5820 * BufferView_pimpl.h:
5821 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5823 * LyXAction.C: layout-character should have ReadOnly
5825 * ParagraphParameters.C:
5827 * bufferview_funcs.C:
5834 * undo_funcs.C: changes from above
5836 2003-03-18 John Levon <levon@movementarian.org>
5838 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5839 remove it from update()
5841 * lyxfunc.C: update layout choice after an lfun
5843 * text3.C: remove extra updateLayoutChoice()s
5845 2003-03-18 John Levon <levon@movementarian.org>
5847 * text.C: top_y change means full repaint, fix
5848 a drawing bug with cursor movement
5850 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5854 * text2.C: anchor row on setCursor
5856 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5858 * lyxtext.h: remove almost all mutable keywords
5861 * text3.C: remove const keywords accordingly
5863 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5865 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5867 (TeXEnvironment): ditto
5870 2003-03-17 John Levon <levon@movementarian.org>
5872 * text.C (rowBreakPoint): remove attempt to fix displayed
5873 math insets inside a manual label
5875 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * lyxtext.h: remove BufferView* as first arg from almost all class
5879 * other files: adjust.
5881 2003-03-17 John Levon <levon@movementarian.org>
5885 * text2.C: more paint cleanups
5887 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5890 * rowpainter.C: remove "smart" background painting code
5892 2003-03-16 John Levon <levon@movementarian.org>
5897 * text3.C: add helper functions for setting refresh_row/y
5899 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5901 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5902 newline inset which *can* get inserted in the pass_thru layouts.
5903 This is primarily for literate documents.
5905 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5907 * buffer.C: increment LYX_FORMAT to 223
5909 2003-03-14 André Pönitz <poenitz@gmx.net>
5911 * textclass.h: prepare for environment handling, ws changes
5912 * lyxlayout.C: read latexheader and latexfooter tags
5914 2003-03-14 John Levon <levon@movementarian.org>
5916 * text2.C: rewrite ::status() a bit
5918 2003-03-13 John Levon <levon@movementarian.org>
5920 * lyxtext.h: add some docs
5922 2003-03-13 John Levon <levon@movementarian.org>
5927 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5929 2003-03-13 John Levon <levon@movementarian.org>
5931 * text3.C: fix appendix redrawing
5933 2003-03-13 John Levon <levon@movementarian.org>
5935 * text.C (setHeightOfRow):
5937 * rowpainter.C: make appendix mark have the text
5938 "Appendix" so the user knows what it is
5941 * LColor.C: s/appendixline/appendix/ from above
5943 2003-03-13 John Levon <levon@movementarian.org>
5945 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5947 * text.C: fix a getChar(pos) bug properly
5949 2003-03-13 Angus Leeming <leeming@lyx.org>
5952 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5953 Probably only temporary. Let's see how things pan out.
5955 * BufferView.C (unlockInset):
5956 * BufferView_pimpl.C (fitCursor):
5957 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5959 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5960 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5962 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5963 new functions that convert ParagraphParameters to and from a string.
5965 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5966 BufferView::Pimpl's dispatch.
5967 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5969 2003-03-13 André Pönitz <poenitz@gmx.net>
5973 * factory.C: make it aware of InsetEnv
5975 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * text2.C (setCursor): never ask for one past last
5978 (setCursor): add some debugging messages.
5980 * text.C (singleWidth): never ask for one past last
5981 (singleWidth): ditto
5983 (rightMargin): ditto
5984 (rowBreakPoint): ditto
5985 (setHeightOfRow): ditto
5986 (prepareToPrint): ditto
5988 * rowpainter.C (paintBackground): never ask for one past last
5989 (paintText): never ask for one past last
5991 * paragraph_pimpl.C (getChar): make the assert stricter, never
5992 allow the one past last pos to be taken
5994 * paragraph.C (getChar): ws changes only
5996 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5997 (numberOfSeparators): ditto
5998 (numberOfHfills): ditto
6000 2003-03-12 John Levon <levon@movementarian.org>
6006 * paragraph_funcs.C: fix per-buffer authorlists
6008 2003-03-12 John Levon <levon@movementarian.org>
6010 * text.C: fix newline in right address
6012 2003-03-12 Angus Leeming <leeming@lyx.org>
6014 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6015 duplicate those in LyXFunc::dispatch.
6019 * ToolbarDefaults.C:
6020 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6021 Add LFUN_FONTFREE_UPDATE.
6023 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6024 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6026 * bufferview_func.[Ch]: several new functions to facilliate
6027 transfer of data to and from the character dialog.
6029 2003-03-12 John Levon <levon@movementarian.org>
6034 * paragraph_funcs.C:
6035 * paragraph_pimpl.C:
6039 * text3.C: remove META_NEWLINE in favour of an inset
6042 * rowpainter.C: remove paintNewline (done by inset)
6044 2003-03-12 John Levon <levon@movementarian.org>
6046 * paragraph_pimpl.C: complain about bad getChar()s
6047 for a while at least
6049 2003-03-12 John Levon <levon@movementarian.org>
6052 * buffer.C: move paragraph read into a separate function,
6053 a little renaming to reflect that.
6056 * bufferparams.C: remove the author_ids map, not necessary now
6059 * factory.C: moved Buffer::readInset to here
6061 * paragraph_funcs.h:
6062 * paragraph_funcs.C: readParagraph free function moved from
6065 * tabular.C: name change
6067 2003-03-12 John Levon <levon@movementarian.org>
6070 * ParagraphParameters.C: move par params input to
6073 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6074 behave like a normal read from the stream wrt reading
6075 a line vs. a \\token
6077 2003-03-12 John Levon <levon@movementarian.org>
6080 * ParagraphParameters.h:
6081 * ParagraphParameters.C: move output code to a
6084 2003-03-12 John Levon <levon@movementarian.org>
6086 * BufferView.C (insertLyXFile):
6089 * tabular.C: use a parlist iterator for creating the
6092 2003-03-12 John Levon <levon@movementarian.org>
6094 * buffer.C: make current_change static local not
6097 2003-03-12 John Levon <levon@movementarian.org>
6099 * buffer.C: fix insertStringAsLines for change tracking
6101 2003-03-12 John Levon <levon@movementarian.org>
6108 * bufferparams.C: move author list into params. Rename some
6109 functions. Move the header reading into a separate token
6110 loop. Move the header token reading into BufferParams.
6112 2003-03-12 John Levon <levon@movementarian.org>
6114 * changes.C: put debug inside lyxerr.debugging() checks
6116 2003-03-11 André Pönitz <poenitz@gmx.net>
6118 * factory.C: make it aware of InsetHFill
6120 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * buffer.C (latexParagraphs): move function from here...
6123 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6126 2003-03-10 Angus Leeming <leeming@lyx.org>
6128 * LyXAction.C (init): fix bug in poplating array with multiple entries
6129 with the same LFUN (spotted by JMarc).
6131 2003-03-10 John Levon <levon@movementarian.org>
6134 * text2.C: move getColumnNearX() near its
6137 2003-03-10 John Levon <levon@movementarian.org>
6139 * text.C: fix break before a minipage
6141 2003-03-10 John Levon <levon@movementarian.org>
6143 * text.C: fix the last commit
6145 2003-03-09 John Levon <levon@movementarian.org>
6149 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6150 bug 365 (don't break before insets unless needed). Don't
6151 return a value > last under any circumstances.
6153 2003-03-09 Angus Leeming <leeming@lyx.org>
6155 * BufferView_pimpl.C (trackChanges, dispatch): call
6156 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6158 2003-03-09 Angus Leeming <leeming@lyx.org>
6160 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6161 than Dialogs::showAboutlyx().
6163 2003-03-09 Angus Leeming <leeming@lyx.org>
6165 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6166 than Dialogs::showTabularCreate().
6168 2003-03-09 John Levon <levon@movementarian.org>
6172 * text2.C: 3rd arg to nextBreakPoint was always the same.
6175 2003-03-08 John Levon <levon@movementarian.org>
6182 * text2.C: Remove the "main" bit from the "main body"
6185 2003-03-08 John Levon <levon@movementarian.org>
6187 * text.C (leftMargin): The left margin of an empty
6188 manual label paragraph should not include the label width
6191 * text.C (prepareToPrint): don't attempt to measure hfills
6192 for empty manual label paragraphs - the answer should be 0
6194 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * CutAndPaste.C: remove commented code and reindent.
6198 2003-03-08 John Levon <levon@movementarian.org>
6201 * lyxfunc.C: move reloadBuffer()
6204 * BufferView.C: to here
6206 * lyxvc.C: add comment
6209 * vc-backend.C: call bv->reload() to avoid
6210 getStatus() check on MENURELOAD
6212 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6214 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6215 to an old format .dep file.
6217 2003-03-07 Angus Leeming <leeming@lyx.org>
6219 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6220 when the LFUN_MOUSE_RELEASE should have been handled by
6221 inset->localDispatch.
6223 2003-03-07 Angus Leeming <leeming@lyx.org>
6225 * BufferView_pimpl.C (dispatch):
6226 * LyXAction.C (init):
6227 * ToolbarDefaults.C (init):
6229 * lyxfunc.C (getStatus):
6230 remove LFUN_INSET_GRAPHICS.
6232 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6234 2003-03-07 Angus Leeming <leeming@lyx.org>
6237 * LyXAction.C (init):
6238 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6240 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6243 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6245 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6246 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6248 2003-03-07 Angus Leeming <leeming@lyx.org>
6250 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6253 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * ParagraphList.C (front): new function
6258 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6260 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6261 and top_row_offset_. removed var first_y.
6263 * text2.C (LyXText, removeRow):
6265 * BufferView_pimpl.C:
6266 use these methods instead of using first_y
6268 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * text2.C (pasteSelection): adjust for checkPastePossible
6272 * CutAndPaste.C: remove Paragraph * buf and replace with
6273 ParagraphList paragraphs.
6274 (DeleteBuffer): delete
6275 (cutSelection): change the tc type to textclass_type
6276 (copySelection): change the tc type to textclass_type
6277 (copySelection): adjust for ParagraphList
6278 (pasteSelection): change the tc type to textclass_type
6279 (pasteSelection): adjust for Paragraphlist
6280 (nrOfParagraphs): simplify for ParagraphList
6281 (checkPastePossible): simplify for ParagraphList
6282 (checkPastePossible): remove unused arg
6284 * ParagraphList.C (insert): handle the case where there are no
6287 * CutAndPaste.h: make CutAndPaste a namespace.
6289 * text3.C (dispatch): adjust
6291 * text.C (breakParagraph): add a ParagraphList as arg
6293 * paragraph_funcs.C (breakParagraph): change to take a
6294 BufferParams and a ParagraphList as args.
6295 (breakParagraphConservative): ditto
6296 (mergeParagraph): ditto
6297 (TeXDeeper): add a ParagraphList arg
6298 (TeXEnvironment): ditto
6301 * buffer.C (readLyXformat2): adjust
6302 (insertStringAsLines): adjust
6303 (latexParagraphs): adjust
6305 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6306 (cutSelection): adjust
6307 (pasteSelection): adjust
6309 * BufferView_pimpl.C (insertInset): adjust
6311 2003-03-05 Angus Leeming <leeming@lyx.org>
6314 * LyXAction.C (init):
6315 * BufferView_pimpl.C (dispatch):
6316 * lyxfunc.C (getStatus):
6317 remove LFUN_CHILD_INSERT.
6319 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6321 2003-03-05 Angus Leeming <leeming@lyx.org>
6324 * LyXAction.C (init):
6325 * src/factory.C (createInset):
6326 * lyxfunc.C (getStatus):
6327 * text3.C (dispatch):
6328 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6330 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6332 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * ParagraphList.C (insert): handle insert right before end()
6335 (erase): fix cases where it can be first or last paragraph.
6337 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6340 Paragraph::next and Paragraph::previous
6343 * text.C (breakParagraph): adjust
6345 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6346 BufferParams& as arg.
6347 (breakParagraph): use ParagraphList::insert
6348 (breakParagraphConservative): take a Buffer* instead of a
6349 BufferParams& as arg.
6350 (breakParagraphConservative): use ParagraphList::insert.
6352 * buffer.C (insertStringAsLines): un-const it
6353 (insertStringAsLines): adjust
6355 * ParagraphList.C (insert): new function
6357 * CutAndPaste.C (pasteSelection): adjust
6359 * text.C (backspace): adjust
6361 * tabular.C (SetMultiColumn): adjust
6363 * CutAndPaste.C (cutSelection): adjust
6364 (pasteSelection): adjust
6366 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6367 Buffer const * as arg
6369 * ParagraphList.C (erase): new function
6370 * paragraph_funcs.C (mergeParagraph): use it
6371 (mergeParagraph): make it take a Buffer* instead of a
6372 BufferParams* as arg
6374 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6376 (breakParagraphConservative): ditto
6378 * paragraph.h: remove the breakParagraph friend
6380 * paragraph.C (eraseIntern): new function
6381 (setChange): new function
6383 * paragraph_funcs.C (mergeParagraph): make it take a
6384 ParagraphList::iterator instead of a Paragraph *, adjust
6387 * paragraph.h: move an #endif so that the change tracking stuff
6388 also works in the NO_NEXT case.
6390 2003-03-04 Angus Leeming <leeming@lyx.org>
6393 * LyXAction.C: new LFUN_INSET_MODIFY.
6395 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6396 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6398 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * several files: ws changes only
6402 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6403 (TeXEnvironment): ditto
6406 * buffer.C (makeLaTeXFile): adjust
6407 (latexParagraphs): make it take ParagraphList::iterator as args
6409 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * buffer.C (latexParagraphs): adjust
6413 * paragraph.C (TeXOnePar): move function...
6414 (optArgInset): move function...
6415 (TeXEnvironment): move function...
6416 * paragraph_pimpl.C (TeXDeeper): move function...
6417 * paragraph_funcs.C: ...here
6419 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6421 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * buffer.C (readInset): remove compability code for old Figure and
6426 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * buffer.C: ws changes
6431 * BufferView_pimpl.C: ditto
6434 * bufferlist.h: ditto
6438 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6440 * converter.[Ch]: split into itself +
6443 * Makefile.am: += graph.[Ch] + format.[Ch]
6450 * lyxrc.C: added #include "format.h"
6452 2003-02-27 Angus Leeming <leeming@lyx.org>
6454 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6457 * factory.C (createInset): add "label" to the factory.
6459 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6460 string and do no more.
6462 2003-02-27 Angus Leeming <leeming@lyx.org>
6465 * LyXAction.C (init):
6466 * factory.C (createInset):
6467 * BufferView_pimpl.C (dispatch):
6468 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6470 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6472 * lyxfunc.C (dispatch):
6473 * text3.C (dispatch): pass name to params2string.
6475 2003-02-26 Angus Leeming <leeming@lyx.org>
6477 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6479 Rearrange the ~includes. Strip out the unnecessary ones.
6481 * factory.C (createInset): reformat.
6482 create new insets for the various LFUN_XYZ_APPLY lfuns.
6484 2003-02-26 John Levon <levon@movementarian.org>
6487 * lyxrow.C: add isParStart,isParEnd helpers
6489 * paragraph.h: make isInserted/DeletedText take refs
6491 * paragraph_funcs.h:
6492 * paragraph_funcs.C: remove #if 0'd code
6497 * text.C: use lyxrow helpers above.
6498 Move draw and paint routines to RowPainter.
6499 Make several methods use refs not pointers.
6500 Make backgroundColor() const.
6501 Add markChangeInDraw(), isInInset().
6502 Merge changeRegionCase into changeCase.
6503 Make workWidth() shouldn't-happen code into an Assert.
6506 * rowpainter.C: new class for painting a row.
6509 * vspace.C: make inPixels take a ref
6511 2003-02-26 Angus Leeming <leeming@lyx.org>
6513 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6516 2003-02-25 John Levon <levon@movementarian.org>
6518 * ispell.C: give the forked command a more accurate name
6520 2003-02-22 John Levon <levon@movementarian.org>
6523 * toc.C: make TocItem store an id not a Paragraph *
6526 2003-02-21 Angus Leeming <leeming@lyx.org>
6528 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6529 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6530 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6531 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6532 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6533 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6535 * BufferView_pimpl.C (dispatch):
6536 * LyXAction.C (init):
6537 * factory.C (createInset):
6538 * lyxfunc.C (getStatus, dispatch):
6539 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6541 2003-02-21 Angus Leeming <leeming@lyx.org>
6543 * BufferView_pimpl.C (MenuInsertLyXFile):
6544 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6545 * lyxfunc.C (menuNew, open, doImport):
6546 no longer pass a LyXView & to fileDlg.
6548 2003-02-21 Angus Leeming <leeming@lyx.org>
6550 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6551 * LyXAction.C: change, BIBKEY to BIBITEM.
6552 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6553 Change InsetBibKey to InsetBibitem.
6554 Change BIBKEY_CODE to BIBITEM_CODE.
6555 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6556 * factory.C: replace insetbib.h with insetbibitem.h.
6557 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6558 * paragraph.C: replace insetbib.h with insetbibitem.h.
6559 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6560 Change bibkey() to bibitem().
6561 * text.C: remove insetbib.h.
6562 * text2.C: replace insetbib.h with insetbibitem.h.
6563 change bibkey() to bibitem().
6564 * text3.C: remove insetbib.h.
6565 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6567 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6569 * lyxrc.C (output): enclose user email in quotes (in case there are
6572 2003-02-18 John Levon <levon@movementarian.org>
6574 * buffer.h: add std::
6576 2003-02-17 John Levon <levon@movementarian.org>
6582 * pspell.C: reworking. Especially in ispell, a large
6583 number of clean ups and bug fixes.
6585 * lyxfunc.C: fix revert to behave sensibly
6587 2003-02-17 André Pönitz <poenitz@gmx.net>
6590 * commandtags.h: new LFUN_INSERT_BIBKEY
6600 * paragraph_func.C: remove special bibkey handling
6602 2003-02-17 John Levon <levon@movementarian.org>
6604 * text.C (Delete): fix case where delete at the end of
6605 the very first paragraph would not merge the pars
6607 2003-02-17 John Levon <levon@movementarian.org>
6609 * lyxrow.C: fix lastPrintablePos()
6611 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6613 * bufferparams.C (writeLaTeX): add a std:here
6615 * buffer.C: and remove a using directive there
6617 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6619 * buffer.C (makeLaTeXFile): move the code that generates the
6622 * bufferparams.C (writeLaTeX): ... in this new method
6624 * LaTeXFeatures.C (getEncodingSet): make const
6625 (getLanguages): make const
6627 * MenuBackend.C (binding): returns the binding associated to this
6629 (add): sets the status of each item by calling getStatus. Adds
6631 (read): add support for OptSubMenu
6632 (expand): remove extra separator at the end of expanded menu
6634 2003-02-15 John Levon <levon@movementarian.org>
6637 * BufferView_pimpl.C:
6639 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6640 inset code that had no actual effect. Remove unneeded status
6643 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6645 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6648 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6650 * text.C (drawLengthMarker): also draw an arrow marker for
6651 symbolic lengths (medskip...)
6653 2003-02-14 John Levon <levon@movementarian.org>
6656 * tabular.C: better method names
6658 2003-02-14 John Levon <levon@movementarian.org>
6660 * BufferView_pimpl.C:
6665 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6666 it's a more accurate name. Remove some pointless uses.
6668 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6670 * text2.C (LyXText): change order of initilizers to shut off
6673 2003-02-14 John Levon <levon@movementarian.org>
6675 * buffer.C: use ParIterator for getParFromID()
6679 * paragraph_pimpl.h:
6680 * paragraph_pimpl.C: remove unused getParFromID()
6682 2003-02-14 John Levon <levon@movementarian.org>
6684 * buffer.C: remove some very old #if 0'd parse code
6686 2003-02-13 John Levon <levon@movementarian.org>
6690 * text2.C: move hfillExpansion(), numberOfSeparators(),
6691 rowLast(), rowLastPrintable(), numberofHfills(),
6692 numberOfLabelHfills() ...
6695 * lyxrow.C: ... to member functions here.
6700 * text.C: remove LyXText::beginningOfMainBody(), and call
6701 p->beginningOfMainBody() directly. Move the check for
6702 LABEL_MANUAL into the latter.
6709 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6715 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6716 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6718 2003-02-13 John Levon <levon@movementarian.org>
6720 * CutAndPaste.C: remove debug
6722 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * paragraph.C (asString): remove two unused variables
6726 * lyxtextclass.C (readTitleType):
6728 (LyXTextClass): handle new members titletype_ and titlename_
6730 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6732 2003-02-09 John Levon <levon@movementarian.org>
6735 * buffer.C: replace hand-coded list with a map for the dep clean
6737 2003-02-08 John Levon <levon@movementarian.org>
6739 * LaTeX.C: consolidate code into showRunMessage() helper
6741 2003-02-08 John Levon <levon@movementarian.org>
6746 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6747 and pass the size in explicitly
6749 * BufferView_pimpl.h:
6750 * BufferView_pimpl.C:
6752 * BufferView.C: add getCurrentChange()
6754 * BufferView_pimpl.h:
6755 * BufferView_pimpl.C: handle change lfuns
6757 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6758 for changes. Mark pasted paragraphs as new.
6760 * support/lyxtime.h:
6761 * support/lyxtime.C:
6762 * DepTable.C: abstract time_t as lyx::time_type
6765 * LColor.C: add colours for new text, deleted text, changebars
6767 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6768 package use "usenames" option.
6772 * LyXAction.C: add change lfuns
6776 * author.C: author handling
6779 * buffer.C: add a per-buffer author list, with first entry as
6780 current author. Handle new .lyx tokens for change tracking. Output
6781 author list to .lyx file. Output dvipost stuff to .tex preamble.
6782 Bump lyx format to 222.
6785 * bufferlist.C: add setCurrentAuthor() to reset current author details
6789 * bufferparams.C: add param for tracking
6791 * bufferview_funcs.C: output change info in minibuffer
6795 * changes.C: add change-tracking structure
6798 * debug.C: add CHANGES debug flag
6801 * lyxfind.C: add code for finding the next change piece
6804 * lyxrc.C: add user_name and user_email
6807 * lyxrow.C: add a metric for the top of the text line
6810 * text.C: implement accept/rejectChange()
6813 * text.C: paint changebars. Paint new/deleted text in the chosen
6814 colours. Strike through deleted text.
6818 * paragraph_pimpl.h:
6819 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6820 in the current change to the insert functions. Rework erase to
6821 mark text as deleted, adding an eraseIntern() and a range-based
6822 erase(). Implement per-paragraph change lookup and
6825 * paragraph_funcs.C: Fixup paste for change tracking.
6827 * tabular.C: mark added row/columns as new.
6829 * text.C: fix rowLast() to never return -1. Don't allow
6830 spellchecking of deleted text. Track transpose changes. Don't
6831 allow paragraph break or merge where appropriate.
6833 * text2.C: leave cursor at end of selection after a cut.
6835 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6837 * text.C (getLengthMarkerHeight):
6838 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6839 visible on screen too.
6841 2003-02-07 John Levon <levon@movementarian.org>
6843 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6845 2003-02-05 Angus Leeming <leeming@lyx.org>
6847 * lyxserver.C (read_ready): revert my patch of 11 September last year
6848 as it sends PC cpu through the roof. Presumably this means that
6849 the lyxserver will no longer run on an Alpha...
6851 2003-01-30 Angus Leeming <leeming@lyx.org>
6853 * factory.C (createInset): create an InsetCommandParam of type "index"
6854 and use it to 'do the right thing'.
6856 * text2.C (getStringToIndex): ensure that cursor position is always
6857 reset to the reset_cursor position.
6859 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6861 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6864 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6868 * lyxfunc.C: Output messages with identical spelling, punctuation,
6871 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6873 * MenuBackend.C (expandFormats): List only viewable export formats
6876 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6879 * lyxfunc.C (getStatus): Make sure that formats other than
6880 "fax" can also be disabled
6882 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6884 * text3.C (dispatch): put the lfuns that insert insets in 3
6885 groups, and call doInsertInset with appropriate arguments.
6886 (doInsertInset): new function, that creates an inset and inserts
6887 it according to some boolean parameters.
6889 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * buffer.C (readFile): remember to pass on 'par' when calling
6892 readFile recursively.
6894 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * MenuBackend.C (expandFormats): add "..." to import formats.
6898 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6900 * paragraph.C (asString): Remove XForms RTL hacks.
6902 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6903 * buffer.C: fix typo
6905 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * Makefile.am (LIBS): delete var
6908 (lyx_LDADD): add @LIBS@ here instead.
6910 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6912 * Clarify the meaning of "wheel mouse jump"
6914 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6916 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6919 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6921 * importer.C (Loaders): do not preallocate 3 elements in the
6922 vector, since one ends up with 6 elements otherwise
6924 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6926 * DepTable.C (write): write the file name as last element of the
6927 .dep file (because it may contain spaces)
6928 (read): read info in the right order
6930 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6932 * paragraph_pimpl.C (simpleTeXBlanks):
6933 (simpleTeXSpecialChars):
6934 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6936 * tabular.C (latex): add some missing case statements. Reindent.
6938 * MenuBackend.C (expandToc): remove unused variable.
6940 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6949 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6952 2003-01-05 John Levon <levon@movementarian.org>
6955 * BufferView.C: add getEncoding()
6958 * kbsequence.C: do not store last keypress
6961 * lyxfunc.C: store last keypress here instead. Pass encoding
6964 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6966 * lyx_main.C (init): remove annoying error message when following
6967 symbolic links (bug #780)
6969 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6971 * text.C (insertChar):
6972 * lyxrc.C (getDescription): remove extra spaces
6974 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6976 * lyxrc.C (getDescription): remove extra spaces
6978 2002-12-20 John Levon <levon@movementarian.org>
6980 * text3.C: hack fix for page up/down across tall rows
6982 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6984 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6987 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6990 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6991 thesaurus is not compiled in
6993 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6995 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6997 2002-12-16 Angus Leeming <leeming@lyx.org>
7000 * lyx_main.C (init): remove override_x_deadkeys stuff.
7002 2002-12-12 John Levon <levon@movementarian.org>
7004 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7005 insert. Only remove shift modifier under strict
7008 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * MenuBackend.C (expandToc): fix crash.
7012 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * MenuBackend.C (expandToc): gettext on float names.
7016 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7018 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7019 implement bool empty() [bug 490]
7021 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7025 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * several files: ws changes
7029 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7031 * text2.C (setCounter): clean up a bit, use boost.format.
7032 (updateCounters): initialize par upon declaration.
7034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7035 if the layout exists. We do not just store the layout any more.
7036 (SwitchLayoutsBetweenClasses): use boost.format
7038 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7040 * converter.C (convert): if from and to files are the same, use a
7041 temporary files as intermediary
7043 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7046 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7048 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7050 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7052 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * tabular.C (asciiPrintCell): use string(size, char) instead of
7057 * sgml.C (openTag): fix order of arguments to string constructor
7060 * lyxfunc.C (dispatch): use boost.format
7062 * lots of files: change "c" -> 'c'
7064 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7066 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7068 2002-11-25 Angus Leeming <leeming@lyx.org>
7070 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7072 * lyx_main.C (init): compile fix.
7074 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * lyx_cb.C (start): boost.formatify
7077 do not include <iostream>
7079 * lengthcommon.C: ws only
7081 * boost-inst.C,BoostFormat.h: add more explict instantations
7083 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * lots of files: handle USE_BOOST_FORMAT
7087 2002-11-21 John Levon <levon@movementarian.org>
7089 * pspell.C: fix compile
7091 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * lyxfunc.C (dispatch): use boost::format
7097 * lyxfont.C (stateText): use boost::format
7099 * lyx_main.C (LyX): use boost::format
7101 (queryUserLyXDir): ditto
7104 (typedef boost::function): use the recommened syntax.
7106 * importer.C (Import): use boost::format
7108 * debug.C (showLevel): use boost::format
7110 * converter.C (view): use boost::format
7115 * bufferview_funcs.C (currentState): use boost::format
7117 * bufferlist.C (emergencyWrite): use boost::format
7119 * buffer.C (readLyXformat2): use boost::format
7120 (parseSingleLyXformat2Token): ditto
7122 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7124 * LaTeX.C (run): use boost::format
7126 * Chktex.C (scanLogFile): use boost::format
7128 * BufferView_pimpl.C (savePosition): use boost::format
7129 (restorePosition): ditto
7130 (MenuInsertLyXFile): ditto
7132 * BoostFormat.h: help file for explicit instation.
7134 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7136 * tabular.C (latex): Support for block alignment in fixed width
7139 2002-11-17 John Levon <levon@movementarian.org>
7141 * BufferView_pimpl.C:
7143 * lyxfunc.C: split filedialog into open/save
7145 2002-11-08 Juergen Vigna <jug@sad.it>
7147 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7148 by my last patch (hopefully).
7150 2002-11-08 John Levon <levon@movementarian.org>
7159 * toc.C: ParConstIterator, and use it (from Lars)
7161 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7163 * lyxtextclass.[Ch]: revise and add doxygen comments
7165 2002-11-07 John Levon <levon@movementarian.org>
7167 * text.C: fix progress value for spellchecker
7169 * toc.C: fix navigate menu for insetwrap inside minipage
7171 * paragraph_funcs.C: added FIXME for suspect code
7173 2002-11-07 John Levon <levon@movementarian.org>
7175 * BufferView_pimpl.C: fix redrawing of insets
7178 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7180 * text2.C (updateCounters): fix bug 668
7182 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7184 * text3.C (dispatch): Do not make the buffer dirty when moving the
7187 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7189 * vc-backend.C: STRCONV
7192 * text2.C (setCounter): STRCONV
7194 * paragraph.C (asString): STRCONV
7196 * lyxlength.C (asString): STRCONV
7197 (asLatexString): ditto
7199 * lyxgluelength.C (asString): STRCONV
7200 (asLatexString): ditto
7202 * lyxfunc.C (dispatch): STRCONV
7205 * lyxfont.C (stateText): STRCONV
7207 * importer.C (Import): STRCONV
7209 * counters.C (labelItem): STRCONV
7210 (numberLabel): ditto
7211 (numberLabel): remove unused ostringstream o
7216 * bufferview_funcs.C (currentState): STRCONV
7218 * buffer.C (readFile): STRCONV
7219 (asciiParagraph): ditto
7220 (makeLaTeXFile): ditto
7222 * Spacing.C (writeEnvirBegin): STRCONV
7224 * LaTeXFeatures.C (getLanguages): STRCONV
7225 (getPackages): ditto
7227 (getBabelOptions): ditto
7228 (getTClassPreamble): ditto
7229 (getLyXSGMLEntities): ditto
7230 (getIncludedFiles): ditto
7234 (scanAuxFile): ditto
7237 * LString.h: add the STRCONV macros
7239 * BufferView_pimpl.C (savePosition): STRCONV
7240 (restorePosition): ditto
7241 (MenuInsertLyXFile): ditto
7243 * vc-backend.C (scanMaster): change from submatch[...] to
7246 * funcrequest.C: include config.h
7248 * factory.C: include config.h
7250 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7252 * box.C: include config.h
7254 * LaTeX.C (scanAuxFile): change from submatch[...] to
7258 2002-10-25 Angus Leeming <leeming@lyx.org>
7260 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7262 * ispell.[Ch] (setError): new method.
7263 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7264 Use setError() insetead of goto END.
7266 * lyx_cb.C (AutoSave): move out child process into new class
7269 2002-10-30 John Levon <levon@movementarian.org>
7271 * text3.C: make start appendix undoable
7273 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7275 * lyxlength.C (inPixels): Fix returned value.
7277 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7280 2002-10-24 Angus Leeming <leeming@lyx.org>
7282 * lyxgluelength.h: no need to forward declare BufferParams
7283 or BufferView, so don't.
7285 2002-10-21 John Levon <levon@movementarian.org>
7287 * BufferView.C: menuUndo ->undo, redo
7289 * BufferView.h: document, remove dead, make some methods private
7291 * paragraph_funcs.h:
7292 * paragraph_funcs.C:
7293 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7298 * sgml.C: move sgml open/close tag into sgml.C
7300 * bufferview_funcs.h: unused prototype
7303 * lyxfunc.C: remove unused
7306 * text.C: remove unused
7308 2002-10-21 John Levon <levon@movementarian.org>
7312 * BufferView_pimpl.h:
7313 * BufferView_pimpl.C: fix mouse wheel handling based on
7314 patch from Darren Freeman
7316 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7318 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7320 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7322 * lyxlength.C (inPixels): Fix hanfling of negative length.
7323 Fix LyXLength::MU case.
7325 2002-10-16 John Levon <levon@movementarian.org>
7327 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7329 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7331 * converter.C (view): add support for $$i (file name) and $$p
7332 (file path) for the viewer command. If $$i is not specified, then
7333 it is appended to the command (for compatibility with old syntax)
7335 2002-10-14 Juergen Vigna <jug@sad.it>
7337 * undo_funcs.C (textHandleUndo): alter the order in which the
7338 new undopar is added to the LyXText, as we have to set first
7339 the right prev/next and then add it as otherwise the rebuild of
7340 LyXText is not correct. Also reset the cursor to the right paragraph,
7341 with this IMO we could remove the hack in "redoParagraphs()".
7343 2002-10-09 Angus Leeming <leeming@lyx.org>
7345 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7346 to turn off an optimisation if a new inset is to be inserted.
7348 2002-10-11 André Pönitz <poenitz@gmx.net>
7350 * lyxtext.h: make some functions public to allow access
7351 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7353 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7355 * text3.C (dispatch): when changing layout, avoid an infinite loop
7358 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7360 * lyxrc.C (read): treat a viewer or converter command of "none" as
7363 * MenuBackend.C (expandFormats): for an update, also allow the
7364 formats that are not viewable
7366 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7367 script if it is newer than the lyxrc.defaults in user directory
7369 2002-10-07 André Pönitz <poenitz@gmx.net>
7371 * text.C: Vitaly Lipatov's small i18n fix
7373 2002-09-25 Angus Leeming <leeming@lyx.org>
7375 * ispell.h: doxygen fix.
7377 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7379 * buffer.h (readFile): Add a new argument to the method, to allow
7380 reading of old-format templates.
7382 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7384 * toc.C (getTocList): Get TOC from InsetWrap.
7386 2002-09-16 John Levon <levon@movementarian.org>
7388 * lyxfunc.C: check tabular for cut/copy too
7390 2002-09-12 John Levon <levon@movementarian.org>
7395 * factory.C: add header
7397 * paragraph_funcs.h:
7398 * paragraph_funcs.C: cleanup
7400 2002-09-11 John Levon <levon@movementarian.org>
7402 * PrinterParams.h: odd/even default to true
7404 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7406 * PrinterParams.h: update printer parameters for new xforms dialog
7408 2002-09-11 Angus Leeming <leeming@lyx.org>
7410 * lyxserver.C (read_ready): re-write to make it more transparent
7411 and to make it work in coherent fashion under Tru64 Unix.
7413 2002-09-11 André Pönitz <poenitz@gmx.net>
7417 * text3.C: implement LFUN_WORDSEL
7419 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7422 make floatlist_ a boost::shared_ptr<FloatList>
7424 * lyxtextclass.C: include FloatList.h
7425 (LyXTextClass): initialize floatlist_
7426 (TextClassTags): add TC_NOFLOAT
7427 (Read): match "nofloat" to TC_NOFLOAT and use it.
7428 (readFloat): modify call to floatlist_
7432 * FloatList.[Ch] (FloatList): remove commented out float
7434 (erase): new function
7436 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7438 * MenuBackend.C (expandToc): fix crash when there is no document
7441 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7443 * many files: Add insetwrap.
7445 2002-09-09 John Levon <levon@movementarian.org>
7447 * text2.C: remove confusing and awkward depth wraparound
7449 2002-09-09 John Levon <levon@movementarian.org>
7451 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7454 * buffer.C: remove getIncludeonlyList()
7457 * lyxfunc.C: remove headers
7459 2002-09-09 Juergen Vigna <jug@sad.it>
7461 * text.C (getColumnNearX): fix form Michael this is most
7462 probably a cut&paste bug.
7464 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7468 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7469 references, ws changes.
7471 * text2.C (init): update counters after init
7472 (insertParagraph): no need to set counter on idividual paragraphs.
7473 (setCounter): access the counters object in the textclass object
7474 on in the buffer object.
7475 (updateCounters): ditto
7477 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7478 shared_ptr<Counters> to avoid loading counters.h in all
7480 (LyXTextClass): initialize ctrs_
7481 (TextClassTags): add TC_COUNTER, and ...
7482 (Read): use it here.
7483 (CounterTags): new tags
7484 (readCounter): new function
7485 (counters): new funtion
7486 (defaultLayoutName): return a const reference
7488 * counters.C (Counters): remove contructor
7489 (newCounter): remove a couple of unneeded statements.
7490 (newCounter): simplify a bit.
7491 (numberLabel): some small formatting changes.
7493 * buffer.[Ch]: remove all traces of counters, move the Counters
7494 object to the LyXTextClass.
7496 2002-09-06 Alain Castera <castera@in2p3.fr>
7498 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7499 package to set the horizontal alignment on fixed width columns.
7502 * lyx_sty.h: added tabularnewline macro def.
7504 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7506 2002-09-06 John Levon <levon@movementarian.org>
7508 * LyXAction.C: tooltips for sub/superscript
7510 * MenuBackend.C: a bit more verbose
7512 * lyxfunc.C: tiny clean
7514 * undo_funcs.C: document undo_frozen
7516 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * counters.C (Counters): add missing algorithm counter.
7520 * text2.C (setCounter): lookup the counter with layouts latexname
7521 instead of by section number.
7522 (setCounter): use a hackish way to lookup the correct enum
7524 a float name->type change
7525 reset enum couners with counter name directly instead of depth value.
7527 * counters.C (Counters): remove the push_backs, change to use the
7528 float type not the float name.
7529 (labelItem): remove unused string, float name->type change
7531 * counters.h: don't include vector, loose the enums and sects vectors
7533 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7536 (Read): add float->TC_FLOAT to textclassTags
7537 (Read): and handle it in the switch
7538 (readFloat): new function
7540 * FloatList.C (FloatList): comment out the hardcoded float
7543 * lyxlayout.h: ws change.
7545 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7547 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7549 2002-09-03 Angus Leeming <leeming@lyx.org>
7551 * BufferView_pimpl.h: qualified name is not allowed in member
7552 declaration: WorkArea & Pimpl::workarea() const;
7554 * factory.C: added using std::endl directive.
7556 * text3.C: added using std::find and std::vector directives.
7558 2002-08-29 André Pönitz <poenitz@gmx.net>
7561 * text2.C: remove unused member number_of_rows
7564 * BufferView2.C: remove file, move contents to...
7565 * BufferView.C: ... here
7567 * BufferView_pimpl.C:
7568 * factory.C: move more inset creation to factory
7570 * vspace.C: avoid direct usage of LyXText, ws changes
7573 don't provide direct access to WorkArea, use two simple
7574 acessors haveSelction() and workHeight() instead
7577 2002-08-29 John Levon <levon@movementarian.org>
7579 * BufferView_pimpl.C (dispatch): do not continue when
7582 2002-08-28 André Pönitz <poenitz@gmx.net>
7584 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7587 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7589 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7591 * buffer.C: increment LYX_FORMAT to 221
7593 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7594 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7596 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7598 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7600 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7602 * factory.C (createInset): use LyXTextClass::floats
7604 * MenuBackend.C (expandFloatListInsert):
7605 (expandFloatInsert):
7608 * text2.C (setCounter):
7610 * LaTeXFeatures.C (useFloat):
7611 (getFloatDefinitions):
7613 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7615 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7616 floatlist_, with accessor floats().
7618 * FloatList.h: remove global FloatList
7620 2002-08-26 André Pönitz <poenitz@gmx.net>
7622 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7626 * BufferView_pimpl.C:
7627 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7629 2002-08-25 John Levon <levon@movementarian.org>
7631 * LyXAction.C: fix margin note description
7633 2002-08-24 John Levon <levon@movementarian.org>
7637 * bufferview_funcs.C:
7639 * undo_funcs.C: cleanups
7641 * lyxfunc.C: disable CUT/COPY when no selection
7643 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7645 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7646 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7648 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7649 Add backward compatibility to "mono", "gray" and "no".
7651 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7653 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7654 (and file_format >= 200).
7656 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7660 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7662 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7664 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7666 * BufferView_pimpl.C:
7673 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7674 inset and code to make it work with the paragraph code. The inset
7675 can be anywhere in the paragraph, but will only do the expected
7676 thing in LaTeX if the layout file contains the parameter line
7678 (or more generally, a nonzero value) for that layout.
7680 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * paragraph.h: remove the declaration of undefined counters class
7685 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7687 * text2.C (setCounter): fixed enumeration mis-count as reported by
7688 Dr. Richard Hawkins.
7690 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * paragraph_funcs.h: remove some unneeded includes
7694 * text.C (backspace): pasteParagraph now in global scipe
7696 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7697 (pasteSelection): ditto
7699 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7700 * paragraph_funcs.C (pasteParagraph): ... here
7702 2002-08-20 André Pönitz <poenitz@gmx.net>
7704 * commandtags.h: new LFUNs for swapping/copying table row/colums
7707 * lyxfunc.C: support for new lfuns
7709 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7712 * buffer.[Ch]: remove NO_COMPABILITY stuff
7714 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7716 * boost.C (throw_exception): new file, with helper function for
7717 boost compiled without exceptions.
7722 * ParameterStruct.h:
7723 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7725 * bufferlist.C (emergencyWriteAll): use boost bind
7727 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7729 * text.C: include paragraph_funcs.h
7730 (breakParagraph): breakParagraph is now in global scope
7732 * paragraph_funcs.[Ch]: new files
7734 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7737 * buffer.C: include paragraph_funcs.h
7738 (insertStringAsLines): breakParagraph is now in global scope
7740 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7743 * CutAndPaste.C: include paragraph_funcs.h
7744 (cutSelection): breakParagraphConservative is now in global scope
7745 (pasteSelection): ditto
7747 * buffer.h: declare oprator== and operator!= for
7748 Buffer::inset_iterator
7750 * bufferlist.C (emergencyWrite): don't use fmt(...)
7752 * text3.C: add using std::endl
7754 * BufferView.C (moveCursorUpdate): remove default arg
7756 2002-08-20 André Pönitz <poenitz@gmx.net>
7758 * buffer.[Ch]: move inline functions to .C
7761 * BufferView_pimpl.C:
7763 * buffer.[Ch]: use improved inset_iterator
7766 * paragraph.[Ch]: write one paragraph at a time
7768 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7770 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7771 style if style is not specified.
7773 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7775 * text2.C (setCounter): when searching for right label for a
7776 caption, make sure to recurse to parent insets (so that a caption
7777 in a minipage in a figure float works) (bug #568)
7779 2002-08-20 André Pönitz <poenitz@gmx.net>
7781 * text3.C: new file for LyXText::dispatch() and helpers
7783 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7785 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7787 2002-08-19 André Pönitz <poenitz@gmx.net>
7790 * text.C: new LyXText::dispatch()
7792 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7794 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7796 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7798 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7801 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7803 * Makefile.am: use $(variables) instead of @substitutions@
7805 2002-08-15 André Pönitz <poenitz@gmx.net>
7808 * BufferView_pimpl.C: streamlining mathed <-> outer world
7812 * LyXAction.C: remove unused LFUN_MATH
7814 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7818 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * paragraph.C (Paragraph): reformat a bit
7821 (cutIntoMinibuffer): use builtin InsetList function instad of
7825 * buffer.C: include boost/bind.hpp, add using std::for_each
7826 (writeFileAscii): use ParagraphList iterators
7827 (validate): use for_each for validate traversal of paragraphs
7828 (getBibkeyList): use ParagraphList iterators
7829 (resizeInsets): use for_each to resizeInsetsLyXText for all
7831 (getParFromID): use ParagraphList iterators
7833 * BufferView2.C (lockInset): use paragraph list and iterators
7835 2002-08-14 John Levon <levon@movementarian.org>
7837 * lyxserver.C: remove spurious xforms include
7839 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7841 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7843 2002-08-13 André Pönitz <poenitz@gmx.net>
7846 * lyxfunc.C: further cleaning
7848 2002-08-13 André Pönitz <poenitz@gmx.net>
7850 * funcrequest.h: new constructor
7852 * funcrequest.C: move stuff here from .h
7855 * BufferView_pimpl.C:
7858 * lyxfunc.C: subsequent changes
7860 * lyxfunc.h: new view() member function
7862 * lyxfunc.C: subsequent changes
7864 2002-08-13 Angus Leeming <leeming@lyx.org>
7867 * BufferView_pimpl.C:
7875 changes due to the changed LyXView interface that now returns references
7876 to member variables not pointers.
7878 2002-08-13 Angus Leeming <leeming@lyx.org>
7880 * WordLangTuple (word, lang_code): return references to strings,
7885 * lyxtext.h: forward-declare WordLangTuple.
7890 * text.C: #include "WordLangTuple.h".
7893 * text.C: (selectNextWordToSpellcheck): constify return type.
7895 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7901 * paragraph_pimpl.h:
7904 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7906 Made updateCounter always count from start of buffer, and removed
7907 second argument (par).
7908 Reverted floats number display to '#'. Perhaps I'll try again when the
7909 code base is sanitized a bit.
7911 2002-08-12 Angus Leeming <leeming@lyx.org>
7913 * buffer.[Ch] (getLabelList): constify.
7915 2002-08-07 André Pönitz <poenitz@gmx.net>
7917 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7919 * funcrequest.h: extension to keep mouse (x,y) position
7921 2002-08-12 Juergen Vigna <jug@sad.it>
7923 * BufferView2.C (insertErrors): forbid undo when inserting error
7926 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7928 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * ParagraphList.[Ch]: new files
7932 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7934 * BufferView2.C (lockInset): ParagraphList changes
7937 * bufferlist.C: ditto
7941 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7944 unused class variable counter_,
7946 * paragraph.[Ch] (getFirstCounter): delete unused function
7948 * counters.C: include LAssert.h
7949 (reset): add a new function with no arg, change other version to
7950 not have def. arg and to not allow empty arg.
7952 * text2.C (setCounter): remove empty arg from call to Counters::reset
7954 2002-08-11 John Levon <levon@movementarian.org>
7956 * Makefile.am: add WordLangTuple.h
7958 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7961 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7963 * insets/insettext.C: InsetList changes
7965 * graphics/GraphicsSupport.C (operator()): InsetList changes
7967 * toc.C (getTocList): InsetList changes
7969 * paragraph_pimpl.[Ch]: InsetList changes
7971 * paragraph.[Ch]: InsetList changes
7973 * buffer.C (inset_iterator): InsetList changes
7974 (setParagraph): ditto
7975 * buffer.h (inset_iterator): ditto
7976 * iterators.C (operator++): ditto
7977 * iterators.h: ditto
7979 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7981 * InsetList.[Ch]: new files, most InsetList handling moved out of
7984 * BufferView2.C (removeAutoInsets): InsetList changes
7986 (ChangeInsets): ditto
7988 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * paragraph_pimpl.h (empty): new function
7992 * paragraph.[Ch] (empty): new function
7994 * other files: use the new Paragraph::empty function
7996 2002-08-09 John Levon <levon@movementarian.org>
7998 * lyxtext.h: remove unused refresh_height
8000 2002-08-09 John Levon <levon@movementarian.org>
8007 * paragraph.C: move sgml char escaping out of paragraph
8010 * paragraph.C: remove id setter
8014 * paragraph_pimpl.C: remove dead tex_code_break_column
8016 * bufferview_funcs.C: small cleanup
8018 * lyxfunc.C: remove dead proto
8020 * lyxtext.h: make some stuff private. Remove some dead stuff.
8022 * lyxgluelength.C: make as[LyX]String() readable
8024 2002-08-08 John Levon <levon@movementarian.org>
8029 * ToolbarDefaults.C:
8032 * toc.C: lyxaction cleanup
8034 2002-08-08 John Levon <levon@movementarian.org>
8036 * BufferView2.C: small cleanup
8039 * lyxfind.C: move unnecessary header into the .C
8041 2002-08-08 John Levon <levon@movementarian.org>
8043 * funcrequest.h: just tedious nonsense
8046 * lyx_main.C: cleanups
8049 * vspace.C: remove dead header lyx_main.h
8051 2002-08-07 Angus Leeming <leeming@lyx.org>
8054 * paragraph_pimpl.h:
8055 Forward declare class Counters in paragraph.h by moving the ctrs member
8056 variable into Paragraph::Pimpl.
8057 (counters): new method, returning a reference to pimpl_->ctrs.
8059 * text2.C: ensuing changes.
8061 2002-08-07 John Levon <levon@movementarian.org>
8063 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8065 * BufferView_pimpl.C: announce X selection on double/triple
8068 * lyx_main.C: use correct bool in batch dispatch
8070 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8072 2002-08-07 André Pönitz <poenitz@gmx.net>
8074 * funcrequest.h: new class to wrap a kb_action and its argument
8077 * BufferView_pimpl[Ch]:
8081 * lyxrc.C: subsequent changes
8084 2002-08-07 John Levon <levon@movementarian.org>
8086 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8087 document options change.
8089 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8094 * makefile.am: move counters functionality over from
8095 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8097 2002-08-06 John Levon <levon@movementarian.org>
8099 * WordLangTuple.h: new file for word + language code tuple
8110 * BufferView2.C: use WordLangTuple
8113 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8115 2002-08-06 John Levon <levon@movementarian.org>
8117 * lyx_main.C: fix cmdline batch handling
8119 2002-08-06 André Pönitz <poenitz@gmx.net>
8121 * lyxrc.C: set default for show_banner to true
8123 2002-08-06 John Levon <levon@movementarian.org>
8125 * pspell.C: fix a crash, and allow new aspell to work
8127 2002-08-06 John Levon <levon@movementarian.org>
8130 * kbmap.C: small cleanup
8133 * vspace.C: add const
8135 2002-08-05 John Levon <levon@movementarian.org>
8137 * LyXAction.C: back to tabular-insert
8139 2002-08-04 John Levon <levon@movementarian.org>
8142 * BufferView.C: cosmetic change
8144 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8154 * BufferView2.C: purge all "Lyx" not "LyX" strings
8157 * lyxcursor.C: attempt to add some documentation
8162 * ToolbarDefaults.C:
8163 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8164 merge with LFUN_TABULAR_INSERT
8171 * pspell.C: split up i/pspell implementations into separate
8172 files, many cleanups
8174 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8176 * text2.C: some cleanup
8178 * lyxfunc.C: don't check for isp_command == "none" any more, it
8179 didn't make any sense
8181 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8186 * makefile.am: move counters functionality over
8187 from text2.C/paragraph.[Ch] to counters.[Ch], and
8189 2002-08-02 John Levon <levon@movementarian.org>
8191 * buffer.C: s/lyxconvert/lyx2lyx/
8193 2002-08-02 Angus Leeming <leeming@lyx.org>
8195 * lyxlex.C: revert John's change as it breaks reading of the user
8198 2002-08-02 Angus Leeming <leeming@lyx.org>
8200 * importer.C (Import):
8201 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8202 changes due to LyXView::view() now returning a boost::shared_ptr.
8204 2002-08-02 John Levon <levon@movementarian.org>
8206 * lyxlex.C: small cleanup
8208 2002-08-02 John Levon <levon@movementarian.org>
8210 * text2.C (status): small cleanup, no logic change
8212 2002-08-01 John Levon <levon@movementarian.org>
8215 * buffer.C (writeFile): don't output alerts, caller
8219 * lyx_cb.C: from above
8221 * lyxfunc.C: allow to open non-existent files
8223 2002-07-31 John Levon <levon@movementarian.org>
8225 * lyxserver.C: don't let incidental errors get
8228 2002-07-30 John Levon <levon@movementarian.org>
8230 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8232 2002-07-30 John Levon <levon@movementarian.org>
8235 * lyxserver.C: remove I/O callback too
8237 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8239 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8242 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * many files: strip,frontStrip -> trim,ltrim,rtrim
8246 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * PrinterParams.h: remove extern containsOnly, and include
8249 support/lstrings.h instead.
8251 * LaTeX.C (scanAuxFile): modify because of strip changes
8253 * buffer.C (makeLaTeXFile): ditto
8254 * bufferparams.C (writeFile): ditt
8255 * lyxfont.C (stateText): ditto
8256 * lyxserver.C (read_ready): ditto
8257 * vc-backend.C (scanMaster): ditto
8259 * BufferView_pimpl.h: ws changes
8261 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8263 2002-07-26 André Pönitz <poenitz@gmx.net>
8265 * kb_sequence.C: remove unnedred usings
8267 2002-07-26 Juergen Vigna <jug@sad.it>
8269 * lyxfind.C (LyXReplace): we have to check better if the returned
8270 text is not of theLockingInset()->getLockingInset().
8272 2002-07-25 Juergen Vigna <jug@sad.it>
8274 * lyxfind.C (LyXReplace): don't replace if we don't get the
8277 * undo_funcs.C (createUndo): remove debugging code.
8279 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8281 * buffer.C (parseSingleLyXformat2Token): Use default placement
8282 when reading old floats.
8284 * FloatList.C (FloatList): Change the default placement of figure
8285 and tables to "tbp".
8287 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8289 * MenuBackend.C: using std::max
8291 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8293 * MenuBackend.C (expandToc):
8294 (expandToc2): code moved from xforms menu frontend. It is now
8295 generic and TOCs are transparent to menu frontends.
8297 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8299 * toc.C (getTocList): protect against buf=0
8301 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8302 Menu as first parameter. Now, this calls itself recursively to
8303 expand a whole tree (this will be useful for TOC handling)
8304 (expandFloatInsert): remove 'wide' version of floats
8306 * MenuBackend.h (submenuname): returns the name of the submenu.
8307 (submenu): returns the submenu itself, provided it has been
8308 created by MenuBackend::expand
8310 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8312 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8313 insets which have noFontChange == true. (bug #172)
8315 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8317 * BufferView_pimpl.C: add connection objects and use them...
8320 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8322 * MenuBackend.C (expandLastfiles):
8325 (expandFloatListInsert):
8326 (expandFloatInsert):
8327 (expand): split expand in parts
8329 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8331 * lyx_gui.C: use lyx_gui::exit()
8333 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8335 * LyXAction.C: show the failing pseudo action
8337 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8339 * buffer.C (readFile): Run the lyxconvert script in order to read
8342 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8346 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8348 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8352 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8354 2002-07-22 Herbert Voss <voss@lyx.org>
8357 * lyxlength.[Ch]: add support for the vertical lengths
8359 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8361 * toc.[Ch]: std:: fixes
8363 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8365 * lyxrc.C: do not include lyx_main.h
8367 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8373 * BufferView2.C: include "lyxlex.h"
8376 * bufferparams.h: do not #include "lyxlex.h"
8378 * lyxtextclasslist.C (Add): remove method
8379 (classlist): renamed to classlist_
8381 * paragraph_pimpl.C:
8385 * bufferview_funcs.C:
8390 * toc.C (getTocList): use BufferParams::getLyXTextClass
8392 * toc.C (getTocList): use InsetFloat::addToToc
8394 * toc.[Ch]: new files, containing helper functions to handle table
8397 * lyxfunc.C (dispatch): no need to remove spaces around command
8399 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8400 first command of the sequence; it is not very clever, but I do not
8401 have a better idea, actually
8403 * LyXAction.C (LookupFunc): make sure to remove space at the
8404 beginning and end of the command
8406 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8408 * MenuBackend.C (getMenubar): new method: return the menubar of
8410 (read): treat differently reading of menu and menubar (in
8411 particular, the menubar has no name now)
8412 (Menu::menubar): remove
8414 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8417 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8419 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8420 a bibitem inset in a RTL paragraph.
8422 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8424 * paragraph_pimpl.C: constify
8426 * BufferView_pimpl.C:
8428 * lyxfunc.C: fix dispatch in a nicer way
8430 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8432 * lyxfunc.C (dispatch):
8433 * BufferView_pimpl.C:
8434 * BufferView_pimpl.h:
8436 * BufferView.h: rename Dispatch() to dispatch()
8438 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8440 * lyxlayout.C (Read): honor DependsOn tag
8442 * lyxlayout.[Ch] (depends_on): new method
8444 * version.C.in: update lyx_docversion
8446 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8448 * paragraph.C (validate): remove from here...
8449 * paragraph_pimpl.C (validate): ... and move here
8450 (isTextAt): make it const
8452 * buffer.C (getLists): ws cleanup
8454 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8456 * language.C (read): Use iso8859-1 encoding in latex_lang
8457 (this prevents LyX from crashing when using iso10646-1 encoding).
8459 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * text2.C (toggleInset): if cursor is inside an inset, close the
8462 inset and leave cursor _after_ it
8464 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8466 * lyxfunc.C: move minibuffer completion handling out of here
8468 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8470 * BufferView_pimpl.C:
8471 * LaTeX.C: fix dispatch calls
8473 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8475 * text.C (drawChars): Fix Arabic text rendering.
8477 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8481 * lyxfunc.C: remove message-push/pop
8485 * lyxfunc.C: rationalise some code by removing verboseDispatch
8486 in favour of a bool argument to dispatch()
8488 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * lyx_main.C (init): make sure to read symlinks as absolute paths
8492 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8495 * lyxfunc.C: no need for commandshortcut to be a member
8497 2002-07-15 André Pönitz <poenitz@gmx.net>
8499 * converter.C: add support for $$s (scripts from lib/scripts dir)
8500 * lyx_main.C: white space
8502 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8506 * lyxrc.C: remove second exit confirmation
8508 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8513 * BufferView_pimpl.h:
8514 * BufferView_pimpl.C:
8515 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8517 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * MenuBackend.C (expand): add numeric shortcuts to document menu
8521 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8523 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * lyxfont.C (setLyXFamily):
8532 * buffer.C (asciiParagraph): use ascii_lowercase
8534 2002-07-15 Mike Fabian <mfabian@suse.de>
8536 * lyxlex_pimpl.C (search_kw):
8537 * lyxlex.C (getLongString):
8538 * converter.h (operator<):
8539 * converter.C (operator<):
8540 * buffer.C (parseSingleLyXformat2Token):
8542 * ToolbarDefaults.C (read):
8543 * MenuBackend.C (checkShortcuts):
8545 * LColor.C (getFromGUIName):
8546 (getFromLyXName): use the compare_ascii_no_case instead of
8547 compare_no_case, because in turkish, 'i' is not the lowercase
8548 version of 'I', and thus turkish locale breaks parsing of tags.
8550 2002-07-16 Angus Leeming <leeming@lyx.org>
8552 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8553 now takes a Buffer const & argument.
8555 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8557 * BufferView.C (resize): check there's a buffer to resize
8559 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8561 * lyxfunc.C: remove dead code
8564 * lyxserver.C: use lyx_guii::set_read_callback
8566 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8568 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8569 an inset in a RTL paragraph.
8571 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8573 * lyxfunc.C: repaint after a font size update
8575 2002-07-15 André Pönitz <poenitz@gmx.net>
8577 * lyxlength.C: inBP should be able to return negative values
8579 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8581 * lyxfunc.C: use lyx_gui::update_fonts()
8583 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8585 * lyxfunc.C: use lyx_gui::update_color()
8587 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8593 * lyxrc.C: remove file->new asks for name option, and let
8594 buffer-new take an argument
8596 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8598 * BufferView_pimpl.C: remove unneeded extra repaint()
8600 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8602 * LyXAction.C: allow command-sequence with NoBuffer
8604 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8606 2002-07-10 Angus Leeming <leeming@lyx.org>
8608 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8610 2002-07-09 Angus Leeming <leeming@lyx.org>
8612 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8614 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8616 * lengthcommon.h: whitespace
8618 * lyxfunc.C: update scrollbar after goto paragraph
8620 * lyxtext.h: factor out page break drawing, and fix it so
8621 page break/added space paints as selected nicely
8623 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8625 * BufferView_pimpl.C: add FIXMEs, clean up a little
8627 2002-07-09 André Pönitz <poenitz@gmx.net>
8629 * lyxfont.[Ch]: support for wasy symbols
8631 2002-07-08 André Pönitz <poenitz@gmx.net>
8633 * BufferView_pimpl.C: apply John's patch for #93.
8635 2002-07-05 Angus Leeming <leeming@lyx.org>
8637 * BufferView_pimpl.C (buffer): generate previews if desired.
8639 * LColor.h: add "preview" to the color enum.
8641 * LColor.C (LColor): add a corresponding entry to the items array.
8643 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8646 2002-07-05 Angus Leeming <leeming@lyx.org>
8648 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8649 The body of the code is now in the method that is passed an ostream &
8650 rather than a file name.
8651 Pass an additional only_preamble parameter, useful for the forthcoming
8654 2002-07-03 André Pönitz <poenitz@gmx.net>
8656 * lyxfunc.C: simplify getStatus() a bit for math stuff
8658 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8660 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8662 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8664 * text.C (changeRegionCase): do not change case of all the
8665 document when region ends at paragraph end (bug #461)
8667 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8669 * paragraph.C (startTeXParParams):
8670 (endTeXParParams): add \protect when necessary
8672 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * BufferView_pimpl.C (workAreaExpose): remove warning
8676 2002-06-27 Angus Leeming <leeming@lyx.org>
8678 * Makefile.am: add lyxlayout_ptr_fwd.h.
8680 2002-06-26 André Pönitz <poenitz@gmx.net>
8682 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8684 2002-06-25 Angus Leeming <leeming@lyx.org>
8686 * lyxfunc.C (dispatch): Comment out the call to
8687 grfx::GCache::changeDisplay. The method no longer exists now that the
8688 pixmap generation part of the graphics loader has been moved into
8691 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * text2.C: layout as layout
8695 * text.C: layout as layout
8697 * tabular.C (OldFormatRead): layout as layout
8699 * paragraph_pimpl.C (TeXDeeper): layout as layout
8700 (realizeFont): layout as layout
8702 * paragraph.C (writeFile): layout as layout
8703 (validate): layout as layout
8704 (getFont): layout as layout
8705 (getLabelFont): layout as layout
8706 (getLayoutFont): layout as layout
8707 (breakParagraph): layout as layout
8708 (stripLeadingSpaces): layout as layout
8709 (getEndLabel): layout as layout
8710 (getMaxDepthAfter): layout as layout
8711 (applyLayout): layout as layout
8712 (TeXOnePar): layout as layout
8713 (simpleTeXOnePar): layout as layout
8714 (TeXEnvironment): layout as layout
8715 (layout): layout as layout
8716 (layout): layout as layout
8718 * lyxtextclass.C (compare_name): new functor to work with
8719 shared_ptr, layout as layout
8720 (Read): layout as layout
8721 (hasLayout): layout as layout
8722 (operator): layout as layout
8723 (delete_layout): layout as layout
8724 (defaultLayout): layout as layout
8726 * lyxlayout_ptr_fwd.h: new file
8728 * lyxlayout.C (Read): layout as layout
8730 * lyx_cb.C (MenuInsertLabel): layout as layout
8732 * bufferlist.C (newFile): layout as layout
8734 * buffer.C (readLyXformat2): layout as layout
8735 (parseSingleLyXformat2Token): layout as layout
8736 (insertStringAsLines): layout as layout
8737 (asciiParagraph): layout as layout
8738 (latexParagraphs): layout as layout
8739 (makeLinuxDocFile): layout as layout
8740 (simpleLinuxDocOnePar): layout as layout
8741 (makeDocBookFile): layout as layout
8742 (simpleDocBookOnePar): layout as layout
8743 (getLists): layout as layout
8745 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8747 * CutAndPaste.C (cutSelection): layout as layout
8748 (pasteSelection): layout as layout
8749 (SwitchLayoutsBetweenClasses): layout as layout
8751 * BufferView_pimpl.C (Dispatch): layout as layout
8752 (smartQuote): layout as layout
8754 * BufferView2.C (unlockInset): layout as layout
8756 2002-06-24 André Pönitz <poenitz@gmx.net>
8758 * lyxfunc.C: fix #487
8760 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8764 * lyxfunc.C: remove display_shortcuts, show_banner
8766 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8768 * Buffer_pimpl.C: oops, update on resize
8770 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8777 * BufferView.C: use repaint()
8779 * BufferView_pimpl.h:
8780 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8781 as it's a clearer description. Remove superfluous
8784 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8786 * text.C: fix bug 488. Not ideal, but getting
8787 getWord() to work properly for the insets that
8788 matter is more difficult ...
8790 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8792 * BufferView_pimpl.C:
8795 * lyxfunc.C: remove the six million index lyxfuncs to just
8796 one, and DTRT (bug 458)
8798 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8802 * BufferView_pimpl.h:
8803 * BufferView_pimpl.C: clean up resize() stuff,
8804 and unnecessary updateScreen()s
8806 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8810 * BufferView_pimpl.h:
8811 * BufferView_pimpl.C:
8814 * minibuffer.C: remove focus management of workarea,
8815 not needed. Use screen's greyOut()
8817 2002-06-17 Herbert Voss <voss@lyx.org>
8819 * converter.C: (convert) do not post a message, when converting
8820 fails, let the calling function decide what to do in this case
8822 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8824 * lyxfunc.C: tidy up a little
8826 2002-06-16 <alstrup@diku.dk>
8828 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8829 Got rid of FORMS_H_LOCATION include. Now we are
8832 2002-06-15 LyX Development team <lyx@rilke>
8834 * buffer.[Ch] (sgmlOpenTag):
8835 (sgmlCloseTag): Added support for avoiding pernicious mixed
8836 content. Return number of lines written.
8839 (makeDocBookFile): Fixed calls to sgml*Tag.
8840 Simple white space clean.
8842 (simpleDocBookOnePar): Simple white space clean.
8844 * tabular.[Ch] (docBook): Renamed to docbook and got another
8845 argument to related with the pernicious mixed content.
8847 (docbookRow): Fixed calls for docbook inset method.
8849 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8851 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8852 so it's X11 independent.
8856 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8858 2002-06-15 Lyx Development team <lyx@electronia>
8860 * intl.h: Renamed getTrans to getTransManager.
8862 2002-06-14 Angus Leeming <leeming@lyx.org>
8864 * Makefile.am: nuke forgotten stl_string_fwd.h.
8866 2002-06-12 Angus Leeming <leeming@lyx.org>
8868 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8870 2002-06-13 Angus Leeming <leeming@lyx.org>
8873 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8875 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8877 * kbmap.C (getiso): add support for cyrillic and greek
8879 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8883 * BufferView_pimpl.h:
8884 * BufferView_pimpl.C: move bogus scrolling logic
8887 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8890 * BufferView_pimpl.C: view->resize() change
8892 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8894 * BufferView_pimpl.C: topCursorVisible
8897 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8901 * lyx_gui.C: move to frontends/
8905 * lyx_main.C: changes from above
8907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8914 * lyx_main.C: minor tidy
8916 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8918 * BufferView_pimpl.h:
8919 * BufferView_pimpl.C:
8921 * BufferView.C: make painter() const,
8924 * BufferView2.C: use screen() accessor
8927 * lyx_main.C: some minor cleanup
8929 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.h:
8932 * BufferView_pimpl.C: remove enter/leaveView,
8935 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8940 * BufferView_pimpl.h:
8941 * BufferView_pimpl.C: only construct screen once,
8944 * lyxrc.C: remove pointless comment
8946 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8949 * BufferView.C: remove active() and belowMouse()
8951 * BufferView_pimpl.h:
8952 * BufferView_pimpl.C: use workarea() not workarea_,
8953 and make it use a scoped_ptr instead
8955 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8957 * lyx_gui.C: add debug message on BadWindow
8959 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8961 * sp_spell.C: fdopen is not part of the C++ standard.
8963 * paragraph.C (InsetIterator): use >= instead of ==
8965 2002-06-07 Angus Leeming <leeming@lyx.org>
8967 Fixes needed to compile with Compaq cxx 6.5.
8968 * BufferView_pimpl.C:
8975 * lyxtextclasslist.C:
8980 all c-library variables have been moved into namespace std. Wrap
8981 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8986 Add a using std::abs declaration.
8988 * kbmap.h (modifier_pair):
8989 * paragraph.h (InsetTable, InsetList):
8990 * lyxfont.h (FontBits):
8991 type definition made public.
8993 * bufferlist.C (emergencyWriteAll): the compiler complains that
8994 there is more than one possible lyx::class_fun template to choose from.
8995 I re-named the void specialisation as lyx::void_class_fun.
8997 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8999 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9000 the compiler is is unable to find tostr in write_attribute.
9002 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9004 * buffer.C (sgmlError): hide #warning
9006 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * xtl/*: get rid of xtl, which is not in use anyway
9010 * LyXAction.C (init):
9011 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9012 were unimplemented xtl experimentation
9014 2002-06-04 André Pönitz <poenitz@gmx.net>
9016 * lyxfunc.C: disable array operation on simple formulae
9018 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9020 * converter.C: constify a bit
9022 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9024 * lyx_gui.C: check xforms version correctly
9026 2002-04-30 Herbert Voss <voss@lyx.org>
9028 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9031 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9033 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9034 attempt to register it with a VCS)
9036 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * lyx_main.C (init): honor variables LYX_DIR_13x and
9041 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9045 * lyx_main.C: fix a crash on bad command line,
9046 and give a useful exit status on error
9048 * lyxfunc.C (doImport): allow -i lyx to work
9050 2002-03-30 André Pönitz <poenitz@gmx.net>
9052 * lyxfunc.C: mathed font changes
9054 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9069 * trans_mgr.h: srcdocs, and some minor cleanups
9071 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9073 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9074 call getFont all the time)
9076 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9078 * switch from SigC signals to boost::signals
9080 2002-05-29 André Pönitz <poenitz@gmx.net>
9082 * paragraph_pimpl.C (getChar): don't call size() too often...
9084 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * paragraph_pimpl.C (insertChar): do not try to update tables when
9087 appending (pos == size())
9089 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9090 in order to reduce drastically the number of comparisons needed to
9091 parse a large document
9093 2002-05-29 André Pönitz <poenitz@gmx.net>
9099 * textclasslist.[Ch]:
9100 * sp_ispell.h: whitespace change
9102 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9104 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9105 lyxaction directly now.
9107 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9111 * lyxvc.C: remove unused headers
9113 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9120 * undo_funcs.C: some cleanups. Use shared_ptr
9121 and a template for the undo stacks.
9123 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9125 * BufferView_pimpl.h:
9126 * BufferView_pimpl.C:
9133 * text2.C: use key_state/mouse_state
9135 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9140 * chset.C: change include order
9141 (loadFile): use boost regex and get rid of LRegex and LSubstring
9143 * Makefile.am (BOOST_LIBS): new variable
9146 * LaTeX.C: change include order.
9147 (scanAuxFile): use boost regex and get rid of LRegex and
9151 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9156 * FontInfo.C: moved to frontends/xforms/
9159 * FontLoader.C: moved into frontends for GUIIzation
9164 * lyxfunc.C: changes from above
9166 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9168 * LColor.C: remove spurious X include
9170 * BufferView_pimpl.C:
9175 * text2.C: move font metrics to frontends/
9177 2002-05-24 Juergen Vigna <jug@sad.it>
9179 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9180 setting the undo_cursor.
9182 * ParagraphParameters.h: include local includes first.
9184 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9186 * BufferView_pimpl.C:
9187 * BufferView_pimpl.h:
9191 * screen.C: move WorkArea into frontends/
9197 * BufferView2.C: move LyXScreen into frontends/
9201 * lyx_gui.C: move lyxlookup into frontends/xforms/
9203 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9206 * BufferView_pimpl.C:
9216 * bufferview_funcs.C:
9229 * vc-backend.C: move LyX/XFormsView into frontends/
9231 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9243 * text2.C: move Painter to frontends/
9245 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9247 * buffer.C: comment out some some code that depend upon lyx_format
9250 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9251 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9253 * buffer.h (NO_COMPABILITY): turn off compability
9255 * ColorHandler.C: include scoped_array.hpp
9257 * font.C: Use more specific smart_ptr header.
9260 * ShareContainer.h: ditto
9264 * BufferView_pimpl.h: ditto
9265 * ColorHandler.h: ditto
9267 * kbmap.C (defkey): change call to shared_ptr::reset
9269 2002-05-21 Juergen Vigna <jug@sad.it>
9271 * buffer.C (insertErtContents): fix to insert ert asis if it is
9272 non empty. Skip it completely if it contains only whitespaces.
9274 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9276 * BufferView_pimpl.C:
9277 * BufferView2.C: clear selection on paste (bug 393)
9279 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * DepTable.C: include ctime
9283 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9285 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9287 2002-05-14 Juergen Vigna <jug@sad.it>
9289 * text.C (breakParagraph): fixed function to honor the keepempty
9290 layout in the right maner and also to permit the right breaking
9291 algorithm on empty or non empyt keepempty paragraphs.
9293 * paragraph.C (breakParagraph): we have to check also if the par
9294 is really empty (!size()) for isempty otherwise we do the wrong
9297 2002-05-10 Juergen Vigna <jug@sad.it>
9299 * buffer.[Ch] : The following are only changes to the ert
9300 compatibility read reading old LaTeX layout and font stuff and
9301 convert it to ERTInsets.
9303 * buffer.h: added isErtInset().
9305 * buffer.C (struct ErtComp): add a fromlayout bool to check
9306 if we're inside a LaTeX layout.
9307 (isErtInset): new helper function.
9308 (insertErtContents): look for other ert insets before this one
9309 and insert the contents there, so that we don't have subsequent
9310 ERT insets with nothing between them. This way we create only one
9311 inset with multiple paragraphs. Also check if we don't insert only
9312 spaces ' ' as they are ignored anyway afterwards in the .tex file
9313 so if we have only spaces we will ignore this latex part in the
9315 (parseSingleLyXformat2Token \\layout): better compatibility when
9316 reading layout-latex stuff.
9317 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9319 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9320 stuff after reading the inset only get the information back from
9323 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9325 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9327 * LaTeXFeatures.C (getBabelOptions): New method.
9329 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9331 * BufferView_pimpl.C (Dispatch): work around missing argument for
9334 2002-05-08 Juergen Vigna <jug@sad.it>
9336 * text.C (leftMargin): handle paragraph leftindent.
9338 * paragraph.C (writeFile): write the new \\leftindent tag.
9339 (validate): handle leftindent code.
9340 (TeXEnvironment): handle paragraphleftindent code again.
9342 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9344 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9345 for paragrap_extra indent code and new token \\leftindent.
9346 (latexParagraphs): handle the leftindent as environment.
9348 * ParameterStruct.h: added leftindent support.
9350 * ParagraphParameters.C (leftIndent): added support functions for
9351 the paragraph left indent.
9353 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9356 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9358 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9361 * text.C (computeBidiTables): No bidi in insetERT.
9363 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9366 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * version.C.in: pre 5
9370 2002-05-02 José Matos <jamatos@fep.up.pt>
9371 * buffer.C (makeDocBookFile): white space changes, add newline to
9373 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9375 * tabular.C (docBook): fix typo.
9377 2002-05-03 Juergen Vigna <jug@sad.it>
9379 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9380 change in LyXText as we can not be sure it was not freed.
9381 (drawOneRow): remove unused code.
9383 * text.C (drawInset): redo the calculation of the need_break_row as
9384 it could have a row which was already freed.
9385 (draw): look at the return value of drawInset and return false if
9386 it also returned false.
9387 (paintRowText): look at the return value of draw and return false if
9388 it also returned false.
9390 * lyxtext.h: added bool return type to drawInset() and draw() so that
9391 if we have a change in the row so that the rowbreak has to be redone
9392 we abort drawing as it will be called again.
9394 2002-05-02 Juergen Vigna <jug@sad.it>
9396 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9397 a change in the maintext also if we're inside an inset.
9398 (Dispatch): set the cursor again after a break line and after the
9399 screen has been updated as it could be we're in a different row.
9401 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9402 to set the cursor behind the pargraph with > size().
9403 (setCursor): check also for the same paragraph when checking where
9404 to put the cursor if we have a NFR inset.
9406 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9407 parts of layout read further up as it still was in the wrong
9410 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9412 * screen.C (drawFromTo): change sine fullRebreak always return
9415 * buffer.C (parseSingleLyXformat2Token): reindent some
9417 * BufferView_pimpl.C (update): change since fullRebreak always
9419 (Dispatch): git rid of the last hardcoded "Standard"s.
9421 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * text2.[Ch] (fullRebreak): make it return void now that we always
9426 2002-04-30 Juergen Vigna <jug@sad.it>
9428 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9429 ert compatibility check for "latex" layout.
9431 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9433 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9434 minipages: use col% instead of p%, and also use the current font.
9435 (makeLaTeXFile): Fix use babel condition.
9436 (parseSingleLyXformat2Token): Correct font when reading old floats.
9438 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9440 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9441 inserting list of floats.
9443 2002-04-25 Herbert Voss <voss@lyx.org>
9445 * MenuBackend.C (expand): don't add the graphics extensions to the
9448 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9450 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9451 non-existing layout, do not complain if it was the default layout
9452 of the original class (bug #342)
9454 2002-04-24 Juergen Vigna <jug@sad.it>
9456 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9457 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9459 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9461 * buffer.C (getBibkeyList): If using \bibliography, return the
9462 option field with the reference itself. Enables us to provide natbib
9463 support when using \bibliography.
9465 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9467 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9469 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9470 natbib is provided by the LaTeX class.
9472 2002-04-23 Juergen Vigna <jug@sad.it>
9474 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9477 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9479 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9483 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9484 ensuremath around textordmasculine, textordfeminine and
9487 2002-04-19 Juergen Vigna <jug@sad.it>
9489 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9490 reinitializing the buffer otherwise row-dimensions may be wrong.
9491 (update): reset also the selection cursors if they do exits otherwise
9492 their x/y positions may be wrong.
9494 * text2.C (cursorDown): don't enter the inset if we came from a row
9495 above and are one row over the inset.
9497 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9498 really leaving an inset.
9500 2002-04-18 Juergen Vigna <jug@sad.it>
9502 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9503 of the selected paragraph does not have the selected layout also if
9506 * text2.C (setLayout): fixed bug which did not change last selected
9509 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9510 changed the read and substituted \\end_float with \\end_inset!
9512 * BufferView_pimpl.C (cursorPrevious):
9513 (cursorNext): fixed to make it work with rows heigher than the work
9514 area without moving the cursor only the draw of the row.
9515 (workAreaMotionNotify): fix jumping over high rows.
9517 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9519 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9522 2002-04-16 Juergen Vigna <jug@sad.it>
9524 * text2.C (setCursor): set also the irow().
9525 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9527 (cursorDown): support for locking an inset if the x_fix value goes
9528 inside it. That way I can transverse insets too with cursor up/down.
9530 * lyxrow.h: added irow helper function same as other (i) functions.
9532 * BufferView_pimpl.C (cursorPrevious):
9533 (cursorNext): fixed for insets!
9535 2002-04-15 Juergen Vigna <jug@sad.it>
9537 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9538 position otherwise it is wrong in some cases.
9540 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9541 inside the inset before the call.
9543 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9545 * buffer.[Ch] (getBibkeyList): make it const.
9547 2002-04-12 Juergen Vigna <jug@sad.it>
9549 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9551 * text2.C (getCursorX): new helper function
9552 (setCursor): compute also ix_
9553 (setCursorFromCoordinates): set also ix.
9555 * lyxcursor.h: added ix_ and helper functions.
9557 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9559 * buffer.C (insertStringAsLines): dont break paragraph if the this
9560 paragraph is inside an inset which does not permit it!
9562 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9563 also with no chars on this paragraph.
9564 (paintRowText): only paint stuff if it's inside the workarea!
9566 * paragraph.C (breakParagraph): honor keepempty flag and break the
9567 paragraph always below not above.
9569 * BufferView2.C (unlockInset): update the paragraph layout on inset
9570 unlock as we changed paragraph in such a case.
9572 * lyxfind.C (LyXFind): clear the former selection if not found!
9574 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9575 again called in insertChar().
9577 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9578 an inset which uses the whole row!
9579 (rightMargin): ditto.
9580 (insertChar): force a rebreak if we inserted an inset!
9582 2002-03-28 Herbert Voss <voss@lyx.org>
9584 * lyxlength.[Ch]: add inBP() to get the right PS-point
9585 units (BigPoint). With inPixels we have rounding errors
9587 2002-04-11 Juergen Vigna <jug@sad.it>
9589 * text2.C (setCursorFromCoordinates): set iy to the right value.
9590 (setCursor): add check if row->previous exists!
9592 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9593 an old float_type as this was the case in the old code!
9595 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9597 * BufferView2.C (showLockedInsetCursor): use iy
9598 (fitLockedInsetCursor): ditto
9600 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9601 locked insets as there we have the right value now.
9603 * lyxcursor.C: added iy_ variable and iy functions to set to the
9604 baseline of cursor-y of the locked inset.
9606 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9607 (setCursor): fixed for insets which need a full row.
9609 * text.C (rowLastPrintable): don't ignore the last space when before
9610 an inset which needs a full row.
9611 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9612 as last character of a row when before a inset which needs a full row.
9614 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * version.C.in: update date
9618 * text2.C (fullRebreak): try to always return true and see what
9621 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * MenuBackend.C (expand): use Floating::listName
9625 * FloatList.C (FloatList): add listName argument to the built-in
9628 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9629 text associated with the float.
9631 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9633 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9635 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * ShareContainer.h: add a couple of missing typenames.
9639 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9641 * lyxrc.C (getDescription): use _() correctly rather than N_().
9643 2002-03-28 Herbert Voss <voss@lyx.org>
9645 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9646 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9648 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9650 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9651 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9653 2002-03-29 Juergen Vigna <jug@sad.it>
9655 * lyxfunc.C (dispatch): add a missing fitCursor call.
9657 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9658 it was scrolled by a cursor move, so return the bool status.
9660 * BufferView.C (fitCursor): return the bool flag also to the outside
9661 world as this is needed.
9663 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9665 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9666 call the edit() as it is not needed (and wrong) IMO.
9667 (workAreaButtonPress): set the screen_first variable before evt.
9668 unlock the inset as this may change screen_first and then we have
9669 a wrong y position for the click!
9671 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * MenuBackend.C (expand): another translation that I missed
9675 2002-03-28 Juergen Vigna <jug@sad.it>
9677 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9679 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9681 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9683 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9685 * MenuBackend.C (expand): fix export/view/update when there is no
9688 2002-03-27 Herbert Voss <voss@lyx.org>
9690 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9693 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * bufferview_funcs.C (currentState): only show paragraph number
9696 for is DEVEL_VERSION is set.
9698 * lyxfunc.C (dispatch): put warning in INFO channel
9700 * MenuBackend.C (expand): translate the name of floats
9702 * FloatList.C (FloatList): mark the float names for translation
9704 * converter.C (convert): use LibScriptSearch
9706 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * MenuBackend.C (defaults): fix default menu (we might as well get
9711 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9716 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9718 * lyxvc.C: reorder includes.
9720 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9722 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9725 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9727 * CutAndPaste.C: change layouts earlier on paste
9728 to avoid crashing when calling getFont()
9730 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9732 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9735 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * WorkArea.C: remove 'Pending' debug message.
9739 * most files: ws cleanup
9741 * buffer.[Ch]: ws changes
9743 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9745 2002-03-21 Juergen Vigna <jug@sad.it>
9747 * tabular.C (SetMultiColumn): collapse also the contents of the
9748 cells and set the last border right. Added a Buffer const * param.
9750 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9752 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9755 2002-03-19 Juergen Vigna <jug@sad.it>
9757 * text2.C (clearSelection): reset also xsel_cache.
9759 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9760 where it needs to be called (John tells us to do so too :)
9761 (selectionLost): reset sel_cache.
9763 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9765 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * text2.C (setCursorIntern): put debuging code in INSETS channel
9769 2002-03-19 André Pönitz <poenitz@gmx.net>
9771 * lyxfunc.C: tiny whitespace change
9773 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * ToolbarDefaults.C (init):
9776 * LyXAction.C (init):
9778 * BufferView_pimpl.C (Dispatch):
9779 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9781 2002-03-19 Allan Rae <rae@lyx.org>
9783 * exporter.C (Export): removeAutoInsets before doing anything else.
9784 While I've just introduced a dependency on BufferView this really is
9785 the best place to clean the buffer otherwise you need to cleanup in
9786 a dozen places before calling export or cleanup in a dozen functions
9789 * converter.C (runLaTeX):
9790 (scanLog): Better handling of removeAutoInsets and screen updates.
9792 * lyxfunc.C (dispatch): small whitespace changes
9794 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * WorkArea.C (C_WorkAreaEvent): return a value.
9797 (event_cb): return 1 if we handled the event, 0 otherwise.
9799 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9801 2002-03-18 Juergen Vigna <jug@sad.it>
9803 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9804 (GetAdditionalWidth): ditto.
9808 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9809 inset if we're there actually (probably not used right now but this
9810 is the direction to go for unifying code).
9811 (paste): disable code to clear the selection.
9813 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9814 inside an InsetText and move the check further up as it is in the
9817 * text2.C (pasteSelection): set a selection over the pasted text.
9819 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9821 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9822 and libgraphics to build on Cygwin.
9824 2002-03-15 Juergen Vigna <jug@sad.it>
9826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9827 inserting an Inset into the paragraph. I know this is not the best
9828 fix but we already use current_view in CutAndPaste so we will remove
9829 all of it's using at the same time.
9831 * buffer.C (sgmlError): deactivated function till it is rewritten in
9832 the right mode, now it can create problems.
9834 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9835 before accessing it.
9837 2002-03-14 Juergen Vigna <jug@sad.it>
9839 * undo_funcs.C (textHandleUndo): do the right thing when updating
9840 the inset after the undo/redo.
9842 * text2.C (setCursor): just some testcode for #44 not ready yet.
9844 * undo_funcs.C (textHandleUndo): set the next() and previous()
9845 pointers of the paragraph to 0 before deleting otherwise we have
9846 problems with the Paragraph::[destructor].
9848 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9849 on a paragraph insertion.
9851 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * buffer.C (asciiParagraph): use += operator for char append to
9856 * paragraph.C (getFontSettings): compare >= not just >
9857 (highestFontInRange): ditto
9860 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * paragraph.C: change several algorithm to be more appripriate for
9863 the problem domain. This is lookip in FontList and in the InsetList.
9865 2002-03-13 André Pönitz <poenitz@gmx.net>
9868 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9870 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9875 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9877 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * Painter.C (display): anon helper function, adjust code for this
9881 (pixmap): remove function.
9883 * Painter.h: remove private display variable.
9885 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9887 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9889 * WorkArea.[Ch]: remove figinset_canvas cruft.
9891 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * lyxtextclass.C (operator): add one item cache optimization.
9895 * bufferlist.h: doxy changes
9897 * bufferlist.C: ws changes
9899 * DepTable.[Ch] (ext_exist): place const in the right spot.
9901 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9903 (workAreaExpose): call resizeInsets when the with BufferView changes.
9904 (Dispatch): adjust for protectedBlank removal
9905 (specialChar): call updateInset if the insert went ok.
9907 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9908 specialChar instead.
9910 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9912 * BufferView.h: doxy change
9914 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9916 * lyxtextclass.C (operator[]): remove non-const version
9917 (defaultLayout): remove non-const version
9919 2002-03-12 Juergen Vigna <jug@sad.it>
9921 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9922 did resize the LyXText too.
9924 * buffer.C (readLyXformat2): set layout information on newly allocated
9927 * tabular.C (OldFormatRead): set layout information on the paragraph.
9929 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9931 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9933 2002-03-11 Juergen Vigna <jug@sad.it>
9935 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9937 (resizeCurrentBuffer): force also the insets to resize themselfes.
9938 (moveCursorUpdate): fixed up for InsetText.
9940 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9943 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9944 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9945 value of Dialogs::tooltipsEnabled().
9946 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9948 2002-03-08 Juergen Vigna <jug@sad.it>
9950 * BufferView_pimpl.C (updateInset): update inset inside inset also
9951 if it isn't inside theLockingInset().
9953 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * buffer.C (asciiParagraph): redo some of the word and line length
9957 (getLists): look for Caption instead of caption.
9959 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9961 * buffer.C (Buffer): initialize niceFile to true
9964 (makeDocBookFile): make sure niceFile is true on exit
9966 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9968 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9970 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9972 * LyXSendto.C: remove.
9973 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9974 * lyx_gui.C: remove now-redundant comment.
9975 * ColorHandler.h: remove forward declaration of class WorkArea.
9976 * lyxfunc.C: remove #include "WorkArea.h".
9978 2002-03-07 Juergen Vigna <jug@sad.it>
9980 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9981 got moved away with the DEPM and also set the inset_owner always
9982 right which before could have been omitted.
9984 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9987 wanted layout is not found.
9989 2002-03-07 Juergen Vigna <jug@sad.it>
9991 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9993 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * paragraph.C (breakParagraph): use default layout not layout of
9997 (Paragraph): clear ParagraphParameters.
9999 2002-03-06 Juergen Vigna <jug@sad.it>
10001 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10002 otherwise it would not be a valid lenght. Fixed a special case in
10003 the minipage compatibility read where we end the document with a
10006 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10007 was set as it could be 0 for InsetTexts first entry.
10009 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10011 * paragraph.C (writeFile): if layout is empty write out
10012 defaultLayoutName().
10014 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10015 file without named layout we set layout to defaultLayoutName().
10017 2002-03-06 Juergen Vigna <jug@sad.it>
10019 * CutAndPaste.C (copySelection): set layout for new paragraph.
10021 * text.C (prepareToPrint): leave ERT inset left aligned
10022 (leftMargin): don't indent paragraphs inside ERT insets
10024 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10026 * paragraph.C (breakParagraph): dont call clear do the work manually
10028 * paragraph.[Ch] (clear): remove function
10030 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * paragraph.C (Paragraph): dont call clear, the work has already
10035 * lyxtextclass.C (operator): assert if n is empty
10037 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10038 work manually instead.
10040 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.C: protect selectionLost against text == 0
10044 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10046 * text.C (breakParagraph): fix a setting layout to '0' problem.
10048 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10050 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10051 final location of file, for the included files, and graphics.
10053 2002-03-05 Juergen Vigna <jug@sad.it>
10055 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10057 2002-03-04 Juergen Vigna <jug@sad.it>
10059 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10061 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10062 last column of multicolumn cells.
10063 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10065 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10067 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10068 file if it doesn't go to a temporary file.
10070 * buffer.C (sgmlOpenTag):
10071 (sgmlCloseTag): remove extra newline insertion.
10073 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10075 * text.C (getRowNearY): comment out debug msg
10077 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * text2.C: first -> first_y
10081 * text.C (getRowNearY): add some attemts at a possible
10082 optimization, not working.
10084 * tabular.[Ch]: add BufferParams to several function so that newly
10085 created paragraph can be initialized to he default layotu for the
10088 * tabular-old.C (ReadOld): add buf->params to call of Init
10090 * screen.C: rename text->first to text->first_y
10092 * paragraph.C (breakParagraph): always set layout in the broken
10095 * lyxtextclass.C (Read): remove lowercase
10098 (delete_layout): ditto
10100 * lyxtext.h: rename first -> first_y
10102 * lyxlayout.C (Read): remove lowercase
10105 (obsoleted_by): ditto
10107 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10109 * buffer.C (insertErtContents): add params are to InsetERT
10110 (parseSingleLyXformat2Token): add code to check if a paragraphs
10111 layout really exist.
10112 (parseSingleLyXformat2Token): add params to several inset
10114 (asciiParagraph): remove lowercase, do the layout comparisons with
10117 * BufferView_pimpl.C (cursorNext): first -> first_y
10118 (resizeCurrentBuffer): first -> first_y
10119 (updateScrollbar): first -> first_y
10120 (scrollCB): first -> first_y
10121 (workAreaMotionNotify): first -> first_y
10122 (workAreaButtonPress): first -> first_y
10123 (checkInsetHit): first -> first_y
10124 (cursorPrevious): first -> first_y
10125 (cursorNext): first -> first_y
10126 (Dispatch): add buffer_->params to severl inset contructors
10128 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10130 * lyxlayout.C (Read): remove some debug info that I forgot.
10132 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10133 clean up the code slightly.
10134 (makeLinuxDocFile): ditto
10135 (makeDocBookFile): ditto
10137 * text2.C: layout as string
10139 * text.C: layout as string
10141 * paragraph_pimpl.C: layout as string
10143 * paragraph.[Ch]: layout as string
10145 * lyxtextclasslist.[Ch]: layout as string
10147 * lyxtextclass.[Ch]: layout as string
10149 * lyxtext.h: layout as string
10151 * lyxlayout.[Ch]: layout as string
10153 * lyx_cb.C: layout as string
10155 * bufferview_funcs.C: layout as string
10157 * bufferparams.C: layout as string
10159 * buffer.C: layout as string
10161 * LyXView.[Ch]: layout as string
10163 * LaTeXFeatures.[Ch]: layout as string
10165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10167 * BufferView_pimpl.C: change current_layout to string, remove
10172 (workAreaButtonRelease): layout as string
10174 * BufferView2.C (unlockInset): adjust
10176 * vspace.C (asLatexCommand): use an explict temp variable.
10178 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10180 * Makefile.am: use FRONTEND_*
10182 2002-03-01 Juergen Vigna <jug@sad.it>
10184 * tabular.C (SetWidthOfMulticolCell): changed to something better
10185 I hope but still work in progress.
10186 (recalculateMulticolumnsOfColumn): renamed function from
10187 recalculateMulticolCells as it is more appropriate now.
10188 (SetWidthOfCell): calculate multicols better.
10190 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10194 * lyxfunc.C (processKeySym): print sequence also if it is
10195 `deleted' (complete)
10197 * kbsequence.C (print): print sequence even if it is deleted
10198 (complete would be a better word, actually).
10200 * lyxfunc.C (dispatch): print complete options after a prefix key
10202 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10204 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10206 * text2.C (setCharFont): eliminate setCharFont code duplication.
10208 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10211 LFUN_TABULAR_FEATURE (bug #177)
10213 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10215 * Makefile.am: remove figure.h
10217 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10219 * Bufferview_pimpl.C:
10231 * text2.C: remove #include "lyx_gui_misc.h".
10233 * LaTeX.C: added #include <cstdio>
10235 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10238 that the paragraph following this one can have.
10240 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10242 * vspace.C (asLatexCommand): fix bogus gcc warning
10244 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10246 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10248 * text2.C (setLayout): get rid of redundant code
10250 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10252 * text2.C (incDepth): make sure depth cannot be increased beyond
10255 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10257 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10258 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10260 * PainterBase.h (image):
10261 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10262 a LyXImage const *.
10264 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10268 * BufferView_pimpl.C:
10269 * BufferView_pimpl.h:
10289 * sp_spell.C: remove fig inset, and the crap house of
10290 cards that follows it
10292 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10297 * os2_errortable.h:
10298 * nt_defines.h: move .h into support/
10300 * vms_defines.h: remove
10302 * WorkArea.C: add space in debug output
10306 * buffer.C: add WITH_WARNINGS
10310 * bufferlist.C: s/retrive/retrieve/, add docs
10319 * chset.C: add docs
10321 * lyxgui.C: add ID to X error handler
10323 * lyxtestclass.c: fix typo
10325 2002-02-26 Juergen Vigna <jug@sad.it>
10327 * tabular_funcs.C (write_attribute): changed so that some default
10328 attributes are not written at all.
10329 (getTokenValue): set default values before trying to read the
10330 value so we have the return value always set as default if we don't
10331 find the token we search for.
10333 * tabular.C (Write): write bools as bools not as strings!
10335 2002-02-22 Juergen Vigna <jug@sad.it>
10337 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10338 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10340 * text.C (leftMargin): don't add an indent for paragraphs inside
10341 tabular cells (fix #208).
10343 2002-02-21 José Matos <jamatos@fep.up.pt>
10345 * tabular.C (docBook): fixed support for long tables.
10347 2002-02-20 Juergen Vigna <jug@sad.it>
10349 * text2.C (getFont): get the drawing font of the Inset if this
10350 paragraph is inside an inset (only important for InsetERT for now).
10352 * buffer.C (insertErtContents): use new lanugage params in ERT
10355 * CutAndPaste.C: commenting out seemingly uneeded code.
10357 2002-02-19 Allan Rae <rae@lyx.org>
10359 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10360 Iterators might be simple to use but they also get invalidated.
10361 (removeAutoInsets): renamed saved cursor tracking variables and added
10362 some comments to clarify what everything does.
10364 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10371 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10372 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10375 * vc-backend.h: remove #include "support/syscall.h"
10379 * converter.C: rearrange #includes in Lars' approved fashion.
10381 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10382 forward declare class Timeout in the header file.
10384 * XFormsView.C: changes due to the above.
10386 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10387 similar to LyXView.
10389 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10390 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10392 2002-02-18 José Matos <jamatos@fep.up.pt>
10394 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10397 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10399 * a lot of small ws changes
10400 * add a lot of using std::XXX
10401 * use std construcs some places where approp.
10402 * use some exisint stuff from lyxfunctional where approp.
10403 * Make file changes to use partial linking (lets test this now...)
10405 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10409 remove #include "support/syscontr.h" as it's redundant. Always has been.
10417 change Systemcalls::System to Systemcalls::Wait and
10418 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10419 No change of functionality, just reflects the stripped down Systemcalls
10422 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10424 * debug.[Ch]: add a GRAPHICS type to the enum.
10426 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10428 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10430 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10433 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10436 match the changes below.
10438 * text2.C (toggleInset): if there is not editable inset at cursor
10439 position, try to see if cursor is _inside_ a collapsable inset
10442 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10445 document menu has a nice checkbox
10447 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * lyxlength.C (asLatexString): change PW to output as percent of
10452 * lengthcommon.C: change '%' to 't%'
10454 * lyxfunc.C (dispatch): a few comments from Martin
10456 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10460 * BufferView_pimpl.h:
10461 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10464 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * vspace.C (inPixels): fix compiler warning
10468 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * lyxfunc.C (getStatus): fix status message for disabled commands.
10472 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10474 * BufferView_pimpl.C: fix crash on close buffer
10475 during selection (#227)
10477 2002-01-27 Herbert Voss <voss@lyx.org>
10479 * buffer.C: link old Figure to new graphic inset
10481 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10483 * FontLoader.C (getFontinfo): Change the latex font names in order
10484 to match the names of type1inst.
10486 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10490 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10491 (extchanged): ditto
10493 (remove_files_with_extension): ditto
10494 (remove_file): ditto
10497 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10498 document is smaller than the work area height. Do not initialize
10499 static variables to 0.
10501 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10505 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10506 LFUN_LAYOUT_PARAGRAPHS.
10508 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10509 tabular. It is possible to provide a possible cell, which will
10510 typically be the actcell from the corresponding insettabular
10512 * lyxfunc.C (getStatus): small cleanup; disable
10513 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10516 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10520 * paragraph.C (startTeXParParams):
10521 (endTeXParParams): new methods. The LaTeX code to
10522 start/end paragraph formatting
10523 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10524 empty (fixes bug #200)
10526 * vspace.C (inPixels): adapt to the change below
10527 (inPixels): [later] more cleanups (remove unused variables)
10529 * lyxlength.C (inPixels): change to use a width and a height as
10532 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10535 Replaced with \paperwidth
10537 * DepTable.C (insert): add std:: qualifier
10539 2002-01-18 Allan Rae <rae@lyx.org>
10541 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10544 * text.C (drawInset): Turned out I didn't know enough about how
10545 rebreaking worked. This fixes most of the redraw problems. I see
10546 an occasional cursor trail when a line is broken now and the cursor
10547 placement can seem out by a few pixels also after a rebreak.
10549 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * buffer.C (parseSingleLyXformat2Token): update because minipage
10552 width is now a LyXLength
10554 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10556 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10559 2002-01-17 Juergen Vigna <jug@sad.it>
10561 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10563 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10564 is set correctly and the inset is updated correctly.
10566 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10569 the beginning of the loop.
10571 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10573 * lyxrc.C: improve help for use_scalable_fonts
10575 2002-01-17 Allan Rae <rae@lyx.org>
10577 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10579 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10581 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10582 make sure to set their inset_owner to the right value (bug #171)
10584 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10587 * DepTable.C: Implement mtime checking to reduce time spent doing
10590 2002-01-16 Juergen Vigna <jug@sad.it>
10592 * tabular.C (GetAdditionalHeight): one of error fixed.
10594 * lyxrc.C (output): small fix in writing use_pspell.
10596 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10598 * sp_base.h: #include LString.h
10600 2002-01-16 Allan Rae <rae@lyx.org>
10602 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10603 Can someone check this please?
10605 * text.C (drawInset): It was possible that p.row would be removed by
10606 breakAgainOneRow upsetting a few other settings. There may be another
10607 small tweak possible by setting need_break_row = 0 when p.row has been
10608 removed but I don't know enough about the logic here.
10610 2002-01-15 Allan Rae <rae@lyx.org>
10612 * text.C (insertChar): removed conditional truism.
10614 * BufferView2.C (removeAutoInsets): More tweaks.
10615 cur_par_prev could be a stray pointer. Check for trailing empty line
10616 in case last line was cur_par and only had an error inset on it.
10618 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10623 * vc-backend.C (most methods):
10624 * exporter.C (Export):
10625 * converter.C (convert):
10627 * LyXSendto.C (SendtoApplyCB):
10628 * lyxfunc.C (dispatch):
10632 * lyx_cb.C (AutoSave):
10634 * BufferView_pimpl.C (MenuInsertLyXFile):
10635 * buffer.C (runChktex): use Buffer::filePath().
10637 * buffer.h: rename filename to filename_; rename filepath to
10638 filepath_ and make it private
10639 (filePath): new method
10641 * buffer.C (writeFile): use fileName()
10644 * lyx_main.C (init): fix starting of LyX when the binary is a
10645 link from so,ewhere else.
10647 * minibuffer.C: include <cctype> for isprint
10649 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10651 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10652 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10653 name clash with InsetCollapsable's width function.
10655 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * lastfiles.C: include <iterator>
10659 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10661 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10664 * buffer.C (makeLaTeXFile): ditto.
10665 Also make loop operation more transparent.
10667 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10669 * ToolbarDefaults.C: remove trailing comma closing namespace.
10671 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10673 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10676 * trans.C (Load): comment out unused variable, allowed.
10678 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10680 * minibuffer.[Ch] (append_char): new method to recieve input from the
10681 drop-down completion browser. If a key was pressed, then recieve this
10682 char and append it to the existing string.
10683 (peek_event): modify the positioning data passed to the completion
10684 browser so that it can be placed above the minibuffer rather than below.
10685 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10687 * LyXAction.C (init): alloe error-next for readonly documents.
10689 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10692 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * bufferlist.C (readFile): create the buffer _after_ checking that
10697 * lyxfunc.C (verboseDispatch): fix handling of arguments
10699 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10701 * lyxrc.C: use string::erase() instead of initializing to "".
10704 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10706 * BufferView_pimpl.h:
10707 * BufferView_pimpl.C:
10710 * text2.C: tell X when we have made a selection for copying
10712 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * BufferView_pimpl.C (MenuInsertLyXFile):
10715 * lyxfunc.C (menuNew):
10717 (doImport): add shortcuts to directory buttons
10719 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10722 * lyxfunc.C (setStatusMessage):
10723 (getStatusMessage): new methods
10724 (getStatus):use setStatusMessage instead of setErrorMessage
10725 (dispatch): when function is disabled, set error message here
10726 [instead of in getStatus previously]
10728 * BufferView_pimpl.C (workAreaButtonRelease): update
10729 toolbar/menubar here too.
10731 2002-01-13 Allan Rae <rae@lyx.org>
10733 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10734 Now seems indestructible. Remaining task is to audit all other
10735 code affected by deleteEmptyParagraphMechanism. One small quirk
10736 left is that an empty document with an error in the preamble can
10737 be made to report an error but no error box appears. I don't know
10739 (removeAutoInsets): Improved comments.
10741 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10744 * Thesaurus.C: update for Aiksaurus 0.14
10746 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * text2.C (firstParagraph): removed member function, all uses
10749 replaces with ownerParagraph
10750 (redoParagraphs): here
10751 (updateInset): here
10752 (toggleAppendix): here
10753 * BufferView2.C (insertErrors): here
10754 (setCursorFromRow): here
10756 2002-01-13 Allan Rae <rae@lyx.org>
10758 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10759 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10760 There is still a way to segfault this although you may have to do this
10761 multiple times: Have an InsetERT with an unknown command in it.
10762 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10763 <down-arrow>, <Enter> again, View->DVI, BANG!
10765 * text2.C (setCursor):
10766 (deleteEmptyParagraphMechanism):
10767 * lyxtext.h (setCursor):
10768 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10769 Making use of the return value may help fix other bugs.
10771 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10773 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10775 * LyXView.C (updateMenubar): call MenuBar::update here
10776 (updateToolbar): but not here
10777 (showState): do not update toolbar/menubar
10779 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10780 should need to care about that.
10782 * lyxfunc.C (verboseDispatch): simplify a bit
10783 (getStatus): have a version which takes a pseudoaction, and
10784 another which requires a (kb_action,string).
10786 * LyXAction.C (retrieveActionArg): make it work also when action
10787 is not a pseudo-action.
10788 (getActionName): simplify a bit
10791 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * lyxfunc.C (verboseDispatch): new families of methods with
10794 several ways to specify a command and a bool to indicate whether
10795 the command name and shortcut should be displayed in minibuffer
10796 (eventually, we could extend that to a finer bitmask like
10797 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10798 (dispatch): the pristine dispatch command which just, well,
10799 dispatchs! Note it still sets its result to minibuffer; I'm not
10802 * lyxfunc.h: remove setHintMessage
10804 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10806 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10808 * BufferView_pimpl.C (specialChar): delete new inset if we have
10809 not been able to insert it.
10811 * kbmap.C: revert to using int instead of kb_action, since all we
10812 are dealing with is pseudo-actions.
10814 * LyXAction.C (searchActionArg): change to return int instead of
10815 kb_action, since the result is a pseudoaction.
10817 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10819 * buffer.C (insertErtContents): Fix (partially) the font bug.
10821 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10823 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10824 as the other one is broken on my machine!
10826 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10829 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10831 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10833 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10834 reflect their actual use. Provide compatibility code for older lyxrc
10837 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10839 change names of popup font variables in line with the changes to lyxrc.C
10841 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * buffer.C (asciiParagraph): avoid outputing a word twice after
10846 * lyxrc.C (getDescription): document that document_path and
10847 template_path can be empty.
10849 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10851 * LaTeXFeatures.C (getMacros):
10852 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10854 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10856 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10858 (getPackages): rename feature "floats" to "float". Use an array to
10859 iterate over 'simple' features (i.e. just a \usepackage). Add
10860 handling of "amsmath" (renamed from "amsstyle").
10862 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10864 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10867 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10869 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10870 FuncStaus::FuncStatus & FuncStaus::some_method().
10872 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10874 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10875 of the func_satus stuff. Edited and massaged in various ways by
10878 * lyxfunc.C (getStatus): use FuncStatus
10880 2002-01-08 Juergen Vigna <jug@sad.it>
10882 * text.C (nextBreakPoint): use function Inset::isChar().
10884 * paragraph.C (TeXOnePar): use function
10885 Inset::forceDefaultParagraphs.
10887 * buffer.C (latexParagraphs): use function
10888 Inset::forceDefaultParagraphs.
10890 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10892 * lyx_gui.C (init): set the style of the menu popups to
10893 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10895 2002-01-07 Juergen Vigna <jug@sad.it>
10897 * text.C (setHeightOfRow): small fix
10898 (prepareToPrint): don't look at alignment if we don't have the place
10901 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10903 * box.C: New file. Move the Box methods and functions out of box.h,
10904 following Lars' suggestion.
10906 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10908 * box.h: #include "support/LOstream.h", needed for inlined function.
10911 * lyxtextclasslist.C: added some using std declarations.
10913 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10915 * box.h: make signed dimensions to allow insets wider than
10916 the screen (bug #162)
10918 * BufferView_pimpl.C: add some insetHit debug
10920 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10922 * vc-backend.C: add FIXME
10924 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * lyxfunc.C (getStatus): enable code for showing math font status
10929 2002-01-07 Juergen Vigna <jug@sad.it>
10931 * text.C (nextBreakPoint): removed debug output not needed anymore.
10933 2002-01-06 Juergen Vigna <jug@sad.it>
10935 * text.C (nextBreakPoint): fixed up this function we had this bug
10936 since ever but now hopefully we break row better.
10937 (insertChar): we have to check if an inset is the next char as it
10938 could now happen that a large inset is causing a break.
10940 2002-01-05 Juergen Vigna <jug@sad.it>
10942 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10943 if it doesn't like to be drawed.
10945 2002-01-04 Juergen Vigna <jug@sad.it>
10947 * BufferView2.C (lockInset): forgot to set a cursor.
10949 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10951 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10953 * FormMathsPanel.C:
10956 * form_maths_panel.C:
10957 * form_maths_panel.h:
10958 * form_maths_panel.fd: implemented sub- and super- buttons in math
10961 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10962 (or ^ space) to be used as in TeX (req'd by André).
10964 * lyxfunc.C: Allow ^ and _ again to be used both as
10965 super/subscript (mathed) and as themselves (in text).
10967 2002-01-03 Allan Rae <rae@lyx.org>
10969 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10970 "LyX" or the filename of the current buffer if it has one. This is a
10971 modified form of John Levon's patch.
10973 * XFormsView.C (setWindowTitle): also set icon title.
10975 * LyXView.h (setWindowTitle): signature changed.
10976 * XFormsView.h (setWindowTitle): ditto.
10978 2002-01-02 Juergen Vigna <jug@sad.it>
10980 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10982 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * screen.C (topCursorVisible): introduce a temp var for
10985 text->cursor.row(), handle the case where this row is null. (kindo
10988 * text2.C (setCursor): add a couple of asserts.
10990 * paragraph.h (inset_iterator): add -> operator
10992 * paragraph.[Ch] (autoDeleteInsets): remove member function
10994 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10995 cursor pos correctly and handle inset deletion by itself.
10996 (insertErrors): move iterator declaration out of for expression
10998 * lyxtextclass.C: add <algorithm>
11000 * Makefile.am: added the new files to sources, removed layout.C
11002 * layout.C: removed file
11004 * layout.h: remove LYX_DUMMY_LAYOUT
11006 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11010 * lyxtextclass.[Ch]:
11011 * lyxtextclasslist.[Ch]: new files
11013 * include order changes to a lot of files, also changes because of
11016 2001-12-27 Juergen Vigna <jug@sad.it>
11018 * buffer.C (asciiParagraph): more fixes.
11020 * tabular.C (ascii): make ascii export support export of only the
11021 data separated by a column-delimiter.
11022 (ascii): better support for ascii export.
11024 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11026 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11028 * tabular_funcs.C: use a "using std::getline" instead of the
11029 previous fix from Angus (necessary for cxx + lyxstring)
11031 2001-12-24 Juergen Vigna <jug@sad.it>
11033 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11035 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11036 problems. First check a minipage also if we have some ert-contents
11037 (not only on par->size(), second set the right depth of the paragraph
11038 on the relink to the root-paragraph-list!
11040 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11041 which then did not anymore update the main paragraphs on undo/redo!
11043 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11046 code. Support all font-changing funcs (even those which are not in
11047 menu currently). Support for reporting font settings in
11048 mathed (disabled until Andre provides a function on mathed's side).
11050 * func_status.h (toggle): small helper function to set toggle
11053 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11055 * tabular_funcs.C: getline -> std::getline
11057 2001-12-21 Juergen Vigna <jug@sad.it>
11059 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11060 accessed and could be 0 (I couldn't generate this but it seems
11063 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11065 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11066 * tabular_funcs.h: here and include iosfwd
11068 2001-12-20 Juergen Vigna <jug@sad.it>
11070 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11071 inside inset but undo_par was.
11073 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * Thesaurus.C: always include <config.h> in sources.
11079 * box.h: do not include <config.h> in header files
11081 * text.C (paintLastRow): remove unused variable
11083 * text.C (transformChar):
11085 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11087 * Painter.C (text):
11088 * font.C (width): rewrite to use uppercase() instead of
11091 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11093 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11095 * lyxfind.C: clean up of find failure position change
11097 2001-12-20 Juergen Vigna <jug@sad.it>
11099 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11101 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11102 (TeXRow): added to LaTeX a single tabular row.
11103 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11104 (Latex): simplified and finally good LT-h/f support.
11105 (various_functions): just small adaptions for LT-h/f support.
11107 * tabular_funcs.[hC]: added and moved here all not classfunctions
11110 2001-12-19 Juergen Vigna <jug@sad.it>
11112 * tabular.[Ch]: better support for longtabular options (not finished
11115 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * text.C (paintLastRow): use the label font instead of the font of
11118 the last character to compute the size of *_BOX. This makes more
11119 sense and avoids a crash with empty paragraphs.
11120 Use Painter::rectangle to draw EMPTY_BOX.
11122 2001-12-19 Juergen Vigna <jug@sad.it>
11124 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11125 the paragraphs if the replaced paragraph is not the first one!
11126 Tried to delete not used paragraphs but does not work yet so for
11127 now it's inside #ifdef's and by default off!
11129 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11131 * MenuBackend.C: include "lyx_main.h" instead of declaring
11132 lastfiles (actually was declared as LastFiles* instead of a
11135 2001-12-17 Juergen Vigna <jug@sad.it>
11137 * tabular.C (AppendColumn): applied John's fix
11139 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11143 * BufferView_pimpl.h:
11144 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11147 * box.h: new start of class for above
11149 * lyxfunc.C: ignore space-only minibuffer dispatches.
11150 Show the command name when it doesn't exist
11152 * minibuffer.C: don't add empty lines to the history
11154 * minibuffer.C: add a space on dropdown completion
11156 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11158 * text.C: fix line above/below drawing in insets
11160 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * lyxlength.C (LyXLength): Initialize private variables.
11164 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11167 when inserting error insets.
11169 2001-12-13 Juergen Vigna <jug@sad.it>
11171 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11172 actually sometimes the before-paragraph.
11173 (setUndo): don't clear the redostack if we're not actually undoing!
11175 2001-12-06 Juergen Vigna <jug@sad.it>
11177 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11178 and fixed redoing of main paragraph, so we can use it now ;)
11180 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11182 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11187 2001-12-13 André Pönitz <poenitz@gmx.net>
11190 * undo_func.C: minor cleanup
11192 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11194 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11195 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11196 font in urw-fonts package which is marked as -urw-fontspecific and
11197 does not work (incidentally, changing the encoding in the
11198 fonts.dir of this package to -adobe-fontspecific fixes the
11201 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11202 is a crash when undoing first paragraph (Juergen, please take a
11203 look). THis does not mean the undo fix is wrong, just that it
11206 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11207 the (Paragraph*) version when needed instead of duplicating the
11210 * text.C (workWidth): use Inset::parOwner to find out where the
11211 inset has been inserted. This is a huge performance gain for large
11212 documents with lots of insets. If Inset::parOwner is not set, fall
11213 back on the brute force method
11215 * paragraph_pimpl.C (insertInset):
11216 * paragraph.C (Paragraph):
11217 (cutIntoMinibuffer): set parOwner of insets when
11218 inserting/removing them
11220 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11222 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11228 * mathed/formulabase.C:
11229 * mathed/math_cursor.[Ch]:
11230 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11233 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * lyxlength.[Ch] (operator!=): new function
11237 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * text.C (workWidth): use Inset::parOwner to find out where the
11240 inset has been inserted. This is a huge performance gain for large
11241 documents with lots of insets. If Inset::parOwner is not set, fall
11242 back on the brute force method
11244 * paragraph_pimpl.C (insertInset):
11245 * paragraph.C (Paragraph):
11246 (cutIntoMinibuffer): set parOwner of insets when
11247 inserting/removing them
11249 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11251 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11253 * tabular-old.C (getTokenValue):
11254 * tabular.C (getTokenValue):
11255 (write_attribute): new versions for LyXLength
11256 (everywhere): adjust the use of widths
11258 * tabular.h: change the type of widths from string to LyXLength
11260 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11262 * paragraph.C: fixed missing line number count when exporting
11263 Environments to LaTeX file
11265 * buffer.C: added informational message for checking line numbers.
11267 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11270 paragraph, do the 'double space' part, but not the 'empty
11273 * text.C (workWidth): small optimization
11274 (getLengthMarkerHeight): use minimal size for negative lengths.
11276 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11278 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11280 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11282 2001-12-11 André Pönitz <poenitz@gmx.net>
11285 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11287 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11289 * text2.C: keep selection on a setFont()
11291 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11293 * lyx_cb.C: another bv->text misuse, from insert label
11295 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11298 * kbsequence.C: re-instate nmodifier mask
11300 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11302 * lyx_main.h: make lyxGUI private.
11304 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11306 * lyxfind.C: place the cursor correctly on failed search
11308 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * text.C (getLengthMarkerHeight): for small heights, the arrows
11311 are not always on top/bottom of the text
11312 (drawLengthMarker): smaller arrows; take the left margin in
11313 account; draw also vfills.
11315 (paintLastRow): remove special code for vfill and standard spaces,
11316 since everything is handled in drawLengthMarker now.
11318 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * buffer.C (insertErtContents): try to handle font and language
11321 interaction a bit better.g
11323 * ColorHandler.C (updateColor): change the hash to cover the whole
11324 LColor enum, ws cleanup
11325 (getGCLinepars): ditto
11326 (getGCLinepars): only lookup in the linecache once.
11328 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11330 * iterators.C (operator++): Make the iterator more robust
11332 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11336 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11339 * text.C: better added space drawing
11341 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11344 * BufferView2.C: fix layout combo update on inset unlock
11346 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11348 * Makefile.am: don't compile unused files
11350 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11354 * LyXAction.C: remove old LFUN_LAYOUTNO
11356 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11358 * paragraph_pimpl.h:
11359 * paragraph_pimpl.C: isTextAt() doesn't need font param
11361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11364 * lyxlex.C: little cleanup
11366 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11368 * BufferView_pimpl.C: fix insertAscii for insets
11370 2001-12-05 Juergen Vigna <jug@sad.it>
11372 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11373 set the right font on the "multi" paragraph paste!
11375 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * lyxlength.C: remove out-commented code.
11383 * BufferView_pimpl:
11397 * vc-backend.C: change "while(" to "while ("
11399 * lyxlength.[Ch]: add zero function to check if length is zero or
11401 * lyxgluelength.C: use it
11403 2001-12-05 Allan Rae <rae@lyx.org>
11405 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11406 Works for 2.95.3, from what I understand of Garst's reports this should
11407 work for other g++ versions. We're screwed if the abs(int) definition
11408 changed between bugfix releases of gcc.
11410 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11412 * text.C: fix chapter label offset !
11414 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11417 * text.C: fix hfill at end of line, clean up
11419 2001-12-04 Juergen Vigna <jug@sad.it>
11421 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11422 that we force an update of the inset and it's owners if neccessary.
11424 2001-12-03 Juergen Vigna <jug@sad.it>
11426 * text.C (rowLast): simplified code
11428 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11430 * lyxfunc.C: fix show options on timeout
11432 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * screen.C (topCursorVisible): scroll half a page when the cursor
11435 reached top of bottom of screen
11437 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11439 * minibuffer.C: deactivate on loss of focus
11441 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * vspace.[Ch] (operator!=): add operator.
11445 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11447 * BufferView_pimpl.C: refuse to open an inset when
11448 there's a selection.
11450 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11452 * BufferView_pimpl.C: allow to click on RHS of full row insets
11454 2001-11-30 Juergen Vigna <jug@sad.it>
11456 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11457 insets for undo reasons.
11459 2001-11-28 André Pönitz <poenitz@gmx.net>
11461 * vspace.[Ch]: cosmetical changes
11463 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11473 * kbsequence.C: part re-write of old kb code
11476 * WorkArea.C: remove Lgb_bug_find_hack
11478 2001-11-30 José Matos <jamatos@fep.up.pt>
11480 * buffer.C (makeDocBookFile): add a comment to point a hack.
11481 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11482 Fixed a double write of labels.
11484 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11487 * LaTeX.h Fixed bug in LaTeX class where it would not
11488 re-run latex if no depfiles were changed, but the .dvi was removed.
11490 2001-11-28 André Pönitz <poenitz@gmx.net>
11492 * all the files from the change on 2001/11/26:
11493 use lyx::layout_type instead of LyXTextClass::size_type
11494 use lyx::textclass_type instead of LyXTextClassList::size_type
11496 2001-11-29 Juergen Vigna <jug@sad.it>
11498 * text.C: added support for paragraph::isFreeSpacing()
11500 * buffer.C: same as above
11502 * paragraph.h: inserted isFreeSpacing() function to enable
11503 FreeSpacing inside InsetERT.
11505 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11506 of the paragraph's in the cut/copy buffer to 0!
11508 * text2.C (removeRow): remove the assert as it can!
11510 * lyxtext.h: added helper function firstRow returning firstrow and
11511 made firstrow private again.
11513 * BufferView2.C (lockInset): don't relock if we're already locked!
11515 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11516 the only paragraph.
11517 (removeRow): added Assert::(firstrow)
11519 * debug.C: forgot to add INSETTEXT here.
11521 2001-11-28 Juergen Vigna <jug@sad.it>
11523 * sp_spell.C (initialize): changed error text to more general
11524 spellchecker command use (not only ispell!)
11526 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11528 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11530 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11532 * vspace.C: initialise lyxgluelength on failure
11534 2001-11-28 Allan Rae <rae@lyx.org>
11536 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11537 declaration & definition that looks like a function declaration.
11539 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11541 * BufferView2.C (copy):
11542 (copyEnvironment): do not clear the selection when doing a copy.
11544 * text.C (paintFirstRow): compilation fix
11546 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11548 * tabular.C (Latex): correct line count when writing latex.
11550 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11552 * paragraph_pimpl.h:
11553 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11556 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11560 * LColor.C: change vfillline->added_space
11562 * text.C: add markers and text for added space
11564 * vspace.C: fix comment
11566 2001-11-28 André Pönitz <poenitz@gmx.net>
11568 * paragraph.C: whitespace changes
11569 * all the other files from the change on 2001/11/26:
11570 change *::pos_type into lyx::pos_type
11572 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11574 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11575 language of the document when inserting error insets.
11577 2001-11-26 André Pönitz <poenitz@gmx.net>
11579 * BufferView_pimpl.[Ch]:
11587 * paragraph_pimpl.[Ch]:
11590 * text2.C: reduce header dependencies, introduce type for positions
11592 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11594 * <various>: change to use Alert.h
11596 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11598 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11599 when encountering an unknown token.
11600 (readLyXformat2): Show an error message if there were unknown tokens.
11602 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11605 * BufferView_pimpl.C:
11609 * text2.C: use par->isInset()
11611 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11613 * paragraph_pimpl.h:
11614 * paragraph_pimpl.C: cleanup
11616 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11618 * text2.C (removeRow):
11619 * text.C (setHeightOfRow): remove useless (and costly) call to
11622 2001-11-20 Allan Rae <rae@lyx.org>
11624 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11625 Now need Inset*::checkInsertChar() to return true for appropriate
11626 cases so that the characters in the minibuffer will actually be
11629 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11631 * text.C: change the order of the includes.
11632 (workWidth): initialize it at once.
11633 (workWidth): make maxw unsigned
11634 (setHeightOfRow): remove unused variable (inset)
11635 (selectSelectedWord): remove unused variable (inset)
11636 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11638 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11641 server is not running.
11643 (closeConnection): add debug info when server is disabled.
11645 * ColorHandler.C (getGCForeground): send debug message to GUI
11648 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11650 * kbmap.C (bind): modify because return conventions of
11651 kb_sequence::parse have changed.
11653 * kbsequence.C (parse): only ignore spaces and not any stupid
11654 control character. This avoids tests like s[i] <= ' ', which are
11655 guaranteed to fail with 8bit characters and signed chars.
11656 Change return code to string::npos when there have been no error
11657 (0 was a bad idea when error is at first character)
11659 2001-11-14 José Matos <jamatos@fep.up.pt>
11662 * buffer.C (simpleDocBookOnePar): removed unused argument.
11664 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11667 insets which are part of a word. Paragraph::isLetter takes care of
11668 that now. Use Paragraph::isInset to identify insets.
11669 (selectSelectedWord): do not test for hyphenation break.
11671 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11672 that protected spaces are considered as spaces.
11674 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11677 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11680 * lyxserver.C: fix it. and small cleanup.
11682 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C: use inline helpers
11687 * LaTeXFeatures.C: fix typos
11690 * Spacing.C: move spacing_string into class
11692 * ToolbarDefaults.C: move stuff into namespace anon
11694 * layout.h: update enum
11696 * lyxfunc.C: use better debug
11698 * minibuffer.h: fix typo
11702 * WorkArea.C: add and use Debug::WORKAREA
11706 * text2.C: code re-organisation, inline helpers
11708 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11710 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11711 std::vector.empty().
11713 2001-11-09 Allan Rae <rae@lyx.org>
11715 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11716 '\n's after tables. Tabular and ERT inset work now makes this no
11719 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11722 * minibuffer.C: fix crash, improve drop-down completion
11724 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11727 * lyxserver.C: invalidate fd's when doing endPipe()
11729 2001-11-08 José Matos <jamatos@fep.up.pt>
11731 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11732 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11735 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11737 2001-11-07 José Matos <jamatos@fep.up.pt>
11740 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11743 * buffer.C (sgmlOpenTag):
11744 * buffer.C (sgmlCloseTag): removed debug info.
11746 * buffer.h (sgmlOpenTag):
11747 * buffer.h (sgmlCloseTag): made public.
11749 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * buffer.C (saveParamsAsDefaults):
11752 * lyx_cb.C (MenuLayoutSave): remove
11754 * LyXAction.C (init):
11756 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11758 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * buffer.C (setPaperStuff): removed from here...
11762 * bufferparams.C (setPaperStuff): ... and moved there.
11764 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11768 * XFormsView.C: add support for drop-down completion
11770 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11772 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11775 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11780 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11782 * lyx_main.C: change ref to known bugs
11784 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11786 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11787 to work around older babel problems.
11789 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11791 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11793 2001-10-24 Juergen Vigna <jug@sad.it>
11795 * tabular-old.C (ReadOld): below variable changes reflected.
11797 * tabular.[Ch]: added ltType struct for longtable header/footer
11798 defines and changed all instances where they are used. Added
11799 future support for double top/bottom rows.
11801 2001-10-24 José Matos <jamatos@fep.up.pt>
11803 * buffer.h (docbookHandleCaption):
11804 * buffer.C (docbookHandleCaption): removed unused function.
11805 (makeDocBookFile): moved docbook supported version to v4.1.
11807 2001-10-24 José Matos <jamatos@fep.up.pt>
11810 * tabular.C (docbookRow): new function to export docbook code of a row.
11811 (DocBook): now honors the longtable flags.
11813 2001-10-23 José Matos <jamatos@fep.up.pt>
11816 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11817 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11819 * buffer.C (makeLinuxDocFile):
11820 (makeDocBookFile): reworked the preamble, more clean, and with
11821 support for lyx defined entities. Changed the document declaration
11822 to be more XML friendly.
11824 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11825 if we need to output XML that should be done with a filter.
11827 2001-10-22 Juergen Vigna <jug@sad.it>
11829 * sp_pspell.h (class PSpell): add alive function needed in the
11830 controller to see if the spellchecker could be started.
11832 2001-10-22 Juergen Vigna <jug@sad.it>
11834 * buffer.C (insertStringAsLines): modify the font for inserting
11835 chars in certain conditions by calling checkInsertChar(font).
11837 2001-10-19 Juergen Vigna <jug@sad.it>
11839 * text.C (workWidth): use getRow instead of wrong algorithm.
11840 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11842 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11847 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11849 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11851 * text.C (workWidth): do not search for the exact row when
11852 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11853 optimization for big documents.
11855 2001-10-18 Juergen Vigna <jug@sad.it>
11857 * text.C (workWidth): new function with added Inset * parameter.
11859 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11863 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11864 change return type of getColumnNearX.
11867 * text.C (changeRegionCase): use uppercase/lowercase instead of
11870 (rightMargin): simplify code by factoring out the uses of
11875 (appendParagraph): use Paragraph::size_type
11877 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11879 * vspace.C (asLatexString): add a missing break
11881 2001-10-15 Herbert Voss <voss@perce.de>
11883 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11885 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11890 2001-10-10 André Pönitz <poenitz@gmx.net>
11892 * lyxfunc.C: removed greek_kb_flag.
11894 2001-10-10 Herbert Voss <voss@perce.de>
11896 * lyx_main.C: delete global string help_lyxdir.
11898 2001-10-09 Herbert Voss <voss@perce.de>
11900 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11902 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11904 * lyx_main.C: added global string help_lyxdir.
11906 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11908 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11910 * lyxrc.C (set_font_norm_type): support iso8859-4
11912 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11914 * LaTeX.C (deplog): add another regex for MikTeX
11916 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11918 * lyxrc.C (set_font_norm_type): support iso8859-3
11920 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11922 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11924 * LaTeXFeatures.C: remove special case of french and index
11926 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11927 before \begin{document}). This solves several incompatibilities.
11929 2001-10-03 Garst Reese <reese@isn.net>
11931 * lyx_cb.C: change CheckTex error msg.
11933 2001-10-03 José Matos <jamatos@fep.up.pt>
11935 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11937 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * .cvsignore: update
11941 * lyx_main.C (commandLineVersionInfo): use new style version info.
11943 * buffer.C (writeFile):
11945 (makeLinuxDocFile):
11946 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11948 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11950 * version.h: update to use stuff in version.C
11952 * version.C.in: new file. Contains version information determined
11953 at compile time. This is a merging of version.h and
11956 2001-10-03 Juergen Vigna <jug@sad.it>
11958 * BufferView_pimpl.C (update): don't change "dirty" status in
11961 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11963 * WorkArea.C (c-tor): re-position version string slightly.
11965 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11967 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11968 revert to previous code.
11970 WorkArea.[Ch]: (show, destroySplash): methods removed.
11972 WorkArea.C: rework code so that it's an amalgam of the codes before and
11973 after the splash screen was moved to WorkArea.
11975 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11978 * vspace.C (inPixels):
11981 * buffer.C (insertStringAsLines):
11982 (asciiParagraph): fix types to be large enough
11984 * lyxlex_pimpl.h: change member status from short to int
11986 * layout.h: fix type of endlabeltype
11989 * kbsequence.C (parse): change return type to string::size_type
11991 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11994 * Bullet.C (bulletSize):
11995 (bulletEntry): do not use short ints as parameters
11997 * BufferView2.C (insertLyXFile): change a char to an int.
11999 * WorkArea.C (WorkArea): remove unneeded floats in computation
12001 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12003 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12005 * paragraph.C (asString): Do not ignore newline/hfill chars when
12006 copying to the clipboard.
12008 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12010 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12011 after a multi-line inset.
12013 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12015 * paragraph.C (validate): Set NeedLyXFootnoteCode
12017 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12019 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12020 and decrease-error to decrease.
12022 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12025 it more readable (should be equivalent)
12027 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12029 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12031 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12033 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12034 of a cursor (row, etc.) after a character has been deleted
12035 (deleteEmptyParagraphMechanism): call the method above on _all_
12036 cursors held by the LyXText when a double space has been
12039 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12041 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12043 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12045 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12046 background. Use greyOut() and the new show() methods to toggle between
12047 the foreground and background. Add code to remove the splash after
12048 its initial showing.
12050 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12051 (create_forms): no longer call Dialogs::showSplash.
12053 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12055 * .cvsignore: add version_info.h
12057 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12059 * version_info.h.in: new file
12061 * Makefile.am: add version_info.h.in
12063 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12064 version_info.h instead of VERSION_INFO
12066 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12068 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12069 The ERT inset now returns string().
12071 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12073 * lyxtext.h, text.C (selectNextWord): renamed as
12074 selectNextWordToSpellcheck.
12076 * text.C (selectNextWordToSpellcheck): Modified to not select
12077 words inside an ERT inset.
12079 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * lyx_cb.C (MenuLayoutSave): change a bit the question
12083 * sp_base.h: include <sys/types.h>
12085 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12087 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12089 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12091 * several files: fix typos in user-visible strings
12093 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * text2.C (pasteSelection): do not set the selection, since it
12096 will be cleared later. Actually, the intent was to fix the way the
12097 selection was set, but I figured rmoving the code was just as good.
12099 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12101 * FontLoader.C (available): Check if font is available without
12104 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12106 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12108 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12110 * lyxrc.[Ch]: added display_graphics variable and associated code.
12112 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12114 * bufferparams.C (hasClassDefaults): new method. Returns true if
12115 the buffer parameters correspond to known class defaults
12117 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12119 * XFormsView.C (show): set minimum size to the main window.
12121 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12123 * text2.C (copySelection):
12125 * lyxfind.C (LyXReplace):
12126 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12127 LyXText::selectionAsString.
12129 * paragraph.C (asString): add "label" argument to the second form
12131 * text2.C (selectionAsString): add "label" argument and pass it to
12132 Paragraph::asString.
12134 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12136 * lyx_main.C (commandLineHelp): remove version information
12138 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12140 * lyx_main.C: add -version commandline option
12142 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12144 * paragraph.h: make the optional constructor arg required instead.
12145 some modifications to other files because of this.
12147 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12149 * lyxserver.C (C_LyXComm_callback): make it static
12151 * lyx_main.C (error_handler): make it static
12153 * lyx_gui.C (LyX_XErrHandler): make it static
12155 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12157 * WorkArea.C: make the extern "C" methods static.
12159 * Makefile.am (lyx_LDADD): simplify
12161 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12163 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12164 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12166 * LyXAction.C (init):
12167 * lyxfunc.C (dispatch): associated code removal.
12169 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * lyxfont.h (isSymbolFont): shut off warning
12173 * text.C (setHeightOfRow):
12174 (getVisibleRow): fix crash with empty paragraphs which have a
12177 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12179 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12182 2001-09-04 José Matos <jamatos@fep.up.pt>
12185 * tabular.C (docbook): rename docBook method to docbook.
12187 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12189 * Makefile.am: add dependencies to main.o.
12191 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12193 * FontLoader.C (available): Return false if !lyxrc.use_gui
12195 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12197 * FontInfo.C (query):
12198 * converter.C (view):
12199 * importer.C (Import):
12200 * exporter.C (Export): Can not -> cannot.
12202 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12204 * BufferView_pimpl.C: allow to create index inset even if
12207 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12209 * buffer.C (getLists): replace boost::tie code with an explicit pair
12210 as boost::tie can break some compilers.
12212 * iterators.h: Added a std:: declaration to the return type of
12215 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12217 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12220 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12222 * iterators.[Ch]: New files. Provide paragraph iterators.
12224 * buffer.C (changeLanguage): Use paragraph iterators.
12225 (isMultiLingual): ditto
12227 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12229 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12231 * FontLoader.C: Support for cmr font.
12233 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12235 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12236 (available): New method.
12238 * FontInfo.C (getFontname): Use scalable fonts even when
12239 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12242 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12244 * converter.C (Formats::view): reverted! Incorrect fix.
12246 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12248 * converter.C (Formats::view): only output the -paper option
12249 if the dvi viewer is xdvi, thereby fixing bug #233429.
12251 2001-08-23 Herbert Voss <voss@perce>
12253 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12255 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12257 * Spacing.h (Spacing): Set space to Default on in the default
12260 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * vc-backend.h (RCS::versionString): add RCS to version
12263 (CVS::versionString): add CVS to version
12265 * vc-backend.C (scanMaster): do not add CVS to version.
12266 (scanMaster): do not add RCS to version
12268 * lyxvc.C (versionString): new method
12270 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12272 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * Spacing.C (set): initialize fval
12276 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12278 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12281 2001-08-16 Juergen Vigna <jug@sad.it>
12283 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12285 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12287 * BufferView_pimpl.C:
12290 * text2.C: setParagraph takes linespacing now
12292 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12294 * LyxAction.C: add internal LFUN_CITATION_INSERT
12296 * LyXView.C: actually apply fix
12298 * bufferlist.C: fix open non-existent file
12300 * lyxfind.C: fix indentation
12302 * lyxfunc.C: remove unneeded assert, fix typo
12304 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12306 * MenuBackend.C: use "Floatname List"
12308 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12310 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12311 when converting LaTeX layout to insetERT.
12312 Generate a non-collapsed float when reading old float
12314 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12316 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12319 2001-08-13 Juergen Vigna <jug@sad.it>
12321 * text.C (fill): return 0 instead of 20 as this seems to be the more
12324 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12326 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12329 2001-08-13 Juergen Vigna <jug@sad.it>
12331 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12333 (SearchBackward): comment out the unlocking of the inset_owner this
12334 should not be needed!
12336 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12338 * Many files: Remove inherit_language, and add latex_language
12340 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12341 collapsible insets.
12343 2001-08-10 Juergen Vigna <jug@sad.it>
12345 * text.C (prepareToPrint): fixed hfill-width in draw!
12347 * BufferView2.C (selectLastWord): save the selection cursor as this
12348 now is cleared in the function LyXText::clearSelection!
12350 2001-08-08 Juergen Vigna <jug@sad.it>
12352 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12353 BACKSPACE type functions.
12355 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12356 is only cutted from the document but not put in the cut-buffer, where
12357 still the old stuff should be.
12359 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12361 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12363 * tabular.C (SetWidthOfCell): fixed special case where the width
12365 (LeftLine): handle '|' in align_special.
12367 (LeftAlreadyDrawed): ditto
12368 (SetWidthOfCell): ditto
12370 2001-08-07 Juergen Vigna <jug@sad.it>
12372 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12374 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12377 * lyxlex.[hC]: ditto
12379 2001-08-06 Juergen Vigna <jug@sad.it>
12381 * text.C (getVisibleRow): fix up row clearing a bit.
12383 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * minibuffer.C: make sure the X server sees the changes in the input.
12387 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * paragraph.C (getFont): split into...
12390 (getLabelFont): this
12391 (getLayoutFont): and this
12392 * paragraph_pimpl.C (realizeFont): calling this
12394 * text2.C (getFont): split into...
12395 (getLayoutFont): this
12396 (getLabelFont): and this
12397 (realizeFont): all three calling this
12399 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12402 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12404 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12406 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12408 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12409 layouts from the Quote inset insertion.
12411 2001-08-03 Juergen Vigna <jug@sad.it>
12413 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12415 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12416 only if status not is already CHANGED_IN_DRAW (second level).
12418 * text.C (draw): don't set the need_break_row when inside an
12421 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * buffer.C (parseSingleLyXformat2Token): handle more latex
12426 * bufferview_funcs.[hC]: change function names to
12427 begin with small char, adjust other files.
12429 2001-08-02 André Pönitz <poenitz@gmx.net>
12432 BufferView_pimpl.C: remove broken special code for math-greek
12434 2001-08-02 Juergen Vigna <jug@sad.it>
12436 * BufferView_pimpl.C (update): redone this function so that we
12437 update the text again if there was a CHANGE_IN_DRAW.
12439 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12440 (drawFromTo): added a new internal bool which is used by draw() and
12442 (general): some cursor drawing problems fixed.
12444 2001-08-01 Juergen Vigna <jug@sad.it>
12446 * lyxfind.C (LyXFind): fixed
12447 (SearchForward): ditto
12448 (SearchBackward): ditto
12450 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12451 spurius drawing of the cursor in the main area.
12453 * text2.C (status): small fix which could lead to a segfault!
12454 (clearSelection): remove unneeded BufferView param.
12456 2001-08-01 André Pönitz <poenitz@gmx.net>
12458 * lyxfunc.C: small change due to changed mathed interface
12460 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12462 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12464 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12466 * lyxfunc.c: fail gracefully if file doesn't exist
12471 * BufferView_pimpl.C: IsDirWriteable() proto changed
12473 * LyXView.C: fix updateWindowTitle() to store the last title
12475 2001-07-31 Juergen Vigna <jug@sad.it>
12477 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12478 the font (wrong since using of Paragraph::highestFontInRange).
12480 * paragraph.C (highestFontInRange): added a default_size parameter.
12482 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12483 (setHeightOfRow): reformat
12485 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * converter.[hC] + affected files: move to (inital-char)lowercase
12490 * ParagraphParameters.C (ParagraphParameters): remove commented code
12492 * PainterBase.[Ch]: remove commented code
12494 * LaTeXFeatures.h: add "bool floats" for float.sty
12496 * LaTeXFeatures.C (LaTeXFeatures): init floats
12497 (require): handle float
12498 (getPackages): do it with floats
12500 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12502 * BufferView_pimpl.C (Dispatch): improve handling of
12503 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12505 * commandtags.h: #include lyxfont.h here temporarily to avoid
12508 * bufferlist.h: include LString.h here.
12510 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12512 * text2.C (getStringToIndex): new method.
12514 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12516 * *: Reduced header file dependencies all over.
12518 2001-07-30 Baruch Even <baruch@lyx.org>
12520 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12522 2001-07-29 Baruch Even <baruch@lyx.org>
12524 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12526 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * ParameterStruct.h (endif): add a default constructor to make
12529 sure that all variables is initialized.
12531 * ParagraphParameters.C (ParagraphParameters): adjust
12533 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12536 index; also, check that there is something to index, and that it
12537 does not span over several paragraphs.
12538 (doubleClick): use WHOLE_WORD_STRICT for double click.
12540 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12542 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12545 2001-07-26 Baruch Even <baruch@lyx.org>
12547 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12548 an InsetFig figure, backwards compatible reading of old figure code.
12550 2001-07-27 Juergen Vigna <jug@sad.it>
12552 * text2.C: font.realize function adaption.
12554 * text.C (draw): add a warnings lyxerr text if needed.
12556 * layout.C: font.realize function adaption.
12558 * language.C: add inherit_language and implement it's handlings
12560 * bufferview_funcs.C (StyleReset): remove language parameter from
12561 font creation (should be language_inherit now).
12563 * bufferparams.C (writeFile): handle ignore_language.
12565 * paragraph.C (getFontSettings): the language has to be resolved
12566 otherwise we have problems in LyXFont!
12568 * lyxfont.C (lyxWriteChanges): added document_language parameter
12569 (update): removed unneeded language parameter
12571 * paragraph.C (validate): fixed wrong output of color-package when
12572 using interface colors for certain fonts in certain environments,
12573 which should not seen as that on the final output.
12575 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12577 * BufferView_pimpl.C:
12582 * LyXAction.C: add thesaurus support
12585 * lyxfind.C: add "once" parameter, for thesaurus, to not
12586 move to the next match
12588 2001-07-26 Juergen Vigna <jug@sad.it>
12590 * lyxfont.C (realize): honor ignore_language too!
12593 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12595 * text.C (draw): one place more for ignore_language to not draw
12598 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12600 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12602 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12604 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12605 the minipage conversion problem.
12607 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12609 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12612 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * BufferView.h: don't forward declare WorkArea
12616 * BufferView.C: don't include WorkArea.h
12618 2001-07-25 André Pönitz <poenitz@gmx.net>
12622 * lyxfunc.C: new LFUN 'math-space'
12624 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12626 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * text2.C (toggleInset): call open/close
12630 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * lyxfunc.C (dispatch): add debug for the disabled case
12634 * font.C (buttonText): make similar to rectText
12636 * buffer.C (readInset): comment out parsing of insetlist and
12639 * PainterBase.C (rectText): small correction
12641 * BufferView_pimpl.C: comment out insettheorem and insetlist
12642 * LyXAction.C: ditto
12643 * commandtags.h: ditto
12645 2001-07-24 Juergen Vigna <jug@sad.it>
12647 * text.C (draw): honor the ignore_language.
12649 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12651 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12653 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12656 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12658 * lyxtext.h: remove unused (and unimplemented) methods
12660 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12662 * text.C (getVisibleRow): honor background color
12665 * Painter.h: remove default color argument for fillRectangle
12667 * text.C (backgroundColor): new method
12669 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * text.C (getVisibleRow): adjust
12673 * font.[Ch] (rectText): new method, metrics
12674 (buttonText): new method, metrics
12676 * PainterBase.[hC]: make rectText and buttonText always draw and take
12679 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12681 * ToolbarDefaults.C (read):
12682 * MenuBackend.C (read): allow escaping in all strings
12684 * BufferView_pimpl.C (insertAndEditInset): new method.
12685 (Dispatch): use insertAndEditInset whenever appropriate.
12687 * BufferView_pimpl.C (insertNote): removed
12689 * BufferView_pimpl.C (smartQuote): new method, moved from
12690 BufferView; if an insetquote cannot be inserted, insert a '"'
12693 * BufferView2.C: remove insertCorrectQuote();
12695 * lyxfunc.C (getStatus): Add support for all remaingin
12696 inset-insert lfuns.
12698 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12700 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12701 command (necessary to pass " as parameter of self-insert.
12703 * text.C (selectWordWhenUnderCursor):
12704 (selectWord): add word_location parameter
12705 (selectWordWhenUnderCursor): same + remove special code for word
12707 (selectNextWord): use kind() to guess type of insetspecialchar,
12710 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12711 (insertErtContents): create ert insets as collapsed.
12712 (readInset): better compatibility code for Info inset.
12714 2001-07-20 Juergen Vigna <jug@sad.it>
12716 * lyxfunc.C (dispatch): use always LyXFind now!
12718 * text2.C (init): add a reinit flag so that the LyXText can be
12719 reinited instead of deleted and reallocated (used in InsetText).
12721 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12727 2001-07-18 Juergen Vigna <jug@sad.it>
12729 * text.C (selectNextWord): handle insets inside inset by calling
12730 always the bv->text functions so that we can go up the_locking_inset!
12732 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12733 in strange locations when inside an inset!
12735 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12736 handling to include insets.
12738 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12740 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * LyXAction.C (init):
12744 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12745 LIGATURE_BREAK, since the name is so stupid.
12747 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12749 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12752 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12754 * sp_form.[Ch]: remove.
12756 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12758 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12761 * src/buffer.C (readInset): ditto.
12763 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12765 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12766 menuSeparator(), endOfSentenceDot(), ldots() and
12767 hyphenationPoint(), which are therefore removed.
12768 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12770 * LyXAction.C (init):
12771 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12773 * paragraph.C (getWord): removed.
12775 * BufferView_pimpl.C (Dispatch): use last word or selection for
12776 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12778 * lyx_main.C (queryUserLyXDir): do not ask before creating
12779 user_dir, except if it has been named explicitely.
12781 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12783 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12784 a document of zero size.
12786 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12788 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12789 approriately in the c-tor and in require().
12790 (getPackages): output the appropriate LaTeX for natbib support.
12792 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12793 variables "use_natbib" and "use_numerical_citations" when reading the
12795 (readInset): read the various natbib cite commands.
12796 (validate): white-space change.
12798 * bufferparams.[Ch]: new variables "bool use_natbib" and
12799 "bool use_numerical_citations".
12800 (writeFile): output them in the LyX file.
12802 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12804 * lyxfunc.C (getStatus): add support for all the inset insertion
12807 * text2.C (insertInset):
12808 * paragraph.C (insetAllowed):
12809 * BufferView_pimpl.C (insertInset): update to take in account the
12810 renaming of insertInsetAllowed
12812 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12814 * text2.C (getInset): new method. returns inset at cursor position.
12816 * BufferView_pimpl.C (Dispatch): changes because of this.
12818 * LyXAction.C (init): rename open-stuff to inset-toggle.
12820 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12822 * text2.C (toggleInset): renamed from openStuff; use
12825 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12827 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12829 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12831 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12833 * buffer.C (readLyXformat2): Add filename to the error dialog
12835 2001-07-18 Juergen Vigna <jug@sad.it>
12837 * tabular.C (GetCellNumber): put an assert here instead of the check!
12839 2001-07-17 Juergen Vigna <jug@sad.it>
12841 * BufferView_pimpl.C (toggleSelection): adapted too.
12843 * text.C (selectNextWord): adapted for use with insets.
12844 (selectSelectedWord): ditto
12846 2001-07-17 Juergen Vigna <jug@sad.it>
12848 * sp_spell.C (PSpell): fix initialitation order.
12850 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * paragraph.C: spacing
12854 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12856 * sp_spell.C: repair language selection for pspell
12858 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * lyxfunc.h: change more methods to begin with lower char.
12862 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12864 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12865 for unknown layouts.
12867 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12869 * buffer.C (readLyXformat2): Generate an error dialog if there are
12872 2001-07-16 Juergen Vigna <jug@sad.it>
12874 * sp_spell.C: always compile ISpell part.
12876 * lyxrc.C: added use_pspell entry and it's handling.
12878 2001-07-13 Juergen Vigna <jug@sad.it>
12880 * sp_spell.C: removed double includes.
12882 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12884 Consistent use of Lsstream.h:
12885 * Lsstream.h: added using std::stringstream for consistencies sake.
12887 * buffer.C: removed using std::stringstream
12889 * lyxfont.C (stateText):
12890 * paragraph.C (asString):
12891 * text.C (selectNextWord, selectSelectedWord):
12892 * text2.C (setCounter):
12893 * vspace.C (asString, asLatexString):
12894 std::ostringstream -> ostringstream.
12896 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12898 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12899 * commandtags.h: add LFUN_HELP_ABOUTLYX
12900 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12902 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12904 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12906 * lyx_gui_misc.C: remove spellchecker
12907 * lyxfunc.C: showSpellchecker
12909 * sp_ispell.h: added
12910 * sp_pspell.h: added
12911 * sp_spell.C: added
12912 * sp_form.[Ch]: removed
12913 * spellchecker.[Ch]: removed
12915 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12917 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12919 (simpleTeXSpecialChars): Simply print the input character without
12920 any special translation if pass_thru is set.
12922 * layout.h: Added bool pass_thru to layout class for being able to
12923 implement pass through of a paragraph for Literate Programming.
12925 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12926 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12927 * layout.C (Read): add "passthru" to list of layout tags and add
12928 code to set the pass_thru boolean when it is read.
12930 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * trans_decl.h: remove allowed from KmodInfo
12934 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12935 remove allowed code
12938 * paragraph_pimpl.C (erase): use boost::prior
12940 * Painter.C (text): use data() instead of c_str() when length is
12942 * WorkArea.C (putClipboard): ditto
12943 * font.h (width): ditto
12945 * BufferView2.C: use it-> instead of (*it). for iterators
12947 * paragraph_pimpl.C: ditto
12948 * paragraph.C: ditto
12949 * minibuffer.C: ditto
12950 * language.C: ditto
12952 * encoding.C: ditto
12953 * counters.C: ditto
12954 * converter.C: ditto
12956 * Variables.C: ditto
12957 * TextCache.C: ditto
12958 * MenuBackend.C: ditto
12959 * LyXAction.C: ditto
12961 * FloatList.C: ditto
12962 * DepTable.C: ditto
12963 * ColorHandler.C (LyXColorHandler): ditto
12965 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12969 * text2.C (openStuff): reintroduce this method (which had been
12970 nuked in NEW_INSETS frenzy).
12972 * lyxfunc.C (Dispatch): when an action has not been handled, use
12973 its name in the error message, not its number.
12975 * paragraph.C (inInset): change method name to begin with lowercase.
12978 * text2.C: updates because of this.
12980 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * ToolbarDefaults.C (add): add spaces in error message
12984 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12986 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12987 (readLyXformat2): rename return_par to first_par, use lyxlex's
12988 pushToken and remove the manual push handling.
12989 (parseSingleLyXformat2Token): add another ert comp. variable:
12990 in_tabular, rename return_par to first_par. handle newlines better
12992 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12994 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12996 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * text2.C (getParFromID): removed
13000 * buffer.C (getParFromID): new method moved form lyxtext.
13001 * BufferView2.C (insertErrors): adjust
13002 (setCursorFromRow): adjust
13003 * BufferView_pimpl.C (restorePosition): adjust
13004 * lyxfunc.C (Dispatch): adjust
13005 * undo_funcs.C (textUndo): adjust
13007 (textHandleUndo): adjust
13008 (textHandleUndo): adjust
13010 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * buffer.C: up' the LYX_FORMAT
13014 * lyxfont.h: turn NO_LATEX on as default
13016 * buffer.C (insertErtContents): new methods of tex style compability.
13017 (parseSingleLyXformat2Token): use it several places.
13018 * tabular.C (OldFormatRead): and here
13020 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * text2.C: remove some commented code.
13025 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13026 * trans.C: changes because of the above.
13028 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13030 * text2.C (setCounter): Fix counters bug with bibliography layout.
13032 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13035 own member functions
13036 (simpleTeXSpecialChars): ditto
13038 2001-07-06 Juergen Vigna <jug@sad.it>
13040 * a lot of files: changed the access to LyXText::status and the
13041 call of undo-functions.
13043 * undo.[Ch]: added a inset_id to the undo informations.
13045 * undo_funcs.[Ch]: added and moved here all undo functions.
13047 * lyxtext.h: give the status enum a weight, made status_ a private
13048 variable and made accessor functions for it, removed the whole bunch
13049 of undo-functions as they are now in their own file, make some
13050 functions publically available. Added function ownerParagraph with
13053 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13054 made InInset() a const function, added getParFromID() function.
13056 * buffer.[Ch]: added const version for inset_iterator functions,
13057 added getInsetFromID() function.
13059 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13060 changed undo functions for new version.
13062 2001-07-05 Juergen Vigna <jug@sad.it>
13064 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13065 unknow mechanism does not call the proper constructor but only this
13066 one also if I request the other!?
13068 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13072 * text2.C (LyXText): use initialization lists.
13074 * lyxtext.h (Selection): initialize set_ and mark_
13075 (init): remove method
13077 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13079 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13081 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * screen.[Ch]: change method names to begin with lowercase
13085 * BufferView_pimpl.C (updateScrollbar): simplify further and
13086 hopefully make it a bit faster.
13088 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13091 calling directly xforms functions.
13093 * Painter.C (Painter):
13094 * lyx_cb.C (MenuWrite):
13095 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13098 * lyx_gui.C: remove bogus guiruntime extern declaration.
13100 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13104 (redoDrawingOfParagraph): ditto
13105 (redoParagraphs): ditto
13106 (cutSelection): don't create a object for CutAndPaste use the
13107 static method directly
13108 (pasteSelection): ditto
13110 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13113 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * modifications to some other files because of this.
13117 * Makefile.am (lyx_SOURCES): add XFormsView
13119 * XFormsView.[Ch]: new files
13121 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13122 the main window. Move the gui dependent stuff to XFormsView
13124 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * tabular.C (GetCellInset): update cur_cell also in the row/col
13127 version of this function.
13129 * lyxfunc.C: no need to include figure_form.h here.
13135 * lyxvc.C: no need to include forms.h here.
13137 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13139 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13141 * lyxfunc.C (Dispatch):
13143 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13144 constructor argument.
13146 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * paragraph.C (Paragraph): dont't clear, and just set layout.
13149 (makeSameLayout): use params's copy contructor.
13151 * ParagraphParameters.[Ch] (makeSame): delete method
13153 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13155 * Variables.[Ch]: fix indentation, rename set to isSet
13157 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * lyxfunc.C (Dispatch): fix typo
13161 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13166 * bufferlist.C: include assert.h for emergencyWrite().
13168 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13170 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13171 give up at last (bug #425202) !
13173 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13179 * spellchecker.C: strip spellchecker options and bring up
13180 preferences tab instead
13182 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13185 the istringstream constructor
13187 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * paragraph.C (getLayout): fix return value
13191 * paragraph.h: do not declare getLayout as inline.
13193 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13195 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * lyxcursor.h (operator<): new func
13198 (operator>): new func
13199 (operator>=): new func
13200 (operator<=): new func
13202 * text.C (changeCase): use selection.start and selection.end
13203 (changeRegionCase): require from to be <= to. Require par to be a
13206 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13208 2001-06-27 Juergen Vigna <jug@sad.it>
13210 * text.C (cursorLeftOneWord): changed to return the cursor and added
13211 overlay with BufferView * parameter which calls this one.
13213 (selectWord): use new getWord function.
13214 (changeCase): renamed from changeWordCase as and extended to work
13215 also on selections.
13217 * lyxtext.h: added enum word_location
13219 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13220 changeCase as this operates now also on selections.
13222 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13224 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13226 * many files: send debug output to Debug::INFO instead of
13229 * converter.C (View):
13231 (Move): send debug output to Debug::FILES instead of console.
13233 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13235 * lyxfunc.C (getStatus): use func_status
13237 * func_status.h: new header, describing the results of
13238 LyXFunc::getStatus;
13240 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13243 2001-06-25 The LyX Project <jug@sad.it>
13245 * buffer.C (sgmlOpenTag):
13247 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13249 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13251 * text2.C: remove some dead code
13253 * tabular.C (GetCellInset): store the last cell checked (gotten)
13255 * tabular.h: add the helper for the speedup
13257 * lyxtext.h: remove some dead code
13259 2001-06-26 The LyX Project <Asger>
13261 * paragraph.C: Change export to LaTeX of alignment to
13262 \begin{center} and family for better roundtrip work with reLyX.
13264 * Tune the math drawing a bit.
13266 2001-06-25 The LyX Project <Asger>
13268 * LColor.C (LColor): New color for math background. New color
13271 2001-06-25 The LyX Project <jug@sad.it>
13273 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13275 * lyxfunc.C (Open):
13276 * bufferlist.C (newFile): do not restrict to files ending with
13279 * BufferView_pimpl.C (MenuInsertLyXFile):
13281 2001-06-24 The LyX Project <jug@sad.it>
13283 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13286 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13288 * lyxtext.h: rename most methods to begin with a small char.
13289 Lots of changes because of this.
13291 * paragraph.C (Paragraph): do not call fitToSize
13292 (erase): call Pimpl::erase
13293 (insertChar): call Pimpl::insertChar
13294 (insertInset): call Pipl::insertInset
13295 (breakParagraph): do not call fitToSize
13296 (breakParagraphConservative): do not call fitToSize
13297 (fitToSize): remove method
13299 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13301 2001-06-24 The LyX Project <Asger>
13303 * Fix Qt compilation^2
13305 2001-06-24 The LyX Project <jug@sad.it>
13307 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13308 depthHook(getDepth()-1).
13311 * ParagraphParameters.h:
13312 * ParameterStruct.h: change type of depth to unsigned int ==
13313 depth_type. Many adaptations to other files before of that.
13315 2001-06-24 The LyX Project <Asger>
13317 * Fix Qt compilation.
13319 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * paragraph.h: renamed several methods to begin with small letter.
13322 several changes to many parts of the code because of this.
13324 2001-06-23 The LyX Project <jug@sad.it>
13326 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13327 rewritten to discard all double spaces when KeepEmpty is off
13328 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13329 to only handle newlines but not fiddle with spaces and friends.
13331 * lyxfunc.C (MenuNew): when doing 'new from template', use
13332 template_path as default directory
13334 2001-06-23 The LyX Project <Asger>
13336 * Clean-up of header file includes all over
13337 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13339 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * paragraph.h: renamed from lyxparagraph.h
13343 2001-06-23 Asger <lyx@violet.home.sad.it>
13345 * Buffer.h: Removed Buffer::resize
13346 * BufferList.h: Removed BufferList::resize
13347 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13348 the document lazily when we change the width, or the font settings.
13350 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13352 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13354 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13356 * buffer.h: remove out of date comment
13358 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13361 * screen.C: fix "theoretical" GC leak
13363 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * LaTeX.C (scanAuxFile):
13366 (deplog): remove trailing \r when reading stream (useful under
13369 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13371 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13372 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13373 and BufferView::theLockingInset(Inset*), so should use them and not
13374 access bv_->text->the_locking_inset directly.
13376 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13378 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13381 * tex-defs.h: remove old unused file
13383 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13385 * BufferView_pimpl.C: fix typo, remove minibuffer message
13386 when buffer has loaded
13388 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * lyxfunc.C (Dispatch): use stringstream
13391 (MenuNew): use stringstream
13392 (Open): use stringstream
13394 * importer.C (Import): use stringstream
13396 * bufferview_funcs.C (CurrentState): use stringstream
13398 * LaTeX.C (run): use stringstream
13400 * BufferView_pimpl.C (savePosition): use stringstream
13401 (restorePosition): use stringstream
13402 (MenuInsertLyXFile): use stringstream
13404 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13417 * vspace.C: removed // -*- C++ -*- as first line.
13420 * version.h: added // -*- C++ -*- as first line.
13422 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13426 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13429 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13434 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * gettext.C: include LString.h even when --disable-nls is on.
13438 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13440 * converter.h (Get): changed argument type from int to
13441 FormatList::size_type to avoid unnecessary conversion.
13443 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13446 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13448 * gettext.h: include LString.h even when --disable-nls is on.
13450 2001-06-07 Juergen Vigna <jug@sad.it>
13452 * text.C (BreakAgain): subst spaces with tabs.
13454 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13455 (resizeInsetsLyXText): set force on resizeLyXText.
13457 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * gettext.h (gettext_init):
13460 (locale_init): use a real definition instead of a macro
13462 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13464 * Bufferview_pimpl.C:
13466 * LColor.C: further lcolor tidies
13468 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * BufferView_pimpl.C (updateScrollbar): simplify.
13472 * BufferView2.C: don't include insets/insetinfo.h, change
13473 prototype for insertInset and call the Pimpl version. let
13474 updateInset call Pimpl version.
13476 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13477 gotoInset to BufferView::Pimpl
13479 2001-06-01 Juergen Vigna <jug@sad.it>
13481 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13482 inside a LockingInset (is the update needed at all?).
13484 2001-05-31 Juergen Vigna <jug@sad.it>
13486 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13487 here not the old one otherwise how should we compare it afterwards
13490 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * FontInfo.C: bring C functions into global namespace when
13498 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13500 * LString.h: make sure config.h has been loaded before LString.h.
13502 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13503 (one for each char read by EatLine!).
13505 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13508 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13511 to the same as the par we break from
13513 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13517 * MenuBackend.C (expand): also create menu entries for wide
13518 versions of the floats.
13520 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13522 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13524 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13525 frontends/Makefile.am
13531 * tabular.C (getTokenValue): add std::
13533 * tabular-old.C (getTokenValue): add std::
13534 (getTokenValue): ditto
13535 (getTokenValue): ditto
13537 * screen.C (ToggleSelection): adjust
13539 * lyxtext.h: put selection cursors inside a Selection struct.
13541 * lyxfunc.C (moveCursorUpdate): adjust
13543 * lyxfont.C (latexWriteStartChanges): add std::
13545 * lyxfind.C: adjust
13547 * font.h: delete with(char const *, LyXFont const &)
13549 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13551 * FontInfo.C (getFontname): add std::
13553 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13554 (workAreaButtonPress): adjust
13555 (tripleClick): adjust
13557 (moveCursorUpdate): adjust
13560 * BufferView2.C (gotoInset): adjust
13562 2001-05-30 Juergen Vigna <jug@sad.it>
13564 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13565 to check pspell I add this as default as I now have new pspell
13566 libraries and they seem to use this.
13568 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * text2.C (CutSelection): make the cursor valid before the call to
13573 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13576 relied on 0 terminated strings and other horrors. Bug found due to
13577 the new assert in lyxstring!
13579 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13582 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13587 * lyxfunc.C (processKeySym): change method of getting to the
13590 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13591 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13592 * BufferView_pimpl.[Ch]: here as private methods.
13594 2001-05-28 Juergen Vigna <jug@sad.it>
13596 * text.C (SetHeightOfRow): added the update() call again as it is
13597 needed to initialize inset dimensions!
13599 2001-05-16 Juergen Vigna <jug@sad.it>
13601 * text2.C (SetCharFont): Add new function with BufferView * and
13602 bool toggleall parameters for setting insets internal fonts.
13603 (SetFont): Freeze the undo as we may change fonts in Insets and
13604 all this change should be inside only one Undo!
13606 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13607 setting font's in insets as for them we have the SetFont function!
13609 2001-05-15 Juergen Vigna <jug@sad.it>
13611 * text2.C (ClearSelection): to be sure we REALLY don't have any
13614 * tabular.C (TeXCellPreamble): fixed the left border problem for
13617 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13619 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13622 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13625 LFUN_BREAKPARAGRAPH.
13627 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13628 help test to "internal only", similar for LFUN_INSERT_URL
13630 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13631 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13632 auto_region_delete and deadkeys.
13634 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13637 * LColor.C: remove some dead entries, tidy a little
13639 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13641 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13643 (Dispatch): implement LFUN_ESCAPE
13645 * commandtags.h: add LFUN_ESCAPE
13647 * LyXAction.C (init): add entry for LFUN_ESCAPE
13649 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13650 Remove commented code.
13651 (insertNote): moved here
13652 (open_new_inset): moved here
13654 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13657 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * kbmap.C (findbinding): clean it up and make it work correctly.
13661 * lyx_main.C (init): do not pass argc and argv as parameters
13663 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13665 * buffer.C: fix path for OS/2 & Win32
13669 * lyx_main.C: Added os:: class.
13671 * os2_defines.h: update
13673 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13676 better by trying again with reduced state.
13678 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * lyxrc.C (read): print error about invalid key sequence only when
13681 debugging (because not all latinX keysyms are known to some X
13684 * kbsequence.C (getiso): add a few std:: qualifiers
13685 (getiso): comment out extra return statement.
13687 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13691 (Dispatch): enhance the accent inset a bit. (not perfect)
13693 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13697 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13699 * bufferlist.C (emergencyWrite): fix assert() call
13701 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13703 * text.C (InsertChar): Added trivial patch to only send the "you
13704 can not do multiple spaces this way" message once during a
13707 2001-05-08 Baruch Even <baruch@lyx.org>
13709 * Makefile.am: Changed order of libraries to get LyX to link properly
13710 with the gnome frontend.
13712 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13714 * LaTeXFeatures.h: add a std:: qualifier
13716 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13718 * paragraph.C (String): use stringstream
13720 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * paragraph.C (writeFile): remove footflag arg
13724 * buffer.C (makeLaTeXFile): use stringstream
13725 (latexParagraphs): remove footnot gurba
13727 * LaTeXFeatures.C (getPackages): use stringstream
13728 (getMacros): likewise
13729 (getTClassPreamble): likewise
13730 (getFloatDefinitions): new method
13732 * paragraph.C (writeFile): reindent
13735 * WorkArea.h: revert the xpos + etc changes.
13737 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13739 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13741 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13742 (pasteSelection): likewise
13743 * text2.C (CreateUndo): likewise
13745 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * minibuffer.C (peek_event): temporarily reduce the functionality
13748 of the minibuffer (to allow args on lfuns)
13750 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13751 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13753 * buffer.C (readInset): add compability reading of old float
13754 lists, add reading of new style float list.
13755 (readInset): avoid reevaluation of inscmd.getCmdName()
13756 (getLists): reindent
13758 * MenuBackend.C (MenuItem): implement parsing of
13759 md_floatlistinsert and md_floatinsert.
13760 (expand::LastFiles): move initalizaton of iterators out of loop,
13761 avoid reevaluation.
13762 (expand::Documents): introduce typdedef vector<string> Strings,
13764 (expand::ExportFormats): introduce typedef vector<Format const *>
13765 Formats, and use it.
13766 (expand): implement FloatListInsert and FloatInsert.
13768 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13769 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13770 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13772 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13774 (Dispatch::LFUN_FLOAT_LIST): implement
13776 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13778 * LaTeX.C (run): Fix problem with --export code.
13780 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13782 * BufferView.[Ch] (workarea): removed.
13783 (getClipboard) new method; wrapper for workarea()->getClipboard()
13785 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13788 * WorkArea.h (width, height, xpos, ypos): These methods all
13789 returned the dimensions of the work_area sub-area of WorkArea,
13790 resulting in a position error if the WorkArea were resized. Now
13791 return the dimensions of the entire WorkArea.
13793 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13795 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13797 * LaTeX.C (deplog): correct the syntax of regex reg1
13799 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * undo.C: remove !NEW_INSETS cruft
13803 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * text2.C: remove !NEW_INSETS cruft
13807 * text.C: remove !NEW_INSETS cruft
13809 * tabular.C: remove !NEW_INSETS cruft
13811 * spellchecker.C: remove !NEW_INSETS cruft
13813 * lyxtext.h: remove !NEW_INSETS cruft
13815 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13817 * lyxfunc.C: remove !NEW_INSETS cruft
13819 * lyxfind.C: remove !NEW_INSETS cruft
13821 * lyx_cb.C: remove !NEW_INSETS cruft
13823 * figureForm.C: remove !NEW_INSETS cruft
13825 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13827 * buffer.[Ch]: remove !NEW_INSETS cruft
13829 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13831 * CutAndPaste.C: remove !NEW_INSETS cruft
13833 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13835 * BufferView2.C: remove !NEW_INSETS cruft
13837 * BufferView.h: remove !NEW_INSETS cruft
13839 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * Lsstream.h: include LString.h before the sstream headers to
13842 fix problem with gcc 2.95.3 and lyxstring
13844 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * lyx_main.C: add using directives when needed for C functions
13847 declared in std:: namespace.
13849 2001-04-27 Juergen Vigna <jug@sad.it>
13851 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13852 (SetHeightOfRow): comment out the update call should not be needed!
13854 2001-04-13 Juergen Vigna <jug@sad.it>
13856 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13857 (LyXTabular): tried to minimize operator= operations (and realized
13858 hopfully Lars wish).
13860 2001-04-27 Juergen Vigna <jug@sad.it>
13862 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13864 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13868 * buffer.C (readInset): hack to make listof algorithm work
13870 * BufferView_pimpl.C: hack to make listof algorithm work
13872 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13874 * LyXAction.C: removed all !NEW_INSETS cruft
13875 (init): moved lfun_item in method
13877 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13879 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13881 * BufferView2.C (theLockingInset): white space.
13883 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13885 * minibuffer.C: include <iostream>
13887 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13889 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13891 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13893 * text.[Ch] (TransposeChars): new method
13895 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13897 * call message directly through LyXView instead of through LyXFunc
13898 * BufferView2.C: adjust
13899 * BufferView_pimpl.C: adjust
13900 * FontLoader.C: adjust
13902 * bufferview_funcs.C: adjust
13903 * converter.C: adjust
13904 * figureForm.C: adjust
13905 * importer.C: adjust
13907 * lyx_gui_misc.C: adjust
13908 * lyxfunc.C: adjust
13911 + more files in subdirs
13913 * lyxparagraph.h (size): move up int file
13916 * adjust all uses of Assert to lyx::Assert.
13918 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13919 lyxfunctional in namespace lyx
13920 * layout.C (hasLayout): ditto
13923 (delete_layout): ditto
13924 (NumberOfClass): ditto
13925 * converter.C (GetFormat): ditto
13930 * bufferlist.C (getFileNames): ditto
13931 (emergencyWriteAll): ditto
13934 * MenuBackend.C (hasSubmenu): ditto
13937 * BufferView_pimpl.C (getInsetByCode): ditto
13939 2001-04-18 Juergen Vigna <jug@sad.it>
13941 * vspace.C (asLatexString): fixed the 100% problem.
13943 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13945 * lyxfunc.C (Dispatch):
13947 * minibuffer.h: add a few std:: qualifiers
13949 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * minibuffer.[Ch]: reimplement so that commands is initiated and
13952 run from lyxfunc, simplified som handling, and made the completion
13953 and history code for complete. wip.
13955 * lyxfunc.C (processKeySym): call message
13956 (miniDispatch): new temporary method
13957 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13958 (LFUN_MESSAGE): implement
13959 (LFUN_MESSAGE_PUSH): implement
13960 (LFUN_MESSAGE_POP): implement
13961 (initMiniBuffer): the initial/defualt minibuffer message.
13963 * lyxfont.[Ch]: inline some more getters
13965 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13967 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13969 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13970 (AutoSave): use LFUN_MESSAGE
13971 (Reconfigure): ditto
13973 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13975 * figureForm.C: use LFUN_MESSAGE
13977 * converter.C (runLaTeX): use LFUN_MESSAGE
13979 * bufferview_funcs.C: use LFUN_MESSAGE
13981 (changeDepth): ditto
13983 * bufferparams.h: use boost::
13985 * bufferlist.h: inherit privately from noncopyable
13987 * bufferlist.C (loadLyXFile): remove some commented code.
13989 * buffer.C (runChktex): use LFUN_MESSAGE
13991 * ShareContainer.h: inherit privately from noncopyable
13993 * ParagraphParameters.[hC] (depth): inline it.
13995 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13997 (message): new method
13998 (messagePush): ditto
13999 (messagePop): ditto
14000 (show): init minibuffer
14001 (showState): direct call
14003 * LaTeX.[Ch]: inherit privately from noncopyable
14004 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14005 instead of WriteStatus.
14007 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14009 * BufferView_pimpl.C (buffer): don't init minibuffer
14010 (workAreaButtonPress): use LFUN_MESSAGE
14011 (workAreaButtonRelease): ditto
14012 (savePosition): ditto
14013 (restorePosition): ditto
14014 (MenuInsertLyXFile): ditto
14015 (workAreaExpose): don't init minibuffer
14016 (update): remove commented code, simplify
14018 * BufferView2.C (openStuff): use LFUN_MESSAGE
14019 (toggleFloat): ditto
14022 (copyEnvironment): ditto
14023 (pasteEnvironment): ditto
14028 (updateInset): remove some commented code
14030 * lastfiles.h: inherit privately from noncopyable
14033 * lyx_main.h: ditto
14035 * lyxlex_pimpl.h: ditto
14037 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14038 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14039 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14041 * LyXAction.h: inherit privately from noncopyable, add methods
14042 func_begin, func_end, returning iterators to the func map.
14044 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14045 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14046 (func_begin): new method
14047 (func_end): new method
14049 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14051 (copySelection): ditto
14052 (pasteSelection): ditto
14054 * BufferView.C: whitespace change
14055 * BufferView.h: inherit privately from noncopyable
14057 2001-04-16 Allan Rae <rae@lyx.org>
14059 * tabular-old.C (l_getline):
14060 * spellchecker.C (sc_check_word):
14061 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14062 an unrecognised preprocessor directive. So ensure they're wrapped.
14064 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14066 * src/exporter.C (Export): Give an error message when path to file
14069 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14071 * LaTeX.C (deplog): Always check that foundfile exists.
14073 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14078 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * tabular.[Ch] (getLabelList): implement new method
14082 * minibuffer.h: comment ouf setTiimer
14084 * minibuffer.C (ExecutingCB): constify res
14085 (peek_event): constify s
14086 (Set): constify ntext
14087 (Init): constify nicename
14089 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14091 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14092 (savePosition): use two params to Minibuffer::Set
14093 (restorePosition): ditto
14095 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * lyx_main.C: include language.h
14099 * Makefile.am (lyx_main.o): add language.h
14101 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14107 * CutAndPaste.C: include gettext.h
14109 * lyxfont.h: remove old hack with ON and OFF.
14112 * lyxfont.h: do not include language.h...
14117 * bufferview_funcs.C:
14123 * paragraph.C: ... but do it here instead
14125 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14127 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14129 * tabular.C: small reformat
14131 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14134 (BreakParagraph): ditto
14135 (SetOnlyLayout): ditto
14138 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14141 * lastfiles.C: removed most using decl, add std:: where needed
14143 * buffer.C: ws changes
14145 * MenuBackend.C (class compare_format): put into anon namespace
14146 (expand): constify label, names, action, action2
14149 * text.C (SingleWidth): constify font
14150 (IsBoundary): constify rtl2
14151 (GetVisibleRow): constify ww
14153 * LaTeX.C (deplog): constify logfile
14155 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14157 (workAreaExpose): constify widthChange, heightChange
14159 * lyxrow.C (par): moved
14162 * lyxrow.h: as inlines here
14164 * lyxfont.h (shape): moved from lyxfont.C
14165 (emph): moved from lyxfont.C
14167 * lyxfont.C (LyXFont): use initialization list for all
14169 (shape): move to lyxfont.h as inline
14170 (emph): move to lyxfont.h as inline
14173 2001-04-04 Juergen Vigna <jug@sad.it>
14175 * vspace.C: had to include stdio.h for use of sscanf
14177 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14180 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14181 independent of xforms.
14183 2001-04-02 Juergen Vigna <jug@sad.it>
14185 * spellchecker.C: fixed namespace placing!
14187 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14189 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14190 the LyXParagraph * is 0.
14192 2001-03-29 Juergen Vigna <jug@sad.it>
14194 * vspace.C: added support for %, c%, p%, l%.
14195 (stringFromUnit): added helper function.
14196 (asLatexString): changed to give right results for the %-values.
14198 * buffer.C: convert the widthp in a width%.
14200 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14202 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14205 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14206 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14208 * lyx_cb.[Ch]: see above.
14210 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14214 * lyx.[Ch]: replaced by figure_form.[Ch].
14218 * lyxfunc.C: changed headers associated with above changes.
14220 2001-03-27 Juergen Vigna <jug@sad.it>
14222 * BufferView_pimpl.C: set the temporary cursor right!
14224 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14226 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14228 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14230 * LString.h: removed "using std::getline"!
14232 * BufferView_pimpl.C (Dispatch): changes due to changes in
14233 InsetInclude::Params.
14235 * buffer.C (tag_name): removed redundant break statements as they were
14236 producing lots of warnings with my compiler.
14238 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * LString.h: add "using std::getline" when using the real <string>.
14242 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14244 * buffer.C: removed bitset usage.
14245 PAR_TAG moved to an anonymous name space.
14246 (tag_name): new funtion, also in the anonymous namespace.
14247 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14248 (makeDocBookFile): clean code. Completed transition from string arrays
14250 (SimpleDocBookOnePar): code clean.
14252 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14254 * tabular.C: add some comments.
14256 2001-03-22 Juergen Vigna <jug@sad.it>
14258 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14259 compatibility read a bit and fixed bug with minipage in different
14262 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14264 * buffer.C (pop_tag): removed.
14265 (push_tag): removed.
14266 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14267 array replaced with vector. Added support for CDATA sections.
14268 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14270 (makeDocBookFile): XML conformant declaration of CDATA section,
14271 fixed bug related to <emphasis> in the first paragraph char.
14272 (sgmlOpenTag): exclude empty tags.
14273 (sgmlCloseTag): ditto.
14275 * buffer.h (pop_tag): removed.
14276 (push_tag): removed.
14278 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14280 * language.h (Languages): added size_type and size().
14282 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14284 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14285 response on compability reading of minipages. One probliem is that
14286 the old usage of minipages was «flertydig»
14288 * several files here and in subdirs: don't use static at file
14289 scope use anon namespaces instead.
14291 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14293 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14294 LaTeX output. This is necessary for Literate document
14297 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14299 * buffer.C: insert hfill when needed.
14301 * tabular.C (l_getline): use string::erase, small whitespace change.
14303 * BufferView_pimpl.C: try the anon namespace.
14304 * WorkArea.C: ditto
14306 2001-03-16 Juergen Vigna <jug@sad.it>
14308 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14309 otherwise it won't open options-dialogs.
14311 * buffer.C: honor pextraWidth(p) on converting minipages.
14313 * tabular.C (l_getline): changed the functions to strip trailing \r.
14315 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14317 * BufferView_pimpl.C:
14318 * minibuffer..C: added "using SigC::slot" declaration.
14320 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14322 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14328 * paragraph.C: ditto
14330 * lyxtext.h: NO_PEXTRA
14332 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14334 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14335 * ParameterStruct.h: ditto
14336 * ParagraphParameters.h: ditto
14337 * lyxparagraph.h: ditto
14339 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14341 * buffer.C: add compability for minipage alignment.
14342 (latexParagraphs): remove unwanted pextra check.
14344 * several files: remove CXX_WORKING_NAMESPACES
14346 * buffer.C (pop_tag): tie is in namespace boost
14348 * BufferView.h: noncopyable is in namespace boost
14350 * lyx_main.h: ditto
14353 * lastfiles.h: ditto
14354 * bufferlist.h: ditto
14355 * ShareContainer.h: ditto
14357 * LyXAction.h: ditto
14360 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14362 * Merging changes from BRANCH_MVC back into HEAD.
14364 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14366 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14368 * BufferView_pimpl.C: change from intl.C
14372 * Makefile.am: move combox.*
14378 * intl.C: remove dialog (covered by prefs)
14380 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14382 * lyxfunc.C (Dispatch): removed redundant break statement.
14384 2001-03-14 Juergen Vigna <jug@sad.it>
14386 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14388 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14390 * buffer.C: add hack to fix compability reading of minipages.
14392 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14394 * buffer.C (getLists): Cleanup.
14396 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * lyxfont.C (update): don't honor toggleall on font size.
14400 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14404 * Makefile.am: moved to frontends/xforms/
14408 * BufferView_pimpl.C: changes for moved mathpanel
14410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14412 * gettext.h: fix gettext_init() in --disable-nls
14414 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14416 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14418 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14421 * lyx.h: strip external form
14423 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14425 * BufferView_pimpl.C: add comment, destroySplash()
14427 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14429 * BufferView_pimpl.C:
14433 * lyxfunc.C: use re-worked insetinclude
14435 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14437 * buffer.C: add using std::stringstream.
14439 * lyx_cb.C: readd using std::ios.
14441 * buffer.C: add using std::map.
14443 * BufferView_pimpl.C: add using std::vector.
14445 * ShareContainer.h: add std:: to swap.
14447 * buffer.h: add some typedefs
14448 * buffer.C (getLists): use them
14449 (getLists): renamed from getTocList.
14450 add a counter for the different float types and use it in the
14452 (getLists): use the same counter for the NEW_INSETS and the "non"
14455 * lyx_cb.h: remove unused items, includes, using etc.
14457 * ShareContainer.h: remove some commented code, add more comments
14458 and "documentation".
14460 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14462 * buffer.C (getTocList): make the list also when NEW_INSETS is
14465 * buffer.h: remove TocType
14467 * buffer.C (getTocList): change to return a map<string,
14468 vector<TocItem> >, implement for dynamic number of list.
14470 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14471 * text2.C (PasteSelection): adjust
14472 * CutAndPaste.C (pasteSelection): adjust
14474 * FloatList.C (FloatList): update from the new_insets branch.
14475 * Floating.[Ch]: ditto
14476 * LaTeXFeatures.C: ditto
14478 * lyxlex_pimpl.C: ditto
14480 * paragraph.C (Last): remove when NEW_INSETS is defined.
14482 * other file: changes because of the above.
14484 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14486 * lyxparagraph.h: rename next to next_, previous to previous_,
14487 make them private for NEW_INSETS. Rename Next() to next(),
14488 Previous() to previous().
14490 * other files: changes because of the above.
14492 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14495 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14498 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * main.C (main): pass lyx_localedir to gettext_init().
14502 * gettext.h: remove locale_init and gettext_init macros
14504 * gettext.C (locale_init): new function
14505 (gettext_init): new function
14507 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14510 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14512 * Moved credits to frontends:
14513 * credits.[Ch]: removed
14514 * credits_form.[Ch]: removed
14515 * lyx_gui_misc.C: remove credits stuff
14518 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14520 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14522 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14523 unneeded destructor.
14525 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14526 a standalone pointer again.
14528 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14530 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14536 * ToolbarDefaults.C:
14545 * BufferView_pimpl.C: use new file dialog in GUII
14548 * lyx_cb.C: remove LayoutsCB to Toolbar
14550 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * ShareContainer.h (get): add std:: qualifier
14554 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * ShareContainer.h: define a proper ShareContainer::value_type
14557 type (and use typename to please compaq cxx)
14559 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14561 * lyxparagraph.h: move serveral local vars to
14562 ParameterStruct/ParagraphParameters., use ShareContainer in
14563 FontTable., make vars in FontTable private and add getter and
14566 * paragraph.C: changes because of the above.
14568 * lyxfont.h: remove copy constructor and copy assignment. (the
14569 default ones is ok), move number inside FontBits. move inlines to
14572 * lyxfont.C: add number to initializaton of statics, move several
14573 inlines here. constify several local vars. some whitespace
14574 cleanup. Dont hide outerscope variables.
14576 * Spacing.h: add two new constructors to match the set methods.
14578 * ShareContainer.h: new file, will perhaps be moved to support
14580 * ParameterStruct.h: new file
14582 * ParagraphParameters.h: new file
14584 * ParagraphParameters.C: new file
14586 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14587 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14589 * BufferView_pimpl.C: ParagraphParameter changes.
14590 * buffer.C: Likewise.
14591 * bufferview_funcs.C: Likewise.
14592 * text.C: Likewise.
14593 * text2.C: Likewise.
14595 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * lyxfind.C (LyXReplace): do not redefine default argument in
14599 (IsStringInText): ditto
14600 (SearchForward): ditto
14601 (SearchBackward): ditto
14603 2001-03-06 Juergen Vigna <jug@sad.it>
14605 * lyxfind.C (IsStringInText): put parentes around expressions.
14607 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14609 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14611 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14613 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14615 * stl_string_fwd.h: add comment
14617 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14620 * tabular.C: remove unused DocBook methods
14626 killed DO_USE_DEFAULT_LANGUAGE
14628 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * lyx_gui.C: do not include language.h.
14632 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14633 arguments in function implementation.
14635 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14637 * BufferView_pimpl.C: add <ctime>
14639 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14641 * BufferView_pimpl.C: add using std::find_if
14643 2001-02-27 José Matos <jamatos@fep.up.pt>
14645 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14648 2001-02-11 José Matos <jamatos@fep.up.pt>
14650 * buffer.C (makeDocBookFile): command styles now have a parameter as
14651 "title" by default.
14653 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14655 * layout_forms.[Ch]: removed
14656 * lyx_cb.[Ch]: out character
14657 * lyx_gui.C: out character
14658 * lyx_gui_misc.C: out character
14659 * bufferview_funcs.C: : out character,
14660 added toggleall as parameter in ToggleAndShow
14662 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14664 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14666 * text2.C (SetCurrentFont): Disable number property at boundary.
14668 2001-02-26 Juergen Vigna <jug@sad.it>
14670 * lyxfunc.C (getStatus): added a string argument override function so
14671 that this is correctly called from LyXFunc::Dispatch if it contains a
14672 do_not_use_argument which is used!
14673 (Dispatch): added check for "custom" export and call appropriate func.
14675 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14677 * lyxrc.C: Add language_command_local, language_use_babel and
14678 language_global_options.
14680 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14682 * buffer.C (makeLaTeXFile): Use language_use_babel and
14683 language_global_options.
14685 2001-02-23 Juergen Vigna <jug@sad.it>
14687 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14688 which works with LyXText and putted it inside BufferView. Here now we
14689 only call for that part the BufferView::Dispatch() function.
14691 * BufferView.C (Dispatch): added.
14693 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14694 functions which needs to use a LyXText over from LyXFunc.
14695 (MenuInsertLyXFile): added
14696 (getInsetByCode): added
14697 (moveCursorUpdate): added
14698 (static TEXT): added
14700 2001-02-22 Juergen Vigna <jug@sad.it>
14702 * BufferView_pimpl.C (update): call a status update to see if LyXText
14705 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14707 * vc-backend.C (revert): implement for CVS
14708 (getLog): implement for CVS
14710 2001-02-20 Juergen Vigna <jug@sad.it>
14712 * text2.C (ClearSelection): added BufferView param for inset_owner call
14714 * lyxfunc.C (TEXT): added this function and use it instead of
14715 directly owner->view()-text of getLyXText().
14717 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14719 * src/layout_forms.C: out preamble
14720 * src/layout_forms.h: out preamble
14721 * src/lyx_cb.C: out preamble
14722 * src/lyx_cb.h: out preamble
14723 * src/lyx_gui.C: out preamble
14724 * src/lyx_gui_misc.C: out preamble
14725 * src/lyxfunc.C: connect with guii preamble
14727 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14729 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14731 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14733 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14734 whether to run bibtex.
14736 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14738 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14740 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14742 * Makefile.am (lyx_SOURCES): removed bibforms.h
14744 * vspace.h: doxygen
14746 * text.C (GetVisibleRow): make several local vars const
14748 * tabular.C: small cleanup.
14750 * lyxserver.C (callback): use compare instead of strncmp
14752 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14753 inlines to after class or to paragraph.C
14755 * lyxfont.h: remove friend operator!=
14757 * converter.h: move friend bool operator< to non friend and after
14760 * combox.h: small cleanup
14762 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14763 to inlines after class def.
14765 * buffer.C (pop_tag): use string operations instead of strcmp
14767 * bmtable.c: doxygen, small cleanup
14769 * LaTeX.h: remove friend operator==
14771 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14783 * BufferView_pimpl.C:
14784 * BufferView.[Ch]: remove cruft
14786 2001-02-14 Juergen Vigna <jug@sad.it>
14788 * lyxfunc.C: removed #if 0 unused code
14790 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14792 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14794 * text2.C (SetSelection): added a BufferView * parameter
14796 2001-02-13 Juergen Vigna <jug@sad.it>
14798 * lyxfunc.C (Dispatch): fixed protected blank problem.
14799 * BufferView2.C (protectedBlank): added LyxText * parameter.
14801 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14802 (AppendColumn): same as above for column_info.
14804 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14805 (moveCursorUpdate): use a LyXText param for support of InsetText.
14807 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14808 (tripleClick): ditto
14810 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14812 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14814 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14816 * text2.C (SetSelection): set correct update status if inset_owner
14817 (ToggleFree): ditto
14819 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14821 * tabular.C: remove some commented code.
14823 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14825 * BufferView_pimpl.C: call hideSplash()
14827 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14830 * bibforms.h: remove
14833 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14834 add LFUN_CHILD_CREATE
14836 * counters.h: fix tiny typo
14841 * lyx.C: move splash to frontends/xforms/
14843 * lyx_gui_misc.C: move Include and Bibform to frontends
14845 * lyxvc.h: clarify comment
14847 * vspace.C: tiny housekeeping
14849 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14851 * text.C (PrepareToPrint): RTL Fix.
14853 * paragraph.C (GetUChar): New method.
14854 (String): Use GetUChar.
14856 * buffer.C (asciiParagraph): Use GetUChar.
14858 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14860 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14862 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14865 * buffer.C: rename to getLogName(), handle
14866 build log / latex log nicely
14868 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * MenuBackend.h: remove support for reference menuitem type.
14873 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14875 * BufferView_pimpl.C: housekeeping
14876 * BufferView_pimpl.h:
14881 * minibuffer.h: move Timeout GUI-I
14883 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14885 * lyxrc.C (read): Update converters data-structures.
14887 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14889 * LaTeX.h (operator!=): add operator != for Aux_Info
14891 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14893 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14895 * LaTeXLog.C: deleted, useful code moved to Buffer
14898 * buffer.C: new function getLatexLogName()
14904 * lyxfunc.C: use frontends for LaTeX and VC logs
14906 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * LaTeX.h: yet another std:: that Allan forgot.
14910 * Variables.C (set): renamed from isset(), because this clashes
14911 with some HP-UX macros (grr).
14913 2001-02-06 Allan Rae <rae@lyx.org>
14915 * LaTeX.h: Another bug fix. Missing std:: this time.
14917 2001-02-04 Allan Rae <rae@lyx.org>
14919 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14920 floats problem. I've left it commented out because it's not quite
14921 correct. It should also test that the current object is a table or
14922 figure inset. But I haven't gotten around to figuring out how to do
14923 that. I *think* it'll be something like: "table" == inset.type()
14925 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14928 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14930 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14931 all the citation/databases/styles in the auxilary file.
14932 (run): Rerun latex if there was a babel language error.
14934 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14936 * text.C (Backspace): Preserve the font when changing newline char
14938 (BreakParagraph): If the cursor is before a space, delete the space.
14940 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14942 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14944 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14945 new argument (code).
14946 (ChangeCitationsIfUnique): New method.
14948 * paragraph.C (GetPositionOfInset): Handle bibkey.
14950 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14952 * BufferView_pimpl.h: change type of Position::par_pos to
14953 LyXParagraph::size_type.
14955 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14957 * BufferView_pimpl.C (savePosition, restorePosition): Write
14958 messages to minibuffer.
14960 2001-01-28 José Matos <jamatos@fep.up.pt>
14962 * buffer.C (makeDocBookFile): adds support for document language.
14963 A silly restriction on the name of LatexCommand types where removed.
14964 Added support for CDATA sections, allows to chars unescaped, used
14965 among others in code, to avoid escape < and >.
14967 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14969 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14970 saved positions instrad of a stack. Furthermore, a position is
14971 stored using paragraph id/paragraph position.
14973 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14974 Remove LFUN_REF_BACK.
14976 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14978 * converter.C (dvipdfm_options): New method.
14980 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14982 * vspace.C (isValidLength): Fix for empty input string.
14984 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14986 * LyXAction.C (init): change description of LFUN_FIGURE to
14989 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * LaTeX.C: add using directive
14993 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14995 * MenuBackend.C (expand): Fix the sorting of the formats.
14997 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14999 * lyx_main.C: tiny error message fix
15001 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15004 calling fl_initialize(). This fixes the problem with ',' as
15005 decimal separator in text files.
15007 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15009 * trans.C (process): Fix the keymap bug.
15011 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15013 * LaTeX.C (scanAuxFiles): New method. Provides support for
15014 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15015 (scanLogFile) Scan for "run BibTeX" messages.
15017 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15018 OT1 font encoding. Also, load the aecompl package if the ae
15021 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15023 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * texrow.C (increasePos): turn two error messages into debug
15028 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15030 * LaTeX.C (scanAux): Handle the \@input macro.
15031 (runBibTeX): Use scanAux().
15033 * language.C (latex_options_): New field.
15035 * LaTeXFeatures.C (getMacros): Add language macros.
15037 * buffer.C (makeLaTeXFile): Small fix.
15039 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15043 * text2.C: add a using directive.
15045 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15050 * lyxfunc.C: kill LyXBell.
15052 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15054 * text.C (IsBoundary): Remove the error message
15056 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15058 * lyxrc.C (setDefaults): Correct initialization value for
15061 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15063 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15066 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15067 and GotoNextNote().
15069 * src/LyXAction.C: Added reference-next.
15071 * text.C (InsertChar): Use contains instead of strchr.
15073 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15075 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15077 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15078 alignment commands (when needed).
15080 * text.C (InsertChar): Add ':' to number separator chars.