2 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
4 * CutAndPaste.C (pasteSelection): fix 2 crashes
5 (eraseSelection): fix a crash
6 * paragraph_funcs.C: remove a warning
8 2004-03-28 Angus Leeming <leeming@lyx.org>
11 * LyXAction.C (init): new LFUN_PRINT.
13 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
15 2004-03-27 Angus Leeming <leeming@lyx.org>
18 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
20 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
22 2004-03-27 Angus Leeming <leeming@lyx.org>
24 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
25 insetlist always contains non-null pointers to insets.
27 2004-03-26 Angus Leeming <leeming@lyx.org>
29 * src/BufferView_pimpl.C:
33 * src/output_plaintext.C:
35 * src/paragraph_funcs.C:
39 * src/frontends/controllers/ControlErrorList.C:
40 * src/frontends/gtk/FileDialogPrivate.C:
41 * src/frontends/gtk/GPainter.C:
42 * src/frontends/gtk/GToolbar.C:
43 * src/frontends/qt2/QRef.C:
44 * src/mathed/math_scriptinset.C: squash compiler warnings.
46 2004-03-26 Angus Leeming <leeming@lyx.org>
48 * ispell.C (LaunchIspell::start):
49 * lyx_cb.C (AutoSaveBuffer::start):
50 invoke run(DontWait) rather than runNonBlocking().
52 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
54 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
56 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * kbsequence.C (print): adjust
60 * kbmap.C (printKeySym): rename and change signature
61 (printKey): use LyXKeySym::print()
63 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
65 * undo.C: add using std::advance to compile for stlport
67 2004-03-24 Angus Leeming <leeming@lyx.org>
69 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
70 it leads to a crash when no buffer is present.
72 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 Martin Vermeer <martin.vermeer@hut.fi>
75 * lyxfunc.C (dispatch):
76 * bufferparams.C (readToken): use the new LColor::setColor
78 * LColor.[Ch] (setColor): new version that takes two strings as
79 argument and creates a new color entry if necessary
81 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
83 * buffer.C (makeLaTeXFile): if the main latex file that is
84 processed is usually a subdocument of some master, then pretend
85 for a while that it is actually the master
87 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
89 * buffer.C (getLabelList):
90 (getBibkeyList): use getMasterBuffer()
91 (getMasterBuffer): new method. Returns the main document in the
92 case where one is using included documents.
94 2004-03-25 André Pönitz <poenitz@gmx.net>
98 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
100 * ParagraphList_fwd.h: change ParagraphList to a std::vector
102 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
103 text*.C over here. Rename namespace CutAndPaste to lyx::cap
105 * ParameterStruct.h: merge with ParagraphParameters
107 * lyxtext.h: remove LyXText::parOffset() and getPar()
109 * text3.C: Remove all 'manual' update calls. We do now one per user
110 interaction which is completely sufficient.
114 * BufferView_pimpl.C:
117 * ParagraphParameters.[Ch]:
129 * output_docbook.[Ch]:
131 * output_linuxdoc.[Ch]:
132 * output_plaintext.[Ch]:
134 * paragraph_funcs.[Ch]:
135 * paragraph_pimpl.[Ch]:
143 * frontends/controllers/ControlDocument.C:
144 * frontends/controllers/ControlErrorList.C:
145 * frontends/controllers/ControlSpellchecker.C:
148 * insets/insetbase.h:
149 * insets/insetbibitem.C:
151 * insets/insetbranch.C:
152 * insets/insetcaption.C:
153 * insets/insetcharstyle.C:
154 * insets/insetcharstyle.h:
155 * insets/insetcollapsable.C:
156 * insets/insetcollapsable.h:
158 * insets/insetfloat.C:
159 * insets/insetfoot.C:
160 * insets/insetmarginal.C:
161 * insets/insetnote.C:
162 * insets/insetoptarg.C:
163 * insets/insettabular.C:
164 * insets/insettext.C:
165 * insets/insettext.h:
166 * insets/insetwrap.C:
167 * mathed/math_mboxinset.C:
168 * mathed/math_nestinset.C:
169 * mathed/math_scriptinset.C:
170 * mathed/math_scriptinset.h:
173 2004-03-24 Angus Leeming <leeming@lyx.org>
175 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
176 deal with any child processes that have finished but are waiting to
177 communicate this fact to the rest of LyX.
179 2004-03-24 Angus Leeming <leeming@lyx.org>
181 64-bit compile fixes.
183 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
184 (c-tor): pass lyx::pos_types rather than ints.
186 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
189 * text.C (Delete): compile fix.
190 (getPar): ensure that function declaration is the same as that in
193 2004-03-23 Angus Leeming <leeming@lyx.org>
195 * ispell.C (LaunchIspell):
196 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
197 a boost::shred_ptr rather than a std::auto_ptr.
199 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * lyxfunc.C (getStatus): handle read-only buffers correctly;
202 handle LFUN_FILE_INSERT_*
204 * lyxrc.C (setDefaults, getDescription, output, read):
205 * lyxrc.h: remove ps_command
207 2004-03-22 Angus Leeming <leeming@lyx.org>
209 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
210 Ensure that error_handler is processed once only and that all data
211 is saved before attempting to output any warning messages.
213 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
215 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
217 * tabular.C (TeXRow): crash fix (from Kayvan and André)
219 2004-03-19 André Pönitz <poenitz@gmx.net>
221 * cursor.[Ch] (reset): take main text inset as argument
224 * BufferView_pimpl.C: adjust
226 * paragraph.[Ch]: fix completely broken operator=()
228 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * LColor.C (getFromLyXName): make sure that the color name is used
233 2004-03-17 Angus Leeming <leeming@lyx.org>
236 * LyXAction.C (init): remove LFUN_FORKS_KILL.
238 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
239 dialog and to kill a forked process.
241 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
243 * text2.C (setCursorFromCoordinates): fix font problem
245 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
247 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
248 bogus "rebuild cursor" code
250 2004-03-11 André Pönitz <poenitz@gmx.net>
252 * buffer.[Ch]: use InsetText instead of LyXText as container for
255 * dociterator.[Ch]: drop the BufferView * member which is not needed
256 anymore after the change to buffer.C
262 * BufferView_pimpl.[Ch]:
264 * cursor_slice.[Ch]: adjust
266 * text3.C: fix bug in mathDispatch
268 2004-03-08 André Pönitz <poenitz@gmx.net>
270 * undo.[Ch]: use 'StableDocumentIterator' as base for
273 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * bufferparams.[Ch]: add jurabib support and param.
278 * LaTeX.C: add FIXME/comment.
280 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * buffer.C: increment file format to 230.
284 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
286 * cursor.C (dispatch): avoid infinite loops
288 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
290 * rowpainter.C (paintSelection): fix x coordinates
292 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
294 * text.C (rowBreakPoint): fix breaking before displayed insets
296 2004-03-01 André Pönitz <poenitz@gmx.net>
298 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
300 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
304 * BufferView_pimpl.C:
312 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
318 * BufferView_pimpl.C: rename textwidth -> maxwidth,
319 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
321 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
323 * Bidi.[Ch] (computeTables): const correctness
324 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
325 fill_hfill, fill_label_hfill and x from Row
326 * lyxtext.h: prepareToPrint returns a RowMetrics
327 * rowPainter.C: adjust
328 * text.C (prepareToPrint): use width, not textWidth. adjust
329 (redoParagraphInternal, cursorX): adjust
330 * text2.C (getColumnNearX): adjust
331 (init): put a default value to the top LyXText::width
333 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
335 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
337 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
339 * lyxtext.h: add FontIterator class
341 * text.C (FontIterator, operator*, operator->, operator++): add
342 (rowBreakPoint, setRowWidth): adjust (fixing a
345 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * BufferView_pimpl.C (workAreaDispatch): allow also
348 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
350 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
352 * text.C (rowBreakPoint): fix a bug showing with very large insets
354 2004-02-25 André Pönitz <poenitz@gmx.net>
357 * cursor.[Ch]: move some mathed specific code to mathed
359 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
361 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
362 use_tempdir in preferences
363 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
365 * lyx_main.C: ensure that tempdir is valid
366 * lyxlex.h: correct typo
367 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
368 * paragraph.[Ch] (isMultiLingual): make const
369 * cursor.[Ch] (openable): make const
371 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
373 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
375 2004-02-20 André Pönitz <poenitz@gmx.net>
377 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
379 * cursor.[Ch]: prepare for localized getStatus()
385 * text3.C: streamlines the LyXText cursor movement handlers a bit.
387 2004-02-20 André Pönitz <poenitz@gmx.net>
389 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
391 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
393 * text2.C (setCursorFromCoordinates): switch to absolute coords
396 * text3.C (dispatch): adjust
398 2004-02-16 André Pönitz <poenitz@gmx.net>
400 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
403 * cursor_slice.[Ch]: remove unneeded acessor function
405 * lyxtext.h: rename rtl() to isRTL()
413 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
415 * rowpainter.C (paintSelection): coord fix
417 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * Spacing.C: compile fix
421 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
423 * cursor.C (dispatch): restore current_ before returning
425 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
427 * text2.C (cursorUp, cursorDown): fix coords
430 2004-02-12 André Pönitz <poenitz@gmx.net>
435 * text3.C: add LCursor & parameter to most cursor movement functions
436 remove usage of LyXText::cursorRow() and cursorPar()
438 * cursor.[Ch]: add textRow() needed members
441 * BufferView_pimpl.C:
444 * BufferView_pimpl.C: adjust
446 2004-02-11 André Pönitz <poenitz@gmx.net>
450 * BufferView_pimpl.C: shift undo/redo handling
452 * cursor.[Ch]: fix mathed crash
455 * lyxtext.h: move selectionAsText to LCursor
463 * rowpainter.C: fix excessive drawing
465 2004-02-06 André Pönitz <poenitz@gmx.net>
468 * BufferView_pimpl.[Ch]:
469 * text3.C: move some text specific LFUN handling
471 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
473 * text3.C (checkInsetHit): adjust coords
474 * text2.C (getColumnNearX): adjust coords
475 (edit): adjust coords
476 * text.C (getRowNearY): add two asserts
478 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
481 * format.C: add using std::distance to compile on gcc 2.95/stlport
483 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
485 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
487 2004-02-04 André Pönitz <poenitz@gmx.net>
489 * BufferView.[Ch] (insertInset):
490 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
495 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
497 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
498 on the default clause of the switch
499 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
500 wasn't catched by LCursor::dispatch
502 2004-02-03 André Pönitz <poenitz@gmx.net>
505 * cursor.[Ch]: some additional asserts
507 * undo.[Ch]: remove LyXText dependency in interface
511 * lyxtext.h (firstPar, lastPar): remove dead functions
516 * paragraph.[Ch]: adjust
518 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
520 * lyxfind.C (find): fix argument order in call to ::find
522 2004-02-02 André Pönitz <poenitz@gmx.net>
524 * cursor.[Ch]: remove direct access to anchor
526 * text.C: remove findText() hack
528 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
530 * iterators.[Ch] (lockPath): remove in favour of...
531 * BufferView.[Ch] (setCursor): this addition
532 * BufferView.C (putSelectionAt): adjust
533 * undo.C (performUndoOrRedo): adjust
534 * lyxfunc.C (dispatch): adjust
536 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
538 * iterators.C (lockPath): add a missing slice
539 * undo.C (performUndoOrRedo): remove redundant positioning code
541 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
543 * vc-backend.C (scanMaster): ";" -> ';'
545 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
550 * lyxtextclass.C (compare_name): rename to...
551 (LayoutNamesEqual): ...this
553 * lyxlex_pimpl.C (compare_tags): inherit from
554 std::binary_function, put back into anon namespace
556 * lyxfind.C (MatchString): inherig from std::binary_function
557 (findChange): use empty() istead of !size()
559 * format.C (FormatNamesEqual): new functor
566 * converter.C (compare_Converter): rename to...
567 (ConverterEqual): ...this, and fixup a bit.
568 (getConverter): use it, and make function const
569 (getNumber): use it, and make function const
573 * bufferlist.C: add using boost::bind
575 * MenuBackend.C (MenuNamesEqual): new functor
576 (hasMenu): use it, and make function const
577 (hasSubmenu): use nested bind to get rid of compare_memfun.
579 2004-01-30 André Pönitz <poenitz@gmx.net>
581 * BufferView_pimpl.C:
592 * text3.C: move some of the edit(x,y) handling to the insets
593 some coordinate changes.
595 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
597 * text.C: add using statements for std::advance and std::distance
599 * paragraph.C: add using statement for std::distance
601 * lyxfind.C: add using statement for std::advance
603 * cursor.C (region): remove std:: from swap
604 (openable): use nucleus in stead of operator->
606 * BufferView.C: add using statements for std::distance and std::swap
608 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
610 * iterators.C: Remove the pimple, move the needed structures to
611 the header file. Create accessor for the positions stack.
612 (asPosIterator): remove function
614 * PosIterator.C (PosIterator): move constructors to top of file
615 (PosIterator): reimplement the constructor taking a ParIterator in
617 (setFrom): new function
618 (operator!=): inline it
620 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
622 * lyxfind.C (replaceAll): use std::advance
624 * iterators.h: inherit from std::iterator.
626 * PosIterator.C (advance, distance): remove
627 * PosIterator.h: interit from std::iterator.
629 2004-01-26 André Pönitz <poenitz@gmx.net>
632 * BufferView_pimpl.[Ch]:
636 * bufferview_funcs.C:
647 * output_plaintext.C:
649 * paragraph_funcs.[Ch]:
650 * paragraph_pimpl.[Ch]:
656 * text3.C: more IU: dumps most of the rest of the mathcursor
657 implementation into cursor.[Ch]; "globalize" a bit of it.
659 2004-01-25 Angus Leeming <leeming@lyx.org>
661 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
663 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * LaTeXFeatures.h: add nice_ and nice() const
666 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
668 2004-01-20 André Pönitz <poenitz@gmx.net>
671 * BufferView_pimpl.C:
673 * bufferview_funcs.C:
686 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
687 LCursor and mathcursor parts to LCursor and InsetBase.
689 2004-01-15 André Pönitz <poenitz@gmx.net>
691 * cursor_slice.[Ch]: add a few covienience functions
693 * funcrequest.[Ch]: remove BufferView * member
695 * BufferView_pimpl.C:
702 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
704 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
706 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
707 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
709 2004-01-13 André Pönitz <poenitz@gmx.net>
712 * lyxtext.h: hide cursor and selection anchor behind accessor function
715 * BufferView_pimpl.[Ch]:
717 * bufferview_funcs.C:
727 * cursor_slice.[Ch]: some integer type changes for inset unification
729 * lyxcursor.[hC]: remove, it's CursorSlice now.
732 * BufferView_pimpl.[Ch]:
733 * bufferview_funcs.C:
739 * textcursor.[Ch]: adjust
741 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
743 * text2.C (undoSpan): add and use
744 * text.C (breakParagraph): use undoSpan (fix bug 578)
747 2004-01-08 Angus Leeming <leeming@lyx.org>
749 * BufferView_pimpl.C (MenuInsertLyXFile):
750 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
751 * lyxfunc.C (menuNew, open, doImport):
752 FileFilterList change to the FileDialog open and save functions.
754 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
756 * ShareContainer.h: make isEqual and isUnique adaptable
758 * CutAndPaste.C: make resetOwnerAndChanges adaptable
760 2004-01-07 Angus Leeming <leeming@lyx.org>
763 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
765 * BufferView_pimpl.C (dispatch): act on these LFUNs.
767 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
768 functions replacing find, replace and replaceAll.
770 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
771 LFUN_WORDFIND(FORWARD|BACKWARD).
773 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
775 * text.C (breakParagraph): remove an outdated #warning
777 2004-01-07 André Pönitz <poenitz@gmx.net>
779 * lyxfind.C: somewhat clearer logic
781 * text.C: prevent crash in cursorX on unitialized row cache
783 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
785 * lyxcursor.[Ch] (operator>): add
786 * textcursor.C (selStart, selEnd): use std::min and std::max
788 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * Chktex.C: include boost/format.hpp
792 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
794 * InsetList.C: replace functor MathcIt with adaptable functor
796 (insetIterator): modify accordingly
798 * BranchList.h: move the BranchNamesEqual functor here from...
799 * BranchList.C: ... to here
801 * BranchList.C: new BranchListEqual fuctor, use it. Remove
803 (add): replace a finding loop with std::find_if.
805 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
807 * output_docbook.C: moving LatexParam functionality into
810 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
812 * buffer.C: increment format to 229.
814 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
817 * lyx_sty.[Ch]: remove minipageindent_def
823 * text3.C: remove LFUN_INSET_MINIPAGE
825 2003-12-28 Angus Leeming <leeming@lyx.org>
827 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
829 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
831 * text2.C (setParagraph): fix off-by-one crash
833 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
835 * output_docbook.C: header stuff for AGU
837 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
839 * text2.C (redoCursor): remove
842 * BufferView_pimpl.C: remove calls to redoCursor and
843 setCursor(cursor.par(), cursor.pos()) all around
845 2003-12-15 Angus Leeming <leeming@lyx.org>
847 * buffer.C: up the format to 228.
849 2003-12-15 André Pönitz <poenitz@gmx.net>
851 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
856 * BufferView_pimpl.C:
865 2003-12-15 Angus Leeming <leeming@lyx.org>
867 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
868 than getFromGUIName to manipulate the color.
870 2003-12-14 Angus Leeming <leeming@lyx.org>
872 * BranchList.[Ch]: minimize the API.
873 (Branch::getBranch, getColor): now return a 'const &'.
874 (Branch::setSelected) now returns a bool set to true if the
875 selection status changes.
876 (BranchList::clear, size, getColor, setColor, setSelected,
877 allBranches, allSelected, separator): removed.
878 (BranchList::find): new functions, returning the Branch with
880 (BranchList::add, remove): return a bool indicating that
881 the operation was successful.
883 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
884 new InsetBranch::isBranchSlected member function.
886 * LColor.[Ch]: mimimize the API.
887 (fill): renamed as addColor and made private.
888 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
889 versions of these functions taking a string arg have been removed.
891 * bufferparams.C (readToken):
892 * lyxfunc.C (dispatch):
893 * lyxrc.C (read): changes due to the altered BranchList and
896 * factory.C (createInset, readInset): changes due to altered
899 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * lyxfunc.C: remove insetminipage. "minipage-insert"
903 now produces a frameless minipage box inset.
905 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
907 * textcursor.[Ch] (selStart,selEnd): add new methods
908 remove selection::start, end, use LyXCursor::operator<
909 * lyxcursor.[Ch] (operator<): add
910 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
911 * BufferView.[Ch] (unsetXSel): add
912 * text2.C (clearSelection): use unsetXSel,adjust
915 * rowpainter.C: adjust
916 * bufferview_funcs.C (put_selection_at): adjust
918 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
920 * BufferView_pimpl.C: small coord. correction
922 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
924 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
925 dragging over the splash screen.
927 2003-12-11 Angus Leeming <leeming@lyx.org>
929 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
930 as it is now handled in LyXText::dispatch.
932 * text3.C (doInsertInset): remove a level of nesting.
934 2003-12-11 Angus Leeming <leeming@lyx.org>
936 * factory.C (createInset): changes due to the changed interface to
937 InsetCommandMailer::string2params.
939 2003-12-10 Angus Leeming <leeming@lyx.org>
941 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
942 'dialog-show-new-inset <inset name>'
944 2003-12-10 Angus Leeming <leeming@lyx.org>
946 * buffer.C: up the format to 227.
948 * factory.C: the box inset is now identified simply by 'Box'.
950 2003-12-10 Angus Leeming <leeming@lyx.org>
952 * buffer.C: up the format to 226.
954 * factory.C: the note inset is now identified simply by 'Note'.
956 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
958 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
959 when a pit is enough. Standarize a couple of loops.
961 2003-12-05 Angus Leeming <leeming@lyx.org>
963 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
964 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
965 data to the re-worked "log" dialog.
967 2003-12-03 André Pönitz <poenitz@gmx.net>
975 * text2.C: use Inset::getText instead of Inset::getParagraph
977 2003-12-03 André Pönitz <poenitz@gmx.net>
981 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
982 InsetText::read() as LyXText::read()
984 2003-12-02 Angus Leeming <leeming@lyx.org>
986 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
987 type. Add a comment in the implementation that the function uses
988 the stream's bad() function rather than fail() as the std::streams
991 2003-12-02 André Pönitz <poenitz@gmx.net>
993 * lyxlex.[Ch]: make interface more similar to std::stream
995 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
997 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
999 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1001 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1003 * vspace.[Ch]: remove VSpace::NONE
1005 2003-12-01 André Pönitz <poenitz@gmx.net>
1008 * lyxtext.h: move ParagraphList member to LyXText
1009 rename LyXText::ownerParagraphs to LyXText::paragraph
1012 * bufferview_funcs.C:
1022 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1024 * undo.C: fix cursor positioning
1026 2003-12-01 John Levon <levon@movementarian.org>
1028 * BufferView_pimpl.C: fix a crash on exit with
1031 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1033 * BranchList.C: fix setSelected() method.
1035 2003-11-28 André Pönitz <poenitz@gmx.net>
1037 * ParagraphParameters.[Ch]:
1038 * ParameterStruct.h: remove space above/below from Paragraph to
1041 * BufferView_pimpl.C:
1047 * paragraph_funcs.C:
1053 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1055 * factory.C: Syntax change for CharStyles
1057 2003-11-28 André Pönitz <poenitz@gmx.net>
1062 * buffer.[Ch]: move LyXText member
1064 2003-11-28 André Pönitz <poenitz@gmx.net>
1066 * BufferView.[Ch]: make LyXText * text a private member
1068 * BufferView_pimpl.C:
1079 * output_plaintext.C: cleanup
1081 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1084 * lyxtextclass.[Ch]: parametrize SGML document header
1086 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1089 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1092 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1094 * text2.C (setFont): rework using PosIterator (no more recursive)
1095 (setCharFont): no more needed
1096 (setLayout): no more selection cursors fiddling (done by redoCursor)
1097 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1098 destroy remaining ones)
1100 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1102 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1104 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1107 * text3.C: adjust + re-allow multi par depth changes
1108 * textcursor.C: simplify a bit
1110 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1116 * src/output_docbook.C:
1117 * src/output_latex.C:
1122 * src/text2.C: Introducing a number of tags parametrizing various
1123 XML formats that we may want to support
1125 2003-11-25 André Pönitz <poenitz@gmx.net>
1127 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1129 * lyxtext.h (leftMargin/rightMargin): simplify interface
1136 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1138 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1139 master file to any child files. Fixes bug 546.
1141 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1143 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1145 2003-11-24 André Pönitz <poenitz@gmx.net>
1147 * rowpainter.C: simplification
1149 * text2.C (updateCounters): remove call to redoParagraph on
1150 changed labels as this is far too expensive.
1152 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1154 * converter.C (convert): fix a crash: this function gets
1155 called with buffer == 0 from importer code.
1157 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1159 * text3.C (cursorPrevious): make sure that we do not compare
1160 iterators form different containers.
1163 * rowpainter.C (paintSelection): make sure that we do not compare
1164 iterators from different containers.
1166 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1167 iterators from different ParagraphList containers.
1170 * text2.C (LyXText): change order of initialization slightly
1171 (operator=): new function. copy all variables except cache_par_
1172 (moveUp): make sure that we do not compare iterators from
1173 different ParagraphList constainers.
1176 * text.C (firstPar): new function
1177 (lastPar): new function
1178 (endPar): new function
1180 * lyxtext.h: move things around and group public functions, public
1181 variables, private functions, private variables
1183 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1185 * factory.C: change call to InsetERT constructor to avoid
1186 additional invocation of method status
1187 * text2.C (toggleInset): remove redundant update() call
1188 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1189 instead of a Bufferview pointer
1191 2003-11-21 André Pönitz <poenitz@gmx.net>
1193 * rowpainter.C: simplification
1195 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1197 * text3.C (dispatch): make possible to extend a word/row selection
1200 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1202 * lyxtext.h: x0_,y0_ -> xo_,yo_
1203 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1204 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1205 * rowpainter.C (paintRows): paint full paragraphs
1207 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1209 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1212 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1214 * lyxtext.h: add x0_, y0_
1215 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1216 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1218 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1220 * text2.C (setCursorIntern): move the x_target update here *
1221 * text3.C: change some bv() to true/false in calls to
1222 cursorUp/Down/Right/Left
1223 * cursor.C: use helper function.
1225 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1227 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1228 * paragraph_funcs.[Ch]: correct comment
1229 * rowpainter.C: do not paint selections away from bv->cursor()
1230 Fix a long standing selection painting bug.
1231 * text3.C: generalize mouse-selection code to LyXTexts other that
1233 * textcursor.C: do not use y coords if we can use par offsets
1235 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1237 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1238 cursor position after e.g. inset insert)
1240 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1242 * lyxfind.C (replace): adjust to locking removal + some
1245 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1247 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1250 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1253 * output_docbook.C: XML sanitation: new layout
1254 parameters InnerTag and CommandDepth
1256 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1258 * BufferView_pimpl.C:
1260 * text3.C: Fix the insertion and modification of button-style
1263 2003-11-13 André Pönitz <poenitz@gmx.net>
1265 * InsetList.[Ch]: remove deleteLyXText
1267 * paragraph.[Ch]: cache beginOfBody position
1272 * text3.C: remove superfluous update() calls
1276 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1278 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1279 * BufferView.C (fitLockedInsetCursor): remove
1280 * cursor.[Ch] (getDim): add
1281 * text.C (getRowNearY): add faster version
1282 * text3.C: remove some update calls
1284 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1296 * text3.C: The Character Style /XML short element patch.
1298 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1301 * factory.C: Small step to solving 'unable to insert some insets'
1304 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1306 * cursor.[Ch] (updatePos): new function for updating the y
1307 position of the tip inset
1308 * bufferview_funcs.C (put_selection_at):
1309 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1311 2003-11-11 André Pönitz <poenitz@gmx.net>
1313 * text.C: remove big comment on invalid Paragraph pointers as it is
1316 2003-11-11 André Pönitz <poenitz@gmx.net>
1318 * text_funcs.[Ch]: merge with ...
1326 * Makefile.am: remove text_funcs.[Ch]
1328 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1330 * cursor.C (getPos): return absolute cached y coord
1332 * BufferView_pimpl.C (fitCursor): new simplistic code
1333 (workAreaDispatch): add a fitCursor call
1335 2003-11-10 André Pönitz <poenitz@gmx.net>
1338 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1340 2003-11-10 André Pönitz <poenitz@gmx.net>
1342 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1343 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1344 indicate that the cursor needs to leave an inset
1346 * lyxtext.h: remove inset locking
1348 * cursor.[Ch]: re-implement functionality provided by inset locking
1351 * BufferView_pimpl.[Ch]:
1353 * bufferview_funcs.[Ch]:
1365 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1367 * PosIterator.[Ch]: replace the stack with a vector, add inset
1369 * iterators.[C]: adjust
1371 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1373 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1375 * paragraph_funcs.C (readParToken): put the correct id in the
1376 error item, not the id of the top paragraph
1378 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1380 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1381 * bufferview_funcs.C (put_selection_at): use the above
1383 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1385 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1387 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1389 * output_linuxdoc.h:
1390 * output_plaintext.h:
1392 * output_docbook.h: add #include statements
1394 2003-11-05 José Matos <jamatos@lyx.org>
1396 * output_docbook.[Ch]:
1397 * output_latex.[Ch]:
1398 * output_linuxdoc.[Ch]:
1399 * output_plaintext.[Ch]: New files for output formats.
1400 * output.[Ch]: New file for helper functions.
1403 * paragraph_funcs.[Ch]: output functions moved to new files.
1405 * outputparams.h: rename of latexrunparams.h
1413 * paragraph_funcs.[Ch]:
1414 * paragraph_pimpl.[Ch]:
1415 * tabular.[Ch]: rename ascii to plaintext
1416 and LatexRunParams to OutputParams.
1418 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1420 * iterators.[Ch] (text): require bv argument
1421 * undo.C (recordUndo):
1422 * lyxfunc.C (dispatch):
1423 * bufferview_funcs.C (put_selection_at): adjust
1425 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1427 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1429 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1431 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1434 2003-11-04 André Pönitz <poenitz@gmx.net>
1436 * cursor.[Ch]: restructure
1439 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1441 * iterators.[Ch] (asCursor): remove
1443 * lfuns.h: remove LFUN_INSET_EDIT
1449 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1451 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1453 * lyxfind.[Ch]: complete overhaul
1454 * BufferView_pimpl.C:
1456 * paragraph.[Ch] (insert): add
1458 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1462 * text.C: remove dead spellcheck code
1464 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * dispatchresult.h: add a val setter
1468 * cursor.C (dispatch): use a tempvar for data_[i]
1470 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1472 * PosIterator.[Ch]: compile fix
1474 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1476 * text.C (cursorPar): deactivate the cursor cache
1478 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1480 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1482 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1484 * text3.C (dispatch): adjust for new DisptchResult semantics.
1486 * lyxfunc.C (dispatch): handle update when return from
1487 Cursor::dispatch, adjust for new DispatchResult semantics.
1489 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1490 DispatchResult(true) mean to not update. Add class functions for
1491 setting dispatched and update, as well as reading.
1493 * cursor.C (dispatch): don't handle update here
1495 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1498 * trans_mgr.C: adjust
1500 * paragraph_funcs.C (readParToken): exception safety
1502 * lyxvc.h: store the vcs pointer in a scoped_ptr
1505 * lyxsocket.C (serverCallback): exception safety
1507 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1509 * ispell.C (clone): make it return a auto_ptr
1511 * factory.C (createInset): exception safety
1512 (readInset): exception safety
1514 * bufferlist.C (newBuffer): exception safety
1516 * Thesaurus.C (Thesaurus): use initialization for aik_
1518 * MenuBackend.C (expandToc): exception safety.
1520 2003-11-03 André Pönitz <poenitz@gmx.net>
1524 * bufferview_funcs.C: remove getInsetFromId()
1527 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1533 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1535 * PosIterator.C (distance, advance): new
1536 * bufferview_funcs.[Ch] (put_selection_at): new
1537 * iterators.[Ch] (lockPath): new
1539 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1541 * iterators.[Ch] (asPosIterator): added
1542 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1543 * PosIterator.[Ch]: added
1545 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1549 * cursor.C (dispatch):
1550 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1552 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1553 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1554 contructor, add a class function dispatched. Remove operator>=
1556 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1558 * debug.C: only use the default constructor for debugstream
1561 * main.C (main): include debug.h and setup the lyxerr streambuf
1564 2003-10-31 José Matos <jamatos@lyx.org>
1566 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1568 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1569 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1570 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1571 * paragraph_pimpl.C (simpleTeXSpecialC):
1572 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1573 add LatexRunParams argument.
1575 * exporter.C (Export): change call accordingly.
1577 * latexrunparams.h: add new member to take care of the other backends.
1578 2003-10-30 José Matos <jamatos@lyx.org>
1580 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1581 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1582 factorise code for paragraph output.
1584 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1587 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1589 * text3.C (dispatch):
1590 * lyxfunc.C (dispatch):
1591 * cursor.C (dispatch):
1592 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1594 * dispatchresult.h: make the dispatch_result_t ctor explicit
1596 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1599 * buffer.C: small refactoring of docbook stuff
1601 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1606 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1608 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1609 operator dispatch_result_t, and operators for == != and >=
1611 * cursor.C (dispatch): adjust for operator dispatch_result_t
1612 removal. comment out call to update
1614 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1616 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1627 * dispatchresult.h: new file, DispatchResult broken out of
1630 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1632 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1634 * text.C (rowBreakPoint): put a hack inside #if 0
1636 2003-10-28 André Pönitz <poenitz@gmx.net>
1640 * paragraph_funcs.C:
1643 * text2.C: general cleanup (lots of small stuff)
1645 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1647 * text2.C (cursorEnd): simple fix to the "end key goes to one
1648 before the end on last row" bug
1650 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1652 * text.C (backspace): fix the "zombie characters"
1654 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1656 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1658 2003-10-27 André Pönitz <poenitz@gmx.net>
1660 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1662 * factory.C: handle new InsetPagebreak, InsetLine
1664 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1665 and move handling into new InsetPagebreak, InsetLine
1667 * BufferView_pimpl.C:
1669 * ParagraphParameters.C:
1670 * ParameterStruct.h:
1675 * paragraph_funcs.C:
1676 * paragraph_pimpl.C:
1682 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1685 * lyxrow_funcs.[Ch]:
1691 * text3.C: remove lastPos uses in favour of Row::endpos
1693 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1695 * undo.C (performUndoOrRedo): fix two crashes by setting a
1696 cursor by hand and reordering some calls. Use bv->lockInset instead
1697 of inset->edit because the latter loses cursor information
1699 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1701 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1703 (rowBreakPoint): fix width. change point to point + 1.
1704 Add a missing check.
1706 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1709 * lyxfunc.C: fix (at least partly) the problems
1710 with the Nav menu and headers inside branch insets
1713 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1715 * paragraph.C (getChar): add strong asserts
1717 * lyxrow_funcs.C (lastPos): remove hideous hack
1719 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1720 (fill): adjust to that (avoid an infinite loop)
1722 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1724 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1726 2003-10-23 André Pönitz <poenitz@gmx.net>
1728 * RowList_fwd.h: change list<> to vector<> to gain speed
1729 after suggestion from Alfredo
1731 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1733 * lyxtext.h: move the bidi stuff from here...
1736 * Bidi.[Ch]: ... to here
1738 2003-10-23 André Pönitz <poenitz@gmx.net>
1741 * text.C (isLastRow, isFirstRow): new functions
1743 * paragraph.h: new width cache member
1745 * rowpainter.C: replace RowList::iterator with Row & where possible
1747 * lyxfunc.C: replace several view()->text with a single call
1749 * toc.C: fix 'unused' warning
1751 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1754 when woring with stream::pos_type
1755 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1757 2003-10-22 André Pönitz <poenitz@gmx.net>
1760 * text.C: use Row & instead of RowList::iterator
1762 * lyxrow.h: rename end() to endpos()
1768 2003-10-22 Angus Leeming <leeming@lyx.org>
1770 * buffer.[Ch] (fully_loaded): new member function, returning true
1771 only when the file has been loaded fully.
1772 Used to prevent the premature generation of previews and by the
1773 citation inset to prevent computation of the natbib-style label.
1775 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1776 templates are all set up.
1778 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1780 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1782 * text.C: fixed an "oops" in the "is a bit silly"
1785 2003-10-21 André Pönitz <poenitz@gmx.net>
1787 * FuncStatus.[Ch]: small stuff, whitespace
1789 * lyxfont.[Ch]: operator<<() for debug reasons
1793 * lyxtext.h: whitespace, spelling
1795 * paragraph.C: naming of variables
1798 * text2.C: small stuff
1801 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1803 * text.C: (1) finish off the inset display() work;
1804 (2) fix the "is a bit silly" bug (accessing char
1807 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1809 * text.C: re-introduce display() for insets, fixing the
1810 various bugs (stretch of line above, math inset
1813 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * text.C (rightMargin): remove spurious semicolon
1817 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1820 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1822 * text3.C: fix one crash due to wrong cursor def
1824 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * vc-backend.C (scanMaster): make the regex static
1828 * LaTeX.C (scanAuxFile): make the regexs static
1830 * text3.C (doInsertInset, dispatch, dispatch):
1831 * text2.C (cursorUp, cursorDown):
1832 * text.C (selectNextWordToSpellcheck):
1833 * BufferView_pimpl.C (dispatch):
1834 * lyxfunc.C (dispatch): localDispatch -> dispatch
1836 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * lyxsocket.C: include <cerrno>
1840 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * lyxfunc.C (dispatch): remove textcache stuff
1844 * bufferlist.C (release): remove textcache stuff
1847 * TextCache.C: delete file
1848 * TextCache.h: delete file
1850 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1852 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1853 delete of the bv_->text.
1854 (resizeCurrentBuffer): remove texcache stuff
1855 (workAreaResize): ditto
1857 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1862 2003-10-16 André Pönitz <poenitz@gmx.net>
1869 * text3.C: speed up by storing y positions per paragraph plus per-row
1870 offset instead of having a 'full' y position in the row.
1872 2003-10-15 André Pönitz <poenitz@gmx.net>
1876 * undo.[Ch]: make undo aware of inner insets
1878 2003-10-14 Angus Leeming <leeming@lyx.org>
1880 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1881 static member functions LyX::ref() and LyX::cref.
1882 (lastfiles): new accessor functions for the new lastfiles_ member var.
1883 (addLyXView, views_): add a new LyXView to the list of views_.
1884 (updateInset): loop over all LyXViews to call their own updateInset
1885 member function, returning a pointer to the Buffer owning the inset.
1887 * BufferView_pimpl.C (loadLyXFile):
1888 * MenuBackend.C (expandLastfiles):
1889 * bufferlist.C (MenuWrite, QuitLyX):
1890 lastfiles is no longer a global variable.
1891 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1893 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1894 static function. Access through LyX::cref().emergencyCleanup().
1896 2003-10-14 André Pönitz <poenitz@gmx.net>
1898 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1900 * undo.[Ch]: restoring part of 'undo in insets'
1903 * undo_funcs.[Ch]: merge with undo.[Ch]
1905 * tabular.C: small cleansing stuff
1907 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1909 * paragraph_funcs.C (readParToken): report unknown insets as error
1910 boxes. Use the outer paragraph as location (also for unknown
1913 * factory.C (readInset): do not abort on reading an unknown inset.
1914 Eat it and return 0.
1916 2003-10-13 Angus Leeming <leeming@lyx.org>
1918 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1920 * lyxrc.C: displayTranslator is now a function,
1921 declared in GraphicsTypes.h.
1923 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1925 * format.C: new placeholder $$a to pass the socket address.
1927 * bufferlist.[Ch]: new function getBufferFromTmp.
1929 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1930 files in the temporary dir.
1932 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1934 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1936 * Makefile.am: add lyxsocket.[Ch].
1938 * lyx_main.C (error_handler): handle SIGPIPE.
1940 2003-10-13 André Pönitz <poenitz@gmx.net>
1942 * BufferView_pimpl.C:
1947 * undo_funcs.[Ch]: use paroffset_type instead of
1948 ParagraphList::iterators to prevent multiple conversion
1949 (and get a more robust interface)
1951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1955 * text3.C (dispatch): ditto
1957 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1960 move the onlyfile, use onlyfile instead of foundfile in a couple
1963 * DepTable.C (update): flush the error stream a bit more
1965 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * lyxserver.C (callback): adjust
1969 * lyxfunc.C (getStatus): add a missing brace in commented code
1970 (ensureBufferClean): reindent
1971 (dispatch): delete version taking a string
1973 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1975 * LaTeX.C (deplog): move found file handlig from here...
1976 (handleFoundFile): .. to new function here.
1977 (deplog): make sure to discover several files mentioned on the
1980 2003-10-10 André Pönitz <poenitz@gmx.net>
1987 * text3.C: fix some of the tabular crashes
1989 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1991 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1993 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1995 2003-10-09 André Pönitz <poenitz@gmx.net>
1997 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2000 * BufferView_pimpl.C:
2001 * bufferview_funcs.C:
2012 * undo_funcs.C: adjust
2014 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * text2.C (incrementItemDepth): new function, use a backtracking
2017 algorithm to discover the correct item depth.
2018 (resetEnumCounterIfNeeded): new function, use a backtracking
2019 algorithm to discover if counter reset is needed.
2020 (setCounter): use them. Simplify a bit. Add different labels for
2021 different item depths for itemize.
2023 * paragraph.C (Paragraph): remove initialization of enumdepth
2026 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2027 enumerate and itemize. Change the type of itemdepth to signed char.
2029 2003-10-08 André Pönitz <poenitz@gmx.net>
2031 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2036 * tabular.[Ch]: fix crash after 'row-insert'
2038 2003-10-08 Angus Leeming <leeming@lyx.org>
2040 Fix doxygen warnings.
2042 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2043 Remove CutAndPaste:: prefix from header file declaration.
2045 * LColor.h (fill): remove LColor:: prefix from declaration.
2047 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2048 use lyx::depth_type rather than Paragraph::depth_type so that
2049 header file and .C file match.
2051 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2053 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2054 * aspell.C: \file aspell_local.C -> \file aspell.C
2055 * gettext.C: \file gettext.C -> \file src/gettext.C
2056 * gettext.h: \file gettext.h -> \file src/gettext.h
2057 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2058 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2059 * text.C: \file text.C -> \file src/text.C
2061 * toc.C: move comment so that doxygen is not confused.
2063 2003-10-07 Angus Leeming <leeming@lyx.org>
2065 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2067 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2070 * aspell_local.h: add forgotten std::string's.
2072 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2079 * text3.C: The Box patch. Fancybox support, minipage, parbox
2081 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2087 * ParagraphParameters.h:
2097 * lyxtextclasslist.h:
2100 * paragraph_pimpl.C:
2101 * textcursor.h: add <string> and other small fixes to make Lars'
2102 std::string patch compile with STLport.
2104 2003-10-06 Angus Leeming <leeming@lyx.org>
2106 * LColor.h: Add missing #include <string>.
2108 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * All most all file in all subdirs: Make <string> be the prefered
2111 way of getting to std::string, add using declarations.
2113 2003-10-06 André Pönitz <poenitz@gmx.net>
2115 * metricsinfo.C: initialize LyXFont before changing attribute.
2116 (fixes the 'math in \emph is upright' bug)
2118 2003-10-06 André Pönitz <poenitz@gmx.net>
2120 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2122 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2125 * paragraph_pimpl.C: Small fixes to build using STLport
2127 2003-10-02 André Pönitz <poenitz@gmx.net>
2130 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2132 2003-10-01 André Pönitz <poenitz@gmx.net>
2134 * factory.C: assert early
2136 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * lyx_main.C: remove the global debug object
2140 * debug.h: adjust for new debugstream
2142 * debug.C: adjust for new debugstream and keep the global debug
2145 2003-09-22 Angus Leeming <leeming@lyx.org>
2147 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2148 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2149 an incomplete class LyXFont.
2151 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2153 * factory.C: bug fix in branches
2155 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * lyxfunc.C (processKeySym): adjust
2159 (dispatch): change arg name from ev to func, adjust
2160 (sendDispatchMessage): ditto
2162 * lyx_main.C (defaultKeyBindings): adjust keybindings
2163 (deadKeyBindings): ditto
2165 * kbsequence.C (addkey): return a FuncRequest
2167 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2169 * kbmap.C (bind): take a FuncRequest as arg, adjust
2172 (defkey): change to take a FuncRequest as arg, adjust
2173 (findbinding): take a FuncRequest as arg, adjust.
2175 * funcrequest.h (operator=): added
2177 * funcrequest.C (FuncRequest): default kb_action changed from
2178 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2180 * buffer.C (dispatch): simplify
2181 (dispatch): adjust to take a FuncRequest as arg, adjust
2183 * boost.C (assertion_failed): change assertion message slightly
2185 * ToolbarBackend.C (read): simplify
2187 * MenuBackend.C (binding): adjust call to findbinding, add a
2188 message if no binding is found.
2190 (expandToc): correct by adding a empty FuncRequest
2192 * LyXAction.C: include <boost/assert.hpp>
2193 (isPseudoAction): delete function
2194 (LookupFunc): change name to...
2195 (lookupFunc): this. change return type to FuncRequest.
2196 (getActionName): take kb_action as arg, simplify
2197 (funcHasFlag): add an assert, simplify.
2199 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * toc.C (action): return a FuncRequest, simplify
2203 * lyxfunc.C (processKeySym): adjust
2204 (getStatus): delete version that takes an int.
2206 (dispatch): delete version that takes action as int
2208 (sendDispatchMessage): simplify and adjust
2210 * funcrequest.C (getArg): take unsigned int as arg
2212 * ToolbarBackend.C (read): adjust
2213 (add): delete version that takes func as a string.
2214 (getIton): take a FuncRequest as arg
2216 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2219 * MenuBackend.C (MenuItem): add a new construct that only takes a
2220 Kind, simplify the constructor use for submenus.
2222 (expandLastfiles): adjust
2223 (expandDocuments): adjust
2224 (expandFormats): adjust
2225 (expandFloatListInsert): adjust
2226 (expandFloatInsert): adjust
2227 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2229 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2230 Remove class variables lyx_pseudo_map and lyx_arg_map
2232 * LyXAction.C (searchActionArg): delete function
2233 (getPseudoAction): delete function
2234 (retrieveActionArg): delete function
2235 (LookupFunc): make it return kb_action, simplify.
2236 (getActionName): simplify
2238 * factory.C (createInset): fix new bug
2240 2003-09-19 Angus Leeming <leeming@lyx.org>
2242 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2243 masterFilename_ parameter in the include inset.
2245 * factory.C (createInset): changes due to the changes to InsetInclude.
2247 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2249 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2251 2003-09-18 Angus Leeming <leeming@lyx.org>
2254 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2255 Inset::fillWithBibKeys.
2256 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2258 2003-09-18 Angus Leeming <leeming@lyx.org>
2260 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2262 (ctor): pass and store a 'Buffer const &'
2263 (buffer): new member function.
2265 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2266 '*this' to the LaTeXFeatures ctor.
2268 2003-09-18 Angus Leeming <leeming@lyx.org>
2274 * text.C: rename EnumLColor as LColor_color.
2276 2003-09-18 Angus Leeming <leeming@lyx.org>
2278 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2279 remove #include "insets/insetbase.h" from cursor.h.
2281 2003-09-18 Angus Leeming <leeming@lyx.org>
2283 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2284 InsetOld_code to remove #include "inset.h".
2286 * iterators.C: add #include "insets/inset.h"
2288 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2290 * BufferView.C: remove more locking stuff that apparently doesn't
2291 do anything sensible.
2293 2003-09-16 André Pönitz <poenitz@gmx.net>
2296 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2299 2003-09-16 Angus Leeming <leeming@lyx.org>
2301 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2303 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2306 * paragraph.h: remove #include "lyxfont.h". Forward declare
2309 2003-09-16 Angus Leeming <leeming@lyx.org>
2311 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2312 of support/textutils.h.
2313 (isWord): move the contents of support/textutils.h's IsWordChar here.
2319 * text2.C: add #include "paragraph.h".
2322 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2324 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * LaTeX.C: use namespace alias for lyx::support::os
2332 2003-09-16 Angus Leeming <leeming@lyx.org>
2335 * bufferview_funcs.C:
2338 * paragraph_pimpl.C:
2340 * text.C: add #include "LColor.h".
2342 2003-09-16 Angus Leeming <leeming@lyx.org>
2344 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2345 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2347 Store the FontBits::color variable as an int rather than as an
2348 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2351 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2352 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2353 string calls together.
2355 * lyxrc.C: add #include "LColor.h".
2357 2003-09-15 Angus Leeming <leeming@lyx.org>
2359 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2362 2003-09-15 Angus Leeming <leeming@lyx.org>
2364 * LColor.h: add an EnumLColor wrapper for LColor::color.
2366 * lyxfont.[Ch] (color, setColor, realColor):
2367 * lyxtext.h, text.C (backgroundColor):
2368 pass EnumLColor args to/from the functions, rather than LColor::color
2372 * lyxtext.h: forward declare EnumLColor.
2374 * lyx_main.C: add #include "LColor.h".
2376 2003-09-15 Angus Leeming <leeming@lyx.org>
2378 * .cvsignore: add lyx-gtk.
2380 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * ParagraphParameters.C
2389 * bufferview_funcs.C
2399 * vc-backend.C: remove usage of STRCONV
2401 2003-09-15 Angus Leeming <leeming@lyx.org>
2403 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2404 explicitly define the color passed to the painter.
2406 2003-09-15 Angus Leeming <leeming@lyx.org>
2408 * bufferparams.C (BufferParams): reorder member initializers to avoid
2411 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2413 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2414 * text.C (updateRowPositions): remove an unusual nop
2416 2003-09-12 André Pönitz <poenitz@gmx.net>
2418 * BufferView_pimpl.C:
2427 * Counters.[Ch]: finish the 'automatic counters' job
2429 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2431 * aspell.C: include <boost/assert.cpp> (compile fix)
2433 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2435 * boost.C (assertion_failed): use lyx::support::abort instead of
2438 2003-09-10 Angus Leeming <leeming@lyx.org>
2440 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2441 with their _fwd progeny.
2443 2003-09-09 Angus Leeming <leeming@lyx.org>
2445 134 files throughtout the source tree: replace 'using namespace abc;'
2446 directives with the appropriate 'using abc::xyz;' declarations.
2448 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2450 * boost.C (emergencyCleanup): moved here from LAssert.c
2451 (assertion_failed): new function, called by BOOST_ASSERT
2453 * several files: change Assert to BOOST_ASSERT
2455 2003-09-09 Angus Leeming <leeming@lyx.org>
2457 * buffer.[Ch]: Add an Impl class and move Buffer's member
2458 variables into it. As a result move several header files out of
2461 Add header files to lots of .C files all over the tree as a result.
2463 2003-09-09 Angus Leeming <leeming@lyx.org>
2465 * buffer.[Ch]: make Buffer's member variables private. Add
2468 Lots of changes all over the tree as a result.
2470 2003-09-08 Angus Leeming <leeming@lyx.org>
2472 * graph.C: #include <config.h>.
2474 2003-09-08 Angus Leeming <leeming@lyx.org>
2478 * BufferView_pimpl.C:
2507 * toc.C: remove redundant using directives.
2509 2003-09-07 Angus Leeming <leeming@lyx.org>
2511 * LaTeXFeatures.h: remove #include "support/types.h".
2512 * ToolbarBackend.h: remove #include <algorithm>.
2513 * changes.h: remove #include <ctime>.
2514 * debug.h: remove #include <iosfwd>.
2515 * graph.h: remove #include "support/std_string.h".
2516 * lyx_main.h: remove #include <csignal>.
2517 * lyxlex_pimpl.h: remove #include <fstream>.
2518 * sgml.h: remove #include <algorithm>, <utility>.
2519 * toc.h: remove #include "support/std_ostream.h".
2520 Add #include <iosfwd>.
2522 2003-09-07 Angus Leeming <leeming@lyx.org>
2524 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2526 * converter.h: forward declare LatexRunParams.
2527 * encoding.h: remove #include "lyxrc.h".
2528 * lyxtext.h: remove #include "LColor.h".
2529 * lyxtextclass.h: remove #include "support/types.h".
2530 * trans.h: remove #include "tex-accent.h".
2531 * trans_mgr.h: remove #include "tex-accent.h".
2532 * insets/inset.h: remove #include "support/types.h", <vector>.
2533 * insets/insetcollapsable.h: remove #include "LColor.h".
2534 * insets/insetinclude.h: remove #include "dimension.h".
2535 * insets/insetlatexaccent.h: remove #include "dimension.h".
2536 * insets/insetoptarg.h:: remove #include "insettext.h".
2537 * insets/insettext.h: remove #include "dimension.h",
2538 <boost/shared_ptr.hpp>
2540 * insets/renderers.h: add #include "dimension.h".
2541 * insets/updatableinset.h: add #include "support/types.h".
2543 * many .C files: Associated changes.
2545 2003-09-06 Angus Leeming <leeming@lyx.org>
2547 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2548 one, inside testInvariant.
2550 * PrinterParams.C: new file.
2551 * PrinterParams.[Ch]: move the function bodies out of line.
2553 2003-09-06 Angus Leeming <leeming@lyx.org>
2555 * ParagraphParameters.h: forward declare ParameterStruct rather than
2556 including its header file.
2557 (depth): moved out-of-line.
2559 2003-09-06 Angus Leeming <leeming@lyx.org>
2561 * BufferView_pimpl.h:
2564 * lyxfunc.h: forward declare LyXKeySym rather than
2565 #include "frontends/LyXKeySym.h".
2567 * BufferView_pimpl.C:
2570 * lyxfunc.C: associated changes.
2572 2003-09-06 Angus Leeming <leeming@lyx.org>
2574 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2575 As a result, can remove the #include "insets/inset.h" from BufferView.h
2577 2003-09-06 Angus Leeming <leeming@lyx.org>
2579 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2580 As a result, can remove the #include "insets/inset.h" from BufferView.h
2582 2003-09-06 Angus Leeming <leeming@lyx.org>
2588 * bufferview_funcs.C:
2589 * BufferView_pimpl.C:
2594 * ParagraphParameters.C:
2599 * frontends/controllers/ControlDocument.C:
2600 * insets/insetcaption.C: rearrange the #includes into some sort of
2603 * buffer.h: remove #includes ErrorList.h, undo.h
2605 2003-09-06 Angus Leeming <leeming@lyx.org>
2607 * support/types.h: add a 'depth_type' typedef, used to store the
2608 nesting depth of a paragraph.
2611 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2612 defining explicitly.
2615 * paragraph_funcs.h:
2616 * ParagraphParameters.h:
2617 * sgml.h: use lyx::depth_type rather than Paragraph or
2618 ParameterStruct's depth_type.
2621 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2624 * BufferView_pimpl.C:
2626 * ParagraphParameters.C:
2629 * bufferview_funcs.C:
2636 * frontends/LyXView.C:
2637 * frontends/controllers/ControlDocument.C:
2638 * frontends/controllers/ControlErrorList.C:
2639 * insets/insetbibitem.C:
2640 * insets/insetbranch.C:
2641 * insets/insetcaption.C:
2642 * insets/insetcollapsable.C:
2643 * insets/insetenv.C:
2644 * insets/insetert.C:
2645 * insets/insetfloat.C:
2646 * insets/insetfoot.C:
2647 * insets/insetfootlike.C:
2648 * insets/insetnewline.C:
2649 * insets/insetquotes.C:
2650 * insets/insettabular.C:
2651 * insets/insettext.C:
2652 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2654 * frontends/controllers/ControlChanges.C: #include "changes.h".
2656 2003-09-06 Angus Leeming <leeming@lyx.org>
2658 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2659 than #including paragraph.h.
2662 * RowList.h: deleted. Superfluous.
2672 * insets/insettext.h: use ParagraphList_fwd.h rather than
2675 * paragraph.h: don't forward declare ParagraphList.
2678 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2679 rather than ParagraphList.h. paragraph.h is still needed for the
2680 Paragraph::depth_type parameters.
2682 * textcursor.h: enable it to compile stand-alone in light of the
2685 * bufferview_funcs.C:
2697 * frontends/controllers/ControlParagraph.C:
2698 * frontends/controllers/ControlTabular.C:
2699 * insets/insetmarginal.C:
2700 * insets/insetminipage.C:
2701 * insets/insetnote.C:
2702 * insets/insetoptarg.C: add header files needed to compile again.
2704 2003-09-06 Angus Leeming <leeming@lyx.org>
2706 * RowList_fwd.h: new file, forward-declaring Row rather than
2707 #including lyxrow.h.
2712 * insets/insettext.h: use it instead of RowList.h
2714 * bufferview_funcs.C:
2721 * text3.C: #include "RowList.h".
2723 2003-09-05 Angus Leeming <leeming@lyx.org>
2725 * factory.C (createInset):
2726 * vspace.C (c-tor): replace sscanf call with an istringstream.
2727 * ispell.C: re-add missing HP/UX headers.
2728 * lyxserver.C: re-add missing os2 headers.
2730 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2739 * text3.C: re-add missing system headers, needed for 2.95.2.
2741 2003-09-05 Angus Leeming <leeming@lyx.org>
2743 Changes most place everywhere due to the removal of using directives
2744 from support/std_sstream.h.
2746 2003-09-05 Angus Leeming <leeming@lyx.org>
2748 Replace LString.h with support/std_string.h,
2749 Lsstream.h with support/std_sstream.h,
2750 support/LIstream.h with support/std_istream.h,
2751 support/LOstream.h with support/std_ostream.h.
2753 Changes resulting throughout the tree.
2755 2003-09-05 Angus Leeming <leeming@lyx.org>
2757 * sgml.h: ensure that the header file can be compiled stand-alone.
2758 * *.C: strip out redundant #includes. (320 in total.)
2760 2003-09-04 Angus Leeming <leeming@lyx.org>
2762 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2763 here (from getPackages).
2765 * debug.[Ch]: add a new EXTERNAL tag.
2767 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2769 * text2.C (cursorEnd): simplify
2771 (getColumnNearX): adjust
2773 * text.C (computeBidiTables): adjust
2776 * rowpainter.C (paintChars): adjust
2777 (paintSelection): adjust
2778 (paintChangeBar): adjust
2781 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2783 (numberOfSeparators): adjust
2785 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2791 * text3.C: Restricts the mouse click functionality
2792 of insets like bibtex, include, toc and floatlist to the visible
2793 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2794 up the dialogs. Cursor has to be in front of the inset (i.e.
2795 start of row) for this to function.
2797 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2799 * bufferview_funcs.C (currentState): output row information
2801 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2803 * bufferview_funcs.C (currentState): output paragraph position
2805 2003-09-04 Angus Leeming <leeming@lyx.org>
2807 * FloatList.h: move out #include "Floating.h".
2808 * LaTeX.h: move out #include "DepTable.h".
2809 * LyXAction.h: move out #include "funcrequest.h".
2810 * buffer.h: move out #include "author.h", "iterators.h".
2811 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2812 * lyx_main.h: move out #include "errorlist.h".
2813 * lyxfunc.h: move out #include "FuncStatus.h".
2814 * lyxtext: move out #include "lyxcursor.h".
2815 * paragraph_pimpl.h: move out #include "counters.h".
2817 2003-09-03 Angus Leeming <leeming@lyx.org>
2819 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2820 preamble_snippets list, enabling us to add snippets to the preamble
2821 only if the snippet was not there already.
2823 2003-09-04 Angus Leeming <leeming@lyx.org>
2825 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2827 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2832 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2834 * BranchList.C: point fix, earlier forgotten
2836 2003-09-02 Angus Leeming <leeming@lyx.org>
2838 * box.C (contains): renamed from 'contained' after a fantastic
2841 2003-09-02 John Levon <levon@movementarian.org>
2847 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2849 2003-09-02 John Levon <levon@movementarian.org>
2851 * text2.C: simplification of cursorEnd(), including partial
2854 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * buffer.C (readFile): add a space
2858 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2860 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2862 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * buffer.C (readFile): new function, take a filename and a
2865 ParagraphList::iterator
2867 (readFile): adjust, make it private. don't use setStream, make
2868 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2869 always contain the filename.
2871 * BufferView.C (insertLyXFile): simplify and make it work for
2874 2003-08-30 John Levon <levon@movementarian.org>
2876 * Makefile.am: fix dist (from Kayvan)
2878 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * most files: change to use const Buffer refs
2882 2003-08-27 André Pönitz <poenitz@gmx.net>
2884 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2885 on top of ownerPar().
2887 2003-08-27 John Levon <levon@movementarian.org>
2889 * funcrequest.C: properly initialise POD members
2891 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2893 * lyxtext.h (top_y): move top_y from here
2898 * BufferView_pimpl.[Ch]: to here
2899 * frontends/screen.C:
2900 * insets/insettabular.C:
2901 * insets/insettext.C: adjust
2902 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2904 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2907 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2909 2003-08-26 André Pönitz <poenitz@gmx.net>
2911 * paragraph_func.[Ch] (outerPar): new function
2914 * paragraph_funcs.C:
2915 * paragraph_funcs.h:
2916 * paragraph_pimpl.C:
2917 * text2.C: remove Inset::par_owner
2919 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2924 * text2.C: eliminates the needFullRow/display() stuff
2925 altogether, putting the logic in metrics/draw in the insets.
2927 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2929 * text2.C (redoParagraphInternal, redoParagraphs):
2930 * text.C (redoParagraph): add a call to updateRowPositions at the
2931 end of each 'metrics-like' call. Remove all others.
2932 (getRow): remove the 'y-computing' version.
2933 (getRowNearY): do not compute nor return the real y. Solve the
2934 'y < 0' problem and simplify.
2936 2003-08-22 Angus Leeming <leeming@lyx.org>
2938 * *.[Ch]: clean-up of licence and author blurbs.
2939 Also move config.h out of a few .h files and into a few .C files.
2941 2003-08-22 André Pönitz <poenitz@gmx.net>
2943 * lyxrow.[Ch]: add x_ and *fill_ members
2948 * text2.C: adjust/remove prepareToPrint() calls
2950 2003-08-22 André Pönitz <poenitz@gmx.net>
2952 * lyxrow.[Ch]: add end_ member
2954 * lyxrow_funcs.C: use LyXRow::end_
2956 * lyxtext.h (singleWidth): add LyXFont parameter
2959 * text2.C: adjust LyXText::singleWidth() calls
2961 * text.C (redoParagraph): simplify row breaking logic
2964 2003-08-19 André Pönitz <poenitz@gmx.net>
2966 * funcrequest.C: initialize button_ member
2969 * rowpainter.[Ch]: interface consolidation
2971 2003-08-18 André Pönitz <poenitz@gmx.net>
2974 * BufferView_pimpl.C:
2976 * paragraph_funcs.C:
2978 * text3.C: remove LyXScreen::draw() and fitCursor calls
2980 * BranchList.h: remove spurious semicolons
2982 * MenuBackend.C: fix branchlist related crash
2984 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2992 * bufferparams.[Ch]:
2996 * text3.C: implements the 'branch inset'
2997 idea. This allows the output of various versions of a document
2998 from a single source version, selectively outputing or suppressing
2999 output of parts of the text.
3000 This implementation contains a 'branch list editor' in a separate
3001 tab of the document settings dialog. Branches are user definable
3002 and have a "display colour" to distinguish them on-screen.
3004 ColorHandler was somewhat cleaned up.
3005 (1) make possible a dynamically growing LColor list by allowing
3006 the graphic context cache to grow along (vector);
3007 (2) eliminate an IMHO unnecessary step in colour allocation.
3009 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3011 * BufferView_pimpl.C: compile fix
3013 2003-08-15 André Pönitz <poenitz@gmx.net>
3015 * rowpainter.C: remove extra metrics calls
3017 * lyxtext.h: merge the two constructors into a single one,
3018 pass reference to owner's par list
3020 * BufferView_pimpl.C:
3024 2003-08-15 André Pönitz <poenitz@gmx.net>
3026 * lyxrow_funcs.[Ch]:
3029 * paragraph_funcs.C:
3034 * text_funcs.C: split LyXText::rowlist_ into individual
3035 Paragraph::rows_ chunks
3038 * BufferView_pimpl.[Ch]:
3041 * text3.C: remove toggleSelection()
3043 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3045 * bufferlist.C: beautify two alerts (shorter text of buttons)
3046 * buffer.C: Remove redundant ' ' from message
3048 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3049 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3050 rename VALIGN_CENTER to VALIGN_MIDDLE
3052 2003-08-11 André Pönitz <poenitz@gmx.net>
3054 * lyxtext.h (getPar):
3055 * text.C: new function
3057 2003-08-11 André Pönitz <poenitz@gmx.net>
3060 * tracer.[Ch]: remove unneeded files
3062 * InsetList.[Ch]: remove resizeInsetsLyXText()
3067 * text3.C: merge insertParagraphs() and appendParagraph()
3068 remove breakAgain(), update()
3070 * BufferView_pimpl.[Ch]:
3071 * bufferview_funcs.[Ch]:
3075 * tabular.C: adjust after text & InsetList changes.
3077 2003-08-08 André Pönitz <poenitz@gmx.net>
3079 * text.C (insertChar, backspace): replace rowlist fiddling
3080 with rebreak of full par
3083 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3084 checkParagraph, updateInset): removed
3086 2003-08-07 André Pönitz <poenitz@gmx.net>
3089 * text3.C: merge some LFUN handlers, remove dead code
3091 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3093 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3095 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3097 * text2.C (DEPM): fix part of bug 1255 and 1256
3099 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3101 * BufferView_pimpl.C (workAreaDispatch): change to use
3102 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3103 that are no mouse related.
3105 2003-08-05 André Pönitz <poenitz@gmx.net>
3108 * BufferView_pimpl.[Ch]:
3109 * bufferview_funcs.C:
3111 * text3.C: rip out "deep update"
3113 * textcursor.[Ch] (last_sel_cursor): remove unused member
3115 2003-08-04 André Pönitz <poenitz@gmx.net>
3118 * BufferView_pimpl.[Ch]:
3119 * ParagraphParameters.C:
3120 * bufferview_funcs.C:
3126 * text3.C: replace "complicated" BufferView::update(...) calls with
3129 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3131 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3133 * Makefile.am (lyx_SOURCES): add paper.h
3135 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3137 * Makefile.am: move things around so that both lyx-qt and
3138 lyx-xforms can be built (according to --with-frontend). Then lyx
3139 is a symbolic link to lyx-[firstfrontend]
3141 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3143 * Always use std::endl with lyxerr
3145 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3147 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3149 2003-08-01 André Pönitz <poenitz@gmx.net>
3152 * BufferView_pimpl.[Ch]:
3154 * text3.C: merge BufferView::repaint() and BufferView::update()
3156 2003-08-01 José Matos <jamatos@lyx.org>
3158 * buffer.[Ch]: file_format is no longer a buffer data element.
3160 2003-08-01 André Pönitz <poenitz@gmx.net>
3165 * text2.C: make redoParagraph more independent of current cursor
3167 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3169 * text2.C: remove unneeded members
3171 2003-07-30 André Pönitz <poenitz@gmx.net>
3173 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3175 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3176 create a single function...
3178 * paragraph_funcs.C (moveItem): ... here.
3181 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3185 * LColor.[Ch]: Add comment and greyedout logical colors.
3187 2003-07-30 André Pönitz <poenitz@gmx.net>
3189 * tabular.C: don't use Assert too heavily. This crashes where it
3192 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3194 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3195 is disabled (bug 1232)
3197 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3199 * factory.C: limited 'arg' scope
3201 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3203 * factory.C: fixed Note submenu issues
3205 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3207 * factory.C: submenu for Note/Comment/Greyedout
3209 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3212 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3214 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3217 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3218 greyedout. Patch provided by Jürgen Spitzmüller.
3220 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3222 * kbmap.C (read): fix error message when reading bind files
3224 2003-07-29 Angus Leeming <leeming@lyx.org>
3226 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3227 certainly does not do what it purports to do. I am doing it, and
3228 us, a favour by killing it.
3230 2003-07-28 José Matos <jamatos@lyx.org>
3232 * buffer.C (readBody, do_writeFile):
3233 * paragraph.C(readParagraph): \end_document replaces \the_end.
3235 2003-07-29 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.[Ch]:
3242 * textcursor.[Ch]: remove toggleToggle & Co
3244 2003-07-28 José Matos <jamatos@fep.up.pt>
3246 * buffer.C (readParagraph):
3247 * params_func (readParToken, readParagraph):
3248 * paragraph.C (write): \layout -> \begin_layout.
3250 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * lyxlex_pimpl.C (setFile): clean up slightly.
3254 * bufferparams.h: add compressed var
3256 * buffer_funcs.C (readFile): adjust for LyXLex change
3257 (newFile): ditto + simplify
3259 * buffer.C (writeFile): handle writing of compressed files
3261 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3262 Check if the file is compressed and set a bufferparm if so.
3264 * Makefile.am (lyx_LDADD): remove explicit -lz
3266 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3268 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3269 makeDocBookFile): put the real LyX version in the first line of
3273 * version.C.in: remove lyx_docversion
3275 * tabular.C (write_attribute): add a template-based version to
3276 write enums properly
3278 2003-07-28 André Pönitz <poenitz@gmx.net>
3283 * text3.C: use doubles again for x-coordinates. They are needed.
3285 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * messages.C (getLocaleDir): use lyx_localedir()
3289 * lyxlex_pimpl.C (setFile): compress stuff
3291 * buffer.C (writeFile): add some compression stuff
3292 (do_writeFile): new func, dont call expliti close... will this
3295 * Makefile.am (lyx_LDADD): add -lz
3297 2003-07-28 José Matos <jamatos@fep.up.pt>
3299 * buffer.C: increment file format.
3300 * paragraph_funcs (readParagraph, readParToken):
3301 * paragraph.C (readParagraph): add \end_layout.
3303 2003-07-27 Angus Leeming <leeming@lyx.org>
3305 * Makefile.am: remove special casing for configure-time setting of
3306 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3308 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3309 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3311 2003-07-26 André Pönitz <poenitz@gmx.net>
3313 * paragraph_func.[Ch]:
3314 * paragraph.C (realizeFont): inline it whereever it is used
3319 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3322 2003-07-26 André Pönitz <poenitz@gmx.net>
3326 * text2.C: get rid of LyXText::need_break_row
3328 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * toc.[Ch]: put namespace toc inside namespace lyx
3332 * MenuBackend.C (expandToc2): adjust for lyx::toc
3335 * lyxfunc.C (dispatch): adjust for lyx::find
3337 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3338 lyx::find instead. Reorganize a bit.
3339 (LyXReplace): rename to replace
3340 (LyXFind): rename to find
3342 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3345 2003-07-26 André Pönitz <poenitz@gmx.net>
3347 * text.C (setHeightOfRow): restrict scope of temporary variable
3349 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3350 code (never has been used?)
3352 2003-07-27 Asger Alstrup <alstrup@local>
3354 * text.C (fill): Optimise algorithm to exploit that we can reuse
3355 the LyXFont for many characters.
3356 (setHeightOfRow): Same thing.
3357 (rowBreakPoint): Same thing.
3359 2003-07-26 Asger Alstrup <alstrup@local>
3361 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3363 * text.C (singleWidth): Spurious font copying in hot-spot
3364 singleWidth avoided. Reorder tests for arabic for efficiency.
3366 * text.C (fill): handle empty paragraphs better.
3368 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3371 * encoding.h: add includes
3373 * lyxrc.C: remove reading of bind files
3375 * lyx_main.C (init): setup bindings and menus only if we have a
3378 * kbmap.C (read): new method. Do the actual reading of bind
3381 * converter.C (dvipdfm_options):
3384 (output): adapt PAPER_* enums.
3386 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3388 * bufferparams.h: remove paper-related enums from there
3390 * paper.h: New file. A trivial header file to hold paper-related
3391 enums. It should later expand to contain many paper-related
3394 * lyxrc.C: declare extern displayTranslator
3396 2003-07-27 José Matos <jamatos@fep.up.pt>
3398 * tabular.[Ch] (linuxdoc): add support for tables and figures
3401 2003-07-27 José Matos <jamatos@fep.up.pt>
3403 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3404 consistency in both functions.
3405 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3407 2003-07-26 Asger Alstrup <alstrup@local>
3409 * rowpainter.C (paintRows): Change algorithm to work directly on
3410 the insets rather than asking every character in the document
3411 whether its an inset.
3413 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3415 * buffer.C (openFileWrite): factorize some code
3417 2003-07-26 Angus Leeming <leeming@lyx.org>
3420 * lyx_main.[Ch]: replace occurances of system_tempdir with
3423 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * rename Inset to InsetOld
3427 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3429 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3430 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3431 which I think is a bit clearer. EDIT is gone, since it was
3432 premature optimisation, and broken for mathed anyway.
3433 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3434 with cursor positioning in insets as well (math insets still do not
3435 work, but that's a different story anyway.) It mysteriously
3436 crashes sometimes with undo in the first paragraph, but I'm fairly
3437 confident that this is a compiler bug.
3439 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * paragraph.C (Paragraph): adjust for new clone return type
3443 (copyIntoMinibuffer): ditto
3445 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3447 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3448 by not having a special case, and always doing a full rebreak of
3449 the document after undo.
3451 2003-07-23 Angus Leeming <leeming@lyx.org>
3453 * factory.C (createInset): InsetExternal::setParams now takes a
3456 2003-07-23 Angus Leeming <leeming@lyx.org>
3458 * factory.C (createInset): changed interface to the external and
3459 graphics mailers' string2params functions.
3461 2003-07-23 Angus Leeming <leeming@lyx.org>
3463 * factory.C (createInset): pass a
3464 Buffer const * parameter to InsetExternalMailer's string2params.
3466 2003-07-22 John Levon <levon@movementarian.org>
3468 * Thesaurus.h: include the right aiksaurus header
3470 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3472 * MenuBackend.C (expand): check menu shortcuts unconditionally
3474 2003-07-21 Angus Leeming <leeming@lyx.org>
3476 * factory.C (createInset): pass a
3477 buffer_path parameter to InsetGraphicsMailer's string2params.
3479 2003-07-21 Angus Leeming <leeming@lyx.org>
3481 * BufferView_pimpl.C (buffer):
3484 * lyxfunc.C (dispatch):
3485 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3486 rather than the grfx shortcut.
3488 2003-07-21 André Pönitz <poenitz@gmx.net>
3490 * rowpainter.C: remove unused variables
3493 * tabular_funcs.h: move to tabular.C
3494 * Makefile.am: adjust
3496 * tabular.[Ch]: basic optical cleaning
3498 * author.h: pass references, not values
3500 2003-07-18 André Pönitz <poenitz@gmx.net>
3508 * text3.C: two-phase drawing for InsetText and InsetTabular
3509 some float -> int changes.
3511 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3513 * lyx_main.C: fix the fix
3515 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3517 * lyx_main.C: fix a crash in batch mode if no files specified
3520 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3522 * format.[Ch] (papersize): moved to BufferParams
3523 * converter.[Ch] (dvips_options): moved to BufferParams
3524 (dvipdfm_options): moved to anon namespace
3525 * bufferparams.[Ch]: added above functions.
3527 2003-07-17 André Pönitz <poenitz@gmx.net>
3531 * text2.C: don't call inset->update() anymore
3533 * metricsinfo.[Ch]: add convenience constructor
3535 2003-07-16 André Pönitz <poenitz@gmx.net>
3540 * text2.C: replace the LyXCursor::irow_ member with
3541 on-demand computation of the value
3543 2003-07-16 John Levon <levon@movementarian.org>
3545 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3547 2003-07-15 André Pönitz <poenitz@gmx.net>
3550 * text2.C: remove no more needed refresh_row
3552 2003-07-15 André Pönitz <poenitz@gmx.net>
3557 * text3.C: refresh_status tristate -> need_update bool
3559 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3561 * lyxtext.h (init): remove reinit argument (act as if always true)
3562 * text2.C: adjust to that
3564 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3566 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3567 * text3.C: use it to delete selections in some cases
3568 (bugs 441, 673, 702, 954).
3570 2003-07-14 André Pönitz <poenitz@gmx.net>
3572 * rowpainter.[Ch]: reduce interface
3574 2003-07-14 André Pönitz <poenitz@gmx.net>
3576 * BufferView_pimpl.C:
3577 * text2.C: adjust after removing unused BufferView * argument
3579 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3581 * text2.C (init): fix a crash fired on resize
3583 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3585 * buffer.[Ch]: added new closing signal
3586 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3587 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3588 BufferView::Pimpl via the closing the signal
3590 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3592 * buffer.[Ch]: take out all bv-related from buffer
3594 * BufferView_pimpl.[Ch]: connect to new signals
3595 * CutAndPaste.C: removed useless asserts
3596 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3599 * lyxfunc.C: moved view-related funciontality from vc here
3600 * paragraph.C: removed outdated comments
3603 2003-07-10 André Pönitz <poenitz@gmx.net>
3605 * BufferView_pimpl.C:
3609 * text2.C: remove InsetText::InnerCache, clean up consequences
3611 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3613 * ispell.C: fix two typos in error messages
3615 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3617 * Extend Note inset to other forms of annotation like Comment
3618 and Greyedout. Right button click gives dialog.
3620 Files modified or added (+):
3624 * ControlNote.[Ch] +
3626 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3627 frontends/controllers
3631 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3633 * aspell.C: add missing namespace lyx::support
3635 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3637 * BufferView.[Ch] (newFile): Add
3638 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3639 * LaTeX.[Ch] (message): added this signal and use it
3640 * buffer.[Ch] (busy, message): added these signals and use them
3641 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3645 * importer.C: use buffer signals instead of direct bv calling
3646 * lyx_cb.[Ch] (ShowMessage): removed
3649 * paragraph_funcs.C:
3650 * text2.C: use buffer signals
3652 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * introduce namespace lyx::graphics
3656 2003-07-02 André Pönitz <poenitz@gmx.net>
3658 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3660 2003-07-01 André Pönitz <poenitz@gmx.net>
3667 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3668 text*.C to text_func.C
3670 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * introduce namespace lyx::support
3674 2003-06-30 André Pönitz <poenitz@gmx.net>
3679 * text.C: re-enable --with-included-string
3681 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * textcursor.C: add <config.h>
3685 * text.C (getWord): remove const from word_location arg
3687 * lyxvc.C (getLogFile): fix const type order
3689 * lyxtext.h: remove const from word_location arg, add arg name
3691 * lyxlayout.h: currect type on labeltype.
3693 * importer.C: correct \file
3695 * converter.C (intToFormat): use std:: on ret val, ws changes
3697 * bufferlist.h: correct \file
3699 * buffer.C (makeLinuxDocFile): fix const type order
3700 (makeDocBookFile): ditto
3701 (fillWithBibKeys): use std:: on stdlib args.
3703 * CutAndPaste.C: fix authors.
3704 (availableSelections): use std:: on return vector
3706 2003-06-27 André Pönitz <poenitz@gmx.net>
3708 * BufferView_pimpl.C:
3709 * bufferview_funcs.C:
3717 * text3.C: remove LyXCursor::row_ member
3720 * text.C: rename fullRebreak() to partialRebreak() and implement
3721 a fullRebreak() that really bereks fully
3723 * textcursor.h: new struct for cursor-related data
3725 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3727 * lyx_main.C (LyX): get full path of document loaded on the
3730 2003-06-26 André Pönitz <poenitz@gmx.net>
3732 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3733 remove unused/broken operator>,<,>=.
3735 * text.C: remove only use of broken operator<= in an Assert().
3737 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3739 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3740 moved errorlist_.clear to showErrorList
3742 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3744 * converter.C (scanLog, runLaTeX):
3745 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3746 move the bv->showErrorList call to the callers
3747 * lyxfunc.C: i.e. here...
3749 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3750 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3751 namespace, the second to...
3752 * buffer_funcs (BufferFormat, parseErrors): added
3753 * errorlist.C (ErrorList(TeXErrors const &)): removed
3755 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3757 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3759 2003-06-24 "Garst R. Reese" <reese@isn.net>
3763 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3765 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3767 * version.C.in: change docversion to 1.4
3769 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3771 * buffer.C: fix a bug just introduced
3773 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3775 * buffer.[Ch]: added the parseError signal and use it, removed
3777 * BufferView.[Ch] (addError): moved to ...
3778 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3779 to the Buffer::parseError signal to catch (guess what) parse errors
3780 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3782 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3784 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3785 ability to create a buffer and to return an existing one from
3786 the list. Moved these functions to...
3787 * buffer_funcs.[Ch]: added
3788 * BufferView.[Ch] (loadLyXFile): added
3789 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3790 job removed from bufferlist::loadLyXFile.
3791 * buffer.C (setReadOnly): make it work without view
3792 (i.e added an if (users))
3794 2003-06-19 Angus Leeming <leeming@lyx.org>
3797 * LyXAction.C (init):
3798 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3799 with LFUN_DIALOG_SHOW <name> <data>.
3801 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3803 * CutAndPaste.C (availableSelections): small compilation fix for
3804 ancient (gcc 2.9x) compilers
3806 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * text3.C (cursorNext): add tmp var
3810 * text2.C (updateCounters): for function calling out of for clause
3811 (replaceSelectionWithString): ditto
3812 (insertStringAsParagraphs): ditto
3813 (getColumnNearX): add tmp var
3814 (setCursorFromCoordinates): add tmp var
3815 (cursorDownParagraph): add tmp var
3816 (deleteEmptyParagraphMechanism): add tmp var
3818 * text.C (insertChar): add tmp var
3820 * rowpainter.C (paintDepthBar): add tmp var
3822 * CutAndPaste.C (availableSelections): potentially check all
3823 paragraphs in a cut to fill the shown strings.
3825 2003-06-18 André Pönitz <poenitz@gmx.net>
3827 * kbmap.[Ch]: use vector<> instead of list<>
3829 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3831 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3832 pasteSelection with index
3834 * text2.C (pasteSelection): modify, call pasteSelection with index
3836 * paragraph.C (asString): reimplement version with no interval to
3837 call the one with interval.
3839 * lyxtext.h: add index arg to pasteSelection
3841 * MenuBackend.C (MenuItem): handle PasteRecent
3842 (Menu::read::Menutags): add md_pasterecent
3844 (expandPasteRecent): new function
3847 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3849 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3851 (availableSelections): new function
3853 2003-06-17 Angus Leeming <leeming@lyx.org>
3855 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3857 2003-06-17 Angus Leeming <leeming@lyx.org>
3860 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3862 * lyxfunc.C (dispatch): invoke it.
3864 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3866 * iterators.C (operator++, ParPosition): reintroduce some
3867 const_cast for the benefit of older compilers.
3869 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3871 * text3.C (dispatch): do not modify clipboard when doing
3872 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3873 LFUN_DELETE_SKIP on a selection selection
3875 2003-06-16 André Pönitz <poenitz@gmx.net>
3881 * tabular.[Ch]: IU of clone() and getLabelList();
3883 2003-06-13 André Pönitz <poenitz@gmx.net>
3885 * tabular.h: compactification
3887 2003-06-12 André Pönitz <poenitz@gmx.net>
3891 * tabular_funcs.h: some renaming plus whitespace
3893 2003-06-12 André Pönitz <poenitz@gmx.net>
3896 * BufferView_pimpl.C:
3902 * toc.C: Return a Paragraph & for ParIterator::operator*()
3904 2003-06-11 John Levon <levon@movementarian.org>
3908 * ToolbarBackend.C: add "Toolbars" section and
3911 2003-06-10 Angus Leeming <leeming@lyx.org>
3914 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3916 * lyxfunc.C (dispatch): invoke it.
3918 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * main.C: protect <ios> with HAVE_IOS
3921 (main): protect sync_with_stdio with HAVE_IOS
3923 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3925 * text2.C (cutSelection): adjust
3926 (pasteSelection): adjust
3928 * messages.C: handle get of empty string
3930 * main.C (main): use sync_with_stdio(false)
3932 * lyxfunc.C (dispatch): adjust
3934 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3935 (WriteAs): remove unneeded BufferView arg.
3937 * bufferparams.h: use correct types on papersize, papersize2 and
3940 * bufferparams.C (readToken): adjust for type
3941 (writeLaTeX): add missing cases to switch.
3943 * bufferlist.C (quitWriteBuffer): adjust
3946 * buffer.C (asciiParagraph): remove some commented code.
3948 * CutAndPaste.C: remove current_view extern variable.
3949 (cutSelection): add BufferParams arg.
3950 (eraseSelection): add BufferParams arg.
3951 (pasteSelection): add Buffer const & arg
3953 2003-06-07 John Levon <levon@movementarian.org>
3956 * paragraph_funcs.C:
3957 * paragraph_pimpl.C:
3961 * paragraph.C: allow InsetERT to freely space lines,
3962 and some consolidation of code
3964 2003-06-06 José Matos <jamatos@fep.up.pt>
3966 * buffer.C (makeDocBookFile): fix bug #821
3968 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3970 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3972 2003-06-04 Angus Leeming <leeming@lyx.org>
3974 * buffer.C: bump format to 224.
3976 2003-06-05 André Pönitz <poenitz@gmx.net>
3978 * text2.C (redoParagraphs): remove two const_cast<>
3980 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3982 * ParagraphList.h: remove last remnants of NO_STD_LIST
3984 2003-06-03 Angus Leeming <leeming@lyx.org>
3986 * factory.C (createInset): small change to the way InsetExternal's params
3989 2003-06-04 André Pönitz <poenitz@gmx.net>
3991 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3993 * paragraph_pimpl.h:
3994 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3996 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3998 * undo_funcs.C: make some simple cases of undo work again
4000 2003-06-03 John Levon <levon@movementarian.org>
4002 * ispell.C: HPUX doesn't have sys/select.h
4005 2003-06-03 John Levon <levon@movementarian.org>
4007 * CutAndPaste.C: update tabular and include inset
4012 * paragraph.C: remove owningBuffer(), don't pass Buffer
4015 * factory.C: insetGraphicsParams changed
4017 2003-06-02 John Levon <levon@movementarian.org>
4023 * text3.C: remove insetparent
4025 2003-06-02 John Levon <levon@movementarian.org>
4028 * buffer.C: fix inset_iterator.end(), move out of line
4031 2003-06-01 John Levon <levon@movementarian.org>
4033 * text3.C: use a proper cut/paste when doing inset
4034 insert (from Jürgen Spitzmüller)
4036 2003-06-01 John Levon <levon@movementarian.org>
4038 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4040 2003-05-30 André Pönitz <poenitz@gmx.net>
4042 * rowpainter.C: unify second drawing phase
4044 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * trans_mgr.C: remove one case of current_view
4048 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4050 * paragraph_funcs.h: remove paragraph.h include
4052 * paragraph.h: delete NO_STD_LIST stuff
4054 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4056 * buffer.h: remove paragraph.h include
4058 * ParagraphList.C: delete file
4060 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4062 * toc.C (getTocList): adjust
4064 * paragraph_pimpl.C (validate): adjust
4066 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4068 * paragraph.C (Paragraph): adjust
4069 (getPositionOfInset): use const_iterator, adjust
4070 (bibitem): use const_iterator, adjust
4071 (setInsetOwner): adjust
4073 * iterators.C (operator++): adjust
4075 * InsetList.[Ch]: Replace selfmade iterator with standard
4076 vector::iterator also introduce const_iterator. Remove getPos,
4077 getInset and setInset from InsetTable. Adjust accordingly.
4079 * BufferView.C (lockInset): adjust
4080 (ChangeInsets): adjust
4082 * tabular.[Ch]: delete commented same_id functions
4084 2003-05-28 John Levon <levon@movementarian.org>
4086 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4088 2003-05-28 André Pönitz <poenitz@gmx.net>
4090 * metricsinfo.[Ch]: remove 'fullredraw' member
4092 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4094 * lyxtextclass.C (operator): remove caching.
4096 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * text2.C (cursorBottom): adjust
4101 (setCounter): use ParagraphList::find, adjust
4103 * text.C (workWidth): use ParagraphList::find, adjust
4105 * lyxcursor.C (LyXCursor): adjust
4107 * buffer.C (inset_iterator): adjust
4109 * ParagraphList.h: make iterator(value_type) private, make
4110 ParagraphList a friend of iterator.
4112 * ParagraphList.C (find): new function
4114 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4116 2003-05-27 André Pönitz <poenitz@gmx.net>
4118 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4120 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4122 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4124 2003-05-26 John Levon <levon@movementarian.org>
4126 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4128 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * remove same_id from function signatures, adjust.
4132 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4136 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4138 * paragraph.C (Paragraph): get rid of same_ids parameter
4140 * ParagraphList.C (insert): adjust
4143 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * paragraph_funcs.C (breakParagraph): adjust
4146 (breakParagraphConservative): adjust
4148 * buffer.C (readParagraph): adjust
4150 * ParagraphList.C (insert): take a reference instead of a pointer
4153 * paragraph.[Ch] (id): new function
4155 * bufferlist.C (newFile): adjust
4157 * ParagraphList.C (ParagraphList): adjust
4159 (push_back): take a reference instead of a pointer.
4161 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4163 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4166 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4167 set else use old code.
4169 * ParagraphList.C: remove all NO_NEXT code and only compile this
4170 code of NO_STD_LIST is set.
4172 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4174 * BufferView_pimpl.C:
4184 * graphics/GraphicsConverter.C:
4185 * graphics/PreviewLoader.C: header adjustment
4187 2003-05-23 Angus Leeming <leeming@lyx.org>
4189 * LaTeXFeatures.[Ch] (useBabel): new method.
4190 * bufferparams.C (writeLaTeX): use it.
4192 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * ParagraphList.h (set): remove unused function.
4196 2003-05-23 André Pönitz <poenitz@gmx.net>
4199 * BufferView_pimpl.C:
4203 * undo_funcs.C: setUndo reworked
4205 * iterators.[Ch]: add access to topmost ParagraphList
4207 * lyxtext.[Ch] (workWidth): add a const
4209 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4211 * texrow.[Ch] (increasePos): remove function
4212 * exporter.C (export): removed unused var and outdated comment
4214 2003-05-23 Angus Leeming <leeming@lyx.org>
4216 * latexrunparams.h: rename fragile as moving_arg.
4217 * paragraph.C (simpleTeXOnePar): ditto.
4218 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4220 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4224 (textUndoOrRedo): comment out a currently unused var.
4226 * paragraph.h (NO_NEXT): enable NO_NEXT
4228 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4230 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4232 * exporter.C (Export): adjust for removeAutoInsets removal.
4234 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4236 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4238 * BufferView.[Ch] (removeAutoInsets): delete function
4240 2003-05-22 Angus Leeming <leeming@lyx.org>
4242 * latexrunparams.h: add a free_spacing variable.
4244 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4245 to pass moving_arg, as the data is stored in runparams.fragile.
4247 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4248 to Inset::latexOptional or to simpleTeXOnePar.
4250 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4251 free_spacing arg to Inset::latexOptional.
4253 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4256 2003-05-22 Angus Leeming <leeming@lyx.org>
4258 * latexrunparams.h: add fragile and use_babel variables.
4260 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4261 * buffer.C (makeLaTeXFile): store this returned value in
4262 runparams.use_babel, thus passing it to the inset::latex methods.
4264 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4265 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4267 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4268 longer has a fragile arg, as it is stored in runparams.fragile.
4270 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4271 moving_arg parameter as the data is stored in runparams.fragile.
4273 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4274 a fragile parameter as the data is stored in runparams.fragile.
4276 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4280 2003-05-22 Angus Leeming <leeming@lyx.org>
4282 * latexrunparams.h: add a 'bool nice' which defaults to false.
4284 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4285 now encapsulated within runparams.
4287 * bufferlist.C (updateIncludedTeXfiles):
4288 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4290 2003-05-22 Angus Leeming <leeming@lyx.org>
4292 * latexrunparams.h: new file containing struct LatexRunParams.
4293 * Makefile.am: add new file.
4295 * LaTeX.[Ch] (c-tor, run):
4296 * buffer.[Ch] (makeLaTeXFile):
4297 * bufferlist.[Ch] (updateIncludedTeXfiles):
4298 * converter.C (convert, scanLog):
4299 * converter.[Ch] (runLaTeX):
4300 * exporter.C (Export):
4301 * paragraph.[Ch] (simpleTeXOnePar):
4302 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4303 * paragraph_funcs.[Ch] (latexParagraphs):
4304 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4305 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4306 pass around a LatexRunParams parameter.
4308 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * paragraph.[Ch]: remove unused constructor
4312 * ParagraphList.C (erase): new function, taking two iterators
4314 2003-05-22 André Pönitz <poenitz@gmx.net>
4316 * undo_funcs.C: remove duplicated code
4318 * iterator.[Ch]: operator=
4320 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * tabular.C (SetMultiColumn): ws changes
4324 * rowpainter.C (paintFirst): get rid of a ->previous
4326 * lyx_cb.C (getPossibleLabel): parlist simplification
4328 * BufferView.C (ChangeInsets): simplify slightly.
4330 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4332 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4333 * lfuns.h: new LFUN_SPACE
4334 * lyxfunc.C: protected space has a new lfun
4335 * paragraph_funcs.C: read new space insets
4337 * factory.C: handle new space insets
4339 2003-05-22 André Pönitz <poenitz@gmx.net>
4342 * BufferView_pimpl.C:
4345 * undo_funcs.C: return a ParIterator from getParFromID.
4347 * iterators.[Ch]: add two const's
4349 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * toc.C (getTocList): adjust
4353 * iterators.[Ch]: rework for parlist
4355 * buffer.C (par_iterator_begin): adjust
4356 (par_iterator_end): adjust
4358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4360 * BufferView.C (removeAutoInsets): adjust
4361 (ChangeInsets): adjust
4363 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4365 * text.C (top_y): fix bug 1110
4367 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4369 * errorlist.[Ch]: added
4372 * BufferView_pimpl.C:
4373 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4376 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * Makefile.am: ensure that lyx is relinked upon changes to the
4379 various "convenience" libs.
4381 2003-05-20 Angus Leeming <leeming@lyx.org>
4383 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4384 files are compiled in alphabetical order again.
4386 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4388 2003-05-19 Angus Leeming <leeming@lyx.org>
4390 * gettext.[Ch]: remove "char const * _(char const *)".
4392 2003-05-19 André Pönitz <poenitz@gmx.net>
4394 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4403 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4405 2003-05-19 André Pönitz <poenitz@gmx.net>
4409 * lyxtextclass.[Ch]:
4411 * paragraph_funcs.[Ch]:
4413 * text3.C: more insetenv work
4415 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4417 * ParagraphParameters.C (params2string): small bug fixed
4419 2003-05-16 André Pönitz <poenitz@gmx.net>
4422 * bufferview_funcs.C: patch from Kornel Benko to prevent
4423 crash when _(...) is called twice in a statement
4425 2003-05-16 André Pönitz <poenitz@gmx.net>
4432 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4434 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4436 * lyx_main.C (init): remove spurious static_cast
4438 2003-05-14 André Pönitz <poenitz@gmx.net>
4440 * BufferView.C: fix format string
4442 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4444 * BufferView.[Ch] (insertErrors): removed
4445 * BufferView.[Ch] (showErrorList): added
4446 * buffer.C (runChkTeX):
4447 * converter.C (scanLog): call showErrorList instead of inserterrors
4449 2003-05-13 André Pönitz <poenitz@gmx.net>
4451 * BufferView_pimpl.C:
4453 * bufferview_func.C:
4460 * tabular_funcs.h: tostr() from its own header
4462 * ParagraphParameters.C:
4467 * text3.C: STRCONV()
4469 2003-05-12 André Pönitz <poenitz@gmx.net>
4472 * BufferView_pimpl.C:
4476 * ParagraphParameters.C:
4480 * bufferview_funcs.C:
4493 * paragraph_funcs.C:
4497 * text3.C: boost::format -> bformat all over the place
4500 2003-05-09 André Pönitz <poenitz@gmx.net>
4502 * LColor.[Ch]: Pimpl the #include <map> away
4504 2003-05-09 John Levon <levon@movementarian.org>
4506 * bufferlist.C: never remove emergency saves
4508 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * Makefile.am: better lib building
4512 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4516 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4517 (simpleTeXSpecialChars): adjust
4518 (simpleTeXSpecialChars): adjust
4519 * paragraph.C (simpleTeXOnePar): adjust
4520 * buffer.C (makeLaTeXFile): adjust
4522 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4524 * text2.C (changeDepth): parlist cleanup
4525 (getColumnNearX): ditto
4527 * rowpainter.C (getLabelFont): parlist cleanup
4529 * bufferlist.C (newFile): parlist cleanup
4531 * CutAndPaste.C (eraseSelection): parlist cleanup
4533 * BufferView_pimpl.C (trackChanges): parlist cleanup
4536 * BufferView.C (lockInset): parlist cleanup.
4537 (ChangeInsets): ditto
4539 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * CutAndPaste.h: Update file header.
4543 * CutAndPaste.C: Update file header.
4544 Store the parts cut out of the Document in a limited_stack.
4545 (copySelection): adjust
4546 (pasteSelection): new function, takes the index in the limited stack.
4547 (nrOfParagraphs): adjust
4548 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4549 simplify error inset insertion.
4550 (checkPastePossible): adjust
4552 2003-05-06 John Levon <levon@movementarian.org>
4554 * text2.C: don't cast wrap inset to float
4556 2003-05-05 André Pönitz <poenitz@gmx.net>
4559 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4561 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4562 few naked Paragraph *.
4564 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4566 * bufferparams.C: Output warning if a document with missing
4567 TeX document class is loaded
4568 * exporter.C: Disable TeX exports if the document class is missing
4571 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4572 isTeXClassAvailable()
4574 2003-05-03 John Levon <levon@movementarian.org>
4577 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4578 explicit cursor show/hide
4580 * BufferView_pimpl.h:
4581 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4582 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4584 * lyxfunc.C: hide cursor before dispatching.
4589 * text3.C: remove explicit cursor hides
4591 2003-05-02 André Pönitz <poenitz@gmx.net>
4593 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4596 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4599 * text2.C: tiny whitespace
4601 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * undo_funcs.C: almost only ws changes.
4605 * ParagraphList.C (splice): just return if pl is empty.
4607 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * ParagraphList.C (splice): new function.
4611 * CutAndPaste.C (pasteSelection): use it
4613 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * CutAndPaste.C (pasteSelection): remove the last next and
4616 previous from this file.
4618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * CutAndPaste.C (pasteSelection): more clean up, user proper
4621 ParagraphList functions for pasteing.
4623 * ParagraphList.C (insert): new function, three arg insert
4625 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * ParagraphList.C (insert): new function, three arg insert
4629 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4632 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4636 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4640 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4643 (copySelection): clean up a bit.
4644 (pasteSelection): use make_pair
4646 * ParagraphList.C (ParagraphList): implement copy constructor
4647 (operator=): implement, base on copy constructor.
4650 * paragraph.C (erase): return a bool
4652 * paragraph_pimpl.C (erasePos): remove function, move contents...
4653 (erase): ... here. Return a bool.
4654 (erase): call erase instead of erasePos.
4656 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4658 * ParagraphList.h: define PitPosPair
4659 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4660 ParagraphList, fix a bug on pasting multiple pars
4661 * text2.C: change interface to C&P
4663 2003-04-30 André Pönitz <poenitz@gmx.net>
4665 * undo_func.C: revert part of yesterday's patch 2
4667 2003-04-30 John Levon <levon@movementarian.org>
4669 * LColor.C: s/tabular/table/
4671 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * text3.C (dispatch): do not convert iterator -> pointer
4674 * undo_funcs.C (setCursorParUndo): ditto
4675 * text_funcs.C (transposeChars): ditto
4677 * text2.C (setLayout): ws changes only
4679 * text.C (breakParagraph): do not convert iterator -> pointer
4681 (acceptChange): ditto
4682 (rejectChange): ditto
4687 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4690 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4692 * text3.C (gotoInset): YABG (yet another bad getChar)
4694 2003-04-29 André Pönitz <poenitz@gmx.net>
4696 * paragraph.h: make operator= private unimplemented as long as
4699 * ParagraphList.C: whitespace
4702 * paragraph_pimpl.[Ch]:
4703 * paragraph_funcs.C:
4705 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4708 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4710 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4712 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4713 * paragraph.[Ch] (erase):
4714 * paragraph_pimpl.[Ch] (erase): change return type and value
4715 * text2.C (cutSelection): some rework
4717 2003-04-28 John Levon <levon@movementarian.org>
4719 * bufferlist.C: changes for unsaved changes dialog
4721 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * bufferlist.C (newFile): set language (messages_) for new
4726 * buffer.C (readFile): ws changes only.
4728 2003-04-28 André Pönitz <poenitz@gmx.net>
4733 * BufferView_pimpl.C:
4734 * BufferView.C: getParFromID related ParagraphList::iterator changes
4736 2003-04-28 André Pönitz <poenitz@gmx.net>
4738 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4741 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * messages.C: remove one more localedir class variable.
4745 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * messages.C (getLocaleDir): singleton generation function
4749 (Messages): add a default constructor.
4751 * main.C (main): do not setup localedir here, do not call
4754 * gettext.C (_): use it.
4755 (gettext_init): delete funciton
4757 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4759 * gettext.C (getLyXMessages): new singleton generating function.
4761 * buffer.C (updateDocLang): adjust
4763 * Makefile.am (messages.o): add target
4764 (main.o): remove target
4766 2003-04-27 John Levon <levon@movementarian.org>
4771 * lyxvc.C: specify cancel button in Alert::prompt
4773 2003-04-26 John Levon <levon@movementarian.org>
4778 * LyXAction.C: add LFUN_INSET_SETTINGS
4780 * lyxfunc.C: don't enable tabular-feature when there's
4781 just any locking inset
4783 2003-04-26 John Levon <levon@movementarian.org>
4785 * bufferlist.C: re-add Cancel to buffer close question
4787 * lyxfunc.C: fix import UI a bit
4789 2003-04-25 John Levon <levon@movementarian.org>
4791 * gettext.C: remove the broken asserts for now
4793 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * messages.C: make case where setlocale cannot comply work better.
4797 * buffer.C (updateDocLang): new function
4798 (changeLanguage): use it
4801 * text2.C (setCounter): use B_ a bit.
4803 * lyxlayout.C (Read): be sure to trim the label strings.
4805 * messages.C (Messages): fix typo in comment
4807 * buffer.C (readFile): set message_ after file is loaded.
4808 (makeDocBookFile): remove double return
4809 (changeLanguage): reset message_ upon language change.
4810 (B_): new func, use this to get translated buffer strings.
4812 * main.C: add myself and Jean Marc as authors.
4814 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * messages.[hC]: pimplify Messages, and three different pimpls to be
4817 used in different circumstances.
4819 * gettext.[Ch]: change for use with new message code.
4821 2003-04-24 André Pönitz <poenitz@gmx.net>
4823 * factory.C: support for eqref
4825 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * messages.[Ch]: add missing char
4829 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4831 * messages.[Ch]: New files
4833 2003-04-18 John Levon <levon@movementarian.org>
4837 * BufferView_pimpl.C:
4841 * text2.C: remove layout-copy/paste (bug 778)
4843 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4845 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4847 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4849 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4850 if they succeed. Act accordingly.
4852 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * text2.C (setCharFont): adjust
4855 (setCounter): adjust
4856 (insertStringAsLines): adjust
4858 * text.C (leftMargin): adjust
4859 (setHeightOfRow): adjust
4861 * rowpainter.C (paintFirst): adjust
4864 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4866 (isFirstInSequence): ditto
4867 (getEndLabel): ditto
4870 * paragraph.C (getParLanguage): comment out some hard stuff.
4872 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4874 (simpleDocBookOnePar): ditto
4875 (makeDocBookFile): use ParagraphList::iterator
4877 * CutAndPaste.C (pasteSelection): adjust
4879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * text2.C (getFont): adjust
4882 (getLayoutFont): adjust
4883 (getLabelFont): adjust
4885 * paragraph_funcs.C (TeXOnePar): adjust
4887 * buffer.C (simpleLinuxDocOnePar): adjust
4888 (simpleDocBookOnePar): adjust
4890 * CutAndPaste.C (pasteSelection): adjust
4892 * BufferView.C (getEncoding): adjust
4894 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4896 2003-04-16 John Levon <levon@movementarian.org>
4898 * lyxfind.C: use parlist stuff for search/changes
4900 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4904 * text2.C (deleteEmptyParagraphMechanism): adjust
4906 * text2.[Ch] (ownerParagraph): delete func (both of them
4908 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4910 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * ParagraphList.C: prepare for NO_NEXT
4916 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * text2.C (getFont): adjust
4919 (getLayoutFont): adjust
4920 (getLabelFont): adjust
4922 * paragraph.C (getFont): adjust
4923 (getLabelFont): adjust
4924 (getLayoutFont): adjust
4926 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4928 2003-04-15 John Levon <levon@movementarian.org>
4932 * lyx_main.C: handle Include in .ui files
4934 2003-04-15 John Levon <levon@movementarian.org>
4936 * MenuBackend.C: make the doc files length shorter
4939 * ToolbarBackend.C: handle toolbar placement flags,
4942 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4947 * paragraph_funcs.C (TeXOnePar): adjust
4949 * paragraph.C (getLabelFont): add outerfont arg, adjust
4950 (getLayoutFont): ditto
4951 (simpleTeXOnePar): adjust
4953 * paragraph_pimpl.C (realizeFont): delete func
4955 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4957 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4958 row argument, constify cur argument.
4960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * text2.C (getFont): adjust
4963 (getLayoutFont): adjust
4964 (getLabelFont): adjust
4966 * paragraph_funcs.C (TeXOnePar): adjust
4967 (outerFont): new func...
4968 (realizeFont): ...moved out from here, changed this to facilitate
4971 * paragraph.C (getFont): take outerfont as arg, adjust
4972 (simpleTeXOnePar): add outerfont arg, adjust
4974 * buffer.C (simpleLinuxDocOnePar): adjust
4975 (simpleDocBookOnePar): adjust
4977 * CutAndPaste.C (pasteSelection): adjust
4979 * BufferView.C (getEncoding): adjust
4981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * text2.C (setCharFont): adjust
4984 (setCounter): adjust
4986 * text.C (leftMargin): adjust
4987 (setHeightOfRow): adjust
4989 * rowpainter.C (paintFirst): adjust
4992 * paragraph_pimpl.C (realizeFont): adjust
4994 * paragraph.C (isFirstInSequence): move from here...
4995 * paragraph_funcs.C (isFirstInSequence): ...to here
4997 * paragraph.C (outerHook): move from here...
4998 * paragraph_funcs.C (outerHook): ...to here
5000 * paragraph.C (depthHook): move from here...
5001 * paragraph_funcs.C (depthHook): ...to here
5003 * paragraph.C (getEndLabel): move from here...
5004 * paragraph_funcs.C (getEndLabel): ...to here
5006 * text2.C (realizeFont): move from here...
5007 * paragraph_funcs.C (realizeFont): ...to here
5009 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5013 2003-04-14 Angus Leeming <leeming@lyx.org>
5015 * LColor.[Ch]: scrap LColor mathcursor.
5017 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * lyxlex.[Ch] (text): delete function
5020 * trans.C (Load): adjust
5021 * paragraph_funcs.C (readParToken): adjust
5023 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5026 vector<char> instead of a char[].
5028 * lyxlex_pimpl.C (getString): adjust
5030 (lex): use getString
5034 * lyxlex.C (text): use pimpl_->getString()
5038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5041 (makeFontEntriesLayoutSpecific): temp var for par.size()
5042 (setLayout): temp var for ownerParagraphs().end()
5043 (fullRebreak): temp var for rows().end()
5044 (selectionAsString): temp var for boost::next(startpit), realize
5045 that the while really is a regular for loop.
5046 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5047 setCursor in one place.
5048 (setParagraph): temp vr for ownerParagraphs().end()
5049 (updateCounters): make the while loop a for loop
5050 (cutSelection): temp var for ownerParagraphs().end()
5051 (updateInset): make the do {} while() a regular for loop
5052 (getCursorX): use temp vars
5053 (setCurrentFont): use temp vars
5054 (getColumnNearX): use temp vars
5056 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * text.C (transformChar): use temp var for getChar
5059 (computeBidiTables): use temp var for row->par()
5060 (fill): move temp vars for row->par() and pit->layout() earlier in
5062 (labelFill): use temp var for row->par()
5063 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5064 asc and desc, realize that pit never changes and that firstpit is
5065 just a duplicate and not needed. Exchange rit->par() with pit in a
5067 (breakAgain): use a temp var for boost::next(rit)
5068 (breakAgainOneRow): ditto
5069 (breakParagraph): use a temp var for rows().begin()
5070 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5071 (cursorRightOneWord): use temp var for cursor.par() and
5072 cursor.pos(), remove usage of tmpcursor.
5073 (cursorLeftOneWord): use temp var for cursor.par() and
5074 cursor.pos() only set cur at end of function.
5076 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * text.C, text2.C: exchange all usage of Paragraph::next with
5079 boost::next(ParagraphList::iterator)
5081 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5083 * text2.C (cursorTop): simplify implementation
5084 (cursorBottom): ditto
5085 (setParagraph): use ParagraphList::iterator
5086 (setCurrentFont): adjust
5087 (getColumnNearX): adjust
5088 (cursorRight): adjust
5089 (cursorLeft): remove usage of Paragraph::previous
5090 (cursorUpParagraph): ditto
5091 (deleteEmptyParagraphMechanism): slight cleanup
5093 * text.C (isBoundary): take a Paragraph const & instead of a
5095 (addressBreakPoint): ditto
5096 (leftMargin): remove usage of Paragraph::previous.
5097 (setHeightOfRow): ditto
5098 (cursorLeftOneWord): ditto
5099 (selectNextWordToSpellcheck): ditto
5102 (breakParagraph): remove one usage of Paragraph::next
5103 (redoParagraph): ditto
5104 (acceptChange): ditto
5105 (insertChar): adjust
5106 (rowBreakPoint): adjust
5108 * bufferview_funcs.C (toggleAndShow): adjust
5110 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5112 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5113 methods to access it.
5115 * text.C: Added updateRowPositions to compute all row positions.
5116 Make top_y and getRowNearY() to use the cached y position
5118 2003-04-11 John Levon <levon@movementarian.org>
5120 * text.C (rowBreakPoint): reintroduce the labelEnd
5121 checks, code copied from the row fill stuff. Deep voodoo.
5123 * text.C (fill): add a comment and debugging for the
5126 2003-04-11 John Levon <levon@movementarian.org>
5128 * text.C: make sure fullrow insets get wrapped to the next line,
5129 even when they're in a manual label
5131 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * text2.C (insertParagraph): make it take ParagraphList::iterator
5135 (setLayout): make it return ParagraphList::iterator
5136 (redoParagraphs): ditto
5138 (checkParagraph): ditto
5140 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5142 * text2.C: adjust several funcs.
5143 (realizeFont): take a ParagraphList::iterator as arg.
5144 (getLayoutFont): ditto
5145 (getLabelFont): ditto
5146 (setCharFont): ditto
5148 * text.C: adjust several funcs.
5150 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5152 * text.C (selectNextWordToSpellcheck): don't accidentally
5155 2003-04-10 John Levon <levon@movementarian.org>
5157 * ToolbarBackend.C (getIcon): special handling for
5160 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5162 * text2.C (cursorRight): a getChar assert fixed
5164 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * text2.C (getFont): change to take a ParagraphList::iterator
5167 instead of Paragraph*
5168 Adjust several functions.
5170 * text.C (transformChar): change to take a ParagraphList::iterator
5171 instead of Paragraph*
5172 (singleWidth): ditto
5173 Adjust several functions.
5175 * rowpainter.C: adjust several functions
5176 * rowpainter.h:store a ParagraphList::iterator and not a
5180 2003-04-09 John Levon <levon@movementarian.org>
5185 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5186 and the "help" bits as well
5188 2003-04-09 John Levon <levon@movementarian.org>
5191 * ToolbarBackend.C: allow multiple toolbars
5193 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * undo_funcs.C (setCursorParUndo): adjust
5197 * text_funcs.C (transposeChars): adjust
5199 * text3.C (gotoNextInset): adjust
5202 * text2.C (setLayout): adjust
5203 (changeDepth): adjust
5205 (redoParagraphs): adjust
5206 (selectionAsString): adjust
5207 (setParagraph): adjust
5208 (insertInset): adjust
5209 (cutSelection): adjust
5210 (copySelection): adjust
5211 (pasteSelection): adjust
5212 (insertStringAsLines): adjust
5213 (updateInset): adjust
5214 (setCursor): change to take a ParagraphList::iterator parameter
5215 (setCursorIntern): change to take a ParagraphList::iterator parameter
5216 (setCurrentFont): adjust
5217 (cursorLeft): adjust
5218 (cursorRight): adjust
5219 (deleteEmptyParagraphMechanism): adjust
5221 * text.C (breakParagraph): adjust
5222 (insertChar): adjust
5223 (acceptChange): adjust
5224 (rejectChange): adjust
5225 (selectNextWordToSpellcheck): adjust
5226 (changeCase): adjust
5230 * lyxfind.C (SearchForward): adjust
5231 (SearchBackward): adjust
5232 (nextChange): adjust
5234 * lyxcursor.C (par): adjust
5236 * lyxcursor.h: store a ParagraphList::iterator instead of a
5239 * lyx_cb.C (getPossibleLabel): adjust
5241 * bufferview_funcs.C (toggleAndShow): adjust
5243 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5246 * BufferView.C (removeAutoInsets): adjust
5247 (lockedInsetStoreUndo): adjust
5249 2003-04-09 John Levon <levon@movementarian.org>
5251 * ToolbarBackend.C: try icon without argument
5252 if with argument fails
5254 2003-04-08 John Levon <levon@movementarian.org>
5257 * ToolbarBackend.C: add getIcon(), handle tooltip,
5258 and change from "Icon" to "Item".
5260 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5262 * BufferView.C (lockInset): another bad getchar crunched
5264 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5266 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5269 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5271 * lyxfind.C (searchForward, searchBackwards): bug 782
5273 2003-04-07 John Levon <levon@movementarian.org>
5275 * paragraph.C: remove dead comment
5277 * text.C: remove troublesome depth-fiddling code
5278 in leftMargin() and rightMargin() (bug 1017)
5280 * text.C: fix breaking of rows in nested lists
5283 * text2.C (updateCounters): fix up depth values
5286 2003-04-07 John Levon <levon@movementarian.org>
5288 * BufferView_pimpl.C: clear message when doc finishes resizing,
5289 and after a mouse event
5291 * lyxfunc.C: clear message after exiting inset
5293 2003-04-07 John Levon <levon@movementarian.org>
5295 * bufferview_funcs.C: show math status not outside
5296 status in the statusbar
5298 2003-04-07 John Levon <levon@movementarian.org>
5300 * lyxfunc.C: note status changed after a depth change
5302 2003-04-04 Angus Leeming <leeming@lyx.org>
5304 * LaTeX.h: move AuxInfo operator==, != out of line.
5305 Remove LaTeX virtual destructor; nothing derives from it.
5306 Move operator()() out of public area and rename it startscript().
5307 Change protected for private.
5309 2003-04-04 Angus Leeming <leeming@lyx.org>
5312 * text2.C: remove unneeded #includes.
5314 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5316 * text2.C (dEPM): fix the heigth of the next row
5318 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5320 * text.C: squashed an invalid getChar requester + some ws changes
5322 2003-04-03 John Levon <levon@movementarian.org>
5324 * bufferview_funcs.h:
5325 * bufferview_funcs.C:
5328 * text2.C: make getStatus work for the env depth lfuns
5330 2003-04-03 John Levon <levon@movementarian.org>
5332 * bufferview_funcs.h:
5333 * bufferview_funcs.C:
5336 * text2.C: parlistize decDepth(), by merging it with incDepth()
5338 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * lyxrow.h: store a ParagraphList::iterator instead of a
5341 Paragraph* and adjust other class functions to suit.
5343 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5346 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5348 * text2.C (setCursor): do not anchor to cursor row for the time being
5350 2003-04-02 John Levon <levon@movementarian.org>
5357 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5359 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * paragraph.h: make ParagraphList and ParagraphList::iterator
5362 friends of Paragraph.
5364 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5366 * ParagraphList.C: Use the private next_ and previous_ from
5369 2003-04-01 John Levon <levon@movementarian.org>
5373 * Makefile.am: rename, remove defaults gunk
5376 * MenuBackend.C: remove defaults gunk
5379 * Languages.C: remove defaults gunk
5382 * lyx_main.C: error out if files couldn't be found.
5384 2003-04-02 John Levon <levon@movementarian.org>
5386 * text2.C: make incDepth() use parlist
5388 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * undo_funcs.C (firstUndoParagraph): adjust
5392 * text3.C (gotoInset): adjust
5393 (dispatch): adjust, and rewrite loop.
5395 * text2.C (init): adjust, and rewrite loop.
5396 (redoParagraphs): adjust
5397 (updateInset): adjust, and rewrite loop.
5398 (deleteEmptyParagraphMechanism): adjust
5400 * tabular.C (LyXTabular): adjust
5401 (SetMultiColumn): adjust
5404 * lyxtext.[Ch] (ownerParagraph): delete function
5405 (ownerParagraphs): new function returns a ParagraphList.
5407 * BufferView.C (removeAutoInsets): adjust
5408 (insertErrors): adjust
5409 (setCursorFromRow): adjust
5411 2003-04-01 Angus Leeming <leeming@lyx.org>
5413 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5416 2003-04-02 John Levon <levon@movementarian.org>
5422 * text_funcs.C: make transposeChars a free function
5424 * lyxrow_funcs.C: remove wrong comment
5426 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * rowpainter.C: adjust
5434 * lyxrow_funcs. [Ch]: new files
5436 * lyxrow.[Ch]: remove next and previous pointers
5437 (next,previous): remove accessor functions
5438 (isParEnd): move to lyxrow_funcs
5439 (lastPos): move to lyxrow_funcs
5440 (nextRowIsAllInset): move to lyxrow_funcs
5441 (lastPrintablePos): move to lyxrow_funcs
5442 (numberOfSeparators): move to lyxrow_funcs
5443 (numberOfHfills): move to lyxrow_funcs
5444 (numberOfLabelHfills): move to lyxrow_funcs
5445 (hfillExpansion): move to lyxrow_funcs
5449 * bufferview_funcs.C (toggleAndShow): adjust
5451 * RowList.h: Remove class RowList from file leave just a
5454 * RowList.C: delete file
5456 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5459 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * text3.C (cursorPrevious): adjust
5462 (cursorNext): adjust
5465 * text2.C (redoHeightOfParagraph): adjust
5466 (redoDrawingOfParagraph): adjust
5469 * text.C (breakParagraph): adjust
5470 (insertChar): adjust
5473 * rowpainter.C (RowPainter): adjust
5474 (leftMargin): simplify and adjust
5475 (most rowpainter functions): adjust.
5477 * rowpainter.h: store the row as RowList::iterator not as Row*
5479 * lyxcursor.C (row): taka RowList::iterator as arg
5482 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5485 2003-04-01 Angus Leeming <leeming@lyx.org>
5487 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5488 stuff like bool Bool.
5490 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5492 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5500 * lyxtext.h (rows): drop one version and leve a const variant that
5501 returns a RowList::iterator.
5503 2003-03-31 Angus Leeming <leeming@lyx.org>
5505 * text.C (fill): ensure that the signature is the same as that in the
5508 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * text2.C (redoParagraphs): adjust
5511 (updateCounters): adjust
5512 (checkParagraph): adjust
5513 (getColumnNearX): adjust and reformat a bit.
5515 * text.C (top_y): adjust
5517 (leftMargin): adjust
5518 (prepareToPrint): adjust
5520 (getRowNearY): adjust
5522 * lyxtext.h: make rowlist_ mutable.
5524 * RowList.h: add const_iterator
5525 * RowList.C: adjust for RowList::const_iterator.
5527 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5530 2003-03-31 John Levon <levon@movementarian.org>
5533 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5535 * lyx_main.C: set default fonts from using lyx_gui funcs
5537 * exporter.C: pdf_mode moved from lyxrc
5540 * lyxfunc.C: changes from above
5542 2003-03-31 John Levon <levon@movementarian.org>
5544 * lyx_main.C: fix to the last fix
5546 2003-03-31 John Levon <levon@movementarian.org>
5548 * bufferlist.C: "Load original" -> "Load Original"
5554 * format.C: more Alert cleanups
5556 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * text2.C (removeParagraph): make it take a RowList::iterator as
5560 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5561 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5563 * text.C (anchor_row): make it take a RowList::iterator as arg,
5565 (computeBidiTables): make it take a const reference to Row instead
5566 of Row pointer, adjust.
5567 (leftMargin): make it take a RowList::iterator as arg, adjust.
5568 (rowBreakPoint): adjust
5569 (breakAgainOneRow): make it take a RowList::iterator as arg,
5571 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5573 * bufferview_funcs.C (toggleAndShow): adjust
5575 2003-03-30 John Levon <levon@movementarian.org>
5579 * boost-inst.C: moved to support
5581 * several files: changes as a result
5583 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * text2.C (LyXText): adjust.
5587 (removeRow): make it take a RowList::iterator as arg, adjust.
5588 (fullRebreak): adjust
5589 (deleteEmptyParagraphMechanism): adjust
5590 (clearPaint): adjust
5593 * text.C (top_y): adjust
5594 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5595 (breakAgain): make it take a RowList::iterator as arg, adjust.
5596 (breakParagraph): adjust
5597 (insertChar): adjust
5600 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5601 need_break_row, and refresh_row.
5603 * text3.C (dispatch): adjust
5605 * text2.C (checkParagraph): adjust
5607 (setCursorFromCoordinates): adjust
5609 * text.C (top_y): adjust
5611 (getRow): make it return a RowList::iterator, adjust
5612 (getRowNearY): make it return a RowList::iterator, adjust
5614 * text2.C (init): adjust
5615 (insertRow): remove function
5616 (insertParagraph): adjust
5617 (redoParagraphs): adjust
5618 (fullRebreak): adjust
5619 (updateCounters): adjust
5621 * text.C (top_y): rewrite to use RowList iterators.
5623 (setHeightOfRow): rewrite to sue RowList iterators.
5624 (appendParagraph): adjust
5625 (breakAgain): adjust
5626 (breakAgainOneRow): adjust
5627 (breakParagraph): adjust
5629 (getRowNearY): adjust, and remove commented code.
5631 * lyxtext.h (firstRow): delete function
5632 (lastRow): delete function
5633 (rows): new function (const and non-const versions.)
5634 (insertRow): delete function
5636 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5638 2003-03-29 John Levon <levon@movementarian.org>
5640 * BufferView_pimpl.C: always update scrollbar top
5641 because pasting text when we're anchored could mean we
5642 miss an update altogether
5644 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * text2.C (init): use rowlist_.end() and not 0.
5647 (insertRow): change to take a RowList::iterator as arg, adjust
5649 (insertParagraph): change to take a RowList::iterator as arg,
5651 (redoParagraphs): remove some debug msgs.
5653 * text.C (appendParagraph): change to take a RowList::iterator
5654 arg, adjust for this.
5655 (breakAgain): add an assert
5656 (breakAgainOneRow): ditto
5658 2003-03-29 John Levon <levon@movementarian.org>
5660 * text2.C: do not clear selection after inc/decDepth
5663 2003-03-29 John Levon <levon@movementarian.org>
5666 * buffer.C: fix broken strerrors according to Lars
5668 2003-03-29 John Levon <levon@movementarian.org>
5670 * converters.C: more Alert cleanups
5672 2003-03-29 John Levon <levon@movementarian.org>
5674 * bufferview_funcs.C: remove pointless Alert
5676 * buffer.C: fix confusing error message when
5677 a template is chmoded 000
5679 2003-03-29 John Levon <levon@movementarian.org>
5683 * BufferView_pimpl.C: Alert fixes
5687 * tabular-old.C: remove unused table compat reading
5689 2003-03-29 John Levon <levon@movementarian.org>
5694 * lyx_cb.C: more Alert cleanups
5696 * lyxfunc.C: don't allow chktex if not latex document
5698 2003-03-29 John Levon <levon@movementarian.org>
5702 * buffer.C: warnings pushed down from support/,
5705 2003-03-29 John Levon <levon@movementarian.org>
5707 * lyxfunc.C: safety check for C-r (revert)
5709 2003-03-29 John Levon <levon@movementarian.org>
5712 * bufferlist.C: several UI fixes using Alert::prompt.
5713 Fix the pointless looping quit code. Fix stupid revert
5718 * lyx_cb.C: use Alert::prompt
5720 * lyx_main.C: remove a silly question
5722 * lyxfunc.C: remove a couple of silly questions,
5725 2003-03-28 John Levon <levon@movementarian.org>
5727 * text2.C: fix bug 974 (End on empty par)
5729 2003-03-28 John Levon <levon@movementarian.org>
5731 * BufferView_pimpl.C:
5733 * lfuns.h: remove do-nothing math greek lfuns
5735 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * lyxgluelength.h (isValidGlueLength): add default arg on
5738 parameter 2. Remove default arg from friend in class.
5740 * lyxlength.h (isValidLength): add default arg on parameter 2.
5741 Remove default arg from friend in class.
5743 * text2.C (LyXText): adjust, initialize refresh_row.
5747 (insertParagraph): adjst
5748 (redoParagraphs): adjust
5749 (fullRebreak): adjust
5750 (updateCounters): adjust
5751 (deleteEmptyParagraphMechanism): first attempt at fixing a
5754 * text.C (top_y): adjust
5755 (setHeightOfRow): adjust
5757 (getRowNearY): adjust
5759 * lyxtext.h: include RowList.h
5760 (~LyXText): not needed anymore, deleted.
5761 (firstRow): modify for RowList
5762 (lastRow): new function
5763 Delete firstrow and lastrow class variables, add a Rowlist
5764 rowlist_ class variable.
5766 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5769 * RowList.C (insert): fix case where it == begin().
5771 2003-03-26 Angus Leeming <leeming@lyx.org>
5773 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5774 the thesaurus dialog.
5776 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5780 * RowList.[Ch]: new files
5782 * ParagraphList.C (erase): handle the case where it == begin
5785 2003-03-25 John Levon <levon@movementarian.org>
5789 * aspell.C: add new aspell support
5792 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5795 2003-03-25 Angus Leeming <leeming@lyx.org>
5798 * LyXAction.C (init): new LFUN_INSET_INSERT.
5800 * BufferView_pimpl.C (dispatch): split out part of the
5801 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5803 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5806 2003-03-25 Angus Leeming <leeming@lyx.org>
5808 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5810 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5813 * text3.C: remove useless row->height(0)
5815 2003-03-25 John Levon <levon@movementarian.org>
5819 * text3.C: rename the refreshing stuff to better names
5821 2003-03-24 John Levon <levon@movementarian.org>
5823 * BufferView_pimpl.h:
5824 * BufferView_pimpl.C: update layout choice on a mouse
5827 2003-03-23 John Levon <levon@movementarian.org>
5829 * Makefile.am: fix commandtags.h reference
5831 2003-03-22 John Levon <levon@movementarian.org>
5833 * BufferView_pimpl.C:
5838 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5840 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5843 * text.C: take the rtl methods out of line
5845 2003-03-21 André Pönitz <poenitz@gmx.net>
5847 * metricsinfo.[Ch]: new files containing structures to be passed around
5848 during the two-phase-drawing...
5850 2003-03-21 André Pönitz <poenitz@gmx.net>
5852 * lyxtextclass.C: read 'environment' tag.
5854 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5856 * text2.C (removeRow): fix bug 964
5858 2003-03-20 John Levon <levon@movementarian.org>
5862 * text2.C: paint cleanups. Inset::update() dropped font
5865 2003-03-19 John Levon <levon@movementarian.org>
5867 * lyxfunc.C: only fitcursor/markDirty if available()
5869 2003-03-19 John Levon <levon@movementarian.org>
5871 * commandtags.h: rename to ...
5873 * lfuns.h: ... this, and renumber / cleanup
5875 2003-03-19 John Levon <levon@movementarian.org>
5877 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5878 fit the cursor after an lfun
5882 * BufferView_pimpl.h:
5883 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5885 * LyXAction.C: layout-character should have ReadOnly
5887 * ParagraphParameters.C:
5889 * bufferview_funcs.C:
5896 * undo_funcs.C: changes from above
5898 2003-03-18 John Levon <levon@movementarian.org>
5900 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5901 remove it from update()
5903 * lyxfunc.C: update layout choice after an lfun
5905 * text3.C: remove extra updateLayoutChoice()s
5907 2003-03-18 John Levon <levon@movementarian.org>
5909 * text.C: top_y change means full repaint, fix
5910 a drawing bug with cursor movement
5912 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5916 * text2.C: anchor row on setCursor
5918 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5920 * lyxtext.h: remove almost all mutable keywords
5923 * text3.C: remove const keywords accordingly
5925 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5927 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5929 (TeXEnvironment): ditto
5932 2003-03-17 John Levon <levon@movementarian.org>
5934 * text.C (rowBreakPoint): remove attempt to fix displayed
5935 math insets inside a manual label
5937 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * lyxtext.h: remove BufferView* as first arg from almost all class
5941 * other files: adjust.
5943 2003-03-17 John Levon <levon@movementarian.org>
5947 * text2.C: more paint cleanups
5949 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5952 * rowpainter.C: remove "smart" background painting code
5954 2003-03-16 John Levon <levon@movementarian.org>
5959 * text3.C: add helper functions for setting refresh_row/y
5961 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5963 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5964 newline inset which *can* get inserted in the pass_thru layouts.
5965 This is primarily for literate documents.
5967 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5969 * buffer.C: increment LYX_FORMAT to 223
5971 2003-03-14 André Pönitz <poenitz@gmx.net>
5973 * textclass.h: prepare for environment handling, ws changes
5974 * lyxlayout.C: read latexheader and latexfooter tags
5976 2003-03-14 John Levon <levon@movementarian.org>
5978 * text2.C: rewrite ::status() a bit
5980 2003-03-13 John Levon <levon@movementarian.org>
5982 * lyxtext.h: add some docs
5984 2003-03-13 John Levon <levon@movementarian.org>
5989 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5991 2003-03-13 John Levon <levon@movementarian.org>
5993 * text3.C: fix appendix redrawing
5995 2003-03-13 John Levon <levon@movementarian.org>
5997 * text.C (setHeightOfRow):
5999 * rowpainter.C: make appendix mark have the text
6000 "Appendix" so the user knows what it is
6003 * LColor.C: s/appendixline/appendix/ from above
6005 2003-03-13 John Levon <levon@movementarian.org>
6007 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6009 * text.C: fix a getChar(pos) bug properly
6011 2003-03-13 Angus Leeming <leeming@lyx.org>
6014 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6015 Probably only temporary. Let's see how things pan out.
6017 * BufferView.C (unlockInset):
6018 * BufferView_pimpl.C (fitCursor):
6019 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6021 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6022 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6024 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6025 new functions that convert ParagraphParameters to and from a string.
6027 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6028 BufferView::Pimpl's dispatch.
6029 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6031 2003-03-13 André Pönitz <poenitz@gmx.net>
6035 * factory.C: make it aware of InsetEnv
6037 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * text2.C (setCursor): never ask for one past last
6040 (setCursor): add some debugging messages.
6042 * text.C (singleWidth): never ask for one past last
6043 (singleWidth): ditto
6045 (rightMargin): ditto
6046 (rowBreakPoint): ditto
6047 (setHeightOfRow): ditto
6048 (prepareToPrint): ditto
6050 * rowpainter.C (paintBackground): never ask for one past last
6051 (paintText): never ask for one past last
6053 * paragraph_pimpl.C (getChar): make the assert stricter, never
6054 allow the one past last pos to be taken
6056 * paragraph.C (getChar): ws changes only
6058 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6059 (numberOfSeparators): ditto
6060 (numberOfHfills): ditto
6062 2003-03-12 John Levon <levon@movementarian.org>
6068 * paragraph_funcs.C: fix per-buffer authorlists
6070 2003-03-12 John Levon <levon@movementarian.org>
6072 * text.C: fix newline in right address
6074 2003-03-12 Angus Leeming <leeming@lyx.org>
6076 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6077 duplicate those in LyXFunc::dispatch.
6081 * ToolbarDefaults.C:
6082 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6083 Add LFUN_FONTFREE_UPDATE.
6085 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6086 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6088 * bufferview_func.[Ch]: several new functions to facilliate
6089 transfer of data to and from the character dialog.
6091 2003-03-12 John Levon <levon@movementarian.org>
6096 * paragraph_funcs.C:
6097 * paragraph_pimpl.C:
6101 * text3.C: remove META_NEWLINE in favour of an inset
6104 * rowpainter.C: remove paintNewline (done by inset)
6106 2003-03-12 John Levon <levon@movementarian.org>
6108 * paragraph_pimpl.C: complain about bad getChar()s
6109 for a while at least
6111 2003-03-12 John Levon <levon@movementarian.org>
6114 * buffer.C: move paragraph read into a separate function,
6115 a little renaming to reflect that.
6118 * bufferparams.C: remove the author_ids map, not necessary now
6121 * factory.C: moved Buffer::readInset to here
6123 * paragraph_funcs.h:
6124 * paragraph_funcs.C: readParagraph free function moved from
6127 * tabular.C: name change
6129 2003-03-12 John Levon <levon@movementarian.org>
6132 * ParagraphParameters.C: move par params input to
6135 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6136 behave like a normal read from the stream wrt reading
6137 a line vs. a \\token
6139 2003-03-12 John Levon <levon@movementarian.org>
6142 * ParagraphParameters.h:
6143 * ParagraphParameters.C: move output code to a
6146 2003-03-12 John Levon <levon@movementarian.org>
6148 * BufferView.C (insertLyXFile):
6151 * tabular.C: use a parlist iterator for creating the
6154 2003-03-12 John Levon <levon@movementarian.org>
6156 * buffer.C: make current_change static local not
6159 2003-03-12 John Levon <levon@movementarian.org>
6161 * buffer.C: fix insertStringAsLines for change tracking
6163 2003-03-12 John Levon <levon@movementarian.org>
6170 * bufferparams.C: move author list into params. Rename some
6171 functions. Move the header reading into a separate token
6172 loop. Move the header token reading into BufferParams.
6174 2003-03-12 John Levon <levon@movementarian.org>
6176 * changes.C: put debug inside lyxerr.debugging() checks
6178 2003-03-11 André Pönitz <poenitz@gmx.net>
6180 * factory.C: make it aware of InsetHFill
6182 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * buffer.C (latexParagraphs): move function from here...
6185 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6188 2003-03-10 Angus Leeming <leeming@lyx.org>
6190 * LyXAction.C (init): fix bug in poplating array with multiple entries
6191 with the same LFUN (spotted by JMarc).
6193 2003-03-10 John Levon <levon@movementarian.org>
6196 * text2.C: move getColumnNearX() near its
6199 2003-03-10 John Levon <levon@movementarian.org>
6201 * text.C: fix break before a minipage
6203 2003-03-10 John Levon <levon@movementarian.org>
6205 * text.C: fix the last commit
6207 2003-03-09 John Levon <levon@movementarian.org>
6211 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6212 bug 365 (don't break before insets unless needed). Don't
6213 return a value > last under any circumstances.
6215 2003-03-09 Angus Leeming <leeming@lyx.org>
6217 * BufferView_pimpl.C (trackChanges, dispatch): call
6218 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6220 2003-03-09 Angus Leeming <leeming@lyx.org>
6222 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6223 than Dialogs::showAboutlyx().
6225 2003-03-09 Angus Leeming <leeming@lyx.org>
6227 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6228 than Dialogs::showTabularCreate().
6230 2003-03-09 John Levon <levon@movementarian.org>
6234 * text2.C: 3rd arg to nextBreakPoint was always the same.
6237 2003-03-08 John Levon <levon@movementarian.org>
6244 * text2.C: Remove the "main" bit from the "main body"
6247 2003-03-08 John Levon <levon@movementarian.org>
6249 * text.C (leftMargin): The left margin of an empty
6250 manual label paragraph should not include the label width
6253 * text.C (prepareToPrint): don't attempt to measure hfills
6254 for empty manual label paragraphs - the answer should be 0
6256 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * CutAndPaste.C: remove commented code and reindent.
6260 2003-03-08 John Levon <levon@movementarian.org>
6263 * lyxfunc.C: move reloadBuffer()
6266 * BufferView.C: to here
6268 * lyxvc.C: add comment
6271 * vc-backend.C: call bv->reload() to avoid
6272 getStatus() check on MENURELOAD
6274 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6276 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6277 to an old format .dep file.
6279 2003-03-07 Angus Leeming <leeming@lyx.org>
6281 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6282 when the LFUN_MOUSE_RELEASE should have been handled by
6283 inset->localDispatch.
6285 2003-03-07 Angus Leeming <leeming@lyx.org>
6287 * BufferView_pimpl.C (dispatch):
6288 * LyXAction.C (init):
6289 * ToolbarDefaults.C (init):
6291 * lyxfunc.C (getStatus):
6292 remove LFUN_INSET_GRAPHICS.
6294 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6296 2003-03-07 Angus Leeming <leeming@lyx.org>
6299 * LyXAction.C (init):
6300 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6302 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6305 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6307 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6308 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6310 2003-03-07 Angus Leeming <leeming@lyx.org>
6312 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6315 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * ParagraphList.C (front): new function
6320 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6322 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6323 and top_row_offset_. removed var first_y.
6325 * text2.C (LyXText, removeRow):
6327 * BufferView_pimpl.C:
6328 use these methods instead of using first_y
6330 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * text2.C (pasteSelection): adjust for checkPastePossible
6334 * CutAndPaste.C: remove Paragraph * buf and replace with
6335 ParagraphList paragraphs.
6336 (DeleteBuffer): delete
6337 (cutSelection): change the tc type to textclass_type
6338 (copySelection): change the tc type to textclass_type
6339 (copySelection): adjust for ParagraphList
6340 (pasteSelection): change the tc type to textclass_type
6341 (pasteSelection): adjust for Paragraphlist
6342 (nrOfParagraphs): simplify for ParagraphList
6343 (checkPastePossible): simplify for ParagraphList
6344 (checkPastePossible): remove unused arg
6346 * ParagraphList.C (insert): handle the case where there are no
6349 * CutAndPaste.h: make CutAndPaste a namespace.
6351 * text3.C (dispatch): adjust
6353 * text.C (breakParagraph): add a ParagraphList as arg
6355 * paragraph_funcs.C (breakParagraph): change to take a
6356 BufferParams and a ParagraphList as args.
6357 (breakParagraphConservative): ditto
6358 (mergeParagraph): ditto
6359 (TeXDeeper): add a ParagraphList arg
6360 (TeXEnvironment): ditto
6363 * buffer.C (readLyXformat2): adjust
6364 (insertStringAsLines): adjust
6365 (latexParagraphs): adjust
6367 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6368 (cutSelection): adjust
6369 (pasteSelection): adjust
6371 * BufferView_pimpl.C (insertInset): adjust
6373 2003-03-05 Angus Leeming <leeming@lyx.org>
6376 * LyXAction.C (init):
6377 * BufferView_pimpl.C (dispatch):
6378 * lyxfunc.C (getStatus):
6379 remove LFUN_CHILD_INSERT.
6381 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6383 2003-03-05 Angus Leeming <leeming@lyx.org>
6386 * LyXAction.C (init):
6387 * src/factory.C (createInset):
6388 * lyxfunc.C (getStatus):
6389 * text3.C (dispatch):
6390 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6392 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6394 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6396 * ParagraphList.C (insert): handle insert right before end()
6397 (erase): fix cases where it can be first or last paragraph.
6399 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6402 Paragraph::next and Paragraph::previous
6405 * text.C (breakParagraph): adjust
6407 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6408 BufferParams& as arg.
6409 (breakParagraph): use ParagraphList::insert
6410 (breakParagraphConservative): take a Buffer* instead of a
6411 BufferParams& as arg.
6412 (breakParagraphConservative): use ParagraphList::insert.
6414 * buffer.C (insertStringAsLines): un-const it
6415 (insertStringAsLines): adjust
6417 * ParagraphList.C (insert): new function
6419 * CutAndPaste.C (pasteSelection): adjust
6421 * text.C (backspace): adjust
6423 * tabular.C (SetMultiColumn): adjust
6425 * CutAndPaste.C (cutSelection): adjust
6426 (pasteSelection): adjust
6428 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6429 Buffer const * as arg
6431 * ParagraphList.C (erase): new function
6432 * paragraph_funcs.C (mergeParagraph): use it
6433 (mergeParagraph): make it take a Buffer* instead of a
6434 BufferParams* as arg
6436 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6438 (breakParagraphConservative): ditto
6440 * paragraph.h: remove the breakParagraph friend
6442 * paragraph.C (eraseIntern): new function
6443 (setChange): new function
6445 * paragraph_funcs.C (mergeParagraph): make it take a
6446 ParagraphList::iterator instead of a Paragraph *, adjust
6449 * paragraph.h: move an #endif so that the change tracking stuff
6450 also works in the NO_NEXT case.
6452 2003-03-04 Angus Leeming <leeming@lyx.org>
6455 * LyXAction.C: new LFUN_INSET_MODIFY.
6457 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6458 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6460 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * several files: ws changes only
6464 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6465 (TeXEnvironment): ditto
6468 * buffer.C (makeLaTeXFile): adjust
6469 (latexParagraphs): make it take ParagraphList::iterator as args
6471 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * buffer.C (latexParagraphs): adjust
6475 * paragraph.C (TeXOnePar): move function...
6476 (optArgInset): move function...
6477 (TeXEnvironment): move function...
6478 * paragraph_pimpl.C (TeXDeeper): move function...
6479 * paragraph_funcs.C: ...here
6481 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6483 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * buffer.C (readInset): remove compability code for old Figure and
6488 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * buffer.C: ws changes
6493 * BufferView_pimpl.C: ditto
6496 * bufferlist.h: ditto
6500 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6502 * converter.[Ch]: split into itself +
6505 * Makefile.am: += graph.[Ch] + format.[Ch]
6512 * lyxrc.C: added #include "format.h"
6514 2003-02-27 Angus Leeming <leeming@lyx.org>
6516 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6519 * factory.C (createInset): add "label" to the factory.
6521 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6522 string and do no more.
6524 2003-02-27 Angus Leeming <leeming@lyx.org>
6527 * LyXAction.C (init):
6528 * factory.C (createInset):
6529 * BufferView_pimpl.C (dispatch):
6530 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6532 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6534 * lyxfunc.C (dispatch):
6535 * text3.C (dispatch): pass name to params2string.
6537 2003-02-26 Angus Leeming <leeming@lyx.org>
6539 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6541 Rearrange the ~includes. Strip out the unnecessary ones.
6543 * factory.C (createInset): reformat.
6544 create new insets for the various LFUN_XYZ_APPLY lfuns.
6546 2003-02-26 John Levon <levon@movementarian.org>
6549 * lyxrow.C: add isParStart,isParEnd helpers
6551 * paragraph.h: make isInserted/DeletedText take refs
6553 * paragraph_funcs.h:
6554 * paragraph_funcs.C: remove #if 0'd code
6559 * text.C: use lyxrow helpers above.
6560 Move draw and paint routines to RowPainter.
6561 Make several methods use refs not pointers.
6562 Make backgroundColor() const.
6563 Add markChangeInDraw(), isInInset().
6564 Merge changeRegionCase into changeCase.
6565 Make workWidth() shouldn't-happen code into an Assert.
6568 * rowpainter.C: new class for painting a row.
6571 * vspace.C: make inPixels take a ref
6573 2003-02-26 Angus Leeming <leeming@lyx.org>
6575 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6578 2003-02-25 John Levon <levon@movementarian.org>
6580 * ispell.C: give the forked command a more accurate name
6582 2003-02-22 John Levon <levon@movementarian.org>
6585 * toc.C: make TocItem store an id not a Paragraph *
6588 2003-02-21 Angus Leeming <leeming@lyx.org>
6590 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6591 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6592 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6593 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6594 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6595 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6597 * BufferView_pimpl.C (dispatch):
6598 * LyXAction.C (init):
6599 * factory.C (createInset):
6600 * lyxfunc.C (getStatus, dispatch):
6601 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6603 2003-02-21 Angus Leeming <leeming@lyx.org>
6605 * BufferView_pimpl.C (MenuInsertLyXFile):
6606 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6607 * lyxfunc.C (menuNew, open, doImport):
6608 no longer pass a LyXView & to fileDlg.
6610 2003-02-21 Angus Leeming <leeming@lyx.org>
6612 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6613 * LyXAction.C: change, BIBKEY to BIBITEM.
6614 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6615 Change InsetBibKey to InsetBibitem.
6616 Change BIBKEY_CODE to BIBITEM_CODE.
6617 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6618 * factory.C: replace insetbib.h with insetbibitem.h.
6619 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6620 * paragraph.C: replace insetbib.h with insetbibitem.h.
6621 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6622 Change bibkey() to bibitem().
6623 * text.C: remove insetbib.h.
6624 * text2.C: replace insetbib.h with insetbibitem.h.
6625 change bibkey() to bibitem().
6626 * text3.C: remove insetbib.h.
6627 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6629 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * lyxrc.C (output): enclose user email in quotes (in case there are
6634 2003-02-18 John Levon <levon@movementarian.org>
6636 * buffer.h: add std::
6638 2003-02-17 John Levon <levon@movementarian.org>
6644 * pspell.C: reworking. Especially in ispell, a large
6645 number of clean ups and bug fixes.
6647 * lyxfunc.C: fix revert to behave sensibly
6649 2003-02-17 André Pönitz <poenitz@gmx.net>
6652 * commandtags.h: new LFUN_INSERT_BIBKEY
6662 * paragraph_func.C: remove special bibkey handling
6664 2003-02-17 John Levon <levon@movementarian.org>
6666 * text.C (Delete): fix case where delete at the end of
6667 the very first paragraph would not merge the pars
6669 2003-02-17 John Levon <levon@movementarian.org>
6671 * lyxrow.C: fix lastPrintablePos()
6673 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6675 * bufferparams.C (writeLaTeX): add a std:here
6677 * buffer.C: and remove a using directive there
6679 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * buffer.C (makeLaTeXFile): move the code that generates the
6684 * bufferparams.C (writeLaTeX): ... in this new method
6686 * LaTeXFeatures.C (getEncodingSet): make const
6687 (getLanguages): make const
6689 * MenuBackend.C (binding): returns the binding associated to this
6691 (add): sets the status of each item by calling getStatus. Adds
6693 (read): add support for OptSubMenu
6694 (expand): remove extra separator at the end of expanded menu
6696 2003-02-15 John Levon <levon@movementarian.org>
6699 * BufferView_pimpl.C:
6701 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6702 inset code that had no actual effect. Remove unneeded status
6705 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6707 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6710 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6712 * text.C (drawLengthMarker): also draw an arrow marker for
6713 symbolic lengths (medskip...)
6715 2003-02-14 John Levon <levon@movementarian.org>
6718 * tabular.C: better method names
6720 2003-02-14 John Levon <levon@movementarian.org>
6722 * BufferView_pimpl.C:
6727 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6728 it's a more accurate name. Remove some pointless uses.
6730 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6732 * text2.C (LyXText): change order of initilizers to shut off
6735 2003-02-14 John Levon <levon@movementarian.org>
6737 * buffer.C: use ParIterator for getParFromID()
6741 * paragraph_pimpl.h:
6742 * paragraph_pimpl.C: remove unused getParFromID()
6744 2003-02-14 John Levon <levon@movementarian.org>
6746 * buffer.C: remove some very old #if 0'd parse code
6748 2003-02-13 John Levon <levon@movementarian.org>
6752 * text2.C: move hfillExpansion(), numberOfSeparators(),
6753 rowLast(), rowLastPrintable(), numberofHfills(),
6754 numberOfLabelHfills() ...
6757 * lyxrow.C: ... to member functions here.
6762 * text.C: remove LyXText::beginningOfMainBody(), and call
6763 p->beginningOfMainBody() directly. Move the check for
6764 LABEL_MANUAL into the latter.
6771 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6777 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6778 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6780 2003-02-13 John Levon <levon@movementarian.org>
6782 * CutAndPaste.C: remove debug
6784 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6786 * paragraph.C (asString): remove two unused variables
6788 * lyxtextclass.C (readTitleType):
6790 (LyXTextClass): handle new members titletype_ and titlename_
6792 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6794 2003-02-09 John Levon <levon@movementarian.org>
6797 * buffer.C: replace hand-coded list with a map for the dep clean
6799 2003-02-08 John Levon <levon@movementarian.org>
6801 * LaTeX.C: consolidate code into showRunMessage() helper
6803 2003-02-08 John Levon <levon@movementarian.org>
6808 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6809 and pass the size in explicitly
6811 * BufferView_pimpl.h:
6812 * BufferView_pimpl.C:
6814 * BufferView.C: add getCurrentChange()
6816 * BufferView_pimpl.h:
6817 * BufferView_pimpl.C: handle change lfuns
6819 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6820 for changes. Mark pasted paragraphs as new.
6822 * support/lyxtime.h:
6823 * support/lyxtime.C:
6824 * DepTable.C: abstract time_t as lyx::time_type
6827 * LColor.C: add colours for new text, deleted text, changebars
6829 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6830 package use "usenames" option.
6834 * LyXAction.C: add change lfuns
6838 * author.C: author handling
6841 * buffer.C: add a per-buffer author list, with first entry as
6842 current author. Handle new .lyx tokens for change tracking. Output
6843 author list to .lyx file. Output dvipost stuff to .tex preamble.
6844 Bump lyx format to 222.
6847 * bufferlist.C: add setCurrentAuthor() to reset current author details
6851 * bufferparams.C: add param for tracking
6853 * bufferview_funcs.C: output change info in minibuffer
6857 * changes.C: add change-tracking structure
6860 * debug.C: add CHANGES debug flag
6863 * lyxfind.C: add code for finding the next change piece
6866 * lyxrc.C: add user_name and user_email
6869 * lyxrow.C: add a metric for the top of the text line
6872 * text.C: implement accept/rejectChange()
6875 * text.C: paint changebars. Paint new/deleted text in the chosen
6876 colours. Strike through deleted text.
6880 * paragraph_pimpl.h:
6881 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6882 in the current change to the insert functions. Rework erase to
6883 mark text as deleted, adding an eraseIntern() and a range-based
6884 erase(). Implement per-paragraph change lookup and
6887 * paragraph_funcs.C: Fixup paste for change tracking.
6889 * tabular.C: mark added row/columns as new.
6891 * text.C: fix rowLast() to never return -1. Don't allow
6892 spellchecking of deleted text. Track transpose changes. Don't
6893 allow paragraph break or merge where appropriate.
6895 * text2.C: leave cursor at end of selection after a cut.
6897 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6899 * text.C (getLengthMarkerHeight):
6900 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6901 visible on screen too.
6903 2003-02-07 John Levon <levon@movementarian.org>
6905 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6907 2003-02-05 Angus Leeming <leeming@lyx.org>
6909 * lyxserver.C (read_ready): revert my patch of 11 September last year
6910 as it sends PC cpu through the roof. Presumably this means that
6911 the lyxserver will no longer run on an Alpha...
6913 2003-01-30 Angus Leeming <leeming@lyx.org>
6915 * factory.C (createInset): create an InsetCommandParam of type "index"
6916 and use it to 'do the right thing'.
6918 * text2.C (getStringToIndex): ensure that cursor position is always
6919 reset to the reset_cursor position.
6921 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6923 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6926 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6930 * lyxfunc.C: Output messages with identical spelling, punctuation,
6933 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6935 * MenuBackend.C (expandFormats): List only viewable export formats
6938 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6941 * lyxfunc.C (getStatus): Make sure that formats other than
6942 "fax" can also be disabled
6944 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6946 * text3.C (dispatch): put the lfuns that insert insets in 3
6947 groups, and call doInsertInset with appropriate arguments.
6948 (doInsertInset): new function, that creates an inset and inserts
6949 it according to some boolean parameters.
6951 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * buffer.C (readFile): remember to pass on 'par' when calling
6954 readFile recursively.
6956 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6958 * MenuBackend.C (expandFormats): add "..." to import formats.
6960 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6962 * paragraph.C (asString): Remove XForms RTL hacks.
6964 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6965 * buffer.C: fix typo
6967 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * Makefile.am (LIBS): delete var
6970 (lyx_LDADD): add @LIBS@ here instead.
6972 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6974 * Clarify the meaning of "wheel mouse jump"
6976 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6978 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6981 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6983 * importer.C (Loaders): do not preallocate 3 elements in the
6984 vector, since one ends up with 6 elements otherwise
6986 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6988 * DepTable.C (write): write the file name as last element of the
6989 .dep file (because it may contain spaces)
6990 (read): read info in the right order
6992 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6994 * paragraph_pimpl.C (simpleTeXBlanks):
6995 (simpleTeXSpecialChars):
6996 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6998 * tabular.C (latex): add some missing case statements. Reindent.
7000 * MenuBackend.C (expandToc): remove unused variable.
7002 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7011 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7014 2003-01-05 John Levon <levon@movementarian.org>
7017 * BufferView.C: add getEncoding()
7020 * kbsequence.C: do not store last keypress
7023 * lyxfunc.C: store last keypress here instead. Pass encoding
7026 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7028 * lyx_main.C (init): remove annoying error message when following
7029 symbolic links (bug #780)
7031 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7033 * text.C (insertChar):
7034 * lyxrc.C (getDescription): remove extra spaces
7036 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7038 * lyxrc.C (getDescription): remove extra spaces
7040 2002-12-20 John Levon <levon@movementarian.org>
7042 * text3.C: hack fix for page up/down across tall rows
7044 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7046 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7049 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7051 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7052 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7053 thesaurus is not compiled in
7055 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7057 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7059 2002-12-16 Angus Leeming <leeming@lyx.org>
7062 * lyx_main.C (init): remove override_x_deadkeys stuff.
7064 2002-12-12 John Levon <levon@movementarian.org>
7066 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7067 insert. Only remove shift modifier under strict
7070 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * MenuBackend.C (expandToc): fix crash.
7074 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * MenuBackend.C (expandToc): gettext on float names.
7078 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7080 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7081 implement bool empty() [bug 490]
7083 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7087 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * several files: ws changes
7091 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * text2.C (setCounter): clean up a bit, use boost.format.
7094 (updateCounters): initialize par upon declaration.
7096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7097 if the layout exists. We do not just store the layout any more.
7098 (SwitchLayoutsBetweenClasses): use boost.format
7100 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * converter.C (convert): if from and to files are the same, use a
7103 temporary files as intermediary
7105 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7110 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7112 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7114 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * tabular.C (asciiPrintCell): use string(size, char) instead of
7119 * sgml.C (openTag): fix order of arguments to string constructor
7122 * lyxfunc.C (dispatch): use boost.format
7124 * lots of files: change "c" -> 'c'
7126 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7128 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7130 2002-11-25 Angus Leeming <leeming@lyx.org>
7132 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7134 * lyx_main.C (init): compile fix.
7136 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * lyx_cb.C (start): boost.formatify
7139 do not include <iostream>
7141 * lengthcommon.C: ws only
7143 * boost-inst.C,BoostFormat.h: add more explict instantations
7145 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * lots of files: handle USE_BOOST_FORMAT
7149 2002-11-21 John Levon <levon@movementarian.org>
7151 * pspell.C: fix compile
7153 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7155 * lyxfunc.C (dispatch): use boost::format
7159 * lyxfont.C (stateText): use boost::format
7161 * lyx_main.C (LyX): use boost::format
7163 (queryUserLyXDir): ditto
7166 (typedef boost::function): use the recommened syntax.
7168 * importer.C (Import): use boost::format
7170 * debug.C (showLevel): use boost::format
7172 * converter.C (view): use boost::format
7177 * bufferview_funcs.C (currentState): use boost::format
7179 * bufferlist.C (emergencyWrite): use boost::format
7181 * buffer.C (readLyXformat2): use boost::format
7182 (parseSingleLyXformat2Token): ditto
7184 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7186 * LaTeX.C (run): use boost::format
7188 * Chktex.C (scanLogFile): use boost::format
7190 * BufferView_pimpl.C (savePosition): use boost::format
7191 (restorePosition): ditto
7192 (MenuInsertLyXFile): ditto
7194 * BoostFormat.h: help file for explicit instation.
7196 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7198 * tabular.C (latex): Support for block alignment in fixed width
7201 2002-11-17 John Levon <levon@movementarian.org>
7203 * BufferView_pimpl.C:
7205 * lyxfunc.C: split filedialog into open/save
7207 2002-11-08 Juergen Vigna <jug@sad.it>
7209 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7210 by my last patch (hopefully).
7212 2002-11-08 John Levon <levon@movementarian.org>
7221 * toc.C: ParConstIterator, and use it (from Lars)
7223 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7225 * lyxtextclass.[Ch]: revise and add doxygen comments
7227 2002-11-07 John Levon <levon@movementarian.org>
7229 * text.C: fix progress value for spellchecker
7231 * toc.C: fix navigate menu for insetwrap inside minipage
7233 * paragraph_funcs.C: added FIXME for suspect code
7235 2002-11-07 John Levon <levon@movementarian.org>
7237 * BufferView_pimpl.C: fix redrawing of insets
7240 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * text2.C (updateCounters): fix bug 668
7244 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7246 * text3.C (dispatch): Do not make the buffer dirty when moving the
7249 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * vc-backend.C: STRCONV
7254 * text2.C (setCounter): STRCONV
7256 * paragraph.C (asString): STRCONV
7258 * lyxlength.C (asString): STRCONV
7259 (asLatexString): ditto
7261 * lyxgluelength.C (asString): STRCONV
7262 (asLatexString): ditto
7264 * lyxfunc.C (dispatch): STRCONV
7267 * lyxfont.C (stateText): STRCONV
7269 * importer.C (Import): STRCONV
7271 * counters.C (labelItem): STRCONV
7272 (numberLabel): ditto
7273 (numberLabel): remove unused ostringstream o
7278 * bufferview_funcs.C (currentState): STRCONV
7280 * buffer.C (readFile): STRCONV
7281 (asciiParagraph): ditto
7282 (makeLaTeXFile): ditto
7284 * Spacing.C (writeEnvirBegin): STRCONV
7286 * LaTeXFeatures.C (getLanguages): STRCONV
7287 (getPackages): ditto
7289 (getBabelOptions): ditto
7290 (getTClassPreamble): ditto
7291 (getLyXSGMLEntities): ditto
7292 (getIncludedFiles): ditto
7296 (scanAuxFile): ditto
7299 * LString.h: add the STRCONV macros
7301 * BufferView_pimpl.C (savePosition): STRCONV
7302 (restorePosition): ditto
7303 (MenuInsertLyXFile): ditto
7305 * vc-backend.C (scanMaster): change from submatch[...] to
7308 * funcrequest.C: include config.h
7310 * factory.C: include config.h
7312 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7314 * box.C: include config.h
7316 * LaTeX.C (scanAuxFile): change from submatch[...] to
7320 2002-10-25 Angus Leeming <leeming@lyx.org>
7322 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7324 * ispell.[Ch] (setError): new method.
7325 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7326 Use setError() insetead of goto END.
7328 * lyx_cb.C (AutoSave): move out child process into new class
7331 2002-10-30 John Levon <levon@movementarian.org>
7333 * text3.C: make start appendix undoable
7335 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7337 * lyxlength.C (inPixels): Fix returned value.
7339 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7342 2002-10-24 Angus Leeming <leeming@lyx.org>
7344 * lyxgluelength.h: no need to forward declare BufferParams
7345 or BufferView, so don't.
7347 2002-10-21 John Levon <levon@movementarian.org>
7349 * BufferView.C: menuUndo ->undo, redo
7351 * BufferView.h: document, remove dead, make some methods private
7353 * paragraph_funcs.h:
7354 * paragraph_funcs.C:
7355 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7360 * sgml.C: move sgml open/close tag into sgml.C
7362 * bufferview_funcs.h: unused prototype
7365 * lyxfunc.C: remove unused
7368 * text.C: remove unused
7370 2002-10-21 John Levon <levon@movementarian.org>
7374 * BufferView_pimpl.h:
7375 * BufferView_pimpl.C: fix mouse wheel handling based on
7376 patch from Darren Freeman
7378 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7380 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7382 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7384 * lyxlength.C (inPixels): Fix hanfling of negative length.
7385 Fix LyXLength::MU case.
7387 2002-10-16 John Levon <levon@movementarian.org>
7389 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7391 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7393 * converter.C (view): add support for $$i (file name) and $$p
7394 (file path) for the viewer command. If $$i is not specified, then
7395 it is appended to the command (for compatibility with old syntax)
7397 2002-10-14 Juergen Vigna <jug@sad.it>
7399 * undo_funcs.C (textHandleUndo): alter the order in which the
7400 new undopar is added to the LyXText, as we have to set first
7401 the right prev/next and then add it as otherwise the rebuild of
7402 LyXText is not correct. Also reset the cursor to the right paragraph,
7403 with this IMO we could remove the hack in "redoParagraphs()".
7405 2002-10-09 Angus Leeming <leeming@lyx.org>
7407 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7408 to turn off an optimisation if a new inset is to be inserted.
7410 2002-10-11 André Pönitz <poenitz@gmx.net>
7412 * lyxtext.h: make some functions public to allow access
7413 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7415 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7417 * text3.C (dispatch): when changing layout, avoid an infinite loop
7420 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7422 * lyxrc.C (read): treat a viewer or converter command of "none" as
7425 * MenuBackend.C (expandFormats): for an update, also allow the
7426 formats that are not viewable
7428 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7429 script if it is newer than the lyxrc.defaults in user directory
7431 2002-10-07 André Pönitz <poenitz@gmx.net>
7433 * text.C: Vitaly Lipatov's small i18n fix
7435 2002-09-25 Angus Leeming <leeming@lyx.org>
7437 * ispell.h: doxygen fix.
7439 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7441 * buffer.h (readFile): Add a new argument to the method, to allow
7442 reading of old-format templates.
7444 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7446 * toc.C (getTocList): Get TOC from InsetWrap.
7448 2002-09-16 John Levon <levon@movementarian.org>
7450 * lyxfunc.C: check tabular for cut/copy too
7452 2002-09-12 John Levon <levon@movementarian.org>
7457 * factory.C: add header
7459 * paragraph_funcs.h:
7460 * paragraph_funcs.C: cleanup
7462 2002-09-11 John Levon <levon@movementarian.org>
7464 * PrinterParams.h: odd/even default to true
7466 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7468 * PrinterParams.h: update printer parameters for new xforms dialog
7470 2002-09-11 Angus Leeming <leeming@lyx.org>
7472 * lyxserver.C (read_ready): re-write to make it more transparent
7473 and to make it work in coherent fashion under Tru64 Unix.
7475 2002-09-11 André Pönitz <poenitz@gmx.net>
7479 * text3.C: implement LFUN_WORDSEL
7481 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7484 make floatlist_ a boost::shared_ptr<FloatList>
7486 * lyxtextclass.C: include FloatList.h
7487 (LyXTextClass): initialize floatlist_
7488 (TextClassTags): add TC_NOFLOAT
7489 (Read): match "nofloat" to TC_NOFLOAT and use it.
7490 (readFloat): modify call to floatlist_
7494 * FloatList.[Ch] (FloatList): remove commented out float
7496 (erase): new function
7498 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7500 * MenuBackend.C (expandToc): fix crash when there is no document
7503 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7505 * many files: Add insetwrap.
7507 2002-09-09 John Levon <levon@movementarian.org>
7509 * text2.C: remove confusing and awkward depth wraparound
7511 2002-09-09 John Levon <levon@movementarian.org>
7513 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7516 * buffer.C: remove getIncludeonlyList()
7519 * lyxfunc.C: remove headers
7521 2002-09-09 Juergen Vigna <jug@sad.it>
7523 * text.C (getColumnNearX): fix form Michael this is most
7524 probably a cut&paste bug.
7526 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7530 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7531 references, ws changes.
7533 * text2.C (init): update counters after init
7534 (insertParagraph): no need to set counter on idividual paragraphs.
7535 (setCounter): access the counters object in the textclass object
7536 on in the buffer object.
7537 (updateCounters): ditto
7539 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7540 shared_ptr<Counters> to avoid loading counters.h in all
7542 (LyXTextClass): initialize ctrs_
7543 (TextClassTags): add TC_COUNTER, and ...
7544 (Read): use it here.
7545 (CounterTags): new tags
7546 (readCounter): new function
7547 (counters): new funtion
7548 (defaultLayoutName): return a const reference
7550 * counters.C (Counters): remove contructor
7551 (newCounter): remove a couple of unneeded statements.
7552 (newCounter): simplify a bit.
7553 (numberLabel): some small formatting changes.
7555 * buffer.[Ch]: remove all traces of counters, move the Counters
7556 object to the LyXTextClass.
7558 2002-09-06 Alain Castera <castera@in2p3.fr>
7560 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7561 package to set the horizontal alignment on fixed width columns.
7564 * lyx_sty.h: added tabularnewline macro def.
7566 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7568 2002-09-06 John Levon <levon@movementarian.org>
7570 * LyXAction.C: tooltips for sub/superscript
7572 * MenuBackend.C: a bit more verbose
7574 * lyxfunc.C: tiny clean
7576 * undo_funcs.C: document undo_frozen
7578 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * counters.C (Counters): add missing algorithm counter.
7582 * text2.C (setCounter): lookup the counter with layouts latexname
7583 instead of by section number.
7584 (setCounter): use a hackish way to lookup the correct enum
7586 a float name->type change
7587 reset enum couners with counter name directly instead of depth value.
7589 * counters.C (Counters): remove the push_backs, change to use the
7590 float type not the float name.
7591 (labelItem): remove unused string, float name->type change
7593 * counters.h: don't include vector, loose the enums and sects vectors
7595 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7598 (Read): add float->TC_FLOAT to textclassTags
7599 (Read): and handle it in the switch
7600 (readFloat): new function
7602 * FloatList.C (FloatList): comment out the hardcoded float
7605 * lyxlayout.h: ws change.
7607 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7609 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7611 2002-09-03 Angus Leeming <leeming@lyx.org>
7613 * BufferView_pimpl.h: qualified name is not allowed in member
7614 declaration: WorkArea & Pimpl::workarea() const;
7616 * factory.C: added using std::endl directive.
7618 * text3.C: added using std::find and std::vector directives.
7620 2002-08-29 André Pönitz <poenitz@gmx.net>
7623 * text2.C: remove unused member number_of_rows
7626 * BufferView2.C: remove file, move contents to...
7627 * BufferView.C: ... here
7629 * BufferView_pimpl.C:
7630 * factory.C: move more inset creation to factory
7632 * vspace.C: avoid direct usage of LyXText, ws changes
7635 don't provide direct access to WorkArea, use two simple
7636 acessors haveSelction() and workHeight() instead
7639 2002-08-29 John Levon <levon@movementarian.org>
7641 * BufferView_pimpl.C (dispatch): do not continue when
7644 2002-08-28 André Pönitz <poenitz@gmx.net>
7646 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7649 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7651 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7653 * buffer.C: increment LYX_FORMAT to 221
7655 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7656 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7658 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7660 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7662 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7664 * factory.C (createInset): use LyXTextClass::floats
7666 * MenuBackend.C (expandFloatListInsert):
7667 (expandFloatInsert):
7670 * text2.C (setCounter):
7672 * LaTeXFeatures.C (useFloat):
7673 (getFloatDefinitions):
7675 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7677 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7678 floatlist_, with accessor floats().
7680 * FloatList.h: remove global FloatList
7682 2002-08-26 André Pönitz <poenitz@gmx.net>
7684 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7688 * BufferView_pimpl.C:
7689 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7691 2002-08-25 John Levon <levon@movementarian.org>
7693 * LyXAction.C: fix margin note description
7695 2002-08-24 John Levon <levon@movementarian.org>
7699 * bufferview_funcs.C:
7701 * undo_funcs.C: cleanups
7703 * lyxfunc.C: disable CUT/COPY when no selection
7705 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7707 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7708 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7710 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7711 Add backward compatibility to "mono", "gray" and "no".
7713 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7715 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7716 (and file_format >= 200).
7718 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7720 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7722 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7724 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7726 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7728 * BufferView_pimpl.C:
7735 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7736 inset and code to make it work with the paragraph code. The inset
7737 can be anywhere in the paragraph, but will only do the expected
7738 thing in LaTeX if the layout file contains the parameter line
7740 (or more generally, a nonzero value) for that layout.
7742 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * paragraph.h: remove the declaration of undefined counters class
7747 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7749 * text2.C (setCounter): fixed enumeration mis-count as reported by
7750 Dr. Richard Hawkins.
7752 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7754 * paragraph_funcs.h: remove some unneeded includes
7756 * text.C (backspace): pasteParagraph now in global scipe
7758 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7759 (pasteSelection): ditto
7761 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7762 * paragraph_funcs.C (pasteParagraph): ... here
7764 2002-08-20 André Pönitz <poenitz@gmx.net>
7766 * commandtags.h: new LFUNs for swapping/copying table row/colums
7769 * lyxfunc.C: support for new lfuns
7771 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * buffer.[Ch]: remove NO_COMPABILITY stuff
7776 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * boost.C (throw_exception): new file, with helper function for
7779 boost compiled without exceptions.
7784 * ParameterStruct.h:
7785 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7787 * bufferlist.C (emergencyWriteAll): use boost bind
7789 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7791 * text.C: include paragraph_funcs.h
7792 (breakParagraph): breakParagraph is now in global scope
7794 * paragraph_funcs.[Ch]: new files
7796 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7799 * buffer.C: include paragraph_funcs.h
7800 (insertStringAsLines): breakParagraph is now in global scope
7802 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7805 * CutAndPaste.C: include paragraph_funcs.h
7806 (cutSelection): breakParagraphConservative is now in global scope
7807 (pasteSelection): ditto
7809 * buffer.h: declare oprator== and operator!= for
7810 Buffer::inset_iterator
7812 * bufferlist.C (emergencyWrite): don't use fmt(...)
7814 * text3.C: add using std::endl
7816 * BufferView.C (moveCursorUpdate): remove default arg
7818 2002-08-20 André Pönitz <poenitz@gmx.net>
7820 * buffer.[Ch]: move inline functions to .C
7823 * BufferView_pimpl.C:
7825 * buffer.[Ch]: use improved inset_iterator
7828 * paragraph.[Ch]: write one paragraph at a time
7830 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7832 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7833 style if style is not specified.
7835 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7837 * text2.C (setCounter): when searching for right label for a
7838 caption, make sure to recurse to parent insets (so that a caption
7839 in a minipage in a figure float works) (bug #568)
7841 2002-08-20 André Pönitz <poenitz@gmx.net>
7843 * text3.C: new file for LyXText::dispatch() and helpers
7845 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7847 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7849 2002-08-19 André Pönitz <poenitz@gmx.net>
7852 * text.C: new LyXText::dispatch()
7854 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7856 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7858 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7860 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7863 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * Makefile.am: use $(variables) instead of @substitutions@
7867 2002-08-15 André Pönitz <poenitz@gmx.net>
7870 * BufferView_pimpl.C: streamlining mathed <-> outer world
7874 * LyXAction.C: remove unused LFUN_MATH
7876 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7880 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * paragraph.C (Paragraph): reformat a bit
7883 (cutIntoMinibuffer): use builtin InsetList function instad of
7887 * buffer.C: include boost/bind.hpp, add using std::for_each
7888 (writeFileAscii): use ParagraphList iterators
7889 (validate): use for_each for validate traversal of paragraphs
7890 (getBibkeyList): use ParagraphList iterators
7891 (resizeInsets): use for_each to resizeInsetsLyXText for all
7893 (getParFromID): use ParagraphList iterators
7895 * BufferView2.C (lockInset): use paragraph list and iterators
7897 2002-08-14 John Levon <levon@movementarian.org>
7899 * lyxserver.C: remove spurious xforms include
7901 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7905 2002-08-13 André Pönitz <poenitz@gmx.net>
7908 * lyxfunc.C: further cleaning
7910 2002-08-13 André Pönitz <poenitz@gmx.net>
7912 * funcrequest.h: new constructor
7914 * funcrequest.C: move stuff here from .h
7917 * BufferView_pimpl.C:
7920 * lyxfunc.C: subsequent changes
7922 * lyxfunc.h: new view() member function
7924 * lyxfunc.C: subsequent changes
7926 2002-08-13 Angus Leeming <leeming@lyx.org>
7929 * BufferView_pimpl.C:
7937 changes due to the changed LyXView interface that now returns references
7938 to member variables not pointers.
7940 2002-08-13 Angus Leeming <leeming@lyx.org>
7942 * WordLangTuple (word, lang_code): return references to strings,
7947 * lyxtext.h: forward-declare WordLangTuple.
7952 * text.C: #include "WordLangTuple.h".
7955 * text.C: (selectNextWordToSpellcheck): constify return type.
7957 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7963 * paragraph_pimpl.h:
7966 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7968 Made updateCounter always count from start of buffer, and removed
7969 second argument (par).
7970 Reverted floats number display to '#'. Perhaps I'll try again when the
7971 code base is sanitized a bit.
7973 2002-08-12 Angus Leeming <leeming@lyx.org>
7975 * buffer.[Ch] (getLabelList): constify.
7977 2002-08-07 André Pönitz <poenitz@gmx.net>
7979 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7981 * funcrequest.h: extension to keep mouse (x,y) position
7983 2002-08-12 Juergen Vigna <jug@sad.it>
7985 * BufferView2.C (insertErrors): forbid undo when inserting error
7988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7990 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7992 * ParagraphList.[Ch]: new files
7994 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7996 * BufferView2.C (lockInset): ParagraphList changes
7999 * bufferlist.C: ditto
8003 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8005 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8006 unused class variable counter_,
8008 * paragraph.[Ch] (getFirstCounter): delete unused function
8010 * counters.C: include LAssert.h
8011 (reset): add a new function with no arg, change other version to
8012 not have def. arg and to not allow empty arg.
8014 * text2.C (setCounter): remove empty arg from call to Counters::reset
8016 2002-08-11 John Levon <levon@movementarian.org>
8018 * Makefile.am: add WordLangTuple.h
8020 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8023 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8025 * insets/insettext.C: InsetList changes
8027 * graphics/GraphicsSupport.C (operator()): InsetList changes
8029 * toc.C (getTocList): InsetList changes
8031 * paragraph_pimpl.[Ch]: InsetList changes
8033 * paragraph.[Ch]: InsetList changes
8035 * buffer.C (inset_iterator): InsetList changes
8036 (setParagraph): ditto
8037 * buffer.h (inset_iterator): ditto
8038 * iterators.C (operator++): ditto
8039 * iterators.h: ditto
8041 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8043 * InsetList.[Ch]: new files, most InsetList handling moved out of
8046 * BufferView2.C (removeAutoInsets): InsetList changes
8048 (ChangeInsets): ditto
8050 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * paragraph_pimpl.h (empty): new function
8054 * paragraph.[Ch] (empty): new function
8056 * other files: use the new Paragraph::empty function
8058 2002-08-09 John Levon <levon@movementarian.org>
8060 * lyxtext.h: remove unused refresh_height
8062 2002-08-09 John Levon <levon@movementarian.org>
8069 * paragraph.C: move sgml char escaping out of paragraph
8072 * paragraph.C: remove id setter
8076 * paragraph_pimpl.C: remove dead tex_code_break_column
8078 * bufferview_funcs.C: small cleanup
8080 * lyxfunc.C: remove dead proto
8082 * lyxtext.h: make some stuff private. Remove some dead stuff.
8084 * lyxgluelength.C: make as[LyX]String() readable
8086 2002-08-08 John Levon <levon@movementarian.org>
8091 * ToolbarDefaults.C:
8094 * toc.C: lyxaction cleanup
8096 2002-08-08 John Levon <levon@movementarian.org>
8098 * BufferView2.C: small cleanup
8101 * lyxfind.C: move unnecessary header into the .C
8103 2002-08-08 John Levon <levon@movementarian.org>
8105 * funcrequest.h: just tedious nonsense
8108 * lyx_main.C: cleanups
8111 * vspace.C: remove dead header lyx_main.h
8113 2002-08-07 Angus Leeming <leeming@lyx.org>
8116 * paragraph_pimpl.h:
8117 Forward declare class Counters in paragraph.h by moving the ctrs member
8118 variable into Paragraph::Pimpl.
8119 (counters): new method, returning a reference to pimpl_->ctrs.
8121 * text2.C: ensuing changes.
8123 2002-08-07 John Levon <levon@movementarian.org>
8125 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8127 * BufferView_pimpl.C: announce X selection on double/triple
8130 * lyx_main.C: use correct bool in batch dispatch
8132 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8134 2002-08-07 André Pönitz <poenitz@gmx.net>
8136 * funcrequest.h: new class to wrap a kb_action and its argument
8139 * BufferView_pimpl[Ch]:
8143 * lyxrc.C: subsequent changes
8146 2002-08-07 John Levon <levon@movementarian.org>
8148 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8149 document options change.
8151 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8156 * makefile.am: move counters functionality over from
8157 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8159 2002-08-06 John Levon <levon@movementarian.org>
8161 * WordLangTuple.h: new file for word + language code tuple
8172 * BufferView2.C: use WordLangTuple
8175 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8177 2002-08-06 John Levon <levon@movementarian.org>
8179 * lyx_main.C: fix cmdline batch handling
8181 2002-08-06 André Pönitz <poenitz@gmx.net>
8183 * lyxrc.C: set default for show_banner to true
8185 2002-08-06 John Levon <levon@movementarian.org>
8187 * pspell.C: fix a crash, and allow new aspell to work
8189 2002-08-06 John Levon <levon@movementarian.org>
8192 * kbmap.C: small cleanup
8195 * vspace.C: add const
8197 2002-08-05 John Levon <levon@movementarian.org>
8199 * LyXAction.C: back to tabular-insert
8201 2002-08-04 John Levon <levon@movementarian.org>
8204 * BufferView.C: cosmetic change
8206 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8216 * BufferView2.C: purge all "Lyx" not "LyX" strings
8219 * lyxcursor.C: attempt to add some documentation
8224 * ToolbarDefaults.C:
8225 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8226 merge with LFUN_TABULAR_INSERT
8233 * pspell.C: split up i/pspell implementations into separate
8234 files, many cleanups
8236 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8238 * text2.C: some cleanup
8240 * lyxfunc.C: don't check for isp_command == "none" any more, it
8241 didn't make any sense
8243 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8248 * makefile.am: move counters functionality over
8249 from text2.C/paragraph.[Ch] to counters.[Ch], and
8251 2002-08-02 John Levon <levon@movementarian.org>
8253 * buffer.C: s/lyxconvert/lyx2lyx/
8255 2002-08-02 Angus Leeming <leeming@lyx.org>
8257 * lyxlex.C: revert John's change as it breaks reading of the user
8260 2002-08-02 Angus Leeming <leeming@lyx.org>
8262 * importer.C (Import):
8263 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8264 changes due to LyXView::view() now returning a boost::shared_ptr.
8266 2002-08-02 John Levon <levon@movementarian.org>
8268 * lyxlex.C: small cleanup
8270 2002-08-02 John Levon <levon@movementarian.org>
8272 * text2.C (status): small cleanup, no logic change
8274 2002-08-01 John Levon <levon@movementarian.org>
8277 * buffer.C (writeFile): don't output alerts, caller
8281 * lyx_cb.C: from above
8283 * lyxfunc.C: allow to open non-existent files
8285 2002-07-31 John Levon <levon@movementarian.org>
8287 * lyxserver.C: don't let incidental errors get
8290 2002-07-30 John Levon <levon@movementarian.org>
8292 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8294 2002-07-30 John Levon <levon@movementarian.org>
8297 * lyxserver.C: remove I/O callback too
8299 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8301 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8304 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * many files: strip,frontStrip -> trim,ltrim,rtrim
8308 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * PrinterParams.h: remove extern containsOnly, and include
8311 support/lstrings.h instead.
8313 * LaTeX.C (scanAuxFile): modify because of strip changes
8315 * buffer.C (makeLaTeXFile): ditto
8316 * bufferparams.C (writeFile): ditt
8317 * lyxfont.C (stateText): ditto
8318 * lyxserver.C (read_ready): ditto
8319 * vc-backend.C (scanMaster): ditto
8321 * BufferView_pimpl.h: ws changes
8323 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8325 2002-07-26 André Pönitz <poenitz@gmx.net>
8327 * kb_sequence.C: remove unnedred usings
8329 2002-07-26 Juergen Vigna <jug@sad.it>
8331 * lyxfind.C (LyXReplace): we have to check better if the returned
8332 text is not of theLockingInset()->getLockingInset().
8334 2002-07-25 Juergen Vigna <jug@sad.it>
8336 * lyxfind.C (LyXReplace): don't replace if we don't get the
8339 * undo_funcs.C (createUndo): remove debugging code.
8341 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8343 * buffer.C (parseSingleLyXformat2Token): Use default placement
8344 when reading old floats.
8346 * FloatList.C (FloatList): Change the default placement of figure
8347 and tables to "tbp".
8349 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8351 * MenuBackend.C: using std::max
8353 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8355 * MenuBackend.C (expandToc):
8356 (expandToc2): code moved from xforms menu frontend. It is now
8357 generic and TOCs are transparent to menu frontends.
8359 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8361 * toc.C (getTocList): protect against buf=0
8363 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8364 Menu as first parameter. Now, this calls itself recursively to
8365 expand a whole tree (this will be useful for TOC handling)
8366 (expandFloatInsert): remove 'wide' version of floats
8368 * MenuBackend.h (submenuname): returns the name of the submenu.
8369 (submenu): returns the submenu itself, provided it has been
8370 created by MenuBackend::expand
8372 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8374 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8375 insets which have noFontChange == true. (bug #172)
8377 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8379 * BufferView_pimpl.C: add connection objects and use them...
8382 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * MenuBackend.C (expandLastfiles):
8387 (expandFloatListInsert):
8388 (expandFloatInsert):
8389 (expand): split expand in parts
8391 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8393 * lyx_gui.C: use lyx_gui::exit()
8395 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8397 * LyXAction.C: show the failing pseudo action
8399 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8401 * buffer.C (readFile): Run the lyxconvert script in order to read
8404 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8408 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8410 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8414 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8416 2002-07-22 Herbert Voss <voss@lyx.org>
8419 * lyxlength.[Ch]: add support for the vertical lengths
8421 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8423 * toc.[Ch]: std:: fixes
8425 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8427 * lyxrc.C: do not include lyx_main.h
8429 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8435 * BufferView2.C: include "lyxlex.h"
8438 * bufferparams.h: do not #include "lyxlex.h"
8440 * lyxtextclasslist.C (Add): remove method
8441 (classlist): renamed to classlist_
8443 * paragraph_pimpl.C:
8447 * bufferview_funcs.C:
8452 * toc.C (getTocList): use BufferParams::getLyXTextClass
8454 * toc.C (getTocList): use InsetFloat::addToToc
8456 * toc.[Ch]: new files, containing helper functions to handle table
8459 * lyxfunc.C (dispatch): no need to remove spaces around command
8461 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8462 first command of the sequence; it is not very clever, but I do not
8463 have a better idea, actually
8465 * LyXAction.C (LookupFunc): make sure to remove space at the
8466 beginning and end of the command
8468 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8470 * MenuBackend.C (getMenubar): new method: return the menubar of
8472 (read): treat differently reading of menu and menubar (in
8473 particular, the menubar has no name now)
8474 (Menu::menubar): remove
8476 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8479 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8481 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8482 a bibitem inset in a RTL paragraph.
8484 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8486 * paragraph_pimpl.C: constify
8488 * BufferView_pimpl.C:
8490 * lyxfunc.C: fix dispatch in a nicer way
8492 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8494 * lyxfunc.C (dispatch):
8495 * BufferView_pimpl.C:
8496 * BufferView_pimpl.h:
8498 * BufferView.h: rename Dispatch() to dispatch()
8500 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8502 * lyxlayout.C (Read): honor DependsOn tag
8504 * lyxlayout.[Ch] (depends_on): new method
8506 * version.C.in: update lyx_docversion
8508 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8510 * paragraph.C (validate): remove from here...
8511 * paragraph_pimpl.C (validate): ... and move here
8512 (isTextAt): make it const
8514 * buffer.C (getLists): ws cleanup
8516 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8518 * language.C (read): Use iso8859-1 encoding in latex_lang
8519 (this prevents LyX from crashing when using iso10646-1 encoding).
8521 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8523 * text2.C (toggleInset): if cursor is inside an inset, close the
8524 inset and leave cursor _after_ it
8526 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8528 * lyxfunc.C: move minibuffer completion handling out of here
8530 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8532 * BufferView_pimpl.C:
8533 * LaTeX.C: fix dispatch calls
8535 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8537 * text.C (drawChars): Fix Arabic text rendering.
8539 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxfunc.C: remove message-push/pop
8547 * lyxfunc.C: rationalise some code by removing verboseDispatch
8548 in favour of a bool argument to dispatch()
8550 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8552 * lyx_main.C (init): make sure to read symlinks as absolute paths
8554 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8557 * lyxfunc.C: no need for commandshortcut to be a member
8559 2002-07-15 André Pönitz <poenitz@gmx.net>
8561 * converter.C: add support for $$s (scripts from lib/scripts dir)
8562 * lyx_main.C: white space
8564 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8568 * lyxrc.C: remove second exit confirmation
8570 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8575 * BufferView_pimpl.h:
8576 * BufferView_pimpl.C:
8577 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8579 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8581 * MenuBackend.C (expand): add numeric shortcuts to document menu
8583 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8585 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8587 * lyxfont.C (setLyXFamily):
8594 * buffer.C (asciiParagraph): use ascii_lowercase
8596 2002-07-15 Mike Fabian <mfabian@suse.de>
8598 * lyxlex_pimpl.C (search_kw):
8599 * lyxlex.C (getLongString):
8600 * converter.h (operator<):
8601 * converter.C (operator<):
8602 * buffer.C (parseSingleLyXformat2Token):
8604 * ToolbarDefaults.C (read):
8605 * MenuBackend.C (checkShortcuts):
8607 * LColor.C (getFromGUIName):
8608 (getFromLyXName): use the compare_ascii_no_case instead of
8609 compare_no_case, because in turkish, 'i' is not the lowercase
8610 version of 'I', and thus turkish locale breaks parsing of tags.
8612 2002-07-16 Angus Leeming <leeming@lyx.org>
8614 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8615 now takes a Buffer const & argument.
8617 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8619 * BufferView.C (resize): check there's a buffer to resize
8621 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8623 * lyxfunc.C: remove dead code
8626 * lyxserver.C: use lyx_guii::set_read_callback
8628 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8630 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8631 an inset in a RTL paragraph.
8633 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8635 * lyxfunc.C: repaint after a font size update
8637 2002-07-15 André Pönitz <poenitz@gmx.net>
8639 * lyxlength.C: inBP should be able to return negative values
8641 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8643 * lyxfunc.C: use lyx_gui::update_fonts()
8645 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8647 * lyxfunc.C: use lyx_gui::update_color()
8649 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8655 * lyxrc.C: remove file->new asks for name option, and let
8656 buffer-new take an argument
8658 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8660 * BufferView_pimpl.C: remove unneeded extra repaint()
8662 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8664 * LyXAction.C: allow command-sequence with NoBuffer
8666 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8668 2002-07-10 Angus Leeming <leeming@lyx.org>
8670 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8672 2002-07-09 Angus Leeming <leeming@lyx.org>
8674 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8676 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8678 * lengthcommon.h: whitespace
8680 * lyxfunc.C: update scrollbar after goto paragraph
8682 * lyxtext.h: factor out page break drawing, and fix it so
8683 page break/added space paints as selected nicely
8685 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8687 * BufferView_pimpl.C: add FIXMEs, clean up a little
8689 2002-07-09 André Pönitz <poenitz@gmx.net>
8691 * lyxfont.[Ch]: support for wasy symbols
8693 2002-07-08 André Pönitz <poenitz@gmx.net>
8695 * BufferView_pimpl.C: apply John's patch for #93.
8697 2002-07-05 Angus Leeming <leeming@lyx.org>
8699 * BufferView_pimpl.C (buffer): generate previews if desired.
8701 * LColor.h: add "preview" to the color enum.
8703 * LColor.C (LColor): add a corresponding entry to the items array.
8705 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8708 2002-07-05 Angus Leeming <leeming@lyx.org>
8710 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8711 The body of the code is now in the method that is passed an ostream &
8712 rather than a file name.
8713 Pass an additional only_preamble parameter, useful for the forthcoming
8716 2002-07-03 André Pönitz <poenitz@gmx.net>
8718 * lyxfunc.C: simplify getStatus() a bit for math stuff
8720 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8722 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8724 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * text.C (changeRegionCase): do not change case of all the
8727 document when region ends at paragraph end (bug #461)
8729 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8731 * paragraph.C (startTeXParParams):
8732 (endTeXParParams): add \protect when necessary
8734 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8736 * BufferView_pimpl.C (workAreaExpose): remove warning
8738 2002-06-27 Angus Leeming <leeming@lyx.org>
8740 * Makefile.am: add lyxlayout_ptr_fwd.h.
8742 2002-06-26 André Pönitz <poenitz@gmx.net>
8744 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8746 2002-06-25 Angus Leeming <leeming@lyx.org>
8748 * lyxfunc.C (dispatch): Comment out the call to
8749 grfx::GCache::changeDisplay. The method no longer exists now that the
8750 pixmap generation part of the graphics loader has been moved into
8753 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * text2.C: layout as layout
8757 * text.C: layout as layout
8759 * tabular.C (OldFormatRead): layout as layout
8761 * paragraph_pimpl.C (TeXDeeper): layout as layout
8762 (realizeFont): layout as layout
8764 * paragraph.C (writeFile): layout as layout
8765 (validate): layout as layout
8766 (getFont): layout as layout
8767 (getLabelFont): layout as layout
8768 (getLayoutFont): layout as layout
8769 (breakParagraph): layout as layout
8770 (stripLeadingSpaces): layout as layout
8771 (getEndLabel): layout as layout
8772 (getMaxDepthAfter): layout as layout
8773 (applyLayout): layout as layout
8774 (TeXOnePar): layout as layout
8775 (simpleTeXOnePar): layout as layout
8776 (TeXEnvironment): layout as layout
8777 (layout): layout as layout
8778 (layout): layout as layout
8780 * lyxtextclass.C (compare_name): new functor to work with
8781 shared_ptr, layout as layout
8782 (Read): layout as layout
8783 (hasLayout): layout as layout
8784 (operator): layout as layout
8785 (delete_layout): layout as layout
8786 (defaultLayout): layout as layout
8788 * lyxlayout_ptr_fwd.h: new file
8790 * lyxlayout.C (Read): layout as layout
8792 * lyx_cb.C (MenuInsertLabel): layout as layout
8794 * bufferlist.C (newFile): layout as layout
8796 * buffer.C (readLyXformat2): layout as layout
8797 (parseSingleLyXformat2Token): layout as layout
8798 (insertStringAsLines): layout as layout
8799 (asciiParagraph): layout as layout
8800 (latexParagraphs): layout as layout
8801 (makeLinuxDocFile): layout as layout
8802 (simpleLinuxDocOnePar): layout as layout
8803 (makeDocBookFile): layout as layout
8804 (simpleDocBookOnePar): layout as layout
8805 (getLists): layout as layout
8807 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8809 * CutAndPaste.C (cutSelection): layout as layout
8810 (pasteSelection): layout as layout
8811 (SwitchLayoutsBetweenClasses): layout as layout
8813 * BufferView_pimpl.C (Dispatch): layout as layout
8814 (smartQuote): layout as layout
8816 * BufferView2.C (unlockInset): layout as layout
8818 2002-06-24 André Pönitz <poenitz@gmx.net>
8820 * lyxfunc.C: fix #487
8822 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8826 * lyxfunc.C: remove display_shortcuts, show_banner
8828 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8830 * Buffer_pimpl.C: oops, update on resize
8832 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8839 * BufferView.C: use repaint()
8841 * BufferView_pimpl.h:
8842 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8843 as it's a clearer description. Remove superfluous
8846 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8848 * text.C: fix bug 488. Not ideal, but getting
8849 getWord() to work properly for the insets that
8850 matter is more difficult ...
8852 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8854 * BufferView_pimpl.C:
8857 * lyxfunc.C: remove the six million index lyxfuncs to just
8858 one, and DTRT (bug 458)
8860 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8864 * BufferView_pimpl.h:
8865 * BufferView_pimpl.C: clean up resize() stuff,
8866 and unnecessary updateScreen()s
8868 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8872 * BufferView_pimpl.h:
8873 * BufferView_pimpl.C:
8876 * minibuffer.C: remove focus management of workarea,
8877 not needed. Use screen's greyOut()
8879 2002-06-17 Herbert Voss <voss@lyx.org>
8881 * converter.C: (convert) do not post a message, when converting
8882 fails, let the calling function decide what to do in this case
8884 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8886 * lyxfunc.C: tidy up a little
8888 2002-06-16 <alstrup@diku.dk>
8890 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8891 Got rid of FORMS_H_LOCATION include. Now we are
8894 2002-06-15 LyX Development team <lyx@rilke>
8896 * buffer.[Ch] (sgmlOpenTag):
8897 (sgmlCloseTag): Added support for avoiding pernicious mixed
8898 content. Return number of lines written.
8901 (makeDocBookFile): Fixed calls to sgml*Tag.
8902 Simple white space clean.
8904 (simpleDocBookOnePar): Simple white space clean.
8906 * tabular.[Ch] (docBook): Renamed to docbook and got another
8907 argument to related with the pernicious mixed content.
8909 (docbookRow): Fixed calls for docbook inset method.
8911 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8913 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8914 so it's X11 independent.
8918 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8920 2002-06-15 Lyx Development team <lyx@electronia>
8922 * intl.h: Renamed getTrans to getTransManager.
8924 2002-06-14 Angus Leeming <leeming@lyx.org>
8926 * Makefile.am: nuke forgotten stl_string_fwd.h.
8928 2002-06-12 Angus Leeming <leeming@lyx.org>
8930 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8932 2002-06-13 Angus Leeming <leeming@lyx.org>
8935 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8937 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8939 * kbmap.C (getiso): add support for cyrillic and greek
8941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8945 * BufferView_pimpl.h:
8946 * BufferView_pimpl.C: move bogus scrolling logic
8949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8952 * BufferView_pimpl.C: view->resize() change
8954 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8956 * BufferView_pimpl.C: topCursorVisible
8959 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8963 * lyx_gui.C: move to frontends/
8967 * lyx_main.C: changes from above
8969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8976 * lyx_main.C: minor tidy
8978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8980 * BufferView_pimpl.h:
8981 * BufferView_pimpl.C:
8983 * BufferView.C: make painter() const,
8986 * BufferView2.C: use screen() accessor
8989 * lyx_main.C: some minor cleanup
8991 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8993 * BufferView_pimpl.h:
8994 * BufferView_pimpl.C: remove enter/leaveView,
8997 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9002 * BufferView_pimpl.h:
9003 * BufferView_pimpl.C: only construct screen once,
9006 * lyxrc.C: remove pointless comment
9008 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9011 * BufferView.C: remove active() and belowMouse()
9013 * BufferView_pimpl.h:
9014 * BufferView_pimpl.C: use workarea() not workarea_,
9015 and make it use a scoped_ptr instead
9017 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9019 * lyx_gui.C: add debug message on BadWindow
9021 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9023 * sp_spell.C: fdopen is not part of the C++ standard.
9025 * paragraph.C (InsetIterator): use >= instead of ==
9027 2002-06-07 Angus Leeming <leeming@lyx.org>
9029 Fixes needed to compile with Compaq cxx 6.5.
9030 * BufferView_pimpl.C:
9037 * lyxtextclasslist.C:
9042 all c-library variables have been moved into namespace std. Wrap
9043 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9048 Add a using std::abs declaration.
9050 * kbmap.h (modifier_pair):
9051 * paragraph.h (InsetTable, InsetList):
9052 * lyxfont.h (FontBits):
9053 type definition made public.
9055 * bufferlist.C (emergencyWriteAll): the compiler complains that
9056 there is more than one possible lyx::class_fun template to choose from.
9057 I re-named the void specialisation as lyx::void_class_fun.
9059 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9061 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9062 the compiler is is unable to find tostr in write_attribute.
9064 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9066 * buffer.C (sgmlError): hide #warning
9068 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * xtl/*: get rid of xtl, which is not in use anyway
9072 * LyXAction.C (init):
9073 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9074 were unimplemented xtl experimentation
9076 2002-06-04 André Pönitz <poenitz@gmx.net>
9078 * lyxfunc.C: disable array operation on simple formulae
9080 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9082 * converter.C: constify a bit
9084 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9086 * lyx_gui.C: check xforms version correctly
9088 2002-04-30 Herbert Voss <voss@lyx.org>
9090 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9093 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9095 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9096 attempt to register it with a VCS)
9098 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9100 * lyx_main.C (init): honor variables LYX_DIR_13x and
9103 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9107 * lyx_main.C: fix a crash on bad command line,
9108 and give a useful exit status on error
9110 * lyxfunc.C (doImport): allow -i lyx to work
9112 2002-03-30 André Pönitz <poenitz@gmx.net>
9114 * lyxfunc.C: mathed font changes
9116 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9131 * trans_mgr.h: srcdocs, and some minor cleanups
9133 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9135 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9136 call getFont all the time)
9138 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9140 * switch from SigC signals to boost::signals
9142 2002-05-29 André Pönitz <poenitz@gmx.net>
9144 * paragraph_pimpl.C (getChar): don't call size() too often...
9146 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9148 * paragraph_pimpl.C (insertChar): do not try to update tables when
9149 appending (pos == size())
9151 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9152 in order to reduce drastically the number of comparisons needed to
9153 parse a large document
9155 2002-05-29 André Pönitz <poenitz@gmx.net>
9161 * textclasslist.[Ch]:
9162 * sp_ispell.h: whitespace change
9164 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9166 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9167 lyxaction directly now.
9169 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9173 * lyxvc.C: remove unused headers
9175 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9182 * undo_funcs.C: some cleanups. Use shared_ptr
9183 and a template for the undo stacks.
9185 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.h:
9188 * BufferView_pimpl.C:
9195 * text2.C: use key_state/mouse_state
9197 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9199 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9202 * chset.C: change include order
9203 (loadFile): use boost regex and get rid of LRegex and LSubstring
9205 * Makefile.am (BOOST_LIBS): new variable
9208 * LaTeX.C: change include order.
9209 (scanAuxFile): use boost regex and get rid of LRegex and
9213 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9218 * FontInfo.C: moved to frontends/xforms/
9221 * FontLoader.C: moved into frontends for GUIIzation
9226 * lyxfunc.C: changes from above
9228 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9230 * LColor.C: remove spurious X include
9232 * BufferView_pimpl.C:
9237 * text2.C: move font metrics to frontends/
9239 2002-05-24 Juergen Vigna <jug@sad.it>
9241 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9242 setting the undo_cursor.
9244 * ParagraphParameters.h: include local includes first.
9246 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9248 * BufferView_pimpl.C:
9249 * BufferView_pimpl.h:
9253 * screen.C: move WorkArea into frontends/
9259 * BufferView2.C: move LyXScreen into frontends/
9263 * lyx_gui.C: move lyxlookup into frontends/xforms/
9265 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9268 * BufferView_pimpl.C:
9278 * bufferview_funcs.C:
9291 * vc-backend.C: move LyX/XFormsView into frontends/
9293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9305 * text2.C: move Painter to frontends/
9307 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9309 * buffer.C: comment out some some code that depend upon lyx_format
9312 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9313 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9315 * buffer.h (NO_COMPABILITY): turn off compability
9317 * ColorHandler.C: include scoped_array.hpp
9319 * font.C: Use more specific smart_ptr header.
9322 * ShareContainer.h: ditto
9326 * BufferView_pimpl.h: ditto
9327 * ColorHandler.h: ditto
9329 * kbmap.C (defkey): change call to shared_ptr::reset
9331 2002-05-21 Juergen Vigna <jug@sad.it>
9333 * buffer.C (insertErtContents): fix to insert ert asis if it is
9334 non empty. Skip it completely if it contains only whitespaces.
9336 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9338 * BufferView_pimpl.C:
9339 * BufferView2.C: clear selection on paste (bug 393)
9341 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9343 * DepTable.C: include ctime
9345 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9347 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9349 2002-05-14 Juergen Vigna <jug@sad.it>
9351 * text.C (breakParagraph): fixed function to honor the keepempty
9352 layout in the right maner and also to permit the right breaking
9353 algorithm on empty or non empyt keepempty paragraphs.
9355 * paragraph.C (breakParagraph): we have to check also if the par
9356 is really empty (!size()) for isempty otherwise we do the wrong
9359 2002-05-10 Juergen Vigna <jug@sad.it>
9361 * buffer.[Ch] : The following are only changes to the ert
9362 compatibility read reading old LaTeX layout and font stuff and
9363 convert it to ERTInsets.
9365 * buffer.h: added isErtInset().
9367 * buffer.C (struct ErtComp): add a fromlayout bool to check
9368 if we're inside a LaTeX layout.
9369 (isErtInset): new helper function.
9370 (insertErtContents): look for other ert insets before this one
9371 and insert the contents there, so that we don't have subsequent
9372 ERT insets with nothing between them. This way we create only one
9373 inset with multiple paragraphs. Also check if we don't insert only
9374 spaces ' ' as they are ignored anyway afterwards in the .tex file
9375 so if we have only spaces we will ignore this latex part in the
9377 (parseSingleLyXformat2Token \\layout): better compatibility when
9378 reading layout-latex stuff.
9379 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9381 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9382 stuff after reading the inset only get the information back from
9385 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9387 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9389 * LaTeXFeatures.C (getBabelOptions): New method.
9391 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * BufferView_pimpl.C (Dispatch): work around missing argument for
9396 2002-05-08 Juergen Vigna <jug@sad.it>
9398 * text.C (leftMargin): handle paragraph leftindent.
9400 * paragraph.C (writeFile): write the new \\leftindent tag.
9401 (validate): handle leftindent code.
9402 (TeXEnvironment): handle paragraphleftindent code again.
9404 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9406 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9407 for paragrap_extra indent code and new token \\leftindent.
9408 (latexParagraphs): handle the leftindent as environment.
9410 * ParameterStruct.h: added leftindent support.
9412 * ParagraphParameters.C (leftIndent): added support functions for
9413 the paragraph left indent.
9415 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9418 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9420 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9423 * text.C (computeBidiTables): No bidi in insetERT.
9425 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9428 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * version.C.in: pre 5
9432 2002-05-02 José Matos <jamatos@fep.up.pt>
9433 * buffer.C (makeDocBookFile): white space changes, add newline to
9435 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9437 * tabular.C (docBook): fix typo.
9439 2002-05-03 Juergen Vigna <jug@sad.it>
9441 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9442 change in LyXText as we can not be sure it was not freed.
9443 (drawOneRow): remove unused code.
9445 * text.C (drawInset): redo the calculation of the need_break_row as
9446 it could have a row which was already freed.
9447 (draw): look at the return value of drawInset and return false if
9448 it also returned false.
9449 (paintRowText): look at the return value of draw and return false if
9450 it also returned false.
9452 * lyxtext.h: added bool return type to drawInset() and draw() so that
9453 if we have a change in the row so that the rowbreak has to be redone
9454 we abort drawing as it will be called again.
9456 2002-05-02 Juergen Vigna <jug@sad.it>
9458 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9459 a change in the maintext also if we're inside an inset.
9460 (Dispatch): set the cursor again after a break line and after the
9461 screen has been updated as it could be we're in a different row.
9463 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9464 to set the cursor behind the pargraph with > size().
9465 (setCursor): check also for the same paragraph when checking where
9466 to put the cursor if we have a NFR inset.
9468 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9469 parts of layout read further up as it still was in the wrong
9472 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * screen.C (drawFromTo): change sine fullRebreak always return
9477 * buffer.C (parseSingleLyXformat2Token): reindent some
9479 * BufferView_pimpl.C (update): change since fullRebreak always
9481 (Dispatch): git rid of the last hardcoded "Standard"s.
9483 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * text2.[Ch] (fullRebreak): make it return void now that we always
9488 2002-04-30 Juergen Vigna <jug@sad.it>
9490 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9491 ert compatibility check for "latex" layout.
9493 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9495 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9496 minipages: use col% instead of p%, and also use the current font.
9497 (makeLaTeXFile): Fix use babel condition.
9498 (parseSingleLyXformat2Token): Correct font when reading old floats.
9500 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9502 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9503 inserting list of floats.
9505 2002-04-25 Herbert Voss <voss@lyx.org>
9507 * MenuBackend.C (expand): don't add the graphics extensions to the
9510 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9513 non-existing layout, do not complain if it was the default layout
9514 of the original class (bug #342)
9516 2002-04-24 Juergen Vigna <jug@sad.it>
9518 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9519 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9521 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9523 * buffer.C (getBibkeyList): If using \bibliography, return the
9524 option field with the reference itself. Enables us to provide natbib
9525 support when using \bibliography.
9527 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9529 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9531 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9532 natbib is provided by the LaTeX class.
9534 2002-04-23 Juergen Vigna <jug@sad.it>
9536 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9539 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9541 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9545 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9546 ensuremath around textordmasculine, textordfeminine and
9549 2002-04-19 Juergen Vigna <jug@sad.it>
9551 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9552 reinitializing the buffer otherwise row-dimensions may be wrong.
9553 (update): reset also the selection cursors if they do exits otherwise
9554 their x/y positions may be wrong.
9556 * text2.C (cursorDown): don't enter the inset if we came from a row
9557 above and are one row over the inset.
9559 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9560 really leaving an inset.
9562 2002-04-18 Juergen Vigna <jug@sad.it>
9564 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9565 of the selected paragraph does not have the selected layout also if
9568 * text2.C (setLayout): fixed bug which did not change last selected
9571 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9572 changed the read and substituted \\end_float with \\end_inset!
9574 * BufferView_pimpl.C (cursorPrevious):
9575 (cursorNext): fixed to make it work with rows heigher than the work
9576 area without moving the cursor only the draw of the row.
9577 (workAreaMotionNotify): fix jumping over high rows.
9579 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9581 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9584 2002-04-16 Juergen Vigna <jug@sad.it>
9586 * text2.C (setCursor): set also the irow().
9587 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9589 (cursorDown): support for locking an inset if the x_fix value goes
9590 inside it. That way I can transverse insets too with cursor up/down.
9592 * lyxrow.h: added irow helper function same as other (i) functions.
9594 * BufferView_pimpl.C (cursorPrevious):
9595 (cursorNext): fixed for insets!
9597 2002-04-15 Juergen Vigna <jug@sad.it>
9599 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9600 position otherwise it is wrong in some cases.
9602 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9603 inside the inset before the call.
9605 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9607 * buffer.[Ch] (getBibkeyList): make it const.
9609 2002-04-12 Juergen Vigna <jug@sad.it>
9611 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9613 * text2.C (getCursorX): new helper function
9614 (setCursor): compute also ix_
9615 (setCursorFromCoordinates): set also ix.
9617 * lyxcursor.h: added ix_ and helper functions.
9619 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9621 * buffer.C (insertStringAsLines): dont break paragraph if the this
9622 paragraph is inside an inset which does not permit it!
9624 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9625 also with no chars on this paragraph.
9626 (paintRowText): only paint stuff if it's inside the workarea!
9628 * paragraph.C (breakParagraph): honor keepempty flag and break the
9629 paragraph always below not above.
9631 * BufferView2.C (unlockInset): update the paragraph layout on inset
9632 unlock as we changed paragraph in such a case.
9634 * lyxfind.C (LyXFind): clear the former selection if not found!
9636 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9637 again called in insertChar().
9639 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9640 an inset which uses the whole row!
9641 (rightMargin): ditto.
9642 (insertChar): force a rebreak if we inserted an inset!
9644 2002-03-28 Herbert Voss <voss@lyx.org>
9646 * lyxlength.[Ch]: add inBP() to get the right PS-point
9647 units (BigPoint). With inPixels we have rounding errors
9649 2002-04-11 Juergen Vigna <jug@sad.it>
9651 * text2.C (setCursorFromCoordinates): set iy to the right value.
9652 (setCursor): add check if row->previous exists!
9654 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9655 an old float_type as this was the case in the old code!
9657 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9659 * BufferView2.C (showLockedInsetCursor): use iy
9660 (fitLockedInsetCursor): ditto
9662 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9663 locked insets as there we have the right value now.
9665 * lyxcursor.C: added iy_ variable and iy functions to set to the
9666 baseline of cursor-y of the locked inset.
9668 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9669 (setCursor): fixed for insets which need a full row.
9671 * text.C (rowLastPrintable): don't ignore the last space when before
9672 an inset which needs a full row.
9673 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9674 as last character of a row when before a inset which needs a full row.
9676 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * version.C.in: update date
9680 * text2.C (fullRebreak): try to always return true and see what
9683 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9685 * MenuBackend.C (expand): use Floating::listName
9687 * FloatList.C (FloatList): add listName argument to the built-in
9690 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9691 text associated with the float.
9693 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9697 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9699 * ShareContainer.h: add a couple of missing typenames.
9701 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9703 * lyxrc.C (getDescription): use _() correctly rather than N_().
9705 2002-03-28 Herbert Voss <voss@lyx.org>
9707 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9708 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9710 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9713 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9715 2002-03-29 Juergen Vigna <jug@sad.it>
9717 * lyxfunc.C (dispatch): add a missing fitCursor call.
9719 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9720 it was scrolled by a cursor move, so return the bool status.
9722 * BufferView.C (fitCursor): return the bool flag also to the outside
9723 world as this is needed.
9725 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9727 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9728 call the edit() as it is not needed (and wrong) IMO.
9729 (workAreaButtonPress): set the screen_first variable before evt.
9730 unlock the inset as this may change screen_first and then we have
9731 a wrong y position for the click!
9733 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9735 * MenuBackend.C (expand): another translation that I missed
9737 2002-03-28 Juergen Vigna <jug@sad.it>
9739 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9741 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9743 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9747 * MenuBackend.C (expand): fix export/view/update when there is no
9750 2002-03-27 Herbert Voss <voss@lyx.org>
9752 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9755 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * bufferview_funcs.C (currentState): only show paragraph number
9758 for is DEVEL_VERSION is set.
9760 * lyxfunc.C (dispatch): put warning in INFO channel
9762 * MenuBackend.C (expand): translate the name of floats
9764 * FloatList.C (FloatList): mark the float names for translation
9766 * converter.C (convert): use LibScriptSearch
9768 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9770 * MenuBackend.C (defaults): fix default menu (we might as well get
9773 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9775 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9778 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9780 * lyxvc.C: reorder includes.
9782 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9784 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9787 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9789 * CutAndPaste.C: change layouts earlier on paste
9790 to avoid crashing when calling getFont()
9792 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9794 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9797 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9799 * WorkArea.C: remove 'Pending' debug message.
9801 * most files: ws cleanup
9803 * buffer.[Ch]: ws changes
9805 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9807 2002-03-21 Juergen Vigna <jug@sad.it>
9809 * tabular.C (SetMultiColumn): collapse also the contents of the
9810 cells and set the last border right. Added a Buffer const * param.
9812 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9814 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9817 2002-03-19 Juergen Vigna <jug@sad.it>
9819 * text2.C (clearSelection): reset also xsel_cache.
9821 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9822 where it needs to be called (John tells us to do so too :)
9823 (selectionLost): reset sel_cache.
9825 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9827 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * text2.C (setCursorIntern): put debuging code in INSETS channel
9831 2002-03-19 André Pönitz <poenitz@gmx.net>
9833 * lyxfunc.C: tiny whitespace change
9835 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * ToolbarDefaults.C (init):
9838 * LyXAction.C (init):
9840 * BufferView_pimpl.C (Dispatch):
9841 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9843 2002-03-19 Allan Rae <rae@lyx.org>
9845 * exporter.C (Export): removeAutoInsets before doing anything else.
9846 While I've just introduced a dependency on BufferView this really is
9847 the best place to clean the buffer otherwise you need to cleanup in
9848 a dozen places before calling export or cleanup in a dozen functions
9851 * converter.C (runLaTeX):
9852 (scanLog): Better handling of removeAutoInsets and screen updates.
9854 * lyxfunc.C (dispatch): small whitespace changes
9856 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * WorkArea.C (C_WorkAreaEvent): return a value.
9859 (event_cb): return 1 if we handled the event, 0 otherwise.
9861 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9863 2002-03-18 Juergen Vigna <jug@sad.it>
9865 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9866 (GetAdditionalWidth): ditto.
9870 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9871 inset if we're there actually (probably not used right now but this
9872 is the direction to go for unifying code).
9873 (paste): disable code to clear the selection.
9875 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9876 inside an InsetText and move the check further up as it is in the
9879 * text2.C (pasteSelection): set a selection over the pasted text.
9881 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9883 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9884 and libgraphics to build on Cygwin.
9886 2002-03-15 Juergen Vigna <jug@sad.it>
9888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9889 inserting an Inset into the paragraph. I know this is not the best
9890 fix but we already use current_view in CutAndPaste so we will remove
9891 all of it's using at the same time.
9893 * buffer.C (sgmlError): deactivated function till it is rewritten in
9894 the right mode, now it can create problems.
9896 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9897 before accessing it.
9899 2002-03-14 Juergen Vigna <jug@sad.it>
9901 * undo_funcs.C (textHandleUndo): do the right thing when updating
9902 the inset after the undo/redo.
9904 * text2.C (setCursor): just some testcode for #44 not ready yet.
9906 * undo_funcs.C (textHandleUndo): set the next() and previous()
9907 pointers of the paragraph to 0 before deleting otherwise we have
9908 problems with the Paragraph::[destructor].
9910 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9911 on a paragraph insertion.
9913 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * buffer.C (asciiParagraph): use += operator for char append to
9918 * paragraph.C (getFontSettings): compare >= not just >
9919 (highestFontInRange): ditto
9922 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * paragraph.C: change several algorithm to be more appripriate for
9925 the problem domain. This is lookip in FontList and in the InsetList.
9927 2002-03-13 André Pönitz <poenitz@gmx.net>
9930 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9932 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9937 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9939 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * Painter.C (display): anon helper function, adjust code for this
9943 (pixmap): remove function.
9945 * Painter.h: remove private display variable.
9947 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9949 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9951 * WorkArea.[Ch]: remove figinset_canvas cruft.
9953 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * lyxtextclass.C (operator): add one item cache optimization.
9957 * bufferlist.h: doxy changes
9959 * bufferlist.C: ws changes
9961 * DepTable.[Ch] (ext_exist): place const in the right spot.
9963 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9965 (workAreaExpose): call resizeInsets when the with BufferView changes.
9966 (Dispatch): adjust for protectedBlank removal
9967 (specialChar): call updateInset if the insert went ok.
9969 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9970 specialChar instead.
9972 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9974 * BufferView.h: doxy change
9976 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9978 * lyxtextclass.C (operator[]): remove non-const version
9979 (defaultLayout): remove non-const version
9981 2002-03-12 Juergen Vigna <jug@sad.it>
9983 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9984 did resize the LyXText too.
9986 * buffer.C (readLyXformat2): set layout information on newly allocated
9989 * tabular.C (OldFormatRead): set layout information on the paragraph.
9991 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9993 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9995 2002-03-11 Juergen Vigna <jug@sad.it>
9997 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9999 (resizeCurrentBuffer): force also the insets to resize themselfes.
10000 (moveCursorUpdate): fixed up for InsetText.
10002 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10005 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10006 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10007 value of Dialogs::tooltipsEnabled().
10008 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10010 2002-03-08 Juergen Vigna <jug@sad.it>
10012 * BufferView_pimpl.C (updateInset): update inset inside inset also
10013 if it isn't inside theLockingInset().
10015 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * buffer.C (asciiParagraph): redo some of the word and line length
10019 (getLists): look for Caption instead of caption.
10021 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * buffer.C (Buffer): initialize niceFile to true
10025 (makeLinuxDocFile):
10026 (makeDocBookFile): make sure niceFile is true on exit
10028 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10030 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10032 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10034 * LyXSendto.C: remove.
10035 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10036 * lyx_gui.C: remove now-redundant comment.
10037 * ColorHandler.h: remove forward declaration of class WorkArea.
10038 * lyxfunc.C: remove #include "WorkArea.h".
10040 2002-03-07 Juergen Vigna <jug@sad.it>
10042 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10043 got moved away with the DEPM and also set the inset_owner always
10044 right which before could have been omitted.
10046 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10049 wanted layout is not found.
10051 2002-03-07 Juergen Vigna <jug@sad.it>
10053 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10055 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10057 * paragraph.C (breakParagraph): use default layout not layout of
10059 (Paragraph): clear ParagraphParameters.
10061 2002-03-06 Juergen Vigna <jug@sad.it>
10063 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10064 otherwise it would not be a valid lenght. Fixed a special case in
10065 the minipage compatibility read where we end the document with a
10068 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10069 was set as it could be 0 for InsetTexts first entry.
10071 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * paragraph.C (writeFile): if layout is empty write out
10074 defaultLayoutName().
10076 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10077 file without named layout we set layout to defaultLayoutName().
10079 2002-03-06 Juergen Vigna <jug@sad.it>
10081 * CutAndPaste.C (copySelection): set layout for new paragraph.
10083 * text.C (prepareToPrint): leave ERT inset left aligned
10084 (leftMargin): don't indent paragraphs inside ERT insets
10086 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * paragraph.C (breakParagraph): dont call clear do the work manually
10090 * paragraph.[Ch] (clear): remove function
10092 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * paragraph.C (Paragraph): dont call clear, the work has already
10097 * lyxtextclass.C (operator): assert if n is empty
10099 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10100 work manually instead.
10102 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10104 * BufferView_pimpl.C: protect selectionLost against text == 0
10106 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * text.C (breakParagraph): fix a setting layout to '0' problem.
10110 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10112 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10113 final location of file, for the included files, and graphics.
10115 2002-03-05 Juergen Vigna <jug@sad.it>
10117 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10119 2002-03-04 Juergen Vigna <jug@sad.it>
10121 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10123 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10124 last column of multicolumn cells.
10125 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10127 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10129 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10130 file if it doesn't go to a temporary file.
10132 * buffer.C (sgmlOpenTag):
10133 (sgmlCloseTag): remove extra newline insertion.
10135 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10137 * text.C (getRowNearY): comment out debug msg
10139 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * text2.C: first -> first_y
10143 * text.C (getRowNearY): add some attemts at a possible
10144 optimization, not working.
10146 * tabular.[Ch]: add BufferParams to several function so that newly
10147 created paragraph can be initialized to he default layotu for the
10150 * tabular-old.C (ReadOld): add buf->params to call of Init
10152 * screen.C: rename text->first to text->first_y
10154 * paragraph.C (breakParagraph): always set layout in the broken
10157 * lyxtextclass.C (Read): remove lowercase
10160 (delete_layout): ditto
10162 * lyxtext.h: rename first -> first_y
10164 * lyxlayout.C (Read): remove lowercase
10167 (obsoleted_by): ditto
10169 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10171 * buffer.C (insertErtContents): add params are to InsetERT
10172 (parseSingleLyXformat2Token): add code to check if a paragraphs
10173 layout really exist.
10174 (parseSingleLyXformat2Token): add params to several inset
10176 (asciiParagraph): remove lowercase, do the layout comparisons with
10179 * BufferView_pimpl.C (cursorNext): first -> first_y
10180 (resizeCurrentBuffer): first -> first_y
10181 (updateScrollbar): first -> first_y
10182 (scrollCB): first -> first_y
10183 (workAreaMotionNotify): first -> first_y
10184 (workAreaButtonPress): first -> first_y
10185 (checkInsetHit): first -> first_y
10186 (cursorPrevious): first -> first_y
10187 (cursorNext): first -> first_y
10188 (Dispatch): add buffer_->params to severl inset contructors
10190 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * lyxlayout.C (Read): remove some debug info that I forgot.
10194 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10195 clean up the code slightly.
10196 (makeLinuxDocFile): ditto
10197 (makeDocBookFile): ditto
10199 * text2.C: layout as string
10201 * text.C: layout as string
10203 * paragraph_pimpl.C: layout as string
10205 * paragraph.[Ch]: layout as string
10207 * lyxtextclasslist.[Ch]: layout as string
10209 * lyxtextclass.[Ch]: layout as string
10211 * lyxtext.h: layout as string
10213 * lyxlayout.[Ch]: layout as string
10215 * lyx_cb.C: layout as string
10217 * bufferview_funcs.C: layout as string
10219 * bufferparams.C: layout as string
10221 * buffer.C: layout as string
10223 * LyXView.[Ch]: layout as string
10225 * LaTeXFeatures.[Ch]: layout as string
10227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10229 * BufferView_pimpl.C: change current_layout to string, remove
10234 (workAreaButtonRelease): layout as string
10236 * BufferView2.C (unlockInset): adjust
10238 * vspace.C (asLatexCommand): use an explict temp variable.
10240 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10242 * Makefile.am: use FRONTEND_*
10244 2002-03-01 Juergen Vigna <jug@sad.it>
10246 * tabular.C (SetWidthOfMulticolCell): changed to something better
10247 I hope but still work in progress.
10248 (recalculateMulticolumnsOfColumn): renamed function from
10249 recalculateMulticolCells as it is more appropriate now.
10250 (SetWidthOfCell): calculate multicols better.
10252 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10256 * lyxfunc.C (processKeySym): print sequence also if it is
10257 `deleted' (complete)
10259 * kbsequence.C (print): print sequence even if it is deleted
10260 (complete would be a better word, actually).
10262 * lyxfunc.C (dispatch): print complete options after a prefix key
10264 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10266 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10268 * text2.C (setCharFont): eliminate setCharFont code duplication.
10270 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10273 LFUN_TABULAR_FEATURE (bug #177)
10275 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10277 * Makefile.am: remove figure.h
10279 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10281 * Bufferview_pimpl.C:
10293 * text2.C: remove #include "lyx_gui_misc.h".
10295 * LaTeX.C: added #include <cstdio>
10297 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10300 that the paragraph following this one can have.
10302 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10304 * vspace.C (asLatexCommand): fix bogus gcc warning
10306 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10308 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10310 * text2.C (setLayout): get rid of redundant code
10312 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10314 * text2.C (incDepth): make sure depth cannot be increased beyond
10317 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10319 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10320 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10322 * PainterBase.h (image):
10323 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10324 a LyXImage const *.
10326 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.C:
10331 * BufferView_pimpl.h:
10351 * sp_spell.C: remove fig inset, and the crap house of
10352 cards that follows it
10354 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10359 * os2_errortable.h:
10360 * nt_defines.h: move .h into support/
10362 * vms_defines.h: remove
10364 * WorkArea.C: add space in debug output
10368 * buffer.C: add WITH_WARNINGS
10372 * bufferlist.C: s/retrive/retrieve/, add docs
10381 * chset.C: add docs
10383 * lyxgui.C: add ID to X error handler
10385 * lyxtestclass.c: fix typo
10387 2002-02-26 Juergen Vigna <jug@sad.it>
10389 * tabular_funcs.C (write_attribute): changed so that some default
10390 attributes are not written at all.
10391 (getTokenValue): set default values before trying to read the
10392 value so we have the return value always set as default if we don't
10393 find the token we search for.
10395 * tabular.C (Write): write bools as bools not as strings!
10397 2002-02-22 Juergen Vigna <jug@sad.it>
10399 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10400 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10402 * text.C (leftMargin): don't add an indent for paragraphs inside
10403 tabular cells (fix #208).
10405 2002-02-21 José Matos <jamatos@fep.up.pt>
10407 * tabular.C (docBook): fixed support for long tables.
10409 2002-02-20 Juergen Vigna <jug@sad.it>
10411 * text2.C (getFont): get the drawing font of the Inset if this
10412 paragraph is inside an inset (only important for InsetERT for now).
10414 * buffer.C (insertErtContents): use new lanugage params in ERT
10417 * CutAndPaste.C: commenting out seemingly uneeded code.
10419 2002-02-19 Allan Rae <rae@lyx.org>
10421 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10422 Iterators might be simple to use but they also get invalidated.
10423 (removeAutoInsets): renamed saved cursor tracking variables and added
10424 some comments to clarify what everything does.
10426 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10433 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10434 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10437 * vc-backend.h: remove #include "support/syscall.h"
10441 * converter.C: rearrange #includes in Lars' approved fashion.
10443 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10444 forward declare class Timeout in the header file.
10446 * XFormsView.C: changes due to the above.
10448 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10449 similar to LyXView.
10451 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10452 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10454 2002-02-18 José Matos <jamatos@fep.up.pt>
10456 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10459 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10461 * a lot of small ws changes
10462 * add a lot of using std::XXX
10463 * use std construcs some places where approp.
10464 * use some exisint stuff from lyxfunctional where approp.
10465 * Make file changes to use partial linking (lets test this now...)
10467 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10471 remove #include "support/syscontr.h" as it's redundant. Always has been.
10479 change Systemcalls::System to Systemcalls::Wait and
10480 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10481 No change of functionality, just reflects the stripped down Systemcalls
10484 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10486 * debug.[Ch]: add a GRAPHICS type to the enum.
10488 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10492 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10495 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10498 match the changes below.
10500 * text2.C (toggleInset): if there is not editable inset at cursor
10501 position, try to see if cursor is _inside_ a collapsable inset
10504 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10507 document menu has a nice checkbox
10509 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * lyxlength.C (asLatexString): change PW to output as percent of
10514 * lengthcommon.C: change '%' to 't%'
10516 * lyxfunc.C (dispatch): a few comments from Martin
10518 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10522 * BufferView_pimpl.h:
10523 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10526 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * vspace.C (inPixels): fix compiler warning
10530 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10532 * lyxfunc.C (getStatus): fix status message for disabled commands.
10534 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10536 * BufferView_pimpl.C: fix crash on close buffer
10537 during selection (#227)
10539 2002-01-27 Herbert Voss <voss@lyx.org>
10541 * buffer.C: link old Figure to new graphic inset
10543 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10545 * FontLoader.C (getFontinfo): Change the latex font names in order
10546 to match the names of type1inst.
10548 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10552 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10553 (extchanged): ditto
10555 (remove_files_with_extension): ditto
10556 (remove_file): ditto
10559 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10560 document is smaller than the work area height. Do not initialize
10561 static variables to 0.
10563 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10567 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10568 LFUN_LAYOUT_PARAGRAPHS.
10570 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10571 tabular. It is possible to provide a possible cell, which will
10572 typically be the actcell from the corresponding insettabular
10574 * lyxfunc.C (getStatus): small cleanup; disable
10575 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10578 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10582 * paragraph.C (startTeXParParams):
10583 (endTeXParParams): new methods. The LaTeX code to
10584 start/end paragraph formatting
10585 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10586 empty (fixes bug #200)
10588 * vspace.C (inPixels): adapt to the change below
10589 (inPixels): [later] more cleanups (remove unused variables)
10591 * lyxlength.C (inPixels): change to use a width and a height as
10594 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10597 Replaced with \paperwidth
10599 * DepTable.C (insert): add std:: qualifier
10601 2002-01-18 Allan Rae <rae@lyx.org>
10603 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10606 * text.C (drawInset): Turned out I didn't know enough about how
10607 rebreaking worked. This fixes most of the redraw problems. I see
10608 an occasional cursor trail when a line is broken now and the cursor
10609 placement can seem out by a few pixels also after a rebreak.
10611 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * buffer.C (parseSingleLyXformat2Token): update because minipage
10614 width is now a LyXLength
10616 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10618 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10621 2002-01-17 Juergen Vigna <jug@sad.it>
10623 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10625 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10626 is set correctly and the inset is updated correctly.
10628 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10631 the beginning of the loop.
10633 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10635 * lyxrc.C: improve help for use_scalable_fonts
10637 2002-01-17 Allan Rae <rae@lyx.org>
10639 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10641 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10644 make sure to set their inset_owner to the right value (bug #171)
10646 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10649 * DepTable.C: Implement mtime checking to reduce time spent doing
10652 2002-01-16 Juergen Vigna <jug@sad.it>
10654 * tabular.C (GetAdditionalHeight): one of error fixed.
10656 * lyxrc.C (output): small fix in writing use_pspell.
10658 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10660 * sp_base.h: #include LString.h
10662 2002-01-16 Allan Rae <rae@lyx.org>
10664 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10665 Can someone check this please?
10667 * text.C (drawInset): It was possible that p.row would be removed by
10668 breakAgainOneRow upsetting a few other settings. There may be another
10669 small tweak possible by setting need_break_row = 0 when p.row has been
10670 removed but I don't know enough about the logic here.
10672 2002-01-15 Allan Rae <rae@lyx.org>
10674 * text.C (insertChar): removed conditional truism.
10676 * BufferView2.C (removeAutoInsets): More tweaks.
10677 cur_par_prev could be a stray pointer. Check for trailing empty line
10678 in case last line was cur_par and only had an error inset on it.
10680 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10682 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10685 * vc-backend.C (most methods):
10686 * exporter.C (Export):
10687 * converter.C (convert):
10689 * LyXSendto.C (SendtoApplyCB):
10690 * lyxfunc.C (dispatch):
10694 * lyx_cb.C (AutoSave):
10696 * BufferView_pimpl.C (MenuInsertLyXFile):
10697 * buffer.C (runChktex): use Buffer::filePath().
10699 * buffer.h: rename filename to filename_; rename filepath to
10700 filepath_ and make it private
10701 (filePath): new method
10703 * buffer.C (writeFile): use fileName()
10706 * lyx_main.C (init): fix starting of LyX when the binary is a
10707 link from so,ewhere else.
10709 * minibuffer.C: include <cctype> for isprint
10711 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10713 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10714 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10715 name clash with InsetCollapsable's width function.
10717 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * lastfiles.C: include <iterator>
10721 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10723 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10726 * buffer.C (makeLaTeXFile): ditto.
10727 Also make loop operation more transparent.
10729 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10731 * ToolbarDefaults.C: remove trailing comma closing namespace.
10733 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10735 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10738 * trans.C (Load): comment out unused variable, allowed.
10740 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10742 * minibuffer.[Ch] (append_char): new method to recieve input from the
10743 drop-down completion browser. If a key was pressed, then recieve this
10744 char and append it to the existing string.
10745 (peek_event): modify the positioning data passed to the completion
10746 browser so that it can be placed above the minibuffer rather than below.
10747 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * LyXAction.C (init): alloe error-next for readonly documents.
10751 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10754 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * bufferlist.C (readFile): create the buffer _after_ checking that
10759 * lyxfunc.C (verboseDispatch): fix handling of arguments
10761 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10763 * lyxrc.C: use string::erase() instead of initializing to "".
10766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10768 * BufferView_pimpl.h:
10769 * BufferView_pimpl.C:
10772 * text2.C: tell X when we have made a selection for copying
10774 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * BufferView_pimpl.C (MenuInsertLyXFile):
10777 * lyxfunc.C (menuNew):
10779 (doImport): add shortcuts to directory buttons
10781 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10784 * lyxfunc.C (setStatusMessage):
10785 (getStatusMessage): new methods
10786 (getStatus):use setStatusMessage instead of setErrorMessage
10787 (dispatch): when function is disabled, set error message here
10788 [instead of in getStatus previously]
10790 * BufferView_pimpl.C (workAreaButtonRelease): update
10791 toolbar/menubar here too.
10793 2002-01-13 Allan Rae <rae@lyx.org>
10795 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10796 Now seems indestructible. Remaining task is to audit all other
10797 code affected by deleteEmptyParagraphMechanism. One small quirk
10798 left is that an empty document with an error in the preamble can
10799 be made to report an error but no error box appears. I don't know
10801 (removeAutoInsets): Improved comments.
10803 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10806 * Thesaurus.C: update for Aiksaurus 0.14
10808 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10810 * text2.C (firstParagraph): removed member function, all uses
10811 replaces with ownerParagraph
10812 (redoParagraphs): here
10813 (updateInset): here
10814 (toggleAppendix): here
10815 * BufferView2.C (insertErrors): here
10816 (setCursorFromRow): here
10818 2002-01-13 Allan Rae <rae@lyx.org>
10820 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10821 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10822 There is still a way to segfault this although you may have to do this
10823 multiple times: Have an InsetERT with an unknown command in it.
10824 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10825 <down-arrow>, <Enter> again, View->DVI, BANG!
10827 * text2.C (setCursor):
10828 (deleteEmptyParagraphMechanism):
10829 * lyxtext.h (setCursor):
10830 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10831 Making use of the return value may help fix other bugs.
10833 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10837 * LyXView.C (updateMenubar): call MenuBar::update here
10838 (updateToolbar): but not here
10839 (showState): do not update toolbar/menubar
10841 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10842 should need to care about that.
10844 * lyxfunc.C (verboseDispatch): simplify a bit
10845 (getStatus): have a version which takes a pseudoaction, and
10846 another which requires a (kb_action,string).
10848 * LyXAction.C (retrieveActionArg): make it work also when action
10849 is not a pseudo-action.
10850 (getActionName): simplify a bit
10853 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * lyxfunc.C (verboseDispatch): new families of methods with
10856 several ways to specify a command and a bool to indicate whether
10857 the command name and shortcut should be displayed in minibuffer
10858 (eventually, we could extend that to a finer bitmask like
10859 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10860 (dispatch): the pristine dispatch command which just, well,
10861 dispatchs! Note it still sets its result to minibuffer; I'm not
10864 * lyxfunc.h: remove setHintMessage
10866 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10868 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10870 * BufferView_pimpl.C (specialChar): delete new inset if we have
10871 not been able to insert it.
10873 * kbmap.C: revert to using int instead of kb_action, since all we
10874 are dealing with is pseudo-actions.
10876 * LyXAction.C (searchActionArg): change to return int instead of
10877 kb_action, since the result is a pseudoaction.
10879 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10881 * buffer.C (insertErtContents): Fix (partially) the font bug.
10883 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10885 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10886 as the other one is broken on my machine!
10888 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10891 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10893 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10895 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10896 reflect their actual use. Provide compatibility code for older lyxrc
10899 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10901 change names of popup font variables in line with the changes to lyxrc.C
10903 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10905 * buffer.C (asciiParagraph): avoid outputing a word twice after
10908 * lyxrc.C (getDescription): document that document_path and
10909 template_path can be empty.
10911 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * LaTeXFeatures.C (getMacros):
10914 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10916 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10918 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10920 (getPackages): rename feature "floats" to "float". Use an array to
10921 iterate over 'simple' features (i.e. just a \usepackage). Add
10922 handling of "amsmath" (renamed from "amsstyle").
10924 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10926 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10929 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10931 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10932 FuncStaus::FuncStatus & FuncStaus::some_method().
10934 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10936 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10937 of the func_satus stuff. Edited and massaged in various ways by
10940 * lyxfunc.C (getStatus): use FuncStatus
10942 2002-01-08 Juergen Vigna <jug@sad.it>
10944 * text.C (nextBreakPoint): use function Inset::isChar().
10946 * paragraph.C (TeXOnePar): use function
10947 Inset::forceDefaultParagraphs.
10949 * buffer.C (latexParagraphs): use function
10950 Inset::forceDefaultParagraphs.
10952 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10954 * lyx_gui.C (init): set the style of the menu popups to
10955 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10957 2002-01-07 Juergen Vigna <jug@sad.it>
10959 * text.C (setHeightOfRow): small fix
10960 (prepareToPrint): don't look at alignment if we don't have the place
10963 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10965 * box.C: New file. Move the Box methods and functions out of box.h,
10966 following Lars' suggestion.
10968 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10970 * box.h: #include "support/LOstream.h", needed for inlined function.
10973 * lyxtextclasslist.C: added some using std declarations.
10975 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10977 * box.h: make signed dimensions to allow insets wider than
10978 the screen (bug #162)
10980 * BufferView_pimpl.C: add some insetHit debug
10982 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10984 * vc-backend.C: add FIXME
10986 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10988 * lyxfunc.C (getStatus): enable code for showing math font status
10991 2002-01-07 Juergen Vigna <jug@sad.it>
10993 * text.C (nextBreakPoint): removed debug output not needed anymore.
10995 2002-01-06 Juergen Vigna <jug@sad.it>
10997 * text.C (nextBreakPoint): fixed up this function we had this bug
10998 since ever but now hopefully we break row better.
10999 (insertChar): we have to check if an inset is the next char as it
11000 could now happen that a large inset is causing a break.
11002 2002-01-05 Juergen Vigna <jug@sad.it>
11004 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11005 if it doesn't like to be drawed.
11007 2002-01-04 Juergen Vigna <jug@sad.it>
11009 * BufferView2.C (lockInset): forgot to set a cursor.
11011 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11013 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11015 * FormMathsPanel.C:
11018 * form_maths_panel.C:
11019 * form_maths_panel.h:
11020 * form_maths_panel.fd: implemented sub- and super- buttons in math
11023 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11024 (or ^ space) to be used as in TeX (req'd by André).
11026 * lyxfunc.C: Allow ^ and _ again to be used both as
11027 super/subscript (mathed) and as themselves (in text).
11029 2002-01-03 Allan Rae <rae@lyx.org>
11031 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11032 "LyX" or the filename of the current buffer if it has one. This is a
11033 modified form of John Levon's patch.
11035 * XFormsView.C (setWindowTitle): also set icon title.
11037 * LyXView.h (setWindowTitle): signature changed.
11038 * XFormsView.h (setWindowTitle): ditto.
11040 2002-01-02 Juergen Vigna <jug@sad.it>
11042 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11044 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * screen.C (topCursorVisible): introduce a temp var for
11047 text->cursor.row(), handle the case where this row is null. (kindo
11050 * text2.C (setCursor): add a couple of asserts.
11052 * paragraph.h (inset_iterator): add -> operator
11054 * paragraph.[Ch] (autoDeleteInsets): remove member function
11056 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11057 cursor pos correctly and handle inset deletion by itself.
11058 (insertErrors): move iterator declaration out of for expression
11060 * lyxtextclass.C: add <algorithm>
11062 * Makefile.am: added the new files to sources, removed layout.C
11064 * layout.C: removed file
11066 * layout.h: remove LYX_DUMMY_LAYOUT
11068 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11072 * lyxtextclass.[Ch]:
11073 * lyxtextclasslist.[Ch]: new files
11075 * include order changes to a lot of files, also changes because of
11078 2001-12-27 Juergen Vigna <jug@sad.it>
11080 * buffer.C (asciiParagraph): more fixes.
11082 * tabular.C (ascii): make ascii export support export of only the
11083 data separated by a column-delimiter.
11084 (ascii): better support for ascii export.
11086 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11088 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11090 * tabular_funcs.C: use a "using std::getline" instead of the
11091 previous fix from Angus (necessary for cxx + lyxstring)
11093 2001-12-24 Juergen Vigna <jug@sad.it>
11095 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11097 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11098 problems. First check a minipage also if we have some ert-contents
11099 (not only on par->size(), second set the right depth of the paragraph
11100 on the relink to the root-paragraph-list!
11102 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11103 which then did not anymore update the main paragraphs on undo/redo!
11105 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11108 code. Support all font-changing funcs (even those which are not in
11109 menu currently). Support for reporting font settings in
11110 mathed (disabled until Andre provides a function on mathed's side).
11112 * func_status.h (toggle): small helper function to set toggle
11115 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11117 * tabular_funcs.C: getline -> std::getline
11119 2001-12-21 Juergen Vigna <jug@sad.it>
11121 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11122 accessed and could be 0 (I couldn't generate this but it seems
11125 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11128 * tabular_funcs.h: here and include iosfwd
11130 2001-12-20 Juergen Vigna <jug@sad.it>
11132 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11133 inside inset but undo_par was.
11135 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * Thesaurus.C: always include <config.h> in sources.
11141 * box.h: do not include <config.h> in header files
11143 * text.C (paintLastRow): remove unused variable
11145 * text.C (transformChar):
11147 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11149 * Painter.C (text):
11150 * font.C (width): rewrite to use uppercase() instead of
11153 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11155 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11157 * lyxfind.C: clean up of find failure position change
11159 2001-12-20 Juergen Vigna <jug@sad.it>
11161 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11163 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11164 (TeXRow): added to LaTeX a single tabular row.
11165 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11166 (Latex): simplified and finally good LT-h/f support.
11167 (various_functions): just small adaptions for LT-h/f support.
11169 * tabular_funcs.[hC]: added and moved here all not classfunctions
11172 2001-12-19 Juergen Vigna <jug@sad.it>
11174 * tabular.[Ch]: better support for longtabular options (not finished
11177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * text.C (paintLastRow): use the label font instead of the font of
11180 the last character to compute the size of *_BOX. This makes more
11181 sense and avoids a crash with empty paragraphs.
11182 Use Painter::rectangle to draw EMPTY_BOX.
11184 2001-12-19 Juergen Vigna <jug@sad.it>
11186 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11187 the paragraphs if the replaced paragraph is not the first one!
11188 Tried to delete not used paragraphs but does not work yet so for
11189 now it's inside #ifdef's and by default off!
11191 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11193 * MenuBackend.C: include "lyx_main.h" instead of declaring
11194 lastfiles (actually was declared as LastFiles* instead of a
11197 2001-12-17 Juergen Vigna <jug@sad.it>
11199 * tabular.C (AppendColumn): applied John's fix
11201 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11205 * BufferView_pimpl.h:
11206 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11209 * box.h: new start of class for above
11211 * lyxfunc.C: ignore space-only minibuffer dispatches.
11212 Show the command name when it doesn't exist
11214 * minibuffer.C: don't add empty lines to the history
11216 * minibuffer.C: add a space on dropdown completion
11218 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11220 * text.C: fix line above/below drawing in insets
11222 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * lyxlength.C (LyXLength): Initialize private variables.
11226 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11229 when inserting error insets.
11231 2001-12-13 Juergen Vigna <jug@sad.it>
11233 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11234 actually sometimes the before-paragraph.
11235 (setUndo): don't clear the redostack if we're not actually undoing!
11237 2001-12-06 Juergen Vigna <jug@sad.it>
11239 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11240 and fixed redoing of main paragraph, so we can use it now ;)
11242 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11244 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11249 2001-12-13 André Pönitz <poenitz@gmx.net>
11252 * undo_func.C: minor cleanup
11254 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11257 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11258 font in urw-fonts package which is marked as -urw-fontspecific and
11259 does not work (incidentally, changing the encoding in the
11260 fonts.dir of this package to -adobe-fontspecific fixes the
11263 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11264 is a crash when undoing first paragraph (Juergen, please take a
11265 look). THis does not mean the undo fix is wrong, just that it
11268 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11269 the (Paragraph*) version when needed instead of duplicating the
11272 * text.C (workWidth): use Inset::parOwner to find out where the
11273 inset has been inserted. This is a huge performance gain for large
11274 documents with lots of insets. If Inset::parOwner is not set, fall
11275 back on the brute force method
11277 * paragraph_pimpl.C (insertInset):
11278 * paragraph.C (Paragraph):
11279 (cutIntoMinibuffer): set parOwner of insets when
11280 inserting/removing them
11282 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11284 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11290 * mathed/formulabase.C:
11291 * mathed/math_cursor.[Ch]:
11292 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11295 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * lyxlength.[Ch] (operator!=): new function
11299 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * text.C (workWidth): use Inset::parOwner to find out where the
11302 inset has been inserted. This is a huge performance gain for large
11303 documents with lots of insets. If Inset::parOwner is not set, fall
11304 back on the brute force method
11306 * paragraph_pimpl.C (insertInset):
11307 * paragraph.C (Paragraph):
11308 (cutIntoMinibuffer): set parOwner of insets when
11309 inserting/removing them
11311 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11313 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * tabular-old.C (getTokenValue):
11316 * tabular.C (getTokenValue):
11317 (write_attribute): new versions for LyXLength
11318 (everywhere): adjust the use of widths
11320 * tabular.h: change the type of widths from string to LyXLength
11322 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11324 * paragraph.C: fixed missing line number count when exporting
11325 Environments to LaTeX file
11327 * buffer.C: added informational message for checking line numbers.
11329 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11332 paragraph, do the 'double space' part, but not the 'empty
11335 * text.C (workWidth): small optimization
11336 (getLengthMarkerHeight): use minimal size for negative lengths.
11338 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11340 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11342 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11344 2001-12-11 André Pönitz <poenitz@gmx.net>
11347 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11349 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11351 * text2.C: keep selection on a setFont()
11353 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11355 * lyx_cb.C: another bv->text misuse, from insert label
11357 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11360 * kbsequence.C: re-instate nmodifier mask
11362 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11364 * lyx_main.h: make lyxGUI private.
11366 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11368 * lyxfind.C: place the cursor correctly on failed search
11370 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * text.C (getLengthMarkerHeight): for small heights, the arrows
11373 are not always on top/bottom of the text
11374 (drawLengthMarker): smaller arrows; take the left margin in
11375 account; draw also vfills.
11377 (paintLastRow): remove special code for vfill and standard spaces,
11378 since everything is handled in drawLengthMarker now.
11380 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * buffer.C (insertErtContents): try to handle font and language
11383 interaction a bit better.g
11385 * ColorHandler.C (updateColor): change the hash to cover the whole
11386 LColor enum, ws cleanup
11387 (getGCLinepars): ditto
11388 (getGCLinepars): only lookup in the linecache once.
11390 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11392 * iterators.C (operator++): Make the iterator more robust
11394 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11401 * text.C: better added space drawing
11403 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11406 * BufferView2.C: fix layout combo update on inset unlock
11408 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11410 * Makefile.am: don't compile unused files
11412 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11416 * LyXAction.C: remove old LFUN_LAYOUTNO
11418 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11420 * paragraph_pimpl.h:
11421 * paragraph_pimpl.C: isTextAt() doesn't need font param
11423 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11426 * lyxlex.C: little cleanup
11428 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11430 * BufferView_pimpl.C: fix insertAscii for insets
11432 2001-12-05 Juergen Vigna <jug@sad.it>
11434 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11435 set the right font on the "multi" paragraph paste!
11437 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * lyxlength.C: remove out-commented code.
11445 * BufferView_pimpl:
11459 * vc-backend.C: change "while(" to "while ("
11461 * lyxlength.[Ch]: add zero function to check if length is zero or
11463 * lyxgluelength.C: use it
11465 2001-12-05 Allan Rae <rae@lyx.org>
11467 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11468 Works for 2.95.3, from what I understand of Garst's reports this should
11469 work for other g++ versions. We're screwed if the abs(int) definition
11470 changed between bugfix releases of gcc.
11472 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11474 * text.C: fix chapter label offset !
11476 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11479 * text.C: fix hfill at end of line, clean up
11481 2001-12-04 Juergen Vigna <jug@sad.it>
11483 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11484 that we force an update of the inset and it's owners if neccessary.
11486 2001-12-03 Juergen Vigna <jug@sad.it>
11488 * text.C (rowLast): simplified code
11490 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11492 * lyxfunc.C: fix show options on timeout
11494 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * screen.C (topCursorVisible): scroll half a page when the cursor
11497 reached top of bottom of screen
11499 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11501 * minibuffer.C: deactivate on loss of focus
11503 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11505 * vspace.[Ch] (operator!=): add operator.
11507 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11509 * BufferView_pimpl.C: refuse to open an inset when
11510 there's a selection.
11512 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11514 * BufferView_pimpl.C: allow to click on RHS of full row insets
11516 2001-11-30 Juergen Vigna <jug@sad.it>
11518 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11519 insets for undo reasons.
11521 2001-11-28 André Pönitz <poenitz@gmx.net>
11523 * vspace.[Ch]: cosmetical changes
11525 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11535 * kbsequence.C: part re-write of old kb code
11538 * WorkArea.C: remove Lgb_bug_find_hack
11540 2001-11-30 José Matos <jamatos@fep.up.pt>
11542 * buffer.C (makeDocBookFile): add a comment to point a hack.
11543 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11544 Fixed a double write of labels.
11546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11549 * LaTeX.h Fixed bug in LaTeX class where it would not
11550 re-run latex if no depfiles were changed, but the .dvi was removed.
11552 2001-11-28 André Pönitz <poenitz@gmx.net>
11554 * all the files from the change on 2001/11/26:
11555 use lyx::layout_type instead of LyXTextClass::size_type
11556 use lyx::textclass_type instead of LyXTextClassList::size_type
11558 2001-11-29 Juergen Vigna <jug@sad.it>
11560 * text.C: added support for paragraph::isFreeSpacing()
11562 * buffer.C: same as above
11564 * paragraph.h: inserted isFreeSpacing() function to enable
11565 FreeSpacing inside InsetERT.
11567 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11568 of the paragraph's in the cut/copy buffer to 0!
11570 * text2.C (removeRow): remove the assert as it can!
11572 * lyxtext.h: added helper function firstRow returning firstrow and
11573 made firstrow private again.
11575 * BufferView2.C (lockInset): don't relock if we're already locked!
11577 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11578 the only paragraph.
11579 (removeRow): added Assert::(firstrow)
11581 * debug.C: forgot to add INSETTEXT here.
11583 2001-11-28 Juergen Vigna <jug@sad.it>
11585 * sp_spell.C (initialize): changed error text to more general
11586 spellchecker command use (not only ispell!)
11588 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11590 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11594 * vspace.C: initialise lyxgluelength on failure
11596 2001-11-28 Allan Rae <rae@lyx.org>
11598 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11599 declaration & definition that looks like a function declaration.
11601 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11603 * BufferView2.C (copy):
11604 (copyEnvironment): do not clear the selection when doing a copy.
11606 * text.C (paintFirstRow): compilation fix
11608 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11610 * tabular.C (Latex): correct line count when writing latex.
11612 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11614 * paragraph_pimpl.h:
11615 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11618 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11622 * LColor.C: change vfillline->added_space
11624 * text.C: add markers and text for added space
11626 * vspace.C: fix comment
11628 2001-11-28 André Pönitz <poenitz@gmx.net>
11630 * paragraph.C: whitespace changes
11631 * all the other files from the change on 2001/11/26:
11632 change *::pos_type into lyx::pos_type
11634 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11636 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11637 language of the document when inserting error insets.
11639 2001-11-26 André Pönitz <poenitz@gmx.net>
11641 * BufferView_pimpl.[Ch]:
11649 * paragraph_pimpl.[Ch]:
11652 * text2.C: reduce header dependencies, introduce type for positions
11654 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11656 * <various>: change to use Alert.h
11658 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11660 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11661 when encountering an unknown token.
11662 (readLyXformat2): Show an error message if there were unknown tokens.
11664 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11667 * BufferView_pimpl.C:
11671 * text2.C: use par->isInset()
11673 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11675 * paragraph_pimpl.h:
11676 * paragraph_pimpl.C: cleanup
11678 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11680 * text2.C (removeRow):
11681 * text.C (setHeightOfRow): remove useless (and costly) call to
11684 2001-11-20 Allan Rae <rae@lyx.org>
11686 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11687 Now need Inset*::checkInsertChar() to return true for appropriate
11688 cases so that the characters in the minibuffer will actually be
11691 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * text.C: change the order of the includes.
11694 (workWidth): initialize it at once.
11695 (workWidth): make maxw unsigned
11696 (setHeightOfRow): remove unused variable (inset)
11697 (selectSelectedWord): remove unused variable (inset)
11698 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11700 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11702 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11703 server is not running.
11705 (closeConnection): add debug info when server is disabled.
11707 * ColorHandler.C (getGCForeground): send debug message to GUI
11710 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11712 * kbmap.C (bind): modify because return conventions of
11713 kb_sequence::parse have changed.
11715 * kbsequence.C (parse): only ignore spaces and not any stupid
11716 control character. This avoids tests like s[i] <= ' ', which are
11717 guaranteed to fail with 8bit characters and signed chars.
11718 Change return code to string::npos when there have been no error
11719 (0 was a bad idea when error is at first character)
11721 2001-11-14 José Matos <jamatos@fep.up.pt>
11724 * buffer.C (simpleDocBookOnePar): removed unused argument.
11726 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11729 insets which are part of a word. Paragraph::isLetter takes care of
11730 that now. Use Paragraph::isInset to identify insets.
11731 (selectSelectedWord): do not test for hyphenation break.
11733 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11734 that protected spaces are considered as spaces.
11736 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11739 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11742 * lyxserver.C: fix it. and small cleanup.
11744 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11746 * BufferView_pimpl.C: use inline helpers
11749 * LaTeXFeatures.C: fix typos
11752 * Spacing.C: move spacing_string into class
11754 * ToolbarDefaults.C: move stuff into namespace anon
11756 * layout.h: update enum
11758 * lyxfunc.C: use better debug
11760 * minibuffer.h: fix typo
11764 * WorkArea.C: add and use Debug::WORKAREA
11768 * text2.C: code re-organisation, inline helpers
11770 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11772 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11773 std::vector.empty().
11775 2001-11-09 Allan Rae <rae@lyx.org>
11777 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11778 '\n's after tables. Tabular and ERT inset work now makes this no
11781 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11784 * minibuffer.C: fix crash, improve drop-down completion
11786 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11789 * lyxserver.C: invalidate fd's when doing endPipe()
11791 2001-11-08 José Matos <jamatos@fep.up.pt>
11793 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11794 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11797 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11799 2001-11-07 José Matos <jamatos@fep.up.pt>
11802 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11805 * buffer.C (sgmlOpenTag):
11806 * buffer.C (sgmlCloseTag): removed debug info.
11808 * buffer.h (sgmlOpenTag):
11809 * buffer.h (sgmlCloseTag): made public.
11811 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11813 * buffer.C (saveParamsAsDefaults):
11814 * lyx_cb.C (MenuLayoutSave): remove
11816 * LyXAction.C (init):
11818 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11820 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * buffer.C (setPaperStuff): removed from here...
11824 * bufferparams.C (setPaperStuff): ... and moved there.
11826 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11830 * XFormsView.C: add support for drop-down completion
11832 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11834 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11837 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11842 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11844 * lyx_main.C: change ref to known bugs
11846 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11848 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11849 to work around older babel problems.
11851 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11853 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11855 2001-10-24 Juergen Vigna <jug@sad.it>
11857 * tabular-old.C (ReadOld): below variable changes reflected.
11859 * tabular.[Ch]: added ltType struct for longtable header/footer
11860 defines and changed all instances where they are used. Added
11861 future support for double top/bottom rows.
11863 2001-10-24 José Matos <jamatos@fep.up.pt>
11865 * buffer.h (docbookHandleCaption):
11866 * buffer.C (docbookHandleCaption): removed unused function.
11867 (makeDocBookFile): moved docbook supported version to v4.1.
11869 2001-10-24 José Matos <jamatos@fep.up.pt>
11872 * tabular.C (docbookRow): new function to export docbook code of a row.
11873 (DocBook): now honors the longtable flags.
11875 2001-10-23 José Matos <jamatos@fep.up.pt>
11878 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11879 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11881 * buffer.C (makeLinuxDocFile):
11882 (makeDocBookFile): reworked the preamble, more clean, and with
11883 support for lyx defined entities. Changed the document declaration
11884 to be more XML friendly.
11886 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11887 if we need to output XML that should be done with a filter.
11889 2001-10-22 Juergen Vigna <jug@sad.it>
11891 * sp_pspell.h (class PSpell): add alive function needed in the
11892 controller to see if the spellchecker could be started.
11894 2001-10-22 Juergen Vigna <jug@sad.it>
11896 * buffer.C (insertStringAsLines): modify the font for inserting
11897 chars in certain conditions by calling checkInsertChar(font).
11899 2001-10-19 Juergen Vigna <jug@sad.it>
11901 * text.C (workWidth): use getRow instead of wrong algorithm.
11902 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11904 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11909 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11911 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * text.C (workWidth): do not search for the exact row when
11914 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11915 optimization for big documents.
11917 2001-10-18 Juergen Vigna <jug@sad.it>
11919 * text.C (workWidth): new function with added Inset * parameter.
11921 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11923 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11925 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11926 change return type of getColumnNearX.
11929 * text.C (changeRegionCase): use uppercase/lowercase instead of
11932 (rightMargin): simplify code by factoring out the uses of
11937 (appendParagraph): use Paragraph::size_type
11939 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11941 * vspace.C (asLatexString): add a missing break
11943 2001-10-15 Herbert Voss <voss@perce.de>
11945 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11947 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11949 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11952 2001-10-10 André Pönitz <poenitz@gmx.net>
11954 * lyxfunc.C: removed greek_kb_flag.
11956 2001-10-10 Herbert Voss <voss@perce.de>
11958 * lyx_main.C: delete global string help_lyxdir.
11960 2001-10-09 Herbert Voss <voss@perce.de>
11962 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11964 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11966 * lyx_main.C: added global string help_lyxdir.
11968 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11970 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11972 * lyxrc.C (set_font_norm_type): support iso8859-4
11974 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11976 * LaTeX.C (deplog): add another regex for MikTeX
11978 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11980 * lyxrc.C (set_font_norm_type): support iso8859-3
11982 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11986 * LaTeXFeatures.C: remove special case of french and index
11988 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11989 before \begin{document}). This solves several incompatibilities.
11991 2001-10-03 Garst Reese <reese@isn.net>
11993 * lyx_cb.C: change CheckTex error msg.
11995 2001-10-03 José Matos <jamatos@fep.up.pt>
11997 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11999 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12001 * .cvsignore: update
12003 * lyx_main.C (commandLineVersionInfo): use new style version info.
12005 * buffer.C (writeFile):
12007 (makeLinuxDocFile):
12008 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12010 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12012 * version.h: update to use stuff in version.C
12014 * version.C.in: new file. Contains version information determined
12015 at compile time. This is a merging of version.h and
12018 2001-10-03 Juergen Vigna <jug@sad.it>
12020 * BufferView_pimpl.C (update): don't change "dirty" status in
12023 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12025 * WorkArea.C (c-tor): re-position version string slightly.
12027 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12029 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12030 revert to previous code.
12032 WorkArea.[Ch]: (show, destroySplash): methods removed.
12034 WorkArea.C: rework code so that it's an amalgam of the codes before and
12035 after the splash screen was moved to WorkArea.
12037 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12040 * vspace.C (inPixels):
12043 * buffer.C (insertStringAsLines):
12044 (asciiParagraph): fix types to be large enough
12046 * lyxlex_pimpl.h: change member status from short to int
12048 * layout.h: fix type of endlabeltype
12051 * kbsequence.C (parse): change return type to string::size_type
12053 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12056 * Bullet.C (bulletSize):
12057 (bulletEntry): do not use short ints as parameters
12059 * BufferView2.C (insertLyXFile): change a char to an int.
12061 * WorkArea.C (WorkArea): remove unneeded floats in computation
12063 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12065 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12067 * paragraph.C (asString): Do not ignore newline/hfill chars when
12068 copying to the clipboard.
12070 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12072 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12073 after a multi-line inset.
12075 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12077 * paragraph.C (validate): Set NeedLyXFootnoteCode
12079 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12081 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12082 and decrease-error to decrease.
12084 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12086 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12087 it more readable (should be equivalent)
12089 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12091 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12093 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12096 of a cursor (row, etc.) after a character has been deleted
12097 (deleteEmptyParagraphMechanism): call the method above on _all_
12098 cursors held by the LyXText when a double space has been
12101 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12103 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12105 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12107 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12108 background. Use greyOut() and the new show() methods to toggle between
12109 the foreground and background. Add code to remove the splash after
12110 its initial showing.
12112 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12113 (create_forms): no longer call Dialogs::showSplash.
12115 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12117 * .cvsignore: add version_info.h
12119 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12121 * version_info.h.in: new file
12123 * Makefile.am: add version_info.h.in
12125 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12126 version_info.h instead of VERSION_INFO
12128 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12130 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12131 The ERT inset now returns string().
12133 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12135 * lyxtext.h, text.C (selectNextWord): renamed as
12136 selectNextWordToSpellcheck.
12138 * text.C (selectNextWordToSpellcheck): Modified to not select
12139 words inside an ERT inset.
12141 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12143 * lyx_cb.C (MenuLayoutSave): change a bit the question
12145 * sp_base.h: include <sys/types.h>
12147 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12149 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12151 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12153 * several files: fix typos in user-visible strings
12155 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12157 * text2.C (pasteSelection): do not set the selection, since it
12158 will be cleared later. Actually, the intent was to fix the way the
12159 selection was set, but I figured rmoving the code was just as good.
12161 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12163 * FontLoader.C (available): Check if font is available without
12166 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12168 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12170 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12172 * lyxrc.[Ch]: added display_graphics variable and associated code.
12174 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12176 * bufferparams.C (hasClassDefaults): new method. Returns true if
12177 the buffer parameters correspond to known class defaults
12179 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12181 * XFormsView.C (show): set minimum size to the main window.
12183 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12185 * text2.C (copySelection):
12187 * lyxfind.C (LyXReplace):
12188 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12189 LyXText::selectionAsString.
12191 * paragraph.C (asString): add "label" argument to the second form
12193 * text2.C (selectionAsString): add "label" argument and pass it to
12194 Paragraph::asString.
12196 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * lyx_main.C (commandLineHelp): remove version information
12200 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12202 * lyx_main.C: add -version commandline option
12204 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * paragraph.h: make the optional constructor arg required instead.
12207 some modifications to other files because of this.
12209 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12211 * lyxserver.C (C_LyXComm_callback): make it static
12213 * lyx_main.C (error_handler): make it static
12215 * lyx_gui.C (LyX_XErrHandler): make it static
12217 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12219 * WorkArea.C: make the extern "C" methods static.
12221 * Makefile.am (lyx_LDADD): simplify
12223 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12225 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12226 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12228 * LyXAction.C (init):
12229 * lyxfunc.C (dispatch): associated code removal.
12231 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * lyxfont.h (isSymbolFont): shut off warning
12235 * text.C (setHeightOfRow):
12236 (getVisibleRow): fix crash with empty paragraphs which have a
12239 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12241 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12244 2001-09-04 José Matos <jamatos@fep.up.pt>
12247 * tabular.C (docbook): rename docBook method to docbook.
12249 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12251 * Makefile.am: add dependencies to main.o.
12253 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12255 * FontLoader.C (available): Return false if !lyxrc.use_gui
12257 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12259 * FontInfo.C (query):
12260 * converter.C (view):
12261 * importer.C (Import):
12262 * exporter.C (Export): Can not -> cannot.
12264 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12266 * BufferView_pimpl.C: allow to create index inset even if
12269 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12271 * buffer.C (getLists): replace boost::tie code with an explicit pair
12272 as boost::tie can break some compilers.
12274 * iterators.h: Added a std:: declaration to the return type of
12277 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12279 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12282 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12284 * iterators.[Ch]: New files. Provide paragraph iterators.
12286 * buffer.C (changeLanguage): Use paragraph iterators.
12287 (isMultiLingual): ditto
12289 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12291 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12293 * FontLoader.C: Support for cmr font.
12295 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12297 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12298 (available): New method.
12300 * FontInfo.C (getFontname): Use scalable fonts even when
12301 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12304 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12306 * converter.C (Formats::view): reverted! Incorrect fix.
12308 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12310 * converter.C (Formats::view): only output the -paper option
12311 if the dvi viewer is xdvi, thereby fixing bug #233429.
12313 2001-08-23 Herbert Voss <voss@perce>
12315 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12317 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12319 * Spacing.h (Spacing): Set space to Default on in the default
12322 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * vc-backend.h (RCS::versionString): add RCS to version
12325 (CVS::versionString): add CVS to version
12327 * vc-backend.C (scanMaster): do not add CVS to version.
12328 (scanMaster): do not add RCS to version
12330 * lyxvc.C (versionString): new method
12332 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12334 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * Spacing.C (set): initialize fval
12338 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12340 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12343 2001-08-16 Juergen Vigna <jug@sad.it>
12345 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12347 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12349 * BufferView_pimpl.C:
12352 * text2.C: setParagraph takes linespacing now
12354 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12356 * LyxAction.C: add internal LFUN_CITATION_INSERT
12358 * LyXView.C: actually apply fix
12360 * bufferlist.C: fix open non-existent file
12362 * lyxfind.C: fix indentation
12364 * lyxfunc.C: remove unneeded assert, fix typo
12366 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12368 * MenuBackend.C: use "Floatname List"
12370 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12372 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12373 when converting LaTeX layout to insetERT.
12374 Generate a non-collapsed float when reading old float
12376 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12378 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12381 2001-08-13 Juergen Vigna <jug@sad.it>
12383 * text.C (fill): return 0 instead of 20 as this seems to be the more
12386 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12388 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12391 2001-08-13 Juergen Vigna <jug@sad.it>
12393 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12395 (SearchBackward): comment out the unlocking of the inset_owner this
12396 should not be needed!
12398 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12400 * Many files: Remove inherit_language, and add latex_language
12402 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12403 collapsible insets.
12405 2001-08-10 Juergen Vigna <jug@sad.it>
12407 * text.C (prepareToPrint): fixed hfill-width in draw!
12409 * BufferView2.C (selectLastWord): save the selection cursor as this
12410 now is cleared in the function LyXText::clearSelection!
12412 2001-08-08 Juergen Vigna <jug@sad.it>
12414 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12415 BACKSPACE type functions.
12417 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12418 is only cutted from the document but not put in the cut-buffer, where
12419 still the old stuff should be.
12421 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12423 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12425 * tabular.C (SetWidthOfCell): fixed special case where the width
12427 (LeftLine): handle '|' in align_special.
12429 (LeftAlreadyDrawed): ditto
12430 (SetWidthOfCell): ditto
12432 2001-08-07 Juergen Vigna <jug@sad.it>
12434 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12436 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12439 * lyxlex.[hC]: ditto
12441 2001-08-06 Juergen Vigna <jug@sad.it>
12443 * text.C (getVisibleRow): fix up row clearing a bit.
12445 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * minibuffer.C: make sure the X server sees the changes in the input.
12449 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12451 * paragraph.C (getFont): split into...
12452 (getLabelFont): this
12453 (getLayoutFont): and this
12454 * paragraph_pimpl.C (realizeFont): calling this
12456 * text2.C (getFont): split into...
12457 (getLayoutFont): this
12458 (getLabelFont): and this
12459 (realizeFont): all three calling this
12461 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12464 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12466 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12468 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12470 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12471 layouts from the Quote inset insertion.
12473 2001-08-03 Juergen Vigna <jug@sad.it>
12475 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12477 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12478 only if status not is already CHANGED_IN_DRAW (second level).
12480 * text.C (draw): don't set the need_break_row when inside an
12483 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * buffer.C (parseSingleLyXformat2Token): handle more latex
12488 * bufferview_funcs.[hC]: change function names to
12489 begin with small char, adjust other files.
12491 2001-08-02 André Pönitz <poenitz@gmx.net>
12494 BufferView_pimpl.C: remove broken special code for math-greek
12496 2001-08-02 Juergen Vigna <jug@sad.it>
12498 * BufferView_pimpl.C (update): redone this function so that we
12499 update the text again if there was a CHANGE_IN_DRAW.
12501 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12502 (drawFromTo): added a new internal bool which is used by draw() and
12504 (general): some cursor drawing problems fixed.
12506 2001-08-01 Juergen Vigna <jug@sad.it>
12508 * lyxfind.C (LyXFind): fixed
12509 (SearchForward): ditto
12510 (SearchBackward): ditto
12512 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12513 spurius drawing of the cursor in the main area.
12515 * text2.C (status): small fix which could lead to a segfault!
12516 (clearSelection): remove unneeded BufferView param.
12518 2001-08-01 André Pönitz <poenitz@gmx.net>
12520 * lyxfunc.C: small change due to changed mathed interface
12522 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12526 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12528 * lyxfunc.c: fail gracefully if file doesn't exist
12533 * BufferView_pimpl.C: IsDirWriteable() proto changed
12535 * LyXView.C: fix updateWindowTitle() to store the last title
12537 2001-07-31 Juergen Vigna <jug@sad.it>
12539 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12540 the font (wrong since using of Paragraph::highestFontInRange).
12542 * paragraph.C (highestFontInRange): added a default_size parameter.
12544 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12545 (setHeightOfRow): reformat
12547 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * converter.[hC] + affected files: move to (inital-char)lowercase
12552 * ParagraphParameters.C (ParagraphParameters): remove commented code
12554 * PainterBase.[Ch]: remove commented code
12556 * LaTeXFeatures.h: add "bool floats" for float.sty
12558 * LaTeXFeatures.C (LaTeXFeatures): init floats
12559 (require): handle float
12560 (getPackages): do it with floats
12562 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * BufferView_pimpl.C (Dispatch): improve handling of
12565 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12567 * commandtags.h: #include lyxfont.h here temporarily to avoid
12570 * bufferlist.h: include LString.h here.
12572 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12574 * text2.C (getStringToIndex): new method.
12576 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12578 * *: Reduced header file dependencies all over.
12580 2001-07-30 Baruch Even <baruch@lyx.org>
12582 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12584 2001-07-29 Baruch Even <baruch@lyx.org>
12586 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12588 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * ParameterStruct.h (endif): add a default constructor to make
12591 sure that all variables is initialized.
12593 * ParagraphParameters.C (ParagraphParameters): adjust
12595 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12598 index; also, check that there is something to index, and that it
12599 does not span over several paragraphs.
12600 (doubleClick): use WHOLE_WORD_STRICT for double click.
12602 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12604 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12607 2001-07-26 Baruch Even <baruch@lyx.org>
12609 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12610 an InsetFig figure, backwards compatible reading of old figure code.
12612 2001-07-27 Juergen Vigna <jug@sad.it>
12614 * text2.C: font.realize function adaption.
12616 * text.C (draw): add a warnings lyxerr text if needed.
12618 * layout.C: font.realize function adaption.
12620 * language.C: add inherit_language and implement it's handlings
12622 * bufferview_funcs.C (StyleReset): remove language parameter from
12623 font creation (should be language_inherit now).
12625 * bufferparams.C (writeFile): handle ignore_language.
12627 * paragraph.C (getFontSettings): the language has to be resolved
12628 otherwise we have problems in LyXFont!
12630 * lyxfont.C (lyxWriteChanges): added document_language parameter
12631 (update): removed unneeded language parameter
12633 * paragraph.C (validate): fixed wrong output of color-package when
12634 using interface colors for certain fonts in certain environments,
12635 which should not seen as that on the final output.
12637 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12639 * BufferView_pimpl.C:
12644 * LyXAction.C: add thesaurus support
12647 * lyxfind.C: add "once" parameter, for thesaurus, to not
12648 move to the next match
12650 2001-07-26 Juergen Vigna <jug@sad.it>
12652 * lyxfont.C (realize): honor ignore_language too!
12655 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12657 * text.C (draw): one place more for ignore_language to not draw
12660 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12662 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12664 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12666 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12667 the minipage conversion problem.
12669 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * BufferView.h: don't forward declare WorkArea
12678 * BufferView.C: don't include WorkArea.h
12680 2001-07-25 André Pönitz <poenitz@gmx.net>
12684 * lyxfunc.C: new LFUN 'math-space'
12686 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12688 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12690 * text2.C (toggleInset): call open/close
12692 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * lyxfunc.C (dispatch): add debug for the disabled case
12696 * font.C (buttonText): make similar to rectText
12698 * buffer.C (readInset): comment out parsing of insetlist and
12701 * PainterBase.C (rectText): small correction
12703 * BufferView_pimpl.C: comment out insettheorem and insetlist
12704 * LyXAction.C: ditto
12705 * commandtags.h: ditto
12707 2001-07-24 Juergen Vigna <jug@sad.it>
12709 * text.C (draw): honor the ignore_language.
12711 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12713 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12715 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12718 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12720 * lyxtext.h: remove unused (and unimplemented) methods
12722 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12724 * text.C (getVisibleRow): honor background color
12727 * Painter.h: remove default color argument for fillRectangle
12729 * text.C (backgroundColor): new method
12731 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * text.C (getVisibleRow): adjust
12735 * font.[Ch] (rectText): new method, metrics
12736 (buttonText): new method, metrics
12738 * PainterBase.[hC]: make rectText and buttonText always draw and take
12741 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12743 * ToolbarDefaults.C (read):
12744 * MenuBackend.C (read): allow escaping in all strings
12746 * BufferView_pimpl.C (insertAndEditInset): new method.
12747 (Dispatch): use insertAndEditInset whenever appropriate.
12749 * BufferView_pimpl.C (insertNote): removed
12751 * BufferView_pimpl.C (smartQuote): new method, moved from
12752 BufferView; if an insetquote cannot be inserted, insert a '"'
12755 * BufferView2.C: remove insertCorrectQuote();
12757 * lyxfunc.C (getStatus): Add support for all remaingin
12758 inset-insert lfuns.
12760 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12762 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12763 command (necessary to pass " as parameter of self-insert.
12765 * text.C (selectWordWhenUnderCursor):
12766 (selectWord): add word_location parameter
12767 (selectWordWhenUnderCursor): same + remove special code for word
12769 (selectNextWord): use kind() to guess type of insetspecialchar,
12772 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12773 (insertErtContents): create ert insets as collapsed.
12774 (readInset): better compatibility code for Info inset.
12776 2001-07-20 Juergen Vigna <jug@sad.it>
12778 * lyxfunc.C (dispatch): use always LyXFind now!
12780 * text2.C (init): add a reinit flag so that the LyXText can be
12781 reinited instead of deleted and reallocated (used in InsetText).
12783 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12789 2001-07-18 Juergen Vigna <jug@sad.it>
12791 * text.C (selectNextWord): handle insets inside inset by calling
12792 always the bv->text functions so that we can go up the_locking_inset!
12794 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12795 in strange locations when inside an inset!
12797 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12798 handling to include insets.
12800 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12802 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * LyXAction.C (init):
12806 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12807 LIGATURE_BREAK, since the name is so stupid.
12809 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12811 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12814 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12816 * sp_form.[Ch]: remove.
12818 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12820 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12823 * src/buffer.C (readInset): ditto.
12825 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12827 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12828 menuSeparator(), endOfSentenceDot(), ldots() and
12829 hyphenationPoint(), which are therefore removed.
12830 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12832 * LyXAction.C (init):
12833 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12835 * paragraph.C (getWord): removed.
12837 * BufferView_pimpl.C (Dispatch): use last word or selection for
12838 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12840 * lyx_main.C (queryUserLyXDir): do not ask before creating
12841 user_dir, except if it has been named explicitely.
12843 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12845 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12846 a document of zero size.
12848 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12850 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12851 approriately in the c-tor and in require().
12852 (getPackages): output the appropriate LaTeX for natbib support.
12854 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12855 variables "use_natbib" and "use_numerical_citations" when reading the
12857 (readInset): read the various natbib cite commands.
12858 (validate): white-space change.
12860 * bufferparams.[Ch]: new variables "bool use_natbib" and
12861 "bool use_numerical_citations".
12862 (writeFile): output them in the LyX file.
12864 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12866 * lyxfunc.C (getStatus): add support for all the inset insertion
12869 * text2.C (insertInset):
12870 * paragraph.C (insetAllowed):
12871 * BufferView_pimpl.C (insertInset): update to take in account the
12872 renaming of insertInsetAllowed
12874 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12876 * text2.C (getInset): new method. returns inset at cursor position.
12878 * BufferView_pimpl.C (Dispatch): changes because of this.
12880 * LyXAction.C (init): rename open-stuff to inset-toggle.
12882 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12884 * text2.C (toggleInset): renamed from openStuff; use
12887 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12889 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12891 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12893 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12895 * buffer.C (readLyXformat2): Add filename to the error dialog
12897 2001-07-18 Juergen Vigna <jug@sad.it>
12899 * tabular.C (GetCellNumber): put an assert here instead of the check!
12901 2001-07-17 Juergen Vigna <jug@sad.it>
12903 * BufferView_pimpl.C (toggleSelection): adapted too.
12905 * text.C (selectNextWord): adapted for use with insets.
12906 (selectSelectedWord): ditto
12908 2001-07-17 Juergen Vigna <jug@sad.it>
12910 * sp_spell.C (PSpell): fix initialitation order.
12912 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * paragraph.C: spacing
12916 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12918 * sp_spell.C: repair language selection for pspell
12920 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * lyxfunc.h: change more methods to begin with lower char.
12924 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12926 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12927 for unknown layouts.
12929 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12931 * buffer.C (readLyXformat2): Generate an error dialog if there are
12934 2001-07-16 Juergen Vigna <jug@sad.it>
12936 * sp_spell.C: always compile ISpell part.
12938 * lyxrc.C: added use_pspell entry and it's handling.
12940 2001-07-13 Juergen Vigna <jug@sad.it>
12942 * sp_spell.C: removed double includes.
12944 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12946 Consistent use of Lsstream.h:
12947 * Lsstream.h: added using std::stringstream for consistencies sake.
12949 * buffer.C: removed using std::stringstream
12951 * lyxfont.C (stateText):
12952 * paragraph.C (asString):
12953 * text.C (selectNextWord, selectSelectedWord):
12954 * text2.C (setCounter):
12955 * vspace.C (asString, asLatexString):
12956 std::ostringstream -> ostringstream.
12958 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12960 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12961 * commandtags.h: add LFUN_HELP_ABOUTLYX
12962 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12964 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12966 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12968 * lyx_gui_misc.C: remove spellchecker
12969 * lyxfunc.C: showSpellchecker
12971 * sp_ispell.h: added
12972 * sp_pspell.h: added
12973 * sp_spell.C: added
12974 * sp_form.[Ch]: removed
12975 * spellchecker.[Ch]: removed
12977 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12979 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12981 (simpleTeXSpecialChars): Simply print the input character without
12982 any special translation if pass_thru is set.
12984 * layout.h: Added bool pass_thru to layout class for being able to
12985 implement pass through of a paragraph for Literate Programming.
12987 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12988 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12989 * layout.C (Read): add "passthru" to list of layout tags and add
12990 code to set the pass_thru boolean when it is read.
12992 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * trans_decl.h: remove allowed from KmodInfo
12996 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12997 remove allowed code
13000 * paragraph_pimpl.C (erase): use boost::prior
13002 * Painter.C (text): use data() instead of c_str() when length is
13004 * WorkArea.C (putClipboard): ditto
13005 * font.h (width): ditto
13007 * BufferView2.C: use it-> instead of (*it). for iterators
13009 * paragraph_pimpl.C: ditto
13010 * paragraph.C: ditto
13011 * minibuffer.C: ditto
13012 * language.C: ditto
13014 * encoding.C: ditto
13015 * counters.C: ditto
13016 * converter.C: ditto
13018 * Variables.C: ditto
13019 * TextCache.C: ditto
13020 * MenuBackend.C: ditto
13021 * LyXAction.C: ditto
13023 * FloatList.C: ditto
13024 * DepTable.C: ditto
13025 * ColorHandler.C (LyXColorHandler): ditto
13027 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13031 * text2.C (openStuff): reintroduce this method (which had been
13032 nuked in NEW_INSETS frenzy).
13034 * lyxfunc.C (Dispatch): when an action has not been handled, use
13035 its name in the error message, not its number.
13037 * paragraph.C (inInset): change method name to begin with lowercase.
13040 * text2.C: updates because of this.
13042 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13044 * ToolbarDefaults.C (add): add spaces in error message
13046 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13049 (readLyXformat2): rename return_par to first_par, use lyxlex's
13050 pushToken and remove the manual push handling.
13051 (parseSingleLyXformat2Token): add another ert comp. variable:
13052 in_tabular, rename return_par to first_par. handle newlines better
13054 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13056 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13058 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13060 * text2.C (getParFromID): removed
13062 * buffer.C (getParFromID): new method moved form lyxtext.
13063 * BufferView2.C (insertErrors): adjust
13064 (setCursorFromRow): adjust
13065 * BufferView_pimpl.C (restorePosition): adjust
13066 * lyxfunc.C (Dispatch): adjust
13067 * undo_funcs.C (textUndo): adjust
13069 (textHandleUndo): adjust
13070 (textHandleUndo): adjust
13072 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13074 * buffer.C: up' the LYX_FORMAT
13076 * lyxfont.h: turn NO_LATEX on as default
13078 * buffer.C (insertErtContents): new methods of tex style compability.
13079 (parseSingleLyXformat2Token): use it several places.
13080 * tabular.C (OldFormatRead): and here
13082 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13084 * text2.C: remove some commented code.
13087 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13088 * trans.C: changes because of the above.
13090 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13092 * text2.C (setCounter): Fix counters bug with bibliography layout.
13094 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13097 own member functions
13098 (simpleTeXSpecialChars): ditto
13100 2001-07-06 Juergen Vigna <jug@sad.it>
13102 * a lot of files: changed the access to LyXText::status and the
13103 call of undo-functions.
13105 * undo.[Ch]: added a inset_id to the undo informations.
13107 * undo_funcs.[Ch]: added and moved here all undo functions.
13109 * lyxtext.h: give the status enum a weight, made status_ a private
13110 variable and made accessor functions for it, removed the whole bunch
13111 of undo-functions as they are now in their own file, make some
13112 functions publically available. Added function ownerParagraph with
13115 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13116 made InInset() a const function, added getParFromID() function.
13118 * buffer.[Ch]: added const version for inset_iterator functions,
13119 added getInsetFromID() function.
13121 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13122 changed undo functions for new version.
13124 2001-07-05 Juergen Vigna <jug@sad.it>
13126 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13127 unknow mechanism does not call the proper constructor but only this
13128 one also if I request the other!?
13130 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13134 * text2.C (LyXText): use initialization lists.
13136 * lyxtext.h (Selection): initialize set_ and mark_
13137 (init): remove method
13139 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13141 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13143 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13145 * screen.[Ch]: change method names to begin with lowercase
13147 * BufferView_pimpl.C (updateScrollbar): simplify further and
13148 hopefully make it a bit faster.
13150 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13152 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13153 calling directly xforms functions.
13155 * Painter.C (Painter):
13156 * lyx_cb.C (MenuWrite):
13157 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13160 * lyx_gui.C: remove bogus guiruntime extern declaration.
13162 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13166 (redoDrawingOfParagraph): ditto
13167 (redoParagraphs): ditto
13168 (cutSelection): don't create a object for CutAndPaste use the
13169 static method directly
13170 (pasteSelection): ditto
13172 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13175 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * modifications to some other files because of this.
13179 * Makefile.am (lyx_SOURCES): add XFormsView
13181 * XFormsView.[Ch]: new files
13183 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13184 the main window. Move the gui dependent stuff to XFormsView
13186 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13188 * tabular.C (GetCellInset): update cur_cell also in the row/col
13189 version of this function.
13191 * lyxfunc.C: no need to include figure_form.h here.
13197 * lyxvc.C: no need to include forms.h here.
13199 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13203 * lyxfunc.C (Dispatch):
13205 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13206 constructor argument.
13208 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13210 * paragraph.C (Paragraph): dont't clear, and just set layout.
13211 (makeSameLayout): use params's copy contructor.
13213 * ParagraphParameters.[Ch] (makeSame): delete method
13215 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13217 * Variables.[Ch]: fix indentation, rename set to isSet
13219 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * lyxfunc.C (Dispatch): fix typo
13223 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13228 * bufferlist.C: include assert.h for emergencyWrite().
13230 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13232 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13233 give up at last (bug #425202) !
13235 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13241 * spellchecker.C: strip spellchecker options and bring up
13242 preferences tab instead
13244 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13246 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13247 the istringstream constructor
13249 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13251 * paragraph.C (getLayout): fix return value
13253 * paragraph.h: do not declare getLayout as inline.
13255 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13257 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * lyxcursor.h (operator<): new func
13260 (operator>): new func
13261 (operator>=): new func
13262 (operator<=): new func
13264 * text.C (changeCase): use selection.start and selection.end
13265 (changeRegionCase): require from to be <= to. Require par to be a
13268 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13270 2001-06-27 Juergen Vigna <jug@sad.it>
13272 * text.C (cursorLeftOneWord): changed to return the cursor and added
13273 overlay with BufferView * parameter which calls this one.
13275 (selectWord): use new getWord function.
13276 (changeCase): renamed from changeWordCase as and extended to work
13277 also on selections.
13279 * lyxtext.h: added enum word_location
13281 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13282 changeCase as this operates now also on selections.
13284 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13286 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13288 * many files: send debug output to Debug::INFO instead of
13291 * converter.C (View):
13293 (Move): send debug output to Debug::FILES instead of console.
13295 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13297 * lyxfunc.C (getStatus): use func_status
13299 * func_status.h: new header, describing the results of
13300 LyXFunc::getStatus;
13302 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13305 2001-06-25 The LyX Project <jug@sad.it>
13307 * buffer.C (sgmlOpenTag):
13309 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13311 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * text2.C: remove some dead code
13315 * tabular.C (GetCellInset): store the last cell checked (gotten)
13317 * tabular.h: add the helper for the speedup
13319 * lyxtext.h: remove some dead code
13321 2001-06-26 The LyX Project <Asger>
13323 * paragraph.C: Change export to LaTeX of alignment to
13324 \begin{center} and family for better roundtrip work with reLyX.
13326 * Tune the math drawing a bit.
13328 2001-06-25 The LyX Project <Asger>
13330 * LColor.C (LColor): New color for math background. New color
13333 2001-06-25 The LyX Project <jug@sad.it>
13335 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13337 * lyxfunc.C (Open):
13338 * bufferlist.C (newFile): do not restrict to files ending with
13341 * BufferView_pimpl.C (MenuInsertLyXFile):
13343 2001-06-24 The LyX Project <jug@sad.it>
13345 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13348 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * lyxtext.h: rename most methods to begin with a small char.
13351 Lots of changes because of this.
13353 * paragraph.C (Paragraph): do not call fitToSize
13354 (erase): call Pimpl::erase
13355 (insertChar): call Pimpl::insertChar
13356 (insertInset): call Pipl::insertInset
13357 (breakParagraph): do not call fitToSize
13358 (breakParagraphConservative): do not call fitToSize
13359 (fitToSize): remove method
13361 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13363 2001-06-24 The LyX Project <Asger>
13365 * Fix Qt compilation^2
13367 2001-06-24 The LyX Project <jug@sad.it>
13369 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13370 depthHook(getDepth()-1).
13373 * ParagraphParameters.h:
13374 * ParameterStruct.h: change type of depth to unsigned int ==
13375 depth_type. Many adaptations to other files before of that.
13377 2001-06-24 The LyX Project <Asger>
13379 * Fix Qt compilation.
13381 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * paragraph.h: renamed several methods to begin with small letter.
13384 several changes to many parts of the code because of this.
13386 2001-06-23 The LyX Project <jug@sad.it>
13388 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13389 rewritten to discard all double spaces when KeepEmpty is off
13390 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13391 to only handle newlines but not fiddle with spaces and friends.
13393 * lyxfunc.C (MenuNew): when doing 'new from template', use
13394 template_path as default directory
13396 2001-06-23 The LyX Project <Asger>
13398 * Clean-up of header file includes all over
13399 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13401 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * paragraph.h: renamed from lyxparagraph.h
13405 2001-06-23 Asger <lyx@violet.home.sad.it>
13407 * Buffer.h: Removed Buffer::resize
13408 * BufferList.h: Removed BufferList::resize
13409 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13410 the document lazily when we change the width, or the font settings.
13412 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13414 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13416 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13418 * buffer.h: remove out of date comment
13420 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13423 * screen.C: fix "theoretical" GC leak
13425 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * LaTeX.C (scanAuxFile):
13428 (deplog): remove trailing \r when reading stream (useful under
13431 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13433 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13434 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13435 and BufferView::theLockingInset(Inset*), so should use them and not
13436 access bv_->text->the_locking_inset directly.
13438 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13443 * tex-defs.h: remove old unused file
13445 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13447 * BufferView_pimpl.C: fix typo, remove minibuffer message
13448 when buffer has loaded
13450 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * lyxfunc.C (Dispatch): use stringstream
13453 (MenuNew): use stringstream
13454 (Open): use stringstream
13456 * importer.C (Import): use stringstream
13458 * bufferview_funcs.C (CurrentState): use stringstream
13460 * LaTeX.C (run): use stringstream
13462 * BufferView_pimpl.C (savePosition): use stringstream
13463 (restorePosition): use stringstream
13464 (MenuInsertLyXFile): use stringstream
13466 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13479 * vspace.C: removed // -*- C++ -*- as first line.
13482 * version.h: added // -*- C++ -*- as first line.
13484 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13486 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13488 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13491 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13496 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * gettext.C: include LString.h even when --disable-nls is on.
13500 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13502 * converter.h (Get): changed argument type from int to
13503 FormatList::size_type to avoid unnecessary conversion.
13505 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13508 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * gettext.h: include LString.h even when --disable-nls is on.
13512 2001-06-07 Juergen Vigna <jug@sad.it>
13514 * text.C (BreakAgain): subst spaces with tabs.
13516 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13517 (resizeInsetsLyXText): set force on resizeLyXText.
13519 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * gettext.h (gettext_init):
13522 (locale_init): use a real definition instead of a macro
13524 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13526 * Bufferview_pimpl.C:
13528 * LColor.C: further lcolor tidies
13530 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * BufferView_pimpl.C (updateScrollbar): simplify.
13534 * BufferView2.C: don't include insets/insetinfo.h, change
13535 prototype for insertInset and call the Pimpl version. let
13536 updateInset call Pimpl version.
13538 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13539 gotoInset to BufferView::Pimpl
13541 2001-06-01 Juergen Vigna <jug@sad.it>
13543 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13544 inside a LockingInset (is the update needed at all?).
13546 2001-05-31 Juergen Vigna <jug@sad.it>
13548 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13549 here not the old one otherwise how should we compare it afterwards
13552 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * FontInfo.C: bring C functions into global namespace when
13560 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * LString.h: make sure config.h has been loaded before LString.h.
13564 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13565 (one for each char read by EatLine!).
13567 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13570 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13573 to the same as the par we break from
13575 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13579 * MenuBackend.C (expand): also create menu entries for wide
13580 versions of the floats.
13582 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13584 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13586 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13587 frontends/Makefile.am
13593 * tabular.C (getTokenValue): add std::
13595 * tabular-old.C (getTokenValue): add std::
13596 (getTokenValue): ditto
13597 (getTokenValue): ditto
13599 * screen.C (ToggleSelection): adjust
13601 * lyxtext.h: put selection cursors inside a Selection struct.
13603 * lyxfunc.C (moveCursorUpdate): adjust
13605 * lyxfont.C (latexWriteStartChanges): add std::
13607 * lyxfind.C: adjust
13609 * font.h: delete with(char const *, LyXFont const &)
13611 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13613 * FontInfo.C (getFontname): add std::
13615 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13616 (workAreaButtonPress): adjust
13617 (tripleClick): adjust
13619 (moveCursorUpdate): adjust
13622 * BufferView2.C (gotoInset): adjust
13624 2001-05-30 Juergen Vigna <jug@sad.it>
13626 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13627 to check pspell I add this as default as I now have new pspell
13628 libraries and they seem to use this.
13630 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13632 * text2.C (CutSelection): make the cursor valid before the call to
13635 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13638 relied on 0 terminated strings and other horrors. Bug found due to
13639 the new assert in lyxstring!
13641 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13644 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13649 * lyxfunc.C (processKeySym): change method of getting to the
13652 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13653 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13654 * BufferView_pimpl.[Ch]: here as private methods.
13656 2001-05-28 Juergen Vigna <jug@sad.it>
13658 * text.C (SetHeightOfRow): added the update() call again as it is
13659 needed to initialize inset dimensions!
13661 2001-05-16 Juergen Vigna <jug@sad.it>
13663 * text2.C (SetCharFont): Add new function with BufferView * and
13664 bool toggleall parameters for setting insets internal fonts.
13665 (SetFont): Freeze the undo as we may change fonts in Insets and
13666 all this change should be inside only one Undo!
13668 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13669 setting font's in insets as for them we have the SetFont function!
13671 2001-05-15 Juergen Vigna <jug@sad.it>
13673 * text2.C (ClearSelection): to be sure we REALLY don't have any
13676 * tabular.C (TeXCellPreamble): fixed the left border problem for
13679 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13681 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13684 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13687 LFUN_BREAKPARAGRAPH.
13689 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13690 help test to "internal only", similar for LFUN_INSERT_URL
13692 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13693 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13694 auto_region_delete and deadkeys.
13696 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13699 * LColor.C: remove some dead entries, tidy a little
13701 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13703 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13705 (Dispatch): implement LFUN_ESCAPE
13707 * commandtags.h: add LFUN_ESCAPE
13709 * LyXAction.C (init): add entry for LFUN_ESCAPE
13711 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13712 Remove commented code.
13713 (insertNote): moved here
13714 (open_new_inset): moved here
13716 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13719 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * kbmap.C (findbinding): clean it up and make it work correctly.
13723 * lyx_main.C (init): do not pass argc and argv as parameters
13725 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13727 * buffer.C: fix path for OS/2 & Win32
13731 * lyx_main.C: Added os:: class.
13733 * os2_defines.h: update
13735 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13738 better by trying again with reduced state.
13740 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * lyxrc.C (read): print error about invalid key sequence only when
13743 debugging (because not all latinX keysyms are known to some X
13746 * kbsequence.C (getiso): add a few std:: qualifiers
13747 (getiso): comment out extra return statement.
13749 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13751 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13753 (Dispatch): enhance the accent inset a bit. (not perfect)
13755 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13759 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13761 * bufferlist.C (emergencyWrite): fix assert() call
13763 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13765 * text.C (InsertChar): Added trivial patch to only send the "you
13766 can not do multiple spaces this way" message once during a
13769 2001-05-08 Baruch Even <baruch@lyx.org>
13771 * Makefile.am: Changed order of libraries to get LyX to link properly
13772 with the gnome frontend.
13774 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * LaTeXFeatures.h: add a std:: qualifier
13778 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13780 * paragraph.C (String): use stringstream
13782 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * paragraph.C (writeFile): remove footflag arg
13786 * buffer.C (makeLaTeXFile): use stringstream
13787 (latexParagraphs): remove footnot gurba
13789 * LaTeXFeatures.C (getPackages): use stringstream
13790 (getMacros): likewise
13791 (getTClassPreamble): likewise
13792 (getFloatDefinitions): new method
13794 * paragraph.C (writeFile): reindent
13797 * WorkArea.h: revert the xpos + etc changes.
13799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13801 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13803 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13804 (pasteSelection): likewise
13805 * text2.C (CreateUndo): likewise
13807 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13809 * minibuffer.C (peek_event): temporarily reduce the functionality
13810 of the minibuffer (to allow args on lfuns)
13812 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13813 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13815 * buffer.C (readInset): add compability reading of old float
13816 lists, add reading of new style float list.
13817 (readInset): avoid reevaluation of inscmd.getCmdName()
13818 (getLists): reindent
13820 * MenuBackend.C (MenuItem): implement parsing of
13821 md_floatlistinsert and md_floatinsert.
13822 (expand::LastFiles): move initalizaton of iterators out of loop,
13823 avoid reevaluation.
13824 (expand::Documents): introduce typdedef vector<string> Strings,
13826 (expand::ExportFormats): introduce typedef vector<Format const *>
13827 Formats, and use it.
13828 (expand): implement FloatListInsert and FloatInsert.
13830 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13831 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13832 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13834 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13836 (Dispatch::LFUN_FLOAT_LIST): implement
13838 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13840 * LaTeX.C (run): Fix problem with --export code.
13842 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13844 * BufferView.[Ch] (workarea): removed.
13845 (getClipboard) new method; wrapper for workarea()->getClipboard()
13847 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13850 * WorkArea.h (width, height, xpos, ypos): These methods all
13851 returned the dimensions of the work_area sub-area of WorkArea,
13852 resulting in a position error if the WorkArea were resized. Now
13853 return the dimensions of the entire WorkArea.
13855 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13857 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * LaTeX.C (deplog): correct the syntax of regex reg1
13861 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * undo.C: remove !NEW_INSETS cruft
13865 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * text2.C: remove !NEW_INSETS cruft
13869 * text.C: remove !NEW_INSETS cruft
13871 * tabular.C: remove !NEW_INSETS cruft
13873 * spellchecker.C: remove !NEW_INSETS cruft
13875 * lyxtext.h: remove !NEW_INSETS cruft
13877 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13879 * lyxfunc.C: remove !NEW_INSETS cruft
13881 * lyxfind.C: remove !NEW_INSETS cruft
13883 * lyx_cb.C: remove !NEW_INSETS cruft
13885 * figureForm.C: remove !NEW_INSETS cruft
13887 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13889 * buffer.[Ch]: remove !NEW_INSETS cruft
13891 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13893 * CutAndPaste.C: remove !NEW_INSETS cruft
13895 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13897 * BufferView2.C: remove !NEW_INSETS cruft
13899 * BufferView.h: remove !NEW_INSETS cruft
13901 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * Lsstream.h: include LString.h before the sstream headers to
13904 fix problem with gcc 2.95.3 and lyxstring
13906 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13908 * lyx_main.C: add using directives when needed for C functions
13909 declared in std:: namespace.
13911 2001-04-27 Juergen Vigna <jug@sad.it>
13913 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13914 (SetHeightOfRow): comment out the update call should not be needed!
13916 2001-04-13 Juergen Vigna <jug@sad.it>
13918 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13919 (LyXTabular): tried to minimize operator= operations (and realized
13920 hopfully Lars wish).
13922 2001-04-27 Juergen Vigna <jug@sad.it>
13924 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13926 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13930 * buffer.C (readInset): hack to make listof algorithm work
13932 * BufferView_pimpl.C: hack to make listof algorithm work
13934 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * LyXAction.C: removed all !NEW_INSETS cruft
13937 (init): moved lfun_item in method
13939 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13941 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13943 * BufferView2.C (theLockingInset): white space.
13945 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * minibuffer.C: include <iostream>
13949 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13951 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13953 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13955 * text.[Ch] (TransposeChars): new method
13957 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * call message directly through LyXView instead of through LyXFunc
13960 * BufferView2.C: adjust
13961 * BufferView_pimpl.C: adjust
13962 * FontLoader.C: adjust
13964 * bufferview_funcs.C: adjust
13965 * converter.C: adjust
13966 * figureForm.C: adjust
13967 * importer.C: adjust
13969 * lyx_gui_misc.C: adjust
13970 * lyxfunc.C: adjust
13973 + more files in subdirs
13975 * lyxparagraph.h (size): move up int file
13978 * adjust all uses of Assert to lyx::Assert.
13980 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13981 lyxfunctional in namespace lyx
13982 * layout.C (hasLayout): ditto
13985 (delete_layout): ditto
13986 (NumberOfClass): ditto
13987 * converter.C (GetFormat): ditto
13992 * bufferlist.C (getFileNames): ditto
13993 (emergencyWriteAll): ditto
13996 * MenuBackend.C (hasSubmenu): ditto
13999 * BufferView_pimpl.C (getInsetByCode): ditto
14001 2001-04-18 Juergen Vigna <jug@sad.it>
14003 * vspace.C (asLatexString): fixed the 100% problem.
14005 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14007 * lyxfunc.C (Dispatch):
14009 * minibuffer.h: add a few std:: qualifiers
14011 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * minibuffer.[Ch]: reimplement so that commands is initiated and
14014 run from lyxfunc, simplified som handling, and made the completion
14015 and history code for complete. wip.
14017 * lyxfunc.C (processKeySym): call message
14018 (miniDispatch): new temporary method
14019 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14020 (LFUN_MESSAGE): implement
14021 (LFUN_MESSAGE_PUSH): implement
14022 (LFUN_MESSAGE_POP): implement
14023 (initMiniBuffer): the initial/defualt minibuffer message.
14025 * lyxfont.[Ch]: inline some more getters
14027 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14029 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14031 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14032 (AutoSave): use LFUN_MESSAGE
14033 (Reconfigure): ditto
14035 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14037 * figureForm.C: use LFUN_MESSAGE
14039 * converter.C (runLaTeX): use LFUN_MESSAGE
14041 * bufferview_funcs.C: use LFUN_MESSAGE
14043 (changeDepth): ditto
14045 * bufferparams.h: use boost::
14047 * bufferlist.h: inherit privately from noncopyable
14049 * bufferlist.C (loadLyXFile): remove some commented code.
14051 * buffer.C (runChktex): use LFUN_MESSAGE
14053 * ShareContainer.h: inherit privately from noncopyable
14055 * ParagraphParameters.[hC] (depth): inline it.
14057 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14059 (message): new method
14060 (messagePush): ditto
14061 (messagePop): ditto
14062 (show): init minibuffer
14063 (showState): direct call
14065 * LaTeX.[Ch]: inherit privately from noncopyable
14066 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14067 instead of WriteStatus.
14069 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14071 * BufferView_pimpl.C (buffer): don't init minibuffer
14072 (workAreaButtonPress): use LFUN_MESSAGE
14073 (workAreaButtonRelease): ditto
14074 (savePosition): ditto
14075 (restorePosition): ditto
14076 (MenuInsertLyXFile): ditto
14077 (workAreaExpose): don't init minibuffer
14078 (update): remove commented code, simplify
14080 * BufferView2.C (openStuff): use LFUN_MESSAGE
14081 (toggleFloat): ditto
14084 (copyEnvironment): ditto
14085 (pasteEnvironment): ditto
14090 (updateInset): remove some commented code
14092 * lastfiles.h: inherit privately from noncopyable
14095 * lyx_main.h: ditto
14097 * lyxlex_pimpl.h: ditto
14099 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14100 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14101 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14103 * LyXAction.h: inherit privately from noncopyable, add methods
14104 func_begin, func_end, returning iterators to the func map.
14106 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14107 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14108 (func_begin): new method
14109 (func_end): new method
14111 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14113 (copySelection): ditto
14114 (pasteSelection): ditto
14116 * BufferView.C: whitespace change
14117 * BufferView.h: inherit privately from noncopyable
14119 2001-04-16 Allan Rae <rae@lyx.org>
14121 * tabular-old.C (l_getline):
14122 * spellchecker.C (sc_check_word):
14123 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14124 an unrecognised preprocessor directive. So ensure they're wrapped.
14126 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14128 * src/exporter.C (Export): Give an error message when path to file
14131 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14133 * LaTeX.C (deplog): Always check that foundfile exists.
14135 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14140 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14142 * tabular.[Ch] (getLabelList): implement new method
14144 * minibuffer.h: comment ouf setTiimer
14146 * minibuffer.C (ExecutingCB): constify res
14147 (peek_event): constify s
14148 (Set): constify ntext
14149 (Init): constify nicename
14151 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14153 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14154 (savePosition): use two params to Minibuffer::Set
14155 (restorePosition): ditto
14157 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * lyx_main.C: include language.h
14161 * Makefile.am (lyx_main.o): add language.h
14163 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14169 * CutAndPaste.C: include gettext.h
14171 * lyxfont.h: remove old hack with ON and OFF.
14174 * lyxfont.h: do not include language.h...
14179 * bufferview_funcs.C:
14185 * paragraph.C: ... but do it here instead
14187 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14191 * tabular.C: small reformat
14193 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14196 (BreakParagraph): ditto
14197 (SetOnlyLayout): ditto
14200 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14203 * lastfiles.C: removed most using decl, add std:: where needed
14205 * buffer.C: ws changes
14207 * MenuBackend.C (class compare_format): put into anon namespace
14208 (expand): constify label, names, action, action2
14211 * text.C (SingleWidth): constify font
14212 (IsBoundary): constify rtl2
14213 (GetVisibleRow): constify ww
14215 * LaTeX.C (deplog): constify logfile
14217 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14219 (workAreaExpose): constify widthChange, heightChange
14221 * lyxrow.C (par): moved
14224 * lyxrow.h: as inlines here
14226 * lyxfont.h (shape): moved from lyxfont.C
14227 (emph): moved from lyxfont.C
14229 * lyxfont.C (LyXFont): use initialization list for all
14231 (shape): move to lyxfont.h as inline
14232 (emph): move to lyxfont.h as inline
14235 2001-04-04 Juergen Vigna <jug@sad.it>
14237 * vspace.C: had to include stdio.h for use of sscanf
14239 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14242 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14243 independent of xforms.
14245 2001-04-02 Juergen Vigna <jug@sad.it>
14247 * spellchecker.C: fixed namespace placing!
14249 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14251 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14252 the LyXParagraph * is 0.
14254 2001-03-29 Juergen Vigna <jug@sad.it>
14256 * vspace.C: added support for %, c%, p%, l%.
14257 (stringFromUnit): added helper function.
14258 (asLatexString): changed to give right results for the %-values.
14260 * buffer.C: convert the widthp in a width%.
14262 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14264 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14267 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14268 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14270 * lyx_cb.[Ch]: see above.
14272 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14276 * lyx.[Ch]: replaced by figure_form.[Ch].
14280 * lyxfunc.C: changed headers associated with above changes.
14282 2001-03-27 Juergen Vigna <jug@sad.it>
14284 * BufferView_pimpl.C: set the temporary cursor right!
14286 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14288 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14290 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14292 * LString.h: removed "using std::getline"!
14294 * BufferView_pimpl.C (Dispatch): changes due to changes in
14295 InsetInclude::Params.
14297 * buffer.C (tag_name): removed redundant break statements as they were
14298 producing lots of warnings with my compiler.
14300 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14302 * LString.h: add "using std::getline" when using the real <string>.
14304 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14306 * buffer.C: removed bitset usage.
14307 PAR_TAG moved to an anonymous name space.
14308 (tag_name): new funtion, also in the anonymous namespace.
14309 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14310 (makeDocBookFile): clean code. Completed transition from string arrays
14312 (SimpleDocBookOnePar): code clean.
14314 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14316 * tabular.C: add some comments.
14318 2001-03-22 Juergen Vigna <jug@sad.it>
14320 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14321 compatibility read a bit and fixed bug with minipage in different
14324 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14326 * buffer.C (pop_tag): removed.
14327 (push_tag): removed.
14328 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14329 array replaced with vector. Added support for CDATA sections.
14330 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14332 (makeDocBookFile): XML conformant declaration of CDATA section,
14333 fixed bug related to <emphasis> in the first paragraph char.
14334 (sgmlOpenTag): exclude empty tags.
14335 (sgmlCloseTag): ditto.
14337 * buffer.h (pop_tag): removed.
14338 (push_tag): removed.
14340 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14342 * language.h (Languages): added size_type and size().
14344 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14346 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14347 response on compability reading of minipages. One probliem is that
14348 the old usage of minipages was «flertydig»
14350 * several files here and in subdirs: don't use static at file
14351 scope use anon namespaces instead.
14353 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14355 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14356 LaTeX output. This is necessary for Literate document
14359 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14361 * buffer.C: insert hfill when needed.
14363 * tabular.C (l_getline): use string::erase, small whitespace change.
14365 * BufferView_pimpl.C: try the anon namespace.
14366 * WorkArea.C: ditto
14368 2001-03-16 Juergen Vigna <jug@sad.it>
14370 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14371 otherwise it won't open options-dialogs.
14373 * buffer.C: honor pextraWidth(p) on converting minipages.
14375 * tabular.C (l_getline): changed the functions to strip trailing \r.
14377 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14379 * BufferView_pimpl.C:
14380 * minibuffer..C: added "using SigC::slot" declaration.
14382 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14384 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14390 * paragraph.C: ditto
14392 * lyxtext.h: NO_PEXTRA
14394 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14396 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14397 * ParameterStruct.h: ditto
14398 * ParagraphParameters.h: ditto
14399 * lyxparagraph.h: ditto
14401 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14403 * buffer.C: add compability for minipage alignment.
14404 (latexParagraphs): remove unwanted pextra check.
14406 * several files: remove CXX_WORKING_NAMESPACES
14408 * buffer.C (pop_tag): tie is in namespace boost
14410 * BufferView.h: noncopyable is in namespace boost
14412 * lyx_main.h: ditto
14415 * lastfiles.h: ditto
14416 * bufferlist.h: ditto
14417 * ShareContainer.h: ditto
14419 * LyXAction.h: ditto
14422 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14424 * Merging changes from BRANCH_MVC back into HEAD.
14426 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14428 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14430 * BufferView_pimpl.C: change from intl.C
14434 * Makefile.am: move combox.*
14440 * intl.C: remove dialog (covered by prefs)
14442 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14444 * lyxfunc.C (Dispatch): removed redundant break statement.
14446 2001-03-14 Juergen Vigna <jug@sad.it>
14448 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14450 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14452 * buffer.C: add hack to fix compability reading of minipages.
14454 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14456 * buffer.C (getLists): Cleanup.
14458 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * lyxfont.C (update): don't honor toggleall on font size.
14462 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14466 * Makefile.am: moved to frontends/xforms/
14470 * BufferView_pimpl.C: changes for moved mathpanel
14472 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14474 * gettext.h: fix gettext_init() in --disable-nls
14476 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14478 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14480 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14483 * lyx.h: strip external form
14485 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14487 * BufferView_pimpl.C: add comment, destroySplash()
14489 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14491 * BufferView_pimpl.C:
14495 * lyxfunc.C: use re-worked insetinclude
14497 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14499 * buffer.C: add using std::stringstream.
14501 * lyx_cb.C: readd using std::ios.
14503 * buffer.C: add using std::map.
14505 * BufferView_pimpl.C: add using std::vector.
14507 * ShareContainer.h: add std:: to swap.
14509 * buffer.h: add some typedefs
14510 * buffer.C (getLists): use them
14511 (getLists): renamed from getTocList.
14512 add a counter for the different float types and use it in the
14514 (getLists): use the same counter for the NEW_INSETS and the "non"
14517 * lyx_cb.h: remove unused items, includes, using etc.
14519 * ShareContainer.h: remove some commented code, add more comments
14520 and "documentation".
14522 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14524 * buffer.C (getTocList): make the list also when NEW_INSETS is
14527 * buffer.h: remove TocType
14529 * buffer.C (getTocList): change to return a map<string,
14530 vector<TocItem> >, implement for dynamic number of list.
14532 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14533 * text2.C (PasteSelection): adjust
14534 * CutAndPaste.C (pasteSelection): adjust
14536 * FloatList.C (FloatList): update from the new_insets branch.
14537 * Floating.[Ch]: ditto
14538 * LaTeXFeatures.C: ditto
14540 * lyxlex_pimpl.C: ditto
14542 * paragraph.C (Last): remove when NEW_INSETS is defined.
14544 * other file: changes because of the above.
14546 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14548 * lyxparagraph.h: rename next to next_, previous to previous_,
14549 make them private for NEW_INSETS. Rename Next() to next(),
14550 Previous() to previous().
14552 * other files: changes because of the above.
14554 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14557 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14560 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14562 * main.C (main): pass lyx_localedir to gettext_init().
14564 * gettext.h: remove locale_init and gettext_init macros
14566 * gettext.C (locale_init): new function
14567 (gettext_init): new function
14569 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14572 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14574 * Moved credits to frontends:
14575 * credits.[Ch]: removed
14576 * credits_form.[Ch]: removed
14577 * lyx_gui_misc.C: remove credits stuff
14580 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14582 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14584 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14585 unneeded destructor.
14587 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14588 a standalone pointer again.
14590 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14592 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14598 * ToolbarDefaults.C:
14607 * BufferView_pimpl.C: use new file dialog in GUII
14610 * lyx_cb.C: remove LayoutsCB to Toolbar
14612 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * ShareContainer.h (get): add std:: qualifier
14616 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * ShareContainer.h: define a proper ShareContainer::value_type
14619 type (and use typename to please compaq cxx)
14621 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14623 * lyxparagraph.h: move serveral local vars to
14624 ParameterStruct/ParagraphParameters., use ShareContainer in
14625 FontTable., make vars in FontTable private and add getter and
14628 * paragraph.C: changes because of the above.
14630 * lyxfont.h: remove copy constructor and copy assignment. (the
14631 default ones is ok), move number inside FontBits. move inlines to
14634 * lyxfont.C: add number to initializaton of statics, move several
14635 inlines here. constify several local vars. some whitespace
14636 cleanup. Dont hide outerscope variables.
14638 * Spacing.h: add two new constructors to match the set methods.
14640 * ShareContainer.h: new file, will perhaps be moved to support
14642 * ParameterStruct.h: new file
14644 * ParagraphParameters.h: new file
14646 * ParagraphParameters.C: new file
14648 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14649 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14651 * BufferView_pimpl.C: ParagraphParameter changes.
14652 * buffer.C: Likewise.
14653 * bufferview_funcs.C: Likewise.
14654 * text.C: Likewise.
14655 * text2.C: Likewise.
14657 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * lyxfind.C (LyXReplace): do not redefine default argument in
14661 (IsStringInText): ditto
14662 (SearchForward): ditto
14663 (SearchBackward): ditto
14665 2001-03-06 Juergen Vigna <jug@sad.it>
14667 * lyxfind.C (IsStringInText): put parentes around expressions.
14669 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14671 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14673 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14675 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14677 * stl_string_fwd.h: add comment
14679 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14682 * tabular.C: remove unused DocBook methods
14688 killed DO_USE_DEFAULT_LANGUAGE
14690 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * lyx_gui.C: do not include language.h.
14694 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14695 arguments in function implementation.
14697 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14699 * BufferView_pimpl.C: add <ctime>
14701 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14703 * BufferView_pimpl.C: add using std::find_if
14705 2001-02-27 José Matos <jamatos@fep.up.pt>
14707 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14710 2001-02-11 José Matos <jamatos@fep.up.pt>
14712 * buffer.C (makeDocBookFile): command styles now have a parameter as
14713 "title" by default.
14715 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14717 * layout_forms.[Ch]: removed
14718 * lyx_cb.[Ch]: out character
14719 * lyx_gui.C: out character
14720 * lyx_gui_misc.C: out character
14721 * bufferview_funcs.C: : out character,
14722 added toggleall as parameter in ToggleAndShow
14724 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14726 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14728 * text2.C (SetCurrentFont): Disable number property at boundary.
14730 2001-02-26 Juergen Vigna <jug@sad.it>
14732 * lyxfunc.C (getStatus): added a string argument override function so
14733 that this is correctly called from LyXFunc::Dispatch if it contains a
14734 do_not_use_argument which is used!
14735 (Dispatch): added check for "custom" export and call appropriate func.
14737 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14739 * lyxrc.C: Add language_command_local, language_use_babel and
14740 language_global_options.
14742 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14744 * buffer.C (makeLaTeXFile): Use language_use_babel and
14745 language_global_options.
14747 2001-02-23 Juergen Vigna <jug@sad.it>
14749 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14750 which works with LyXText and putted it inside BufferView. Here now we
14751 only call for that part the BufferView::Dispatch() function.
14753 * BufferView.C (Dispatch): added.
14755 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14756 functions which needs to use a LyXText over from LyXFunc.
14757 (MenuInsertLyXFile): added
14758 (getInsetByCode): added
14759 (moveCursorUpdate): added
14760 (static TEXT): added
14762 2001-02-22 Juergen Vigna <jug@sad.it>
14764 * BufferView_pimpl.C (update): call a status update to see if LyXText
14767 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14769 * vc-backend.C (revert): implement for CVS
14770 (getLog): implement for CVS
14772 2001-02-20 Juergen Vigna <jug@sad.it>
14774 * text2.C (ClearSelection): added BufferView param for inset_owner call
14776 * lyxfunc.C (TEXT): added this function and use it instead of
14777 directly owner->view()-text of getLyXText().
14779 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14781 * src/layout_forms.C: out preamble
14782 * src/layout_forms.h: out preamble
14783 * src/lyx_cb.C: out preamble
14784 * src/lyx_cb.h: out preamble
14785 * src/lyx_gui.C: out preamble
14786 * src/lyx_gui_misc.C: out preamble
14787 * src/lyxfunc.C: connect with guii preamble
14789 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14791 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14793 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14795 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14796 whether to run bibtex.
14798 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14800 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14802 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14804 * Makefile.am (lyx_SOURCES): removed bibforms.h
14806 * vspace.h: doxygen
14808 * text.C (GetVisibleRow): make several local vars const
14810 * tabular.C: small cleanup.
14812 * lyxserver.C (callback): use compare instead of strncmp
14814 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14815 inlines to after class or to paragraph.C
14817 * lyxfont.h: remove friend operator!=
14819 * converter.h: move friend bool operator< to non friend and after
14822 * combox.h: small cleanup
14824 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14825 to inlines after class def.
14827 * buffer.C (pop_tag): use string operations instead of strcmp
14829 * bmtable.c: doxygen, small cleanup
14831 * LaTeX.h: remove friend operator==
14833 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14845 * BufferView_pimpl.C:
14846 * BufferView.[Ch]: remove cruft
14848 2001-02-14 Juergen Vigna <jug@sad.it>
14850 * lyxfunc.C: removed #if 0 unused code
14852 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14854 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14856 * text2.C (SetSelection): added a BufferView * parameter
14858 2001-02-13 Juergen Vigna <jug@sad.it>
14860 * lyxfunc.C (Dispatch): fixed protected blank problem.
14861 * BufferView2.C (protectedBlank): added LyxText * parameter.
14863 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14864 (AppendColumn): same as above for column_info.
14866 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14867 (moveCursorUpdate): use a LyXText param for support of InsetText.
14869 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14870 (tripleClick): ditto
14872 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14874 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14876 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14878 * text2.C (SetSelection): set correct update status if inset_owner
14879 (ToggleFree): ditto
14881 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14883 * tabular.C: remove some commented code.
14885 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14887 * BufferView_pimpl.C: call hideSplash()
14889 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14892 * bibforms.h: remove
14895 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14896 add LFUN_CHILD_CREATE
14898 * counters.h: fix tiny typo
14903 * lyx.C: move splash to frontends/xforms/
14905 * lyx_gui_misc.C: move Include and Bibform to frontends
14907 * lyxvc.h: clarify comment
14909 * vspace.C: tiny housekeeping
14911 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14913 * text.C (PrepareToPrint): RTL Fix.
14915 * paragraph.C (GetUChar): New method.
14916 (String): Use GetUChar.
14918 * buffer.C (asciiParagraph): Use GetUChar.
14920 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14922 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14924 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14927 * buffer.C: rename to getLogName(), handle
14928 build log / latex log nicely
14930 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14933 * MenuBackend.h: remove support for reference menuitem type.
14935 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.C: housekeeping
14938 * BufferView_pimpl.h:
14943 * minibuffer.h: move Timeout GUI-I
14945 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14947 * lyxrc.C (read): Update converters data-structures.
14949 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14951 * LaTeX.h (operator!=): add operator != for Aux_Info
14953 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14955 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14957 * LaTeXLog.C: deleted, useful code moved to Buffer
14960 * buffer.C: new function getLatexLogName()
14966 * lyxfunc.C: use frontends for LaTeX and VC logs
14968 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * LaTeX.h: yet another std:: that Allan forgot.
14972 * Variables.C (set): renamed from isset(), because this clashes
14973 with some HP-UX macros (grr).
14975 2001-02-06 Allan Rae <rae@lyx.org>
14977 * LaTeX.h: Another bug fix. Missing std:: this time.
14979 2001-02-04 Allan Rae <rae@lyx.org>
14981 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14982 floats problem. I've left it commented out because it's not quite
14983 correct. It should also test that the current object is a table or
14984 figure inset. But I haven't gotten around to figuring out how to do
14985 that. I *think* it'll be something like: "table" == inset.type()
14987 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14990 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14992 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14993 all the citation/databases/styles in the auxilary file.
14994 (run): Rerun latex if there was a babel language error.
14996 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14998 * text.C (Backspace): Preserve the font when changing newline char
15000 (BreakParagraph): If the cursor is before a space, delete the space.
15002 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15004 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15006 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15007 new argument (code).
15008 (ChangeCitationsIfUnique): New method.
15010 * paragraph.C (GetPositionOfInset): Handle bibkey.
15012 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15014 * BufferView_pimpl.h: change type of Position::par_pos to
15015 LyXParagraph::size_type.
15017 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15019 * BufferView_pimpl.C (savePosition, restorePosition): Write
15020 messages to minibuffer.
15022 2001-01-28 José Matos <jamatos@fep.up.pt>
15024 * buffer.C (makeDocBookFile): adds support for document language.
15025 A silly restriction on the name of LatexCommand types where removed.
15026 Added support for CDATA sections, allows to chars unescaped, used
15027 among others in code, to avoid escape < and >.
15029 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15031 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15032 saved positions instrad of a stack. Furthermore, a position is
15033 stored using paragraph id/paragraph position.
15035 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15036 Remove LFUN_REF_BACK.
15038 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15040 * converter.C (dvipdfm_options): New method.
15042 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15044 * vspace.C (isValidLength): Fix for empty input string.
15046 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15048 * LyXAction.C (init): change description of LFUN_FIGURE to
15051 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * LaTeX.C: add using directive
15055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15057 * MenuBackend.C (expand): Fix the sorting of the formats.
15059 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15061 * lyx_main.C: tiny error message fix
15063 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15066 calling fl_initialize(). This fixes the problem with ',' as
15067 decimal separator in text files.
15069 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15071 * trans.C (process): Fix the keymap bug.
15073 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15075 * LaTeX.C (scanAuxFiles): New method. Provides support for
15076 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15077 (scanLogFile) Scan for "run BibTeX" messages.
15079 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15080 OT1 font encoding. Also, load the aecompl package if the ae
15083 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15085 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15087 * texrow.C (increasePos): turn two error messages into debug
15090 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15092 * LaTeX.C (scanAux): Handle the \@input macro.
15093 (runBibTeX): Use scanAux().
15095 * language.C (latex_options_): New field.
15097 * LaTeXFeatures.C (getMacros): Add language macros.
15099 * buffer.C (makeLaTeXFile): Small fix.
15101 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15105 * text2.C: add a using directive.
15107 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15112 * lyxfunc.C: kill LyXBell.
15114 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15116 * text.C (IsBoundary): Remove the error message
15118 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15120 * lyxrc.C (setDefaults): Correct initialization value for
15123 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15125 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15128 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15129 and GotoNextNote().
15131 * src/LyXAction.C: Added reference-next.
15133 * text.C (InsertChar): Use contains instead of strchr.
15135 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15137 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15139 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15140 alignment commands (when needed).
15142 * text.C (InsertChar): Add ':' to number separator chars.