1 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: increment file format to 231.
5 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
7 * dociterator.C: implement forwardPar
8 * iterators.[Ch]: remove, replaced by
9 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
22 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
24 * CutAndPaste.C (pasteSelection): fix 2 crashes
25 (eraseSelection): fix a crash
26 * paragraph_funcs.C: remove a warning
28 2004-03-28 Angus Leeming <leeming@lyx.org>
31 * LyXAction.C (init): new LFUN_PRINT.
33 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
35 2004-03-27 Angus Leeming <leeming@lyx.org>
38 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
40 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
42 2004-03-27 Angus Leeming <leeming@lyx.org>
44 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
45 insetlist always contains non-null pointers to insets.
47 2004-03-26 Angus Leeming <leeming@lyx.org>
49 * src/BufferView_pimpl.C:
53 * src/output_plaintext.C:
55 * src/paragraph_funcs.C:
59 * src/frontends/controllers/ControlErrorList.C:
60 * src/frontends/gtk/FileDialogPrivate.C:
61 * src/frontends/gtk/GPainter.C:
62 * src/frontends/gtk/GToolbar.C:
63 * src/frontends/qt2/QRef.C:
64 * src/mathed/math_scriptinset.C: squash compiler warnings.
66 2004-03-26 Angus Leeming <leeming@lyx.org>
68 * ispell.C (LaunchIspell::start):
69 * lyx_cb.C (AutoSaveBuffer::start):
70 invoke run(DontWait) rather than runNonBlocking().
72 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
74 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
76 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * kbsequence.C (print): adjust
80 * kbmap.C (printKeySym): rename and change signature
81 (printKey): use LyXKeySym::print()
83 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
85 * undo.C: add using std::advance to compile for stlport
87 2004-03-24 Angus Leeming <leeming@lyx.org>
89 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
90 it leads to a crash when no buffer is present.
92 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 Martin Vermeer <martin.vermeer@hut.fi>
95 * lyxfunc.C (dispatch):
96 * bufferparams.C (readToken): use the new LColor::setColor
98 * LColor.[Ch] (setColor): new version that takes two strings as
99 argument and creates a new color entry if necessary
101 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
103 * buffer.C (makeLaTeXFile): if the main latex file that is
104 processed is usually a subdocument of some master, then pretend
105 for a while that it is actually the master
107 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
109 * buffer.C (getLabelList):
110 (getBibkeyList): use getMasterBuffer()
111 (getMasterBuffer): new method. Returns the main document in the
112 case where one is using included documents.
114 2004-03-25 André Pönitz <poenitz@gmx.net>
118 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
120 * ParagraphList_fwd.h: change ParagraphList to a std::vector
122 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
123 text*.C over here. Rename namespace CutAndPaste to lyx::cap
125 * ParameterStruct.h: merge with ParagraphParameters
127 * lyxtext.h: remove LyXText::parOffset() and getPar()
129 * text3.C: Remove all 'manual' update calls. We do now one per user
130 interaction which is completely sufficient.
134 * BufferView_pimpl.C:
137 * ParagraphParameters.[Ch]:
149 * output_docbook.[Ch]:
151 * output_linuxdoc.[Ch]:
152 * output_plaintext.[Ch]:
154 * paragraph_funcs.[Ch]:
155 * paragraph_pimpl.[Ch]:
163 * frontends/controllers/ControlDocument.C:
164 * frontends/controllers/ControlErrorList.C:
165 * frontends/controllers/ControlSpellchecker.C:
168 * insets/insetbase.h:
169 * insets/insetbibitem.C:
171 * insets/insetbranch.C:
172 * insets/insetcaption.C:
173 * insets/insetcharstyle.C:
174 * insets/insetcharstyle.h:
175 * insets/insetcollapsable.C:
176 * insets/insetcollapsable.h:
178 * insets/insetfloat.C:
179 * insets/insetfoot.C:
180 * insets/insetmarginal.C:
181 * insets/insetnote.C:
182 * insets/insetoptarg.C:
183 * insets/insettabular.C:
184 * insets/insettext.C:
185 * insets/insettext.h:
186 * insets/insetwrap.C:
187 * mathed/math_mboxinset.C:
188 * mathed/math_nestinset.C:
189 * mathed/math_scriptinset.C:
190 * mathed/math_scriptinset.h:
193 2004-03-24 Angus Leeming <leeming@lyx.org>
195 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
196 deal with any child processes that have finished but are waiting to
197 communicate this fact to the rest of LyX.
199 2004-03-24 Angus Leeming <leeming@lyx.org>
201 64-bit compile fixes.
203 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
204 (c-tor): pass lyx::pos_types rather than ints.
206 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
209 * text.C (Delete): compile fix.
210 (getPar): ensure that function declaration is the same as that in
213 2004-03-23 Angus Leeming <leeming@lyx.org>
215 * ispell.C (LaunchIspell):
216 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
217 a boost::shred_ptr rather than a std::auto_ptr.
219 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * lyxfunc.C (getStatus): handle read-only buffers correctly;
222 handle LFUN_FILE_INSERT_*
224 * lyxrc.C (setDefaults, getDescription, output, read):
225 * lyxrc.h: remove ps_command
227 2004-03-22 Angus Leeming <leeming@lyx.org>
229 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
230 Ensure that error_handler is processed once only and that all data
231 is saved before attempting to output any warning messages.
233 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
235 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
237 * tabular.C (TeXRow): crash fix (from Kayvan and André)
239 2004-03-19 André Pönitz <poenitz@gmx.net>
241 * cursor.[Ch] (reset): take main text inset as argument
244 * BufferView_pimpl.C: adjust
246 * paragraph.[Ch]: fix completely broken operator=()
248 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * LColor.C (getFromLyXName): make sure that the color name is used
253 2004-03-17 Angus Leeming <leeming@lyx.org>
256 * LyXAction.C (init): remove LFUN_FORKS_KILL.
258 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
259 dialog and to kill a forked process.
261 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
263 * text2.C (setCursorFromCoordinates): fix font problem
265 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
267 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
268 bogus "rebuild cursor" code
270 2004-03-11 André Pönitz <poenitz@gmx.net>
272 * buffer.[Ch]: use InsetText instead of LyXText as container for
275 * dociterator.[Ch]: drop the BufferView * member which is not needed
276 anymore after the change to buffer.C
282 * BufferView_pimpl.[Ch]:
284 * cursor_slice.[Ch]: adjust
286 * text3.C: fix bug in mathDispatch
288 2004-03-08 André Pönitz <poenitz@gmx.net>
290 * undo.[Ch]: use 'StableDocumentIterator' as base for
293 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * bufferparams.[Ch]: add jurabib support and param.
298 * LaTeX.C: add FIXME/comment.
300 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * buffer.C: increment file format to 230.
304 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
306 * cursor.C (dispatch): avoid infinite loops
308 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
310 * rowpainter.C (paintSelection): fix x coordinates
312 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
314 * text.C (rowBreakPoint): fix breaking before displayed insets
316 2004-03-01 André Pönitz <poenitz@gmx.net>
318 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
320 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
324 * BufferView_pimpl.C:
332 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
338 * BufferView_pimpl.C: rename textwidth -> maxwidth,
339 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
341 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
343 * Bidi.[Ch] (computeTables): const correctness
344 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
345 fill_hfill, fill_label_hfill and x from Row
346 * lyxtext.h: prepareToPrint returns a RowMetrics
347 * rowPainter.C: adjust
348 * text.C (prepareToPrint): use width, not textWidth. adjust
349 (redoParagraphInternal, cursorX): adjust
350 * text2.C (getColumnNearX): adjust
351 (init): put a default value to the top LyXText::width
353 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
355 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
357 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
359 * lyxtext.h: add FontIterator class
361 * text.C (FontIterator, operator*, operator->, operator++): add
362 (rowBreakPoint, setRowWidth): adjust (fixing a
365 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * BufferView_pimpl.C (workAreaDispatch): allow also
368 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
370 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
372 * text.C (rowBreakPoint): fix a bug showing with very large insets
374 2004-02-25 André Pönitz <poenitz@gmx.net>
377 * cursor.[Ch]: move some mathed specific code to mathed
379 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
381 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
382 use_tempdir in preferences
383 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
385 * lyx_main.C: ensure that tempdir is valid
386 * lyxlex.h: correct typo
387 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
388 * paragraph.[Ch] (isMultiLingual): make const
389 * cursor.[Ch] (openable): make const
391 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
395 2004-02-20 André Pönitz <poenitz@gmx.net>
397 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
399 * cursor.[Ch]: prepare for localized getStatus()
405 * text3.C: streamlines the LyXText cursor movement handlers a bit.
407 2004-02-20 André Pönitz <poenitz@gmx.net>
409 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
411 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
413 * text2.C (setCursorFromCoordinates): switch to absolute coords
416 * text3.C (dispatch): adjust
418 2004-02-16 André Pönitz <poenitz@gmx.net>
420 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
423 * cursor_slice.[Ch]: remove unneeded acessor function
425 * lyxtext.h: rename rtl() to isRTL()
433 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
435 * rowpainter.C (paintSelection): coord fix
437 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * Spacing.C: compile fix
441 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
443 * cursor.C (dispatch): restore current_ before returning
445 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
447 * text2.C (cursorUp, cursorDown): fix coords
450 2004-02-12 André Pönitz <poenitz@gmx.net>
455 * text3.C: add LCursor & parameter to most cursor movement functions
456 remove usage of LyXText::cursorRow() and cursorPar()
458 * cursor.[Ch]: add textRow() needed members
461 * BufferView_pimpl.C:
464 * BufferView_pimpl.C: adjust
466 2004-02-11 André Pönitz <poenitz@gmx.net>
470 * BufferView_pimpl.C: shift undo/redo handling
472 * cursor.[Ch]: fix mathed crash
475 * lyxtext.h: move selectionAsText to LCursor
483 * rowpainter.C: fix excessive drawing
485 2004-02-06 André Pönitz <poenitz@gmx.net>
488 * BufferView_pimpl.[Ch]:
489 * text3.C: move some text specific LFUN handling
491 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
493 * text3.C (checkInsetHit): adjust coords
494 * text2.C (getColumnNearX): adjust coords
495 (edit): adjust coords
496 * text.C (getRowNearY): add two asserts
498 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
501 * format.C: add using std::distance to compile on gcc 2.95/stlport
503 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
505 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
507 2004-02-04 André Pönitz <poenitz@gmx.net>
509 * BufferView.[Ch] (insertInset):
510 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
515 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
517 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
518 on the default clause of the switch
519 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
520 wasn't catched by LCursor::dispatch
522 2004-02-03 André Pönitz <poenitz@gmx.net>
525 * cursor.[Ch]: some additional asserts
527 * undo.[Ch]: remove LyXText dependency in interface
531 * lyxtext.h (firstPar, lastPar): remove dead functions
536 * paragraph.[Ch]: adjust
538 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
540 * lyxfind.C (find): fix argument order in call to ::find
542 2004-02-02 André Pönitz <poenitz@gmx.net>
544 * cursor.[Ch]: remove direct access to anchor
546 * text.C: remove findText() hack
548 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
550 * iterators.[Ch] (lockPath): remove in favour of...
551 * BufferView.[Ch] (setCursor): this addition
552 * BufferView.C (putSelectionAt): adjust
553 * undo.C (performUndoOrRedo): adjust
554 * lyxfunc.C (dispatch): adjust
556 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
558 * iterators.C (lockPath): add a missing slice
559 * undo.C (performUndoOrRedo): remove redundant positioning code
561 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
563 * vc-backend.C (scanMaster): ";" -> ';'
565 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
567 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
570 * lyxtextclass.C (compare_name): rename to...
571 (LayoutNamesEqual): ...this
573 * lyxlex_pimpl.C (compare_tags): inherit from
574 std::binary_function, put back into anon namespace
576 * lyxfind.C (MatchString): inherig from std::binary_function
577 (findChange): use empty() istead of !size()
579 * format.C (FormatNamesEqual): new functor
586 * converter.C (compare_Converter): rename to...
587 (ConverterEqual): ...this, and fixup a bit.
588 (getConverter): use it, and make function const
589 (getNumber): use it, and make function const
593 * bufferlist.C: add using boost::bind
595 * MenuBackend.C (MenuNamesEqual): new functor
596 (hasMenu): use it, and make function const
597 (hasSubmenu): use nested bind to get rid of compare_memfun.
599 2004-01-30 André Pönitz <poenitz@gmx.net>
601 * BufferView_pimpl.C:
612 * text3.C: move some of the edit(x,y) handling to the insets
613 some coordinate changes.
615 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
617 * text.C: add using statements for std::advance and std::distance
619 * paragraph.C: add using statement for std::distance
621 * lyxfind.C: add using statement for std::advance
623 * cursor.C (region): remove std:: from swap
624 (openable): use nucleus in stead of operator->
626 * BufferView.C: add using statements for std::distance and std::swap
628 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
630 * iterators.C: Remove the pimple, move the needed structures to
631 the header file. Create accessor for the positions stack.
632 (asPosIterator): remove function
634 * PosIterator.C (PosIterator): move constructors to top of file
635 (PosIterator): reimplement the constructor taking a ParIterator in
637 (setFrom): new function
638 (operator!=): inline it
640 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
642 * lyxfind.C (replaceAll): use std::advance
644 * iterators.h: inherit from std::iterator.
646 * PosIterator.C (advance, distance): remove
647 * PosIterator.h: interit from std::iterator.
649 2004-01-26 André Pönitz <poenitz@gmx.net>
652 * BufferView_pimpl.[Ch]:
656 * bufferview_funcs.C:
667 * output_plaintext.C:
669 * paragraph_funcs.[Ch]:
670 * paragraph_pimpl.[Ch]:
676 * text3.C: more IU: dumps most of the rest of the mathcursor
677 implementation into cursor.[Ch]; "globalize" a bit of it.
679 2004-01-25 Angus Leeming <leeming@lyx.org>
681 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
683 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
685 * LaTeXFeatures.h: add nice_ and nice() const
686 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
688 2004-01-20 André Pönitz <poenitz@gmx.net>
691 * BufferView_pimpl.C:
693 * bufferview_funcs.C:
706 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
707 LCursor and mathcursor parts to LCursor and InsetBase.
709 2004-01-15 André Pönitz <poenitz@gmx.net>
711 * cursor_slice.[Ch]: add a few covienience functions
713 * funcrequest.[Ch]: remove BufferView * member
715 * BufferView_pimpl.C:
722 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
724 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
726 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
727 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
729 2004-01-13 André Pönitz <poenitz@gmx.net>
732 * lyxtext.h: hide cursor and selection anchor behind accessor function
735 * BufferView_pimpl.[Ch]:
737 * bufferview_funcs.C:
747 * cursor_slice.[Ch]: some integer type changes for inset unification
749 * lyxcursor.[hC]: remove, it's CursorSlice now.
752 * BufferView_pimpl.[Ch]:
753 * bufferview_funcs.C:
759 * textcursor.[Ch]: adjust
761 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
763 * text2.C (undoSpan): add and use
764 * text.C (breakParagraph): use undoSpan (fix bug 578)
767 2004-01-08 Angus Leeming <leeming@lyx.org>
769 * BufferView_pimpl.C (MenuInsertLyXFile):
770 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
771 * lyxfunc.C (menuNew, open, doImport):
772 FileFilterList change to the FileDialog open and save functions.
774 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * ShareContainer.h: make isEqual and isUnique adaptable
778 * CutAndPaste.C: make resetOwnerAndChanges adaptable
780 2004-01-07 Angus Leeming <leeming@lyx.org>
783 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
785 * BufferView_pimpl.C (dispatch): act on these LFUNs.
787 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
788 functions replacing find, replace and replaceAll.
790 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
791 LFUN_WORDFIND(FORWARD|BACKWARD).
793 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
795 * text.C (breakParagraph): remove an outdated #warning
797 2004-01-07 André Pönitz <poenitz@gmx.net>
799 * lyxfind.C: somewhat clearer logic
801 * text.C: prevent crash in cursorX on unitialized row cache
803 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
805 * lyxcursor.[Ch] (operator>): add
806 * textcursor.C (selStart, selEnd): use std::min and std::max
808 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
810 * Chktex.C: include boost/format.hpp
812 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
814 * InsetList.C: replace functor MathcIt with adaptable functor
816 (insetIterator): modify accordingly
818 * BranchList.h: move the BranchNamesEqual functor here from...
819 * BranchList.C: ... to here
821 * BranchList.C: new BranchListEqual fuctor, use it. Remove
823 (add): replace a finding loop with std::find_if.
825 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
827 * output_docbook.C: moving LatexParam functionality into
830 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
832 * buffer.C: increment format to 229.
834 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
837 * lyx_sty.[Ch]: remove minipageindent_def
843 * text3.C: remove LFUN_INSET_MINIPAGE
845 2003-12-28 Angus Leeming <leeming@lyx.org>
847 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
849 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
851 * text2.C (setParagraph): fix off-by-one crash
853 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
855 * output_docbook.C: header stuff for AGU
857 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
859 * text2.C (redoCursor): remove
862 * BufferView_pimpl.C: remove calls to redoCursor and
863 setCursor(cursor.par(), cursor.pos()) all around
865 2003-12-15 Angus Leeming <leeming@lyx.org>
867 * buffer.C: up the format to 228.
869 2003-12-15 André Pönitz <poenitz@gmx.net>
871 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
876 * BufferView_pimpl.C:
885 2003-12-15 Angus Leeming <leeming@lyx.org>
887 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
888 than getFromGUIName to manipulate the color.
890 2003-12-14 Angus Leeming <leeming@lyx.org>
892 * BranchList.[Ch]: minimize the API.
893 (Branch::getBranch, getColor): now return a 'const &'.
894 (Branch::setSelected) now returns a bool set to true if the
895 selection status changes.
896 (BranchList::clear, size, getColor, setColor, setSelected,
897 allBranches, allSelected, separator): removed.
898 (BranchList::find): new functions, returning the Branch with
900 (BranchList::add, remove): return a bool indicating that
901 the operation was successful.
903 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
904 new InsetBranch::isBranchSlected member function.
906 * LColor.[Ch]: mimimize the API.
907 (fill): renamed as addColor and made private.
908 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
909 versions of these functions taking a string arg have been removed.
911 * bufferparams.C (readToken):
912 * lyxfunc.C (dispatch):
913 * lyxrc.C (read): changes due to the altered BranchList and
916 * factory.C (createInset, readInset): changes due to altered
919 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
922 * lyxfunc.C: remove insetminipage. "minipage-insert"
923 now produces a frameless minipage box inset.
925 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
927 * textcursor.[Ch] (selStart,selEnd): add new methods
928 remove selection::start, end, use LyXCursor::operator<
929 * lyxcursor.[Ch] (operator<): add
930 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
931 * BufferView.[Ch] (unsetXSel): add
932 * text2.C (clearSelection): use unsetXSel,adjust
935 * rowpainter.C: adjust
936 * bufferview_funcs.C (put_selection_at): adjust
938 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
940 * BufferView_pimpl.C: small coord. correction
942 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
944 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
945 dragging over the splash screen.
947 2003-12-11 Angus Leeming <leeming@lyx.org>
949 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
950 as it is now handled in LyXText::dispatch.
952 * text3.C (doInsertInset): remove a level of nesting.
954 2003-12-11 Angus Leeming <leeming@lyx.org>
956 * factory.C (createInset): changes due to the changed interface to
957 InsetCommandMailer::string2params.
959 2003-12-10 Angus Leeming <leeming@lyx.org>
961 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
962 'dialog-show-new-inset <inset name>'
964 2003-12-10 Angus Leeming <leeming@lyx.org>
966 * buffer.C: up the format to 227.
968 * factory.C: the box inset is now identified simply by 'Box'.
970 2003-12-10 Angus Leeming <leeming@lyx.org>
972 * buffer.C: up the format to 226.
974 * factory.C: the note inset is now identified simply by 'Note'.
976 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
978 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
979 when a pit is enough. Standarize a couple of loops.
981 2003-12-05 Angus Leeming <leeming@lyx.org>
983 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
984 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
985 data to the re-worked "log" dialog.
987 2003-12-03 André Pönitz <poenitz@gmx.net>
995 * text2.C: use Inset::getText instead of Inset::getParagraph
997 2003-12-03 André Pönitz <poenitz@gmx.net>
1001 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1002 InsetText::read() as LyXText::read()
1004 2003-12-02 Angus Leeming <leeming@lyx.org>
1006 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1007 type. Add a comment in the implementation that the function uses
1008 the stream's bad() function rather than fail() as the std::streams
1011 2003-12-02 André Pönitz <poenitz@gmx.net>
1013 * lyxlex.[Ch]: make interface more similar to std::stream
1015 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1017 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1019 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1021 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1023 * vspace.[Ch]: remove VSpace::NONE
1025 2003-12-01 André Pönitz <poenitz@gmx.net>
1028 * lyxtext.h: move ParagraphList member to LyXText
1029 rename LyXText::ownerParagraphs to LyXText::paragraph
1032 * bufferview_funcs.C:
1042 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1044 * undo.C: fix cursor positioning
1046 2003-12-01 John Levon <levon@movementarian.org>
1048 * BufferView_pimpl.C: fix a crash on exit with
1051 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1053 * BranchList.C: fix setSelected() method.
1055 2003-11-28 André Pönitz <poenitz@gmx.net>
1057 * ParagraphParameters.[Ch]:
1058 * ParameterStruct.h: remove space above/below from Paragraph to
1061 * BufferView_pimpl.C:
1067 * paragraph_funcs.C:
1073 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1075 * factory.C: Syntax change for CharStyles
1077 2003-11-28 André Pönitz <poenitz@gmx.net>
1082 * buffer.[Ch]: move LyXText member
1084 2003-11-28 André Pönitz <poenitz@gmx.net>
1086 * BufferView.[Ch]: make LyXText * text a private member
1088 * BufferView_pimpl.C:
1099 * output_plaintext.C: cleanup
1101 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1104 * lyxtextclass.[Ch]: parametrize SGML document header
1106 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1109 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1112 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1114 * text2.C (setFont): rework using PosIterator (no more recursive)
1115 (setCharFont): no more needed
1116 (setLayout): no more selection cursors fiddling (done by redoCursor)
1117 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1118 destroy remaining ones)
1120 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1122 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1124 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1127 * text3.C: adjust + re-allow multi par depth changes
1128 * textcursor.C: simplify a bit
1130 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1136 * src/output_docbook.C:
1137 * src/output_latex.C:
1142 * src/text2.C: Introducing a number of tags parametrizing various
1143 XML formats that we may want to support
1145 2003-11-25 André Pönitz <poenitz@gmx.net>
1147 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1149 * lyxtext.h (leftMargin/rightMargin): simplify interface
1156 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1158 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1159 master file to any child files. Fixes bug 546.
1161 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1163 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1165 2003-11-24 André Pönitz <poenitz@gmx.net>
1167 * rowpainter.C: simplification
1169 * text2.C (updateCounters): remove call to redoParagraph on
1170 changed labels as this is far too expensive.
1172 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1174 * converter.C (convert): fix a crash: this function gets
1175 called with buffer == 0 from importer code.
1177 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1179 * text3.C (cursorPrevious): make sure that we do not compare
1180 iterators form different containers.
1183 * rowpainter.C (paintSelection): make sure that we do not compare
1184 iterators from different containers.
1186 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1187 iterators from different ParagraphList containers.
1190 * text2.C (LyXText): change order of initialization slightly
1191 (operator=): new function. copy all variables except cache_par_
1192 (moveUp): make sure that we do not compare iterators from
1193 different ParagraphList constainers.
1196 * text.C (firstPar): new function
1197 (lastPar): new function
1198 (endPar): new function
1200 * lyxtext.h: move things around and group public functions, public
1201 variables, private functions, private variables
1203 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1205 * factory.C: change call to InsetERT constructor to avoid
1206 additional invocation of method status
1207 * text2.C (toggleInset): remove redundant update() call
1208 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1209 instead of a Bufferview pointer
1211 2003-11-21 André Pönitz <poenitz@gmx.net>
1213 * rowpainter.C: simplification
1215 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1217 * text3.C (dispatch): make possible to extend a word/row selection
1220 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1222 * lyxtext.h: x0_,y0_ -> xo_,yo_
1223 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1224 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1225 * rowpainter.C (paintRows): paint full paragraphs
1227 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1229 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1232 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1234 * lyxtext.h: add x0_, y0_
1235 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1236 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1238 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1240 * text2.C (setCursorIntern): move the x_target update here *
1241 * text3.C: change some bv() to true/false in calls to
1242 cursorUp/Down/Right/Left
1243 * cursor.C: use helper function.
1245 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1247 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1248 * paragraph_funcs.[Ch]: correct comment
1249 * rowpainter.C: do not paint selections away from bv->cursor()
1250 Fix a long standing selection painting bug.
1251 * text3.C: generalize mouse-selection code to LyXTexts other that
1253 * textcursor.C: do not use y coords if we can use par offsets
1255 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1257 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1258 cursor position after e.g. inset insert)
1260 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1262 * lyxfind.C (replace): adjust to locking removal + some
1265 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1267 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1270 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1273 * output_docbook.C: XML sanitation: new layout
1274 parameters InnerTag and CommandDepth
1276 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1278 * BufferView_pimpl.C:
1280 * text3.C: Fix the insertion and modification of button-style
1283 2003-11-13 André Pönitz <poenitz@gmx.net>
1285 * InsetList.[Ch]: remove deleteLyXText
1287 * paragraph.[Ch]: cache beginOfBody position
1292 * text3.C: remove superfluous update() calls
1296 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1298 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1299 * BufferView.C (fitLockedInsetCursor): remove
1300 * cursor.[Ch] (getDim): add
1301 * text.C (getRowNearY): add faster version
1302 * text3.C: remove some update calls
1304 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1316 * text3.C: The Character Style /XML short element patch.
1318 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1321 * factory.C: Small step to solving 'unable to insert some insets'
1324 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1326 * cursor.[Ch] (updatePos): new function for updating the y
1327 position of the tip inset
1328 * bufferview_funcs.C (put_selection_at):
1329 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1331 2003-11-11 André Pönitz <poenitz@gmx.net>
1333 * text.C: remove big comment on invalid Paragraph pointers as it is
1336 2003-11-11 André Pönitz <poenitz@gmx.net>
1338 * text_funcs.[Ch]: merge with ...
1346 * Makefile.am: remove text_funcs.[Ch]
1348 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1350 * cursor.C (getPos): return absolute cached y coord
1352 * BufferView_pimpl.C (fitCursor): new simplistic code
1353 (workAreaDispatch): add a fitCursor call
1355 2003-11-10 André Pönitz <poenitz@gmx.net>
1358 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1360 2003-11-10 André Pönitz <poenitz@gmx.net>
1362 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1363 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1364 indicate that the cursor needs to leave an inset
1366 * lyxtext.h: remove inset locking
1368 * cursor.[Ch]: re-implement functionality provided by inset locking
1371 * BufferView_pimpl.[Ch]:
1373 * bufferview_funcs.[Ch]:
1385 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1387 * PosIterator.[Ch]: replace the stack with a vector, add inset
1389 * iterators.[C]: adjust
1391 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1393 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1395 * paragraph_funcs.C (readParToken): put the correct id in the
1396 error item, not the id of the top paragraph
1398 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1400 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1401 * bufferview_funcs.C (put_selection_at): use the above
1403 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1405 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1407 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * output_linuxdoc.h:
1410 * output_plaintext.h:
1412 * output_docbook.h: add #include statements
1414 2003-11-05 José Matos <jamatos@lyx.org>
1416 * output_docbook.[Ch]:
1417 * output_latex.[Ch]:
1418 * output_linuxdoc.[Ch]:
1419 * output_plaintext.[Ch]: New files for output formats.
1420 * output.[Ch]: New file for helper functions.
1423 * paragraph_funcs.[Ch]: output functions moved to new files.
1425 * outputparams.h: rename of latexrunparams.h
1433 * paragraph_funcs.[Ch]:
1434 * paragraph_pimpl.[Ch]:
1435 * tabular.[Ch]: rename ascii to plaintext
1436 and LatexRunParams to OutputParams.
1438 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1440 * iterators.[Ch] (text): require bv argument
1441 * undo.C (recordUndo):
1442 * lyxfunc.C (dispatch):
1443 * bufferview_funcs.C (put_selection_at): adjust
1445 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1447 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1449 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1451 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1454 2003-11-04 André Pönitz <poenitz@gmx.net>
1456 * cursor.[Ch]: restructure
1459 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1461 * iterators.[Ch] (asCursor): remove
1463 * lfuns.h: remove LFUN_INSET_EDIT
1469 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1471 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1473 * lyxfind.[Ch]: complete overhaul
1474 * BufferView_pimpl.C:
1476 * paragraph.[Ch] (insert): add
1478 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1482 * text.C: remove dead spellcheck code
1484 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * dispatchresult.h: add a val setter
1488 * cursor.C (dispatch): use a tempvar for data_[i]
1490 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1492 * PosIterator.[Ch]: compile fix
1494 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1496 * text.C (cursorPar): deactivate the cursor cache
1498 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1500 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1502 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * text3.C (dispatch): adjust for new DisptchResult semantics.
1506 * lyxfunc.C (dispatch): handle update when return from
1507 Cursor::dispatch, adjust for new DispatchResult semantics.
1509 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1510 DispatchResult(true) mean to not update. Add class functions for
1511 setting dispatched and update, as well as reading.
1513 * cursor.C (dispatch): don't handle update here
1515 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1518 * trans_mgr.C: adjust
1520 * paragraph_funcs.C (readParToken): exception safety
1522 * lyxvc.h: store the vcs pointer in a scoped_ptr
1525 * lyxsocket.C (serverCallback): exception safety
1527 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1529 * ispell.C (clone): make it return a auto_ptr
1531 * factory.C (createInset): exception safety
1532 (readInset): exception safety
1534 * bufferlist.C (newBuffer): exception safety
1536 * Thesaurus.C (Thesaurus): use initialization for aik_
1538 * MenuBackend.C (expandToc): exception safety.
1540 2003-11-03 André Pönitz <poenitz@gmx.net>
1544 * bufferview_funcs.C: remove getInsetFromId()
1547 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1553 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1555 * PosIterator.C (distance, advance): new
1556 * bufferview_funcs.[Ch] (put_selection_at): new
1557 * iterators.[Ch] (lockPath): new
1559 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1561 * iterators.[Ch] (asPosIterator): added
1562 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1563 * PosIterator.[Ch]: added
1565 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * cursor.C (dispatch):
1570 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1572 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1573 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1574 contructor, add a class function dispatched. Remove operator>=
1576 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * debug.C: only use the default constructor for debugstream
1581 * main.C (main): include debug.h and setup the lyxerr streambuf
1584 2003-10-31 José Matos <jamatos@lyx.org>
1586 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1588 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1589 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1590 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1591 * paragraph_pimpl.C (simpleTeXSpecialC):
1592 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1593 add LatexRunParams argument.
1595 * exporter.C (Export): change call accordingly.
1597 * latexrunparams.h: add new member to take care of the other backends.
1598 2003-10-30 José Matos <jamatos@lyx.org>
1600 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1601 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1602 factorise code for paragraph output.
1604 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1607 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * text3.C (dispatch):
1610 * lyxfunc.C (dispatch):
1611 * cursor.C (dispatch):
1612 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1614 * dispatchresult.h: make the dispatch_result_t ctor explicit
1616 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1619 * buffer.C: small refactoring of docbook stuff
1621 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1623 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1626 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1629 operator dispatch_result_t, and operators for == != and >=
1631 * cursor.C (dispatch): adjust for operator dispatch_result_t
1632 removal. comment out call to update
1634 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1636 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1644 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1647 * dispatchresult.h: new file, DispatchResult broken out of
1650 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1652 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1654 * text.C (rowBreakPoint): put a hack inside #if 0
1656 2003-10-28 André Pönitz <poenitz@gmx.net>
1660 * paragraph_funcs.C:
1663 * text2.C: general cleanup (lots of small stuff)
1665 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1667 * text2.C (cursorEnd): simple fix to the "end key goes to one
1668 before the end on last row" bug
1670 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1672 * text.C (backspace): fix the "zombie characters"
1674 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1676 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1678 2003-10-27 André Pönitz <poenitz@gmx.net>
1680 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1682 * factory.C: handle new InsetPagebreak, InsetLine
1684 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1685 and move handling into new InsetPagebreak, InsetLine
1687 * BufferView_pimpl.C:
1689 * ParagraphParameters.C:
1690 * ParameterStruct.h:
1695 * paragraph_funcs.C:
1696 * paragraph_pimpl.C:
1702 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1705 * lyxrow_funcs.[Ch]:
1711 * text3.C: remove lastPos uses in favour of Row::endpos
1713 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1715 * undo.C (performUndoOrRedo): fix two crashes by setting a
1716 cursor by hand and reordering some calls. Use bv->lockInset instead
1717 of inset->edit because the latter loses cursor information
1719 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1721 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1723 (rowBreakPoint): fix width. change point to point + 1.
1724 Add a missing check.
1726 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1729 * lyxfunc.C: fix (at least partly) the problems
1730 with the Nav menu and headers inside branch insets
1733 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1735 * paragraph.C (getChar): add strong asserts
1737 * lyxrow_funcs.C (lastPos): remove hideous hack
1739 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1740 (fill): adjust to that (avoid an infinite loop)
1742 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1744 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1746 2003-10-23 André Pönitz <poenitz@gmx.net>
1748 * RowList_fwd.h: change list<> to vector<> to gain speed
1749 after suggestion from Alfredo
1751 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1753 * lyxtext.h: move the bidi stuff from here...
1756 * Bidi.[Ch]: ... to here
1758 2003-10-23 André Pönitz <poenitz@gmx.net>
1761 * text.C (isLastRow, isFirstRow): new functions
1763 * paragraph.h: new width cache member
1765 * rowpainter.C: replace RowList::iterator with Row & where possible
1767 * lyxfunc.C: replace several view()->text with a single call
1769 * toc.C: fix 'unused' warning
1771 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1773 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1774 when woring with stream::pos_type
1775 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1777 2003-10-22 André Pönitz <poenitz@gmx.net>
1780 * text.C: use Row & instead of RowList::iterator
1782 * lyxrow.h: rename end() to endpos()
1788 2003-10-22 Angus Leeming <leeming@lyx.org>
1790 * buffer.[Ch] (fully_loaded): new member function, returning true
1791 only when the file has been loaded fully.
1792 Used to prevent the premature generation of previews and by the
1793 citation inset to prevent computation of the natbib-style label.
1795 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1796 templates are all set up.
1798 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1800 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1802 * text.C: fixed an "oops" in the "is a bit silly"
1805 2003-10-21 André Pönitz <poenitz@gmx.net>
1807 * FuncStatus.[Ch]: small stuff, whitespace
1809 * lyxfont.[Ch]: operator<<() for debug reasons
1813 * lyxtext.h: whitespace, spelling
1815 * paragraph.C: naming of variables
1818 * text2.C: small stuff
1821 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1823 * text.C: (1) finish off the inset display() work;
1824 (2) fix the "is a bit silly" bug (accessing char
1827 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1829 * text.C: re-introduce display() for insets, fixing the
1830 various bugs (stretch of line above, math inset
1833 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1835 * text.C (rightMargin): remove spurious semicolon
1837 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1840 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1842 * text3.C: fix one crash due to wrong cursor def
1844 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * vc-backend.C (scanMaster): make the regex static
1848 * LaTeX.C (scanAuxFile): make the regexs static
1850 * text3.C (doInsertInset, dispatch, dispatch):
1851 * text2.C (cursorUp, cursorDown):
1852 * text.C (selectNextWordToSpellcheck):
1853 * BufferView_pimpl.C (dispatch):
1854 * lyxfunc.C (dispatch): localDispatch -> dispatch
1856 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1858 * lyxsocket.C: include <cerrno>
1860 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * lyxfunc.C (dispatch): remove textcache stuff
1864 * bufferlist.C (release): remove textcache stuff
1867 * TextCache.C: delete file
1868 * TextCache.h: delete file
1870 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1872 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1873 delete of the bv_->text.
1874 (resizeCurrentBuffer): remove texcache stuff
1875 (workAreaResize): ditto
1877 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1882 2003-10-16 André Pönitz <poenitz@gmx.net>
1889 * text3.C: speed up by storing y positions per paragraph plus per-row
1890 offset instead of having a 'full' y position in the row.
1892 2003-10-15 André Pönitz <poenitz@gmx.net>
1896 * undo.[Ch]: make undo aware of inner insets
1898 2003-10-14 Angus Leeming <leeming@lyx.org>
1900 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1901 static member functions LyX::ref() and LyX::cref.
1902 (lastfiles): new accessor functions for the new lastfiles_ member var.
1903 (addLyXView, views_): add a new LyXView to the list of views_.
1904 (updateInset): loop over all LyXViews to call their own updateInset
1905 member function, returning a pointer to the Buffer owning the inset.
1907 * BufferView_pimpl.C (loadLyXFile):
1908 * MenuBackend.C (expandLastfiles):
1909 * bufferlist.C (MenuWrite, QuitLyX):
1910 lastfiles is no longer a global variable.
1911 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1913 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1914 static function. Access through LyX::cref().emergencyCleanup().
1916 2003-10-14 André Pönitz <poenitz@gmx.net>
1918 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1920 * undo.[Ch]: restoring part of 'undo in insets'
1923 * undo_funcs.[Ch]: merge with undo.[Ch]
1925 * tabular.C: small cleansing stuff
1927 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1929 * paragraph_funcs.C (readParToken): report unknown insets as error
1930 boxes. Use the outer paragraph as location (also for unknown
1933 * factory.C (readInset): do not abort on reading an unknown inset.
1934 Eat it and return 0.
1936 2003-10-13 Angus Leeming <leeming@lyx.org>
1938 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1940 * lyxrc.C: displayTranslator is now a function,
1941 declared in GraphicsTypes.h.
1943 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1945 * format.C: new placeholder $$a to pass the socket address.
1947 * bufferlist.[Ch]: new function getBufferFromTmp.
1949 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1950 files in the temporary dir.
1952 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1954 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1956 * Makefile.am: add lyxsocket.[Ch].
1958 * lyx_main.C (error_handler): handle SIGPIPE.
1960 2003-10-13 André Pönitz <poenitz@gmx.net>
1962 * BufferView_pimpl.C:
1967 * undo_funcs.[Ch]: use paroffset_type instead of
1968 ParagraphList::iterators to prevent multiple conversion
1969 (and get a more robust interface)
1971 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1975 * text3.C (dispatch): ditto
1977 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1980 move the onlyfile, use onlyfile instead of foundfile in a couple
1983 * DepTable.C (update): flush the error stream a bit more
1985 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * lyxserver.C (callback): adjust
1989 * lyxfunc.C (getStatus): add a missing brace in commented code
1990 (ensureBufferClean): reindent
1991 (dispatch): delete version taking a string
1993 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * LaTeX.C (deplog): move found file handlig from here...
1996 (handleFoundFile): .. to new function here.
1997 (deplog): make sure to discover several files mentioned on the
2000 2003-10-10 André Pönitz <poenitz@gmx.net>
2007 * text3.C: fix some of the tabular crashes
2009 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2011 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2013 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2015 2003-10-09 André Pönitz <poenitz@gmx.net>
2017 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2020 * BufferView_pimpl.C:
2021 * bufferview_funcs.C:
2032 * undo_funcs.C: adjust
2034 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * text2.C (incrementItemDepth): new function, use a backtracking
2037 algorithm to discover the correct item depth.
2038 (resetEnumCounterIfNeeded): new function, use a backtracking
2039 algorithm to discover if counter reset is needed.
2040 (setCounter): use them. Simplify a bit. Add different labels for
2041 different item depths for itemize.
2043 * paragraph.C (Paragraph): remove initialization of enumdepth
2046 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2047 enumerate and itemize. Change the type of itemdepth to signed char.
2049 2003-10-08 André Pönitz <poenitz@gmx.net>
2051 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2056 * tabular.[Ch]: fix crash after 'row-insert'
2058 2003-10-08 Angus Leeming <leeming@lyx.org>
2060 Fix doxygen warnings.
2062 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2063 Remove CutAndPaste:: prefix from header file declaration.
2065 * LColor.h (fill): remove LColor:: prefix from declaration.
2067 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2068 use lyx::depth_type rather than Paragraph::depth_type so that
2069 header file and .C file match.
2071 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2073 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2074 * aspell.C: \file aspell_local.C -> \file aspell.C
2075 * gettext.C: \file gettext.C -> \file src/gettext.C
2076 * gettext.h: \file gettext.h -> \file src/gettext.h
2077 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2078 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2079 * text.C: \file text.C -> \file src/text.C
2081 * toc.C: move comment so that doxygen is not confused.
2083 2003-10-07 Angus Leeming <leeming@lyx.org>
2085 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2087 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2090 * aspell_local.h: add forgotten std::string's.
2092 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2099 * text3.C: The Box patch. Fancybox support, minipage, parbox
2101 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2107 * ParagraphParameters.h:
2117 * lyxtextclasslist.h:
2120 * paragraph_pimpl.C:
2121 * textcursor.h: add <string> and other small fixes to make Lars'
2122 std::string patch compile with STLport.
2124 2003-10-06 Angus Leeming <leeming@lyx.org>
2126 * LColor.h: Add missing #include <string>.
2128 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * All most all file in all subdirs: Make <string> be the prefered
2131 way of getting to std::string, add using declarations.
2133 2003-10-06 André Pönitz <poenitz@gmx.net>
2135 * metricsinfo.C: initialize LyXFont before changing attribute.
2136 (fixes the 'math in \emph is upright' bug)
2138 2003-10-06 André Pönitz <poenitz@gmx.net>
2140 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2142 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2145 * paragraph_pimpl.C: Small fixes to build using STLport
2147 2003-10-02 André Pönitz <poenitz@gmx.net>
2150 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2152 2003-10-01 André Pönitz <poenitz@gmx.net>
2154 * factory.C: assert early
2156 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * lyx_main.C: remove the global debug object
2160 * debug.h: adjust for new debugstream
2162 * debug.C: adjust for new debugstream and keep the global debug
2165 2003-09-22 Angus Leeming <leeming@lyx.org>
2167 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2168 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2169 an incomplete class LyXFont.
2171 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2173 * factory.C: bug fix in branches
2175 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * lyxfunc.C (processKeySym): adjust
2179 (dispatch): change arg name from ev to func, adjust
2180 (sendDispatchMessage): ditto
2182 * lyx_main.C (defaultKeyBindings): adjust keybindings
2183 (deadKeyBindings): ditto
2185 * kbsequence.C (addkey): return a FuncRequest
2187 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2189 * kbmap.C (bind): take a FuncRequest as arg, adjust
2192 (defkey): change to take a FuncRequest as arg, adjust
2193 (findbinding): take a FuncRequest as arg, adjust.
2195 * funcrequest.h (operator=): added
2197 * funcrequest.C (FuncRequest): default kb_action changed from
2198 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2200 * buffer.C (dispatch): simplify
2201 (dispatch): adjust to take a FuncRequest as arg, adjust
2203 * boost.C (assertion_failed): change assertion message slightly
2205 * ToolbarBackend.C (read): simplify
2207 * MenuBackend.C (binding): adjust call to findbinding, add a
2208 message if no binding is found.
2210 (expandToc): correct by adding a empty FuncRequest
2212 * LyXAction.C: include <boost/assert.hpp>
2213 (isPseudoAction): delete function
2214 (LookupFunc): change name to...
2215 (lookupFunc): this. change return type to FuncRequest.
2216 (getActionName): take kb_action as arg, simplify
2217 (funcHasFlag): add an assert, simplify.
2219 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * toc.C (action): return a FuncRequest, simplify
2223 * lyxfunc.C (processKeySym): adjust
2224 (getStatus): delete version that takes an int.
2226 (dispatch): delete version that takes action as int
2228 (sendDispatchMessage): simplify and adjust
2230 * funcrequest.C (getArg): take unsigned int as arg
2232 * ToolbarBackend.C (read): adjust
2233 (add): delete version that takes func as a string.
2234 (getIton): take a FuncRequest as arg
2236 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2239 * MenuBackend.C (MenuItem): add a new construct that only takes a
2240 Kind, simplify the constructor use for submenus.
2242 (expandLastfiles): adjust
2243 (expandDocuments): adjust
2244 (expandFormats): adjust
2245 (expandFloatListInsert): adjust
2246 (expandFloatInsert): adjust
2247 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2249 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2250 Remove class variables lyx_pseudo_map and lyx_arg_map
2252 * LyXAction.C (searchActionArg): delete function
2253 (getPseudoAction): delete function
2254 (retrieveActionArg): delete function
2255 (LookupFunc): make it return kb_action, simplify.
2256 (getActionName): simplify
2258 * factory.C (createInset): fix new bug
2260 2003-09-19 Angus Leeming <leeming@lyx.org>
2262 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2263 masterFilename_ parameter in the include inset.
2265 * factory.C (createInset): changes due to the changes to InsetInclude.
2267 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2269 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2271 2003-09-18 Angus Leeming <leeming@lyx.org>
2274 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2275 Inset::fillWithBibKeys.
2276 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2278 2003-09-18 Angus Leeming <leeming@lyx.org>
2280 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2282 (ctor): pass and store a 'Buffer const &'
2283 (buffer): new member function.
2285 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2286 '*this' to the LaTeXFeatures ctor.
2288 2003-09-18 Angus Leeming <leeming@lyx.org>
2294 * text.C: rename EnumLColor as LColor_color.
2296 2003-09-18 Angus Leeming <leeming@lyx.org>
2298 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2299 remove #include "insets/insetbase.h" from cursor.h.
2301 2003-09-18 Angus Leeming <leeming@lyx.org>
2303 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2304 InsetOld_code to remove #include "inset.h".
2306 * iterators.C: add #include "insets/inset.h"
2308 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2310 * BufferView.C: remove more locking stuff that apparently doesn't
2311 do anything sensible.
2313 2003-09-16 André Pönitz <poenitz@gmx.net>
2316 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2319 2003-09-16 Angus Leeming <leeming@lyx.org>
2321 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2323 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2326 * paragraph.h: remove #include "lyxfont.h". Forward declare
2329 2003-09-16 Angus Leeming <leeming@lyx.org>
2331 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2332 of support/textutils.h.
2333 (isWord): move the contents of support/textutils.h's IsWordChar here.
2339 * text2.C: add #include "paragraph.h".
2342 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2344 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * LaTeX.C: use namespace alias for lyx::support::os
2352 2003-09-16 Angus Leeming <leeming@lyx.org>
2355 * bufferview_funcs.C:
2358 * paragraph_pimpl.C:
2360 * text.C: add #include "LColor.h".
2362 2003-09-16 Angus Leeming <leeming@lyx.org>
2364 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2365 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2367 Store the FontBits::color variable as an int rather than as an
2368 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2371 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2372 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2373 string calls together.
2375 * lyxrc.C: add #include "LColor.h".
2377 2003-09-15 Angus Leeming <leeming@lyx.org>
2379 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2382 2003-09-15 Angus Leeming <leeming@lyx.org>
2384 * LColor.h: add an EnumLColor wrapper for LColor::color.
2386 * lyxfont.[Ch] (color, setColor, realColor):
2387 * lyxtext.h, text.C (backgroundColor):
2388 pass EnumLColor args to/from the functions, rather than LColor::color
2392 * lyxtext.h: forward declare EnumLColor.
2394 * lyx_main.C: add #include "LColor.h".
2396 2003-09-15 Angus Leeming <leeming@lyx.org>
2398 * .cvsignore: add lyx-gtk.
2400 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * ParagraphParameters.C
2409 * bufferview_funcs.C
2419 * vc-backend.C: remove usage of STRCONV
2421 2003-09-15 Angus Leeming <leeming@lyx.org>
2423 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2424 explicitly define the color passed to the painter.
2426 2003-09-15 Angus Leeming <leeming@lyx.org>
2428 * bufferparams.C (BufferParams): reorder member initializers to avoid
2431 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2433 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2434 * text.C (updateRowPositions): remove an unusual nop
2436 2003-09-12 André Pönitz <poenitz@gmx.net>
2438 * BufferView_pimpl.C:
2447 * Counters.[Ch]: finish the 'automatic counters' job
2449 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2451 * aspell.C: include <boost/assert.cpp> (compile fix)
2453 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2455 * boost.C (assertion_failed): use lyx::support::abort instead of
2458 2003-09-10 Angus Leeming <leeming@lyx.org>
2460 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2461 with their _fwd progeny.
2463 2003-09-09 Angus Leeming <leeming@lyx.org>
2465 134 files throughtout the source tree: replace 'using namespace abc;'
2466 directives with the appropriate 'using abc::xyz;' declarations.
2468 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2470 * boost.C (emergencyCleanup): moved here from LAssert.c
2471 (assertion_failed): new function, called by BOOST_ASSERT
2473 * several files: change Assert to BOOST_ASSERT
2475 2003-09-09 Angus Leeming <leeming@lyx.org>
2477 * buffer.[Ch]: Add an Impl class and move Buffer's member
2478 variables into it. As a result move several header files out of
2481 Add header files to lots of .C files all over the tree as a result.
2483 2003-09-09 Angus Leeming <leeming@lyx.org>
2485 * buffer.[Ch]: make Buffer's member variables private. Add
2488 Lots of changes all over the tree as a result.
2490 2003-09-08 Angus Leeming <leeming@lyx.org>
2492 * graph.C: #include <config.h>.
2494 2003-09-08 Angus Leeming <leeming@lyx.org>
2498 * BufferView_pimpl.C:
2527 * toc.C: remove redundant using directives.
2529 2003-09-07 Angus Leeming <leeming@lyx.org>
2531 * LaTeXFeatures.h: remove #include "support/types.h".
2532 * ToolbarBackend.h: remove #include <algorithm>.
2533 * changes.h: remove #include <ctime>.
2534 * debug.h: remove #include <iosfwd>.
2535 * graph.h: remove #include "support/std_string.h".
2536 * lyx_main.h: remove #include <csignal>.
2537 * lyxlex_pimpl.h: remove #include <fstream>.
2538 * sgml.h: remove #include <algorithm>, <utility>.
2539 * toc.h: remove #include "support/std_ostream.h".
2540 Add #include <iosfwd>.
2542 2003-09-07 Angus Leeming <leeming@lyx.org>
2544 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2546 * converter.h: forward declare LatexRunParams.
2547 * encoding.h: remove #include "lyxrc.h".
2548 * lyxtext.h: remove #include "LColor.h".
2549 * lyxtextclass.h: remove #include "support/types.h".
2550 * trans.h: remove #include "tex-accent.h".
2551 * trans_mgr.h: remove #include "tex-accent.h".
2552 * insets/inset.h: remove #include "support/types.h", <vector>.
2553 * insets/insetcollapsable.h: remove #include "LColor.h".
2554 * insets/insetinclude.h: remove #include "dimension.h".
2555 * insets/insetlatexaccent.h: remove #include "dimension.h".
2556 * insets/insetoptarg.h:: remove #include "insettext.h".
2557 * insets/insettext.h: remove #include "dimension.h",
2558 <boost/shared_ptr.hpp>
2560 * insets/renderers.h: add #include "dimension.h".
2561 * insets/updatableinset.h: add #include "support/types.h".
2563 * many .C files: Associated changes.
2565 2003-09-06 Angus Leeming <leeming@lyx.org>
2567 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2568 one, inside testInvariant.
2570 * PrinterParams.C: new file.
2571 * PrinterParams.[Ch]: move the function bodies out of line.
2573 2003-09-06 Angus Leeming <leeming@lyx.org>
2575 * ParagraphParameters.h: forward declare ParameterStruct rather than
2576 including its header file.
2577 (depth): moved out-of-line.
2579 2003-09-06 Angus Leeming <leeming@lyx.org>
2581 * BufferView_pimpl.h:
2584 * lyxfunc.h: forward declare LyXKeySym rather than
2585 #include "frontends/LyXKeySym.h".
2587 * BufferView_pimpl.C:
2590 * lyxfunc.C: associated changes.
2592 2003-09-06 Angus Leeming <leeming@lyx.org>
2594 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2595 As a result, can remove the #include "insets/inset.h" from BufferView.h
2597 2003-09-06 Angus Leeming <leeming@lyx.org>
2599 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2600 As a result, can remove the #include "insets/inset.h" from BufferView.h
2602 2003-09-06 Angus Leeming <leeming@lyx.org>
2608 * bufferview_funcs.C:
2609 * BufferView_pimpl.C:
2614 * ParagraphParameters.C:
2619 * frontends/controllers/ControlDocument.C:
2620 * insets/insetcaption.C: rearrange the #includes into some sort of
2623 * buffer.h: remove #includes ErrorList.h, undo.h
2625 2003-09-06 Angus Leeming <leeming@lyx.org>
2627 * support/types.h: add a 'depth_type' typedef, used to store the
2628 nesting depth of a paragraph.
2631 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2632 defining explicitly.
2635 * paragraph_funcs.h:
2636 * ParagraphParameters.h:
2637 * sgml.h: use lyx::depth_type rather than Paragraph or
2638 ParameterStruct's depth_type.
2641 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2644 * BufferView_pimpl.C:
2646 * ParagraphParameters.C:
2649 * bufferview_funcs.C:
2656 * frontends/LyXView.C:
2657 * frontends/controllers/ControlDocument.C:
2658 * frontends/controllers/ControlErrorList.C:
2659 * insets/insetbibitem.C:
2660 * insets/insetbranch.C:
2661 * insets/insetcaption.C:
2662 * insets/insetcollapsable.C:
2663 * insets/insetenv.C:
2664 * insets/insetert.C:
2665 * insets/insetfloat.C:
2666 * insets/insetfoot.C:
2667 * insets/insetfootlike.C:
2668 * insets/insetnewline.C:
2669 * insets/insetquotes.C:
2670 * insets/insettabular.C:
2671 * insets/insettext.C:
2672 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2674 * frontends/controllers/ControlChanges.C: #include "changes.h".
2676 2003-09-06 Angus Leeming <leeming@lyx.org>
2678 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2679 than #including paragraph.h.
2682 * RowList.h: deleted. Superfluous.
2692 * insets/insettext.h: use ParagraphList_fwd.h rather than
2695 * paragraph.h: don't forward declare ParagraphList.
2698 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2699 rather than ParagraphList.h. paragraph.h is still needed for the
2700 Paragraph::depth_type parameters.
2702 * textcursor.h: enable it to compile stand-alone in light of the
2705 * bufferview_funcs.C:
2717 * frontends/controllers/ControlParagraph.C:
2718 * frontends/controllers/ControlTabular.C:
2719 * insets/insetmarginal.C:
2720 * insets/insetminipage.C:
2721 * insets/insetnote.C:
2722 * insets/insetoptarg.C: add header files needed to compile again.
2724 2003-09-06 Angus Leeming <leeming@lyx.org>
2726 * RowList_fwd.h: new file, forward-declaring Row rather than
2727 #including lyxrow.h.
2732 * insets/insettext.h: use it instead of RowList.h
2734 * bufferview_funcs.C:
2741 * text3.C: #include "RowList.h".
2743 2003-09-05 Angus Leeming <leeming@lyx.org>
2745 * factory.C (createInset):
2746 * vspace.C (c-tor): replace sscanf call with an istringstream.
2747 * ispell.C: re-add missing HP/UX headers.
2748 * lyxserver.C: re-add missing os2 headers.
2750 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2759 * text3.C: re-add missing system headers, needed for 2.95.2.
2761 2003-09-05 Angus Leeming <leeming@lyx.org>
2763 Changes most place everywhere due to the removal of using directives
2764 from support/std_sstream.h.
2766 2003-09-05 Angus Leeming <leeming@lyx.org>
2768 Replace LString.h with support/std_string.h,
2769 Lsstream.h with support/std_sstream.h,
2770 support/LIstream.h with support/std_istream.h,
2771 support/LOstream.h with support/std_ostream.h.
2773 Changes resulting throughout the tree.
2775 2003-09-05 Angus Leeming <leeming@lyx.org>
2777 * sgml.h: ensure that the header file can be compiled stand-alone.
2778 * *.C: strip out redundant #includes. (320 in total.)
2780 2003-09-04 Angus Leeming <leeming@lyx.org>
2782 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2783 here (from getPackages).
2785 * debug.[Ch]: add a new EXTERNAL tag.
2787 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2789 * text2.C (cursorEnd): simplify
2791 (getColumnNearX): adjust
2793 * text.C (computeBidiTables): adjust
2796 * rowpainter.C (paintChars): adjust
2797 (paintSelection): adjust
2798 (paintChangeBar): adjust
2801 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2803 (numberOfSeparators): adjust
2805 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2811 * text3.C: Restricts the mouse click functionality
2812 of insets like bibtex, include, toc and floatlist to the visible
2813 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2814 up the dialogs. Cursor has to be in front of the inset (i.e.
2815 start of row) for this to function.
2817 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2819 * bufferview_funcs.C (currentState): output row information
2821 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2823 * bufferview_funcs.C (currentState): output paragraph position
2825 2003-09-04 Angus Leeming <leeming@lyx.org>
2827 * FloatList.h: move out #include "Floating.h".
2828 * LaTeX.h: move out #include "DepTable.h".
2829 * LyXAction.h: move out #include "funcrequest.h".
2830 * buffer.h: move out #include "author.h", "iterators.h".
2831 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2832 * lyx_main.h: move out #include "errorlist.h".
2833 * lyxfunc.h: move out #include "FuncStatus.h".
2834 * lyxtext: move out #include "lyxcursor.h".
2835 * paragraph_pimpl.h: move out #include "counters.h".
2837 2003-09-03 Angus Leeming <leeming@lyx.org>
2839 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2840 preamble_snippets list, enabling us to add snippets to the preamble
2841 only if the snippet was not there already.
2843 2003-09-04 Angus Leeming <leeming@lyx.org>
2845 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2847 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2852 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2854 * BranchList.C: point fix, earlier forgotten
2856 2003-09-02 Angus Leeming <leeming@lyx.org>
2858 * box.C (contains): renamed from 'contained' after a fantastic
2861 2003-09-02 John Levon <levon@movementarian.org>
2867 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2869 2003-09-02 John Levon <levon@movementarian.org>
2871 * text2.C: simplification of cursorEnd(), including partial
2874 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * buffer.C (readFile): add a space
2878 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2880 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2882 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * buffer.C (readFile): new function, take a filename and a
2885 ParagraphList::iterator
2887 (readFile): adjust, make it private. don't use setStream, make
2888 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2889 always contain the filename.
2891 * BufferView.C (insertLyXFile): simplify and make it work for
2894 2003-08-30 John Levon <levon@movementarian.org>
2896 * Makefile.am: fix dist (from Kayvan)
2898 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * most files: change to use const Buffer refs
2902 2003-08-27 André Pönitz <poenitz@gmx.net>
2904 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2905 on top of ownerPar().
2907 2003-08-27 John Levon <levon@movementarian.org>
2909 * funcrequest.C: properly initialise POD members
2911 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2913 * lyxtext.h (top_y): move top_y from here
2918 * BufferView_pimpl.[Ch]: to here
2919 * frontends/screen.C:
2920 * insets/insettabular.C:
2921 * insets/insettext.C: adjust
2922 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2924 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2927 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2929 2003-08-26 André Pönitz <poenitz@gmx.net>
2931 * paragraph_func.[Ch] (outerPar): new function
2934 * paragraph_funcs.C:
2935 * paragraph_funcs.h:
2936 * paragraph_pimpl.C:
2937 * text2.C: remove Inset::par_owner
2939 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2944 * text2.C: eliminates the needFullRow/display() stuff
2945 altogether, putting the logic in metrics/draw in the insets.
2947 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2949 * text2.C (redoParagraphInternal, redoParagraphs):
2950 * text.C (redoParagraph): add a call to updateRowPositions at the
2951 end of each 'metrics-like' call. Remove all others.
2952 (getRow): remove the 'y-computing' version.
2953 (getRowNearY): do not compute nor return the real y. Solve the
2954 'y < 0' problem and simplify.
2956 2003-08-22 Angus Leeming <leeming@lyx.org>
2958 * *.[Ch]: clean-up of licence and author blurbs.
2959 Also move config.h out of a few .h files and into a few .C files.
2961 2003-08-22 André Pönitz <poenitz@gmx.net>
2963 * lyxrow.[Ch]: add x_ and *fill_ members
2968 * text2.C: adjust/remove prepareToPrint() calls
2970 2003-08-22 André Pönitz <poenitz@gmx.net>
2972 * lyxrow.[Ch]: add end_ member
2974 * lyxrow_funcs.C: use LyXRow::end_
2976 * lyxtext.h (singleWidth): add LyXFont parameter
2979 * text2.C: adjust LyXText::singleWidth() calls
2981 * text.C (redoParagraph): simplify row breaking logic
2984 2003-08-19 André Pönitz <poenitz@gmx.net>
2986 * funcrequest.C: initialize button_ member
2989 * rowpainter.[Ch]: interface consolidation
2991 2003-08-18 André Pönitz <poenitz@gmx.net>
2994 * BufferView_pimpl.C:
2996 * paragraph_funcs.C:
2998 * text3.C: remove LyXScreen::draw() and fitCursor calls
3000 * BranchList.h: remove spurious semicolons
3002 * MenuBackend.C: fix branchlist related crash
3004 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3012 * bufferparams.[Ch]:
3016 * text3.C: implements the 'branch inset'
3017 idea. This allows the output of various versions of a document
3018 from a single source version, selectively outputing or suppressing
3019 output of parts of the text.
3020 This implementation contains a 'branch list editor' in a separate
3021 tab of the document settings dialog. Branches are user definable
3022 and have a "display colour" to distinguish them on-screen.
3024 ColorHandler was somewhat cleaned up.
3025 (1) make possible a dynamically growing LColor list by allowing
3026 the graphic context cache to grow along (vector);
3027 (2) eliminate an IMHO unnecessary step in colour allocation.
3029 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3031 * BufferView_pimpl.C: compile fix
3033 2003-08-15 André Pönitz <poenitz@gmx.net>
3035 * rowpainter.C: remove extra metrics calls
3037 * lyxtext.h: merge the two constructors into a single one,
3038 pass reference to owner's par list
3040 * BufferView_pimpl.C:
3044 2003-08-15 André Pönitz <poenitz@gmx.net>
3046 * lyxrow_funcs.[Ch]:
3049 * paragraph_funcs.C:
3054 * text_funcs.C: split LyXText::rowlist_ into individual
3055 Paragraph::rows_ chunks
3058 * BufferView_pimpl.[Ch]:
3061 * text3.C: remove toggleSelection()
3063 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3065 * bufferlist.C: beautify two alerts (shorter text of buttons)
3066 * buffer.C: Remove redundant ' ' from message
3068 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3069 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3070 rename VALIGN_CENTER to VALIGN_MIDDLE
3072 2003-08-11 André Pönitz <poenitz@gmx.net>
3074 * lyxtext.h (getPar):
3075 * text.C: new function
3077 2003-08-11 André Pönitz <poenitz@gmx.net>
3080 * tracer.[Ch]: remove unneeded files
3082 * InsetList.[Ch]: remove resizeInsetsLyXText()
3087 * text3.C: merge insertParagraphs() and appendParagraph()
3088 remove breakAgain(), update()
3090 * BufferView_pimpl.[Ch]:
3091 * bufferview_funcs.[Ch]:
3095 * tabular.C: adjust after text & InsetList changes.
3097 2003-08-08 André Pönitz <poenitz@gmx.net>
3099 * text.C (insertChar, backspace): replace rowlist fiddling
3100 with rebreak of full par
3103 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3104 checkParagraph, updateInset): removed
3106 2003-08-07 André Pönitz <poenitz@gmx.net>
3109 * text3.C: merge some LFUN handlers, remove dead code
3111 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3113 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3115 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3117 * text2.C (DEPM): fix part of bug 1255 and 1256
3119 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3121 * BufferView_pimpl.C (workAreaDispatch): change to use
3122 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3123 that are no mouse related.
3125 2003-08-05 André Pönitz <poenitz@gmx.net>
3128 * BufferView_pimpl.[Ch]:
3129 * bufferview_funcs.C:
3131 * text3.C: rip out "deep update"
3133 * textcursor.[Ch] (last_sel_cursor): remove unused member
3135 2003-08-04 André Pönitz <poenitz@gmx.net>
3138 * BufferView_pimpl.[Ch]:
3139 * ParagraphParameters.C:
3140 * bufferview_funcs.C:
3146 * text3.C: replace "complicated" BufferView::update(...) calls with
3149 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3151 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3153 * Makefile.am (lyx_SOURCES): add paper.h
3155 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3157 * Makefile.am: move things around so that both lyx-qt and
3158 lyx-xforms can be built (according to --with-frontend). Then lyx
3159 is a symbolic link to lyx-[firstfrontend]
3161 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3163 * Always use std::endl with lyxerr
3165 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3167 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3169 2003-08-01 André Pönitz <poenitz@gmx.net>
3172 * BufferView_pimpl.[Ch]:
3174 * text3.C: merge BufferView::repaint() and BufferView::update()
3176 2003-08-01 José Matos <jamatos@lyx.org>
3178 * buffer.[Ch]: file_format is no longer a buffer data element.
3180 2003-08-01 André Pönitz <poenitz@gmx.net>
3185 * text2.C: make redoParagraph more independent of current cursor
3187 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3189 * text2.C: remove unneeded members
3191 2003-07-30 André Pönitz <poenitz@gmx.net>
3193 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3195 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3196 create a single function...
3198 * paragraph_funcs.C (moveItem): ... here.
3201 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3203 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3205 * LColor.[Ch]: Add comment and greyedout logical colors.
3207 2003-07-30 André Pönitz <poenitz@gmx.net>
3209 * tabular.C: don't use Assert too heavily. This crashes where it
3212 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3214 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3215 is disabled (bug 1232)
3217 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3219 * factory.C: limited 'arg' scope
3221 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3223 * factory.C: fixed Note submenu issues
3225 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3227 * factory.C: submenu for Note/Comment/Greyedout
3229 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3232 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3234 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3237 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3238 greyedout. Patch provided by Jürgen Spitzmüller.
3240 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3242 * kbmap.C (read): fix error message when reading bind files
3244 2003-07-29 Angus Leeming <leeming@lyx.org>
3246 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3247 certainly does not do what it purports to do. I am doing it, and
3248 us, a favour by killing it.
3250 2003-07-28 José Matos <jamatos@lyx.org>
3252 * buffer.C (readBody, do_writeFile):
3253 * paragraph.C(readParagraph): \end_document replaces \the_end.
3255 2003-07-29 André Pönitz <poenitz@gmx.net>
3258 * BufferView_pimpl.[Ch]:
3262 * textcursor.[Ch]: remove toggleToggle & Co
3264 2003-07-28 José Matos <jamatos@fep.up.pt>
3266 * buffer.C (readParagraph):
3267 * params_func (readParToken, readParagraph):
3268 * paragraph.C (write): \layout -> \begin_layout.
3270 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * lyxlex_pimpl.C (setFile): clean up slightly.
3274 * bufferparams.h: add compressed var
3276 * buffer_funcs.C (readFile): adjust for LyXLex change
3277 (newFile): ditto + simplify
3279 * buffer.C (writeFile): handle writing of compressed files
3281 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3282 Check if the file is compressed and set a bufferparm if so.
3284 * Makefile.am (lyx_LDADD): remove explicit -lz
3286 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3288 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3289 makeDocBookFile): put the real LyX version in the first line of
3293 * version.C.in: remove lyx_docversion
3295 * tabular.C (write_attribute): add a template-based version to
3296 write enums properly
3298 2003-07-28 André Pönitz <poenitz@gmx.net>
3303 * text3.C: use doubles again for x-coordinates. They are needed.
3305 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * messages.C (getLocaleDir): use lyx_localedir()
3309 * lyxlex_pimpl.C (setFile): compress stuff
3311 * buffer.C (writeFile): add some compression stuff
3312 (do_writeFile): new func, dont call expliti close... will this
3315 * Makefile.am (lyx_LDADD): add -lz
3317 2003-07-28 José Matos <jamatos@fep.up.pt>
3319 * buffer.C: increment file format.
3320 * paragraph_funcs (readParagraph, readParToken):
3321 * paragraph.C (readParagraph): add \end_layout.
3323 2003-07-27 Angus Leeming <leeming@lyx.org>
3325 * Makefile.am: remove special casing for configure-time setting of
3326 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3328 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3329 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3331 2003-07-26 André Pönitz <poenitz@gmx.net>
3333 * paragraph_func.[Ch]:
3334 * paragraph.C (realizeFont): inline it whereever it is used
3339 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3342 2003-07-26 André Pönitz <poenitz@gmx.net>
3346 * text2.C: get rid of LyXText::need_break_row
3348 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * toc.[Ch]: put namespace toc inside namespace lyx
3352 * MenuBackend.C (expandToc2): adjust for lyx::toc
3355 * lyxfunc.C (dispatch): adjust for lyx::find
3357 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3358 lyx::find instead. Reorganize a bit.
3359 (LyXReplace): rename to replace
3360 (LyXFind): rename to find
3362 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3365 2003-07-26 André Pönitz <poenitz@gmx.net>
3367 * text.C (setHeightOfRow): restrict scope of temporary variable
3369 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3370 code (never has been used?)
3372 2003-07-27 Asger Alstrup <alstrup@local>
3374 * text.C (fill): Optimise algorithm to exploit that we can reuse
3375 the LyXFont for many characters.
3376 (setHeightOfRow): Same thing.
3377 (rowBreakPoint): Same thing.
3379 2003-07-26 Asger Alstrup <alstrup@local>
3381 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3383 * text.C (singleWidth): Spurious font copying in hot-spot
3384 singleWidth avoided. Reorder tests for arabic for efficiency.
3386 * text.C (fill): handle empty paragraphs better.
3388 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3391 * encoding.h: add includes
3393 * lyxrc.C: remove reading of bind files
3395 * lyx_main.C (init): setup bindings and menus only if we have a
3398 * kbmap.C (read): new method. Do the actual reading of bind
3401 * converter.C (dvipdfm_options):
3404 (output): adapt PAPER_* enums.
3406 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3408 * bufferparams.h: remove paper-related enums from there
3410 * paper.h: New file. A trivial header file to hold paper-related
3411 enums. It should later expand to contain many paper-related
3414 * lyxrc.C: declare extern displayTranslator
3416 2003-07-27 José Matos <jamatos@fep.up.pt>
3418 * tabular.[Ch] (linuxdoc): add support for tables and figures
3421 2003-07-27 José Matos <jamatos@fep.up.pt>
3423 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3424 consistency in both functions.
3425 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3427 2003-07-26 Asger Alstrup <alstrup@local>
3429 * rowpainter.C (paintRows): Change algorithm to work directly on
3430 the insets rather than asking every character in the document
3431 whether its an inset.
3433 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3435 * buffer.C (openFileWrite): factorize some code
3437 2003-07-26 Angus Leeming <leeming@lyx.org>
3440 * lyx_main.[Ch]: replace occurances of system_tempdir with
3443 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * rename Inset to InsetOld
3447 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3449 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3450 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3451 which I think is a bit clearer. EDIT is gone, since it was
3452 premature optimisation, and broken for mathed anyway.
3453 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3454 with cursor positioning in insets as well (math insets still do not
3455 work, but that's a different story anyway.) It mysteriously
3456 crashes sometimes with undo in the first paragraph, but I'm fairly
3457 confident that this is a compiler bug.
3459 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * paragraph.C (Paragraph): adjust for new clone return type
3463 (copyIntoMinibuffer): ditto
3465 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3467 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3468 by not having a special case, and always doing a full rebreak of
3469 the document after undo.
3471 2003-07-23 Angus Leeming <leeming@lyx.org>
3473 * factory.C (createInset): InsetExternal::setParams now takes a
3476 2003-07-23 Angus Leeming <leeming@lyx.org>
3478 * factory.C (createInset): changed interface to the external and
3479 graphics mailers' string2params functions.
3481 2003-07-23 Angus Leeming <leeming@lyx.org>
3483 * factory.C (createInset): pass a
3484 Buffer const * parameter to InsetExternalMailer's string2params.
3486 2003-07-22 John Levon <levon@movementarian.org>
3488 * Thesaurus.h: include the right aiksaurus header
3490 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3492 * MenuBackend.C (expand): check menu shortcuts unconditionally
3494 2003-07-21 Angus Leeming <leeming@lyx.org>
3496 * factory.C (createInset): pass a
3497 buffer_path parameter to InsetGraphicsMailer's string2params.
3499 2003-07-21 Angus Leeming <leeming@lyx.org>
3501 * BufferView_pimpl.C (buffer):
3504 * lyxfunc.C (dispatch):
3505 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3506 rather than the grfx shortcut.
3508 2003-07-21 André Pönitz <poenitz@gmx.net>
3510 * rowpainter.C: remove unused variables
3513 * tabular_funcs.h: move to tabular.C
3514 * Makefile.am: adjust
3516 * tabular.[Ch]: basic optical cleaning
3518 * author.h: pass references, not values
3520 2003-07-18 André Pönitz <poenitz@gmx.net>
3528 * text3.C: two-phase drawing for InsetText and InsetTabular
3529 some float -> int changes.
3531 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3533 * lyx_main.C: fix the fix
3535 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3537 * lyx_main.C: fix a crash in batch mode if no files specified
3540 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3542 * format.[Ch] (papersize): moved to BufferParams
3543 * converter.[Ch] (dvips_options): moved to BufferParams
3544 (dvipdfm_options): moved to anon namespace
3545 * bufferparams.[Ch]: added above functions.
3547 2003-07-17 André Pönitz <poenitz@gmx.net>
3551 * text2.C: don't call inset->update() anymore
3553 * metricsinfo.[Ch]: add convenience constructor
3555 2003-07-16 André Pönitz <poenitz@gmx.net>
3560 * text2.C: replace the LyXCursor::irow_ member with
3561 on-demand computation of the value
3563 2003-07-16 John Levon <levon@movementarian.org>
3565 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3567 2003-07-15 André Pönitz <poenitz@gmx.net>
3570 * text2.C: remove no more needed refresh_row
3572 2003-07-15 André Pönitz <poenitz@gmx.net>
3577 * text3.C: refresh_status tristate -> need_update bool
3579 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3581 * lyxtext.h (init): remove reinit argument (act as if always true)
3582 * text2.C: adjust to that
3584 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3586 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3587 * text3.C: use it to delete selections in some cases
3588 (bugs 441, 673, 702, 954).
3590 2003-07-14 André Pönitz <poenitz@gmx.net>
3592 * rowpainter.[Ch]: reduce interface
3594 2003-07-14 André Pönitz <poenitz@gmx.net>
3596 * BufferView_pimpl.C:
3597 * text2.C: adjust after removing unused BufferView * argument
3599 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3601 * text2.C (init): fix a crash fired on resize
3603 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3605 * buffer.[Ch]: added new closing signal
3606 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3607 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3608 BufferView::Pimpl via the closing the signal
3610 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3612 * buffer.[Ch]: take out all bv-related from buffer
3614 * BufferView_pimpl.[Ch]: connect to new signals
3615 * CutAndPaste.C: removed useless asserts
3616 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3619 * lyxfunc.C: moved view-related funciontality from vc here
3620 * paragraph.C: removed outdated comments
3623 2003-07-10 André Pönitz <poenitz@gmx.net>
3625 * BufferView_pimpl.C:
3629 * text2.C: remove InsetText::InnerCache, clean up consequences
3631 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3633 * ispell.C: fix two typos in error messages
3635 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3637 * Extend Note inset to other forms of annotation like Comment
3638 and Greyedout. Right button click gives dialog.
3640 Files modified or added (+):
3644 * ControlNote.[Ch] +
3646 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3647 frontends/controllers
3651 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3653 * aspell.C: add missing namespace lyx::support
3655 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3657 * BufferView.[Ch] (newFile): Add
3658 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3659 * LaTeX.[Ch] (message): added this signal and use it
3660 * buffer.[Ch] (busy, message): added these signals and use them
3661 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3665 * importer.C: use buffer signals instead of direct bv calling
3666 * lyx_cb.[Ch] (ShowMessage): removed
3669 * paragraph_funcs.C:
3670 * text2.C: use buffer signals
3672 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * introduce namespace lyx::graphics
3676 2003-07-02 André Pönitz <poenitz@gmx.net>
3678 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3680 2003-07-01 André Pönitz <poenitz@gmx.net>
3687 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3688 text*.C to text_func.C
3690 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * introduce namespace lyx::support
3694 2003-06-30 André Pönitz <poenitz@gmx.net>
3699 * text.C: re-enable --with-included-string
3701 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * textcursor.C: add <config.h>
3705 * text.C (getWord): remove const from word_location arg
3707 * lyxvc.C (getLogFile): fix const type order
3709 * lyxtext.h: remove const from word_location arg, add arg name
3711 * lyxlayout.h: currect type on labeltype.
3713 * importer.C: correct \file
3715 * converter.C (intToFormat): use std:: on ret val, ws changes
3717 * bufferlist.h: correct \file
3719 * buffer.C (makeLinuxDocFile): fix const type order
3720 (makeDocBookFile): ditto
3721 (fillWithBibKeys): use std:: on stdlib args.
3723 * CutAndPaste.C: fix authors.
3724 (availableSelections): use std:: on return vector
3726 2003-06-27 André Pönitz <poenitz@gmx.net>
3728 * BufferView_pimpl.C:
3729 * bufferview_funcs.C:
3737 * text3.C: remove LyXCursor::row_ member
3740 * text.C: rename fullRebreak() to partialRebreak() and implement
3741 a fullRebreak() that really bereks fully
3743 * textcursor.h: new struct for cursor-related data
3745 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3747 * lyx_main.C (LyX): get full path of document loaded on the
3750 2003-06-26 André Pönitz <poenitz@gmx.net>
3752 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3753 remove unused/broken operator>,<,>=.
3755 * text.C: remove only use of broken operator<= in an Assert().
3757 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3759 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3760 moved errorlist_.clear to showErrorList
3762 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3764 * converter.C (scanLog, runLaTeX):
3765 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3766 move the bv->showErrorList call to the callers
3767 * lyxfunc.C: i.e. here...
3769 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3770 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3771 namespace, the second to...
3772 * buffer_funcs (BufferFormat, parseErrors): added
3773 * errorlist.C (ErrorList(TeXErrors const &)): removed
3775 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3777 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3779 2003-06-24 "Garst R. Reese" <reese@isn.net>
3783 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3785 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3787 * version.C.in: change docversion to 1.4
3789 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3791 * buffer.C: fix a bug just introduced
3793 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3795 * buffer.[Ch]: added the parseError signal and use it, removed
3797 * BufferView.[Ch] (addError): moved to ...
3798 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3799 to the Buffer::parseError signal to catch (guess what) parse errors
3800 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3802 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3804 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3805 ability to create a buffer and to return an existing one from
3806 the list. Moved these functions to...
3807 * buffer_funcs.[Ch]: added
3808 * BufferView.[Ch] (loadLyXFile): added
3809 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3810 job removed from bufferlist::loadLyXFile.
3811 * buffer.C (setReadOnly): make it work without view
3812 (i.e added an if (users))
3814 2003-06-19 Angus Leeming <leeming@lyx.org>
3817 * LyXAction.C (init):
3818 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3819 with LFUN_DIALOG_SHOW <name> <data>.
3821 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3823 * CutAndPaste.C (availableSelections): small compilation fix for
3824 ancient (gcc 2.9x) compilers
3826 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * text3.C (cursorNext): add tmp var
3830 * text2.C (updateCounters): for function calling out of for clause
3831 (replaceSelectionWithString): ditto
3832 (insertStringAsParagraphs): ditto
3833 (getColumnNearX): add tmp var
3834 (setCursorFromCoordinates): add tmp var
3835 (cursorDownParagraph): add tmp var
3836 (deleteEmptyParagraphMechanism): add tmp var
3838 * text.C (insertChar): add tmp var
3840 * rowpainter.C (paintDepthBar): add tmp var
3842 * CutAndPaste.C (availableSelections): potentially check all
3843 paragraphs in a cut to fill the shown strings.
3845 2003-06-18 André Pönitz <poenitz@gmx.net>
3847 * kbmap.[Ch]: use vector<> instead of list<>
3849 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3851 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3852 pasteSelection with index
3854 * text2.C (pasteSelection): modify, call pasteSelection with index
3856 * paragraph.C (asString): reimplement version with no interval to
3857 call the one with interval.
3859 * lyxtext.h: add index arg to pasteSelection
3861 * MenuBackend.C (MenuItem): handle PasteRecent
3862 (Menu::read::Menutags): add md_pasterecent
3864 (expandPasteRecent): new function
3867 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3869 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3871 (availableSelections): new function
3873 2003-06-17 Angus Leeming <leeming@lyx.org>
3875 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3877 2003-06-17 Angus Leeming <leeming@lyx.org>
3880 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3882 * lyxfunc.C (dispatch): invoke it.
3884 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3886 * iterators.C (operator++, ParPosition): reintroduce some
3887 const_cast for the benefit of older compilers.
3889 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3891 * text3.C (dispatch): do not modify clipboard when doing
3892 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3893 LFUN_DELETE_SKIP on a selection selection
3895 2003-06-16 André Pönitz <poenitz@gmx.net>
3901 * tabular.[Ch]: IU of clone() and getLabelList();
3903 2003-06-13 André Pönitz <poenitz@gmx.net>
3905 * tabular.h: compactification
3907 2003-06-12 André Pönitz <poenitz@gmx.net>
3911 * tabular_funcs.h: some renaming plus whitespace
3913 2003-06-12 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.C:
3922 * toc.C: Return a Paragraph & for ParIterator::operator*()
3924 2003-06-11 John Levon <levon@movementarian.org>
3928 * ToolbarBackend.C: add "Toolbars" section and
3931 2003-06-10 Angus Leeming <leeming@lyx.org>
3934 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3936 * lyxfunc.C (dispatch): invoke it.
3938 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * main.C: protect <ios> with HAVE_IOS
3941 (main): protect sync_with_stdio with HAVE_IOS
3943 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3945 * text2.C (cutSelection): adjust
3946 (pasteSelection): adjust
3948 * messages.C: handle get of empty string
3950 * main.C (main): use sync_with_stdio(false)
3952 * lyxfunc.C (dispatch): adjust
3954 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3955 (WriteAs): remove unneeded BufferView arg.
3957 * bufferparams.h: use correct types on papersize, papersize2 and
3960 * bufferparams.C (readToken): adjust for type
3961 (writeLaTeX): add missing cases to switch.
3963 * bufferlist.C (quitWriteBuffer): adjust
3966 * buffer.C (asciiParagraph): remove some commented code.
3968 * CutAndPaste.C: remove current_view extern variable.
3969 (cutSelection): add BufferParams arg.
3970 (eraseSelection): add BufferParams arg.
3971 (pasteSelection): add Buffer const & arg
3973 2003-06-07 John Levon <levon@movementarian.org>
3976 * paragraph_funcs.C:
3977 * paragraph_pimpl.C:
3981 * paragraph.C: allow InsetERT to freely space lines,
3982 and some consolidation of code
3984 2003-06-06 José Matos <jamatos@fep.up.pt>
3986 * buffer.C (makeDocBookFile): fix bug #821
3988 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3990 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3992 2003-06-04 Angus Leeming <leeming@lyx.org>
3994 * buffer.C: bump format to 224.
3996 2003-06-05 André Pönitz <poenitz@gmx.net>
3998 * text2.C (redoParagraphs): remove two const_cast<>
4000 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4002 * ParagraphList.h: remove last remnants of NO_STD_LIST
4004 2003-06-03 Angus Leeming <leeming@lyx.org>
4006 * factory.C (createInset): small change to the way InsetExternal's params
4009 2003-06-04 André Pönitz <poenitz@gmx.net>
4011 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4013 * paragraph_pimpl.h:
4014 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4016 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4018 * undo_funcs.C: make some simple cases of undo work again
4020 2003-06-03 John Levon <levon@movementarian.org>
4022 * ispell.C: HPUX doesn't have sys/select.h
4025 2003-06-03 John Levon <levon@movementarian.org>
4027 * CutAndPaste.C: update tabular and include inset
4032 * paragraph.C: remove owningBuffer(), don't pass Buffer
4035 * factory.C: insetGraphicsParams changed
4037 2003-06-02 John Levon <levon@movementarian.org>
4043 * text3.C: remove insetparent
4045 2003-06-02 John Levon <levon@movementarian.org>
4048 * buffer.C: fix inset_iterator.end(), move out of line
4051 2003-06-01 John Levon <levon@movementarian.org>
4053 * text3.C: use a proper cut/paste when doing inset
4054 insert (from Jürgen Spitzmüller)
4056 2003-06-01 John Levon <levon@movementarian.org>
4058 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4060 2003-05-30 André Pönitz <poenitz@gmx.net>
4062 * rowpainter.C: unify second drawing phase
4064 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * trans_mgr.C: remove one case of current_view
4068 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4070 * paragraph_funcs.h: remove paragraph.h include
4072 * paragraph.h: delete NO_STD_LIST stuff
4074 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4076 * buffer.h: remove paragraph.h include
4078 * ParagraphList.C: delete file
4080 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4082 * toc.C (getTocList): adjust
4084 * paragraph_pimpl.C (validate): adjust
4086 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4088 * paragraph.C (Paragraph): adjust
4089 (getPositionOfInset): use const_iterator, adjust
4090 (bibitem): use const_iterator, adjust
4091 (setInsetOwner): adjust
4093 * iterators.C (operator++): adjust
4095 * InsetList.[Ch]: Replace selfmade iterator with standard
4096 vector::iterator also introduce const_iterator. Remove getPos,
4097 getInset and setInset from InsetTable. Adjust accordingly.
4099 * BufferView.C (lockInset): adjust
4100 (ChangeInsets): adjust
4102 * tabular.[Ch]: delete commented same_id functions
4104 2003-05-28 John Levon <levon@movementarian.org>
4106 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4108 2003-05-28 André Pönitz <poenitz@gmx.net>
4110 * metricsinfo.[Ch]: remove 'fullredraw' member
4112 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4114 * lyxtextclass.C (operator): remove caching.
4116 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * text2.C (cursorBottom): adjust
4121 (setCounter): use ParagraphList::find, adjust
4123 * text.C (workWidth): use ParagraphList::find, adjust
4125 * lyxcursor.C (LyXCursor): adjust
4127 * buffer.C (inset_iterator): adjust
4129 * ParagraphList.h: make iterator(value_type) private, make
4130 ParagraphList a friend of iterator.
4132 * ParagraphList.C (find): new function
4134 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4136 2003-05-27 André Pönitz <poenitz@gmx.net>
4138 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4140 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4142 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4144 2003-05-26 John Levon <levon@movementarian.org>
4146 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4148 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * remove same_id from function signatures, adjust.
4152 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4154 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4156 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4158 * paragraph.C (Paragraph): get rid of same_ids parameter
4160 * ParagraphList.C (insert): adjust
4163 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * paragraph_funcs.C (breakParagraph): adjust
4166 (breakParagraphConservative): adjust
4168 * buffer.C (readParagraph): adjust
4170 * ParagraphList.C (insert): take a reference instead of a pointer
4173 * paragraph.[Ch] (id): new function
4175 * bufferlist.C (newFile): adjust
4177 * ParagraphList.C (ParagraphList): adjust
4179 (push_back): take a reference instead of a pointer.
4181 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4183 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4186 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4187 set else use old code.
4189 * ParagraphList.C: remove all NO_NEXT code and only compile this
4190 code of NO_STD_LIST is set.
4192 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4194 * BufferView_pimpl.C:
4204 * graphics/GraphicsConverter.C:
4205 * graphics/PreviewLoader.C: header adjustment
4207 2003-05-23 Angus Leeming <leeming@lyx.org>
4209 * LaTeXFeatures.[Ch] (useBabel): new method.
4210 * bufferparams.C (writeLaTeX): use it.
4212 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * ParagraphList.h (set): remove unused function.
4216 2003-05-23 André Pönitz <poenitz@gmx.net>
4219 * BufferView_pimpl.C:
4223 * undo_funcs.C: setUndo reworked
4225 * iterators.[Ch]: add access to topmost ParagraphList
4227 * lyxtext.[Ch] (workWidth): add a const
4229 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4231 * texrow.[Ch] (increasePos): remove function
4232 * exporter.C (export): removed unused var and outdated comment
4234 2003-05-23 Angus Leeming <leeming@lyx.org>
4236 * latexrunparams.h: rename fragile as moving_arg.
4237 * paragraph.C (simpleTeXOnePar): ditto.
4238 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4240 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4244 (textUndoOrRedo): comment out a currently unused var.
4246 * paragraph.h (NO_NEXT): enable NO_NEXT
4248 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4250 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4252 * exporter.C (Export): adjust for removeAutoInsets removal.
4254 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4256 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4258 * BufferView.[Ch] (removeAutoInsets): delete function
4260 2003-05-22 Angus Leeming <leeming@lyx.org>
4262 * latexrunparams.h: add a free_spacing variable.
4264 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4265 to pass moving_arg, as the data is stored in runparams.fragile.
4267 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4268 to Inset::latexOptional or to simpleTeXOnePar.
4270 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4271 free_spacing arg to Inset::latexOptional.
4273 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4276 2003-05-22 Angus Leeming <leeming@lyx.org>
4278 * latexrunparams.h: add fragile and use_babel variables.
4280 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4281 * buffer.C (makeLaTeXFile): store this returned value in
4282 runparams.use_babel, thus passing it to the inset::latex methods.
4284 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4285 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4287 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4288 longer has a fragile arg, as it is stored in runparams.fragile.
4290 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4291 moving_arg parameter as the data is stored in runparams.fragile.
4293 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4294 a fragile parameter as the data is stored in runparams.fragile.
4296 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4300 2003-05-22 Angus Leeming <leeming@lyx.org>
4302 * latexrunparams.h: add a 'bool nice' which defaults to false.
4304 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4305 now encapsulated within runparams.
4307 * bufferlist.C (updateIncludedTeXfiles):
4308 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4310 2003-05-22 Angus Leeming <leeming@lyx.org>
4312 * latexrunparams.h: new file containing struct LatexRunParams.
4313 * Makefile.am: add new file.
4315 * LaTeX.[Ch] (c-tor, run):
4316 * buffer.[Ch] (makeLaTeXFile):
4317 * bufferlist.[Ch] (updateIncludedTeXfiles):
4318 * converter.C (convert, scanLog):
4319 * converter.[Ch] (runLaTeX):
4320 * exporter.C (Export):
4321 * paragraph.[Ch] (simpleTeXOnePar):
4322 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4323 * paragraph_funcs.[Ch] (latexParagraphs):
4324 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4325 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4326 pass around a LatexRunParams parameter.
4328 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * paragraph.[Ch]: remove unused constructor
4332 * ParagraphList.C (erase): new function, taking two iterators
4334 2003-05-22 André Pönitz <poenitz@gmx.net>
4336 * undo_funcs.C: remove duplicated code
4338 * iterator.[Ch]: operator=
4340 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * tabular.C (SetMultiColumn): ws changes
4344 * rowpainter.C (paintFirst): get rid of a ->previous
4346 * lyx_cb.C (getPossibleLabel): parlist simplification
4348 * BufferView.C (ChangeInsets): simplify slightly.
4350 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4352 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4353 * lfuns.h: new LFUN_SPACE
4354 * lyxfunc.C: protected space has a new lfun
4355 * paragraph_funcs.C: read new space insets
4357 * factory.C: handle new space insets
4359 2003-05-22 André Pönitz <poenitz@gmx.net>
4362 * BufferView_pimpl.C:
4365 * undo_funcs.C: return a ParIterator from getParFromID.
4367 * iterators.[Ch]: add two const's
4369 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * toc.C (getTocList): adjust
4373 * iterators.[Ch]: rework for parlist
4375 * buffer.C (par_iterator_begin): adjust
4376 (par_iterator_end): adjust
4378 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4380 * BufferView.C (removeAutoInsets): adjust
4381 (ChangeInsets): adjust
4383 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4385 * text.C (top_y): fix bug 1110
4387 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4389 * errorlist.[Ch]: added
4392 * BufferView_pimpl.C:
4393 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4396 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * Makefile.am: ensure that lyx is relinked upon changes to the
4399 various "convenience" libs.
4401 2003-05-20 Angus Leeming <leeming@lyx.org>
4403 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4404 files are compiled in alphabetical order again.
4406 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4408 2003-05-19 Angus Leeming <leeming@lyx.org>
4410 * gettext.[Ch]: remove "char const * _(char const *)".
4412 2003-05-19 André Pönitz <poenitz@gmx.net>
4414 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4423 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4425 2003-05-19 André Pönitz <poenitz@gmx.net>
4429 * lyxtextclass.[Ch]:
4431 * paragraph_funcs.[Ch]:
4433 * text3.C: more insetenv work
4435 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4437 * ParagraphParameters.C (params2string): small bug fixed
4439 2003-05-16 André Pönitz <poenitz@gmx.net>
4442 * bufferview_funcs.C: patch from Kornel Benko to prevent
4443 crash when _(...) is called twice in a statement
4445 2003-05-16 André Pönitz <poenitz@gmx.net>
4452 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4454 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4456 * lyx_main.C (init): remove spurious static_cast
4458 2003-05-14 André Pönitz <poenitz@gmx.net>
4460 * BufferView.C: fix format string
4462 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4464 * BufferView.[Ch] (insertErrors): removed
4465 * BufferView.[Ch] (showErrorList): added
4466 * buffer.C (runChkTeX):
4467 * converter.C (scanLog): call showErrorList instead of inserterrors
4469 2003-05-13 André Pönitz <poenitz@gmx.net>
4471 * BufferView_pimpl.C:
4473 * bufferview_func.C:
4480 * tabular_funcs.h: tostr() from its own header
4482 * ParagraphParameters.C:
4487 * text3.C: STRCONV()
4489 2003-05-12 André Pönitz <poenitz@gmx.net>
4492 * BufferView_pimpl.C:
4496 * ParagraphParameters.C:
4500 * bufferview_funcs.C:
4513 * paragraph_funcs.C:
4517 * text3.C: boost::format -> bformat all over the place
4520 2003-05-09 André Pönitz <poenitz@gmx.net>
4522 * LColor.[Ch]: Pimpl the #include <map> away
4524 2003-05-09 John Levon <levon@movementarian.org>
4526 * bufferlist.C: never remove emergency saves
4528 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * Makefile.am: better lib building
4532 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4536 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4537 (simpleTeXSpecialChars): adjust
4538 (simpleTeXSpecialChars): adjust
4539 * paragraph.C (simpleTeXOnePar): adjust
4540 * buffer.C (makeLaTeXFile): adjust
4542 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4544 * text2.C (changeDepth): parlist cleanup
4545 (getColumnNearX): ditto
4547 * rowpainter.C (getLabelFont): parlist cleanup
4549 * bufferlist.C (newFile): parlist cleanup
4551 * CutAndPaste.C (eraseSelection): parlist cleanup
4553 * BufferView_pimpl.C (trackChanges): parlist cleanup
4556 * BufferView.C (lockInset): parlist cleanup.
4557 (ChangeInsets): ditto
4559 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * CutAndPaste.h: Update file header.
4563 * CutAndPaste.C: Update file header.
4564 Store the parts cut out of the Document in a limited_stack.
4565 (copySelection): adjust
4566 (pasteSelection): new function, takes the index in the limited stack.
4567 (nrOfParagraphs): adjust
4568 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4569 simplify error inset insertion.
4570 (checkPastePossible): adjust
4572 2003-05-06 John Levon <levon@movementarian.org>
4574 * text2.C: don't cast wrap inset to float
4576 2003-05-05 André Pönitz <poenitz@gmx.net>
4579 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4581 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4582 few naked Paragraph *.
4584 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4586 * bufferparams.C: Output warning if a document with missing
4587 TeX document class is loaded
4588 * exporter.C: Disable TeX exports if the document class is missing
4591 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4592 isTeXClassAvailable()
4594 2003-05-03 John Levon <levon@movementarian.org>
4597 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4598 explicit cursor show/hide
4600 * BufferView_pimpl.h:
4601 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4602 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4604 * lyxfunc.C: hide cursor before dispatching.
4609 * text3.C: remove explicit cursor hides
4611 2003-05-02 André Pönitz <poenitz@gmx.net>
4613 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4616 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4619 * text2.C: tiny whitespace
4621 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * undo_funcs.C: almost only ws changes.
4625 * ParagraphList.C (splice): just return if pl is empty.
4627 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * ParagraphList.C (splice): new function.
4631 * CutAndPaste.C (pasteSelection): use it
4633 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * CutAndPaste.C (pasteSelection): remove the last next and
4636 previous from this file.
4638 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * CutAndPaste.C (pasteSelection): more clean up, user proper
4641 ParagraphList functions for pasteing.
4643 * ParagraphList.C (insert): new function, three arg insert
4645 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * ParagraphList.C (insert): new function, three arg insert
4649 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4652 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4656 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4660 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4663 (copySelection): clean up a bit.
4664 (pasteSelection): use make_pair
4666 * ParagraphList.C (ParagraphList): implement copy constructor
4667 (operator=): implement, base on copy constructor.
4670 * paragraph.C (erase): return a bool
4672 * paragraph_pimpl.C (erasePos): remove function, move contents...
4673 (erase): ... here. Return a bool.
4674 (erase): call erase instead of erasePos.
4676 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4678 * ParagraphList.h: define PitPosPair
4679 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4680 ParagraphList, fix a bug on pasting multiple pars
4681 * text2.C: change interface to C&P
4683 2003-04-30 André Pönitz <poenitz@gmx.net>
4685 * undo_func.C: revert part of yesterday's patch 2
4687 2003-04-30 John Levon <levon@movementarian.org>
4689 * LColor.C: s/tabular/table/
4691 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * text3.C (dispatch): do not convert iterator -> pointer
4694 * undo_funcs.C (setCursorParUndo): ditto
4695 * text_funcs.C (transposeChars): ditto
4697 * text2.C (setLayout): ws changes only
4699 * text.C (breakParagraph): do not convert iterator -> pointer
4701 (acceptChange): ditto
4702 (rejectChange): ditto
4707 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4710 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4712 * text3.C (gotoInset): YABG (yet another bad getChar)
4714 2003-04-29 André Pönitz <poenitz@gmx.net>
4716 * paragraph.h: make operator= private unimplemented as long as
4719 * ParagraphList.C: whitespace
4722 * paragraph_pimpl.[Ch]:
4723 * paragraph_funcs.C:
4725 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4728 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4730 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4732 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4733 * paragraph.[Ch] (erase):
4734 * paragraph_pimpl.[Ch] (erase): change return type and value
4735 * text2.C (cutSelection): some rework
4737 2003-04-28 John Levon <levon@movementarian.org>
4739 * bufferlist.C: changes for unsaved changes dialog
4741 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * bufferlist.C (newFile): set language (messages_) for new
4746 * buffer.C (readFile): ws changes only.
4748 2003-04-28 André Pönitz <poenitz@gmx.net>
4753 * BufferView_pimpl.C:
4754 * BufferView.C: getParFromID related ParagraphList::iterator changes
4756 2003-04-28 André Pönitz <poenitz@gmx.net>
4758 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4761 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * messages.C: remove one more localedir class variable.
4765 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * messages.C (getLocaleDir): singleton generation function
4769 (Messages): add a default constructor.
4771 * main.C (main): do not setup localedir here, do not call
4774 * gettext.C (_): use it.
4775 (gettext_init): delete funciton
4777 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * gettext.C (getLyXMessages): new singleton generating function.
4781 * buffer.C (updateDocLang): adjust
4783 * Makefile.am (messages.o): add target
4784 (main.o): remove target
4786 2003-04-27 John Levon <levon@movementarian.org>
4791 * lyxvc.C: specify cancel button in Alert::prompt
4793 2003-04-26 John Levon <levon@movementarian.org>
4798 * LyXAction.C: add LFUN_INSET_SETTINGS
4800 * lyxfunc.C: don't enable tabular-feature when there's
4801 just any locking inset
4803 2003-04-26 John Levon <levon@movementarian.org>
4805 * bufferlist.C: re-add Cancel to buffer close question
4807 * lyxfunc.C: fix import UI a bit
4809 2003-04-25 John Levon <levon@movementarian.org>
4811 * gettext.C: remove the broken asserts for now
4813 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * messages.C: make case where setlocale cannot comply work better.
4817 * buffer.C (updateDocLang): new function
4818 (changeLanguage): use it
4821 * text2.C (setCounter): use B_ a bit.
4823 * lyxlayout.C (Read): be sure to trim the label strings.
4825 * messages.C (Messages): fix typo in comment
4827 * buffer.C (readFile): set message_ after file is loaded.
4828 (makeDocBookFile): remove double return
4829 (changeLanguage): reset message_ upon language change.
4830 (B_): new func, use this to get translated buffer strings.
4832 * main.C: add myself and Jean Marc as authors.
4834 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * messages.[hC]: pimplify Messages, and three different pimpls to be
4837 used in different circumstances.
4839 * gettext.[Ch]: change for use with new message code.
4841 2003-04-24 André Pönitz <poenitz@gmx.net>
4843 * factory.C: support for eqref
4845 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * messages.[Ch]: add missing char
4849 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4851 * messages.[Ch]: New files
4853 2003-04-18 John Levon <levon@movementarian.org>
4857 * BufferView_pimpl.C:
4861 * text2.C: remove layout-copy/paste (bug 778)
4863 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4865 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4867 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4869 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4870 if they succeed. Act accordingly.
4872 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * text2.C (setCharFont): adjust
4875 (setCounter): adjust
4876 (insertStringAsLines): adjust
4878 * text.C (leftMargin): adjust
4879 (setHeightOfRow): adjust
4881 * rowpainter.C (paintFirst): adjust
4884 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4886 (isFirstInSequence): ditto
4887 (getEndLabel): ditto
4890 * paragraph.C (getParLanguage): comment out some hard stuff.
4892 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4894 (simpleDocBookOnePar): ditto
4895 (makeDocBookFile): use ParagraphList::iterator
4897 * CutAndPaste.C (pasteSelection): adjust
4899 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * text2.C (getFont): adjust
4902 (getLayoutFont): adjust
4903 (getLabelFont): adjust
4905 * paragraph_funcs.C (TeXOnePar): adjust
4907 * buffer.C (simpleLinuxDocOnePar): adjust
4908 (simpleDocBookOnePar): adjust
4910 * CutAndPaste.C (pasteSelection): adjust
4912 * BufferView.C (getEncoding): adjust
4914 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4916 2003-04-16 John Levon <levon@movementarian.org>
4918 * lyxfind.C: use parlist stuff for search/changes
4920 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4924 * text2.C (deleteEmptyParagraphMechanism): adjust
4926 * text2.[Ch] (ownerParagraph): delete func (both of them
4928 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4932 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * ParagraphList.C: prepare for NO_NEXT
4936 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * text2.C (getFont): adjust
4939 (getLayoutFont): adjust
4940 (getLabelFont): adjust
4942 * paragraph.C (getFont): adjust
4943 (getLabelFont): adjust
4944 (getLayoutFont): adjust
4946 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4948 2003-04-15 John Levon <levon@movementarian.org>
4952 * lyx_main.C: handle Include in .ui files
4954 2003-04-15 John Levon <levon@movementarian.org>
4956 * MenuBackend.C: make the doc files length shorter
4959 * ToolbarBackend.C: handle toolbar placement flags,
4962 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4967 * paragraph_funcs.C (TeXOnePar): adjust
4969 * paragraph.C (getLabelFont): add outerfont arg, adjust
4970 (getLayoutFont): ditto
4971 (simpleTeXOnePar): adjust
4973 * paragraph_pimpl.C (realizeFont): delete func
4975 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4977 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4978 row argument, constify cur argument.
4980 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * text2.C (getFont): adjust
4983 (getLayoutFont): adjust
4984 (getLabelFont): adjust
4986 * paragraph_funcs.C (TeXOnePar): adjust
4987 (outerFont): new func...
4988 (realizeFont): ...moved out from here, changed this to facilitate
4991 * paragraph.C (getFont): take outerfont as arg, adjust
4992 (simpleTeXOnePar): add outerfont arg, adjust
4994 * buffer.C (simpleLinuxDocOnePar): adjust
4995 (simpleDocBookOnePar): adjust
4997 * CutAndPaste.C (pasteSelection): adjust
4999 * BufferView.C (getEncoding): adjust
5001 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * text2.C (setCharFont): adjust
5004 (setCounter): adjust
5006 * text.C (leftMargin): adjust
5007 (setHeightOfRow): adjust
5009 * rowpainter.C (paintFirst): adjust
5012 * paragraph_pimpl.C (realizeFont): adjust
5014 * paragraph.C (isFirstInSequence): move from here...
5015 * paragraph_funcs.C (isFirstInSequence): ...to here
5017 * paragraph.C (outerHook): move from here...
5018 * paragraph_funcs.C (outerHook): ...to here
5020 * paragraph.C (depthHook): move from here...
5021 * paragraph_funcs.C (depthHook): ...to here
5023 * paragraph.C (getEndLabel): move from here...
5024 * paragraph_funcs.C (getEndLabel): ...to here
5026 * text2.C (realizeFont): move from here...
5027 * paragraph_funcs.C (realizeFont): ...to here
5029 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5033 2003-04-14 Angus Leeming <leeming@lyx.org>
5035 * LColor.[Ch]: scrap LColor mathcursor.
5037 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * lyxlex.[Ch] (text): delete function
5040 * trans.C (Load): adjust
5041 * paragraph_funcs.C (readParToken): adjust
5043 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5046 vector<char> instead of a char[].
5048 * lyxlex_pimpl.C (getString): adjust
5050 (lex): use getString
5054 * lyxlex.C (text): use pimpl_->getString()
5058 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5061 (makeFontEntriesLayoutSpecific): temp var for par.size()
5062 (setLayout): temp var for ownerParagraphs().end()
5063 (fullRebreak): temp var for rows().end()
5064 (selectionAsString): temp var for boost::next(startpit), realize
5065 that the while really is a regular for loop.
5066 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5067 setCursor in one place.
5068 (setParagraph): temp vr for ownerParagraphs().end()
5069 (updateCounters): make the while loop a for loop
5070 (cutSelection): temp var for ownerParagraphs().end()
5071 (updateInset): make the do {} while() a regular for loop
5072 (getCursorX): use temp vars
5073 (setCurrentFont): use temp vars
5074 (getColumnNearX): use temp vars
5076 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * text.C (transformChar): use temp var for getChar
5079 (computeBidiTables): use temp var for row->par()
5080 (fill): move temp vars for row->par() and pit->layout() earlier in
5082 (labelFill): use temp var for row->par()
5083 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5084 asc and desc, realize that pit never changes and that firstpit is
5085 just a duplicate and not needed. Exchange rit->par() with pit in a
5087 (breakAgain): use a temp var for boost::next(rit)
5088 (breakAgainOneRow): ditto
5089 (breakParagraph): use a temp var for rows().begin()
5090 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5091 (cursorRightOneWord): use temp var for cursor.par() and
5092 cursor.pos(), remove usage of tmpcursor.
5093 (cursorLeftOneWord): use temp var for cursor.par() and
5094 cursor.pos() only set cur at end of function.
5096 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * text.C, text2.C: exchange all usage of Paragraph::next with
5099 boost::next(ParagraphList::iterator)
5101 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5103 * text2.C (cursorTop): simplify implementation
5104 (cursorBottom): ditto
5105 (setParagraph): use ParagraphList::iterator
5106 (setCurrentFont): adjust
5107 (getColumnNearX): adjust
5108 (cursorRight): adjust
5109 (cursorLeft): remove usage of Paragraph::previous
5110 (cursorUpParagraph): ditto
5111 (deleteEmptyParagraphMechanism): slight cleanup
5113 * text.C (isBoundary): take a Paragraph const & instead of a
5115 (addressBreakPoint): ditto
5116 (leftMargin): remove usage of Paragraph::previous.
5117 (setHeightOfRow): ditto
5118 (cursorLeftOneWord): ditto
5119 (selectNextWordToSpellcheck): ditto
5122 (breakParagraph): remove one usage of Paragraph::next
5123 (redoParagraph): ditto
5124 (acceptChange): ditto
5125 (insertChar): adjust
5126 (rowBreakPoint): adjust
5128 * bufferview_funcs.C (toggleAndShow): adjust
5130 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5132 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5133 methods to access it.
5135 * text.C: Added updateRowPositions to compute all row positions.
5136 Make top_y and getRowNearY() to use the cached y position
5138 2003-04-11 John Levon <levon@movementarian.org>
5140 * text.C (rowBreakPoint): reintroduce the labelEnd
5141 checks, code copied from the row fill stuff. Deep voodoo.
5143 * text.C (fill): add a comment and debugging for the
5146 2003-04-11 John Levon <levon@movementarian.org>
5148 * text.C: make sure fullrow insets get wrapped to the next line,
5149 even when they're in a manual label
5151 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text2.C (insertParagraph): make it take ParagraphList::iterator
5155 (setLayout): make it return ParagraphList::iterator
5156 (redoParagraphs): ditto
5158 (checkParagraph): ditto
5160 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5162 * text2.C: adjust several funcs.
5163 (realizeFont): take a ParagraphList::iterator as arg.
5164 (getLayoutFont): ditto
5165 (getLabelFont): ditto
5166 (setCharFont): ditto
5168 * text.C: adjust several funcs.
5170 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5172 * text.C (selectNextWordToSpellcheck): don't accidentally
5175 2003-04-10 John Levon <levon@movementarian.org>
5177 * ToolbarBackend.C (getIcon): special handling for
5180 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5182 * text2.C (cursorRight): a getChar assert fixed
5184 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * text2.C (getFont): change to take a ParagraphList::iterator
5187 instead of Paragraph*
5188 Adjust several functions.
5190 * text.C (transformChar): change to take a ParagraphList::iterator
5191 instead of Paragraph*
5192 (singleWidth): ditto
5193 Adjust several functions.
5195 * rowpainter.C: adjust several functions
5196 * rowpainter.h:store a ParagraphList::iterator and not a
5200 2003-04-09 John Levon <levon@movementarian.org>
5205 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5206 and the "help" bits as well
5208 2003-04-09 John Levon <levon@movementarian.org>
5211 * ToolbarBackend.C: allow multiple toolbars
5213 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * undo_funcs.C (setCursorParUndo): adjust
5217 * text_funcs.C (transposeChars): adjust
5219 * text3.C (gotoNextInset): adjust
5222 * text2.C (setLayout): adjust
5223 (changeDepth): adjust
5225 (redoParagraphs): adjust
5226 (selectionAsString): adjust
5227 (setParagraph): adjust
5228 (insertInset): adjust
5229 (cutSelection): adjust
5230 (copySelection): adjust
5231 (pasteSelection): adjust
5232 (insertStringAsLines): adjust
5233 (updateInset): adjust
5234 (setCursor): change to take a ParagraphList::iterator parameter
5235 (setCursorIntern): change to take a ParagraphList::iterator parameter
5236 (setCurrentFont): adjust
5237 (cursorLeft): adjust
5238 (cursorRight): adjust
5239 (deleteEmptyParagraphMechanism): adjust
5241 * text.C (breakParagraph): adjust
5242 (insertChar): adjust
5243 (acceptChange): adjust
5244 (rejectChange): adjust
5245 (selectNextWordToSpellcheck): adjust
5246 (changeCase): adjust
5250 * lyxfind.C (SearchForward): adjust
5251 (SearchBackward): adjust
5252 (nextChange): adjust
5254 * lyxcursor.C (par): adjust
5256 * lyxcursor.h: store a ParagraphList::iterator instead of a
5259 * lyx_cb.C (getPossibleLabel): adjust
5261 * bufferview_funcs.C (toggleAndShow): adjust
5263 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5266 * BufferView.C (removeAutoInsets): adjust
5267 (lockedInsetStoreUndo): adjust
5269 2003-04-09 John Levon <levon@movementarian.org>
5271 * ToolbarBackend.C: try icon without argument
5272 if with argument fails
5274 2003-04-08 John Levon <levon@movementarian.org>
5277 * ToolbarBackend.C: add getIcon(), handle tooltip,
5278 and change from "Icon" to "Item".
5280 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5282 * BufferView.C (lockInset): another bad getchar crunched
5284 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5286 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5289 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5291 * lyxfind.C (searchForward, searchBackwards): bug 782
5293 2003-04-07 John Levon <levon@movementarian.org>
5295 * paragraph.C: remove dead comment
5297 * text.C: remove troublesome depth-fiddling code
5298 in leftMargin() and rightMargin() (bug 1017)
5300 * text.C: fix breaking of rows in nested lists
5303 * text2.C (updateCounters): fix up depth values
5306 2003-04-07 John Levon <levon@movementarian.org>
5308 * BufferView_pimpl.C: clear message when doc finishes resizing,
5309 and after a mouse event
5311 * lyxfunc.C: clear message after exiting inset
5313 2003-04-07 John Levon <levon@movementarian.org>
5315 * bufferview_funcs.C: show math status not outside
5316 status in the statusbar
5318 2003-04-07 John Levon <levon@movementarian.org>
5320 * lyxfunc.C: note status changed after a depth change
5322 2003-04-04 Angus Leeming <leeming@lyx.org>
5324 * LaTeX.h: move AuxInfo operator==, != out of line.
5325 Remove LaTeX virtual destructor; nothing derives from it.
5326 Move operator()() out of public area and rename it startscript().
5327 Change protected for private.
5329 2003-04-04 Angus Leeming <leeming@lyx.org>
5332 * text2.C: remove unneeded #includes.
5334 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5336 * text2.C (dEPM): fix the heigth of the next row
5338 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5340 * text.C: squashed an invalid getChar requester + some ws changes
5342 2003-04-03 John Levon <levon@movementarian.org>
5344 * bufferview_funcs.h:
5345 * bufferview_funcs.C:
5348 * text2.C: make getStatus work for the env depth lfuns
5350 2003-04-03 John Levon <levon@movementarian.org>
5352 * bufferview_funcs.h:
5353 * bufferview_funcs.C:
5356 * text2.C: parlistize decDepth(), by merging it with incDepth()
5358 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * lyxrow.h: store a ParagraphList::iterator instead of a
5361 Paragraph* and adjust other class functions to suit.
5363 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5366 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5368 * text2.C (setCursor): do not anchor to cursor row for the time being
5370 2003-04-02 John Levon <levon@movementarian.org>
5377 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5379 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * paragraph.h: make ParagraphList and ParagraphList::iterator
5382 friends of Paragraph.
5384 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5386 * ParagraphList.C: Use the private next_ and previous_ from
5389 2003-04-01 John Levon <levon@movementarian.org>
5393 * Makefile.am: rename, remove defaults gunk
5396 * MenuBackend.C: remove defaults gunk
5399 * Languages.C: remove defaults gunk
5402 * lyx_main.C: error out if files couldn't be found.
5404 2003-04-02 John Levon <levon@movementarian.org>
5406 * text2.C: make incDepth() use parlist
5408 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * undo_funcs.C (firstUndoParagraph): adjust
5412 * text3.C (gotoInset): adjust
5413 (dispatch): adjust, and rewrite loop.
5415 * text2.C (init): adjust, and rewrite loop.
5416 (redoParagraphs): adjust
5417 (updateInset): adjust, and rewrite loop.
5418 (deleteEmptyParagraphMechanism): adjust
5420 * tabular.C (LyXTabular): adjust
5421 (SetMultiColumn): adjust
5424 * lyxtext.[Ch] (ownerParagraph): delete function
5425 (ownerParagraphs): new function returns a ParagraphList.
5427 * BufferView.C (removeAutoInsets): adjust
5428 (insertErrors): adjust
5429 (setCursorFromRow): adjust
5431 2003-04-01 Angus Leeming <leeming@lyx.org>
5433 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5436 2003-04-02 John Levon <levon@movementarian.org>
5442 * text_funcs.C: make transposeChars a free function
5444 * lyxrow_funcs.C: remove wrong comment
5446 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * rowpainter.C: adjust
5454 * lyxrow_funcs. [Ch]: new files
5456 * lyxrow.[Ch]: remove next and previous pointers
5457 (next,previous): remove accessor functions
5458 (isParEnd): move to lyxrow_funcs
5459 (lastPos): move to lyxrow_funcs
5460 (nextRowIsAllInset): move to lyxrow_funcs
5461 (lastPrintablePos): move to lyxrow_funcs
5462 (numberOfSeparators): move to lyxrow_funcs
5463 (numberOfHfills): move to lyxrow_funcs
5464 (numberOfLabelHfills): move to lyxrow_funcs
5465 (hfillExpansion): move to lyxrow_funcs
5469 * bufferview_funcs.C (toggleAndShow): adjust
5471 * RowList.h: Remove class RowList from file leave just a
5474 * RowList.C: delete file
5476 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5479 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * text3.C (cursorPrevious): adjust
5482 (cursorNext): adjust
5485 * text2.C (redoHeightOfParagraph): adjust
5486 (redoDrawingOfParagraph): adjust
5489 * text.C (breakParagraph): adjust
5490 (insertChar): adjust
5493 * rowpainter.C (RowPainter): adjust
5494 (leftMargin): simplify and adjust
5495 (most rowpainter functions): adjust.
5497 * rowpainter.h: store the row as RowList::iterator not as Row*
5499 * lyxcursor.C (row): taka RowList::iterator as arg
5502 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5505 2003-04-01 Angus Leeming <leeming@lyx.org>
5507 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5508 stuff like bool Bool.
5510 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5512 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5515 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5520 * lyxtext.h (rows): drop one version and leve a const variant that
5521 returns a RowList::iterator.
5523 2003-03-31 Angus Leeming <leeming@lyx.org>
5525 * text.C (fill): ensure that the signature is the same as that in the
5528 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * text2.C (redoParagraphs): adjust
5531 (updateCounters): adjust
5532 (checkParagraph): adjust
5533 (getColumnNearX): adjust and reformat a bit.
5535 * text.C (top_y): adjust
5537 (leftMargin): adjust
5538 (prepareToPrint): adjust
5540 (getRowNearY): adjust
5542 * lyxtext.h: make rowlist_ mutable.
5544 * RowList.h: add const_iterator
5545 * RowList.C: adjust for RowList::const_iterator.
5547 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5550 2003-03-31 John Levon <levon@movementarian.org>
5553 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5555 * lyx_main.C: set default fonts from using lyx_gui funcs
5557 * exporter.C: pdf_mode moved from lyxrc
5560 * lyxfunc.C: changes from above
5562 2003-03-31 John Levon <levon@movementarian.org>
5564 * lyx_main.C: fix to the last fix
5566 2003-03-31 John Levon <levon@movementarian.org>
5568 * bufferlist.C: "Load original" -> "Load Original"
5574 * format.C: more Alert cleanups
5576 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * text2.C (removeParagraph): make it take a RowList::iterator as
5580 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5581 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5583 * text.C (anchor_row): make it take a RowList::iterator as arg,
5585 (computeBidiTables): make it take a const reference to Row instead
5586 of Row pointer, adjust.
5587 (leftMargin): make it take a RowList::iterator as arg, adjust.
5588 (rowBreakPoint): adjust
5589 (breakAgainOneRow): make it take a RowList::iterator as arg,
5591 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5593 * bufferview_funcs.C (toggleAndShow): adjust
5595 2003-03-30 John Levon <levon@movementarian.org>
5599 * boost-inst.C: moved to support
5601 * several files: changes as a result
5603 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * text2.C (LyXText): adjust.
5607 (removeRow): make it take a RowList::iterator as arg, adjust.
5608 (fullRebreak): adjust
5609 (deleteEmptyParagraphMechanism): adjust
5610 (clearPaint): adjust
5613 * text.C (top_y): adjust
5614 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5615 (breakAgain): make it take a RowList::iterator as arg, adjust.
5616 (breakParagraph): adjust
5617 (insertChar): adjust
5620 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5621 need_break_row, and refresh_row.
5623 * text3.C (dispatch): adjust
5625 * text2.C (checkParagraph): adjust
5627 (setCursorFromCoordinates): adjust
5629 * text.C (top_y): adjust
5631 (getRow): make it return a RowList::iterator, adjust
5632 (getRowNearY): make it return a RowList::iterator, adjust
5634 * text2.C (init): adjust
5635 (insertRow): remove function
5636 (insertParagraph): adjust
5637 (redoParagraphs): adjust
5638 (fullRebreak): adjust
5639 (updateCounters): adjust
5641 * text.C (top_y): rewrite to use RowList iterators.
5643 (setHeightOfRow): rewrite to sue RowList iterators.
5644 (appendParagraph): adjust
5645 (breakAgain): adjust
5646 (breakAgainOneRow): adjust
5647 (breakParagraph): adjust
5649 (getRowNearY): adjust, and remove commented code.
5651 * lyxtext.h (firstRow): delete function
5652 (lastRow): delete function
5653 (rows): new function (const and non-const versions.)
5654 (insertRow): delete function
5656 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5658 2003-03-29 John Levon <levon@movementarian.org>
5660 * BufferView_pimpl.C: always update scrollbar top
5661 because pasting text when we're anchored could mean we
5662 miss an update altogether
5664 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * text2.C (init): use rowlist_.end() and not 0.
5667 (insertRow): change to take a RowList::iterator as arg, adjust
5669 (insertParagraph): change to take a RowList::iterator as arg,
5671 (redoParagraphs): remove some debug msgs.
5673 * text.C (appendParagraph): change to take a RowList::iterator
5674 arg, adjust for this.
5675 (breakAgain): add an assert
5676 (breakAgainOneRow): ditto
5678 2003-03-29 John Levon <levon@movementarian.org>
5680 * text2.C: do not clear selection after inc/decDepth
5683 2003-03-29 John Levon <levon@movementarian.org>
5686 * buffer.C: fix broken strerrors according to Lars
5688 2003-03-29 John Levon <levon@movementarian.org>
5690 * converters.C: more Alert cleanups
5692 2003-03-29 John Levon <levon@movementarian.org>
5694 * bufferview_funcs.C: remove pointless Alert
5696 * buffer.C: fix confusing error message when
5697 a template is chmoded 000
5699 2003-03-29 John Levon <levon@movementarian.org>
5703 * BufferView_pimpl.C: Alert fixes
5707 * tabular-old.C: remove unused table compat reading
5709 2003-03-29 John Levon <levon@movementarian.org>
5714 * lyx_cb.C: more Alert cleanups
5716 * lyxfunc.C: don't allow chktex if not latex document
5718 2003-03-29 John Levon <levon@movementarian.org>
5722 * buffer.C: warnings pushed down from support/,
5725 2003-03-29 John Levon <levon@movementarian.org>
5727 * lyxfunc.C: safety check for C-r (revert)
5729 2003-03-29 John Levon <levon@movementarian.org>
5732 * bufferlist.C: several UI fixes using Alert::prompt.
5733 Fix the pointless looping quit code. Fix stupid revert
5738 * lyx_cb.C: use Alert::prompt
5740 * lyx_main.C: remove a silly question
5742 * lyxfunc.C: remove a couple of silly questions,
5745 2003-03-28 John Levon <levon@movementarian.org>
5747 * text2.C: fix bug 974 (End on empty par)
5749 2003-03-28 John Levon <levon@movementarian.org>
5751 * BufferView_pimpl.C:
5753 * lfuns.h: remove do-nothing math greek lfuns
5755 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * lyxgluelength.h (isValidGlueLength): add default arg on
5758 parameter 2. Remove default arg from friend in class.
5760 * lyxlength.h (isValidLength): add default arg on parameter 2.
5761 Remove default arg from friend in class.
5763 * text2.C (LyXText): adjust, initialize refresh_row.
5767 (insertParagraph): adjst
5768 (redoParagraphs): adjust
5769 (fullRebreak): adjust
5770 (updateCounters): adjust
5771 (deleteEmptyParagraphMechanism): first attempt at fixing a
5774 * text.C (top_y): adjust
5775 (setHeightOfRow): adjust
5777 (getRowNearY): adjust
5779 * lyxtext.h: include RowList.h
5780 (~LyXText): not needed anymore, deleted.
5781 (firstRow): modify for RowList
5782 (lastRow): new function
5783 Delete firstrow and lastrow class variables, add a Rowlist
5784 rowlist_ class variable.
5786 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5789 * RowList.C (insert): fix case where it == begin().
5791 2003-03-26 Angus Leeming <leeming@lyx.org>
5793 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5794 the thesaurus dialog.
5796 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5800 * RowList.[Ch]: new files
5802 * ParagraphList.C (erase): handle the case where it == begin
5805 2003-03-25 John Levon <levon@movementarian.org>
5809 * aspell.C: add new aspell support
5812 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5815 2003-03-25 Angus Leeming <leeming@lyx.org>
5818 * LyXAction.C (init): new LFUN_INSET_INSERT.
5820 * BufferView_pimpl.C (dispatch): split out part of the
5821 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5823 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5826 2003-03-25 Angus Leeming <leeming@lyx.org>
5828 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5830 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5833 * text3.C: remove useless row->height(0)
5835 2003-03-25 John Levon <levon@movementarian.org>
5839 * text3.C: rename the refreshing stuff to better names
5841 2003-03-24 John Levon <levon@movementarian.org>
5843 * BufferView_pimpl.h:
5844 * BufferView_pimpl.C: update layout choice on a mouse
5847 2003-03-23 John Levon <levon@movementarian.org>
5849 * Makefile.am: fix commandtags.h reference
5851 2003-03-22 John Levon <levon@movementarian.org>
5853 * BufferView_pimpl.C:
5858 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5860 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5863 * text.C: take the rtl methods out of line
5865 2003-03-21 André Pönitz <poenitz@gmx.net>
5867 * metricsinfo.[Ch]: new files containing structures to be passed around
5868 during the two-phase-drawing...
5870 2003-03-21 André Pönitz <poenitz@gmx.net>
5872 * lyxtextclass.C: read 'environment' tag.
5874 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5876 * text2.C (removeRow): fix bug 964
5878 2003-03-20 John Levon <levon@movementarian.org>
5882 * text2.C: paint cleanups. Inset::update() dropped font
5885 2003-03-19 John Levon <levon@movementarian.org>
5887 * lyxfunc.C: only fitcursor/markDirty if available()
5889 2003-03-19 John Levon <levon@movementarian.org>
5891 * commandtags.h: rename to ...
5893 * lfuns.h: ... this, and renumber / cleanup
5895 2003-03-19 John Levon <levon@movementarian.org>
5897 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5898 fit the cursor after an lfun
5902 * BufferView_pimpl.h:
5903 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5905 * LyXAction.C: layout-character should have ReadOnly
5907 * ParagraphParameters.C:
5909 * bufferview_funcs.C:
5916 * undo_funcs.C: changes from above
5918 2003-03-18 John Levon <levon@movementarian.org>
5920 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5921 remove it from update()
5923 * lyxfunc.C: update layout choice after an lfun
5925 * text3.C: remove extra updateLayoutChoice()s
5927 2003-03-18 John Levon <levon@movementarian.org>
5929 * text.C: top_y change means full repaint, fix
5930 a drawing bug with cursor movement
5932 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5936 * text2.C: anchor row on setCursor
5938 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5940 * lyxtext.h: remove almost all mutable keywords
5943 * text3.C: remove const keywords accordingly
5945 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5949 (TeXEnvironment): ditto
5952 2003-03-17 John Levon <levon@movementarian.org>
5954 * text.C (rowBreakPoint): remove attempt to fix displayed
5955 math insets inside a manual label
5957 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * lyxtext.h: remove BufferView* as first arg from almost all class
5961 * other files: adjust.
5963 2003-03-17 John Levon <levon@movementarian.org>
5967 * text2.C: more paint cleanups
5969 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5972 * rowpainter.C: remove "smart" background painting code
5974 2003-03-16 John Levon <levon@movementarian.org>
5979 * text3.C: add helper functions for setting refresh_row/y
5981 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5983 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5984 newline inset which *can* get inserted in the pass_thru layouts.
5985 This is primarily for literate documents.
5987 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5989 * buffer.C: increment LYX_FORMAT to 223
5991 2003-03-14 André Pönitz <poenitz@gmx.net>
5993 * textclass.h: prepare for environment handling, ws changes
5994 * lyxlayout.C: read latexheader and latexfooter tags
5996 2003-03-14 John Levon <levon@movementarian.org>
5998 * text2.C: rewrite ::status() a bit
6000 2003-03-13 John Levon <levon@movementarian.org>
6002 * lyxtext.h: add some docs
6004 2003-03-13 John Levon <levon@movementarian.org>
6009 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6011 2003-03-13 John Levon <levon@movementarian.org>
6013 * text3.C: fix appendix redrawing
6015 2003-03-13 John Levon <levon@movementarian.org>
6017 * text.C (setHeightOfRow):
6019 * rowpainter.C: make appendix mark have the text
6020 "Appendix" so the user knows what it is
6023 * LColor.C: s/appendixline/appendix/ from above
6025 2003-03-13 John Levon <levon@movementarian.org>
6027 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6029 * text.C: fix a getChar(pos) bug properly
6031 2003-03-13 Angus Leeming <leeming@lyx.org>
6034 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6035 Probably only temporary. Let's see how things pan out.
6037 * BufferView.C (unlockInset):
6038 * BufferView_pimpl.C (fitCursor):
6039 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6041 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6042 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6044 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6045 new functions that convert ParagraphParameters to and from a string.
6047 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6048 BufferView::Pimpl's dispatch.
6049 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6051 2003-03-13 André Pönitz <poenitz@gmx.net>
6055 * factory.C: make it aware of InsetEnv
6057 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * text2.C (setCursor): never ask for one past last
6060 (setCursor): add some debugging messages.
6062 * text.C (singleWidth): never ask for one past last
6063 (singleWidth): ditto
6065 (rightMargin): ditto
6066 (rowBreakPoint): ditto
6067 (setHeightOfRow): ditto
6068 (prepareToPrint): ditto
6070 * rowpainter.C (paintBackground): never ask for one past last
6071 (paintText): never ask for one past last
6073 * paragraph_pimpl.C (getChar): make the assert stricter, never
6074 allow the one past last pos to be taken
6076 * paragraph.C (getChar): ws changes only
6078 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6079 (numberOfSeparators): ditto
6080 (numberOfHfills): ditto
6082 2003-03-12 John Levon <levon@movementarian.org>
6088 * paragraph_funcs.C: fix per-buffer authorlists
6090 2003-03-12 John Levon <levon@movementarian.org>
6092 * text.C: fix newline in right address
6094 2003-03-12 Angus Leeming <leeming@lyx.org>
6096 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6097 duplicate those in LyXFunc::dispatch.
6101 * ToolbarDefaults.C:
6102 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6103 Add LFUN_FONTFREE_UPDATE.
6105 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6106 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6108 * bufferview_func.[Ch]: several new functions to facilliate
6109 transfer of data to and from the character dialog.
6111 2003-03-12 John Levon <levon@movementarian.org>
6116 * paragraph_funcs.C:
6117 * paragraph_pimpl.C:
6121 * text3.C: remove META_NEWLINE in favour of an inset
6124 * rowpainter.C: remove paintNewline (done by inset)
6126 2003-03-12 John Levon <levon@movementarian.org>
6128 * paragraph_pimpl.C: complain about bad getChar()s
6129 for a while at least
6131 2003-03-12 John Levon <levon@movementarian.org>
6134 * buffer.C: move paragraph read into a separate function,
6135 a little renaming to reflect that.
6138 * bufferparams.C: remove the author_ids map, not necessary now
6141 * factory.C: moved Buffer::readInset to here
6143 * paragraph_funcs.h:
6144 * paragraph_funcs.C: readParagraph free function moved from
6147 * tabular.C: name change
6149 2003-03-12 John Levon <levon@movementarian.org>
6152 * ParagraphParameters.C: move par params input to
6155 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6156 behave like a normal read from the stream wrt reading
6157 a line vs. a \\token
6159 2003-03-12 John Levon <levon@movementarian.org>
6162 * ParagraphParameters.h:
6163 * ParagraphParameters.C: move output code to a
6166 2003-03-12 John Levon <levon@movementarian.org>
6168 * BufferView.C (insertLyXFile):
6171 * tabular.C: use a parlist iterator for creating the
6174 2003-03-12 John Levon <levon@movementarian.org>
6176 * buffer.C: make current_change static local not
6179 2003-03-12 John Levon <levon@movementarian.org>
6181 * buffer.C: fix insertStringAsLines for change tracking
6183 2003-03-12 John Levon <levon@movementarian.org>
6190 * bufferparams.C: move author list into params. Rename some
6191 functions. Move the header reading into a separate token
6192 loop. Move the header token reading into BufferParams.
6194 2003-03-12 John Levon <levon@movementarian.org>
6196 * changes.C: put debug inside lyxerr.debugging() checks
6198 2003-03-11 André Pönitz <poenitz@gmx.net>
6200 * factory.C: make it aware of InsetHFill
6202 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6204 * buffer.C (latexParagraphs): move function from here...
6205 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6208 2003-03-10 Angus Leeming <leeming@lyx.org>
6210 * LyXAction.C (init): fix bug in poplating array with multiple entries
6211 with the same LFUN (spotted by JMarc).
6213 2003-03-10 John Levon <levon@movementarian.org>
6216 * text2.C: move getColumnNearX() near its
6219 2003-03-10 John Levon <levon@movementarian.org>
6221 * text.C: fix break before a minipage
6223 2003-03-10 John Levon <levon@movementarian.org>
6225 * text.C: fix the last commit
6227 2003-03-09 John Levon <levon@movementarian.org>
6231 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6232 bug 365 (don't break before insets unless needed). Don't
6233 return a value > last under any circumstances.
6235 2003-03-09 Angus Leeming <leeming@lyx.org>
6237 * BufferView_pimpl.C (trackChanges, dispatch): call
6238 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6240 2003-03-09 Angus Leeming <leeming@lyx.org>
6242 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6243 than Dialogs::showAboutlyx().
6245 2003-03-09 Angus Leeming <leeming@lyx.org>
6247 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6248 than Dialogs::showTabularCreate().
6250 2003-03-09 John Levon <levon@movementarian.org>
6254 * text2.C: 3rd arg to nextBreakPoint was always the same.
6257 2003-03-08 John Levon <levon@movementarian.org>
6264 * text2.C: Remove the "main" bit from the "main body"
6267 2003-03-08 John Levon <levon@movementarian.org>
6269 * text.C (leftMargin): The left margin of an empty
6270 manual label paragraph should not include the label width
6273 * text.C (prepareToPrint): don't attempt to measure hfills
6274 for empty manual label paragraphs - the answer should be 0
6276 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * CutAndPaste.C: remove commented code and reindent.
6280 2003-03-08 John Levon <levon@movementarian.org>
6283 * lyxfunc.C: move reloadBuffer()
6286 * BufferView.C: to here
6288 * lyxvc.C: add comment
6291 * vc-backend.C: call bv->reload() to avoid
6292 getStatus() check on MENURELOAD
6294 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6296 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6297 to an old format .dep file.
6299 2003-03-07 Angus Leeming <leeming@lyx.org>
6301 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6302 when the LFUN_MOUSE_RELEASE should have been handled by
6303 inset->localDispatch.
6305 2003-03-07 Angus Leeming <leeming@lyx.org>
6307 * BufferView_pimpl.C (dispatch):
6308 * LyXAction.C (init):
6309 * ToolbarDefaults.C (init):
6311 * lyxfunc.C (getStatus):
6312 remove LFUN_INSET_GRAPHICS.
6314 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6316 2003-03-07 Angus Leeming <leeming@lyx.org>
6319 * LyXAction.C (init):
6320 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6322 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6325 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6327 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6328 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6330 2003-03-07 Angus Leeming <leeming@lyx.org>
6332 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6335 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6337 * ParagraphList.C (front): new function
6340 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6342 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6343 and top_row_offset_. removed var first_y.
6345 * text2.C (LyXText, removeRow):
6347 * BufferView_pimpl.C:
6348 use these methods instead of using first_y
6350 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * text2.C (pasteSelection): adjust for checkPastePossible
6354 * CutAndPaste.C: remove Paragraph * buf and replace with
6355 ParagraphList paragraphs.
6356 (DeleteBuffer): delete
6357 (cutSelection): change the tc type to textclass_type
6358 (copySelection): change the tc type to textclass_type
6359 (copySelection): adjust for ParagraphList
6360 (pasteSelection): change the tc type to textclass_type
6361 (pasteSelection): adjust for Paragraphlist
6362 (nrOfParagraphs): simplify for ParagraphList
6363 (checkPastePossible): simplify for ParagraphList
6364 (checkPastePossible): remove unused arg
6366 * ParagraphList.C (insert): handle the case where there are no
6369 * CutAndPaste.h: make CutAndPaste a namespace.
6371 * text3.C (dispatch): adjust
6373 * text.C (breakParagraph): add a ParagraphList as arg
6375 * paragraph_funcs.C (breakParagraph): change to take a
6376 BufferParams and a ParagraphList as args.
6377 (breakParagraphConservative): ditto
6378 (mergeParagraph): ditto
6379 (TeXDeeper): add a ParagraphList arg
6380 (TeXEnvironment): ditto
6383 * buffer.C (readLyXformat2): adjust
6384 (insertStringAsLines): adjust
6385 (latexParagraphs): adjust
6387 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6388 (cutSelection): adjust
6389 (pasteSelection): adjust
6391 * BufferView_pimpl.C (insertInset): adjust
6393 2003-03-05 Angus Leeming <leeming@lyx.org>
6396 * LyXAction.C (init):
6397 * BufferView_pimpl.C (dispatch):
6398 * lyxfunc.C (getStatus):
6399 remove LFUN_CHILD_INSERT.
6401 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6403 2003-03-05 Angus Leeming <leeming@lyx.org>
6406 * LyXAction.C (init):
6407 * src/factory.C (createInset):
6408 * lyxfunc.C (getStatus):
6409 * text3.C (dispatch):
6410 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6412 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6414 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * ParagraphList.C (insert): handle insert right before end()
6417 (erase): fix cases where it can be first or last paragraph.
6419 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6421 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6422 Paragraph::next and Paragraph::previous
6425 * text.C (breakParagraph): adjust
6427 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6428 BufferParams& as arg.
6429 (breakParagraph): use ParagraphList::insert
6430 (breakParagraphConservative): take a Buffer* instead of a
6431 BufferParams& as arg.
6432 (breakParagraphConservative): use ParagraphList::insert.
6434 * buffer.C (insertStringAsLines): un-const it
6435 (insertStringAsLines): adjust
6437 * ParagraphList.C (insert): new function
6439 * CutAndPaste.C (pasteSelection): adjust
6441 * text.C (backspace): adjust
6443 * tabular.C (SetMultiColumn): adjust
6445 * CutAndPaste.C (cutSelection): adjust
6446 (pasteSelection): adjust
6448 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6449 Buffer const * as arg
6451 * ParagraphList.C (erase): new function
6452 * paragraph_funcs.C (mergeParagraph): use it
6453 (mergeParagraph): make it take a Buffer* instead of a
6454 BufferParams* as arg
6456 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6458 (breakParagraphConservative): ditto
6460 * paragraph.h: remove the breakParagraph friend
6462 * paragraph.C (eraseIntern): new function
6463 (setChange): new function
6465 * paragraph_funcs.C (mergeParagraph): make it take a
6466 ParagraphList::iterator instead of a Paragraph *, adjust
6469 * paragraph.h: move an #endif so that the change tracking stuff
6470 also works in the NO_NEXT case.
6472 2003-03-04 Angus Leeming <leeming@lyx.org>
6475 * LyXAction.C: new LFUN_INSET_MODIFY.
6477 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6478 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6480 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * several files: ws changes only
6484 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6485 (TeXEnvironment): ditto
6488 * buffer.C (makeLaTeXFile): adjust
6489 (latexParagraphs): make it take ParagraphList::iterator as args
6491 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * buffer.C (latexParagraphs): adjust
6495 * paragraph.C (TeXOnePar): move function...
6496 (optArgInset): move function...
6497 (TeXEnvironment): move function...
6498 * paragraph_pimpl.C (TeXDeeper): move function...
6499 * paragraph_funcs.C: ...here
6501 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6503 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * buffer.C (readInset): remove compability code for old Figure and
6508 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * buffer.C: ws changes
6513 * BufferView_pimpl.C: ditto
6516 * bufferlist.h: ditto
6520 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6522 * converter.[Ch]: split into itself +
6525 * Makefile.am: += graph.[Ch] + format.[Ch]
6532 * lyxrc.C: added #include "format.h"
6534 2003-02-27 Angus Leeming <leeming@lyx.org>
6536 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6539 * factory.C (createInset): add "label" to the factory.
6541 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6542 string and do no more.
6544 2003-02-27 Angus Leeming <leeming@lyx.org>
6547 * LyXAction.C (init):
6548 * factory.C (createInset):
6549 * BufferView_pimpl.C (dispatch):
6550 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6552 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6554 * lyxfunc.C (dispatch):
6555 * text3.C (dispatch): pass name to params2string.
6557 2003-02-26 Angus Leeming <leeming@lyx.org>
6559 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6561 Rearrange the ~includes. Strip out the unnecessary ones.
6563 * factory.C (createInset): reformat.
6564 create new insets for the various LFUN_XYZ_APPLY lfuns.
6566 2003-02-26 John Levon <levon@movementarian.org>
6569 * lyxrow.C: add isParStart,isParEnd helpers
6571 * paragraph.h: make isInserted/DeletedText take refs
6573 * paragraph_funcs.h:
6574 * paragraph_funcs.C: remove #if 0'd code
6579 * text.C: use lyxrow helpers above.
6580 Move draw and paint routines to RowPainter.
6581 Make several methods use refs not pointers.
6582 Make backgroundColor() const.
6583 Add markChangeInDraw(), isInInset().
6584 Merge changeRegionCase into changeCase.
6585 Make workWidth() shouldn't-happen code into an Assert.
6588 * rowpainter.C: new class for painting a row.
6591 * vspace.C: make inPixels take a ref
6593 2003-02-26 Angus Leeming <leeming@lyx.org>
6595 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6598 2003-02-25 John Levon <levon@movementarian.org>
6600 * ispell.C: give the forked command a more accurate name
6602 2003-02-22 John Levon <levon@movementarian.org>
6605 * toc.C: make TocItem store an id not a Paragraph *
6608 2003-02-21 Angus Leeming <leeming@lyx.org>
6610 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6611 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6612 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6613 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6614 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6615 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6617 * BufferView_pimpl.C (dispatch):
6618 * LyXAction.C (init):
6619 * factory.C (createInset):
6620 * lyxfunc.C (getStatus, dispatch):
6621 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6623 2003-02-21 Angus Leeming <leeming@lyx.org>
6625 * BufferView_pimpl.C (MenuInsertLyXFile):
6626 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6627 * lyxfunc.C (menuNew, open, doImport):
6628 no longer pass a LyXView & to fileDlg.
6630 2003-02-21 Angus Leeming <leeming@lyx.org>
6632 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6633 * LyXAction.C: change, BIBKEY to BIBITEM.
6634 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6635 Change InsetBibKey to InsetBibitem.
6636 Change BIBKEY_CODE to BIBITEM_CODE.
6637 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6638 * factory.C: replace insetbib.h with insetbibitem.h.
6639 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6640 * paragraph.C: replace insetbib.h with insetbibitem.h.
6641 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6642 Change bibkey() to bibitem().
6643 * text.C: remove insetbib.h.
6644 * text2.C: replace insetbib.h with insetbibitem.h.
6645 change bibkey() to bibitem().
6646 * text3.C: remove insetbib.h.
6647 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6649 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6651 * lyxrc.C (output): enclose user email in quotes (in case there are
6654 2003-02-18 John Levon <levon@movementarian.org>
6656 * buffer.h: add std::
6658 2003-02-17 John Levon <levon@movementarian.org>
6664 * pspell.C: reworking. Especially in ispell, a large
6665 number of clean ups and bug fixes.
6667 * lyxfunc.C: fix revert to behave sensibly
6669 2003-02-17 André Pönitz <poenitz@gmx.net>
6672 * commandtags.h: new LFUN_INSERT_BIBKEY
6682 * paragraph_func.C: remove special bibkey handling
6684 2003-02-17 John Levon <levon@movementarian.org>
6686 * text.C (Delete): fix case where delete at the end of
6687 the very first paragraph would not merge the pars
6689 2003-02-17 John Levon <levon@movementarian.org>
6691 * lyxrow.C: fix lastPrintablePos()
6693 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6695 * bufferparams.C (writeLaTeX): add a std:here
6697 * buffer.C: and remove a using directive there
6699 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6701 * buffer.C (makeLaTeXFile): move the code that generates the
6704 * bufferparams.C (writeLaTeX): ... in this new method
6706 * LaTeXFeatures.C (getEncodingSet): make const
6707 (getLanguages): make const
6709 * MenuBackend.C (binding): returns the binding associated to this
6711 (add): sets the status of each item by calling getStatus. Adds
6713 (read): add support for OptSubMenu
6714 (expand): remove extra separator at the end of expanded menu
6716 2003-02-15 John Levon <levon@movementarian.org>
6719 * BufferView_pimpl.C:
6721 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6722 inset code that had no actual effect. Remove unneeded status
6725 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6730 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6732 * text.C (drawLengthMarker): also draw an arrow marker for
6733 symbolic lengths (medskip...)
6735 2003-02-14 John Levon <levon@movementarian.org>
6738 * tabular.C: better method names
6740 2003-02-14 John Levon <levon@movementarian.org>
6742 * BufferView_pimpl.C:
6747 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6748 it's a more accurate name. Remove some pointless uses.
6750 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * text2.C (LyXText): change order of initilizers to shut off
6755 2003-02-14 John Levon <levon@movementarian.org>
6757 * buffer.C: use ParIterator for getParFromID()
6761 * paragraph_pimpl.h:
6762 * paragraph_pimpl.C: remove unused getParFromID()
6764 2003-02-14 John Levon <levon@movementarian.org>
6766 * buffer.C: remove some very old #if 0'd parse code
6768 2003-02-13 John Levon <levon@movementarian.org>
6772 * text2.C: move hfillExpansion(), numberOfSeparators(),
6773 rowLast(), rowLastPrintable(), numberofHfills(),
6774 numberOfLabelHfills() ...
6777 * lyxrow.C: ... to member functions here.
6782 * text.C: remove LyXText::beginningOfMainBody(), and call
6783 p->beginningOfMainBody() directly. Move the check for
6784 LABEL_MANUAL into the latter.
6791 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6797 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6798 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6800 2003-02-13 John Levon <levon@movementarian.org>
6802 * CutAndPaste.C: remove debug
6804 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6806 * paragraph.C (asString): remove two unused variables
6808 * lyxtextclass.C (readTitleType):
6810 (LyXTextClass): handle new members titletype_ and titlename_
6812 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6814 2003-02-09 John Levon <levon@movementarian.org>
6817 * buffer.C: replace hand-coded list with a map for the dep clean
6819 2003-02-08 John Levon <levon@movementarian.org>
6821 * LaTeX.C: consolidate code into showRunMessage() helper
6823 2003-02-08 John Levon <levon@movementarian.org>
6828 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6829 and pass the size in explicitly
6831 * BufferView_pimpl.h:
6832 * BufferView_pimpl.C:
6834 * BufferView.C: add getCurrentChange()
6836 * BufferView_pimpl.h:
6837 * BufferView_pimpl.C: handle change lfuns
6839 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6840 for changes. Mark pasted paragraphs as new.
6842 * support/lyxtime.h:
6843 * support/lyxtime.C:
6844 * DepTable.C: abstract time_t as lyx::time_type
6847 * LColor.C: add colours for new text, deleted text, changebars
6849 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6850 package use "usenames" option.
6854 * LyXAction.C: add change lfuns
6858 * author.C: author handling
6861 * buffer.C: add a per-buffer author list, with first entry as
6862 current author. Handle new .lyx tokens for change tracking. Output
6863 author list to .lyx file. Output dvipost stuff to .tex preamble.
6864 Bump lyx format to 222.
6867 * bufferlist.C: add setCurrentAuthor() to reset current author details
6871 * bufferparams.C: add param for tracking
6873 * bufferview_funcs.C: output change info in minibuffer
6877 * changes.C: add change-tracking structure
6880 * debug.C: add CHANGES debug flag
6883 * lyxfind.C: add code for finding the next change piece
6886 * lyxrc.C: add user_name and user_email
6889 * lyxrow.C: add a metric for the top of the text line
6892 * text.C: implement accept/rejectChange()
6895 * text.C: paint changebars. Paint new/deleted text in the chosen
6896 colours. Strike through deleted text.
6900 * paragraph_pimpl.h:
6901 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6902 in the current change to the insert functions. Rework erase to
6903 mark text as deleted, adding an eraseIntern() and a range-based
6904 erase(). Implement per-paragraph change lookup and
6907 * paragraph_funcs.C: Fixup paste for change tracking.
6909 * tabular.C: mark added row/columns as new.
6911 * text.C: fix rowLast() to never return -1. Don't allow
6912 spellchecking of deleted text. Track transpose changes. Don't
6913 allow paragraph break or merge where appropriate.
6915 * text2.C: leave cursor at end of selection after a cut.
6917 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6919 * text.C (getLengthMarkerHeight):
6920 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6921 visible on screen too.
6923 2003-02-07 John Levon <levon@movementarian.org>
6925 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6927 2003-02-05 Angus Leeming <leeming@lyx.org>
6929 * lyxserver.C (read_ready): revert my patch of 11 September last year
6930 as it sends PC cpu through the roof. Presumably this means that
6931 the lyxserver will no longer run on an Alpha...
6933 2003-01-30 Angus Leeming <leeming@lyx.org>
6935 * factory.C (createInset): create an InsetCommandParam of type "index"
6936 and use it to 'do the right thing'.
6938 * text2.C (getStringToIndex): ensure that cursor position is always
6939 reset to the reset_cursor position.
6941 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6943 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6946 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6950 * lyxfunc.C: Output messages with identical spelling, punctuation,
6953 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6955 * MenuBackend.C (expandFormats): List only viewable export formats
6958 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6961 * lyxfunc.C (getStatus): Make sure that formats other than
6962 "fax" can also be disabled
6964 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6966 * text3.C (dispatch): put the lfuns that insert insets in 3
6967 groups, and call doInsertInset with appropriate arguments.
6968 (doInsertInset): new function, that creates an inset and inserts
6969 it according to some boolean parameters.
6971 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * buffer.C (readFile): remember to pass on 'par' when calling
6974 readFile recursively.
6976 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6978 * MenuBackend.C (expandFormats): add "..." to import formats.
6980 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6982 * paragraph.C (asString): Remove XForms RTL hacks.
6984 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6985 * buffer.C: fix typo
6987 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * Makefile.am (LIBS): delete var
6990 (lyx_LDADD): add @LIBS@ here instead.
6992 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6994 * Clarify the meaning of "wheel mouse jump"
6996 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6998 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7001 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7003 * importer.C (Loaders): do not preallocate 3 elements in the
7004 vector, since one ends up with 6 elements otherwise
7006 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7008 * DepTable.C (write): write the file name as last element of the
7009 .dep file (because it may contain spaces)
7010 (read): read info in the right order
7012 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7014 * paragraph_pimpl.C (simpleTeXBlanks):
7015 (simpleTeXSpecialChars):
7016 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7018 * tabular.C (latex): add some missing case statements. Reindent.
7020 * MenuBackend.C (expandToc): remove unused variable.
7022 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7031 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7034 2003-01-05 John Levon <levon@movementarian.org>
7037 * BufferView.C: add getEncoding()
7040 * kbsequence.C: do not store last keypress
7043 * lyxfunc.C: store last keypress here instead. Pass encoding
7046 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7048 * lyx_main.C (init): remove annoying error message when following
7049 symbolic links (bug #780)
7051 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7053 * text.C (insertChar):
7054 * lyxrc.C (getDescription): remove extra spaces
7056 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * lyxrc.C (getDescription): remove extra spaces
7060 2002-12-20 John Levon <levon@movementarian.org>
7062 * text3.C: hack fix for page up/down across tall rows
7064 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7069 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7071 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7072 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7073 thesaurus is not compiled in
7075 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7077 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7079 2002-12-16 Angus Leeming <leeming@lyx.org>
7082 * lyx_main.C (init): remove override_x_deadkeys stuff.
7084 2002-12-12 John Levon <levon@movementarian.org>
7086 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7087 insert. Only remove shift modifier under strict
7090 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7092 * MenuBackend.C (expandToc): fix crash.
7094 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * MenuBackend.C (expandToc): gettext on float names.
7098 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7100 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7101 implement bool empty() [bug 490]
7103 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7107 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * several files: ws changes
7111 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * text2.C (setCounter): clean up a bit, use boost.format.
7114 (updateCounters): initialize par upon declaration.
7116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7117 if the layout exists. We do not just store the layout any more.
7118 (SwitchLayoutsBetweenClasses): use boost.format
7120 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7122 * converter.C (convert): if from and to files are the same, use a
7123 temporary files as intermediary
7125 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7128 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7130 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7132 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7134 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * tabular.C (asciiPrintCell): use string(size, char) instead of
7139 * sgml.C (openTag): fix order of arguments to string constructor
7142 * lyxfunc.C (dispatch): use boost.format
7144 * lots of files: change "c" -> 'c'
7146 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7148 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7150 2002-11-25 Angus Leeming <leeming@lyx.org>
7152 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7154 * lyx_main.C (init): compile fix.
7156 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * lyx_cb.C (start): boost.formatify
7159 do not include <iostream>
7161 * lengthcommon.C: ws only
7163 * boost-inst.C,BoostFormat.h: add more explict instantations
7165 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * lots of files: handle USE_BOOST_FORMAT
7169 2002-11-21 John Levon <levon@movementarian.org>
7171 * pspell.C: fix compile
7173 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * lyxfunc.C (dispatch): use boost::format
7179 * lyxfont.C (stateText): use boost::format
7181 * lyx_main.C (LyX): use boost::format
7183 (queryUserLyXDir): ditto
7186 (typedef boost::function): use the recommened syntax.
7188 * importer.C (Import): use boost::format
7190 * debug.C (showLevel): use boost::format
7192 * converter.C (view): use boost::format
7197 * bufferview_funcs.C (currentState): use boost::format
7199 * bufferlist.C (emergencyWrite): use boost::format
7201 * buffer.C (readLyXformat2): use boost::format
7202 (parseSingleLyXformat2Token): ditto
7204 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7206 * LaTeX.C (run): use boost::format
7208 * Chktex.C (scanLogFile): use boost::format
7210 * BufferView_pimpl.C (savePosition): use boost::format
7211 (restorePosition): ditto
7212 (MenuInsertLyXFile): ditto
7214 * BoostFormat.h: help file for explicit instation.
7216 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7218 * tabular.C (latex): Support for block alignment in fixed width
7221 2002-11-17 John Levon <levon@movementarian.org>
7223 * BufferView_pimpl.C:
7225 * lyxfunc.C: split filedialog into open/save
7227 2002-11-08 Juergen Vigna <jug@sad.it>
7229 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7230 by my last patch (hopefully).
7232 2002-11-08 John Levon <levon@movementarian.org>
7241 * toc.C: ParConstIterator, and use it (from Lars)
7243 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7245 * lyxtextclass.[Ch]: revise and add doxygen comments
7247 2002-11-07 John Levon <levon@movementarian.org>
7249 * text.C: fix progress value for spellchecker
7251 * toc.C: fix navigate menu for insetwrap inside minipage
7253 * paragraph_funcs.C: added FIXME for suspect code
7255 2002-11-07 John Levon <levon@movementarian.org>
7257 * BufferView_pimpl.C: fix redrawing of insets
7260 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7262 * text2.C (updateCounters): fix bug 668
7264 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7266 * text3.C (dispatch): Do not make the buffer dirty when moving the
7269 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * vc-backend.C: STRCONV
7274 * text2.C (setCounter): STRCONV
7276 * paragraph.C (asString): STRCONV
7278 * lyxlength.C (asString): STRCONV
7279 (asLatexString): ditto
7281 * lyxgluelength.C (asString): STRCONV
7282 (asLatexString): ditto
7284 * lyxfunc.C (dispatch): STRCONV
7287 * lyxfont.C (stateText): STRCONV
7289 * importer.C (Import): STRCONV
7291 * counters.C (labelItem): STRCONV
7292 (numberLabel): ditto
7293 (numberLabel): remove unused ostringstream o
7298 * bufferview_funcs.C (currentState): STRCONV
7300 * buffer.C (readFile): STRCONV
7301 (asciiParagraph): ditto
7302 (makeLaTeXFile): ditto
7304 * Spacing.C (writeEnvirBegin): STRCONV
7306 * LaTeXFeatures.C (getLanguages): STRCONV
7307 (getPackages): ditto
7309 (getBabelOptions): ditto
7310 (getTClassPreamble): ditto
7311 (getLyXSGMLEntities): ditto
7312 (getIncludedFiles): ditto
7316 (scanAuxFile): ditto
7319 * LString.h: add the STRCONV macros
7321 * BufferView_pimpl.C (savePosition): STRCONV
7322 (restorePosition): ditto
7323 (MenuInsertLyXFile): ditto
7325 * vc-backend.C (scanMaster): change from submatch[...] to
7328 * funcrequest.C: include config.h
7330 * factory.C: include config.h
7332 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7334 * box.C: include config.h
7336 * LaTeX.C (scanAuxFile): change from submatch[...] to
7340 2002-10-25 Angus Leeming <leeming@lyx.org>
7342 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7344 * ispell.[Ch] (setError): new method.
7345 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7346 Use setError() insetead of goto END.
7348 * lyx_cb.C (AutoSave): move out child process into new class
7351 2002-10-30 John Levon <levon@movementarian.org>
7353 * text3.C: make start appendix undoable
7355 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7357 * lyxlength.C (inPixels): Fix returned value.
7359 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7362 2002-10-24 Angus Leeming <leeming@lyx.org>
7364 * lyxgluelength.h: no need to forward declare BufferParams
7365 or BufferView, so don't.
7367 2002-10-21 John Levon <levon@movementarian.org>
7369 * BufferView.C: menuUndo ->undo, redo
7371 * BufferView.h: document, remove dead, make some methods private
7373 * paragraph_funcs.h:
7374 * paragraph_funcs.C:
7375 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7380 * sgml.C: move sgml open/close tag into sgml.C
7382 * bufferview_funcs.h: unused prototype
7385 * lyxfunc.C: remove unused
7388 * text.C: remove unused
7390 2002-10-21 John Levon <levon@movementarian.org>
7394 * BufferView_pimpl.h:
7395 * BufferView_pimpl.C: fix mouse wheel handling based on
7396 patch from Darren Freeman
7398 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7400 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7402 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7404 * lyxlength.C (inPixels): Fix hanfling of negative length.
7405 Fix LyXLength::MU case.
7407 2002-10-16 John Levon <levon@movementarian.org>
7409 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7411 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7413 * converter.C (view): add support for $$i (file name) and $$p
7414 (file path) for the viewer command. If $$i is not specified, then
7415 it is appended to the command (for compatibility with old syntax)
7417 2002-10-14 Juergen Vigna <jug@sad.it>
7419 * undo_funcs.C (textHandleUndo): alter the order in which the
7420 new undopar is added to the LyXText, as we have to set first
7421 the right prev/next and then add it as otherwise the rebuild of
7422 LyXText is not correct. Also reset the cursor to the right paragraph,
7423 with this IMO we could remove the hack in "redoParagraphs()".
7425 2002-10-09 Angus Leeming <leeming@lyx.org>
7427 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7428 to turn off an optimisation if a new inset is to be inserted.
7430 2002-10-11 André Pönitz <poenitz@gmx.net>
7432 * lyxtext.h: make some functions public to allow access
7433 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7435 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7437 * text3.C (dispatch): when changing layout, avoid an infinite loop
7440 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7442 * lyxrc.C (read): treat a viewer or converter command of "none" as
7445 * MenuBackend.C (expandFormats): for an update, also allow the
7446 formats that are not viewable
7448 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7449 script if it is newer than the lyxrc.defaults in user directory
7451 2002-10-07 André Pönitz <poenitz@gmx.net>
7453 * text.C: Vitaly Lipatov's small i18n fix
7455 2002-09-25 Angus Leeming <leeming@lyx.org>
7457 * ispell.h: doxygen fix.
7459 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7461 * buffer.h (readFile): Add a new argument to the method, to allow
7462 reading of old-format templates.
7464 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7466 * toc.C (getTocList): Get TOC from InsetWrap.
7468 2002-09-16 John Levon <levon@movementarian.org>
7470 * lyxfunc.C: check tabular for cut/copy too
7472 2002-09-12 John Levon <levon@movementarian.org>
7477 * factory.C: add header
7479 * paragraph_funcs.h:
7480 * paragraph_funcs.C: cleanup
7482 2002-09-11 John Levon <levon@movementarian.org>
7484 * PrinterParams.h: odd/even default to true
7486 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7488 * PrinterParams.h: update printer parameters for new xforms dialog
7490 2002-09-11 Angus Leeming <leeming@lyx.org>
7492 * lyxserver.C (read_ready): re-write to make it more transparent
7493 and to make it work in coherent fashion under Tru64 Unix.
7495 2002-09-11 André Pönitz <poenitz@gmx.net>
7499 * text3.C: implement LFUN_WORDSEL
7501 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7503 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7504 make floatlist_ a boost::shared_ptr<FloatList>
7506 * lyxtextclass.C: include FloatList.h
7507 (LyXTextClass): initialize floatlist_
7508 (TextClassTags): add TC_NOFLOAT
7509 (Read): match "nofloat" to TC_NOFLOAT and use it.
7510 (readFloat): modify call to floatlist_
7514 * FloatList.[Ch] (FloatList): remove commented out float
7516 (erase): new function
7518 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7520 * MenuBackend.C (expandToc): fix crash when there is no document
7523 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7525 * many files: Add insetwrap.
7527 2002-09-09 John Levon <levon@movementarian.org>
7529 * text2.C: remove confusing and awkward depth wraparound
7531 2002-09-09 John Levon <levon@movementarian.org>
7533 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7536 * buffer.C: remove getIncludeonlyList()
7539 * lyxfunc.C: remove headers
7541 2002-09-09 Juergen Vigna <jug@sad.it>
7543 * text.C (getColumnNearX): fix form Michael this is most
7544 probably a cut&paste bug.
7546 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7550 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7551 references, ws changes.
7553 * text2.C (init): update counters after init
7554 (insertParagraph): no need to set counter on idividual paragraphs.
7555 (setCounter): access the counters object in the textclass object
7556 on in the buffer object.
7557 (updateCounters): ditto
7559 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7560 shared_ptr<Counters> to avoid loading counters.h in all
7562 (LyXTextClass): initialize ctrs_
7563 (TextClassTags): add TC_COUNTER, and ...
7564 (Read): use it here.
7565 (CounterTags): new tags
7566 (readCounter): new function
7567 (counters): new funtion
7568 (defaultLayoutName): return a const reference
7570 * counters.C (Counters): remove contructor
7571 (newCounter): remove a couple of unneeded statements.
7572 (newCounter): simplify a bit.
7573 (numberLabel): some small formatting changes.
7575 * buffer.[Ch]: remove all traces of counters, move the Counters
7576 object to the LyXTextClass.
7578 2002-09-06 Alain Castera <castera@in2p3.fr>
7580 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7581 package to set the horizontal alignment on fixed width columns.
7584 * lyx_sty.h: added tabularnewline macro def.
7586 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7588 2002-09-06 John Levon <levon@movementarian.org>
7590 * LyXAction.C: tooltips for sub/superscript
7592 * MenuBackend.C: a bit more verbose
7594 * lyxfunc.C: tiny clean
7596 * undo_funcs.C: document undo_frozen
7598 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * counters.C (Counters): add missing algorithm counter.
7602 * text2.C (setCounter): lookup the counter with layouts latexname
7603 instead of by section number.
7604 (setCounter): use a hackish way to lookup the correct enum
7606 a float name->type change
7607 reset enum couners with counter name directly instead of depth value.
7609 * counters.C (Counters): remove the push_backs, change to use the
7610 float type not the float name.
7611 (labelItem): remove unused string, float name->type change
7613 * counters.h: don't include vector, loose the enums and sects vectors
7615 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7618 (Read): add float->TC_FLOAT to textclassTags
7619 (Read): and handle it in the switch
7620 (readFloat): new function
7622 * FloatList.C (FloatList): comment out the hardcoded float
7625 * lyxlayout.h: ws change.
7627 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7629 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7631 2002-09-03 Angus Leeming <leeming@lyx.org>
7633 * BufferView_pimpl.h: qualified name is not allowed in member
7634 declaration: WorkArea & Pimpl::workarea() const;
7636 * factory.C: added using std::endl directive.
7638 * text3.C: added using std::find and std::vector directives.
7640 2002-08-29 André Pönitz <poenitz@gmx.net>
7643 * text2.C: remove unused member number_of_rows
7646 * BufferView2.C: remove file, move contents to...
7647 * BufferView.C: ... here
7649 * BufferView_pimpl.C:
7650 * factory.C: move more inset creation to factory
7652 * vspace.C: avoid direct usage of LyXText, ws changes
7655 don't provide direct access to WorkArea, use two simple
7656 acessors haveSelction() and workHeight() instead
7659 2002-08-29 John Levon <levon@movementarian.org>
7661 * BufferView_pimpl.C (dispatch): do not continue when
7664 2002-08-28 André Pönitz <poenitz@gmx.net>
7666 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7669 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7671 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7673 * buffer.C: increment LYX_FORMAT to 221
7675 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7676 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7678 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7680 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7682 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7684 * factory.C (createInset): use LyXTextClass::floats
7686 * MenuBackend.C (expandFloatListInsert):
7687 (expandFloatInsert):
7690 * text2.C (setCounter):
7692 * LaTeXFeatures.C (useFloat):
7693 (getFloatDefinitions):
7695 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7697 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7698 floatlist_, with accessor floats().
7700 * FloatList.h: remove global FloatList
7702 2002-08-26 André Pönitz <poenitz@gmx.net>
7704 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7708 * BufferView_pimpl.C:
7709 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7711 2002-08-25 John Levon <levon@movementarian.org>
7713 * LyXAction.C: fix margin note description
7715 2002-08-24 John Levon <levon@movementarian.org>
7719 * bufferview_funcs.C:
7721 * undo_funcs.C: cleanups
7723 * lyxfunc.C: disable CUT/COPY when no selection
7725 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7727 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7728 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7730 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7731 Add backward compatibility to "mono", "gray" and "no".
7733 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7735 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7736 (and file_format >= 200).
7738 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7742 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7746 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7748 * BufferView_pimpl.C:
7755 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7756 inset and code to make it work with the paragraph code. The inset
7757 can be anywhere in the paragraph, but will only do the expected
7758 thing in LaTeX if the layout file contains the parameter line
7760 (or more generally, a nonzero value) for that layout.
7762 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * paragraph.h: remove the declaration of undefined counters class
7767 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7769 * text2.C (setCounter): fixed enumeration mis-count as reported by
7770 Dr. Richard Hawkins.
7772 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * paragraph_funcs.h: remove some unneeded includes
7776 * text.C (backspace): pasteParagraph now in global scipe
7778 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7779 (pasteSelection): ditto
7781 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7782 * paragraph_funcs.C (pasteParagraph): ... here
7784 2002-08-20 André Pönitz <poenitz@gmx.net>
7786 * commandtags.h: new LFUNs for swapping/copying table row/colums
7789 * lyxfunc.C: support for new lfuns
7791 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * buffer.[Ch]: remove NO_COMPABILITY stuff
7796 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * boost.C (throw_exception): new file, with helper function for
7799 boost compiled without exceptions.
7804 * ParameterStruct.h:
7805 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7807 * bufferlist.C (emergencyWriteAll): use boost bind
7809 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7811 * text.C: include paragraph_funcs.h
7812 (breakParagraph): breakParagraph is now in global scope
7814 * paragraph_funcs.[Ch]: new files
7816 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7819 * buffer.C: include paragraph_funcs.h
7820 (insertStringAsLines): breakParagraph is now in global scope
7822 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7825 * CutAndPaste.C: include paragraph_funcs.h
7826 (cutSelection): breakParagraphConservative is now in global scope
7827 (pasteSelection): ditto
7829 * buffer.h: declare oprator== and operator!= for
7830 Buffer::inset_iterator
7832 * bufferlist.C (emergencyWrite): don't use fmt(...)
7834 * text3.C: add using std::endl
7836 * BufferView.C (moveCursorUpdate): remove default arg
7838 2002-08-20 André Pönitz <poenitz@gmx.net>
7840 * buffer.[Ch]: move inline functions to .C
7843 * BufferView_pimpl.C:
7845 * buffer.[Ch]: use improved inset_iterator
7848 * paragraph.[Ch]: write one paragraph at a time
7850 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7852 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7853 style if style is not specified.
7855 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * text2.C (setCounter): when searching for right label for a
7858 caption, make sure to recurse to parent insets (so that a caption
7859 in a minipage in a figure float works) (bug #568)
7861 2002-08-20 André Pönitz <poenitz@gmx.net>
7863 * text3.C: new file for LyXText::dispatch() and helpers
7865 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7867 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7869 2002-08-19 André Pönitz <poenitz@gmx.net>
7872 * text.C: new LyXText::dispatch()
7874 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7876 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7878 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7880 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7883 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * Makefile.am: use $(variables) instead of @substitutions@
7887 2002-08-15 André Pönitz <poenitz@gmx.net>
7890 * BufferView_pimpl.C: streamlining mathed <-> outer world
7894 * LyXAction.C: remove unused LFUN_MATH
7896 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7900 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * paragraph.C (Paragraph): reformat a bit
7903 (cutIntoMinibuffer): use builtin InsetList function instad of
7907 * buffer.C: include boost/bind.hpp, add using std::for_each
7908 (writeFileAscii): use ParagraphList iterators
7909 (validate): use for_each for validate traversal of paragraphs
7910 (getBibkeyList): use ParagraphList iterators
7911 (resizeInsets): use for_each to resizeInsetsLyXText for all
7913 (getParFromID): use ParagraphList iterators
7915 * BufferView2.C (lockInset): use paragraph list and iterators
7917 2002-08-14 John Levon <levon@movementarian.org>
7919 * lyxserver.C: remove spurious xforms include
7921 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7925 2002-08-13 André Pönitz <poenitz@gmx.net>
7928 * lyxfunc.C: further cleaning
7930 2002-08-13 André Pönitz <poenitz@gmx.net>
7932 * funcrequest.h: new constructor
7934 * funcrequest.C: move stuff here from .h
7937 * BufferView_pimpl.C:
7940 * lyxfunc.C: subsequent changes
7942 * lyxfunc.h: new view() member function
7944 * lyxfunc.C: subsequent changes
7946 2002-08-13 Angus Leeming <leeming@lyx.org>
7949 * BufferView_pimpl.C:
7957 changes due to the changed LyXView interface that now returns references
7958 to member variables not pointers.
7960 2002-08-13 Angus Leeming <leeming@lyx.org>
7962 * WordLangTuple (word, lang_code): return references to strings,
7967 * lyxtext.h: forward-declare WordLangTuple.
7972 * text.C: #include "WordLangTuple.h".
7975 * text.C: (selectNextWordToSpellcheck): constify return type.
7977 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7983 * paragraph_pimpl.h:
7986 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7988 Made updateCounter always count from start of buffer, and removed
7989 second argument (par).
7990 Reverted floats number display to '#'. Perhaps I'll try again when the
7991 code base is sanitized a bit.
7993 2002-08-12 Angus Leeming <leeming@lyx.org>
7995 * buffer.[Ch] (getLabelList): constify.
7997 2002-08-07 André Pönitz <poenitz@gmx.net>
7999 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8001 * funcrequest.h: extension to keep mouse (x,y) position
8003 2002-08-12 Juergen Vigna <jug@sad.it>
8005 * BufferView2.C (insertErrors): forbid undo when inserting error
8008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8010 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8012 * ParagraphList.[Ch]: new files
8014 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8016 * BufferView2.C (lockInset): ParagraphList changes
8019 * bufferlist.C: ditto
8023 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8026 unused class variable counter_,
8028 * paragraph.[Ch] (getFirstCounter): delete unused function
8030 * counters.C: include LAssert.h
8031 (reset): add a new function with no arg, change other version to
8032 not have def. arg and to not allow empty arg.
8034 * text2.C (setCounter): remove empty arg from call to Counters::reset
8036 2002-08-11 John Levon <levon@movementarian.org>
8038 * Makefile.am: add WordLangTuple.h
8040 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8043 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8045 * insets/insettext.C: InsetList changes
8047 * graphics/GraphicsSupport.C (operator()): InsetList changes
8049 * toc.C (getTocList): InsetList changes
8051 * paragraph_pimpl.[Ch]: InsetList changes
8053 * paragraph.[Ch]: InsetList changes
8055 * buffer.C (inset_iterator): InsetList changes
8056 (setParagraph): ditto
8057 * buffer.h (inset_iterator): ditto
8058 * iterators.C (operator++): ditto
8059 * iterators.h: ditto
8061 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8063 * InsetList.[Ch]: new files, most InsetList handling moved out of
8066 * BufferView2.C (removeAutoInsets): InsetList changes
8068 (ChangeInsets): ditto
8070 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * paragraph_pimpl.h (empty): new function
8074 * paragraph.[Ch] (empty): new function
8076 * other files: use the new Paragraph::empty function
8078 2002-08-09 John Levon <levon@movementarian.org>
8080 * lyxtext.h: remove unused refresh_height
8082 2002-08-09 John Levon <levon@movementarian.org>
8089 * paragraph.C: move sgml char escaping out of paragraph
8092 * paragraph.C: remove id setter
8096 * paragraph_pimpl.C: remove dead tex_code_break_column
8098 * bufferview_funcs.C: small cleanup
8100 * lyxfunc.C: remove dead proto
8102 * lyxtext.h: make some stuff private. Remove some dead stuff.
8104 * lyxgluelength.C: make as[LyX]String() readable
8106 2002-08-08 John Levon <levon@movementarian.org>
8111 * ToolbarDefaults.C:
8114 * toc.C: lyxaction cleanup
8116 2002-08-08 John Levon <levon@movementarian.org>
8118 * BufferView2.C: small cleanup
8121 * lyxfind.C: move unnecessary header into the .C
8123 2002-08-08 John Levon <levon@movementarian.org>
8125 * funcrequest.h: just tedious nonsense
8128 * lyx_main.C: cleanups
8131 * vspace.C: remove dead header lyx_main.h
8133 2002-08-07 Angus Leeming <leeming@lyx.org>
8136 * paragraph_pimpl.h:
8137 Forward declare class Counters in paragraph.h by moving the ctrs member
8138 variable into Paragraph::Pimpl.
8139 (counters): new method, returning a reference to pimpl_->ctrs.
8141 * text2.C: ensuing changes.
8143 2002-08-07 John Levon <levon@movementarian.org>
8145 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8147 * BufferView_pimpl.C: announce X selection on double/triple
8150 * lyx_main.C: use correct bool in batch dispatch
8152 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8154 2002-08-07 André Pönitz <poenitz@gmx.net>
8156 * funcrequest.h: new class to wrap a kb_action and its argument
8159 * BufferView_pimpl[Ch]:
8163 * lyxrc.C: subsequent changes
8166 2002-08-07 John Levon <levon@movementarian.org>
8168 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8169 document options change.
8171 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8176 * makefile.am: move counters functionality over from
8177 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8179 2002-08-06 John Levon <levon@movementarian.org>
8181 * WordLangTuple.h: new file for word + language code tuple
8192 * BufferView2.C: use WordLangTuple
8195 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8197 2002-08-06 John Levon <levon@movementarian.org>
8199 * lyx_main.C: fix cmdline batch handling
8201 2002-08-06 André Pönitz <poenitz@gmx.net>
8203 * lyxrc.C: set default for show_banner to true
8205 2002-08-06 John Levon <levon@movementarian.org>
8207 * pspell.C: fix a crash, and allow new aspell to work
8209 2002-08-06 John Levon <levon@movementarian.org>
8212 * kbmap.C: small cleanup
8215 * vspace.C: add const
8217 2002-08-05 John Levon <levon@movementarian.org>
8219 * LyXAction.C: back to tabular-insert
8221 2002-08-04 John Levon <levon@movementarian.org>
8224 * BufferView.C: cosmetic change
8226 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8236 * BufferView2.C: purge all "Lyx" not "LyX" strings
8239 * lyxcursor.C: attempt to add some documentation
8244 * ToolbarDefaults.C:
8245 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8246 merge with LFUN_TABULAR_INSERT
8253 * pspell.C: split up i/pspell implementations into separate
8254 files, many cleanups
8256 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8258 * text2.C: some cleanup
8260 * lyxfunc.C: don't check for isp_command == "none" any more, it
8261 didn't make any sense
8263 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8268 * makefile.am: move counters functionality over
8269 from text2.C/paragraph.[Ch] to counters.[Ch], and
8271 2002-08-02 John Levon <levon@movementarian.org>
8273 * buffer.C: s/lyxconvert/lyx2lyx/
8275 2002-08-02 Angus Leeming <leeming@lyx.org>
8277 * lyxlex.C: revert John's change as it breaks reading of the user
8280 2002-08-02 Angus Leeming <leeming@lyx.org>
8282 * importer.C (Import):
8283 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8284 changes due to LyXView::view() now returning a boost::shared_ptr.
8286 2002-08-02 John Levon <levon@movementarian.org>
8288 * lyxlex.C: small cleanup
8290 2002-08-02 John Levon <levon@movementarian.org>
8292 * text2.C (status): small cleanup, no logic change
8294 2002-08-01 John Levon <levon@movementarian.org>
8297 * buffer.C (writeFile): don't output alerts, caller
8301 * lyx_cb.C: from above
8303 * lyxfunc.C: allow to open non-existent files
8305 2002-07-31 John Levon <levon@movementarian.org>
8307 * lyxserver.C: don't let incidental errors get
8310 2002-07-30 John Levon <levon@movementarian.org>
8312 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8314 2002-07-30 John Levon <levon@movementarian.org>
8317 * lyxserver.C: remove I/O callback too
8319 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8321 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8324 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * many files: strip,frontStrip -> trim,ltrim,rtrim
8328 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * PrinterParams.h: remove extern containsOnly, and include
8331 support/lstrings.h instead.
8333 * LaTeX.C (scanAuxFile): modify because of strip changes
8335 * buffer.C (makeLaTeXFile): ditto
8336 * bufferparams.C (writeFile): ditt
8337 * lyxfont.C (stateText): ditto
8338 * lyxserver.C (read_ready): ditto
8339 * vc-backend.C (scanMaster): ditto
8341 * BufferView_pimpl.h: ws changes
8343 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8345 2002-07-26 André Pönitz <poenitz@gmx.net>
8347 * kb_sequence.C: remove unnedred usings
8349 2002-07-26 Juergen Vigna <jug@sad.it>
8351 * lyxfind.C (LyXReplace): we have to check better if the returned
8352 text is not of theLockingInset()->getLockingInset().
8354 2002-07-25 Juergen Vigna <jug@sad.it>
8356 * lyxfind.C (LyXReplace): don't replace if we don't get the
8359 * undo_funcs.C (createUndo): remove debugging code.
8361 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8363 * buffer.C (parseSingleLyXformat2Token): Use default placement
8364 when reading old floats.
8366 * FloatList.C (FloatList): Change the default placement of figure
8367 and tables to "tbp".
8369 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8371 * MenuBackend.C: using std::max
8373 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8375 * MenuBackend.C (expandToc):
8376 (expandToc2): code moved from xforms menu frontend. It is now
8377 generic and TOCs are transparent to menu frontends.
8379 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * toc.C (getTocList): protect against buf=0
8383 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8384 Menu as first parameter. Now, this calls itself recursively to
8385 expand a whole tree (this will be useful for TOC handling)
8386 (expandFloatInsert): remove 'wide' version of floats
8388 * MenuBackend.h (submenuname): returns the name of the submenu.
8389 (submenu): returns the submenu itself, provided it has been
8390 created by MenuBackend::expand
8392 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8394 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8395 insets which have noFontChange == true. (bug #172)
8397 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8399 * BufferView_pimpl.C: add connection objects and use them...
8402 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8404 * MenuBackend.C (expandLastfiles):
8407 (expandFloatListInsert):
8408 (expandFloatInsert):
8409 (expand): split expand in parts
8411 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8413 * lyx_gui.C: use lyx_gui::exit()
8415 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8417 * LyXAction.C: show the failing pseudo action
8419 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8421 * buffer.C (readFile): Run the lyxconvert script in order to read
8424 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8428 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8430 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8434 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8436 2002-07-22 Herbert Voss <voss@lyx.org>
8439 * lyxlength.[Ch]: add support for the vertical lengths
8441 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8443 * toc.[Ch]: std:: fixes
8445 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8447 * lyxrc.C: do not include lyx_main.h
8449 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8455 * BufferView2.C: include "lyxlex.h"
8458 * bufferparams.h: do not #include "lyxlex.h"
8460 * lyxtextclasslist.C (Add): remove method
8461 (classlist): renamed to classlist_
8463 * paragraph_pimpl.C:
8467 * bufferview_funcs.C:
8472 * toc.C (getTocList): use BufferParams::getLyXTextClass
8474 * toc.C (getTocList): use InsetFloat::addToToc
8476 * toc.[Ch]: new files, containing helper functions to handle table
8479 * lyxfunc.C (dispatch): no need to remove spaces around command
8481 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8482 first command of the sequence; it is not very clever, but I do not
8483 have a better idea, actually
8485 * LyXAction.C (LookupFunc): make sure to remove space at the
8486 beginning and end of the command
8488 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * MenuBackend.C (getMenubar): new method: return the menubar of
8492 (read): treat differently reading of menu and menubar (in
8493 particular, the menubar has no name now)
8494 (Menu::menubar): remove
8496 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8499 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8501 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8502 a bibitem inset in a RTL paragraph.
8504 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8506 * paragraph_pimpl.C: constify
8508 * BufferView_pimpl.C:
8510 * lyxfunc.C: fix dispatch in a nicer way
8512 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * lyxfunc.C (dispatch):
8515 * BufferView_pimpl.C:
8516 * BufferView_pimpl.h:
8518 * BufferView.h: rename Dispatch() to dispatch()
8520 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8522 * lyxlayout.C (Read): honor DependsOn tag
8524 * lyxlayout.[Ch] (depends_on): new method
8526 * version.C.in: update lyx_docversion
8528 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8530 * paragraph.C (validate): remove from here...
8531 * paragraph_pimpl.C (validate): ... and move here
8532 (isTextAt): make it const
8534 * buffer.C (getLists): ws cleanup
8536 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8538 * language.C (read): Use iso8859-1 encoding in latex_lang
8539 (this prevents LyX from crashing when using iso10646-1 encoding).
8541 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8543 * text2.C (toggleInset): if cursor is inside an inset, close the
8544 inset and leave cursor _after_ it
8546 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8548 * lyxfunc.C: move minibuffer completion handling out of here
8550 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8552 * BufferView_pimpl.C:
8553 * LaTeX.C: fix dispatch calls
8555 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8557 * text.C (drawChars): Fix Arabic text rendering.
8559 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8563 * lyxfunc.C: remove message-push/pop
8567 * lyxfunc.C: rationalise some code by removing verboseDispatch
8568 in favour of a bool argument to dispatch()
8570 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * lyx_main.C (init): make sure to read symlinks as absolute paths
8574 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8577 * lyxfunc.C: no need for commandshortcut to be a member
8579 2002-07-15 André Pönitz <poenitz@gmx.net>
8581 * converter.C: add support for $$s (scripts from lib/scripts dir)
8582 * lyx_main.C: white space
8584 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8588 * lyxrc.C: remove second exit confirmation
8590 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8595 * BufferView_pimpl.h:
8596 * BufferView_pimpl.C:
8597 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8599 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * MenuBackend.C (expand): add numeric shortcuts to document menu
8603 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8605 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8607 * lyxfont.C (setLyXFamily):
8614 * buffer.C (asciiParagraph): use ascii_lowercase
8616 2002-07-15 Mike Fabian <mfabian@suse.de>
8618 * lyxlex_pimpl.C (search_kw):
8619 * lyxlex.C (getLongString):
8620 * converter.h (operator<):
8621 * converter.C (operator<):
8622 * buffer.C (parseSingleLyXformat2Token):
8624 * ToolbarDefaults.C (read):
8625 * MenuBackend.C (checkShortcuts):
8627 * LColor.C (getFromGUIName):
8628 (getFromLyXName): use the compare_ascii_no_case instead of
8629 compare_no_case, because in turkish, 'i' is not the lowercase
8630 version of 'I', and thus turkish locale breaks parsing of tags.
8632 2002-07-16 Angus Leeming <leeming@lyx.org>
8634 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8635 now takes a Buffer const & argument.
8637 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8639 * BufferView.C (resize): check there's a buffer to resize
8641 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8643 * lyxfunc.C: remove dead code
8646 * lyxserver.C: use lyx_guii::set_read_callback
8648 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8650 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8651 an inset in a RTL paragraph.
8653 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8655 * lyxfunc.C: repaint after a font size update
8657 2002-07-15 André Pönitz <poenitz@gmx.net>
8659 * lyxlength.C: inBP should be able to return negative values
8661 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8663 * lyxfunc.C: use lyx_gui::update_fonts()
8665 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8667 * lyxfunc.C: use lyx_gui::update_color()
8669 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8675 * lyxrc.C: remove file->new asks for name option, and let
8676 buffer-new take an argument
8678 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.C: remove unneeded extra repaint()
8682 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8684 * LyXAction.C: allow command-sequence with NoBuffer
8686 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8688 2002-07-10 Angus Leeming <leeming@lyx.org>
8690 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8692 2002-07-09 Angus Leeming <leeming@lyx.org>
8694 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8696 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8698 * lengthcommon.h: whitespace
8700 * lyxfunc.C: update scrollbar after goto paragraph
8702 * lyxtext.h: factor out page break drawing, and fix it so
8703 page break/added space paints as selected nicely
8705 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8707 * BufferView_pimpl.C: add FIXMEs, clean up a little
8709 2002-07-09 André Pönitz <poenitz@gmx.net>
8711 * lyxfont.[Ch]: support for wasy symbols
8713 2002-07-08 André Pönitz <poenitz@gmx.net>
8715 * BufferView_pimpl.C: apply John's patch for #93.
8717 2002-07-05 Angus Leeming <leeming@lyx.org>
8719 * BufferView_pimpl.C (buffer): generate previews if desired.
8721 * LColor.h: add "preview" to the color enum.
8723 * LColor.C (LColor): add a corresponding entry to the items array.
8725 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8728 2002-07-05 Angus Leeming <leeming@lyx.org>
8730 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8731 The body of the code is now in the method that is passed an ostream &
8732 rather than a file name.
8733 Pass an additional only_preamble parameter, useful for the forthcoming
8736 2002-07-03 André Pönitz <poenitz@gmx.net>
8738 * lyxfunc.C: simplify getStatus() a bit for math stuff
8740 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8742 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8744 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8746 * text.C (changeRegionCase): do not change case of all the
8747 document when region ends at paragraph end (bug #461)
8749 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * paragraph.C (startTeXParParams):
8752 (endTeXParParams): add \protect when necessary
8754 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * BufferView_pimpl.C (workAreaExpose): remove warning
8758 2002-06-27 Angus Leeming <leeming@lyx.org>
8760 * Makefile.am: add lyxlayout_ptr_fwd.h.
8762 2002-06-26 André Pönitz <poenitz@gmx.net>
8764 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8766 2002-06-25 Angus Leeming <leeming@lyx.org>
8768 * lyxfunc.C (dispatch): Comment out the call to
8769 grfx::GCache::changeDisplay. The method no longer exists now that the
8770 pixmap generation part of the graphics loader has been moved into
8773 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * text2.C: layout as layout
8777 * text.C: layout as layout
8779 * tabular.C (OldFormatRead): layout as layout
8781 * paragraph_pimpl.C (TeXDeeper): layout as layout
8782 (realizeFont): layout as layout
8784 * paragraph.C (writeFile): layout as layout
8785 (validate): layout as layout
8786 (getFont): layout as layout
8787 (getLabelFont): layout as layout
8788 (getLayoutFont): layout as layout
8789 (breakParagraph): layout as layout
8790 (stripLeadingSpaces): layout as layout
8791 (getEndLabel): layout as layout
8792 (getMaxDepthAfter): layout as layout
8793 (applyLayout): layout as layout
8794 (TeXOnePar): layout as layout
8795 (simpleTeXOnePar): layout as layout
8796 (TeXEnvironment): layout as layout
8797 (layout): layout as layout
8798 (layout): layout as layout
8800 * lyxtextclass.C (compare_name): new functor to work with
8801 shared_ptr, layout as layout
8802 (Read): layout as layout
8803 (hasLayout): layout as layout
8804 (operator): layout as layout
8805 (delete_layout): layout as layout
8806 (defaultLayout): layout as layout
8808 * lyxlayout_ptr_fwd.h: new file
8810 * lyxlayout.C (Read): layout as layout
8812 * lyx_cb.C (MenuInsertLabel): layout as layout
8814 * bufferlist.C (newFile): layout as layout
8816 * buffer.C (readLyXformat2): layout as layout
8817 (parseSingleLyXformat2Token): layout as layout
8818 (insertStringAsLines): layout as layout
8819 (asciiParagraph): layout as layout
8820 (latexParagraphs): layout as layout
8821 (makeLinuxDocFile): layout as layout
8822 (simpleLinuxDocOnePar): layout as layout
8823 (makeDocBookFile): layout as layout
8824 (simpleDocBookOnePar): layout as layout
8825 (getLists): layout as layout
8827 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8829 * CutAndPaste.C (cutSelection): layout as layout
8830 (pasteSelection): layout as layout
8831 (SwitchLayoutsBetweenClasses): layout as layout
8833 * BufferView_pimpl.C (Dispatch): layout as layout
8834 (smartQuote): layout as layout
8836 * BufferView2.C (unlockInset): layout as layout
8838 2002-06-24 André Pönitz <poenitz@gmx.net>
8840 * lyxfunc.C: fix #487
8842 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8846 * lyxfunc.C: remove display_shortcuts, show_banner
8848 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8850 * Buffer_pimpl.C: oops, update on resize
8852 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8859 * BufferView.C: use repaint()
8861 * BufferView_pimpl.h:
8862 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8863 as it's a clearer description. Remove superfluous
8866 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8868 * text.C: fix bug 488. Not ideal, but getting
8869 getWord() to work properly for the insets that
8870 matter is more difficult ...
8872 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8874 * BufferView_pimpl.C:
8877 * lyxfunc.C: remove the six million index lyxfuncs to just
8878 one, and DTRT (bug 458)
8880 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8884 * BufferView_pimpl.h:
8885 * BufferView_pimpl.C: clean up resize() stuff,
8886 and unnecessary updateScreen()s
8888 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8892 * BufferView_pimpl.h:
8893 * BufferView_pimpl.C:
8896 * minibuffer.C: remove focus management of workarea,
8897 not needed. Use screen's greyOut()
8899 2002-06-17 Herbert Voss <voss@lyx.org>
8901 * converter.C: (convert) do not post a message, when converting
8902 fails, let the calling function decide what to do in this case
8904 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8906 * lyxfunc.C: tidy up a little
8908 2002-06-16 <alstrup@diku.dk>
8910 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8911 Got rid of FORMS_H_LOCATION include. Now we are
8914 2002-06-15 LyX Development team <lyx@rilke>
8916 * buffer.[Ch] (sgmlOpenTag):
8917 (sgmlCloseTag): Added support for avoiding pernicious mixed
8918 content. Return number of lines written.
8921 (makeDocBookFile): Fixed calls to sgml*Tag.
8922 Simple white space clean.
8924 (simpleDocBookOnePar): Simple white space clean.
8926 * tabular.[Ch] (docBook): Renamed to docbook and got another
8927 argument to related with the pernicious mixed content.
8929 (docbookRow): Fixed calls for docbook inset method.
8931 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8933 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8934 so it's X11 independent.
8938 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8940 2002-06-15 Lyx Development team <lyx@electronia>
8942 * intl.h: Renamed getTrans to getTransManager.
8944 2002-06-14 Angus Leeming <leeming@lyx.org>
8946 * Makefile.am: nuke forgotten stl_string_fwd.h.
8948 2002-06-12 Angus Leeming <leeming@lyx.org>
8950 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8952 2002-06-13 Angus Leeming <leeming@lyx.org>
8955 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8957 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8959 * kbmap.C (getiso): add support for cyrillic and greek
8961 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8965 * BufferView_pimpl.h:
8966 * BufferView_pimpl.C: move bogus scrolling logic
8969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8972 * BufferView_pimpl.C: view->resize() change
8974 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8976 * BufferView_pimpl.C: topCursorVisible
8979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8983 * lyx_gui.C: move to frontends/
8987 * lyx_main.C: changes from above
8989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8996 * lyx_main.C: minor tidy
8998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9000 * BufferView_pimpl.h:
9001 * BufferView_pimpl.C:
9003 * BufferView.C: make painter() const,
9006 * BufferView2.C: use screen() accessor
9009 * lyx_main.C: some minor cleanup
9011 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9013 * BufferView_pimpl.h:
9014 * BufferView_pimpl.C: remove enter/leaveView,
9017 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9022 * BufferView_pimpl.h:
9023 * BufferView_pimpl.C: only construct screen once,
9026 * lyxrc.C: remove pointless comment
9028 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9031 * BufferView.C: remove active() and belowMouse()
9033 * BufferView_pimpl.h:
9034 * BufferView_pimpl.C: use workarea() not workarea_,
9035 and make it use a scoped_ptr instead
9037 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9039 * lyx_gui.C: add debug message on BadWindow
9041 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * sp_spell.C: fdopen is not part of the C++ standard.
9045 * paragraph.C (InsetIterator): use >= instead of ==
9047 2002-06-07 Angus Leeming <leeming@lyx.org>
9049 Fixes needed to compile with Compaq cxx 6.5.
9050 * BufferView_pimpl.C:
9057 * lyxtextclasslist.C:
9062 all c-library variables have been moved into namespace std. Wrap
9063 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9068 Add a using std::abs declaration.
9070 * kbmap.h (modifier_pair):
9071 * paragraph.h (InsetTable, InsetList):
9072 * lyxfont.h (FontBits):
9073 type definition made public.
9075 * bufferlist.C (emergencyWriteAll): the compiler complains that
9076 there is more than one possible lyx::class_fun template to choose from.
9077 I re-named the void specialisation as lyx::void_class_fun.
9079 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9081 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9082 the compiler is is unable to find tostr in write_attribute.
9084 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * buffer.C (sgmlError): hide #warning
9088 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * xtl/*: get rid of xtl, which is not in use anyway
9092 * LyXAction.C (init):
9093 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9094 were unimplemented xtl experimentation
9096 2002-06-04 André Pönitz <poenitz@gmx.net>
9098 * lyxfunc.C: disable array operation on simple formulae
9100 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9102 * converter.C: constify a bit
9104 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9106 * lyx_gui.C: check xforms version correctly
9108 2002-04-30 Herbert Voss <voss@lyx.org>
9110 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9113 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9115 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9116 attempt to register it with a VCS)
9118 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9120 * lyx_main.C (init): honor variables LYX_DIR_13x and
9123 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9127 * lyx_main.C: fix a crash on bad command line,
9128 and give a useful exit status on error
9130 * lyxfunc.C (doImport): allow -i lyx to work
9132 2002-03-30 André Pönitz <poenitz@gmx.net>
9134 * lyxfunc.C: mathed font changes
9136 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9151 * trans_mgr.h: srcdocs, and some minor cleanups
9153 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9155 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9156 call getFont all the time)
9158 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9160 * switch from SigC signals to boost::signals
9162 2002-05-29 André Pönitz <poenitz@gmx.net>
9164 * paragraph_pimpl.C (getChar): don't call size() too often...
9166 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * paragraph_pimpl.C (insertChar): do not try to update tables when
9169 appending (pos == size())
9171 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9172 in order to reduce drastically the number of comparisons needed to
9173 parse a large document
9175 2002-05-29 André Pönitz <poenitz@gmx.net>
9181 * textclasslist.[Ch]:
9182 * sp_ispell.h: whitespace change
9184 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9187 lyxaction directly now.
9189 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9193 * lyxvc.C: remove unused headers
9195 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9202 * undo_funcs.C: some cleanups. Use shared_ptr
9203 and a template for the undo stacks.
9205 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9207 * BufferView_pimpl.h:
9208 * BufferView_pimpl.C:
9215 * text2.C: use key_state/mouse_state
9217 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9222 * chset.C: change include order
9223 (loadFile): use boost regex and get rid of LRegex and LSubstring
9225 * Makefile.am (BOOST_LIBS): new variable
9228 * LaTeX.C: change include order.
9229 (scanAuxFile): use boost regex and get rid of LRegex and
9233 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9238 * FontInfo.C: moved to frontends/xforms/
9241 * FontLoader.C: moved into frontends for GUIIzation
9246 * lyxfunc.C: changes from above
9248 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9250 * LColor.C: remove spurious X include
9252 * BufferView_pimpl.C:
9257 * text2.C: move font metrics to frontends/
9259 2002-05-24 Juergen Vigna <jug@sad.it>
9261 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9262 setting the undo_cursor.
9264 * ParagraphParameters.h: include local includes first.
9266 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9268 * BufferView_pimpl.C:
9269 * BufferView_pimpl.h:
9273 * screen.C: move WorkArea into frontends/
9279 * BufferView2.C: move LyXScreen into frontends/
9283 * lyx_gui.C: move lyxlookup into frontends/xforms/
9285 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9288 * BufferView_pimpl.C:
9298 * bufferview_funcs.C:
9311 * vc-backend.C: move LyX/XFormsView into frontends/
9313 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9325 * text2.C: move Painter to frontends/
9327 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * buffer.C: comment out some some code that depend upon lyx_format
9332 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9333 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9335 * buffer.h (NO_COMPABILITY): turn off compability
9337 * ColorHandler.C: include scoped_array.hpp
9339 * font.C: Use more specific smart_ptr header.
9342 * ShareContainer.h: ditto
9346 * BufferView_pimpl.h: ditto
9347 * ColorHandler.h: ditto
9349 * kbmap.C (defkey): change call to shared_ptr::reset
9351 2002-05-21 Juergen Vigna <jug@sad.it>
9353 * buffer.C (insertErtContents): fix to insert ert asis if it is
9354 non empty. Skip it completely if it contains only whitespaces.
9356 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9358 * BufferView_pimpl.C:
9359 * BufferView2.C: clear selection on paste (bug 393)
9361 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * DepTable.C: include ctime
9365 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9367 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9369 2002-05-14 Juergen Vigna <jug@sad.it>
9371 * text.C (breakParagraph): fixed function to honor the keepempty
9372 layout in the right maner and also to permit the right breaking
9373 algorithm on empty or non empyt keepempty paragraphs.
9375 * paragraph.C (breakParagraph): we have to check also if the par
9376 is really empty (!size()) for isempty otherwise we do the wrong
9379 2002-05-10 Juergen Vigna <jug@sad.it>
9381 * buffer.[Ch] : The following are only changes to the ert
9382 compatibility read reading old LaTeX layout and font stuff and
9383 convert it to ERTInsets.
9385 * buffer.h: added isErtInset().
9387 * buffer.C (struct ErtComp): add a fromlayout bool to check
9388 if we're inside a LaTeX layout.
9389 (isErtInset): new helper function.
9390 (insertErtContents): look for other ert insets before this one
9391 and insert the contents there, so that we don't have subsequent
9392 ERT insets with nothing between them. This way we create only one
9393 inset with multiple paragraphs. Also check if we don't insert only
9394 spaces ' ' as they are ignored anyway afterwards in the .tex file
9395 so if we have only spaces we will ignore this latex part in the
9397 (parseSingleLyXformat2Token \\layout): better compatibility when
9398 reading layout-latex stuff.
9399 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9401 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9402 stuff after reading the inset only get the information back from
9405 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9407 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9409 * LaTeXFeatures.C (getBabelOptions): New method.
9411 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9413 * BufferView_pimpl.C (Dispatch): work around missing argument for
9416 2002-05-08 Juergen Vigna <jug@sad.it>
9418 * text.C (leftMargin): handle paragraph leftindent.
9420 * paragraph.C (writeFile): write the new \\leftindent tag.
9421 (validate): handle leftindent code.
9422 (TeXEnvironment): handle paragraphleftindent code again.
9424 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9426 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9427 for paragrap_extra indent code and new token \\leftindent.
9428 (latexParagraphs): handle the leftindent as environment.
9430 * ParameterStruct.h: added leftindent support.
9432 * ParagraphParameters.C (leftIndent): added support functions for
9433 the paragraph left indent.
9435 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9438 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9440 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9443 * text.C (computeBidiTables): No bidi in insetERT.
9445 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9448 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * version.C.in: pre 5
9452 2002-05-02 José Matos <jamatos@fep.up.pt>
9453 * buffer.C (makeDocBookFile): white space changes, add newline to
9455 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9457 * tabular.C (docBook): fix typo.
9459 2002-05-03 Juergen Vigna <jug@sad.it>
9461 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9462 change in LyXText as we can not be sure it was not freed.
9463 (drawOneRow): remove unused code.
9465 * text.C (drawInset): redo the calculation of the need_break_row as
9466 it could have a row which was already freed.
9467 (draw): look at the return value of drawInset and return false if
9468 it also returned false.
9469 (paintRowText): look at the return value of draw and return false if
9470 it also returned false.
9472 * lyxtext.h: added bool return type to drawInset() and draw() so that
9473 if we have a change in the row so that the rowbreak has to be redone
9474 we abort drawing as it will be called again.
9476 2002-05-02 Juergen Vigna <jug@sad.it>
9478 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9479 a change in the maintext also if we're inside an inset.
9480 (Dispatch): set the cursor again after a break line and after the
9481 screen has been updated as it could be we're in a different row.
9483 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9484 to set the cursor behind the pargraph with > size().
9485 (setCursor): check also for the same paragraph when checking where
9486 to put the cursor if we have a NFR inset.
9488 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9489 parts of layout read further up as it still was in the wrong
9492 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * screen.C (drawFromTo): change sine fullRebreak always return
9497 * buffer.C (parseSingleLyXformat2Token): reindent some
9499 * BufferView_pimpl.C (update): change since fullRebreak always
9501 (Dispatch): git rid of the last hardcoded "Standard"s.
9503 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9505 * text2.[Ch] (fullRebreak): make it return void now that we always
9508 2002-04-30 Juergen Vigna <jug@sad.it>
9510 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9511 ert compatibility check for "latex" layout.
9513 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9515 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9516 minipages: use col% instead of p%, and also use the current font.
9517 (makeLaTeXFile): Fix use babel condition.
9518 (parseSingleLyXformat2Token): Correct font when reading old floats.
9520 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9522 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9523 inserting list of floats.
9525 2002-04-25 Herbert Voss <voss@lyx.org>
9527 * MenuBackend.C (expand): don't add the graphics extensions to the
9530 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9533 non-existing layout, do not complain if it was the default layout
9534 of the original class (bug #342)
9536 2002-04-24 Juergen Vigna <jug@sad.it>
9538 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9539 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9541 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9543 * buffer.C (getBibkeyList): If using \bibliography, return the
9544 option field with the reference itself. Enables us to provide natbib
9545 support when using \bibliography.
9547 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9549 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9551 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9552 natbib is provided by the LaTeX class.
9554 2002-04-23 Juergen Vigna <jug@sad.it>
9556 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9559 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9561 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9565 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9566 ensuremath around textordmasculine, textordfeminine and
9569 2002-04-19 Juergen Vigna <jug@sad.it>
9571 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9572 reinitializing the buffer otherwise row-dimensions may be wrong.
9573 (update): reset also the selection cursors if they do exits otherwise
9574 their x/y positions may be wrong.
9576 * text2.C (cursorDown): don't enter the inset if we came from a row
9577 above and are one row over the inset.
9579 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9580 really leaving an inset.
9582 2002-04-18 Juergen Vigna <jug@sad.it>
9584 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9585 of the selected paragraph does not have the selected layout also if
9588 * text2.C (setLayout): fixed bug which did not change last selected
9591 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9592 changed the read and substituted \\end_float with \\end_inset!
9594 * BufferView_pimpl.C (cursorPrevious):
9595 (cursorNext): fixed to make it work with rows heigher than the work
9596 area without moving the cursor only the draw of the row.
9597 (workAreaMotionNotify): fix jumping over high rows.
9599 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9604 2002-04-16 Juergen Vigna <jug@sad.it>
9606 * text2.C (setCursor): set also the irow().
9607 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9609 (cursorDown): support for locking an inset if the x_fix value goes
9610 inside it. That way I can transverse insets too with cursor up/down.
9612 * lyxrow.h: added irow helper function same as other (i) functions.
9614 * BufferView_pimpl.C (cursorPrevious):
9615 (cursorNext): fixed for insets!
9617 2002-04-15 Juergen Vigna <jug@sad.it>
9619 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9620 position otherwise it is wrong in some cases.
9622 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9623 inside the inset before the call.
9625 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9627 * buffer.[Ch] (getBibkeyList): make it const.
9629 2002-04-12 Juergen Vigna <jug@sad.it>
9631 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9633 * text2.C (getCursorX): new helper function
9634 (setCursor): compute also ix_
9635 (setCursorFromCoordinates): set also ix.
9637 * lyxcursor.h: added ix_ and helper functions.
9639 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9641 * buffer.C (insertStringAsLines): dont break paragraph if the this
9642 paragraph is inside an inset which does not permit it!
9644 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9645 also with no chars on this paragraph.
9646 (paintRowText): only paint stuff if it's inside the workarea!
9648 * paragraph.C (breakParagraph): honor keepempty flag and break the
9649 paragraph always below not above.
9651 * BufferView2.C (unlockInset): update the paragraph layout on inset
9652 unlock as we changed paragraph in such a case.
9654 * lyxfind.C (LyXFind): clear the former selection if not found!
9656 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9657 again called in insertChar().
9659 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9660 an inset which uses the whole row!
9661 (rightMargin): ditto.
9662 (insertChar): force a rebreak if we inserted an inset!
9664 2002-03-28 Herbert Voss <voss@lyx.org>
9666 * lyxlength.[Ch]: add inBP() to get the right PS-point
9667 units (BigPoint). With inPixels we have rounding errors
9669 2002-04-11 Juergen Vigna <jug@sad.it>
9671 * text2.C (setCursorFromCoordinates): set iy to the right value.
9672 (setCursor): add check if row->previous exists!
9674 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9675 an old float_type as this was the case in the old code!
9677 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9679 * BufferView2.C (showLockedInsetCursor): use iy
9680 (fitLockedInsetCursor): ditto
9682 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9683 locked insets as there we have the right value now.
9685 * lyxcursor.C: added iy_ variable and iy functions to set to the
9686 baseline of cursor-y of the locked inset.
9688 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9689 (setCursor): fixed for insets which need a full row.
9691 * text.C (rowLastPrintable): don't ignore the last space when before
9692 an inset which needs a full row.
9693 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9694 as last character of a row when before a inset which needs a full row.
9696 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * version.C.in: update date
9700 * text2.C (fullRebreak): try to always return true and see what
9703 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * MenuBackend.C (expand): use Floating::listName
9707 * FloatList.C (FloatList): add listName argument to the built-in
9710 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9711 text associated with the float.
9713 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9717 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * ShareContainer.h: add a couple of missing typenames.
9721 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9723 * lyxrc.C (getDescription): use _() correctly rather than N_().
9725 2002-03-28 Herbert Voss <voss@lyx.org>
9727 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9728 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9730 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9733 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9735 2002-03-29 Juergen Vigna <jug@sad.it>
9737 * lyxfunc.C (dispatch): add a missing fitCursor call.
9739 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9740 it was scrolled by a cursor move, so return the bool status.
9742 * BufferView.C (fitCursor): return the bool flag also to the outside
9743 world as this is needed.
9745 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9747 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9748 call the edit() as it is not needed (and wrong) IMO.
9749 (workAreaButtonPress): set the screen_first variable before evt.
9750 unlock the inset as this may change screen_first and then we have
9751 a wrong y position for the click!
9753 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * MenuBackend.C (expand): another translation that I missed
9757 2002-03-28 Juergen Vigna <jug@sad.it>
9759 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9761 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9763 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9767 * MenuBackend.C (expand): fix export/view/update when there is no
9770 2002-03-27 Herbert Voss <voss@lyx.org>
9772 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9775 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9777 * bufferview_funcs.C (currentState): only show paragraph number
9778 for is DEVEL_VERSION is set.
9780 * lyxfunc.C (dispatch): put warning in INFO channel
9782 * MenuBackend.C (expand): translate the name of floats
9784 * FloatList.C (FloatList): mark the float names for translation
9786 * converter.C (convert): use LibScriptSearch
9788 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9790 * MenuBackend.C (defaults): fix default menu (we might as well get
9793 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9795 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9798 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * lyxvc.C: reorder includes.
9802 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9804 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9807 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9809 * CutAndPaste.C: change layouts earlier on paste
9810 to avoid crashing when calling getFont()
9812 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9814 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9817 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9819 * WorkArea.C: remove 'Pending' debug message.
9821 * most files: ws cleanup
9823 * buffer.[Ch]: ws changes
9825 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9827 2002-03-21 Juergen Vigna <jug@sad.it>
9829 * tabular.C (SetMultiColumn): collapse also the contents of the
9830 cells and set the last border right. Added a Buffer const * param.
9832 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9834 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9837 2002-03-19 Juergen Vigna <jug@sad.it>
9839 * text2.C (clearSelection): reset also xsel_cache.
9841 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9842 where it needs to be called (John tells us to do so too :)
9843 (selectionLost): reset sel_cache.
9845 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9847 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9849 * text2.C (setCursorIntern): put debuging code in INSETS channel
9851 2002-03-19 André Pönitz <poenitz@gmx.net>
9853 * lyxfunc.C: tiny whitespace change
9855 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * ToolbarDefaults.C (init):
9858 * LyXAction.C (init):
9860 * BufferView_pimpl.C (Dispatch):
9861 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9863 2002-03-19 Allan Rae <rae@lyx.org>
9865 * exporter.C (Export): removeAutoInsets before doing anything else.
9866 While I've just introduced a dependency on BufferView this really is
9867 the best place to clean the buffer otherwise you need to cleanup in
9868 a dozen places before calling export or cleanup in a dozen functions
9871 * converter.C (runLaTeX):
9872 (scanLog): Better handling of removeAutoInsets and screen updates.
9874 * lyxfunc.C (dispatch): small whitespace changes
9876 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * WorkArea.C (C_WorkAreaEvent): return a value.
9879 (event_cb): return 1 if we handled the event, 0 otherwise.
9881 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9883 2002-03-18 Juergen Vigna <jug@sad.it>
9885 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9886 (GetAdditionalWidth): ditto.
9890 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9891 inset if we're there actually (probably not used right now but this
9892 is the direction to go for unifying code).
9893 (paste): disable code to clear the selection.
9895 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9896 inside an InsetText and move the check further up as it is in the
9899 * text2.C (pasteSelection): set a selection over the pasted text.
9901 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9903 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9904 and libgraphics to build on Cygwin.
9906 2002-03-15 Juergen Vigna <jug@sad.it>
9908 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9909 inserting an Inset into the paragraph. I know this is not the best
9910 fix but we already use current_view in CutAndPaste so we will remove
9911 all of it's using at the same time.
9913 * buffer.C (sgmlError): deactivated function till it is rewritten in
9914 the right mode, now it can create problems.
9916 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9917 before accessing it.
9919 2002-03-14 Juergen Vigna <jug@sad.it>
9921 * undo_funcs.C (textHandleUndo): do the right thing when updating
9922 the inset after the undo/redo.
9924 * text2.C (setCursor): just some testcode for #44 not ready yet.
9926 * undo_funcs.C (textHandleUndo): set the next() and previous()
9927 pointers of the paragraph to 0 before deleting otherwise we have
9928 problems with the Paragraph::[destructor].
9930 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9931 on a paragraph insertion.
9933 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * buffer.C (asciiParagraph): use += operator for char append to
9938 * paragraph.C (getFontSettings): compare >= not just >
9939 (highestFontInRange): ditto
9942 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * paragraph.C: change several algorithm to be more appripriate for
9945 the problem domain. This is lookip in FontList and in the InsetList.
9947 2002-03-13 André Pönitz <poenitz@gmx.net>
9950 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9952 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9957 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9959 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9961 * Painter.C (display): anon helper function, adjust code for this
9963 (pixmap): remove function.
9965 * Painter.h: remove private display variable.
9967 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9969 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9971 * WorkArea.[Ch]: remove figinset_canvas cruft.
9973 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * lyxtextclass.C (operator): add one item cache optimization.
9977 * bufferlist.h: doxy changes
9979 * bufferlist.C: ws changes
9981 * DepTable.[Ch] (ext_exist): place const in the right spot.
9983 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9985 (workAreaExpose): call resizeInsets when the with BufferView changes.
9986 (Dispatch): adjust for protectedBlank removal
9987 (specialChar): call updateInset if the insert went ok.
9989 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9990 specialChar instead.
9992 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9994 * BufferView.h: doxy change
9996 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9998 * lyxtextclass.C (operator[]): remove non-const version
9999 (defaultLayout): remove non-const version
10001 2002-03-12 Juergen Vigna <jug@sad.it>
10003 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10004 did resize the LyXText too.
10006 * buffer.C (readLyXformat2): set layout information on newly allocated
10009 * tabular.C (OldFormatRead): set layout information on the paragraph.
10011 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10013 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10015 2002-03-11 Juergen Vigna <jug@sad.it>
10017 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10019 (resizeCurrentBuffer): force also the insets to resize themselfes.
10020 (moveCursorUpdate): fixed up for InsetText.
10022 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10025 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10026 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10027 value of Dialogs::tooltipsEnabled().
10028 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10030 2002-03-08 Juergen Vigna <jug@sad.it>
10032 * BufferView_pimpl.C (updateInset): update inset inside inset also
10033 if it isn't inside theLockingInset().
10035 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10037 * buffer.C (asciiParagraph): redo some of the word and line length
10039 (getLists): look for Caption instead of caption.
10041 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * buffer.C (Buffer): initialize niceFile to true
10045 (makeLinuxDocFile):
10046 (makeDocBookFile): make sure niceFile is true on exit
10048 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10050 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10052 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10054 * LyXSendto.C: remove.
10055 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10056 * lyx_gui.C: remove now-redundant comment.
10057 * ColorHandler.h: remove forward declaration of class WorkArea.
10058 * lyxfunc.C: remove #include "WorkArea.h".
10060 2002-03-07 Juergen Vigna <jug@sad.it>
10062 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10063 got moved away with the DEPM and also set the inset_owner always
10064 right which before could have been omitted.
10066 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10069 wanted layout is not found.
10071 2002-03-07 Juergen Vigna <jug@sad.it>
10073 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10075 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * paragraph.C (breakParagraph): use default layout not layout of
10079 (Paragraph): clear ParagraphParameters.
10081 2002-03-06 Juergen Vigna <jug@sad.it>
10083 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10084 otherwise it would not be a valid lenght. Fixed a special case in
10085 the minipage compatibility read where we end the document with a
10088 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10089 was set as it could be 0 for InsetTexts first entry.
10091 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * paragraph.C (writeFile): if layout is empty write out
10094 defaultLayoutName().
10096 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10097 file without named layout we set layout to defaultLayoutName().
10099 2002-03-06 Juergen Vigna <jug@sad.it>
10101 * CutAndPaste.C (copySelection): set layout for new paragraph.
10103 * text.C (prepareToPrint): leave ERT inset left aligned
10104 (leftMargin): don't indent paragraphs inside ERT insets
10106 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * paragraph.C (breakParagraph): dont call clear do the work manually
10110 * paragraph.[Ch] (clear): remove function
10112 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10114 * paragraph.C (Paragraph): dont call clear, the work has already
10117 * lyxtextclass.C (operator): assert if n is empty
10119 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10120 work manually instead.
10122 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10124 * BufferView_pimpl.C: protect selectionLost against text == 0
10126 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * text.C (breakParagraph): fix a setting layout to '0' problem.
10130 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10132 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10133 final location of file, for the included files, and graphics.
10135 2002-03-05 Juergen Vigna <jug@sad.it>
10137 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10139 2002-03-04 Juergen Vigna <jug@sad.it>
10141 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10143 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10144 last column of multicolumn cells.
10145 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10147 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10149 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10150 file if it doesn't go to a temporary file.
10152 * buffer.C (sgmlOpenTag):
10153 (sgmlCloseTag): remove extra newline insertion.
10155 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * text.C (getRowNearY): comment out debug msg
10159 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10161 * text2.C: first -> first_y
10163 * text.C (getRowNearY): add some attemts at a possible
10164 optimization, not working.
10166 * tabular.[Ch]: add BufferParams to several function so that newly
10167 created paragraph can be initialized to he default layotu for the
10170 * tabular-old.C (ReadOld): add buf->params to call of Init
10172 * screen.C: rename text->first to text->first_y
10174 * paragraph.C (breakParagraph): always set layout in the broken
10177 * lyxtextclass.C (Read): remove lowercase
10180 (delete_layout): ditto
10182 * lyxtext.h: rename first -> first_y
10184 * lyxlayout.C (Read): remove lowercase
10187 (obsoleted_by): ditto
10189 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10191 * buffer.C (insertErtContents): add params are to InsetERT
10192 (parseSingleLyXformat2Token): add code to check if a paragraphs
10193 layout really exist.
10194 (parseSingleLyXformat2Token): add params to several inset
10196 (asciiParagraph): remove lowercase, do the layout comparisons with
10199 * BufferView_pimpl.C (cursorNext): first -> first_y
10200 (resizeCurrentBuffer): first -> first_y
10201 (updateScrollbar): first -> first_y
10202 (scrollCB): first -> first_y
10203 (workAreaMotionNotify): first -> first_y
10204 (workAreaButtonPress): first -> first_y
10205 (checkInsetHit): first -> first_y
10206 (cursorPrevious): first -> first_y
10207 (cursorNext): first -> first_y
10208 (Dispatch): add buffer_->params to severl inset contructors
10210 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10212 * lyxlayout.C (Read): remove some debug info that I forgot.
10214 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10215 clean up the code slightly.
10216 (makeLinuxDocFile): ditto
10217 (makeDocBookFile): ditto
10219 * text2.C: layout as string
10221 * text.C: layout as string
10223 * paragraph_pimpl.C: layout as string
10225 * paragraph.[Ch]: layout as string
10227 * lyxtextclasslist.[Ch]: layout as string
10229 * lyxtextclass.[Ch]: layout as string
10231 * lyxtext.h: layout as string
10233 * lyxlayout.[Ch]: layout as string
10235 * lyx_cb.C: layout as string
10237 * bufferview_funcs.C: layout as string
10239 * bufferparams.C: layout as string
10241 * buffer.C: layout as string
10243 * LyXView.[Ch]: layout as string
10245 * LaTeXFeatures.[Ch]: layout as string
10247 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10249 * BufferView_pimpl.C: change current_layout to string, remove
10254 (workAreaButtonRelease): layout as string
10256 * BufferView2.C (unlockInset): adjust
10258 * vspace.C (asLatexCommand): use an explict temp variable.
10260 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10262 * Makefile.am: use FRONTEND_*
10264 2002-03-01 Juergen Vigna <jug@sad.it>
10266 * tabular.C (SetWidthOfMulticolCell): changed to something better
10267 I hope but still work in progress.
10268 (recalculateMulticolumnsOfColumn): renamed function from
10269 recalculateMulticolCells as it is more appropriate now.
10270 (SetWidthOfCell): calculate multicols better.
10272 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10276 * lyxfunc.C (processKeySym): print sequence also if it is
10277 `deleted' (complete)
10279 * kbsequence.C (print): print sequence even if it is deleted
10280 (complete would be a better word, actually).
10282 * lyxfunc.C (dispatch): print complete options after a prefix key
10284 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10286 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10288 * text2.C (setCharFont): eliminate setCharFont code duplication.
10290 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10293 LFUN_TABULAR_FEATURE (bug #177)
10295 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10297 * Makefile.am: remove figure.h
10299 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10301 * Bufferview_pimpl.C:
10313 * text2.C: remove #include "lyx_gui_misc.h".
10315 * LaTeX.C: added #include <cstdio>
10317 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10320 that the paragraph following this one can have.
10322 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10324 * vspace.C (asLatexCommand): fix bogus gcc warning
10326 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10328 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10330 * text2.C (setLayout): get rid of redundant code
10332 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10334 * text2.C (incDepth): make sure depth cannot be increased beyond
10337 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10339 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10340 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10342 * PainterBase.h (image):
10343 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10344 a LyXImage const *.
10346 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10350 * BufferView_pimpl.C:
10351 * BufferView_pimpl.h:
10371 * sp_spell.C: remove fig inset, and the crap house of
10372 cards that follows it
10374 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10379 * os2_errortable.h:
10380 * nt_defines.h: move .h into support/
10382 * vms_defines.h: remove
10384 * WorkArea.C: add space in debug output
10388 * buffer.C: add WITH_WARNINGS
10392 * bufferlist.C: s/retrive/retrieve/, add docs
10401 * chset.C: add docs
10403 * lyxgui.C: add ID to X error handler
10405 * lyxtestclass.c: fix typo
10407 2002-02-26 Juergen Vigna <jug@sad.it>
10409 * tabular_funcs.C (write_attribute): changed so that some default
10410 attributes are not written at all.
10411 (getTokenValue): set default values before trying to read the
10412 value so we have the return value always set as default if we don't
10413 find the token we search for.
10415 * tabular.C (Write): write bools as bools not as strings!
10417 2002-02-22 Juergen Vigna <jug@sad.it>
10419 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10420 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10422 * text.C (leftMargin): don't add an indent for paragraphs inside
10423 tabular cells (fix #208).
10425 2002-02-21 José Matos <jamatos@fep.up.pt>
10427 * tabular.C (docBook): fixed support for long tables.
10429 2002-02-20 Juergen Vigna <jug@sad.it>
10431 * text2.C (getFont): get the drawing font of the Inset if this
10432 paragraph is inside an inset (only important for InsetERT for now).
10434 * buffer.C (insertErtContents): use new lanugage params in ERT
10437 * CutAndPaste.C: commenting out seemingly uneeded code.
10439 2002-02-19 Allan Rae <rae@lyx.org>
10441 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10442 Iterators might be simple to use but they also get invalidated.
10443 (removeAutoInsets): renamed saved cursor tracking variables and added
10444 some comments to clarify what everything does.
10446 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10453 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10454 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10457 * vc-backend.h: remove #include "support/syscall.h"
10461 * converter.C: rearrange #includes in Lars' approved fashion.
10463 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10464 forward declare class Timeout in the header file.
10466 * XFormsView.C: changes due to the above.
10468 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10469 similar to LyXView.
10471 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10472 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10474 2002-02-18 José Matos <jamatos@fep.up.pt>
10476 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10479 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10481 * a lot of small ws changes
10482 * add a lot of using std::XXX
10483 * use std construcs some places where approp.
10484 * use some exisint stuff from lyxfunctional where approp.
10485 * Make file changes to use partial linking (lets test this now...)
10487 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10491 remove #include "support/syscontr.h" as it's redundant. Always has been.
10499 change Systemcalls::System to Systemcalls::Wait and
10500 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10501 No change of functionality, just reflects the stripped down Systemcalls
10504 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10506 * debug.[Ch]: add a GRAPHICS type to the enum.
10508 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10510 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10512 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10515 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10518 match the changes below.
10520 * text2.C (toggleInset): if there is not editable inset at cursor
10521 position, try to see if cursor is _inside_ a collapsable inset
10524 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10526 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10527 document menu has a nice checkbox
10529 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10531 * lyxlength.C (asLatexString): change PW to output as percent of
10534 * lengthcommon.C: change '%' to 't%'
10536 * lyxfunc.C (dispatch): a few comments from Martin
10538 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10542 * BufferView_pimpl.h:
10543 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10546 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * vspace.C (inPixels): fix compiler warning
10550 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * lyxfunc.C (getStatus): fix status message for disabled commands.
10554 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10556 * BufferView_pimpl.C: fix crash on close buffer
10557 during selection (#227)
10559 2002-01-27 Herbert Voss <voss@lyx.org>
10561 * buffer.C: link old Figure to new graphic inset
10563 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10565 * FontLoader.C (getFontinfo): Change the latex font names in order
10566 to match the names of type1inst.
10568 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10570 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10572 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10573 (extchanged): ditto
10575 (remove_files_with_extension): ditto
10576 (remove_file): ditto
10579 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10580 document is smaller than the work area height. Do not initialize
10581 static variables to 0.
10583 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10585 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10587 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10588 LFUN_LAYOUT_PARAGRAPHS.
10590 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10591 tabular. It is possible to provide a possible cell, which will
10592 typically be the actcell from the corresponding insettabular
10594 * lyxfunc.C (getStatus): small cleanup; disable
10595 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10598 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10600 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10602 * paragraph.C (startTeXParParams):
10603 (endTeXParParams): new methods. The LaTeX code to
10604 start/end paragraph formatting
10605 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10606 empty (fixes bug #200)
10608 * vspace.C (inPixels): adapt to the change below
10609 (inPixels): [later] more cleanups (remove unused variables)
10611 * lyxlength.C (inPixels): change to use a width and a height as
10614 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10617 Replaced with \paperwidth
10619 * DepTable.C (insert): add std:: qualifier
10621 2002-01-18 Allan Rae <rae@lyx.org>
10623 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10626 * text.C (drawInset): Turned out I didn't know enough about how
10627 rebreaking worked. This fixes most of the redraw problems. I see
10628 an occasional cursor trail when a line is broken now and the cursor
10629 placement can seem out by a few pixels also after a rebreak.
10631 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * buffer.C (parseSingleLyXformat2Token): update because minipage
10634 width is now a LyXLength
10636 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10638 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10641 2002-01-17 Juergen Vigna <jug@sad.it>
10643 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10645 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10646 is set correctly and the inset is updated correctly.
10648 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10651 the beginning of the loop.
10653 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10655 * lyxrc.C: improve help for use_scalable_fonts
10657 2002-01-17 Allan Rae <rae@lyx.org>
10659 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10661 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10664 make sure to set their inset_owner to the right value (bug #171)
10666 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10669 * DepTable.C: Implement mtime checking to reduce time spent doing
10672 2002-01-16 Juergen Vigna <jug@sad.it>
10674 * tabular.C (GetAdditionalHeight): one of error fixed.
10676 * lyxrc.C (output): small fix in writing use_pspell.
10678 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10680 * sp_base.h: #include LString.h
10682 2002-01-16 Allan Rae <rae@lyx.org>
10684 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10685 Can someone check this please?
10687 * text.C (drawInset): It was possible that p.row would be removed by
10688 breakAgainOneRow upsetting a few other settings. There may be another
10689 small tweak possible by setting need_break_row = 0 when p.row has been
10690 removed but I don't know enough about the logic here.
10692 2002-01-15 Allan Rae <rae@lyx.org>
10694 * text.C (insertChar): removed conditional truism.
10696 * BufferView2.C (removeAutoInsets): More tweaks.
10697 cur_par_prev could be a stray pointer. Check for trailing empty line
10698 in case last line was cur_par and only had an error inset on it.
10700 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10705 * vc-backend.C (most methods):
10706 * exporter.C (Export):
10707 * converter.C (convert):
10709 * LyXSendto.C (SendtoApplyCB):
10710 * lyxfunc.C (dispatch):
10714 * lyx_cb.C (AutoSave):
10716 * BufferView_pimpl.C (MenuInsertLyXFile):
10717 * buffer.C (runChktex): use Buffer::filePath().
10719 * buffer.h: rename filename to filename_; rename filepath to
10720 filepath_ and make it private
10721 (filePath): new method
10723 * buffer.C (writeFile): use fileName()
10726 * lyx_main.C (init): fix starting of LyX when the binary is a
10727 link from so,ewhere else.
10729 * minibuffer.C: include <cctype> for isprint
10731 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10733 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10734 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10735 name clash with InsetCollapsable's width function.
10737 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * lastfiles.C: include <iterator>
10741 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10743 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10746 * buffer.C (makeLaTeXFile): ditto.
10747 Also make loop operation more transparent.
10749 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10751 * ToolbarDefaults.C: remove trailing comma closing namespace.
10753 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10755 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10758 * trans.C (Load): comment out unused variable, allowed.
10760 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10762 * minibuffer.[Ch] (append_char): new method to recieve input from the
10763 drop-down completion browser. If a key was pressed, then recieve this
10764 char and append it to the existing string.
10765 (peek_event): modify the positioning data passed to the completion
10766 browser so that it can be placed above the minibuffer rather than below.
10767 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * LyXAction.C (init): alloe error-next for readonly documents.
10771 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10774 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * bufferlist.C (readFile): create the buffer _after_ checking that
10779 * lyxfunc.C (verboseDispatch): fix handling of arguments
10781 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10783 * lyxrc.C: use string::erase() instead of initializing to "".
10786 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10788 * BufferView_pimpl.h:
10789 * BufferView_pimpl.C:
10792 * text2.C: tell X when we have made a selection for copying
10794 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * BufferView_pimpl.C (MenuInsertLyXFile):
10797 * lyxfunc.C (menuNew):
10799 (doImport): add shortcuts to directory buttons
10801 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10804 * lyxfunc.C (setStatusMessage):
10805 (getStatusMessage): new methods
10806 (getStatus):use setStatusMessage instead of setErrorMessage
10807 (dispatch): when function is disabled, set error message here
10808 [instead of in getStatus previously]
10810 * BufferView_pimpl.C (workAreaButtonRelease): update
10811 toolbar/menubar here too.
10813 2002-01-13 Allan Rae <rae@lyx.org>
10815 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10816 Now seems indestructible. Remaining task is to audit all other
10817 code affected by deleteEmptyParagraphMechanism. One small quirk
10818 left is that an empty document with an error in the preamble can
10819 be made to report an error but no error box appears. I don't know
10821 (removeAutoInsets): Improved comments.
10823 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10826 * Thesaurus.C: update for Aiksaurus 0.14
10828 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * text2.C (firstParagraph): removed member function, all uses
10831 replaces with ownerParagraph
10832 (redoParagraphs): here
10833 (updateInset): here
10834 (toggleAppendix): here
10835 * BufferView2.C (insertErrors): here
10836 (setCursorFromRow): here
10838 2002-01-13 Allan Rae <rae@lyx.org>
10840 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10841 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10842 There is still a way to segfault this although you may have to do this
10843 multiple times: Have an InsetERT with an unknown command in it.
10844 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10845 <down-arrow>, <Enter> again, View->DVI, BANG!
10847 * text2.C (setCursor):
10848 (deleteEmptyParagraphMechanism):
10849 * lyxtext.h (setCursor):
10850 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10851 Making use of the return value may help fix other bugs.
10853 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10857 * LyXView.C (updateMenubar): call MenuBar::update here
10858 (updateToolbar): but not here
10859 (showState): do not update toolbar/menubar
10861 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10862 should need to care about that.
10864 * lyxfunc.C (verboseDispatch): simplify a bit
10865 (getStatus): have a version which takes a pseudoaction, and
10866 another which requires a (kb_action,string).
10868 * LyXAction.C (retrieveActionArg): make it work also when action
10869 is not a pseudo-action.
10870 (getActionName): simplify a bit
10873 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * lyxfunc.C (verboseDispatch): new families of methods with
10876 several ways to specify a command and a bool to indicate whether
10877 the command name and shortcut should be displayed in minibuffer
10878 (eventually, we could extend that to a finer bitmask like
10879 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10880 (dispatch): the pristine dispatch command which just, well,
10881 dispatchs! Note it still sets its result to minibuffer; I'm not
10884 * lyxfunc.h: remove setHintMessage
10886 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10888 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * BufferView_pimpl.C (specialChar): delete new inset if we have
10891 not been able to insert it.
10893 * kbmap.C: revert to using int instead of kb_action, since all we
10894 are dealing with is pseudo-actions.
10896 * LyXAction.C (searchActionArg): change to return int instead of
10897 kb_action, since the result is a pseudoaction.
10899 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10901 * buffer.C (insertErtContents): Fix (partially) the font bug.
10903 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10905 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10906 as the other one is broken on my machine!
10908 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10911 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10913 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10915 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10916 reflect their actual use. Provide compatibility code for older lyxrc
10919 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10921 change names of popup font variables in line with the changes to lyxrc.C
10923 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * buffer.C (asciiParagraph): avoid outputing a word twice after
10928 * lyxrc.C (getDescription): document that document_path and
10929 template_path can be empty.
10931 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * LaTeXFeatures.C (getMacros):
10934 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10936 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10938 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10940 (getPackages): rename feature "floats" to "float". Use an array to
10941 iterate over 'simple' features (i.e. just a \usepackage). Add
10942 handling of "amsmath" (renamed from "amsstyle").
10944 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10946 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10949 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10951 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10952 FuncStaus::FuncStatus & FuncStaus::some_method().
10954 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10956 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10957 of the func_satus stuff. Edited and massaged in various ways by
10960 * lyxfunc.C (getStatus): use FuncStatus
10962 2002-01-08 Juergen Vigna <jug@sad.it>
10964 * text.C (nextBreakPoint): use function Inset::isChar().
10966 * paragraph.C (TeXOnePar): use function
10967 Inset::forceDefaultParagraphs.
10969 * buffer.C (latexParagraphs): use function
10970 Inset::forceDefaultParagraphs.
10972 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10974 * lyx_gui.C (init): set the style of the menu popups to
10975 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10977 2002-01-07 Juergen Vigna <jug@sad.it>
10979 * text.C (setHeightOfRow): small fix
10980 (prepareToPrint): don't look at alignment if we don't have the place
10983 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10985 * box.C: New file. Move the Box methods and functions out of box.h,
10986 following Lars' suggestion.
10988 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10990 * box.h: #include "support/LOstream.h", needed for inlined function.
10993 * lyxtextclasslist.C: added some using std declarations.
10995 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10997 * box.h: make signed dimensions to allow insets wider than
10998 the screen (bug #162)
11000 * BufferView_pimpl.C: add some insetHit debug
11002 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11004 * vc-backend.C: add FIXME
11006 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * lyxfunc.C (getStatus): enable code for showing math font status
11011 2002-01-07 Juergen Vigna <jug@sad.it>
11013 * text.C (nextBreakPoint): removed debug output not needed anymore.
11015 2002-01-06 Juergen Vigna <jug@sad.it>
11017 * text.C (nextBreakPoint): fixed up this function we had this bug
11018 since ever but now hopefully we break row better.
11019 (insertChar): we have to check if an inset is the next char as it
11020 could now happen that a large inset is causing a break.
11022 2002-01-05 Juergen Vigna <jug@sad.it>
11024 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11025 if it doesn't like to be drawed.
11027 2002-01-04 Juergen Vigna <jug@sad.it>
11029 * BufferView2.C (lockInset): forgot to set a cursor.
11031 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11033 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11035 * FormMathsPanel.C:
11038 * form_maths_panel.C:
11039 * form_maths_panel.h:
11040 * form_maths_panel.fd: implemented sub- and super- buttons in math
11043 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11044 (or ^ space) to be used as in TeX (req'd by André).
11046 * lyxfunc.C: Allow ^ and _ again to be used both as
11047 super/subscript (mathed) and as themselves (in text).
11049 2002-01-03 Allan Rae <rae@lyx.org>
11051 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11052 "LyX" or the filename of the current buffer if it has one. This is a
11053 modified form of John Levon's patch.
11055 * XFormsView.C (setWindowTitle): also set icon title.
11057 * LyXView.h (setWindowTitle): signature changed.
11058 * XFormsView.h (setWindowTitle): ditto.
11060 2002-01-02 Juergen Vigna <jug@sad.it>
11062 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11064 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * screen.C (topCursorVisible): introduce a temp var for
11067 text->cursor.row(), handle the case where this row is null. (kindo
11070 * text2.C (setCursor): add a couple of asserts.
11072 * paragraph.h (inset_iterator): add -> operator
11074 * paragraph.[Ch] (autoDeleteInsets): remove member function
11076 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11077 cursor pos correctly and handle inset deletion by itself.
11078 (insertErrors): move iterator declaration out of for expression
11080 * lyxtextclass.C: add <algorithm>
11082 * Makefile.am: added the new files to sources, removed layout.C
11084 * layout.C: removed file
11086 * layout.h: remove LYX_DUMMY_LAYOUT
11088 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11092 * lyxtextclass.[Ch]:
11093 * lyxtextclasslist.[Ch]: new files
11095 * include order changes to a lot of files, also changes because of
11098 2001-12-27 Juergen Vigna <jug@sad.it>
11100 * buffer.C (asciiParagraph): more fixes.
11102 * tabular.C (ascii): make ascii export support export of only the
11103 data separated by a column-delimiter.
11104 (ascii): better support for ascii export.
11106 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11108 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * tabular_funcs.C: use a "using std::getline" instead of the
11111 previous fix from Angus (necessary for cxx + lyxstring)
11113 2001-12-24 Juergen Vigna <jug@sad.it>
11115 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11117 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11118 problems. First check a minipage also if we have some ert-contents
11119 (not only on par->size(), second set the right depth of the paragraph
11120 on the relink to the root-paragraph-list!
11122 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11123 which then did not anymore update the main paragraphs on undo/redo!
11125 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11127 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11128 code. Support all font-changing funcs (even those which are not in
11129 menu currently). Support for reporting font settings in
11130 mathed (disabled until Andre provides a function on mathed's side).
11132 * func_status.h (toggle): small helper function to set toggle
11135 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11137 * tabular_funcs.C: getline -> std::getline
11139 2001-12-21 Juergen Vigna <jug@sad.it>
11141 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11142 accessed and could be 0 (I couldn't generate this but it seems
11145 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11147 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11148 * tabular_funcs.h: here and include iosfwd
11150 2001-12-20 Juergen Vigna <jug@sad.it>
11152 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11153 inside inset but undo_par was.
11155 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11157 * Thesaurus.C: always include <config.h> in sources.
11161 * box.h: do not include <config.h> in header files
11163 * text.C (paintLastRow): remove unused variable
11165 * text.C (transformChar):
11167 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11169 * Painter.C (text):
11170 * font.C (width): rewrite to use uppercase() instead of
11173 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11175 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11177 * lyxfind.C: clean up of find failure position change
11179 2001-12-20 Juergen Vigna <jug@sad.it>
11181 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11183 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11184 (TeXRow): added to LaTeX a single tabular row.
11185 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11186 (Latex): simplified and finally good LT-h/f support.
11187 (various_functions): just small adaptions for LT-h/f support.
11189 * tabular_funcs.[hC]: added and moved here all not classfunctions
11192 2001-12-19 Juergen Vigna <jug@sad.it>
11194 * tabular.[Ch]: better support for longtabular options (not finished
11197 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * text.C (paintLastRow): use the label font instead of the font of
11200 the last character to compute the size of *_BOX. This makes more
11201 sense and avoids a crash with empty paragraphs.
11202 Use Painter::rectangle to draw EMPTY_BOX.
11204 2001-12-19 Juergen Vigna <jug@sad.it>
11206 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11207 the paragraphs if the replaced paragraph is not the first one!
11208 Tried to delete not used paragraphs but does not work yet so for
11209 now it's inside #ifdef's and by default off!
11211 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * MenuBackend.C: include "lyx_main.h" instead of declaring
11214 lastfiles (actually was declared as LastFiles* instead of a
11217 2001-12-17 Juergen Vigna <jug@sad.it>
11219 * tabular.C (AppendColumn): applied John's fix
11221 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11225 * BufferView_pimpl.h:
11226 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11229 * box.h: new start of class for above
11231 * lyxfunc.C: ignore space-only minibuffer dispatches.
11232 Show the command name when it doesn't exist
11234 * minibuffer.C: don't add empty lines to the history
11236 * minibuffer.C: add a space on dropdown completion
11238 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11240 * text.C: fix line above/below drawing in insets
11242 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11244 * lyxlength.C (LyXLength): Initialize private variables.
11246 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11248 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11249 when inserting error insets.
11251 2001-12-13 Juergen Vigna <jug@sad.it>
11253 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11254 actually sometimes the before-paragraph.
11255 (setUndo): don't clear the redostack if we're not actually undoing!
11257 2001-12-06 Juergen Vigna <jug@sad.it>
11259 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11260 and fixed redoing of main paragraph, so we can use it now ;)
11262 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11264 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11269 2001-12-13 André Pönitz <poenitz@gmx.net>
11272 * undo_func.C: minor cleanup
11274 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11277 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11278 font in urw-fonts package which is marked as -urw-fontspecific and
11279 does not work (incidentally, changing the encoding in the
11280 fonts.dir of this package to -adobe-fontspecific fixes the
11283 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11284 is a crash when undoing first paragraph (Juergen, please take a
11285 look). THis does not mean the undo fix is wrong, just that it
11288 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11289 the (Paragraph*) version when needed instead of duplicating the
11292 * text.C (workWidth): use Inset::parOwner to find out where the
11293 inset has been inserted. This is a huge performance gain for large
11294 documents with lots of insets. If Inset::parOwner is not set, fall
11295 back on the brute force method
11297 * paragraph_pimpl.C (insertInset):
11298 * paragraph.C (Paragraph):
11299 (cutIntoMinibuffer): set parOwner of insets when
11300 inserting/removing them
11302 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11304 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11310 * mathed/formulabase.C:
11311 * mathed/math_cursor.[Ch]:
11312 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11315 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * lyxlength.[Ch] (operator!=): new function
11319 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * text.C (workWidth): use Inset::parOwner to find out where the
11322 inset has been inserted. This is a huge performance gain for large
11323 documents with lots of insets. If Inset::parOwner is not set, fall
11324 back on the brute force method
11326 * paragraph_pimpl.C (insertInset):
11327 * paragraph.C (Paragraph):
11328 (cutIntoMinibuffer): set parOwner of insets when
11329 inserting/removing them
11331 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11333 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * tabular-old.C (getTokenValue):
11336 * tabular.C (getTokenValue):
11337 (write_attribute): new versions for LyXLength
11338 (everywhere): adjust the use of widths
11340 * tabular.h: change the type of widths from string to LyXLength
11342 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11344 * paragraph.C: fixed missing line number count when exporting
11345 Environments to LaTeX file
11347 * buffer.C: added informational message for checking line numbers.
11349 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11352 paragraph, do the 'double space' part, but not the 'empty
11355 * text.C (workWidth): small optimization
11356 (getLengthMarkerHeight): use minimal size for negative lengths.
11358 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11360 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11362 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11364 2001-12-11 André Pönitz <poenitz@gmx.net>
11367 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11369 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11371 * text2.C: keep selection on a setFont()
11373 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11375 * lyx_cb.C: another bv->text misuse, from insert label
11377 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11380 * kbsequence.C: re-instate nmodifier mask
11382 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11384 * lyx_main.h: make lyxGUI private.
11386 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11388 * lyxfind.C: place the cursor correctly on failed search
11390 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11392 * text.C (getLengthMarkerHeight): for small heights, the arrows
11393 are not always on top/bottom of the text
11394 (drawLengthMarker): smaller arrows; take the left margin in
11395 account; draw also vfills.
11397 (paintLastRow): remove special code for vfill and standard spaces,
11398 since everything is handled in drawLengthMarker now.
11400 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * buffer.C (insertErtContents): try to handle font and language
11403 interaction a bit better.g
11405 * ColorHandler.C (updateColor): change the hash to cover the whole
11406 LColor enum, ws cleanup
11407 (getGCLinepars): ditto
11408 (getGCLinepars): only lookup in the linecache once.
11410 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11412 * iterators.C (operator++): Make the iterator more robust
11414 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11418 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11421 * text.C: better added space drawing
11423 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11426 * BufferView2.C: fix layout combo update on inset unlock
11428 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11430 * Makefile.am: don't compile unused files
11432 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11436 * LyXAction.C: remove old LFUN_LAYOUTNO
11438 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11440 * paragraph_pimpl.h:
11441 * paragraph_pimpl.C: isTextAt() doesn't need font param
11443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11446 * lyxlex.C: little cleanup
11448 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11450 * BufferView_pimpl.C: fix insertAscii for insets
11452 2001-12-05 Juergen Vigna <jug@sad.it>
11454 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11455 set the right font on the "multi" paragraph paste!
11457 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * lyxlength.C: remove out-commented code.
11465 * BufferView_pimpl:
11479 * vc-backend.C: change "while(" to "while ("
11481 * lyxlength.[Ch]: add zero function to check if length is zero or
11483 * lyxgluelength.C: use it
11485 2001-12-05 Allan Rae <rae@lyx.org>
11487 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11488 Works for 2.95.3, from what I understand of Garst's reports this should
11489 work for other g++ versions. We're screwed if the abs(int) definition
11490 changed between bugfix releases of gcc.
11492 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11494 * text.C: fix chapter label offset !
11496 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11499 * text.C: fix hfill at end of line, clean up
11501 2001-12-04 Juergen Vigna <jug@sad.it>
11503 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11504 that we force an update of the inset and it's owners if neccessary.
11506 2001-12-03 Juergen Vigna <jug@sad.it>
11508 * text.C (rowLast): simplified code
11510 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11512 * lyxfunc.C: fix show options on timeout
11514 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * screen.C (topCursorVisible): scroll half a page when the cursor
11517 reached top of bottom of screen
11519 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11521 * minibuffer.C: deactivate on loss of focus
11523 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * vspace.[Ch] (operator!=): add operator.
11527 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11529 * BufferView_pimpl.C: refuse to open an inset when
11530 there's a selection.
11532 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11534 * BufferView_pimpl.C: allow to click on RHS of full row insets
11536 2001-11-30 Juergen Vigna <jug@sad.it>
11538 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11539 insets for undo reasons.
11541 2001-11-28 André Pönitz <poenitz@gmx.net>
11543 * vspace.[Ch]: cosmetical changes
11545 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11555 * kbsequence.C: part re-write of old kb code
11558 * WorkArea.C: remove Lgb_bug_find_hack
11560 2001-11-30 José Matos <jamatos@fep.up.pt>
11562 * buffer.C (makeDocBookFile): add a comment to point a hack.
11563 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11564 Fixed a double write of labels.
11566 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11569 * LaTeX.h Fixed bug in LaTeX class where it would not
11570 re-run latex if no depfiles were changed, but the .dvi was removed.
11572 2001-11-28 André Pönitz <poenitz@gmx.net>
11574 * all the files from the change on 2001/11/26:
11575 use lyx::layout_type instead of LyXTextClass::size_type
11576 use lyx::textclass_type instead of LyXTextClassList::size_type
11578 2001-11-29 Juergen Vigna <jug@sad.it>
11580 * text.C: added support for paragraph::isFreeSpacing()
11582 * buffer.C: same as above
11584 * paragraph.h: inserted isFreeSpacing() function to enable
11585 FreeSpacing inside InsetERT.
11587 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11588 of the paragraph's in the cut/copy buffer to 0!
11590 * text2.C (removeRow): remove the assert as it can!
11592 * lyxtext.h: added helper function firstRow returning firstrow and
11593 made firstrow private again.
11595 * BufferView2.C (lockInset): don't relock if we're already locked!
11597 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11598 the only paragraph.
11599 (removeRow): added Assert::(firstrow)
11601 * debug.C: forgot to add INSETTEXT here.
11603 2001-11-28 Juergen Vigna <jug@sad.it>
11605 * sp_spell.C (initialize): changed error text to more general
11606 spellchecker command use (not only ispell!)
11608 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11610 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11612 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11614 * vspace.C: initialise lyxgluelength on failure
11616 2001-11-28 Allan Rae <rae@lyx.org>
11618 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11619 declaration & definition that looks like a function declaration.
11621 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11623 * BufferView2.C (copy):
11624 (copyEnvironment): do not clear the selection when doing a copy.
11626 * text.C (paintFirstRow): compilation fix
11628 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11630 * tabular.C (Latex): correct line count when writing latex.
11632 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11634 * paragraph_pimpl.h:
11635 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11638 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11642 * LColor.C: change vfillline->added_space
11644 * text.C: add markers and text for added space
11646 * vspace.C: fix comment
11648 2001-11-28 André Pönitz <poenitz@gmx.net>
11650 * paragraph.C: whitespace changes
11651 * all the other files from the change on 2001/11/26:
11652 change *::pos_type into lyx::pos_type
11654 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11656 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11657 language of the document when inserting error insets.
11659 2001-11-26 André Pönitz <poenitz@gmx.net>
11661 * BufferView_pimpl.[Ch]:
11669 * paragraph_pimpl.[Ch]:
11672 * text2.C: reduce header dependencies, introduce type for positions
11674 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11676 * <various>: change to use Alert.h
11678 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11680 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11681 when encountering an unknown token.
11682 (readLyXformat2): Show an error message if there were unknown tokens.
11684 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11687 * BufferView_pimpl.C:
11691 * text2.C: use par->isInset()
11693 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11695 * paragraph_pimpl.h:
11696 * paragraph_pimpl.C: cleanup
11698 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11700 * text2.C (removeRow):
11701 * text.C (setHeightOfRow): remove useless (and costly) call to
11704 2001-11-20 Allan Rae <rae@lyx.org>
11706 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11707 Now need Inset*::checkInsertChar() to return true for appropriate
11708 cases so that the characters in the minibuffer will actually be
11711 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * text.C: change the order of the includes.
11714 (workWidth): initialize it at once.
11715 (workWidth): make maxw unsigned
11716 (setHeightOfRow): remove unused variable (inset)
11717 (selectSelectedWord): remove unused variable (inset)
11718 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11720 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11722 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11723 server is not running.
11725 (closeConnection): add debug info when server is disabled.
11727 * ColorHandler.C (getGCForeground): send debug message to GUI
11730 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11732 * kbmap.C (bind): modify because return conventions of
11733 kb_sequence::parse have changed.
11735 * kbsequence.C (parse): only ignore spaces and not any stupid
11736 control character. This avoids tests like s[i] <= ' ', which are
11737 guaranteed to fail with 8bit characters and signed chars.
11738 Change return code to string::npos when there have been no error
11739 (0 was a bad idea when error is at first character)
11741 2001-11-14 José Matos <jamatos@fep.up.pt>
11744 * buffer.C (simpleDocBookOnePar): removed unused argument.
11746 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11748 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11749 insets which are part of a word. Paragraph::isLetter takes care of
11750 that now. Use Paragraph::isInset to identify insets.
11751 (selectSelectedWord): do not test for hyphenation break.
11753 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11754 that protected spaces are considered as spaces.
11756 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11759 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11762 * lyxserver.C: fix it. and small cleanup.
11764 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView_pimpl.C: use inline helpers
11769 * LaTeXFeatures.C: fix typos
11772 * Spacing.C: move spacing_string into class
11774 * ToolbarDefaults.C: move stuff into namespace anon
11776 * layout.h: update enum
11778 * lyxfunc.C: use better debug
11780 * minibuffer.h: fix typo
11784 * WorkArea.C: add and use Debug::WORKAREA
11788 * text2.C: code re-organisation, inline helpers
11790 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11792 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11793 std::vector.empty().
11795 2001-11-09 Allan Rae <rae@lyx.org>
11797 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11798 '\n's after tables. Tabular and ERT inset work now makes this no
11801 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11804 * minibuffer.C: fix crash, improve drop-down completion
11806 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11809 * lyxserver.C: invalidate fd's when doing endPipe()
11811 2001-11-08 José Matos <jamatos@fep.up.pt>
11813 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11814 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11817 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11819 2001-11-07 José Matos <jamatos@fep.up.pt>
11822 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11825 * buffer.C (sgmlOpenTag):
11826 * buffer.C (sgmlCloseTag): removed debug info.
11828 * buffer.h (sgmlOpenTag):
11829 * buffer.h (sgmlCloseTag): made public.
11831 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11833 * buffer.C (saveParamsAsDefaults):
11834 * lyx_cb.C (MenuLayoutSave): remove
11836 * LyXAction.C (init):
11838 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11840 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * buffer.C (setPaperStuff): removed from here...
11844 * bufferparams.C (setPaperStuff): ... and moved there.
11846 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11850 * XFormsView.C: add support for drop-down completion
11852 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11854 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11857 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11859 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11862 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11864 * lyx_main.C: change ref to known bugs
11866 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11868 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11869 to work around older babel problems.
11871 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11873 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11875 2001-10-24 Juergen Vigna <jug@sad.it>
11877 * tabular-old.C (ReadOld): below variable changes reflected.
11879 * tabular.[Ch]: added ltType struct for longtable header/footer
11880 defines and changed all instances where they are used. Added
11881 future support for double top/bottom rows.
11883 2001-10-24 José Matos <jamatos@fep.up.pt>
11885 * buffer.h (docbookHandleCaption):
11886 * buffer.C (docbookHandleCaption): removed unused function.
11887 (makeDocBookFile): moved docbook supported version to v4.1.
11889 2001-10-24 José Matos <jamatos@fep.up.pt>
11892 * tabular.C (docbookRow): new function to export docbook code of a row.
11893 (DocBook): now honors the longtable flags.
11895 2001-10-23 José Matos <jamatos@fep.up.pt>
11898 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11899 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11901 * buffer.C (makeLinuxDocFile):
11902 (makeDocBookFile): reworked the preamble, more clean, and with
11903 support for lyx defined entities. Changed the document declaration
11904 to be more XML friendly.
11906 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11907 if we need to output XML that should be done with a filter.
11909 2001-10-22 Juergen Vigna <jug@sad.it>
11911 * sp_pspell.h (class PSpell): add alive function needed in the
11912 controller to see if the spellchecker could be started.
11914 2001-10-22 Juergen Vigna <jug@sad.it>
11916 * buffer.C (insertStringAsLines): modify the font for inserting
11917 chars in certain conditions by calling checkInsertChar(font).
11919 2001-10-19 Juergen Vigna <jug@sad.it>
11921 * text.C (workWidth): use getRow instead of wrong algorithm.
11922 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11924 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11929 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11931 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11933 * text.C (workWidth): do not search for the exact row when
11934 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11935 optimization for big documents.
11937 2001-10-18 Juergen Vigna <jug@sad.it>
11939 * text.C (workWidth): new function with added Inset * parameter.
11941 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11945 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11946 change return type of getColumnNearX.
11949 * text.C (changeRegionCase): use uppercase/lowercase instead of
11952 (rightMargin): simplify code by factoring out the uses of
11957 (appendParagraph): use Paragraph::size_type
11959 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11961 * vspace.C (asLatexString): add a missing break
11963 2001-10-15 Herbert Voss <voss@perce.de>
11965 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11967 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11969 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11972 2001-10-10 André Pönitz <poenitz@gmx.net>
11974 * lyxfunc.C: removed greek_kb_flag.
11976 2001-10-10 Herbert Voss <voss@perce.de>
11978 * lyx_main.C: delete global string help_lyxdir.
11980 2001-10-09 Herbert Voss <voss@perce.de>
11982 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11984 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11986 * lyx_main.C: added global string help_lyxdir.
11988 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11990 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11992 * lyxrc.C (set_font_norm_type): support iso8859-4
11994 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11996 * LaTeX.C (deplog): add another regex for MikTeX
11998 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12000 * lyxrc.C (set_font_norm_type): support iso8859-3
12002 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12004 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12006 * LaTeXFeatures.C: remove special case of french and index
12008 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12009 before \begin{document}). This solves several incompatibilities.
12011 2001-10-03 Garst Reese <reese@isn.net>
12013 * lyx_cb.C: change CheckTex error msg.
12015 2001-10-03 José Matos <jamatos@fep.up.pt>
12017 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12019 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12021 * .cvsignore: update
12023 * lyx_main.C (commandLineVersionInfo): use new style version info.
12025 * buffer.C (writeFile):
12027 (makeLinuxDocFile):
12028 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12030 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12032 * version.h: update to use stuff in version.C
12034 * version.C.in: new file. Contains version information determined
12035 at compile time. This is a merging of version.h and
12038 2001-10-03 Juergen Vigna <jug@sad.it>
12040 * BufferView_pimpl.C (update): don't change "dirty" status in
12043 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12045 * WorkArea.C (c-tor): re-position version string slightly.
12047 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12049 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12050 revert to previous code.
12052 WorkArea.[Ch]: (show, destroySplash): methods removed.
12054 WorkArea.C: rework code so that it's an amalgam of the codes before and
12055 after the splash screen was moved to WorkArea.
12057 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12060 * vspace.C (inPixels):
12063 * buffer.C (insertStringAsLines):
12064 (asciiParagraph): fix types to be large enough
12066 * lyxlex_pimpl.h: change member status from short to int
12068 * layout.h: fix type of endlabeltype
12071 * kbsequence.C (parse): change return type to string::size_type
12073 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12076 * Bullet.C (bulletSize):
12077 (bulletEntry): do not use short ints as parameters
12079 * BufferView2.C (insertLyXFile): change a char to an int.
12081 * WorkArea.C (WorkArea): remove unneeded floats in computation
12083 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12085 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12087 * paragraph.C (asString): Do not ignore newline/hfill chars when
12088 copying to the clipboard.
12090 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12092 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12093 after a multi-line inset.
12095 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12097 * paragraph.C (validate): Set NeedLyXFootnoteCode
12099 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12101 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12102 and decrease-error to decrease.
12104 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12106 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12107 it more readable (should be equivalent)
12109 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12111 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12113 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12115 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12116 of a cursor (row, etc.) after a character has been deleted
12117 (deleteEmptyParagraphMechanism): call the method above on _all_
12118 cursors held by the LyXText when a double space has been
12121 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12123 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12125 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12127 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12128 background. Use greyOut() and the new show() methods to toggle between
12129 the foreground and background. Add code to remove the splash after
12130 its initial showing.
12132 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12133 (create_forms): no longer call Dialogs::showSplash.
12135 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12137 * .cvsignore: add version_info.h
12139 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12141 * version_info.h.in: new file
12143 * Makefile.am: add version_info.h.in
12145 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12146 version_info.h instead of VERSION_INFO
12148 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12150 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12151 The ERT inset now returns string().
12153 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12155 * lyxtext.h, text.C (selectNextWord): renamed as
12156 selectNextWordToSpellcheck.
12158 * text.C (selectNextWordToSpellcheck): Modified to not select
12159 words inside an ERT inset.
12161 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12163 * lyx_cb.C (MenuLayoutSave): change a bit the question
12165 * sp_base.h: include <sys/types.h>
12167 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12169 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12171 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12173 * several files: fix typos in user-visible strings
12175 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * text2.C (pasteSelection): do not set the selection, since it
12178 will be cleared later. Actually, the intent was to fix the way the
12179 selection was set, but I figured rmoving the code was just as good.
12181 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12183 * FontLoader.C (available): Check if font is available without
12186 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12188 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12190 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12192 * lyxrc.[Ch]: added display_graphics variable and associated code.
12194 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12196 * bufferparams.C (hasClassDefaults): new method. Returns true if
12197 the buffer parameters correspond to known class defaults
12199 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12201 * XFormsView.C (show): set minimum size to the main window.
12203 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12205 * text2.C (copySelection):
12207 * lyxfind.C (LyXReplace):
12208 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12209 LyXText::selectionAsString.
12211 * paragraph.C (asString): add "label" argument to the second form
12213 * text2.C (selectionAsString): add "label" argument and pass it to
12214 Paragraph::asString.
12216 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * lyx_main.C (commandLineHelp): remove version information
12220 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12222 * lyx_main.C: add -version commandline option
12224 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * paragraph.h: make the optional constructor arg required instead.
12227 some modifications to other files because of this.
12229 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12231 * lyxserver.C (C_LyXComm_callback): make it static
12233 * lyx_main.C (error_handler): make it static
12235 * lyx_gui.C (LyX_XErrHandler): make it static
12237 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12239 * WorkArea.C: make the extern "C" methods static.
12241 * Makefile.am (lyx_LDADD): simplify
12243 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12245 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12246 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12248 * LyXAction.C (init):
12249 * lyxfunc.C (dispatch): associated code removal.
12251 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * lyxfont.h (isSymbolFont): shut off warning
12255 * text.C (setHeightOfRow):
12256 (getVisibleRow): fix crash with empty paragraphs which have a
12259 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12261 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12264 2001-09-04 José Matos <jamatos@fep.up.pt>
12267 * tabular.C (docbook): rename docBook method to docbook.
12269 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12271 * Makefile.am: add dependencies to main.o.
12273 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12275 * FontLoader.C (available): Return false if !lyxrc.use_gui
12277 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12279 * FontInfo.C (query):
12280 * converter.C (view):
12281 * importer.C (Import):
12282 * exporter.C (Export): Can not -> cannot.
12284 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.C: allow to create index inset even if
12289 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12291 * buffer.C (getLists): replace boost::tie code with an explicit pair
12292 as boost::tie can break some compilers.
12294 * iterators.h: Added a std:: declaration to the return type of
12297 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12299 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12302 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12304 * iterators.[Ch]: New files. Provide paragraph iterators.
12306 * buffer.C (changeLanguage): Use paragraph iterators.
12307 (isMultiLingual): ditto
12309 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12311 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12313 * FontLoader.C: Support for cmr font.
12315 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12317 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12318 (available): New method.
12320 * FontInfo.C (getFontname): Use scalable fonts even when
12321 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12324 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12326 * converter.C (Formats::view): reverted! Incorrect fix.
12328 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12330 * converter.C (Formats::view): only output the -paper option
12331 if the dvi viewer is xdvi, thereby fixing bug #233429.
12333 2001-08-23 Herbert Voss <voss@perce>
12335 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12337 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12339 * Spacing.h (Spacing): Set space to Default on in the default
12342 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * vc-backend.h (RCS::versionString): add RCS to version
12345 (CVS::versionString): add CVS to version
12347 * vc-backend.C (scanMaster): do not add CVS to version.
12348 (scanMaster): do not add RCS to version
12350 * lyxvc.C (versionString): new method
12352 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12354 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * Spacing.C (set): initialize fval
12358 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12360 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12363 2001-08-16 Juergen Vigna <jug@sad.it>
12365 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12367 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12369 * BufferView_pimpl.C:
12372 * text2.C: setParagraph takes linespacing now
12374 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12376 * LyxAction.C: add internal LFUN_CITATION_INSERT
12378 * LyXView.C: actually apply fix
12380 * bufferlist.C: fix open non-existent file
12382 * lyxfind.C: fix indentation
12384 * lyxfunc.C: remove unneeded assert, fix typo
12386 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12388 * MenuBackend.C: use "Floatname List"
12390 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12392 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12393 when converting LaTeX layout to insetERT.
12394 Generate a non-collapsed float when reading old float
12396 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12398 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12401 2001-08-13 Juergen Vigna <jug@sad.it>
12403 * text.C (fill): return 0 instead of 20 as this seems to be the more
12406 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12408 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12411 2001-08-13 Juergen Vigna <jug@sad.it>
12413 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12415 (SearchBackward): comment out the unlocking of the inset_owner this
12416 should not be needed!
12418 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12420 * Many files: Remove inherit_language, and add latex_language
12422 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12423 collapsible insets.
12425 2001-08-10 Juergen Vigna <jug@sad.it>
12427 * text.C (prepareToPrint): fixed hfill-width in draw!
12429 * BufferView2.C (selectLastWord): save the selection cursor as this
12430 now is cleared in the function LyXText::clearSelection!
12432 2001-08-08 Juergen Vigna <jug@sad.it>
12434 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12435 BACKSPACE type functions.
12437 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12438 is only cutted from the document but not put in the cut-buffer, where
12439 still the old stuff should be.
12441 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12443 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12445 * tabular.C (SetWidthOfCell): fixed special case where the width
12447 (LeftLine): handle '|' in align_special.
12449 (LeftAlreadyDrawed): ditto
12450 (SetWidthOfCell): ditto
12452 2001-08-07 Juergen Vigna <jug@sad.it>
12454 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12456 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12459 * lyxlex.[hC]: ditto
12461 2001-08-06 Juergen Vigna <jug@sad.it>
12463 * text.C (getVisibleRow): fix up row clearing a bit.
12465 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * minibuffer.C: make sure the X server sees the changes in the input.
12469 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * paragraph.C (getFont): split into...
12472 (getLabelFont): this
12473 (getLayoutFont): and this
12474 * paragraph_pimpl.C (realizeFont): calling this
12476 * text2.C (getFont): split into...
12477 (getLayoutFont): this
12478 (getLabelFont): and this
12479 (realizeFont): all three calling this
12481 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12484 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12486 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12488 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12490 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12491 layouts from the Quote inset insertion.
12493 2001-08-03 Juergen Vigna <jug@sad.it>
12495 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12497 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12498 only if status not is already CHANGED_IN_DRAW (second level).
12500 * text.C (draw): don't set the need_break_row when inside an
12503 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * buffer.C (parseSingleLyXformat2Token): handle more latex
12508 * bufferview_funcs.[hC]: change function names to
12509 begin with small char, adjust other files.
12511 2001-08-02 André Pönitz <poenitz@gmx.net>
12514 BufferView_pimpl.C: remove broken special code for math-greek
12516 2001-08-02 Juergen Vigna <jug@sad.it>
12518 * BufferView_pimpl.C (update): redone this function so that we
12519 update the text again if there was a CHANGE_IN_DRAW.
12521 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12522 (drawFromTo): added a new internal bool which is used by draw() and
12524 (general): some cursor drawing problems fixed.
12526 2001-08-01 Juergen Vigna <jug@sad.it>
12528 * lyxfind.C (LyXFind): fixed
12529 (SearchForward): ditto
12530 (SearchBackward): ditto
12532 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12533 spurius drawing of the cursor in the main area.
12535 * text2.C (status): small fix which could lead to a segfault!
12536 (clearSelection): remove unneeded BufferView param.
12538 2001-08-01 André Pönitz <poenitz@gmx.net>
12540 * lyxfunc.C: small change due to changed mathed interface
12542 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12546 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12548 * lyxfunc.c: fail gracefully if file doesn't exist
12553 * BufferView_pimpl.C: IsDirWriteable() proto changed
12555 * LyXView.C: fix updateWindowTitle() to store the last title
12557 2001-07-31 Juergen Vigna <jug@sad.it>
12559 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12560 the font (wrong since using of Paragraph::highestFontInRange).
12562 * paragraph.C (highestFontInRange): added a default_size parameter.
12564 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12565 (setHeightOfRow): reformat
12567 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * converter.[hC] + affected files: move to (inital-char)lowercase
12572 * ParagraphParameters.C (ParagraphParameters): remove commented code
12574 * PainterBase.[Ch]: remove commented code
12576 * LaTeXFeatures.h: add "bool floats" for float.sty
12578 * LaTeXFeatures.C (LaTeXFeatures): init floats
12579 (require): handle float
12580 (getPackages): do it with floats
12582 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12584 * BufferView_pimpl.C (Dispatch): improve handling of
12585 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12587 * commandtags.h: #include lyxfont.h here temporarily to avoid
12590 * bufferlist.h: include LString.h here.
12592 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12594 * text2.C (getStringToIndex): new method.
12596 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12598 * *: Reduced header file dependencies all over.
12600 2001-07-30 Baruch Even <baruch@lyx.org>
12602 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12604 2001-07-29 Baruch Even <baruch@lyx.org>
12606 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12608 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * ParameterStruct.h (endif): add a default constructor to make
12611 sure that all variables is initialized.
12613 * ParagraphParameters.C (ParagraphParameters): adjust
12615 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12617 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12618 index; also, check that there is something to index, and that it
12619 does not span over several paragraphs.
12620 (doubleClick): use WHOLE_WORD_STRICT for double click.
12622 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12624 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12627 2001-07-26 Baruch Even <baruch@lyx.org>
12629 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12630 an InsetFig figure, backwards compatible reading of old figure code.
12632 2001-07-27 Juergen Vigna <jug@sad.it>
12634 * text2.C: font.realize function adaption.
12636 * text.C (draw): add a warnings lyxerr text if needed.
12638 * layout.C: font.realize function adaption.
12640 * language.C: add inherit_language and implement it's handlings
12642 * bufferview_funcs.C (StyleReset): remove language parameter from
12643 font creation (should be language_inherit now).
12645 * bufferparams.C (writeFile): handle ignore_language.
12647 * paragraph.C (getFontSettings): the language has to be resolved
12648 otherwise we have problems in LyXFont!
12650 * lyxfont.C (lyxWriteChanges): added document_language parameter
12651 (update): removed unneeded language parameter
12653 * paragraph.C (validate): fixed wrong output of color-package when
12654 using interface colors for certain fonts in certain environments,
12655 which should not seen as that on the final output.
12657 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12659 * BufferView_pimpl.C:
12664 * LyXAction.C: add thesaurus support
12667 * lyxfind.C: add "once" parameter, for thesaurus, to not
12668 move to the next match
12670 2001-07-26 Juergen Vigna <jug@sad.it>
12672 * lyxfont.C (realize): honor ignore_language too!
12675 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12677 * text.C (draw): one place more for ignore_language to not draw
12680 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12682 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12684 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12687 the minipage conversion problem.
12689 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12694 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * BufferView.h: don't forward declare WorkArea
12698 * BufferView.C: don't include WorkArea.h
12700 2001-07-25 André Pönitz <poenitz@gmx.net>
12704 * lyxfunc.C: new LFUN 'math-space'
12706 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12708 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * text2.C (toggleInset): call open/close
12712 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12714 * lyxfunc.C (dispatch): add debug for the disabled case
12716 * font.C (buttonText): make similar to rectText
12718 * buffer.C (readInset): comment out parsing of insetlist and
12721 * PainterBase.C (rectText): small correction
12723 * BufferView_pimpl.C: comment out insettheorem and insetlist
12724 * LyXAction.C: ditto
12725 * commandtags.h: ditto
12727 2001-07-24 Juergen Vigna <jug@sad.it>
12729 * text.C (draw): honor the ignore_language.
12731 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12733 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12735 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12738 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12740 * lyxtext.h: remove unused (and unimplemented) methods
12742 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12744 * text.C (getVisibleRow): honor background color
12747 * Painter.h: remove default color argument for fillRectangle
12749 * text.C (backgroundColor): new method
12751 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12753 * text.C (getVisibleRow): adjust
12755 * font.[Ch] (rectText): new method, metrics
12756 (buttonText): new method, metrics
12758 * PainterBase.[hC]: make rectText and buttonText always draw and take
12761 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12763 * ToolbarDefaults.C (read):
12764 * MenuBackend.C (read): allow escaping in all strings
12766 * BufferView_pimpl.C (insertAndEditInset): new method.
12767 (Dispatch): use insertAndEditInset whenever appropriate.
12769 * BufferView_pimpl.C (insertNote): removed
12771 * BufferView_pimpl.C (smartQuote): new method, moved from
12772 BufferView; if an insetquote cannot be inserted, insert a '"'
12775 * BufferView2.C: remove insertCorrectQuote();
12777 * lyxfunc.C (getStatus): Add support for all remaingin
12778 inset-insert lfuns.
12780 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12782 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12783 command (necessary to pass " as parameter of self-insert.
12785 * text.C (selectWordWhenUnderCursor):
12786 (selectWord): add word_location parameter
12787 (selectWordWhenUnderCursor): same + remove special code for word
12789 (selectNextWord): use kind() to guess type of insetspecialchar,
12792 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12793 (insertErtContents): create ert insets as collapsed.
12794 (readInset): better compatibility code for Info inset.
12796 2001-07-20 Juergen Vigna <jug@sad.it>
12798 * lyxfunc.C (dispatch): use always LyXFind now!
12800 * text2.C (init): add a reinit flag so that the LyXText can be
12801 reinited instead of deleted and reallocated (used in InsetText).
12803 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12809 2001-07-18 Juergen Vigna <jug@sad.it>
12811 * text.C (selectNextWord): handle insets inside inset by calling
12812 always the bv->text functions so that we can go up the_locking_inset!
12814 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12815 in strange locations when inside an inset!
12817 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12818 handling to include insets.
12820 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12822 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12824 * LyXAction.C (init):
12826 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12827 LIGATURE_BREAK, since the name is so stupid.
12829 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12831 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12834 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12836 * sp_form.[Ch]: remove.
12838 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12840 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12843 * src/buffer.C (readInset): ditto.
12845 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12847 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12848 menuSeparator(), endOfSentenceDot(), ldots() and
12849 hyphenationPoint(), which are therefore removed.
12850 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12852 * LyXAction.C (init):
12853 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12855 * paragraph.C (getWord): removed.
12857 * BufferView_pimpl.C (Dispatch): use last word or selection for
12858 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12860 * lyx_main.C (queryUserLyXDir): do not ask before creating
12861 user_dir, except if it has been named explicitely.
12863 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12865 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12866 a document of zero size.
12868 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12870 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12871 approriately in the c-tor and in require().
12872 (getPackages): output the appropriate LaTeX for natbib support.
12874 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12875 variables "use_natbib" and "use_numerical_citations" when reading the
12877 (readInset): read the various natbib cite commands.
12878 (validate): white-space change.
12880 * bufferparams.[Ch]: new variables "bool use_natbib" and
12881 "bool use_numerical_citations".
12882 (writeFile): output them in the LyX file.
12884 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12886 * lyxfunc.C (getStatus): add support for all the inset insertion
12889 * text2.C (insertInset):
12890 * paragraph.C (insetAllowed):
12891 * BufferView_pimpl.C (insertInset): update to take in account the
12892 renaming of insertInsetAllowed
12894 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12896 * text2.C (getInset): new method. returns inset at cursor position.
12898 * BufferView_pimpl.C (Dispatch): changes because of this.
12900 * LyXAction.C (init): rename open-stuff to inset-toggle.
12902 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12904 * text2.C (toggleInset): renamed from openStuff; use
12907 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12909 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12911 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12913 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12915 * buffer.C (readLyXformat2): Add filename to the error dialog
12917 2001-07-18 Juergen Vigna <jug@sad.it>
12919 * tabular.C (GetCellNumber): put an assert here instead of the check!
12921 2001-07-17 Juergen Vigna <jug@sad.it>
12923 * BufferView_pimpl.C (toggleSelection): adapted too.
12925 * text.C (selectNextWord): adapted for use with insets.
12926 (selectSelectedWord): ditto
12928 2001-07-17 Juergen Vigna <jug@sad.it>
12930 * sp_spell.C (PSpell): fix initialitation order.
12932 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * paragraph.C: spacing
12936 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12938 * sp_spell.C: repair language selection for pspell
12940 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * lyxfunc.h: change more methods to begin with lower char.
12944 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12946 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12947 for unknown layouts.
12949 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12951 * buffer.C (readLyXformat2): Generate an error dialog if there are
12954 2001-07-16 Juergen Vigna <jug@sad.it>
12956 * sp_spell.C: always compile ISpell part.
12958 * lyxrc.C: added use_pspell entry and it's handling.
12960 2001-07-13 Juergen Vigna <jug@sad.it>
12962 * sp_spell.C: removed double includes.
12964 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12966 Consistent use of Lsstream.h:
12967 * Lsstream.h: added using std::stringstream for consistencies sake.
12969 * buffer.C: removed using std::stringstream
12971 * lyxfont.C (stateText):
12972 * paragraph.C (asString):
12973 * text.C (selectNextWord, selectSelectedWord):
12974 * text2.C (setCounter):
12975 * vspace.C (asString, asLatexString):
12976 std::ostringstream -> ostringstream.
12978 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12980 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12981 * commandtags.h: add LFUN_HELP_ABOUTLYX
12982 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12984 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12986 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12988 * lyx_gui_misc.C: remove spellchecker
12989 * lyxfunc.C: showSpellchecker
12991 * sp_ispell.h: added
12992 * sp_pspell.h: added
12993 * sp_spell.C: added
12994 * sp_form.[Ch]: removed
12995 * spellchecker.[Ch]: removed
12997 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12999 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13001 (simpleTeXSpecialChars): Simply print the input character without
13002 any special translation if pass_thru is set.
13004 * layout.h: Added bool pass_thru to layout class for being able to
13005 implement pass through of a paragraph for Literate Programming.
13007 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13008 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13009 * layout.C (Read): add "passthru" to list of layout tags and add
13010 code to set the pass_thru boolean when it is read.
13012 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * trans_decl.h: remove allowed from KmodInfo
13016 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13017 remove allowed code
13020 * paragraph_pimpl.C (erase): use boost::prior
13022 * Painter.C (text): use data() instead of c_str() when length is
13024 * WorkArea.C (putClipboard): ditto
13025 * font.h (width): ditto
13027 * BufferView2.C: use it-> instead of (*it). for iterators
13029 * paragraph_pimpl.C: ditto
13030 * paragraph.C: ditto
13031 * minibuffer.C: ditto
13032 * language.C: ditto
13034 * encoding.C: ditto
13035 * counters.C: ditto
13036 * converter.C: ditto
13038 * Variables.C: ditto
13039 * TextCache.C: ditto
13040 * MenuBackend.C: ditto
13041 * LyXAction.C: ditto
13043 * FloatList.C: ditto
13044 * DepTable.C: ditto
13045 * ColorHandler.C (LyXColorHandler): ditto
13047 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13049 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13051 * text2.C (openStuff): reintroduce this method (which had been
13052 nuked in NEW_INSETS frenzy).
13054 * lyxfunc.C (Dispatch): when an action has not been handled, use
13055 its name in the error message, not its number.
13057 * paragraph.C (inInset): change method name to begin with lowercase.
13060 * text2.C: updates because of this.
13062 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * ToolbarDefaults.C (add): add spaces in error message
13066 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13069 (readLyXformat2): rename return_par to first_par, use lyxlex's
13070 pushToken and remove the manual push handling.
13071 (parseSingleLyXformat2Token): add another ert comp. variable:
13072 in_tabular, rename return_par to first_par. handle newlines better
13074 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13078 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13080 * text2.C (getParFromID): removed
13082 * buffer.C (getParFromID): new method moved form lyxtext.
13083 * BufferView2.C (insertErrors): adjust
13084 (setCursorFromRow): adjust
13085 * BufferView_pimpl.C (restorePosition): adjust
13086 * lyxfunc.C (Dispatch): adjust
13087 * undo_funcs.C (textUndo): adjust
13089 (textHandleUndo): adjust
13090 (textHandleUndo): adjust
13092 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * buffer.C: up' the LYX_FORMAT
13096 * lyxfont.h: turn NO_LATEX on as default
13098 * buffer.C (insertErtContents): new methods of tex style compability.
13099 (parseSingleLyXformat2Token): use it several places.
13100 * tabular.C (OldFormatRead): and here
13102 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * text2.C: remove some commented code.
13107 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13108 * trans.C: changes because of the above.
13110 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13112 * text2.C (setCounter): Fix counters bug with bibliography layout.
13114 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13117 own member functions
13118 (simpleTeXSpecialChars): ditto
13120 2001-07-06 Juergen Vigna <jug@sad.it>
13122 * a lot of files: changed the access to LyXText::status and the
13123 call of undo-functions.
13125 * undo.[Ch]: added a inset_id to the undo informations.
13127 * undo_funcs.[Ch]: added and moved here all undo functions.
13129 * lyxtext.h: give the status enum a weight, made status_ a private
13130 variable and made accessor functions for it, removed the whole bunch
13131 of undo-functions as they are now in their own file, make some
13132 functions publically available. Added function ownerParagraph with
13135 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13136 made InInset() a const function, added getParFromID() function.
13138 * buffer.[Ch]: added const version for inset_iterator functions,
13139 added getInsetFromID() function.
13141 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13142 changed undo functions for new version.
13144 2001-07-05 Juergen Vigna <jug@sad.it>
13146 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13147 unknow mechanism does not call the proper constructor but only this
13148 one also if I request the other!?
13150 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13154 * text2.C (LyXText): use initialization lists.
13156 * lyxtext.h (Selection): initialize set_ and mark_
13157 (init): remove method
13159 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13161 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13163 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * screen.[Ch]: change method names to begin with lowercase
13167 * BufferView_pimpl.C (updateScrollbar): simplify further and
13168 hopefully make it a bit faster.
13170 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13173 calling directly xforms functions.
13175 * Painter.C (Painter):
13176 * lyx_cb.C (MenuWrite):
13177 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13180 * lyx_gui.C: remove bogus guiruntime extern declaration.
13182 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13186 (redoDrawingOfParagraph): ditto
13187 (redoParagraphs): ditto
13188 (cutSelection): don't create a object for CutAndPaste use the
13189 static method directly
13190 (pasteSelection): ditto
13192 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13195 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * modifications to some other files because of this.
13199 * Makefile.am (lyx_SOURCES): add XFormsView
13201 * XFormsView.[Ch]: new files
13203 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13204 the main window. Move the gui dependent stuff to XFormsView
13206 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13208 * tabular.C (GetCellInset): update cur_cell also in the row/col
13209 version of this function.
13211 * lyxfunc.C: no need to include figure_form.h here.
13217 * lyxvc.C: no need to include forms.h here.
13219 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13223 * lyxfunc.C (Dispatch):
13225 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13226 constructor argument.
13228 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * paragraph.C (Paragraph): dont't clear, and just set layout.
13231 (makeSameLayout): use params's copy contructor.
13233 * ParagraphParameters.[Ch] (makeSame): delete method
13235 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13237 * Variables.[Ch]: fix indentation, rename set to isSet
13239 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * lyxfunc.C (Dispatch): fix typo
13243 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13245 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13248 * bufferlist.C: include assert.h for emergencyWrite().
13250 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13252 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13253 give up at last (bug #425202) !
13255 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13261 * spellchecker.C: strip spellchecker options and bring up
13262 preferences tab instead
13264 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13266 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13267 the istringstream constructor
13269 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13271 * paragraph.C (getLayout): fix return value
13273 * paragraph.h: do not declare getLayout as inline.
13275 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13277 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * lyxcursor.h (operator<): new func
13280 (operator>): new func
13281 (operator>=): new func
13282 (operator<=): new func
13284 * text.C (changeCase): use selection.start and selection.end
13285 (changeRegionCase): require from to be <= to. Require par to be a
13288 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13290 2001-06-27 Juergen Vigna <jug@sad.it>
13292 * text.C (cursorLeftOneWord): changed to return the cursor and added
13293 overlay with BufferView * parameter which calls this one.
13295 (selectWord): use new getWord function.
13296 (changeCase): renamed from changeWordCase as and extended to work
13297 also on selections.
13299 * lyxtext.h: added enum word_location
13301 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13302 changeCase as this operates now also on selections.
13304 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13306 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13308 * many files: send debug output to Debug::INFO instead of
13311 * converter.C (View):
13313 (Move): send debug output to Debug::FILES instead of console.
13315 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13317 * lyxfunc.C (getStatus): use func_status
13319 * func_status.h: new header, describing the results of
13320 LyXFunc::getStatus;
13322 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13325 2001-06-25 The LyX Project <jug@sad.it>
13327 * buffer.C (sgmlOpenTag):
13329 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13331 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * text2.C: remove some dead code
13335 * tabular.C (GetCellInset): store the last cell checked (gotten)
13337 * tabular.h: add the helper for the speedup
13339 * lyxtext.h: remove some dead code
13341 2001-06-26 The LyX Project <Asger>
13343 * paragraph.C: Change export to LaTeX of alignment to
13344 \begin{center} and family for better roundtrip work with reLyX.
13346 * Tune the math drawing a bit.
13348 2001-06-25 The LyX Project <Asger>
13350 * LColor.C (LColor): New color for math background. New color
13353 2001-06-25 The LyX Project <jug@sad.it>
13355 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13357 * lyxfunc.C (Open):
13358 * bufferlist.C (newFile): do not restrict to files ending with
13361 * BufferView_pimpl.C (MenuInsertLyXFile):
13363 2001-06-24 The LyX Project <jug@sad.it>
13365 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13368 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * lyxtext.h: rename most methods to begin with a small char.
13371 Lots of changes because of this.
13373 * paragraph.C (Paragraph): do not call fitToSize
13374 (erase): call Pimpl::erase
13375 (insertChar): call Pimpl::insertChar
13376 (insertInset): call Pipl::insertInset
13377 (breakParagraph): do not call fitToSize
13378 (breakParagraphConservative): do not call fitToSize
13379 (fitToSize): remove method
13381 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13383 2001-06-24 The LyX Project <Asger>
13385 * Fix Qt compilation^2
13387 2001-06-24 The LyX Project <jug@sad.it>
13389 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13390 depthHook(getDepth()-1).
13393 * ParagraphParameters.h:
13394 * ParameterStruct.h: change type of depth to unsigned int ==
13395 depth_type. Many adaptations to other files before of that.
13397 2001-06-24 The LyX Project <Asger>
13399 * Fix Qt compilation.
13401 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * paragraph.h: renamed several methods to begin with small letter.
13404 several changes to many parts of the code because of this.
13406 2001-06-23 The LyX Project <jug@sad.it>
13408 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13409 rewritten to discard all double spaces when KeepEmpty is off
13410 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13411 to only handle newlines but not fiddle with spaces and friends.
13413 * lyxfunc.C (MenuNew): when doing 'new from template', use
13414 template_path as default directory
13416 2001-06-23 The LyX Project <Asger>
13418 * Clean-up of header file includes all over
13419 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13421 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * paragraph.h: renamed from lyxparagraph.h
13425 2001-06-23 Asger <lyx@violet.home.sad.it>
13427 * Buffer.h: Removed Buffer::resize
13428 * BufferList.h: Removed BufferList::resize
13429 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13430 the document lazily when we change the width, or the font settings.
13432 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13434 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13436 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13438 * buffer.h: remove out of date comment
13440 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13443 * screen.C: fix "theoretical" GC leak
13445 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13447 * LaTeX.C (scanAuxFile):
13448 (deplog): remove trailing \r when reading stream (useful under
13451 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13453 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13454 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13455 and BufferView::theLockingInset(Inset*), so should use them and not
13456 access bv_->text->the_locking_inset directly.
13458 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13460 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13463 * tex-defs.h: remove old unused file
13465 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13467 * BufferView_pimpl.C: fix typo, remove minibuffer message
13468 when buffer has loaded
13470 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * lyxfunc.C (Dispatch): use stringstream
13473 (MenuNew): use stringstream
13474 (Open): use stringstream
13476 * importer.C (Import): use stringstream
13478 * bufferview_funcs.C (CurrentState): use stringstream
13480 * LaTeX.C (run): use stringstream
13482 * BufferView_pimpl.C (savePosition): use stringstream
13483 (restorePosition): use stringstream
13484 (MenuInsertLyXFile): use stringstream
13486 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13499 * vspace.C: removed // -*- C++ -*- as first line.
13502 * version.h: added // -*- C++ -*- as first line.
13504 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13506 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13508 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13511 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13516 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13518 * gettext.C: include LString.h even when --disable-nls is on.
13520 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13522 * converter.h (Get): changed argument type from int to
13523 FormatList::size_type to avoid unnecessary conversion.
13525 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13528 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13530 * gettext.h: include LString.h even when --disable-nls is on.
13532 2001-06-07 Juergen Vigna <jug@sad.it>
13534 * text.C (BreakAgain): subst spaces with tabs.
13536 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13537 (resizeInsetsLyXText): set force on resizeLyXText.
13539 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * gettext.h (gettext_init):
13542 (locale_init): use a real definition instead of a macro
13544 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13546 * Bufferview_pimpl.C:
13548 * LColor.C: further lcolor tidies
13550 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * BufferView_pimpl.C (updateScrollbar): simplify.
13554 * BufferView2.C: don't include insets/insetinfo.h, change
13555 prototype for insertInset and call the Pimpl version. let
13556 updateInset call Pimpl version.
13558 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13559 gotoInset to BufferView::Pimpl
13561 2001-06-01 Juergen Vigna <jug@sad.it>
13563 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13564 inside a LockingInset (is the update needed at all?).
13566 2001-05-31 Juergen Vigna <jug@sad.it>
13568 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13569 here not the old one otherwise how should we compare it afterwards
13572 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13577 * FontInfo.C: bring C functions into global namespace when
13580 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13582 * LString.h: make sure config.h has been loaded before LString.h.
13584 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13585 (one for each char read by EatLine!).
13587 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13590 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13593 to the same as the par we break from
13595 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13599 * MenuBackend.C (expand): also create menu entries for wide
13600 versions of the floats.
13602 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13604 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13606 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13607 frontends/Makefile.am
13613 * tabular.C (getTokenValue): add std::
13615 * tabular-old.C (getTokenValue): add std::
13616 (getTokenValue): ditto
13617 (getTokenValue): ditto
13619 * screen.C (ToggleSelection): adjust
13621 * lyxtext.h: put selection cursors inside a Selection struct.
13623 * lyxfunc.C (moveCursorUpdate): adjust
13625 * lyxfont.C (latexWriteStartChanges): add std::
13627 * lyxfind.C: adjust
13629 * font.h: delete with(char const *, LyXFont const &)
13631 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13633 * FontInfo.C (getFontname): add std::
13635 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13636 (workAreaButtonPress): adjust
13637 (tripleClick): adjust
13639 (moveCursorUpdate): adjust
13642 * BufferView2.C (gotoInset): adjust
13644 2001-05-30 Juergen Vigna <jug@sad.it>
13646 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13647 to check pspell I add this as default as I now have new pspell
13648 libraries and they seem to use this.
13650 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * text2.C (CutSelection): make the cursor valid before the call to
13655 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13658 relied on 0 terminated strings and other horrors. Bug found due to
13659 the new assert in lyxstring!
13661 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13664 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13669 * lyxfunc.C (processKeySym): change method of getting to the
13672 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13673 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13674 * BufferView_pimpl.[Ch]: here as private methods.
13676 2001-05-28 Juergen Vigna <jug@sad.it>
13678 * text.C (SetHeightOfRow): added the update() call again as it is
13679 needed to initialize inset dimensions!
13681 2001-05-16 Juergen Vigna <jug@sad.it>
13683 * text2.C (SetCharFont): Add new function with BufferView * and
13684 bool toggleall parameters for setting insets internal fonts.
13685 (SetFont): Freeze the undo as we may change fonts in Insets and
13686 all this change should be inside only one Undo!
13688 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13689 setting font's in insets as for them we have the SetFont function!
13691 2001-05-15 Juergen Vigna <jug@sad.it>
13693 * text2.C (ClearSelection): to be sure we REALLY don't have any
13696 * tabular.C (TeXCellPreamble): fixed the left border problem for
13699 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13701 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13704 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13707 LFUN_BREAKPARAGRAPH.
13709 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13710 help test to "internal only", similar for LFUN_INSERT_URL
13712 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13713 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13714 auto_region_delete and deadkeys.
13716 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13719 * LColor.C: remove some dead entries, tidy a little
13721 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13725 (Dispatch): implement LFUN_ESCAPE
13727 * commandtags.h: add LFUN_ESCAPE
13729 * LyXAction.C (init): add entry for LFUN_ESCAPE
13731 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13732 Remove commented code.
13733 (insertNote): moved here
13734 (open_new_inset): moved here
13736 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13739 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * kbmap.C (findbinding): clean it up and make it work correctly.
13743 * lyx_main.C (init): do not pass argc and argv as parameters
13745 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13747 * buffer.C: fix path for OS/2 & Win32
13751 * lyx_main.C: Added os:: class.
13753 * os2_defines.h: update
13755 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13758 better by trying again with reduced state.
13760 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * lyxrc.C (read): print error about invalid key sequence only when
13763 debugging (because not all latinX keysyms are known to some X
13766 * kbsequence.C (getiso): add a few std:: qualifiers
13767 (getiso): comment out extra return statement.
13769 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13771 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13773 (Dispatch): enhance the accent inset a bit. (not perfect)
13775 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13777 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13779 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13781 * bufferlist.C (emergencyWrite): fix assert() call
13783 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13785 * text.C (InsertChar): Added trivial patch to only send the "you
13786 can not do multiple spaces this way" message once during a
13789 2001-05-08 Baruch Even <baruch@lyx.org>
13791 * Makefile.am: Changed order of libraries to get LyX to link properly
13792 with the gnome frontend.
13794 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13796 * LaTeXFeatures.h: add a std:: qualifier
13798 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * paragraph.C (String): use stringstream
13802 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * paragraph.C (writeFile): remove footflag arg
13806 * buffer.C (makeLaTeXFile): use stringstream
13807 (latexParagraphs): remove footnot gurba
13809 * LaTeXFeatures.C (getPackages): use stringstream
13810 (getMacros): likewise
13811 (getTClassPreamble): likewise
13812 (getFloatDefinitions): new method
13814 * paragraph.C (writeFile): reindent
13817 * WorkArea.h: revert the xpos + etc changes.
13819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13821 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13823 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13824 (pasteSelection): likewise
13825 * text2.C (CreateUndo): likewise
13827 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * minibuffer.C (peek_event): temporarily reduce the functionality
13830 of the minibuffer (to allow args on lfuns)
13832 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13833 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13835 * buffer.C (readInset): add compability reading of old float
13836 lists, add reading of new style float list.
13837 (readInset): avoid reevaluation of inscmd.getCmdName()
13838 (getLists): reindent
13840 * MenuBackend.C (MenuItem): implement parsing of
13841 md_floatlistinsert and md_floatinsert.
13842 (expand::LastFiles): move initalizaton of iterators out of loop,
13843 avoid reevaluation.
13844 (expand::Documents): introduce typdedef vector<string> Strings,
13846 (expand::ExportFormats): introduce typedef vector<Format const *>
13847 Formats, and use it.
13848 (expand): implement FloatListInsert and FloatInsert.
13850 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13851 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13852 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13854 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13856 (Dispatch::LFUN_FLOAT_LIST): implement
13858 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13860 * LaTeX.C (run): Fix problem with --export code.
13862 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13864 * BufferView.[Ch] (workarea): removed.
13865 (getClipboard) new method; wrapper for workarea()->getClipboard()
13867 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13870 * WorkArea.h (width, height, xpos, ypos): These methods all
13871 returned the dimensions of the work_area sub-area of WorkArea,
13872 resulting in a position error if the WorkArea were resized. Now
13873 return the dimensions of the entire WorkArea.
13875 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13877 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * LaTeX.C (deplog): correct the syntax of regex reg1
13881 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13883 * undo.C: remove !NEW_INSETS cruft
13885 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * text2.C: remove !NEW_INSETS cruft
13889 * text.C: remove !NEW_INSETS cruft
13891 * tabular.C: remove !NEW_INSETS cruft
13893 * spellchecker.C: remove !NEW_INSETS cruft
13895 * lyxtext.h: remove !NEW_INSETS cruft
13897 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13899 * lyxfunc.C: remove !NEW_INSETS cruft
13901 * lyxfind.C: remove !NEW_INSETS cruft
13903 * lyx_cb.C: remove !NEW_INSETS cruft
13905 * figureForm.C: remove !NEW_INSETS cruft
13907 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13909 * buffer.[Ch]: remove !NEW_INSETS cruft
13911 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13913 * CutAndPaste.C: remove !NEW_INSETS cruft
13915 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13917 * BufferView2.C: remove !NEW_INSETS cruft
13919 * BufferView.h: remove !NEW_INSETS cruft
13921 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13923 * Lsstream.h: include LString.h before the sstream headers to
13924 fix problem with gcc 2.95.3 and lyxstring
13926 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * lyx_main.C: add using directives when needed for C functions
13929 declared in std:: namespace.
13931 2001-04-27 Juergen Vigna <jug@sad.it>
13933 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13934 (SetHeightOfRow): comment out the update call should not be needed!
13936 2001-04-13 Juergen Vigna <jug@sad.it>
13938 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13939 (LyXTabular): tried to minimize operator= operations (and realized
13940 hopfully Lars wish).
13942 2001-04-27 Juergen Vigna <jug@sad.it>
13944 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13946 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13948 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13950 * buffer.C (readInset): hack to make listof algorithm work
13952 * BufferView_pimpl.C: hack to make listof algorithm work
13954 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13956 * LyXAction.C: removed all !NEW_INSETS cruft
13957 (init): moved lfun_item in method
13959 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13961 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13963 * BufferView2.C (theLockingInset): white space.
13965 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * minibuffer.C: include <iostream>
13969 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13971 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13973 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13975 * text.[Ch] (TransposeChars): new method
13977 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * call message directly through LyXView instead of through LyXFunc
13980 * BufferView2.C: adjust
13981 * BufferView_pimpl.C: adjust
13982 * FontLoader.C: adjust
13984 * bufferview_funcs.C: adjust
13985 * converter.C: adjust
13986 * figureForm.C: adjust
13987 * importer.C: adjust
13989 * lyx_gui_misc.C: adjust
13990 * lyxfunc.C: adjust
13993 + more files in subdirs
13995 * lyxparagraph.h (size): move up int file
13998 * adjust all uses of Assert to lyx::Assert.
14000 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14001 lyxfunctional in namespace lyx
14002 * layout.C (hasLayout): ditto
14005 (delete_layout): ditto
14006 (NumberOfClass): ditto
14007 * converter.C (GetFormat): ditto
14012 * bufferlist.C (getFileNames): ditto
14013 (emergencyWriteAll): ditto
14016 * MenuBackend.C (hasSubmenu): ditto
14019 * BufferView_pimpl.C (getInsetByCode): ditto
14021 2001-04-18 Juergen Vigna <jug@sad.it>
14023 * vspace.C (asLatexString): fixed the 100% problem.
14025 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * lyxfunc.C (Dispatch):
14029 * minibuffer.h: add a few std:: qualifiers
14031 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14033 * minibuffer.[Ch]: reimplement so that commands is initiated and
14034 run from lyxfunc, simplified som handling, and made the completion
14035 and history code for complete. wip.
14037 * lyxfunc.C (processKeySym): call message
14038 (miniDispatch): new temporary method
14039 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14040 (LFUN_MESSAGE): implement
14041 (LFUN_MESSAGE_PUSH): implement
14042 (LFUN_MESSAGE_POP): implement
14043 (initMiniBuffer): the initial/defualt minibuffer message.
14045 * lyxfont.[Ch]: inline some more getters
14047 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14049 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14051 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14052 (AutoSave): use LFUN_MESSAGE
14053 (Reconfigure): ditto
14055 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14057 * figureForm.C: use LFUN_MESSAGE
14059 * converter.C (runLaTeX): use LFUN_MESSAGE
14061 * bufferview_funcs.C: use LFUN_MESSAGE
14063 (changeDepth): ditto
14065 * bufferparams.h: use boost::
14067 * bufferlist.h: inherit privately from noncopyable
14069 * bufferlist.C (loadLyXFile): remove some commented code.
14071 * buffer.C (runChktex): use LFUN_MESSAGE
14073 * ShareContainer.h: inherit privately from noncopyable
14075 * ParagraphParameters.[hC] (depth): inline it.
14077 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14079 (message): new method
14080 (messagePush): ditto
14081 (messagePop): ditto
14082 (show): init minibuffer
14083 (showState): direct call
14085 * LaTeX.[Ch]: inherit privately from noncopyable
14086 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14087 instead of WriteStatus.
14089 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14091 * BufferView_pimpl.C (buffer): don't init minibuffer
14092 (workAreaButtonPress): use LFUN_MESSAGE
14093 (workAreaButtonRelease): ditto
14094 (savePosition): ditto
14095 (restorePosition): ditto
14096 (MenuInsertLyXFile): ditto
14097 (workAreaExpose): don't init minibuffer
14098 (update): remove commented code, simplify
14100 * BufferView2.C (openStuff): use LFUN_MESSAGE
14101 (toggleFloat): ditto
14104 (copyEnvironment): ditto
14105 (pasteEnvironment): ditto
14110 (updateInset): remove some commented code
14112 * lastfiles.h: inherit privately from noncopyable
14115 * lyx_main.h: ditto
14117 * lyxlex_pimpl.h: ditto
14119 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14120 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14121 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14123 * LyXAction.h: inherit privately from noncopyable, add methods
14124 func_begin, func_end, returning iterators to the func map.
14126 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14127 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14128 (func_begin): new method
14129 (func_end): new method
14131 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14133 (copySelection): ditto
14134 (pasteSelection): ditto
14136 * BufferView.C: whitespace change
14137 * BufferView.h: inherit privately from noncopyable
14139 2001-04-16 Allan Rae <rae@lyx.org>
14141 * tabular-old.C (l_getline):
14142 * spellchecker.C (sc_check_word):
14143 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14144 an unrecognised preprocessor directive. So ensure they're wrapped.
14146 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14148 * src/exporter.C (Export): Give an error message when path to file
14151 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14153 * LaTeX.C (deplog): Always check that foundfile exists.
14155 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14160 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * tabular.[Ch] (getLabelList): implement new method
14164 * minibuffer.h: comment ouf setTiimer
14166 * minibuffer.C (ExecutingCB): constify res
14167 (peek_event): constify s
14168 (Set): constify ntext
14169 (Init): constify nicename
14171 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14173 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14174 (savePosition): use two params to Minibuffer::Set
14175 (restorePosition): ditto
14177 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * lyx_main.C: include language.h
14181 * Makefile.am (lyx_main.o): add language.h
14183 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * CutAndPaste.C: include gettext.h
14191 * lyxfont.h: remove old hack with ON and OFF.
14194 * lyxfont.h: do not include language.h...
14199 * bufferview_funcs.C:
14205 * paragraph.C: ... but do it here instead
14207 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14209 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14211 * tabular.C: small reformat
14213 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14216 (BreakParagraph): ditto
14217 (SetOnlyLayout): ditto
14220 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14223 * lastfiles.C: removed most using decl, add std:: where needed
14225 * buffer.C: ws changes
14227 * MenuBackend.C (class compare_format): put into anon namespace
14228 (expand): constify label, names, action, action2
14231 * text.C (SingleWidth): constify font
14232 (IsBoundary): constify rtl2
14233 (GetVisibleRow): constify ww
14235 * LaTeX.C (deplog): constify logfile
14237 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14239 (workAreaExpose): constify widthChange, heightChange
14241 * lyxrow.C (par): moved
14244 * lyxrow.h: as inlines here
14246 * lyxfont.h (shape): moved from lyxfont.C
14247 (emph): moved from lyxfont.C
14249 * lyxfont.C (LyXFont): use initialization list for all
14251 (shape): move to lyxfont.h as inline
14252 (emph): move to lyxfont.h as inline
14255 2001-04-04 Juergen Vigna <jug@sad.it>
14257 * vspace.C: had to include stdio.h for use of sscanf
14259 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14262 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14263 independent of xforms.
14265 2001-04-02 Juergen Vigna <jug@sad.it>
14267 * spellchecker.C: fixed namespace placing!
14269 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14271 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14272 the LyXParagraph * is 0.
14274 2001-03-29 Juergen Vigna <jug@sad.it>
14276 * vspace.C: added support for %, c%, p%, l%.
14277 (stringFromUnit): added helper function.
14278 (asLatexString): changed to give right results for the %-values.
14280 * buffer.C: convert the widthp in a width%.
14282 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14284 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14287 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14288 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14290 * lyx_cb.[Ch]: see above.
14292 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14296 * lyx.[Ch]: replaced by figure_form.[Ch].
14300 * lyxfunc.C: changed headers associated with above changes.
14302 2001-03-27 Juergen Vigna <jug@sad.it>
14304 * BufferView_pimpl.C: set the temporary cursor right!
14306 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14308 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14310 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14312 * LString.h: removed "using std::getline"!
14314 * BufferView_pimpl.C (Dispatch): changes due to changes in
14315 InsetInclude::Params.
14317 * buffer.C (tag_name): removed redundant break statements as they were
14318 producing lots of warnings with my compiler.
14320 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * LString.h: add "using std::getline" when using the real <string>.
14324 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14326 * buffer.C: removed bitset usage.
14327 PAR_TAG moved to an anonymous name space.
14328 (tag_name): new funtion, also in the anonymous namespace.
14329 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14330 (makeDocBookFile): clean code. Completed transition from string arrays
14332 (SimpleDocBookOnePar): code clean.
14334 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14336 * tabular.C: add some comments.
14338 2001-03-22 Juergen Vigna <jug@sad.it>
14340 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14341 compatibility read a bit and fixed bug with minipage in different
14344 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14346 * buffer.C (pop_tag): removed.
14347 (push_tag): removed.
14348 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14349 array replaced with vector. Added support for CDATA sections.
14350 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14352 (makeDocBookFile): XML conformant declaration of CDATA section,
14353 fixed bug related to <emphasis> in the first paragraph char.
14354 (sgmlOpenTag): exclude empty tags.
14355 (sgmlCloseTag): ditto.
14357 * buffer.h (pop_tag): removed.
14358 (push_tag): removed.
14360 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14362 * language.h (Languages): added size_type and size().
14364 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14366 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14367 response on compability reading of minipages. One probliem is that
14368 the old usage of minipages was «flertydig»
14370 * several files here and in subdirs: don't use static at file
14371 scope use anon namespaces instead.
14373 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14375 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14376 LaTeX output. This is necessary for Literate document
14379 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14381 * buffer.C: insert hfill when needed.
14383 * tabular.C (l_getline): use string::erase, small whitespace change.
14385 * BufferView_pimpl.C: try the anon namespace.
14386 * WorkArea.C: ditto
14388 2001-03-16 Juergen Vigna <jug@sad.it>
14390 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14391 otherwise it won't open options-dialogs.
14393 * buffer.C: honor pextraWidth(p) on converting minipages.
14395 * tabular.C (l_getline): changed the functions to strip trailing \r.
14397 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14399 * BufferView_pimpl.C:
14400 * minibuffer..C: added "using SigC::slot" declaration.
14402 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14404 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14410 * paragraph.C: ditto
14412 * lyxtext.h: NO_PEXTRA
14414 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14416 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14417 * ParameterStruct.h: ditto
14418 * ParagraphParameters.h: ditto
14419 * lyxparagraph.h: ditto
14421 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14423 * buffer.C: add compability for minipage alignment.
14424 (latexParagraphs): remove unwanted pextra check.
14426 * several files: remove CXX_WORKING_NAMESPACES
14428 * buffer.C (pop_tag): tie is in namespace boost
14430 * BufferView.h: noncopyable is in namespace boost
14432 * lyx_main.h: ditto
14435 * lastfiles.h: ditto
14436 * bufferlist.h: ditto
14437 * ShareContainer.h: ditto
14439 * LyXAction.h: ditto
14442 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14444 * Merging changes from BRANCH_MVC back into HEAD.
14446 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14448 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14450 * BufferView_pimpl.C: change from intl.C
14454 * Makefile.am: move combox.*
14460 * intl.C: remove dialog (covered by prefs)
14462 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14464 * lyxfunc.C (Dispatch): removed redundant break statement.
14466 2001-03-14 Juergen Vigna <jug@sad.it>
14468 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14470 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14472 * buffer.C: add hack to fix compability reading of minipages.
14474 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14476 * buffer.C (getLists): Cleanup.
14478 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * lyxfont.C (update): don't honor toggleall on font size.
14482 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14486 * Makefile.am: moved to frontends/xforms/
14490 * BufferView_pimpl.C: changes for moved mathpanel
14492 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14494 * gettext.h: fix gettext_init() in --disable-nls
14496 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14500 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14503 * lyx.h: strip external form
14505 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14507 * BufferView_pimpl.C: add comment, destroySplash()
14509 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14511 * BufferView_pimpl.C:
14515 * lyxfunc.C: use re-worked insetinclude
14517 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14519 * buffer.C: add using std::stringstream.
14521 * lyx_cb.C: readd using std::ios.
14523 * buffer.C: add using std::map.
14525 * BufferView_pimpl.C: add using std::vector.
14527 * ShareContainer.h: add std:: to swap.
14529 * buffer.h: add some typedefs
14530 * buffer.C (getLists): use them
14531 (getLists): renamed from getTocList.
14532 add a counter for the different float types and use it in the
14534 (getLists): use the same counter for the NEW_INSETS and the "non"
14537 * lyx_cb.h: remove unused items, includes, using etc.
14539 * ShareContainer.h: remove some commented code, add more comments
14540 and "documentation".
14542 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14544 * buffer.C (getTocList): make the list also when NEW_INSETS is
14547 * buffer.h: remove TocType
14549 * buffer.C (getTocList): change to return a map<string,
14550 vector<TocItem> >, implement for dynamic number of list.
14552 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14553 * text2.C (PasteSelection): adjust
14554 * CutAndPaste.C (pasteSelection): adjust
14556 * FloatList.C (FloatList): update from the new_insets branch.
14557 * Floating.[Ch]: ditto
14558 * LaTeXFeatures.C: ditto
14560 * lyxlex_pimpl.C: ditto
14562 * paragraph.C (Last): remove when NEW_INSETS is defined.
14564 * other file: changes because of the above.
14566 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14568 * lyxparagraph.h: rename next to next_, previous to previous_,
14569 make them private for NEW_INSETS. Rename Next() to next(),
14570 Previous() to previous().
14572 * other files: changes because of the above.
14574 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14577 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14580 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14582 * main.C (main): pass lyx_localedir to gettext_init().
14584 * gettext.h: remove locale_init and gettext_init macros
14586 * gettext.C (locale_init): new function
14587 (gettext_init): new function
14589 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14592 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14594 * Moved credits to frontends:
14595 * credits.[Ch]: removed
14596 * credits_form.[Ch]: removed
14597 * lyx_gui_misc.C: remove credits stuff
14600 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14602 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14604 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14605 unneeded destructor.
14607 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14608 a standalone pointer again.
14610 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14612 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14618 * ToolbarDefaults.C:
14627 * BufferView_pimpl.C: use new file dialog in GUII
14630 * lyx_cb.C: remove LayoutsCB to Toolbar
14632 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14634 * ShareContainer.h (get): add std:: qualifier
14636 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14638 * ShareContainer.h: define a proper ShareContainer::value_type
14639 type (and use typename to please compaq cxx)
14641 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14643 * lyxparagraph.h: move serveral local vars to
14644 ParameterStruct/ParagraphParameters., use ShareContainer in
14645 FontTable., make vars in FontTable private and add getter and
14648 * paragraph.C: changes because of the above.
14650 * lyxfont.h: remove copy constructor and copy assignment. (the
14651 default ones is ok), move number inside FontBits. move inlines to
14654 * lyxfont.C: add number to initializaton of statics, move several
14655 inlines here. constify several local vars. some whitespace
14656 cleanup. Dont hide outerscope variables.
14658 * Spacing.h: add two new constructors to match the set methods.
14660 * ShareContainer.h: new file, will perhaps be moved to support
14662 * ParameterStruct.h: new file
14664 * ParagraphParameters.h: new file
14666 * ParagraphParameters.C: new file
14668 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14669 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14671 * BufferView_pimpl.C: ParagraphParameter changes.
14672 * buffer.C: Likewise.
14673 * bufferview_funcs.C: Likewise.
14674 * text.C: Likewise.
14675 * text2.C: Likewise.
14677 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * lyxfind.C (LyXReplace): do not redefine default argument in
14681 (IsStringInText): ditto
14682 (SearchForward): ditto
14683 (SearchBackward): ditto
14685 2001-03-06 Juergen Vigna <jug@sad.it>
14687 * lyxfind.C (IsStringInText): put parentes around expressions.
14689 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14691 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14693 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14695 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14697 * stl_string_fwd.h: add comment
14699 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14702 * tabular.C: remove unused DocBook methods
14708 killed DO_USE_DEFAULT_LANGUAGE
14710 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14712 * lyx_gui.C: do not include language.h.
14714 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14715 arguments in function implementation.
14717 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14719 * BufferView_pimpl.C: add <ctime>
14721 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14723 * BufferView_pimpl.C: add using std::find_if
14725 2001-02-27 José Matos <jamatos@fep.up.pt>
14727 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14730 2001-02-11 José Matos <jamatos@fep.up.pt>
14732 * buffer.C (makeDocBookFile): command styles now have a parameter as
14733 "title" by default.
14735 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14737 * layout_forms.[Ch]: removed
14738 * lyx_cb.[Ch]: out character
14739 * lyx_gui.C: out character
14740 * lyx_gui_misc.C: out character
14741 * bufferview_funcs.C: : out character,
14742 added toggleall as parameter in ToggleAndShow
14744 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14746 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14748 * text2.C (SetCurrentFont): Disable number property at boundary.
14750 2001-02-26 Juergen Vigna <jug@sad.it>
14752 * lyxfunc.C (getStatus): added a string argument override function so
14753 that this is correctly called from LyXFunc::Dispatch if it contains a
14754 do_not_use_argument which is used!
14755 (Dispatch): added check for "custom" export and call appropriate func.
14757 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14759 * lyxrc.C: Add language_command_local, language_use_babel and
14760 language_global_options.
14762 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14764 * buffer.C (makeLaTeXFile): Use language_use_babel and
14765 language_global_options.
14767 2001-02-23 Juergen Vigna <jug@sad.it>
14769 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14770 which works with LyXText and putted it inside BufferView. Here now we
14771 only call for that part the BufferView::Dispatch() function.
14773 * BufferView.C (Dispatch): added.
14775 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14776 functions which needs to use a LyXText over from LyXFunc.
14777 (MenuInsertLyXFile): added
14778 (getInsetByCode): added
14779 (moveCursorUpdate): added
14780 (static TEXT): added
14782 2001-02-22 Juergen Vigna <jug@sad.it>
14784 * BufferView_pimpl.C (update): call a status update to see if LyXText
14787 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14789 * vc-backend.C (revert): implement for CVS
14790 (getLog): implement for CVS
14792 2001-02-20 Juergen Vigna <jug@sad.it>
14794 * text2.C (ClearSelection): added BufferView param for inset_owner call
14796 * lyxfunc.C (TEXT): added this function and use it instead of
14797 directly owner->view()-text of getLyXText().
14799 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14801 * src/layout_forms.C: out preamble
14802 * src/layout_forms.h: out preamble
14803 * src/lyx_cb.C: out preamble
14804 * src/lyx_cb.h: out preamble
14805 * src/lyx_gui.C: out preamble
14806 * src/lyx_gui_misc.C: out preamble
14807 * src/lyxfunc.C: connect with guii preamble
14809 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14811 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14813 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14815 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14816 whether to run bibtex.
14818 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14820 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14822 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14824 * Makefile.am (lyx_SOURCES): removed bibforms.h
14826 * vspace.h: doxygen
14828 * text.C (GetVisibleRow): make several local vars const
14830 * tabular.C: small cleanup.
14832 * lyxserver.C (callback): use compare instead of strncmp
14834 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14835 inlines to after class or to paragraph.C
14837 * lyxfont.h: remove friend operator!=
14839 * converter.h: move friend bool operator< to non friend and after
14842 * combox.h: small cleanup
14844 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14845 to inlines after class def.
14847 * buffer.C (pop_tag): use string operations instead of strcmp
14849 * bmtable.c: doxygen, small cleanup
14851 * LaTeX.h: remove friend operator==
14853 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14865 * BufferView_pimpl.C:
14866 * BufferView.[Ch]: remove cruft
14868 2001-02-14 Juergen Vigna <jug@sad.it>
14870 * lyxfunc.C: removed #if 0 unused code
14872 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14874 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14876 * text2.C (SetSelection): added a BufferView * parameter
14878 2001-02-13 Juergen Vigna <jug@sad.it>
14880 * lyxfunc.C (Dispatch): fixed protected blank problem.
14881 * BufferView2.C (protectedBlank): added LyxText * parameter.
14883 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14884 (AppendColumn): same as above for column_info.
14886 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14887 (moveCursorUpdate): use a LyXText param for support of InsetText.
14889 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14890 (tripleClick): ditto
14892 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14894 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14896 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14898 * text2.C (SetSelection): set correct update status if inset_owner
14899 (ToggleFree): ditto
14901 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14903 * tabular.C: remove some commented code.
14905 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14907 * BufferView_pimpl.C: call hideSplash()
14909 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14912 * bibforms.h: remove
14915 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14916 add LFUN_CHILD_CREATE
14918 * counters.h: fix tiny typo
14923 * lyx.C: move splash to frontends/xforms/
14925 * lyx_gui_misc.C: move Include and Bibform to frontends
14927 * lyxvc.h: clarify comment
14929 * vspace.C: tiny housekeeping
14931 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14933 * text.C (PrepareToPrint): RTL Fix.
14935 * paragraph.C (GetUChar): New method.
14936 (String): Use GetUChar.
14938 * buffer.C (asciiParagraph): Use GetUChar.
14940 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14942 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14944 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14947 * buffer.C: rename to getLogName(), handle
14948 build log / latex log nicely
14950 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * MenuBackend.h: remove support for reference menuitem type.
14955 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14957 * BufferView_pimpl.C: housekeeping
14958 * BufferView_pimpl.h:
14963 * minibuffer.h: move Timeout GUI-I
14965 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14967 * lyxrc.C (read): Update converters data-structures.
14969 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14971 * LaTeX.h (operator!=): add operator != for Aux_Info
14973 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14975 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14977 * LaTeXLog.C: deleted, useful code moved to Buffer
14980 * buffer.C: new function getLatexLogName()
14986 * lyxfunc.C: use frontends for LaTeX and VC logs
14988 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * LaTeX.h: yet another std:: that Allan forgot.
14992 * Variables.C (set): renamed from isset(), because this clashes
14993 with some HP-UX macros (grr).
14995 2001-02-06 Allan Rae <rae@lyx.org>
14997 * LaTeX.h: Another bug fix. Missing std:: this time.
14999 2001-02-04 Allan Rae <rae@lyx.org>
15001 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15002 floats problem. I've left it commented out because it's not quite
15003 correct. It should also test that the current object is a table or
15004 figure inset. But I haven't gotten around to figuring out how to do
15005 that. I *think* it'll be something like: "table" == inset.type()
15007 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15010 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15012 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15013 all the citation/databases/styles in the auxilary file.
15014 (run): Rerun latex if there was a babel language error.
15016 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15018 * text.C (Backspace): Preserve the font when changing newline char
15020 (BreakParagraph): If the cursor is before a space, delete the space.
15022 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15024 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15026 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15027 new argument (code).
15028 (ChangeCitationsIfUnique): New method.
15030 * paragraph.C (GetPositionOfInset): Handle bibkey.
15032 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * BufferView_pimpl.h: change type of Position::par_pos to
15035 LyXParagraph::size_type.
15037 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15039 * BufferView_pimpl.C (savePosition, restorePosition): Write
15040 messages to minibuffer.
15042 2001-01-28 José Matos <jamatos@fep.up.pt>
15044 * buffer.C (makeDocBookFile): adds support for document language.
15045 A silly restriction on the name of LatexCommand types where removed.
15046 Added support for CDATA sections, allows to chars unescaped, used
15047 among others in code, to avoid escape < and >.
15049 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15051 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15052 saved positions instrad of a stack. Furthermore, a position is
15053 stored using paragraph id/paragraph position.
15055 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15056 Remove LFUN_REF_BACK.
15058 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15060 * converter.C (dvipdfm_options): New method.
15062 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15064 * vspace.C (isValidLength): Fix for empty input string.
15066 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * LyXAction.C (init): change description of LFUN_FIGURE to
15071 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * LaTeX.C: add using directive
15075 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15077 * MenuBackend.C (expand): Fix the sorting of the formats.
15079 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15081 * lyx_main.C: tiny error message fix
15083 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15085 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15086 calling fl_initialize(). This fixes the problem with ',' as
15087 decimal separator in text files.
15089 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15091 * trans.C (process): Fix the keymap bug.
15093 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15095 * LaTeX.C (scanAuxFiles): New method. Provides support for
15096 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15097 (scanLogFile) Scan for "run BibTeX" messages.
15099 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15100 OT1 font encoding. Also, load the aecompl package if the ae
15103 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15105 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15107 * texrow.C (increasePos): turn two error messages into debug
15110 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15112 * LaTeX.C (scanAux): Handle the \@input macro.
15113 (runBibTeX): Use scanAux().
15115 * language.C (latex_options_): New field.
15117 * LaTeXFeatures.C (getMacros): Add language macros.
15119 * buffer.C (makeLaTeXFile): Small fix.
15121 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15125 * text2.C: add a using directive.
15127 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15132 * lyxfunc.C: kill LyXBell.
15134 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15136 * text.C (IsBoundary): Remove the error message
15138 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15140 * lyxrc.C (setDefaults): Correct initialization value for
15143 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15145 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15148 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15149 and GotoNextNote().
15151 * src/LyXAction.C: Added reference-next.
15153 * text.C (InsertChar): Use contains instead of strchr.
15155 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15157 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15159 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15160 alignment commands (when needed).
15162 * text.C (InsertChar): Add ':' to number separator chars.