1 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * buffer.C (makeLaTeXFile): if the main latex file that is
4 processed is usually a subdocument of some master, then pretend
5 for a while that it is actually the master
7 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9 * buffer.C (getLabelList):
10 (getBibkeyList): use getMasterBuffer()
11 (getMasterBuffer): new method. Returns the main document in the
12 case where one is using included documents.
14 2004-03-25 André Pönitz <poenitz@gmx.net>
18 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
20 * ParagraphList_fwd.h: change ParagraphList to a std::vector
22 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
23 text*.C over here. Rename namespace CutAndPaste to lyx::cap
25 * ParameterStruct.h: merge with ParagraphParameters
27 * lyxtext.h: remove LyXText::parOffset() and getPar()
29 * text3.C: Remove all 'manual' update calls. We do now one per user
30 interaction which is completely sufficient.
37 * ParagraphParameters.[Ch]:
49 * output_docbook.[Ch]:
51 * output_linuxdoc.[Ch]:
52 * output_plaintext.[Ch]:
54 * paragraph_funcs.[Ch]:
55 * paragraph_pimpl.[Ch]:
63 * frontends/controllers/ControlDocument.C:
64 * frontends/controllers/ControlErrorList.C:
65 * frontends/controllers/ControlSpellchecker.C:
69 * insets/insetbibitem.C:
71 * insets/insetbranch.C:
72 * insets/insetcaption.C:
73 * insets/insetcharstyle.C:
74 * insets/insetcharstyle.h:
75 * insets/insetcollapsable.C:
76 * insets/insetcollapsable.h:
78 * insets/insetfloat.C:
80 * insets/insetmarginal.C:
82 * insets/insetoptarg.C:
83 * insets/insettabular.C:
87 * mathed/math_mboxinset.C:
88 * mathed/math_nestinset.C:
89 * mathed/math_scriptinset.C:
90 * mathed/math_scriptinset.h:
93 2004-03-24 Angus Leeming <leeming@lyx.org>
95 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
96 deal with any child processes that have finished but are waiting to
97 communicate this fact to the rest of LyX.
99 2004-03-24 Angus Leeming <leeming@lyx.org>
101 64-bit compile fixes.
103 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
104 (c-tor): pass lyx::pos_types rather than ints.
106 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
109 * text.C (Delete): compile fix.
110 (getPar): ensure that function declaration is the same as that in
113 2004-03-23 Angus Leeming <leeming@lyx.org>
115 * ispell.C (LaunchIspell):
116 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
117 a boost::shred_ptr rather than a std::auto_ptr.
119 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * lyxfunc.C (getStatus): handle read-only buffers correctly;
122 handle LFUN_FILE_INSERT_*
124 * lyxrc.C (setDefaults, getDescription, output, read):
125 * lyxrc.h: remove ps_command
127 2004-03-22 Angus Leeming <leeming@lyx.org>
129 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
130 Ensure that error_handler is processed once only and that all data
131 is saved before attempting to output any warning messages.
133 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
135 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
137 * tabular.C (TeXRow): crash fix (from Kayvan and André)
139 2004-03-19 André Pönitz <poenitz@gmx.net>
141 * cursor.[Ch] (reset): take main text inset as argument
144 * BufferView_pimpl.C: adjust
146 * paragraph.[Ch]: fix completely broken operator=()
148 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * LColor.C (getFromLyXName): make sure that the color name is used
153 2004-03-17 Angus Leeming <leeming@lyx.org>
156 * LyXAction.C (init): remove LFUN_FORKS_KILL.
158 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
159 dialog and to kill a forked process.
161 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
163 * text2.C (setCursorFromCoordinates): fix font problem
165 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
167 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
168 bogus "rebuild cursor" code
170 2004-03-11 André Pönitz <poenitz@gmx.net>
172 * buffer.[Ch]: use InsetText instead of LyXText as container for
175 * dociterator.[Ch]: drop the BufferView * member which is not needed
176 anymore after the change to buffer.C
182 * BufferView_pimpl.[Ch]:
184 * cursor_slice.[Ch]: adjust
186 * text3.C: fix bug in mathDispatch
188 2004-03-08 André Pönitz <poenitz@gmx.net>
190 * undo.[Ch]: use 'StableDocumentIterator' as base for
193 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
196 * bufferparams.[Ch]: add jurabib support and param.
198 * LaTeX.C: add FIXME/comment.
200 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * buffer.C: increment file format to 230.
204 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
206 * cursor.C (dispatch): avoid infinite loops
208 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
210 * rowpainter.C (paintSelection): fix x coordinates
212 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
214 * text.C (rowBreakPoint): fix breaking before displayed insets
216 2004-03-01 André Pönitz <poenitz@gmx.net>
218 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
220 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
224 * BufferView_pimpl.C:
232 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
238 * BufferView_pimpl.C: rename textwidth -> maxwidth,
239 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
241 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
243 * Bidi.[Ch] (computeTables): const correctness
244 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
245 fill_hfill, fill_label_hfill and x from Row
246 * lyxtext.h: prepareToPrint returns a RowMetrics
247 * rowPainter.C: adjust
248 * text.C (prepareToPrint): use width, not textWidth. adjust
249 (redoParagraphInternal, cursorX): adjust
250 * text2.C (getColumnNearX): adjust
251 (init): put a default value to the top LyXText::width
253 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
255 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
257 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
259 * lyxtext.h: add FontIterator class
261 * text.C (FontIterator, operator*, operator->, operator++): add
262 (rowBreakPoint, setRowWidth): adjust (fixing a
265 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * BufferView_pimpl.C (workAreaDispatch): allow also
268 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
270 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
272 * text.C (rowBreakPoint): fix a bug showing with very large insets
274 2004-02-25 André Pönitz <poenitz@gmx.net>
277 * cursor.[Ch]: move some mathed specific code to mathed
279 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
282 use_tempdir in preferences
283 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
285 * lyx_main.C: ensure that tempdir is valid
286 * lyxlex.h: correct typo
287 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
288 * paragraph.[Ch] (isMultiLingual): make const
289 * cursor.[Ch] (openable): make const
291 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
293 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
295 2004-02-20 André Pönitz <poenitz@gmx.net>
297 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
299 * cursor.[Ch]: prepare for localized getStatus()
305 * text3.C: streamlines the LyXText cursor movement handlers a bit.
307 2004-02-20 André Pönitz <poenitz@gmx.net>
309 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
311 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
313 * text2.C (setCursorFromCoordinates): switch to absolute coords
316 * text3.C (dispatch): adjust
318 2004-02-16 André Pönitz <poenitz@gmx.net>
320 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
323 * cursor_slice.[Ch]: remove unneeded acessor function
325 * lyxtext.h: rename rtl() to isRTL()
333 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
335 * rowpainter.C (paintSelection): coord fix
337 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * Spacing.C: compile fix
341 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
343 * cursor.C (dispatch): restore current_ before returning
345 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
347 * text2.C (cursorUp, cursorDown): fix coords
350 2004-02-12 André Pönitz <poenitz@gmx.net>
355 * text3.C: add LCursor & parameter to most cursor movement functions
356 remove usage of LyXText::cursorRow() and cursorPar()
358 * cursor.[Ch]: add textRow() needed members
361 * BufferView_pimpl.C:
364 * BufferView_pimpl.C: adjust
366 2004-02-11 André Pönitz <poenitz@gmx.net>
370 * BufferView_pimpl.C: shift undo/redo handling
372 * cursor.[Ch]: fix mathed crash
375 * lyxtext.h: move selectionAsText to LCursor
383 * rowpainter.C: fix excessive drawing
385 2004-02-06 André Pönitz <poenitz@gmx.net>
388 * BufferView_pimpl.[Ch]:
389 * text3.C: move some text specific LFUN handling
391 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
393 * text3.C (checkInsetHit): adjust coords
394 * text2.C (getColumnNearX): adjust coords
395 (edit): adjust coords
396 * text.C (getRowNearY): add two asserts
398 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
401 * format.C: add using std::distance to compile on gcc 2.95/stlport
403 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
405 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
407 2004-02-04 André Pönitz <poenitz@gmx.net>
409 * BufferView.[Ch] (insertInset):
410 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
415 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
417 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
418 on the default clause of the switch
419 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
420 wasn't catched by LCursor::dispatch
422 2004-02-03 André Pönitz <poenitz@gmx.net>
425 * cursor.[Ch]: some additional asserts
427 * undo.[Ch]: remove LyXText dependency in interface
431 * lyxtext.h (firstPar, lastPar): remove dead functions
436 * paragraph.[Ch]: adjust
438 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
440 * lyxfind.C (find): fix argument order in call to ::find
442 2004-02-02 André Pönitz <poenitz@gmx.net>
444 * cursor.[Ch]: remove direct access to anchor
446 * text.C: remove findText() hack
448 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
450 * iterators.[Ch] (lockPath): remove in favour of...
451 * BufferView.[Ch] (setCursor): this addition
452 * BufferView.C (putSelectionAt): adjust
453 * undo.C (performUndoOrRedo): adjust
454 * lyxfunc.C (dispatch): adjust
456 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
458 * iterators.C (lockPath): add a missing slice
459 * undo.C (performUndoOrRedo): remove redundant positioning code
461 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
463 * vc-backend.C (scanMaster): ";" -> ';'
465 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
467 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
470 * lyxtextclass.C (compare_name): rename to...
471 (LayoutNamesEqual): ...this
473 * lyxlex_pimpl.C (compare_tags): inherit from
474 std::binary_function, put back into anon namespace
476 * lyxfind.C (MatchString): inherig from std::binary_function
477 (findChange): use empty() istead of !size()
479 * format.C (FormatNamesEqual): new functor
486 * converter.C (compare_Converter): rename to...
487 (ConverterEqual): ...this, and fixup a bit.
488 (getConverter): use it, and make function const
489 (getNumber): use it, and make function const
493 * bufferlist.C: add using boost::bind
495 * MenuBackend.C (MenuNamesEqual): new functor
496 (hasMenu): use it, and make function const
497 (hasSubmenu): use nested bind to get rid of compare_memfun.
499 2004-01-30 André Pönitz <poenitz@gmx.net>
501 * BufferView_pimpl.C:
512 * text3.C: move some of the edit(x,y) handling to the insets
513 some coordinate changes.
515 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
517 * text.C: add using statements for std::advance and std::distance
519 * paragraph.C: add using statement for std::distance
521 * lyxfind.C: add using statement for std::advance
523 * cursor.C (region): remove std:: from swap
524 (openable): use nucleus in stead of operator->
526 * BufferView.C: add using statements for std::distance and std::swap
528 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
530 * iterators.C: Remove the pimple, move the needed structures to
531 the header file. Create accessor for the positions stack.
532 (asPosIterator): remove function
534 * PosIterator.C (PosIterator): move constructors to top of file
535 (PosIterator): reimplement the constructor taking a ParIterator in
537 (setFrom): new function
538 (operator!=): inline it
540 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
542 * lyxfind.C (replaceAll): use std::advance
544 * iterators.h: inherit from std::iterator.
546 * PosIterator.C (advance, distance): remove
547 * PosIterator.h: interit from std::iterator.
549 2004-01-26 André Pönitz <poenitz@gmx.net>
552 * BufferView_pimpl.[Ch]:
556 * bufferview_funcs.C:
567 * output_plaintext.C:
569 * paragraph_funcs.[Ch]:
570 * paragraph_pimpl.[Ch]:
576 * text3.C: more IU: dumps most of the rest of the mathcursor
577 implementation into cursor.[Ch]; "globalize" a bit of it.
579 2004-01-25 Angus Leeming <leeming@lyx.org>
581 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
583 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
585 * LaTeXFeatures.h: add nice_ and nice() const
586 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
588 2004-01-20 André Pönitz <poenitz@gmx.net>
591 * BufferView_pimpl.C:
593 * bufferview_funcs.C:
606 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
607 LCursor and mathcursor parts to LCursor and InsetBase.
609 2004-01-15 André Pönitz <poenitz@gmx.net>
611 * cursor_slice.[Ch]: add a few covienience functions
613 * funcrequest.[Ch]: remove BufferView * member
615 * BufferView_pimpl.C:
622 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
624 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
626 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
627 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
629 2004-01-13 André Pönitz <poenitz@gmx.net>
632 * lyxtext.h: hide cursor and selection anchor behind accessor function
635 * BufferView_pimpl.[Ch]:
637 * bufferview_funcs.C:
647 * cursor_slice.[Ch]: some integer type changes for inset unification
649 * lyxcursor.[hC]: remove, it's CursorSlice now.
652 * BufferView_pimpl.[Ch]:
653 * bufferview_funcs.C:
659 * textcursor.[Ch]: adjust
661 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
663 * text2.C (undoSpan): add and use
664 * text.C (breakParagraph): use undoSpan (fix bug 578)
667 2004-01-08 Angus Leeming <leeming@lyx.org>
669 * BufferView_pimpl.C (MenuInsertLyXFile):
670 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
671 * lyxfunc.C (menuNew, open, doImport):
672 FileFilterList change to the FileDialog open and save functions.
674 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
676 * ShareContainer.h: make isEqual and isUnique adaptable
678 * CutAndPaste.C: make resetOwnerAndChanges adaptable
680 2004-01-07 Angus Leeming <leeming@lyx.org>
683 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
685 * BufferView_pimpl.C (dispatch): act on these LFUNs.
687 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
688 functions replacing find, replace and replaceAll.
690 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
691 LFUN_WORDFIND(FORWARD|BACKWARD).
693 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
695 * text.C (breakParagraph): remove an outdated #warning
697 2004-01-07 André Pönitz <poenitz@gmx.net>
699 * lyxfind.C: somewhat clearer logic
701 * text.C: prevent crash in cursorX on unitialized row cache
703 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
705 * lyxcursor.[Ch] (operator>): add
706 * textcursor.C (selStart, selEnd): use std::min and std::max
708 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
710 * Chktex.C: include boost/format.hpp
712 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
714 * InsetList.C: replace functor MathcIt with adaptable functor
716 (insetIterator): modify accordingly
718 * BranchList.h: move the BranchNamesEqual functor here from...
719 * BranchList.C: ... to here
721 * BranchList.C: new BranchListEqual fuctor, use it. Remove
723 (add): replace a finding loop with std::find_if.
725 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
727 * output_docbook.C: moving LatexParam functionality into
730 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * buffer.C: increment format to 229.
734 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
737 * lyx_sty.[Ch]: remove minipageindent_def
743 * text3.C: remove LFUN_INSET_MINIPAGE
745 2003-12-28 Angus Leeming <leeming@lyx.org>
747 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
749 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
751 * text2.C (setParagraph): fix off-by-one crash
753 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
755 * output_docbook.C: header stuff for AGU
757 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
759 * text2.C (redoCursor): remove
762 * BufferView_pimpl.C: remove calls to redoCursor and
763 setCursor(cursor.par(), cursor.pos()) all around
765 2003-12-15 Angus Leeming <leeming@lyx.org>
767 * buffer.C: up the format to 228.
769 2003-12-15 André Pönitz <poenitz@gmx.net>
771 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
776 * BufferView_pimpl.C:
785 2003-12-15 Angus Leeming <leeming@lyx.org>
787 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
788 than getFromGUIName to manipulate the color.
790 2003-12-14 Angus Leeming <leeming@lyx.org>
792 * BranchList.[Ch]: minimize the API.
793 (Branch::getBranch, getColor): now return a 'const &'.
794 (Branch::setSelected) now returns a bool set to true if the
795 selection status changes.
796 (BranchList::clear, size, getColor, setColor, setSelected,
797 allBranches, allSelected, separator): removed.
798 (BranchList::find): new functions, returning the Branch with
800 (BranchList::add, remove): return a bool indicating that
801 the operation was successful.
803 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
804 new InsetBranch::isBranchSlected member function.
806 * LColor.[Ch]: mimimize the API.
807 (fill): renamed as addColor and made private.
808 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
809 versions of these functions taking a string arg have been removed.
811 * bufferparams.C (readToken):
812 * lyxfunc.C (dispatch):
813 * lyxrc.C (read): changes due to the altered BranchList and
816 * factory.C (createInset, readInset): changes due to altered
819 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
822 * lyxfunc.C: remove insetminipage. "minipage-insert"
823 now produces a frameless minipage box inset.
825 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
827 * textcursor.[Ch] (selStart,selEnd): add new methods
828 remove selection::start, end, use LyXCursor::operator<
829 * lyxcursor.[Ch] (operator<): add
830 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
831 * BufferView.[Ch] (unsetXSel): add
832 * text2.C (clearSelection): use unsetXSel,adjust
835 * rowpainter.C: adjust
836 * bufferview_funcs.C (put_selection_at): adjust
838 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
840 * BufferView_pimpl.C: small coord. correction
842 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
844 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
845 dragging over the splash screen.
847 2003-12-11 Angus Leeming <leeming@lyx.org>
849 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
850 as it is now handled in LyXText::dispatch.
852 * text3.C (doInsertInset): remove a level of nesting.
854 2003-12-11 Angus Leeming <leeming@lyx.org>
856 * factory.C (createInset): changes due to the changed interface to
857 InsetCommandMailer::string2params.
859 2003-12-10 Angus Leeming <leeming@lyx.org>
861 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
862 'dialog-show-new-inset <inset name>'
864 2003-12-10 Angus Leeming <leeming@lyx.org>
866 * buffer.C: up the format to 227.
868 * factory.C: the box inset is now identified simply by 'Box'.
870 2003-12-10 Angus Leeming <leeming@lyx.org>
872 * buffer.C: up the format to 226.
874 * factory.C: the note inset is now identified simply by 'Note'.
876 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
878 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
879 when a pit is enough. Standarize a couple of loops.
881 2003-12-05 Angus Leeming <leeming@lyx.org>
883 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
884 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
885 data to the re-worked "log" dialog.
887 2003-12-03 André Pönitz <poenitz@gmx.net>
895 * text2.C: use Inset::getText instead of Inset::getParagraph
897 2003-12-03 André Pönitz <poenitz@gmx.net>
901 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
902 InsetText::read() as LyXText::read()
904 2003-12-02 Angus Leeming <leeming@lyx.org>
906 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
907 type. Add a comment in the implementation that the function uses
908 the stream's bad() function rather than fail() as the std::streams
911 2003-12-02 André Pönitz <poenitz@gmx.net>
913 * lyxlex.[Ch]: make interface more similar to std::stream
915 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
917 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
919 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
921 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
923 * vspace.[Ch]: remove VSpace::NONE
925 2003-12-01 André Pönitz <poenitz@gmx.net>
928 * lyxtext.h: move ParagraphList member to LyXText
929 rename LyXText::ownerParagraphs to LyXText::paragraph
932 * bufferview_funcs.C:
942 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
944 * undo.C: fix cursor positioning
946 2003-12-01 John Levon <levon@movementarian.org>
948 * BufferView_pimpl.C: fix a crash on exit with
951 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
953 * BranchList.C: fix setSelected() method.
955 2003-11-28 André Pönitz <poenitz@gmx.net>
957 * ParagraphParameters.[Ch]:
958 * ParameterStruct.h: remove space above/below from Paragraph to
961 * BufferView_pimpl.C:
973 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
975 * factory.C: Syntax change for CharStyles
977 2003-11-28 André Pönitz <poenitz@gmx.net>
982 * buffer.[Ch]: move LyXText member
984 2003-11-28 André Pönitz <poenitz@gmx.net>
986 * BufferView.[Ch]: make LyXText * text a private member
988 * BufferView_pimpl.C:
999 * output_plaintext.C: cleanup
1001 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1004 * lyxtextclass.[Ch]: parametrize SGML document header
1006 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1009 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1012 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1014 * text2.C (setFont): rework using PosIterator (no more recursive)
1015 (setCharFont): no more needed
1016 (setLayout): no more selection cursors fiddling (done by redoCursor)
1017 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1018 destroy remaining ones)
1020 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1022 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1024 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1027 * text3.C: adjust + re-allow multi par depth changes
1028 * textcursor.C: simplify a bit
1030 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1036 * src/output_docbook.C:
1037 * src/output_latex.C:
1042 * src/text2.C: Introducing a number of tags parametrizing various
1043 XML formats that we may want to support
1045 2003-11-25 André Pönitz <poenitz@gmx.net>
1047 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1049 * lyxtext.h (leftMargin/rightMargin): simplify interface
1056 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1059 master file to any child files. Fixes bug 546.
1061 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1063 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1065 2003-11-24 André Pönitz <poenitz@gmx.net>
1067 * rowpainter.C: simplification
1069 * text2.C (updateCounters): remove call to redoParagraph on
1070 changed labels as this is far too expensive.
1072 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1074 * converter.C (convert): fix a crash: this function gets
1075 called with buffer == 0 from importer code.
1077 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1079 * text3.C (cursorPrevious): make sure that we do not compare
1080 iterators form different containers.
1083 * rowpainter.C (paintSelection): make sure that we do not compare
1084 iterators from different containers.
1086 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1087 iterators from different ParagraphList containers.
1090 * text2.C (LyXText): change order of initialization slightly
1091 (operator=): new function. copy all variables except cache_par_
1092 (moveUp): make sure that we do not compare iterators from
1093 different ParagraphList constainers.
1096 * text.C (firstPar): new function
1097 (lastPar): new function
1098 (endPar): new function
1100 * lyxtext.h: move things around and group public functions, public
1101 variables, private functions, private variables
1103 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1105 * factory.C: change call to InsetERT constructor to avoid
1106 additional invocation of method status
1107 * text2.C (toggleInset): remove redundant update() call
1108 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1109 instead of a Bufferview pointer
1111 2003-11-21 André Pönitz <poenitz@gmx.net>
1113 * rowpainter.C: simplification
1115 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1117 * text3.C (dispatch): make possible to extend a word/row selection
1120 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1122 * lyxtext.h: x0_,y0_ -> xo_,yo_
1123 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1124 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1125 * rowpainter.C (paintRows): paint full paragraphs
1127 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1129 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1132 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1134 * lyxtext.h: add x0_, y0_
1135 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1136 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1138 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1140 * text2.C (setCursorIntern): move the x_target update here *
1141 * text3.C: change some bv() to true/false in calls to
1142 cursorUp/Down/Right/Left
1143 * cursor.C: use helper function.
1145 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1147 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1148 * paragraph_funcs.[Ch]: correct comment
1149 * rowpainter.C: do not paint selections away from bv->cursor()
1150 Fix a long standing selection painting bug.
1151 * text3.C: generalize mouse-selection code to LyXTexts other that
1153 * textcursor.C: do not use y coords if we can use par offsets
1155 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1157 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1158 cursor position after e.g. inset insert)
1160 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1162 * lyxfind.C (replace): adjust to locking removal + some
1165 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1167 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1170 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1173 * output_docbook.C: XML sanitation: new layout
1174 parameters InnerTag and CommandDepth
1176 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1178 * BufferView_pimpl.C:
1180 * text3.C: Fix the insertion and modification of button-style
1183 2003-11-13 André Pönitz <poenitz@gmx.net>
1185 * InsetList.[Ch]: remove deleteLyXText
1187 * paragraph.[Ch]: cache beginOfBody position
1192 * text3.C: remove superfluous update() calls
1196 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1198 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1199 * BufferView.C (fitLockedInsetCursor): remove
1200 * cursor.[Ch] (getDim): add
1201 * text.C (getRowNearY): add faster version
1202 * text3.C: remove some update calls
1204 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1216 * text3.C: The Character Style /XML short element patch.
1218 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1221 * factory.C: Small step to solving 'unable to insert some insets'
1224 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1226 * cursor.[Ch] (updatePos): new function for updating the y
1227 position of the tip inset
1228 * bufferview_funcs.C (put_selection_at):
1229 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1231 2003-11-11 André Pönitz <poenitz@gmx.net>
1233 * text.C: remove big comment on invalid Paragraph pointers as it is
1236 2003-11-11 André Pönitz <poenitz@gmx.net>
1238 * text_funcs.[Ch]: merge with ...
1246 * Makefile.am: remove text_funcs.[Ch]
1248 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1250 * cursor.C (getPos): return absolute cached y coord
1252 * BufferView_pimpl.C (fitCursor): new simplistic code
1253 (workAreaDispatch): add a fitCursor call
1255 2003-11-10 André Pönitz <poenitz@gmx.net>
1258 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1260 2003-11-10 André Pönitz <poenitz@gmx.net>
1262 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1263 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1264 indicate that the cursor needs to leave an inset
1266 * lyxtext.h: remove inset locking
1268 * cursor.[Ch]: re-implement functionality provided by inset locking
1271 * BufferView_pimpl.[Ch]:
1273 * bufferview_funcs.[Ch]:
1285 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1287 * PosIterator.[Ch]: replace the stack with a vector, add inset
1289 * iterators.[C]: adjust
1291 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1293 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1295 * paragraph_funcs.C (readParToken): put the correct id in the
1296 error item, not the id of the top paragraph
1298 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1300 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1301 * bufferview_funcs.C (put_selection_at): use the above
1303 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1305 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1307 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * output_linuxdoc.h:
1310 * output_plaintext.h:
1312 * output_docbook.h: add #include statements
1314 2003-11-05 José Matos <jamatos@lyx.org>
1316 * output_docbook.[Ch]:
1317 * output_latex.[Ch]:
1318 * output_linuxdoc.[Ch]:
1319 * output_plaintext.[Ch]: New files for output formats.
1320 * output.[Ch]: New file for helper functions.
1323 * paragraph_funcs.[Ch]: output functions moved to new files.
1325 * outputparams.h: rename of latexrunparams.h
1333 * paragraph_funcs.[Ch]:
1334 * paragraph_pimpl.[Ch]:
1335 * tabular.[Ch]: rename ascii to plaintext
1336 and LatexRunParams to OutputParams.
1338 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1340 * iterators.[Ch] (text): require bv argument
1341 * undo.C (recordUndo):
1342 * lyxfunc.C (dispatch):
1343 * bufferview_funcs.C (put_selection_at): adjust
1345 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1347 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1349 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1351 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1354 2003-11-04 André Pönitz <poenitz@gmx.net>
1356 * cursor.[Ch]: restructure
1359 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1361 * iterators.[Ch] (asCursor): remove
1363 * lfuns.h: remove LFUN_INSET_EDIT
1369 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1371 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1373 * lyxfind.[Ch]: complete overhaul
1374 * BufferView_pimpl.C:
1376 * paragraph.[Ch] (insert): add
1378 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1382 * text.C: remove dead spellcheck code
1384 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * dispatchresult.h: add a val setter
1388 * cursor.C (dispatch): use a tempvar for data_[i]
1390 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1392 * PosIterator.[Ch]: compile fix
1394 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1396 * text.C (cursorPar): deactivate the cursor cache
1398 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1400 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1402 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * text3.C (dispatch): adjust for new DisptchResult semantics.
1406 * lyxfunc.C (dispatch): handle update when return from
1407 Cursor::dispatch, adjust for new DispatchResult semantics.
1409 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1410 DispatchResult(true) mean to not update. Add class functions for
1411 setting dispatched and update, as well as reading.
1413 * cursor.C (dispatch): don't handle update here
1415 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1418 * trans_mgr.C: adjust
1420 * paragraph_funcs.C (readParToken): exception safety
1422 * lyxvc.h: store the vcs pointer in a scoped_ptr
1425 * lyxsocket.C (serverCallback): exception safety
1427 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1429 * ispell.C (clone): make it return a auto_ptr
1431 * factory.C (createInset): exception safety
1432 (readInset): exception safety
1434 * bufferlist.C (newBuffer): exception safety
1436 * Thesaurus.C (Thesaurus): use initialization for aik_
1438 * MenuBackend.C (expandToc): exception safety.
1440 2003-11-03 André Pönitz <poenitz@gmx.net>
1444 * bufferview_funcs.C: remove getInsetFromId()
1447 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1453 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1455 * PosIterator.C (distance, advance): new
1456 * bufferview_funcs.[Ch] (put_selection_at): new
1457 * iterators.[Ch] (lockPath): new
1459 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1461 * iterators.[Ch] (asPosIterator): added
1462 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1463 * PosIterator.[Ch]: added
1465 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * cursor.C (dispatch):
1470 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1472 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1473 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1474 contructor, add a class function dispatched. Remove operator>=
1476 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * debug.C: only use the default constructor for debugstream
1481 * main.C (main): include debug.h and setup the lyxerr streambuf
1484 2003-10-31 José Matos <jamatos@lyx.org>
1486 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1488 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1489 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1490 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1491 * paragraph_pimpl.C (simpleTeXSpecialC):
1492 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1493 add LatexRunParams argument.
1495 * exporter.C (Export): change call accordingly.
1497 * latexrunparams.h: add new member to take care of the other backends.
1498 2003-10-30 José Matos <jamatos@lyx.org>
1500 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1501 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1502 factorise code for paragraph output.
1504 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1507 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * text3.C (dispatch):
1510 * lyxfunc.C (dispatch):
1511 * cursor.C (dispatch):
1512 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1514 * dispatchresult.h: make the dispatch_result_t ctor explicit
1516 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1519 * buffer.C: small refactoring of docbook stuff
1521 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1523 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1526 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1529 operator dispatch_result_t, and operators for == != and >=
1531 * cursor.C (dispatch): adjust for operator dispatch_result_t
1532 removal. comment out call to update
1534 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1536 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1547 * dispatchresult.h: new file, DispatchResult broken out of
1550 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1552 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1554 * text.C (rowBreakPoint): put a hack inside #if 0
1556 2003-10-28 André Pönitz <poenitz@gmx.net>
1560 * paragraph_funcs.C:
1563 * text2.C: general cleanup (lots of small stuff)
1565 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1567 * text2.C (cursorEnd): simple fix to the "end key goes to one
1568 before the end on last row" bug
1570 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1572 * text.C (backspace): fix the "zombie characters"
1574 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1576 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1578 2003-10-27 André Pönitz <poenitz@gmx.net>
1580 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1582 * factory.C: handle new InsetPagebreak, InsetLine
1584 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1585 and move handling into new InsetPagebreak, InsetLine
1587 * BufferView_pimpl.C:
1589 * ParagraphParameters.C:
1590 * ParameterStruct.h:
1595 * paragraph_funcs.C:
1596 * paragraph_pimpl.C:
1602 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1605 * lyxrow_funcs.[Ch]:
1611 * text3.C: remove lastPos uses in favour of Row::endpos
1613 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1615 * undo.C (performUndoOrRedo): fix two crashes by setting a
1616 cursor by hand and reordering some calls. Use bv->lockInset instead
1617 of inset->edit because the latter loses cursor information
1619 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1621 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1623 (rowBreakPoint): fix width. change point to point + 1.
1624 Add a missing check.
1626 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1629 * lyxfunc.C: fix (at least partly) the problems
1630 with the Nav menu and headers inside branch insets
1633 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1635 * paragraph.C (getChar): add strong asserts
1637 * lyxrow_funcs.C (lastPos): remove hideous hack
1639 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1640 (fill): adjust to that (avoid an infinite loop)
1642 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1644 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1646 2003-10-23 André Pönitz <poenitz@gmx.net>
1648 * RowList_fwd.h: change list<> to vector<> to gain speed
1649 after suggestion from Alfredo
1651 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1653 * lyxtext.h: move the bidi stuff from here...
1656 * Bidi.[Ch]: ... to here
1658 2003-10-23 André Pönitz <poenitz@gmx.net>
1661 * text.C (isLastRow, isFirstRow): new functions
1663 * paragraph.h: new width cache member
1665 * rowpainter.C: replace RowList::iterator with Row & where possible
1667 * lyxfunc.C: replace several view()->text with a single call
1669 * toc.C: fix 'unused' warning
1671 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1674 when woring with stream::pos_type
1675 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1677 2003-10-22 André Pönitz <poenitz@gmx.net>
1680 * text.C: use Row & instead of RowList::iterator
1682 * lyxrow.h: rename end() to endpos()
1688 2003-10-22 Angus Leeming <leeming@lyx.org>
1690 * buffer.[Ch] (fully_loaded): new member function, returning true
1691 only when the file has been loaded fully.
1692 Used to prevent the premature generation of previews and by the
1693 citation inset to prevent computation of the natbib-style label.
1695 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1696 templates are all set up.
1698 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1700 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1702 * text.C: fixed an "oops" in the "is a bit silly"
1705 2003-10-21 André Pönitz <poenitz@gmx.net>
1707 * FuncStatus.[Ch]: small stuff, whitespace
1709 * lyxfont.[Ch]: operator<<() for debug reasons
1713 * lyxtext.h: whitespace, spelling
1715 * paragraph.C: naming of variables
1718 * text2.C: small stuff
1721 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1723 * text.C: (1) finish off the inset display() work;
1724 (2) fix the "is a bit silly" bug (accessing char
1727 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1729 * text.C: re-introduce display() for insets, fixing the
1730 various bugs (stretch of line above, math inset
1733 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * text.C (rightMargin): remove spurious semicolon
1737 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1740 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1742 * text3.C: fix one crash due to wrong cursor def
1744 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * vc-backend.C (scanMaster): make the regex static
1748 * LaTeX.C (scanAuxFile): make the regexs static
1750 * text3.C (doInsertInset, dispatch, dispatch):
1751 * text2.C (cursorUp, cursorDown):
1752 * text.C (selectNextWordToSpellcheck):
1753 * BufferView_pimpl.C (dispatch):
1754 * lyxfunc.C (dispatch): localDispatch -> dispatch
1756 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1758 * lyxsocket.C: include <cerrno>
1760 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * lyxfunc.C (dispatch): remove textcache stuff
1764 * bufferlist.C (release): remove textcache stuff
1767 * TextCache.C: delete file
1768 * TextCache.h: delete file
1770 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1772 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1773 delete of the bv_->text.
1774 (resizeCurrentBuffer): remove texcache stuff
1775 (workAreaResize): ditto
1777 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1782 2003-10-16 André Pönitz <poenitz@gmx.net>
1789 * text3.C: speed up by storing y positions per paragraph plus per-row
1790 offset instead of having a 'full' y position in the row.
1792 2003-10-15 André Pönitz <poenitz@gmx.net>
1796 * undo.[Ch]: make undo aware of inner insets
1798 2003-10-14 Angus Leeming <leeming@lyx.org>
1800 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1801 static member functions LyX::ref() and LyX::cref.
1802 (lastfiles): new accessor functions for the new lastfiles_ member var.
1803 (addLyXView, views_): add a new LyXView to the list of views_.
1804 (updateInset): loop over all LyXViews to call their own updateInset
1805 member function, returning a pointer to the Buffer owning the inset.
1807 * BufferView_pimpl.C (loadLyXFile):
1808 * MenuBackend.C (expandLastfiles):
1809 * bufferlist.C (MenuWrite, QuitLyX):
1810 lastfiles is no longer a global variable.
1811 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1813 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1814 static function. Access through LyX::cref().emergencyCleanup().
1816 2003-10-14 André Pönitz <poenitz@gmx.net>
1818 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1820 * undo.[Ch]: restoring part of 'undo in insets'
1823 * undo_funcs.[Ch]: merge with undo.[Ch]
1825 * tabular.C: small cleansing stuff
1827 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1829 * paragraph_funcs.C (readParToken): report unknown insets as error
1830 boxes. Use the outer paragraph as location (also for unknown
1833 * factory.C (readInset): do not abort on reading an unknown inset.
1834 Eat it and return 0.
1836 2003-10-13 Angus Leeming <leeming@lyx.org>
1838 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1840 * lyxrc.C: displayTranslator is now a function,
1841 declared in GraphicsTypes.h.
1843 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1845 * format.C: new placeholder $$a to pass the socket address.
1847 * bufferlist.[Ch]: new function getBufferFromTmp.
1849 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1850 files in the temporary dir.
1852 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1854 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1856 * Makefile.am: add lyxsocket.[Ch].
1858 * lyx_main.C (error_handler): handle SIGPIPE.
1860 2003-10-13 André Pönitz <poenitz@gmx.net>
1862 * BufferView_pimpl.C:
1867 * undo_funcs.[Ch]: use paroffset_type instead of
1868 ParagraphList::iterators to prevent multiple conversion
1869 (and get a more robust interface)
1871 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1875 * text3.C (dispatch): ditto
1877 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1880 move the onlyfile, use onlyfile instead of foundfile in a couple
1883 * DepTable.C (update): flush the error stream a bit more
1885 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * lyxserver.C (callback): adjust
1889 * lyxfunc.C (getStatus): add a missing brace in commented code
1890 (ensureBufferClean): reindent
1891 (dispatch): delete version taking a string
1893 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * LaTeX.C (deplog): move found file handlig from here...
1896 (handleFoundFile): .. to new function here.
1897 (deplog): make sure to discover several files mentioned on the
1900 2003-10-10 André Pönitz <poenitz@gmx.net>
1907 * text3.C: fix some of the tabular crashes
1909 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1911 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1913 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1915 2003-10-09 André Pönitz <poenitz@gmx.net>
1917 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1920 * BufferView_pimpl.C:
1921 * bufferview_funcs.C:
1932 * undo_funcs.C: adjust
1934 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * text2.C (incrementItemDepth): new function, use a backtracking
1937 algorithm to discover the correct item depth.
1938 (resetEnumCounterIfNeeded): new function, use a backtracking
1939 algorithm to discover if counter reset is needed.
1940 (setCounter): use them. Simplify a bit. Add different labels for
1941 different item depths for itemize.
1943 * paragraph.C (Paragraph): remove initialization of enumdepth
1946 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1947 enumerate and itemize. Change the type of itemdepth to signed char.
1949 2003-10-08 André Pönitz <poenitz@gmx.net>
1951 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1956 * tabular.[Ch]: fix crash after 'row-insert'
1958 2003-10-08 Angus Leeming <leeming@lyx.org>
1960 Fix doxygen warnings.
1962 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1963 Remove CutAndPaste:: prefix from header file declaration.
1965 * LColor.h (fill): remove LColor:: prefix from declaration.
1967 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1968 use lyx::depth_type rather than Paragraph::depth_type so that
1969 header file and .C file match.
1971 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1973 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1974 * aspell.C: \file aspell_local.C -> \file aspell.C
1975 * gettext.C: \file gettext.C -> \file src/gettext.C
1976 * gettext.h: \file gettext.h -> \file src/gettext.h
1977 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1978 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1979 * text.C: \file text.C -> \file src/text.C
1981 * toc.C: move comment so that doxygen is not confused.
1983 2003-10-07 Angus Leeming <leeming@lyx.org>
1985 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1987 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1990 * aspell_local.h: add forgotten std::string's.
1992 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1999 * text3.C: The Box patch. Fancybox support, minipage, parbox
2001 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2007 * ParagraphParameters.h:
2017 * lyxtextclasslist.h:
2020 * paragraph_pimpl.C:
2021 * textcursor.h: add <string> and other small fixes to make Lars'
2022 std::string patch compile with STLport.
2024 2003-10-06 Angus Leeming <leeming@lyx.org>
2026 * LColor.h: Add missing #include <string>.
2028 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * All most all file in all subdirs: Make <string> be the prefered
2031 way of getting to std::string, add using declarations.
2033 2003-10-06 André Pönitz <poenitz@gmx.net>
2035 * metricsinfo.C: initialize LyXFont before changing attribute.
2036 (fixes the 'math in \emph is upright' bug)
2038 2003-10-06 André Pönitz <poenitz@gmx.net>
2040 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2042 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2045 * paragraph_pimpl.C: Small fixes to build using STLport
2047 2003-10-02 André Pönitz <poenitz@gmx.net>
2050 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2052 2003-10-01 André Pönitz <poenitz@gmx.net>
2054 * factory.C: assert early
2056 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * lyx_main.C: remove the global debug object
2060 * debug.h: adjust for new debugstream
2062 * debug.C: adjust for new debugstream and keep the global debug
2065 2003-09-22 Angus Leeming <leeming@lyx.org>
2067 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2068 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2069 an incomplete class LyXFont.
2071 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2073 * factory.C: bug fix in branches
2075 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * lyxfunc.C (processKeySym): adjust
2079 (dispatch): change arg name from ev to func, adjust
2080 (sendDispatchMessage): ditto
2082 * lyx_main.C (defaultKeyBindings): adjust keybindings
2083 (deadKeyBindings): ditto
2085 * kbsequence.C (addkey): return a FuncRequest
2087 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2089 * kbmap.C (bind): take a FuncRequest as arg, adjust
2092 (defkey): change to take a FuncRequest as arg, adjust
2093 (findbinding): take a FuncRequest as arg, adjust.
2095 * funcrequest.h (operator=): added
2097 * funcrequest.C (FuncRequest): default kb_action changed from
2098 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2100 * buffer.C (dispatch): simplify
2101 (dispatch): adjust to take a FuncRequest as arg, adjust
2103 * boost.C (assertion_failed): change assertion message slightly
2105 * ToolbarBackend.C (read): simplify
2107 * MenuBackend.C (binding): adjust call to findbinding, add a
2108 message if no binding is found.
2110 (expandToc): correct by adding a empty FuncRequest
2112 * LyXAction.C: include <boost/assert.hpp>
2113 (isPseudoAction): delete function
2114 (LookupFunc): change name to...
2115 (lookupFunc): this. change return type to FuncRequest.
2116 (getActionName): take kb_action as arg, simplify
2117 (funcHasFlag): add an assert, simplify.
2119 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2121 * toc.C (action): return a FuncRequest, simplify
2123 * lyxfunc.C (processKeySym): adjust
2124 (getStatus): delete version that takes an int.
2126 (dispatch): delete version that takes action as int
2128 (sendDispatchMessage): simplify and adjust
2130 * funcrequest.C (getArg): take unsigned int as arg
2132 * ToolbarBackend.C (read): adjust
2133 (add): delete version that takes func as a string.
2134 (getIton): take a FuncRequest as arg
2136 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2139 * MenuBackend.C (MenuItem): add a new construct that only takes a
2140 Kind, simplify the constructor use for submenus.
2142 (expandLastfiles): adjust
2143 (expandDocuments): adjust
2144 (expandFormats): adjust
2145 (expandFloatListInsert): adjust
2146 (expandFloatInsert): adjust
2147 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2149 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2150 Remove class variables lyx_pseudo_map and lyx_arg_map
2152 * LyXAction.C (searchActionArg): delete function
2153 (getPseudoAction): delete function
2154 (retrieveActionArg): delete function
2155 (LookupFunc): make it return kb_action, simplify.
2156 (getActionName): simplify
2158 * factory.C (createInset): fix new bug
2160 2003-09-19 Angus Leeming <leeming@lyx.org>
2162 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2163 masterFilename_ parameter in the include inset.
2165 * factory.C (createInset): changes due to the changes to InsetInclude.
2167 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2169 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2171 2003-09-18 Angus Leeming <leeming@lyx.org>
2174 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2175 Inset::fillWithBibKeys.
2176 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2178 2003-09-18 Angus Leeming <leeming@lyx.org>
2180 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2182 (ctor): pass and store a 'Buffer const &'
2183 (buffer): new member function.
2185 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2186 '*this' to the LaTeXFeatures ctor.
2188 2003-09-18 Angus Leeming <leeming@lyx.org>
2194 * text.C: rename EnumLColor as LColor_color.
2196 2003-09-18 Angus Leeming <leeming@lyx.org>
2198 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2199 remove #include "insets/insetbase.h" from cursor.h.
2201 2003-09-18 Angus Leeming <leeming@lyx.org>
2203 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2204 InsetOld_code to remove #include "inset.h".
2206 * iterators.C: add #include "insets/inset.h"
2208 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2210 * BufferView.C: remove more locking stuff that apparently doesn't
2211 do anything sensible.
2213 2003-09-16 André Pönitz <poenitz@gmx.net>
2216 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2219 2003-09-16 Angus Leeming <leeming@lyx.org>
2221 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2223 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2226 * paragraph.h: remove #include "lyxfont.h". Forward declare
2229 2003-09-16 Angus Leeming <leeming@lyx.org>
2231 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2232 of support/textutils.h.
2233 (isWord): move the contents of support/textutils.h's IsWordChar here.
2239 * text2.C: add #include "paragraph.h".
2242 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2244 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * LaTeX.C: use namespace alias for lyx::support::os
2252 2003-09-16 Angus Leeming <leeming@lyx.org>
2255 * bufferview_funcs.C:
2258 * paragraph_pimpl.C:
2260 * text.C: add #include "LColor.h".
2262 2003-09-16 Angus Leeming <leeming@lyx.org>
2264 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2265 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2267 Store the FontBits::color variable as an int rather than as an
2268 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2271 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2272 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2273 string calls together.
2275 * lyxrc.C: add #include "LColor.h".
2277 2003-09-15 Angus Leeming <leeming@lyx.org>
2279 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2282 2003-09-15 Angus Leeming <leeming@lyx.org>
2284 * LColor.h: add an EnumLColor wrapper for LColor::color.
2286 * lyxfont.[Ch] (color, setColor, realColor):
2287 * lyxtext.h, text.C (backgroundColor):
2288 pass EnumLColor args to/from the functions, rather than LColor::color
2292 * lyxtext.h: forward declare EnumLColor.
2294 * lyx_main.C: add #include "LColor.h".
2296 2003-09-15 Angus Leeming <leeming@lyx.org>
2298 * .cvsignore: add lyx-gtk.
2300 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * ParagraphParameters.C
2309 * bufferview_funcs.C
2319 * vc-backend.C: remove usage of STRCONV
2321 2003-09-15 Angus Leeming <leeming@lyx.org>
2323 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2324 explicitly define the color passed to the painter.
2326 2003-09-15 Angus Leeming <leeming@lyx.org>
2328 * bufferparams.C (BufferParams): reorder member initializers to avoid
2331 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2333 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2334 * text.C (updateRowPositions): remove an unusual nop
2336 2003-09-12 André Pönitz <poenitz@gmx.net>
2338 * BufferView_pimpl.C:
2347 * Counters.[Ch]: finish the 'automatic counters' job
2349 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2351 * aspell.C: include <boost/assert.cpp> (compile fix)
2353 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2355 * boost.C (assertion_failed): use lyx::support::abort instead of
2358 2003-09-10 Angus Leeming <leeming@lyx.org>
2360 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2361 with their _fwd progeny.
2363 2003-09-09 Angus Leeming <leeming@lyx.org>
2365 134 files throughtout the source tree: replace 'using namespace abc;'
2366 directives with the appropriate 'using abc::xyz;' declarations.
2368 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2370 * boost.C (emergencyCleanup): moved here from LAssert.c
2371 (assertion_failed): new function, called by BOOST_ASSERT
2373 * several files: change Assert to BOOST_ASSERT
2375 2003-09-09 Angus Leeming <leeming@lyx.org>
2377 * buffer.[Ch]: Add an Impl class and move Buffer's member
2378 variables into it. As a result move several header files out of
2381 Add header files to lots of .C files all over the tree as a result.
2383 2003-09-09 Angus Leeming <leeming@lyx.org>
2385 * buffer.[Ch]: make Buffer's member variables private. Add
2388 Lots of changes all over the tree as a result.
2390 2003-09-08 Angus Leeming <leeming@lyx.org>
2392 * graph.C: #include <config.h>.
2394 2003-09-08 Angus Leeming <leeming@lyx.org>
2398 * BufferView_pimpl.C:
2427 * toc.C: remove redundant using directives.
2429 2003-09-07 Angus Leeming <leeming@lyx.org>
2431 * LaTeXFeatures.h: remove #include "support/types.h".
2432 * ToolbarBackend.h: remove #include <algorithm>.
2433 * changes.h: remove #include <ctime>.
2434 * debug.h: remove #include <iosfwd>.
2435 * graph.h: remove #include "support/std_string.h".
2436 * lyx_main.h: remove #include <csignal>.
2437 * lyxlex_pimpl.h: remove #include <fstream>.
2438 * sgml.h: remove #include <algorithm>, <utility>.
2439 * toc.h: remove #include "support/std_ostream.h".
2440 Add #include <iosfwd>.
2442 2003-09-07 Angus Leeming <leeming@lyx.org>
2444 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2446 * converter.h: forward declare LatexRunParams.
2447 * encoding.h: remove #include "lyxrc.h".
2448 * lyxtext.h: remove #include "LColor.h".
2449 * lyxtextclass.h: remove #include "support/types.h".
2450 * trans.h: remove #include "tex-accent.h".
2451 * trans_mgr.h: remove #include "tex-accent.h".
2452 * insets/inset.h: remove #include "support/types.h", <vector>.
2453 * insets/insetcollapsable.h: remove #include "LColor.h".
2454 * insets/insetinclude.h: remove #include "dimension.h".
2455 * insets/insetlatexaccent.h: remove #include "dimension.h".
2456 * insets/insetoptarg.h:: remove #include "insettext.h".
2457 * insets/insettext.h: remove #include "dimension.h",
2458 <boost/shared_ptr.hpp>
2460 * insets/renderers.h: add #include "dimension.h".
2461 * insets/updatableinset.h: add #include "support/types.h".
2463 * many .C files: Associated changes.
2465 2003-09-06 Angus Leeming <leeming@lyx.org>
2467 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2468 one, inside testInvariant.
2470 * PrinterParams.C: new file.
2471 * PrinterParams.[Ch]: move the function bodies out of line.
2473 2003-09-06 Angus Leeming <leeming@lyx.org>
2475 * ParagraphParameters.h: forward declare ParameterStruct rather than
2476 including its header file.
2477 (depth): moved out-of-line.
2479 2003-09-06 Angus Leeming <leeming@lyx.org>
2481 * BufferView_pimpl.h:
2484 * lyxfunc.h: forward declare LyXKeySym rather than
2485 #include "frontends/LyXKeySym.h".
2487 * BufferView_pimpl.C:
2490 * lyxfunc.C: associated changes.
2492 2003-09-06 Angus Leeming <leeming@lyx.org>
2494 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2495 As a result, can remove the #include "insets/inset.h" from BufferView.h
2497 2003-09-06 Angus Leeming <leeming@lyx.org>
2499 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2500 As a result, can remove the #include "insets/inset.h" from BufferView.h
2502 2003-09-06 Angus Leeming <leeming@lyx.org>
2508 * bufferview_funcs.C:
2509 * BufferView_pimpl.C:
2514 * ParagraphParameters.C:
2519 * frontends/controllers/ControlDocument.C:
2520 * insets/insetcaption.C: rearrange the #includes into some sort of
2523 * buffer.h: remove #includes ErrorList.h, undo.h
2525 2003-09-06 Angus Leeming <leeming@lyx.org>
2527 * support/types.h: add a 'depth_type' typedef, used to store the
2528 nesting depth of a paragraph.
2531 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2532 defining explicitly.
2535 * paragraph_funcs.h:
2536 * ParagraphParameters.h:
2537 * sgml.h: use lyx::depth_type rather than Paragraph or
2538 ParameterStruct's depth_type.
2541 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2544 * BufferView_pimpl.C:
2546 * ParagraphParameters.C:
2549 * bufferview_funcs.C:
2556 * frontends/LyXView.C:
2557 * frontends/controllers/ControlDocument.C:
2558 * frontends/controllers/ControlErrorList.C:
2559 * insets/insetbibitem.C:
2560 * insets/insetbranch.C:
2561 * insets/insetcaption.C:
2562 * insets/insetcollapsable.C:
2563 * insets/insetenv.C:
2564 * insets/insetert.C:
2565 * insets/insetfloat.C:
2566 * insets/insetfoot.C:
2567 * insets/insetfootlike.C:
2568 * insets/insetnewline.C:
2569 * insets/insetquotes.C:
2570 * insets/insettabular.C:
2571 * insets/insettext.C:
2572 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2574 * frontends/controllers/ControlChanges.C: #include "changes.h".
2576 2003-09-06 Angus Leeming <leeming@lyx.org>
2578 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2579 than #including paragraph.h.
2582 * RowList.h: deleted. Superfluous.
2592 * insets/insettext.h: use ParagraphList_fwd.h rather than
2595 * paragraph.h: don't forward declare ParagraphList.
2598 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2599 rather than ParagraphList.h. paragraph.h is still needed for the
2600 Paragraph::depth_type parameters.
2602 * textcursor.h: enable it to compile stand-alone in light of the
2605 * bufferview_funcs.C:
2617 * frontends/controllers/ControlParagraph.C:
2618 * frontends/controllers/ControlTabular.C:
2619 * insets/insetmarginal.C:
2620 * insets/insetminipage.C:
2621 * insets/insetnote.C:
2622 * insets/insetoptarg.C: add header files needed to compile again.
2624 2003-09-06 Angus Leeming <leeming@lyx.org>
2626 * RowList_fwd.h: new file, forward-declaring Row rather than
2627 #including lyxrow.h.
2632 * insets/insettext.h: use it instead of RowList.h
2634 * bufferview_funcs.C:
2641 * text3.C: #include "RowList.h".
2643 2003-09-05 Angus Leeming <leeming@lyx.org>
2645 * factory.C (createInset):
2646 * vspace.C (c-tor): replace sscanf call with an istringstream.
2647 * ispell.C: re-add missing HP/UX headers.
2648 * lyxserver.C: re-add missing os2 headers.
2650 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2659 * text3.C: re-add missing system headers, needed for 2.95.2.
2661 2003-09-05 Angus Leeming <leeming@lyx.org>
2663 Changes most place everywhere due to the removal of using directives
2664 from support/std_sstream.h.
2666 2003-09-05 Angus Leeming <leeming@lyx.org>
2668 Replace LString.h with support/std_string.h,
2669 Lsstream.h with support/std_sstream.h,
2670 support/LIstream.h with support/std_istream.h,
2671 support/LOstream.h with support/std_ostream.h.
2673 Changes resulting throughout the tree.
2675 2003-09-05 Angus Leeming <leeming@lyx.org>
2677 * sgml.h: ensure that the header file can be compiled stand-alone.
2678 * *.C: strip out redundant #includes. (320 in total.)
2680 2003-09-04 Angus Leeming <leeming@lyx.org>
2682 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2683 here (from getPackages).
2685 * debug.[Ch]: add a new EXTERNAL tag.
2687 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2689 * text2.C (cursorEnd): simplify
2691 (getColumnNearX): adjust
2693 * text.C (computeBidiTables): adjust
2696 * rowpainter.C (paintChars): adjust
2697 (paintSelection): adjust
2698 (paintChangeBar): adjust
2701 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2703 (numberOfSeparators): adjust
2705 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2711 * text3.C: Restricts the mouse click functionality
2712 of insets like bibtex, include, toc and floatlist to the visible
2713 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2714 up the dialogs. Cursor has to be in front of the inset (i.e.
2715 start of row) for this to function.
2717 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2719 * bufferview_funcs.C (currentState): output row information
2721 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2723 * bufferview_funcs.C (currentState): output paragraph position
2725 2003-09-04 Angus Leeming <leeming@lyx.org>
2727 * FloatList.h: move out #include "Floating.h".
2728 * LaTeX.h: move out #include "DepTable.h".
2729 * LyXAction.h: move out #include "funcrequest.h".
2730 * buffer.h: move out #include "author.h", "iterators.h".
2731 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2732 * lyx_main.h: move out #include "errorlist.h".
2733 * lyxfunc.h: move out #include "FuncStatus.h".
2734 * lyxtext: move out #include "lyxcursor.h".
2735 * paragraph_pimpl.h: move out #include "counters.h".
2737 2003-09-03 Angus Leeming <leeming@lyx.org>
2739 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2740 preamble_snippets list, enabling us to add snippets to the preamble
2741 only if the snippet was not there already.
2743 2003-09-04 Angus Leeming <leeming@lyx.org>
2745 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2747 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2752 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2754 * BranchList.C: point fix, earlier forgotten
2756 2003-09-02 Angus Leeming <leeming@lyx.org>
2758 * box.C (contains): renamed from 'contained' after a fantastic
2761 2003-09-02 John Levon <levon@movementarian.org>
2767 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2769 2003-09-02 John Levon <levon@movementarian.org>
2771 * text2.C: simplification of cursorEnd(), including partial
2774 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * buffer.C (readFile): add a space
2778 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2780 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2782 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * buffer.C (readFile): new function, take a filename and a
2785 ParagraphList::iterator
2787 (readFile): adjust, make it private. don't use setStream, make
2788 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2789 always contain the filename.
2791 * BufferView.C (insertLyXFile): simplify and make it work for
2794 2003-08-30 John Levon <levon@movementarian.org>
2796 * Makefile.am: fix dist (from Kayvan)
2798 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * most files: change to use const Buffer refs
2802 2003-08-27 André Pönitz <poenitz@gmx.net>
2804 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2805 on top of ownerPar().
2807 2003-08-27 John Levon <levon@movementarian.org>
2809 * funcrequest.C: properly initialise POD members
2811 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2813 * lyxtext.h (top_y): move top_y from here
2818 * BufferView_pimpl.[Ch]: to here
2819 * frontends/screen.C:
2820 * insets/insettabular.C:
2821 * insets/insettext.C: adjust
2822 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2824 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2827 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2829 2003-08-26 André Pönitz <poenitz@gmx.net>
2831 * paragraph_func.[Ch] (outerPar): new function
2834 * paragraph_funcs.C:
2835 * paragraph_funcs.h:
2836 * paragraph_pimpl.C:
2837 * text2.C: remove Inset::par_owner
2839 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2844 * text2.C: eliminates the needFullRow/display() stuff
2845 altogether, putting the logic in metrics/draw in the insets.
2847 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2849 * text2.C (redoParagraphInternal, redoParagraphs):
2850 * text.C (redoParagraph): add a call to updateRowPositions at the
2851 end of each 'metrics-like' call. Remove all others.
2852 (getRow): remove the 'y-computing' version.
2853 (getRowNearY): do not compute nor return the real y. Solve the
2854 'y < 0' problem and simplify.
2856 2003-08-22 Angus Leeming <leeming@lyx.org>
2858 * *.[Ch]: clean-up of licence and author blurbs.
2859 Also move config.h out of a few .h files and into a few .C files.
2861 2003-08-22 André Pönitz <poenitz@gmx.net>
2863 * lyxrow.[Ch]: add x_ and *fill_ members
2868 * text2.C: adjust/remove prepareToPrint() calls
2870 2003-08-22 André Pönitz <poenitz@gmx.net>
2872 * lyxrow.[Ch]: add end_ member
2874 * lyxrow_funcs.C: use LyXRow::end_
2876 * lyxtext.h (singleWidth): add LyXFont parameter
2879 * text2.C: adjust LyXText::singleWidth() calls
2881 * text.C (redoParagraph): simplify row breaking logic
2884 2003-08-19 André Pönitz <poenitz@gmx.net>
2886 * funcrequest.C: initialize button_ member
2889 * rowpainter.[Ch]: interface consolidation
2891 2003-08-18 André Pönitz <poenitz@gmx.net>
2894 * BufferView_pimpl.C:
2896 * paragraph_funcs.C:
2898 * text3.C: remove LyXScreen::draw() and fitCursor calls
2900 * BranchList.h: remove spurious semicolons
2902 * MenuBackend.C: fix branchlist related crash
2904 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2912 * bufferparams.[Ch]:
2916 * text3.C: implements the 'branch inset'
2917 idea. This allows the output of various versions of a document
2918 from a single source version, selectively outputing or suppressing
2919 output of parts of the text.
2920 This implementation contains a 'branch list editor' in a separate
2921 tab of the document settings dialog. Branches are user definable
2922 and have a "display colour" to distinguish them on-screen.
2924 ColorHandler was somewhat cleaned up.
2925 (1) make possible a dynamically growing LColor list by allowing
2926 the graphic context cache to grow along (vector);
2927 (2) eliminate an IMHO unnecessary step in colour allocation.
2929 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2931 * BufferView_pimpl.C: compile fix
2933 2003-08-15 André Pönitz <poenitz@gmx.net>
2935 * rowpainter.C: remove extra metrics calls
2937 * lyxtext.h: merge the two constructors into a single one,
2938 pass reference to owner's par list
2940 * BufferView_pimpl.C:
2944 2003-08-15 André Pönitz <poenitz@gmx.net>
2946 * lyxrow_funcs.[Ch]:
2949 * paragraph_funcs.C:
2954 * text_funcs.C: split LyXText::rowlist_ into individual
2955 Paragraph::rows_ chunks
2958 * BufferView_pimpl.[Ch]:
2961 * text3.C: remove toggleSelection()
2963 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2965 * bufferlist.C: beautify two alerts (shorter text of buttons)
2966 * buffer.C: Remove redundant ' ' from message
2968 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2969 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2970 rename VALIGN_CENTER to VALIGN_MIDDLE
2972 2003-08-11 André Pönitz <poenitz@gmx.net>
2974 * lyxtext.h (getPar):
2975 * text.C: new function
2977 2003-08-11 André Pönitz <poenitz@gmx.net>
2980 * tracer.[Ch]: remove unneeded files
2982 * InsetList.[Ch]: remove resizeInsetsLyXText()
2987 * text3.C: merge insertParagraphs() and appendParagraph()
2988 remove breakAgain(), update()
2990 * BufferView_pimpl.[Ch]:
2991 * bufferview_funcs.[Ch]:
2995 * tabular.C: adjust after text & InsetList changes.
2997 2003-08-08 André Pönitz <poenitz@gmx.net>
2999 * text.C (insertChar, backspace): replace rowlist fiddling
3000 with rebreak of full par
3003 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3004 checkParagraph, updateInset): removed
3006 2003-08-07 André Pönitz <poenitz@gmx.net>
3009 * text3.C: merge some LFUN handlers, remove dead code
3011 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3013 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3015 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3017 * text2.C (DEPM): fix part of bug 1255 and 1256
3019 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * BufferView_pimpl.C (workAreaDispatch): change to use
3022 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3023 that are no mouse related.
3025 2003-08-05 André Pönitz <poenitz@gmx.net>
3028 * BufferView_pimpl.[Ch]:
3029 * bufferview_funcs.C:
3031 * text3.C: rip out "deep update"
3033 * textcursor.[Ch] (last_sel_cursor): remove unused member
3035 2003-08-04 André Pönitz <poenitz@gmx.net>
3038 * BufferView_pimpl.[Ch]:
3039 * ParagraphParameters.C:
3040 * bufferview_funcs.C:
3046 * text3.C: replace "complicated" BufferView::update(...) calls with
3049 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3051 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3053 * Makefile.am (lyx_SOURCES): add paper.h
3055 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3057 * Makefile.am: move things around so that both lyx-qt and
3058 lyx-xforms can be built (according to --with-frontend). Then lyx
3059 is a symbolic link to lyx-[firstfrontend]
3061 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3063 * Always use std::endl with lyxerr
3065 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3067 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3069 2003-08-01 André Pönitz <poenitz@gmx.net>
3072 * BufferView_pimpl.[Ch]:
3074 * text3.C: merge BufferView::repaint() and BufferView::update()
3076 2003-08-01 José Matos <jamatos@lyx.org>
3078 * buffer.[Ch]: file_format is no longer a buffer data element.
3080 2003-08-01 André Pönitz <poenitz@gmx.net>
3085 * text2.C: make redoParagraph more independent of current cursor
3087 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3089 * text2.C: remove unneeded members
3091 2003-07-30 André Pönitz <poenitz@gmx.net>
3093 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3095 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3096 create a single function...
3098 * paragraph_funcs.C (moveItem): ... here.
3101 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3103 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3105 * LColor.[Ch]: Add comment and greyedout logical colors.
3107 2003-07-30 André Pönitz <poenitz@gmx.net>
3109 * tabular.C: don't use Assert too heavily. This crashes where it
3112 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3114 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3115 is disabled (bug 1232)
3117 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3119 * factory.C: limited 'arg' scope
3121 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3123 * factory.C: fixed Note submenu issues
3125 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3127 * factory.C: submenu for Note/Comment/Greyedout
3129 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3132 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3134 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3137 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3138 greyedout. Patch provided by Jürgen Spitzmüller.
3140 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3142 * kbmap.C (read): fix error message when reading bind files
3144 2003-07-29 Angus Leeming <leeming@lyx.org>
3146 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3147 certainly does not do what it purports to do. I am doing it, and
3148 us, a favour by killing it.
3150 2003-07-28 José Matos <jamatos@lyx.org>
3152 * buffer.C (readBody, do_writeFile):
3153 * paragraph.C(readParagraph): \end_document replaces \the_end.
3155 2003-07-29 André Pönitz <poenitz@gmx.net>
3158 * BufferView_pimpl.[Ch]:
3162 * textcursor.[Ch]: remove toggleToggle & Co
3164 2003-07-28 José Matos <jamatos@fep.up.pt>
3166 * buffer.C (readParagraph):
3167 * params_func (readParToken, readParagraph):
3168 * paragraph.C (write): \layout -> \begin_layout.
3170 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * lyxlex_pimpl.C (setFile): clean up slightly.
3174 * bufferparams.h: add compressed var
3176 * buffer_funcs.C (readFile): adjust for LyXLex change
3177 (newFile): ditto + simplify
3179 * buffer.C (writeFile): handle writing of compressed files
3181 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3182 Check if the file is compressed and set a bufferparm if so.
3184 * Makefile.am (lyx_LDADD): remove explicit -lz
3186 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3189 makeDocBookFile): put the real LyX version in the first line of
3193 * version.C.in: remove lyx_docversion
3195 * tabular.C (write_attribute): add a template-based version to
3196 write enums properly
3198 2003-07-28 André Pönitz <poenitz@gmx.net>
3203 * text3.C: use doubles again for x-coordinates. They are needed.
3205 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * messages.C (getLocaleDir): use lyx_localedir()
3209 * lyxlex_pimpl.C (setFile): compress stuff
3211 * buffer.C (writeFile): add some compression stuff
3212 (do_writeFile): new func, dont call expliti close... will this
3215 * Makefile.am (lyx_LDADD): add -lz
3217 2003-07-28 José Matos <jamatos@fep.up.pt>
3219 * buffer.C: increment file format.
3220 * paragraph_funcs (readParagraph, readParToken):
3221 * paragraph.C (readParagraph): add \end_layout.
3223 2003-07-27 Angus Leeming <leeming@lyx.org>
3225 * Makefile.am: remove special casing for configure-time setting of
3226 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3228 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3229 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3231 2003-07-26 André Pönitz <poenitz@gmx.net>
3233 * paragraph_func.[Ch]:
3234 * paragraph.C (realizeFont): inline it whereever it is used
3239 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3242 2003-07-26 André Pönitz <poenitz@gmx.net>
3246 * text2.C: get rid of LyXText::need_break_row
3248 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * toc.[Ch]: put namespace toc inside namespace lyx
3252 * MenuBackend.C (expandToc2): adjust for lyx::toc
3255 * lyxfunc.C (dispatch): adjust for lyx::find
3257 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3258 lyx::find instead. Reorganize a bit.
3259 (LyXReplace): rename to replace
3260 (LyXFind): rename to find
3262 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3265 2003-07-26 André Pönitz <poenitz@gmx.net>
3267 * text.C (setHeightOfRow): restrict scope of temporary variable
3269 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3270 code (never has been used?)
3272 2003-07-27 Asger Alstrup <alstrup@local>
3274 * text.C (fill): Optimise algorithm to exploit that we can reuse
3275 the LyXFont for many characters.
3276 (setHeightOfRow): Same thing.
3277 (rowBreakPoint): Same thing.
3279 2003-07-26 Asger Alstrup <alstrup@local>
3281 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3283 * text.C (singleWidth): Spurious font copying in hot-spot
3284 singleWidth avoided. Reorder tests for arabic for efficiency.
3286 * text.C (fill): handle empty paragraphs better.
3288 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3291 * encoding.h: add includes
3293 * lyxrc.C: remove reading of bind files
3295 * lyx_main.C (init): setup bindings and menus only if we have a
3298 * kbmap.C (read): new method. Do the actual reading of bind
3301 * converter.C (dvipdfm_options):
3304 (output): adapt PAPER_* enums.
3306 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3308 * bufferparams.h: remove paper-related enums from there
3310 * paper.h: New file. A trivial header file to hold paper-related
3311 enums. It should later expand to contain many paper-related
3314 * lyxrc.C: declare extern displayTranslator
3316 2003-07-27 José Matos <jamatos@fep.up.pt>
3318 * tabular.[Ch] (linuxdoc): add support for tables and figures
3321 2003-07-27 José Matos <jamatos@fep.up.pt>
3323 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3324 consistency in both functions.
3325 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3327 2003-07-26 Asger Alstrup <alstrup@local>
3329 * rowpainter.C (paintRows): Change algorithm to work directly on
3330 the insets rather than asking every character in the document
3331 whether its an inset.
3333 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3335 * buffer.C (openFileWrite): factorize some code
3337 2003-07-26 Angus Leeming <leeming@lyx.org>
3340 * lyx_main.[Ch]: replace occurances of system_tempdir with
3343 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * rename Inset to InsetOld
3347 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3349 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3350 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3351 which I think is a bit clearer. EDIT is gone, since it was
3352 premature optimisation, and broken for mathed anyway.
3353 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3354 with cursor positioning in insets as well (math insets still do not
3355 work, but that's a different story anyway.) It mysteriously
3356 crashes sometimes with undo in the first paragraph, but I'm fairly
3357 confident that this is a compiler bug.
3359 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * paragraph.C (Paragraph): adjust for new clone return type
3363 (copyIntoMinibuffer): ditto
3365 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3367 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3368 by not having a special case, and always doing a full rebreak of
3369 the document after undo.
3371 2003-07-23 Angus Leeming <leeming@lyx.org>
3373 * factory.C (createInset): InsetExternal::setParams now takes a
3376 2003-07-23 Angus Leeming <leeming@lyx.org>
3378 * factory.C (createInset): changed interface to the external and
3379 graphics mailers' string2params functions.
3381 2003-07-23 Angus Leeming <leeming@lyx.org>
3383 * factory.C (createInset): pass a
3384 Buffer const * parameter to InsetExternalMailer's string2params.
3386 2003-07-22 John Levon <levon@movementarian.org>
3388 * Thesaurus.h: include the right aiksaurus header
3390 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3392 * MenuBackend.C (expand): check menu shortcuts unconditionally
3394 2003-07-21 Angus Leeming <leeming@lyx.org>
3396 * factory.C (createInset): pass a
3397 buffer_path parameter to InsetGraphicsMailer's string2params.
3399 2003-07-21 Angus Leeming <leeming@lyx.org>
3401 * BufferView_pimpl.C (buffer):
3404 * lyxfunc.C (dispatch):
3405 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3406 rather than the grfx shortcut.
3408 2003-07-21 André Pönitz <poenitz@gmx.net>
3410 * rowpainter.C: remove unused variables
3413 * tabular_funcs.h: move to tabular.C
3414 * Makefile.am: adjust
3416 * tabular.[Ch]: basic optical cleaning
3418 * author.h: pass references, not values
3420 2003-07-18 André Pönitz <poenitz@gmx.net>
3428 * text3.C: two-phase drawing for InsetText and InsetTabular
3429 some float -> int changes.
3431 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3433 * lyx_main.C: fix the fix
3435 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3437 * lyx_main.C: fix a crash in batch mode if no files specified
3440 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3442 * format.[Ch] (papersize): moved to BufferParams
3443 * converter.[Ch] (dvips_options): moved to BufferParams
3444 (dvipdfm_options): moved to anon namespace
3445 * bufferparams.[Ch]: added above functions.
3447 2003-07-17 André Pönitz <poenitz@gmx.net>
3451 * text2.C: don't call inset->update() anymore
3453 * metricsinfo.[Ch]: add convenience constructor
3455 2003-07-16 André Pönitz <poenitz@gmx.net>
3460 * text2.C: replace the LyXCursor::irow_ member with
3461 on-demand computation of the value
3463 2003-07-16 John Levon <levon@movementarian.org>
3465 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3467 2003-07-15 André Pönitz <poenitz@gmx.net>
3470 * text2.C: remove no more needed refresh_row
3472 2003-07-15 André Pönitz <poenitz@gmx.net>
3477 * text3.C: refresh_status tristate -> need_update bool
3479 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3481 * lyxtext.h (init): remove reinit argument (act as if always true)
3482 * text2.C: adjust to that
3484 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3486 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3487 * text3.C: use it to delete selections in some cases
3488 (bugs 441, 673, 702, 954).
3490 2003-07-14 André Pönitz <poenitz@gmx.net>
3492 * rowpainter.[Ch]: reduce interface
3494 2003-07-14 André Pönitz <poenitz@gmx.net>
3496 * BufferView_pimpl.C:
3497 * text2.C: adjust after removing unused BufferView * argument
3499 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3501 * text2.C (init): fix a crash fired on resize
3503 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3505 * buffer.[Ch]: added new closing signal
3506 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3507 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3508 BufferView::Pimpl via the closing the signal
3510 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3512 * buffer.[Ch]: take out all bv-related from buffer
3514 * BufferView_pimpl.[Ch]: connect to new signals
3515 * CutAndPaste.C: removed useless asserts
3516 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3519 * lyxfunc.C: moved view-related funciontality from vc here
3520 * paragraph.C: removed outdated comments
3523 2003-07-10 André Pönitz <poenitz@gmx.net>
3525 * BufferView_pimpl.C:
3529 * text2.C: remove InsetText::InnerCache, clean up consequences
3531 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3533 * ispell.C: fix two typos in error messages
3535 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3537 * Extend Note inset to other forms of annotation like Comment
3538 and Greyedout. Right button click gives dialog.
3540 Files modified or added (+):
3544 * ControlNote.[Ch] +
3546 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3547 frontends/controllers
3551 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3553 * aspell.C: add missing namespace lyx::support
3555 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3557 * BufferView.[Ch] (newFile): Add
3558 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3559 * LaTeX.[Ch] (message): added this signal and use it
3560 * buffer.[Ch] (busy, message): added these signals and use them
3561 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3565 * importer.C: use buffer signals instead of direct bv calling
3566 * lyx_cb.[Ch] (ShowMessage): removed
3569 * paragraph_funcs.C:
3570 * text2.C: use buffer signals
3572 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * introduce namespace lyx::graphics
3576 2003-07-02 André Pönitz <poenitz@gmx.net>
3578 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3580 2003-07-01 André Pönitz <poenitz@gmx.net>
3587 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3588 text*.C to text_func.C
3590 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * introduce namespace lyx::support
3594 2003-06-30 André Pönitz <poenitz@gmx.net>
3599 * text.C: re-enable --with-included-string
3601 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * textcursor.C: add <config.h>
3605 * text.C (getWord): remove const from word_location arg
3607 * lyxvc.C (getLogFile): fix const type order
3609 * lyxtext.h: remove const from word_location arg, add arg name
3611 * lyxlayout.h: currect type on labeltype.
3613 * importer.C: correct \file
3615 * converter.C (intToFormat): use std:: on ret val, ws changes
3617 * bufferlist.h: correct \file
3619 * buffer.C (makeLinuxDocFile): fix const type order
3620 (makeDocBookFile): ditto
3621 (fillWithBibKeys): use std:: on stdlib args.
3623 * CutAndPaste.C: fix authors.
3624 (availableSelections): use std:: on return vector
3626 2003-06-27 André Pönitz <poenitz@gmx.net>
3628 * BufferView_pimpl.C:
3629 * bufferview_funcs.C:
3637 * text3.C: remove LyXCursor::row_ member
3640 * text.C: rename fullRebreak() to partialRebreak() and implement
3641 a fullRebreak() that really bereks fully
3643 * textcursor.h: new struct for cursor-related data
3645 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3647 * lyx_main.C (LyX): get full path of document loaded on the
3650 2003-06-26 André Pönitz <poenitz@gmx.net>
3652 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3653 remove unused/broken operator>,<,>=.
3655 * text.C: remove only use of broken operator<= in an Assert().
3657 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3659 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3660 moved errorlist_.clear to showErrorList
3662 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3664 * converter.C (scanLog, runLaTeX):
3665 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3666 move the bv->showErrorList call to the callers
3667 * lyxfunc.C: i.e. here...
3669 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3670 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3671 namespace, the second to...
3672 * buffer_funcs (BufferFormat, parseErrors): added
3673 * errorlist.C (ErrorList(TeXErrors const &)): removed
3675 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3677 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3679 2003-06-24 "Garst R. Reese" <reese@isn.net>
3683 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3685 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3687 * version.C.in: change docversion to 1.4
3689 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3691 * buffer.C: fix a bug just introduced
3693 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3695 * buffer.[Ch]: added the parseError signal and use it, removed
3697 * BufferView.[Ch] (addError): moved to ...
3698 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3699 to the Buffer::parseError signal to catch (guess what) parse errors
3700 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3702 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3704 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3705 ability to create a buffer and to return an existing one from
3706 the list. Moved these functions to...
3707 * buffer_funcs.[Ch]: added
3708 * BufferView.[Ch] (loadLyXFile): added
3709 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3710 job removed from bufferlist::loadLyXFile.
3711 * buffer.C (setReadOnly): make it work without view
3712 (i.e added an if (users))
3714 2003-06-19 Angus Leeming <leeming@lyx.org>
3717 * LyXAction.C (init):
3718 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3719 with LFUN_DIALOG_SHOW <name> <data>.
3721 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3723 * CutAndPaste.C (availableSelections): small compilation fix for
3724 ancient (gcc 2.9x) compilers
3726 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * text3.C (cursorNext): add tmp var
3730 * text2.C (updateCounters): for function calling out of for clause
3731 (replaceSelectionWithString): ditto
3732 (insertStringAsParagraphs): ditto
3733 (getColumnNearX): add tmp var
3734 (setCursorFromCoordinates): add tmp var
3735 (cursorDownParagraph): add tmp var
3736 (deleteEmptyParagraphMechanism): add tmp var
3738 * text.C (insertChar): add tmp var
3740 * rowpainter.C (paintDepthBar): add tmp var
3742 * CutAndPaste.C (availableSelections): potentially check all
3743 paragraphs in a cut to fill the shown strings.
3745 2003-06-18 André Pönitz <poenitz@gmx.net>
3747 * kbmap.[Ch]: use vector<> instead of list<>
3749 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3751 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3752 pasteSelection with index
3754 * text2.C (pasteSelection): modify, call pasteSelection with index
3756 * paragraph.C (asString): reimplement version with no interval to
3757 call the one with interval.
3759 * lyxtext.h: add index arg to pasteSelection
3761 * MenuBackend.C (MenuItem): handle PasteRecent
3762 (Menu::read::Menutags): add md_pasterecent
3764 (expandPasteRecent): new function
3767 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3769 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3771 (availableSelections): new function
3773 2003-06-17 Angus Leeming <leeming@lyx.org>
3775 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3777 2003-06-17 Angus Leeming <leeming@lyx.org>
3780 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3782 * lyxfunc.C (dispatch): invoke it.
3784 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3786 * iterators.C (operator++, ParPosition): reintroduce some
3787 const_cast for the benefit of older compilers.
3789 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3791 * text3.C (dispatch): do not modify clipboard when doing
3792 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3793 LFUN_DELETE_SKIP on a selection selection
3795 2003-06-16 André Pönitz <poenitz@gmx.net>
3801 * tabular.[Ch]: IU of clone() and getLabelList();
3803 2003-06-13 André Pönitz <poenitz@gmx.net>
3805 * tabular.h: compactification
3807 2003-06-12 André Pönitz <poenitz@gmx.net>
3811 * tabular_funcs.h: some renaming plus whitespace
3813 2003-06-12 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C:
3822 * toc.C: Return a Paragraph & for ParIterator::operator*()
3824 2003-06-11 John Levon <levon@movementarian.org>
3828 * ToolbarBackend.C: add "Toolbars" section and
3831 2003-06-10 Angus Leeming <leeming@lyx.org>
3834 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3836 * lyxfunc.C (dispatch): invoke it.
3838 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * main.C: protect <ios> with HAVE_IOS
3841 (main): protect sync_with_stdio with HAVE_IOS
3843 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3845 * text2.C (cutSelection): adjust
3846 (pasteSelection): adjust
3848 * messages.C: handle get of empty string
3850 * main.C (main): use sync_with_stdio(false)
3852 * lyxfunc.C (dispatch): adjust
3854 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3855 (WriteAs): remove unneeded BufferView arg.
3857 * bufferparams.h: use correct types on papersize, papersize2 and
3860 * bufferparams.C (readToken): adjust for type
3861 (writeLaTeX): add missing cases to switch.
3863 * bufferlist.C (quitWriteBuffer): adjust
3866 * buffer.C (asciiParagraph): remove some commented code.
3868 * CutAndPaste.C: remove current_view extern variable.
3869 (cutSelection): add BufferParams arg.
3870 (eraseSelection): add BufferParams arg.
3871 (pasteSelection): add Buffer const & arg
3873 2003-06-07 John Levon <levon@movementarian.org>
3876 * paragraph_funcs.C:
3877 * paragraph_pimpl.C:
3881 * paragraph.C: allow InsetERT to freely space lines,
3882 and some consolidation of code
3884 2003-06-06 José Matos <jamatos@fep.up.pt>
3886 * buffer.C (makeDocBookFile): fix bug #821
3888 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3890 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3892 2003-06-04 Angus Leeming <leeming@lyx.org>
3894 * buffer.C: bump format to 224.
3896 2003-06-05 André Pönitz <poenitz@gmx.net>
3898 * text2.C (redoParagraphs): remove two const_cast<>
3900 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3902 * ParagraphList.h: remove last remnants of NO_STD_LIST
3904 2003-06-03 Angus Leeming <leeming@lyx.org>
3906 * factory.C (createInset): small change to the way InsetExternal's params
3909 2003-06-04 André Pönitz <poenitz@gmx.net>
3911 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3913 * paragraph_pimpl.h:
3914 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3916 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3918 * undo_funcs.C: make some simple cases of undo work again
3920 2003-06-03 John Levon <levon@movementarian.org>
3922 * ispell.C: HPUX doesn't have sys/select.h
3925 2003-06-03 John Levon <levon@movementarian.org>
3927 * CutAndPaste.C: update tabular and include inset
3932 * paragraph.C: remove owningBuffer(), don't pass Buffer
3935 * factory.C: insetGraphicsParams changed
3937 2003-06-02 John Levon <levon@movementarian.org>
3943 * text3.C: remove insetparent
3945 2003-06-02 John Levon <levon@movementarian.org>
3948 * buffer.C: fix inset_iterator.end(), move out of line
3951 2003-06-01 John Levon <levon@movementarian.org>
3953 * text3.C: use a proper cut/paste when doing inset
3954 insert (from Jürgen Spitzmüller)
3956 2003-06-01 John Levon <levon@movementarian.org>
3958 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3960 2003-05-30 André Pönitz <poenitz@gmx.net>
3962 * rowpainter.C: unify second drawing phase
3964 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * trans_mgr.C: remove one case of current_view
3968 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3970 * paragraph_funcs.h: remove paragraph.h include
3972 * paragraph.h: delete NO_STD_LIST stuff
3974 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3976 * buffer.h: remove paragraph.h include
3978 * ParagraphList.C: delete file
3980 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3982 * toc.C (getTocList): adjust
3984 * paragraph_pimpl.C (validate): adjust
3986 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3988 * paragraph.C (Paragraph): adjust
3989 (getPositionOfInset): use const_iterator, adjust
3990 (bibitem): use const_iterator, adjust
3991 (setInsetOwner): adjust
3993 * iterators.C (operator++): adjust
3995 * InsetList.[Ch]: Replace selfmade iterator with standard
3996 vector::iterator also introduce const_iterator. Remove getPos,
3997 getInset and setInset from InsetTable. Adjust accordingly.
3999 * BufferView.C (lockInset): adjust
4000 (ChangeInsets): adjust
4002 * tabular.[Ch]: delete commented same_id functions
4004 2003-05-28 John Levon <levon@movementarian.org>
4006 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4008 2003-05-28 André Pönitz <poenitz@gmx.net>
4010 * metricsinfo.[Ch]: remove 'fullredraw' member
4012 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4014 * lyxtextclass.C (operator): remove caching.
4016 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * text2.C (cursorBottom): adjust
4021 (setCounter): use ParagraphList::find, adjust
4023 * text.C (workWidth): use ParagraphList::find, adjust
4025 * lyxcursor.C (LyXCursor): adjust
4027 * buffer.C (inset_iterator): adjust
4029 * ParagraphList.h: make iterator(value_type) private, make
4030 ParagraphList a friend of iterator.
4032 * ParagraphList.C (find): new function
4034 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4036 2003-05-27 André Pönitz <poenitz@gmx.net>
4038 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4040 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4042 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4044 2003-05-26 John Levon <levon@movementarian.org>
4046 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4048 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * remove same_id from function signatures, adjust.
4052 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4056 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4058 * paragraph.C (Paragraph): get rid of same_ids parameter
4060 * ParagraphList.C (insert): adjust
4063 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * paragraph_funcs.C (breakParagraph): adjust
4066 (breakParagraphConservative): adjust
4068 * buffer.C (readParagraph): adjust
4070 * ParagraphList.C (insert): take a reference instead of a pointer
4073 * paragraph.[Ch] (id): new function
4075 * bufferlist.C (newFile): adjust
4077 * ParagraphList.C (ParagraphList): adjust
4079 (push_back): take a reference instead of a pointer.
4081 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4083 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4086 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4087 set else use old code.
4089 * ParagraphList.C: remove all NO_NEXT code and only compile this
4090 code of NO_STD_LIST is set.
4092 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4094 * BufferView_pimpl.C:
4104 * graphics/GraphicsConverter.C:
4105 * graphics/PreviewLoader.C: header adjustment
4107 2003-05-23 Angus Leeming <leeming@lyx.org>
4109 * LaTeXFeatures.[Ch] (useBabel): new method.
4110 * bufferparams.C (writeLaTeX): use it.
4112 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * ParagraphList.h (set): remove unused function.
4116 2003-05-23 André Pönitz <poenitz@gmx.net>
4119 * BufferView_pimpl.C:
4123 * undo_funcs.C: setUndo reworked
4125 * iterators.[Ch]: add access to topmost ParagraphList
4127 * lyxtext.[Ch] (workWidth): add a const
4129 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4131 * texrow.[Ch] (increasePos): remove function
4132 * exporter.C (export): removed unused var and outdated comment
4134 2003-05-23 Angus Leeming <leeming@lyx.org>
4136 * latexrunparams.h: rename fragile as moving_arg.
4137 * paragraph.C (simpleTeXOnePar): ditto.
4138 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4140 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4144 (textUndoOrRedo): comment out a currently unused var.
4146 * paragraph.h (NO_NEXT): enable NO_NEXT
4148 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4150 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4152 * exporter.C (Export): adjust for removeAutoInsets removal.
4154 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4156 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4158 * BufferView.[Ch] (removeAutoInsets): delete function
4160 2003-05-22 Angus Leeming <leeming@lyx.org>
4162 * latexrunparams.h: add a free_spacing variable.
4164 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4165 to pass moving_arg, as the data is stored in runparams.fragile.
4167 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4168 to Inset::latexOptional or to simpleTeXOnePar.
4170 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4171 free_spacing arg to Inset::latexOptional.
4173 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4176 2003-05-22 Angus Leeming <leeming@lyx.org>
4178 * latexrunparams.h: add fragile and use_babel variables.
4180 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4181 * buffer.C (makeLaTeXFile): store this returned value in
4182 runparams.use_babel, thus passing it to the inset::latex methods.
4184 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4185 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4187 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4188 longer has a fragile arg, as it is stored in runparams.fragile.
4190 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4191 moving_arg parameter as the data is stored in runparams.fragile.
4193 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4194 a fragile parameter as the data is stored in runparams.fragile.
4196 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4200 2003-05-22 Angus Leeming <leeming@lyx.org>
4202 * latexrunparams.h: add a 'bool nice' which defaults to false.
4204 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4205 now encapsulated within runparams.
4207 * bufferlist.C (updateIncludedTeXfiles):
4208 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4210 2003-05-22 Angus Leeming <leeming@lyx.org>
4212 * latexrunparams.h: new file containing struct LatexRunParams.
4213 * Makefile.am: add new file.
4215 * LaTeX.[Ch] (c-tor, run):
4216 * buffer.[Ch] (makeLaTeXFile):
4217 * bufferlist.[Ch] (updateIncludedTeXfiles):
4218 * converter.C (convert, scanLog):
4219 * converter.[Ch] (runLaTeX):
4220 * exporter.C (Export):
4221 * paragraph.[Ch] (simpleTeXOnePar):
4222 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4223 * paragraph_funcs.[Ch] (latexParagraphs):
4224 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4225 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4226 pass around a LatexRunParams parameter.
4228 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * paragraph.[Ch]: remove unused constructor
4232 * ParagraphList.C (erase): new function, taking two iterators
4234 2003-05-22 André Pönitz <poenitz@gmx.net>
4236 * undo_funcs.C: remove duplicated code
4238 * iterator.[Ch]: operator=
4240 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * tabular.C (SetMultiColumn): ws changes
4244 * rowpainter.C (paintFirst): get rid of a ->previous
4246 * lyx_cb.C (getPossibleLabel): parlist simplification
4248 * BufferView.C (ChangeInsets): simplify slightly.
4250 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4252 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4253 * lfuns.h: new LFUN_SPACE
4254 * lyxfunc.C: protected space has a new lfun
4255 * paragraph_funcs.C: read new space insets
4257 * factory.C: handle new space insets
4259 2003-05-22 André Pönitz <poenitz@gmx.net>
4262 * BufferView_pimpl.C:
4265 * undo_funcs.C: return a ParIterator from getParFromID.
4267 * iterators.[Ch]: add two const's
4269 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * toc.C (getTocList): adjust
4273 * iterators.[Ch]: rework for parlist
4275 * buffer.C (par_iterator_begin): adjust
4276 (par_iterator_end): adjust
4278 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4280 * BufferView.C (removeAutoInsets): adjust
4281 (ChangeInsets): adjust
4283 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4285 * text.C (top_y): fix bug 1110
4287 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4289 * errorlist.[Ch]: added
4292 * BufferView_pimpl.C:
4293 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4296 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * Makefile.am: ensure that lyx is relinked upon changes to the
4299 various "convenience" libs.
4301 2003-05-20 Angus Leeming <leeming@lyx.org>
4303 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4304 files are compiled in alphabetical order again.
4306 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4308 2003-05-19 Angus Leeming <leeming@lyx.org>
4310 * gettext.[Ch]: remove "char const * _(char const *)".
4312 2003-05-19 André Pönitz <poenitz@gmx.net>
4314 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4323 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4325 2003-05-19 André Pönitz <poenitz@gmx.net>
4329 * lyxtextclass.[Ch]:
4331 * paragraph_funcs.[Ch]:
4333 * text3.C: more insetenv work
4335 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4337 * ParagraphParameters.C (params2string): small bug fixed
4339 2003-05-16 André Pönitz <poenitz@gmx.net>
4342 * bufferview_funcs.C: patch from Kornel Benko to prevent
4343 crash when _(...) is called twice in a statement
4345 2003-05-16 André Pönitz <poenitz@gmx.net>
4352 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4354 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4356 * lyx_main.C (init): remove spurious static_cast
4358 2003-05-14 André Pönitz <poenitz@gmx.net>
4360 * BufferView.C: fix format string
4362 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4364 * BufferView.[Ch] (insertErrors): removed
4365 * BufferView.[Ch] (showErrorList): added
4366 * buffer.C (runChkTeX):
4367 * converter.C (scanLog): call showErrorList instead of inserterrors
4369 2003-05-13 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.C:
4373 * bufferview_func.C:
4380 * tabular_funcs.h: tostr() from its own header
4382 * ParagraphParameters.C:
4387 * text3.C: STRCONV()
4389 2003-05-12 André Pönitz <poenitz@gmx.net>
4392 * BufferView_pimpl.C:
4396 * ParagraphParameters.C:
4400 * bufferview_funcs.C:
4413 * paragraph_funcs.C:
4417 * text3.C: boost::format -> bformat all over the place
4420 2003-05-09 André Pönitz <poenitz@gmx.net>
4422 * LColor.[Ch]: Pimpl the #include <map> away
4424 2003-05-09 John Levon <levon@movementarian.org>
4426 * bufferlist.C: never remove emergency saves
4428 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * Makefile.am: better lib building
4432 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4436 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4437 (simpleTeXSpecialChars): adjust
4438 (simpleTeXSpecialChars): adjust
4439 * paragraph.C (simpleTeXOnePar): adjust
4440 * buffer.C (makeLaTeXFile): adjust
4442 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4444 * text2.C (changeDepth): parlist cleanup
4445 (getColumnNearX): ditto
4447 * rowpainter.C (getLabelFont): parlist cleanup
4449 * bufferlist.C (newFile): parlist cleanup
4451 * CutAndPaste.C (eraseSelection): parlist cleanup
4453 * BufferView_pimpl.C (trackChanges): parlist cleanup
4456 * BufferView.C (lockInset): parlist cleanup.
4457 (ChangeInsets): ditto
4459 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * CutAndPaste.h: Update file header.
4463 * CutAndPaste.C: Update file header.
4464 Store the parts cut out of the Document in a limited_stack.
4465 (copySelection): adjust
4466 (pasteSelection): new function, takes the index in the limited stack.
4467 (nrOfParagraphs): adjust
4468 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4469 simplify error inset insertion.
4470 (checkPastePossible): adjust
4472 2003-05-06 John Levon <levon@movementarian.org>
4474 * text2.C: don't cast wrap inset to float
4476 2003-05-05 André Pönitz <poenitz@gmx.net>
4479 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4481 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4482 few naked Paragraph *.
4484 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4486 * bufferparams.C: Output warning if a document with missing
4487 TeX document class is loaded
4488 * exporter.C: Disable TeX exports if the document class is missing
4491 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4492 isTeXClassAvailable()
4494 2003-05-03 John Levon <levon@movementarian.org>
4497 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4498 explicit cursor show/hide
4500 * BufferView_pimpl.h:
4501 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4502 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4504 * lyxfunc.C: hide cursor before dispatching.
4509 * text3.C: remove explicit cursor hides
4511 2003-05-02 André Pönitz <poenitz@gmx.net>
4513 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4516 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4519 * text2.C: tiny whitespace
4521 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * undo_funcs.C: almost only ws changes.
4525 * ParagraphList.C (splice): just return if pl is empty.
4527 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * ParagraphList.C (splice): new function.
4531 * CutAndPaste.C (pasteSelection): use it
4533 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * CutAndPaste.C (pasteSelection): remove the last next and
4536 previous from this file.
4538 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * CutAndPaste.C (pasteSelection): more clean up, user proper
4541 ParagraphList functions for pasteing.
4543 * ParagraphList.C (insert): new function, three arg insert
4545 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * ParagraphList.C (insert): new function, three arg insert
4549 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4552 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4556 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4560 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4563 (copySelection): clean up a bit.
4564 (pasteSelection): use make_pair
4566 * ParagraphList.C (ParagraphList): implement copy constructor
4567 (operator=): implement, base on copy constructor.
4570 * paragraph.C (erase): return a bool
4572 * paragraph_pimpl.C (erasePos): remove function, move contents...
4573 (erase): ... here. Return a bool.
4574 (erase): call erase instead of erasePos.
4576 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4578 * ParagraphList.h: define PitPosPair
4579 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4580 ParagraphList, fix a bug on pasting multiple pars
4581 * text2.C: change interface to C&P
4583 2003-04-30 André Pönitz <poenitz@gmx.net>
4585 * undo_func.C: revert part of yesterday's patch 2
4587 2003-04-30 John Levon <levon@movementarian.org>
4589 * LColor.C: s/tabular/table/
4591 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * text3.C (dispatch): do not convert iterator -> pointer
4594 * undo_funcs.C (setCursorParUndo): ditto
4595 * text_funcs.C (transposeChars): ditto
4597 * text2.C (setLayout): ws changes only
4599 * text.C (breakParagraph): do not convert iterator -> pointer
4601 (acceptChange): ditto
4602 (rejectChange): ditto
4607 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4610 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4612 * text3.C (gotoInset): YABG (yet another bad getChar)
4614 2003-04-29 André Pönitz <poenitz@gmx.net>
4616 * paragraph.h: make operator= private unimplemented as long as
4619 * ParagraphList.C: whitespace
4622 * paragraph_pimpl.[Ch]:
4623 * paragraph_funcs.C:
4625 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4628 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4630 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4632 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4633 * paragraph.[Ch] (erase):
4634 * paragraph_pimpl.[Ch] (erase): change return type and value
4635 * text2.C (cutSelection): some rework
4637 2003-04-28 John Levon <levon@movementarian.org>
4639 * bufferlist.C: changes for unsaved changes dialog
4641 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * bufferlist.C (newFile): set language (messages_) for new
4646 * buffer.C (readFile): ws changes only.
4648 2003-04-28 André Pönitz <poenitz@gmx.net>
4653 * BufferView_pimpl.C:
4654 * BufferView.C: getParFromID related ParagraphList::iterator changes
4656 2003-04-28 André Pönitz <poenitz@gmx.net>
4658 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4661 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * messages.C: remove one more localedir class variable.
4665 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * messages.C (getLocaleDir): singleton generation function
4669 (Messages): add a default constructor.
4671 * main.C (main): do not setup localedir here, do not call
4674 * gettext.C (_): use it.
4675 (gettext_init): delete funciton
4677 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * gettext.C (getLyXMessages): new singleton generating function.
4681 * buffer.C (updateDocLang): adjust
4683 * Makefile.am (messages.o): add target
4684 (main.o): remove target
4686 2003-04-27 John Levon <levon@movementarian.org>
4691 * lyxvc.C: specify cancel button in Alert::prompt
4693 2003-04-26 John Levon <levon@movementarian.org>
4698 * LyXAction.C: add LFUN_INSET_SETTINGS
4700 * lyxfunc.C: don't enable tabular-feature when there's
4701 just any locking inset
4703 2003-04-26 John Levon <levon@movementarian.org>
4705 * bufferlist.C: re-add Cancel to buffer close question
4707 * lyxfunc.C: fix import UI a bit
4709 2003-04-25 John Levon <levon@movementarian.org>
4711 * gettext.C: remove the broken asserts for now
4713 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * messages.C: make case where setlocale cannot comply work better.
4717 * buffer.C (updateDocLang): new function
4718 (changeLanguage): use it
4721 * text2.C (setCounter): use B_ a bit.
4723 * lyxlayout.C (Read): be sure to trim the label strings.
4725 * messages.C (Messages): fix typo in comment
4727 * buffer.C (readFile): set message_ after file is loaded.
4728 (makeDocBookFile): remove double return
4729 (changeLanguage): reset message_ upon language change.
4730 (B_): new func, use this to get translated buffer strings.
4732 * main.C: add myself and Jean Marc as authors.
4734 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * messages.[hC]: pimplify Messages, and three different pimpls to be
4737 used in different circumstances.
4739 * gettext.[Ch]: change for use with new message code.
4741 2003-04-24 André Pönitz <poenitz@gmx.net>
4743 * factory.C: support for eqref
4745 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * messages.[Ch]: add missing char
4749 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4751 * messages.[Ch]: New files
4753 2003-04-18 John Levon <levon@movementarian.org>
4757 * BufferView_pimpl.C:
4761 * text2.C: remove layout-copy/paste (bug 778)
4763 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4765 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4767 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4769 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4770 if they succeed. Act accordingly.
4772 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * text2.C (setCharFont): adjust
4775 (setCounter): adjust
4776 (insertStringAsLines): adjust
4778 * text.C (leftMargin): adjust
4779 (setHeightOfRow): adjust
4781 * rowpainter.C (paintFirst): adjust
4784 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4786 (isFirstInSequence): ditto
4787 (getEndLabel): ditto
4790 * paragraph.C (getParLanguage): comment out some hard stuff.
4792 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4794 (simpleDocBookOnePar): ditto
4795 (makeDocBookFile): use ParagraphList::iterator
4797 * CutAndPaste.C (pasteSelection): adjust
4799 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * text2.C (getFont): adjust
4802 (getLayoutFont): adjust
4803 (getLabelFont): adjust
4805 * paragraph_funcs.C (TeXOnePar): adjust
4807 * buffer.C (simpleLinuxDocOnePar): adjust
4808 (simpleDocBookOnePar): adjust
4810 * CutAndPaste.C (pasteSelection): adjust
4812 * BufferView.C (getEncoding): adjust
4814 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4816 2003-04-16 John Levon <levon@movementarian.org>
4818 * lyxfind.C: use parlist stuff for search/changes
4820 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4824 * text2.C (deleteEmptyParagraphMechanism): adjust
4826 * text2.[Ch] (ownerParagraph): delete func (both of them
4828 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4832 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * ParagraphList.C: prepare for NO_NEXT
4836 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * text2.C (getFont): adjust
4839 (getLayoutFont): adjust
4840 (getLabelFont): adjust
4842 * paragraph.C (getFont): adjust
4843 (getLabelFont): adjust
4844 (getLayoutFont): adjust
4846 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4848 2003-04-15 John Levon <levon@movementarian.org>
4852 * lyx_main.C: handle Include in .ui files
4854 2003-04-15 John Levon <levon@movementarian.org>
4856 * MenuBackend.C: make the doc files length shorter
4859 * ToolbarBackend.C: handle toolbar placement flags,
4862 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4867 * paragraph_funcs.C (TeXOnePar): adjust
4869 * paragraph.C (getLabelFont): add outerfont arg, adjust
4870 (getLayoutFont): ditto
4871 (simpleTeXOnePar): adjust
4873 * paragraph_pimpl.C (realizeFont): delete func
4875 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4877 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4878 row argument, constify cur argument.
4880 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * text2.C (getFont): adjust
4883 (getLayoutFont): adjust
4884 (getLabelFont): adjust
4886 * paragraph_funcs.C (TeXOnePar): adjust
4887 (outerFont): new func...
4888 (realizeFont): ...moved out from here, changed this to facilitate
4891 * paragraph.C (getFont): take outerfont as arg, adjust
4892 (simpleTeXOnePar): add outerfont arg, adjust
4894 * buffer.C (simpleLinuxDocOnePar): adjust
4895 (simpleDocBookOnePar): adjust
4897 * CutAndPaste.C (pasteSelection): adjust
4899 * BufferView.C (getEncoding): adjust
4901 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * text2.C (setCharFont): adjust
4904 (setCounter): adjust
4906 * text.C (leftMargin): adjust
4907 (setHeightOfRow): adjust
4909 * rowpainter.C (paintFirst): adjust
4912 * paragraph_pimpl.C (realizeFont): adjust
4914 * paragraph.C (isFirstInSequence): move from here...
4915 * paragraph_funcs.C (isFirstInSequence): ...to here
4917 * paragraph.C (outerHook): move from here...
4918 * paragraph_funcs.C (outerHook): ...to here
4920 * paragraph.C (depthHook): move from here...
4921 * paragraph_funcs.C (depthHook): ...to here
4923 * paragraph.C (getEndLabel): move from here...
4924 * paragraph_funcs.C (getEndLabel): ...to here
4926 * text2.C (realizeFont): move from here...
4927 * paragraph_funcs.C (realizeFont): ...to here
4929 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4933 2003-04-14 Angus Leeming <leeming@lyx.org>
4935 * LColor.[Ch]: scrap LColor mathcursor.
4937 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * lyxlex.[Ch] (text): delete function
4940 * trans.C (Load): adjust
4941 * paragraph_funcs.C (readParToken): adjust
4943 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4946 vector<char> instead of a char[].
4948 * lyxlex_pimpl.C (getString): adjust
4950 (lex): use getString
4954 * lyxlex.C (text): use pimpl_->getString()
4958 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4961 (makeFontEntriesLayoutSpecific): temp var for par.size()
4962 (setLayout): temp var for ownerParagraphs().end()
4963 (fullRebreak): temp var for rows().end()
4964 (selectionAsString): temp var for boost::next(startpit), realize
4965 that the while really is a regular for loop.
4966 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4967 setCursor in one place.
4968 (setParagraph): temp vr for ownerParagraphs().end()
4969 (updateCounters): make the while loop a for loop
4970 (cutSelection): temp var for ownerParagraphs().end()
4971 (updateInset): make the do {} while() a regular for loop
4972 (getCursorX): use temp vars
4973 (setCurrentFont): use temp vars
4974 (getColumnNearX): use temp vars
4976 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * text.C (transformChar): use temp var for getChar
4979 (computeBidiTables): use temp var for row->par()
4980 (fill): move temp vars for row->par() and pit->layout() earlier in
4982 (labelFill): use temp var for row->par()
4983 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4984 asc and desc, realize that pit never changes and that firstpit is
4985 just a duplicate and not needed. Exchange rit->par() with pit in a
4987 (breakAgain): use a temp var for boost::next(rit)
4988 (breakAgainOneRow): ditto
4989 (breakParagraph): use a temp var for rows().begin()
4990 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4991 (cursorRightOneWord): use temp var for cursor.par() and
4992 cursor.pos(), remove usage of tmpcursor.
4993 (cursorLeftOneWord): use temp var for cursor.par() and
4994 cursor.pos() only set cur at end of function.
4996 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * text.C, text2.C: exchange all usage of Paragraph::next with
4999 boost::next(ParagraphList::iterator)
5001 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5003 * text2.C (cursorTop): simplify implementation
5004 (cursorBottom): ditto
5005 (setParagraph): use ParagraphList::iterator
5006 (setCurrentFont): adjust
5007 (getColumnNearX): adjust
5008 (cursorRight): adjust
5009 (cursorLeft): remove usage of Paragraph::previous
5010 (cursorUpParagraph): ditto
5011 (deleteEmptyParagraphMechanism): slight cleanup
5013 * text.C (isBoundary): take a Paragraph const & instead of a
5015 (addressBreakPoint): ditto
5016 (leftMargin): remove usage of Paragraph::previous.
5017 (setHeightOfRow): ditto
5018 (cursorLeftOneWord): ditto
5019 (selectNextWordToSpellcheck): ditto
5022 (breakParagraph): remove one usage of Paragraph::next
5023 (redoParagraph): ditto
5024 (acceptChange): ditto
5025 (insertChar): adjust
5026 (rowBreakPoint): adjust
5028 * bufferview_funcs.C (toggleAndShow): adjust
5030 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5032 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5033 methods to access it.
5035 * text.C: Added updateRowPositions to compute all row positions.
5036 Make top_y and getRowNearY() to use the cached y position
5038 2003-04-11 John Levon <levon@movementarian.org>
5040 * text.C (rowBreakPoint): reintroduce the labelEnd
5041 checks, code copied from the row fill stuff. Deep voodoo.
5043 * text.C (fill): add a comment and debugging for the
5046 2003-04-11 John Levon <levon@movementarian.org>
5048 * text.C: make sure fullrow insets get wrapped to the next line,
5049 even when they're in a manual label
5051 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * text2.C (insertParagraph): make it take ParagraphList::iterator
5055 (setLayout): make it return ParagraphList::iterator
5056 (redoParagraphs): ditto
5058 (checkParagraph): ditto
5060 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5062 * text2.C: adjust several funcs.
5063 (realizeFont): take a ParagraphList::iterator as arg.
5064 (getLayoutFont): ditto
5065 (getLabelFont): ditto
5066 (setCharFont): ditto
5068 * text.C: adjust several funcs.
5070 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5072 * text.C (selectNextWordToSpellcheck): don't accidentally
5075 2003-04-10 John Levon <levon@movementarian.org>
5077 * ToolbarBackend.C (getIcon): special handling for
5080 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5082 * text2.C (cursorRight): a getChar assert fixed
5084 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * text2.C (getFont): change to take a ParagraphList::iterator
5087 instead of Paragraph*
5088 Adjust several functions.
5090 * text.C (transformChar): change to take a ParagraphList::iterator
5091 instead of Paragraph*
5092 (singleWidth): ditto
5093 Adjust several functions.
5095 * rowpainter.C: adjust several functions
5096 * rowpainter.h:store a ParagraphList::iterator and not a
5100 2003-04-09 John Levon <levon@movementarian.org>
5105 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5106 and the "help" bits as well
5108 2003-04-09 John Levon <levon@movementarian.org>
5111 * ToolbarBackend.C: allow multiple toolbars
5113 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * undo_funcs.C (setCursorParUndo): adjust
5117 * text_funcs.C (transposeChars): adjust
5119 * text3.C (gotoNextInset): adjust
5122 * text2.C (setLayout): adjust
5123 (changeDepth): adjust
5125 (redoParagraphs): adjust
5126 (selectionAsString): adjust
5127 (setParagraph): adjust
5128 (insertInset): adjust
5129 (cutSelection): adjust
5130 (copySelection): adjust
5131 (pasteSelection): adjust
5132 (insertStringAsLines): adjust
5133 (updateInset): adjust
5134 (setCursor): change to take a ParagraphList::iterator parameter
5135 (setCursorIntern): change to take a ParagraphList::iterator parameter
5136 (setCurrentFont): adjust
5137 (cursorLeft): adjust
5138 (cursorRight): adjust
5139 (deleteEmptyParagraphMechanism): adjust
5141 * text.C (breakParagraph): adjust
5142 (insertChar): adjust
5143 (acceptChange): adjust
5144 (rejectChange): adjust
5145 (selectNextWordToSpellcheck): adjust
5146 (changeCase): adjust
5150 * lyxfind.C (SearchForward): adjust
5151 (SearchBackward): adjust
5152 (nextChange): adjust
5154 * lyxcursor.C (par): adjust
5156 * lyxcursor.h: store a ParagraphList::iterator instead of a
5159 * lyx_cb.C (getPossibleLabel): adjust
5161 * bufferview_funcs.C (toggleAndShow): adjust
5163 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5166 * BufferView.C (removeAutoInsets): adjust
5167 (lockedInsetStoreUndo): adjust
5169 2003-04-09 John Levon <levon@movementarian.org>
5171 * ToolbarBackend.C: try icon without argument
5172 if with argument fails
5174 2003-04-08 John Levon <levon@movementarian.org>
5177 * ToolbarBackend.C: add getIcon(), handle tooltip,
5178 and change from "Icon" to "Item".
5180 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5182 * BufferView.C (lockInset): another bad getchar crunched
5184 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5186 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5189 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5191 * lyxfind.C (searchForward, searchBackwards): bug 782
5193 2003-04-07 John Levon <levon@movementarian.org>
5195 * paragraph.C: remove dead comment
5197 * text.C: remove troublesome depth-fiddling code
5198 in leftMargin() and rightMargin() (bug 1017)
5200 * text.C: fix breaking of rows in nested lists
5203 * text2.C (updateCounters): fix up depth values
5206 2003-04-07 John Levon <levon@movementarian.org>
5208 * BufferView_pimpl.C: clear message when doc finishes resizing,
5209 and after a mouse event
5211 * lyxfunc.C: clear message after exiting inset
5213 2003-04-07 John Levon <levon@movementarian.org>
5215 * bufferview_funcs.C: show math status not outside
5216 status in the statusbar
5218 2003-04-07 John Levon <levon@movementarian.org>
5220 * lyxfunc.C: note status changed after a depth change
5222 2003-04-04 Angus Leeming <leeming@lyx.org>
5224 * LaTeX.h: move AuxInfo operator==, != out of line.
5225 Remove LaTeX virtual destructor; nothing derives from it.
5226 Move operator()() out of public area and rename it startscript().
5227 Change protected for private.
5229 2003-04-04 Angus Leeming <leeming@lyx.org>
5232 * text2.C: remove unneeded #includes.
5234 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5236 * text2.C (dEPM): fix the heigth of the next row
5238 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5240 * text.C: squashed an invalid getChar requester + some ws changes
5242 2003-04-03 John Levon <levon@movementarian.org>
5244 * bufferview_funcs.h:
5245 * bufferview_funcs.C:
5248 * text2.C: make getStatus work for the env depth lfuns
5250 2003-04-03 John Levon <levon@movementarian.org>
5252 * bufferview_funcs.h:
5253 * bufferview_funcs.C:
5256 * text2.C: parlistize decDepth(), by merging it with incDepth()
5258 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * lyxrow.h: store a ParagraphList::iterator instead of a
5261 Paragraph* and adjust other class functions to suit.
5263 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5266 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5268 * text2.C (setCursor): do not anchor to cursor row for the time being
5270 2003-04-02 John Levon <levon@movementarian.org>
5277 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5279 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * paragraph.h: make ParagraphList and ParagraphList::iterator
5282 friends of Paragraph.
5284 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5286 * ParagraphList.C: Use the private next_ and previous_ from
5289 2003-04-01 John Levon <levon@movementarian.org>
5293 * Makefile.am: rename, remove defaults gunk
5296 * MenuBackend.C: remove defaults gunk
5299 * Languages.C: remove defaults gunk
5302 * lyx_main.C: error out if files couldn't be found.
5304 2003-04-02 John Levon <levon@movementarian.org>
5306 * text2.C: make incDepth() use parlist
5308 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * undo_funcs.C (firstUndoParagraph): adjust
5312 * text3.C (gotoInset): adjust
5313 (dispatch): adjust, and rewrite loop.
5315 * text2.C (init): adjust, and rewrite loop.
5316 (redoParagraphs): adjust
5317 (updateInset): adjust, and rewrite loop.
5318 (deleteEmptyParagraphMechanism): adjust
5320 * tabular.C (LyXTabular): adjust
5321 (SetMultiColumn): adjust
5324 * lyxtext.[Ch] (ownerParagraph): delete function
5325 (ownerParagraphs): new function returns a ParagraphList.
5327 * BufferView.C (removeAutoInsets): adjust
5328 (insertErrors): adjust
5329 (setCursorFromRow): adjust
5331 2003-04-01 Angus Leeming <leeming@lyx.org>
5333 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5336 2003-04-02 John Levon <levon@movementarian.org>
5342 * text_funcs.C: make transposeChars a free function
5344 * lyxrow_funcs.C: remove wrong comment
5346 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * rowpainter.C: adjust
5354 * lyxrow_funcs. [Ch]: new files
5356 * lyxrow.[Ch]: remove next and previous pointers
5357 (next,previous): remove accessor functions
5358 (isParEnd): move to lyxrow_funcs
5359 (lastPos): move to lyxrow_funcs
5360 (nextRowIsAllInset): move to lyxrow_funcs
5361 (lastPrintablePos): move to lyxrow_funcs
5362 (numberOfSeparators): move to lyxrow_funcs
5363 (numberOfHfills): move to lyxrow_funcs
5364 (numberOfLabelHfills): move to lyxrow_funcs
5365 (hfillExpansion): move to lyxrow_funcs
5369 * bufferview_funcs.C (toggleAndShow): adjust
5371 * RowList.h: Remove class RowList from file leave just a
5374 * RowList.C: delete file
5376 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5379 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * text3.C (cursorPrevious): adjust
5382 (cursorNext): adjust
5385 * text2.C (redoHeightOfParagraph): adjust
5386 (redoDrawingOfParagraph): adjust
5389 * text.C (breakParagraph): adjust
5390 (insertChar): adjust
5393 * rowpainter.C (RowPainter): adjust
5394 (leftMargin): simplify and adjust
5395 (most rowpainter functions): adjust.
5397 * rowpainter.h: store the row as RowList::iterator not as Row*
5399 * lyxcursor.C (row): taka RowList::iterator as arg
5402 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5405 2003-04-01 Angus Leeming <leeming@lyx.org>
5407 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5408 stuff like bool Bool.
5410 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5412 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5415 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5420 * lyxtext.h (rows): drop one version and leve a const variant that
5421 returns a RowList::iterator.
5423 2003-03-31 Angus Leeming <leeming@lyx.org>
5425 * text.C (fill): ensure that the signature is the same as that in the
5428 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * text2.C (redoParagraphs): adjust
5431 (updateCounters): adjust
5432 (checkParagraph): adjust
5433 (getColumnNearX): adjust and reformat a bit.
5435 * text.C (top_y): adjust
5437 (leftMargin): adjust
5438 (prepareToPrint): adjust
5440 (getRowNearY): adjust
5442 * lyxtext.h: make rowlist_ mutable.
5444 * RowList.h: add const_iterator
5445 * RowList.C: adjust for RowList::const_iterator.
5447 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5450 2003-03-31 John Levon <levon@movementarian.org>
5453 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5455 * lyx_main.C: set default fonts from using lyx_gui funcs
5457 * exporter.C: pdf_mode moved from lyxrc
5460 * lyxfunc.C: changes from above
5462 2003-03-31 John Levon <levon@movementarian.org>
5464 * lyx_main.C: fix to the last fix
5466 2003-03-31 John Levon <levon@movementarian.org>
5468 * bufferlist.C: "Load original" -> "Load Original"
5474 * format.C: more Alert cleanups
5476 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5478 * text2.C (removeParagraph): make it take a RowList::iterator as
5480 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5481 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5483 * text.C (anchor_row): make it take a RowList::iterator as arg,
5485 (computeBidiTables): make it take a const reference to Row instead
5486 of Row pointer, adjust.
5487 (leftMargin): make it take a RowList::iterator as arg, adjust.
5488 (rowBreakPoint): adjust
5489 (breakAgainOneRow): make it take a RowList::iterator as arg,
5491 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5493 * bufferview_funcs.C (toggleAndShow): adjust
5495 2003-03-30 John Levon <levon@movementarian.org>
5499 * boost-inst.C: moved to support
5501 * several files: changes as a result
5503 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * text2.C (LyXText): adjust.
5507 (removeRow): make it take a RowList::iterator as arg, adjust.
5508 (fullRebreak): adjust
5509 (deleteEmptyParagraphMechanism): adjust
5510 (clearPaint): adjust
5513 * text.C (top_y): adjust
5514 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5515 (breakAgain): make it take a RowList::iterator as arg, adjust.
5516 (breakParagraph): adjust
5517 (insertChar): adjust
5520 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5521 need_break_row, and refresh_row.
5523 * text3.C (dispatch): adjust
5525 * text2.C (checkParagraph): adjust
5527 (setCursorFromCoordinates): adjust
5529 * text.C (top_y): adjust
5531 (getRow): make it return a RowList::iterator, adjust
5532 (getRowNearY): make it return a RowList::iterator, adjust
5534 * text2.C (init): adjust
5535 (insertRow): remove function
5536 (insertParagraph): adjust
5537 (redoParagraphs): adjust
5538 (fullRebreak): adjust
5539 (updateCounters): adjust
5541 * text.C (top_y): rewrite to use RowList iterators.
5543 (setHeightOfRow): rewrite to sue RowList iterators.
5544 (appendParagraph): adjust
5545 (breakAgain): adjust
5546 (breakAgainOneRow): adjust
5547 (breakParagraph): adjust
5549 (getRowNearY): adjust, and remove commented code.
5551 * lyxtext.h (firstRow): delete function
5552 (lastRow): delete function
5553 (rows): new function (const and non-const versions.)
5554 (insertRow): delete function
5556 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5558 2003-03-29 John Levon <levon@movementarian.org>
5560 * BufferView_pimpl.C: always update scrollbar top
5561 because pasting text when we're anchored could mean we
5562 miss an update altogether
5564 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * text2.C (init): use rowlist_.end() and not 0.
5567 (insertRow): change to take a RowList::iterator as arg, adjust
5569 (insertParagraph): change to take a RowList::iterator as arg,
5571 (redoParagraphs): remove some debug msgs.
5573 * text.C (appendParagraph): change to take a RowList::iterator
5574 arg, adjust for this.
5575 (breakAgain): add an assert
5576 (breakAgainOneRow): ditto
5578 2003-03-29 John Levon <levon@movementarian.org>
5580 * text2.C: do not clear selection after inc/decDepth
5583 2003-03-29 John Levon <levon@movementarian.org>
5586 * buffer.C: fix broken strerrors according to Lars
5588 2003-03-29 John Levon <levon@movementarian.org>
5590 * converters.C: more Alert cleanups
5592 2003-03-29 John Levon <levon@movementarian.org>
5594 * bufferview_funcs.C: remove pointless Alert
5596 * buffer.C: fix confusing error message when
5597 a template is chmoded 000
5599 2003-03-29 John Levon <levon@movementarian.org>
5603 * BufferView_pimpl.C: Alert fixes
5607 * tabular-old.C: remove unused table compat reading
5609 2003-03-29 John Levon <levon@movementarian.org>
5614 * lyx_cb.C: more Alert cleanups
5616 * lyxfunc.C: don't allow chktex if not latex document
5618 2003-03-29 John Levon <levon@movementarian.org>
5622 * buffer.C: warnings pushed down from support/,
5625 2003-03-29 John Levon <levon@movementarian.org>
5627 * lyxfunc.C: safety check for C-r (revert)
5629 2003-03-29 John Levon <levon@movementarian.org>
5632 * bufferlist.C: several UI fixes using Alert::prompt.
5633 Fix the pointless looping quit code. Fix stupid revert
5638 * lyx_cb.C: use Alert::prompt
5640 * lyx_main.C: remove a silly question
5642 * lyxfunc.C: remove a couple of silly questions,
5645 2003-03-28 John Levon <levon@movementarian.org>
5647 * text2.C: fix bug 974 (End on empty par)
5649 2003-03-28 John Levon <levon@movementarian.org>
5651 * BufferView_pimpl.C:
5653 * lfuns.h: remove do-nothing math greek lfuns
5655 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * lyxgluelength.h (isValidGlueLength): add default arg on
5658 parameter 2. Remove default arg from friend in class.
5660 * lyxlength.h (isValidLength): add default arg on parameter 2.
5661 Remove default arg from friend in class.
5663 * text2.C (LyXText): adjust, initialize refresh_row.
5667 (insertParagraph): adjst
5668 (redoParagraphs): adjust
5669 (fullRebreak): adjust
5670 (updateCounters): adjust
5671 (deleteEmptyParagraphMechanism): first attempt at fixing a
5674 * text.C (top_y): adjust
5675 (setHeightOfRow): adjust
5677 (getRowNearY): adjust
5679 * lyxtext.h: include RowList.h
5680 (~LyXText): not needed anymore, deleted.
5681 (firstRow): modify for RowList
5682 (lastRow): new function
5683 Delete firstrow and lastrow class variables, add a Rowlist
5684 rowlist_ class variable.
5686 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5689 * RowList.C (insert): fix case where it == begin().
5691 2003-03-26 Angus Leeming <leeming@lyx.org>
5693 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5694 the thesaurus dialog.
5696 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5700 * RowList.[Ch]: new files
5702 * ParagraphList.C (erase): handle the case where it == begin
5705 2003-03-25 John Levon <levon@movementarian.org>
5709 * aspell.C: add new aspell support
5712 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5715 2003-03-25 Angus Leeming <leeming@lyx.org>
5718 * LyXAction.C (init): new LFUN_INSET_INSERT.
5720 * BufferView_pimpl.C (dispatch): split out part of the
5721 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5723 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5726 2003-03-25 Angus Leeming <leeming@lyx.org>
5728 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5730 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5733 * text3.C: remove useless row->height(0)
5735 2003-03-25 John Levon <levon@movementarian.org>
5739 * text3.C: rename the refreshing stuff to better names
5741 2003-03-24 John Levon <levon@movementarian.org>
5743 * BufferView_pimpl.h:
5744 * BufferView_pimpl.C: update layout choice on a mouse
5747 2003-03-23 John Levon <levon@movementarian.org>
5749 * Makefile.am: fix commandtags.h reference
5751 2003-03-22 John Levon <levon@movementarian.org>
5753 * BufferView_pimpl.C:
5758 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5760 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5763 * text.C: take the rtl methods out of line
5765 2003-03-21 André Pönitz <poenitz@gmx.net>
5767 * metricsinfo.[Ch]: new files containing structures to be passed around
5768 during the two-phase-drawing...
5770 2003-03-21 André Pönitz <poenitz@gmx.net>
5772 * lyxtextclass.C: read 'environment' tag.
5774 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5776 * text2.C (removeRow): fix bug 964
5778 2003-03-20 John Levon <levon@movementarian.org>
5782 * text2.C: paint cleanups. Inset::update() dropped font
5785 2003-03-19 John Levon <levon@movementarian.org>
5787 * lyxfunc.C: only fitcursor/markDirty if available()
5789 2003-03-19 John Levon <levon@movementarian.org>
5791 * commandtags.h: rename to ...
5793 * lfuns.h: ... this, and renumber / cleanup
5795 2003-03-19 John Levon <levon@movementarian.org>
5797 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5798 fit the cursor after an lfun
5802 * BufferView_pimpl.h:
5803 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5805 * LyXAction.C: layout-character should have ReadOnly
5807 * ParagraphParameters.C:
5809 * bufferview_funcs.C:
5816 * undo_funcs.C: changes from above
5818 2003-03-18 John Levon <levon@movementarian.org>
5820 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5821 remove it from update()
5823 * lyxfunc.C: update layout choice after an lfun
5825 * text3.C: remove extra updateLayoutChoice()s
5827 2003-03-18 John Levon <levon@movementarian.org>
5829 * text.C: top_y change means full repaint, fix
5830 a drawing bug with cursor movement
5832 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5836 * text2.C: anchor row on setCursor
5838 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5840 * lyxtext.h: remove almost all mutable keywords
5843 * text3.C: remove const keywords accordingly
5845 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5849 (TeXEnvironment): ditto
5852 2003-03-17 John Levon <levon@movementarian.org>
5854 * text.C (rowBreakPoint): remove attempt to fix displayed
5855 math insets inside a manual label
5857 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * lyxtext.h: remove BufferView* as first arg from almost all class
5861 * other files: adjust.
5863 2003-03-17 John Levon <levon@movementarian.org>
5867 * text2.C: more paint cleanups
5869 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5872 * rowpainter.C: remove "smart" background painting code
5874 2003-03-16 John Levon <levon@movementarian.org>
5879 * text3.C: add helper functions for setting refresh_row/y
5881 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5883 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5884 newline inset which *can* get inserted in the pass_thru layouts.
5885 This is primarily for literate documents.
5887 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5889 * buffer.C: increment LYX_FORMAT to 223
5891 2003-03-14 André Pönitz <poenitz@gmx.net>
5893 * textclass.h: prepare for environment handling, ws changes
5894 * lyxlayout.C: read latexheader and latexfooter tags
5896 2003-03-14 John Levon <levon@movementarian.org>
5898 * text2.C: rewrite ::status() a bit
5900 2003-03-13 John Levon <levon@movementarian.org>
5902 * lyxtext.h: add some docs
5904 2003-03-13 John Levon <levon@movementarian.org>
5909 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5911 2003-03-13 John Levon <levon@movementarian.org>
5913 * text3.C: fix appendix redrawing
5915 2003-03-13 John Levon <levon@movementarian.org>
5917 * text.C (setHeightOfRow):
5919 * rowpainter.C: make appendix mark have the text
5920 "Appendix" so the user knows what it is
5923 * LColor.C: s/appendixline/appendix/ from above
5925 2003-03-13 John Levon <levon@movementarian.org>
5927 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5929 * text.C: fix a getChar(pos) bug properly
5931 2003-03-13 Angus Leeming <leeming@lyx.org>
5934 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5935 Probably only temporary. Let's see how things pan out.
5937 * BufferView.C (unlockInset):
5938 * BufferView_pimpl.C (fitCursor):
5939 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5941 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5942 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5944 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5945 new functions that convert ParagraphParameters to and from a string.
5947 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5948 BufferView::Pimpl's dispatch.
5949 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5951 2003-03-13 André Pönitz <poenitz@gmx.net>
5955 * factory.C: make it aware of InsetEnv
5957 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * text2.C (setCursor): never ask for one past last
5960 (setCursor): add some debugging messages.
5962 * text.C (singleWidth): never ask for one past last
5963 (singleWidth): ditto
5965 (rightMargin): ditto
5966 (rowBreakPoint): ditto
5967 (setHeightOfRow): ditto
5968 (prepareToPrint): ditto
5970 * rowpainter.C (paintBackground): never ask for one past last
5971 (paintText): never ask for one past last
5973 * paragraph_pimpl.C (getChar): make the assert stricter, never
5974 allow the one past last pos to be taken
5976 * paragraph.C (getChar): ws changes only
5978 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5979 (numberOfSeparators): ditto
5980 (numberOfHfills): ditto
5982 2003-03-12 John Levon <levon@movementarian.org>
5988 * paragraph_funcs.C: fix per-buffer authorlists
5990 2003-03-12 John Levon <levon@movementarian.org>
5992 * text.C: fix newline in right address
5994 2003-03-12 Angus Leeming <leeming@lyx.org>
5996 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5997 duplicate those in LyXFunc::dispatch.
6001 * ToolbarDefaults.C:
6002 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6003 Add LFUN_FONTFREE_UPDATE.
6005 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6006 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6008 * bufferview_func.[Ch]: several new functions to facilliate
6009 transfer of data to and from the character dialog.
6011 2003-03-12 John Levon <levon@movementarian.org>
6016 * paragraph_funcs.C:
6017 * paragraph_pimpl.C:
6021 * text3.C: remove META_NEWLINE in favour of an inset
6024 * rowpainter.C: remove paintNewline (done by inset)
6026 2003-03-12 John Levon <levon@movementarian.org>
6028 * paragraph_pimpl.C: complain about bad getChar()s
6029 for a while at least
6031 2003-03-12 John Levon <levon@movementarian.org>
6034 * buffer.C: move paragraph read into a separate function,
6035 a little renaming to reflect that.
6038 * bufferparams.C: remove the author_ids map, not necessary now
6041 * factory.C: moved Buffer::readInset to here
6043 * paragraph_funcs.h:
6044 * paragraph_funcs.C: readParagraph free function moved from
6047 * tabular.C: name change
6049 2003-03-12 John Levon <levon@movementarian.org>
6052 * ParagraphParameters.C: move par params input to
6055 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6056 behave like a normal read from the stream wrt reading
6057 a line vs. a \\token
6059 2003-03-12 John Levon <levon@movementarian.org>
6062 * ParagraphParameters.h:
6063 * ParagraphParameters.C: move output code to a
6066 2003-03-12 John Levon <levon@movementarian.org>
6068 * BufferView.C (insertLyXFile):
6071 * tabular.C: use a parlist iterator for creating the
6074 2003-03-12 John Levon <levon@movementarian.org>
6076 * buffer.C: make current_change static local not
6079 2003-03-12 John Levon <levon@movementarian.org>
6081 * buffer.C: fix insertStringAsLines for change tracking
6083 2003-03-12 John Levon <levon@movementarian.org>
6090 * bufferparams.C: move author list into params. Rename some
6091 functions. Move the header reading into a separate token
6092 loop. Move the header token reading into BufferParams.
6094 2003-03-12 John Levon <levon@movementarian.org>
6096 * changes.C: put debug inside lyxerr.debugging() checks
6098 2003-03-11 André Pönitz <poenitz@gmx.net>
6100 * factory.C: make it aware of InsetHFill
6102 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6104 * buffer.C (latexParagraphs): move function from here...
6105 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6108 2003-03-10 Angus Leeming <leeming@lyx.org>
6110 * LyXAction.C (init): fix bug in poplating array with multiple entries
6111 with the same LFUN (spotted by JMarc).
6113 2003-03-10 John Levon <levon@movementarian.org>
6116 * text2.C: move getColumnNearX() near its
6119 2003-03-10 John Levon <levon@movementarian.org>
6121 * text.C: fix break before a minipage
6123 2003-03-10 John Levon <levon@movementarian.org>
6125 * text.C: fix the last commit
6127 2003-03-09 John Levon <levon@movementarian.org>
6131 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6132 bug 365 (don't break before insets unless needed). Don't
6133 return a value > last under any circumstances.
6135 2003-03-09 Angus Leeming <leeming@lyx.org>
6137 * BufferView_pimpl.C (trackChanges, dispatch): call
6138 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6140 2003-03-09 Angus Leeming <leeming@lyx.org>
6142 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6143 than Dialogs::showAboutlyx().
6145 2003-03-09 Angus Leeming <leeming@lyx.org>
6147 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6148 than Dialogs::showTabularCreate().
6150 2003-03-09 John Levon <levon@movementarian.org>
6154 * text2.C: 3rd arg to nextBreakPoint was always the same.
6157 2003-03-08 John Levon <levon@movementarian.org>
6164 * text2.C: Remove the "main" bit from the "main body"
6167 2003-03-08 John Levon <levon@movementarian.org>
6169 * text.C (leftMargin): The left margin of an empty
6170 manual label paragraph should not include the label width
6173 * text.C (prepareToPrint): don't attempt to measure hfills
6174 for empty manual label paragraphs - the answer should be 0
6176 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * CutAndPaste.C: remove commented code and reindent.
6180 2003-03-08 John Levon <levon@movementarian.org>
6183 * lyxfunc.C: move reloadBuffer()
6186 * BufferView.C: to here
6188 * lyxvc.C: add comment
6191 * vc-backend.C: call bv->reload() to avoid
6192 getStatus() check on MENURELOAD
6194 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6196 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6197 to an old format .dep file.
6199 2003-03-07 Angus Leeming <leeming@lyx.org>
6201 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6202 when the LFUN_MOUSE_RELEASE should have been handled by
6203 inset->localDispatch.
6205 2003-03-07 Angus Leeming <leeming@lyx.org>
6207 * BufferView_pimpl.C (dispatch):
6208 * LyXAction.C (init):
6209 * ToolbarDefaults.C (init):
6211 * lyxfunc.C (getStatus):
6212 remove LFUN_INSET_GRAPHICS.
6214 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6216 2003-03-07 Angus Leeming <leeming@lyx.org>
6219 * LyXAction.C (init):
6220 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6222 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6225 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6227 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6228 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6230 2003-03-07 Angus Leeming <leeming@lyx.org>
6232 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6235 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * ParagraphList.C (front): new function
6240 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6242 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6243 and top_row_offset_. removed var first_y.
6245 * text2.C (LyXText, removeRow):
6247 * BufferView_pimpl.C:
6248 use these methods instead of using first_y
6250 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * text2.C (pasteSelection): adjust for checkPastePossible
6254 * CutAndPaste.C: remove Paragraph * buf and replace with
6255 ParagraphList paragraphs.
6256 (DeleteBuffer): delete
6257 (cutSelection): change the tc type to textclass_type
6258 (copySelection): change the tc type to textclass_type
6259 (copySelection): adjust for ParagraphList
6260 (pasteSelection): change the tc type to textclass_type
6261 (pasteSelection): adjust for Paragraphlist
6262 (nrOfParagraphs): simplify for ParagraphList
6263 (checkPastePossible): simplify for ParagraphList
6264 (checkPastePossible): remove unused arg
6266 * ParagraphList.C (insert): handle the case where there are no
6269 * CutAndPaste.h: make CutAndPaste a namespace.
6271 * text3.C (dispatch): adjust
6273 * text.C (breakParagraph): add a ParagraphList as arg
6275 * paragraph_funcs.C (breakParagraph): change to take a
6276 BufferParams and a ParagraphList as args.
6277 (breakParagraphConservative): ditto
6278 (mergeParagraph): ditto
6279 (TeXDeeper): add a ParagraphList arg
6280 (TeXEnvironment): ditto
6283 * buffer.C (readLyXformat2): adjust
6284 (insertStringAsLines): adjust
6285 (latexParagraphs): adjust
6287 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6288 (cutSelection): adjust
6289 (pasteSelection): adjust
6291 * BufferView_pimpl.C (insertInset): adjust
6293 2003-03-05 Angus Leeming <leeming@lyx.org>
6296 * LyXAction.C (init):
6297 * BufferView_pimpl.C (dispatch):
6298 * lyxfunc.C (getStatus):
6299 remove LFUN_CHILD_INSERT.
6301 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6303 2003-03-05 Angus Leeming <leeming@lyx.org>
6306 * LyXAction.C (init):
6307 * src/factory.C (createInset):
6308 * lyxfunc.C (getStatus):
6309 * text3.C (dispatch):
6310 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6312 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6314 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * ParagraphList.C (insert): handle insert right before end()
6317 (erase): fix cases where it can be first or last paragraph.
6319 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6322 Paragraph::next and Paragraph::previous
6325 * text.C (breakParagraph): adjust
6327 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6328 BufferParams& as arg.
6329 (breakParagraph): use ParagraphList::insert
6330 (breakParagraphConservative): take a Buffer* instead of a
6331 BufferParams& as arg.
6332 (breakParagraphConservative): use ParagraphList::insert.
6334 * buffer.C (insertStringAsLines): un-const it
6335 (insertStringAsLines): adjust
6337 * ParagraphList.C (insert): new function
6339 * CutAndPaste.C (pasteSelection): adjust
6341 * text.C (backspace): adjust
6343 * tabular.C (SetMultiColumn): adjust
6345 * CutAndPaste.C (cutSelection): adjust
6346 (pasteSelection): adjust
6348 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6349 Buffer const * as arg
6351 * ParagraphList.C (erase): new function
6352 * paragraph_funcs.C (mergeParagraph): use it
6353 (mergeParagraph): make it take a Buffer* instead of a
6354 BufferParams* as arg
6356 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6358 (breakParagraphConservative): ditto
6360 * paragraph.h: remove the breakParagraph friend
6362 * paragraph.C (eraseIntern): new function
6363 (setChange): new function
6365 * paragraph_funcs.C (mergeParagraph): make it take a
6366 ParagraphList::iterator instead of a Paragraph *, adjust
6369 * paragraph.h: move an #endif so that the change tracking stuff
6370 also works in the NO_NEXT case.
6372 2003-03-04 Angus Leeming <leeming@lyx.org>
6375 * LyXAction.C: new LFUN_INSET_MODIFY.
6377 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6378 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6380 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * several files: ws changes only
6384 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6385 (TeXEnvironment): ditto
6388 * buffer.C (makeLaTeXFile): adjust
6389 (latexParagraphs): make it take ParagraphList::iterator as args
6391 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * buffer.C (latexParagraphs): adjust
6395 * paragraph.C (TeXOnePar): move function...
6396 (optArgInset): move function...
6397 (TeXEnvironment): move function...
6398 * paragraph_pimpl.C (TeXDeeper): move function...
6399 * paragraph_funcs.C: ...here
6401 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6403 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * buffer.C (readInset): remove compability code for old Figure and
6408 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * buffer.C: ws changes
6413 * BufferView_pimpl.C: ditto
6416 * bufferlist.h: ditto
6420 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6422 * converter.[Ch]: split into itself +
6425 * Makefile.am: += graph.[Ch] + format.[Ch]
6432 * lyxrc.C: added #include "format.h"
6434 2003-02-27 Angus Leeming <leeming@lyx.org>
6436 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6439 * factory.C (createInset): add "label" to the factory.
6441 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6442 string and do no more.
6444 2003-02-27 Angus Leeming <leeming@lyx.org>
6447 * LyXAction.C (init):
6448 * factory.C (createInset):
6449 * BufferView_pimpl.C (dispatch):
6450 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6452 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6454 * lyxfunc.C (dispatch):
6455 * text3.C (dispatch): pass name to params2string.
6457 2003-02-26 Angus Leeming <leeming@lyx.org>
6459 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6461 Rearrange the ~includes. Strip out the unnecessary ones.
6463 * factory.C (createInset): reformat.
6464 create new insets for the various LFUN_XYZ_APPLY lfuns.
6466 2003-02-26 John Levon <levon@movementarian.org>
6469 * lyxrow.C: add isParStart,isParEnd helpers
6471 * paragraph.h: make isInserted/DeletedText take refs
6473 * paragraph_funcs.h:
6474 * paragraph_funcs.C: remove #if 0'd code
6479 * text.C: use lyxrow helpers above.
6480 Move draw and paint routines to RowPainter.
6481 Make several methods use refs not pointers.
6482 Make backgroundColor() const.
6483 Add markChangeInDraw(), isInInset().
6484 Merge changeRegionCase into changeCase.
6485 Make workWidth() shouldn't-happen code into an Assert.
6488 * rowpainter.C: new class for painting a row.
6491 * vspace.C: make inPixels take a ref
6493 2003-02-26 Angus Leeming <leeming@lyx.org>
6495 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6498 2003-02-25 John Levon <levon@movementarian.org>
6500 * ispell.C: give the forked command a more accurate name
6502 2003-02-22 John Levon <levon@movementarian.org>
6505 * toc.C: make TocItem store an id not a Paragraph *
6508 2003-02-21 Angus Leeming <leeming@lyx.org>
6510 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6511 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6512 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6513 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6514 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6515 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6517 * BufferView_pimpl.C (dispatch):
6518 * LyXAction.C (init):
6519 * factory.C (createInset):
6520 * lyxfunc.C (getStatus, dispatch):
6521 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6523 2003-02-21 Angus Leeming <leeming@lyx.org>
6525 * BufferView_pimpl.C (MenuInsertLyXFile):
6526 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6527 * lyxfunc.C (menuNew, open, doImport):
6528 no longer pass a LyXView & to fileDlg.
6530 2003-02-21 Angus Leeming <leeming@lyx.org>
6532 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6533 * LyXAction.C: change, BIBKEY to BIBITEM.
6534 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6535 Change InsetBibKey to InsetBibitem.
6536 Change BIBKEY_CODE to BIBITEM_CODE.
6537 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6538 * factory.C: replace insetbib.h with insetbibitem.h.
6539 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6540 * paragraph.C: replace insetbib.h with insetbibitem.h.
6541 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6542 Change bibkey() to bibitem().
6543 * text.C: remove insetbib.h.
6544 * text2.C: replace insetbib.h with insetbibitem.h.
6545 change bibkey() to bibitem().
6546 * text3.C: remove insetbib.h.
6547 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6549 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6551 * lyxrc.C (output): enclose user email in quotes (in case there are
6554 2003-02-18 John Levon <levon@movementarian.org>
6556 * buffer.h: add std::
6558 2003-02-17 John Levon <levon@movementarian.org>
6564 * pspell.C: reworking. Especially in ispell, a large
6565 number of clean ups and bug fixes.
6567 * lyxfunc.C: fix revert to behave sensibly
6569 2003-02-17 André Pönitz <poenitz@gmx.net>
6572 * commandtags.h: new LFUN_INSERT_BIBKEY
6582 * paragraph_func.C: remove special bibkey handling
6584 2003-02-17 John Levon <levon@movementarian.org>
6586 * text.C (Delete): fix case where delete at the end of
6587 the very first paragraph would not merge the pars
6589 2003-02-17 John Levon <levon@movementarian.org>
6591 * lyxrow.C: fix lastPrintablePos()
6593 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6595 * bufferparams.C (writeLaTeX): add a std:here
6597 * buffer.C: and remove a using directive there
6599 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6601 * buffer.C (makeLaTeXFile): move the code that generates the
6604 * bufferparams.C (writeLaTeX): ... in this new method
6606 * LaTeXFeatures.C (getEncodingSet): make const
6607 (getLanguages): make const
6609 * MenuBackend.C (binding): returns the binding associated to this
6611 (add): sets the status of each item by calling getStatus. Adds
6613 (read): add support for OptSubMenu
6614 (expand): remove extra separator at the end of expanded menu
6616 2003-02-15 John Levon <levon@movementarian.org>
6619 * BufferView_pimpl.C:
6621 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6622 inset code that had no actual effect. Remove unneeded status
6625 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6627 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6630 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6632 * text.C (drawLengthMarker): also draw an arrow marker for
6633 symbolic lengths (medskip...)
6635 2003-02-14 John Levon <levon@movementarian.org>
6638 * tabular.C: better method names
6640 2003-02-14 John Levon <levon@movementarian.org>
6642 * BufferView_pimpl.C:
6647 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6648 it's a more accurate name. Remove some pointless uses.
6650 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6652 * text2.C (LyXText): change order of initilizers to shut off
6655 2003-02-14 John Levon <levon@movementarian.org>
6657 * buffer.C: use ParIterator for getParFromID()
6661 * paragraph_pimpl.h:
6662 * paragraph_pimpl.C: remove unused getParFromID()
6664 2003-02-14 John Levon <levon@movementarian.org>
6666 * buffer.C: remove some very old #if 0'd parse code
6668 2003-02-13 John Levon <levon@movementarian.org>
6672 * text2.C: move hfillExpansion(), numberOfSeparators(),
6673 rowLast(), rowLastPrintable(), numberofHfills(),
6674 numberOfLabelHfills() ...
6677 * lyxrow.C: ... to member functions here.
6682 * text.C: remove LyXText::beginningOfMainBody(), and call
6683 p->beginningOfMainBody() directly. Move the check for
6684 LABEL_MANUAL into the latter.
6691 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6697 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6698 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6700 2003-02-13 John Levon <levon@movementarian.org>
6702 * CutAndPaste.C: remove debug
6704 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6706 * paragraph.C (asString): remove two unused variables
6708 * lyxtextclass.C (readTitleType):
6710 (LyXTextClass): handle new members titletype_ and titlename_
6712 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6714 2003-02-09 John Levon <levon@movementarian.org>
6717 * buffer.C: replace hand-coded list with a map for the dep clean
6719 2003-02-08 John Levon <levon@movementarian.org>
6721 * LaTeX.C: consolidate code into showRunMessage() helper
6723 2003-02-08 John Levon <levon@movementarian.org>
6728 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6729 and pass the size in explicitly
6731 * BufferView_pimpl.h:
6732 * BufferView_pimpl.C:
6734 * BufferView.C: add getCurrentChange()
6736 * BufferView_pimpl.h:
6737 * BufferView_pimpl.C: handle change lfuns
6739 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6740 for changes. Mark pasted paragraphs as new.
6742 * support/lyxtime.h:
6743 * support/lyxtime.C:
6744 * DepTable.C: abstract time_t as lyx::time_type
6747 * LColor.C: add colours for new text, deleted text, changebars
6749 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6750 package use "usenames" option.
6754 * LyXAction.C: add change lfuns
6758 * author.C: author handling
6761 * buffer.C: add a per-buffer author list, with first entry as
6762 current author. Handle new .lyx tokens for change tracking. Output
6763 author list to .lyx file. Output dvipost stuff to .tex preamble.
6764 Bump lyx format to 222.
6767 * bufferlist.C: add setCurrentAuthor() to reset current author details
6771 * bufferparams.C: add param for tracking
6773 * bufferview_funcs.C: output change info in minibuffer
6777 * changes.C: add change-tracking structure
6780 * debug.C: add CHANGES debug flag
6783 * lyxfind.C: add code for finding the next change piece
6786 * lyxrc.C: add user_name and user_email
6789 * lyxrow.C: add a metric for the top of the text line
6792 * text.C: implement accept/rejectChange()
6795 * text.C: paint changebars. Paint new/deleted text in the chosen
6796 colours. Strike through deleted text.
6800 * paragraph_pimpl.h:
6801 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6802 in the current change to the insert functions. Rework erase to
6803 mark text as deleted, adding an eraseIntern() and a range-based
6804 erase(). Implement per-paragraph change lookup and
6807 * paragraph_funcs.C: Fixup paste for change tracking.
6809 * tabular.C: mark added row/columns as new.
6811 * text.C: fix rowLast() to never return -1. Don't allow
6812 spellchecking of deleted text. Track transpose changes. Don't
6813 allow paragraph break or merge where appropriate.
6815 * text2.C: leave cursor at end of selection after a cut.
6817 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6819 * text.C (getLengthMarkerHeight):
6820 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6821 visible on screen too.
6823 2003-02-07 John Levon <levon@movementarian.org>
6825 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6827 2003-02-05 Angus Leeming <leeming@lyx.org>
6829 * lyxserver.C (read_ready): revert my patch of 11 September last year
6830 as it sends PC cpu through the roof. Presumably this means that
6831 the lyxserver will no longer run on an Alpha...
6833 2003-01-30 Angus Leeming <leeming@lyx.org>
6835 * factory.C (createInset): create an InsetCommandParam of type "index"
6836 and use it to 'do the right thing'.
6838 * text2.C (getStringToIndex): ensure that cursor position is always
6839 reset to the reset_cursor position.
6841 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6843 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6846 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6850 * lyxfunc.C: Output messages with identical spelling, punctuation,
6853 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6855 * MenuBackend.C (expandFormats): List only viewable export formats
6858 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6861 * lyxfunc.C (getStatus): Make sure that formats other than
6862 "fax" can also be disabled
6864 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * text3.C (dispatch): put the lfuns that insert insets in 3
6867 groups, and call doInsertInset with appropriate arguments.
6868 (doInsertInset): new function, that creates an inset and inserts
6869 it according to some boolean parameters.
6871 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * buffer.C (readFile): remember to pass on 'par' when calling
6874 readFile recursively.
6876 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * MenuBackend.C (expandFormats): add "..." to import formats.
6880 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6882 * paragraph.C (asString): Remove XForms RTL hacks.
6884 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6885 * buffer.C: fix typo
6887 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6889 * Makefile.am (LIBS): delete var
6890 (lyx_LDADD): add @LIBS@ here instead.
6892 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6894 * Clarify the meaning of "wheel mouse jump"
6896 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6898 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6901 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6903 * importer.C (Loaders): do not preallocate 3 elements in the
6904 vector, since one ends up with 6 elements otherwise
6906 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6908 * DepTable.C (write): write the file name as last element of the
6909 .dep file (because it may contain spaces)
6910 (read): read info in the right order
6912 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6914 * paragraph_pimpl.C (simpleTeXBlanks):
6915 (simpleTeXSpecialChars):
6916 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6918 * tabular.C (latex): add some missing case statements. Reindent.
6920 * MenuBackend.C (expandToc): remove unused variable.
6922 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6931 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6934 2003-01-05 John Levon <levon@movementarian.org>
6937 * BufferView.C: add getEncoding()
6940 * kbsequence.C: do not store last keypress
6943 * lyxfunc.C: store last keypress here instead. Pass encoding
6946 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6948 * lyx_main.C (init): remove annoying error message when following
6949 symbolic links (bug #780)
6951 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6953 * text.C (insertChar):
6954 * lyxrc.C (getDescription): remove extra spaces
6956 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6958 * lyxrc.C (getDescription): remove extra spaces
6960 2002-12-20 John Levon <levon@movementarian.org>
6962 * text3.C: hack fix for page up/down across tall rows
6964 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6966 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6969 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6971 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6972 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6973 thesaurus is not compiled in
6975 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6977 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6979 2002-12-16 Angus Leeming <leeming@lyx.org>
6982 * lyx_main.C (init): remove override_x_deadkeys stuff.
6984 2002-12-12 John Levon <levon@movementarian.org>
6986 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6987 insert. Only remove shift modifier under strict
6990 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * MenuBackend.C (expandToc): fix crash.
6994 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * MenuBackend.C (expandToc): gettext on float names.
6998 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7000 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7001 implement bool empty() [bug 490]
7003 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7007 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * several files: ws changes
7011 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * text2.C (setCounter): clean up a bit, use boost.format.
7014 (updateCounters): initialize par upon declaration.
7016 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7017 if the layout exists. We do not just store the layout any more.
7018 (SwitchLayoutsBetweenClasses): use boost.format
7020 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7022 * converter.C (convert): if from and to files are the same, use a
7023 temporary files as intermediary
7025 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7028 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7030 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7032 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7034 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * tabular.C (asciiPrintCell): use string(size, char) instead of
7039 * sgml.C (openTag): fix order of arguments to string constructor
7042 * lyxfunc.C (dispatch): use boost.format
7044 * lots of files: change "c" -> 'c'
7046 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7048 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7050 2002-11-25 Angus Leeming <leeming@lyx.org>
7052 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7054 * lyx_main.C (init): compile fix.
7056 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * lyx_cb.C (start): boost.formatify
7059 do not include <iostream>
7061 * lengthcommon.C: ws only
7063 * boost-inst.C,BoostFormat.h: add more explict instantations
7065 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * lots of files: handle USE_BOOST_FORMAT
7069 2002-11-21 John Levon <levon@movementarian.org>
7071 * pspell.C: fix compile
7073 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7075 * lyxfunc.C (dispatch): use boost::format
7079 * lyxfont.C (stateText): use boost::format
7081 * lyx_main.C (LyX): use boost::format
7083 (queryUserLyXDir): ditto
7086 (typedef boost::function): use the recommened syntax.
7088 * importer.C (Import): use boost::format
7090 * debug.C (showLevel): use boost::format
7092 * converter.C (view): use boost::format
7097 * bufferview_funcs.C (currentState): use boost::format
7099 * bufferlist.C (emergencyWrite): use boost::format
7101 * buffer.C (readLyXformat2): use boost::format
7102 (parseSingleLyXformat2Token): ditto
7104 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7106 * LaTeX.C (run): use boost::format
7108 * Chktex.C (scanLogFile): use boost::format
7110 * BufferView_pimpl.C (savePosition): use boost::format
7111 (restorePosition): ditto
7112 (MenuInsertLyXFile): ditto
7114 * BoostFormat.h: help file for explicit instation.
7116 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7118 * tabular.C (latex): Support for block alignment in fixed width
7121 2002-11-17 John Levon <levon@movementarian.org>
7123 * BufferView_pimpl.C:
7125 * lyxfunc.C: split filedialog into open/save
7127 2002-11-08 Juergen Vigna <jug@sad.it>
7129 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7130 by my last patch (hopefully).
7132 2002-11-08 John Levon <levon@movementarian.org>
7141 * toc.C: ParConstIterator, and use it (from Lars)
7143 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7145 * lyxtextclass.[Ch]: revise and add doxygen comments
7147 2002-11-07 John Levon <levon@movementarian.org>
7149 * text.C: fix progress value for spellchecker
7151 * toc.C: fix navigate menu for insetwrap inside minipage
7153 * paragraph_funcs.C: added FIXME for suspect code
7155 2002-11-07 John Levon <levon@movementarian.org>
7157 * BufferView_pimpl.C: fix redrawing of insets
7160 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * text2.C (updateCounters): fix bug 668
7164 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7166 * text3.C (dispatch): Do not make the buffer dirty when moving the
7169 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * vc-backend.C: STRCONV
7174 * text2.C (setCounter): STRCONV
7176 * paragraph.C (asString): STRCONV
7178 * lyxlength.C (asString): STRCONV
7179 (asLatexString): ditto
7181 * lyxgluelength.C (asString): STRCONV
7182 (asLatexString): ditto
7184 * lyxfunc.C (dispatch): STRCONV
7187 * lyxfont.C (stateText): STRCONV
7189 * importer.C (Import): STRCONV
7191 * counters.C (labelItem): STRCONV
7192 (numberLabel): ditto
7193 (numberLabel): remove unused ostringstream o
7198 * bufferview_funcs.C (currentState): STRCONV
7200 * buffer.C (readFile): STRCONV
7201 (asciiParagraph): ditto
7202 (makeLaTeXFile): ditto
7204 * Spacing.C (writeEnvirBegin): STRCONV
7206 * LaTeXFeatures.C (getLanguages): STRCONV
7207 (getPackages): ditto
7209 (getBabelOptions): ditto
7210 (getTClassPreamble): ditto
7211 (getLyXSGMLEntities): ditto
7212 (getIncludedFiles): ditto
7216 (scanAuxFile): ditto
7219 * LString.h: add the STRCONV macros
7221 * BufferView_pimpl.C (savePosition): STRCONV
7222 (restorePosition): ditto
7223 (MenuInsertLyXFile): ditto
7225 * vc-backend.C (scanMaster): change from submatch[...] to
7228 * funcrequest.C: include config.h
7230 * factory.C: include config.h
7232 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7234 * box.C: include config.h
7236 * LaTeX.C (scanAuxFile): change from submatch[...] to
7240 2002-10-25 Angus Leeming <leeming@lyx.org>
7242 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7244 * ispell.[Ch] (setError): new method.
7245 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7246 Use setError() insetead of goto END.
7248 * lyx_cb.C (AutoSave): move out child process into new class
7251 2002-10-30 John Levon <levon@movementarian.org>
7253 * text3.C: make start appendix undoable
7255 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7257 * lyxlength.C (inPixels): Fix returned value.
7259 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7262 2002-10-24 Angus Leeming <leeming@lyx.org>
7264 * lyxgluelength.h: no need to forward declare BufferParams
7265 or BufferView, so don't.
7267 2002-10-21 John Levon <levon@movementarian.org>
7269 * BufferView.C: menuUndo ->undo, redo
7271 * BufferView.h: document, remove dead, make some methods private
7273 * paragraph_funcs.h:
7274 * paragraph_funcs.C:
7275 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7280 * sgml.C: move sgml open/close tag into sgml.C
7282 * bufferview_funcs.h: unused prototype
7285 * lyxfunc.C: remove unused
7288 * text.C: remove unused
7290 2002-10-21 John Levon <levon@movementarian.org>
7294 * BufferView_pimpl.h:
7295 * BufferView_pimpl.C: fix mouse wheel handling based on
7296 patch from Darren Freeman
7298 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7300 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7302 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7304 * lyxlength.C (inPixels): Fix hanfling of negative length.
7305 Fix LyXLength::MU case.
7307 2002-10-16 John Levon <levon@movementarian.org>
7309 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7311 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7313 * converter.C (view): add support for $$i (file name) and $$p
7314 (file path) for the viewer command. If $$i is not specified, then
7315 it is appended to the command (for compatibility with old syntax)
7317 2002-10-14 Juergen Vigna <jug@sad.it>
7319 * undo_funcs.C (textHandleUndo): alter the order in which the
7320 new undopar is added to the LyXText, as we have to set first
7321 the right prev/next and then add it as otherwise the rebuild of
7322 LyXText is not correct. Also reset the cursor to the right paragraph,
7323 with this IMO we could remove the hack in "redoParagraphs()".
7325 2002-10-09 Angus Leeming <leeming@lyx.org>
7327 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7328 to turn off an optimisation if a new inset is to be inserted.
7330 2002-10-11 André Pönitz <poenitz@gmx.net>
7332 * lyxtext.h: make some functions public to allow access
7333 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7335 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7337 * text3.C (dispatch): when changing layout, avoid an infinite loop
7340 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7342 * lyxrc.C (read): treat a viewer or converter command of "none" as
7345 * MenuBackend.C (expandFormats): for an update, also allow the
7346 formats that are not viewable
7348 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7349 script if it is newer than the lyxrc.defaults in user directory
7351 2002-10-07 André Pönitz <poenitz@gmx.net>
7353 * text.C: Vitaly Lipatov's small i18n fix
7355 2002-09-25 Angus Leeming <leeming@lyx.org>
7357 * ispell.h: doxygen fix.
7359 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7361 * buffer.h (readFile): Add a new argument to the method, to allow
7362 reading of old-format templates.
7364 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7366 * toc.C (getTocList): Get TOC from InsetWrap.
7368 2002-09-16 John Levon <levon@movementarian.org>
7370 * lyxfunc.C: check tabular for cut/copy too
7372 2002-09-12 John Levon <levon@movementarian.org>
7377 * factory.C: add header
7379 * paragraph_funcs.h:
7380 * paragraph_funcs.C: cleanup
7382 2002-09-11 John Levon <levon@movementarian.org>
7384 * PrinterParams.h: odd/even default to true
7386 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7388 * PrinterParams.h: update printer parameters for new xforms dialog
7390 2002-09-11 Angus Leeming <leeming@lyx.org>
7392 * lyxserver.C (read_ready): re-write to make it more transparent
7393 and to make it work in coherent fashion under Tru64 Unix.
7395 2002-09-11 André Pönitz <poenitz@gmx.net>
7399 * text3.C: implement LFUN_WORDSEL
7401 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7404 make floatlist_ a boost::shared_ptr<FloatList>
7406 * lyxtextclass.C: include FloatList.h
7407 (LyXTextClass): initialize floatlist_
7408 (TextClassTags): add TC_NOFLOAT
7409 (Read): match "nofloat" to TC_NOFLOAT and use it.
7410 (readFloat): modify call to floatlist_
7414 * FloatList.[Ch] (FloatList): remove commented out float
7416 (erase): new function
7418 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7420 * MenuBackend.C (expandToc): fix crash when there is no document
7423 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7425 * many files: Add insetwrap.
7427 2002-09-09 John Levon <levon@movementarian.org>
7429 * text2.C: remove confusing and awkward depth wraparound
7431 2002-09-09 John Levon <levon@movementarian.org>
7433 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7436 * buffer.C: remove getIncludeonlyList()
7439 * lyxfunc.C: remove headers
7441 2002-09-09 Juergen Vigna <jug@sad.it>
7443 * text.C (getColumnNearX): fix form Michael this is most
7444 probably a cut&paste bug.
7446 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7450 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7451 references, ws changes.
7453 * text2.C (init): update counters after init
7454 (insertParagraph): no need to set counter on idividual paragraphs.
7455 (setCounter): access the counters object in the textclass object
7456 on in the buffer object.
7457 (updateCounters): ditto
7459 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7460 shared_ptr<Counters> to avoid loading counters.h in all
7462 (LyXTextClass): initialize ctrs_
7463 (TextClassTags): add TC_COUNTER, and ...
7464 (Read): use it here.
7465 (CounterTags): new tags
7466 (readCounter): new function
7467 (counters): new funtion
7468 (defaultLayoutName): return a const reference
7470 * counters.C (Counters): remove contructor
7471 (newCounter): remove a couple of unneeded statements.
7472 (newCounter): simplify a bit.
7473 (numberLabel): some small formatting changes.
7475 * buffer.[Ch]: remove all traces of counters, move the Counters
7476 object to the LyXTextClass.
7478 2002-09-06 Alain Castera <castera@in2p3.fr>
7480 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7481 package to set the horizontal alignment on fixed width columns.
7484 * lyx_sty.h: added tabularnewline macro def.
7486 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7488 2002-09-06 John Levon <levon@movementarian.org>
7490 * LyXAction.C: tooltips for sub/superscript
7492 * MenuBackend.C: a bit more verbose
7494 * lyxfunc.C: tiny clean
7496 * undo_funcs.C: document undo_frozen
7498 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * counters.C (Counters): add missing algorithm counter.
7502 * text2.C (setCounter): lookup the counter with layouts latexname
7503 instead of by section number.
7504 (setCounter): use a hackish way to lookup the correct enum
7506 a float name->type change
7507 reset enum couners with counter name directly instead of depth value.
7509 * counters.C (Counters): remove the push_backs, change to use the
7510 float type not the float name.
7511 (labelItem): remove unused string, float name->type change
7513 * counters.h: don't include vector, loose the enums and sects vectors
7515 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7518 (Read): add float->TC_FLOAT to textclassTags
7519 (Read): and handle it in the switch
7520 (readFloat): new function
7522 * FloatList.C (FloatList): comment out the hardcoded float
7525 * lyxlayout.h: ws change.
7527 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7529 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7531 2002-09-03 Angus Leeming <leeming@lyx.org>
7533 * BufferView_pimpl.h: qualified name is not allowed in member
7534 declaration: WorkArea & Pimpl::workarea() const;
7536 * factory.C: added using std::endl directive.
7538 * text3.C: added using std::find and std::vector directives.
7540 2002-08-29 André Pönitz <poenitz@gmx.net>
7543 * text2.C: remove unused member number_of_rows
7546 * BufferView2.C: remove file, move contents to...
7547 * BufferView.C: ... here
7549 * BufferView_pimpl.C:
7550 * factory.C: move more inset creation to factory
7552 * vspace.C: avoid direct usage of LyXText, ws changes
7555 don't provide direct access to WorkArea, use two simple
7556 acessors haveSelction() and workHeight() instead
7559 2002-08-29 John Levon <levon@movementarian.org>
7561 * BufferView_pimpl.C (dispatch): do not continue when
7564 2002-08-28 André Pönitz <poenitz@gmx.net>
7566 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7569 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7571 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7573 * buffer.C: increment LYX_FORMAT to 221
7575 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7576 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7578 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7580 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7582 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7584 * factory.C (createInset): use LyXTextClass::floats
7586 * MenuBackend.C (expandFloatListInsert):
7587 (expandFloatInsert):
7590 * text2.C (setCounter):
7592 * LaTeXFeatures.C (useFloat):
7593 (getFloatDefinitions):
7595 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7597 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7598 floatlist_, with accessor floats().
7600 * FloatList.h: remove global FloatList
7602 2002-08-26 André Pönitz <poenitz@gmx.net>
7604 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7608 * BufferView_pimpl.C:
7609 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7611 2002-08-25 John Levon <levon@movementarian.org>
7613 * LyXAction.C: fix margin note description
7615 2002-08-24 John Levon <levon@movementarian.org>
7619 * bufferview_funcs.C:
7621 * undo_funcs.C: cleanups
7623 * lyxfunc.C: disable CUT/COPY when no selection
7625 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7627 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7628 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7630 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7631 Add backward compatibility to "mono", "gray" and "no".
7633 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7635 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7636 (and file_format >= 200).
7638 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7640 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7642 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7644 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7646 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7648 * BufferView_pimpl.C:
7655 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7656 inset and code to make it work with the paragraph code. The inset
7657 can be anywhere in the paragraph, but will only do the expected
7658 thing in LaTeX if the layout file contains the parameter line
7660 (or more generally, a nonzero value) for that layout.
7662 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * paragraph.h: remove the declaration of undefined counters class
7667 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7669 * text2.C (setCounter): fixed enumeration mis-count as reported by
7670 Dr. Richard Hawkins.
7672 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7674 * paragraph_funcs.h: remove some unneeded includes
7676 * text.C (backspace): pasteParagraph now in global scipe
7678 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7679 (pasteSelection): ditto
7681 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7682 * paragraph_funcs.C (pasteParagraph): ... here
7684 2002-08-20 André Pönitz <poenitz@gmx.net>
7686 * commandtags.h: new LFUNs for swapping/copying table row/colums
7689 * lyxfunc.C: support for new lfuns
7691 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * buffer.[Ch]: remove NO_COMPABILITY stuff
7696 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * boost.C (throw_exception): new file, with helper function for
7699 boost compiled without exceptions.
7704 * ParameterStruct.h:
7705 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7707 * bufferlist.C (emergencyWriteAll): use boost bind
7709 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7711 * text.C: include paragraph_funcs.h
7712 (breakParagraph): breakParagraph is now in global scope
7714 * paragraph_funcs.[Ch]: new files
7716 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7719 * buffer.C: include paragraph_funcs.h
7720 (insertStringAsLines): breakParagraph is now in global scope
7722 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7725 * CutAndPaste.C: include paragraph_funcs.h
7726 (cutSelection): breakParagraphConservative is now in global scope
7727 (pasteSelection): ditto
7729 * buffer.h: declare oprator== and operator!= for
7730 Buffer::inset_iterator
7732 * bufferlist.C (emergencyWrite): don't use fmt(...)
7734 * text3.C: add using std::endl
7736 * BufferView.C (moveCursorUpdate): remove default arg
7738 2002-08-20 André Pönitz <poenitz@gmx.net>
7740 * buffer.[Ch]: move inline functions to .C
7743 * BufferView_pimpl.C:
7745 * buffer.[Ch]: use improved inset_iterator
7748 * paragraph.[Ch]: write one paragraph at a time
7750 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7752 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7753 style if style is not specified.
7755 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * text2.C (setCounter): when searching for right label for a
7758 caption, make sure to recurse to parent insets (so that a caption
7759 in a minipage in a figure float works) (bug #568)
7761 2002-08-20 André Pönitz <poenitz@gmx.net>
7763 * text3.C: new file for LyXText::dispatch() and helpers
7765 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7767 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7769 2002-08-19 André Pönitz <poenitz@gmx.net>
7772 * text.C: new LyXText::dispatch()
7774 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7776 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7778 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7780 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7783 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7785 * Makefile.am: use $(variables) instead of @substitutions@
7787 2002-08-15 André Pönitz <poenitz@gmx.net>
7790 * BufferView_pimpl.C: streamlining mathed <-> outer world
7794 * LyXAction.C: remove unused LFUN_MATH
7796 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7800 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * paragraph.C (Paragraph): reformat a bit
7803 (cutIntoMinibuffer): use builtin InsetList function instad of
7807 * buffer.C: include boost/bind.hpp, add using std::for_each
7808 (writeFileAscii): use ParagraphList iterators
7809 (validate): use for_each for validate traversal of paragraphs
7810 (getBibkeyList): use ParagraphList iterators
7811 (resizeInsets): use for_each to resizeInsetsLyXText for all
7813 (getParFromID): use ParagraphList iterators
7815 * BufferView2.C (lockInset): use paragraph list and iterators
7817 2002-08-14 John Levon <levon@movementarian.org>
7819 * lyxserver.C: remove spurious xforms include
7821 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7823 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7825 2002-08-13 André Pönitz <poenitz@gmx.net>
7828 * lyxfunc.C: further cleaning
7830 2002-08-13 André Pönitz <poenitz@gmx.net>
7832 * funcrequest.h: new constructor
7834 * funcrequest.C: move stuff here from .h
7837 * BufferView_pimpl.C:
7840 * lyxfunc.C: subsequent changes
7842 * lyxfunc.h: new view() member function
7844 * lyxfunc.C: subsequent changes
7846 2002-08-13 Angus Leeming <leeming@lyx.org>
7849 * BufferView_pimpl.C:
7857 changes due to the changed LyXView interface that now returns references
7858 to member variables not pointers.
7860 2002-08-13 Angus Leeming <leeming@lyx.org>
7862 * WordLangTuple (word, lang_code): return references to strings,
7867 * lyxtext.h: forward-declare WordLangTuple.
7872 * text.C: #include "WordLangTuple.h".
7875 * text.C: (selectNextWordToSpellcheck): constify return type.
7877 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7883 * paragraph_pimpl.h:
7886 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7888 Made updateCounter always count from start of buffer, and removed
7889 second argument (par).
7890 Reverted floats number display to '#'. Perhaps I'll try again when the
7891 code base is sanitized a bit.
7893 2002-08-12 Angus Leeming <leeming@lyx.org>
7895 * buffer.[Ch] (getLabelList): constify.
7897 2002-08-07 André Pönitz <poenitz@gmx.net>
7899 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7901 * funcrequest.h: extension to keep mouse (x,y) position
7903 2002-08-12 Juergen Vigna <jug@sad.it>
7905 * BufferView2.C (insertErrors): forbid undo when inserting error
7908 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7910 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * ParagraphList.[Ch]: new files
7914 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7916 * BufferView2.C (lockInset): ParagraphList changes
7919 * bufferlist.C: ditto
7923 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7926 unused class variable counter_,
7928 * paragraph.[Ch] (getFirstCounter): delete unused function
7930 * counters.C: include LAssert.h
7931 (reset): add a new function with no arg, change other version to
7932 not have def. arg and to not allow empty arg.
7934 * text2.C (setCounter): remove empty arg from call to Counters::reset
7936 2002-08-11 John Levon <levon@movementarian.org>
7938 * Makefile.am: add WordLangTuple.h
7940 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7943 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7945 * insets/insettext.C: InsetList changes
7947 * graphics/GraphicsSupport.C (operator()): InsetList changes
7949 * toc.C (getTocList): InsetList changes
7951 * paragraph_pimpl.[Ch]: InsetList changes
7953 * paragraph.[Ch]: InsetList changes
7955 * buffer.C (inset_iterator): InsetList changes
7956 (setParagraph): ditto
7957 * buffer.h (inset_iterator): ditto
7958 * iterators.C (operator++): ditto
7959 * iterators.h: ditto
7961 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7963 * InsetList.[Ch]: new files, most InsetList handling moved out of
7966 * BufferView2.C (removeAutoInsets): InsetList changes
7968 (ChangeInsets): ditto
7970 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * paragraph_pimpl.h (empty): new function
7974 * paragraph.[Ch] (empty): new function
7976 * other files: use the new Paragraph::empty function
7978 2002-08-09 John Levon <levon@movementarian.org>
7980 * lyxtext.h: remove unused refresh_height
7982 2002-08-09 John Levon <levon@movementarian.org>
7989 * paragraph.C: move sgml char escaping out of paragraph
7992 * paragraph.C: remove id setter
7996 * paragraph_pimpl.C: remove dead tex_code_break_column
7998 * bufferview_funcs.C: small cleanup
8000 * lyxfunc.C: remove dead proto
8002 * lyxtext.h: make some stuff private. Remove some dead stuff.
8004 * lyxgluelength.C: make as[LyX]String() readable
8006 2002-08-08 John Levon <levon@movementarian.org>
8011 * ToolbarDefaults.C:
8014 * toc.C: lyxaction cleanup
8016 2002-08-08 John Levon <levon@movementarian.org>
8018 * BufferView2.C: small cleanup
8021 * lyxfind.C: move unnecessary header into the .C
8023 2002-08-08 John Levon <levon@movementarian.org>
8025 * funcrequest.h: just tedious nonsense
8028 * lyx_main.C: cleanups
8031 * vspace.C: remove dead header lyx_main.h
8033 2002-08-07 Angus Leeming <leeming@lyx.org>
8036 * paragraph_pimpl.h:
8037 Forward declare class Counters in paragraph.h by moving the ctrs member
8038 variable into Paragraph::Pimpl.
8039 (counters): new method, returning a reference to pimpl_->ctrs.
8041 * text2.C: ensuing changes.
8043 2002-08-07 John Levon <levon@movementarian.org>
8045 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8047 * BufferView_pimpl.C: announce X selection on double/triple
8050 * lyx_main.C: use correct bool in batch dispatch
8052 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8054 2002-08-07 André Pönitz <poenitz@gmx.net>
8056 * funcrequest.h: new class to wrap a kb_action and its argument
8059 * BufferView_pimpl[Ch]:
8063 * lyxrc.C: subsequent changes
8066 2002-08-07 John Levon <levon@movementarian.org>
8068 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8069 document options change.
8071 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8076 * makefile.am: move counters functionality over from
8077 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8079 2002-08-06 John Levon <levon@movementarian.org>
8081 * WordLangTuple.h: new file for word + language code tuple
8092 * BufferView2.C: use WordLangTuple
8095 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8097 2002-08-06 John Levon <levon@movementarian.org>
8099 * lyx_main.C: fix cmdline batch handling
8101 2002-08-06 André Pönitz <poenitz@gmx.net>
8103 * lyxrc.C: set default for show_banner to true
8105 2002-08-06 John Levon <levon@movementarian.org>
8107 * pspell.C: fix a crash, and allow new aspell to work
8109 2002-08-06 John Levon <levon@movementarian.org>
8112 * kbmap.C: small cleanup
8115 * vspace.C: add const
8117 2002-08-05 John Levon <levon@movementarian.org>
8119 * LyXAction.C: back to tabular-insert
8121 2002-08-04 John Levon <levon@movementarian.org>
8124 * BufferView.C: cosmetic change
8126 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8136 * BufferView2.C: purge all "Lyx" not "LyX" strings
8139 * lyxcursor.C: attempt to add some documentation
8144 * ToolbarDefaults.C:
8145 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8146 merge with LFUN_TABULAR_INSERT
8153 * pspell.C: split up i/pspell implementations into separate
8154 files, many cleanups
8156 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8158 * text2.C: some cleanup
8160 * lyxfunc.C: don't check for isp_command == "none" any more, it
8161 didn't make any sense
8163 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8168 * makefile.am: move counters functionality over
8169 from text2.C/paragraph.[Ch] to counters.[Ch], and
8171 2002-08-02 John Levon <levon@movementarian.org>
8173 * buffer.C: s/lyxconvert/lyx2lyx/
8175 2002-08-02 Angus Leeming <leeming@lyx.org>
8177 * lyxlex.C: revert John's change as it breaks reading of the user
8180 2002-08-02 Angus Leeming <leeming@lyx.org>
8182 * importer.C (Import):
8183 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8184 changes due to LyXView::view() now returning a boost::shared_ptr.
8186 2002-08-02 John Levon <levon@movementarian.org>
8188 * lyxlex.C: small cleanup
8190 2002-08-02 John Levon <levon@movementarian.org>
8192 * text2.C (status): small cleanup, no logic change
8194 2002-08-01 John Levon <levon@movementarian.org>
8197 * buffer.C (writeFile): don't output alerts, caller
8201 * lyx_cb.C: from above
8203 * lyxfunc.C: allow to open non-existent files
8205 2002-07-31 John Levon <levon@movementarian.org>
8207 * lyxserver.C: don't let incidental errors get
8210 2002-07-30 John Levon <levon@movementarian.org>
8212 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8214 2002-07-30 John Levon <levon@movementarian.org>
8217 * lyxserver.C: remove I/O callback too
8219 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8221 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8224 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * many files: strip,frontStrip -> trim,ltrim,rtrim
8228 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * PrinterParams.h: remove extern containsOnly, and include
8231 support/lstrings.h instead.
8233 * LaTeX.C (scanAuxFile): modify because of strip changes
8235 * buffer.C (makeLaTeXFile): ditto
8236 * bufferparams.C (writeFile): ditt
8237 * lyxfont.C (stateText): ditto
8238 * lyxserver.C (read_ready): ditto
8239 * vc-backend.C (scanMaster): ditto
8241 * BufferView_pimpl.h: ws changes
8243 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8245 2002-07-26 André Pönitz <poenitz@gmx.net>
8247 * kb_sequence.C: remove unnedred usings
8249 2002-07-26 Juergen Vigna <jug@sad.it>
8251 * lyxfind.C (LyXReplace): we have to check better if the returned
8252 text is not of theLockingInset()->getLockingInset().
8254 2002-07-25 Juergen Vigna <jug@sad.it>
8256 * lyxfind.C (LyXReplace): don't replace if we don't get the
8259 * undo_funcs.C (createUndo): remove debugging code.
8261 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8263 * buffer.C (parseSingleLyXformat2Token): Use default placement
8264 when reading old floats.
8266 * FloatList.C (FloatList): Change the default placement of figure
8267 and tables to "tbp".
8269 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8271 * MenuBackend.C: using std::max
8273 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * MenuBackend.C (expandToc):
8276 (expandToc2): code moved from xforms menu frontend. It is now
8277 generic and TOCs are transparent to menu frontends.
8279 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8281 * toc.C (getTocList): protect against buf=0
8283 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8284 Menu as first parameter. Now, this calls itself recursively to
8285 expand a whole tree (this will be useful for TOC handling)
8286 (expandFloatInsert): remove 'wide' version of floats
8288 * MenuBackend.h (submenuname): returns the name of the submenu.
8289 (submenu): returns the submenu itself, provided it has been
8290 created by MenuBackend::expand
8292 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8295 insets which have noFontChange == true. (bug #172)
8297 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8299 * BufferView_pimpl.C: add connection objects and use them...
8302 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8304 * MenuBackend.C (expandLastfiles):
8307 (expandFloatListInsert):
8308 (expandFloatInsert):
8309 (expand): split expand in parts
8311 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8313 * lyx_gui.C: use lyx_gui::exit()
8315 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8317 * LyXAction.C: show the failing pseudo action
8319 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8321 * buffer.C (readFile): Run the lyxconvert script in order to read
8324 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8328 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8330 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8334 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8336 2002-07-22 Herbert Voss <voss@lyx.org>
8339 * lyxlength.[Ch]: add support for the vertical lengths
8341 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8343 * toc.[Ch]: std:: fixes
8345 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * lyxrc.C: do not include lyx_main.h
8349 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8355 * BufferView2.C: include "lyxlex.h"
8358 * bufferparams.h: do not #include "lyxlex.h"
8360 * lyxtextclasslist.C (Add): remove method
8361 (classlist): renamed to classlist_
8363 * paragraph_pimpl.C:
8367 * bufferview_funcs.C:
8372 * toc.C (getTocList): use BufferParams::getLyXTextClass
8374 * toc.C (getTocList): use InsetFloat::addToToc
8376 * toc.[Ch]: new files, containing helper functions to handle table
8379 * lyxfunc.C (dispatch): no need to remove spaces around command
8381 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8382 first command of the sequence; it is not very clever, but I do not
8383 have a better idea, actually
8385 * LyXAction.C (LookupFunc): make sure to remove space at the
8386 beginning and end of the command
8388 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8390 * MenuBackend.C (getMenubar): new method: return the menubar of
8392 (read): treat differently reading of menu and menubar (in
8393 particular, the menubar has no name now)
8394 (Menu::menubar): remove
8396 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8399 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8401 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8402 a bibitem inset in a RTL paragraph.
8404 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8406 * paragraph_pimpl.C: constify
8408 * BufferView_pimpl.C:
8410 * lyxfunc.C: fix dispatch in a nicer way
8412 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8414 * lyxfunc.C (dispatch):
8415 * BufferView_pimpl.C:
8416 * BufferView_pimpl.h:
8418 * BufferView.h: rename Dispatch() to dispatch()
8420 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8422 * lyxlayout.C (Read): honor DependsOn tag
8424 * lyxlayout.[Ch] (depends_on): new method
8426 * version.C.in: update lyx_docversion
8428 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8430 * paragraph.C (validate): remove from here...
8431 * paragraph_pimpl.C (validate): ... and move here
8432 (isTextAt): make it const
8434 * buffer.C (getLists): ws cleanup
8436 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8438 * language.C (read): Use iso8859-1 encoding in latex_lang
8439 (this prevents LyX from crashing when using iso10646-1 encoding).
8441 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8443 * text2.C (toggleInset): if cursor is inside an inset, close the
8444 inset and leave cursor _after_ it
8446 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8448 * lyxfunc.C: move minibuffer completion handling out of here
8450 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8452 * BufferView_pimpl.C:
8453 * LaTeX.C: fix dispatch calls
8455 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8457 * text.C (drawChars): Fix Arabic text rendering.
8459 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8463 * lyxfunc.C: remove message-push/pop
8467 * lyxfunc.C: rationalise some code by removing verboseDispatch
8468 in favour of a bool argument to dispatch()
8470 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8472 * lyx_main.C (init): make sure to read symlinks as absolute paths
8474 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8477 * lyxfunc.C: no need for commandshortcut to be a member
8479 2002-07-15 André Pönitz <poenitz@gmx.net>
8481 * converter.C: add support for $$s (scripts from lib/scripts dir)
8482 * lyx_main.C: white space
8484 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8488 * lyxrc.C: remove second exit confirmation
8490 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8495 * BufferView_pimpl.h:
8496 * BufferView_pimpl.C:
8497 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8499 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8501 * MenuBackend.C (expand): add numeric shortcuts to document menu
8503 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8505 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8507 * lyxfont.C (setLyXFamily):
8514 * buffer.C (asciiParagraph): use ascii_lowercase
8516 2002-07-15 Mike Fabian <mfabian@suse.de>
8518 * lyxlex_pimpl.C (search_kw):
8519 * lyxlex.C (getLongString):
8520 * converter.h (operator<):
8521 * converter.C (operator<):
8522 * buffer.C (parseSingleLyXformat2Token):
8524 * ToolbarDefaults.C (read):
8525 * MenuBackend.C (checkShortcuts):
8527 * LColor.C (getFromGUIName):
8528 (getFromLyXName): use the compare_ascii_no_case instead of
8529 compare_no_case, because in turkish, 'i' is not the lowercase
8530 version of 'I', and thus turkish locale breaks parsing of tags.
8532 2002-07-16 Angus Leeming <leeming@lyx.org>
8534 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8535 now takes a Buffer const & argument.
8537 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8539 * BufferView.C (resize): check there's a buffer to resize
8541 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxfunc.C: remove dead code
8546 * lyxserver.C: use lyx_guii::set_read_callback
8548 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8550 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8551 an inset in a RTL paragraph.
8553 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8555 * lyxfunc.C: repaint after a font size update
8557 2002-07-15 André Pönitz <poenitz@gmx.net>
8559 * lyxlength.C: inBP should be able to return negative values
8561 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8563 * lyxfunc.C: use lyx_gui::update_fonts()
8565 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8567 * lyxfunc.C: use lyx_gui::update_color()
8569 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8575 * lyxrc.C: remove file->new asks for name option, and let
8576 buffer-new take an argument
8578 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8580 * BufferView_pimpl.C: remove unneeded extra repaint()
8582 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8584 * LyXAction.C: allow command-sequence with NoBuffer
8586 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8588 2002-07-10 Angus Leeming <leeming@lyx.org>
8590 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8592 2002-07-09 Angus Leeming <leeming@lyx.org>
8594 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8596 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8598 * lengthcommon.h: whitespace
8600 * lyxfunc.C: update scrollbar after goto paragraph
8602 * lyxtext.h: factor out page break drawing, and fix it so
8603 page break/added space paints as selected nicely
8605 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8607 * BufferView_pimpl.C: add FIXMEs, clean up a little
8609 2002-07-09 André Pönitz <poenitz@gmx.net>
8611 * lyxfont.[Ch]: support for wasy symbols
8613 2002-07-08 André Pönitz <poenitz@gmx.net>
8615 * BufferView_pimpl.C: apply John's patch for #93.
8617 2002-07-05 Angus Leeming <leeming@lyx.org>
8619 * BufferView_pimpl.C (buffer): generate previews if desired.
8621 * LColor.h: add "preview" to the color enum.
8623 * LColor.C (LColor): add a corresponding entry to the items array.
8625 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8628 2002-07-05 Angus Leeming <leeming@lyx.org>
8630 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8631 The body of the code is now in the method that is passed an ostream &
8632 rather than a file name.
8633 Pass an additional only_preamble parameter, useful for the forthcoming
8636 2002-07-03 André Pönitz <poenitz@gmx.net>
8638 * lyxfunc.C: simplify getStatus() a bit for math stuff
8640 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8642 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8644 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8646 * text.C (changeRegionCase): do not change case of all the
8647 document when region ends at paragraph end (bug #461)
8649 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8651 * paragraph.C (startTeXParParams):
8652 (endTeXParParams): add \protect when necessary
8654 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8656 * BufferView_pimpl.C (workAreaExpose): remove warning
8658 2002-06-27 Angus Leeming <leeming@lyx.org>
8660 * Makefile.am: add lyxlayout_ptr_fwd.h.
8662 2002-06-26 André Pönitz <poenitz@gmx.net>
8664 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8666 2002-06-25 Angus Leeming <leeming@lyx.org>
8668 * lyxfunc.C (dispatch): Comment out the call to
8669 grfx::GCache::changeDisplay. The method no longer exists now that the
8670 pixmap generation part of the graphics loader has been moved into
8673 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * text2.C: layout as layout
8677 * text.C: layout as layout
8679 * tabular.C (OldFormatRead): layout as layout
8681 * paragraph_pimpl.C (TeXDeeper): layout as layout
8682 (realizeFont): layout as layout
8684 * paragraph.C (writeFile): layout as layout
8685 (validate): layout as layout
8686 (getFont): layout as layout
8687 (getLabelFont): layout as layout
8688 (getLayoutFont): layout as layout
8689 (breakParagraph): layout as layout
8690 (stripLeadingSpaces): layout as layout
8691 (getEndLabel): layout as layout
8692 (getMaxDepthAfter): layout as layout
8693 (applyLayout): layout as layout
8694 (TeXOnePar): layout as layout
8695 (simpleTeXOnePar): layout as layout
8696 (TeXEnvironment): layout as layout
8697 (layout): layout as layout
8698 (layout): layout as layout
8700 * lyxtextclass.C (compare_name): new functor to work with
8701 shared_ptr, layout as layout
8702 (Read): layout as layout
8703 (hasLayout): layout as layout
8704 (operator): layout as layout
8705 (delete_layout): layout as layout
8706 (defaultLayout): layout as layout
8708 * lyxlayout_ptr_fwd.h: new file
8710 * lyxlayout.C (Read): layout as layout
8712 * lyx_cb.C (MenuInsertLabel): layout as layout
8714 * bufferlist.C (newFile): layout as layout
8716 * buffer.C (readLyXformat2): layout as layout
8717 (parseSingleLyXformat2Token): layout as layout
8718 (insertStringAsLines): layout as layout
8719 (asciiParagraph): layout as layout
8720 (latexParagraphs): layout as layout
8721 (makeLinuxDocFile): layout as layout
8722 (simpleLinuxDocOnePar): layout as layout
8723 (makeDocBookFile): layout as layout
8724 (simpleDocBookOnePar): layout as layout
8725 (getLists): layout as layout
8727 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8729 * CutAndPaste.C (cutSelection): layout as layout
8730 (pasteSelection): layout as layout
8731 (SwitchLayoutsBetweenClasses): layout as layout
8733 * BufferView_pimpl.C (Dispatch): layout as layout
8734 (smartQuote): layout as layout
8736 * BufferView2.C (unlockInset): layout as layout
8738 2002-06-24 André Pönitz <poenitz@gmx.net>
8740 * lyxfunc.C: fix #487
8742 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8746 * lyxfunc.C: remove display_shortcuts, show_banner
8748 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8750 * Buffer_pimpl.C: oops, update on resize
8752 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8759 * BufferView.C: use repaint()
8761 * BufferView_pimpl.h:
8762 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8763 as it's a clearer description. Remove superfluous
8766 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8768 * text.C: fix bug 488. Not ideal, but getting
8769 getWord() to work properly for the insets that
8770 matter is more difficult ...
8772 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.C:
8777 * lyxfunc.C: remove the six million index lyxfuncs to just
8778 one, and DTRT (bug 458)
8780 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8784 * BufferView_pimpl.h:
8785 * BufferView_pimpl.C: clean up resize() stuff,
8786 and unnecessary updateScreen()s
8788 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8792 * BufferView_pimpl.h:
8793 * BufferView_pimpl.C:
8796 * minibuffer.C: remove focus management of workarea,
8797 not needed. Use screen's greyOut()
8799 2002-06-17 Herbert Voss <voss@lyx.org>
8801 * converter.C: (convert) do not post a message, when converting
8802 fails, let the calling function decide what to do in this case
8804 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8806 * lyxfunc.C: tidy up a little
8808 2002-06-16 <alstrup@diku.dk>
8810 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8811 Got rid of FORMS_H_LOCATION include. Now we are
8814 2002-06-15 LyX Development team <lyx@rilke>
8816 * buffer.[Ch] (sgmlOpenTag):
8817 (sgmlCloseTag): Added support for avoiding pernicious mixed
8818 content. Return number of lines written.
8821 (makeDocBookFile): Fixed calls to sgml*Tag.
8822 Simple white space clean.
8824 (simpleDocBookOnePar): Simple white space clean.
8826 * tabular.[Ch] (docBook): Renamed to docbook and got another
8827 argument to related with the pernicious mixed content.
8829 (docbookRow): Fixed calls for docbook inset method.
8831 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8833 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8834 so it's X11 independent.
8838 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8840 2002-06-15 Lyx Development team <lyx@electronia>
8842 * intl.h: Renamed getTrans to getTransManager.
8844 2002-06-14 Angus Leeming <leeming@lyx.org>
8846 * Makefile.am: nuke forgotten stl_string_fwd.h.
8848 2002-06-12 Angus Leeming <leeming@lyx.org>
8850 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8852 2002-06-13 Angus Leeming <leeming@lyx.org>
8855 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8857 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8859 * kbmap.C (getiso): add support for cyrillic and greek
8861 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8865 * BufferView_pimpl.h:
8866 * BufferView_pimpl.C: move bogus scrolling logic
8869 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8872 * BufferView_pimpl.C: view->resize() change
8874 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8876 * BufferView_pimpl.C: topCursorVisible
8879 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8883 * lyx_gui.C: move to frontends/
8887 * lyx_main.C: changes from above
8889 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8896 * lyx_main.C: minor tidy
8898 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8900 * BufferView_pimpl.h:
8901 * BufferView_pimpl.C:
8903 * BufferView.C: make painter() const,
8906 * BufferView2.C: use screen() accessor
8909 * lyx_main.C: some minor cleanup
8911 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8913 * BufferView_pimpl.h:
8914 * BufferView_pimpl.C: remove enter/leaveView,
8917 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8922 * BufferView_pimpl.h:
8923 * BufferView_pimpl.C: only construct screen once,
8926 * lyxrc.C: remove pointless comment
8928 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView.C: remove active() and belowMouse()
8933 * BufferView_pimpl.h:
8934 * BufferView_pimpl.C: use workarea() not workarea_,
8935 and make it use a scoped_ptr instead
8937 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8939 * lyx_gui.C: add debug message on BadWindow
8941 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8943 * sp_spell.C: fdopen is not part of the C++ standard.
8945 * paragraph.C (InsetIterator): use >= instead of ==
8947 2002-06-07 Angus Leeming <leeming@lyx.org>
8949 Fixes needed to compile with Compaq cxx 6.5.
8950 * BufferView_pimpl.C:
8957 * lyxtextclasslist.C:
8962 all c-library variables have been moved into namespace std. Wrap
8963 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8968 Add a using std::abs declaration.
8970 * kbmap.h (modifier_pair):
8971 * paragraph.h (InsetTable, InsetList):
8972 * lyxfont.h (FontBits):
8973 type definition made public.
8975 * bufferlist.C (emergencyWriteAll): the compiler complains that
8976 there is more than one possible lyx::class_fun template to choose from.
8977 I re-named the void specialisation as lyx::void_class_fun.
8979 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8981 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8982 the compiler is is unable to find tostr in write_attribute.
8984 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * buffer.C (sgmlError): hide #warning
8988 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * xtl/*: get rid of xtl, which is not in use anyway
8992 * LyXAction.C (init):
8993 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8994 were unimplemented xtl experimentation
8996 2002-06-04 André Pönitz <poenitz@gmx.net>
8998 * lyxfunc.C: disable array operation on simple formulae
9000 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9002 * converter.C: constify a bit
9004 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9006 * lyx_gui.C: check xforms version correctly
9008 2002-04-30 Herbert Voss <voss@lyx.org>
9010 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9013 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9015 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9016 attempt to register it with a VCS)
9018 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * lyx_main.C (init): honor variables LYX_DIR_13x and
9023 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9027 * lyx_main.C: fix a crash on bad command line,
9028 and give a useful exit status on error
9030 * lyxfunc.C (doImport): allow -i lyx to work
9032 2002-03-30 André Pönitz <poenitz@gmx.net>
9034 * lyxfunc.C: mathed font changes
9036 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9051 * trans_mgr.h: srcdocs, and some minor cleanups
9053 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9056 call getFont all the time)
9058 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9060 * switch from SigC signals to boost::signals
9062 2002-05-29 André Pönitz <poenitz@gmx.net>
9064 * paragraph_pimpl.C (getChar): don't call size() too often...
9066 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * paragraph_pimpl.C (insertChar): do not try to update tables when
9069 appending (pos == size())
9071 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9072 in order to reduce drastically the number of comparisons needed to
9073 parse a large document
9075 2002-05-29 André Pönitz <poenitz@gmx.net>
9081 * textclasslist.[Ch]:
9082 * sp_ispell.h: whitespace change
9084 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9087 lyxaction directly now.
9089 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9093 * lyxvc.C: remove unused headers
9095 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9102 * undo_funcs.C: some cleanups. Use shared_ptr
9103 and a template for the undo stacks.
9105 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9107 * BufferView_pimpl.h:
9108 * BufferView_pimpl.C:
9115 * text2.C: use key_state/mouse_state
9117 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9122 * chset.C: change include order
9123 (loadFile): use boost regex and get rid of LRegex and LSubstring
9125 * Makefile.am (BOOST_LIBS): new variable
9128 * LaTeX.C: change include order.
9129 (scanAuxFile): use boost regex and get rid of LRegex and
9133 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9138 * FontInfo.C: moved to frontends/xforms/
9141 * FontLoader.C: moved into frontends for GUIIzation
9146 * lyxfunc.C: changes from above
9148 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9150 * LColor.C: remove spurious X include
9152 * BufferView_pimpl.C:
9157 * text2.C: move font metrics to frontends/
9159 2002-05-24 Juergen Vigna <jug@sad.it>
9161 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9162 setting the undo_cursor.
9164 * ParagraphParameters.h: include local includes first.
9166 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9168 * BufferView_pimpl.C:
9169 * BufferView_pimpl.h:
9173 * screen.C: move WorkArea into frontends/
9179 * BufferView2.C: move LyXScreen into frontends/
9183 * lyx_gui.C: move lyxlookup into frontends/xforms/
9185 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9188 * BufferView_pimpl.C:
9198 * bufferview_funcs.C:
9211 * vc-backend.C: move LyX/XFormsView into frontends/
9213 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9225 * text2.C: move Painter to frontends/
9227 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9229 * buffer.C: comment out some some code that depend upon lyx_format
9232 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9233 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9235 * buffer.h (NO_COMPABILITY): turn off compability
9237 * ColorHandler.C: include scoped_array.hpp
9239 * font.C: Use more specific smart_ptr header.
9242 * ShareContainer.h: ditto
9246 * BufferView_pimpl.h: ditto
9247 * ColorHandler.h: ditto
9249 * kbmap.C (defkey): change call to shared_ptr::reset
9251 2002-05-21 Juergen Vigna <jug@sad.it>
9253 * buffer.C (insertErtContents): fix to insert ert asis if it is
9254 non empty. Skip it completely if it contains only whitespaces.
9256 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9258 * BufferView_pimpl.C:
9259 * BufferView2.C: clear selection on paste (bug 393)
9261 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9263 * DepTable.C: include ctime
9265 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9267 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9269 2002-05-14 Juergen Vigna <jug@sad.it>
9271 * text.C (breakParagraph): fixed function to honor the keepempty
9272 layout in the right maner and also to permit the right breaking
9273 algorithm on empty or non empyt keepempty paragraphs.
9275 * paragraph.C (breakParagraph): we have to check also if the par
9276 is really empty (!size()) for isempty otherwise we do the wrong
9279 2002-05-10 Juergen Vigna <jug@sad.it>
9281 * buffer.[Ch] : The following are only changes to the ert
9282 compatibility read reading old LaTeX layout and font stuff and
9283 convert it to ERTInsets.
9285 * buffer.h: added isErtInset().
9287 * buffer.C (struct ErtComp): add a fromlayout bool to check
9288 if we're inside a LaTeX layout.
9289 (isErtInset): new helper function.
9290 (insertErtContents): look for other ert insets before this one
9291 and insert the contents there, so that we don't have subsequent
9292 ERT insets with nothing between them. This way we create only one
9293 inset with multiple paragraphs. Also check if we don't insert only
9294 spaces ' ' as they are ignored anyway afterwards in the .tex file
9295 so if we have only spaces we will ignore this latex part in the
9297 (parseSingleLyXformat2Token \\layout): better compatibility when
9298 reading layout-latex stuff.
9299 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9301 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9302 stuff after reading the inset only get the information back from
9305 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9307 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9309 * LaTeXFeatures.C (getBabelOptions): New method.
9311 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * BufferView_pimpl.C (Dispatch): work around missing argument for
9316 2002-05-08 Juergen Vigna <jug@sad.it>
9318 * text.C (leftMargin): handle paragraph leftindent.
9320 * paragraph.C (writeFile): write the new \\leftindent tag.
9321 (validate): handle leftindent code.
9322 (TeXEnvironment): handle paragraphleftindent code again.
9324 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9326 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9327 for paragrap_extra indent code and new token \\leftindent.
9328 (latexParagraphs): handle the leftindent as environment.
9330 * ParameterStruct.h: added leftindent support.
9332 * ParagraphParameters.C (leftIndent): added support functions for
9333 the paragraph left indent.
9335 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9338 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9340 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9343 * text.C (computeBidiTables): No bidi in insetERT.
9345 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9348 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * version.C.in: pre 5
9352 2002-05-02 José Matos <jamatos@fep.up.pt>
9353 * buffer.C (makeDocBookFile): white space changes, add newline to
9355 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9357 * tabular.C (docBook): fix typo.
9359 2002-05-03 Juergen Vigna <jug@sad.it>
9361 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9362 change in LyXText as we can not be sure it was not freed.
9363 (drawOneRow): remove unused code.
9365 * text.C (drawInset): redo the calculation of the need_break_row as
9366 it could have a row which was already freed.
9367 (draw): look at the return value of drawInset and return false if
9368 it also returned false.
9369 (paintRowText): look at the return value of draw and return false if
9370 it also returned false.
9372 * lyxtext.h: added bool return type to drawInset() and draw() so that
9373 if we have a change in the row so that the rowbreak has to be redone
9374 we abort drawing as it will be called again.
9376 2002-05-02 Juergen Vigna <jug@sad.it>
9378 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9379 a change in the maintext also if we're inside an inset.
9380 (Dispatch): set the cursor again after a break line and after the
9381 screen has been updated as it could be we're in a different row.
9383 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9384 to set the cursor behind the pargraph with > size().
9385 (setCursor): check also for the same paragraph when checking where
9386 to put the cursor if we have a NFR inset.
9388 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9389 parts of layout read further up as it still was in the wrong
9392 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * screen.C (drawFromTo): change sine fullRebreak always return
9397 * buffer.C (parseSingleLyXformat2Token): reindent some
9399 * BufferView_pimpl.C (update): change since fullRebreak always
9401 (Dispatch): git rid of the last hardcoded "Standard"s.
9403 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * text2.[Ch] (fullRebreak): make it return void now that we always
9408 2002-04-30 Juergen Vigna <jug@sad.it>
9410 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9411 ert compatibility check for "latex" layout.
9413 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9415 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9416 minipages: use col% instead of p%, and also use the current font.
9417 (makeLaTeXFile): Fix use babel condition.
9418 (parseSingleLyXformat2Token): Correct font when reading old floats.
9420 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9422 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9423 inserting list of floats.
9425 2002-04-25 Herbert Voss <voss@lyx.org>
9427 * MenuBackend.C (expand): don't add the graphics extensions to the
9430 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9433 non-existing layout, do not complain if it was the default layout
9434 of the original class (bug #342)
9436 2002-04-24 Juergen Vigna <jug@sad.it>
9438 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9439 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9441 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9443 * buffer.C (getBibkeyList): If using \bibliography, return the
9444 option field with the reference itself. Enables us to provide natbib
9445 support when using \bibliography.
9447 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9449 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9451 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9452 natbib is provided by the LaTeX class.
9454 2002-04-23 Juergen Vigna <jug@sad.it>
9456 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9459 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9461 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9465 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9466 ensuremath around textordmasculine, textordfeminine and
9469 2002-04-19 Juergen Vigna <jug@sad.it>
9471 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9472 reinitializing the buffer otherwise row-dimensions may be wrong.
9473 (update): reset also the selection cursors if they do exits otherwise
9474 their x/y positions may be wrong.
9476 * text2.C (cursorDown): don't enter the inset if we came from a row
9477 above and are one row over the inset.
9479 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9480 really leaving an inset.
9482 2002-04-18 Juergen Vigna <jug@sad.it>
9484 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9485 of the selected paragraph does not have the selected layout also if
9488 * text2.C (setLayout): fixed bug which did not change last selected
9491 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9492 changed the read and substituted \\end_float with \\end_inset!
9494 * BufferView_pimpl.C (cursorPrevious):
9495 (cursorNext): fixed to make it work with rows heigher than the work
9496 area without moving the cursor only the draw of the row.
9497 (workAreaMotionNotify): fix jumping over high rows.
9499 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9504 2002-04-16 Juergen Vigna <jug@sad.it>
9506 * text2.C (setCursor): set also the irow().
9507 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9509 (cursorDown): support for locking an inset if the x_fix value goes
9510 inside it. That way I can transverse insets too with cursor up/down.
9512 * lyxrow.h: added irow helper function same as other (i) functions.
9514 * BufferView_pimpl.C (cursorPrevious):
9515 (cursorNext): fixed for insets!
9517 2002-04-15 Juergen Vigna <jug@sad.it>
9519 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9520 position otherwise it is wrong in some cases.
9522 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9523 inside the inset before the call.
9525 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9527 * buffer.[Ch] (getBibkeyList): make it const.
9529 2002-04-12 Juergen Vigna <jug@sad.it>
9531 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9533 * text2.C (getCursorX): new helper function
9534 (setCursor): compute also ix_
9535 (setCursorFromCoordinates): set also ix.
9537 * lyxcursor.h: added ix_ and helper functions.
9539 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9541 * buffer.C (insertStringAsLines): dont break paragraph if the this
9542 paragraph is inside an inset which does not permit it!
9544 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9545 also with no chars on this paragraph.
9546 (paintRowText): only paint stuff if it's inside the workarea!
9548 * paragraph.C (breakParagraph): honor keepempty flag and break the
9549 paragraph always below not above.
9551 * BufferView2.C (unlockInset): update the paragraph layout on inset
9552 unlock as we changed paragraph in such a case.
9554 * lyxfind.C (LyXFind): clear the former selection if not found!
9556 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9557 again called in insertChar().
9559 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9560 an inset which uses the whole row!
9561 (rightMargin): ditto.
9562 (insertChar): force a rebreak if we inserted an inset!
9564 2002-03-28 Herbert Voss <voss@lyx.org>
9566 * lyxlength.[Ch]: add inBP() to get the right PS-point
9567 units (BigPoint). With inPixels we have rounding errors
9569 2002-04-11 Juergen Vigna <jug@sad.it>
9571 * text2.C (setCursorFromCoordinates): set iy to the right value.
9572 (setCursor): add check if row->previous exists!
9574 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9575 an old float_type as this was the case in the old code!
9577 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9579 * BufferView2.C (showLockedInsetCursor): use iy
9580 (fitLockedInsetCursor): ditto
9582 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9583 locked insets as there we have the right value now.
9585 * lyxcursor.C: added iy_ variable and iy functions to set to the
9586 baseline of cursor-y of the locked inset.
9588 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9589 (setCursor): fixed for insets which need a full row.
9591 * text.C (rowLastPrintable): don't ignore the last space when before
9592 an inset which needs a full row.
9593 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9594 as last character of a row when before a inset which needs a full row.
9596 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * version.C.in: update date
9600 * text2.C (fullRebreak): try to always return true and see what
9603 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * MenuBackend.C (expand): use Floating::listName
9607 * FloatList.C (FloatList): add listName argument to the built-in
9610 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9611 text associated with the float.
9613 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9617 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * ShareContainer.h: add a couple of missing typenames.
9621 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9623 * lyxrc.C (getDescription): use _() correctly rather than N_().
9625 2002-03-28 Herbert Voss <voss@lyx.org>
9627 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9628 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9630 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9632 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9633 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9635 2002-03-29 Juergen Vigna <jug@sad.it>
9637 * lyxfunc.C (dispatch): add a missing fitCursor call.
9639 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9640 it was scrolled by a cursor move, so return the bool status.
9642 * BufferView.C (fitCursor): return the bool flag also to the outside
9643 world as this is needed.
9645 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9647 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9648 call the edit() as it is not needed (and wrong) IMO.
9649 (workAreaButtonPress): set the screen_first variable before evt.
9650 unlock the inset as this may change screen_first and then we have
9651 a wrong y position for the click!
9653 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * MenuBackend.C (expand): another translation that I missed
9657 2002-03-28 Juergen Vigna <jug@sad.it>
9659 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9661 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9663 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9665 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9667 * MenuBackend.C (expand): fix export/view/update when there is no
9670 2002-03-27 Herbert Voss <voss@lyx.org>
9672 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9675 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9677 * bufferview_funcs.C (currentState): only show paragraph number
9678 for is DEVEL_VERSION is set.
9680 * lyxfunc.C (dispatch): put warning in INFO channel
9682 * MenuBackend.C (expand): translate the name of floats
9684 * FloatList.C (FloatList): mark the float names for translation
9686 * converter.C (convert): use LibScriptSearch
9688 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9690 * MenuBackend.C (defaults): fix default menu (we might as well get
9693 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9695 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9698 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * lyxvc.C: reorder includes.
9702 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9704 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9707 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9709 * CutAndPaste.C: change layouts earlier on paste
9710 to avoid crashing when calling getFont()
9712 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9714 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9717 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * WorkArea.C: remove 'Pending' debug message.
9721 * most files: ws cleanup
9723 * buffer.[Ch]: ws changes
9725 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9727 2002-03-21 Juergen Vigna <jug@sad.it>
9729 * tabular.C (SetMultiColumn): collapse also the contents of the
9730 cells and set the last border right. Added a Buffer const * param.
9732 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9737 2002-03-19 Juergen Vigna <jug@sad.it>
9739 * text2.C (clearSelection): reset also xsel_cache.
9741 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9742 where it needs to be called (John tells us to do so too :)
9743 (selectionLost): reset sel_cache.
9745 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9747 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9749 * text2.C (setCursorIntern): put debuging code in INSETS channel
9751 2002-03-19 André Pönitz <poenitz@gmx.net>
9753 * lyxfunc.C: tiny whitespace change
9755 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * ToolbarDefaults.C (init):
9758 * LyXAction.C (init):
9760 * BufferView_pimpl.C (Dispatch):
9761 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9763 2002-03-19 Allan Rae <rae@lyx.org>
9765 * exporter.C (Export): removeAutoInsets before doing anything else.
9766 While I've just introduced a dependency on BufferView this really is
9767 the best place to clean the buffer otherwise you need to cleanup in
9768 a dozen places before calling export or cleanup in a dozen functions
9771 * converter.C (runLaTeX):
9772 (scanLog): Better handling of removeAutoInsets and screen updates.
9774 * lyxfunc.C (dispatch): small whitespace changes
9776 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * WorkArea.C (C_WorkAreaEvent): return a value.
9779 (event_cb): return 1 if we handled the event, 0 otherwise.
9781 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9783 2002-03-18 Juergen Vigna <jug@sad.it>
9785 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9786 (GetAdditionalWidth): ditto.
9790 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9791 inset if we're there actually (probably not used right now but this
9792 is the direction to go for unifying code).
9793 (paste): disable code to clear the selection.
9795 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9796 inside an InsetText and move the check further up as it is in the
9799 * text2.C (pasteSelection): set a selection over the pasted text.
9801 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9803 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9804 and libgraphics to build on Cygwin.
9806 2002-03-15 Juergen Vigna <jug@sad.it>
9808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9809 inserting an Inset into the paragraph. I know this is not the best
9810 fix but we already use current_view in CutAndPaste so we will remove
9811 all of it's using at the same time.
9813 * buffer.C (sgmlError): deactivated function till it is rewritten in
9814 the right mode, now it can create problems.
9816 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9817 before accessing it.
9819 2002-03-14 Juergen Vigna <jug@sad.it>
9821 * undo_funcs.C (textHandleUndo): do the right thing when updating
9822 the inset after the undo/redo.
9824 * text2.C (setCursor): just some testcode for #44 not ready yet.
9826 * undo_funcs.C (textHandleUndo): set the next() and previous()
9827 pointers of the paragraph to 0 before deleting otherwise we have
9828 problems with the Paragraph::[destructor].
9830 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9831 on a paragraph insertion.
9833 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * buffer.C (asciiParagraph): use += operator for char append to
9838 * paragraph.C (getFontSettings): compare >= not just >
9839 (highestFontInRange): ditto
9842 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * paragraph.C: change several algorithm to be more appripriate for
9845 the problem domain. This is lookip in FontList and in the InsetList.
9847 2002-03-13 André Pönitz <poenitz@gmx.net>
9850 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9852 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9857 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9859 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * Painter.C (display): anon helper function, adjust code for this
9863 (pixmap): remove function.
9865 * Painter.h: remove private display variable.
9867 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9869 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9871 * WorkArea.[Ch]: remove figinset_canvas cruft.
9873 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * lyxtextclass.C (operator): add one item cache optimization.
9877 * bufferlist.h: doxy changes
9879 * bufferlist.C: ws changes
9881 * DepTable.[Ch] (ext_exist): place const in the right spot.
9883 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9885 (workAreaExpose): call resizeInsets when the with BufferView changes.
9886 (Dispatch): adjust for protectedBlank removal
9887 (specialChar): call updateInset if the insert went ok.
9889 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9890 specialChar instead.
9892 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9894 * BufferView.h: doxy change
9896 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9898 * lyxtextclass.C (operator[]): remove non-const version
9899 (defaultLayout): remove non-const version
9901 2002-03-12 Juergen Vigna <jug@sad.it>
9903 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9904 did resize the LyXText too.
9906 * buffer.C (readLyXformat2): set layout information on newly allocated
9909 * tabular.C (OldFormatRead): set layout information on the paragraph.
9911 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9913 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9915 2002-03-11 Juergen Vigna <jug@sad.it>
9917 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9919 (resizeCurrentBuffer): force also the insets to resize themselfes.
9920 (moveCursorUpdate): fixed up for InsetText.
9922 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9925 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9926 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9927 value of Dialogs::tooltipsEnabled().
9928 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9930 2002-03-08 Juergen Vigna <jug@sad.it>
9932 * BufferView_pimpl.C (updateInset): update inset inside inset also
9933 if it isn't inside theLockingInset().
9935 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * buffer.C (asciiParagraph): redo some of the word and line length
9939 (getLists): look for Caption instead of caption.
9941 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * buffer.C (Buffer): initialize niceFile to true
9946 (makeDocBookFile): make sure niceFile is true on exit
9948 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9952 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9954 * LyXSendto.C: remove.
9955 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9956 * lyx_gui.C: remove now-redundant comment.
9957 * ColorHandler.h: remove forward declaration of class WorkArea.
9958 * lyxfunc.C: remove #include "WorkArea.h".
9960 2002-03-07 Juergen Vigna <jug@sad.it>
9962 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9963 got moved away with the DEPM and also set the inset_owner always
9964 right which before could have been omitted.
9966 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9969 wanted layout is not found.
9971 2002-03-07 Juergen Vigna <jug@sad.it>
9973 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9975 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9977 * paragraph.C (breakParagraph): use default layout not layout of
9979 (Paragraph): clear ParagraphParameters.
9981 2002-03-06 Juergen Vigna <jug@sad.it>
9983 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9984 otherwise it would not be a valid lenght. Fixed a special case in
9985 the minipage compatibility read where we end the document with a
9988 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9989 was set as it could be 0 for InsetTexts first entry.
9991 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * paragraph.C (writeFile): if layout is empty write out
9994 defaultLayoutName().
9996 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9997 file without named layout we set layout to defaultLayoutName().
9999 2002-03-06 Juergen Vigna <jug@sad.it>
10001 * CutAndPaste.C (copySelection): set layout for new paragraph.
10003 * text.C (prepareToPrint): leave ERT inset left aligned
10004 (leftMargin): don't indent paragraphs inside ERT insets
10006 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10008 * paragraph.C (breakParagraph): dont call clear do the work manually
10010 * paragraph.[Ch] (clear): remove function
10012 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * paragraph.C (Paragraph): dont call clear, the work has already
10017 * lyxtextclass.C (operator): assert if n is empty
10019 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10020 work manually instead.
10022 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10024 * BufferView_pimpl.C: protect selectionLost against text == 0
10026 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * text.C (breakParagraph): fix a setting layout to '0' problem.
10030 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10032 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10033 final location of file, for the included files, and graphics.
10035 2002-03-05 Juergen Vigna <jug@sad.it>
10037 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10039 2002-03-04 Juergen Vigna <jug@sad.it>
10041 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10043 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10044 last column of multicolumn cells.
10045 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10047 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10049 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10050 file if it doesn't go to a temporary file.
10052 * buffer.C (sgmlOpenTag):
10053 (sgmlCloseTag): remove extra newline insertion.
10055 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10057 * text.C (getRowNearY): comment out debug msg
10059 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10061 * text2.C: first -> first_y
10063 * text.C (getRowNearY): add some attemts at a possible
10064 optimization, not working.
10066 * tabular.[Ch]: add BufferParams to several function so that newly
10067 created paragraph can be initialized to he default layotu for the
10070 * tabular-old.C (ReadOld): add buf->params to call of Init
10072 * screen.C: rename text->first to text->first_y
10074 * paragraph.C (breakParagraph): always set layout in the broken
10077 * lyxtextclass.C (Read): remove lowercase
10080 (delete_layout): ditto
10082 * lyxtext.h: rename first -> first_y
10084 * lyxlayout.C (Read): remove lowercase
10087 (obsoleted_by): ditto
10089 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10091 * buffer.C (insertErtContents): add params are to InsetERT
10092 (parseSingleLyXformat2Token): add code to check if a paragraphs
10093 layout really exist.
10094 (parseSingleLyXformat2Token): add params to several inset
10096 (asciiParagraph): remove lowercase, do the layout comparisons with
10099 * BufferView_pimpl.C (cursorNext): first -> first_y
10100 (resizeCurrentBuffer): first -> first_y
10101 (updateScrollbar): first -> first_y
10102 (scrollCB): first -> first_y
10103 (workAreaMotionNotify): first -> first_y
10104 (workAreaButtonPress): first -> first_y
10105 (checkInsetHit): first -> first_y
10106 (cursorPrevious): first -> first_y
10107 (cursorNext): first -> first_y
10108 (Dispatch): add buffer_->params to severl inset contructors
10110 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10112 * lyxlayout.C (Read): remove some debug info that I forgot.
10114 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10115 clean up the code slightly.
10116 (makeLinuxDocFile): ditto
10117 (makeDocBookFile): ditto
10119 * text2.C: layout as string
10121 * text.C: layout as string
10123 * paragraph_pimpl.C: layout as string
10125 * paragraph.[Ch]: layout as string
10127 * lyxtextclasslist.[Ch]: layout as string
10129 * lyxtextclass.[Ch]: layout as string
10131 * lyxtext.h: layout as string
10133 * lyxlayout.[Ch]: layout as string
10135 * lyx_cb.C: layout as string
10137 * bufferview_funcs.C: layout as string
10139 * bufferparams.C: layout as string
10141 * buffer.C: layout as string
10143 * LyXView.[Ch]: layout as string
10145 * LaTeXFeatures.[Ch]: layout as string
10147 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10149 * BufferView_pimpl.C: change current_layout to string, remove
10154 (workAreaButtonRelease): layout as string
10156 * BufferView2.C (unlockInset): adjust
10158 * vspace.C (asLatexCommand): use an explict temp variable.
10160 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10162 * Makefile.am: use FRONTEND_*
10164 2002-03-01 Juergen Vigna <jug@sad.it>
10166 * tabular.C (SetWidthOfMulticolCell): changed to something better
10167 I hope but still work in progress.
10168 (recalculateMulticolumnsOfColumn): renamed function from
10169 recalculateMulticolCells as it is more appropriate now.
10170 (SetWidthOfCell): calculate multicols better.
10172 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10174 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10176 * lyxfunc.C (processKeySym): print sequence also if it is
10177 `deleted' (complete)
10179 * kbsequence.C (print): print sequence even if it is deleted
10180 (complete would be a better word, actually).
10182 * lyxfunc.C (dispatch): print complete options after a prefix key
10184 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10186 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10188 * text2.C (setCharFont): eliminate setCharFont code duplication.
10190 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10193 LFUN_TABULAR_FEATURE (bug #177)
10195 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10197 * Makefile.am: remove figure.h
10199 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10201 * Bufferview_pimpl.C:
10213 * text2.C: remove #include "lyx_gui_misc.h".
10215 * LaTeX.C: added #include <cstdio>
10217 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10220 that the paragraph following this one can have.
10222 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10224 * vspace.C (asLatexCommand): fix bogus gcc warning
10226 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10228 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10230 * text2.C (setLayout): get rid of redundant code
10232 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10234 * text2.C (incDepth): make sure depth cannot be increased beyond
10237 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10239 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10240 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10242 * PainterBase.h (image):
10243 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10244 a LyXImage const *.
10246 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10250 * BufferView_pimpl.C:
10251 * BufferView_pimpl.h:
10271 * sp_spell.C: remove fig inset, and the crap house of
10272 cards that follows it
10274 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10279 * os2_errortable.h:
10280 * nt_defines.h: move .h into support/
10282 * vms_defines.h: remove
10284 * WorkArea.C: add space in debug output
10288 * buffer.C: add WITH_WARNINGS
10292 * bufferlist.C: s/retrive/retrieve/, add docs
10301 * chset.C: add docs
10303 * lyxgui.C: add ID to X error handler
10305 * lyxtestclass.c: fix typo
10307 2002-02-26 Juergen Vigna <jug@sad.it>
10309 * tabular_funcs.C (write_attribute): changed so that some default
10310 attributes are not written at all.
10311 (getTokenValue): set default values before trying to read the
10312 value so we have the return value always set as default if we don't
10313 find the token we search for.
10315 * tabular.C (Write): write bools as bools not as strings!
10317 2002-02-22 Juergen Vigna <jug@sad.it>
10319 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10320 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10322 * text.C (leftMargin): don't add an indent for paragraphs inside
10323 tabular cells (fix #208).
10325 2002-02-21 José Matos <jamatos@fep.up.pt>
10327 * tabular.C (docBook): fixed support for long tables.
10329 2002-02-20 Juergen Vigna <jug@sad.it>
10331 * text2.C (getFont): get the drawing font of the Inset if this
10332 paragraph is inside an inset (only important for InsetERT for now).
10334 * buffer.C (insertErtContents): use new lanugage params in ERT
10337 * CutAndPaste.C: commenting out seemingly uneeded code.
10339 2002-02-19 Allan Rae <rae@lyx.org>
10341 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10342 Iterators might be simple to use but they also get invalidated.
10343 (removeAutoInsets): renamed saved cursor tracking variables and added
10344 some comments to clarify what everything does.
10346 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10353 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10354 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10357 * vc-backend.h: remove #include "support/syscall.h"
10361 * converter.C: rearrange #includes in Lars' approved fashion.
10363 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10364 forward declare class Timeout in the header file.
10366 * XFormsView.C: changes due to the above.
10368 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10369 similar to LyXView.
10371 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10372 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10374 2002-02-18 José Matos <jamatos@fep.up.pt>
10376 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10379 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10381 * a lot of small ws changes
10382 * add a lot of using std::XXX
10383 * use std construcs some places where approp.
10384 * use some exisint stuff from lyxfunctional where approp.
10385 * Make file changes to use partial linking (lets test this now...)
10387 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10391 remove #include "support/syscontr.h" as it's redundant. Always has been.
10399 change Systemcalls::System to Systemcalls::Wait and
10400 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10401 No change of functionality, just reflects the stripped down Systemcalls
10404 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10406 * debug.[Ch]: add a GRAPHICS type to the enum.
10408 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10412 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10415 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10418 match the changes below.
10420 * text2.C (toggleInset): if there is not editable inset at cursor
10421 position, try to see if cursor is _inside_ a collapsable inset
10424 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10427 document menu has a nice checkbox
10429 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10431 * lyxlength.C (asLatexString): change PW to output as percent of
10434 * lengthcommon.C: change '%' to 't%'
10436 * lyxfunc.C (dispatch): a few comments from Martin
10438 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10442 * BufferView_pimpl.h:
10443 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10446 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * vspace.C (inPixels): fix compiler warning
10450 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * lyxfunc.C (getStatus): fix status message for disabled commands.
10454 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C: fix crash on close buffer
10457 during selection (#227)
10459 2002-01-27 Herbert Voss <voss@lyx.org>
10461 * buffer.C: link old Figure to new graphic inset
10463 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10465 * FontLoader.C (getFontinfo): Change the latex font names in order
10466 to match the names of type1inst.
10468 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10472 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10473 (extchanged): ditto
10475 (remove_files_with_extension): ditto
10476 (remove_file): ditto
10479 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10480 document is smaller than the work area height. Do not initialize
10481 static variables to 0.
10483 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10487 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10488 LFUN_LAYOUT_PARAGRAPHS.
10490 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10491 tabular. It is possible to provide a possible cell, which will
10492 typically be the actcell from the corresponding insettabular
10494 * lyxfunc.C (getStatus): small cleanup; disable
10495 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10498 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10502 * paragraph.C (startTeXParParams):
10503 (endTeXParParams): new methods. The LaTeX code to
10504 start/end paragraph formatting
10505 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10506 empty (fixes bug #200)
10508 * vspace.C (inPixels): adapt to the change below
10509 (inPixels): [later] more cleanups (remove unused variables)
10511 * lyxlength.C (inPixels): change to use a width and a height as
10514 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10517 Replaced with \paperwidth
10519 * DepTable.C (insert): add std:: qualifier
10521 2002-01-18 Allan Rae <rae@lyx.org>
10523 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10526 * text.C (drawInset): Turned out I didn't know enough about how
10527 rebreaking worked. This fixes most of the redraw problems. I see
10528 an occasional cursor trail when a line is broken now and the cursor
10529 placement can seem out by a few pixels also after a rebreak.
10531 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * buffer.C (parseSingleLyXformat2Token): update because minipage
10534 width is now a LyXLength
10536 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10538 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10541 2002-01-17 Juergen Vigna <jug@sad.it>
10543 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10545 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10546 is set correctly and the inset is updated correctly.
10548 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10550 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10551 the beginning of the loop.
10553 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10555 * lyxrc.C: improve help for use_scalable_fonts
10557 2002-01-17 Allan Rae <rae@lyx.org>
10559 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10561 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10564 make sure to set their inset_owner to the right value (bug #171)
10566 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10569 * DepTable.C: Implement mtime checking to reduce time spent doing
10572 2002-01-16 Juergen Vigna <jug@sad.it>
10574 * tabular.C (GetAdditionalHeight): one of error fixed.
10576 * lyxrc.C (output): small fix in writing use_pspell.
10578 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10580 * sp_base.h: #include LString.h
10582 2002-01-16 Allan Rae <rae@lyx.org>
10584 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10585 Can someone check this please?
10587 * text.C (drawInset): It was possible that p.row would be removed by
10588 breakAgainOneRow upsetting a few other settings. There may be another
10589 small tweak possible by setting need_break_row = 0 when p.row has been
10590 removed but I don't know enough about the logic here.
10592 2002-01-15 Allan Rae <rae@lyx.org>
10594 * text.C (insertChar): removed conditional truism.
10596 * BufferView2.C (removeAutoInsets): More tweaks.
10597 cur_par_prev could be a stray pointer. Check for trailing empty line
10598 in case last line was cur_par and only had an error inset on it.
10600 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10602 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10605 * vc-backend.C (most methods):
10606 * exporter.C (Export):
10607 * converter.C (convert):
10609 * LyXSendto.C (SendtoApplyCB):
10610 * lyxfunc.C (dispatch):
10614 * lyx_cb.C (AutoSave):
10616 * BufferView_pimpl.C (MenuInsertLyXFile):
10617 * buffer.C (runChktex): use Buffer::filePath().
10619 * buffer.h: rename filename to filename_; rename filepath to
10620 filepath_ and make it private
10621 (filePath): new method
10623 * buffer.C (writeFile): use fileName()
10626 * lyx_main.C (init): fix starting of LyX when the binary is a
10627 link from so,ewhere else.
10629 * minibuffer.C: include <cctype> for isprint
10631 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10633 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10634 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10635 name clash with InsetCollapsable's width function.
10637 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * lastfiles.C: include <iterator>
10641 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10643 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10646 * buffer.C (makeLaTeXFile): ditto.
10647 Also make loop operation more transparent.
10649 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10651 * ToolbarDefaults.C: remove trailing comma closing namespace.
10653 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10655 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10658 * trans.C (Load): comment out unused variable, allowed.
10660 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10662 * minibuffer.[Ch] (append_char): new method to recieve input from the
10663 drop-down completion browser. If a key was pressed, then recieve this
10664 char and append it to the existing string.
10665 (peek_event): modify the positioning data passed to the completion
10666 browser so that it can be placed above the minibuffer rather than below.
10667 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * LyXAction.C (init): alloe error-next for readonly documents.
10671 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10674 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * bufferlist.C (readFile): create the buffer _after_ checking that
10679 * lyxfunc.C (verboseDispatch): fix handling of arguments
10681 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10683 * lyxrc.C: use string::erase() instead of initializing to "".
10686 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10688 * BufferView_pimpl.h:
10689 * BufferView_pimpl.C:
10692 * text2.C: tell X when we have made a selection for copying
10694 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * BufferView_pimpl.C (MenuInsertLyXFile):
10697 * lyxfunc.C (menuNew):
10699 (doImport): add shortcuts to directory buttons
10701 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10704 * lyxfunc.C (setStatusMessage):
10705 (getStatusMessage): new methods
10706 (getStatus):use setStatusMessage instead of setErrorMessage
10707 (dispatch): when function is disabled, set error message here
10708 [instead of in getStatus previously]
10710 * BufferView_pimpl.C (workAreaButtonRelease): update
10711 toolbar/menubar here too.
10713 2002-01-13 Allan Rae <rae@lyx.org>
10715 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10716 Now seems indestructible. Remaining task is to audit all other
10717 code affected by deleteEmptyParagraphMechanism. One small quirk
10718 left is that an empty document with an error in the preamble can
10719 be made to report an error but no error box appears. I don't know
10721 (removeAutoInsets): Improved comments.
10723 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10726 * Thesaurus.C: update for Aiksaurus 0.14
10728 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10730 * text2.C (firstParagraph): removed member function, all uses
10731 replaces with ownerParagraph
10732 (redoParagraphs): here
10733 (updateInset): here
10734 (toggleAppendix): here
10735 * BufferView2.C (insertErrors): here
10736 (setCursorFromRow): here
10738 2002-01-13 Allan Rae <rae@lyx.org>
10740 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10741 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10742 There is still a way to segfault this although you may have to do this
10743 multiple times: Have an InsetERT with an unknown command in it.
10744 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10745 <down-arrow>, <Enter> again, View->DVI, BANG!
10747 * text2.C (setCursor):
10748 (deleteEmptyParagraphMechanism):
10749 * lyxtext.h (setCursor):
10750 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10751 Making use of the return value may help fix other bugs.
10753 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10757 * LyXView.C (updateMenubar): call MenuBar::update here
10758 (updateToolbar): but not here
10759 (showState): do not update toolbar/menubar
10761 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10762 should need to care about that.
10764 * lyxfunc.C (verboseDispatch): simplify a bit
10765 (getStatus): have a version which takes a pseudoaction, and
10766 another which requires a (kb_action,string).
10768 * LyXAction.C (retrieveActionArg): make it work also when action
10769 is not a pseudo-action.
10770 (getActionName): simplify a bit
10773 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * lyxfunc.C (verboseDispatch): new families of methods with
10776 several ways to specify a command and a bool to indicate whether
10777 the command name and shortcut should be displayed in minibuffer
10778 (eventually, we could extend that to a finer bitmask like
10779 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10780 (dispatch): the pristine dispatch command which just, well,
10781 dispatchs! Note it still sets its result to minibuffer; I'm not
10784 * lyxfunc.h: remove setHintMessage
10786 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10788 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * BufferView_pimpl.C (specialChar): delete new inset if we have
10791 not been able to insert it.
10793 * kbmap.C: revert to using int instead of kb_action, since all we
10794 are dealing with is pseudo-actions.
10796 * LyXAction.C (searchActionArg): change to return int instead of
10797 kb_action, since the result is a pseudoaction.
10799 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10801 * buffer.C (insertErtContents): Fix (partially) the font bug.
10803 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10805 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10806 as the other one is broken on my machine!
10808 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10811 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10813 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10815 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10816 reflect their actual use. Provide compatibility code for older lyxrc
10819 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10821 change names of popup font variables in line with the changes to lyxrc.C
10823 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * buffer.C (asciiParagraph): avoid outputing a word twice after
10828 * lyxrc.C (getDescription): document that document_path and
10829 template_path can be empty.
10831 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10833 * LaTeXFeatures.C (getMacros):
10834 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10836 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10838 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10840 (getPackages): rename feature "floats" to "float". Use an array to
10841 iterate over 'simple' features (i.e. just a \usepackage). Add
10842 handling of "amsmath" (renamed from "amsstyle").
10844 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10846 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10849 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10851 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10852 FuncStaus::FuncStatus & FuncStaus::some_method().
10854 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10856 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10857 of the func_satus stuff. Edited and massaged in various ways by
10860 * lyxfunc.C (getStatus): use FuncStatus
10862 2002-01-08 Juergen Vigna <jug@sad.it>
10864 * text.C (nextBreakPoint): use function Inset::isChar().
10866 * paragraph.C (TeXOnePar): use function
10867 Inset::forceDefaultParagraphs.
10869 * buffer.C (latexParagraphs): use function
10870 Inset::forceDefaultParagraphs.
10872 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10874 * lyx_gui.C (init): set the style of the menu popups to
10875 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10877 2002-01-07 Juergen Vigna <jug@sad.it>
10879 * text.C (setHeightOfRow): small fix
10880 (prepareToPrint): don't look at alignment if we don't have the place
10883 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10885 * box.C: New file. Move the Box methods and functions out of box.h,
10886 following Lars' suggestion.
10888 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10890 * box.h: #include "support/LOstream.h", needed for inlined function.
10893 * lyxtextclasslist.C: added some using std declarations.
10895 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10897 * box.h: make signed dimensions to allow insets wider than
10898 the screen (bug #162)
10900 * BufferView_pimpl.C: add some insetHit debug
10902 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10904 * vc-backend.C: add FIXME
10906 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10908 * lyxfunc.C (getStatus): enable code for showing math font status
10911 2002-01-07 Juergen Vigna <jug@sad.it>
10913 * text.C (nextBreakPoint): removed debug output not needed anymore.
10915 2002-01-06 Juergen Vigna <jug@sad.it>
10917 * text.C (nextBreakPoint): fixed up this function we had this bug
10918 since ever but now hopefully we break row better.
10919 (insertChar): we have to check if an inset is the next char as it
10920 could now happen that a large inset is causing a break.
10922 2002-01-05 Juergen Vigna <jug@sad.it>
10924 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10925 if it doesn't like to be drawed.
10927 2002-01-04 Juergen Vigna <jug@sad.it>
10929 * BufferView2.C (lockInset): forgot to set a cursor.
10931 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10933 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10935 * FormMathsPanel.C:
10938 * form_maths_panel.C:
10939 * form_maths_panel.h:
10940 * form_maths_panel.fd: implemented sub- and super- buttons in math
10943 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10944 (or ^ space) to be used as in TeX (req'd by André).
10946 * lyxfunc.C: Allow ^ and _ again to be used both as
10947 super/subscript (mathed) and as themselves (in text).
10949 2002-01-03 Allan Rae <rae@lyx.org>
10951 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10952 "LyX" or the filename of the current buffer if it has one. This is a
10953 modified form of John Levon's patch.
10955 * XFormsView.C (setWindowTitle): also set icon title.
10957 * LyXView.h (setWindowTitle): signature changed.
10958 * XFormsView.h (setWindowTitle): ditto.
10960 2002-01-02 Juergen Vigna <jug@sad.it>
10962 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10964 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * screen.C (topCursorVisible): introduce a temp var for
10967 text->cursor.row(), handle the case where this row is null. (kindo
10970 * text2.C (setCursor): add a couple of asserts.
10972 * paragraph.h (inset_iterator): add -> operator
10974 * paragraph.[Ch] (autoDeleteInsets): remove member function
10976 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10977 cursor pos correctly and handle inset deletion by itself.
10978 (insertErrors): move iterator declaration out of for expression
10980 * lyxtextclass.C: add <algorithm>
10982 * Makefile.am: added the new files to sources, removed layout.C
10984 * layout.C: removed file
10986 * layout.h: remove LYX_DUMMY_LAYOUT
10988 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10992 * lyxtextclass.[Ch]:
10993 * lyxtextclasslist.[Ch]: new files
10995 * include order changes to a lot of files, also changes because of
10998 2001-12-27 Juergen Vigna <jug@sad.it>
11000 * buffer.C (asciiParagraph): more fixes.
11002 * tabular.C (ascii): make ascii export support export of only the
11003 data separated by a column-delimiter.
11004 (ascii): better support for ascii export.
11006 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11008 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * tabular_funcs.C: use a "using std::getline" instead of the
11011 previous fix from Angus (necessary for cxx + lyxstring)
11013 2001-12-24 Juergen Vigna <jug@sad.it>
11015 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11017 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11018 problems. First check a minipage also if we have some ert-contents
11019 (not only on par->size(), second set the right depth of the paragraph
11020 on the relink to the root-paragraph-list!
11022 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11023 which then did not anymore update the main paragraphs on undo/redo!
11025 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11028 code. Support all font-changing funcs (even those which are not in
11029 menu currently). Support for reporting font settings in
11030 mathed (disabled until Andre provides a function on mathed's side).
11032 * func_status.h (toggle): small helper function to set toggle
11035 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11037 * tabular_funcs.C: getline -> std::getline
11039 2001-12-21 Juergen Vigna <jug@sad.it>
11041 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11042 accessed and could be 0 (I couldn't generate this but it seems
11045 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11048 * tabular_funcs.h: here and include iosfwd
11050 2001-12-20 Juergen Vigna <jug@sad.it>
11052 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11053 inside inset but undo_par was.
11055 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11057 * Thesaurus.C: always include <config.h> in sources.
11061 * box.h: do not include <config.h> in header files
11063 * text.C (paintLastRow): remove unused variable
11065 * text.C (transformChar):
11067 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11069 * Painter.C (text):
11070 * font.C (width): rewrite to use uppercase() instead of
11073 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11075 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11077 * lyxfind.C: clean up of find failure position change
11079 2001-12-20 Juergen Vigna <jug@sad.it>
11081 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11083 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11084 (TeXRow): added to LaTeX a single tabular row.
11085 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11086 (Latex): simplified and finally good LT-h/f support.
11087 (various_functions): just small adaptions for LT-h/f support.
11089 * tabular_funcs.[hC]: added and moved here all not classfunctions
11092 2001-12-19 Juergen Vigna <jug@sad.it>
11094 * tabular.[Ch]: better support for longtabular options (not finished
11097 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11099 * text.C (paintLastRow): use the label font instead of the font of
11100 the last character to compute the size of *_BOX. This makes more
11101 sense and avoids a crash with empty paragraphs.
11102 Use Painter::rectangle to draw EMPTY_BOX.
11104 2001-12-19 Juergen Vigna <jug@sad.it>
11106 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11107 the paragraphs if the replaced paragraph is not the first one!
11108 Tried to delete not used paragraphs but does not work yet so for
11109 now it's inside #ifdef's and by default off!
11111 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11113 * MenuBackend.C: include "lyx_main.h" instead of declaring
11114 lastfiles (actually was declared as LastFiles* instead of a
11117 2001-12-17 Juergen Vigna <jug@sad.it>
11119 * tabular.C (AppendColumn): applied John's fix
11121 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.h:
11126 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11129 * box.h: new start of class for above
11131 * lyxfunc.C: ignore space-only minibuffer dispatches.
11132 Show the command name when it doesn't exist
11134 * minibuffer.C: don't add empty lines to the history
11136 * minibuffer.C: add a space on dropdown completion
11138 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11140 * text.C: fix line above/below drawing in insets
11142 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * lyxlength.C (LyXLength): Initialize private variables.
11146 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11149 when inserting error insets.
11151 2001-12-13 Juergen Vigna <jug@sad.it>
11153 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11154 actually sometimes the before-paragraph.
11155 (setUndo): don't clear the redostack if we're not actually undoing!
11157 2001-12-06 Juergen Vigna <jug@sad.it>
11159 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11160 and fixed redoing of main paragraph, so we can use it now ;)
11162 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11164 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11169 2001-12-13 André Pönitz <poenitz@gmx.net>
11172 * undo_func.C: minor cleanup
11174 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11177 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11178 font in urw-fonts package which is marked as -urw-fontspecific and
11179 does not work (incidentally, changing the encoding in the
11180 fonts.dir of this package to -adobe-fontspecific fixes the
11183 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11184 is a crash when undoing first paragraph (Juergen, please take a
11185 look). THis does not mean the undo fix is wrong, just that it
11188 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11189 the (Paragraph*) version when needed instead of duplicating the
11192 * text.C (workWidth): use Inset::parOwner to find out where the
11193 inset has been inserted. This is a huge performance gain for large
11194 documents with lots of insets. If Inset::parOwner is not set, fall
11195 back on the brute force method
11197 * paragraph_pimpl.C (insertInset):
11198 * paragraph.C (Paragraph):
11199 (cutIntoMinibuffer): set parOwner of insets when
11200 inserting/removing them
11202 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11204 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11210 * mathed/formulabase.C:
11211 * mathed/math_cursor.[Ch]:
11212 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11215 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * lyxlength.[Ch] (operator!=): new function
11219 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11221 * text.C (workWidth): use Inset::parOwner to find out where the
11222 inset has been inserted. This is a huge performance gain for large
11223 documents with lots of insets. If Inset::parOwner is not set, fall
11224 back on the brute force method
11226 * paragraph_pimpl.C (insertInset):
11227 * paragraph.C (Paragraph):
11228 (cutIntoMinibuffer): set parOwner of insets when
11229 inserting/removing them
11231 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11233 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * tabular-old.C (getTokenValue):
11236 * tabular.C (getTokenValue):
11237 (write_attribute): new versions for LyXLength
11238 (everywhere): adjust the use of widths
11240 * tabular.h: change the type of widths from string to LyXLength
11242 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11244 * paragraph.C: fixed missing line number count when exporting
11245 Environments to LaTeX file
11247 * buffer.C: added informational message for checking line numbers.
11249 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11252 paragraph, do the 'double space' part, but not the 'empty
11255 * text.C (workWidth): small optimization
11256 (getLengthMarkerHeight): use minimal size for negative lengths.
11258 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11260 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11262 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11264 2001-12-11 André Pönitz <poenitz@gmx.net>
11267 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11269 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11271 * text2.C: keep selection on a setFont()
11273 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11275 * lyx_cb.C: another bv->text misuse, from insert label
11277 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11280 * kbsequence.C: re-instate nmodifier mask
11282 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11284 * lyx_main.h: make lyxGUI private.
11286 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11288 * lyxfind.C: place the cursor correctly on failed search
11290 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * text.C (getLengthMarkerHeight): for small heights, the arrows
11293 are not always on top/bottom of the text
11294 (drawLengthMarker): smaller arrows; take the left margin in
11295 account; draw also vfills.
11297 (paintLastRow): remove special code for vfill and standard spaces,
11298 since everything is handled in drawLengthMarker now.
11300 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * buffer.C (insertErtContents): try to handle font and language
11303 interaction a bit better.g
11305 * ColorHandler.C (updateColor): change the hash to cover the whole
11306 LColor enum, ws cleanup
11307 (getGCLinepars): ditto
11308 (getGCLinepars): only lookup in the linecache once.
11310 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11312 * iterators.C (operator++): Make the iterator more robust
11314 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11318 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11321 * text.C: better added space drawing
11323 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11326 * BufferView2.C: fix layout combo update on inset unlock
11328 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11330 * Makefile.am: don't compile unused files
11332 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11336 * LyXAction.C: remove old LFUN_LAYOUTNO
11338 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11340 * paragraph_pimpl.h:
11341 * paragraph_pimpl.C: isTextAt() doesn't need font param
11343 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11346 * lyxlex.C: little cleanup
11348 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.C: fix insertAscii for insets
11352 2001-12-05 Juergen Vigna <jug@sad.it>
11354 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11355 set the right font on the "multi" paragraph paste!
11357 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * lyxlength.C: remove out-commented code.
11365 * BufferView_pimpl:
11379 * vc-backend.C: change "while(" to "while ("
11381 * lyxlength.[Ch]: add zero function to check if length is zero or
11383 * lyxgluelength.C: use it
11385 2001-12-05 Allan Rae <rae@lyx.org>
11387 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11388 Works for 2.95.3, from what I understand of Garst's reports this should
11389 work for other g++ versions. We're screwed if the abs(int) definition
11390 changed between bugfix releases of gcc.
11392 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11394 * text.C: fix chapter label offset !
11396 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11399 * text.C: fix hfill at end of line, clean up
11401 2001-12-04 Juergen Vigna <jug@sad.it>
11403 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11404 that we force an update of the inset and it's owners if neccessary.
11406 2001-12-03 Juergen Vigna <jug@sad.it>
11408 * text.C (rowLast): simplified code
11410 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11412 * lyxfunc.C: fix show options on timeout
11414 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11416 * screen.C (topCursorVisible): scroll half a page when the cursor
11417 reached top of bottom of screen
11419 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11421 * minibuffer.C: deactivate on loss of focus
11423 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * vspace.[Ch] (operator!=): add operator.
11427 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11429 * BufferView_pimpl.C: refuse to open an inset when
11430 there's a selection.
11432 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11434 * BufferView_pimpl.C: allow to click on RHS of full row insets
11436 2001-11-30 Juergen Vigna <jug@sad.it>
11438 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11439 insets for undo reasons.
11441 2001-11-28 André Pönitz <poenitz@gmx.net>
11443 * vspace.[Ch]: cosmetical changes
11445 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11455 * kbsequence.C: part re-write of old kb code
11458 * WorkArea.C: remove Lgb_bug_find_hack
11460 2001-11-30 José Matos <jamatos@fep.up.pt>
11462 * buffer.C (makeDocBookFile): add a comment to point a hack.
11463 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11464 Fixed a double write of labels.
11466 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11469 * LaTeX.h Fixed bug in LaTeX class where it would not
11470 re-run latex if no depfiles were changed, but the .dvi was removed.
11472 2001-11-28 André Pönitz <poenitz@gmx.net>
11474 * all the files from the change on 2001/11/26:
11475 use lyx::layout_type instead of LyXTextClass::size_type
11476 use lyx::textclass_type instead of LyXTextClassList::size_type
11478 2001-11-29 Juergen Vigna <jug@sad.it>
11480 * text.C: added support for paragraph::isFreeSpacing()
11482 * buffer.C: same as above
11484 * paragraph.h: inserted isFreeSpacing() function to enable
11485 FreeSpacing inside InsetERT.
11487 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11488 of the paragraph's in the cut/copy buffer to 0!
11490 * text2.C (removeRow): remove the assert as it can!
11492 * lyxtext.h: added helper function firstRow returning firstrow and
11493 made firstrow private again.
11495 * BufferView2.C (lockInset): don't relock if we're already locked!
11497 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11498 the only paragraph.
11499 (removeRow): added Assert::(firstrow)
11501 * debug.C: forgot to add INSETTEXT here.
11503 2001-11-28 Juergen Vigna <jug@sad.it>
11505 * sp_spell.C (initialize): changed error text to more general
11506 spellchecker command use (not only ispell!)
11508 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11510 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11512 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11514 * vspace.C: initialise lyxgluelength on failure
11516 2001-11-28 Allan Rae <rae@lyx.org>
11518 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11519 declaration & definition that looks like a function declaration.
11521 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11523 * BufferView2.C (copy):
11524 (copyEnvironment): do not clear the selection when doing a copy.
11526 * text.C (paintFirstRow): compilation fix
11528 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11530 * tabular.C (Latex): correct line count when writing latex.
11532 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11534 * paragraph_pimpl.h:
11535 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11538 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11542 * LColor.C: change vfillline->added_space
11544 * text.C: add markers and text for added space
11546 * vspace.C: fix comment
11548 2001-11-28 André Pönitz <poenitz@gmx.net>
11550 * paragraph.C: whitespace changes
11551 * all the other files from the change on 2001/11/26:
11552 change *::pos_type into lyx::pos_type
11554 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11556 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11557 language of the document when inserting error insets.
11559 2001-11-26 André Pönitz <poenitz@gmx.net>
11561 * BufferView_pimpl.[Ch]:
11569 * paragraph_pimpl.[Ch]:
11572 * text2.C: reduce header dependencies, introduce type for positions
11574 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11576 * <various>: change to use Alert.h
11578 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11580 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11581 when encountering an unknown token.
11582 (readLyXformat2): Show an error message if there were unknown tokens.
11584 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11587 * BufferView_pimpl.C:
11591 * text2.C: use par->isInset()
11593 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11595 * paragraph_pimpl.h:
11596 * paragraph_pimpl.C: cleanup
11598 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * text2.C (removeRow):
11601 * text.C (setHeightOfRow): remove useless (and costly) call to
11604 2001-11-20 Allan Rae <rae@lyx.org>
11606 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11607 Now need Inset*::checkInsertChar() to return true for appropriate
11608 cases so that the characters in the minibuffer will actually be
11611 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * text.C: change the order of the includes.
11614 (workWidth): initialize it at once.
11615 (workWidth): make maxw unsigned
11616 (setHeightOfRow): remove unused variable (inset)
11617 (selectSelectedWord): remove unused variable (inset)
11618 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11620 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11623 server is not running.
11625 (closeConnection): add debug info when server is disabled.
11627 * ColorHandler.C (getGCForeground): send debug message to GUI
11630 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11632 * kbmap.C (bind): modify because return conventions of
11633 kb_sequence::parse have changed.
11635 * kbsequence.C (parse): only ignore spaces and not any stupid
11636 control character. This avoids tests like s[i] <= ' ', which are
11637 guaranteed to fail with 8bit characters and signed chars.
11638 Change return code to string::npos when there have been no error
11639 (0 was a bad idea when error is at first character)
11641 2001-11-14 José Matos <jamatos@fep.up.pt>
11644 * buffer.C (simpleDocBookOnePar): removed unused argument.
11646 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11649 insets which are part of a word. Paragraph::isLetter takes care of
11650 that now. Use Paragraph::isInset to identify insets.
11651 (selectSelectedWord): do not test for hyphenation break.
11653 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11654 that protected spaces are considered as spaces.
11656 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11659 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11662 * lyxserver.C: fix it. and small cleanup.
11664 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11666 * BufferView_pimpl.C: use inline helpers
11669 * LaTeXFeatures.C: fix typos
11672 * Spacing.C: move spacing_string into class
11674 * ToolbarDefaults.C: move stuff into namespace anon
11676 * layout.h: update enum
11678 * lyxfunc.C: use better debug
11680 * minibuffer.h: fix typo
11684 * WorkArea.C: add and use Debug::WORKAREA
11688 * text2.C: code re-organisation, inline helpers
11690 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11692 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11693 std::vector.empty().
11695 2001-11-09 Allan Rae <rae@lyx.org>
11697 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11698 '\n's after tables. Tabular and ERT inset work now makes this no
11701 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11704 * minibuffer.C: fix crash, improve drop-down completion
11706 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11709 * lyxserver.C: invalidate fd's when doing endPipe()
11711 2001-11-08 José Matos <jamatos@fep.up.pt>
11713 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11714 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11717 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11719 2001-11-07 José Matos <jamatos@fep.up.pt>
11722 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11725 * buffer.C (sgmlOpenTag):
11726 * buffer.C (sgmlCloseTag): removed debug info.
11728 * buffer.h (sgmlOpenTag):
11729 * buffer.h (sgmlCloseTag): made public.
11731 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * buffer.C (saveParamsAsDefaults):
11734 * lyx_cb.C (MenuLayoutSave): remove
11736 * LyXAction.C (init):
11738 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11740 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11742 * buffer.C (setPaperStuff): removed from here...
11744 * bufferparams.C (setPaperStuff): ... and moved there.
11746 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11750 * XFormsView.C: add support for drop-down completion
11752 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11754 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11757 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11759 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11762 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11764 * lyx_main.C: change ref to known bugs
11766 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11768 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11769 to work around older babel problems.
11771 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11773 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11775 2001-10-24 Juergen Vigna <jug@sad.it>
11777 * tabular-old.C (ReadOld): below variable changes reflected.
11779 * tabular.[Ch]: added ltType struct for longtable header/footer
11780 defines and changed all instances where they are used. Added
11781 future support for double top/bottom rows.
11783 2001-10-24 José Matos <jamatos@fep.up.pt>
11785 * buffer.h (docbookHandleCaption):
11786 * buffer.C (docbookHandleCaption): removed unused function.
11787 (makeDocBookFile): moved docbook supported version to v4.1.
11789 2001-10-24 José Matos <jamatos@fep.up.pt>
11792 * tabular.C (docbookRow): new function to export docbook code of a row.
11793 (DocBook): now honors the longtable flags.
11795 2001-10-23 José Matos <jamatos@fep.up.pt>
11798 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11799 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11801 * buffer.C (makeLinuxDocFile):
11802 (makeDocBookFile): reworked the preamble, more clean, and with
11803 support for lyx defined entities. Changed the document declaration
11804 to be more XML friendly.
11806 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11807 if we need to output XML that should be done with a filter.
11809 2001-10-22 Juergen Vigna <jug@sad.it>
11811 * sp_pspell.h (class PSpell): add alive function needed in the
11812 controller to see if the spellchecker could be started.
11814 2001-10-22 Juergen Vigna <jug@sad.it>
11816 * buffer.C (insertStringAsLines): modify the font for inserting
11817 chars in certain conditions by calling checkInsertChar(font).
11819 2001-10-19 Juergen Vigna <jug@sad.it>
11821 * text.C (workWidth): use getRow instead of wrong algorithm.
11822 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11824 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11829 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11831 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11833 * text.C (workWidth): do not search for the exact row when
11834 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11835 optimization for big documents.
11837 2001-10-18 Juergen Vigna <jug@sad.it>
11839 * text.C (workWidth): new function with added Inset * parameter.
11841 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11843 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11845 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11846 change return type of getColumnNearX.
11849 * text.C (changeRegionCase): use uppercase/lowercase instead of
11852 (rightMargin): simplify code by factoring out the uses of
11857 (appendParagraph): use Paragraph::size_type
11859 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * vspace.C (asLatexString): add a missing break
11863 2001-10-15 Herbert Voss <voss@perce.de>
11865 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11867 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11869 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11872 2001-10-10 André Pönitz <poenitz@gmx.net>
11874 * lyxfunc.C: removed greek_kb_flag.
11876 2001-10-10 Herbert Voss <voss@perce.de>
11878 * lyx_main.C: delete global string help_lyxdir.
11880 2001-10-09 Herbert Voss <voss@perce.de>
11882 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11884 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11886 * lyx_main.C: added global string help_lyxdir.
11888 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11890 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11892 * lyxrc.C (set_font_norm_type): support iso8859-4
11894 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11896 * LaTeX.C (deplog): add another regex for MikTeX
11898 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11900 * lyxrc.C (set_font_norm_type): support iso8859-3
11902 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11906 * LaTeXFeatures.C: remove special case of french and index
11908 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11909 before \begin{document}). This solves several incompatibilities.
11911 2001-10-03 Garst Reese <reese@isn.net>
11913 * lyx_cb.C: change CheckTex error msg.
11915 2001-10-03 José Matos <jamatos@fep.up.pt>
11917 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11919 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11921 * .cvsignore: update
11923 * lyx_main.C (commandLineVersionInfo): use new style version info.
11925 * buffer.C (writeFile):
11927 (makeLinuxDocFile):
11928 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11930 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11932 * version.h: update to use stuff in version.C
11934 * version.C.in: new file. Contains version information determined
11935 at compile time. This is a merging of version.h and
11938 2001-10-03 Juergen Vigna <jug@sad.it>
11940 * BufferView_pimpl.C (update): don't change "dirty" status in
11943 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11945 * WorkArea.C (c-tor): re-position version string slightly.
11947 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11949 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11950 revert to previous code.
11952 WorkArea.[Ch]: (show, destroySplash): methods removed.
11954 WorkArea.C: rework code so that it's an amalgam of the codes before and
11955 after the splash screen was moved to WorkArea.
11957 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11960 * vspace.C (inPixels):
11963 * buffer.C (insertStringAsLines):
11964 (asciiParagraph): fix types to be large enough
11966 * lyxlex_pimpl.h: change member status from short to int
11968 * layout.h: fix type of endlabeltype
11971 * kbsequence.C (parse): change return type to string::size_type
11973 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11976 * Bullet.C (bulletSize):
11977 (bulletEntry): do not use short ints as parameters
11979 * BufferView2.C (insertLyXFile): change a char to an int.
11981 * WorkArea.C (WorkArea): remove unneeded floats in computation
11983 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11985 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11987 * paragraph.C (asString): Do not ignore newline/hfill chars when
11988 copying to the clipboard.
11990 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11992 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11993 after a multi-line inset.
11995 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11997 * paragraph.C (validate): Set NeedLyXFootnoteCode
11999 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12001 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12002 and decrease-error to decrease.
12004 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12007 it more readable (should be equivalent)
12009 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12011 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12013 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12015 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12016 of a cursor (row, etc.) after a character has been deleted
12017 (deleteEmptyParagraphMechanism): call the method above on _all_
12018 cursors held by the LyXText when a double space has been
12021 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12023 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12025 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12027 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12028 background. Use greyOut() and the new show() methods to toggle between
12029 the foreground and background. Add code to remove the splash after
12030 its initial showing.
12032 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12033 (create_forms): no longer call Dialogs::showSplash.
12035 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12037 * .cvsignore: add version_info.h
12039 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * version_info.h.in: new file
12043 * Makefile.am: add version_info.h.in
12045 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12046 version_info.h instead of VERSION_INFO
12048 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12050 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12051 The ERT inset now returns string().
12053 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12055 * lyxtext.h, text.C (selectNextWord): renamed as
12056 selectNextWordToSpellcheck.
12058 * text.C (selectNextWordToSpellcheck): Modified to not select
12059 words inside an ERT inset.
12061 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12063 * lyx_cb.C (MenuLayoutSave): change a bit the question
12065 * sp_base.h: include <sys/types.h>
12067 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12069 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12071 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12073 * several files: fix typos in user-visible strings
12075 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12077 * text2.C (pasteSelection): do not set the selection, since it
12078 will be cleared later. Actually, the intent was to fix the way the
12079 selection was set, but I figured rmoving the code was just as good.
12081 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12083 * FontLoader.C (available): Check if font is available without
12086 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12088 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12090 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12092 * lyxrc.[Ch]: added display_graphics variable and associated code.
12094 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12096 * bufferparams.C (hasClassDefaults): new method. Returns true if
12097 the buffer parameters correspond to known class defaults
12099 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12101 * XFormsView.C (show): set minimum size to the main window.
12103 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12105 * text2.C (copySelection):
12107 * lyxfind.C (LyXReplace):
12108 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12109 LyXText::selectionAsString.
12111 * paragraph.C (asString): add "label" argument to the second form
12113 * text2.C (selectionAsString): add "label" argument and pass it to
12114 Paragraph::asString.
12116 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12118 * lyx_main.C (commandLineHelp): remove version information
12120 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12122 * lyx_main.C: add -version commandline option
12124 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * paragraph.h: make the optional constructor arg required instead.
12127 some modifications to other files because of this.
12129 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12131 * lyxserver.C (C_LyXComm_callback): make it static
12133 * lyx_main.C (error_handler): make it static
12135 * lyx_gui.C (LyX_XErrHandler): make it static
12137 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12139 * WorkArea.C: make the extern "C" methods static.
12141 * Makefile.am (lyx_LDADD): simplify
12143 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12145 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12146 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12148 * LyXAction.C (init):
12149 * lyxfunc.C (dispatch): associated code removal.
12151 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * lyxfont.h (isSymbolFont): shut off warning
12155 * text.C (setHeightOfRow):
12156 (getVisibleRow): fix crash with empty paragraphs which have a
12159 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12161 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12164 2001-09-04 José Matos <jamatos@fep.up.pt>
12167 * tabular.C (docbook): rename docBook method to docbook.
12169 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12171 * Makefile.am: add dependencies to main.o.
12173 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12175 * FontLoader.C (available): Return false if !lyxrc.use_gui
12177 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12179 * FontInfo.C (query):
12180 * converter.C (view):
12181 * importer.C (Import):
12182 * exporter.C (Export): Can not -> cannot.
12184 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12186 * BufferView_pimpl.C: allow to create index inset even if
12189 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12191 * buffer.C (getLists): replace boost::tie code with an explicit pair
12192 as boost::tie can break some compilers.
12194 * iterators.h: Added a std:: declaration to the return type of
12197 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12199 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12202 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12204 * iterators.[Ch]: New files. Provide paragraph iterators.
12206 * buffer.C (changeLanguage): Use paragraph iterators.
12207 (isMultiLingual): ditto
12209 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12211 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12213 * FontLoader.C: Support for cmr font.
12215 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12217 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12218 (available): New method.
12220 * FontInfo.C (getFontname): Use scalable fonts even when
12221 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12224 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12226 * converter.C (Formats::view): reverted! Incorrect fix.
12228 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12230 * converter.C (Formats::view): only output the -paper option
12231 if the dvi viewer is xdvi, thereby fixing bug #233429.
12233 2001-08-23 Herbert Voss <voss@perce>
12235 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12237 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12239 * Spacing.h (Spacing): Set space to Default on in the default
12242 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * vc-backend.h (RCS::versionString): add RCS to version
12245 (CVS::versionString): add CVS to version
12247 * vc-backend.C (scanMaster): do not add CVS to version.
12248 (scanMaster): do not add RCS to version
12250 * lyxvc.C (versionString): new method
12252 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12254 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * Spacing.C (set): initialize fval
12258 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12260 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12263 2001-08-16 Juergen Vigna <jug@sad.it>
12265 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12267 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12269 * BufferView_pimpl.C:
12272 * text2.C: setParagraph takes linespacing now
12274 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12276 * LyxAction.C: add internal LFUN_CITATION_INSERT
12278 * LyXView.C: actually apply fix
12280 * bufferlist.C: fix open non-existent file
12282 * lyxfind.C: fix indentation
12284 * lyxfunc.C: remove unneeded assert, fix typo
12286 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12288 * MenuBackend.C: use "Floatname List"
12290 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12292 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12293 when converting LaTeX layout to insetERT.
12294 Generate a non-collapsed float when reading old float
12296 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12298 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12301 2001-08-13 Juergen Vigna <jug@sad.it>
12303 * text.C (fill): return 0 instead of 20 as this seems to be the more
12306 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12308 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12311 2001-08-13 Juergen Vigna <jug@sad.it>
12313 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12315 (SearchBackward): comment out the unlocking of the inset_owner this
12316 should not be needed!
12318 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12320 * Many files: Remove inherit_language, and add latex_language
12322 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12323 collapsible insets.
12325 2001-08-10 Juergen Vigna <jug@sad.it>
12327 * text.C (prepareToPrint): fixed hfill-width in draw!
12329 * BufferView2.C (selectLastWord): save the selection cursor as this
12330 now is cleared in the function LyXText::clearSelection!
12332 2001-08-08 Juergen Vigna <jug@sad.it>
12334 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12335 BACKSPACE type functions.
12337 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12338 is only cutted from the document but not put in the cut-buffer, where
12339 still the old stuff should be.
12341 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12343 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12345 * tabular.C (SetWidthOfCell): fixed special case where the width
12347 (LeftLine): handle '|' in align_special.
12349 (LeftAlreadyDrawed): ditto
12350 (SetWidthOfCell): ditto
12352 2001-08-07 Juergen Vigna <jug@sad.it>
12354 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12356 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12359 * lyxlex.[hC]: ditto
12361 2001-08-06 Juergen Vigna <jug@sad.it>
12363 * text.C (getVisibleRow): fix up row clearing a bit.
12365 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * minibuffer.C: make sure the X server sees the changes in the input.
12369 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * paragraph.C (getFont): split into...
12372 (getLabelFont): this
12373 (getLayoutFont): and this
12374 * paragraph_pimpl.C (realizeFont): calling this
12376 * text2.C (getFont): split into...
12377 (getLayoutFont): this
12378 (getLabelFont): and this
12379 (realizeFont): all three calling this
12381 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12384 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12386 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12388 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12390 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12391 layouts from the Quote inset insertion.
12393 2001-08-03 Juergen Vigna <jug@sad.it>
12395 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12397 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12398 only if status not is already CHANGED_IN_DRAW (second level).
12400 * text.C (draw): don't set the need_break_row when inside an
12403 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * buffer.C (parseSingleLyXformat2Token): handle more latex
12408 * bufferview_funcs.[hC]: change function names to
12409 begin with small char, adjust other files.
12411 2001-08-02 André Pönitz <poenitz@gmx.net>
12414 BufferView_pimpl.C: remove broken special code for math-greek
12416 2001-08-02 Juergen Vigna <jug@sad.it>
12418 * BufferView_pimpl.C (update): redone this function so that we
12419 update the text again if there was a CHANGE_IN_DRAW.
12421 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12422 (drawFromTo): added a new internal bool which is used by draw() and
12424 (general): some cursor drawing problems fixed.
12426 2001-08-01 Juergen Vigna <jug@sad.it>
12428 * lyxfind.C (LyXFind): fixed
12429 (SearchForward): ditto
12430 (SearchBackward): ditto
12432 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12433 spurius drawing of the cursor in the main area.
12435 * text2.C (status): small fix which could lead to a segfault!
12436 (clearSelection): remove unneeded BufferView param.
12438 2001-08-01 André Pönitz <poenitz@gmx.net>
12440 * lyxfunc.C: small change due to changed mathed interface
12442 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12444 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12446 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12448 * lyxfunc.c: fail gracefully if file doesn't exist
12453 * BufferView_pimpl.C: IsDirWriteable() proto changed
12455 * LyXView.C: fix updateWindowTitle() to store the last title
12457 2001-07-31 Juergen Vigna <jug@sad.it>
12459 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12460 the font (wrong since using of Paragraph::highestFontInRange).
12462 * paragraph.C (highestFontInRange): added a default_size parameter.
12464 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12465 (setHeightOfRow): reformat
12467 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * converter.[hC] + affected files: move to (inital-char)lowercase
12472 * ParagraphParameters.C (ParagraphParameters): remove commented code
12474 * PainterBase.[Ch]: remove commented code
12476 * LaTeXFeatures.h: add "bool floats" for float.sty
12478 * LaTeXFeatures.C (LaTeXFeatures): init floats
12479 (require): handle float
12480 (getPackages): do it with floats
12482 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12484 * BufferView_pimpl.C (Dispatch): improve handling of
12485 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12487 * commandtags.h: #include lyxfont.h here temporarily to avoid
12490 * bufferlist.h: include LString.h here.
12492 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * text2.C (getStringToIndex): new method.
12496 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12498 * *: Reduced header file dependencies all over.
12500 2001-07-30 Baruch Even <baruch@lyx.org>
12502 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12504 2001-07-29 Baruch Even <baruch@lyx.org>
12506 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12508 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * ParameterStruct.h (endif): add a default constructor to make
12511 sure that all variables is initialized.
12513 * ParagraphParameters.C (ParagraphParameters): adjust
12515 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12517 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12518 index; also, check that there is something to index, and that it
12519 does not span over several paragraphs.
12520 (doubleClick): use WHOLE_WORD_STRICT for double click.
12522 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12524 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12527 2001-07-26 Baruch Even <baruch@lyx.org>
12529 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12530 an InsetFig figure, backwards compatible reading of old figure code.
12532 2001-07-27 Juergen Vigna <jug@sad.it>
12534 * text2.C: font.realize function adaption.
12536 * text.C (draw): add a warnings lyxerr text if needed.
12538 * layout.C: font.realize function adaption.
12540 * language.C: add inherit_language and implement it's handlings
12542 * bufferview_funcs.C (StyleReset): remove language parameter from
12543 font creation (should be language_inherit now).
12545 * bufferparams.C (writeFile): handle ignore_language.
12547 * paragraph.C (getFontSettings): the language has to be resolved
12548 otherwise we have problems in LyXFont!
12550 * lyxfont.C (lyxWriteChanges): added document_language parameter
12551 (update): removed unneeded language parameter
12553 * paragraph.C (validate): fixed wrong output of color-package when
12554 using interface colors for certain fonts in certain environments,
12555 which should not seen as that on the final output.
12557 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12559 * BufferView_pimpl.C:
12564 * LyXAction.C: add thesaurus support
12567 * lyxfind.C: add "once" parameter, for thesaurus, to not
12568 move to the next match
12570 2001-07-26 Juergen Vigna <jug@sad.it>
12572 * lyxfont.C (realize): honor ignore_language too!
12575 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12577 * text.C (draw): one place more for ignore_language to not draw
12580 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12582 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12584 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12586 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12587 the minipage conversion problem.
12589 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12591 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12594 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * BufferView.h: don't forward declare WorkArea
12598 * BufferView.C: don't include WorkArea.h
12600 2001-07-25 André Pönitz <poenitz@gmx.net>
12604 * lyxfunc.C: new LFUN 'math-space'
12606 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12608 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * text2.C (toggleInset): call open/close
12612 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * lyxfunc.C (dispatch): add debug for the disabled case
12616 * font.C (buttonText): make similar to rectText
12618 * buffer.C (readInset): comment out parsing of insetlist and
12621 * PainterBase.C (rectText): small correction
12623 * BufferView_pimpl.C: comment out insettheorem and insetlist
12624 * LyXAction.C: ditto
12625 * commandtags.h: ditto
12627 2001-07-24 Juergen Vigna <jug@sad.it>
12629 * text.C (draw): honor the ignore_language.
12631 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12633 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12638 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12640 * lyxtext.h: remove unused (and unimplemented) methods
12642 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12644 * text.C (getVisibleRow): honor background color
12647 * Painter.h: remove default color argument for fillRectangle
12649 * text.C (backgroundColor): new method
12651 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12653 * text.C (getVisibleRow): adjust
12655 * font.[Ch] (rectText): new method, metrics
12656 (buttonText): new method, metrics
12658 * PainterBase.[hC]: make rectText and buttonText always draw and take
12661 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12663 * ToolbarDefaults.C (read):
12664 * MenuBackend.C (read): allow escaping in all strings
12666 * BufferView_pimpl.C (insertAndEditInset): new method.
12667 (Dispatch): use insertAndEditInset whenever appropriate.
12669 * BufferView_pimpl.C (insertNote): removed
12671 * BufferView_pimpl.C (smartQuote): new method, moved from
12672 BufferView; if an insetquote cannot be inserted, insert a '"'
12675 * BufferView2.C: remove insertCorrectQuote();
12677 * lyxfunc.C (getStatus): Add support for all remaingin
12678 inset-insert lfuns.
12680 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12682 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12683 command (necessary to pass " as parameter of self-insert.
12685 * text.C (selectWordWhenUnderCursor):
12686 (selectWord): add word_location parameter
12687 (selectWordWhenUnderCursor): same + remove special code for word
12689 (selectNextWord): use kind() to guess type of insetspecialchar,
12692 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12693 (insertErtContents): create ert insets as collapsed.
12694 (readInset): better compatibility code for Info inset.
12696 2001-07-20 Juergen Vigna <jug@sad.it>
12698 * lyxfunc.C (dispatch): use always LyXFind now!
12700 * text2.C (init): add a reinit flag so that the LyXText can be
12701 reinited instead of deleted and reallocated (used in InsetText).
12703 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12709 2001-07-18 Juergen Vigna <jug@sad.it>
12711 * text.C (selectNextWord): handle insets inside inset by calling
12712 always the bv->text functions so that we can go up the_locking_inset!
12714 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12715 in strange locations when inside an inset!
12717 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12718 handling to include insets.
12720 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12722 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12724 * LyXAction.C (init):
12726 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12727 LIGATURE_BREAK, since the name is so stupid.
12729 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12731 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12734 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12736 * sp_form.[Ch]: remove.
12738 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12740 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12743 * src/buffer.C (readInset): ditto.
12745 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12747 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12748 menuSeparator(), endOfSentenceDot(), ldots() and
12749 hyphenationPoint(), which are therefore removed.
12750 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12752 * LyXAction.C (init):
12753 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12755 * paragraph.C (getWord): removed.
12757 * BufferView_pimpl.C (Dispatch): use last word or selection for
12758 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12760 * lyx_main.C (queryUserLyXDir): do not ask before creating
12761 user_dir, except if it has been named explicitely.
12763 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12765 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12766 a document of zero size.
12768 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12770 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12771 approriately in the c-tor and in require().
12772 (getPackages): output the appropriate LaTeX for natbib support.
12774 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12775 variables "use_natbib" and "use_numerical_citations" when reading the
12777 (readInset): read the various natbib cite commands.
12778 (validate): white-space change.
12780 * bufferparams.[Ch]: new variables "bool use_natbib" and
12781 "bool use_numerical_citations".
12782 (writeFile): output them in the LyX file.
12784 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12786 * lyxfunc.C (getStatus): add support for all the inset insertion
12789 * text2.C (insertInset):
12790 * paragraph.C (insetAllowed):
12791 * BufferView_pimpl.C (insertInset): update to take in account the
12792 renaming of insertInsetAllowed
12794 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12796 * text2.C (getInset): new method. returns inset at cursor position.
12798 * BufferView_pimpl.C (Dispatch): changes because of this.
12800 * LyXAction.C (init): rename open-stuff to inset-toggle.
12802 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12804 * text2.C (toggleInset): renamed from openStuff; use
12807 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12809 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12811 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12813 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12815 * buffer.C (readLyXformat2): Add filename to the error dialog
12817 2001-07-18 Juergen Vigna <jug@sad.it>
12819 * tabular.C (GetCellNumber): put an assert here instead of the check!
12821 2001-07-17 Juergen Vigna <jug@sad.it>
12823 * BufferView_pimpl.C (toggleSelection): adapted too.
12825 * text.C (selectNextWord): adapted for use with insets.
12826 (selectSelectedWord): ditto
12828 2001-07-17 Juergen Vigna <jug@sad.it>
12830 * sp_spell.C (PSpell): fix initialitation order.
12832 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * paragraph.C: spacing
12836 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12838 * sp_spell.C: repair language selection for pspell
12840 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * lyxfunc.h: change more methods to begin with lower char.
12844 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12846 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12847 for unknown layouts.
12849 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12851 * buffer.C (readLyXformat2): Generate an error dialog if there are
12854 2001-07-16 Juergen Vigna <jug@sad.it>
12856 * sp_spell.C: always compile ISpell part.
12858 * lyxrc.C: added use_pspell entry and it's handling.
12860 2001-07-13 Juergen Vigna <jug@sad.it>
12862 * sp_spell.C: removed double includes.
12864 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12866 Consistent use of Lsstream.h:
12867 * Lsstream.h: added using std::stringstream for consistencies sake.
12869 * buffer.C: removed using std::stringstream
12871 * lyxfont.C (stateText):
12872 * paragraph.C (asString):
12873 * text.C (selectNextWord, selectSelectedWord):
12874 * text2.C (setCounter):
12875 * vspace.C (asString, asLatexString):
12876 std::ostringstream -> ostringstream.
12878 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12880 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12881 * commandtags.h: add LFUN_HELP_ABOUTLYX
12882 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12884 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12886 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12888 * lyx_gui_misc.C: remove spellchecker
12889 * lyxfunc.C: showSpellchecker
12891 * sp_ispell.h: added
12892 * sp_pspell.h: added
12893 * sp_spell.C: added
12894 * sp_form.[Ch]: removed
12895 * spellchecker.[Ch]: removed
12897 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12899 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12901 (simpleTeXSpecialChars): Simply print the input character without
12902 any special translation if pass_thru is set.
12904 * layout.h: Added bool pass_thru to layout class for being able to
12905 implement pass through of a paragraph for Literate Programming.
12907 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12908 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12909 * layout.C (Read): add "passthru" to list of layout tags and add
12910 code to set the pass_thru boolean when it is read.
12912 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * trans_decl.h: remove allowed from KmodInfo
12916 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12917 remove allowed code
12920 * paragraph_pimpl.C (erase): use boost::prior
12922 * Painter.C (text): use data() instead of c_str() when length is
12924 * WorkArea.C (putClipboard): ditto
12925 * font.h (width): ditto
12927 * BufferView2.C: use it-> instead of (*it). for iterators
12929 * paragraph_pimpl.C: ditto
12930 * paragraph.C: ditto
12931 * minibuffer.C: ditto
12932 * language.C: ditto
12934 * encoding.C: ditto
12935 * counters.C: ditto
12936 * converter.C: ditto
12938 * Variables.C: ditto
12939 * TextCache.C: ditto
12940 * MenuBackend.C: ditto
12941 * LyXAction.C: ditto
12943 * FloatList.C: ditto
12944 * DepTable.C: ditto
12945 * ColorHandler.C (LyXColorHandler): ditto
12947 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12951 * text2.C (openStuff): reintroduce this method (which had been
12952 nuked in NEW_INSETS frenzy).
12954 * lyxfunc.C (Dispatch): when an action has not been handled, use
12955 its name in the error message, not its number.
12957 * paragraph.C (inInset): change method name to begin with lowercase.
12960 * text2.C: updates because of this.
12962 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12964 * ToolbarDefaults.C (add): add spaces in error message
12966 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12969 (readLyXformat2): rename return_par to first_par, use lyxlex's
12970 pushToken and remove the manual push handling.
12971 (parseSingleLyXformat2Token): add another ert comp. variable:
12972 in_tabular, rename return_par to first_par. handle newlines better
12974 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12978 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * text2.C (getParFromID): removed
12982 * buffer.C (getParFromID): new method moved form lyxtext.
12983 * BufferView2.C (insertErrors): adjust
12984 (setCursorFromRow): adjust
12985 * BufferView_pimpl.C (restorePosition): adjust
12986 * lyxfunc.C (Dispatch): adjust
12987 * undo_funcs.C (textUndo): adjust
12989 (textHandleUndo): adjust
12990 (textHandleUndo): adjust
12992 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * buffer.C: up' the LYX_FORMAT
12996 * lyxfont.h: turn NO_LATEX on as default
12998 * buffer.C (insertErtContents): new methods of tex style compability.
12999 (parseSingleLyXformat2Token): use it several places.
13000 * tabular.C (OldFormatRead): and here
13002 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * text2.C: remove some commented code.
13007 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13008 * trans.C: changes because of the above.
13010 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13012 * text2.C (setCounter): Fix counters bug with bibliography layout.
13014 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13017 own member functions
13018 (simpleTeXSpecialChars): ditto
13020 2001-07-06 Juergen Vigna <jug@sad.it>
13022 * a lot of files: changed the access to LyXText::status and the
13023 call of undo-functions.
13025 * undo.[Ch]: added a inset_id to the undo informations.
13027 * undo_funcs.[Ch]: added and moved here all undo functions.
13029 * lyxtext.h: give the status enum a weight, made status_ a private
13030 variable and made accessor functions for it, removed the whole bunch
13031 of undo-functions as they are now in their own file, make some
13032 functions publically available. Added function ownerParagraph with
13035 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13036 made InInset() a const function, added getParFromID() function.
13038 * buffer.[Ch]: added const version for inset_iterator functions,
13039 added getInsetFromID() function.
13041 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13042 changed undo functions for new version.
13044 2001-07-05 Juergen Vigna <jug@sad.it>
13046 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13047 unknow mechanism does not call the proper constructor but only this
13048 one also if I request the other!?
13050 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13052 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13054 * text2.C (LyXText): use initialization lists.
13056 * lyxtext.h (Selection): initialize set_ and mark_
13057 (init): remove method
13059 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13061 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13063 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * screen.[Ch]: change method names to begin with lowercase
13067 * BufferView_pimpl.C (updateScrollbar): simplify further and
13068 hopefully make it a bit faster.
13070 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13073 calling directly xforms functions.
13075 * Painter.C (Painter):
13076 * lyx_cb.C (MenuWrite):
13077 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13080 * lyx_gui.C: remove bogus guiruntime extern declaration.
13082 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13084 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13086 (redoDrawingOfParagraph): ditto
13087 (redoParagraphs): ditto
13088 (cutSelection): don't create a object for CutAndPaste use the
13089 static method directly
13090 (pasteSelection): ditto
13092 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13095 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * modifications to some other files because of this.
13099 * Makefile.am (lyx_SOURCES): add XFormsView
13101 * XFormsView.[Ch]: new files
13103 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13104 the main window. Move the gui dependent stuff to XFormsView
13106 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * tabular.C (GetCellInset): update cur_cell also in the row/col
13109 version of this function.
13111 * lyxfunc.C: no need to include figure_form.h here.
13117 * lyxvc.C: no need to include forms.h here.
13119 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13121 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13123 * lyxfunc.C (Dispatch):
13125 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13126 constructor argument.
13128 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13130 * paragraph.C (Paragraph): dont't clear, and just set layout.
13131 (makeSameLayout): use params's copy contructor.
13133 * ParagraphParameters.[Ch] (makeSame): delete method
13135 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13137 * Variables.[Ch]: fix indentation, rename set to isSet
13139 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * lyxfunc.C (Dispatch): fix typo
13143 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13148 * bufferlist.C: include assert.h for emergencyWrite().
13150 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13152 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13153 give up at last (bug #425202) !
13155 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13161 * spellchecker.C: strip spellchecker options and bring up
13162 preferences tab instead
13164 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13167 the istringstream constructor
13169 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13171 * paragraph.C (getLayout): fix return value
13173 * paragraph.h: do not declare getLayout as inline.
13175 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13177 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * lyxcursor.h (operator<): new func
13180 (operator>): new func
13181 (operator>=): new func
13182 (operator<=): new func
13184 * text.C (changeCase): use selection.start and selection.end
13185 (changeRegionCase): require from to be <= to. Require par to be a
13188 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13190 2001-06-27 Juergen Vigna <jug@sad.it>
13192 * text.C (cursorLeftOneWord): changed to return the cursor and added
13193 overlay with BufferView * parameter which calls this one.
13195 (selectWord): use new getWord function.
13196 (changeCase): renamed from changeWordCase as and extended to work
13197 also on selections.
13199 * lyxtext.h: added enum word_location
13201 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13202 changeCase as this operates now also on selections.
13204 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13206 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13208 * many files: send debug output to Debug::INFO instead of
13211 * converter.C (View):
13213 (Move): send debug output to Debug::FILES instead of console.
13215 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13217 * lyxfunc.C (getStatus): use func_status
13219 * func_status.h: new header, describing the results of
13220 LyXFunc::getStatus;
13222 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13225 2001-06-25 The LyX Project <jug@sad.it>
13227 * buffer.C (sgmlOpenTag):
13229 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13231 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * text2.C: remove some dead code
13235 * tabular.C (GetCellInset): store the last cell checked (gotten)
13237 * tabular.h: add the helper for the speedup
13239 * lyxtext.h: remove some dead code
13241 2001-06-26 The LyX Project <Asger>
13243 * paragraph.C: Change export to LaTeX of alignment to
13244 \begin{center} and family for better roundtrip work with reLyX.
13246 * Tune the math drawing a bit.
13248 2001-06-25 The LyX Project <Asger>
13250 * LColor.C (LColor): New color for math background. New color
13253 2001-06-25 The LyX Project <jug@sad.it>
13255 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13257 * lyxfunc.C (Open):
13258 * bufferlist.C (newFile): do not restrict to files ending with
13261 * BufferView_pimpl.C (MenuInsertLyXFile):
13263 2001-06-24 The LyX Project <jug@sad.it>
13265 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13268 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * lyxtext.h: rename most methods to begin with a small char.
13271 Lots of changes because of this.
13273 * paragraph.C (Paragraph): do not call fitToSize
13274 (erase): call Pimpl::erase
13275 (insertChar): call Pimpl::insertChar
13276 (insertInset): call Pipl::insertInset
13277 (breakParagraph): do not call fitToSize
13278 (breakParagraphConservative): do not call fitToSize
13279 (fitToSize): remove method
13281 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13283 2001-06-24 The LyX Project <Asger>
13285 * Fix Qt compilation^2
13287 2001-06-24 The LyX Project <jug@sad.it>
13289 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13290 depthHook(getDepth()-1).
13293 * ParagraphParameters.h:
13294 * ParameterStruct.h: change type of depth to unsigned int ==
13295 depth_type. Many adaptations to other files before of that.
13297 2001-06-24 The LyX Project <Asger>
13299 * Fix Qt compilation.
13301 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * paragraph.h: renamed several methods to begin with small letter.
13304 several changes to many parts of the code because of this.
13306 2001-06-23 The LyX Project <jug@sad.it>
13308 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13309 rewritten to discard all double spaces when KeepEmpty is off
13310 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13311 to only handle newlines but not fiddle with spaces and friends.
13313 * lyxfunc.C (MenuNew): when doing 'new from template', use
13314 template_path as default directory
13316 2001-06-23 The LyX Project <Asger>
13318 * Clean-up of header file includes all over
13319 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13321 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * paragraph.h: renamed from lyxparagraph.h
13325 2001-06-23 Asger <lyx@violet.home.sad.it>
13327 * Buffer.h: Removed Buffer::resize
13328 * BufferList.h: Removed BufferList::resize
13329 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13330 the document lazily when we change the width, or the font settings.
13332 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13334 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13336 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13338 * buffer.h: remove out of date comment
13340 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13343 * screen.C: fix "theoretical" GC leak
13345 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13347 * LaTeX.C (scanAuxFile):
13348 (deplog): remove trailing \r when reading stream (useful under
13351 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13353 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13354 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13355 and BufferView::theLockingInset(Inset*), so should use them and not
13356 access bv_->text->the_locking_inset directly.
13358 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13360 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13363 * tex-defs.h: remove old unused file
13365 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13367 * BufferView_pimpl.C: fix typo, remove minibuffer message
13368 when buffer has loaded
13370 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13372 * lyxfunc.C (Dispatch): use stringstream
13373 (MenuNew): use stringstream
13374 (Open): use stringstream
13376 * importer.C (Import): use stringstream
13378 * bufferview_funcs.C (CurrentState): use stringstream
13380 * LaTeX.C (run): use stringstream
13382 * BufferView_pimpl.C (savePosition): use stringstream
13383 (restorePosition): use stringstream
13384 (MenuInsertLyXFile): use stringstream
13386 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13399 * vspace.C: removed // -*- C++ -*- as first line.
13402 * version.h: added // -*- C++ -*- as first line.
13404 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13408 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13411 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13416 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * gettext.C: include LString.h even when --disable-nls is on.
13420 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13422 * converter.h (Get): changed argument type from int to
13423 FormatList::size_type to avoid unnecessary conversion.
13425 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13428 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * gettext.h: include LString.h even when --disable-nls is on.
13432 2001-06-07 Juergen Vigna <jug@sad.it>
13434 * text.C (BreakAgain): subst spaces with tabs.
13436 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13437 (resizeInsetsLyXText): set force on resizeLyXText.
13439 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * gettext.h (gettext_init):
13442 (locale_init): use a real definition instead of a macro
13444 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13446 * Bufferview_pimpl.C:
13448 * LColor.C: further lcolor tidies
13450 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * BufferView_pimpl.C (updateScrollbar): simplify.
13454 * BufferView2.C: don't include insets/insetinfo.h, change
13455 prototype for insertInset and call the Pimpl version. let
13456 updateInset call Pimpl version.
13458 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13459 gotoInset to BufferView::Pimpl
13461 2001-06-01 Juergen Vigna <jug@sad.it>
13463 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13464 inside a LockingInset (is the update needed at all?).
13466 2001-05-31 Juergen Vigna <jug@sad.it>
13468 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13469 here not the old one otherwise how should we compare it afterwards
13472 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * FontInfo.C: bring C functions into global namespace when
13480 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * LString.h: make sure config.h has been loaded before LString.h.
13484 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13485 (one for each char read by EatLine!).
13487 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13490 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13492 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13493 to the same as the par we break from
13495 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13499 * MenuBackend.C (expand): also create menu entries for wide
13500 versions of the floats.
13502 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13504 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13506 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13507 frontends/Makefile.am
13513 * tabular.C (getTokenValue): add std::
13515 * tabular-old.C (getTokenValue): add std::
13516 (getTokenValue): ditto
13517 (getTokenValue): ditto
13519 * screen.C (ToggleSelection): adjust
13521 * lyxtext.h: put selection cursors inside a Selection struct.
13523 * lyxfunc.C (moveCursorUpdate): adjust
13525 * lyxfont.C (latexWriteStartChanges): add std::
13527 * lyxfind.C: adjust
13529 * font.h: delete with(char const *, LyXFont const &)
13531 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13533 * FontInfo.C (getFontname): add std::
13535 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13536 (workAreaButtonPress): adjust
13537 (tripleClick): adjust
13539 (moveCursorUpdate): adjust
13542 * BufferView2.C (gotoInset): adjust
13544 2001-05-30 Juergen Vigna <jug@sad.it>
13546 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13547 to check pspell I add this as default as I now have new pspell
13548 libraries and they seem to use this.
13550 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * text2.C (CutSelection): make the cursor valid before the call to
13555 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13558 relied on 0 terminated strings and other horrors. Bug found due to
13559 the new assert in lyxstring!
13561 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13564 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13569 * lyxfunc.C (processKeySym): change method of getting to the
13572 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13573 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13574 * BufferView_pimpl.[Ch]: here as private methods.
13576 2001-05-28 Juergen Vigna <jug@sad.it>
13578 * text.C (SetHeightOfRow): added the update() call again as it is
13579 needed to initialize inset dimensions!
13581 2001-05-16 Juergen Vigna <jug@sad.it>
13583 * text2.C (SetCharFont): Add new function with BufferView * and
13584 bool toggleall parameters for setting insets internal fonts.
13585 (SetFont): Freeze the undo as we may change fonts in Insets and
13586 all this change should be inside only one Undo!
13588 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13589 setting font's in insets as for them we have the SetFont function!
13591 2001-05-15 Juergen Vigna <jug@sad.it>
13593 * text2.C (ClearSelection): to be sure we REALLY don't have any
13596 * tabular.C (TeXCellPreamble): fixed the left border problem for
13599 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13601 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13604 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13607 LFUN_BREAKPARAGRAPH.
13609 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13610 help test to "internal only", similar for LFUN_INSERT_URL
13612 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13613 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13614 auto_region_delete and deadkeys.
13616 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13619 * LColor.C: remove some dead entries, tidy a little
13621 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13625 (Dispatch): implement LFUN_ESCAPE
13627 * commandtags.h: add LFUN_ESCAPE
13629 * LyXAction.C (init): add entry for LFUN_ESCAPE
13631 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13632 Remove commented code.
13633 (insertNote): moved here
13634 (open_new_inset): moved here
13636 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13639 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * kbmap.C (findbinding): clean it up and make it work correctly.
13643 * lyx_main.C (init): do not pass argc and argv as parameters
13645 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13647 * buffer.C: fix path for OS/2 & Win32
13651 * lyx_main.C: Added os:: class.
13653 * os2_defines.h: update
13655 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13658 better by trying again with reduced state.
13660 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * lyxrc.C (read): print error about invalid key sequence only when
13663 debugging (because not all latinX keysyms are known to some X
13666 * kbsequence.C (getiso): add a few std:: qualifiers
13667 (getiso): comment out extra return statement.
13669 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13671 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13673 (Dispatch): enhance the accent inset a bit. (not perfect)
13675 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13679 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * bufferlist.C (emergencyWrite): fix assert() call
13683 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13685 * text.C (InsertChar): Added trivial patch to only send the "you
13686 can not do multiple spaces this way" message once during a
13689 2001-05-08 Baruch Even <baruch@lyx.org>
13691 * Makefile.am: Changed order of libraries to get LyX to link properly
13692 with the gnome frontend.
13694 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * LaTeXFeatures.h: add a std:: qualifier
13698 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * paragraph.C (String): use stringstream
13702 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * paragraph.C (writeFile): remove footflag arg
13706 * buffer.C (makeLaTeXFile): use stringstream
13707 (latexParagraphs): remove footnot gurba
13709 * LaTeXFeatures.C (getPackages): use stringstream
13710 (getMacros): likewise
13711 (getTClassPreamble): likewise
13712 (getFloatDefinitions): new method
13714 * paragraph.C (writeFile): reindent
13717 * WorkArea.h: revert the xpos + etc changes.
13719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13721 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13723 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13724 (pasteSelection): likewise
13725 * text2.C (CreateUndo): likewise
13727 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13729 * minibuffer.C (peek_event): temporarily reduce the functionality
13730 of the minibuffer (to allow args on lfuns)
13732 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13733 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13735 * buffer.C (readInset): add compability reading of old float
13736 lists, add reading of new style float list.
13737 (readInset): avoid reevaluation of inscmd.getCmdName()
13738 (getLists): reindent
13740 * MenuBackend.C (MenuItem): implement parsing of
13741 md_floatlistinsert and md_floatinsert.
13742 (expand::LastFiles): move initalizaton of iterators out of loop,
13743 avoid reevaluation.
13744 (expand::Documents): introduce typdedef vector<string> Strings,
13746 (expand::ExportFormats): introduce typedef vector<Format const *>
13747 Formats, and use it.
13748 (expand): implement FloatListInsert and FloatInsert.
13750 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13751 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13752 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13754 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13756 (Dispatch::LFUN_FLOAT_LIST): implement
13758 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13760 * LaTeX.C (run): Fix problem with --export code.
13762 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13764 * BufferView.[Ch] (workarea): removed.
13765 (getClipboard) new method; wrapper for workarea()->getClipboard()
13767 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13770 * WorkArea.h (width, height, xpos, ypos): These methods all
13771 returned the dimensions of the work_area sub-area of WorkArea,
13772 resulting in a position error if the WorkArea were resized. Now
13773 return the dimensions of the entire WorkArea.
13775 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13777 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13779 * LaTeX.C (deplog): correct the syntax of regex reg1
13781 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * undo.C: remove !NEW_INSETS cruft
13785 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * text2.C: remove !NEW_INSETS cruft
13789 * text.C: remove !NEW_INSETS cruft
13791 * tabular.C: remove !NEW_INSETS cruft
13793 * spellchecker.C: remove !NEW_INSETS cruft
13795 * lyxtext.h: remove !NEW_INSETS cruft
13797 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13799 * lyxfunc.C: remove !NEW_INSETS cruft
13801 * lyxfind.C: remove !NEW_INSETS cruft
13803 * lyx_cb.C: remove !NEW_INSETS cruft
13805 * figureForm.C: remove !NEW_INSETS cruft
13807 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13809 * buffer.[Ch]: remove !NEW_INSETS cruft
13811 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13813 * CutAndPaste.C: remove !NEW_INSETS cruft
13815 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13817 * BufferView2.C: remove !NEW_INSETS cruft
13819 * BufferView.h: remove !NEW_INSETS cruft
13821 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * Lsstream.h: include LString.h before the sstream headers to
13824 fix problem with gcc 2.95.3 and lyxstring
13826 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13828 * lyx_main.C: add using directives when needed for C functions
13829 declared in std:: namespace.
13831 2001-04-27 Juergen Vigna <jug@sad.it>
13833 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13834 (SetHeightOfRow): comment out the update call should not be needed!
13836 2001-04-13 Juergen Vigna <jug@sad.it>
13838 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13839 (LyXTabular): tried to minimize operator= operations (and realized
13840 hopfully Lars wish).
13842 2001-04-27 Juergen Vigna <jug@sad.it>
13844 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13846 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13850 * buffer.C (readInset): hack to make listof algorithm work
13852 * BufferView_pimpl.C: hack to make listof algorithm work
13854 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * LyXAction.C: removed all !NEW_INSETS cruft
13857 (init): moved lfun_item in method
13859 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13861 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13863 * BufferView2.C (theLockingInset): white space.
13865 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * minibuffer.C: include <iostream>
13869 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13871 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13873 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13875 * text.[Ch] (TransposeChars): new method
13877 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13879 * call message directly through LyXView instead of through LyXFunc
13880 * BufferView2.C: adjust
13881 * BufferView_pimpl.C: adjust
13882 * FontLoader.C: adjust
13884 * bufferview_funcs.C: adjust
13885 * converter.C: adjust
13886 * figureForm.C: adjust
13887 * importer.C: adjust
13889 * lyx_gui_misc.C: adjust
13890 * lyxfunc.C: adjust
13893 + more files in subdirs
13895 * lyxparagraph.h (size): move up int file
13898 * adjust all uses of Assert to lyx::Assert.
13900 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13901 lyxfunctional in namespace lyx
13902 * layout.C (hasLayout): ditto
13905 (delete_layout): ditto
13906 (NumberOfClass): ditto
13907 * converter.C (GetFormat): ditto
13912 * bufferlist.C (getFileNames): ditto
13913 (emergencyWriteAll): ditto
13916 * MenuBackend.C (hasSubmenu): ditto
13919 * BufferView_pimpl.C (getInsetByCode): ditto
13921 2001-04-18 Juergen Vigna <jug@sad.it>
13923 * vspace.C (asLatexString): fixed the 100% problem.
13925 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13927 * lyxfunc.C (Dispatch):
13929 * minibuffer.h: add a few std:: qualifiers
13931 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * minibuffer.[Ch]: reimplement so that commands is initiated and
13934 run from lyxfunc, simplified som handling, and made the completion
13935 and history code for complete. wip.
13937 * lyxfunc.C (processKeySym): call message
13938 (miniDispatch): new temporary method
13939 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13940 (LFUN_MESSAGE): implement
13941 (LFUN_MESSAGE_PUSH): implement
13942 (LFUN_MESSAGE_POP): implement
13943 (initMiniBuffer): the initial/defualt minibuffer message.
13945 * lyxfont.[Ch]: inline some more getters
13947 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13949 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13951 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13952 (AutoSave): use LFUN_MESSAGE
13953 (Reconfigure): ditto
13955 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13957 * figureForm.C: use LFUN_MESSAGE
13959 * converter.C (runLaTeX): use LFUN_MESSAGE
13961 * bufferview_funcs.C: use LFUN_MESSAGE
13963 (changeDepth): ditto
13965 * bufferparams.h: use boost::
13967 * bufferlist.h: inherit privately from noncopyable
13969 * bufferlist.C (loadLyXFile): remove some commented code.
13971 * buffer.C (runChktex): use LFUN_MESSAGE
13973 * ShareContainer.h: inherit privately from noncopyable
13975 * ParagraphParameters.[hC] (depth): inline it.
13977 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13979 (message): new method
13980 (messagePush): ditto
13981 (messagePop): ditto
13982 (show): init minibuffer
13983 (showState): direct call
13985 * LaTeX.[Ch]: inherit privately from noncopyable
13986 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13987 instead of WriteStatus.
13989 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13991 * BufferView_pimpl.C (buffer): don't init minibuffer
13992 (workAreaButtonPress): use LFUN_MESSAGE
13993 (workAreaButtonRelease): ditto
13994 (savePosition): ditto
13995 (restorePosition): ditto
13996 (MenuInsertLyXFile): ditto
13997 (workAreaExpose): don't init minibuffer
13998 (update): remove commented code, simplify
14000 * BufferView2.C (openStuff): use LFUN_MESSAGE
14001 (toggleFloat): ditto
14004 (copyEnvironment): ditto
14005 (pasteEnvironment): ditto
14010 (updateInset): remove some commented code
14012 * lastfiles.h: inherit privately from noncopyable
14015 * lyx_main.h: ditto
14017 * lyxlex_pimpl.h: ditto
14019 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14020 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14021 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14023 * LyXAction.h: inherit privately from noncopyable, add methods
14024 func_begin, func_end, returning iterators to the func map.
14026 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14027 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14028 (func_begin): new method
14029 (func_end): new method
14031 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14033 (copySelection): ditto
14034 (pasteSelection): ditto
14036 * BufferView.C: whitespace change
14037 * BufferView.h: inherit privately from noncopyable
14039 2001-04-16 Allan Rae <rae@lyx.org>
14041 * tabular-old.C (l_getline):
14042 * spellchecker.C (sc_check_word):
14043 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14044 an unrecognised preprocessor directive. So ensure they're wrapped.
14046 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14048 * src/exporter.C (Export): Give an error message when path to file
14051 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14053 * LaTeX.C (deplog): Always check that foundfile exists.
14055 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14060 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14062 * tabular.[Ch] (getLabelList): implement new method
14064 * minibuffer.h: comment ouf setTiimer
14066 * minibuffer.C (ExecutingCB): constify res
14067 (peek_event): constify s
14068 (Set): constify ntext
14069 (Init): constify nicename
14071 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14073 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14074 (savePosition): use two params to Minibuffer::Set
14075 (restorePosition): ditto
14077 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14079 * lyx_main.C: include language.h
14081 * Makefile.am (lyx_main.o): add language.h
14083 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14089 * CutAndPaste.C: include gettext.h
14091 * lyxfont.h: remove old hack with ON and OFF.
14094 * lyxfont.h: do not include language.h...
14099 * bufferview_funcs.C:
14105 * paragraph.C: ... but do it here instead
14107 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14109 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14111 * tabular.C: small reformat
14113 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14116 (BreakParagraph): ditto
14117 (SetOnlyLayout): ditto
14120 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14123 * lastfiles.C: removed most using decl, add std:: where needed
14125 * buffer.C: ws changes
14127 * MenuBackend.C (class compare_format): put into anon namespace
14128 (expand): constify label, names, action, action2
14131 * text.C (SingleWidth): constify font
14132 (IsBoundary): constify rtl2
14133 (GetVisibleRow): constify ww
14135 * LaTeX.C (deplog): constify logfile
14137 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14139 (workAreaExpose): constify widthChange, heightChange
14141 * lyxrow.C (par): moved
14144 * lyxrow.h: as inlines here
14146 * lyxfont.h (shape): moved from lyxfont.C
14147 (emph): moved from lyxfont.C
14149 * lyxfont.C (LyXFont): use initialization list for all
14151 (shape): move to lyxfont.h as inline
14152 (emph): move to lyxfont.h as inline
14155 2001-04-04 Juergen Vigna <jug@sad.it>
14157 * vspace.C: had to include stdio.h for use of sscanf
14159 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14162 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14163 independent of xforms.
14165 2001-04-02 Juergen Vigna <jug@sad.it>
14167 * spellchecker.C: fixed namespace placing!
14169 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14171 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14172 the LyXParagraph * is 0.
14174 2001-03-29 Juergen Vigna <jug@sad.it>
14176 * vspace.C: added support for %, c%, p%, l%.
14177 (stringFromUnit): added helper function.
14178 (asLatexString): changed to give right results for the %-values.
14180 * buffer.C: convert the widthp in a width%.
14182 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14184 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14187 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14188 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14190 * lyx_cb.[Ch]: see above.
14192 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14196 * lyx.[Ch]: replaced by figure_form.[Ch].
14200 * lyxfunc.C: changed headers associated with above changes.
14202 2001-03-27 Juergen Vigna <jug@sad.it>
14204 * BufferView_pimpl.C: set the temporary cursor right!
14206 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14208 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14210 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14212 * LString.h: removed "using std::getline"!
14214 * BufferView_pimpl.C (Dispatch): changes due to changes in
14215 InsetInclude::Params.
14217 * buffer.C (tag_name): removed redundant break statements as they were
14218 producing lots of warnings with my compiler.
14220 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * LString.h: add "using std::getline" when using the real <string>.
14224 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14226 * buffer.C: removed bitset usage.
14227 PAR_TAG moved to an anonymous name space.
14228 (tag_name): new funtion, also in the anonymous namespace.
14229 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14230 (makeDocBookFile): clean code. Completed transition from string arrays
14232 (SimpleDocBookOnePar): code clean.
14234 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14236 * tabular.C: add some comments.
14238 2001-03-22 Juergen Vigna <jug@sad.it>
14240 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14241 compatibility read a bit and fixed bug with minipage in different
14244 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14246 * buffer.C (pop_tag): removed.
14247 (push_tag): removed.
14248 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14249 array replaced with vector. Added support for CDATA sections.
14250 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14252 (makeDocBookFile): XML conformant declaration of CDATA section,
14253 fixed bug related to <emphasis> in the first paragraph char.
14254 (sgmlOpenTag): exclude empty tags.
14255 (sgmlCloseTag): ditto.
14257 * buffer.h (pop_tag): removed.
14258 (push_tag): removed.
14260 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14262 * language.h (Languages): added size_type and size().
14264 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14266 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14267 response on compability reading of minipages. One probliem is that
14268 the old usage of minipages was «flertydig»
14270 * several files here and in subdirs: don't use static at file
14271 scope use anon namespaces instead.
14273 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14275 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14276 LaTeX output. This is necessary for Literate document
14279 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14281 * buffer.C: insert hfill when needed.
14283 * tabular.C (l_getline): use string::erase, small whitespace change.
14285 * BufferView_pimpl.C: try the anon namespace.
14286 * WorkArea.C: ditto
14288 2001-03-16 Juergen Vigna <jug@sad.it>
14290 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14291 otherwise it won't open options-dialogs.
14293 * buffer.C: honor pextraWidth(p) on converting minipages.
14295 * tabular.C (l_getline): changed the functions to strip trailing \r.
14297 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14299 * BufferView_pimpl.C:
14300 * minibuffer..C: added "using SigC::slot" declaration.
14302 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14304 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14310 * paragraph.C: ditto
14312 * lyxtext.h: NO_PEXTRA
14314 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14316 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14317 * ParameterStruct.h: ditto
14318 * ParagraphParameters.h: ditto
14319 * lyxparagraph.h: ditto
14321 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14323 * buffer.C: add compability for minipage alignment.
14324 (latexParagraphs): remove unwanted pextra check.
14326 * several files: remove CXX_WORKING_NAMESPACES
14328 * buffer.C (pop_tag): tie is in namespace boost
14330 * BufferView.h: noncopyable is in namespace boost
14332 * lyx_main.h: ditto
14335 * lastfiles.h: ditto
14336 * bufferlist.h: ditto
14337 * ShareContainer.h: ditto
14339 * LyXAction.h: ditto
14342 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14344 * Merging changes from BRANCH_MVC back into HEAD.
14346 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14348 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14350 * BufferView_pimpl.C: change from intl.C
14354 * Makefile.am: move combox.*
14360 * intl.C: remove dialog (covered by prefs)
14362 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14364 * lyxfunc.C (Dispatch): removed redundant break statement.
14366 2001-03-14 Juergen Vigna <jug@sad.it>
14368 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14370 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14372 * buffer.C: add hack to fix compability reading of minipages.
14374 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14376 * buffer.C (getLists): Cleanup.
14378 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * lyxfont.C (update): don't honor toggleall on font size.
14382 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14386 * Makefile.am: moved to frontends/xforms/
14390 * BufferView_pimpl.C: changes for moved mathpanel
14392 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14394 * gettext.h: fix gettext_init() in --disable-nls
14396 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14400 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14403 * lyx.h: strip external form
14405 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14407 * BufferView_pimpl.C: add comment, destroySplash()
14409 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14411 * BufferView_pimpl.C:
14415 * lyxfunc.C: use re-worked insetinclude
14417 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14419 * buffer.C: add using std::stringstream.
14421 * lyx_cb.C: readd using std::ios.
14423 * buffer.C: add using std::map.
14425 * BufferView_pimpl.C: add using std::vector.
14427 * ShareContainer.h: add std:: to swap.
14429 * buffer.h: add some typedefs
14430 * buffer.C (getLists): use them
14431 (getLists): renamed from getTocList.
14432 add a counter for the different float types and use it in the
14434 (getLists): use the same counter for the NEW_INSETS and the "non"
14437 * lyx_cb.h: remove unused items, includes, using etc.
14439 * ShareContainer.h: remove some commented code, add more comments
14440 and "documentation".
14442 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14444 * buffer.C (getTocList): make the list also when NEW_INSETS is
14447 * buffer.h: remove TocType
14449 * buffer.C (getTocList): change to return a map<string,
14450 vector<TocItem> >, implement for dynamic number of list.
14452 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14453 * text2.C (PasteSelection): adjust
14454 * CutAndPaste.C (pasteSelection): adjust
14456 * FloatList.C (FloatList): update from the new_insets branch.
14457 * Floating.[Ch]: ditto
14458 * LaTeXFeatures.C: ditto
14460 * lyxlex_pimpl.C: ditto
14462 * paragraph.C (Last): remove when NEW_INSETS is defined.
14464 * other file: changes because of the above.
14466 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14468 * lyxparagraph.h: rename next to next_, previous to previous_,
14469 make them private for NEW_INSETS. Rename Next() to next(),
14470 Previous() to previous().
14472 * other files: changes because of the above.
14474 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14477 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14480 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * main.C (main): pass lyx_localedir to gettext_init().
14484 * gettext.h: remove locale_init and gettext_init macros
14486 * gettext.C (locale_init): new function
14487 (gettext_init): new function
14489 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14492 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14494 * Moved credits to frontends:
14495 * credits.[Ch]: removed
14496 * credits_form.[Ch]: removed
14497 * lyx_gui_misc.C: remove credits stuff
14500 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14502 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14504 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14505 unneeded destructor.
14507 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14508 a standalone pointer again.
14510 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14512 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14518 * ToolbarDefaults.C:
14527 * BufferView_pimpl.C: use new file dialog in GUII
14530 * lyx_cb.C: remove LayoutsCB to Toolbar
14532 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14534 * ShareContainer.h (get): add std:: qualifier
14536 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14538 * ShareContainer.h: define a proper ShareContainer::value_type
14539 type (and use typename to please compaq cxx)
14541 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14543 * lyxparagraph.h: move serveral local vars to
14544 ParameterStruct/ParagraphParameters., use ShareContainer in
14545 FontTable., make vars in FontTable private and add getter and
14548 * paragraph.C: changes because of the above.
14550 * lyxfont.h: remove copy constructor and copy assignment. (the
14551 default ones is ok), move number inside FontBits. move inlines to
14554 * lyxfont.C: add number to initializaton of statics, move several
14555 inlines here. constify several local vars. some whitespace
14556 cleanup. Dont hide outerscope variables.
14558 * Spacing.h: add two new constructors to match the set methods.
14560 * ShareContainer.h: new file, will perhaps be moved to support
14562 * ParameterStruct.h: new file
14564 * ParagraphParameters.h: new file
14566 * ParagraphParameters.C: new file
14568 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14569 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14571 * BufferView_pimpl.C: ParagraphParameter changes.
14572 * buffer.C: Likewise.
14573 * bufferview_funcs.C: Likewise.
14574 * text.C: Likewise.
14575 * text2.C: Likewise.
14577 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * lyxfind.C (LyXReplace): do not redefine default argument in
14581 (IsStringInText): ditto
14582 (SearchForward): ditto
14583 (SearchBackward): ditto
14585 2001-03-06 Juergen Vigna <jug@sad.it>
14587 * lyxfind.C (IsStringInText): put parentes around expressions.
14589 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14591 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14593 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14595 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14597 * stl_string_fwd.h: add comment
14599 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14602 * tabular.C: remove unused DocBook methods
14608 killed DO_USE_DEFAULT_LANGUAGE
14610 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14612 * lyx_gui.C: do not include language.h.
14614 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14615 arguments in function implementation.
14617 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14619 * BufferView_pimpl.C: add <ctime>
14621 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14623 * BufferView_pimpl.C: add using std::find_if
14625 2001-02-27 José Matos <jamatos@fep.up.pt>
14627 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14630 2001-02-11 José Matos <jamatos@fep.up.pt>
14632 * buffer.C (makeDocBookFile): command styles now have a parameter as
14633 "title" by default.
14635 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14637 * layout_forms.[Ch]: removed
14638 * lyx_cb.[Ch]: out character
14639 * lyx_gui.C: out character
14640 * lyx_gui_misc.C: out character
14641 * bufferview_funcs.C: : out character,
14642 added toggleall as parameter in ToggleAndShow
14644 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14646 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14648 * text2.C (SetCurrentFont): Disable number property at boundary.
14650 2001-02-26 Juergen Vigna <jug@sad.it>
14652 * lyxfunc.C (getStatus): added a string argument override function so
14653 that this is correctly called from LyXFunc::Dispatch if it contains a
14654 do_not_use_argument which is used!
14655 (Dispatch): added check for "custom" export and call appropriate func.
14657 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14659 * lyxrc.C: Add language_command_local, language_use_babel and
14660 language_global_options.
14662 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14664 * buffer.C (makeLaTeXFile): Use language_use_babel and
14665 language_global_options.
14667 2001-02-23 Juergen Vigna <jug@sad.it>
14669 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14670 which works with LyXText and putted it inside BufferView. Here now we
14671 only call for that part the BufferView::Dispatch() function.
14673 * BufferView.C (Dispatch): added.
14675 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14676 functions which needs to use a LyXText over from LyXFunc.
14677 (MenuInsertLyXFile): added
14678 (getInsetByCode): added
14679 (moveCursorUpdate): added
14680 (static TEXT): added
14682 2001-02-22 Juergen Vigna <jug@sad.it>
14684 * BufferView_pimpl.C (update): call a status update to see if LyXText
14687 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14689 * vc-backend.C (revert): implement for CVS
14690 (getLog): implement for CVS
14692 2001-02-20 Juergen Vigna <jug@sad.it>
14694 * text2.C (ClearSelection): added BufferView param for inset_owner call
14696 * lyxfunc.C (TEXT): added this function and use it instead of
14697 directly owner->view()-text of getLyXText().
14699 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14701 * src/layout_forms.C: out preamble
14702 * src/layout_forms.h: out preamble
14703 * src/lyx_cb.C: out preamble
14704 * src/lyx_cb.h: out preamble
14705 * src/lyx_gui.C: out preamble
14706 * src/lyx_gui_misc.C: out preamble
14707 * src/lyxfunc.C: connect with guii preamble
14709 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14711 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14713 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14715 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14716 whether to run bibtex.
14718 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14720 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14722 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14724 * Makefile.am (lyx_SOURCES): removed bibforms.h
14726 * vspace.h: doxygen
14728 * text.C (GetVisibleRow): make several local vars const
14730 * tabular.C: small cleanup.
14732 * lyxserver.C (callback): use compare instead of strncmp
14734 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14735 inlines to after class or to paragraph.C
14737 * lyxfont.h: remove friend operator!=
14739 * converter.h: move friend bool operator< to non friend and after
14742 * combox.h: small cleanup
14744 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14745 to inlines after class def.
14747 * buffer.C (pop_tag): use string operations instead of strcmp
14749 * bmtable.c: doxygen, small cleanup
14751 * LaTeX.h: remove friend operator==
14753 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14765 * BufferView_pimpl.C:
14766 * BufferView.[Ch]: remove cruft
14768 2001-02-14 Juergen Vigna <jug@sad.it>
14770 * lyxfunc.C: removed #if 0 unused code
14772 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14774 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14776 * text2.C (SetSelection): added a BufferView * parameter
14778 2001-02-13 Juergen Vigna <jug@sad.it>
14780 * lyxfunc.C (Dispatch): fixed protected blank problem.
14781 * BufferView2.C (protectedBlank): added LyxText * parameter.
14783 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14784 (AppendColumn): same as above for column_info.
14786 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14787 (moveCursorUpdate): use a LyXText param for support of InsetText.
14789 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14790 (tripleClick): ditto
14792 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14794 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14796 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14798 * text2.C (SetSelection): set correct update status if inset_owner
14799 (ToggleFree): ditto
14801 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14803 * tabular.C: remove some commented code.
14805 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14807 * BufferView_pimpl.C: call hideSplash()
14809 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14812 * bibforms.h: remove
14815 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14816 add LFUN_CHILD_CREATE
14818 * counters.h: fix tiny typo
14823 * lyx.C: move splash to frontends/xforms/
14825 * lyx_gui_misc.C: move Include and Bibform to frontends
14827 * lyxvc.h: clarify comment
14829 * vspace.C: tiny housekeeping
14831 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14833 * text.C (PrepareToPrint): RTL Fix.
14835 * paragraph.C (GetUChar): New method.
14836 (String): Use GetUChar.
14838 * buffer.C (asciiParagraph): Use GetUChar.
14840 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14842 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14844 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14847 * buffer.C: rename to getLogName(), handle
14848 build log / latex log nicely
14850 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14853 * MenuBackend.h: remove support for reference menuitem type.
14855 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14857 * BufferView_pimpl.C: housekeeping
14858 * BufferView_pimpl.h:
14863 * minibuffer.h: move Timeout GUI-I
14865 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14867 * lyxrc.C (read): Update converters data-structures.
14869 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14871 * LaTeX.h (operator!=): add operator != for Aux_Info
14873 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14875 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14877 * LaTeXLog.C: deleted, useful code moved to Buffer
14880 * buffer.C: new function getLatexLogName()
14886 * lyxfunc.C: use frontends for LaTeX and VC logs
14888 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14890 * LaTeX.h: yet another std:: that Allan forgot.
14892 * Variables.C (set): renamed from isset(), because this clashes
14893 with some HP-UX macros (grr).
14895 2001-02-06 Allan Rae <rae@lyx.org>
14897 * LaTeX.h: Another bug fix. Missing std:: this time.
14899 2001-02-04 Allan Rae <rae@lyx.org>
14901 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14902 floats problem. I've left it commented out because it's not quite
14903 correct. It should also test that the current object is a table or
14904 figure inset. But I haven't gotten around to figuring out how to do
14905 that. I *think* it'll be something like: "table" == inset.type()
14907 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14910 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14912 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14913 all the citation/databases/styles in the auxilary file.
14914 (run): Rerun latex if there was a babel language error.
14916 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14918 * text.C (Backspace): Preserve the font when changing newline char
14920 (BreakParagraph): If the cursor is before a space, delete the space.
14922 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14924 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14926 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14927 new argument (code).
14928 (ChangeCitationsIfUnique): New method.
14930 * paragraph.C (GetPositionOfInset): Handle bibkey.
14932 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * BufferView_pimpl.h: change type of Position::par_pos to
14935 LyXParagraph::size_type.
14937 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14939 * BufferView_pimpl.C (savePosition, restorePosition): Write
14940 messages to minibuffer.
14942 2001-01-28 José Matos <jamatos@fep.up.pt>
14944 * buffer.C (makeDocBookFile): adds support for document language.
14945 A silly restriction on the name of LatexCommand types where removed.
14946 Added support for CDATA sections, allows to chars unescaped, used
14947 among others in code, to avoid escape < and >.
14949 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14951 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14952 saved positions instrad of a stack. Furthermore, a position is
14953 stored using paragraph id/paragraph position.
14955 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14956 Remove LFUN_REF_BACK.
14958 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14960 * converter.C (dvipdfm_options): New method.
14962 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14964 * vspace.C (isValidLength): Fix for empty input string.
14966 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * LyXAction.C (init): change description of LFUN_FIGURE to
14971 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14973 * LaTeX.C: add using directive
14975 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14977 * MenuBackend.C (expand): Fix the sorting of the formats.
14979 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14981 * lyx_main.C: tiny error message fix
14983 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14986 calling fl_initialize(). This fixes the problem with ',' as
14987 decimal separator in text files.
14989 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14991 * trans.C (process): Fix the keymap bug.
14993 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14995 * LaTeX.C (scanAuxFiles): New method. Provides support for
14996 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14997 (scanLogFile) Scan for "run BibTeX" messages.
14999 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15000 OT1 font encoding. Also, load the aecompl package if the ae
15003 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15005 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15007 * texrow.C (increasePos): turn two error messages into debug
15010 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15012 * LaTeX.C (scanAux): Handle the \@input macro.
15013 (runBibTeX): Use scanAux().
15015 * language.C (latex_options_): New field.
15017 * LaTeXFeatures.C (getMacros): Add language macros.
15019 * buffer.C (makeLaTeXFile): Small fix.
15021 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15025 * text2.C: add a using directive.
15027 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15032 * lyxfunc.C: kill LyXBell.
15034 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15036 * text.C (IsBoundary): Remove the error message
15038 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15040 * lyxrc.C (setDefaults): Correct initialization value for
15043 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15045 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15048 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15049 and GotoNextNote().
15051 * src/LyXAction.C: Added reference-next.
15053 * text.C (InsertChar): Use contains instead of strchr.
15055 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15057 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15059 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15060 alignment commands (when needed).
15062 * text.C (InsertChar): Add ':' to number separator chars.