1 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2 Martin Vermeer <martin.vermeer@hut.fi>
4 * lyxfunc.C (dispatch):
5 * bufferparams.C (readToken): use the new LColor::setColor
7 * LColor.[Ch] (setColor): new version that takes two strings as
8 argument and creates a new color entry if necessary
10 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12 * buffer.C (makeLaTeXFile): if the main latex file that is
13 processed is usually a subdocument of some master, then pretend
14 for a while that it is actually the master
16 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
18 * buffer.C (getLabelList):
19 (getBibkeyList): use getMasterBuffer()
20 (getMasterBuffer): new method. Returns the main document in the
21 case where one is using included documents.
23 2004-03-25 André Pönitz <poenitz@gmx.net>
27 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
29 * ParagraphList_fwd.h: change ParagraphList to a std::vector
31 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
32 text*.C over here. Rename namespace CutAndPaste to lyx::cap
34 * ParameterStruct.h: merge with ParagraphParameters
36 * lyxtext.h: remove LyXText::parOffset() and getPar()
38 * text3.C: Remove all 'manual' update calls. We do now one per user
39 interaction which is completely sufficient.
46 * ParagraphParameters.[Ch]:
58 * output_docbook.[Ch]:
60 * output_linuxdoc.[Ch]:
61 * output_plaintext.[Ch]:
63 * paragraph_funcs.[Ch]:
64 * paragraph_pimpl.[Ch]:
72 * frontends/controllers/ControlDocument.C:
73 * frontends/controllers/ControlErrorList.C:
74 * frontends/controllers/ControlSpellchecker.C:
78 * insets/insetbibitem.C:
80 * insets/insetbranch.C:
81 * insets/insetcaption.C:
82 * insets/insetcharstyle.C:
83 * insets/insetcharstyle.h:
84 * insets/insetcollapsable.C:
85 * insets/insetcollapsable.h:
87 * insets/insetfloat.C:
89 * insets/insetmarginal.C:
91 * insets/insetoptarg.C:
92 * insets/insettabular.C:
96 * mathed/math_mboxinset.C:
97 * mathed/math_nestinset.C:
98 * mathed/math_scriptinset.C:
99 * mathed/math_scriptinset.h:
102 2004-03-24 Angus Leeming <leeming@lyx.org>
104 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
105 deal with any child processes that have finished but are waiting to
106 communicate this fact to the rest of LyX.
108 2004-03-24 Angus Leeming <leeming@lyx.org>
110 64-bit compile fixes.
112 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
113 (c-tor): pass lyx::pos_types rather than ints.
115 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
118 * text.C (Delete): compile fix.
119 (getPar): ensure that function declaration is the same as that in
122 2004-03-23 Angus Leeming <leeming@lyx.org>
124 * ispell.C (LaunchIspell):
125 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
126 a boost::shred_ptr rather than a std::auto_ptr.
128 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * lyxfunc.C (getStatus): handle read-only buffers correctly;
131 handle LFUN_FILE_INSERT_*
133 * lyxrc.C (setDefaults, getDescription, output, read):
134 * lyxrc.h: remove ps_command
136 2004-03-22 Angus Leeming <leeming@lyx.org>
138 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
139 Ensure that error_handler is processed once only and that all data
140 is saved before attempting to output any warning messages.
142 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
144 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
146 * tabular.C (TeXRow): crash fix (from Kayvan and André)
148 2004-03-19 André Pönitz <poenitz@gmx.net>
150 * cursor.[Ch] (reset): take main text inset as argument
153 * BufferView_pimpl.C: adjust
155 * paragraph.[Ch]: fix completely broken operator=()
157 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * LColor.C (getFromLyXName): make sure that the color name is used
162 2004-03-17 Angus Leeming <leeming@lyx.org>
165 * LyXAction.C (init): remove LFUN_FORKS_KILL.
167 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
168 dialog and to kill a forked process.
170 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
172 * text2.C (setCursorFromCoordinates): fix font problem
174 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
176 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
177 bogus "rebuild cursor" code
179 2004-03-11 André Pönitz <poenitz@gmx.net>
181 * buffer.[Ch]: use InsetText instead of LyXText as container for
184 * dociterator.[Ch]: drop the BufferView * member which is not needed
185 anymore after the change to buffer.C
191 * BufferView_pimpl.[Ch]:
193 * cursor_slice.[Ch]: adjust
195 * text3.C: fix bug in mathDispatch
197 2004-03-08 André Pönitz <poenitz@gmx.net>
199 * undo.[Ch]: use 'StableDocumentIterator' as base for
202 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * bufferparams.[Ch]: add jurabib support and param.
207 * LaTeX.C: add FIXME/comment.
209 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * buffer.C: increment file format to 230.
213 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
215 * cursor.C (dispatch): avoid infinite loops
217 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
219 * rowpainter.C (paintSelection): fix x coordinates
221 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
223 * text.C (rowBreakPoint): fix breaking before displayed insets
225 2004-03-01 André Pönitz <poenitz@gmx.net>
227 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
229 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
233 * BufferView_pimpl.C:
241 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
247 * BufferView_pimpl.C: rename textwidth -> maxwidth,
248 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
250 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
252 * Bidi.[Ch] (computeTables): const correctness
253 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
254 fill_hfill, fill_label_hfill and x from Row
255 * lyxtext.h: prepareToPrint returns a RowMetrics
256 * rowPainter.C: adjust
257 * text.C (prepareToPrint): use width, not textWidth. adjust
258 (redoParagraphInternal, cursorX): adjust
259 * text2.C (getColumnNearX): adjust
260 (init): put a default value to the top LyXText::width
262 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
264 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
266 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
268 * lyxtext.h: add FontIterator class
270 * text.C (FontIterator, operator*, operator->, operator++): add
271 (rowBreakPoint, setRowWidth): adjust (fixing a
274 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * BufferView_pimpl.C (workAreaDispatch): allow also
277 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
279 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
281 * text.C (rowBreakPoint): fix a bug showing with very large insets
283 2004-02-25 André Pönitz <poenitz@gmx.net>
286 * cursor.[Ch]: move some mathed specific code to mathed
288 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
290 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
291 use_tempdir in preferences
292 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
294 * lyx_main.C: ensure that tempdir is valid
295 * lyxlex.h: correct typo
296 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
297 * paragraph.[Ch] (isMultiLingual): make const
298 * cursor.[Ch] (openable): make const
300 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
304 2004-02-20 André Pönitz <poenitz@gmx.net>
306 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
308 * cursor.[Ch]: prepare for localized getStatus()
314 * text3.C: streamlines the LyXText cursor movement handlers a bit.
316 2004-02-20 André Pönitz <poenitz@gmx.net>
318 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
320 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
322 * text2.C (setCursorFromCoordinates): switch to absolute coords
325 * text3.C (dispatch): adjust
327 2004-02-16 André Pönitz <poenitz@gmx.net>
329 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
332 * cursor_slice.[Ch]: remove unneeded acessor function
334 * lyxtext.h: rename rtl() to isRTL()
342 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
344 * rowpainter.C (paintSelection): coord fix
346 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * Spacing.C: compile fix
350 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
352 * cursor.C (dispatch): restore current_ before returning
354 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
356 * text2.C (cursorUp, cursorDown): fix coords
359 2004-02-12 André Pönitz <poenitz@gmx.net>
364 * text3.C: add LCursor & parameter to most cursor movement functions
365 remove usage of LyXText::cursorRow() and cursorPar()
367 * cursor.[Ch]: add textRow() needed members
370 * BufferView_pimpl.C:
373 * BufferView_pimpl.C: adjust
375 2004-02-11 André Pönitz <poenitz@gmx.net>
379 * BufferView_pimpl.C: shift undo/redo handling
381 * cursor.[Ch]: fix mathed crash
384 * lyxtext.h: move selectionAsText to LCursor
392 * rowpainter.C: fix excessive drawing
394 2004-02-06 André Pönitz <poenitz@gmx.net>
397 * BufferView_pimpl.[Ch]:
398 * text3.C: move some text specific LFUN handling
400 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
402 * text3.C (checkInsetHit): adjust coords
403 * text2.C (getColumnNearX): adjust coords
404 (edit): adjust coords
405 * text.C (getRowNearY): add two asserts
407 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
410 * format.C: add using std::distance to compile on gcc 2.95/stlport
412 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
414 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
416 2004-02-04 André Pönitz <poenitz@gmx.net>
418 * BufferView.[Ch] (insertInset):
419 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
424 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
426 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
427 on the default clause of the switch
428 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
429 wasn't catched by LCursor::dispatch
431 2004-02-03 André Pönitz <poenitz@gmx.net>
434 * cursor.[Ch]: some additional asserts
436 * undo.[Ch]: remove LyXText dependency in interface
440 * lyxtext.h (firstPar, lastPar): remove dead functions
445 * paragraph.[Ch]: adjust
447 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
449 * lyxfind.C (find): fix argument order in call to ::find
451 2004-02-02 André Pönitz <poenitz@gmx.net>
453 * cursor.[Ch]: remove direct access to anchor
455 * text.C: remove findText() hack
457 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
459 * iterators.[Ch] (lockPath): remove in favour of...
460 * BufferView.[Ch] (setCursor): this addition
461 * BufferView.C (putSelectionAt): adjust
462 * undo.C (performUndoOrRedo): adjust
463 * lyxfunc.C (dispatch): adjust
465 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
467 * iterators.C (lockPath): add a missing slice
468 * undo.C (performUndoOrRedo): remove redundant positioning code
470 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
472 * vc-backend.C (scanMaster): ";" -> ';'
474 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
476 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
479 * lyxtextclass.C (compare_name): rename to...
480 (LayoutNamesEqual): ...this
482 * lyxlex_pimpl.C (compare_tags): inherit from
483 std::binary_function, put back into anon namespace
485 * lyxfind.C (MatchString): inherig from std::binary_function
486 (findChange): use empty() istead of !size()
488 * format.C (FormatNamesEqual): new functor
495 * converter.C (compare_Converter): rename to...
496 (ConverterEqual): ...this, and fixup a bit.
497 (getConverter): use it, and make function const
498 (getNumber): use it, and make function const
502 * bufferlist.C: add using boost::bind
504 * MenuBackend.C (MenuNamesEqual): new functor
505 (hasMenu): use it, and make function const
506 (hasSubmenu): use nested bind to get rid of compare_memfun.
508 2004-01-30 André Pönitz <poenitz@gmx.net>
510 * BufferView_pimpl.C:
521 * text3.C: move some of the edit(x,y) handling to the insets
522 some coordinate changes.
524 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * text.C: add using statements for std::advance and std::distance
528 * paragraph.C: add using statement for std::distance
530 * lyxfind.C: add using statement for std::advance
532 * cursor.C (region): remove std:: from swap
533 (openable): use nucleus in stead of operator->
535 * BufferView.C: add using statements for std::distance and std::swap
537 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
539 * iterators.C: Remove the pimple, move the needed structures to
540 the header file. Create accessor for the positions stack.
541 (asPosIterator): remove function
543 * PosIterator.C (PosIterator): move constructors to top of file
544 (PosIterator): reimplement the constructor taking a ParIterator in
546 (setFrom): new function
547 (operator!=): inline it
549 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * lyxfind.C (replaceAll): use std::advance
553 * iterators.h: inherit from std::iterator.
555 * PosIterator.C (advance, distance): remove
556 * PosIterator.h: interit from std::iterator.
558 2004-01-26 André Pönitz <poenitz@gmx.net>
561 * BufferView_pimpl.[Ch]:
565 * bufferview_funcs.C:
576 * output_plaintext.C:
578 * paragraph_funcs.[Ch]:
579 * paragraph_pimpl.[Ch]:
585 * text3.C: more IU: dumps most of the rest of the mathcursor
586 implementation into cursor.[Ch]; "globalize" a bit of it.
588 2004-01-25 Angus Leeming <leeming@lyx.org>
590 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
592 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
594 * LaTeXFeatures.h: add nice_ and nice() const
595 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
597 2004-01-20 André Pönitz <poenitz@gmx.net>
600 * BufferView_pimpl.C:
602 * bufferview_funcs.C:
615 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
616 LCursor and mathcursor parts to LCursor and InsetBase.
618 2004-01-15 André Pönitz <poenitz@gmx.net>
620 * cursor_slice.[Ch]: add a few covienience functions
622 * funcrequest.[Ch]: remove BufferView * member
624 * BufferView_pimpl.C:
631 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
633 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
635 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
636 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
638 2004-01-13 André Pönitz <poenitz@gmx.net>
641 * lyxtext.h: hide cursor and selection anchor behind accessor function
644 * BufferView_pimpl.[Ch]:
646 * bufferview_funcs.C:
656 * cursor_slice.[Ch]: some integer type changes for inset unification
658 * lyxcursor.[hC]: remove, it's CursorSlice now.
661 * BufferView_pimpl.[Ch]:
662 * bufferview_funcs.C:
668 * textcursor.[Ch]: adjust
670 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
672 * text2.C (undoSpan): add and use
673 * text.C (breakParagraph): use undoSpan (fix bug 578)
676 2004-01-08 Angus Leeming <leeming@lyx.org>
678 * BufferView_pimpl.C (MenuInsertLyXFile):
679 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
680 * lyxfunc.C (menuNew, open, doImport):
681 FileFilterList change to the FileDialog open and save functions.
683 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
685 * ShareContainer.h: make isEqual and isUnique adaptable
687 * CutAndPaste.C: make resetOwnerAndChanges adaptable
689 2004-01-07 Angus Leeming <leeming@lyx.org>
692 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
694 * BufferView_pimpl.C (dispatch): act on these LFUNs.
696 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
697 functions replacing find, replace and replaceAll.
699 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
700 LFUN_WORDFIND(FORWARD|BACKWARD).
702 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
704 * text.C (breakParagraph): remove an outdated #warning
706 2004-01-07 André Pönitz <poenitz@gmx.net>
708 * lyxfind.C: somewhat clearer logic
710 * text.C: prevent crash in cursorX on unitialized row cache
712 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
714 * lyxcursor.[Ch] (operator>): add
715 * textcursor.C (selStart, selEnd): use std::min and std::max
717 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
719 * Chktex.C: include boost/format.hpp
721 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
723 * InsetList.C: replace functor MathcIt with adaptable functor
725 (insetIterator): modify accordingly
727 * BranchList.h: move the BranchNamesEqual functor here from...
728 * BranchList.C: ... to here
730 * BranchList.C: new BranchListEqual fuctor, use it. Remove
732 (add): replace a finding loop with std::find_if.
734 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
736 * output_docbook.C: moving LatexParam functionality into
739 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
741 * buffer.C: increment format to 229.
743 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
746 * lyx_sty.[Ch]: remove minipageindent_def
752 * text3.C: remove LFUN_INSET_MINIPAGE
754 2003-12-28 Angus Leeming <leeming@lyx.org>
756 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
758 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
760 * text2.C (setParagraph): fix off-by-one crash
762 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
764 * output_docbook.C: header stuff for AGU
766 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
768 * text2.C (redoCursor): remove
771 * BufferView_pimpl.C: remove calls to redoCursor and
772 setCursor(cursor.par(), cursor.pos()) all around
774 2003-12-15 Angus Leeming <leeming@lyx.org>
776 * buffer.C: up the format to 228.
778 2003-12-15 André Pönitz <poenitz@gmx.net>
780 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
785 * BufferView_pimpl.C:
794 2003-12-15 Angus Leeming <leeming@lyx.org>
796 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
797 than getFromGUIName to manipulate the color.
799 2003-12-14 Angus Leeming <leeming@lyx.org>
801 * BranchList.[Ch]: minimize the API.
802 (Branch::getBranch, getColor): now return a 'const &'.
803 (Branch::setSelected) now returns a bool set to true if the
804 selection status changes.
805 (BranchList::clear, size, getColor, setColor, setSelected,
806 allBranches, allSelected, separator): removed.
807 (BranchList::find): new functions, returning the Branch with
809 (BranchList::add, remove): return a bool indicating that
810 the operation was successful.
812 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
813 new InsetBranch::isBranchSlected member function.
815 * LColor.[Ch]: mimimize the API.
816 (fill): renamed as addColor and made private.
817 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
818 versions of these functions taking a string arg have been removed.
820 * bufferparams.C (readToken):
821 * lyxfunc.C (dispatch):
822 * lyxrc.C (read): changes due to the altered BranchList and
825 * factory.C (createInset, readInset): changes due to altered
828 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
831 * lyxfunc.C: remove insetminipage. "minipage-insert"
832 now produces a frameless minipage box inset.
834 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
836 * textcursor.[Ch] (selStart,selEnd): add new methods
837 remove selection::start, end, use LyXCursor::operator<
838 * lyxcursor.[Ch] (operator<): add
839 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
840 * BufferView.[Ch] (unsetXSel): add
841 * text2.C (clearSelection): use unsetXSel,adjust
844 * rowpainter.C: adjust
845 * bufferview_funcs.C (put_selection_at): adjust
847 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
849 * BufferView_pimpl.C: small coord. correction
851 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
853 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
854 dragging over the splash screen.
856 2003-12-11 Angus Leeming <leeming@lyx.org>
858 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
859 as it is now handled in LyXText::dispatch.
861 * text3.C (doInsertInset): remove a level of nesting.
863 2003-12-11 Angus Leeming <leeming@lyx.org>
865 * factory.C (createInset): changes due to the changed interface to
866 InsetCommandMailer::string2params.
868 2003-12-10 Angus Leeming <leeming@lyx.org>
870 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
871 'dialog-show-new-inset <inset name>'
873 2003-12-10 Angus Leeming <leeming@lyx.org>
875 * buffer.C: up the format to 227.
877 * factory.C: the box inset is now identified simply by 'Box'.
879 2003-12-10 Angus Leeming <leeming@lyx.org>
881 * buffer.C: up the format to 226.
883 * factory.C: the note inset is now identified simply by 'Note'.
885 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
887 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
888 when a pit is enough. Standarize a couple of loops.
890 2003-12-05 Angus Leeming <leeming@lyx.org>
892 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
893 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
894 data to the re-worked "log" dialog.
896 2003-12-03 André Pönitz <poenitz@gmx.net>
904 * text2.C: use Inset::getText instead of Inset::getParagraph
906 2003-12-03 André Pönitz <poenitz@gmx.net>
910 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
911 InsetText::read() as LyXText::read()
913 2003-12-02 Angus Leeming <leeming@lyx.org>
915 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
916 type. Add a comment in the implementation that the function uses
917 the stream's bad() function rather than fail() as the std::streams
920 2003-12-02 André Pönitz <poenitz@gmx.net>
922 * lyxlex.[Ch]: make interface more similar to std::stream
924 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
926 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
928 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
930 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
932 * vspace.[Ch]: remove VSpace::NONE
934 2003-12-01 André Pönitz <poenitz@gmx.net>
937 * lyxtext.h: move ParagraphList member to LyXText
938 rename LyXText::ownerParagraphs to LyXText::paragraph
941 * bufferview_funcs.C:
951 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
953 * undo.C: fix cursor positioning
955 2003-12-01 John Levon <levon@movementarian.org>
957 * BufferView_pimpl.C: fix a crash on exit with
960 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
962 * BranchList.C: fix setSelected() method.
964 2003-11-28 André Pönitz <poenitz@gmx.net>
966 * ParagraphParameters.[Ch]:
967 * ParameterStruct.h: remove space above/below from Paragraph to
970 * BufferView_pimpl.C:
982 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
984 * factory.C: Syntax change for CharStyles
986 2003-11-28 André Pönitz <poenitz@gmx.net>
991 * buffer.[Ch]: move LyXText member
993 2003-11-28 André Pönitz <poenitz@gmx.net>
995 * BufferView.[Ch]: make LyXText * text a private member
997 * BufferView_pimpl.C:
1008 * output_plaintext.C: cleanup
1010 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1013 * lyxtextclass.[Ch]: parametrize SGML document header
1015 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1018 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1021 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1023 * text2.C (setFont): rework using PosIterator (no more recursive)
1024 (setCharFont): no more needed
1025 (setLayout): no more selection cursors fiddling (done by redoCursor)
1026 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1027 destroy remaining ones)
1029 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1031 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1033 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1036 * text3.C: adjust + re-allow multi par depth changes
1037 * textcursor.C: simplify a bit
1039 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1045 * src/output_docbook.C:
1046 * src/output_latex.C:
1051 * src/text2.C: Introducing a number of tags parametrizing various
1052 XML formats that we may want to support
1054 2003-11-25 André Pönitz <poenitz@gmx.net>
1056 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1058 * lyxtext.h (leftMargin/rightMargin): simplify interface
1065 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1067 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1068 master file to any child files. Fixes bug 546.
1070 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1072 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1074 2003-11-24 André Pönitz <poenitz@gmx.net>
1076 * rowpainter.C: simplification
1078 * text2.C (updateCounters): remove call to redoParagraph on
1079 changed labels as this is far too expensive.
1081 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1083 * converter.C (convert): fix a crash: this function gets
1084 called with buffer == 0 from importer code.
1086 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1088 * text3.C (cursorPrevious): make sure that we do not compare
1089 iterators form different containers.
1092 * rowpainter.C (paintSelection): make sure that we do not compare
1093 iterators from different containers.
1095 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1096 iterators from different ParagraphList containers.
1099 * text2.C (LyXText): change order of initialization slightly
1100 (operator=): new function. copy all variables except cache_par_
1101 (moveUp): make sure that we do not compare iterators from
1102 different ParagraphList constainers.
1105 * text.C (firstPar): new function
1106 (lastPar): new function
1107 (endPar): new function
1109 * lyxtext.h: move things around and group public functions, public
1110 variables, private functions, private variables
1112 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1114 * factory.C: change call to InsetERT constructor to avoid
1115 additional invocation of method status
1116 * text2.C (toggleInset): remove redundant update() call
1117 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1118 instead of a Bufferview pointer
1120 2003-11-21 André Pönitz <poenitz@gmx.net>
1122 * rowpainter.C: simplification
1124 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1126 * text3.C (dispatch): make possible to extend a word/row selection
1129 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1131 * lyxtext.h: x0_,y0_ -> xo_,yo_
1132 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1133 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1134 * rowpainter.C (paintRows): paint full paragraphs
1136 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1138 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1141 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1143 * lyxtext.h: add x0_, y0_
1144 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1145 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1147 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1149 * text2.C (setCursorIntern): move the x_target update here *
1150 * text3.C: change some bv() to true/false in calls to
1151 cursorUp/Down/Right/Left
1152 * cursor.C: use helper function.
1154 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1156 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1157 * paragraph_funcs.[Ch]: correct comment
1158 * rowpainter.C: do not paint selections away from bv->cursor()
1159 Fix a long standing selection painting bug.
1160 * text3.C: generalize mouse-selection code to LyXTexts other that
1162 * textcursor.C: do not use y coords if we can use par offsets
1164 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1166 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1167 cursor position after e.g. inset insert)
1169 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1171 * lyxfind.C (replace): adjust to locking removal + some
1174 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1176 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1179 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1182 * output_docbook.C: XML sanitation: new layout
1183 parameters InnerTag and CommandDepth
1185 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1187 * BufferView_pimpl.C:
1189 * text3.C: Fix the insertion and modification of button-style
1192 2003-11-13 André Pönitz <poenitz@gmx.net>
1194 * InsetList.[Ch]: remove deleteLyXText
1196 * paragraph.[Ch]: cache beginOfBody position
1201 * text3.C: remove superfluous update() calls
1205 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1207 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1208 * BufferView.C (fitLockedInsetCursor): remove
1209 * cursor.[Ch] (getDim): add
1210 * text.C (getRowNearY): add faster version
1211 * text3.C: remove some update calls
1213 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1225 * text3.C: The Character Style /XML short element patch.
1227 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1230 * factory.C: Small step to solving 'unable to insert some insets'
1233 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1235 * cursor.[Ch] (updatePos): new function for updating the y
1236 position of the tip inset
1237 * bufferview_funcs.C (put_selection_at):
1238 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1240 2003-11-11 André Pönitz <poenitz@gmx.net>
1242 * text.C: remove big comment on invalid Paragraph pointers as it is
1245 2003-11-11 André Pönitz <poenitz@gmx.net>
1247 * text_funcs.[Ch]: merge with ...
1255 * Makefile.am: remove text_funcs.[Ch]
1257 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1259 * cursor.C (getPos): return absolute cached y coord
1261 * BufferView_pimpl.C (fitCursor): new simplistic code
1262 (workAreaDispatch): add a fitCursor call
1264 2003-11-10 André Pönitz <poenitz@gmx.net>
1267 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1269 2003-11-10 André Pönitz <poenitz@gmx.net>
1271 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1272 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1273 indicate that the cursor needs to leave an inset
1275 * lyxtext.h: remove inset locking
1277 * cursor.[Ch]: re-implement functionality provided by inset locking
1280 * BufferView_pimpl.[Ch]:
1282 * bufferview_funcs.[Ch]:
1294 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1296 * PosIterator.[Ch]: replace the stack with a vector, add inset
1298 * iterators.[C]: adjust
1300 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1302 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1304 * paragraph_funcs.C (readParToken): put the correct id in the
1305 error item, not the id of the top paragraph
1307 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1309 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1310 * bufferview_funcs.C (put_selection_at): use the above
1312 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1314 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1316 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * output_linuxdoc.h:
1319 * output_plaintext.h:
1321 * output_docbook.h: add #include statements
1323 2003-11-05 José Matos <jamatos@lyx.org>
1325 * output_docbook.[Ch]:
1326 * output_latex.[Ch]:
1327 * output_linuxdoc.[Ch]:
1328 * output_plaintext.[Ch]: New files for output formats.
1329 * output.[Ch]: New file for helper functions.
1332 * paragraph_funcs.[Ch]: output functions moved to new files.
1334 * outputparams.h: rename of latexrunparams.h
1342 * paragraph_funcs.[Ch]:
1343 * paragraph_pimpl.[Ch]:
1344 * tabular.[Ch]: rename ascii to plaintext
1345 and LatexRunParams to OutputParams.
1347 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1349 * iterators.[Ch] (text): require bv argument
1350 * undo.C (recordUndo):
1351 * lyxfunc.C (dispatch):
1352 * bufferview_funcs.C (put_selection_at): adjust
1354 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1356 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1358 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1360 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1363 2003-11-04 André Pönitz <poenitz@gmx.net>
1365 * cursor.[Ch]: restructure
1368 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1370 * iterators.[Ch] (asCursor): remove
1372 * lfuns.h: remove LFUN_INSET_EDIT
1378 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1380 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1382 * lyxfind.[Ch]: complete overhaul
1383 * BufferView_pimpl.C:
1385 * paragraph.[Ch] (insert): add
1387 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1391 * text.C: remove dead spellcheck code
1393 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1395 * dispatchresult.h: add a val setter
1397 * cursor.C (dispatch): use a tempvar for data_[i]
1399 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1401 * PosIterator.[Ch]: compile fix
1403 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1405 * text.C (cursorPar): deactivate the cursor cache
1407 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1409 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1411 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * text3.C (dispatch): adjust for new DisptchResult semantics.
1415 * lyxfunc.C (dispatch): handle update when return from
1416 Cursor::dispatch, adjust for new DispatchResult semantics.
1418 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1419 DispatchResult(true) mean to not update. Add class functions for
1420 setting dispatched and update, as well as reading.
1422 * cursor.C (dispatch): don't handle update here
1424 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1427 * trans_mgr.C: adjust
1429 * paragraph_funcs.C (readParToken): exception safety
1431 * lyxvc.h: store the vcs pointer in a scoped_ptr
1434 * lyxsocket.C (serverCallback): exception safety
1436 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1438 * ispell.C (clone): make it return a auto_ptr
1440 * factory.C (createInset): exception safety
1441 (readInset): exception safety
1443 * bufferlist.C (newBuffer): exception safety
1445 * Thesaurus.C (Thesaurus): use initialization for aik_
1447 * MenuBackend.C (expandToc): exception safety.
1449 2003-11-03 André Pönitz <poenitz@gmx.net>
1453 * bufferview_funcs.C: remove getInsetFromId()
1456 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1462 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1464 * PosIterator.C (distance, advance): new
1465 * bufferview_funcs.[Ch] (put_selection_at): new
1466 * iterators.[Ch] (lockPath): new
1468 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1470 * iterators.[Ch] (asPosIterator): added
1471 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1472 * PosIterator.[Ch]: added
1474 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * cursor.C (dispatch):
1479 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1481 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1482 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1483 contructor, add a class function dispatched. Remove operator>=
1485 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * debug.C: only use the default constructor for debugstream
1490 * main.C (main): include debug.h and setup the lyxerr streambuf
1493 2003-10-31 José Matos <jamatos@lyx.org>
1495 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1497 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1498 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1499 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1500 * paragraph_pimpl.C (simpleTeXSpecialC):
1501 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1502 add LatexRunParams argument.
1504 * exporter.C (Export): change call accordingly.
1506 * latexrunparams.h: add new member to take care of the other backends.
1507 2003-10-30 José Matos <jamatos@lyx.org>
1509 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1510 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1511 factorise code for paragraph output.
1513 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1516 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * text3.C (dispatch):
1519 * lyxfunc.C (dispatch):
1520 * cursor.C (dispatch):
1521 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1523 * dispatchresult.h: make the dispatch_result_t ctor explicit
1525 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1528 * buffer.C: small refactoring of docbook stuff
1530 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1535 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1538 operator dispatch_result_t, and operators for == != and >=
1540 * cursor.C (dispatch): adjust for operator dispatch_result_t
1541 removal. comment out call to update
1543 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1545 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1556 * dispatchresult.h: new file, DispatchResult broken out of
1559 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1561 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1563 * text.C (rowBreakPoint): put a hack inside #if 0
1565 2003-10-28 André Pönitz <poenitz@gmx.net>
1569 * paragraph_funcs.C:
1572 * text2.C: general cleanup (lots of small stuff)
1574 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1576 * text2.C (cursorEnd): simple fix to the "end key goes to one
1577 before the end on last row" bug
1579 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1581 * text.C (backspace): fix the "zombie characters"
1583 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1585 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1587 2003-10-27 André Pönitz <poenitz@gmx.net>
1589 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1591 * factory.C: handle new InsetPagebreak, InsetLine
1593 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1594 and move handling into new InsetPagebreak, InsetLine
1596 * BufferView_pimpl.C:
1598 * ParagraphParameters.C:
1599 * ParameterStruct.h:
1604 * paragraph_funcs.C:
1605 * paragraph_pimpl.C:
1611 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1614 * lyxrow_funcs.[Ch]:
1620 * text3.C: remove lastPos uses in favour of Row::endpos
1622 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1624 * undo.C (performUndoOrRedo): fix two crashes by setting a
1625 cursor by hand and reordering some calls. Use bv->lockInset instead
1626 of inset->edit because the latter loses cursor information
1628 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1630 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1632 (rowBreakPoint): fix width. change point to point + 1.
1633 Add a missing check.
1635 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1638 * lyxfunc.C: fix (at least partly) the problems
1639 with the Nav menu and headers inside branch insets
1642 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1644 * paragraph.C (getChar): add strong asserts
1646 * lyxrow_funcs.C (lastPos): remove hideous hack
1648 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1649 (fill): adjust to that (avoid an infinite loop)
1651 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1653 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1655 2003-10-23 André Pönitz <poenitz@gmx.net>
1657 * RowList_fwd.h: change list<> to vector<> to gain speed
1658 after suggestion from Alfredo
1660 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1662 * lyxtext.h: move the bidi stuff from here...
1665 * Bidi.[Ch]: ... to here
1667 2003-10-23 André Pönitz <poenitz@gmx.net>
1670 * text.C (isLastRow, isFirstRow): new functions
1672 * paragraph.h: new width cache member
1674 * rowpainter.C: replace RowList::iterator with Row & where possible
1676 * lyxfunc.C: replace several view()->text with a single call
1678 * toc.C: fix 'unused' warning
1680 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1683 when woring with stream::pos_type
1684 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1686 2003-10-22 André Pönitz <poenitz@gmx.net>
1689 * text.C: use Row & instead of RowList::iterator
1691 * lyxrow.h: rename end() to endpos()
1697 2003-10-22 Angus Leeming <leeming@lyx.org>
1699 * buffer.[Ch] (fully_loaded): new member function, returning true
1700 only when the file has been loaded fully.
1701 Used to prevent the premature generation of previews and by the
1702 citation inset to prevent computation of the natbib-style label.
1704 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1705 templates are all set up.
1707 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1709 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1711 * text.C: fixed an "oops" in the "is a bit silly"
1714 2003-10-21 André Pönitz <poenitz@gmx.net>
1716 * FuncStatus.[Ch]: small stuff, whitespace
1718 * lyxfont.[Ch]: operator<<() for debug reasons
1722 * lyxtext.h: whitespace, spelling
1724 * paragraph.C: naming of variables
1727 * text2.C: small stuff
1730 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1732 * text.C: (1) finish off the inset display() work;
1733 (2) fix the "is a bit silly" bug (accessing char
1736 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1738 * text.C: re-introduce display() for insets, fixing the
1739 various bugs (stretch of line above, math inset
1742 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1744 * text.C (rightMargin): remove spurious semicolon
1746 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1749 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1751 * text3.C: fix one crash due to wrong cursor def
1753 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * vc-backend.C (scanMaster): make the regex static
1757 * LaTeX.C (scanAuxFile): make the regexs static
1759 * text3.C (doInsertInset, dispatch, dispatch):
1760 * text2.C (cursorUp, cursorDown):
1761 * text.C (selectNextWordToSpellcheck):
1762 * BufferView_pimpl.C (dispatch):
1763 * lyxfunc.C (dispatch): localDispatch -> dispatch
1765 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * lyxsocket.C: include <cerrno>
1769 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1771 * lyxfunc.C (dispatch): remove textcache stuff
1773 * bufferlist.C (release): remove textcache stuff
1776 * TextCache.C: delete file
1777 * TextCache.h: delete file
1779 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1781 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1782 delete of the bv_->text.
1783 (resizeCurrentBuffer): remove texcache stuff
1784 (workAreaResize): ditto
1786 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1791 2003-10-16 André Pönitz <poenitz@gmx.net>
1798 * text3.C: speed up by storing y positions per paragraph plus per-row
1799 offset instead of having a 'full' y position in the row.
1801 2003-10-15 André Pönitz <poenitz@gmx.net>
1805 * undo.[Ch]: make undo aware of inner insets
1807 2003-10-14 Angus Leeming <leeming@lyx.org>
1809 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1810 static member functions LyX::ref() and LyX::cref.
1811 (lastfiles): new accessor functions for the new lastfiles_ member var.
1812 (addLyXView, views_): add a new LyXView to the list of views_.
1813 (updateInset): loop over all LyXViews to call their own updateInset
1814 member function, returning a pointer to the Buffer owning the inset.
1816 * BufferView_pimpl.C (loadLyXFile):
1817 * MenuBackend.C (expandLastfiles):
1818 * bufferlist.C (MenuWrite, QuitLyX):
1819 lastfiles is no longer a global variable.
1820 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1822 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1823 static function. Access through LyX::cref().emergencyCleanup().
1825 2003-10-14 André Pönitz <poenitz@gmx.net>
1827 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1829 * undo.[Ch]: restoring part of 'undo in insets'
1832 * undo_funcs.[Ch]: merge with undo.[Ch]
1834 * tabular.C: small cleansing stuff
1836 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1838 * paragraph_funcs.C (readParToken): report unknown insets as error
1839 boxes. Use the outer paragraph as location (also for unknown
1842 * factory.C (readInset): do not abort on reading an unknown inset.
1843 Eat it and return 0.
1845 2003-10-13 Angus Leeming <leeming@lyx.org>
1847 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1849 * lyxrc.C: displayTranslator is now a function,
1850 declared in GraphicsTypes.h.
1852 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1854 * format.C: new placeholder $$a to pass the socket address.
1856 * bufferlist.[Ch]: new function getBufferFromTmp.
1858 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1859 files in the temporary dir.
1861 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1863 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1865 * Makefile.am: add lyxsocket.[Ch].
1867 * lyx_main.C (error_handler): handle SIGPIPE.
1869 2003-10-13 André Pönitz <poenitz@gmx.net>
1871 * BufferView_pimpl.C:
1876 * undo_funcs.[Ch]: use paroffset_type instead of
1877 ParagraphList::iterators to prevent multiple conversion
1878 (and get a more robust interface)
1880 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1884 * text3.C (dispatch): ditto
1886 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1889 move the onlyfile, use onlyfile instead of foundfile in a couple
1892 * DepTable.C (update): flush the error stream a bit more
1894 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * lyxserver.C (callback): adjust
1898 * lyxfunc.C (getStatus): add a missing brace in commented code
1899 (ensureBufferClean): reindent
1900 (dispatch): delete version taking a string
1902 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * LaTeX.C (deplog): move found file handlig from here...
1905 (handleFoundFile): .. to new function here.
1906 (deplog): make sure to discover several files mentioned on the
1909 2003-10-10 André Pönitz <poenitz@gmx.net>
1916 * text3.C: fix some of the tabular crashes
1918 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1920 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1922 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1924 2003-10-09 André Pönitz <poenitz@gmx.net>
1926 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1929 * BufferView_pimpl.C:
1930 * bufferview_funcs.C:
1941 * undo_funcs.C: adjust
1943 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * text2.C (incrementItemDepth): new function, use a backtracking
1946 algorithm to discover the correct item depth.
1947 (resetEnumCounterIfNeeded): new function, use a backtracking
1948 algorithm to discover if counter reset is needed.
1949 (setCounter): use them. Simplify a bit. Add different labels for
1950 different item depths for itemize.
1952 * paragraph.C (Paragraph): remove initialization of enumdepth
1955 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1956 enumerate and itemize. Change the type of itemdepth to signed char.
1958 2003-10-08 André Pönitz <poenitz@gmx.net>
1960 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1965 * tabular.[Ch]: fix crash after 'row-insert'
1967 2003-10-08 Angus Leeming <leeming@lyx.org>
1969 Fix doxygen warnings.
1971 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1972 Remove CutAndPaste:: prefix from header file declaration.
1974 * LColor.h (fill): remove LColor:: prefix from declaration.
1976 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1977 use lyx::depth_type rather than Paragraph::depth_type so that
1978 header file and .C file match.
1980 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1982 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1983 * aspell.C: \file aspell_local.C -> \file aspell.C
1984 * gettext.C: \file gettext.C -> \file src/gettext.C
1985 * gettext.h: \file gettext.h -> \file src/gettext.h
1986 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1987 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1988 * text.C: \file text.C -> \file src/text.C
1990 * toc.C: move comment so that doxygen is not confused.
1992 2003-10-07 Angus Leeming <leeming@lyx.org>
1994 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1996 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1999 * aspell_local.h: add forgotten std::string's.
2001 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2008 * text3.C: The Box patch. Fancybox support, minipage, parbox
2010 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2016 * ParagraphParameters.h:
2026 * lyxtextclasslist.h:
2029 * paragraph_pimpl.C:
2030 * textcursor.h: add <string> and other small fixes to make Lars'
2031 std::string patch compile with STLport.
2033 2003-10-06 Angus Leeming <leeming@lyx.org>
2035 * LColor.h: Add missing #include <string>.
2037 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * All most all file in all subdirs: Make <string> be the prefered
2040 way of getting to std::string, add using declarations.
2042 2003-10-06 André Pönitz <poenitz@gmx.net>
2044 * metricsinfo.C: initialize LyXFont before changing attribute.
2045 (fixes the 'math in \emph is upright' bug)
2047 2003-10-06 André Pönitz <poenitz@gmx.net>
2049 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2051 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2054 * paragraph_pimpl.C: Small fixes to build using STLport
2056 2003-10-02 André Pönitz <poenitz@gmx.net>
2059 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2061 2003-10-01 André Pönitz <poenitz@gmx.net>
2063 * factory.C: assert early
2065 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * lyx_main.C: remove the global debug object
2069 * debug.h: adjust for new debugstream
2071 * debug.C: adjust for new debugstream and keep the global debug
2074 2003-09-22 Angus Leeming <leeming@lyx.org>
2076 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2077 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2078 an incomplete class LyXFont.
2080 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2082 * factory.C: bug fix in branches
2084 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * lyxfunc.C (processKeySym): adjust
2088 (dispatch): change arg name from ev to func, adjust
2089 (sendDispatchMessage): ditto
2091 * lyx_main.C (defaultKeyBindings): adjust keybindings
2092 (deadKeyBindings): ditto
2094 * kbsequence.C (addkey): return a FuncRequest
2096 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2098 * kbmap.C (bind): take a FuncRequest as arg, adjust
2101 (defkey): change to take a FuncRequest as arg, adjust
2102 (findbinding): take a FuncRequest as arg, adjust.
2104 * funcrequest.h (operator=): added
2106 * funcrequest.C (FuncRequest): default kb_action changed from
2107 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2109 * buffer.C (dispatch): simplify
2110 (dispatch): adjust to take a FuncRequest as arg, adjust
2112 * boost.C (assertion_failed): change assertion message slightly
2114 * ToolbarBackend.C (read): simplify
2116 * MenuBackend.C (binding): adjust call to findbinding, add a
2117 message if no binding is found.
2119 (expandToc): correct by adding a empty FuncRequest
2121 * LyXAction.C: include <boost/assert.hpp>
2122 (isPseudoAction): delete function
2123 (LookupFunc): change name to...
2124 (lookupFunc): this. change return type to FuncRequest.
2125 (getActionName): take kb_action as arg, simplify
2126 (funcHasFlag): add an assert, simplify.
2128 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * toc.C (action): return a FuncRequest, simplify
2132 * lyxfunc.C (processKeySym): adjust
2133 (getStatus): delete version that takes an int.
2135 (dispatch): delete version that takes action as int
2137 (sendDispatchMessage): simplify and adjust
2139 * funcrequest.C (getArg): take unsigned int as arg
2141 * ToolbarBackend.C (read): adjust
2142 (add): delete version that takes func as a string.
2143 (getIton): take a FuncRequest as arg
2145 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2148 * MenuBackend.C (MenuItem): add a new construct that only takes a
2149 Kind, simplify the constructor use for submenus.
2151 (expandLastfiles): adjust
2152 (expandDocuments): adjust
2153 (expandFormats): adjust
2154 (expandFloatListInsert): adjust
2155 (expandFloatInsert): adjust
2156 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2158 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2159 Remove class variables lyx_pseudo_map and lyx_arg_map
2161 * LyXAction.C (searchActionArg): delete function
2162 (getPseudoAction): delete function
2163 (retrieveActionArg): delete function
2164 (LookupFunc): make it return kb_action, simplify.
2165 (getActionName): simplify
2167 * factory.C (createInset): fix new bug
2169 2003-09-19 Angus Leeming <leeming@lyx.org>
2171 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2172 masterFilename_ parameter in the include inset.
2174 * factory.C (createInset): changes due to the changes to InsetInclude.
2176 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2178 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2180 2003-09-18 Angus Leeming <leeming@lyx.org>
2183 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2184 Inset::fillWithBibKeys.
2185 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2187 2003-09-18 Angus Leeming <leeming@lyx.org>
2189 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2191 (ctor): pass and store a 'Buffer const &'
2192 (buffer): new member function.
2194 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2195 '*this' to the LaTeXFeatures ctor.
2197 2003-09-18 Angus Leeming <leeming@lyx.org>
2203 * text.C: rename EnumLColor as LColor_color.
2205 2003-09-18 Angus Leeming <leeming@lyx.org>
2207 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2208 remove #include "insets/insetbase.h" from cursor.h.
2210 2003-09-18 Angus Leeming <leeming@lyx.org>
2212 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2213 InsetOld_code to remove #include "inset.h".
2215 * iterators.C: add #include "insets/inset.h"
2217 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2219 * BufferView.C: remove more locking stuff that apparently doesn't
2220 do anything sensible.
2222 2003-09-16 André Pönitz <poenitz@gmx.net>
2225 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2228 2003-09-16 Angus Leeming <leeming@lyx.org>
2230 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2232 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2235 * paragraph.h: remove #include "lyxfont.h". Forward declare
2238 2003-09-16 Angus Leeming <leeming@lyx.org>
2240 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2241 of support/textutils.h.
2242 (isWord): move the contents of support/textutils.h's IsWordChar here.
2248 * text2.C: add #include "paragraph.h".
2251 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2253 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2259 * LaTeX.C: use namespace alias for lyx::support::os
2261 2003-09-16 Angus Leeming <leeming@lyx.org>
2264 * bufferview_funcs.C:
2267 * paragraph_pimpl.C:
2269 * text.C: add #include "LColor.h".
2271 2003-09-16 Angus Leeming <leeming@lyx.org>
2273 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2274 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2276 Store the FontBits::color variable as an int rather than as an
2277 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2280 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2281 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2282 string calls together.
2284 * lyxrc.C: add #include "LColor.h".
2286 2003-09-15 Angus Leeming <leeming@lyx.org>
2288 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2291 2003-09-15 Angus Leeming <leeming@lyx.org>
2293 * LColor.h: add an EnumLColor wrapper for LColor::color.
2295 * lyxfont.[Ch] (color, setColor, realColor):
2296 * lyxtext.h, text.C (backgroundColor):
2297 pass EnumLColor args to/from the functions, rather than LColor::color
2301 * lyxtext.h: forward declare EnumLColor.
2303 * lyx_main.C: add #include "LColor.h".
2305 2003-09-15 Angus Leeming <leeming@lyx.org>
2307 * .cvsignore: add lyx-gtk.
2309 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * ParagraphParameters.C
2318 * bufferview_funcs.C
2328 * vc-backend.C: remove usage of STRCONV
2330 2003-09-15 Angus Leeming <leeming@lyx.org>
2332 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2333 explicitly define the color passed to the painter.
2335 2003-09-15 Angus Leeming <leeming@lyx.org>
2337 * bufferparams.C (BufferParams): reorder member initializers to avoid
2340 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2342 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2343 * text.C (updateRowPositions): remove an unusual nop
2345 2003-09-12 André Pönitz <poenitz@gmx.net>
2347 * BufferView_pimpl.C:
2356 * Counters.[Ch]: finish the 'automatic counters' job
2358 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2360 * aspell.C: include <boost/assert.cpp> (compile fix)
2362 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2364 * boost.C (assertion_failed): use lyx::support::abort instead of
2367 2003-09-10 Angus Leeming <leeming@lyx.org>
2369 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2370 with their _fwd progeny.
2372 2003-09-09 Angus Leeming <leeming@lyx.org>
2374 134 files throughtout the source tree: replace 'using namespace abc;'
2375 directives with the appropriate 'using abc::xyz;' declarations.
2377 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2379 * boost.C (emergencyCleanup): moved here from LAssert.c
2380 (assertion_failed): new function, called by BOOST_ASSERT
2382 * several files: change Assert to BOOST_ASSERT
2384 2003-09-09 Angus Leeming <leeming@lyx.org>
2386 * buffer.[Ch]: Add an Impl class and move Buffer's member
2387 variables into it. As a result move several header files out of
2390 Add header files to lots of .C files all over the tree as a result.
2392 2003-09-09 Angus Leeming <leeming@lyx.org>
2394 * buffer.[Ch]: make Buffer's member variables private. Add
2397 Lots of changes all over the tree as a result.
2399 2003-09-08 Angus Leeming <leeming@lyx.org>
2401 * graph.C: #include <config.h>.
2403 2003-09-08 Angus Leeming <leeming@lyx.org>
2407 * BufferView_pimpl.C:
2436 * toc.C: remove redundant using directives.
2438 2003-09-07 Angus Leeming <leeming@lyx.org>
2440 * LaTeXFeatures.h: remove #include "support/types.h".
2441 * ToolbarBackend.h: remove #include <algorithm>.
2442 * changes.h: remove #include <ctime>.
2443 * debug.h: remove #include <iosfwd>.
2444 * graph.h: remove #include "support/std_string.h".
2445 * lyx_main.h: remove #include <csignal>.
2446 * lyxlex_pimpl.h: remove #include <fstream>.
2447 * sgml.h: remove #include <algorithm>, <utility>.
2448 * toc.h: remove #include "support/std_ostream.h".
2449 Add #include <iosfwd>.
2451 2003-09-07 Angus Leeming <leeming@lyx.org>
2453 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2455 * converter.h: forward declare LatexRunParams.
2456 * encoding.h: remove #include "lyxrc.h".
2457 * lyxtext.h: remove #include "LColor.h".
2458 * lyxtextclass.h: remove #include "support/types.h".
2459 * trans.h: remove #include "tex-accent.h".
2460 * trans_mgr.h: remove #include "tex-accent.h".
2461 * insets/inset.h: remove #include "support/types.h", <vector>.
2462 * insets/insetcollapsable.h: remove #include "LColor.h".
2463 * insets/insetinclude.h: remove #include "dimension.h".
2464 * insets/insetlatexaccent.h: remove #include "dimension.h".
2465 * insets/insetoptarg.h:: remove #include "insettext.h".
2466 * insets/insettext.h: remove #include "dimension.h",
2467 <boost/shared_ptr.hpp>
2469 * insets/renderers.h: add #include "dimension.h".
2470 * insets/updatableinset.h: add #include "support/types.h".
2472 * many .C files: Associated changes.
2474 2003-09-06 Angus Leeming <leeming@lyx.org>
2476 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2477 one, inside testInvariant.
2479 * PrinterParams.C: new file.
2480 * PrinterParams.[Ch]: move the function bodies out of line.
2482 2003-09-06 Angus Leeming <leeming@lyx.org>
2484 * ParagraphParameters.h: forward declare ParameterStruct rather than
2485 including its header file.
2486 (depth): moved out-of-line.
2488 2003-09-06 Angus Leeming <leeming@lyx.org>
2490 * BufferView_pimpl.h:
2493 * lyxfunc.h: forward declare LyXKeySym rather than
2494 #include "frontends/LyXKeySym.h".
2496 * BufferView_pimpl.C:
2499 * lyxfunc.C: associated changes.
2501 2003-09-06 Angus Leeming <leeming@lyx.org>
2503 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2504 As a result, can remove the #include "insets/inset.h" from BufferView.h
2506 2003-09-06 Angus Leeming <leeming@lyx.org>
2508 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2509 As a result, can remove the #include "insets/inset.h" from BufferView.h
2511 2003-09-06 Angus Leeming <leeming@lyx.org>
2517 * bufferview_funcs.C:
2518 * BufferView_pimpl.C:
2523 * ParagraphParameters.C:
2528 * frontends/controllers/ControlDocument.C:
2529 * insets/insetcaption.C: rearrange the #includes into some sort of
2532 * buffer.h: remove #includes ErrorList.h, undo.h
2534 2003-09-06 Angus Leeming <leeming@lyx.org>
2536 * support/types.h: add a 'depth_type' typedef, used to store the
2537 nesting depth of a paragraph.
2540 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2541 defining explicitly.
2544 * paragraph_funcs.h:
2545 * ParagraphParameters.h:
2546 * sgml.h: use lyx::depth_type rather than Paragraph or
2547 ParameterStruct's depth_type.
2550 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2553 * BufferView_pimpl.C:
2555 * ParagraphParameters.C:
2558 * bufferview_funcs.C:
2565 * frontends/LyXView.C:
2566 * frontends/controllers/ControlDocument.C:
2567 * frontends/controllers/ControlErrorList.C:
2568 * insets/insetbibitem.C:
2569 * insets/insetbranch.C:
2570 * insets/insetcaption.C:
2571 * insets/insetcollapsable.C:
2572 * insets/insetenv.C:
2573 * insets/insetert.C:
2574 * insets/insetfloat.C:
2575 * insets/insetfoot.C:
2576 * insets/insetfootlike.C:
2577 * insets/insetnewline.C:
2578 * insets/insetquotes.C:
2579 * insets/insettabular.C:
2580 * insets/insettext.C:
2581 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2583 * frontends/controllers/ControlChanges.C: #include "changes.h".
2585 2003-09-06 Angus Leeming <leeming@lyx.org>
2587 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2588 than #including paragraph.h.
2591 * RowList.h: deleted. Superfluous.
2601 * insets/insettext.h: use ParagraphList_fwd.h rather than
2604 * paragraph.h: don't forward declare ParagraphList.
2607 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2608 rather than ParagraphList.h. paragraph.h is still needed for the
2609 Paragraph::depth_type parameters.
2611 * textcursor.h: enable it to compile stand-alone in light of the
2614 * bufferview_funcs.C:
2626 * frontends/controllers/ControlParagraph.C:
2627 * frontends/controllers/ControlTabular.C:
2628 * insets/insetmarginal.C:
2629 * insets/insetminipage.C:
2630 * insets/insetnote.C:
2631 * insets/insetoptarg.C: add header files needed to compile again.
2633 2003-09-06 Angus Leeming <leeming@lyx.org>
2635 * RowList_fwd.h: new file, forward-declaring Row rather than
2636 #including lyxrow.h.
2641 * insets/insettext.h: use it instead of RowList.h
2643 * bufferview_funcs.C:
2650 * text3.C: #include "RowList.h".
2652 2003-09-05 Angus Leeming <leeming@lyx.org>
2654 * factory.C (createInset):
2655 * vspace.C (c-tor): replace sscanf call with an istringstream.
2656 * ispell.C: re-add missing HP/UX headers.
2657 * lyxserver.C: re-add missing os2 headers.
2659 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2668 * text3.C: re-add missing system headers, needed for 2.95.2.
2670 2003-09-05 Angus Leeming <leeming@lyx.org>
2672 Changes most place everywhere due to the removal of using directives
2673 from support/std_sstream.h.
2675 2003-09-05 Angus Leeming <leeming@lyx.org>
2677 Replace LString.h with support/std_string.h,
2678 Lsstream.h with support/std_sstream.h,
2679 support/LIstream.h with support/std_istream.h,
2680 support/LOstream.h with support/std_ostream.h.
2682 Changes resulting throughout the tree.
2684 2003-09-05 Angus Leeming <leeming@lyx.org>
2686 * sgml.h: ensure that the header file can be compiled stand-alone.
2687 * *.C: strip out redundant #includes. (320 in total.)
2689 2003-09-04 Angus Leeming <leeming@lyx.org>
2691 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2692 here (from getPackages).
2694 * debug.[Ch]: add a new EXTERNAL tag.
2696 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2698 * text2.C (cursorEnd): simplify
2700 (getColumnNearX): adjust
2702 * text.C (computeBidiTables): adjust
2705 * rowpainter.C (paintChars): adjust
2706 (paintSelection): adjust
2707 (paintChangeBar): adjust
2710 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2712 (numberOfSeparators): adjust
2714 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2720 * text3.C: Restricts the mouse click functionality
2721 of insets like bibtex, include, toc and floatlist to the visible
2722 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2723 up the dialogs. Cursor has to be in front of the inset (i.e.
2724 start of row) for this to function.
2726 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2728 * bufferview_funcs.C (currentState): output row information
2730 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2732 * bufferview_funcs.C (currentState): output paragraph position
2734 2003-09-04 Angus Leeming <leeming@lyx.org>
2736 * FloatList.h: move out #include "Floating.h".
2737 * LaTeX.h: move out #include "DepTable.h".
2738 * LyXAction.h: move out #include "funcrequest.h".
2739 * buffer.h: move out #include "author.h", "iterators.h".
2740 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2741 * lyx_main.h: move out #include "errorlist.h".
2742 * lyxfunc.h: move out #include "FuncStatus.h".
2743 * lyxtext: move out #include "lyxcursor.h".
2744 * paragraph_pimpl.h: move out #include "counters.h".
2746 2003-09-03 Angus Leeming <leeming@lyx.org>
2748 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2749 preamble_snippets list, enabling us to add snippets to the preamble
2750 only if the snippet was not there already.
2752 2003-09-04 Angus Leeming <leeming@lyx.org>
2754 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2756 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2761 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2763 * BranchList.C: point fix, earlier forgotten
2765 2003-09-02 Angus Leeming <leeming@lyx.org>
2767 * box.C (contains): renamed from 'contained' after a fantastic
2770 2003-09-02 John Levon <levon@movementarian.org>
2776 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2778 2003-09-02 John Levon <levon@movementarian.org>
2780 * text2.C: simplification of cursorEnd(), including partial
2783 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * buffer.C (readFile): add a space
2787 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2789 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2791 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2793 * buffer.C (readFile): new function, take a filename and a
2794 ParagraphList::iterator
2796 (readFile): adjust, make it private. don't use setStream, make
2797 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2798 always contain the filename.
2800 * BufferView.C (insertLyXFile): simplify and make it work for
2803 2003-08-30 John Levon <levon@movementarian.org>
2805 * Makefile.am: fix dist (from Kayvan)
2807 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * most files: change to use const Buffer refs
2811 2003-08-27 André Pönitz <poenitz@gmx.net>
2813 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2814 on top of ownerPar().
2816 2003-08-27 John Levon <levon@movementarian.org>
2818 * funcrequest.C: properly initialise POD members
2820 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2822 * lyxtext.h (top_y): move top_y from here
2827 * BufferView_pimpl.[Ch]: to here
2828 * frontends/screen.C:
2829 * insets/insettabular.C:
2830 * insets/insettext.C: adjust
2831 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2833 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2836 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2838 2003-08-26 André Pönitz <poenitz@gmx.net>
2840 * paragraph_func.[Ch] (outerPar): new function
2843 * paragraph_funcs.C:
2844 * paragraph_funcs.h:
2845 * paragraph_pimpl.C:
2846 * text2.C: remove Inset::par_owner
2848 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2853 * text2.C: eliminates the needFullRow/display() stuff
2854 altogether, putting the logic in metrics/draw in the insets.
2856 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2858 * text2.C (redoParagraphInternal, redoParagraphs):
2859 * text.C (redoParagraph): add a call to updateRowPositions at the
2860 end of each 'metrics-like' call. Remove all others.
2861 (getRow): remove the 'y-computing' version.
2862 (getRowNearY): do not compute nor return the real y. Solve the
2863 'y < 0' problem and simplify.
2865 2003-08-22 Angus Leeming <leeming@lyx.org>
2867 * *.[Ch]: clean-up of licence and author blurbs.
2868 Also move config.h out of a few .h files and into a few .C files.
2870 2003-08-22 André Pönitz <poenitz@gmx.net>
2872 * lyxrow.[Ch]: add x_ and *fill_ members
2877 * text2.C: adjust/remove prepareToPrint() calls
2879 2003-08-22 André Pönitz <poenitz@gmx.net>
2881 * lyxrow.[Ch]: add end_ member
2883 * lyxrow_funcs.C: use LyXRow::end_
2885 * lyxtext.h (singleWidth): add LyXFont parameter
2888 * text2.C: adjust LyXText::singleWidth() calls
2890 * text.C (redoParagraph): simplify row breaking logic
2893 2003-08-19 André Pönitz <poenitz@gmx.net>
2895 * funcrequest.C: initialize button_ member
2898 * rowpainter.[Ch]: interface consolidation
2900 2003-08-18 André Pönitz <poenitz@gmx.net>
2903 * BufferView_pimpl.C:
2905 * paragraph_funcs.C:
2907 * text3.C: remove LyXScreen::draw() and fitCursor calls
2909 * BranchList.h: remove spurious semicolons
2911 * MenuBackend.C: fix branchlist related crash
2913 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2921 * bufferparams.[Ch]:
2925 * text3.C: implements the 'branch inset'
2926 idea. This allows the output of various versions of a document
2927 from a single source version, selectively outputing or suppressing
2928 output of parts of the text.
2929 This implementation contains a 'branch list editor' in a separate
2930 tab of the document settings dialog. Branches are user definable
2931 and have a "display colour" to distinguish them on-screen.
2933 ColorHandler was somewhat cleaned up.
2934 (1) make possible a dynamically growing LColor list by allowing
2935 the graphic context cache to grow along (vector);
2936 (2) eliminate an IMHO unnecessary step in colour allocation.
2938 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2940 * BufferView_pimpl.C: compile fix
2942 2003-08-15 André Pönitz <poenitz@gmx.net>
2944 * rowpainter.C: remove extra metrics calls
2946 * lyxtext.h: merge the two constructors into a single one,
2947 pass reference to owner's par list
2949 * BufferView_pimpl.C:
2953 2003-08-15 André Pönitz <poenitz@gmx.net>
2955 * lyxrow_funcs.[Ch]:
2958 * paragraph_funcs.C:
2963 * text_funcs.C: split LyXText::rowlist_ into individual
2964 Paragraph::rows_ chunks
2967 * BufferView_pimpl.[Ch]:
2970 * text3.C: remove toggleSelection()
2972 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2974 * bufferlist.C: beautify two alerts (shorter text of buttons)
2975 * buffer.C: Remove redundant ' ' from message
2977 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2978 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2979 rename VALIGN_CENTER to VALIGN_MIDDLE
2981 2003-08-11 André Pönitz <poenitz@gmx.net>
2983 * lyxtext.h (getPar):
2984 * text.C: new function
2986 2003-08-11 André Pönitz <poenitz@gmx.net>
2989 * tracer.[Ch]: remove unneeded files
2991 * InsetList.[Ch]: remove resizeInsetsLyXText()
2996 * text3.C: merge insertParagraphs() and appendParagraph()
2997 remove breakAgain(), update()
2999 * BufferView_pimpl.[Ch]:
3000 * bufferview_funcs.[Ch]:
3004 * tabular.C: adjust after text & InsetList changes.
3006 2003-08-08 André Pönitz <poenitz@gmx.net>
3008 * text.C (insertChar, backspace): replace rowlist fiddling
3009 with rebreak of full par
3012 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3013 checkParagraph, updateInset): removed
3015 2003-08-07 André Pönitz <poenitz@gmx.net>
3018 * text3.C: merge some LFUN handlers, remove dead code
3020 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3024 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3026 * text2.C (DEPM): fix part of bug 1255 and 1256
3028 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3030 * BufferView_pimpl.C (workAreaDispatch): change to use
3031 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3032 that are no mouse related.
3034 2003-08-05 André Pönitz <poenitz@gmx.net>
3037 * BufferView_pimpl.[Ch]:
3038 * bufferview_funcs.C:
3040 * text3.C: rip out "deep update"
3042 * textcursor.[Ch] (last_sel_cursor): remove unused member
3044 2003-08-04 André Pönitz <poenitz@gmx.net>
3047 * BufferView_pimpl.[Ch]:
3048 * ParagraphParameters.C:
3049 * bufferview_funcs.C:
3055 * text3.C: replace "complicated" BufferView::update(...) calls with
3058 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3060 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3062 * Makefile.am (lyx_SOURCES): add paper.h
3064 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3066 * Makefile.am: move things around so that both lyx-qt and
3067 lyx-xforms can be built (according to --with-frontend). Then lyx
3068 is a symbolic link to lyx-[firstfrontend]
3070 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3072 * Always use std::endl with lyxerr
3074 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3076 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3078 2003-08-01 André Pönitz <poenitz@gmx.net>
3081 * BufferView_pimpl.[Ch]:
3083 * text3.C: merge BufferView::repaint() and BufferView::update()
3085 2003-08-01 José Matos <jamatos@lyx.org>
3087 * buffer.[Ch]: file_format is no longer a buffer data element.
3089 2003-08-01 André Pönitz <poenitz@gmx.net>
3094 * text2.C: make redoParagraph more independent of current cursor
3096 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3098 * text2.C: remove unneeded members
3100 2003-07-30 André Pönitz <poenitz@gmx.net>
3102 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3104 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3105 create a single function...
3107 * paragraph_funcs.C (moveItem): ... here.
3110 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3112 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3114 * LColor.[Ch]: Add comment and greyedout logical colors.
3116 2003-07-30 André Pönitz <poenitz@gmx.net>
3118 * tabular.C: don't use Assert too heavily. This crashes where it
3121 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3123 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3124 is disabled (bug 1232)
3126 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3128 * factory.C: limited 'arg' scope
3130 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3132 * factory.C: fixed Note submenu issues
3134 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3136 * factory.C: submenu for Note/Comment/Greyedout
3138 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3141 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3143 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3146 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3147 greyedout. Patch provided by Jürgen Spitzmüller.
3149 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3151 * kbmap.C (read): fix error message when reading bind files
3153 2003-07-29 Angus Leeming <leeming@lyx.org>
3155 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3156 certainly does not do what it purports to do. I am doing it, and
3157 us, a favour by killing it.
3159 2003-07-28 José Matos <jamatos@lyx.org>
3161 * buffer.C (readBody, do_writeFile):
3162 * paragraph.C(readParagraph): \end_document replaces \the_end.
3164 2003-07-29 André Pönitz <poenitz@gmx.net>
3167 * BufferView_pimpl.[Ch]:
3171 * textcursor.[Ch]: remove toggleToggle & Co
3173 2003-07-28 José Matos <jamatos@fep.up.pt>
3175 * buffer.C (readParagraph):
3176 * params_func (readParToken, readParagraph):
3177 * paragraph.C (write): \layout -> \begin_layout.
3179 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * lyxlex_pimpl.C (setFile): clean up slightly.
3183 * bufferparams.h: add compressed var
3185 * buffer_funcs.C (readFile): adjust for LyXLex change
3186 (newFile): ditto + simplify
3188 * buffer.C (writeFile): handle writing of compressed files
3190 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3191 Check if the file is compressed and set a bufferparm if so.
3193 * Makefile.am (lyx_LDADD): remove explicit -lz
3195 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3197 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3198 makeDocBookFile): put the real LyX version in the first line of
3202 * version.C.in: remove lyx_docversion
3204 * tabular.C (write_attribute): add a template-based version to
3205 write enums properly
3207 2003-07-28 André Pönitz <poenitz@gmx.net>
3212 * text3.C: use doubles again for x-coordinates. They are needed.
3214 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * messages.C (getLocaleDir): use lyx_localedir()
3218 * lyxlex_pimpl.C (setFile): compress stuff
3220 * buffer.C (writeFile): add some compression stuff
3221 (do_writeFile): new func, dont call expliti close... will this
3224 * Makefile.am (lyx_LDADD): add -lz
3226 2003-07-28 José Matos <jamatos@fep.up.pt>
3228 * buffer.C: increment file format.
3229 * paragraph_funcs (readParagraph, readParToken):
3230 * paragraph.C (readParagraph): add \end_layout.
3232 2003-07-27 Angus Leeming <leeming@lyx.org>
3234 * Makefile.am: remove special casing for configure-time setting of
3235 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3237 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3238 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3240 2003-07-26 André Pönitz <poenitz@gmx.net>
3242 * paragraph_func.[Ch]:
3243 * paragraph.C (realizeFont): inline it whereever it is used
3248 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3251 2003-07-26 André Pönitz <poenitz@gmx.net>
3255 * text2.C: get rid of LyXText::need_break_row
3257 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * toc.[Ch]: put namespace toc inside namespace lyx
3261 * MenuBackend.C (expandToc2): adjust for lyx::toc
3264 * lyxfunc.C (dispatch): adjust for lyx::find
3266 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3267 lyx::find instead. Reorganize a bit.
3268 (LyXReplace): rename to replace
3269 (LyXFind): rename to find
3271 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3274 2003-07-26 André Pönitz <poenitz@gmx.net>
3276 * text.C (setHeightOfRow): restrict scope of temporary variable
3278 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3279 code (never has been used?)
3281 2003-07-27 Asger Alstrup <alstrup@local>
3283 * text.C (fill): Optimise algorithm to exploit that we can reuse
3284 the LyXFont for many characters.
3285 (setHeightOfRow): Same thing.
3286 (rowBreakPoint): Same thing.
3288 2003-07-26 Asger Alstrup <alstrup@local>
3290 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3292 * text.C (singleWidth): Spurious font copying in hot-spot
3293 singleWidth avoided. Reorder tests for arabic for efficiency.
3295 * text.C (fill): handle empty paragraphs better.
3297 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3300 * encoding.h: add includes
3302 * lyxrc.C: remove reading of bind files
3304 * lyx_main.C (init): setup bindings and menus only if we have a
3307 * kbmap.C (read): new method. Do the actual reading of bind
3310 * converter.C (dvipdfm_options):
3313 (output): adapt PAPER_* enums.
3315 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3317 * bufferparams.h: remove paper-related enums from there
3319 * paper.h: New file. A trivial header file to hold paper-related
3320 enums. It should later expand to contain many paper-related
3323 * lyxrc.C: declare extern displayTranslator
3325 2003-07-27 José Matos <jamatos@fep.up.pt>
3327 * tabular.[Ch] (linuxdoc): add support for tables and figures
3330 2003-07-27 José Matos <jamatos@fep.up.pt>
3332 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3333 consistency in both functions.
3334 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3336 2003-07-26 Asger Alstrup <alstrup@local>
3338 * rowpainter.C (paintRows): Change algorithm to work directly on
3339 the insets rather than asking every character in the document
3340 whether its an inset.
3342 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3344 * buffer.C (openFileWrite): factorize some code
3346 2003-07-26 Angus Leeming <leeming@lyx.org>
3349 * lyx_main.[Ch]: replace occurances of system_tempdir with
3352 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * rename Inset to InsetOld
3356 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3358 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3359 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3360 which I think is a bit clearer. EDIT is gone, since it was
3361 premature optimisation, and broken for mathed anyway.
3362 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3363 with cursor positioning in insets as well (math insets still do not
3364 work, but that's a different story anyway.) It mysteriously
3365 crashes sometimes with undo in the first paragraph, but I'm fairly
3366 confident that this is a compiler bug.
3368 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * paragraph.C (Paragraph): adjust for new clone return type
3372 (copyIntoMinibuffer): ditto
3374 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3376 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3377 by not having a special case, and always doing a full rebreak of
3378 the document after undo.
3380 2003-07-23 Angus Leeming <leeming@lyx.org>
3382 * factory.C (createInset): InsetExternal::setParams now takes a
3385 2003-07-23 Angus Leeming <leeming@lyx.org>
3387 * factory.C (createInset): changed interface to the external and
3388 graphics mailers' string2params functions.
3390 2003-07-23 Angus Leeming <leeming@lyx.org>
3392 * factory.C (createInset): pass a
3393 Buffer const * parameter to InsetExternalMailer's string2params.
3395 2003-07-22 John Levon <levon@movementarian.org>
3397 * Thesaurus.h: include the right aiksaurus header
3399 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3401 * MenuBackend.C (expand): check menu shortcuts unconditionally
3403 2003-07-21 Angus Leeming <leeming@lyx.org>
3405 * factory.C (createInset): pass a
3406 buffer_path parameter to InsetGraphicsMailer's string2params.
3408 2003-07-21 Angus Leeming <leeming@lyx.org>
3410 * BufferView_pimpl.C (buffer):
3413 * lyxfunc.C (dispatch):
3414 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3415 rather than the grfx shortcut.
3417 2003-07-21 André Pönitz <poenitz@gmx.net>
3419 * rowpainter.C: remove unused variables
3422 * tabular_funcs.h: move to tabular.C
3423 * Makefile.am: adjust
3425 * tabular.[Ch]: basic optical cleaning
3427 * author.h: pass references, not values
3429 2003-07-18 André Pönitz <poenitz@gmx.net>
3437 * text3.C: two-phase drawing for InsetText and InsetTabular
3438 some float -> int changes.
3440 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3442 * lyx_main.C: fix the fix
3444 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3446 * lyx_main.C: fix a crash in batch mode if no files specified
3449 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3451 * format.[Ch] (papersize): moved to BufferParams
3452 * converter.[Ch] (dvips_options): moved to BufferParams
3453 (dvipdfm_options): moved to anon namespace
3454 * bufferparams.[Ch]: added above functions.
3456 2003-07-17 André Pönitz <poenitz@gmx.net>
3460 * text2.C: don't call inset->update() anymore
3462 * metricsinfo.[Ch]: add convenience constructor
3464 2003-07-16 André Pönitz <poenitz@gmx.net>
3469 * text2.C: replace the LyXCursor::irow_ member with
3470 on-demand computation of the value
3472 2003-07-16 John Levon <levon@movementarian.org>
3474 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3476 2003-07-15 André Pönitz <poenitz@gmx.net>
3479 * text2.C: remove no more needed refresh_row
3481 2003-07-15 André Pönitz <poenitz@gmx.net>
3486 * text3.C: refresh_status tristate -> need_update bool
3488 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3490 * lyxtext.h (init): remove reinit argument (act as if always true)
3491 * text2.C: adjust to that
3493 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3495 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3496 * text3.C: use it to delete selections in some cases
3497 (bugs 441, 673, 702, 954).
3499 2003-07-14 André Pönitz <poenitz@gmx.net>
3501 * rowpainter.[Ch]: reduce interface
3503 2003-07-14 André Pönitz <poenitz@gmx.net>
3505 * BufferView_pimpl.C:
3506 * text2.C: adjust after removing unused BufferView * argument
3508 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3510 * text2.C (init): fix a crash fired on resize
3512 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3514 * buffer.[Ch]: added new closing signal
3515 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3516 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3517 BufferView::Pimpl via the closing the signal
3519 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3521 * buffer.[Ch]: take out all bv-related from buffer
3523 * BufferView_pimpl.[Ch]: connect to new signals
3524 * CutAndPaste.C: removed useless asserts
3525 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3528 * lyxfunc.C: moved view-related funciontality from vc here
3529 * paragraph.C: removed outdated comments
3532 2003-07-10 André Pönitz <poenitz@gmx.net>
3534 * BufferView_pimpl.C:
3538 * text2.C: remove InsetText::InnerCache, clean up consequences
3540 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3542 * ispell.C: fix two typos in error messages
3544 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3546 * Extend Note inset to other forms of annotation like Comment
3547 and Greyedout. Right button click gives dialog.
3549 Files modified or added (+):
3553 * ControlNote.[Ch] +
3555 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3556 frontends/controllers
3560 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3562 * aspell.C: add missing namespace lyx::support
3564 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3566 * BufferView.[Ch] (newFile): Add
3567 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3568 * LaTeX.[Ch] (message): added this signal and use it
3569 * buffer.[Ch] (busy, message): added these signals and use them
3570 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3574 * importer.C: use buffer signals instead of direct bv calling
3575 * lyx_cb.[Ch] (ShowMessage): removed
3578 * paragraph_funcs.C:
3579 * text2.C: use buffer signals
3581 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * introduce namespace lyx::graphics
3585 2003-07-02 André Pönitz <poenitz@gmx.net>
3587 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3589 2003-07-01 André Pönitz <poenitz@gmx.net>
3596 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3597 text*.C to text_func.C
3599 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * introduce namespace lyx::support
3603 2003-06-30 André Pönitz <poenitz@gmx.net>
3608 * text.C: re-enable --with-included-string
3610 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * textcursor.C: add <config.h>
3614 * text.C (getWord): remove const from word_location arg
3616 * lyxvc.C (getLogFile): fix const type order
3618 * lyxtext.h: remove const from word_location arg, add arg name
3620 * lyxlayout.h: currect type on labeltype.
3622 * importer.C: correct \file
3624 * converter.C (intToFormat): use std:: on ret val, ws changes
3626 * bufferlist.h: correct \file
3628 * buffer.C (makeLinuxDocFile): fix const type order
3629 (makeDocBookFile): ditto
3630 (fillWithBibKeys): use std:: on stdlib args.
3632 * CutAndPaste.C: fix authors.
3633 (availableSelections): use std:: on return vector
3635 2003-06-27 André Pönitz <poenitz@gmx.net>
3637 * BufferView_pimpl.C:
3638 * bufferview_funcs.C:
3646 * text3.C: remove LyXCursor::row_ member
3649 * text.C: rename fullRebreak() to partialRebreak() and implement
3650 a fullRebreak() that really bereks fully
3652 * textcursor.h: new struct for cursor-related data
3654 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3656 * lyx_main.C (LyX): get full path of document loaded on the
3659 2003-06-26 André Pönitz <poenitz@gmx.net>
3661 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3662 remove unused/broken operator>,<,>=.
3664 * text.C: remove only use of broken operator<= in an Assert().
3666 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3668 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3669 moved errorlist_.clear to showErrorList
3671 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3673 * converter.C (scanLog, runLaTeX):
3674 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3675 move the bv->showErrorList call to the callers
3676 * lyxfunc.C: i.e. here...
3678 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3679 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3680 namespace, the second to...
3681 * buffer_funcs (BufferFormat, parseErrors): added
3682 * errorlist.C (ErrorList(TeXErrors const &)): removed
3684 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3686 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3688 2003-06-24 "Garst R. Reese" <reese@isn.net>
3692 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3694 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3696 * version.C.in: change docversion to 1.4
3698 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3700 * buffer.C: fix a bug just introduced
3702 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3704 * buffer.[Ch]: added the parseError signal and use it, removed
3706 * BufferView.[Ch] (addError): moved to ...
3707 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3708 to the Buffer::parseError signal to catch (guess what) parse errors
3709 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3711 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3713 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3714 ability to create a buffer and to return an existing one from
3715 the list. Moved these functions to...
3716 * buffer_funcs.[Ch]: added
3717 * BufferView.[Ch] (loadLyXFile): added
3718 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3719 job removed from bufferlist::loadLyXFile.
3720 * buffer.C (setReadOnly): make it work without view
3721 (i.e added an if (users))
3723 2003-06-19 Angus Leeming <leeming@lyx.org>
3726 * LyXAction.C (init):
3727 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3728 with LFUN_DIALOG_SHOW <name> <data>.
3730 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3732 * CutAndPaste.C (availableSelections): small compilation fix for
3733 ancient (gcc 2.9x) compilers
3735 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * text3.C (cursorNext): add tmp var
3739 * text2.C (updateCounters): for function calling out of for clause
3740 (replaceSelectionWithString): ditto
3741 (insertStringAsParagraphs): ditto
3742 (getColumnNearX): add tmp var
3743 (setCursorFromCoordinates): add tmp var
3744 (cursorDownParagraph): add tmp var
3745 (deleteEmptyParagraphMechanism): add tmp var
3747 * text.C (insertChar): add tmp var
3749 * rowpainter.C (paintDepthBar): add tmp var
3751 * CutAndPaste.C (availableSelections): potentially check all
3752 paragraphs in a cut to fill the shown strings.
3754 2003-06-18 André Pönitz <poenitz@gmx.net>
3756 * kbmap.[Ch]: use vector<> instead of list<>
3758 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3760 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3761 pasteSelection with index
3763 * text2.C (pasteSelection): modify, call pasteSelection with index
3765 * paragraph.C (asString): reimplement version with no interval to
3766 call the one with interval.
3768 * lyxtext.h: add index arg to pasteSelection
3770 * MenuBackend.C (MenuItem): handle PasteRecent
3771 (Menu::read::Menutags): add md_pasterecent
3773 (expandPasteRecent): new function
3776 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3778 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3780 (availableSelections): new function
3782 2003-06-17 Angus Leeming <leeming@lyx.org>
3784 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3786 2003-06-17 Angus Leeming <leeming@lyx.org>
3789 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3791 * lyxfunc.C (dispatch): invoke it.
3793 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3795 * iterators.C (operator++, ParPosition): reintroduce some
3796 const_cast for the benefit of older compilers.
3798 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3800 * text3.C (dispatch): do not modify clipboard when doing
3801 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3802 LFUN_DELETE_SKIP on a selection selection
3804 2003-06-16 André Pönitz <poenitz@gmx.net>
3810 * tabular.[Ch]: IU of clone() and getLabelList();
3812 2003-06-13 André Pönitz <poenitz@gmx.net>
3814 * tabular.h: compactification
3816 2003-06-12 André Pönitz <poenitz@gmx.net>
3820 * tabular_funcs.h: some renaming plus whitespace
3822 2003-06-12 André Pönitz <poenitz@gmx.net>
3825 * BufferView_pimpl.C:
3831 * toc.C: Return a Paragraph & for ParIterator::operator*()
3833 2003-06-11 John Levon <levon@movementarian.org>
3837 * ToolbarBackend.C: add "Toolbars" section and
3840 2003-06-10 Angus Leeming <leeming@lyx.org>
3843 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3845 * lyxfunc.C (dispatch): invoke it.
3847 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * main.C: protect <ios> with HAVE_IOS
3850 (main): protect sync_with_stdio with HAVE_IOS
3852 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3854 * text2.C (cutSelection): adjust
3855 (pasteSelection): adjust
3857 * messages.C: handle get of empty string
3859 * main.C (main): use sync_with_stdio(false)
3861 * lyxfunc.C (dispatch): adjust
3863 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3864 (WriteAs): remove unneeded BufferView arg.
3866 * bufferparams.h: use correct types on papersize, papersize2 and
3869 * bufferparams.C (readToken): adjust for type
3870 (writeLaTeX): add missing cases to switch.
3872 * bufferlist.C (quitWriteBuffer): adjust
3875 * buffer.C (asciiParagraph): remove some commented code.
3877 * CutAndPaste.C: remove current_view extern variable.
3878 (cutSelection): add BufferParams arg.
3879 (eraseSelection): add BufferParams arg.
3880 (pasteSelection): add Buffer const & arg
3882 2003-06-07 John Levon <levon@movementarian.org>
3885 * paragraph_funcs.C:
3886 * paragraph_pimpl.C:
3890 * paragraph.C: allow InsetERT to freely space lines,
3891 and some consolidation of code
3893 2003-06-06 José Matos <jamatos@fep.up.pt>
3895 * buffer.C (makeDocBookFile): fix bug #821
3897 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3899 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3901 2003-06-04 Angus Leeming <leeming@lyx.org>
3903 * buffer.C: bump format to 224.
3905 2003-06-05 André Pönitz <poenitz@gmx.net>
3907 * text2.C (redoParagraphs): remove two const_cast<>
3909 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3911 * ParagraphList.h: remove last remnants of NO_STD_LIST
3913 2003-06-03 Angus Leeming <leeming@lyx.org>
3915 * factory.C (createInset): small change to the way InsetExternal's params
3918 2003-06-04 André Pönitz <poenitz@gmx.net>
3920 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3922 * paragraph_pimpl.h:
3923 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3925 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3927 * undo_funcs.C: make some simple cases of undo work again
3929 2003-06-03 John Levon <levon@movementarian.org>
3931 * ispell.C: HPUX doesn't have sys/select.h
3934 2003-06-03 John Levon <levon@movementarian.org>
3936 * CutAndPaste.C: update tabular and include inset
3941 * paragraph.C: remove owningBuffer(), don't pass Buffer
3944 * factory.C: insetGraphicsParams changed
3946 2003-06-02 John Levon <levon@movementarian.org>
3952 * text3.C: remove insetparent
3954 2003-06-02 John Levon <levon@movementarian.org>
3957 * buffer.C: fix inset_iterator.end(), move out of line
3960 2003-06-01 John Levon <levon@movementarian.org>
3962 * text3.C: use a proper cut/paste when doing inset
3963 insert (from Jürgen Spitzmüller)
3965 2003-06-01 John Levon <levon@movementarian.org>
3967 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3969 2003-05-30 André Pönitz <poenitz@gmx.net>
3971 * rowpainter.C: unify second drawing phase
3973 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * trans_mgr.C: remove one case of current_view
3977 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3979 * paragraph_funcs.h: remove paragraph.h include
3981 * paragraph.h: delete NO_STD_LIST stuff
3983 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3985 * buffer.h: remove paragraph.h include
3987 * ParagraphList.C: delete file
3989 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3991 * toc.C (getTocList): adjust
3993 * paragraph_pimpl.C (validate): adjust
3995 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3997 * paragraph.C (Paragraph): adjust
3998 (getPositionOfInset): use const_iterator, adjust
3999 (bibitem): use const_iterator, adjust
4000 (setInsetOwner): adjust
4002 * iterators.C (operator++): adjust
4004 * InsetList.[Ch]: Replace selfmade iterator with standard
4005 vector::iterator also introduce const_iterator. Remove getPos,
4006 getInset and setInset from InsetTable. Adjust accordingly.
4008 * BufferView.C (lockInset): adjust
4009 (ChangeInsets): adjust
4011 * tabular.[Ch]: delete commented same_id functions
4013 2003-05-28 John Levon <levon@movementarian.org>
4015 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4017 2003-05-28 André Pönitz <poenitz@gmx.net>
4019 * metricsinfo.[Ch]: remove 'fullredraw' member
4021 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4023 * lyxtextclass.C (operator): remove caching.
4025 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * text2.C (cursorBottom): adjust
4030 (setCounter): use ParagraphList::find, adjust
4032 * text.C (workWidth): use ParagraphList::find, adjust
4034 * lyxcursor.C (LyXCursor): adjust
4036 * buffer.C (inset_iterator): adjust
4038 * ParagraphList.h: make iterator(value_type) private, make
4039 ParagraphList a friend of iterator.
4041 * ParagraphList.C (find): new function
4043 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4045 2003-05-27 André Pönitz <poenitz@gmx.net>
4047 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4049 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4053 2003-05-26 John Levon <levon@movementarian.org>
4055 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4057 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * remove same_id from function signatures, adjust.
4061 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4065 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4067 * paragraph.C (Paragraph): get rid of same_ids parameter
4069 * ParagraphList.C (insert): adjust
4072 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * paragraph_funcs.C (breakParagraph): adjust
4075 (breakParagraphConservative): adjust
4077 * buffer.C (readParagraph): adjust
4079 * ParagraphList.C (insert): take a reference instead of a pointer
4082 * paragraph.[Ch] (id): new function
4084 * bufferlist.C (newFile): adjust
4086 * ParagraphList.C (ParagraphList): adjust
4088 (push_back): take a reference instead of a pointer.
4090 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4092 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4095 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4096 set else use old code.
4098 * ParagraphList.C: remove all NO_NEXT code and only compile this
4099 code of NO_STD_LIST is set.
4101 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4103 * BufferView_pimpl.C:
4113 * graphics/GraphicsConverter.C:
4114 * graphics/PreviewLoader.C: header adjustment
4116 2003-05-23 Angus Leeming <leeming@lyx.org>
4118 * LaTeXFeatures.[Ch] (useBabel): new method.
4119 * bufferparams.C (writeLaTeX): use it.
4121 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * ParagraphList.h (set): remove unused function.
4125 2003-05-23 André Pönitz <poenitz@gmx.net>
4128 * BufferView_pimpl.C:
4132 * undo_funcs.C: setUndo reworked
4134 * iterators.[Ch]: add access to topmost ParagraphList
4136 * lyxtext.[Ch] (workWidth): add a const
4138 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4140 * texrow.[Ch] (increasePos): remove function
4141 * exporter.C (export): removed unused var and outdated comment
4143 2003-05-23 Angus Leeming <leeming@lyx.org>
4145 * latexrunparams.h: rename fragile as moving_arg.
4146 * paragraph.C (simpleTeXOnePar): ditto.
4147 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4149 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4153 (textUndoOrRedo): comment out a currently unused var.
4155 * paragraph.h (NO_NEXT): enable NO_NEXT
4157 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4159 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4161 * exporter.C (Export): adjust for removeAutoInsets removal.
4163 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4165 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4167 * BufferView.[Ch] (removeAutoInsets): delete function
4169 2003-05-22 Angus Leeming <leeming@lyx.org>
4171 * latexrunparams.h: add a free_spacing variable.
4173 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4174 to pass moving_arg, as the data is stored in runparams.fragile.
4176 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4177 to Inset::latexOptional or to simpleTeXOnePar.
4179 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4180 free_spacing arg to Inset::latexOptional.
4182 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4185 2003-05-22 Angus Leeming <leeming@lyx.org>
4187 * latexrunparams.h: add fragile and use_babel variables.
4189 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4190 * buffer.C (makeLaTeXFile): store this returned value in
4191 runparams.use_babel, thus passing it to the inset::latex methods.
4193 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4194 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4196 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4197 longer has a fragile arg, as it is stored in runparams.fragile.
4199 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4200 moving_arg parameter as the data is stored in runparams.fragile.
4202 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4203 a fragile parameter as the data is stored in runparams.fragile.
4205 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4209 2003-05-22 Angus Leeming <leeming@lyx.org>
4211 * latexrunparams.h: add a 'bool nice' which defaults to false.
4213 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4214 now encapsulated within runparams.
4216 * bufferlist.C (updateIncludedTeXfiles):
4217 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4219 2003-05-22 Angus Leeming <leeming@lyx.org>
4221 * latexrunparams.h: new file containing struct LatexRunParams.
4222 * Makefile.am: add new file.
4224 * LaTeX.[Ch] (c-tor, run):
4225 * buffer.[Ch] (makeLaTeXFile):
4226 * bufferlist.[Ch] (updateIncludedTeXfiles):
4227 * converter.C (convert, scanLog):
4228 * converter.[Ch] (runLaTeX):
4229 * exporter.C (Export):
4230 * paragraph.[Ch] (simpleTeXOnePar):
4231 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4232 * paragraph_funcs.[Ch] (latexParagraphs):
4233 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4234 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4235 pass around a LatexRunParams parameter.
4237 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * paragraph.[Ch]: remove unused constructor
4241 * ParagraphList.C (erase): new function, taking two iterators
4243 2003-05-22 André Pönitz <poenitz@gmx.net>
4245 * undo_funcs.C: remove duplicated code
4247 * iterator.[Ch]: operator=
4249 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * tabular.C (SetMultiColumn): ws changes
4253 * rowpainter.C (paintFirst): get rid of a ->previous
4255 * lyx_cb.C (getPossibleLabel): parlist simplification
4257 * BufferView.C (ChangeInsets): simplify slightly.
4259 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4261 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4262 * lfuns.h: new LFUN_SPACE
4263 * lyxfunc.C: protected space has a new lfun
4264 * paragraph_funcs.C: read new space insets
4266 * factory.C: handle new space insets
4268 2003-05-22 André Pönitz <poenitz@gmx.net>
4271 * BufferView_pimpl.C:
4274 * undo_funcs.C: return a ParIterator from getParFromID.
4276 * iterators.[Ch]: add two const's
4278 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * toc.C (getTocList): adjust
4282 * iterators.[Ch]: rework for parlist
4284 * buffer.C (par_iterator_begin): adjust
4285 (par_iterator_end): adjust
4287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4289 * BufferView.C (removeAutoInsets): adjust
4290 (ChangeInsets): adjust
4292 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4294 * text.C (top_y): fix bug 1110
4296 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4298 * errorlist.[Ch]: added
4301 * BufferView_pimpl.C:
4302 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4305 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * Makefile.am: ensure that lyx is relinked upon changes to the
4308 various "convenience" libs.
4310 2003-05-20 Angus Leeming <leeming@lyx.org>
4312 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4313 files are compiled in alphabetical order again.
4315 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4317 2003-05-19 Angus Leeming <leeming@lyx.org>
4319 * gettext.[Ch]: remove "char const * _(char const *)".
4321 2003-05-19 André Pönitz <poenitz@gmx.net>
4323 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4332 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4334 2003-05-19 André Pönitz <poenitz@gmx.net>
4338 * lyxtextclass.[Ch]:
4340 * paragraph_funcs.[Ch]:
4342 * text3.C: more insetenv work
4344 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4346 * ParagraphParameters.C (params2string): small bug fixed
4348 2003-05-16 André Pönitz <poenitz@gmx.net>
4351 * bufferview_funcs.C: patch from Kornel Benko to prevent
4352 crash when _(...) is called twice in a statement
4354 2003-05-16 André Pönitz <poenitz@gmx.net>
4361 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4363 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4365 * lyx_main.C (init): remove spurious static_cast
4367 2003-05-14 André Pönitz <poenitz@gmx.net>
4369 * BufferView.C: fix format string
4371 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4373 * BufferView.[Ch] (insertErrors): removed
4374 * BufferView.[Ch] (showErrorList): added
4375 * buffer.C (runChkTeX):
4376 * converter.C (scanLog): call showErrorList instead of inserterrors
4378 2003-05-13 André Pönitz <poenitz@gmx.net>
4380 * BufferView_pimpl.C:
4382 * bufferview_func.C:
4389 * tabular_funcs.h: tostr() from its own header
4391 * ParagraphParameters.C:
4396 * text3.C: STRCONV()
4398 2003-05-12 André Pönitz <poenitz@gmx.net>
4401 * BufferView_pimpl.C:
4405 * ParagraphParameters.C:
4409 * bufferview_funcs.C:
4422 * paragraph_funcs.C:
4426 * text3.C: boost::format -> bformat all over the place
4429 2003-05-09 André Pönitz <poenitz@gmx.net>
4431 * LColor.[Ch]: Pimpl the #include <map> away
4433 2003-05-09 John Levon <levon@movementarian.org>
4435 * bufferlist.C: never remove emergency saves
4437 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * Makefile.am: better lib building
4441 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4445 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4446 (simpleTeXSpecialChars): adjust
4447 (simpleTeXSpecialChars): adjust
4448 * paragraph.C (simpleTeXOnePar): adjust
4449 * buffer.C (makeLaTeXFile): adjust
4451 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4453 * text2.C (changeDepth): parlist cleanup
4454 (getColumnNearX): ditto
4456 * rowpainter.C (getLabelFont): parlist cleanup
4458 * bufferlist.C (newFile): parlist cleanup
4460 * CutAndPaste.C (eraseSelection): parlist cleanup
4462 * BufferView_pimpl.C (trackChanges): parlist cleanup
4465 * BufferView.C (lockInset): parlist cleanup.
4466 (ChangeInsets): ditto
4468 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * CutAndPaste.h: Update file header.
4472 * CutAndPaste.C: Update file header.
4473 Store the parts cut out of the Document in a limited_stack.
4474 (copySelection): adjust
4475 (pasteSelection): new function, takes the index in the limited stack.
4476 (nrOfParagraphs): adjust
4477 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4478 simplify error inset insertion.
4479 (checkPastePossible): adjust
4481 2003-05-06 John Levon <levon@movementarian.org>
4483 * text2.C: don't cast wrap inset to float
4485 2003-05-05 André Pönitz <poenitz@gmx.net>
4488 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4490 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4491 few naked Paragraph *.
4493 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4495 * bufferparams.C: Output warning if a document with missing
4496 TeX document class is loaded
4497 * exporter.C: Disable TeX exports if the document class is missing
4500 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4501 isTeXClassAvailable()
4503 2003-05-03 John Levon <levon@movementarian.org>
4506 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4507 explicit cursor show/hide
4509 * BufferView_pimpl.h:
4510 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4511 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4513 * lyxfunc.C: hide cursor before dispatching.
4518 * text3.C: remove explicit cursor hides
4520 2003-05-02 André Pönitz <poenitz@gmx.net>
4522 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4525 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4528 * text2.C: tiny whitespace
4530 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * undo_funcs.C: almost only ws changes.
4534 * ParagraphList.C (splice): just return if pl is empty.
4536 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * ParagraphList.C (splice): new function.
4540 * CutAndPaste.C (pasteSelection): use it
4542 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * CutAndPaste.C (pasteSelection): remove the last next and
4545 previous from this file.
4547 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * CutAndPaste.C (pasteSelection): more clean up, user proper
4550 ParagraphList functions for pasteing.
4552 * ParagraphList.C (insert): new function, three arg insert
4554 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4556 * ParagraphList.C (insert): new function, three arg insert
4558 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4561 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4565 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4569 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4572 (copySelection): clean up a bit.
4573 (pasteSelection): use make_pair
4575 * ParagraphList.C (ParagraphList): implement copy constructor
4576 (operator=): implement, base on copy constructor.
4579 * paragraph.C (erase): return a bool
4581 * paragraph_pimpl.C (erasePos): remove function, move contents...
4582 (erase): ... here. Return a bool.
4583 (erase): call erase instead of erasePos.
4585 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4587 * ParagraphList.h: define PitPosPair
4588 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4589 ParagraphList, fix a bug on pasting multiple pars
4590 * text2.C: change interface to C&P
4592 2003-04-30 André Pönitz <poenitz@gmx.net>
4594 * undo_func.C: revert part of yesterday's patch 2
4596 2003-04-30 John Levon <levon@movementarian.org>
4598 * LColor.C: s/tabular/table/
4600 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * text3.C (dispatch): do not convert iterator -> pointer
4603 * undo_funcs.C (setCursorParUndo): ditto
4604 * text_funcs.C (transposeChars): ditto
4606 * text2.C (setLayout): ws changes only
4608 * text.C (breakParagraph): do not convert iterator -> pointer
4610 (acceptChange): ditto
4611 (rejectChange): ditto
4616 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4619 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4621 * text3.C (gotoInset): YABG (yet another bad getChar)
4623 2003-04-29 André Pönitz <poenitz@gmx.net>
4625 * paragraph.h: make operator= private unimplemented as long as
4628 * ParagraphList.C: whitespace
4631 * paragraph_pimpl.[Ch]:
4632 * paragraph_funcs.C:
4634 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4637 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4639 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4641 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4642 * paragraph.[Ch] (erase):
4643 * paragraph_pimpl.[Ch] (erase): change return type and value
4644 * text2.C (cutSelection): some rework
4646 2003-04-28 John Levon <levon@movementarian.org>
4648 * bufferlist.C: changes for unsaved changes dialog
4650 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * bufferlist.C (newFile): set language (messages_) for new
4655 * buffer.C (readFile): ws changes only.
4657 2003-04-28 André Pönitz <poenitz@gmx.net>
4662 * BufferView_pimpl.C:
4663 * BufferView.C: getParFromID related ParagraphList::iterator changes
4665 2003-04-28 André Pönitz <poenitz@gmx.net>
4667 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4670 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * messages.C: remove one more localedir class variable.
4674 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * messages.C (getLocaleDir): singleton generation function
4678 (Messages): add a default constructor.
4680 * main.C (main): do not setup localedir here, do not call
4683 * gettext.C (_): use it.
4684 (gettext_init): delete funciton
4686 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * gettext.C (getLyXMessages): new singleton generating function.
4690 * buffer.C (updateDocLang): adjust
4692 * Makefile.am (messages.o): add target
4693 (main.o): remove target
4695 2003-04-27 John Levon <levon@movementarian.org>
4700 * lyxvc.C: specify cancel button in Alert::prompt
4702 2003-04-26 John Levon <levon@movementarian.org>
4707 * LyXAction.C: add LFUN_INSET_SETTINGS
4709 * lyxfunc.C: don't enable tabular-feature when there's
4710 just any locking inset
4712 2003-04-26 John Levon <levon@movementarian.org>
4714 * bufferlist.C: re-add Cancel to buffer close question
4716 * lyxfunc.C: fix import UI a bit
4718 2003-04-25 John Levon <levon@movementarian.org>
4720 * gettext.C: remove the broken asserts for now
4722 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * messages.C: make case where setlocale cannot comply work better.
4726 * buffer.C (updateDocLang): new function
4727 (changeLanguage): use it
4730 * text2.C (setCounter): use B_ a bit.
4732 * lyxlayout.C (Read): be sure to trim the label strings.
4734 * messages.C (Messages): fix typo in comment
4736 * buffer.C (readFile): set message_ after file is loaded.
4737 (makeDocBookFile): remove double return
4738 (changeLanguage): reset message_ upon language change.
4739 (B_): new func, use this to get translated buffer strings.
4741 * main.C: add myself and Jean Marc as authors.
4743 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * messages.[hC]: pimplify Messages, and three different pimpls to be
4746 used in different circumstances.
4748 * gettext.[Ch]: change for use with new message code.
4750 2003-04-24 André Pönitz <poenitz@gmx.net>
4752 * factory.C: support for eqref
4754 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * messages.[Ch]: add missing char
4758 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4760 * messages.[Ch]: New files
4762 2003-04-18 John Levon <levon@movementarian.org>
4766 * BufferView_pimpl.C:
4770 * text2.C: remove layout-copy/paste (bug 778)
4772 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4774 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4776 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4778 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4779 if they succeed. Act accordingly.
4781 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * text2.C (setCharFont): adjust
4784 (setCounter): adjust
4785 (insertStringAsLines): adjust
4787 * text.C (leftMargin): adjust
4788 (setHeightOfRow): adjust
4790 * rowpainter.C (paintFirst): adjust
4793 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4795 (isFirstInSequence): ditto
4796 (getEndLabel): ditto
4799 * paragraph.C (getParLanguage): comment out some hard stuff.
4801 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4803 (simpleDocBookOnePar): ditto
4804 (makeDocBookFile): use ParagraphList::iterator
4806 * CutAndPaste.C (pasteSelection): adjust
4808 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * text2.C (getFont): adjust
4811 (getLayoutFont): adjust
4812 (getLabelFont): adjust
4814 * paragraph_funcs.C (TeXOnePar): adjust
4816 * buffer.C (simpleLinuxDocOnePar): adjust
4817 (simpleDocBookOnePar): adjust
4819 * CutAndPaste.C (pasteSelection): adjust
4821 * BufferView.C (getEncoding): adjust
4823 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4825 2003-04-16 John Levon <levon@movementarian.org>
4827 * lyxfind.C: use parlist stuff for search/changes
4829 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4833 * text2.C (deleteEmptyParagraphMechanism): adjust
4835 * text2.[Ch] (ownerParagraph): delete func (both of them
4837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4841 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * ParagraphList.C: prepare for NO_NEXT
4845 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * text2.C (getFont): adjust
4848 (getLayoutFont): adjust
4849 (getLabelFont): adjust
4851 * paragraph.C (getFont): adjust
4852 (getLabelFont): adjust
4853 (getLayoutFont): adjust
4855 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4857 2003-04-15 John Levon <levon@movementarian.org>
4861 * lyx_main.C: handle Include in .ui files
4863 2003-04-15 John Levon <levon@movementarian.org>
4865 * MenuBackend.C: make the doc files length shorter
4868 * ToolbarBackend.C: handle toolbar placement flags,
4871 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4876 * paragraph_funcs.C (TeXOnePar): adjust
4878 * paragraph.C (getLabelFont): add outerfont arg, adjust
4879 (getLayoutFont): ditto
4880 (simpleTeXOnePar): adjust
4882 * paragraph_pimpl.C (realizeFont): delete func
4884 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4886 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4887 row argument, constify cur argument.
4889 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * text2.C (getFont): adjust
4892 (getLayoutFont): adjust
4893 (getLabelFont): adjust
4895 * paragraph_funcs.C (TeXOnePar): adjust
4896 (outerFont): new func...
4897 (realizeFont): ...moved out from here, changed this to facilitate
4900 * paragraph.C (getFont): take outerfont as arg, adjust
4901 (simpleTeXOnePar): add outerfont arg, adjust
4903 * buffer.C (simpleLinuxDocOnePar): adjust
4904 (simpleDocBookOnePar): adjust
4906 * CutAndPaste.C (pasteSelection): adjust
4908 * BufferView.C (getEncoding): adjust
4910 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * text2.C (setCharFont): adjust
4913 (setCounter): adjust
4915 * text.C (leftMargin): adjust
4916 (setHeightOfRow): adjust
4918 * rowpainter.C (paintFirst): adjust
4921 * paragraph_pimpl.C (realizeFont): adjust
4923 * paragraph.C (isFirstInSequence): move from here...
4924 * paragraph_funcs.C (isFirstInSequence): ...to here
4926 * paragraph.C (outerHook): move from here...
4927 * paragraph_funcs.C (outerHook): ...to here
4929 * paragraph.C (depthHook): move from here...
4930 * paragraph_funcs.C (depthHook): ...to here
4932 * paragraph.C (getEndLabel): move from here...
4933 * paragraph_funcs.C (getEndLabel): ...to here
4935 * text2.C (realizeFont): move from here...
4936 * paragraph_funcs.C (realizeFont): ...to here
4938 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4940 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4942 2003-04-14 Angus Leeming <leeming@lyx.org>
4944 * LColor.[Ch]: scrap LColor mathcursor.
4946 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * lyxlex.[Ch] (text): delete function
4949 * trans.C (Load): adjust
4950 * paragraph_funcs.C (readParToken): adjust
4952 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4955 vector<char> instead of a char[].
4957 * lyxlex_pimpl.C (getString): adjust
4959 (lex): use getString
4963 * lyxlex.C (text): use pimpl_->getString()
4967 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4970 (makeFontEntriesLayoutSpecific): temp var for par.size()
4971 (setLayout): temp var for ownerParagraphs().end()
4972 (fullRebreak): temp var for rows().end()
4973 (selectionAsString): temp var for boost::next(startpit), realize
4974 that the while really is a regular for loop.
4975 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4976 setCursor in one place.
4977 (setParagraph): temp vr for ownerParagraphs().end()
4978 (updateCounters): make the while loop a for loop
4979 (cutSelection): temp var for ownerParagraphs().end()
4980 (updateInset): make the do {} while() a regular for loop
4981 (getCursorX): use temp vars
4982 (setCurrentFont): use temp vars
4983 (getColumnNearX): use temp vars
4985 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * text.C (transformChar): use temp var for getChar
4988 (computeBidiTables): use temp var for row->par()
4989 (fill): move temp vars for row->par() and pit->layout() earlier in
4991 (labelFill): use temp var for row->par()
4992 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4993 asc and desc, realize that pit never changes and that firstpit is
4994 just a duplicate and not needed. Exchange rit->par() with pit in a
4996 (breakAgain): use a temp var for boost::next(rit)
4997 (breakAgainOneRow): ditto
4998 (breakParagraph): use a temp var for rows().begin()
4999 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5000 (cursorRightOneWord): use temp var for cursor.par() and
5001 cursor.pos(), remove usage of tmpcursor.
5002 (cursorLeftOneWord): use temp var for cursor.par() and
5003 cursor.pos() only set cur at end of function.
5005 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5007 * text.C, text2.C: exchange all usage of Paragraph::next with
5008 boost::next(ParagraphList::iterator)
5010 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5012 * text2.C (cursorTop): simplify implementation
5013 (cursorBottom): ditto
5014 (setParagraph): use ParagraphList::iterator
5015 (setCurrentFont): adjust
5016 (getColumnNearX): adjust
5017 (cursorRight): adjust
5018 (cursorLeft): remove usage of Paragraph::previous
5019 (cursorUpParagraph): ditto
5020 (deleteEmptyParagraphMechanism): slight cleanup
5022 * text.C (isBoundary): take a Paragraph const & instead of a
5024 (addressBreakPoint): ditto
5025 (leftMargin): remove usage of Paragraph::previous.
5026 (setHeightOfRow): ditto
5027 (cursorLeftOneWord): ditto
5028 (selectNextWordToSpellcheck): ditto
5031 (breakParagraph): remove one usage of Paragraph::next
5032 (redoParagraph): ditto
5033 (acceptChange): ditto
5034 (insertChar): adjust
5035 (rowBreakPoint): adjust
5037 * bufferview_funcs.C (toggleAndShow): adjust
5039 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5041 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5042 methods to access it.
5044 * text.C: Added updateRowPositions to compute all row positions.
5045 Make top_y and getRowNearY() to use the cached y position
5047 2003-04-11 John Levon <levon@movementarian.org>
5049 * text.C (rowBreakPoint): reintroduce the labelEnd
5050 checks, code copied from the row fill stuff. Deep voodoo.
5052 * text.C (fill): add a comment and debugging for the
5055 2003-04-11 John Levon <levon@movementarian.org>
5057 * text.C: make sure fullrow insets get wrapped to the next line,
5058 even when they're in a manual label
5060 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * text2.C (insertParagraph): make it take ParagraphList::iterator
5064 (setLayout): make it return ParagraphList::iterator
5065 (redoParagraphs): ditto
5067 (checkParagraph): ditto
5069 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5071 * text2.C: adjust several funcs.
5072 (realizeFont): take a ParagraphList::iterator as arg.
5073 (getLayoutFont): ditto
5074 (getLabelFont): ditto
5075 (setCharFont): ditto
5077 * text.C: adjust several funcs.
5079 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5081 * text.C (selectNextWordToSpellcheck): don't accidentally
5084 2003-04-10 John Levon <levon@movementarian.org>
5086 * ToolbarBackend.C (getIcon): special handling for
5089 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5091 * text2.C (cursorRight): a getChar assert fixed
5093 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * text2.C (getFont): change to take a ParagraphList::iterator
5096 instead of Paragraph*
5097 Adjust several functions.
5099 * text.C (transformChar): change to take a ParagraphList::iterator
5100 instead of Paragraph*
5101 (singleWidth): ditto
5102 Adjust several functions.
5104 * rowpainter.C: adjust several functions
5105 * rowpainter.h:store a ParagraphList::iterator and not a
5109 2003-04-09 John Levon <levon@movementarian.org>
5114 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5115 and the "help" bits as well
5117 2003-04-09 John Levon <levon@movementarian.org>
5120 * ToolbarBackend.C: allow multiple toolbars
5122 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5124 * undo_funcs.C (setCursorParUndo): adjust
5126 * text_funcs.C (transposeChars): adjust
5128 * text3.C (gotoNextInset): adjust
5131 * text2.C (setLayout): adjust
5132 (changeDepth): adjust
5134 (redoParagraphs): adjust
5135 (selectionAsString): adjust
5136 (setParagraph): adjust
5137 (insertInset): adjust
5138 (cutSelection): adjust
5139 (copySelection): adjust
5140 (pasteSelection): adjust
5141 (insertStringAsLines): adjust
5142 (updateInset): adjust
5143 (setCursor): change to take a ParagraphList::iterator parameter
5144 (setCursorIntern): change to take a ParagraphList::iterator parameter
5145 (setCurrentFont): adjust
5146 (cursorLeft): adjust
5147 (cursorRight): adjust
5148 (deleteEmptyParagraphMechanism): adjust
5150 * text.C (breakParagraph): adjust
5151 (insertChar): adjust
5152 (acceptChange): adjust
5153 (rejectChange): adjust
5154 (selectNextWordToSpellcheck): adjust
5155 (changeCase): adjust
5159 * lyxfind.C (SearchForward): adjust
5160 (SearchBackward): adjust
5161 (nextChange): adjust
5163 * lyxcursor.C (par): adjust
5165 * lyxcursor.h: store a ParagraphList::iterator instead of a
5168 * lyx_cb.C (getPossibleLabel): adjust
5170 * bufferview_funcs.C (toggleAndShow): adjust
5172 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5175 * BufferView.C (removeAutoInsets): adjust
5176 (lockedInsetStoreUndo): adjust
5178 2003-04-09 John Levon <levon@movementarian.org>
5180 * ToolbarBackend.C: try icon without argument
5181 if with argument fails
5183 2003-04-08 John Levon <levon@movementarian.org>
5186 * ToolbarBackend.C: add getIcon(), handle tooltip,
5187 and change from "Icon" to "Item".
5189 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5191 * BufferView.C (lockInset): another bad getchar crunched
5193 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5195 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5198 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5200 * lyxfind.C (searchForward, searchBackwards): bug 782
5202 2003-04-07 John Levon <levon@movementarian.org>
5204 * paragraph.C: remove dead comment
5206 * text.C: remove troublesome depth-fiddling code
5207 in leftMargin() and rightMargin() (bug 1017)
5209 * text.C: fix breaking of rows in nested lists
5212 * text2.C (updateCounters): fix up depth values
5215 2003-04-07 John Levon <levon@movementarian.org>
5217 * BufferView_pimpl.C: clear message when doc finishes resizing,
5218 and after a mouse event
5220 * lyxfunc.C: clear message after exiting inset
5222 2003-04-07 John Levon <levon@movementarian.org>
5224 * bufferview_funcs.C: show math status not outside
5225 status in the statusbar
5227 2003-04-07 John Levon <levon@movementarian.org>
5229 * lyxfunc.C: note status changed after a depth change
5231 2003-04-04 Angus Leeming <leeming@lyx.org>
5233 * LaTeX.h: move AuxInfo operator==, != out of line.
5234 Remove LaTeX virtual destructor; nothing derives from it.
5235 Move operator()() out of public area and rename it startscript().
5236 Change protected for private.
5238 2003-04-04 Angus Leeming <leeming@lyx.org>
5241 * text2.C: remove unneeded #includes.
5243 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5245 * text2.C (dEPM): fix the heigth of the next row
5247 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5249 * text.C: squashed an invalid getChar requester + some ws changes
5251 2003-04-03 John Levon <levon@movementarian.org>
5253 * bufferview_funcs.h:
5254 * bufferview_funcs.C:
5257 * text2.C: make getStatus work for the env depth lfuns
5259 2003-04-03 John Levon <levon@movementarian.org>
5261 * bufferview_funcs.h:
5262 * bufferview_funcs.C:
5265 * text2.C: parlistize decDepth(), by merging it with incDepth()
5267 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * lyxrow.h: store a ParagraphList::iterator instead of a
5270 Paragraph* and adjust other class functions to suit.
5272 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5275 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5277 * text2.C (setCursor): do not anchor to cursor row for the time being
5279 2003-04-02 John Levon <levon@movementarian.org>
5286 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5288 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * paragraph.h: make ParagraphList and ParagraphList::iterator
5291 friends of Paragraph.
5293 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5295 * ParagraphList.C: Use the private next_ and previous_ from
5298 2003-04-01 John Levon <levon@movementarian.org>
5302 * Makefile.am: rename, remove defaults gunk
5305 * MenuBackend.C: remove defaults gunk
5308 * Languages.C: remove defaults gunk
5311 * lyx_main.C: error out if files couldn't be found.
5313 2003-04-02 John Levon <levon@movementarian.org>
5315 * text2.C: make incDepth() use parlist
5317 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * undo_funcs.C (firstUndoParagraph): adjust
5321 * text3.C (gotoInset): adjust
5322 (dispatch): adjust, and rewrite loop.
5324 * text2.C (init): adjust, and rewrite loop.
5325 (redoParagraphs): adjust
5326 (updateInset): adjust, and rewrite loop.
5327 (deleteEmptyParagraphMechanism): adjust
5329 * tabular.C (LyXTabular): adjust
5330 (SetMultiColumn): adjust
5333 * lyxtext.[Ch] (ownerParagraph): delete function
5334 (ownerParagraphs): new function returns a ParagraphList.
5336 * BufferView.C (removeAutoInsets): adjust
5337 (insertErrors): adjust
5338 (setCursorFromRow): adjust
5340 2003-04-01 Angus Leeming <leeming@lyx.org>
5342 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5345 2003-04-02 John Levon <levon@movementarian.org>
5351 * text_funcs.C: make transposeChars a free function
5353 * lyxrow_funcs.C: remove wrong comment
5355 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5358 * rowpainter.C: adjust
5363 * lyxrow_funcs. [Ch]: new files
5365 * lyxrow.[Ch]: remove next and previous pointers
5366 (next,previous): remove accessor functions
5367 (isParEnd): move to lyxrow_funcs
5368 (lastPos): move to lyxrow_funcs
5369 (nextRowIsAllInset): move to lyxrow_funcs
5370 (lastPrintablePos): move to lyxrow_funcs
5371 (numberOfSeparators): move to lyxrow_funcs
5372 (numberOfHfills): move to lyxrow_funcs
5373 (numberOfLabelHfills): move to lyxrow_funcs
5374 (hfillExpansion): move to lyxrow_funcs
5378 * bufferview_funcs.C (toggleAndShow): adjust
5380 * RowList.h: Remove class RowList from file leave just a
5383 * RowList.C: delete file
5385 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5388 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * text3.C (cursorPrevious): adjust
5391 (cursorNext): adjust
5394 * text2.C (redoHeightOfParagraph): adjust
5395 (redoDrawingOfParagraph): adjust
5398 * text.C (breakParagraph): adjust
5399 (insertChar): adjust
5402 * rowpainter.C (RowPainter): adjust
5403 (leftMargin): simplify and adjust
5404 (most rowpainter functions): adjust.
5406 * rowpainter.h: store the row as RowList::iterator not as Row*
5408 * lyxcursor.C (row): taka RowList::iterator as arg
5411 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5414 2003-04-01 Angus Leeming <leeming@lyx.org>
5416 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5417 stuff like bool Bool.
5419 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5421 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5424 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5429 * lyxtext.h (rows): drop one version and leve a const variant that
5430 returns a RowList::iterator.
5432 2003-03-31 Angus Leeming <leeming@lyx.org>
5434 * text.C (fill): ensure that the signature is the same as that in the
5437 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * text2.C (redoParagraphs): adjust
5440 (updateCounters): adjust
5441 (checkParagraph): adjust
5442 (getColumnNearX): adjust and reformat a bit.
5444 * text.C (top_y): adjust
5446 (leftMargin): adjust
5447 (prepareToPrint): adjust
5449 (getRowNearY): adjust
5451 * lyxtext.h: make rowlist_ mutable.
5453 * RowList.h: add const_iterator
5454 * RowList.C: adjust for RowList::const_iterator.
5456 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5459 2003-03-31 John Levon <levon@movementarian.org>
5462 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5464 * lyx_main.C: set default fonts from using lyx_gui funcs
5466 * exporter.C: pdf_mode moved from lyxrc
5469 * lyxfunc.C: changes from above
5471 2003-03-31 John Levon <levon@movementarian.org>
5473 * lyx_main.C: fix to the last fix
5475 2003-03-31 John Levon <levon@movementarian.org>
5477 * bufferlist.C: "Load original" -> "Load Original"
5483 * format.C: more Alert cleanups
5485 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * text2.C (removeParagraph): make it take a RowList::iterator as
5489 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5490 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5492 * text.C (anchor_row): make it take a RowList::iterator as arg,
5494 (computeBidiTables): make it take a const reference to Row instead
5495 of Row pointer, adjust.
5496 (leftMargin): make it take a RowList::iterator as arg, adjust.
5497 (rowBreakPoint): adjust
5498 (breakAgainOneRow): make it take a RowList::iterator as arg,
5500 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5502 * bufferview_funcs.C (toggleAndShow): adjust
5504 2003-03-30 John Levon <levon@movementarian.org>
5508 * boost-inst.C: moved to support
5510 * several files: changes as a result
5512 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * text2.C (LyXText): adjust.
5516 (removeRow): make it take a RowList::iterator as arg, adjust.
5517 (fullRebreak): adjust
5518 (deleteEmptyParagraphMechanism): adjust
5519 (clearPaint): adjust
5522 * text.C (top_y): adjust
5523 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5524 (breakAgain): make it take a RowList::iterator as arg, adjust.
5525 (breakParagraph): adjust
5526 (insertChar): adjust
5529 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5530 need_break_row, and refresh_row.
5532 * text3.C (dispatch): adjust
5534 * text2.C (checkParagraph): adjust
5536 (setCursorFromCoordinates): adjust
5538 * text.C (top_y): adjust
5540 (getRow): make it return a RowList::iterator, adjust
5541 (getRowNearY): make it return a RowList::iterator, adjust
5543 * text2.C (init): adjust
5544 (insertRow): remove function
5545 (insertParagraph): adjust
5546 (redoParagraphs): adjust
5547 (fullRebreak): adjust
5548 (updateCounters): adjust
5550 * text.C (top_y): rewrite to use RowList iterators.
5552 (setHeightOfRow): rewrite to sue RowList iterators.
5553 (appendParagraph): adjust
5554 (breakAgain): adjust
5555 (breakAgainOneRow): adjust
5556 (breakParagraph): adjust
5558 (getRowNearY): adjust, and remove commented code.
5560 * lyxtext.h (firstRow): delete function
5561 (lastRow): delete function
5562 (rows): new function (const and non-const versions.)
5563 (insertRow): delete function
5565 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5567 2003-03-29 John Levon <levon@movementarian.org>
5569 * BufferView_pimpl.C: always update scrollbar top
5570 because pasting text when we're anchored could mean we
5571 miss an update altogether
5573 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * text2.C (init): use rowlist_.end() and not 0.
5576 (insertRow): change to take a RowList::iterator as arg, adjust
5578 (insertParagraph): change to take a RowList::iterator as arg,
5580 (redoParagraphs): remove some debug msgs.
5582 * text.C (appendParagraph): change to take a RowList::iterator
5583 arg, adjust for this.
5584 (breakAgain): add an assert
5585 (breakAgainOneRow): ditto
5587 2003-03-29 John Levon <levon@movementarian.org>
5589 * text2.C: do not clear selection after inc/decDepth
5592 2003-03-29 John Levon <levon@movementarian.org>
5595 * buffer.C: fix broken strerrors according to Lars
5597 2003-03-29 John Levon <levon@movementarian.org>
5599 * converters.C: more Alert cleanups
5601 2003-03-29 John Levon <levon@movementarian.org>
5603 * bufferview_funcs.C: remove pointless Alert
5605 * buffer.C: fix confusing error message when
5606 a template is chmoded 000
5608 2003-03-29 John Levon <levon@movementarian.org>
5612 * BufferView_pimpl.C: Alert fixes
5616 * tabular-old.C: remove unused table compat reading
5618 2003-03-29 John Levon <levon@movementarian.org>
5623 * lyx_cb.C: more Alert cleanups
5625 * lyxfunc.C: don't allow chktex if not latex document
5627 2003-03-29 John Levon <levon@movementarian.org>
5631 * buffer.C: warnings pushed down from support/,
5634 2003-03-29 John Levon <levon@movementarian.org>
5636 * lyxfunc.C: safety check for C-r (revert)
5638 2003-03-29 John Levon <levon@movementarian.org>
5641 * bufferlist.C: several UI fixes using Alert::prompt.
5642 Fix the pointless looping quit code. Fix stupid revert
5647 * lyx_cb.C: use Alert::prompt
5649 * lyx_main.C: remove a silly question
5651 * lyxfunc.C: remove a couple of silly questions,
5654 2003-03-28 John Levon <levon@movementarian.org>
5656 * text2.C: fix bug 974 (End on empty par)
5658 2003-03-28 John Levon <levon@movementarian.org>
5660 * BufferView_pimpl.C:
5662 * lfuns.h: remove do-nothing math greek lfuns
5664 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * lyxgluelength.h (isValidGlueLength): add default arg on
5667 parameter 2. Remove default arg from friend in class.
5669 * lyxlength.h (isValidLength): add default arg on parameter 2.
5670 Remove default arg from friend in class.
5672 * text2.C (LyXText): adjust, initialize refresh_row.
5676 (insertParagraph): adjst
5677 (redoParagraphs): adjust
5678 (fullRebreak): adjust
5679 (updateCounters): adjust
5680 (deleteEmptyParagraphMechanism): first attempt at fixing a
5683 * text.C (top_y): adjust
5684 (setHeightOfRow): adjust
5686 (getRowNearY): adjust
5688 * lyxtext.h: include RowList.h
5689 (~LyXText): not needed anymore, deleted.
5690 (firstRow): modify for RowList
5691 (lastRow): new function
5692 Delete firstrow and lastrow class variables, add a Rowlist
5693 rowlist_ class variable.
5695 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5698 * RowList.C (insert): fix case where it == begin().
5700 2003-03-26 Angus Leeming <leeming@lyx.org>
5702 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5703 the thesaurus dialog.
5705 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5709 * RowList.[Ch]: new files
5711 * ParagraphList.C (erase): handle the case where it == begin
5714 2003-03-25 John Levon <levon@movementarian.org>
5718 * aspell.C: add new aspell support
5721 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5724 2003-03-25 Angus Leeming <leeming@lyx.org>
5727 * LyXAction.C (init): new LFUN_INSET_INSERT.
5729 * BufferView_pimpl.C (dispatch): split out part of the
5730 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5732 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5735 2003-03-25 Angus Leeming <leeming@lyx.org>
5737 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5739 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5742 * text3.C: remove useless row->height(0)
5744 2003-03-25 John Levon <levon@movementarian.org>
5748 * text3.C: rename the refreshing stuff to better names
5750 2003-03-24 John Levon <levon@movementarian.org>
5752 * BufferView_pimpl.h:
5753 * BufferView_pimpl.C: update layout choice on a mouse
5756 2003-03-23 John Levon <levon@movementarian.org>
5758 * Makefile.am: fix commandtags.h reference
5760 2003-03-22 John Levon <levon@movementarian.org>
5762 * BufferView_pimpl.C:
5767 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5769 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5772 * text.C: take the rtl methods out of line
5774 2003-03-21 André Pönitz <poenitz@gmx.net>
5776 * metricsinfo.[Ch]: new files containing structures to be passed around
5777 during the two-phase-drawing...
5779 2003-03-21 André Pönitz <poenitz@gmx.net>
5781 * lyxtextclass.C: read 'environment' tag.
5783 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5785 * text2.C (removeRow): fix bug 964
5787 2003-03-20 John Levon <levon@movementarian.org>
5791 * text2.C: paint cleanups. Inset::update() dropped font
5794 2003-03-19 John Levon <levon@movementarian.org>
5796 * lyxfunc.C: only fitcursor/markDirty if available()
5798 2003-03-19 John Levon <levon@movementarian.org>
5800 * commandtags.h: rename to ...
5802 * lfuns.h: ... this, and renumber / cleanup
5804 2003-03-19 John Levon <levon@movementarian.org>
5806 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5807 fit the cursor after an lfun
5811 * BufferView_pimpl.h:
5812 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5814 * LyXAction.C: layout-character should have ReadOnly
5816 * ParagraphParameters.C:
5818 * bufferview_funcs.C:
5825 * undo_funcs.C: changes from above
5827 2003-03-18 John Levon <levon@movementarian.org>
5829 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5830 remove it from update()
5832 * lyxfunc.C: update layout choice after an lfun
5834 * text3.C: remove extra updateLayoutChoice()s
5836 2003-03-18 John Levon <levon@movementarian.org>
5838 * text.C: top_y change means full repaint, fix
5839 a drawing bug with cursor movement
5841 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5845 * text2.C: anchor row on setCursor
5847 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5849 * lyxtext.h: remove almost all mutable keywords
5852 * text3.C: remove const keywords accordingly
5854 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5858 (TeXEnvironment): ditto
5861 2003-03-17 John Levon <levon@movementarian.org>
5863 * text.C (rowBreakPoint): remove attempt to fix displayed
5864 math insets inside a manual label
5866 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * lyxtext.h: remove BufferView* as first arg from almost all class
5870 * other files: adjust.
5872 2003-03-17 John Levon <levon@movementarian.org>
5876 * text2.C: more paint cleanups
5878 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5881 * rowpainter.C: remove "smart" background painting code
5883 2003-03-16 John Levon <levon@movementarian.org>
5888 * text3.C: add helper functions for setting refresh_row/y
5890 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5892 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5893 newline inset which *can* get inserted in the pass_thru layouts.
5894 This is primarily for literate documents.
5896 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5898 * buffer.C: increment LYX_FORMAT to 223
5900 2003-03-14 André Pönitz <poenitz@gmx.net>
5902 * textclass.h: prepare for environment handling, ws changes
5903 * lyxlayout.C: read latexheader and latexfooter tags
5905 2003-03-14 John Levon <levon@movementarian.org>
5907 * text2.C: rewrite ::status() a bit
5909 2003-03-13 John Levon <levon@movementarian.org>
5911 * lyxtext.h: add some docs
5913 2003-03-13 John Levon <levon@movementarian.org>
5918 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5920 2003-03-13 John Levon <levon@movementarian.org>
5922 * text3.C: fix appendix redrawing
5924 2003-03-13 John Levon <levon@movementarian.org>
5926 * text.C (setHeightOfRow):
5928 * rowpainter.C: make appendix mark have the text
5929 "Appendix" so the user knows what it is
5932 * LColor.C: s/appendixline/appendix/ from above
5934 2003-03-13 John Levon <levon@movementarian.org>
5936 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5938 * text.C: fix a getChar(pos) bug properly
5940 2003-03-13 Angus Leeming <leeming@lyx.org>
5943 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5944 Probably only temporary. Let's see how things pan out.
5946 * BufferView.C (unlockInset):
5947 * BufferView_pimpl.C (fitCursor):
5948 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5950 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5951 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5953 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5954 new functions that convert ParagraphParameters to and from a string.
5956 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5957 BufferView::Pimpl's dispatch.
5958 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5960 2003-03-13 André Pönitz <poenitz@gmx.net>
5964 * factory.C: make it aware of InsetEnv
5966 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * text2.C (setCursor): never ask for one past last
5969 (setCursor): add some debugging messages.
5971 * text.C (singleWidth): never ask for one past last
5972 (singleWidth): ditto
5974 (rightMargin): ditto
5975 (rowBreakPoint): ditto
5976 (setHeightOfRow): ditto
5977 (prepareToPrint): ditto
5979 * rowpainter.C (paintBackground): never ask for one past last
5980 (paintText): never ask for one past last
5982 * paragraph_pimpl.C (getChar): make the assert stricter, never
5983 allow the one past last pos to be taken
5985 * paragraph.C (getChar): ws changes only
5987 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5988 (numberOfSeparators): ditto
5989 (numberOfHfills): ditto
5991 2003-03-12 John Levon <levon@movementarian.org>
5997 * paragraph_funcs.C: fix per-buffer authorlists
5999 2003-03-12 John Levon <levon@movementarian.org>
6001 * text.C: fix newline in right address
6003 2003-03-12 Angus Leeming <leeming@lyx.org>
6005 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6006 duplicate those in LyXFunc::dispatch.
6010 * ToolbarDefaults.C:
6011 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6012 Add LFUN_FONTFREE_UPDATE.
6014 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6015 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6017 * bufferview_func.[Ch]: several new functions to facilliate
6018 transfer of data to and from the character dialog.
6020 2003-03-12 John Levon <levon@movementarian.org>
6025 * paragraph_funcs.C:
6026 * paragraph_pimpl.C:
6030 * text3.C: remove META_NEWLINE in favour of an inset
6033 * rowpainter.C: remove paintNewline (done by inset)
6035 2003-03-12 John Levon <levon@movementarian.org>
6037 * paragraph_pimpl.C: complain about bad getChar()s
6038 for a while at least
6040 2003-03-12 John Levon <levon@movementarian.org>
6043 * buffer.C: move paragraph read into a separate function,
6044 a little renaming to reflect that.
6047 * bufferparams.C: remove the author_ids map, not necessary now
6050 * factory.C: moved Buffer::readInset to here
6052 * paragraph_funcs.h:
6053 * paragraph_funcs.C: readParagraph free function moved from
6056 * tabular.C: name change
6058 2003-03-12 John Levon <levon@movementarian.org>
6061 * ParagraphParameters.C: move par params input to
6064 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6065 behave like a normal read from the stream wrt reading
6066 a line vs. a \\token
6068 2003-03-12 John Levon <levon@movementarian.org>
6071 * ParagraphParameters.h:
6072 * ParagraphParameters.C: move output code to a
6075 2003-03-12 John Levon <levon@movementarian.org>
6077 * BufferView.C (insertLyXFile):
6080 * tabular.C: use a parlist iterator for creating the
6083 2003-03-12 John Levon <levon@movementarian.org>
6085 * buffer.C: make current_change static local not
6088 2003-03-12 John Levon <levon@movementarian.org>
6090 * buffer.C: fix insertStringAsLines for change tracking
6092 2003-03-12 John Levon <levon@movementarian.org>
6099 * bufferparams.C: move author list into params. Rename some
6100 functions. Move the header reading into a separate token
6101 loop. Move the header token reading into BufferParams.
6103 2003-03-12 John Levon <levon@movementarian.org>
6105 * changes.C: put debug inside lyxerr.debugging() checks
6107 2003-03-11 André Pönitz <poenitz@gmx.net>
6109 * factory.C: make it aware of InsetHFill
6111 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6113 * buffer.C (latexParagraphs): move function from here...
6114 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6117 2003-03-10 Angus Leeming <leeming@lyx.org>
6119 * LyXAction.C (init): fix bug in poplating array with multiple entries
6120 with the same LFUN (spotted by JMarc).
6122 2003-03-10 John Levon <levon@movementarian.org>
6125 * text2.C: move getColumnNearX() near its
6128 2003-03-10 John Levon <levon@movementarian.org>
6130 * text.C: fix break before a minipage
6132 2003-03-10 John Levon <levon@movementarian.org>
6134 * text.C: fix the last commit
6136 2003-03-09 John Levon <levon@movementarian.org>
6140 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6141 bug 365 (don't break before insets unless needed). Don't
6142 return a value > last under any circumstances.
6144 2003-03-09 Angus Leeming <leeming@lyx.org>
6146 * BufferView_pimpl.C (trackChanges, dispatch): call
6147 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6149 2003-03-09 Angus Leeming <leeming@lyx.org>
6151 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6152 than Dialogs::showAboutlyx().
6154 2003-03-09 Angus Leeming <leeming@lyx.org>
6156 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6157 than Dialogs::showTabularCreate().
6159 2003-03-09 John Levon <levon@movementarian.org>
6163 * text2.C: 3rd arg to nextBreakPoint was always the same.
6166 2003-03-08 John Levon <levon@movementarian.org>
6173 * text2.C: Remove the "main" bit from the "main body"
6176 2003-03-08 John Levon <levon@movementarian.org>
6178 * text.C (leftMargin): The left margin of an empty
6179 manual label paragraph should not include the label width
6182 * text.C (prepareToPrint): don't attempt to measure hfills
6183 for empty manual label paragraphs - the answer should be 0
6185 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * CutAndPaste.C: remove commented code and reindent.
6189 2003-03-08 John Levon <levon@movementarian.org>
6192 * lyxfunc.C: move reloadBuffer()
6195 * BufferView.C: to here
6197 * lyxvc.C: add comment
6200 * vc-backend.C: call bv->reload() to avoid
6201 getStatus() check on MENURELOAD
6203 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6205 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6206 to an old format .dep file.
6208 2003-03-07 Angus Leeming <leeming@lyx.org>
6210 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6211 when the LFUN_MOUSE_RELEASE should have been handled by
6212 inset->localDispatch.
6214 2003-03-07 Angus Leeming <leeming@lyx.org>
6216 * BufferView_pimpl.C (dispatch):
6217 * LyXAction.C (init):
6218 * ToolbarDefaults.C (init):
6220 * lyxfunc.C (getStatus):
6221 remove LFUN_INSET_GRAPHICS.
6223 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6225 2003-03-07 Angus Leeming <leeming@lyx.org>
6228 * LyXAction.C (init):
6229 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6231 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6234 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6236 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6237 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6239 2003-03-07 Angus Leeming <leeming@lyx.org>
6241 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6244 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6246 * ParagraphList.C (front): new function
6249 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6251 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6252 and top_row_offset_. removed var first_y.
6254 * text2.C (LyXText, removeRow):
6256 * BufferView_pimpl.C:
6257 use these methods instead of using first_y
6259 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * text2.C (pasteSelection): adjust for checkPastePossible
6263 * CutAndPaste.C: remove Paragraph * buf and replace with
6264 ParagraphList paragraphs.
6265 (DeleteBuffer): delete
6266 (cutSelection): change the tc type to textclass_type
6267 (copySelection): change the tc type to textclass_type
6268 (copySelection): adjust for ParagraphList
6269 (pasteSelection): change the tc type to textclass_type
6270 (pasteSelection): adjust for Paragraphlist
6271 (nrOfParagraphs): simplify for ParagraphList
6272 (checkPastePossible): simplify for ParagraphList
6273 (checkPastePossible): remove unused arg
6275 * ParagraphList.C (insert): handle the case where there are no
6278 * CutAndPaste.h: make CutAndPaste a namespace.
6280 * text3.C (dispatch): adjust
6282 * text.C (breakParagraph): add a ParagraphList as arg
6284 * paragraph_funcs.C (breakParagraph): change to take a
6285 BufferParams and a ParagraphList as args.
6286 (breakParagraphConservative): ditto
6287 (mergeParagraph): ditto
6288 (TeXDeeper): add a ParagraphList arg
6289 (TeXEnvironment): ditto
6292 * buffer.C (readLyXformat2): adjust
6293 (insertStringAsLines): adjust
6294 (latexParagraphs): adjust
6296 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6297 (cutSelection): adjust
6298 (pasteSelection): adjust
6300 * BufferView_pimpl.C (insertInset): adjust
6302 2003-03-05 Angus Leeming <leeming@lyx.org>
6305 * LyXAction.C (init):
6306 * BufferView_pimpl.C (dispatch):
6307 * lyxfunc.C (getStatus):
6308 remove LFUN_CHILD_INSERT.
6310 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6312 2003-03-05 Angus Leeming <leeming@lyx.org>
6315 * LyXAction.C (init):
6316 * src/factory.C (createInset):
6317 * lyxfunc.C (getStatus):
6318 * text3.C (dispatch):
6319 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6321 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6323 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * ParagraphList.C (insert): handle insert right before end()
6326 (erase): fix cases where it can be first or last paragraph.
6328 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6331 Paragraph::next and Paragraph::previous
6334 * text.C (breakParagraph): adjust
6336 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6337 BufferParams& as arg.
6338 (breakParagraph): use ParagraphList::insert
6339 (breakParagraphConservative): take a Buffer* instead of a
6340 BufferParams& as arg.
6341 (breakParagraphConservative): use ParagraphList::insert.
6343 * buffer.C (insertStringAsLines): un-const it
6344 (insertStringAsLines): adjust
6346 * ParagraphList.C (insert): new function
6348 * CutAndPaste.C (pasteSelection): adjust
6350 * text.C (backspace): adjust
6352 * tabular.C (SetMultiColumn): adjust
6354 * CutAndPaste.C (cutSelection): adjust
6355 (pasteSelection): adjust
6357 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6358 Buffer const * as arg
6360 * ParagraphList.C (erase): new function
6361 * paragraph_funcs.C (mergeParagraph): use it
6362 (mergeParagraph): make it take a Buffer* instead of a
6363 BufferParams* as arg
6365 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6367 (breakParagraphConservative): ditto
6369 * paragraph.h: remove the breakParagraph friend
6371 * paragraph.C (eraseIntern): new function
6372 (setChange): new function
6374 * paragraph_funcs.C (mergeParagraph): make it take a
6375 ParagraphList::iterator instead of a Paragraph *, adjust
6378 * paragraph.h: move an #endif so that the change tracking stuff
6379 also works in the NO_NEXT case.
6381 2003-03-04 Angus Leeming <leeming@lyx.org>
6384 * LyXAction.C: new LFUN_INSET_MODIFY.
6386 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6387 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6389 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * several files: ws changes only
6393 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6394 (TeXEnvironment): ditto
6397 * buffer.C (makeLaTeXFile): adjust
6398 (latexParagraphs): make it take ParagraphList::iterator as args
6400 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * buffer.C (latexParagraphs): adjust
6404 * paragraph.C (TeXOnePar): move function...
6405 (optArgInset): move function...
6406 (TeXEnvironment): move function...
6407 * paragraph_pimpl.C (TeXDeeper): move function...
6408 * paragraph_funcs.C: ...here
6410 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6412 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * buffer.C (readInset): remove compability code for old Figure and
6417 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * buffer.C: ws changes
6422 * BufferView_pimpl.C: ditto
6425 * bufferlist.h: ditto
6429 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6431 * converter.[Ch]: split into itself +
6434 * Makefile.am: += graph.[Ch] + format.[Ch]
6441 * lyxrc.C: added #include "format.h"
6443 2003-02-27 Angus Leeming <leeming@lyx.org>
6445 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6448 * factory.C (createInset): add "label" to the factory.
6450 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6451 string and do no more.
6453 2003-02-27 Angus Leeming <leeming@lyx.org>
6456 * LyXAction.C (init):
6457 * factory.C (createInset):
6458 * BufferView_pimpl.C (dispatch):
6459 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6461 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6463 * lyxfunc.C (dispatch):
6464 * text3.C (dispatch): pass name to params2string.
6466 2003-02-26 Angus Leeming <leeming@lyx.org>
6468 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6470 Rearrange the ~includes. Strip out the unnecessary ones.
6472 * factory.C (createInset): reformat.
6473 create new insets for the various LFUN_XYZ_APPLY lfuns.
6475 2003-02-26 John Levon <levon@movementarian.org>
6478 * lyxrow.C: add isParStart,isParEnd helpers
6480 * paragraph.h: make isInserted/DeletedText take refs
6482 * paragraph_funcs.h:
6483 * paragraph_funcs.C: remove #if 0'd code
6488 * text.C: use lyxrow helpers above.
6489 Move draw and paint routines to RowPainter.
6490 Make several methods use refs not pointers.
6491 Make backgroundColor() const.
6492 Add markChangeInDraw(), isInInset().
6493 Merge changeRegionCase into changeCase.
6494 Make workWidth() shouldn't-happen code into an Assert.
6497 * rowpainter.C: new class for painting a row.
6500 * vspace.C: make inPixels take a ref
6502 2003-02-26 Angus Leeming <leeming@lyx.org>
6504 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6507 2003-02-25 John Levon <levon@movementarian.org>
6509 * ispell.C: give the forked command a more accurate name
6511 2003-02-22 John Levon <levon@movementarian.org>
6514 * toc.C: make TocItem store an id not a Paragraph *
6517 2003-02-21 Angus Leeming <leeming@lyx.org>
6519 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6520 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6521 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6522 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6523 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6524 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6526 * BufferView_pimpl.C (dispatch):
6527 * LyXAction.C (init):
6528 * factory.C (createInset):
6529 * lyxfunc.C (getStatus, dispatch):
6530 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6532 2003-02-21 Angus Leeming <leeming@lyx.org>
6534 * BufferView_pimpl.C (MenuInsertLyXFile):
6535 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6536 * lyxfunc.C (menuNew, open, doImport):
6537 no longer pass a LyXView & to fileDlg.
6539 2003-02-21 Angus Leeming <leeming@lyx.org>
6541 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6542 * LyXAction.C: change, BIBKEY to BIBITEM.
6543 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6544 Change InsetBibKey to InsetBibitem.
6545 Change BIBKEY_CODE to BIBITEM_CODE.
6546 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6547 * factory.C: replace insetbib.h with insetbibitem.h.
6548 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6549 * paragraph.C: replace insetbib.h with insetbibitem.h.
6550 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6551 Change bibkey() to bibitem().
6552 * text.C: remove insetbib.h.
6553 * text2.C: replace insetbib.h with insetbibitem.h.
6554 change bibkey() to bibitem().
6555 * text3.C: remove insetbib.h.
6556 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6558 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6560 * lyxrc.C (output): enclose user email in quotes (in case there are
6563 2003-02-18 John Levon <levon@movementarian.org>
6565 * buffer.h: add std::
6567 2003-02-17 John Levon <levon@movementarian.org>
6573 * pspell.C: reworking. Especially in ispell, a large
6574 number of clean ups and bug fixes.
6576 * lyxfunc.C: fix revert to behave sensibly
6578 2003-02-17 André Pönitz <poenitz@gmx.net>
6581 * commandtags.h: new LFUN_INSERT_BIBKEY
6591 * paragraph_func.C: remove special bibkey handling
6593 2003-02-17 John Levon <levon@movementarian.org>
6595 * text.C (Delete): fix case where delete at the end of
6596 the very first paragraph would not merge the pars
6598 2003-02-17 John Levon <levon@movementarian.org>
6600 * lyxrow.C: fix lastPrintablePos()
6602 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6604 * bufferparams.C (writeLaTeX): add a std:here
6606 * buffer.C: and remove a using directive there
6608 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6610 * buffer.C (makeLaTeXFile): move the code that generates the
6613 * bufferparams.C (writeLaTeX): ... in this new method
6615 * LaTeXFeatures.C (getEncodingSet): make const
6616 (getLanguages): make const
6618 * MenuBackend.C (binding): returns the binding associated to this
6620 (add): sets the status of each item by calling getStatus. Adds
6622 (read): add support for OptSubMenu
6623 (expand): remove extra separator at the end of expanded menu
6625 2003-02-15 John Levon <levon@movementarian.org>
6628 * BufferView_pimpl.C:
6630 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6631 inset code that had no actual effect. Remove unneeded status
6634 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6636 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6639 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6641 * text.C (drawLengthMarker): also draw an arrow marker for
6642 symbolic lengths (medskip...)
6644 2003-02-14 John Levon <levon@movementarian.org>
6647 * tabular.C: better method names
6649 2003-02-14 John Levon <levon@movementarian.org>
6651 * BufferView_pimpl.C:
6656 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6657 it's a more accurate name. Remove some pointless uses.
6659 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6661 * text2.C (LyXText): change order of initilizers to shut off
6664 2003-02-14 John Levon <levon@movementarian.org>
6666 * buffer.C: use ParIterator for getParFromID()
6670 * paragraph_pimpl.h:
6671 * paragraph_pimpl.C: remove unused getParFromID()
6673 2003-02-14 John Levon <levon@movementarian.org>
6675 * buffer.C: remove some very old #if 0'd parse code
6677 2003-02-13 John Levon <levon@movementarian.org>
6681 * text2.C: move hfillExpansion(), numberOfSeparators(),
6682 rowLast(), rowLastPrintable(), numberofHfills(),
6683 numberOfLabelHfills() ...
6686 * lyxrow.C: ... to member functions here.
6691 * text.C: remove LyXText::beginningOfMainBody(), and call
6692 p->beginningOfMainBody() directly. Move the check for
6693 LABEL_MANUAL into the latter.
6700 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6706 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6707 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6709 2003-02-13 John Levon <levon@movementarian.org>
6711 * CutAndPaste.C: remove debug
6713 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * paragraph.C (asString): remove two unused variables
6717 * lyxtextclass.C (readTitleType):
6719 (LyXTextClass): handle new members titletype_ and titlename_
6721 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6723 2003-02-09 John Levon <levon@movementarian.org>
6726 * buffer.C: replace hand-coded list with a map for the dep clean
6728 2003-02-08 John Levon <levon@movementarian.org>
6730 * LaTeX.C: consolidate code into showRunMessage() helper
6732 2003-02-08 John Levon <levon@movementarian.org>
6737 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6738 and pass the size in explicitly
6740 * BufferView_pimpl.h:
6741 * BufferView_pimpl.C:
6743 * BufferView.C: add getCurrentChange()
6745 * BufferView_pimpl.h:
6746 * BufferView_pimpl.C: handle change lfuns
6748 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6749 for changes. Mark pasted paragraphs as new.
6751 * support/lyxtime.h:
6752 * support/lyxtime.C:
6753 * DepTable.C: abstract time_t as lyx::time_type
6756 * LColor.C: add colours for new text, deleted text, changebars
6758 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6759 package use "usenames" option.
6763 * LyXAction.C: add change lfuns
6767 * author.C: author handling
6770 * buffer.C: add a per-buffer author list, with first entry as
6771 current author. Handle new .lyx tokens for change tracking. Output
6772 author list to .lyx file. Output dvipost stuff to .tex preamble.
6773 Bump lyx format to 222.
6776 * bufferlist.C: add setCurrentAuthor() to reset current author details
6780 * bufferparams.C: add param for tracking
6782 * bufferview_funcs.C: output change info in minibuffer
6786 * changes.C: add change-tracking structure
6789 * debug.C: add CHANGES debug flag
6792 * lyxfind.C: add code for finding the next change piece
6795 * lyxrc.C: add user_name and user_email
6798 * lyxrow.C: add a metric for the top of the text line
6801 * text.C: implement accept/rejectChange()
6804 * text.C: paint changebars. Paint new/deleted text in the chosen
6805 colours. Strike through deleted text.
6809 * paragraph_pimpl.h:
6810 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6811 in the current change to the insert functions. Rework erase to
6812 mark text as deleted, adding an eraseIntern() and a range-based
6813 erase(). Implement per-paragraph change lookup and
6816 * paragraph_funcs.C: Fixup paste for change tracking.
6818 * tabular.C: mark added row/columns as new.
6820 * text.C: fix rowLast() to never return -1. Don't allow
6821 spellchecking of deleted text. Track transpose changes. Don't
6822 allow paragraph break or merge where appropriate.
6824 * text2.C: leave cursor at end of selection after a cut.
6826 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6828 * text.C (getLengthMarkerHeight):
6829 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6830 visible on screen too.
6832 2003-02-07 John Levon <levon@movementarian.org>
6834 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6836 2003-02-05 Angus Leeming <leeming@lyx.org>
6838 * lyxserver.C (read_ready): revert my patch of 11 September last year
6839 as it sends PC cpu through the roof. Presumably this means that
6840 the lyxserver will no longer run on an Alpha...
6842 2003-01-30 Angus Leeming <leeming@lyx.org>
6844 * factory.C (createInset): create an InsetCommandParam of type "index"
6845 and use it to 'do the right thing'.
6847 * text2.C (getStringToIndex): ensure that cursor position is always
6848 reset to the reset_cursor position.
6850 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6852 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6855 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6859 * lyxfunc.C: Output messages with identical spelling, punctuation,
6862 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6864 * MenuBackend.C (expandFormats): List only viewable export formats
6867 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6870 * lyxfunc.C (getStatus): Make sure that formats other than
6871 "fax" can also be disabled
6873 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * text3.C (dispatch): put the lfuns that insert insets in 3
6876 groups, and call doInsertInset with appropriate arguments.
6877 (doInsertInset): new function, that creates an inset and inserts
6878 it according to some boolean parameters.
6880 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * buffer.C (readFile): remember to pass on 'par' when calling
6883 readFile recursively.
6885 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6887 * MenuBackend.C (expandFormats): add "..." to import formats.
6889 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6891 * paragraph.C (asString): Remove XForms RTL hacks.
6893 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6894 * buffer.C: fix typo
6896 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * Makefile.am (LIBS): delete var
6899 (lyx_LDADD): add @LIBS@ here instead.
6901 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6903 * Clarify the meaning of "wheel mouse jump"
6905 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6907 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6910 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6912 * importer.C (Loaders): do not preallocate 3 elements in the
6913 vector, since one ends up with 6 elements otherwise
6915 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6917 * DepTable.C (write): write the file name as last element of the
6918 .dep file (because it may contain spaces)
6919 (read): read info in the right order
6921 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6923 * paragraph_pimpl.C (simpleTeXBlanks):
6924 (simpleTeXSpecialChars):
6925 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6927 * tabular.C (latex): add some missing case statements. Reindent.
6929 * MenuBackend.C (expandToc): remove unused variable.
6931 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6940 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6943 2003-01-05 John Levon <levon@movementarian.org>
6946 * BufferView.C: add getEncoding()
6949 * kbsequence.C: do not store last keypress
6952 * lyxfunc.C: store last keypress here instead. Pass encoding
6955 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6957 * lyx_main.C (init): remove annoying error message when following
6958 symbolic links (bug #780)
6960 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * text.C (insertChar):
6963 * lyxrc.C (getDescription): remove extra spaces
6965 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6967 * lyxrc.C (getDescription): remove extra spaces
6969 2002-12-20 John Levon <levon@movementarian.org>
6971 * text3.C: hack fix for page up/down across tall rows
6973 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6975 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6978 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6980 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6981 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6982 thesaurus is not compiled in
6984 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6986 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6988 2002-12-16 Angus Leeming <leeming@lyx.org>
6991 * lyx_main.C (init): remove override_x_deadkeys stuff.
6993 2002-12-12 John Levon <levon@movementarian.org>
6995 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6996 insert. Only remove shift modifier under strict
6999 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * MenuBackend.C (expandToc): fix crash.
7003 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * MenuBackend.C (expandToc): gettext on float names.
7007 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7009 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7010 implement bool empty() [bug 490]
7012 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7016 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * several files: ws changes
7020 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * text2.C (setCounter): clean up a bit, use boost.format.
7023 (updateCounters): initialize par upon declaration.
7025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7026 if the layout exists. We do not just store the layout any more.
7027 (SwitchLayoutsBetweenClasses): use boost.format
7029 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * converter.C (convert): if from and to files are the same, use a
7032 temporary files as intermediary
7034 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7037 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7039 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7041 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7043 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * tabular.C (asciiPrintCell): use string(size, char) instead of
7048 * sgml.C (openTag): fix order of arguments to string constructor
7051 * lyxfunc.C (dispatch): use boost.format
7053 * lots of files: change "c" -> 'c'
7055 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7057 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7059 2002-11-25 Angus Leeming <leeming@lyx.org>
7061 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7063 * lyx_main.C (init): compile fix.
7065 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * lyx_cb.C (start): boost.formatify
7068 do not include <iostream>
7070 * lengthcommon.C: ws only
7072 * boost-inst.C,BoostFormat.h: add more explict instantations
7074 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * lots of files: handle USE_BOOST_FORMAT
7078 2002-11-21 John Levon <levon@movementarian.org>
7080 * pspell.C: fix compile
7082 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7084 * lyxfunc.C (dispatch): use boost::format
7088 * lyxfont.C (stateText): use boost::format
7090 * lyx_main.C (LyX): use boost::format
7092 (queryUserLyXDir): ditto
7095 (typedef boost::function): use the recommened syntax.
7097 * importer.C (Import): use boost::format
7099 * debug.C (showLevel): use boost::format
7101 * converter.C (view): use boost::format
7106 * bufferview_funcs.C (currentState): use boost::format
7108 * bufferlist.C (emergencyWrite): use boost::format
7110 * buffer.C (readLyXformat2): use boost::format
7111 (parseSingleLyXformat2Token): ditto
7113 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7115 * LaTeX.C (run): use boost::format
7117 * Chktex.C (scanLogFile): use boost::format
7119 * BufferView_pimpl.C (savePosition): use boost::format
7120 (restorePosition): ditto
7121 (MenuInsertLyXFile): ditto
7123 * BoostFormat.h: help file for explicit instation.
7125 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7127 * tabular.C (latex): Support for block alignment in fixed width
7130 2002-11-17 John Levon <levon@movementarian.org>
7132 * BufferView_pimpl.C:
7134 * lyxfunc.C: split filedialog into open/save
7136 2002-11-08 Juergen Vigna <jug@sad.it>
7138 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7139 by my last patch (hopefully).
7141 2002-11-08 John Levon <levon@movementarian.org>
7150 * toc.C: ParConstIterator, and use it (from Lars)
7152 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7154 * lyxtextclass.[Ch]: revise and add doxygen comments
7156 2002-11-07 John Levon <levon@movementarian.org>
7158 * text.C: fix progress value for spellchecker
7160 * toc.C: fix navigate menu for insetwrap inside minipage
7162 * paragraph_funcs.C: added FIXME for suspect code
7164 2002-11-07 John Levon <levon@movementarian.org>
7166 * BufferView_pimpl.C: fix redrawing of insets
7169 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7171 * text2.C (updateCounters): fix bug 668
7173 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7175 * text3.C (dispatch): Do not make the buffer dirty when moving the
7178 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * vc-backend.C: STRCONV
7183 * text2.C (setCounter): STRCONV
7185 * paragraph.C (asString): STRCONV
7187 * lyxlength.C (asString): STRCONV
7188 (asLatexString): ditto
7190 * lyxgluelength.C (asString): STRCONV
7191 (asLatexString): ditto
7193 * lyxfunc.C (dispatch): STRCONV
7196 * lyxfont.C (stateText): STRCONV
7198 * importer.C (Import): STRCONV
7200 * counters.C (labelItem): STRCONV
7201 (numberLabel): ditto
7202 (numberLabel): remove unused ostringstream o
7207 * bufferview_funcs.C (currentState): STRCONV
7209 * buffer.C (readFile): STRCONV
7210 (asciiParagraph): ditto
7211 (makeLaTeXFile): ditto
7213 * Spacing.C (writeEnvirBegin): STRCONV
7215 * LaTeXFeatures.C (getLanguages): STRCONV
7216 (getPackages): ditto
7218 (getBabelOptions): ditto
7219 (getTClassPreamble): ditto
7220 (getLyXSGMLEntities): ditto
7221 (getIncludedFiles): ditto
7225 (scanAuxFile): ditto
7228 * LString.h: add the STRCONV macros
7230 * BufferView_pimpl.C (savePosition): STRCONV
7231 (restorePosition): ditto
7232 (MenuInsertLyXFile): ditto
7234 * vc-backend.C (scanMaster): change from submatch[...] to
7237 * funcrequest.C: include config.h
7239 * factory.C: include config.h
7241 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7243 * box.C: include config.h
7245 * LaTeX.C (scanAuxFile): change from submatch[...] to
7249 2002-10-25 Angus Leeming <leeming@lyx.org>
7251 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7253 * ispell.[Ch] (setError): new method.
7254 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7255 Use setError() insetead of goto END.
7257 * lyx_cb.C (AutoSave): move out child process into new class
7260 2002-10-30 John Levon <levon@movementarian.org>
7262 * text3.C: make start appendix undoable
7264 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7266 * lyxlength.C (inPixels): Fix returned value.
7268 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7271 2002-10-24 Angus Leeming <leeming@lyx.org>
7273 * lyxgluelength.h: no need to forward declare BufferParams
7274 or BufferView, so don't.
7276 2002-10-21 John Levon <levon@movementarian.org>
7278 * BufferView.C: menuUndo ->undo, redo
7280 * BufferView.h: document, remove dead, make some methods private
7282 * paragraph_funcs.h:
7283 * paragraph_funcs.C:
7284 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7289 * sgml.C: move sgml open/close tag into sgml.C
7291 * bufferview_funcs.h: unused prototype
7294 * lyxfunc.C: remove unused
7297 * text.C: remove unused
7299 2002-10-21 John Levon <levon@movementarian.org>
7303 * BufferView_pimpl.h:
7304 * BufferView_pimpl.C: fix mouse wheel handling based on
7305 patch from Darren Freeman
7307 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7309 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7311 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7313 * lyxlength.C (inPixels): Fix hanfling of negative length.
7314 Fix LyXLength::MU case.
7316 2002-10-16 John Levon <levon@movementarian.org>
7318 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7320 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * converter.C (view): add support for $$i (file name) and $$p
7323 (file path) for the viewer command. If $$i is not specified, then
7324 it is appended to the command (for compatibility with old syntax)
7326 2002-10-14 Juergen Vigna <jug@sad.it>
7328 * undo_funcs.C (textHandleUndo): alter the order in which the
7329 new undopar is added to the LyXText, as we have to set first
7330 the right prev/next and then add it as otherwise the rebuild of
7331 LyXText is not correct. Also reset the cursor to the right paragraph,
7332 with this IMO we could remove the hack in "redoParagraphs()".
7334 2002-10-09 Angus Leeming <leeming@lyx.org>
7336 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7337 to turn off an optimisation if a new inset is to be inserted.
7339 2002-10-11 André Pönitz <poenitz@gmx.net>
7341 * lyxtext.h: make some functions public to allow access
7342 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7344 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7346 * text3.C (dispatch): when changing layout, avoid an infinite loop
7349 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7351 * lyxrc.C (read): treat a viewer or converter command of "none" as
7354 * MenuBackend.C (expandFormats): for an update, also allow the
7355 formats that are not viewable
7357 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7358 script if it is newer than the lyxrc.defaults in user directory
7360 2002-10-07 André Pönitz <poenitz@gmx.net>
7362 * text.C: Vitaly Lipatov's small i18n fix
7364 2002-09-25 Angus Leeming <leeming@lyx.org>
7366 * ispell.h: doxygen fix.
7368 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7370 * buffer.h (readFile): Add a new argument to the method, to allow
7371 reading of old-format templates.
7373 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7375 * toc.C (getTocList): Get TOC from InsetWrap.
7377 2002-09-16 John Levon <levon@movementarian.org>
7379 * lyxfunc.C: check tabular for cut/copy too
7381 2002-09-12 John Levon <levon@movementarian.org>
7386 * factory.C: add header
7388 * paragraph_funcs.h:
7389 * paragraph_funcs.C: cleanup
7391 2002-09-11 John Levon <levon@movementarian.org>
7393 * PrinterParams.h: odd/even default to true
7395 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7397 * PrinterParams.h: update printer parameters for new xforms dialog
7399 2002-09-11 Angus Leeming <leeming@lyx.org>
7401 * lyxserver.C (read_ready): re-write to make it more transparent
7402 and to make it work in coherent fashion under Tru64 Unix.
7404 2002-09-11 André Pönitz <poenitz@gmx.net>
7408 * text3.C: implement LFUN_WORDSEL
7410 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7413 make floatlist_ a boost::shared_ptr<FloatList>
7415 * lyxtextclass.C: include FloatList.h
7416 (LyXTextClass): initialize floatlist_
7417 (TextClassTags): add TC_NOFLOAT
7418 (Read): match "nofloat" to TC_NOFLOAT and use it.
7419 (readFloat): modify call to floatlist_
7423 * FloatList.[Ch] (FloatList): remove commented out float
7425 (erase): new function
7427 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7429 * MenuBackend.C (expandToc): fix crash when there is no document
7432 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7434 * many files: Add insetwrap.
7436 2002-09-09 John Levon <levon@movementarian.org>
7438 * text2.C: remove confusing and awkward depth wraparound
7440 2002-09-09 John Levon <levon@movementarian.org>
7442 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7445 * buffer.C: remove getIncludeonlyList()
7448 * lyxfunc.C: remove headers
7450 2002-09-09 Juergen Vigna <jug@sad.it>
7452 * text.C (getColumnNearX): fix form Michael this is most
7453 probably a cut&paste bug.
7455 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7459 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7460 references, ws changes.
7462 * text2.C (init): update counters after init
7463 (insertParagraph): no need to set counter on idividual paragraphs.
7464 (setCounter): access the counters object in the textclass object
7465 on in the buffer object.
7466 (updateCounters): ditto
7468 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7469 shared_ptr<Counters> to avoid loading counters.h in all
7471 (LyXTextClass): initialize ctrs_
7472 (TextClassTags): add TC_COUNTER, and ...
7473 (Read): use it here.
7474 (CounterTags): new tags
7475 (readCounter): new function
7476 (counters): new funtion
7477 (defaultLayoutName): return a const reference
7479 * counters.C (Counters): remove contructor
7480 (newCounter): remove a couple of unneeded statements.
7481 (newCounter): simplify a bit.
7482 (numberLabel): some small formatting changes.
7484 * buffer.[Ch]: remove all traces of counters, move the Counters
7485 object to the LyXTextClass.
7487 2002-09-06 Alain Castera <castera@in2p3.fr>
7489 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7490 package to set the horizontal alignment on fixed width columns.
7493 * lyx_sty.h: added tabularnewline macro def.
7495 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7497 2002-09-06 John Levon <levon@movementarian.org>
7499 * LyXAction.C: tooltips for sub/superscript
7501 * MenuBackend.C: a bit more verbose
7503 * lyxfunc.C: tiny clean
7505 * undo_funcs.C: document undo_frozen
7507 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * counters.C (Counters): add missing algorithm counter.
7511 * text2.C (setCounter): lookup the counter with layouts latexname
7512 instead of by section number.
7513 (setCounter): use a hackish way to lookup the correct enum
7515 a float name->type change
7516 reset enum couners with counter name directly instead of depth value.
7518 * counters.C (Counters): remove the push_backs, change to use the
7519 float type not the float name.
7520 (labelItem): remove unused string, float name->type change
7522 * counters.h: don't include vector, loose the enums and sects vectors
7524 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7527 (Read): add float->TC_FLOAT to textclassTags
7528 (Read): and handle it in the switch
7529 (readFloat): new function
7531 * FloatList.C (FloatList): comment out the hardcoded float
7534 * lyxlayout.h: ws change.
7536 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7538 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7540 2002-09-03 Angus Leeming <leeming@lyx.org>
7542 * BufferView_pimpl.h: qualified name is not allowed in member
7543 declaration: WorkArea & Pimpl::workarea() const;
7545 * factory.C: added using std::endl directive.
7547 * text3.C: added using std::find and std::vector directives.
7549 2002-08-29 André Pönitz <poenitz@gmx.net>
7552 * text2.C: remove unused member number_of_rows
7555 * BufferView2.C: remove file, move contents to...
7556 * BufferView.C: ... here
7558 * BufferView_pimpl.C:
7559 * factory.C: move more inset creation to factory
7561 * vspace.C: avoid direct usage of LyXText, ws changes
7564 don't provide direct access to WorkArea, use two simple
7565 acessors haveSelction() and workHeight() instead
7568 2002-08-29 John Levon <levon@movementarian.org>
7570 * BufferView_pimpl.C (dispatch): do not continue when
7573 2002-08-28 André Pönitz <poenitz@gmx.net>
7575 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7578 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7580 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7582 * buffer.C: increment LYX_FORMAT to 221
7584 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7585 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7587 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7589 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7591 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * factory.C (createInset): use LyXTextClass::floats
7595 * MenuBackend.C (expandFloatListInsert):
7596 (expandFloatInsert):
7599 * text2.C (setCounter):
7601 * LaTeXFeatures.C (useFloat):
7602 (getFloatDefinitions):
7604 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7606 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7607 floatlist_, with accessor floats().
7609 * FloatList.h: remove global FloatList
7611 2002-08-26 André Pönitz <poenitz@gmx.net>
7613 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7617 * BufferView_pimpl.C:
7618 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7620 2002-08-25 John Levon <levon@movementarian.org>
7622 * LyXAction.C: fix margin note description
7624 2002-08-24 John Levon <levon@movementarian.org>
7628 * bufferview_funcs.C:
7630 * undo_funcs.C: cleanups
7632 * lyxfunc.C: disable CUT/COPY when no selection
7634 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7636 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7637 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7639 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7640 Add backward compatibility to "mono", "gray" and "no".
7642 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7644 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7645 (and file_format >= 200).
7647 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7649 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7651 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7653 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7655 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7657 * BufferView_pimpl.C:
7664 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7665 inset and code to make it work with the paragraph code. The inset
7666 can be anywhere in the paragraph, but will only do the expected
7667 thing in LaTeX if the layout file contains the parameter line
7669 (or more generally, a nonzero value) for that layout.
7671 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * paragraph.h: remove the declaration of undefined counters class
7676 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7678 * text2.C (setCounter): fixed enumeration mis-count as reported by
7679 Dr. Richard Hawkins.
7681 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * paragraph_funcs.h: remove some unneeded includes
7685 * text.C (backspace): pasteParagraph now in global scipe
7687 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7688 (pasteSelection): ditto
7690 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7691 * paragraph_funcs.C (pasteParagraph): ... here
7693 2002-08-20 André Pönitz <poenitz@gmx.net>
7695 * commandtags.h: new LFUNs for swapping/copying table row/colums
7698 * lyxfunc.C: support for new lfuns
7700 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * buffer.[Ch]: remove NO_COMPABILITY stuff
7705 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * boost.C (throw_exception): new file, with helper function for
7708 boost compiled without exceptions.
7713 * ParameterStruct.h:
7714 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7716 * bufferlist.C (emergencyWriteAll): use boost bind
7718 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7720 * text.C: include paragraph_funcs.h
7721 (breakParagraph): breakParagraph is now in global scope
7723 * paragraph_funcs.[Ch]: new files
7725 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7728 * buffer.C: include paragraph_funcs.h
7729 (insertStringAsLines): breakParagraph is now in global scope
7731 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7734 * CutAndPaste.C: include paragraph_funcs.h
7735 (cutSelection): breakParagraphConservative is now in global scope
7736 (pasteSelection): ditto
7738 * buffer.h: declare oprator== and operator!= for
7739 Buffer::inset_iterator
7741 * bufferlist.C (emergencyWrite): don't use fmt(...)
7743 * text3.C: add using std::endl
7745 * BufferView.C (moveCursorUpdate): remove default arg
7747 2002-08-20 André Pönitz <poenitz@gmx.net>
7749 * buffer.[Ch]: move inline functions to .C
7752 * BufferView_pimpl.C:
7754 * buffer.[Ch]: use improved inset_iterator
7757 * paragraph.[Ch]: write one paragraph at a time
7759 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7761 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7762 style if style is not specified.
7764 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7766 * text2.C (setCounter): when searching for right label for a
7767 caption, make sure to recurse to parent insets (so that a caption
7768 in a minipage in a figure float works) (bug #568)
7770 2002-08-20 André Pönitz <poenitz@gmx.net>
7772 * text3.C: new file for LyXText::dispatch() and helpers
7774 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7776 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7778 2002-08-19 André Pönitz <poenitz@gmx.net>
7781 * text.C: new LyXText::dispatch()
7783 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7785 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7787 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7789 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7792 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7794 * Makefile.am: use $(variables) instead of @substitutions@
7796 2002-08-15 André Pönitz <poenitz@gmx.net>
7799 * BufferView_pimpl.C: streamlining mathed <-> outer world
7803 * LyXAction.C: remove unused LFUN_MATH
7805 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7809 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * paragraph.C (Paragraph): reformat a bit
7812 (cutIntoMinibuffer): use builtin InsetList function instad of
7816 * buffer.C: include boost/bind.hpp, add using std::for_each
7817 (writeFileAscii): use ParagraphList iterators
7818 (validate): use for_each for validate traversal of paragraphs
7819 (getBibkeyList): use ParagraphList iterators
7820 (resizeInsets): use for_each to resizeInsetsLyXText for all
7822 (getParFromID): use ParagraphList iterators
7824 * BufferView2.C (lockInset): use paragraph list and iterators
7826 2002-08-14 John Levon <levon@movementarian.org>
7828 * lyxserver.C: remove spurious xforms include
7830 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7832 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7834 2002-08-13 André Pönitz <poenitz@gmx.net>
7837 * lyxfunc.C: further cleaning
7839 2002-08-13 André Pönitz <poenitz@gmx.net>
7841 * funcrequest.h: new constructor
7843 * funcrequest.C: move stuff here from .h
7846 * BufferView_pimpl.C:
7849 * lyxfunc.C: subsequent changes
7851 * lyxfunc.h: new view() member function
7853 * lyxfunc.C: subsequent changes
7855 2002-08-13 Angus Leeming <leeming@lyx.org>
7858 * BufferView_pimpl.C:
7866 changes due to the changed LyXView interface that now returns references
7867 to member variables not pointers.
7869 2002-08-13 Angus Leeming <leeming@lyx.org>
7871 * WordLangTuple (word, lang_code): return references to strings,
7876 * lyxtext.h: forward-declare WordLangTuple.
7881 * text.C: #include "WordLangTuple.h".
7884 * text.C: (selectNextWordToSpellcheck): constify return type.
7886 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7892 * paragraph_pimpl.h:
7895 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7897 Made updateCounter always count from start of buffer, and removed
7898 second argument (par).
7899 Reverted floats number display to '#'. Perhaps I'll try again when the
7900 code base is sanitized a bit.
7902 2002-08-12 Angus Leeming <leeming@lyx.org>
7904 * buffer.[Ch] (getLabelList): constify.
7906 2002-08-07 André Pönitz <poenitz@gmx.net>
7908 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7910 * funcrequest.h: extension to keep mouse (x,y) position
7912 2002-08-12 Juergen Vigna <jug@sad.it>
7914 * BufferView2.C (insertErrors): forbid undo when inserting error
7917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7919 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * ParagraphList.[Ch]: new files
7923 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7925 * BufferView2.C (lockInset): ParagraphList changes
7928 * bufferlist.C: ditto
7932 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7935 unused class variable counter_,
7937 * paragraph.[Ch] (getFirstCounter): delete unused function
7939 * counters.C: include LAssert.h
7940 (reset): add a new function with no arg, change other version to
7941 not have def. arg and to not allow empty arg.
7943 * text2.C (setCounter): remove empty arg from call to Counters::reset
7945 2002-08-11 John Levon <levon@movementarian.org>
7947 * Makefile.am: add WordLangTuple.h
7949 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7951 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7952 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7954 * insets/insettext.C: InsetList changes
7956 * graphics/GraphicsSupport.C (operator()): InsetList changes
7958 * toc.C (getTocList): InsetList changes
7960 * paragraph_pimpl.[Ch]: InsetList changes
7962 * paragraph.[Ch]: InsetList changes
7964 * buffer.C (inset_iterator): InsetList changes
7965 (setParagraph): ditto
7966 * buffer.h (inset_iterator): ditto
7967 * iterators.C (operator++): ditto
7968 * iterators.h: ditto
7970 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7972 * InsetList.[Ch]: new files, most InsetList handling moved out of
7975 * BufferView2.C (removeAutoInsets): InsetList changes
7977 (ChangeInsets): ditto
7979 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * paragraph_pimpl.h (empty): new function
7983 * paragraph.[Ch] (empty): new function
7985 * other files: use the new Paragraph::empty function
7987 2002-08-09 John Levon <levon@movementarian.org>
7989 * lyxtext.h: remove unused refresh_height
7991 2002-08-09 John Levon <levon@movementarian.org>
7998 * paragraph.C: move sgml char escaping out of paragraph
8001 * paragraph.C: remove id setter
8005 * paragraph_pimpl.C: remove dead tex_code_break_column
8007 * bufferview_funcs.C: small cleanup
8009 * lyxfunc.C: remove dead proto
8011 * lyxtext.h: make some stuff private. Remove some dead stuff.
8013 * lyxgluelength.C: make as[LyX]String() readable
8015 2002-08-08 John Levon <levon@movementarian.org>
8020 * ToolbarDefaults.C:
8023 * toc.C: lyxaction cleanup
8025 2002-08-08 John Levon <levon@movementarian.org>
8027 * BufferView2.C: small cleanup
8030 * lyxfind.C: move unnecessary header into the .C
8032 2002-08-08 John Levon <levon@movementarian.org>
8034 * funcrequest.h: just tedious nonsense
8037 * lyx_main.C: cleanups
8040 * vspace.C: remove dead header lyx_main.h
8042 2002-08-07 Angus Leeming <leeming@lyx.org>
8045 * paragraph_pimpl.h:
8046 Forward declare class Counters in paragraph.h by moving the ctrs member
8047 variable into Paragraph::Pimpl.
8048 (counters): new method, returning a reference to pimpl_->ctrs.
8050 * text2.C: ensuing changes.
8052 2002-08-07 John Levon <levon@movementarian.org>
8054 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8056 * BufferView_pimpl.C: announce X selection on double/triple
8059 * lyx_main.C: use correct bool in batch dispatch
8061 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8063 2002-08-07 André Pönitz <poenitz@gmx.net>
8065 * funcrequest.h: new class to wrap a kb_action and its argument
8068 * BufferView_pimpl[Ch]:
8072 * lyxrc.C: subsequent changes
8075 2002-08-07 John Levon <levon@movementarian.org>
8077 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8078 document options change.
8080 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8085 * makefile.am: move counters functionality over from
8086 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8088 2002-08-06 John Levon <levon@movementarian.org>
8090 * WordLangTuple.h: new file for word + language code tuple
8101 * BufferView2.C: use WordLangTuple
8104 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8106 2002-08-06 John Levon <levon@movementarian.org>
8108 * lyx_main.C: fix cmdline batch handling
8110 2002-08-06 André Pönitz <poenitz@gmx.net>
8112 * lyxrc.C: set default for show_banner to true
8114 2002-08-06 John Levon <levon@movementarian.org>
8116 * pspell.C: fix a crash, and allow new aspell to work
8118 2002-08-06 John Levon <levon@movementarian.org>
8121 * kbmap.C: small cleanup
8124 * vspace.C: add const
8126 2002-08-05 John Levon <levon@movementarian.org>
8128 * LyXAction.C: back to tabular-insert
8130 2002-08-04 John Levon <levon@movementarian.org>
8133 * BufferView.C: cosmetic change
8135 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8145 * BufferView2.C: purge all "Lyx" not "LyX" strings
8148 * lyxcursor.C: attempt to add some documentation
8153 * ToolbarDefaults.C:
8154 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8155 merge with LFUN_TABULAR_INSERT
8162 * pspell.C: split up i/pspell implementations into separate
8163 files, many cleanups
8165 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8167 * text2.C: some cleanup
8169 * lyxfunc.C: don't check for isp_command == "none" any more, it
8170 didn't make any sense
8172 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8177 * makefile.am: move counters functionality over
8178 from text2.C/paragraph.[Ch] to counters.[Ch], and
8180 2002-08-02 John Levon <levon@movementarian.org>
8182 * buffer.C: s/lyxconvert/lyx2lyx/
8184 2002-08-02 Angus Leeming <leeming@lyx.org>
8186 * lyxlex.C: revert John's change as it breaks reading of the user
8189 2002-08-02 Angus Leeming <leeming@lyx.org>
8191 * importer.C (Import):
8192 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8193 changes due to LyXView::view() now returning a boost::shared_ptr.
8195 2002-08-02 John Levon <levon@movementarian.org>
8197 * lyxlex.C: small cleanup
8199 2002-08-02 John Levon <levon@movementarian.org>
8201 * text2.C (status): small cleanup, no logic change
8203 2002-08-01 John Levon <levon@movementarian.org>
8206 * buffer.C (writeFile): don't output alerts, caller
8210 * lyx_cb.C: from above
8212 * lyxfunc.C: allow to open non-existent files
8214 2002-07-31 John Levon <levon@movementarian.org>
8216 * lyxserver.C: don't let incidental errors get
8219 2002-07-30 John Levon <levon@movementarian.org>
8221 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8223 2002-07-30 John Levon <levon@movementarian.org>
8226 * lyxserver.C: remove I/O callback too
8228 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8230 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8233 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * many files: strip,frontStrip -> trim,ltrim,rtrim
8237 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * PrinterParams.h: remove extern containsOnly, and include
8240 support/lstrings.h instead.
8242 * LaTeX.C (scanAuxFile): modify because of strip changes
8244 * buffer.C (makeLaTeXFile): ditto
8245 * bufferparams.C (writeFile): ditt
8246 * lyxfont.C (stateText): ditto
8247 * lyxserver.C (read_ready): ditto
8248 * vc-backend.C (scanMaster): ditto
8250 * BufferView_pimpl.h: ws changes
8252 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8254 2002-07-26 André Pönitz <poenitz@gmx.net>
8256 * kb_sequence.C: remove unnedred usings
8258 2002-07-26 Juergen Vigna <jug@sad.it>
8260 * lyxfind.C (LyXReplace): we have to check better if the returned
8261 text is not of theLockingInset()->getLockingInset().
8263 2002-07-25 Juergen Vigna <jug@sad.it>
8265 * lyxfind.C (LyXReplace): don't replace if we don't get the
8268 * undo_funcs.C (createUndo): remove debugging code.
8270 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8272 * buffer.C (parseSingleLyXformat2Token): Use default placement
8273 when reading old floats.
8275 * FloatList.C (FloatList): Change the default placement of figure
8276 and tables to "tbp".
8278 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8280 * MenuBackend.C: using std::max
8282 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8284 * MenuBackend.C (expandToc):
8285 (expandToc2): code moved from xforms menu frontend. It is now
8286 generic and TOCs are transparent to menu frontends.
8288 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8290 * toc.C (getTocList): protect against buf=0
8292 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8293 Menu as first parameter. Now, this calls itself recursively to
8294 expand a whole tree (this will be useful for TOC handling)
8295 (expandFloatInsert): remove 'wide' version of floats
8297 * MenuBackend.h (submenuname): returns the name of the submenu.
8298 (submenu): returns the submenu itself, provided it has been
8299 created by MenuBackend::expand
8301 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8303 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8304 insets which have noFontChange == true. (bug #172)
8306 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * BufferView_pimpl.C: add connection objects and use them...
8311 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8313 * MenuBackend.C (expandLastfiles):
8316 (expandFloatListInsert):
8317 (expandFloatInsert):
8318 (expand): split expand in parts
8320 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8322 * lyx_gui.C: use lyx_gui::exit()
8324 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8326 * LyXAction.C: show the failing pseudo action
8328 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8330 * buffer.C (readFile): Run the lyxconvert script in order to read
8333 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8337 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8339 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8343 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8345 2002-07-22 Herbert Voss <voss@lyx.org>
8348 * lyxlength.[Ch]: add support for the vertical lengths
8350 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8352 * toc.[Ch]: std:: fixes
8354 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8356 * lyxrc.C: do not include lyx_main.h
8358 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8364 * BufferView2.C: include "lyxlex.h"
8367 * bufferparams.h: do not #include "lyxlex.h"
8369 * lyxtextclasslist.C (Add): remove method
8370 (classlist): renamed to classlist_
8372 * paragraph_pimpl.C:
8376 * bufferview_funcs.C:
8381 * toc.C (getTocList): use BufferParams::getLyXTextClass
8383 * toc.C (getTocList): use InsetFloat::addToToc
8385 * toc.[Ch]: new files, containing helper functions to handle table
8388 * lyxfunc.C (dispatch): no need to remove spaces around command
8390 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8391 first command of the sequence; it is not very clever, but I do not
8392 have a better idea, actually
8394 * LyXAction.C (LookupFunc): make sure to remove space at the
8395 beginning and end of the command
8397 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8399 * MenuBackend.C (getMenubar): new method: return the menubar of
8401 (read): treat differently reading of menu and menubar (in
8402 particular, the menubar has no name now)
8403 (Menu::menubar): remove
8405 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8408 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8410 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8411 a bibitem inset in a RTL paragraph.
8413 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8415 * paragraph_pimpl.C: constify
8417 * BufferView_pimpl.C:
8419 * lyxfunc.C: fix dispatch in a nicer way
8421 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8423 * lyxfunc.C (dispatch):
8424 * BufferView_pimpl.C:
8425 * BufferView_pimpl.h:
8427 * BufferView.h: rename Dispatch() to dispatch()
8429 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8431 * lyxlayout.C (Read): honor DependsOn tag
8433 * lyxlayout.[Ch] (depends_on): new method
8435 * version.C.in: update lyx_docversion
8437 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8439 * paragraph.C (validate): remove from here...
8440 * paragraph_pimpl.C (validate): ... and move here
8441 (isTextAt): make it const
8443 * buffer.C (getLists): ws cleanup
8445 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8447 * language.C (read): Use iso8859-1 encoding in latex_lang
8448 (this prevents LyX from crashing when using iso10646-1 encoding).
8450 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8452 * text2.C (toggleInset): if cursor is inside an inset, close the
8453 inset and leave cursor _after_ it
8455 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8457 * lyxfunc.C: move minibuffer completion handling out of here
8459 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8461 * BufferView_pimpl.C:
8462 * LaTeX.C: fix dispatch calls
8464 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8466 * text.C (drawChars): Fix Arabic text rendering.
8468 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8472 * lyxfunc.C: remove message-push/pop
8476 * lyxfunc.C: rationalise some code by removing verboseDispatch
8477 in favour of a bool argument to dispatch()
8479 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8481 * lyx_main.C (init): make sure to read symlinks as absolute paths
8483 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8486 * lyxfunc.C: no need for commandshortcut to be a member
8488 2002-07-15 André Pönitz <poenitz@gmx.net>
8490 * converter.C: add support for $$s (scripts from lib/scripts dir)
8491 * lyx_main.C: white space
8493 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8497 * lyxrc.C: remove second exit confirmation
8499 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8504 * BufferView_pimpl.h:
8505 * BufferView_pimpl.C:
8506 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8508 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * MenuBackend.C (expand): add numeric shortcuts to document menu
8512 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8514 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * lyxfont.C (setLyXFamily):
8523 * buffer.C (asciiParagraph): use ascii_lowercase
8525 2002-07-15 Mike Fabian <mfabian@suse.de>
8527 * lyxlex_pimpl.C (search_kw):
8528 * lyxlex.C (getLongString):
8529 * converter.h (operator<):
8530 * converter.C (operator<):
8531 * buffer.C (parseSingleLyXformat2Token):
8533 * ToolbarDefaults.C (read):
8534 * MenuBackend.C (checkShortcuts):
8536 * LColor.C (getFromGUIName):
8537 (getFromLyXName): use the compare_ascii_no_case instead of
8538 compare_no_case, because in turkish, 'i' is not the lowercase
8539 version of 'I', and thus turkish locale breaks parsing of tags.
8541 2002-07-16 Angus Leeming <leeming@lyx.org>
8543 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8544 now takes a Buffer const & argument.
8546 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8548 * BufferView.C (resize): check there's a buffer to resize
8550 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8552 * lyxfunc.C: remove dead code
8555 * lyxserver.C: use lyx_guii::set_read_callback
8557 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8559 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8560 an inset in a RTL paragraph.
8562 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8564 * lyxfunc.C: repaint after a font size update
8566 2002-07-15 André Pönitz <poenitz@gmx.net>
8568 * lyxlength.C: inBP should be able to return negative values
8570 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8572 * lyxfunc.C: use lyx_gui::update_fonts()
8574 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8576 * lyxfunc.C: use lyx_gui::update_color()
8578 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8584 * lyxrc.C: remove file->new asks for name option, and let
8585 buffer-new take an argument
8587 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8589 * BufferView_pimpl.C: remove unneeded extra repaint()
8591 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8593 * LyXAction.C: allow command-sequence with NoBuffer
8595 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8597 2002-07-10 Angus Leeming <leeming@lyx.org>
8599 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8601 2002-07-09 Angus Leeming <leeming@lyx.org>
8603 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8605 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8607 * lengthcommon.h: whitespace
8609 * lyxfunc.C: update scrollbar after goto paragraph
8611 * lyxtext.h: factor out page break drawing, and fix it so
8612 page break/added space paints as selected nicely
8614 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8616 * BufferView_pimpl.C: add FIXMEs, clean up a little
8618 2002-07-09 André Pönitz <poenitz@gmx.net>
8620 * lyxfont.[Ch]: support for wasy symbols
8622 2002-07-08 André Pönitz <poenitz@gmx.net>
8624 * BufferView_pimpl.C: apply John's patch for #93.
8626 2002-07-05 Angus Leeming <leeming@lyx.org>
8628 * BufferView_pimpl.C (buffer): generate previews if desired.
8630 * LColor.h: add "preview" to the color enum.
8632 * LColor.C (LColor): add a corresponding entry to the items array.
8634 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8637 2002-07-05 Angus Leeming <leeming@lyx.org>
8639 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8640 The body of the code is now in the method that is passed an ostream &
8641 rather than a file name.
8642 Pass an additional only_preamble parameter, useful for the forthcoming
8645 2002-07-03 André Pönitz <poenitz@gmx.net>
8647 * lyxfunc.C: simplify getStatus() a bit for math stuff
8649 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8653 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * text.C (changeRegionCase): do not change case of all the
8656 document when region ends at paragraph end (bug #461)
8658 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8660 * paragraph.C (startTeXParParams):
8661 (endTeXParParams): add \protect when necessary
8663 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * BufferView_pimpl.C (workAreaExpose): remove warning
8667 2002-06-27 Angus Leeming <leeming@lyx.org>
8669 * Makefile.am: add lyxlayout_ptr_fwd.h.
8671 2002-06-26 André Pönitz <poenitz@gmx.net>
8673 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8675 2002-06-25 Angus Leeming <leeming@lyx.org>
8677 * lyxfunc.C (dispatch): Comment out the call to
8678 grfx::GCache::changeDisplay. The method no longer exists now that the
8679 pixmap generation part of the graphics loader has been moved into
8682 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8684 * text2.C: layout as layout
8686 * text.C: layout as layout
8688 * tabular.C (OldFormatRead): layout as layout
8690 * paragraph_pimpl.C (TeXDeeper): layout as layout
8691 (realizeFont): layout as layout
8693 * paragraph.C (writeFile): layout as layout
8694 (validate): layout as layout
8695 (getFont): layout as layout
8696 (getLabelFont): layout as layout
8697 (getLayoutFont): layout as layout
8698 (breakParagraph): layout as layout
8699 (stripLeadingSpaces): layout as layout
8700 (getEndLabel): layout as layout
8701 (getMaxDepthAfter): layout as layout
8702 (applyLayout): layout as layout
8703 (TeXOnePar): layout as layout
8704 (simpleTeXOnePar): layout as layout
8705 (TeXEnvironment): layout as layout
8706 (layout): layout as layout
8707 (layout): layout as layout
8709 * lyxtextclass.C (compare_name): new functor to work with
8710 shared_ptr, layout as layout
8711 (Read): layout as layout
8712 (hasLayout): layout as layout
8713 (operator): layout as layout
8714 (delete_layout): layout as layout
8715 (defaultLayout): layout as layout
8717 * lyxlayout_ptr_fwd.h: new file
8719 * lyxlayout.C (Read): layout as layout
8721 * lyx_cb.C (MenuInsertLabel): layout as layout
8723 * bufferlist.C (newFile): layout as layout
8725 * buffer.C (readLyXformat2): layout as layout
8726 (parseSingleLyXformat2Token): layout as layout
8727 (insertStringAsLines): layout as layout
8728 (asciiParagraph): layout as layout
8729 (latexParagraphs): layout as layout
8730 (makeLinuxDocFile): layout as layout
8731 (simpleLinuxDocOnePar): layout as layout
8732 (makeDocBookFile): layout as layout
8733 (simpleDocBookOnePar): layout as layout
8734 (getLists): layout as layout
8736 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8738 * CutAndPaste.C (cutSelection): layout as layout
8739 (pasteSelection): layout as layout
8740 (SwitchLayoutsBetweenClasses): layout as layout
8742 * BufferView_pimpl.C (Dispatch): layout as layout
8743 (smartQuote): layout as layout
8745 * BufferView2.C (unlockInset): layout as layout
8747 2002-06-24 André Pönitz <poenitz@gmx.net>
8749 * lyxfunc.C: fix #487
8751 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8755 * lyxfunc.C: remove display_shortcuts, show_banner
8757 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8759 * Buffer_pimpl.C: oops, update on resize
8761 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8768 * BufferView.C: use repaint()
8770 * BufferView_pimpl.h:
8771 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8772 as it's a clearer description. Remove superfluous
8775 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8777 * text.C: fix bug 488. Not ideal, but getting
8778 getWord() to work properly for the insets that
8779 matter is more difficult ...
8781 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8783 * BufferView_pimpl.C:
8786 * lyxfunc.C: remove the six million index lyxfuncs to just
8787 one, and DTRT (bug 458)
8789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8793 * BufferView_pimpl.h:
8794 * BufferView_pimpl.C: clean up resize() stuff,
8795 and unnecessary updateScreen()s
8797 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.h:
8802 * BufferView_pimpl.C:
8805 * minibuffer.C: remove focus management of workarea,
8806 not needed. Use screen's greyOut()
8808 2002-06-17 Herbert Voss <voss@lyx.org>
8810 * converter.C: (convert) do not post a message, when converting
8811 fails, let the calling function decide what to do in this case
8813 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8815 * lyxfunc.C: tidy up a little
8817 2002-06-16 <alstrup@diku.dk>
8819 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8820 Got rid of FORMS_H_LOCATION include. Now we are
8823 2002-06-15 LyX Development team <lyx@rilke>
8825 * buffer.[Ch] (sgmlOpenTag):
8826 (sgmlCloseTag): Added support for avoiding pernicious mixed
8827 content. Return number of lines written.
8830 (makeDocBookFile): Fixed calls to sgml*Tag.
8831 Simple white space clean.
8833 (simpleDocBookOnePar): Simple white space clean.
8835 * tabular.[Ch] (docBook): Renamed to docbook and got another
8836 argument to related with the pernicious mixed content.
8838 (docbookRow): Fixed calls for docbook inset method.
8840 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8842 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8843 so it's X11 independent.
8847 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8849 2002-06-15 Lyx Development team <lyx@electronia>
8851 * intl.h: Renamed getTrans to getTransManager.
8853 2002-06-14 Angus Leeming <leeming@lyx.org>
8855 * Makefile.am: nuke forgotten stl_string_fwd.h.
8857 2002-06-12 Angus Leeming <leeming@lyx.org>
8859 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8861 2002-06-13 Angus Leeming <leeming@lyx.org>
8864 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8866 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8868 * kbmap.C (getiso): add support for cyrillic and greek
8870 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8874 * BufferView_pimpl.h:
8875 * BufferView_pimpl.C: move bogus scrolling logic
8878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8881 * BufferView_pimpl.C: view->resize() change
8883 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8885 * BufferView_pimpl.C: topCursorVisible
8888 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8892 * lyx_gui.C: move to frontends/
8896 * lyx_main.C: changes from above
8898 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8905 * lyx_main.C: minor tidy
8907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8909 * BufferView_pimpl.h:
8910 * BufferView_pimpl.C:
8912 * BufferView.C: make painter() const,
8915 * BufferView2.C: use screen() accessor
8918 * lyx_main.C: some minor cleanup
8920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8922 * BufferView_pimpl.h:
8923 * BufferView_pimpl.C: remove enter/leaveView,
8926 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.h:
8932 * BufferView_pimpl.C: only construct screen once,
8935 * lyxrc.C: remove pointless comment
8937 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8940 * BufferView.C: remove active() and belowMouse()
8942 * BufferView_pimpl.h:
8943 * BufferView_pimpl.C: use workarea() not workarea_,
8944 and make it use a scoped_ptr instead
8946 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8948 * lyx_gui.C: add debug message on BadWindow
8950 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * sp_spell.C: fdopen is not part of the C++ standard.
8954 * paragraph.C (InsetIterator): use >= instead of ==
8956 2002-06-07 Angus Leeming <leeming@lyx.org>
8958 Fixes needed to compile with Compaq cxx 6.5.
8959 * BufferView_pimpl.C:
8966 * lyxtextclasslist.C:
8971 all c-library variables have been moved into namespace std. Wrap
8972 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8977 Add a using std::abs declaration.
8979 * kbmap.h (modifier_pair):
8980 * paragraph.h (InsetTable, InsetList):
8981 * lyxfont.h (FontBits):
8982 type definition made public.
8984 * bufferlist.C (emergencyWriteAll): the compiler complains that
8985 there is more than one possible lyx::class_fun template to choose from.
8986 I re-named the void specialisation as lyx::void_class_fun.
8988 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8990 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8991 the compiler is is unable to find tostr in write_attribute.
8993 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8995 * buffer.C (sgmlError): hide #warning
8997 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8999 * xtl/*: get rid of xtl, which is not in use anyway
9001 * LyXAction.C (init):
9002 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9003 were unimplemented xtl experimentation
9005 2002-06-04 André Pönitz <poenitz@gmx.net>
9007 * lyxfunc.C: disable array operation on simple formulae
9009 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9011 * converter.C: constify a bit
9013 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9015 * lyx_gui.C: check xforms version correctly
9017 2002-04-30 Herbert Voss <voss@lyx.org>
9019 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9022 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9024 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9025 attempt to register it with a VCS)
9027 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9029 * lyx_main.C (init): honor variables LYX_DIR_13x and
9032 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9036 * lyx_main.C: fix a crash on bad command line,
9037 and give a useful exit status on error
9039 * lyxfunc.C (doImport): allow -i lyx to work
9041 2002-03-30 André Pönitz <poenitz@gmx.net>
9043 * lyxfunc.C: mathed font changes
9045 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9060 * trans_mgr.h: srcdocs, and some minor cleanups
9062 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9065 call getFont all the time)
9067 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * switch from SigC signals to boost::signals
9071 2002-05-29 André Pönitz <poenitz@gmx.net>
9073 * paragraph_pimpl.C (getChar): don't call size() too often...
9075 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * paragraph_pimpl.C (insertChar): do not try to update tables when
9078 appending (pos == size())
9080 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9081 in order to reduce drastically the number of comparisons needed to
9082 parse a large document
9084 2002-05-29 André Pönitz <poenitz@gmx.net>
9090 * textclasslist.[Ch]:
9091 * sp_ispell.h: whitespace change
9093 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9095 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9096 lyxaction directly now.
9098 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9102 * lyxvc.C: remove unused headers
9104 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9111 * undo_funcs.C: some cleanups. Use shared_ptr
9112 and a template for the undo stacks.
9114 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9116 * BufferView_pimpl.h:
9117 * BufferView_pimpl.C:
9124 * text2.C: use key_state/mouse_state
9126 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9128 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9131 * chset.C: change include order
9132 (loadFile): use boost regex and get rid of LRegex and LSubstring
9134 * Makefile.am (BOOST_LIBS): new variable
9137 * LaTeX.C: change include order.
9138 (scanAuxFile): use boost regex and get rid of LRegex and
9142 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9147 * FontInfo.C: moved to frontends/xforms/
9150 * FontLoader.C: moved into frontends for GUIIzation
9155 * lyxfunc.C: changes from above
9157 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9159 * LColor.C: remove spurious X include
9161 * BufferView_pimpl.C:
9166 * text2.C: move font metrics to frontends/
9168 2002-05-24 Juergen Vigna <jug@sad.it>
9170 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9171 setting the undo_cursor.
9173 * ParagraphParameters.h: include local includes first.
9175 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9177 * BufferView_pimpl.C:
9178 * BufferView_pimpl.h:
9182 * screen.C: move WorkArea into frontends/
9188 * BufferView2.C: move LyXScreen into frontends/
9192 * lyx_gui.C: move lyxlookup into frontends/xforms/
9194 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9197 * BufferView_pimpl.C:
9207 * bufferview_funcs.C:
9220 * vc-backend.C: move LyX/XFormsView into frontends/
9222 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9234 * text2.C: move Painter to frontends/
9236 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * buffer.C: comment out some some code that depend upon lyx_format
9241 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9242 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9244 * buffer.h (NO_COMPABILITY): turn off compability
9246 * ColorHandler.C: include scoped_array.hpp
9248 * font.C: Use more specific smart_ptr header.
9251 * ShareContainer.h: ditto
9255 * BufferView_pimpl.h: ditto
9256 * ColorHandler.h: ditto
9258 * kbmap.C (defkey): change call to shared_ptr::reset
9260 2002-05-21 Juergen Vigna <jug@sad.it>
9262 * buffer.C (insertErtContents): fix to insert ert asis if it is
9263 non empty. Skip it completely if it contains only whitespaces.
9265 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9267 * BufferView_pimpl.C:
9268 * BufferView2.C: clear selection on paste (bug 393)
9270 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9272 * DepTable.C: include ctime
9274 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9276 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9278 2002-05-14 Juergen Vigna <jug@sad.it>
9280 * text.C (breakParagraph): fixed function to honor the keepempty
9281 layout in the right maner and also to permit the right breaking
9282 algorithm on empty or non empyt keepempty paragraphs.
9284 * paragraph.C (breakParagraph): we have to check also if the par
9285 is really empty (!size()) for isempty otherwise we do the wrong
9288 2002-05-10 Juergen Vigna <jug@sad.it>
9290 * buffer.[Ch] : The following are only changes to the ert
9291 compatibility read reading old LaTeX layout and font stuff and
9292 convert it to ERTInsets.
9294 * buffer.h: added isErtInset().
9296 * buffer.C (struct ErtComp): add a fromlayout bool to check
9297 if we're inside a LaTeX layout.
9298 (isErtInset): new helper function.
9299 (insertErtContents): look for other ert insets before this one
9300 and insert the contents there, so that we don't have subsequent
9301 ERT insets with nothing between them. This way we create only one
9302 inset with multiple paragraphs. Also check if we don't insert only
9303 spaces ' ' as they are ignored anyway afterwards in the .tex file
9304 so if we have only spaces we will ignore this latex part in the
9306 (parseSingleLyXformat2Token \\layout): better compatibility when
9307 reading layout-latex stuff.
9308 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9310 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9311 stuff after reading the inset only get the information back from
9314 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9316 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9318 * LaTeXFeatures.C (getBabelOptions): New method.
9320 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * BufferView_pimpl.C (Dispatch): work around missing argument for
9325 2002-05-08 Juergen Vigna <jug@sad.it>
9327 * text.C (leftMargin): handle paragraph leftindent.
9329 * paragraph.C (writeFile): write the new \\leftindent tag.
9330 (validate): handle leftindent code.
9331 (TeXEnvironment): handle paragraphleftindent code again.
9333 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9335 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9336 for paragrap_extra indent code and new token \\leftindent.
9337 (latexParagraphs): handle the leftindent as environment.
9339 * ParameterStruct.h: added leftindent support.
9341 * ParagraphParameters.C (leftIndent): added support functions for
9342 the paragraph left indent.
9344 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9347 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9349 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9352 * text.C (computeBidiTables): No bidi in insetERT.
9354 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9357 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * version.C.in: pre 5
9361 2002-05-02 José Matos <jamatos@fep.up.pt>
9362 * buffer.C (makeDocBookFile): white space changes, add newline to
9364 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9366 * tabular.C (docBook): fix typo.
9368 2002-05-03 Juergen Vigna <jug@sad.it>
9370 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9371 change in LyXText as we can not be sure it was not freed.
9372 (drawOneRow): remove unused code.
9374 * text.C (drawInset): redo the calculation of the need_break_row as
9375 it could have a row which was already freed.
9376 (draw): look at the return value of drawInset and return false if
9377 it also returned false.
9378 (paintRowText): look at the return value of draw and return false if
9379 it also returned false.
9381 * lyxtext.h: added bool return type to drawInset() and draw() so that
9382 if we have a change in the row so that the rowbreak has to be redone
9383 we abort drawing as it will be called again.
9385 2002-05-02 Juergen Vigna <jug@sad.it>
9387 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9388 a change in the maintext also if we're inside an inset.
9389 (Dispatch): set the cursor again after a break line and after the
9390 screen has been updated as it could be we're in a different row.
9392 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9393 to set the cursor behind the pargraph with > size().
9394 (setCursor): check also for the same paragraph when checking where
9395 to put the cursor if we have a NFR inset.
9397 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9398 parts of layout read further up as it still was in the wrong
9401 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9403 * screen.C (drawFromTo): change sine fullRebreak always return
9406 * buffer.C (parseSingleLyXformat2Token): reindent some
9408 * BufferView_pimpl.C (update): change since fullRebreak always
9410 (Dispatch): git rid of the last hardcoded "Standard"s.
9412 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9414 * text2.[Ch] (fullRebreak): make it return void now that we always
9417 2002-04-30 Juergen Vigna <jug@sad.it>
9419 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9420 ert compatibility check for "latex" layout.
9422 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9424 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9425 minipages: use col% instead of p%, and also use the current font.
9426 (makeLaTeXFile): Fix use babel condition.
9427 (parseSingleLyXformat2Token): Correct font when reading old floats.
9429 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9431 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9432 inserting list of floats.
9434 2002-04-25 Herbert Voss <voss@lyx.org>
9436 * MenuBackend.C (expand): don't add the graphics extensions to the
9439 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9442 non-existing layout, do not complain if it was the default layout
9443 of the original class (bug #342)
9445 2002-04-24 Juergen Vigna <jug@sad.it>
9447 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9448 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9450 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9452 * buffer.C (getBibkeyList): If using \bibliography, return the
9453 option field with the reference itself. Enables us to provide natbib
9454 support when using \bibliography.
9456 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9458 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9460 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9461 natbib is provided by the LaTeX class.
9463 2002-04-23 Juergen Vigna <jug@sad.it>
9465 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9468 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9470 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9472 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9474 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9475 ensuremath around textordmasculine, textordfeminine and
9478 2002-04-19 Juergen Vigna <jug@sad.it>
9480 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9481 reinitializing the buffer otherwise row-dimensions may be wrong.
9482 (update): reset also the selection cursors if they do exits otherwise
9483 their x/y positions may be wrong.
9485 * text2.C (cursorDown): don't enter the inset if we came from a row
9486 above and are one row over the inset.
9488 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9489 really leaving an inset.
9491 2002-04-18 Juergen Vigna <jug@sad.it>
9493 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9494 of the selected paragraph does not have the selected layout also if
9497 * text2.C (setLayout): fixed bug which did not change last selected
9500 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9501 changed the read and substituted \\end_float with \\end_inset!
9503 * BufferView_pimpl.C (cursorPrevious):
9504 (cursorNext): fixed to make it work with rows heigher than the work
9505 area without moving the cursor only the draw of the row.
9506 (workAreaMotionNotify): fix jumping over high rows.
9508 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9510 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9513 2002-04-16 Juergen Vigna <jug@sad.it>
9515 * text2.C (setCursor): set also the irow().
9516 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9518 (cursorDown): support for locking an inset if the x_fix value goes
9519 inside it. That way I can transverse insets too with cursor up/down.
9521 * lyxrow.h: added irow helper function same as other (i) functions.
9523 * BufferView_pimpl.C (cursorPrevious):
9524 (cursorNext): fixed for insets!
9526 2002-04-15 Juergen Vigna <jug@sad.it>
9528 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9529 position otherwise it is wrong in some cases.
9531 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9532 inside the inset before the call.
9534 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9536 * buffer.[Ch] (getBibkeyList): make it const.
9538 2002-04-12 Juergen Vigna <jug@sad.it>
9540 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9542 * text2.C (getCursorX): new helper function
9543 (setCursor): compute also ix_
9544 (setCursorFromCoordinates): set also ix.
9546 * lyxcursor.h: added ix_ and helper functions.
9548 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9550 * buffer.C (insertStringAsLines): dont break paragraph if the this
9551 paragraph is inside an inset which does not permit it!
9553 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9554 also with no chars on this paragraph.
9555 (paintRowText): only paint stuff if it's inside the workarea!
9557 * paragraph.C (breakParagraph): honor keepempty flag and break the
9558 paragraph always below not above.
9560 * BufferView2.C (unlockInset): update the paragraph layout on inset
9561 unlock as we changed paragraph in such a case.
9563 * lyxfind.C (LyXFind): clear the former selection if not found!
9565 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9566 again called in insertChar().
9568 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9569 an inset which uses the whole row!
9570 (rightMargin): ditto.
9571 (insertChar): force a rebreak if we inserted an inset!
9573 2002-03-28 Herbert Voss <voss@lyx.org>
9575 * lyxlength.[Ch]: add inBP() to get the right PS-point
9576 units (BigPoint). With inPixels we have rounding errors
9578 2002-04-11 Juergen Vigna <jug@sad.it>
9580 * text2.C (setCursorFromCoordinates): set iy to the right value.
9581 (setCursor): add check if row->previous exists!
9583 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9584 an old float_type as this was the case in the old code!
9586 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9588 * BufferView2.C (showLockedInsetCursor): use iy
9589 (fitLockedInsetCursor): ditto
9591 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9592 locked insets as there we have the right value now.
9594 * lyxcursor.C: added iy_ variable and iy functions to set to the
9595 baseline of cursor-y of the locked inset.
9597 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9598 (setCursor): fixed for insets which need a full row.
9600 * text.C (rowLastPrintable): don't ignore the last space when before
9601 an inset which needs a full row.
9602 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9603 as last character of a row when before a inset which needs a full row.
9605 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * version.C.in: update date
9609 * text2.C (fullRebreak): try to always return true and see what
9612 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * MenuBackend.C (expand): use Floating::listName
9616 * FloatList.C (FloatList): add listName argument to the built-in
9619 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9620 text associated with the float.
9622 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9626 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * ShareContainer.h: add a couple of missing typenames.
9630 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9632 * lyxrc.C (getDescription): use _() correctly rather than N_().
9634 2002-03-28 Herbert Voss <voss@lyx.org>
9636 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9637 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9639 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9642 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9644 2002-03-29 Juergen Vigna <jug@sad.it>
9646 * lyxfunc.C (dispatch): add a missing fitCursor call.
9648 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9649 it was scrolled by a cursor move, so return the bool status.
9651 * BufferView.C (fitCursor): return the bool flag also to the outside
9652 world as this is needed.
9654 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9656 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9657 call the edit() as it is not needed (and wrong) IMO.
9658 (workAreaButtonPress): set the screen_first variable before evt.
9659 unlock the inset as this may change screen_first and then we have
9660 a wrong y position for the click!
9662 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * MenuBackend.C (expand): another translation that I missed
9666 2002-03-28 Juergen Vigna <jug@sad.it>
9668 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9670 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9672 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9674 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9676 * MenuBackend.C (expand): fix export/view/update when there is no
9679 2002-03-27 Herbert Voss <voss@lyx.org>
9681 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9684 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * bufferview_funcs.C (currentState): only show paragraph number
9687 for is DEVEL_VERSION is set.
9689 * lyxfunc.C (dispatch): put warning in INFO channel
9691 * MenuBackend.C (expand): translate the name of floats
9693 * FloatList.C (FloatList): mark the float names for translation
9695 * converter.C (convert): use LibScriptSearch
9697 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * MenuBackend.C (defaults): fix default menu (we might as well get
9702 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9707 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * lyxvc.C: reorder includes.
9711 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9713 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9716 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9718 * CutAndPaste.C: change layouts earlier on paste
9719 to avoid crashing when calling getFont()
9721 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9723 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9726 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9728 * WorkArea.C: remove 'Pending' debug message.
9730 * most files: ws cleanup
9732 * buffer.[Ch]: ws changes
9734 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9736 2002-03-21 Juergen Vigna <jug@sad.it>
9738 * tabular.C (SetMultiColumn): collapse also the contents of the
9739 cells and set the last border right. Added a Buffer const * param.
9741 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9743 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9746 2002-03-19 Juergen Vigna <jug@sad.it>
9748 * text2.C (clearSelection): reset also xsel_cache.
9750 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9751 where it needs to be called (John tells us to do so too :)
9752 (selectionLost): reset sel_cache.
9754 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9756 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9758 * text2.C (setCursorIntern): put debuging code in INSETS channel
9760 2002-03-19 André Pönitz <poenitz@gmx.net>
9762 * lyxfunc.C: tiny whitespace change
9764 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * ToolbarDefaults.C (init):
9767 * LyXAction.C (init):
9769 * BufferView_pimpl.C (Dispatch):
9770 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9772 2002-03-19 Allan Rae <rae@lyx.org>
9774 * exporter.C (Export): removeAutoInsets before doing anything else.
9775 While I've just introduced a dependency on BufferView this really is
9776 the best place to clean the buffer otherwise you need to cleanup in
9777 a dozen places before calling export or cleanup in a dozen functions
9780 * converter.C (runLaTeX):
9781 (scanLog): Better handling of removeAutoInsets and screen updates.
9783 * lyxfunc.C (dispatch): small whitespace changes
9785 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * WorkArea.C (C_WorkAreaEvent): return a value.
9788 (event_cb): return 1 if we handled the event, 0 otherwise.
9790 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9792 2002-03-18 Juergen Vigna <jug@sad.it>
9794 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9795 (GetAdditionalWidth): ditto.
9799 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9800 inset if we're there actually (probably not used right now but this
9801 is the direction to go for unifying code).
9802 (paste): disable code to clear the selection.
9804 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9805 inside an InsetText and move the check further up as it is in the
9808 * text2.C (pasteSelection): set a selection over the pasted text.
9810 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9812 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9813 and libgraphics to build on Cygwin.
9815 2002-03-15 Juergen Vigna <jug@sad.it>
9817 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9818 inserting an Inset into the paragraph. I know this is not the best
9819 fix but we already use current_view in CutAndPaste so we will remove
9820 all of it's using at the same time.
9822 * buffer.C (sgmlError): deactivated function till it is rewritten in
9823 the right mode, now it can create problems.
9825 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9826 before accessing it.
9828 2002-03-14 Juergen Vigna <jug@sad.it>
9830 * undo_funcs.C (textHandleUndo): do the right thing when updating
9831 the inset after the undo/redo.
9833 * text2.C (setCursor): just some testcode for #44 not ready yet.
9835 * undo_funcs.C (textHandleUndo): set the next() and previous()
9836 pointers of the paragraph to 0 before deleting otherwise we have
9837 problems with the Paragraph::[destructor].
9839 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9840 on a paragraph insertion.
9842 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * buffer.C (asciiParagraph): use += operator for char append to
9847 * paragraph.C (getFontSettings): compare >= not just >
9848 (highestFontInRange): ditto
9851 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * paragraph.C: change several algorithm to be more appripriate for
9854 the problem domain. This is lookip in FontList and in the InsetList.
9856 2002-03-13 André Pönitz <poenitz@gmx.net>
9859 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9861 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9866 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9868 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * Painter.C (display): anon helper function, adjust code for this
9872 (pixmap): remove function.
9874 * Painter.h: remove private display variable.
9876 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9878 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9880 * WorkArea.[Ch]: remove figinset_canvas cruft.
9882 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * lyxtextclass.C (operator): add one item cache optimization.
9886 * bufferlist.h: doxy changes
9888 * bufferlist.C: ws changes
9890 * DepTable.[Ch] (ext_exist): place const in the right spot.
9892 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9894 (workAreaExpose): call resizeInsets when the with BufferView changes.
9895 (Dispatch): adjust for protectedBlank removal
9896 (specialChar): call updateInset if the insert went ok.
9898 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9899 specialChar instead.
9901 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9903 * BufferView.h: doxy change
9905 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9907 * lyxtextclass.C (operator[]): remove non-const version
9908 (defaultLayout): remove non-const version
9910 2002-03-12 Juergen Vigna <jug@sad.it>
9912 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9913 did resize the LyXText too.
9915 * buffer.C (readLyXformat2): set layout information on newly allocated
9918 * tabular.C (OldFormatRead): set layout information on the paragraph.
9920 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9922 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9924 2002-03-11 Juergen Vigna <jug@sad.it>
9926 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9928 (resizeCurrentBuffer): force also the insets to resize themselfes.
9929 (moveCursorUpdate): fixed up for InsetText.
9931 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9934 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9935 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9936 value of Dialogs::tooltipsEnabled().
9937 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9939 2002-03-08 Juergen Vigna <jug@sad.it>
9941 * BufferView_pimpl.C (updateInset): update inset inside inset also
9942 if it isn't inside theLockingInset().
9944 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9946 * buffer.C (asciiParagraph): redo some of the word and line length
9948 (getLists): look for Caption instead of caption.
9950 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * buffer.C (Buffer): initialize niceFile to true
9955 (makeDocBookFile): make sure niceFile is true on exit
9957 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9959 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9961 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9963 * LyXSendto.C: remove.
9964 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9965 * lyx_gui.C: remove now-redundant comment.
9966 * ColorHandler.h: remove forward declaration of class WorkArea.
9967 * lyxfunc.C: remove #include "WorkArea.h".
9969 2002-03-07 Juergen Vigna <jug@sad.it>
9971 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9972 got moved away with the DEPM and also set the inset_owner always
9973 right which before could have been omitted.
9975 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9977 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9978 wanted layout is not found.
9980 2002-03-07 Juergen Vigna <jug@sad.it>
9982 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9984 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * paragraph.C (breakParagraph): use default layout not layout of
9988 (Paragraph): clear ParagraphParameters.
9990 2002-03-06 Juergen Vigna <jug@sad.it>
9992 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9993 otherwise it would not be a valid lenght. Fixed a special case in
9994 the minipage compatibility read where we end the document with a
9997 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9998 was set as it could be 0 for InsetTexts first entry.
10000 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10002 * paragraph.C (writeFile): if layout is empty write out
10003 defaultLayoutName().
10005 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10006 file without named layout we set layout to defaultLayoutName().
10008 2002-03-06 Juergen Vigna <jug@sad.it>
10010 * CutAndPaste.C (copySelection): set layout for new paragraph.
10012 * text.C (prepareToPrint): leave ERT inset left aligned
10013 (leftMargin): don't indent paragraphs inside ERT insets
10015 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * paragraph.C (breakParagraph): dont call clear do the work manually
10019 * paragraph.[Ch] (clear): remove function
10021 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10023 * paragraph.C (Paragraph): dont call clear, the work has already
10026 * lyxtextclass.C (operator): assert if n is empty
10028 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10029 work manually instead.
10031 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10033 * BufferView_pimpl.C: protect selectionLost against text == 0
10035 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10037 * text.C (breakParagraph): fix a setting layout to '0' problem.
10039 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10041 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10042 final location of file, for the included files, and graphics.
10044 2002-03-05 Juergen Vigna <jug@sad.it>
10046 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10048 2002-03-04 Juergen Vigna <jug@sad.it>
10050 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10052 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10053 last column of multicolumn cells.
10054 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10056 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10058 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10059 file if it doesn't go to a temporary file.
10061 * buffer.C (sgmlOpenTag):
10062 (sgmlCloseTag): remove extra newline insertion.
10064 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * text.C (getRowNearY): comment out debug msg
10068 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * text2.C: first -> first_y
10072 * text.C (getRowNearY): add some attemts at a possible
10073 optimization, not working.
10075 * tabular.[Ch]: add BufferParams to several function so that newly
10076 created paragraph can be initialized to he default layotu for the
10079 * tabular-old.C (ReadOld): add buf->params to call of Init
10081 * screen.C: rename text->first to text->first_y
10083 * paragraph.C (breakParagraph): always set layout in the broken
10086 * lyxtextclass.C (Read): remove lowercase
10089 (delete_layout): ditto
10091 * lyxtext.h: rename first -> first_y
10093 * lyxlayout.C (Read): remove lowercase
10096 (obsoleted_by): ditto
10098 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10100 * buffer.C (insertErtContents): add params are to InsetERT
10101 (parseSingleLyXformat2Token): add code to check if a paragraphs
10102 layout really exist.
10103 (parseSingleLyXformat2Token): add params to several inset
10105 (asciiParagraph): remove lowercase, do the layout comparisons with
10108 * BufferView_pimpl.C (cursorNext): first -> first_y
10109 (resizeCurrentBuffer): first -> first_y
10110 (updateScrollbar): first -> first_y
10111 (scrollCB): first -> first_y
10112 (workAreaMotionNotify): first -> first_y
10113 (workAreaButtonPress): first -> first_y
10114 (checkInsetHit): first -> first_y
10115 (cursorPrevious): first -> first_y
10116 (cursorNext): first -> first_y
10117 (Dispatch): add buffer_->params to severl inset contructors
10119 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * lyxlayout.C (Read): remove some debug info that I forgot.
10123 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10124 clean up the code slightly.
10125 (makeLinuxDocFile): ditto
10126 (makeDocBookFile): ditto
10128 * text2.C: layout as string
10130 * text.C: layout as string
10132 * paragraph_pimpl.C: layout as string
10134 * paragraph.[Ch]: layout as string
10136 * lyxtextclasslist.[Ch]: layout as string
10138 * lyxtextclass.[Ch]: layout as string
10140 * lyxtext.h: layout as string
10142 * lyxlayout.[Ch]: layout as string
10144 * lyx_cb.C: layout as string
10146 * bufferview_funcs.C: layout as string
10148 * bufferparams.C: layout as string
10150 * buffer.C: layout as string
10152 * LyXView.[Ch]: layout as string
10154 * LaTeXFeatures.[Ch]: layout as string
10156 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10158 * BufferView_pimpl.C: change current_layout to string, remove
10163 (workAreaButtonRelease): layout as string
10165 * BufferView2.C (unlockInset): adjust
10167 * vspace.C (asLatexCommand): use an explict temp variable.
10169 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10171 * Makefile.am: use FRONTEND_*
10173 2002-03-01 Juergen Vigna <jug@sad.it>
10175 * tabular.C (SetWidthOfMulticolCell): changed to something better
10176 I hope but still work in progress.
10177 (recalculateMulticolumnsOfColumn): renamed function from
10178 recalculateMulticolCells as it is more appropriate now.
10179 (SetWidthOfCell): calculate multicols better.
10181 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10183 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10185 * lyxfunc.C (processKeySym): print sequence also if it is
10186 `deleted' (complete)
10188 * kbsequence.C (print): print sequence even if it is deleted
10189 (complete would be a better word, actually).
10191 * lyxfunc.C (dispatch): print complete options after a prefix key
10193 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10195 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10197 * text2.C (setCharFont): eliminate setCharFont code duplication.
10199 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10201 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10202 LFUN_TABULAR_FEATURE (bug #177)
10204 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10206 * Makefile.am: remove figure.h
10208 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10210 * Bufferview_pimpl.C:
10222 * text2.C: remove #include "lyx_gui_misc.h".
10224 * LaTeX.C: added #include <cstdio>
10226 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10229 that the paragraph following this one can have.
10231 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10233 * vspace.C (asLatexCommand): fix bogus gcc warning
10235 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10237 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10239 * text2.C (setLayout): get rid of redundant code
10241 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10243 * text2.C (incDepth): make sure depth cannot be increased beyond
10246 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10248 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10249 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10251 * PainterBase.h (image):
10252 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10253 a LyXImage const *.
10255 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10259 * BufferView_pimpl.C:
10260 * BufferView_pimpl.h:
10280 * sp_spell.C: remove fig inset, and the crap house of
10281 cards that follows it
10283 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10288 * os2_errortable.h:
10289 * nt_defines.h: move .h into support/
10291 * vms_defines.h: remove
10293 * WorkArea.C: add space in debug output
10297 * buffer.C: add WITH_WARNINGS
10301 * bufferlist.C: s/retrive/retrieve/, add docs
10310 * chset.C: add docs
10312 * lyxgui.C: add ID to X error handler
10314 * lyxtestclass.c: fix typo
10316 2002-02-26 Juergen Vigna <jug@sad.it>
10318 * tabular_funcs.C (write_attribute): changed so that some default
10319 attributes are not written at all.
10320 (getTokenValue): set default values before trying to read the
10321 value so we have the return value always set as default if we don't
10322 find the token we search for.
10324 * tabular.C (Write): write bools as bools not as strings!
10326 2002-02-22 Juergen Vigna <jug@sad.it>
10328 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10329 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10331 * text.C (leftMargin): don't add an indent for paragraphs inside
10332 tabular cells (fix #208).
10334 2002-02-21 José Matos <jamatos@fep.up.pt>
10336 * tabular.C (docBook): fixed support for long tables.
10338 2002-02-20 Juergen Vigna <jug@sad.it>
10340 * text2.C (getFont): get the drawing font of the Inset if this
10341 paragraph is inside an inset (only important for InsetERT for now).
10343 * buffer.C (insertErtContents): use new lanugage params in ERT
10346 * CutAndPaste.C: commenting out seemingly uneeded code.
10348 2002-02-19 Allan Rae <rae@lyx.org>
10350 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10351 Iterators might be simple to use but they also get invalidated.
10352 (removeAutoInsets): renamed saved cursor tracking variables and added
10353 some comments to clarify what everything does.
10355 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10362 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10363 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10366 * vc-backend.h: remove #include "support/syscall.h"
10370 * converter.C: rearrange #includes in Lars' approved fashion.
10372 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10373 forward declare class Timeout in the header file.
10375 * XFormsView.C: changes due to the above.
10377 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10378 similar to LyXView.
10380 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10381 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10383 2002-02-18 José Matos <jamatos@fep.up.pt>
10385 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10388 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10390 * a lot of small ws changes
10391 * add a lot of using std::XXX
10392 * use std construcs some places where approp.
10393 * use some exisint stuff from lyxfunctional where approp.
10394 * Make file changes to use partial linking (lets test this now...)
10396 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10400 remove #include "support/syscontr.h" as it's redundant. Always has been.
10408 change Systemcalls::System to Systemcalls::Wait and
10409 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10410 No change of functionality, just reflects the stripped down Systemcalls
10413 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10415 * debug.[Ch]: add a GRAPHICS type to the enum.
10417 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10421 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10424 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10427 match the changes below.
10429 * text2.C (toggleInset): if there is not editable inset at cursor
10430 position, try to see if cursor is _inside_ a collapsable inset
10433 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10436 document menu has a nice checkbox
10438 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * lyxlength.C (asLatexString): change PW to output as percent of
10443 * lengthcommon.C: change '%' to 't%'
10445 * lyxfunc.C (dispatch): a few comments from Martin
10447 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10451 * BufferView_pimpl.h:
10452 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10455 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10457 * vspace.C (inPixels): fix compiler warning
10459 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10461 * lyxfunc.C (getStatus): fix status message for disabled commands.
10463 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: fix crash on close buffer
10466 during selection (#227)
10468 2002-01-27 Herbert Voss <voss@lyx.org>
10470 * buffer.C: link old Figure to new graphic inset
10472 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10474 * FontLoader.C (getFontinfo): Change the latex font names in order
10475 to match the names of type1inst.
10477 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10481 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10482 (extchanged): ditto
10484 (remove_files_with_extension): ditto
10485 (remove_file): ditto
10488 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10489 document is smaller than the work area height. Do not initialize
10490 static variables to 0.
10492 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10494 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10496 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10497 LFUN_LAYOUT_PARAGRAPHS.
10499 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10500 tabular. It is possible to provide a possible cell, which will
10501 typically be the actcell from the corresponding insettabular
10503 * lyxfunc.C (getStatus): small cleanup; disable
10504 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10507 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10509 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10511 * paragraph.C (startTeXParParams):
10512 (endTeXParParams): new methods. The LaTeX code to
10513 start/end paragraph formatting
10514 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10515 empty (fixes bug #200)
10517 * vspace.C (inPixels): adapt to the change below
10518 (inPixels): [later] more cleanups (remove unused variables)
10520 * lyxlength.C (inPixels): change to use a width and a height as
10523 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10526 Replaced with \paperwidth
10528 * DepTable.C (insert): add std:: qualifier
10530 2002-01-18 Allan Rae <rae@lyx.org>
10532 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10535 * text.C (drawInset): Turned out I didn't know enough about how
10536 rebreaking worked. This fixes most of the redraw problems. I see
10537 an occasional cursor trail when a line is broken now and the cursor
10538 placement can seem out by a few pixels also after a rebreak.
10540 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10542 * buffer.C (parseSingleLyXformat2Token): update because minipage
10543 width is now a LyXLength
10545 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10547 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10550 2002-01-17 Juergen Vigna <jug@sad.it>
10552 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10554 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10555 is set correctly and the inset is updated correctly.
10557 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10560 the beginning of the loop.
10562 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10564 * lyxrc.C: improve help for use_scalable_fonts
10566 2002-01-17 Allan Rae <rae@lyx.org>
10568 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10570 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10573 make sure to set their inset_owner to the right value (bug #171)
10575 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10578 * DepTable.C: Implement mtime checking to reduce time spent doing
10581 2002-01-16 Juergen Vigna <jug@sad.it>
10583 * tabular.C (GetAdditionalHeight): one of error fixed.
10585 * lyxrc.C (output): small fix in writing use_pspell.
10587 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10589 * sp_base.h: #include LString.h
10591 2002-01-16 Allan Rae <rae@lyx.org>
10593 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10594 Can someone check this please?
10596 * text.C (drawInset): It was possible that p.row would be removed by
10597 breakAgainOneRow upsetting a few other settings. There may be another
10598 small tweak possible by setting need_break_row = 0 when p.row has been
10599 removed but I don't know enough about the logic here.
10601 2002-01-15 Allan Rae <rae@lyx.org>
10603 * text.C (insertChar): removed conditional truism.
10605 * BufferView2.C (removeAutoInsets): More tweaks.
10606 cur_par_prev could be a stray pointer. Check for trailing empty line
10607 in case last line was cur_par and only had an error inset on it.
10609 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10611 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10614 * vc-backend.C (most methods):
10615 * exporter.C (Export):
10616 * converter.C (convert):
10618 * LyXSendto.C (SendtoApplyCB):
10619 * lyxfunc.C (dispatch):
10623 * lyx_cb.C (AutoSave):
10625 * BufferView_pimpl.C (MenuInsertLyXFile):
10626 * buffer.C (runChktex): use Buffer::filePath().
10628 * buffer.h: rename filename to filename_; rename filepath to
10629 filepath_ and make it private
10630 (filePath): new method
10632 * buffer.C (writeFile): use fileName()
10635 * lyx_main.C (init): fix starting of LyX when the binary is a
10636 link from so,ewhere else.
10638 * minibuffer.C: include <cctype> for isprint
10640 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10642 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10643 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10644 name clash with InsetCollapsable's width function.
10646 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * lastfiles.C: include <iterator>
10650 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10652 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10655 * buffer.C (makeLaTeXFile): ditto.
10656 Also make loop operation more transparent.
10658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10660 * ToolbarDefaults.C: remove trailing comma closing namespace.
10662 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10664 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10667 * trans.C (Load): comment out unused variable, allowed.
10669 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10671 * minibuffer.[Ch] (append_char): new method to recieve input from the
10672 drop-down completion browser. If a key was pressed, then recieve this
10673 char and append it to the existing string.
10674 (peek_event): modify the positioning data passed to the completion
10675 browser so that it can be placed above the minibuffer rather than below.
10676 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * LyXAction.C (init): alloe error-next for readonly documents.
10680 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10683 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * bufferlist.C (readFile): create the buffer _after_ checking that
10688 * lyxfunc.C (verboseDispatch): fix handling of arguments
10690 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10692 * lyxrc.C: use string::erase() instead of initializing to "".
10695 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10697 * BufferView_pimpl.h:
10698 * BufferView_pimpl.C:
10701 * text2.C: tell X when we have made a selection for copying
10703 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * BufferView_pimpl.C (MenuInsertLyXFile):
10706 * lyxfunc.C (menuNew):
10708 (doImport): add shortcuts to directory buttons
10710 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10713 * lyxfunc.C (setStatusMessage):
10714 (getStatusMessage): new methods
10715 (getStatus):use setStatusMessage instead of setErrorMessage
10716 (dispatch): when function is disabled, set error message here
10717 [instead of in getStatus previously]
10719 * BufferView_pimpl.C (workAreaButtonRelease): update
10720 toolbar/menubar here too.
10722 2002-01-13 Allan Rae <rae@lyx.org>
10724 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10725 Now seems indestructible. Remaining task is to audit all other
10726 code affected by deleteEmptyParagraphMechanism. One small quirk
10727 left is that an empty document with an error in the preamble can
10728 be made to report an error but no error box appears. I don't know
10730 (removeAutoInsets): Improved comments.
10732 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10735 * Thesaurus.C: update for Aiksaurus 0.14
10737 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * text2.C (firstParagraph): removed member function, all uses
10740 replaces with ownerParagraph
10741 (redoParagraphs): here
10742 (updateInset): here
10743 (toggleAppendix): here
10744 * BufferView2.C (insertErrors): here
10745 (setCursorFromRow): here
10747 2002-01-13 Allan Rae <rae@lyx.org>
10749 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10750 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10751 There is still a way to segfault this although you may have to do this
10752 multiple times: Have an InsetERT with an unknown command in it.
10753 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10754 <down-arrow>, <Enter> again, View->DVI, BANG!
10756 * text2.C (setCursor):
10757 (deleteEmptyParagraphMechanism):
10758 * lyxtext.h (setCursor):
10759 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10760 Making use of the return value may help fix other bugs.
10762 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10766 * LyXView.C (updateMenubar): call MenuBar::update here
10767 (updateToolbar): but not here
10768 (showState): do not update toolbar/menubar
10770 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10771 should need to care about that.
10773 * lyxfunc.C (verboseDispatch): simplify a bit
10774 (getStatus): have a version which takes a pseudoaction, and
10775 another which requires a (kb_action,string).
10777 * LyXAction.C (retrieveActionArg): make it work also when action
10778 is not a pseudo-action.
10779 (getActionName): simplify a bit
10782 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * lyxfunc.C (verboseDispatch): new families of methods with
10785 several ways to specify a command and a bool to indicate whether
10786 the command name and shortcut should be displayed in minibuffer
10787 (eventually, we could extend that to a finer bitmask like
10788 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10789 (dispatch): the pristine dispatch command which just, well,
10790 dispatchs! Note it still sets its result to minibuffer; I'm not
10793 * lyxfunc.h: remove setHintMessage
10795 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10797 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10799 * BufferView_pimpl.C (specialChar): delete new inset if we have
10800 not been able to insert it.
10802 * kbmap.C: revert to using int instead of kb_action, since all we
10803 are dealing with is pseudo-actions.
10805 * LyXAction.C (searchActionArg): change to return int instead of
10806 kb_action, since the result is a pseudoaction.
10808 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10810 * buffer.C (insertErtContents): Fix (partially) the font bug.
10812 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10814 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10815 as the other one is broken on my machine!
10817 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10820 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10822 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10824 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10825 reflect their actual use. Provide compatibility code for older lyxrc
10828 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10830 change names of popup font variables in line with the changes to lyxrc.C
10832 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * buffer.C (asciiParagraph): avoid outputing a word twice after
10837 * lyxrc.C (getDescription): document that document_path and
10838 template_path can be empty.
10840 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10842 * LaTeXFeatures.C (getMacros):
10843 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10845 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10847 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10849 (getPackages): rename feature "floats" to "float". Use an array to
10850 iterate over 'simple' features (i.e. just a \usepackage). Add
10851 handling of "amsmath" (renamed from "amsstyle").
10853 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10855 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10858 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10860 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10861 FuncStaus::FuncStatus & FuncStaus::some_method().
10863 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10865 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10866 of the func_satus stuff. Edited and massaged in various ways by
10869 * lyxfunc.C (getStatus): use FuncStatus
10871 2002-01-08 Juergen Vigna <jug@sad.it>
10873 * text.C (nextBreakPoint): use function Inset::isChar().
10875 * paragraph.C (TeXOnePar): use function
10876 Inset::forceDefaultParagraphs.
10878 * buffer.C (latexParagraphs): use function
10879 Inset::forceDefaultParagraphs.
10881 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10883 * lyx_gui.C (init): set the style of the menu popups to
10884 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10886 2002-01-07 Juergen Vigna <jug@sad.it>
10888 * text.C (setHeightOfRow): small fix
10889 (prepareToPrint): don't look at alignment if we don't have the place
10892 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10894 * box.C: New file. Move the Box methods and functions out of box.h,
10895 following Lars' suggestion.
10897 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10899 * box.h: #include "support/LOstream.h", needed for inlined function.
10902 * lyxtextclasslist.C: added some using std declarations.
10904 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10906 * box.h: make signed dimensions to allow insets wider than
10907 the screen (bug #162)
10909 * BufferView_pimpl.C: add some insetHit debug
10911 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10913 * vc-backend.C: add FIXME
10915 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * lyxfunc.C (getStatus): enable code for showing math font status
10920 2002-01-07 Juergen Vigna <jug@sad.it>
10922 * text.C (nextBreakPoint): removed debug output not needed anymore.
10924 2002-01-06 Juergen Vigna <jug@sad.it>
10926 * text.C (nextBreakPoint): fixed up this function we had this bug
10927 since ever but now hopefully we break row better.
10928 (insertChar): we have to check if an inset is the next char as it
10929 could now happen that a large inset is causing a break.
10931 2002-01-05 Juergen Vigna <jug@sad.it>
10933 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10934 if it doesn't like to be drawed.
10936 2002-01-04 Juergen Vigna <jug@sad.it>
10938 * BufferView2.C (lockInset): forgot to set a cursor.
10940 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10942 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10944 * FormMathsPanel.C:
10947 * form_maths_panel.C:
10948 * form_maths_panel.h:
10949 * form_maths_panel.fd: implemented sub- and super- buttons in math
10952 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10953 (or ^ space) to be used as in TeX (req'd by André).
10955 * lyxfunc.C: Allow ^ and _ again to be used both as
10956 super/subscript (mathed) and as themselves (in text).
10958 2002-01-03 Allan Rae <rae@lyx.org>
10960 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10961 "LyX" or the filename of the current buffer if it has one. This is a
10962 modified form of John Levon's patch.
10964 * XFormsView.C (setWindowTitle): also set icon title.
10966 * LyXView.h (setWindowTitle): signature changed.
10967 * XFormsView.h (setWindowTitle): ditto.
10969 2002-01-02 Juergen Vigna <jug@sad.it>
10971 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10973 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * screen.C (topCursorVisible): introduce a temp var for
10976 text->cursor.row(), handle the case where this row is null. (kindo
10979 * text2.C (setCursor): add a couple of asserts.
10981 * paragraph.h (inset_iterator): add -> operator
10983 * paragraph.[Ch] (autoDeleteInsets): remove member function
10985 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10986 cursor pos correctly and handle inset deletion by itself.
10987 (insertErrors): move iterator declaration out of for expression
10989 * lyxtextclass.C: add <algorithm>
10991 * Makefile.am: added the new files to sources, removed layout.C
10993 * layout.C: removed file
10995 * layout.h: remove LYX_DUMMY_LAYOUT
10997 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11001 * lyxtextclass.[Ch]:
11002 * lyxtextclasslist.[Ch]: new files
11004 * include order changes to a lot of files, also changes because of
11007 2001-12-27 Juergen Vigna <jug@sad.it>
11009 * buffer.C (asciiParagraph): more fixes.
11011 * tabular.C (ascii): make ascii export support export of only the
11012 data separated by a column-delimiter.
11013 (ascii): better support for ascii export.
11015 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11017 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * tabular_funcs.C: use a "using std::getline" instead of the
11020 previous fix from Angus (necessary for cxx + lyxstring)
11022 2001-12-24 Juergen Vigna <jug@sad.it>
11024 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11026 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11027 problems. First check a minipage also if we have some ert-contents
11028 (not only on par->size(), second set the right depth of the paragraph
11029 on the relink to the root-paragraph-list!
11031 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11032 which then did not anymore update the main paragraphs on undo/redo!
11034 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11036 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11037 code. Support all font-changing funcs (even those which are not in
11038 menu currently). Support for reporting font settings in
11039 mathed (disabled until Andre provides a function on mathed's side).
11041 * func_status.h (toggle): small helper function to set toggle
11044 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11046 * tabular_funcs.C: getline -> std::getline
11048 2001-12-21 Juergen Vigna <jug@sad.it>
11050 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11051 accessed and could be 0 (I couldn't generate this but it seems
11054 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11056 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11057 * tabular_funcs.h: here and include iosfwd
11059 2001-12-20 Juergen Vigna <jug@sad.it>
11061 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11062 inside inset but undo_par was.
11064 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * Thesaurus.C: always include <config.h> in sources.
11070 * box.h: do not include <config.h> in header files
11072 * text.C (paintLastRow): remove unused variable
11074 * text.C (transformChar):
11076 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11078 * Painter.C (text):
11079 * font.C (width): rewrite to use uppercase() instead of
11082 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11084 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11086 * lyxfind.C: clean up of find failure position change
11088 2001-12-20 Juergen Vigna <jug@sad.it>
11090 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11092 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11093 (TeXRow): added to LaTeX a single tabular row.
11094 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11095 (Latex): simplified and finally good LT-h/f support.
11096 (various_functions): just small adaptions for LT-h/f support.
11098 * tabular_funcs.[hC]: added and moved here all not classfunctions
11101 2001-12-19 Juergen Vigna <jug@sad.it>
11103 * tabular.[Ch]: better support for longtabular options (not finished
11106 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11108 * text.C (paintLastRow): use the label font instead of the font of
11109 the last character to compute the size of *_BOX. This makes more
11110 sense and avoids a crash with empty paragraphs.
11111 Use Painter::rectangle to draw EMPTY_BOX.
11113 2001-12-19 Juergen Vigna <jug@sad.it>
11115 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11116 the paragraphs if the replaced paragraph is not the first one!
11117 Tried to delete not used paragraphs but does not work yet so for
11118 now it's inside #ifdef's and by default off!
11120 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * MenuBackend.C: include "lyx_main.h" instead of declaring
11123 lastfiles (actually was declared as LastFiles* instead of a
11126 2001-12-17 Juergen Vigna <jug@sad.it>
11128 * tabular.C (AppendColumn): applied John's fix
11130 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView_pimpl.h:
11135 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11138 * box.h: new start of class for above
11140 * lyxfunc.C: ignore space-only minibuffer dispatches.
11141 Show the command name when it doesn't exist
11143 * minibuffer.C: don't add empty lines to the history
11145 * minibuffer.C: add a space on dropdown completion
11147 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11149 * text.C: fix line above/below drawing in insets
11151 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * lyxlength.C (LyXLength): Initialize private variables.
11155 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11157 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11158 when inserting error insets.
11160 2001-12-13 Juergen Vigna <jug@sad.it>
11162 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11163 actually sometimes the before-paragraph.
11164 (setUndo): don't clear the redostack if we're not actually undoing!
11166 2001-12-06 Juergen Vigna <jug@sad.it>
11168 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11169 and fixed redoing of main paragraph, so we can use it now ;)
11171 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11173 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11178 2001-12-13 André Pönitz <poenitz@gmx.net>
11181 * undo_func.C: minor cleanup
11183 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11186 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11187 font in urw-fonts package which is marked as -urw-fontspecific and
11188 does not work (incidentally, changing the encoding in the
11189 fonts.dir of this package to -adobe-fontspecific fixes the
11192 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11193 is a crash when undoing first paragraph (Juergen, please take a
11194 look). THis does not mean the undo fix is wrong, just that it
11197 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11198 the (Paragraph*) version when needed instead of duplicating the
11201 * text.C (workWidth): use Inset::parOwner to find out where the
11202 inset has been inserted. This is a huge performance gain for large
11203 documents with lots of insets. If Inset::parOwner is not set, fall
11204 back on the brute force method
11206 * paragraph_pimpl.C (insertInset):
11207 * paragraph.C (Paragraph):
11208 (cutIntoMinibuffer): set parOwner of insets when
11209 inserting/removing them
11211 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11213 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11219 * mathed/formulabase.C:
11220 * mathed/math_cursor.[Ch]:
11221 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11224 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * lyxlength.[Ch] (operator!=): new function
11228 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * text.C (workWidth): use Inset::parOwner to find out where the
11231 inset has been inserted. This is a huge performance gain for large
11232 documents with lots of insets. If Inset::parOwner is not set, fall
11233 back on the brute force method
11235 * paragraph_pimpl.C (insertInset):
11236 * paragraph.C (Paragraph):
11237 (cutIntoMinibuffer): set parOwner of insets when
11238 inserting/removing them
11240 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11242 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * tabular-old.C (getTokenValue):
11245 * tabular.C (getTokenValue):
11246 (write_attribute): new versions for LyXLength
11247 (everywhere): adjust the use of widths
11249 * tabular.h: change the type of widths from string to LyXLength
11251 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11253 * paragraph.C: fixed missing line number count when exporting
11254 Environments to LaTeX file
11256 * buffer.C: added informational message for checking line numbers.
11258 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11260 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11261 paragraph, do the 'double space' part, but not the 'empty
11264 * text.C (workWidth): small optimization
11265 (getLengthMarkerHeight): use minimal size for negative lengths.
11267 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11269 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11271 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11273 2001-12-11 André Pönitz <poenitz@gmx.net>
11276 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11278 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11280 * text2.C: keep selection on a setFont()
11282 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11284 * lyx_cb.C: another bv->text misuse, from insert label
11286 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11289 * kbsequence.C: re-instate nmodifier mask
11291 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11293 * lyx_main.h: make lyxGUI private.
11295 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11297 * lyxfind.C: place the cursor correctly on failed search
11299 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * text.C (getLengthMarkerHeight): for small heights, the arrows
11302 are not always on top/bottom of the text
11303 (drawLengthMarker): smaller arrows; take the left margin in
11304 account; draw also vfills.
11306 (paintLastRow): remove special code for vfill and standard spaces,
11307 since everything is handled in drawLengthMarker now.
11309 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * buffer.C (insertErtContents): try to handle font and language
11312 interaction a bit better.g
11314 * ColorHandler.C (updateColor): change the hash to cover the whole
11315 LColor enum, ws cleanup
11316 (getGCLinepars): ditto
11317 (getGCLinepars): only lookup in the linecache once.
11319 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11321 * iterators.C (operator++): Make the iterator more robust
11323 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11327 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11330 * text.C: better added space drawing
11332 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11335 * BufferView2.C: fix layout combo update on inset unlock
11337 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11339 * Makefile.am: don't compile unused files
11341 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11345 * LyXAction.C: remove old LFUN_LAYOUTNO
11347 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11349 * paragraph_pimpl.h:
11350 * paragraph_pimpl.C: isTextAt() doesn't need font param
11352 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11355 * lyxlex.C: little cleanup
11357 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11359 * BufferView_pimpl.C: fix insertAscii for insets
11361 2001-12-05 Juergen Vigna <jug@sad.it>
11363 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11364 set the right font on the "multi" paragraph paste!
11366 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * lyxlength.C: remove out-commented code.
11374 * BufferView_pimpl:
11388 * vc-backend.C: change "while(" to "while ("
11390 * lyxlength.[Ch]: add zero function to check if length is zero or
11392 * lyxgluelength.C: use it
11394 2001-12-05 Allan Rae <rae@lyx.org>
11396 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11397 Works for 2.95.3, from what I understand of Garst's reports this should
11398 work for other g++ versions. We're screwed if the abs(int) definition
11399 changed between bugfix releases of gcc.
11401 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11403 * text.C: fix chapter label offset !
11405 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11408 * text.C: fix hfill at end of line, clean up
11410 2001-12-04 Juergen Vigna <jug@sad.it>
11412 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11413 that we force an update of the inset and it's owners if neccessary.
11415 2001-12-03 Juergen Vigna <jug@sad.it>
11417 * text.C (rowLast): simplified code
11419 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11421 * lyxfunc.C: fix show options on timeout
11423 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * screen.C (topCursorVisible): scroll half a page when the cursor
11426 reached top of bottom of screen
11428 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11430 * minibuffer.C: deactivate on loss of focus
11432 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * vspace.[Ch] (operator!=): add operator.
11436 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11438 * BufferView_pimpl.C: refuse to open an inset when
11439 there's a selection.
11441 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11443 * BufferView_pimpl.C: allow to click on RHS of full row insets
11445 2001-11-30 Juergen Vigna <jug@sad.it>
11447 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11448 insets for undo reasons.
11450 2001-11-28 André Pönitz <poenitz@gmx.net>
11452 * vspace.[Ch]: cosmetical changes
11454 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11464 * kbsequence.C: part re-write of old kb code
11467 * WorkArea.C: remove Lgb_bug_find_hack
11469 2001-11-30 José Matos <jamatos@fep.up.pt>
11471 * buffer.C (makeDocBookFile): add a comment to point a hack.
11472 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11473 Fixed a double write of labels.
11475 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11478 * LaTeX.h Fixed bug in LaTeX class where it would not
11479 re-run latex if no depfiles were changed, but the .dvi was removed.
11481 2001-11-28 André Pönitz <poenitz@gmx.net>
11483 * all the files from the change on 2001/11/26:
11484 use lyx::layout_type instead of LyXTextClass::size_type
11485 use lyx::textclass_type instead of LyXTextClassList::size_type
11487 2001-11-29 Juergen Vigna <jug@sad.it>
11489 * text.C: added support for paragraph::isFreeSpacing()
11491 * buffer.C: same as above
11493 * paragraph.h: inserted isFreeSpacing() function to enable
11494 FreeSpacing inside InsetERT.
11496 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11497 of the paragraph's in the cut/copy buffer to 0!
11499 * text2.C (removeRow): remove the assert as it can!
11501 * lyxtext.h: added helper function firstRow returning firstrow and
11502 made firstrow private again.
11504 * BufferView2.C (lockInset): don't relock if we're already locked!
11506 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11507 the only paragraph.
11508 (removeRow): added Assert::(firstrow)
11510 * debug.C: forgot to add INSETTEXT here.
11512 2001-11-28 Juergen Vigna <jug@sad.it>
11514 * sp_spell.C (initialize): changed error text to more general
11515 spellchecker command use (not only ispell!)
11517 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11519 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11521 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11523 * vspace.C: initialise lyxgluelength on failure
11525 2001-11-28 Allan Rae <rae@lyx.org>
11527 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11528 declaration & definition that looks like a function declaration.
11530 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11532 * BufferView2.C (copy):
11533 (copyEnvironment): do not clear the selection when doing a copy.
11535 * text.C (paintFirstRow): compilation fix
11537 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11539 * tabular.C (Latex): correct line count when writing latex.
11541 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11543 * paragraph_pimpl.h:
11544 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11547 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11551 * LColor.C: change vfillline->added_space
11553 * text.C: add markers and text for added space
11555 * vspace.C: fix comment
11557 2001-11-28 André Pönitz <poenitz@gmx.net>
11559 * paragraph.C: whitespace changes
11560 * all the other files from the change on 2001/11/26:
11561 change *::pos_type into lyx::pos_type
11563 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11565 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11566 language of the document when inserting error insets.
11568 2001-11-26 André Pönitz <poenitz@gmx.net>
11570 * BufferView_pimpl.[Ch]:
11578 * paragraph_pimpl.[Ch]:
11581 * text2.C: reduce header dependencies, introduce type for positions
11583 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11585 * <various>: change to use Alert.h
11587 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11589 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11590 when encountering an unknown token.
11591 (readLyXformat2): Show an error message if there were unknown tokens.
11593 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11596 * BufferView_pimpl.C:
11600 * text2.C: use par->isInset()
11602 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11604 * paragraph_pimpl.h:
11605 * paragraph_pimpl.C: cleanup
11607 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * text2.C (removeRow):
11610 * text.C (setHeightOfRow): remove useless (and costly) call to
11613 2001-11-20 Allan Rae <rae@lyx.org>
11615 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11616 Now need Inset*::checkInsertChar() to return true for appropriate
11617 cases so that the characters in the minibuffer will actually be
11620 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * text.C: change the order of the includes.
11623 (workWidth): initialize it at once.
11624 (workWidth): make maxw unsigned
11625 (setHeightOfRow): remove unused variable (inset)
11626 (selectSelectedWord): remove unused variable (inset)
11627 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11629 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11631 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11632 server is not running.
11634 (closeConnection): add debug info when server is disabled.
11636 * ColorHandler.C (getGCForeground): send debug message to GUI
11639 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11641 * kbmap.C (bind): modify because return conventions of
11642 kb_sequence::parse have changed.
11644 * kbsequence.C (parse): only ignore spaces and not any stupid
11645 control character. This avoids tests like s[i] <= ' ', which are
11646 guaranteed to fail with 8bit characters and signed chars.
11647 Change return code to string::npos when there have been no error
11648 (0 was a bad idea when error is at first character)
11650 2001-11-14 José Matos <jamatos@fep.up.pt>
11653 * buffer.C (simpleDocBookOnePar): removed unused argument.
11655 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11658 insets which are part of a word. Paragraph::isLetter takes care of
11659 that now. Use Paragraph::isInset to identify insets.
11660 (selectSelectedWord): do not test for hyphenation break.
11662 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11663 that protected spaces are considered as spaces.
11665 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11668 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11671 * lyxserver.C: fix it. and small cleanup.
11673 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.C: use inline helpers
11678 * LaTeXFeatures.C: fix typos
11681 * Spacing.C: move spacing_string into class
11683 * ToolbarDefaults.C: move stuff into namespace anon
11685 * layout.h: update enum
11687 * lyxfunc.C: use better debug
11689 * minibuffer.h: fix typo
11693 * WorkArea.C: add and use Debug::WORKAREA
11697 * text2.C: code re-organisation, inline helpers
11699 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11701 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11702 std::vector.empty().
11704 2001-11-09 Allan Rae <rae@lyx.org>
11706 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11707 '\n's after tables. Tabular and ERT inset work now makes this no
11710 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11713 * minibuffer.C: fix crash, improve drop-down completion
11715 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11718 * lyxserver.C: invalidate fd's when doing endPipe()
11720 2001-11-08 José Matos <jamatos@fep.up.pt>
11722 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11723 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11726 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11728 2001-11-07 José Matos <jamatos@fep.up.pt>
11731 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11734 * buffer.C (sgmlOpenTag):
11735 * buffer.C (sgmlCloseTag): removed debug info.
11737 * buffer.h (sgmlOpenTag):
11738 * buffer.h (sgmlCloseTag): made public.
11740 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11742 * buffer.C (saveParamsAsDefaults):
11743 * lyx_cb.C (MenuLayoutSave): remove
11745 * LyXAction.C (init):
11747 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11749 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * buffer.C (setPaperStuff): removed from here...
11753 * bufferparams.C (setPaperStuff): ... and moved there.
11755 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11759 * XFormsView.C: add support for drop-down completion
11761 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11763 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11766 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11771 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11773 * lyx_main.C: change ref to known bugs
11775 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11777 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11778 to work around older babel problems.
11780 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11782 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11784 2001-10-24 Juergen Vigna <jug@sad.it>
11786 * tabular-old.C (ReadOld): below variable changes reflected.
11788 * tabular.[Ch]: added ltType struct for longtable header/footer
11789 defines and changed all instances where they are used. Added
11790 future support for double top/bottom rows.
11792 2001-10-24 José Matos <jamatos@fep.up.pt>
11794 * buffer.h (docbookHandleCaption):
11795 * buffer.C (docbookHandleCaption): removed unused function.
11796 (makeDocBookFile): moved docbook supported version to v4.1.
11798 2001-10-24 José Matos <jamatos@fep.up.pt>
11801 * tabular.C (docbookRow): new function to export docbook code of a row.
11802 (DocBook): now honors the longtable flags.
11804 2001-10-23 José Matos <jamatos@fep.up.pt>
11807 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11808 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11810 * buffer.C (makeLinuxDocFile):
11811 (makeDocBookFile): reworked the preamble, more clean, and with
11812 support for lyx defined entities. Changed the document declaration
11813 to be more XML friendly.
11815 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11816 if we need to output XML that should be done with a filter.
11818 2001-10-22 Juergen Vigna <jug@sad.it>
11820 * sp_pspell.h (class PSpell): add alive function needed in the
11821 controller to see if the spellchecker could be started.
11823 2001-10-22 Juergen Vigna <jug@sad.it>
11825 * buffer.C (insertStringAsLines): modify the font for inserting
11826 chars in certain conditions by calling checkInsertChar(font).
11828 2001-10-19 Juergen Vigna <jug@sad.it>
11830 * text.C (workWidth): use getRow instead of wrong algorithm.
11831 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11833 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11838 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11840 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * text.C (workWidth): do not search for the exact row when
11843 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11844 optimization for big documents.
11846 2001-10-18 Juergen Vigna <jug@sad.it>
11848 * text.C (workWidth): new function with added Inset * parameter.
11850 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11854 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11855 change return type of getColumnNearX.
11858 * text.C (changeRegionCase): use uppercase/lowercase instead of
11861 (rightMargin): simplify code by factoring out the uses of
11866 (appendParagraph): use Paragraph::size_type
11868 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * vspace.C (asLatexString): add a missing break
11872 2001-10-15 Herbert Voss <voss@perce.de>
11874 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11876 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11881 2001-10-10 André Pönitz <poenitz@gmx.net>
11883 * lyxfunc.C: removed greek_kb_flag.
11885 2001-10-10 Herbert Voss <voss@perce.de>
11887 * lyx_main.C: delete global string help_lyxdir.
11889 2001-10-09 Herbert Voss <voss@perce.de>
11891 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11893 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11895 * lyx_main.C: added global string help_lyxdir.
11897 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11899 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11901 * lyxrc.C (set_font_norm_type): support iso8859-4
11903 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11905 * LaTeX.C (deplog): add another regex for MikTeX
11907 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11909 * lyxrc.C (set_font_norm_type): support iso8859-3
11911 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11915 * LaTeXFeatures.C: remove special case of french and index
11917 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11918 before \begin{document}). This solves several incompatibilities.
11920 2001-10-03 Garst Reese <reese@isn.net>
11922 * lyx_cb.C: change CheckTex error msg.
11924 2001-10-03 José Matos <jamatos@fep.up.pt>
11926 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11928 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11930 * .cvsignore: update
11932 * lyx_main.C (commandLineVersionInfo): use new style version info.
11934 * buffer.C (writeFile):
11936 (makeLinuxDocFile):
11937 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11939 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11941 * version.h: update to use stuff in version.C
11943 * version.C.in: new file. Contains version information determined
11944 at compile time. This is a merging of version.h and
11947 2001-10-03 Juergen Vigna <jug@sad.it>
11949 * BufferView_pimpl.C (update): don't change "dirty" status in
11952 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11954 * WorkArea.C (c-tor): re-position version string slightly.
11956 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11958 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11959 revert to previous code.
11961 WorkArea.[Ch]: (show, destroySplash): methods removed.
11963 WorkArea.C: rework code so that it's an amalgam of the codes before and
11964 after the splash screen was moved to WorkArea.
11966 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11969 * vspace.C (inPixels):
11972 * buffer.C (insertStringAsLines):
11973 (asciiParagraph): fix types to be large enough
11975 * lyxlex_pimpl.h: change member status from short to int
11977 * layout.h: fix type of endlabeltype
11980 * kbsequence.C (parse): change return type to string::size_type
11982 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11985 * Bullet.C (bulletSize):
11986 (bulletEntry): do not use short ints as parameters
11988 * BufferView2.C (insertLyXFile): change a char to an int.
11990 * WorkArea.C (WorkArea): remove unneeded floats in computation
11992 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11994 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11996 * paragraph.C (asString): Do not ignore newline/hfill chars when
11997 copying to the clipboard.
11999 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12001 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12002 after a multi-line inset.
12004 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12006 * paragraph.C (validate): Set NeedLyXFootnoteCode
12008 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12010 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12011 and decrease-error to decrease.
12013 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12015 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12016 it more readable (should be equivalent)
12018 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12020 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12022 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12025 of a cursor (row, etc.) after a character has been deleted
12026 (deleteEmptyParagraphMechanism): call the method above on _all_
12027 cursors held by the LyXText when a double space has been
12030 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12032 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12034 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12036 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12037 background. Use greyOut() and the new show() methods to toggle between
12038 the foreground and background. Add code to remove the splash after
12039 its initial showing.
12041 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12042 (create_forms): no longer call Dialogs::showSplash.
12044 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12046 * .cvsignore: add version_info.h
12048 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12050 * version_info.h.in: new file
12052 * Makefile.am: add version_info.h.in
12054 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12055 version_info.h instead of VERSION_INFO
12057 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12059 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12060 The ERT inset now returns string().
12062 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12064 * lyxtext.h, text.C (selectNextWord): renamed as
12065 selectNextWordToSpellcheck.
12067 * text.C (selectNextWordToSpellcheck): Modified to not select
12068 words inside an ERT inset.
12070 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12072 * lyx_cb.C (MenuLayoutSave): change a bit the question
12074 * sp_base.h: include <sys/types.h>
12076 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12078 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12080 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12082 * several files: fix typos in user-visible strings
12084 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12086 * text2.C (pasteSelection): do not set the selection, since it
12087 will be cleared later. Actually, the intent was to fix the way the
12088 selection was set, but I figured rmoving the code was just as good.
12090 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12092 * FontLoader.C (available): Check if font is available without
12095 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12097 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12099 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12101 * lyxrc.[Ch]: added display_graphics variable and associated code.
12103 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12105 * bufferparams.C (hasClassDefaults): new method. Returns true if
12106 the buffer parameters correspond to known class defaults
12108 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12110 * XFormsView.C (show): set minimum size to the main window.
12112 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12114 * text2.C (copySelection):
12116 * lyxfind.C (LyXReplace):
12117 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12118 LyXText::selectionAsString.
12120 * paragraph.C (asString): add "label" argument to the second form
12122 * text2.C (selectionAsString): add "label" argument and pass it to
12123 Paragraph::asString.
12125 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * lyx_main.C (commandLineHelp): remove version information
12129 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12131 * lyx_main.C: add -version commandline option
12133 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * paragraph.h: make the optional constructor arg required instead.
12136 some modifications to other files because of this.
12138 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12140 * lyxserver.C (C_LyXComm_callback): make it static
12142 * lyx_main.C (error_handler): make it static
12144 * lyx_gui.C (LyX_XErrHandler): make it static
12146 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12148 * WorkArea.C: make the extern "C" methods static.
12150 * Makefile.am (lyx_LDADD): simplify
12152 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12154 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12155 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12157 * LyXAction.C (init):
12158 * lyxfunc.C (dispatch): associated code removal.
12160 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12162 * lyxfont.h (isSymbolFont): shut off warning
12164 * text.C (setHeightOfRow):
12165 (getVisibleRow): fix crash with empty paragraphs which have a
12168 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12170 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12173 2001-09-04 José Matos <jamatos@fep.up.pt>
12176 * tabular.C (docbook): rename docBook method to docbook.
12178 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12180 * Makefile.am: add dependencies to main.o.
12182 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12184 * FontLoader.C (available): Return false if !lyxrc.use_gui
12186 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12188 * FontInfo.C (query):
12189 * converter.C (view):
12190 * importer.C (Import):
12191 * exporter.C (Export): Can not -> cannot.
12193 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12195 * BufferView_pimpl.C: allow to create index inset even if
12198 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12200 * buffer.C (getLists): replace boost::tie code with an explicit pair
12201 as boost::tie can break some compilers.
12203 * iterators.h: Added a std:: declaration to the return type of
12206 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12208 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12211 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12213 * iterators.[Ch]: New files. Provide paragraph iterators.
12215 * buffer.C (changeLanguage): Use paragraph iterators.
12216 (isMultiLingual): ditto
12218 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12220 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12222 * FontLoader.C: Support for cmr font.
12224 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12226 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12227 (available): New method.
12229 * FontInfo.C (getFontname): Use scalable fonts even when
12230 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12233 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12235 * converter.C (Formats::view): reverted! Incorrect fix.
12237 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12239 * converter.C (Formats::view): only output the -paper option
12240 if the dvi viewer is xdvi, thereby fixing bug #233429.
12242 2001-08-23 Herbert Voss <voss@perce>
12244 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12246 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12248 * Spacing.h (Spacing): Set space to Default on in the default
12251 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * vc-backend.h (RCS::versionString): add RCS to version
12254 (CVS::versionString): add CVS to version
12256 * vc-backend.C (scanMaster): do not add CVS to version.
12257 (scanMaster): do not add RCS to version
12259 * lyxvc.C (versionString): new method
12261 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12263 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * Spacing.C (set): initialize fval
12267 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12269 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12272 2001-08-16 Juergen Vigna <jug@sad.it>
12274 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12276 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12278 * BufferView_pimpl.C:
12281 * text2.C: setParagraph takes linespacing now
12283 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12285 * LyxAction.C: add internal LFUN_CITATION_INSERT
12287 * LyXView.C: actually apply fix
12289 * bufferlist.C: fix open non-existent file
12291 * lyxfind.C: fix indentation
12293 * lyxfunc.C: remove unneeded assert, fix typo
12295 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12297 * MenuBackend.C: use "Floatname List"
12299 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12301 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12302 when converting LaTeX layout to insetERT.
12303 Generate a non-collapsed float when reading old float
12305 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12307 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12310 2001-08-13 Juergen Vigna <jug@sad.it>
12312 * text.C (fill): return 0 instead of 20 as this seems to be the more
12315 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12317 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12320 2001-08-13 Juergen Vigna <jug@sad.it>
12322 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12324 (SearchBackward): comment out the unlocking of the inset_owner this
12325 should not be needed!
12327 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12329 * Many files: Remove inherit_language, and add latex_language
12331 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12332 collapsible insets.
12334 2001-08-10 Juergen Vigna <jug@sad.it>
12336 * text.C (prepareToPrint): fixed hfill-width in draw!
12338 * BufferView2.C (selectLastWord): save the selection cursor as this
12339 now is cleared in the function LyXText::clearSelection!
12341 2001-08-08 Juergen Vigna <jug@sad.it>
12343 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12344 BACKSPACE type functions.
12346 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12347 is only cutted from the document but not put in the cut-buffer, where
12348 still the old stuff should be.
12350 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12352 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12354 * tabular.C (SetWidthOfCell): fixed special case where the width
12356 (LeftLine): handle '|' in align_special.
12358 (LeftAlreadyDrawed): ditto
12359 (SetWidthOfCell): ditto
12361 2001-08-07 Juergen Vigna <jug@sad.it>
12363 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12365 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12368 * lyxlex.[hC]: ditto
12370 2001-08-06 Juergen Vigna <jug@sad.it>
12372 * text.C (getVisibleRow): fix up row clearing a bit.
12374 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * minibuffer.C: make sure the X server sees the changes in the input.
12378 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12380 * paragraph.C (getFont): split into...
12381 (getLabelFont): this
12382 (getLayoutFont): and this
12383 * paragraph_pimpl.C (realizeFont): calling this
12385 * text2.C (getFont): split into...
12386 (getLayoutFont): this
12387 (getLabelFont): and this
12388 (realizeFont): all three calling this
12390 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12393 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12395 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12397 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12399 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12400 layouts from the Quote inset insertion.
12402 2001-08-03 Juergen Vigna <jug@sad.it>
12404 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12406 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12407 only if status not is already CHANGED_IN_DRAW (second level).
12409 * text.C (draw): don't set the need_break_row when inside an
12412 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * buffer.C (parseSingleLyXformat2Token): handle more latex
12417 * bufferview_funcs.[hC]: change function names to
12418 begin with small char, adjust other files.
12420 2001-08-02 André Pönitz <poenitz@gmx.net>
12423 BufferView_pimpl.C: remove broken special code for math-greek
12425 2001-08-02 Juergen Vigna <jug@sad.it>
12427 * BufferView_pimpl.C (update): redone this function so that we
12428 update the text again if there was a CHANGE_IN_DRAW.
12430 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12431 (drawFromTo): added a new internal bool which is used by draw() and
12433 (general): some cursor drawing problems fixed.
12435 2001-08-01 Juergen Vigna <jug@sad.it>
12437 * lyxfind.C (LyXFind): fixed
12438 (SearchForward): ditto
12439 (SearchBackward): ditto
12441 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12442 spurius drawing of the cursor in the main area.
12444 * text2.C (status): small fix which could lead to a segfault!
12445 (clearSelection): remove unneeded BufferView param.
12447 2001-08-01 André Pönitz <poenitz@gmx.net>
12449 * lyxfunc.C: small change due to changed mathed interface
12451 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12455 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12457 * lyxfunc.c: fail gracefully if file doesn't exist
12462 * BufferView_pimpl.C: IsDirWriteable() proto changed
12464 * LyXView.C: fix updateWindowTitle() to store the last title
12466 2001-07-31 Juergen Vigna <jug@sad.it>
12468 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12469 the font (wrong since using of Paragraph::highestFontInRange).
12471 * paragraph.C (highestFontInRange): added a default_size parameter.
12473 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12474 (setHeightOfRow): reformat
12476 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * converter.[hC] + affected files: move to (inital-char)lowercase
12481 * ParagraphParameters.C (ParagraphParameters): remove commented code
12483 * PainterBase.[Ch]: remove commented code
12485 * LaTeXFeatures.h: add "bool floats" for float.sty
12487 * LaTeXFeatures.C (LaTeXFeatures): init floats
12488 (require): handle float
12489 (getPackages): do it with floats
12491 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * BufferView_pimpl.C (Dispatch): improve handling of
12494 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12496 * commandtags.h: #include lyxfont.h here temporarily to avoid
12499 * bufferlist.h: include LString.h here.
12501 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * text2.C (getStringToIndex): new method.
12505 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12507 * *: Reduced header file dependencies all over.
12509 2001-07-30 Baruch Even <baruch@lyx.org>
12511 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12513 2001-07-29 Baruch Even <baruch@lyx.org>
12515 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12517 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * ParameterStruct.h (endif): add a default constructor to make
12520 sure that all variables is initialized.
12522 * ParagraphParameters.C (ParagraphParameters): adjust
12524 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12526 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12527 index; also, check that there is something to index, and that it
12528 does not span over several paragraphs.
12529 (doubleClick): use WHOLE_WORD_STRICT for double click.
12531 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12533 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12536 2001-07-26 Baruch Even <baruch@lyx.org>
12538 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12539 an InsetFig figure, backwards compatible reading of old figure code.
12541 2001-07-27 Juergen Vigna <jug@sad.it>
12543 * text2.C: font.realize function adaption.
12545 * text.C (draw): add a warnings lyxerr text if needed.
12547 * layout.C: font.realize function adaption.
12549 * language.C: add inherit_language and implement it's handlings
12551 * bufferview_funcs.C (StyleReset): remove language parameter from
12552 font creation (should be language_inherit now).
12554 * bufferparams.C (writeFile): handle ignore_language.
12556 * paragraph.C (getFontSettings): the language has to be resolved
12557 otherwise we have problems in LyXFont!
12559 * lyxfont.C (lyxWriteChanges): added document_language parameter
12560 (update): removed unneeded language parameter
12562 * paragraph.C (validate): fixed wrong output of color-package when
12563 using interface colors for certain fonts in certain environments,
12564 which should not seen as that on the final output.
12566 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12568 * BufferView_pimpl.C:
12573 * LyXAction.C: add thesaurus support
12576 * lyxfind.C: add "once" parameter, for thesaurus, to not
12577 move to the next match
12579 2001-07-26 Juergen Vigna <jug@sad.it>
12581 * lyxfont.C (realize): honor ignore_language too!
12584 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12586 * text.C (draw): one place more for ignore_language to not draw
12589 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12591 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12593 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12596 the minipage conversion problem.
12598 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12600 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12603 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * BufferView.h: don't forward declare WorkArea
12607 * BufferView.C: don't include WorkArea.h
12609 2001-07-25 André Pönitz <poenitz@gmx.net>
12613 * lyxfunc.C: new LFUN 'math-space'
12615 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12617 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * text2.C (toggleInset): call open/close
12621 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * lyxfunc.C (dispatch): add debug for the disabled case
12625 * font.C (buttonText): make similar to rectText
12627 * buffer.C (readInset): comment out parsing of insetlist and
12630 * PainterBase.C (rectText): small correction
12632 * BufferView_pimpl.C: comment out insettheorem and insetlist
12633 * LyXAction.C: ditto
12634 * commandtags.h: ditto
12636 2001-07-24 Juergen Vigna <jug@sad.it>
12638 * text.C (draw): honor the ignore_language.
12640 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12642 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12647 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12649 * lyxtext.h: remove unused (and unimplemented) methods
12651 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12653 * text.C (getVisibleRow): honor background color
12656 * Painter.h: remove default color argument for fillRectangle
12658 * text.C (backgroundColor): new method
12660 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12662 * text.C (getVisibleRow): adjust
12664 * font.[Ch] (rectText): new method, metrics
12665 (buttonText): new method, metrics
12667 * PainterBase.[hC]: make rectText and buttonText always draw and take
12670 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12672 * ToolbarDefaults.C (read):
12673 * MenuBackend.C (read): allow escaping in all strings
12675 * BufferView_pimpl.C (insertAndEditInset): new method.
12676 (Dispatch): use insertAndEditInset whenever appropriate.
12678 * BufferView_pimpl.C (insertNote): removed
12680 * BufferView_pimpl.C (smartQuote): new method, moved from
12681 BufferView; if an insetquote cannot be inserted, insert a '"'
12684 * BufferView2.C: remove insertCorrectQuote();
12686 * lyxfunc.C (getStatus): Add support for all remaingin
12687 inset-insert lfuns.
12689 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12691 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12692 command (necessary to pass " as parameter of self-insert.
12694 * text.C (selectWordWhenUnderCursor):
12695 (selectWord): add word_location parameter
12696 (selectWordWhenUnderCursor): same + remove special code for word
12698 (selectNextWord): use kind() to guess type of insetspecialchar,
12701 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12702 (insertErtContents): create ert insets as collapsed.
12703 (readInset): better compatibility code for Info inset.
12705 2001-07-20 Juergen Vigna <jug@sad.it>
12707 * lyxfunc.C (dispatch): use always LyXFind now!
12709 * text2.C (init): add a reinit flag so that the LyXText can be
12710 reinited instead of deleted and reallocated (used in InsetText).
12712 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12718 2001-07-18 Juergen Vigna <jug@sad.it>
12720 * text.C (selectNextWord): handle insets inside inset by calling
12721 always the bv->text functions so that we can go up the_locking_inset!
12723 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12724 in strange locations when inside an inset!
12726 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12727 handling to include insets.
12729 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12731 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12733 * LyXAction.C (init):
12735 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12736 LIGATURE_BREAK, since the name is so stupid.
12738 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12740 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12743 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12745 * sp_form.[Ch]: remove.
12747 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12749 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12752 * src/buffer.C (readInset): ditto.
12754 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12756 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12757 menuSeparator(), endOfSentenceDot(), ldots() and
12758 hyphenationPoint(), which are therefore removed.
12759 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12761 * LyXAction.C (init):
12762 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12764 * paragraph.C (getWord): removed.
12766 * BufferView_pimpl.C (Dispatch): use last word or selection for
12767 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12769 * lyx_main.C (queryUserLyXDir): do not ask before creating
12770 user_dir, except if it has been named explicitely.
12772 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12774 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12775 a document of zero size.
12777 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12779 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12780 approriately in the c-tor and in require().
12781 (getPackages): output the appropriate LaTeX for natbib support.
12783 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12784 variables "use_natbib" and "use_numerical_citations" when reading the
12786 (readInset): read the various natbib cite commands.
12787 (validate): white-space change.
12789 * bufferparams.[Ch]: new variables "bool use_natbib" and
12790 "bool use_numerical_citations".
12791 (writeFile): output them in the LyX file.
12793 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12795 * lyxfunc.C (getStatus): add support for all the inset insertion
12798 * text2.C (insertInset):
12799 * paragraph.C (insetAllowed):
12800 * BufferView_pimpl.C (insertInset): update to take in account the
12801 renaming of insertInsetAllowed
12803 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12805 * text2.C (getInset): new method. returns inset at cursor position.
12807 * BufferView_pimpl.C (Dispatch): changes because of this.
12809 * LyXAction.C (init): rename open-stuff to inset-toggle.
12811 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12813 * text2.C (toggleInset): renamed from openStuff; use
12816 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12818 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12820 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12822 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12824 * buffer.C (readLyXformat2): Add filename to the error dialog
12826 2001-07-18 Juergen Vigna <jug@sad.it>
12828 * tabular.C (GetCellNumber): put an assert here instead of the check!
12830 2001-07-17 Juergen Vigna <jug@sad.it>
12832 * BufferView_pimpl.C (toggleSelection): adapted too.
12834 * text.C (selectNextWord): adapted for use with insets.
12835 (selectSelectedWord): ditto
12837 2001-07-17 Juergen Vigna <jug@sad.it>
12839 * sp_spell.C (PSpell): fix initialitation order.
12841 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * paragraph.C: spacing
12845 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12847 * sp_spell.C: repair language selection for pspell
12849 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * lyxfunc.h: change more methods to begin with lower char.
12853 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12855 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12856 for unknown layouts.
12858 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12860 * buffer.C (readLyXformat2): Generate an error dialog if there are
12863 2001-07-16 Juergen Vigna <jug@sad.it>
12865 * sp_spell.C: always compile ISpell part.
12867 * lyxrc.C: added use_pspell entry and it's handling.
12869 2001-07-13 Juergen Vigna <jug@sad.it>
12871 * sp_spell.C: removed double includes.
12873 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12875 Consistent use of Lsstream.h:
12876 * Lsstream.h: added using std::stringstream for consistencies sake.
12878 * buffer.C: removed using std::stringstream
12880 * lyxfont.C (stateText):
12881 * paragraph.C (asString):
12882 * text.C (selectNextWord, selectSelectedWord):
12883 * text2.C (setCounter):
12884 * vspace.C (asString, asLatexString):
12885 std::ostringstream -> ostringstream.
12887 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12889 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12890 * commandtags.h: add LFUN_HELP_ABOUTLYX
12891 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12893 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12895 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12897 * lyx_gui_misc.C: remove spellchecker
12898 * lyxfunc.C: showSpellchecker
12900 * sp_ispell.h: added
12901 * sp_pspell.h: added
12902 * sp_spell.C: added
12903 * sp_form.[Ch]: removed
12904 * spellchecker.[Ch]: removed
12906 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12908 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12910 (simpleTeXSpecialChars): Simply print the input character without
12911 any special translation if pass_thru is set.
12913 * layout.h: Added bool pass_thru to layout class for being able to
12914 implement pass through of a paragraph for Literate Programming.
12916 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12917 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12918 * layout.C (Read): add "passthru" to list of layout tags and add
12919 code to set the pass_thru boolean when it is read.
12921 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * trans_decl.h: remove allowed from KmodInfo
12925 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12926 remove allowed code
12929 * paragraph_pimpl.C (erase): use boost::prior
12931 * Painter.C (text): use data() instead of c_str() when length is
12933 * WorkArea.C (putClipboard): ditto
12934 * font.h (width): ditto
12936 * BufferView2.C: use it-> instead of (*it). for iterators
12938 * paragraph_pimpl.C: ditto
12939 * paragraph.C: ditto
12940 * minibuffer.C: ditto
12941 * language.C: ditto
12943 * encoding.C: ditto
12944 * counters.C: ditto
12945 * converter.C: ditto
12947 * Variables.C: ditto
12948 * TextCache.C: ditto
12949 * MenuBackend.C: ditto
12950 * LyXAction.C: ditto
12952 * FloatList.C: ditto
12953 * DepTable.C: ditto
12954 * ColorHandler.C (LyXColorHandler): ditto
12956 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12960 * text2.C (openStuff): reintroduce this method (which had been
12961 nuked in NEW_INSETS frenzy).
12963 * lyxfunc.C (Dispatch): when an action has not been handled, use
12964 its name in the error message, not its number.
12966 * paragraph.C (inInset): change method name to begin with lowercase.
12969 * text2.C: updates because of this.
12971 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12973 * ToolbarDefaults.C (add): add spaces in error message
12975 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12977 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12978 (readLyXformat2): rename return_par to first_par, use lyxlex's
12979 pushToken and remove the manual push handling.
12980 (parseSingleLyXformat2Token): add another ert comp. variable:
12981 in_tabular, rename return_par to first_par. handle newlines better
12983 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12987 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * text2.C (getParFromID): removed
12991 * buffer.C (getParFromID): new method moved form lyxtext.
12992 * BufferView2.C (insertErrors): adjust
12993 (setCursorFromRow): adjust
12994 * BufferView_pimpl.C (restorePosition): adjust
12995 * lyxfunc.C (Dispatch): adjust
12996 * undo_funcs.C (textUndo): adjust
12998 (textHandleUndo): adjust
12999 (textHandleUndo): adjust
13001 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13003 * buffer.C: up' the LYX_FORMAT
13005 * lyxfont.h: turn NO_LATEX on as default
13007 * buffer.C (insertErtContents): new methods of tex style compability.
13008 (parseSingleLyXformat2Token): use it several places.
13009 * tabular.C (OldFormatRead): and here
13011 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * text2.C: remove some commented code.
13016 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13017 * trans.C: changes because of the above.
13019 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13021 * text2.C (setCounter): Fix counters bug with bibliography layout.
13023 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13026 own member functions
13027 (simpleTeXSpecialChars): ditto
13029 2001-07-06 Juergen Vigna <jug@sad.it>
13031 * a lot of files: changed the access to LyXText::status and the
13032 call of undo-functions.
13034 * undo.[Ch]: added a inset_id to the undo informations.
13036 * undo_funcs.[Ch]: added and moved here all undo functions.
13038 * lyxtext.h: give the status enum a weight, made status_ a private
13039 variable and made accessor functions for it, removed the whole bunch
13040 of undo-functions as they are now in their own file, make some
13041 functions publically available. Added function ownerParagraph with
13044 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13045 made InInset() a const function, added getParFromID() function.
13047 * buffer.[Ch]: added const version for inset_iterator functions,
13048 added getInsetFromID() function.
13050 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13051 changed undo functions for new version.
13053 2001-07-05 Juergen Vigna <jug@sad.it>
13055 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13056 unknow mechanism does not call the proper constructor but only this
13057 one also if I request the other!?
13059 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13063 * text2.C (LyXText): use initialization lists.
13065 * lyxtext.h (Selection): initialize set_ and mark_
13066 (init): remove method
13068 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13070 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13072 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13074 * screen.[Ch]: change method names to begin with lowercase
13076 * BufferView_pimpl.C (updateScrollbar): simplify further and
13077 hopefully make it a bit faster.
13079 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13081 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13082 calling directly xforms functions.
13084 * Painter.C (Painter):
13085 * lyx_cb.C (MenuWrite):
13086 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13089 * lyx_gui.C: remove bogus guiruntime extern declaration.
13091 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13095 (redoDrawingOfParagraph): ditto
13096 (redoParagraphs): ditto
13097 (cutSelection): don't create a object for CutAndPaste use the
13098 static method directly
13099 (pasteSelection): ditto
13101 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13104 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * modifications to some other files because of this.
13108 * Makefile.am (lyx_SOURCES): add XFormsView
13110 * XFormsView.[Ch]: new files
13112 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13113 the main window. Move the gui dependent stuff to XFormsView
13115 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13117 * tabular.C (GetCellInset): update cur_cell also in the row/col
13118 version of this function.
13120 * lyxfunc.C: no need to include figure_form.h here.
13126 * lyxvc.C: no need to include forms.h here.
13128 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13130 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13132 * lyxfunc.C (Dispatch):
13134 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13135 constructor argument.
13137 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * paragraph.C (Paragraph): dont't clear, and just set layout.
13140 (makeSameLayout): use params's copy contructor.
13142 * ParagraphParameters.[Ch] (makeSame): delete method
13144 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13146 * Variables.[Ch]: fix indentation, rename set to isSet
13148 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * lyxfunc.C (Dispatch): fix typo
13152 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13157 * bufferlist.C: include assert.h for emergencyWrite().
13159 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13161 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13162 give up at last (bug #425202) !
13164 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13170 * spellchecker.C: strip spellchecker options and bring up
13171 preferences tab instead
13173 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13176 the istringstream constructor
13178 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13180 * paragraph.C (getLayout): fix return value
13182 * paragraph.h: do not declare getLayout as inline.
13184 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13186 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * lyxcursor.h (operator<): new func
13189 (operator>): new func
13190 (operator>=): new func
13191 (operator<=): new func
13193 * text.C (changeCase): use selection.start and selection.end
13194 (changeRegionCase): require from to be <= to. Require par to be a
13197 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13199 2001-06-27 Juergen Vigna <jug@sad.it>
13201 * text.C (cursorLeftOneWord): changed to return the cursor and added
13202 overlay with BufferView * parameter which calls this one.
13204 (selectWord): use new getWord function.
13205 (changeCase): renamed from changeWordCase as and extended to work
13206 also on selections.
13208 * lyxtext.h: added enum word_location
13210 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13211 changeCase as this operates now also on selections.
13213 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13215 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13217 * many files: send debug output to Debug::INFO instead of
13220 * converter.C (View):
13222 (Move): send debug output to Debug::FILES instead of console.
13224 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13226 * lyxfunc.C (getStatus): use func_status
13228 * func_status.h: new header, describing the results of
13229 LyXFunc::getStatus;
13231 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13234 2001-06-25 The LyX Project <jug@sad.it>
13236 * buffer.C (sgmlOpenTag):
13238 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13240 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * text2.C: remove some dead code
13244 * tabular.C (GetCellInset): store the last cell checked (gotten)
13246 * tabular.h: add the helper for the speedup
13248 * lyxtext.h: remove some dead code
13250 2001-06-26 The LyX Project <Asger>
13252 * paragraph.C: Change export to LaTeX of alignment to
13253 \begin{center} and family for better roundtrip work with reLyX.
13255 * Tune the math drawing a bit.
13257 2001-06-25 The LyX Project <Asger>
13259 * LColor.C (LColor): New color for math background. New color
13262 2001-06-25 The LyX Project <jug@sad.it>
13264 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13266 * lyxfunc.C (Open):
13267 * bufferlist.C (newFile): do not restrict to files ending with
13270 * BufferView_pimpl.C (MenuInsertLyXFile):
13272 2001-06-24 The LyX Project <jug@sad.it>
13274 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13277 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * lyxtext.h: rename most methods to begin with a small char.
13280 Lots of changes because of this.
13282 * paragraph.C (Paragraph): do not call fitToSize
13283 (erase): call Pimpl::erase
13284 (insertChar): call Pimpl::insertChar
13285 (insertInset): call Pipl::insertInset
13286 (breakParagraph): do not call fitToSize
13287 (breakParagraphConservative): do not call fitToSize
13288 (fitToSize): remove method
13290 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13292 2001-06-24 The LyX Project <Asger>
13294 * Fix Qt compilation^2
13296 2001-06-24 The LyX Project <jug@sad.it>
13298 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13299 depthHook(getDepth()-1).
13302 * ParagraphParameters.h:
13303 * ParameterStruct.h: change type of depth to unsigned int ==
13304 depth_type. Many adaptations to other files before of that.
13306 2001-06-24 The LyX Project <Asger>
13308 * Fix Qt compilation.
13310 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13312 * paragraph.h: renamed several methods to begin with small letter.
13313 several changes to many parts of the code because of this.
13315 2001-06-23 The LyX Project <jug@sad.it>
13317 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13318 rewritten to discard all double spaces when KeepEmpty is off
13319 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13320 to only handle newlines but not fiddle with spaces and friends.
13322 * lyxfunc.C (MenuNew): when doing 'new from template', use
13323 template_path as default directory
13325 2001-06-23 The LyX Project <Asger>
13327 * Clean-up of header file includes all over
13328 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13330 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * paragraph.h: renamed from lyxparagraph.h
13334 2001-06-23 Asger <lyx@violet.home.sad.it>
13336 * Buffer.h: Removed Buffer::resize
13337 * BufferList.h: Removed BufferList::resize
13338 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13339 the document lazily when we change the width, or the font settings.
13341 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13343 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13345 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13347 * buffer.h: remove out of date comment
13349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13352 * screen.C: fix "theoretical" GC leak
13354 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * LaTeX.C (scanAuxFile):
13357 (deplog): remove trailing \r when reading stream (useful under
13360 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13362 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13363 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13364 and BufferView::theLockingInset(Inset*), so should use them and not
13365 access bv_->text->the_locking_inset directly.
13367 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13369 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13372 * tex-defs.h: remove old unused file
13374 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13376 * BufferView_pimpl.C: fix typo, remove minibuffer message
13377 when buffer has loaded
13379 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13381 * lyxfunc.C (Dispatch): use stringstream
13382 (MenuNew): use stringstream
13383 (Open): use stringstream
13385 * importer.C (Import): use stringstream
13387 * bufferview_funcs.C (CurrentState): use stringstream
13389 * LaTeX.C (run): use stringstream
13391 * BufferView_pimpl.C (savePosition): use stringstream
13392 (restorePosition): use stringstream
13393 (MenuInsertLyXFile): use stringstream
13395 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13408 * vspace.C: removed // -*- C++ -*- as first line.
13411 * version.h: added // -*- C++ -*- as first line.
13413 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13417 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13420 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13422 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13425 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * gettext.C: include LString.h even when --disable-nls is on.
13429 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13431 * converter.h (Get): changed argument type from int to
13432 FormatList::size_type to avoid unnecessary conversion.
13434 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13437 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * gettext.h: include LString.h even when --disable-nls is on.
13441 2001-06-07 Juergen Vigna <jug@sad.it>
13443 * text.C (BreakAgain): subst spaces with tabs.
13445 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13446 (resizeInsetsLyXText): set force on resizeLyXText.
13448 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * gettext.h (gettext_init):
13451 (locale_init): use a real definition instead of a macro
13453 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13455 * Bufferview_pimpl.C:
13457 * LColor.C: further lcolor tidies
13459 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13461 * BufferView_pimpl.C (updateScrollbar): simplify.
13463 * BufferView2.C: don't include insets/insetinfo.h, change
13464 prototype for insertInset and call the Pimpl version. let
13465 updateInset call Pimpl version.
13467 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13468 gotoInset to BufferView::Pimpl
13470 2001-06-01 Juergen Vigna <jug@sad.it>
13472 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13473 inside a LockingInset (is the update needed at all?).
13475 2001-05-31 Juergen Vigna <jug@sad.it>
13477 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13478 here not the old one otherwise how should we compare it afterwards
13481 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13486 * FontInfo.C: bring C functions into global namespace when
13489 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13491 * LString.h: make sure config.h has been loaded before LString.h.
13493 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13494 (one for each char read by EatLine!).
13496 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13499 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13502 to the same as the par we break from
13504 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13506 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13508 * MenuBackend.C (expand): also create menu entries for wide
13509 versions of the floats.
13511 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13513 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13515 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13516 frontends/Makefile.am
13522 * tabular.C (getTokenValue): add std::
13524 * tabular-old.C (getTokenValue): add std::
13525 (getTokenValue): ditto
13526 (getTokenValue): ditto
13528 * screen.C (ToggleSelection): adjust
13530 * lyxtext.h: put selection cursors inside a Selection struct.
13532 * lyxfunc.C (moveCursorUpdate): adjust
13534 * lyxfont.C (latexWriteStartChanges): add std::
13536 * lyxfind.C: adjust
13538 * font.h: delete with(char const *, LyXFont const &)
13540 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13542 * FontInfo.C (getFontname): add std::
13544 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13545 (workAreaButtonPress): adjust
13546 (tripleClick): adjust
13548 (moveCursorUpdate): adjust
13551 * BufferView2.C (gotoInset): adjust
13553 2001-05-30 Juergen Vigna <jug@sad.it>
13555 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13556 to check pspell I add this as default as I now have new pspell
13557 libraries and they seem to use this.
13559 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13561 * text2.C (CutSelection): make the cursor valid before the call to
13564 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13566 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13567 relied on 0 terminated strings and other horrors. Bug found due to
13568 the new assert in lyxstring!
13570 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13573 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13575 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13578 * lyxfunc.C (processKeySym): change method of getting to the
13581 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13582 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13583 * BufferView_pimpl.[Ch]: here as private methods.
13585 2001-05-28 Juergen Vigna <jug@sad.it>
13587 * text.C (SetHeightOfRow): added the update() call again as it is
13588 needed to initialize inset dimensions!
13590 2001-05-16 Juergen Vigna <jug@sad.it>
13592 * text2.C (SetCharFont): Add new function with BufferView * and
13593 bool toggleall parameters for setting insets internal fonts.
13594 (SetFont): Freeze the undo as we may change fonts in Insets and
13595 all this change should be inside only one Undo!
13597 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13598 setting font's in insets as for them we have the SetFont function!
13600 2001-05-15 Juergen Vigna <jug@sad.it>
13602 * text2.C (ClearSelection): to be sure we REALLY don't have any
13605 * tabular.C (TeXCellPreamble): fixed the left border problem for
13608 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13610 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13613 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13616 LFUN_BREAKPARAGRAPH.
13618 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13619 help test to "internal only", similar for LFUN_INSERT_URL
13621 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13622 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13623 auto_region_delete and deadkeys.
13625 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13628 * LColor.C: remove some dead entries, tidy a little
13630 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13632 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13634 (Dispatch): implement LFUN_ESCAPE
13636 * commandtags.h: add LFUN_ESCAPE
13638 * LyXAction.C (init): add entry for LFUN_ESCAPE
13640 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13641 Remove commented code.
13642 (insertNote): moved here
13643 (open_new_inset): moved here
13645 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13648 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * kbmap.C (findbinding): clean it up and make it work correctly.
13652 * lyx_main.C (init): do not pass argc and argv as parameters
13654 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13656 * buffer.C: fix path for OS/2 & Win32
13660 * lyx_main.C: Added os:: class.
13662 * os2_defines.h: update
13664 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13667 better by trying again with reduced state.
13669 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * lyxrc.C (read): print error about invalid key sequence only when
13672 debugging (because not all latinX keysyms are known to some X
13675 * kbsequence.C (getiso): add a few std:: qualifiers
13676 (getiso): comment out extra return statement.
13678 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13682 (Dispatch): enhance the accent inset a bit. (not perfect)
13684 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13688 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * bufferlist.C (emergencyWrite): fix assert() call
13692 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13694 * text.C (InsertChar): Added trivial patch to only send the "you
13695 can not do multiple spaces this way" message once during a
13698 2001-05-08 Baruch Even <baruch@lyx.org>
13700 * Makefile.am: Changed order of libraries to get LyX to link properly
13701 with the gnome frontend.
13703 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13705 * LaTeXFeatures.h: add a std:: qualifier
13707 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * paragraph.C (String): use stringstream
13711 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * paragraph.C (writeFile): remove footflag arg
13715 * buffer.C (makeLaTeXFile): use stringstream
13716 (latexParagraphs): remove footnot gurba
13718 * LaTeXFeatures.C (getPackages): use stringstream
13719 (getMacros): likewise
13720 (getTClassPreamble): likewise
13721 (getFloatDefinitions): new method
13723 * paragraph.C (writeFile): reindent
13726 * WorkArea.h: revert the xpos + etc changes.
13728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13730 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13732 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13733 (pasteSelection): likewise
13734 * text2.C (CreateUndo): likewise
13736 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13738 * minibuffer.C (peek_event): temporarily reduce the functionality
13739 of the minibuffer (to allow args on lfuns)
13741 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13742 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13744 * buffer.C (readInset): add compability reading of old float
13745 lists, add reading of new style float list.
13746 (readInset): avoid reevaluation of inscmd.getCmdName()
13747 (getLists): reindent
13749 * MenuBackend.C (MenuItem): implement parsing of
13750 md_floatlistinsert and md_floatinsert.
13751 (expand::LastFiles): move initalizaton of iterators out of loop,
13752 avoid reevaluation.
13753 (expand::Documents): introduce typdedef vector<string> Strings,
13755 (expand::ExportFormats): introduce typedef vector<Format const *>
13756 Formats, and use it.
13757 (expand): implement FloatListInsert and FloatInsert.
13759 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13760 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13761 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13763 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13765 (Dispatch::LFUN_FLOAT_LIST): implement
13767 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13769 * LaTeX.C (run): Fix problem with --export code.
13771 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13773 * BufferView.[Ch] (workarea): removed.
13774 (getClipboard) new method; wrapper for workarea()->getClipboard()
13776 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13779 * WorkArea.h (width, height, xpos, ypos): These methods all
13780 returned the dimensions of the work_area sub-area of WorkArea,
13781 resulting in a position error if the WorkArea were resized. Now
13782 return the dimensions of the entire WorkArea.
13784 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13786 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13788 * LaTeX.C (deplog): correct the syntax of regex reg1
13790 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * undo.C: remove !NEW_INSETS cruft
13794 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * text2.C: remove !NEW_INSETS cruft
13798 * text.C: remove !NEW_INSETS cruft
13800 * tabular.C: remove !NEW_INSETS cruft
13802 * spellchecker.C: remove !NEW_INSETS cruft
13804 * lyxtext.h: remove !NEW_INSETS cruft
13806 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13808 * lyxfunc.C: remove !NEW_INSETS cruft
13810 * lyxfind.C: remove !NEW_INSETS cruft
13812 * lyx_cb.C: remove !NEW_INSETS cruft
13814 * figureForm.C: remove !NEW_INSETS cruft
13816 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13818 * buffer.[Ch]: remove !NEW_INSETS cruft
13820 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13822 * CutAndPaste.C: remove !NEW_INSETS cruft
13824 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13826 * BufferView2.C: remove !NEW_INSETS cruft
13828 * BufferView.h: remove !NEW_INSETS cruft
13830 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13832 * Lsstream.h: include LString.h before the sstream headers to
13833 fix problem with gcc 2.95.3 and lyxstring
13835 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * lyx_main.C: add using directives when needed for C functions
13838 declared in std:: namespace.
13840 2001-04-27 Juergen Vigna <jug@sad.it>
13842 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13843 (SetHeightOfRow): comment out the update call should not be needed!
13845 2001-04-13 Juergen Vigna <jug@sad.it>
13847 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13848 (LyXTabular): tried to minimize operator= operations (and realized
13849 hopfully Lars wish).
13851 2001-04-27 Juergen Vigna <jug@sad.it>
13853 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13855 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13859 * buffer.C (readInset): hack to make listof algorithm work
13861 * BufferView_pimpl.C: hack to make listof algorithm work
13863 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * LyXAction.C: removed all !NEW_INSETS cruft
13866 (init): moved lfun_item in method
13868 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13870 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13872 * BufferView2.C (theLockingInset): white space.
13874 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * minibuffer.C: include <iostream>
13878 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13880 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13882 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13884 * text.[Ch] (TransposeChars): new method
13886 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13888 * call message directly through LyXView instead of through LyXFunc
13889 * BufferView2.C: adjust
13890 * BufferView_pimpl.C: adjust
13891 * FontLoader.C: adjust
13893 * bufferview_funcs.C: adjust
13894 * converter.C: adjust
13895 * figureForm.C: adjust
13896 * importer.C: adjust
13898 * lyx_gui_misc.C: adjust
13899 * lyxfunc.C: adjust
13902 + more files in subdirs
13904 * lyxparagraph.h (size): move up int file
13907 * adjust all uses of Assert to lyx::Assert.
13909 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13910 lyxfunctional in namespace lyx
13911 * layout.C (hasLayout): ditto
13914 (delete_layout): ditto
13915 (NumberOfClass): ditto
13916 * converter.C (GetFormat): ditto
13921 * bufferlist.C (getFileNames): ditto
13922 (emergencyWriteAll): ditto
13925 * MenuBackend.C (hasSubmenu): ditto
13928 * BufferView_pimpl.C (getInsetByCode): ditto
13930 2001-04-18 Juergen Vigna <jug@sad.it>
13932 * vspace.C (asLatexString): fixed the 100% problem.
13934 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * lyxfunc.C (Dispatch):
13938 * minibuffer.h: add a few std:: qualifiers
13940 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * minibuffer.[Ch]: reimplement so that commands is initiated and
13943 run from lyxfunc, simplified som handling, and made the completion
13944 and history code for complete. wip.
13946 * lyxfunc.C (processKeySym): call message
13947 (miniDispatch): new temporary method
13948 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13949 (LFUN_MESSAGE): implement
13950 (LFUN_MESSAGE_PUSH): implement
13951 (LFUN_MESSAGE_POP): implement
13952 (initMiniBuffer): the initial/defualt minibuffer message.
13954 * lyxfont.[Ch]: inline some more getters
13956 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13958 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13960 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13961 (AutoSave): use LFUN_MESSAGE
13962 (Reconfigure): ditto
13964 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13966 * figureForm.C: use LFUN_MESSAGE
13968 * converter.C (runLaTeX): use LFUN_MESSAGE
13970 * bufferview_funcs.C: use LFUN_MESSAGE
13972 (changeDepth): ditto
13974 * bufferparams.h: use boost::
13976 * bufferlist.h: inherit privately from noncopyable
13978 * bufferlist.C (loadLyXFile): remove some commented code.
13980 * buffer.C (runChktex): use LFUN_MESSAGE
13982 * ShareContainer.h: inherit privately from noncopyable
13984 * ParagraphParameters.[hC] (depth): inline it.
13986 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13988 (message): new method
13989 (messagePush): ditto
13990 (messagePop): ditto
13991 (show): init minibuffer
13992 (showState): direct call
13994 * LaTeX.[Ch]: inherit privately from noncopyable
13995 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13996 instead of WriteStatus.
13998 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14000 * BufferView_pimpl.C (buffer): don't init minibuffer
14001 (workAreaButtonPress): use LFUN_MESSAGE
14002 (workAreaButtonRelease): ditto
14003 (savePosition): ditto
14004 (restorePosition): ditto
14005 (MenuInsertLyXFile): ditto
14006 (workAreaExpose): don't init minibuffer
14007 (update): remove commented code, simplify
14009 * BufferView2.C (openStuff): use LFUN_MESSAGE
14010 (toggleFloat): ditto
14013 (copyEnvironment): ditto
14014 (pasteEnvironment): ditto
14019 (updateInset): remove some commented code
14021 * lastfiles.h: inherit privately from noncopyable
14024 * lyx_main.h: ditto
14026 * lyxlex_pimpl.h: ditto
14028 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14029 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14030 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14032 * LyXAction.h: inherit privately from noncopyable, add methods
14033 func_begin, func_end, returning iterators to the func map.
14035 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14036 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14037 (func_begin): new method
14038 (func_end): new method
14040 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14042 (copySelection): ditto
14043 (pasteSelection): ditto
14045 * BufferView.C: whitespace change
14046 * BufferView.h: inherit privately from noncopyable
14048 2001-04-16 Allan Rae <rae@lyx.org>
14050 * tabular-old.C (l_getline):
14051 * spellchecker.C (sc_check_word):
14052 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14053 an unrecognised preprocessor directive. So ensure they're wrapped.
14055 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14057 * src/exporter.C (Export): Give an error message when path to file
14060 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14062 * LaTeX.C (deplog): Always check that foundfile exists.
14064 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14067 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14069 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14071 * tabular.[Ch] (getLabelList): implement new method
14073 * minibuffer.h: comment ouf setTiimer
14075 * minibuffer.C (ExecutingCB): constify res
14076 (peek_event): constify s
14077 (Set): constify ntext
14078 (Init): constify nicename
14080 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14082 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14083 (savePosition): use two params to Minibuffer::Set
14084 (restorePosition): ditto
14086 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * lyx_main.C: include language.h
14090 * Makefile.am (lyx_main.o): add language.h
14092 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14098 * CutAndPaste.C: include gettext.h
14100 * lyxfont.h: remove old hack with ON and OFF.
14103 * lyxfont.h: do not include language.h...
14108 * bufferview_funcs.C:
14114 * paragraph.C: ... but do it here instead
14116 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14120 * tabular.C: small reformat
14122 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14125 (BreakParagraph): ditto
14126 (SetOnlyLayout): ditto
14129 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14132 * lastfiles.C: removed most using decl, add std:: where needed
14134 * buffer.C: ws changes
14136 * MenuBackend.C (class compare_format): put into anon namespace
14137 (expand): constify label, names, action, action2
14140 * text.C (SingleWidth): constify font
14141 (IsBoundary): constify rtl2
14142 (GetVisibleRow): constify ww
14144 * LaTeX.C (deplog): constify logfile
14146 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14148 (workAreaExpose): constify widthChange, heightChange
14150 * lyxrow.C (par): moved
14153 * lyxrow.h: as inlines here
14155 * lyxfont.h (shape): moved from lyxfont.C
14156 (emph): moved from lyxfont.C
14158 * lyxfont.C (LyXFont): use initialization list for all
14160 (shape): move to lyxfont.h as inline
14161 (emph): move to lyxfont.h as inline
14164 2001-04-04 Juergen Vigna <jug@sad.it>
14166 * vspace.C: had to include stdio.h for use of sscanf
14168 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14171 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14172 independent of xforms.
14174 2001-04-02 Juergen Vigna <jug@sad.it>
14176 * spellchecker.C: fixed namespace placing!
14178 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14180 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14181 the LyXParagraph * is 0.
14183 2001-03-29 Juergen Vigna <jug@sad.it>
14185 * vspace.C: added support for %, c%, p%, l%.
14186 (stringFromUnit): added helper function.
14187 (asLatexString): changed to give right results for the %-values.
14189 * buffer.C: convert the widthp in a width%.
14191 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14193 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14196 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14197 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14199 * lyx_cb.[Ch]: see above.
14201 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14205 * lyx.[Ch]: replaced by figure_form.[Ch].
14209 * lyxfunc.C: changed headers associated with above changes.
14211 2001-03-27 Juergen Vigna <jug@sad.it>
14213 * BufferView_pimpl.C: set the temporary cursor right!
14215 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14217 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14219 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14221 * LString.h: removed "using std::getline"!
14223 * BufferView_pimpl.C (Dispatch): changes due to changes in
14224 InsetInclude::Params.
14226 * buffer.C (tag_name): removed redundant break statements as they were
14227 producing lots of warnings with my compiler.
14229 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14231 * LString.h: add "using std::getline" when using the real <string>.
14233 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14235 * buffer.C: removed bitset usage.
14236 PAR_TAG moved to an anonymous name space.
14237 (tag_name): new funtion, also in the anonymous namespace.
14238 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14239 (makeDocBookFile): clean code. Completed transition from string arrays
14241 (SimpleDocBookOnePar): code clean.
14243 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14245 * tabular.C: add some comments.
14247 2001-03-22 Juergen Vigna <jug@sad.it>
14249 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14250 compatibility read a bit and fixed bug with minipage in different
14253 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14255 * buffer.C (pop_tag): removed.
14256 (push_tag): removed.
14257 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14258 array replaced with vector. Added support for CDATA sections.
14259 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14261 (makeDocBookFile): XML conformant declaration of CDATA section,
14262 fixed bug related to <emphasis> in the first paragraph char.
14263 (sgmlOpenTag): exclude empty tags.
14264 (sgmlCloseTag): ditto.
14266 * buffer.h (pop_tag): removed.
14267 (push_tag): removed.
14269 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14271 * language.h (Languages): added size_type and size().
14273 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14275 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14276 response on compability reading of minipages. One probliem is that
14277 the old usage of minipages was «flertydig»
14279 * several files here and in subdirs: don't use static at file
14280 scope use anon namespaces instead.
14282 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14284 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14285 LaTeX output. This is necessary for Literate document
14288 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14290 * buffer.C: insert hfill when needed.
14292 * tabular.C (l_getline): use string::erase, small whitespace change.
14294 * BufferView_pimpl.C: try the anon namespace.
14295 * WorkArea.C: ditto
14297 2001-03-16 Juergen Vigna <jug@sad.it>
14299 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14300 otherwise it won't open options-dialogs.
14302 * buffer.C: honor pextraWidth(p) on converting minipages.
14304 * tabular.C (l_getline): changed the functions to strip trailing \r.
14306 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14308 * BufferView_pimpl.C:
14309 * minibuffer..C: added "using SigC::slot" declaration.
14311 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14313 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14319 * paragraph.C: ditto
14321 * lyxtext.h: NO_PEXTRA
14323 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14325 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14326 * ParameterStruct.h: ditto
14327 * ParagraphParameters.h: ditto
14328 * lyxparagraph.h: ditto
14330 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14332 * buffer.C: add compability for minipage alignment.
14333 (latexParagraphs): remove unwanted pextra check.
14335 * several files: remove CXX_WORKING_NAMESPACES
14337 * buffer.C (pop_tag): tie is in namespace boost
14339 * BufferView.h: noncopyable is in namespace boost
14341 * lyx_main.h: ditto
14344 * lastfiles.h: ditto
14345 * bufferlist.h: ditto
14346 * ShareContainer.h: ditto
14348 * LyXAction.h: ditto
14351 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14353 * Merging changes from BRANCH_MVC back into HEAD.
14355 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14357 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14359 * BufferView_pimpl.C: change from intl.C
14363 * Makefile.am: move combox.*
14369 * intl.C: remove dialog (covered by prefs)
14371 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14373 * lyxfunc.C (Dispatch): removed redundant break statement.
14375 2001-03-14 Juergen Vigna <jug@sad.it>
14377 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14379 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14381 * buffer.C: add hack to fix compability reading of minipages.
14383 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14385 * buffer.C (getLists): Cleanup.
14387 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * lyxfont.C (update): don't honor toggleall on font size.
14391 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14395 * Makefile.am: moved to frontends/xforms/
14399 * BufferView_pimpl.C: changes for moved mathpanel
14401 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14403 * gettext.h: fix gettext_init() in --disable-nls
14405 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14407 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14409 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14412 * lyx.h: strip external form
14414 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14416 * BufferView_pimpl.C: add comment, destroySplash()
14418 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14420 * BufferView_pimpl.C:
14424 * lyxfunc.C: use re-worked insetinclude
14426 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14428 * buffer.C: add using std::stringstream.
14430 * lyx_cb.C: readd using std::ios.
14432 * buffer.C: add using std::map.
14434 * BufferView_pimpl.C: add using std::vector.
14436 * ShareContainer.h: add std:: to swap.
14438 * buffer.h: add some typedefs
14439 * buffer.C (getLists): use them
14440 (getLists): renamed from getTocList.
14441 add a counter for the different float types and use it in the
14443 (getLists): use the same counter for the NEW_INSETS and the "non"
14446 * lyx_cb.h: remove unused items, includes, using etc.
14448 * ShareContainer.h: remove some commented code, add more comments
14449 and "documentation".
14451 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14453 * buffer.C (getTocList): make the list also when NEW_INSETS is
14456 * buffer.h: remove TocType
14458 * buffer.C (getTocList): change to return a map<string,
14459 vector<TocItem> >, implement for dynamic number of list.
14461 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14462 * text2.C (PasteSelection): adjust
14463 * CutAndPaste.C (pasteSelection): adjust
14465 * FloatList.C (FloatList): update from the new_insets branch.
14466 * Floating.[Ch]: ditto
14467 * LaTeXFeatures.C: ditto
14469 * lyxlex_pimpl.C: ditto
14471 * paragraph.C (Last): remove when NEW_INSETS is defined.
14473 * other file: changes because of the above.
14475 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14477 * lyxparagraph.h: rename next to next_, previous to previous_,
14478 make them private for NEW_INSETS. Rename Next() to next(),
14479 Previous() to previous().
14481 * other files: changes because of the above.
14483 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14486 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14489 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14491 * main.C (main): pass lyx_localedir to gettext_init().
14493 * gettext.h: remove locale_init and gettext_init macros
14495 * gettext.C (locale_init): new function
14496 (gettext_init): new function
14498 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14501 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14503 * Moved credits to frontends:
14504 * credits.[Ch]: removed
14505 * credits_form.[Ch]: removed
14506 * lyx_gui_misc.C: remove credits stuff
14509 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14511 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14513 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14514 unneeded destructor.
14516 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14517 a standalone pointer again.
14519 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14521 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14527 * ToolbarDefaults.C:
14536 * BufferView_pimpl.C: use new file dialog in GUII
14539 * lyx_cb.C: remove LayoutsCB to Toolbar
14541 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * ShareContainer.h (get): add std:: qualifier
14545 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * ShareContainer.h: define a proper ShareContainer::value_type
14548 type (and use typename to please compaq cxx)
14550 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14552 * lyxparagraph.h: move serveral local vars to
14553 ParameterStruct/ParagraphParameters., use ShareContainer in
14554 FontTable., make vars in FontTable private and add getter and
14557 * paragraph.C: changes because of the above.
14559 * lyxfont.h: remove copy constructor and copy assignment. (the
14560 default ones is ok), move number inside FontBits. move inlines to
14563 * lyxfont.C: add number to initializaton of statics, move several
14564 inlines here. constify several local vars. some whitespace
14565 cleanup. Dont hide outerscope variables.
14567 * Spacing.h: add two new constructors to match the set methods.
14569 * ShareContainer.h: new file, will perhaps be moved to support
14571 * ParameterStruct.h: new file
14573 * ParagraphParameters.h: new file
14575 * ParagraphParameters.C: new file
14577 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14578 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14580 * BufferView_pimpl.C: ParagraphParameter changes.
14581 * buffer.C: Likewise.
14582 * bufferview_funcs.C: Likewise.
14583 * text.C: Likewise.
14584 * text2.C: Likewise.
14586 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * lyxfind.C (LyXReplace): do not redefine default argument in
14590 (IsStringInText): ditto
14591 (SearchForward): ditto
14592 (SearchBackward): ditto
14594 2001-03-06 Juergen Vigna <jug@sad.it>
14596 * lyxfind.C (IsStringInText): put parentes around expressions.
14598 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14600 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14602 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14604 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14606 * stl_string_fwd.h: add comment
14608 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14611 * tabular.C: remove unused DocBook methods
14617 killed DO_USE_DEFAULT_LANGUAGE
14619 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14621 * lyx_gui.C: do not include language.h.
14623 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14624 arguments in function implementation.
14626 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14628 * BufferView_pimpl.C: add <ctime>
14630 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14632 * BufferView_pimpl.C: add using std::find_if
14634 2001-02-27 José Matos <jamatos@fep.up.pt>
14636 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14639 2001-02-11 José Matos <jamatos@fep.up.pt>
14641 * buffer.C (makeDocBookFile): command styles now have a parameter as
14642 "title" by default.
14644 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14646 * layout_forms.[Ch]: removed
14647 * lyx_cb.[Ch]: out character
14648 * lyx_gui.C: out character
14649 * lyx_gui_misc.C: out character
14650 * bufferview_funcs.C: : out character,
14651 added toggleall as parameter in ToggleAndShow
14653 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14655 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14657 * text2.C (SetCurrentFont): Disable number property at boundary.
14659 2001-02-26 Juergen Vigna <jug@sad.it>
14661 * lyxfunc.C (getStatus): added a string argument override function so
14662 that this is correctly called from LyXFunc::Dispatch if it contains a
14663 do_not_use_argument which is used!
14664 (Dispatch): added check for "custom" export and call appropriate func.
14666 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14668 * lyxrc.C: Add language_command_local, language_use_babel and
14669 language_global_options.
14671 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14673 * buffer.C (makeLaTeXFile): Use language_use_babel and
14674 language_global_options.
14676 2001-02-23 Juergen Vigna <jug@sad.it>
14678 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14679 which works with LyXText and putted it inside BufferView. Here now we
14680 only call for that part the BufferView::Dispatch() function.
14682 * BufferView.C (Dispatch): added.
14684 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14685 functions which needs to use a LyXText over from LyXFunc.
14686 (MenuInsertLyXFile): added
14687 (getInsetByCode): added
14688 (moveCursorUpdate): added
14689 (static TEXT): added
14691 2001-02-22 Juergen Vigna <jug@sad.it>
14693 * BufferView_pimpl.C (update): call a status update to see if LyXText
14696 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14698 * vc-backend.C (revert): implement for CVS
14699 (getLog): implement for CVS
14701 2001-02-20 Juergen Vigna <jug@sad.it>
14703 * text2.C (ClearSelection): added BufferView param for inset_owner call
14705 * lyxfunc.C (TEXT): added this function and use it instead of
14706 directly owner->view()-text of getLyXText().
14708 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14710 * src/layout_forms.C: out preamble
14711 * src/layout_forms.h: out preamble
14712 * src/lyx_cb.C: out preamble
14713 * src/lyx_cb.h: out preamble
14714 * src/lyx_gui.C: out preamble
14715 * src/lyx_gui_misc.C: out preamble
14716 * src/lyxfunc.C: connect with guii preamble
14718 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14720 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14722 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14724 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14725 whether to run bibtex.
14727 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14729 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14731 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14733 * Makefile.am (lyx_SOURCES): removed bibforms.h
14735 * vspace.h: doxygen
14737 * text.C (GetVisibleRow): make several local vars const
14739 * tabular.C: small cleanup.
14741 * lyxserver.C (callback): use compare instead of strncmp
14743 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14744 inlines to after class or to paragraph.C
14746 * lyxfont.h: remove friend operator!=
14748 * converter.h: move friend bool operator< to non friend and after
14751 * combox.h: small cleanup
14753 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14754 to inlines after class def.
14756 * buffer.C (pop_tag): use string operations instead of strcmp
14758 * bmtable.c: doxygen, small cleanup
14760 * LaTeX.h: remove friend operator==
14762 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14774 * BufferView_pimpl.C:
14775 * BufferView.[Ch]: remove cruft
14777 2001-02-14 Juergen Vigna <jug@sad.it>
14779 * lyxfunc.C: removed #if 0 unused code
14781 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14783 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14785 * text2.C (SetSelection): added a BufferView * parameter
14787 2001-02-13 Juergen Vigna <jug@sad.it>
14789 * lyxfunc.C (Dispatch): fixed protected blank problem.
14790 * BufferView2.C (protectedBlank): added LyxText * parameter.
14792 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14793 (AppendColumn): same as above for column_info.
14795 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14796 (moveCursorUpdate): use a LyXText param for support of InsetText.
14798 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14799 (tripleClick): ditto
14801 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14803 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14805 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14807 * text2.C (SetSelection): set correct update status if inset_owner
14808 (ToggleFree): ditto
14810 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14812 * tabular.C: remove some commented code.
14814 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14816 * BufferView_pimpl.C: call hideSplash()
14818 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14821 * bibforms.h: remove
14824 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14825 add LFUN_CHILD_CREATE
14827 * counters.h: fix tiny typo
14832 * lyx.C: move splash to frontends/xforms/
14834 * lyx_gui_misc.C: move Include and Bibform to frontends
14836 * lyxvc.h: clarify comment
14838 * vspace.C: tiny housekeeping
14840 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14842 * text.C (PrepareToPrint): RTL Fix.
14844 * paragraph.C (GetUChar): New method.
14845 (String): Use GetUChar.
14847 * buffer.C (asciiParagraph): Use GetUChar.
14849 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14851 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14853 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14856 * buffer.C: rename to getLogName(), handle
14857 build log / latex log nicely
14859 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14862 * MenuBackend.h: remove support for reference menuitem type.
14864 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14866 * BufferView_pimpl.C: housekeeping
14867 * BufferView_pimpl.h:
14872 * minibuffer.h: move Timeout GUI-I
14874 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14876 * lyxrc.C (read): Update converters data-structures.
14878 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14880 * LaTeX.h (operator!=): add operator != for Aux_Info
14882 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14884 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14886 * LaTeXLog.C: deleted, useful code moved to Buffer
14889 * buffer.C: new function getLatexLogName()
14895 * lyxfunc.C: use frontends for LaTeX and VC logs
14897 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * LaTeX.h: yet another std:: that Allan forgot.
14901 * Variables.C (set): renamed from isset(), because this clashes
14902 with some HP-UX macros (grr).
14904 2001-02-06 Allan Rae <rae@lyx.org>
14906 * LaTeX.h: Another bug fix. Missing std:: this time.
14908 2001-02-04 Allan Rae <rae@lyx.org>
14910 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14911 floats problem. I've left it commented out because it's not quite
14912 correct. It should also test that the current object is a table or
14913 figure inset. But I haven't gotten around to figuring out how to do
14914 that. I *think* it'll be something like: "table" == inset.type()
14916 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14919 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14921 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14922 all the citation/databases/styles in the auxilary file.
14923 (run): Rerun latex if there was a babel language error.
14925 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14927 * text.C (Backspace): Preserve the font when changing newline char
14929 (BreakParagraph): If the cursor is before a space, delete the space.
14931 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14933 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14935 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14936 new argument (code).
14937 (ChangeCitationsIfUnique): New method.
14939 * paragraph.C (GetPositionOfInset): Handle bibkey.
14941 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * BufferView_pimpl.h: change type of Position::par_pos to
14944 LyXParagraph::size_type.
14946 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14948 * BufferView_pimpl.C (savePosition, restorePosition): Write
14949 messages to minibuffer.
14951 2001-01-28 José Matos <jamatos@fep.up.pt>
14953 * buffer.C (makeDocBookFile): adds support for document language.
14954 A silly restriction on the name of LatexCommand types where removed.
14955 Added support for CDATA sections, allows to chars unescaped, used
14956 among others in code, to avoid escape < and >.
14958 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14960 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14961 saved positions instrad of a stack. Furthermore, a position is
14962 stored using paragraph id/paragraph position.
14964 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14965 Remove LFUN_REF_BACK.
14967 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14969 * converter.C (dvipdfm_options): New method.
14971 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14973 * vspace.C (isValidLength): Fix for empty input string.
14975 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14977 * LyXAction.C (init): change description of LFUN_FIGURE to
14980 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * LaTeX.C: add using directive
14984 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14986 * MenuBackend.C (expand): Fix the sorting of the formats.
14988 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14990 * lyx_main.C: tiny error message fix
14992 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14995 calling fl_initialize(). This fixes the problem with ',' as
14996 decimal separator in text files.
14998 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15000 * trans.C (process): Fix the keymap bug.
15002 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15004 * LaTeX.C (scanAuxFiles): New method. Provides support for
15005 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15006 (scanLogFile) Scan for "run BibTeX" messages.
15008 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15009 OT1 font encoding. Also, load the aecompl package if the ae
15012 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15014 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * texrow.C (increasePos): turn two error messages into debug
15019 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15021 * LaTeX.C (scanAux): Handle the \@input macro.
15022 (runBibTeX): Use scanAux().
15024 * language.C (latex_options_): New field.
15026 * LaTeXFeatures.C (getMacros): Add language macros.
15028 * buffer.C (makeLaTeXFile): Small fix.
15030 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15034 * text2.C: add a using directive.
15036 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15041 * lyxfunc.C: kill LyXBell.
15043 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15045 * text.C (IsBoundary): Remove the error message
15047 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15049 * lyxrc.C (setDefaults): Correct initialization value for
15052 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15054 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15057 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15058 and GotoNextNote().
15060 * src/LyXAction.C: Added reference-next.
15062 * text.C (InsertChar): Use contains instead of strchr.
15064 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15066 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15068 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15069 alignment commands (when needed).
15071 * text.C (InsertChar): Add ':' to number separator chars.